
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);};0&&has.add("host-node",_1.has&&"host-node" in _1.has?_1.has["host-node"]:(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}0&&has.add("host-rhino",_1.has&&"host-rhino" in _1.has?_1.has["host-rhino"]:(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));if(0){for(var _1e=_1.baseUrl||".",arg,_1f=this.arguments,i=0;i<_1f.length;){arg=(_1f[i++]+"").split("=");if(arg[0]=="baseUrl"){_1e=arg[1];break;}}load(_1e+"/_base/configRhino.js");rhinoDojoConfig(_2,_1e,_1f);}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _20=1,_21=2,_22=3,_23=4,_24=5;if(0){_20="requested";_21="arrived";_22="not-a-module";_23="executing";_24="executed";}var _25=0,_26="sync",xd="xd",_27=[],_28=0,_29=_3,_2a=_3,_2b;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2c,_2d,_2e){if(!_28){_28=_2c;_29=_2d;_2a=_2e;}return {sync:_26,requested:_20,arrived:_21,nonmodule:_22,executing:_23,executed:_24,syncExecStack:_27,modules:_2f,execQ:_30,getModule:_31,injectModule:_32,setArrived:_33,signal:_34,finishExec:_35,execModule:_36,dojoRequirePlugin:_28,getLegacyMode:function(){return _25;},guardCheckComplete:_37};};if(1){var _38=location.protocol,_39=location.host;req.isXdUrl=function(url){if(/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3a=url.match(/^([^\/\:]+\:)\/+([^\/]+)/);return _3a&&(_3a[1]!=_38||(_39&&_3a[2]!=_39));};1||has.add("dojo-xhr-factory",1);has.add("dojo-force-activex-xhr",1&&!doc.addEventListener&&window.location.protocol=="file:");has.add("native-xhr",typeof XMLHttpRequest!="undefined");if(has("native-xhr")&&!has("dojo-force-activex-xhr")){_2b=function(){return new XMLHttpRequest();};}else{for(var _3b=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3c,i=0;i<3;){try{_3c=_3b[i++];if(new ActiveXObject(_3c)){break;}}catch(e){}}_2b=function(){return new ActiveXObject(_3c);};}req.getXhr=_2b;has.add("dojo-gettext-api",1);req.getText=function(url,_3d,_3e){var xhr=_2b();xhr.open("GET",_3f(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3e){_3e(xhr.responseText,_3d);}}else{throw _f("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _40=new Function("return eval(arguments[0]);");req.eval=function(_41,_42){return _40(_41+"\r\n//# sourceURL="+_42);};var _43={},_44="error",_34=req.signal=function(_45,_46){var _47=_43[_45];_9(_47&&_47.slice(0),function(_48){_48.apply(null,_8(_46)?_46:[_46]);});},on=req.on=function(_49,_4a){var _4b=_43[_49]||(_43[_49]=[]);_4b.push(_4a);return {remove:function(){for(var i=0;i<_4b.length;i++){if(_4b[i]===_4a){_4b.splice(i,1);return;}}}};};var _4c=[],_4d={},_4e=[],_4f={},map=req.map={},_50=[],_2f={},_51="",_52={},_53="url:",_54={},_55={},_56=0;if(1){var _57=function(_58){var p,_59,_5a,now,m;for(p in _54){_59=_54[p];_5a=p.match(/^url\:(.+)/);if(_5a){_52[_53+_5b(_5a[1],_58)]=_59;}else{if(p=="*now"){now=_59;}else{if(p!="*noref"){m=_5c(p,_58,true);_52[m.mid]=_52[_53+m.url]=_59;}}}}if(now){now(_5d(_58));}_54={};},_5e=function(s){return s.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;});},_5f=function(map,_60){_60.splice(0,_60.length);for(var p in map){_60.push([p,map[p],new RegExp("^"+_5e(p)+"(/|$)"),p.length]);}_60.sort(function(lhs,rhs){return rhs[3]-lhs[3];});return _60;},_61=function(_62,_63){_9(_62,function(_64){_63.push([_7(_64[0])?new RegExp("^"+_5e(_64[0])+"$"):_64[0],_64[1]]);});},_65=function(_66){var _67=_66.name;if(!_67){_67=_66;_66={name:_67};}_66=_c({main:"main"},_66);_66.location=_66.location?_66.location:_67;if(_66.packageMap){map[_67]=_66.packageMap;}if(!_66.main.indexOf("./")){_66.main=_66.main.substring(2);}_4f[_67]=_66;},_68=[],_69=function(_6a,_6b,_6c){for(var p in _6a){if(p=="waitSeconds"){req.waitms=(_6a[p]||0)*1000;}if(p=="cacheBust"){_51=_6a[p]?(_7(_6a[p])?_6a[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_6a[p];}if(1&&p=="async"){var _6d=_6a[p];req.legacyMode=_25=(_7(_6d)&&/sync|legacyAsync/.test(_6d)?_6d:(!_6d?_26:false));req.async=!_25;}if(_6a[p]!==_1a){req.rawConfig[p]=_6a[p];p!="has"&&has.add("config-"+p,_6a[p],0,_6b);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _6a.has){has.add(p,_6a.has[p],0,_6b);}_9(_6a.packages,_65);for(var _6e in _6a.packagePaths){_9(_6a.packagePaths[_6e],function(_6f){var _70=_6e+"/"+_6f;if(_7(_6f)){_6f={name:_6f};}_6f.location=_70;_65(_6f);});}_5f(_c(map,_6a.map),_50);_9(_50,function(_71){_71[1]=_5f(_71[1],[]);if(_71[0]=="*"){_50.star=_71;}});_5f(_c(_4d,_6a.paths),_4e);_61(_6a.aliases,_4c);if(_6b){_68.push({config:_6a.config});}else{for(p in _6a.config){var _72=_31(p,_6c);_72.config=_c(_72.config||{},_6a.config[p]);}}if(_6a.cache){_57();_54=_6a.cache;if(_6a.cache["*noref"]){_57();}}_34("config",[_6a,req.rawConfig]);};if(has("dojo-cdn")||1){var _73=doc.getElementsByTagName("script"),i=0,_74,_75,src,_76;while(i<_73.length){_74=_73[i++];if((src=_74.getAttribute("src"))&&(_76=src.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){_75=_76[3]||"";_2.baseUrl=_2.baseUrl||_75;_56=_74;}if((src=(_74.getAttribute("data-dojo-config")||_74.getAttribute("djConfig")))){_55=req.eval("({ "+src+" })","data-dojo-config");_56=_74;}if(0){if((src=_74.getAttribute("data-main"))){_55.deps=_55.deps||[src];}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_c(_55,doh.testConfig);}}catch(e){}}req.rawConfig={};_69(_2,1);if(has("dojo-cdn")){_4f.dojo.location=_75;if(_75){_75+="/";}_4f.dijit.location=_75+"../dijit/";_4f.dojox.location=_75+"../dojox/";}_69(_1,1);_69(_55,1);}else{_4d=_2.paths;_4e=_2.pathsMapProg;_4f=_2.packs;_4c=_2.aliases;_50=_2.mapProgs;_2f=_2.modules;_52=_2.cache;_51=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _77=0,_78=[],_79=null;}var _7a=function(_7b){_37(function(){_9(_7b.deps,_32);if(0&&_77&&!_79){_79=setTimeout(function(){_77=0;_79=null;req.combo.done(function(_7c,url){var _7d=function(){_7e(0,_7c);_7f();};_78.push(_7c);_80=_7c;req.injectUrl(url,_7d,_7c);_80=0;},req);},0);}});},_16=function(a1,a2,a3,_81,_82){var _83,_84;if(_7(a1)){_83=_31(a1,_81,true);if(_83&&_83.executed){return _83.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_69(a1,0,_81);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_84="require*"+uid();for(var mid,_85=[],i=0;i<a1.length;){mid=a1[i++];_85.push(_31(mid,_81));}_83=_c(_86("",_84,0,""),{injected:_21,deps:_85,def:a2||_3,require:_81?_81.require:req,gc:1});_2f[_83.mid]=_83;_7a(_83);var _87=_88&&_25!=_26;_37(function(){_36(_83,_87);});if(!_83.executed){_30.push(_83);}_7f();}}return _82;},_5d=function(_89){if(!_89){return req;}var _8a=_89.require;if(!_8a){_8a=function(a1,a2,a3){return _16(a1,a2,a3,_89,_8a);};_89.require=_c(_8a,req);_8a.module=_89;_8a.toUrl=function(_8b){return _5b(_8b,_89);};_8a.toAbsMid=function(mid){return _b9(mid,_89);};if(0){_8a.undef=function(mid){req.undef(mid,_89);};}if(1){_8a.syncLoadNls=function(mid){var _8c=_5c(mid,_89),_8d=_2f[_8c.mid];if(!_8d||!_8d.executed){_8e=_52[_8c.mid]||_52[_53+_8c.url];if(_8e){_8f(_8e);_8d=_2f[_8c.mid];}}return _8d&&_8d.executed&&_8d.result;};}}return _8a;},_30=[],_90=[],_91={},_92=function(_93){_93.injected=_20;_91[_93.mid]=1;if(_93.url){_91[_93.url]=_93.pack||1;}_94();},_33=function(_95){_95.injected=_21;delete _91[_95.mid];if(_95.url){delete _91[_95.url];}if(_4(_91)){_96();1&&_25==xd&&(_25=_26);}},_97=req.idle=function(){return !_90.length&&_4(_91)&&!_30.length&&!_88;},_98=function(_99,map){if(map){for(var i=0;i<map.length;i++){if(map[i][2].test(_99)){return map[i];}}}return 0;},_9a=function(_9b){var _9c=[],_9d,_9e;_9b=_9b.replace(/\\/g,"/").split("/");while(_9b.length){_9d=_9b.shift();if(_9d==".."&&_9c.length&&_9e!=".."){_9c.pop();_9e=_9c[_9c.length-1];}else{if(_9d!="."){_9c.push(_9e=_9d);}}}return _9c.join("/");},_86=function(pid,mid,_9f,url){if(1){var xd=req.isXdUrl(url);return {pid:pid,mid:mid,pack:_9f,url:url,executed:0,def:0,isXd:xd,isAmd:!!(xd||(_4f[pid]&&_4f[pid].isAmd))};}else{return {pid:pid,mid:mid,pack:_9f,url:url,executed:0,def:0};}},_a0=function(mid,_a1,_a2,_a3,_a4,_a5,_a6,_a7,_a8){var pid,_a9,_aa,_ab,url,_ac,_ad,_ae;_ae=mid;_ad=/^\./.test(mid);if(/(^\/)|(\:)|(\.js$)/.test(mid)||(_ad&&!_a1)){return _86(0,mid,0,mid);}else{mid=_9a(_ad?(_a1.mid+"/../"+mid):mid);if(/^\./.test(mid)){throw _f("irrationalPath",mid);}if(_a1){_ab=_98(_a1.mid,_a5);}_ab=_ab||_a5.star;_ab=_ab&&_98(mid,_ab[1]);if(_ab){mid=_ab[1]+mid.substring(_ab[3]);}_76=mid.match(/^([^\/]+)(\/(.+))?$/);pid=_76?_76[1]:"";if((_a9=_a2[pid])){mid=pid+"/"+(_aa=(_76[3]||_a9.main));}else{pid="";}var _af=0,_b0=0;_9(_a7,function(_b1){var _b2=mid.match(_b1[0]);if(_b2&&_b2.length>_af){_b0=_6(_b1[1])?mid.replace(_b1[0],_b1[1]):_b1[1];}});if(_b0){return _a0(_b0,0,_a2,_a3,_a4,_a5,_a6,_a7,_a8);}_ac=_a3[mid];if(_ac){return _a8?_86(_ac.pid,_ac.mid,_ac.pack,_ac.url):_a3[mid];}}_ab=_98(mid,_a6);if(_ab){url=_ab[1]+mid.substring(_ab[3]);}else{if(pid){url=_a9.location+"/"+_aa;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_a4+url;}url+=".js";return _86(pid,mid,_a9,_9a(url));},_5c=function(mid,_b3,_b4){return _a0(mid,_b3,_4f,_2f,req.baseUrl,_b4?[]:_50,_b4?[]:_4e,_b4?[]:_4c);},_b5=function(_b6,_b7,_b8){return _b6.normalize?_b6.normalize(_b7,function(mid){return _b9(mid,_b8);}):_b9(_b7,_b8);},_ba=0,_31=function(mid,_bb,_bc){var _bd,_be,_bf,_c0;_bd=mid.match(/^(.+?)\!(.*)$/);if(_bd){_be=_31(_bd[1],_bb,_bc);if(1&&_25==_26&&!_be.executed){_32(_be);if(_be.injected===_21&&!_be.executed){_37(function(){_36(_be);});}if(_be.executed){_c1(_be);}else{_30.unshift(_be);}}if(_be.executed===_24&&!_be.load){_c1(_be);}if(_be.load){_bf=_b5(_be,_bd[2],_bb);mid=(_be.mid+"!"+(_be.dynamic?++_ba+"!":"")+_bf);}else{_bf=_bd[2];mid=_be.mid+"!"+(++_ba)+"!waitingForPlugin";}_c0={plugin:_be,mid:mid,req:_5d(_bb),prid:_bf};}else{_c0=_5c(mid,_bb);}return _2f[_c0.mid]||(!_bc&&(_2f[_c0.mid]=_c0));},_b9=req.toAbsMid=function(mid,_c2){return _5c(mid,_c2).mid;},_5b=req.toUrl=function(_c3,_c4){var _c5=_5c(_c3+"/x",_c4),url=_c5.url;return _3f(_c5.pid===0?_c3:url.substring(0,url.length-5));},_c6={injected:_21,executed:_24,def:_22,result:_22},_c7=function(mid){return _2f[mid]=_c({mid:mid},_c6);},_c8=_c7("require"),_c9=_c7("exports"),_ca=_c7("module"),_cb=function(_cc,_cd){req.trace("loader-run-factory",[_cc.mid]);var _ce=_cc.def,_cf;1&&_27.unshift(_cc);if(has("config-dojo-loader-catches")){try{_cf=_6(_ce)?_ce.apply(null,_cd):_ce;}catch(e){_34(_44,_cc.result=_f("factoryThrew",[_cc,e]));}}else{_cf=_6(_ce)?_ce.apply(null,_cd):_ce;}_cc.result=_cf===undefined&&_cc.cjs?_cc.cjs.exports:_cf;1&&_27.shift(_cc);},_d0={},_d1=0,_c1=function(_d2){var _d3=_d2.result;_d2.dynamic=_d3.dynamic;_d2.normalize=_d3.normalize;_d2.load=_d3.load;return _d2;},_d4=function(_d5){var map={};_9(_d5.loadQ,function(_d6){var _d7=_b5(_d5,_d6.prid,_d6.req.module),mid=_d5.dynamic?_d6.mid.replace(/waitingForPlugin$/,_d7):(_d5.mid+"!"+_d7),_d8=_c(_c({},_d6),{mid:mid,prid:_d7,injected:0});if(!_2f[mid]){_ea(_2f[mid]=_d8);}map[_d6.mid]=_2f[mid];_33(_d6);delete _2f[_d6.mid];});_d5.loadQ=0;var _d9=function(_da){for(var _db,_dc=_da.deps||[],i=0;i<_dc.length;i++){_db=map[_dc[i].mid];if(_db){_dc[i]=_db;}}};for(var p in _2f){_d9(_2f[p]);}_9(_30,_d9);},_35=function(_dd){req.trace("loader-finish-exec",[_dd.mid]);_dd.executed=_24;_dd.defOrder=_d1++;1&&_9(_dd.provides,function(cb){cb();});if(_dd.loadQ){_c1(_dd);_d4(_dd);}for(i=0;i<_30.length;){if(_30[i]===_dd){_30.splice(i,1);}else{i++;}}if(/^require\*/.test(_dd.mid)){delete _2f[_dd.mid];}},_de=[],_36=function(_df,_e0){if(_df.executed===_23){req.trace("loader-circular-dependency",[_de.concat(_df.mid).join("->")]);return (!_df.def||_e0)?_d0:(_df.cjs&&_df.cjs.exports);}if(!_df.executed){if(!_df.def){return _d0;}var mid=_df.mid,_e1=_df.deps||[],arg,_e2,_e3=[],i=0;if(0){_de.push(mid);req.trace("loader-exec-module",["exec",_de.length,mid]);}_df.executed=_23;while((arg=_e1[i++])){_e2=((arg===_c8)?_5d(_df):((arg===_c9)?_df.cjs.exports:((arg===_ca)?_df.cjs:_36(arg,_e0))));if(_e2===_d0){_df.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_de.pop();return _d0;}_e3.push(_e2);}_cb(_df,_e3);_35(_df);0&&_de.pop();}return _df.result;},_88=0,_37=function(_e4){try{_88++;_e4();}finally{_88--;}if(_97()){_34("idle",[]);}},_7f=function(){if(_88){return;}_37(function(){_29();for(var _e5,_e6,i=0;i<_30.length;){_e5=_d1;_e6=_30[i];_36(_e6);if(_e5!=_d1){_29();i=0;}else{i++;}}});};if(0){req.undef=function(_e7,_e8){var _e9=_31(_e7,_e8);_33(_e9);_c(_e9,{def:0,executed:0,injected:0,node:0});};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _3f=function(url){url+="";return url+(_51?((/\?/.test(url)?"&":"?")+_51):"");},_ea=function(_eb){var _ec=_eb.plugin;if(_ec.executed===_24&&!_ec.load){_c1(_ec);}var _ed=function(def){_eb.result=def;_33(_eb);_35(_eb);_7f();};if(_ec.load){_ec.load(_eb.prid,_eb.req,_ed);}else{if(_ec.loadQ){_ec.loadQ.push(_eb);}else{_ec.loadQ=[_eb];_30.unshift(_ec);_32(_ec);}}},_8e=0,_80=0,_ee=0,_8f=function(_ef,_f0){if(has("config-stripStrict")){_ef=_ef.replace(/"use strict"/g,"");}_ee=1;if(has("config-dojo-loader-catches")){try{if(_ef===_8e){_8e.call(null);}else{req.eval(_ef,has("dojo-loader-eval-hint-url")?_f0.url:_f0.mid);}}catch(e){_34(_44,_f("evalModuleThrew",_f0));}}else{if(_ef===_8e){_8e.call(null);}else{req.eval(_ef,has("dojo-loader-eval-hint-url")?_f0.url:_f0.mid);}}_ee=0;},_32=function(_f1){var mid=_f1.mid,url=_f1.url;if(_f1.executed||_f1.injected||_91[mid]||(_f1.url&&((_f1.pack&&_91[_f1.url]===_f1.pack)||_91[_f1.url]==1))){return;}_92(_f1);if(0){var _f2=0;if(_f1.plugin&&_f1.plugin.isCombo){req.combo.add(_f1.plugin.mid,_f1.prid,0,req);_f2=1;}else{if(!_f1.plugin){_f2=req.combo.add(0,_f1.mid,_f1.url,req);}}if(_f2){_77=1;return;}}if(_f1.plugin){_ea(_f1);return;}var _f3=function(){_7e(_f1);if(_f1.injected!==_21){if(has("dojo-enforceDefine")){_34(_44,_f("noDefine",_f1));return;}_33(_f1);_c(_f1,_c6);req.trace("loader-define-nonmodule",[_f1.url]);}if(1&&_25){!_27.length&&_7f();}else{_7f();}};_8e=_52[mid]||_52[_53+_f1.url];if(_8e){req.trace("loader-inject",["cache",_f1.mid,url]);_8f(_8e,_f1);_f3();return;}if(1&&_25){if(_f1.isXd){_25==_26&&(_25=xd);}else{if(_f1.isAmd&&_25!=_26){}else{var _f4=function(_f5){if(_25==_26){_27.unshift(_f1);_8f(_f5,_f1);_27.shift();_7e(_f1);if(!_f1.cjs){_33(_f1);_35(_f1);}if(_f1.finish){var _f6=mid+"*finish",_f7=_f1.finish;delete _f1.finish;def(_f6,["dojo",("dojo/require!"+_f7.join(",")).replace(/\./g,"/")],function(_f8){_9(_f7,function(mid){_f8.require(mid);});});_30.unshift(_31(_f6));}_f3();}else{_f5=_2a(_f1,_f5);if(_f5){_8f(_f5,_f1);_f3();}else{_80=_f1;req.injectUrl(_3f(url),_f3,_f1);_80=0;}}};req.trace("loader-inject",["xhr",_f1.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_f4);}catch(e){_34(_44,_f("xhrInjectFailed",[_f1,e]));}}else{req.getText(url,_25!=_26,_f4);}return;}}}req.trace("loader-inject",["script",_f1.mid,url]);_80=_f1;req.injectUrl(_3f(url),_f3,_f1);_80=0;},_f9=function(_fa,_fb,def){req.trace("loader-define-module",[_fa.mid,_fb]);if(0&&_fa.plugin&&_fa.plugin.isCombo){_fa.result=_6(def)?def():def;_33(_fa);_35(_fa);return _fa;}var mid=_fa.mid;if(_fa.injected===_21){_34(_44,_f("multipleDefine",_fa));return _fa;}_c(_fa,{deps:_fb,def:def,cjs:{id:_fa.mid,uri:_fa.url,exports:(_fa.result={}),setExports:function(_fc){_fa.cjs.exports=_fc;},config:function(){return _fa.config;}}});for(var i=0;_fb[i];i++){_fb[i]=_31(_fb[i],_fa);}if(1&&_25&&!_91[mid]){_7a(_fa);_30.push(_fa);_7f();}_33(_fa);if(!_6(def)&&!_fb.length){_fa.result=def;_35(_fa);}return _fa;},_7e=function(_fd,_fe){var _ff=[],_100,args;while(_90.length){args=_90.shift();_fe&&(args[0]=_fe.shift());_100=(args[0]&&_31(args[0]))||_fd;_ff.push([_100,args[1],args[2]]);}_57(_fd);_9(_ff,function(args){_7a(_f9.apply(null,args));});};}var _101=0,_96=_3,_94=_3;if(1){_96=function(){_101&&clearTimeout(_101);_101=0;};_94=function(){_96();if(req.waitms){_101=window.setTimeout(function(){_96();_34(_44,_f("timeout",_91));},req.waitms);}};}if(1){has.add("ie-event-behavior",doc.attachEvent&&typeof Windows==="undefined"&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _102=function(node,_103,_104,_105){if(!has("ie-event-behavior")){node.addEventListener(_103,_105,false);return function(){node.removeEventListener(_103,_105,false);};}else{node.attachEvent(_104,_105);return function(){node.detachEvent(_104,_105);};}},_106=_102(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_106();});if(1){var _73=doc.getElementsByTagName("script"),i=0,_74;while(!_56){if(!/^dojo/.test((_74=_73[i++])&&_74.type)){_56=_74;}}req.injectUrl=function(url,_107,_108){var node=_108.node=doc.createElement("script"),_109=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10a();_10b();_107&&_107();}},_10a=_102(node,"load","onreadystatechange",_109),_10b=_102(node,"error","onerror",function(e){_10a();_10b();_34(_44,_f("scriptError",[url,e]));});node.type="text/javascript";node.charset="utf-8";node.src=url;_56.parentNode.insertBefore(node,_56);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),_55.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,_114=["require","exports","module"],args=[0,mid,_111];if(_113==1){args=[0,(_6(mid)?_114:[]),mid];}else{if(_113==2&&_7(mid)){args=[mid,(_6(_111)?_114:[]),_111];}else{if(_113==3){args=[mid,_111,_112];}}}if(0&&args[1]===_114){args[2].toString().replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"").replace(/require\(["']([\w\!\-_\.\/]+)["']\)/g,function(_115,dep){args[1].push(dep);});}req.trace("loader-define",args.slice(0,2));var _116=args[0]&&_31(args[0]),_117;if(_116&&!_91[_116.mid]){_7a(_f9(_116,args[1],args[2]));}else{if(!has("ie-event-behavior")||!1||_ee){_90.push(args);}else{_116=_116||_80;if(!_116){for(mid in _91){_117=_2f[mid];if(_117&&_117.node&&_117.node.readyState==="interactive"){_116=_117;break;}}if(0&&!_116){for(var i=0;i<_78.length;i++){_116=_78[i];if(_116.node&&_116.node.readyState==="interactive"){break;}_116=0;}}}if(0&&_8(_116)){_7a(_f9(_31(_116.shift()),args[1],args[2]));if(!_116.length){_78.splice(i,1);}}else{if(_116){_57(_116);_7a(_f9(_116,args[1],args[2]));}else{_34(_44,_f("ieDefineFailed",args[0]));}}_7f();}}};def.amd={vendor:"dojotoolkit.org"};if(0){req.def=def;}_c(_c(req,_2.loaderPatch),_1.loaderPatch);on(_44,function(arg){try{console.error(arg);if(arg instanceof Error){for(var p in arg){}}}catch(e){}});_c(req,{uid:uid,cache:_52,packs:_4f});if(0){_c(req,{paths:_4d,aliases:_4c,modules:_2f,legacyMode:_25,execQ:_30,defQ:_90,waiting:_91,packs:_4f,mapProgs:_50,pathsMapProg:_4e,listenerQueues:_43,computeMapProg:_5f,computeAliases:_61,runMapProg:_98,compactPath:_9a,getModuleInfo:_a0});}if(_17.define){if(1){_34(_44,_f("defineAlreadyDefined",0));}return;}else{_17.define=def;_17.require=req;if(0){require=req;}}if(0&&req.combo&&req.combo.plugins){var _118=req.combo.plugins,_119;for(_119 in _118){_c(_c(_31(_119),_118[_119]),{isCombo:1,executed:"executed",load:1});}}if(1){_9(_68,function(c){_69(c);});var _11a=_55.deps||_1.deps||_2.deps,_11b=_55.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:"../dojox",name:"dojox"},{location:"../dijit",name:"dijit"},{location:"../ibm",name:"ibm"},{location:".",name:"dojo"}]});require({cache:{"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(dojo,_11c,lang,_11d,_11e,_11f,has,dom,_120){var _121=lang.mixin;var _122={};var _123=_122._Line=function(_124,end){this.start=_124;this.end=end;};_123.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _125=_122.Animation=function(args){_121(this,args);if(lang.isArray(this.curve)){this.curve=new _123(this.curve[0],this.curve[1]);}};_125.prototype=new _11d();lang.extend(_125,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _126=this._percent,_127=this.easing;return _127?_127(_126):_126;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(_11c.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(_128,_129){var _12a=this;if(_12a._delayTimer){_12a._clearTimer();}if(_129){_12a._stopTimer();_12a._active=_12a._paused=false;_12a._percent=0;}else{if(_12a._active&&!_12a._paused){return _12a;}}_12a._fire("beforeBegin",[_12a.node]);var de=_128||_12a.delay,_12b=lang.hitch(_12a,"_play",_129);if(de>0){_12a._delayTimer=setTimeout(_12b,de);return _12a;}_12b();return _12a;},_play:function(_12c){var _12d=this;if(_12d._delayTimer){_12d._clearTimer();}_12d._startTime=new Date().valueOf();if(_12d._paused){_12d._startTime-=_12d.duration*_12d._percent;}_12d._active=true;_12d._paused=false;var _12e=_12d.curve.getValue(_12d._getStep());if(!_12d._percent){if(!_12d._startRepeatCount){_12d._startRepeatCount=_12d.repeat;}_12d._fire("onBegin",[_12e]);}_12d._fire("onPlay",[_12e]);_12d._cycle();return _12d;},pause:function(){var _12f=this;if(_12f._delayTimer){_12f._clearTimer();}_12f._stopTimer();if(!_12f._active){return _12f;}_12f._paused=true;_12f._fire("onPause",[_12f.curve.getValue(_12f._getStep())]);return _12f;},gotoPercent:function(_130,_131){var _132=this;_132._stopTimer();_132._active=_132._paused=true;_132._percent=_130;if(_131){_132.play();}return _132;},stop:function(_133){var _134=this;if(_134._delayTimer){_134._clearTimer();}if(!_134._timer){return _134;}_134._stopTimer();if(_133){_134._percent=1;}_134._fire("onStop",[_134.curve.getValue(_134._getStep())]);_134._active=_134._paused=false;return _134;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _135=this;if(_135._active){var curr=new Date().valueOf();var step=_135.duration===0?1:(curr-_135._startTime)/(_135.duration);if(step>=1){step=1;}_135._percent=step;if(_135.easing){step=_135.easing(step);}_135._fire("onAnimate",[_135.curve.getValue(step)]);if(_135._percent<1){_135._startTimer();}else{_135._active=false;if(_135.repeat>0){_135.repeat--;_135.play(null,true);}else{if(_135.repeat==-1){_135.play(null,true);}else{if(_135._startRepeatCount){_135.repeat=_135._startRepeatCount;_135._startRepeatCount=0;}}}_135._percent=0;_135._fire("onEnd",[_135.node]);!_135.repeat&&_135._stopTimer();}}return _135;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_136=null,_137={run:function(){}};lang.extend(_125,{_startTimer:function(){if(!this._timer){this._timer=_11f.after(_137,"run",lang.hitch(this,"_cycle"),true);ctr++;}if(!_136){_136=setInterval(lang.hitch(_137,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_136);_136=null;ctr=0;}}});var _138=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_120.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_122._fade=function(args){args.node=dom.byId(args.node);var _139=_121({properties:{}},args),_13a=(_139.properties.opacity={});_13a.start=!("start" in _139)?function(){return +_120.get(_139.node,"opacity")||0;}:_139.start;_13a.end=_139.end;var anim=_122.animateProperty(_139);_11f.after(anim,"beforeBegin",lang.partial(_138,_139.node),true);return anim;};_122.fadeIn=function(args){return _122._fade(_121({end:1},args));};_122.fadeOut=function(args){return _122._fade(_121({end:0},args));};_122._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _13b=function(_13c){this._properties=_13c;for(var p in _13c){var prop=_13c[p];if(prop.start instanceof _11e){prop.tempColor=new _11e();}}};_13b.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_13d=prop.start;if(_13d instanceof _11e){ret[p]=_11e.blendColors(_13d,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_13d)){ret[p]=((prop.end-_13d)*r)+_13d+(p!="opacity"?prop.units||"px":0);}}}return ret;};_122.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _125(args);_11f.after(anim,"beforeBegin",lang.hitch(anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(lang.isFunction(prop)){prop=prop(n);}prop=pm[p]=_121({},(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 _13e=(p.toLowerCase().indexOf("color")>=0);function _13f(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_120.get(node,p);return (p=="opacity")?+v:(_13e?v:parseFloat(v));};if(!("end" in prop)){prop.end=_13f(n,p);}else{if(!("start" in prop)){prop.start=_13f(n,p);}}if(_13e){prop.start=new _11e(prop.start);prop.end=new _11e(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _13b(pm);}),true);_11f.after(anim,"onAnimate",lang.hitch(_120,"set",anim.node),true);return anim;};_122.anim=function(node,_140,_141,_142,_143,_144){return _122.animateProperty({node:node,duration:_141||_125.prototype.duration,properties:_140,easing:_142,onEnd:_143}).play(_144||0);};if(1){_121(dojo,_122);dojo._Animation=_125;}return _122;});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _145(obj,name,_146){if(_146===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_146];}else{if(lang.isArray(val)){val.push(_146);}else{obj[name]=_146;}}};var _147="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_148){var ret=null;_148=dom.byId(_148);if(_148){var _149=_148.name,type=(_148.type||"").toLowerCase();if(_149&&type&&!_148.disabled){if(type=="radio"||type=="checkbox"){if(_148.checked){ret=_148.value;}}else{if(_148.multiple){ret=[];var _14a=[_148.firstChild];while(_14a.length){for(var node=_14a.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_14a.push(node.nextSibling);}if(node.firstChild){_14a.push(node.firstChild);}break;}}}}else{ret=_148.value;}}}}return ret;},toObject:function formToObject(_14b){var ret={},_14c=dom.byId(_14b).elements;for(var i=0,l=_14c.length;i<l;++i){var item=_14c[i],_14d=item.name,type=(item.type||"").toLowerCase();if(_14d&&type&&_147.indexOf(type)<0&&!item.disabled){_145(ret,_14d,form.fieldToObject(item));if(type=="image"){ret[_14d+".x"]=ret[_14d+".y"]=ret[_14d].x=ret[_14d].y=0;}}}return ret;},toQuery:function formToQuery(_14e){return ioq.objectToQuery(form.toObject(_14e));},toJson:function formToJson(_14f,_150){return json.stringify(form.toObject(_14f),null,_150?4:0);}};return form;});},"ibm/patches/16022":function(){define(["dojo/request/xhr","dojo/has"],function(xhr,has){return has.add("native-formdata",function(){return typeof FormData==="function"||typeof FormData==="object";},true,true);});},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,_151,_152){"use strict";var _153=new _152;var emit=_153.emit;_153.emit=null;function _154(args){setTimeout(function(){emit.apply(_153,args);},0);};_151.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(_155){_154(["resolved",_155].concat(args));},function(_156){_154(["rejected",_156].concat(args));},function(_157){_154(["progress",_157].concat(args));});return this;};_151.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(_158){_154(["rejected",_158].concat(args));});return this;};return _153;});},"dojo/errors/RequestError":function(){define(["./create"],function(_159){return _159("RequestError",function(_15a,_15b){this.response=_15b;});});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_15c,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,_15d){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_15d);};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,_15e){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_15c.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_15e);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_15f){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_15f);};dojo.getStyle=_15c.get;dojo.setStyle=_15c.set;dojo.getComputedStyle=_15c.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_15c.toPixelValue;dojo.style=function(node,name,_160){switch(arguments.length){case 1:return _15c.get(node);case 2:return _15c[typeof name=="string"?"get":"set"](node,name);}return _15c.set(node,name,_160);};return dojo;});},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(has,_161,_162,_163){var i,p,_164=(function(){return this;})(),_165={},_166={},dojo={config:_161,global:_164,dijit:_165,dojox:_166};var _167={dojo:["dojo",dojo],dijit:["dijit",_165],dojox:["dojox",_166]},_168=(_162.map&&_162.map[_163.id.match(/[^\/]+/)[0]]),item;for(p in _168){if(_167[p]){_167[p][0]=_168[p];}else{_167[p]=[_168[p],{}];}}for(p in _167){item=_167[p];item[1]._scopeName=item[0];if(!_161.noGlobals){_164[item[0]]=item[1];}}dojo.scopeMap=_167;dojo.baseUrl=dojo.config.baseUrl=_162.baseUrl;dojo.isAsync=!1||_162.async;dojo.locale=_161.locale;var rev="$Rev: 2dfbbaf $".match(/[0-9a-f]{7,}/);dojo.version={major:1,minor:9,patch:7,flag:"_IBM",revision:rev?rev[0]:NaN,toString:function(){var v=dojo.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};1||has.add("extend-dojo",1);(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);if(0){dojo.exit=function(_169){quit(_169);};}else{dojo.exit=function(){};}1||has.add("dojo-guarantee-console",1);if(1){typeof console!="undefined"||(console={});var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var tn;i=0;while((tn=cn[i++])){if(!console[tn]){(function(){var tcn=tn+"";console[tcn]=("log" in console)?function(){var a=Array.prototype.slice.call(arguments);a.unshift(tcn+":");console["log"](a.join(" "));}:function(){};console[tcn]._fake=true;})();}}}has.add("dojo-debug-messages",!!_161.isDebug);dojo.deprecated=dojo.experimental=function(){};if(has("dojo-debug-messages")){dojo.deprecated=function(_16a,_16b,_16c){var _16d="DEPRECATED: "+_16a;if(_16b){_16d+=" "+_16b;}if(_16c){_16d+=" -- will be removed in version: "+_16c;}console.warn(_16d);};dojo.experimental=function(_16e,_16f){var _170="EXPERIMENTAL: "+_16e+" -- APIs subject to change without notice.";if(_16f){_170+=" "+_16f;}console.warn(_170);};}1||has.add("dojo-modulePaths",1);if(1){if(_161.modulePaths){dojo.deprecated("dojo.modulePaths","use paths configuration");var _171={};for(p in _161.modulePaths){_171[p.replace(/\./g,"/")]=_161.modulePaths[p];}_162({paths:_171});}}1||has.add("dojo-moduleUrl",1);if(1){dojo.moduleUrl=function(_172,url){dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _173=null;if(_172){_173=_162.toUrl(_172.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _173;};}dojo._hasResource={};return dojo;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _174={};return {objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,_175=[];for(var name in map){var _176=map[name];if(_176!=_174[name]){var _177=enc(name)+"=";if(lang.isArray(_176)){for(var i=0,l=_176.length;i<l;++i){_175.push(_177+enc(_176[i]));}}else{_175.push(_177+enc(_176));}}}return _175.join("&");},queryToObject:function queryToObject(str){var dec=decodeURIComponent,qp=str.split("&"),ret={},name,val;for(var i=0,l=qp.length,item;i<l;++i){item=qp[i];if(item.length){var s=item.indexOf("=");if(s<0){name=dec(item);val="";}else{name=dec(item.slice(0,s));val=dec(item.slice(s+1));}if(typeof ret[name]=="string"){ret[name]=[ret[name]];}if(lang.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}}return ret;}};});},"dojo/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],function(dojo,_178,_179,_17a,has,lang,when){var _17b=function(){};var _17c=Object.freeze||function(){};var _17d=dojo.Deferred=function(_17e){var _17f,_180,_181,_182,_183,head,_184;var _185=(this.promise=new _179());function _186(_187){if(_180){throw new Error("This deferred has already been resolved");}_17f=_187;_180=true;_188();};function _188(){var _189;while(!_189&&_184){var _18a=_184;_184=_184.next;if((_189=(_18a.progress==_17b))){_180=false;}var func=(_183?_18a.error:_18a.resolved);if(has("config-useDeferredInstrumentation")){if(_183&&_178.instrumentRejected){_178.instrumentRejected(_17f,!!func);}}if(func){try{var _18b=func(_17f);if(_18b&&typeof _18b.then==="function"){_18b.then(lang.hitch(_18a.deferred,"resolve"),lang.hitch(_18a.deferred,"reject"),lang.hitch(_18a.deferred,"progress"));continue;}var _18c=_189&&_18b===undefined;if(_189&&!_18c){_183=_18b instanceof Error;}_18a.deferred[_18c&&_183?"reject":"resolve"](_18c?_17f:_18b);}catch(e){_18a.deferred.reject(e);}}else{if(_183){_18a.deferred.reject(_17f);}else{_18a.deferred.resolve(_17f);}}}};this.isResolved=_185.isResolved=function(){return _182==0;};this.isRejected=_185.isRejected=function(){return _182==1;};this.isFulfilled=_185.isFulfilled=function(){return _182>=0;};this.isCanceled=_185.isCanceled=function(){return _181;};this.resolve=this.callback=function(_18d){this.fired=_182=0;this.results=[_18d,null];_186(_18d);};this.reject=this.errback=function(_18e){_183=true;this.fired=_182=1;if(has("config-useDeferredInstrumentation")){if(_178.instrumentRejected){_178.instrumentRejected(_18e,!!_184);}}_186(_18e);this.results=[null,_18e];};this.progress=function(_18f){var _190=_184;while(_190){var _191=_190.progress;_191&&_191(_18f);_190=_190.next;}};this.addCallbacks=function(_192,_193){this.then(_192,_193,_17b);return this;};_185.then=this.then=function(_194,_195,_196){var _197=_196==_17b?this:new _17d(_185.cancel);var _198={resolved:_194,error:_195,progress:_196,deferred:_197};if(_184){head=head.next=_198;}else{_184=head=_198;}if(_180){_188();}return _197.promise;};var _199=this;_185.cancel=this.cancel=function(){if(!_180){var _19a=_17e&&_17e(_199);if(!_180){if(!(_19a instanceof Error)){_19a=new _17a(_19a);}_19a.log=false;_199.reject(_19a);}}_181=true;};_17c(_185);};lang.extend(_17d,{addCallback:function(_19b){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_19c){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_19d){var _19e=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_19e,_19e);},fired:-1});_17d.when=dojo.when=when;return _17d;});},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_19f,_1a0,lang,_1a1,_1a2,_1a3,_1a4,_1a5){var _1a6=function(a){return a.length==1&&(typeof a[0]=="string");};var _1a7=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _1a8=_19f.NodeList,awc=_1a8._adaptWithCondition,aafe=_1a8._adaptAsForEach,aam=_1a8._adaptAsMap;function _1a9(_1aa){return function(node,name,_1ab){if(arguments.length==2){return _1aa[typeof name=="string"?"get":"set"](node,name);}return _1aa.set(node,name,_1ab);};};lang.extend(_1a8,{_normalize:function(_1ac,_1ad){var _1ae=_1ac.parse===true;if(typeof _1ac.template=="string"){var _1af=_1ac.templateFunc||(dojo.string&&dojo.string.substitute);_1ac=_1af?_1af(_1ac.template,_1ac):_1ac;}var type=(typeof _1ac);if(type=="string"||type=="number"){_1ac=_1a2.toDom(_1ac,(_1ad&&_1ad.ownerDocument));if(_1ac.nodeType==11){_1ac=lang._toArray(_1ac.childNodes);}else{_1ac=[_1ac];}}else{if(!lang.isArrayLike(_1ac)){_1ac=[_1ac];}else{if(!lang.isArray(_1ac)){_1ac=lang._toArray(_1ac);}}}if(_1ae){_1ac._runParse=true;}return _1ac;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_1b0,_1b1,_1b2){if(_1b0.nodeType!=1&&_1b1=="only"){return;}var _1b3=_1b0,_1b4;var _1b5=ary.length;for(var i=_1b5-1;i>=0;i--){var node=(_1b2?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1b4){_1b4=_1b3.ownerDocument.createElement("div");}_1b4.appendChild(node);dojo.parser.parse(_1b4);node=_1b4.firstChild;while(_1b4.firstChild){_1b4.removeChild(_1b4.firstChild);}}if(i==_1b5-1){_1a2.place(node,_1b3,_1b1);}else{_1b3.parentNode.insertBefore(node,_1b3);}_1b3=node;}},position:aam(_1a3.position),attr:awc(_1a9(_1a4),_1a6),style:awc(_1a9(_1a5),_1a6),addClass:aafe(_1a1.add),removeClass:aafe(_1a1.remove),toggleClass:aafe(_1a1.toggle),replaceClass:aafe(_1a1.replace),empty:aafe(_1a2.empty),removeAttr:aafe(_1a4.remove),marginBox:aam(_1a3.getMarginBox),place:function(_1b6,_1b7){var item=_19f(_1b6)[0];return this.forEach(function(node){_1a2.place(node,item,_1b7);});},orphan:function(_1b8){return (_1b8?_19f._filterResult(this,_1b8):this).forEach(_1a7);},adopt:function(_1b9,_1ba){return _19f(_1b9).place(this[0],_1ba)._stash(this);},query:function(_1bb){if(!_1bb){return this;}var ret=new _1a8;this.map(function(node){_19f(_1bb,node).forEach(function(_1bc){if(_1bc!==undefined){ret.push(_1bc);}});});return ret._stash(this);},filter:function(_1bd){var a=arguments,_1be=this,_1bf=0;if(typeof _1bd=="string"){_1be=_19f._filterResult(this,a[0]);if(a.length==1){return _1be._stash(this);}_1bf=1;}return this._wrap(_1a0.filter(_1be,a[_1bf],a[_1bf+1]),this);},addContent:function(_1c0,_1c1){_1c0=this._normalize(_1c0,this[0]);for(var i=0,node;(node=this[i]);i++){if(_1c0.length){this._place(_1c0,node,_1c1,i>0);}else{_1a2.empty(node);}}return this;}});return _1a8;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1c2,lang,_1c3,_1c4){"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,_1c5=_1c2.forEach;var tnl=function(a,_1c6,_1c7){var _1c8=new (_1c7||this._NodeListCtor||nl)(a);return _1c6?_1c8._stash(_1c6):_1c8;};var _1c9=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 _1ca=function(f,o){return function(){this.forEach(_1c9(f,arguments,o));return this;};};var _1cb=function(f,o){return function(){return this.map(_1c9(f,arguments,o));};};var _1cc=function(f,o){return function(){return this.filter(_1c9(f,arguments,o));};};var _1cd=function(f,g,o){return function(){var a=arguments,body=_1c9(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1ce=function(_1cf){var _1d0=this instanceof nl&&has("array-extensible");if(typeof _1cf=="number"){_1cf=Array(_1cf);}var _1d1=(_1cf&&"length" in _1cf)?_1cf:arguments;if(_1d0||!_1d1.sort){var _1d2=_1d0?this:[],l=_1d2.length=_1d1.length;for(var i=0;i<l;i++){_1d2[i]=_1d1[i];}if(_1d0){return _1d2;}_1d1=_1d2;}lang._mixin(_1d1,nlp);_1d1._NodeListCtor=function(_1d3){return nl(_1d3);};return _1d1;};var nl=_1ce,nlp=nl.prototype=has("array-extensible")?[]:{};nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_1cb;nl._adaptAsForEach=_1ca;nl._adaptAsFilter=_1cc;nl._adaptWithCondition=_1cd;_1c5(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});_1c5(["indexOf","lastIndexOf","every","some"],function(name){var f=_1c2[name];nlp[name]=function(){return f.apply(dojo,[this].concat(aps.call(arguments,0)));};});lang.extend(_1ce,{constructor:nl,_NodeListCtor:nl,toString:function(){return this.join(",");},_stash:function(_1d4){this._parent=_1d4;return this;},on:function(_1d5,_1d6){var _1d7=this.map(function(node){return on(node,_1d5,_1d6);});_1d7.remove=function(){for(var i=0;i<_1d7.length;i++){_1d7[i].remove();}};return _1d7;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor(0);}},concat:function(item){var t=aps.call(this,0),m=_1c2.map(arguments,function(a){return aps.call(a,0);});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(_1c2.map(this,func,obj),this);},forEach:function(_1d8,_1d9){_1c5(this,_1d8,_1d9);return this;},filter:function(_1da){var a=arguments,_1db=this,_1dc=0;if(typeof _1da=="string"){_1db=_1dd._filterResult(this,a[0]);if(a.length==1){return _1db._stash(this);}_1dc=1;}return this._wrap(_1c2.filter(_1db,a[_1dc],a[_1dc+1]),this);},instantiate:function(_1de,_1df){var c=lang.isFunction(_1de)?_1de:lang.getObject(_1de);_1df=_1df||{};return this.forEach(function(node){new c(_1df,node);});},at:function(){var t=new this._NodeListCtor(0);_1c5(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});function _1e0(_1e1,_1e2){var _1e3=function(_1e4,root){if(typeof root=="string"){root=dom.byId(root);if(!root){return new _1e2([]);}}var _1e5=typeof _1e4=="string"?_1e1(_1e4,root):_1e4?(_1e4.end&&_1e4.on)?_1e4:[_1e4]:[];if(_1e5.end&&_1e5.on){return _1e5;}return new _1e2(_1e5);};_1e3.matches=_1e1.match||function(node,_1e6,root){return _1e3.filter([node],_1e6,root).length>0;};_1e3.filter=_1e1.filter||function(_1e7,_1e8,root){return _1e3(_1e8,root).filter(function(node){return _1c2.indexOf(_1e7,node)>-1;});};if(typeof _1e1!="function"){var _1e9=_1e1.search;_1e1=function(_1ea,root){return _1e9(root||document,_1ea);};}return _1e3;};var _1dd=_1e0(_1c4,_1ce);dojo.query=_1e0(_1c4,function(_1eb){return _1ce(_1eb);});_1dd.load=function(id,_1ec,_1ed){_1c3.load(id,_1ec,function(_1ee){_1ed(_1e0(_1ee,_1ce));});};dojo._filterQueryResult=_1dd._filterResult=function(_1ef,_1f0,root){return new _1ce(_1dd.filter(_1ef,_1f0,root));};dojo.NodeList=_1dd.NodeList=_1ce;return _1dd;});},"dojo/has":function(){define(["require","module"],function(_1f1,_1f2){var has=_1f1.has||function(){};if(!1){var _1f3=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_1f4=(function(){return this;})(),doc=_1f3&&document,_1f5=doc&&doc.createElement("DiV"),_1f6=(_1f2.config&&_1f2.config())||{};has=function(name){return typeof _1f6[name]=="function"?(_1f6[name]=_1f6[name](_1f4,doc,_1f5)):_1f6[name];};has.cache=_1f6;has.add=function(name,test,now,_1f7){(typeof _1f6[name]=="undefined"||_1f7)&&(_1f6[name]=test);return now&&has(name);};1||has.add("host-browser",_1f3);0&&has.add("host-node",(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));0&&has.add("host-rhino",(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));1||has.add("dom",_1f3);1||has.add("dojo-dom-ready-api",1);1||has.add("dojo-sniff",1);}if(1){has.add("dom-addeventlistener",!!document.addEventListener);has.add("touch","ontouchstart" in document||window.navigator.msMaxTouchPoints>0);has.add("device-width",screen.availWidth||innerWidth);var form=document.createElement("form");has.add("dom-attributes-explicit",form.attributes.length==0);has.add("dom-attributes-specified-flag",form.attributes.length>0&&form.attributes.length<40);}has.clearElement=function(_1f8){_1f8.innerHTML="";return _1f8;};has.normalize=function(id,_1f9){var _1fa=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1fa[i++];if(term==":"){return 0;}else{if(_1fa[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1f9(id);};has.load=function(id,_1fb,_1fc){if(id){_1fb([id],_1fc);}else{_1fc();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,_1fd,_1fe,json,lang,_1ff){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}1||has.add("dojo-fast-sync-require",1);var _200=function(id){return {src:_1fe.id,id:id};},_201=function(name){return name.replace(/\./g,"/");},_202=/\/\/>>built/,_203=[],_204=[],_205=function(mid,_206,_207){_203.push(_207);_1ff.forEach(mid.split(","),function(mid){var _208=_209(mid,_206.module);_204.push(_208);_20a(_208);});_20b();},_20b=(1?function(){var _20c,mid;for(mid in _20d){_20c=_20d[mid];if(_20c.noReqPluginCheck===undefined){_20c.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_20c.executed&&!_20c.noReqPluginCheck&&_20c.injected==_20e){return;}}_20f(function(){var _210=_203;_203=[];_1ff.forEach(_210,function(cb){cb(1);});});}:(function(){var _211,_212=function(m){_211[m.mid]=1;for(var t,_213,deps=m.deps||[],i=0;i<deps.length;i++){_213=deps[i];if(!(t=_211[_213.mid])){if(t===0||!_212(_213)){_211[m.mid]=0;return false;}}}return true;};return function(){var _214,mid;_211={};for(mid in _20d){_214=_20d[mid];if(_214.executed||_214.noReqPluginCheck){_211[mid]=1;}else{if(_214.noReqPluginCheck!==0){_214.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(_214.noReqPluginCheck){_211[mid]=1;}else{if(_214.injected!==_240){_211[mid]=0;}}}}for(var t,i=0,end=_204.length;i<end;i++){_214=_204[i];if(!(t=_211[_214.mid])){if(t===0||!_212(_214)){return;}}}_20f(function(){var _215=_203;_203=[];_1ff.forEach(_215,function(cb){cb(1);});});};})()),_216=function(mid,_217,_218){_217([mid],function(_219){_217(_219.names,function(){for(var _21a="",args=[],i=0;i<arguments.length;i++){_21a+="var "+_219.names[i]+"= arguments["+i+"]; ";args.push(arguments[i]);}eval(_21a);var _21b=_217.module,_21c=[],_21d,_21e={provide:function(_21f){_21f=_201(_21f);var _220=_209(_21f,_21b);if(_220!==_21b){_246(_220);}},require:function(_221,_222){_221=_201(_221);_222&&(_209(_221,_21b).result=_241);_21c.push(_221);},requireLocalization:function(_223,_224,_225){if(!_21d){_21d=["dojo/i18n"];}_225=(_225||dojo.locale).toLowerCase();_223=_201(_223)+"/nls/"+(/root/i.test(_225)?"":_225+"/")+_201(_224);if(_209(_223,_21b).isXd){_21d.push("dojo/i18n!"+_223);}},loadInit:function(f){f();}},hold={},p;try{for(p in _21e){hold[p]=dojo[p];dojo[p]=_21e[p];}_219.def.apply(null,args);}catch(e){_226("error",[_200("failedDojoLoadInit"),e]);}finally{for(p in _21e){dojo[p]=hold[p];}}if(_21d){_21c=_21c.concat(_21d);}if(_21c.length){_205(_21c.join(","),_217,_218);}else{_218();}});});},_227=function(text,_228,_229){var _22a=/\(|\)/g,_22b=1,_22c;_22a.lastIndex=_228;while((_22c=_22a.exec(text))){if(_22c[0]==")"){_22b-=1;}else{_22b+=1;}if(_22b==0){break;}}if(_22b!=0){throw "unmatched paren around character "+_22a.lastIndex+" in: "+text;}return [dojo.trim(text.substring(_229,_22a.lastIndex))+";\n",_22a.lastIndex];},_22d=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,_22e=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_22f=/(^|\s)(require|define)\s*\(/m,_230=function(text,_231){var _232,_233,_234,_235,_236=[],_237=[],_238=[];_231=_231||text.replace(_22d,function(_239){_22e.lastIndex=_22f.lastIndex=0;return (_22e.test(_239)||_22f.test(_239))?"":_239;});while((_232=_22e.exec(_231))){_233=_22e.lastIndex;_234=_233-_232[0].length;_235=_227(_231,_233,_234);if(_232[2]=="loadInit"){_236.push(_235[0]);}else{_237.push(_235[0]);}_22e.lastIndex=_235[1];}_238=_236.concat(_237);if(_238.length||!_22f.test(_231)){return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_238.join(""),_238];}else{return 0;}},_23a=function(_23b,text){var _23c,id,_23d=[],_23e=[];if(_202.test(text)||!(_23c=_230(text))){return 0;}id=_23b.mid+"-*loadInit";for(var p in _209("dojo",_23b).result.scopeMap){_23d.push(p);_23e.push("\""+p+"\"");}return "// xdomain rewrite of "+_23b.mid+"\n"+"define('"+id+"',{\n"+"\tnames:"+json.stringify(_23d)+",\n"+"\tdef:function("+_23d.join(",")+"){"+_23c[1]+"}"+"});\n\n"+"define("+json.stringify(_23d.concat(["dojo/loadInit!"+id]))+", function("+_23d.join(",")+"){\n"+_23c[0]+"});";},_23f=_1fd.initSyncLoader(_205,_20b,_23a),sync=_23f.sync,_20e=_23f.requested,_240=_23f.arrived,_241=_23f.nonmodule,_242=_23f.executing,_243=_23f.executed,_244=_23f.syncExecStack,_20d=_23f.modules,_245=_23f.execQ,_209=_23f.getModule,_20a=_23f.injectModule,_246=_23f.setArrived,_226=_23f.signal,_247=_23f.finishExec,_248=_23f.execModule,_249=_23f.getLegacyMode,_20f=_23f.guardCheckComplete;_205=_23f.dojoRequirePlugin;dojo.provide=function(mid){var _24a=_244[0],_24b=lang.mixin(_209(_201(mid),_1fd.module),{executed:_242,result:lang.getObject(mid,true)});_246(_24b);if(_24a){(_24a.provides||(_24a.provides=[])).push(function(){_24b.result=lang.getObject(mid);delete _24b.provides;_24b.executed!==_243&&_247(_24b);});}return _24b.result;};has.add("config-publishRequireResult",1,0,0);dojo.require=function(_24c,_24d){function _24e(mid,_24f){var _250=_209(_201(mid),_1fd.module);if(_244.length&&_244[0].finish){_244[0].finish.push(mid);return undefined;}if(_250.executed){return _250.result;}_24f&&(_250.result=_241);var _251=_249();_20a(_250);_251=_249();if(_250.executed!==_243&&_250.injected===_240){_23f.guardCheckComplete(function(){_248(_250);});}if(_250.executed){return _250.result;}if(_251==sync){if(_250.cjs){_245.unshift(_250);}else{_244.length&&(_244[0].finish=[mid]);}}else{_245.push(_250);}return undefined;};var _252=_24e(_24c,_24d);if(has("config-publishRequireResult")&&!lang.exists(_24c)&&_252!==undefined){lang.setObject(_24c,_252);}return _252;};dojo.loadInit=function(f){f();};dojo.registerModulePath=function(_253,_254){var _255={};_255[_253.replace(/\./g,"/")]=_254;_1fd({paths:_255});};dojo.platformRequire=function(_256){var _257=(_256.common||[]).concat(_256[dojo._name]||_256["default"]||[]),temp;while(_257.length){if(lang.isArray(temp=_257.shift())){dojo.require.apply(dojo,temp);}else{dojo.require(temp);}}};dojo.requireIf=dojo.requireAfterIf=function(_258,_259,_25a){if(_258){dojo.require(_259,_25a);}};dojo.requireLocalization=function(_25b,_25c,_25d){_1fd(["../i18n"],function(i18n){i18n.getLocalization(_25b,_25c,_25d);});};return {extractLegacyApiApplications:_230,require:_205,loadInit:_216};});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _25e=typeof JSON!="undefined";has.add("json-parse",_25e);has.add("json-stringify",_25e&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _25f=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,_260){if(_260&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_261,_262,_263){var _264;if(typeof _262=="string"){_263=_262;_262=null;}function _265(it,_266,key){if(_262){it=_262(key,it);}var val,_267=typeof it;if(_267=="number"){return isFinite(it)?it+"":"null";}if(_267=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _25f(it);}if(_267=="function"||_267=="undefined"){return _264;}if(typeof it.toJSON=="function"){return _265(it.toJSON(key),_266,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 _265(it.valueOf(),_266,key);}var _268=_263?(_266+_263):"";var sep=_263?" ":"";var _269=_263?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key<itl;key++){var obj=it[key];val=_265(obj,_268,key);if(typeof val!="string"){val="null";}res.push(_269+_268+val);}return "["+res.join(",")+_269+_266+"]";}var _26a=[];for(key in it){var _26b;if(it.hasOwnProperty(key)){if(typeof key=="number"){_26b="\""+key+"\"";}else{if(typeof key=="string"){_26b=_25f(key);}else{continue;}}val=_265(it[key],_268,key);if(typeof val!="string"){continue;}_26a.push(_269+_268+_26b+":"+sep+val);}}return "{"+_26a.join(",")+_269+_266+"}";};return _265(_261,"","");}};}});},"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,_26c=0,_26d="constructor";function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _26e(_26f,_270){var _271=[],_272=[{cls:0,refs:[]}],_273={},_274=1,l=_26f.length,i=0,j,lin,base,top,_275,rec,name,refs;for(;i<l;++i){base=_26f[i];if(!base){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_270);}else{if(opts.call(base)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_270);}}lin=base._meta?base._meta.bases:[base];top=0;for(j=lin.length-1;j>=0;--j){_275=lin[j].prototype;if(!_275.hasOwnProperty("declaredClass")){_275.declaredClass="uniqName_"+(_26c++);}name=_275.declaredClass;if(!_273.hasOwnProperty(name)){_273[name]={count:0,refs:[],cls:lin[j]};++_274;}rec=_273[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_272[0].refs.push(top);}while(_272.length){top=_272.pop();_271.push(top.cls);--_274;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_271.push(top.cls);--_274;}if(top){for(i=0,l=refs.length;i<l;++i){top=refs[i];if(!--top.count){_272.push(top);}}}}if(_274){err("can't build consistent linearization",_270);}base=_26f[0];_271[0]=base?base._meta&&base===_271[_271.length-base._meta.bases.length]?base._meta.bases.length:1:0;return _271;};function _276(args,a,f){var name,_277,_278,_279,meta,base,_27a,opf,pos,_27b=this._inherited=this._inherited||{};if(typeof args=="string"){name=args;args=a;a=f;}f=0;_279=args.callee;name=name||_279.nom;if(!name){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_278=meta.bases;pos=_27b.p;if(name!=_26d){if(_27b.c!==_279){pos=0;base=_278[0];meta=base._meta;if(meta.hidden[name]!==_279){_277=meta.chains;if(_277&&typeof _277[name]=="string"){err("calling chained method with inherited: "+name,this.declaredClass);}do{meta=base._meta;_27a=base.prototype;if(meta&&(_27a[name]===_279&&_27a.hasOwnProperty(name)||meta.hidden[name]===_279)){break;}}while(base=_278[++pos]);pos=base?pos:-1;}}base=_278[++pos];if(base){_27a=base.prototype;if(base._meta&&_27a.hasOwnProperty(name)){f=_27a[name];}else{opf=op[name];do{_27a=base.prototype;f=_27a[name];if(f&&(base._meta?_27a.hasOwnProperty(name):f!==opf)){break;}}while(base=_278[++pos]);}}f=base&&f||op[name];}else{if(_27b.c!==_279){pos=0;meta=_278[0]._meta;if(meta&&meta.ctor!==_279){_277=meta.chains;if(!_277||_277.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_278[++pos]){meta=base._meta;if(meta&&meta.ctor===_279){break;}}pos=base?pos:-1;}}while(base=_278[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_27b.c=f;_27b.p=pos;if(f){return a===true?f:f.apply(this,a||args);}};function _27c(name,args){if(typeof name=="string"){return this.__inherited(name,args,true);}return this.__inherited(name,true);};function _27d(args,a1,a2){var f=this.getInherited(args,a1);if(f){return f.apply(this,a2||a1||args);}};var _27e=dojo.config.isDebug?_27d:_276;function _27f(cls){var _280=this.constructor._meta.bases;for(var i=0,l=_280.length;i<l;++i){if(_280[i]===cls){return true;}}return this instanceof cls;};function _281(_282,_283){for(var name in _283){if(name!=_26d&&_283.hasOwnProperty(name)){_282[name]=_283[name];}}if(has("bug-for-in-skips-shadowed")){for(var _284=lang._extraNames,i=_284.length;i;){name=_284[--i];if(name!=_26d&&_283.hasOwnProperty(name)){_282[name]=_283[name];}}}};function _285(_286,_287){var name,t;for(name in _287){t=_287[name];if((t!==op[name]||!(name in op))&&name!=_26d){if(opts.call(t)=="[object Function]"){t.nom=name;}_286[name]=t;}}if(has("bug-for-in-skips-shadowed")){for(var _288=lang._extraNames,i=_288.length;i;){name=_288[--i];t=_287[name];if((t!==op[name]||!(name in op))&&name!=_26d){if(opts.call(t)=="[object Function]"){t.nom=name;}_286[name]=t;}}}return _286;};function _289(_28a){_28b.safeMixin(this.prototype,_28a);return this;};function _28c(_28d,_28e){return _28b([this].concat(_28d),_28e||{});};function _28f(_290,_291){return function(){var a=arguments,args=a,a0=a[0],f,i,m,l=_290.length,_292;if(!(this instanceof a.callee)){return _293(a);}if(_291&&(a0&&a0.preamble||this.preamble)){_292=new Array(_290.length);_292[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_290[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_292[i]=a;}}for(i=l-1;i>=0;--i){f=_290[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_292?_292[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _294(ctor,_295){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _293(a);}if(_295){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 _296(_297){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _293(a);}for(;f=_297[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 _298(name,_299,_29a){return function(){var b,m,f,i=0,step=1;if(_29a){i=_299.length-1;step=-1;}for(;b=_299[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _29b(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _293(args){var ctor=args.callee,t=_29b(ctor);ctor.apply(t,args);return t;};function _28b(_29c,_29d,_29e){if(typeof _29c!="string"){_29e=_29d;_29d=_29c;_29c="";}_29e=_29e||{};var _29f,i,t,ctor,name,_2a0,_2a1,_2a2=1,_2a3=_29d;if(opts.call(_29d)=="[object Array]"){_2a0=_26e(_29d,_29c);t=_2a0[0];_2a2=_2a0.length-t;_29d=_2a0[_2a2];}else{_2a0=[0];if(_29d){if(opts.call(_29d)=="[object Function]"){t=_29d._meta;_2a0=_2a0.concat(t?t.bases:_29d);}else{err("base class is not a callable constructor.",_29c);}}else{if(_29d!==null){err("unknown base class. Did you use dojo.require to pull it in?",_29c);}}}if(_29d){for(i=_2a2-1;;--i){_29f=_29b(_29d);if(!i){break;}t=_2a0[i];(t._meta?_281:mix)(_29f,t.prototype);ctor=new Function;ctor.superclass=_29d;ctor.prototype=_29f;_29d=_29f.constructor=ctor;}}else{_29f={};}_28b.safeMixin(_29f,_29e);t=_29e.constructor;if(t!==op.constructor){t.nom=_26d;_29f.constructor=t;}for(i=_2a2-1;i;--i){t=_2a0[i]._meta;if(t&&t.chains){_2a1=mix(_2a1||{},t.chains);}}if(_29f["-chains-"]){_2a1=mix(_2a1||{},_29f["-chains-"]);}t=!_2a1||!_2a1.hasOwnProperty(_26d);_2a0[0]=ctor=(_2a1&&_2a1.constructor==="manual")?_296(_2a0):(_2a0.length==1?_294(_29e.constructor,t):_28f(_2a0,t));ctor._meta={bases:_2a0,hidden:_29e,chains:_2a1,parents:_2a3,ctor:_29e.constructor};ctor.superclass=_29d&&_29d.prototype;ctor.extend=_289;ctor.createSubclass=_28c;ctor.prototype=_29f;_29f.constructor=ctor;_29f.getInherited=_27c;_29f.isInstanceOf=_27f;_29f.inherited=_27e;_29f.__inherited=_276;if(_29c){_29f.declaredClass=_29c;lang.setObject(_29c,ctor);}if(_2a1){for(name in _2a1){if(_29f[name]&&typeof _2a1[name]=="string"&&name!=_26d){t=_29f[name]=_298(name,_2a0,_2a1[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_28b.safeMixin=_285;dojo.declare=_28b;return _28b;});},"dojo/dom":function(){define(["./sniff","./_base/window"],function(has,win){if(has("ie")<=7){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}}var dom={};if(has("ie")){dom.byId=function(id,doc){if(typeof id!="string"){return id;}var _2a4=doc||win.doc,te=id&&_2a4.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_2a4.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,_2a5){try{node=dom.byId(node);_2a5=dom.byId(_2a5);while(node){if(node==_2a5){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_2a6,doc,_2a7){if(!_2a7){return false;}var _2a8=_2a7.style;var _2a9=["Khtml","O","Moz","Webkit"],i=_2a9.length,name="userSelect",_2aa;do{if(typeof _2a8[name]!=="undefined"){return name;}}while(i--&&(name=_2a9[i]+"UserSelect"));return false;});var _2ab=has("css-user-select");dom.setSelectable=_2ab?function(node,_2ac){dom.byId(node).style[_2ab]=_2ac?"":"none";}:function(node,_2ad){node=dom.byId(node);var _2ae=node.getElementsByTagName("*"),i=_2ae.length;if(_2ad){node.removeAttribute("unselectable");while(i--){_2ae[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_2ae[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_2af,lang,win){var trim=lang.trim;var each=_2af.forEach;var _2b0=function(){return win.doc;};var _2b1=(_2b0().compatMode)=="BackCompat";var _2b2=">~+";var _2b3=false;var _2b4=function(){return true;};var _2b5=function(_2b6){if(_2b2.indexOf(_2b6.slice(-1))>=0){_2b6+=" * ";}else{_2b6+=" ";}var ts=function(s,e){return trim(_2b6.slice(s,e));};var _2b7=[];var _2b8=-1,_2b9=-1,_2ba=-1,_2bb=-1,_2bc=-1,inId=-1,_2bd=-1,_2be,lc="",cc="",_2bf;var x=0,ql=_2b6.length,_2c0=null,_2c1=null;var _2c2=function(){if(_2bd>=0){var tv=(_2bd==x)?null:ts(_2bd,x);_2c0[(_2b2.indexOf(tv)<0)?"tag":"oper"]=tv;_2bd=-1;}};var _2c3=function(){if(inId>=0){_2c0.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _2c4=function(){if(_2bc>=0){_2c0.classes.push(ts(_2bc+1,x).replace(/\\/g,""));_2bc=-1;}};var _2c5=function(){_2c3();_2c2();_2c4();};var _2c6=function(){_2c5();if(_2bb>=0){_2c0.pseudos.push({name:ts(_2bb+1,x)});}_2c0.loops=(_2c0.pseudos.length||_2c0.attrs.length||_2c0.classes.length);_2c0.oquery=_2c0.query=ts(_2bf,x);_2c0.otag=_2c0.tag=(_2c0["oper"])?null:(_2c0.tag||"*");if(_2c0.tag){_2c0.tag=_2c0.tag.toUpperCase();}if(_2b7.length&&(_2b7[_2b7.length-1].oper)){_2c0.infixOper=_2b7.pop();_2c0.query=_2c0.infixOper.query+" "+_2c0.query;}_2b7.push(_2c0);_2c0=null;};for(;lc=cc,cc=_2b6.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_2c0){_2bf=x;_2c0={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _2b3?this.otag:this.tag;}};_2bd=x;}if(_2be){if(cc==_2be){_2be=null;}continue;}else{if(cc=="'"||cc=="\""){_2be=cc;continue;}}if(_2b8>=0){if(cc=="]"){if(!_2c1.attr){_2c1.attr=ts(_2b8+1,x);}else{_2c1.matchFor=ts((_2ba||_2b8+1),x);}var cmf=_2c1.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_2c1.matchFor=cmf.slice(1,-1);}}if(_2c1.matchFor){_2c1.matchFor=_2c1.matchFor.replace(/\\/g,"");}_2c0.attrs.push(_2c1);_2c1=null;_2b8=_2ba=-1;}else{if(cc=="="){var _2c7=("|~^$*".indexOf(lc)>=0)?lc:"";_2c1.type=_2c7+cc;_2c1.attr=ts(_2b8+1,x-_2c7.length);_2ba=x+1;}}}else{if(_2b9>=0){if(cc==")"){if(_2bb>=0){_2c1.value=ts(_2b9+1,x);}_2bb=_2b9=-1;}}else{if(cc=="#"){_2c5();inId=x+1;}else{if(cc=="."){_2c5();_2bc=x;}else{if(cc==":"){_2c5();_2bb=x;}else{if(cc=="["){_2c5();_2b8=x;_2c1={};}else{if(cc=="("){if(_2bb>=0){_2c1={name:ts(_2bb+1,x),value:null};_2c0.pseudos.push(_2c1);}_2b9=x;}else{if((cc==" ")&&(lc!=cc)){_2c6();}}}}}}}}}return _2b7;};var _2c8=function(_2c9,_2ca){if(!_2c9){return _2ca;}if(!_2ca){return _2c9;}return function(){return _2c9.apply(window,arguments)&&_2ca.apply(window,arguments);};};var _2cb=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _2cc=function(n){return (1==n.nodeType);};var _2cd="";var _2ce=function(elem,attr){if(!elem){return _2cd;}if(attr=="class"){return elem.className||_2cd;}if(attr=="for"){return elem.htmlFor||_2cd;}if(attr=="style"){return elem.style.cssText||_2cd;}return (_2b3?elem.getAttribute(attr):elem.getAttribute(attr,2))||_2cd;};var _2cf={"*=":function(attr,_2d0){return function(elem){return (_2ce(elem,attr).indexOf(_2d0)>=0);};},"^=":function(attr,_2d1){return function(elem){return (_2ce(elem,attr).indexOf(_2d1)==0);};},"$=":function(attr,_2d2){return function(elem){var ea=" "+_2ce(elem,attr);var _2d3=ea.lastIndexOf(_2d2);return _2d3>-1&&(_2d3==(ea.length-_2d2.length));};},"~=":function(attr,_2d4){var tval=" "+_2d4+" ";return function(elem){var ea=" "+_2ce(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_2d5){var _2d6=_2d5+"-";return function(elem){var ea=_2ce(elem,attr);return ((ea==_2d5)||(ea.indexOf(_2d6)==0));};},"=":function(attr,_2d7){return function(elem){return (_2ce(elem,attr)==_2d7);};}};var _2d8=(typeof _2b0().firstChild.nextElementSibling=="undefined");var _2d9=!_2d8?"nextElementSibling":"nextSibling";var _2da=!_2d8?"previousElementSibling":"previousSibling";var _2db=(_2d8?_2cc:_2b4);var _2dc=function(node){while(node=node[_2da]){if(_2db(node)){return false;}}return true;};var _2dd=function(node){while(node=node[_2d9]){if(_2db(node)){return false;}}return true;};var _2de=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_2d9]){if(_2db(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _2df=function(elem){return !((_2de(elem))%2);};var _2e0=function(elem){return ((_2de(elem))%2);};var _2e1={"checked":function(name,_2e2){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_2e3){return function(elem){return elem.disabled;};},"enabled":function(name,_2e4){return function(elem){return !elem.disabled;};},"first-child":function(){return _2dc;},"last-child":function(){return _2dd;},"only-child":function(name,_2e5){return function(node){return _2dc(node)&&_2dd(node);};},"empty":function(name,_2e6){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_2e7){var cz=_2e7.charAt(0);if(cz=="\""||cz=="'"){_2e7=_2e7.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_2e7)>=0);};},"not":function(name,_2e8){var p=_2b5(_2e8)[0];var _2e9={el:1};if(p.tag!="*"){_2e9.tag=1;}if(!p.classes.length){_2e9.classes=1;}var ntf=_2ea(p,_2e9);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_2eb){var pi=parseInt;if(_2eb=="odd"){return _2e0;}else{if(_2eb=="even"){return _2df;}}if(_2eb.indexOf("n")!=-1){var _2ec=_2eb.split("n",2);var pred=_2ec[0]?((_2ec[0]=="-")?-1:pi(_2ec[0])):1;var idx=_2ec[1]?pi(_2ec[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=_2de(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_2eb=idx;}}var _2ed=pi(_2eb);return function(elem){return (_2de(elem)==_2ed);};}};var _2ee=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_2b3?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _2ea=function(_2ef,_2f0){if(!_2ef){return _2b4;}_2f0=_2f0||{};var ff=null;if(!("el" in _2f0)){ff=_2c8(ff,_2cc);}if(!("tag" in _2f0)){if(_2ef.tag!="*"){ff=_2c8(ff,function(elem){return (elem&&((_2b3?elem.tagName:elem.tagName.toUpperCase())==_2ef.getTag()));});}}if(!("classes" in _2f0)){each(_2ef.classes,function(_2f1,idx,arr){var re=new RegExp("(?:^|\\s)"+_2f1+"(?:\\s|$)");ff=_2c8(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _2f0)){each(_2ef.pseudos,function(_2f2){var pn=_2f2.name;if(_2e1[pn]){ff=_2c8(ff,_2e1[pn](pn,_2f2.value));}});}if(!("attrs" in _2f0)){each(_2ef.attrs,function(attr){var _2f3;var a=attr.attr;if(attr.type&&_2cf[attr.type]){_2f3=_2cf[attr.type](a,attr.matchFor);}else{if(a.length){_2f3=_2ee(a);}}if(_2f3){ff=_2c8(ff,_2f3);}});}if(!("id" in _2f0)){if(_2ef.id){ff=_2c8(ff,function(elem){return (!!elem&&(elem.id==_2ef.id));});}}if(!ff){if(!("default" in _2f0)){ff=_2b4;}}return ff;};var _2f4=function(_2f5){return function(node,ret,bag){while(node=node[_2d9]){if(_2d8&&(!_2cc(node))){continue;}if((!bag||_2f6(node,bag))&&_2f5(node)){ret.push(node);}break;}return ret;};};var _2f7=function(_2f8){return function(root,ret,bag){var te=root[_2d9];while(te){if(_2db(te)){if(bag&&!_2f6(te,bag)){break;}if(_2f8(te)){ret.push(te);}}te=te[_2d9];}return ret;};};var _2f9=function(_2fa){_2fa=_2fa||_2b4;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_2db(te)&&(!bag||_2f6(te,bag))&&(_2fa(te,x))){ret.push(te);}}return ret;};};var _2fb=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _2fc={};var _2fd=function(_2fe){var _2ff=_2fc[_2fe.query];if(_2ff){return _2ff;}var io=_2fe.infixOper;var oper=(io?io.oper:"");var _300=_2ea(_2fe,{el:1});var qt=_2fe.tag;var _301=("*"==qt);var ecs=_2b0()["getElementsByClassName"];if(!oper){if(_2fe.id){_300=(!_2fe.loops&&_301)?_2b4:_2ea(_2fe,{el:1,id:1});_2ff=function(root,arr){var te=dom.byId(_2fe.id,(root.ownerDocument||root));if(!te||!_300(te)){return;}if(9==root.nodeType){return _2cb(te,arr);}else{if(_2fb(te,root)){return _2cb(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_2fe.classes.length&&!_2b1){_300=_2ea(_2fe,{el:1,classes:1,id:1});var _302=_2fe.classes.join(" ");_2ff=function(root,arr,bag){var ret=_2cb(0,arr),te,x=0;var tret=root.getElementsByClassName(_302);while((te=tret[x++])){if(_300(te,root)&&_2f6(te,bag)){ret.push(te);}}return ret;};}else{if(!_301&&!_2fe.loops){_2ff=function(root,arr,bag){var ret=_2cb(0,arr),te,x=0;var tag=_2fe.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_2f6(te,bag)){ret.push(te);}}return ret;};}else{_300=_2ea(_2fe,{el:1,tag:1,id:1});_2ff=function(root,arr,bag){var ret=_2cb(0,arr),te,x=0;var tag=_2fe.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_300(te,root)&&_2f6(te,bag)){ret.push(te);}}return ret;};}}}}else{var _303={el:1};if(_301){_303.tag=1;}_300=_2ea(_2fe,_303);if("+"==oper){_2ff=_2f4(_300);}else{if("~"==oper){_2ff=_2f7(_300);}else{if(">"==oper){_2ff=_2f9(_300);}}}}return _2fc[_2fe.query]=_2ff;};var _304=function(root,_305){var _306=_2cb(root),qp,x,te,qpl=_305.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_305[i];x=_306.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_2fd(qp);for(var j=0;(te=_306[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_306=ret;}return ret;};var _307={},_308={};var _309=function(_30a){var _30b=_2b5(trim(_30a));if(_30b.length==1){var tef=_2fd(_30b[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _304(root,_30b);};};var _30c=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _30d=!!_2b0()[qsa];var _30e=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _30f=function(_310,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_310;};var _311=/([^[]*)([^\]]*])?/g;var _312=function(_313,_314,att){return _314.replace(_30e,_30f)+(att||"");};var _315=function(_316,_317){_316=_316.replace(_311,_312);if(_30d){var _318=_308[_316];if(_318&&!_317){return _318;}}var _319=_307[_316];if(_319){return _319;}var qcz=_316.charAt(0);var _31a=(-1==_316.indexOf(" "));if((_316.indexOf("#")>=0)&&(_31a)){_317=true;}var _31b=(_30d&&(!_317)&&(_2b2.indexOf(qcz)==-1)&&(!has("ie")||(_316.indexOf(":")==-1))&&(!(_2b1&&(_316.indexOf(".")>=0)))&&(_316.indexOf(":contains")==-1)&&(_316.indexOf(":checked")==-1)&&(_316.indexOf("|=")==-1));if(_31b){var tq=(_2b2.indexOf(_316.charAt(_316.length-1))>=0)?(_316+" *"):_316;return _308[_316]=function(root){try{if(!((9==root.nodeType)||_31a)){throw "";}var r=root[qsa](tq);r[_30c]=true;return r;}catch(e){return _315(_316,true)(root);}};}else{var _31c=_316.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _307[_316]=((_31c.length<2)?_309(_316):function(root){var _31d=0,ret=[],tp;while((tp=_31c[_31d++])){ret=ret.concat(_309(tp)(root));}return ret;});}};var _31e=0;var _31f=has("ie")?function(node){if(_2b3){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_31e)||_31e);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_31e));};var _2f6=function(node,bag){if(!bag){return 1;}var id=_31f(node);if(!bag[id]){return bag[id]=1;}return 0;};var _320="_zipIdx";var _321=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_31e++;var x,te;if(has("ie")&&_2b3){var _322=_31e+"";for(x=0;x<arr.length;x++){if((te=arr[x])&&te.getAttribute(_320)!=_322){ret.push(te);te.setAttribute(_320,_322);}}}else{if(has("ie")&&arr.commentStrip){try{for(x=0;x<arr.length;x++){if((te=arr[x])&&_2cc(te)){ret.push(te);}}}catch(e){}}else{for(x=0;x<arr.length;x++){if((te=arr[x])&&te[_320]!=_31e){ret.push(te);te[_320]=_31e;}}}}return ret;};var _323=function(_324,root){root=root||_2b0();var od=root.ownerDocument||root;_2b3=(od.createElement("div").tagName==="div");var r=_315(_324)(root);if(r&&r.nozip){return r;}return _321(r);};_323.filter=function(_325,_326,root){var _327=[],_328=_2b5(_326),_329=(_328.length==1&&!/[^\w#\.]/.test(_326))?_2ea(_328[0]):function(node){return _2af.indexOf(_323(_326,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_325[x];x++){if(_329(te)){_327.push(te);}}return _327;};return _323;});},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(_32a,_32b){return _32a("RequestTimeoutError",null,_32b,{dojoType:"timeout"});});},"dojo/dom-style":function(){define(["./sniff","./dom"],function(has,dom){var _32c,_32d={};if(has("webkit")){_32c=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"))){_32c=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_32c=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_32d.getComputedStyle=_32c;var _32e;if(!has("ie")){_32e=function(_32f,_330){return parseFloat(_330)||0;};}else{_32e=function(_331,_332){if(!_332){return 0;}if(_332=="medium"){return 4;}if(_332.slice&&_332.slice(-2)=="px"){return parseFloat(_332);}var s=_331.style,rs=_331.runtimeStyle,cs=_331.currentStyle,_333=s.left,_334=rs.left;rs.left=cs.left;try{s.left=_332;_332=s.pixelLeft;}catch(e){_332=0;}s.left=_333;rs.left=_334;return _332;};}_32d.toPixelValue=_32e;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _335=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _32c(node).opacity;};var _336=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_337){if(_337===""){_337=1;}var ov=_337*100,_338=_337===1;if(_338){node.style.zoom="";if(af(node)){node.style.filter=node.style.filter.replace(new RegExp("\\s*progid:"+astr+"\\([^\\)]+?\\)","i"),"");}}else{node.style.zoom=1;if(af(node)){af(node,1).Opacity=ov;}else{node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}af(node,1).Enabled=true;}if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_336(td,_337);}}}return _337;}:function(node,_339){return node.style.opacity=_339;};var _33a={left:true,top:true};var _33b=/margin|padding|width|height|max|min|offset/;function _33c(node,type,_33d){type=type.toLowerCase();if(has("ie")||has("trident")){if(_33d=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_33d){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _33a)){_33a[type]=_33b.test(type);}return _33a[type]?_32e(node,_33d):_33d;};var _33e={cssFloat:1,styleFloat:1,"float":1};_32d.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _335(n);}name=_33e[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;var s=_32d.getComputedStyle(n);return (l==1)?s:_33c(n,name,s[name]||n.style[name]);};_32d.set=function setStyle(node,name,_33f){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_33e[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;if(l==3){return op?_336(n,_33f):n.style[name]=_33f;}for(var x in name){_32d.set(node,x,name[x]);}return _32d.getComputedStyle(n);};return _32d;});},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_340){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_341){node=dom.byId(node);var s=_341||_340.getComputedStyle(node),px=_340.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,_342){node=dom.byId(node);var px=_340.toPixelValue,s=_342||_340.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,_343){node=dom.byId(node);var s=_343||_340.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,_344){node=dom.byId(node);var s=_344||_340.getComputedStyle(node),px=_340.toPixelValue,l=px(node,s.marginLeft),t=px(node,s.marginTop),r=px(node,s.marginRight),b=px(node,s.marginBottom);return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getMarginBox=function getMarginBox(node,_345){node=dom.byId(node);var s=_345||_340.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_340.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=_340.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=_340.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,_346){node=dom.byId(node);var s=_346||_340.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 _347(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 _348(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _349(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_348(node);};geom.setContentSize=function setContentSize(node,box,_34a){node=dom.byId(node);var w=box.w,h=box.h;if(_349(node)){var pb=geom.getPadBorderExtents(node,_34a);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_347(node,NaN,NaN,w,h);};var _34b={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_34c){node=dom.byId(node);var s=_34c||_340.getComputedStyle(node),w=box.w,h=box.h,pb=_349(node)?_34b:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_348(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);}_347(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(doc){doc=doc||win.doc;return (win.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(doc){doc=doc||win.doc;var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body(doc):doc.documentElement)&&{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0,doc),y:node.scrollTop||0};};if(has("ie")){geom.getIeDocumentElementOffset=function getIeDocumentElementOffset(doc){doc=doc||win.doc;var de=doc.documentElement;if(has("ie")<8){var r=de.getBoundingClientRect(),l=r.left,t=r.top;if(has("ie")<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};}geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_34d,doc){doc=doc||win.doc;var ie=has("ie");if(ie&&!geom.isBodyLtr(doc)){var qk=has("quirks"),de=qk?win.body(doc):doc.documentElement,pwin=win.global;if(ie==6&&!qk&&pwin.frameElement&&de.scrollHeight>de.clientHeight){_34d+=de.clientLeft;}return (ie<8||qk)?(_34d+de.clientWidth-de.scrollWidth):-_34d;}return _34d;};geom.position=function(node,_34e){node=dom.byId(node);var db=win.body(node.ownerDocument),ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){var _34f=geom.getIeDocumentElementOffset(node.ownerDocument);ret.x-=_34f.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_34f.y+(has("quirks")?db.clientTop+db.offsetTop:0);}if(_34e){var _350=geom.docScroll(node.ownerDocument);ret.x+=_350.x;ret.y+=_350.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_351){node=dom.byId(node);var me=geom.getMarginExtents(node,_351||_340.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_352){if(!("layerX" in _352)){_352.layerX=_352.offsetX;_352.layerY=_352.offsetY;}if(!has("dom-addeventlistener")){var se=_352.target;var doc=(se&&se.ownerDocument)||document;var _353=has("quirks")?doc.body:doc.documentElement;var _354=geom.getIeDocumentElementOffset(doc);_352.pageX=_352.clientX+geom.fixIeBiDiScrollLeft(_353.scrollLeft||0,doc)-_354.x;_352.pageY=_352.clientY+(_353.scrollTop||0)-_354.y;}};return geom;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_355,dojo,has,lang,dom,_356,ctr,conn){var _357={},_358=0,_359=dojo._scopeName+"attrid";_355.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_355.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_35a=_355.names[lc]||name;return node[_35a];};_355.set=function setProp(node,name,_35b){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_355.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_35c=_355.names[lc]||name;if(_35c=="style"&&typeof _35b!="string"){_356.set(node,_35b);return node;}if(_35c=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in {col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}){ctr.empty(node);node.appendChild(ctr.toDom(_35b,node.ownerDocument));}else{node[_35c]=_35b;}return node;}if(lang.isFunction(_35b)){var _35d=node[_359];if(!_35d){_35d=_358++;node[_359]=_35d;}if(!_357[_35d]){_357[_35d]={};}var h=_357[_35d][_35c];if(h){conn.disconnect(h);}else{try{delete node[_35c];}catch(e){}}if(_35b){_357[_35d][_35c]=conn.connect(node,_35c,_35b);}else{node[_35c]=null;}return node;}node[_35c]=_35b;return node;};});},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(_35e,_35f){"use strict";return function when(_360,_361,_362,_363){var _364=_360&&typeof _360.then==="function";var _365=_364&&_360 instanceof _35f;if(!_364){if(arguments.length>1){return _361?_361(_360):_360;}else{return new _35e().resolve(_360);}}else{if(!_365){var _366=new _35e(_360.cancel);_360.then(_366.resolve,_366.reject,_366.progress);_360=_366.promise;}}if(_361||_362||_363){return _360.then(_361,_362,_363);}return _360;};});},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_367,has,lang,dom,_368,prop){var _369={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_36a={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _36b(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return !!attr&&attr.specified;};_367.has=function hasAttr(node,name){var lc=name.toLowerCase();return _369[prop.names[lc]||name]||_36b(dom.byId(node),_36a[lc]||name);};_367.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_36c=prop.names[lc]||name,_36d=_369[_36c],_36e=node[_36c];if(_36d&&typeof _36e!="undefined"){return _36e;}if(_36c!="href"&&(typeof _36e=="boolean"||lang.isFunction(_36e))){return _36e;}var _36f=_36a[lc]||name;return _36b(node,_36f)?node.getAttribute(_36f):null;};_367.set=function setAttr(node,name,_370){node=dom.byId(node);if(arguments.length==2){for(var x in name){_367.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_371=prop.names[lc]||name,_372=_369[_371];if(_371=="style"&&typeof _370!="string"){_368.set(node,_370);return node;}if(_372||typeof _370=="boolean"||lang.isFunction(_370)){return prop.set(node,name,_370);}node.setAttribute(_36a[lc]||name,_370);return node;};_367.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_36a[name.toLowerCase()]||name);};_367.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_373=prop.names[lc]||name;if((_373 in node)&&_373!="href"){return node[_373];}var _374=_36a[lc]||name;return _36b(node,_374)?node.getAttribute(_374):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(_375,dojo,has,win,dom,attr){var _376={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"]},_377=/<\s*([\w\:]+)/,_378={},_379=0,_37a="__"+dojo._scopeName+"ToDomId";for(var _37b in _376){if(_376.hasOwnProperty(_37b)){var tw=_376[_37b];tw.pre=_37b=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}var _37c;if(has("ie")<=8){_37c=function(doc){doc.__dojo_html5_tested="yes";var div=_37d("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},doc.body);if(div.childNodes.length!==1){("abbr article aside audio canvas details figcaption figure footer header "+"hgroup mark meter nav output progress section summary time video").replace(/\b\w+\b/g,function(n){doc.createElement(n);});}_37e(div);};}function _37f(node,ref){var _380=ref.parentNode;if(_380){_380.insertBefore(node,ref);}};function _381(node,ref){var _382=ref.parentNode;if(_382){if(_382.lastChild==ref){_382.appendChild(node);}else{_382.insertBefore(node,ref.nextSibling);}}};_375.toDom=function toDom(frag,doc){doc=doc||win.doc;var _383=doc[_37a];if(!_383){doc[_37a]=_383=++_379+"";_378[_383]=doc.createElement("div");}if(has("ie")<=8){if(!doc.__dojo_html5_tested&&doc.body){_37c(doc);}}frag+="";var _384=frag.match(_377),tag=_384?_384[1].toLowerCase():"",_385=_378[_383],wrap,i,fc,df;if(_384&&_376[tag]){wrap=_376[tag];_385.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_385=_385.firstChild;}}else{_385.innerHTML=frag;}if(_385.childNodes.length==1){return _385.removeChild(_385.firstChild);}df=doc.createDocumentFragment();while((fc=_385.firstChild)){df.appendChild(fc);}return df;};_375.place=function place(node,_386,_387){_386=dom.byId(_386);if(typeof node=="string"){node=/^\s*</.test(node)?_375.toDom(node,_386.ownerDocument):dom.byId(node);}if(typeof _387=="number"){var cn=_386.childNodes;if(!cn.length||cn.length<=_387){_386.appendChild(node);}else{_37f(node,cn[_387<0?0:_387]);}}else{switch(_387){case "before":_37f(node,_386);break;case "after":_381(node,_386);break;case "replace":_386.parentNode.replaceChild(node,_386);break;case "only":_375.empty(_386);_386.appendChild(node);break;case "first":if(_386.firstChild){_37f(node,_386.firstChild);break;}default:_386.appendChild(node);}}return node;};var _37d=_375.create=function _37d(tag,_388,_389,pos){var doc=win.doc;if(_389){_389=dom.byId(_389);doc=_389.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_388){attr.set(tag,_388);}if(_389){_375.place(tag,_389,pos);}return tag;};function _38a(node){if(node.canHaveChildren){try{node.innerHTML="";return;}catch(e){}}for(var c;c=node.lastChild;){_38b(c,node);}};_375.empty=function empty(node){_38a(dom.byId(node));};function _38b(node,_38c){if(node.firstChild){_38a(node);}if(_38c){has("ie")&&_38c.canHaveChildren&&"removeNode" in node?node.removeNode(false):_38c.removeChild(node);}};var _37e=_375.destroy=function _37e(node){node=dom.byId(node);if(!node){return;}_38b(node,node.parentNode);};});},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_38d,_38e,_38f,util,has){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});has.add("dojo-force-activex-xhr",function(){return has("activex")&&!document.addEventListener&&window.location.protocol==="file:";});has.add("native-xhr2",function(){if(!has("native-xhr")){return;}var x=new XMLHttpRequest();return typeof x["addEventListener"]!=="undefined"&&(typeof opera==="undefined"||typeof x["upload"]!=="undefined");});has.add("native-formdata",function(){return typeof FormData!=="undefined";});function _390(_391,_392){var _393=_391.xhr;_391.status=_391.xhr.status;_391.text=_393.responseText;if(_391.options.handleAs==="xml"){_391.data=_393.responseXML;}if(!_392){try{_38f(_391);}catch(e){_392=e;}}if(_392){this.reject(_392);}else{if(util.checkStatus(_393.status)){this.resolve(_391);}else{_392=new _38d("Unable to load "+_391.url+" status: "+_393.status,_391);this.reject(_392);}}};var _394,_395,_396,_397;if(has("native-xhr2")){_394=function(_398){return !this.isFulfilled();};_397=function(dfd,_399){_399.xhr.abort();};_396=function(_39a,dfd,_39b){function _39c(evt){dfd.handleResponse(_39b);};function _39d(evt){var _39e=evt.target;var _39f=new _38d("Unable to load "+_39b.url+" status: "+_39e.status,_39b);dfd.handleResponse(_39b,_39f);};function _3a0(evt){if(evt.lengthComputable){_39b.loaded=evt.loaded;_39b.total=evt.total;dfd.progress(_39b);}};_39a.addEventListener("load",_39c,false);_39a.addEventListener("error",_39d,false);_39a.addEventListener("progress",_3a0,false);return function(){_39a.removeEventListener("load",_39c,false);_39a.removeEventListener("error",_39d,false);_39a.removeEventListener("progress",_3a0,false);_39a=null;};};}else{_394=function(_3a1){return _3a1.xhr.readyState;};_395=function(_3a2){return 4===_3a2.xhr.readyState;};_397=function(dfd,_3a3){var xhr=_3a3.xhr;var _3a4=typeof xhr.abort;if(_3a4==="function"||_3a4==="object"||_3a4==="unknown"){xhr.abort();}};}function _3a5(_3a6){return this.xhr.getResponseHeader(_3a6);};var _3a7,_3a8={data:null,query:null,sync:false,method:"GET"};function xhr(url,_3a9,_3aa){var _3ab=util.parseArgs(url,util.deepCreate(_3a8,_3a9),has("native-formdata")&&_3a9&&_3a9.data&&_3a9.data instanceof FormData);url=_3ab.url;_3a9=_3ab.options;var _3ac,last=function(){_3ac&&_3ac();};var dfd=util.deferred(_3ab,_397,_394,_395,_390,last);var _3ad=_3ab.xhr=xhr._create();if(!_3ad){dfd.cancel(new _38d("XHR was not created"));return _3aa?dfd:dfd.promise;}_3ab.getHeader=_3a5;if(_396){_3ac=_396(_3ad,dfd,_3ab);}var data=_3a9.data,_3ae=!_3a9.sync,_3af=_3a9.method;try{_3ad.open(_3af,url,_3ae,_3a9.user||_3a7,_3a9.password||_3a7);if(_3a9.withCredentials){_3ad.withCredentials=_3a9.withCredentials;}var _3b0=_3a9.headers,_3b1="application/x-www-form-urlencoded";if(_3b0){for(var hdr in _3b0){if(hdr.toLowerCase()==="content-type"){_3b1=_3b0[hdr];}else{if(_3b0[hdr]){_3ad.setRequestHeader(hdr,_3b0[hdr]);}}}}if(_3b1&&_3b1!==false){_3ad.setRequestHeader("Content-Type",_3b1);}if(!_3b0||!("X-Requested-With" in _3b0)){_3ad.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(util.notify){util.notify.emit("send",_3ab,dfd.promise.cancel);}_3ad.send(data);}catch(e){dfd.reject(e);}_38e(dfd);_3ad=null;return _3aa?dfd:dfd.promise;};xhr._create=function(){throw new Error("XMLHTTP not available");};if(has("native-xhr")&&!has("dojo-force-activex-xhr")){xhr._create=function(){return new XMLHttpRequest();};}else{if(has("activex")){try{new ActiveXObject("Msxml2.XMLHTTP");xhr._create=function(){return new ActiveXObject("Msxml2.XMLHTTP");};}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP");xhr._create=function(){return new ActiveXObject("Microsoft.XMLHTTP");};}catch(e){}}}}util.addCommonMethods(xhr);return xhr;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_3b2=function(){var n=null,_3b3=arguments,uri=[_3b3[0]];for(var i=1;i<_3b3.length;i++){if(!_3b3[i]){continue;}var _3b4=new _3b2(_3b3[i]+""),_3b5=new _3b2(uri[0]+"");if(_3b4.path==""&&!_3b4.scheme&&!_3b4.authority&&!_3b4.query){if(_3b4.fragment!=n){_3b5.fragment=_3b4.fragment;}_3b4=_3b5;}else{if(!_3b4.scheme){_3b4.scheme=_3b5.scheme;if(!_3b4.authority){_3b4.authority=_3b5.authority;if(_3b4.path.charAt(0)!="/"){var path=_3b5.path.substring(0,_3b5.path.lastIndexOf("/")+1)+_3b4.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;}}}}_3b4.path=segs.join("/");}}}}uri=[];if(_3b4.scheme){uri.push(_3b4.scheme,":");}if(_3b4.authority){uri.push("//",_3b4.authority);}uri.push(_3b4.path);if(_3b4.query){uri.push("?",_3b4.query);}if(_3b4.fragment){uri.push("#",_3b4.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;}};_3b2.prototype.toString=function(){return this.uri;};return dojo._Url=_3b2;});},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:has("mac")&&!has("air")?(has("safari")?91:224):17};});},"dojo/domReady":function(){define(["./has"],function(has){var _3b6=(function(){return this;})(),doc=document,_3b7={"loaded":1,"complete":1},_3b8=typeof doc.readyState!="string",_3b9=!!_3b7[doc.readyState],_3ba=[],_3bb;function _3bc(_3bd){_3ba.push(_3bd);if(_3b9){_3be();}};_3bc.load=function(id,req,load){_3bc(load);};_3bc._Q=_3ba;_3bc._onQEmpty=function(){};if(_3b8){doc.readyState="loading";}function _3be(){if(_3bb){return;}_3bb=true;while(_3ba.length){try{(_3ba.shift())(doc);}catch(err){console.error(err,"in domReady callback",err.stack);}}_3bb=false;_3bc._onQEmpty();};if(!_3b9){var _3bf=[],_3c0=function(evt){evt=evt||_3b6.event;if(_3b9||(evt.type=="readystatechange"&&!_3b7[doc.readyState])){return;}if(_3b8){doc.readyState="complete";}_3b9=1;_3be();},on=function(node,_3c1){node.addEventListener(_3c1,_3c0,false);_3ba.push(function(){node.removeEventListener(_3c1,_3c0,false);});};if(!has("dom-addeventlistener")){on=function(node,_3c2){_3c2="on"+_3c2;node.attachEvent(_3c2,_3c0);_3ba.push(function(){node.detachEvent(_3c2,_3c0);});};var div=doc.createElement("div");try{if(div.doScroll&&_3b6.frameElement===null){_3bf.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_3b6,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_3b8){_3bf.push(function(){return _3b7[doc.readyState];});}}if(_3bf.length){var _3c3=function(){if(_3b9){return;}var i=_3bf.length;while(i--){if(_3bf[i]()){_3c0("poller");return;}}setTimeout(_3c3,30);};_3c3();}}return _3bc;});},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(dojo,has){has.add("bug-for-in-skips-shadowed",function(){for(var i in {toString:1}){return 0;}return 1;});var _3c4=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_3c5=_3c4.length,_3c6=function(_3c7,_3c8,_3c9){var p,i=0,_3ca=dojo.global;if(!_3c9){if(!_3c7.length){return _3ca;}else{p=_3c7[i++];try{_3c9=dojo.scopeMap[p]&&dojo.scopeMap[p][1];}catch(e){}_3c9=_3c9||(p in _3ca?_3ca[p]:(_3c8?_3ca[p]={}:undefined));}}while(_3c9&&(p=_3c7[i++])){_3c9=(p in _3c9?_3c9[p]:(_3c8?_3c9[p]={}:undefined));}return _3c9;},opts=Object.prototype.toString,_3cb=function(obj,_3cc,_3cd){return (_3cd||[]).concat(Array.prototype.slice.call(obj,_3cc||0));},_3ce=/\{([^\}]+)\}/g;var lang={_extraNames:_3c4,_mixin:function(dest,_3cf,_3d0){var name,s,i,_3d1={};for(name in _3cf){s=_3cf[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _3d1)||_3d1[name]!==s))){dest[name]=_3d0?_3d0(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_3cf){for(i=0;i<_3c5;++i){name=_3c4[i];s=_3cf[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _3d1)||_3d1[name]!==s))){dest[name]=_3d0?_3d0(s):s;}}}}return dest;},mixin:function(dest,_3d2){if(!dest){dest={};}for(var i=1,l=arguments.length;i<l;i++){lang._mixin(dest,arguments[i]);}return dest;},setObject:function(name,_3d3,_3d4){var _3d5=name.split("."),p=_3d5.pop(),obj=_3c6(_3d5,true,_3d4);return obj&&p?(obj[p]=_3d3):undefined;},getObject:function(name,_3d6,_3d7){return _3c6(name.split("."),_3d6,_3d7);},exists:function(name,obj){return lang.getObject(name,false,obj)!==undefined;},isString:function(it){return (typeof it=="string"||it instanceof String);},isArray:function(it){return it&&(it instanceof Array||typeof it=="array");},isFunction:function(it){return opts.call(it)==="[object Function]";},isObject:function(it){return it!==undefined&&(it===null||typeof it=="object"||lang.isArray(it)||lang.isFunction(it));},isArrayLike:function(it){return it&&it!==undefined&&!lang.isString(it)&&!lang.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(lang.isArray(it)||isFinite(it.length));},isAlien:function(it){return it&&!lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));},extend:function(ctor,_3d8){for(var i=1,l=arguments.length;i<l;i++){lang._mixin(ctor.prototype,arguments[i]);}return ctor;},_hitchArgs:function(_3d9,_3da){var pre=lang._toArray(arguments,2);var _3db=lang.isString(_3da);return function(){var args=lang._toArray(arguments);var f=_3db?(_3d9||dojo.global)[_3da]:_3da;return f&&f.apply(_3d9||this,pre.concat(args));};},hitch:function(_3dc,_3dd){if(arguments.length>2){return lang._hitchArgs.apply(dojo,arguments);}if(!_3dd){_3dd=_3dc;_3dc=null;}if(lang.isString(_3dd)){_3dc=_3dc||dojo.global;if(!_3dc[_3dd]){throw (["lang.hitch: scope[\"",_3dd,"\"] is null (scope=\"",_3dc,"\")"].join(""));}return function(){return _3dc[_3dd].apply(_3dc,arguments||[]);};}return !_3dc?_3dd:function(){return _3dd.apply(_3dc,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_3de){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_3de){lang._mixin(tmp,_3de);}return tmp;};})(),_toArray:has("ie")?(function(){function slow(obj,_3df,_3e0){var arr=_3e0||[];for(var x=_3df||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};return function(obj){return ((obj.item)?slow:_3cb).apply(this,arguments);};})():_3cb,partial:function(_3e1){var arr=[null];return lang.hitch.apply(dojo,arr.concat(lang._toArray(arguments)));},clone:function(src){if(!src||typeof src!="object"||lang.isFunction(src)){return src;}if(src.nodeType&&"cloneNode" in src){return src.cloneNode(true);}if(src instanceof Date){return new Date(src.getTime());}if(src instanceof RegExp){return new RegExp(src);}var r,i,l;if(lang.isArray(src)){r=[];for(i=0,l=src.length;i<l;++i){if(i in src){r.push(lang.clone(src[i]));}}}else{r=src.constructor?new src.constructor():{};}return lang._mixin(r,src,lang.clone);},trim:String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");},replace:function(tmpl,map,_3e2){return tmpl.replace(_3e2||_3ce,lang.isFunction(map)?map:function(_3e3,k){return lang.getObject(k,false,map);});}};1&&lang.mixin(dojo,lang);return lang;});},"dojo/request/util":function(){define(["exports","../errors/RequestError","../errors/CancelError","../Deferred","../io-query","../_base/array","../_base/lang","../promise/Promise"],function(_3e4,_3e5,_3e6,_3e7,_3e8,_3e9,lang,_3ea){_3e4.deepCopy=function deepCopy(_3eb,_3ec){for(var name in _3ec){var tval=_3eb[name],sval=_3ec[name];if(tval!==sval){if(tval&&typeof tval==="object"&&sval&&typeof sval==="object"){_3e4.deepCopy(tval,sval);}else{_3eb[name]=sval;}}}return _3eb;};_3e4.deepCreate=function deepCreate(_3ed,_3ee){_3ee=_3ee||{};var _3ef=lang.delegate(_3ed),name,_3f0;for(name in _3ed){_3f0=_3ed[name];if(_3f0&&typeof _3f0==="object"){_3ef[name]=_3e4.deepCreate(_3f0,_3ee[name]);}}return _3e4.deepCopy(_3ef,_3ee);};var _3f1=Object.freeze||function(obj){return obj;};function _3f2(_3f3){return _3f1(_3f3);};function _3f4(_3f5){return _3f5.data||_3f5.text;};_3e4.deferred=function deferred(_3f6,_3f7,_3f8,_3f9,_3fa,last){var def=new _3e7(function(_3fb){_3f7&&_3f7(def,_3f6);if(!_3fb||!(_3fb instanceof _3e5)&&!(_3fb instanceof _3e6)){return new _3e6("Request canceled",_3f6);}return _3fb;});def.response=_3f6;def.isValid=_3f8;def.isReady=_3f9;def.handleResponse=_3fa;function _3fc(_3fd){_3fd.response=_3f6;throw _3fd;};var _3fe=def.then(_3f2).otherwise(_3fc);if(_3e4.notify){_3fe.then(lang.hitch(_3e4.notify,"emit","load"),lang.hitch(_3e4.notify,"emit","error"));}var _3ff=_3fe.then(_3f4);var _400=new _3ea();for(var prop in _3ff){if(_3ff.hasOwnProperty(prop)){_400[prop]=_3ff[prop];}}_400.response=_3fe;_3f1(_400);if(last){def.then(function(_401){last.call(def,_401);},function(_402){last.call(def,_3f6,_402);});}def.promise=_400;def.then=_400.then;return def;};_3e4.addCommonMethods=function addCommonMethods(_403,_404){_3e9.forEach(_404||["GET","POST","PUT","DELETE"],function(_405){_403[(_405==="DELETE"?"DEL":_405).toLowerCase()]=function(url,_406){_406=lang.delegate(_406||{});_406.method=_405;return _403(url,_406);};});};_3e4.parseArgs=function parseArgs(url,_407,_408){var data=_407.data,_409=_407.query;if(data&&!_408){if(typeof data==="object"){_407.data=_3e8.objectToQuery(data);}}if(_409){if(typeof _409==="object"){_409=_3e8.objectToQuery(_409);}if(_407.preventCache){_409+=(_409?"&":"")+"request.preventCache="+(+(new Date));}}else{if(_407.preventCache){_409="request.preventCache="+(+(new Date));}}if(url&&_409){url+=(~url.indexOf("?")?"&":"?")+_409;}return {url:url,options:_407,getHeader:function(_40a){return null;}};};_3e4.checkStatus=function(stat){stat=stat||0;return (stat>=200&&stat<300)||stat===304||stat===1223||!stat;};});},"dojo/Evented":function(){define(["./aspect","./on"],function(_40b,on){"use strict";var _40c=_40b.after;function _40d(){};_40d.prototype={on:function(type,_40e){return on.parse(this,type,_40e,function(_40f,type){return _40c(_40f,"on"+type,_40e,true);});},emit:function(type,_410){var args=[this];args.push.apply(args,arguments);return on.emit.apply(on,args);}};return _40d;});},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(dojo,on,has,dom,win){has.add("dom-quirks",win.doc&&win.doc.compatMode=="BackCompat");has.add("events-mouseenter",win.doc&&"onmouseenter" in win.doc.createElement("div"));has.add("events-mousewheel",win.doc&&"onmousewheel" in win.doc);var _411;if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){_411={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_412){return e.button&_412;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_411={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_413){return e.button==_413;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_411;function _414(type,_415){var _416=function(node,_417){return on(node,type,function(evt){if(_415){return _415(evt,_417);}if(!dom.isDescendant(evt.relatedTarget,node)){return _417.call(this,evt);}});};_416.bubble=function(_418){return _414(type,function(evt,_419){var _41a=_418(evt.target);var _41b=evt.relatedTarget;if(_41a&&(_41a!=(_41b&&_41b.nodeType==1&&_418(_41b)))){return _419.call(_41a,evt);}});};return _416;};var _41c;if(has("events-mousewheel")){_41c="mousewheel";}else{_41c=function(node,_41d){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;_41d.call(this,evt);});};}return {_eventHandler:_414,enter:_414("mouseover"),leave:_414("mouseout"),wheel:_41c,isLeft:_411.isLeft,isMiddle:_411.isMiddle,isRight:_411.isRight};});},"dojo/topic":function(){define(["./Evented"],function(_41e){var hub=new _41e;return {publish:function(_41f,_420){return hub.emit.apply(hub,arguments);},subscribe:function(_421,_422){return hub.on.apply(hub,arguments);}};});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(dojo,has,_423,ioq,dom,_424,_425,_426,json,lang,_427,on,_428,_429,_42a,util){dojo._xhrObj=_42a._create;var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_424.fieldToObject;dojo.formToObject=_424.toObject;dojo.formToQuery=_424.toQuery;dojo.formToJson=_424.toJson;dojo._blockAsync=false;var _42b=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(!_426.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 _42c=xhr.responseText;var _42d=_42c.indexOf("/*");var _42e=_42c.lastIndexOf("*/");if(_42d==-1||_42e==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_42c.substring(_42d+2,_42e));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _42f=xhr.responseXML;if(_42f&&has("dom-qsa2.1")&&!_42f.querySelectorAll&&has("dom-parser")){_42f=new DOMParser().parseFromString(xhr.responseText,"application/xml");}if(has("ie")){if((!_42f||!_42f.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_427.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_42f=dom;}catch(e){return false;}return true;});}}return _42f;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _42b["json-comment-filtered"](xhr);}else{return _42b["json"](xhr);}}};dojo._ioSetArgs=function(args,_430,_431,_432){var _433={args:args,url:args.url};var _434=null;if(args.form){var form=dom.byId(args.form);var _435=form.getAttributeNode("action");_433.url=_433.url||(_435?_435.value:null);_434=_424.toObject(form);}var _436=[{}];if(_434){_436.push(_434);}if(args.content){_436.push(args.content);}if(args.preventCache){_436.push({"dojo.preventCache":new Date().valueOf()});}_433.query=ioq.objectToQuery(lang.mixin.apply(null,_436));_433.handleAs=args.handleAs||"text";var d=new _425(function(dfd){dfd.canceled=true;_430&&_430(dfd);var err=dfd.ioArgs.error;if(!err){err=new Error("request cancelled");err.dojoType="cancel";dfd.ioArgs.error=err;}return err;});d.addCallback(_431);var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_437){return ld.call(args,_437,_433);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_438){return err.call(args,_438,_433);});}var _439=args.handle;if(_439&&lang.isFunction(_439)){d.addBoth(function(_43a){return _439.call(args,_43a,_433);});}d.addErrback(function(_43b){return _432(_43b,d);});if(cfg.ioPublish&&dojo.publish&&_433.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=_433;return d;};var _43c=function(dfd){var ret=_42b[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _43d=function(_43e,dfd){if(!dfd.ioArgs.args.failOk){console.error(_43e);}return _43e;};var _43f=function(dfd){if(_440<=0){_440=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _440=0;_428.after(_429,"_onAction",function(){_440-=1;});_428.after(_429,"_onInFlight",_43f);dojo._ioCancelAll=_429.cancelAll;dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_440){dojo.publish("/dojo/io/start");}_440+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_441,_442,_443){var args=dfd.ioArgs.options=dfd.ioArgs.args;lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_444){return _441(dfd);},isReady:function(_445){return _442(dfd);},handleResponse:function(_446){return _443(dfd);}});_429(dfd);_43f(dfd);};var _447="application/x-www-form-urlencoded";dojo._ioAddQueryToUrl=function(_448){if(_448.query.length){_448.url+=(_448.url.indexOf("?")==-1?"?":"&")+_448.query;_448.query=null;}};dojo.xhr=function(_449,args,_44a){var rDfd;var dfd=dojo._ioSetArgs(args,function(dfd){rDfd&&rDfd.cancel();},_43c,_43d);var _44b=dfd.ioArgs;if("postData" in args){_44b.query=args.postData;}else{if("putData" in args){_44b.query=args.putData;}else{if("rawBody" in args){_44b.query=args.rawBody;}else{if((arguments.length>2&&!_44a)||"POST|PUT".indexOf(_449.toUpperCase())===-1){dojo._ioAddQueryToUrl(_44b);}}}}var _44c={method:_449,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_44b};if(typeof args.headers!=="undefined"){_44c.headers=args.headers;}if(typeof args.contentType!=="undefined"){if(!_44c.headers){_44c.headers={};}_44c.headers["Content-Type"]=args.contentType;}if(typeof _44b.query!=="undefined"){_44c.data=_44b.query;}if(typeof args.sync!=="undefined"){_44c.sync=args.sync;}dojo._ioNotifyStart(dfd);try{rDfd=_42a(_44b.url,_44c,true);}catch(e){dfd.cancel();return dfd;}dfd.ioArgs.xhr=rDfd.response.xhr;rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_44d){_44b.error=_44d;if(_44d.response){_44d.status=_44d.response.status;_44d.responseText=_44d.response.text;_44d.xhr=_44d.response.xhr;}dfd.reject(_44d);});return dfd;};dojo.xhrGet=function(args){return dojo.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return dojo.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return dojo.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return dojo.xhr("DELETE",args);};dojo._isDocumentOk=function(x){return util.checkStatus(x.status);};dojo._getText=function(url){var _44e;dojo.xhrGet({url:url,sync:true,load:function(text){_44e=text;}});return _44e;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_424.fieldToObject,formToObject:_424.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_424.toQuery,formToJson:_424.toJson,queryToObject:ioq.queryToObject,contentHandlers:_42b,_ioSetArgs:dojo._ioSetArgs,_ioCancelAll:dojo._ioCancelAll,_ioNotifyStart:dojo._ioNotifyStart,_ioWatch:dojo._ioWatch,_ioAddQueryToUrl:dojo._ioAddQueryToUrl,_isDocumentOk:dojo._isDocumentOk,_getText:dojo._getText,get:dojo.xhrGet,post:dojo.xhrPost,put:dojo.xhrPut,del:dojo.xhrDelete});return dojo.xhr;});},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(dojo,lang,on){var win=window;var _44f={addOnWindowUnload:function(obj,_450){if(!dojo.windowUnloaded){on(win,"unload",(dojo.windowUnloaded=function(){}));}on(win,"unload",lang.hitch(obj,_450));},addOnUnload:function(obj,_451){on(win,"beforeunload",lang.hitch(obj,_451));}};dojo.addOnWindowUnload=_44f.addOnWindowUnload;dojo.addOnUnload=_44f.addOnUnload;return _44f;});},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_452,_453,_454){"use strict";var _455=0,_456=1,_457=2;var _458="This deferred has already been fulfilled.";var _459=Object.freeze||function(){};var _45a=function(_45b,type,_45c,_45d,_45e){if(1){if(type===_457&&_45f.instrumentRejected&&_45b.length===0){_45f.instrumentRejected(_45c,false,_45d,_45e);}}for(var i=0;i<_45b.length;i++){_460(_45b[i],type,_45c,_45d);}};var _460=function(_461,type,_462,_463){var func=_461[type];var _464=_461.deferred;if(func){try{var _465=func(_462);if(type===_455){if(typeof _465!=="undefined"){_466(_464,type,_465);}}else{if(_465&&typeof _465.then==="function"){_461.cancel=_465.cancel;_465.then(_467(_464,_456),_467(_464,_457),_467(_464,_455));return;}_466(_464,_456,_465);}}catch(error){_466(_464,_457,error);}}else{_466(_464,type,_462);}if(1){if(type===_457&&_45f.instrumentRejected){_45f.instrumentRejected(_462,!!func,_463,_464.promise);}}};var _467=function(_468,type){return function(_469){_466(_468,type,_469);};};var _466=function(_46a,type,_46b){if(!_46a.isCanceled()){switch(type){case _455:_46a.progress(_46b);break;case _456:_46a.resolve(_46b);break;case _457:_46a.reject(_46b);break;}}};var _45f=function(_46c){var _46d=this.promise=new _453();var _46e=this;var _46f,_470,_471;var _472=false;var _473=[];if(1&&Error.captureStackTrace){Error.captureStackTrace(_46e,_45f);Error.captureStackTrace(_46d,_45f);}this.isResolved=_46d.isResolved=function(){return _46f===_456;};this.isRejected=_46d.isRejected=function(){return _46f===_457;};this.isFulfilled=_46d.isFulfilled=function(){return !!_46f;};this.isCanceled=_46d.isCanceled=function(){return _472;};this.progress=function(_474,_475){if(!_46f){_45a(_473,_455,_474,null,_46e);return _46d;}else{if(_475===true){throw new Error(_458);}else{return _46d;}}};this.resolve=function(_476,_477){if(!_46f){_45a(_473,_46f=_456,_470=_476,null,_46e);_473=null;return _46d;}else{if(_477===true){throw new Error(_458);}else{return _46d;}}};var _478=this.reject=function(_479,_47a){if(!_46f){if(1&&Error.captureStackTrace){Error.captureStackTrace(_471={},_478);}_45a(_473,_46f=_457,_470=_479,_471,_46e);_473=null;return _46d;}else{if(_47a===true){throw new Error(_458);}else{return _46d;}}};this.then=_46d.then=function(_47b,_47c,_47d){var _47e=[_47d,_47b,_47c];_47e.cancel=_46d.cancel;_47e.deferred=new _45f(function(_47f){return _47e.cancel&&_47e.cancel(_47f);});if(_46f&&!_473){_460(_47e,_46f,_470,_471);}else{_473.push(_47e);}return _47e.deferred.promise;};this.cancel=_46d.cancel=function(_480,_481){if(!_46f){if(_46c){var _482=_46c(_480);_480=typeof _482==="undefined"?_480:_482;}_472=true;if(!_46f){if(typeof _480==="undefined"){_480=new _452();}_478(_480);return _480;}else{if(_46f===_457&&_470===_480){return _480;}}}else{if(_481===true){throw new Error(_458);}}};_459(_46d);};_45f.prototype.toString=function(){return "[object Deferred]";};if(_454){_454(_45f);}return _45f;});},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_483,_484){var _485=_483.NodeList,nlp=_485.prototype;nlp.connect=_485._adaptAsForEach(function(){return dojo.connect.apply(this,arguments);});nlp.coords=_485._adaptAsMap(dojo.coords);_485.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];_484.forEach(_485.events,function(evt){var _486="on"+evt;nlp[_486]=function(a,b){return this.connect(_486,a,b);};});dojo.NodeList=_485;return _485;});},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(dojo,lang,_487,_488){var _489=dojo.Color=function(_48a){if(_48a){this.setColor(_48a);}};_489.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":_488.transparentColor||[0,0,0,0]};lang.extend(_489,{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(_48b){if(lang.isString(_48b)){_489.fromString(_48b,this);}else{if(lang.isArray(_48b)){_489.fromArray(_48b,this);}else{this._set(_48b.r,_48b.g,_48b.b,_48b.a);if(!(_48b instanceof _489)){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=_487.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(_48c){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_48c?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});_489.blendColors=dojo.blendColors=function(_48d,end,_48e,obj){var t=obj||new _489();_487.forEach(["r","g","b","a"],function(x){t[x]=_48d[x]+(end[x]-_48d[x])*_48e;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};_489.fromRgb=dojo.colorFromRgb=function(_48f,obj){var m=_48f.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&_489.fromArray(m[1].split(/\s*,\s*/),obj);};_489.fromHex=dojo.colorFromHex=function(_490,obj){var t=obj||new _489(),bits=(_490.length==4)?4:8,mask=(1<<bits)-1;_490=Number("0x"+_490.substr(1));if(isNaN(_490)){return null;}_487.forEach(["b","g","r"],function(x){var c=_490&mask;_490>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_489.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _489();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_489.fromString=dojo.colorFromString=function(str,obj){var a=_489.named[str];return a&&_489.fromArray(a,obj)||_489.fromRgb(str,obj)||_489.fromHex(str,obj);};return _489;});},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(_491,has,lang,_492){has.add("config-useDeferredInstrumentation","report-unhandled-rejections");function _493(_494,_495,_496){var _497="";if(_494&&_494.stack){_497+=_494.stack;}if(_495&&_495.stack){_497+="\n    ----------------------------------------\n    rejected"+_495.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");}if(_496&&_496.stack){_497+="\n    ----------------------------------------\n"+_496.stack;}console.error(_494,_497);};function _498(_499,_49a,_49b,_49c){if(!_49a){_493(_499,_49b,_49c);}};var _49d=[];var _49e=false;var _49f=1000;function _4a0(_4a1,_4a2,_4a3,_4a4){if(!_492.some(_49d,function(obj){if(obj.error===_4a1){if(_4a2){obj.handled=true;}return true;}})){_49d.push({error:_4a1,rejection:_4a3,handled:_4a2,deferred:_4a4,timestamp:new Date().getTime()});}if(!_49e){_49e=setTimeout(_4a5,_49f);}};function _4a5(){var now=new Date().getTime();var _4a6=now-_49f;_49d=_492.filter(_49d,function(obj){if(obj.timestamp<_4a6){if(!obj.handled){_493(obj.error,obj.rejection,obj.deferred);}return false;}return true;});if(_49d.length){_49e=setTimeout(_4a5,_49d[0].timestamp+_49f-now);}else{_49e=false;}};return function(_4a7){var _4a8=has("config-useDeferredInstrumentation");if(_4a8){_491.on("resolved",lang.hitch(console,"log","resolved"));_491.on("rejected",lang.hitch(console,"log","rejected"));_491.on("progress",lang.hitch(console,"log","progress"));var args=[];if(typeof _4a8==="string"){args=_4a8.split(",");_4a8=args.shift();}if(_4a8==="report-rejections"){_4a7.instrumentRejected=_498;}else{if(_4a8==="report-unhandled-rejections"||_4a8===true||_4a8===1){_4a7.instrumentRejected=_4a0;_49f=parseInt(args[0],10)||_49f;}else{throw new Error("Unsupported instrumentation usage <"+_4a8+">");}}}};});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_4a9){"use strict";var _4aa=document.createElement("div");has.add("dom-qsa2.1",!!_4aa.querySelectorAll);has.add("dom-qsa3",function(){try{_4aa.innerHTML="<p class='TEST'></p>";return _4aa.querySelectorAll(".TEST:empty").length==1;}catch(e){}});var _4ab;var acme="./acme",lite="./lite";return {load:function(id,_4ac,_4ad,_4ae){var req=_4a9;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=_4ac)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _4af=true;}if(_4af&&(has("dom-compliant-qsa")||_4ab)){return _4ad(_4ab);}req([id],function(_4b0){if(id!="./lite"){_4ab=_4b0;}_4ad(_4b0);});}};});},"dojo/promise/Promise":function(){define(["../_base/lang"],function(lang){"use strict";function _4b1(){throw new TypeError("abstract");};return lang.extend(function Promise(){},{then:function(_4b2,_4b3,_4b4){_4b1();},cancel:function(_4b5,_4b6){_4b1();},isResolved:function(){_4b1();},isRejected:function(){_4b1();},isFulfilled:function(){_4b1();},isCanceled:function(){_4b1();},always:function(_4b7){return this.then(_4b7,_4b7);},otherwise:function(_4b8){return this.then(null,_4b8);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});});},"dojo/request/watch":function(){define(["./util","../errors/RequestTimeoutError","../errors/CancelError","../_base/array","../_base/window","../has!host-browser?dom-addeventlistener?:../on:"],function(util,_4b9,_4ba,_4bb,win,on){var _4bc=null,_4bd=[];function _4be(){var now=+(new Date);for(var i=0,dfd;i<_4bd.length&&(dfd=_4bd[i]);i++){var _4bf=dfd.response,_4c0=_4bf.options;if((dfd.isCanceled&&dfd.isCanceled())||(dfd.isValid&&!dfd.isValid(_4bf))){_4bd.splice(i--,1);_4c1._onAction&&_4c1._onAction();}else{if(dfd.isReady&&dfd.isReady(_4bf)){_4bd.splice(i--,1);dfd.handleResponse(_4bf);_4c1._onAction&&_4c1._onAction();}else{if(dfd.startTime){if(dfd.startTime+(_4c0.timeout||0)<now){_4bd.splice(i--,1);dfd.cancel(new _4b9("Timeout exceeded",_4bf));_4c1._onAction&&_4c1._onAction();}}}}}_4c1._onInFlight&&_4c1._onInFlight(dfd);if(!_4bd.length){clearInterval(_4bc);_4bc=null;}};function _4c1(dfd){if(dfd.response.options.timeout){dfd.startTime=+(new Date);}if(dfd.isFulfilled()){return;}_4bd.push(dfd);if(!_4bc){_4bc=setInterval(_4be,50);}if(dfd.response.options.sync){_4be();}};_4c1.cancelAll=function cancelAll(){try{_4bb.forEach(_4bd,function(dfd){try{dfd.cancel(new _4ba("All requests canceled."));}catch(e){}});}catch(e){}};if(win&&on&&win.doc.attachEvent){on(win.global,"unload",function(){_4c1.cancelAll();});}return _4c1;});},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(_4c2,dojo,has){"use strict";if(1){var _4c3=window.ScriptEngineMajorVersion;has.add("jscript",_4c3&&(_4c3()+ScriptEngineMinorVersion()/10));has.add("event-orientationchange",has("touch")&&!has("android"));has.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);has.add("event-focusin",function(_4c4,doc,_4c5){return "onfocusin" in _4c5;});if(has("touch")){has.add("touch-can-modify-event-delegate",function(){var _4c6=function(){};_4c6.prototype=document.createEvent("MouseEvents");try{var _4c7=new _4c6;_4c7.target=null;return _4c7.target===null;}catch(e){return false;}});}}var on=function(_4c8,type,_4c9,_4ca){if(typeof _4c8.on=="function"&&typeof type!="function"&&!_4c8.nodeType){return _4c8.on(type,_4c9);}return on.parse(_4c8,type,_4c9,_4cb,_4ca,this);};on.pausable=function(_4cc,type,_4cd,_4ce){var _4cf;var _4d0=on(_4cc,type,function(){if(!_4cf){return _4cd.apply(this,arguments);}},_4ce);_4d0.pause=function(){_4cf=true;};_4d0.resume=function(){_4cf=false;};return _4d0;};on.once=function(_4d1,type,_4d2,_4d3){var _4d4=on(_4d1,type,function(){_4d4.remove();return _4d2.apply(this,arguments);});return _4d4;};on.parse=function(_4d5,type,_4d6,_4d7,_4d8,_4d9){if(type.call){return type.call(_4d9,_4d5,_4d6);}if(type.indexOf(",")>-1){var _4da=type.split(/\s*,\s*/);var _4db=[];var i=0;var _4dc;while(_4dc=_4da[i++]){_4db.push(_4d7(_4d5,_4dc,_4d6,_4d8,_4d9));}_4db.remove=function(){for(var i=0;i<_4db.length;i++){_4db[i].remove();}};return _4db;}return _4d7(_4d5,type,_4d6,_4d8,_4d9);};var _4dd=/^touch/;function _4cb(_4de,type,_4df,_4e0,_4e1){var _4e2=type.match(/(.*):(.*)/);if(_4e2){type=_4e2[2];_4e2=_4e2[1];return on.selector(_4e2,type).call(_4e1,_4de,_4df);}if(has("touch")){if(_4dd.test(type)){_4df=_4e3(_4df);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_4de=window;_4df=_4e3(_4df);}}if(_4e4){_4df=_4e4(_4df);}if(_4de.addEventListener){var _4e5=type in _4e6,_4e7=_4e5?_4e6[type]:type;_4de.addEventListener(_4e7,_4df,_4e5);return {remove:function(){_4de.removeEventListener(_4e7,_4df,_4e5);}};}type="on"+type;if(_4e8&&_4de.attachEvent){return _4e8(_4de,type,_4df);}throw new Error("Target must be an event emitter");};on.selector=function(_4e9,_4ea,_4eb){return function(_4ec,_4ed){var _4ee=typeof _4e9=="function"?{matches:_4e9}:this,_4ef=_4ea.bubble;function _4f0(_4f1){_4ee=_4ee&&_4ee.matches?_4ee:dojo.query;while(!_4ee.matches(_4f1,_4e9,_4ec)){if(_4f1==_4ec||_4eb===false||!(_4f1=_4f1.parentNode)||_4f1.nodeType!=1){return;}}return _4f1;};if(_4ef){return on(_4ec,_4ef(_4f0),_4ed);}return on(_4ec,_4ea,function(_4f2){var _4f3=_4f0(_4f2.target);if(_4f3){return _4ed.call(_4f3,_4f2);}});};};function _4f4(){this.cancelable=false;this.defaultPrevented=true;};function _4f5(){this.bubbles=false;};var _4f6=[].slice,_4f7=on.emit=function(_4f8,type,_4f9){var args=_4f6.call(arguments,2);var _4fa="on"+type;if("parentNode" in _4f8){var _4fb=args[0]={};for(var i in _4f9){_4fb[i]=_4f9[i];}_4fb.preventDefault=_4f4;_4fb.stopPropagation=_4f5;_4fb.target=_4f8;_4fb.type=type;_4f9=_4fb;}do{_4f8[_4fa]&&_4f8[_4fa].apply(_4f8,args);}while(_4f9&&_4f9.bubbles&&(_4f8=_4f8.parentNode));return _4f9&&_4f9.cancelable&&_4f9;};var _4e6=has("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!has("event-stopimmediatepropagation")){var _4fc=function(){this.immediatelyStopped=true;this.modified=true;};var _4e4=function(_4fd){return function(_4fe){if(!_4fe.immediatelyStopped){_4fe.stopImmediatePropagation=_4fc;return _4fd.apply(this,arguments);}};};}if(has("dom-addeventlistener")){on.emit=function(_4ff,type,_500){if(_4ff.dispatchEvent&&document.createEvent){var _501=_4ff.ownerDocument||document;var _502=_501.createEvent("HTMLEvents");_502.initEvent(type,!!_500.bubbles,!!_500.cancelable);for(var i in _500){if(!(i in _502)){_502[i]=_500[i];}}return _4ff.dispatchEvent(_502)&&_502;}return _4f7.apply(on,arguments);};}else{on._fixEvent=function(evt,_503){if(!evt){var w=_503&&(_503.ownerDocument||_503.document||_503).parentWindow||window;evt=w.event;}if(!evt){return evt;}try{if(_504&&evt.type==_504.type&&evt.srcElement==_504.target){evt=_504;}}catch(e){}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_503||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_505;evt.preventDefault=_506;}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;_507(evt);break;}}return evt;};var _504,_508=function(_509){this.handle=_509;};_508.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _50a=function(_50b){return function(evt){evt=on._fixEvent(evt,this);var _50c=_50b.call(this,evt);if(evt.modified){if(!_504){setTimeout(function(){_504=null;});}_504=evt;}return _50c;};};var _4e8=function(_50d,type,_50e){_50e=_50a(_50e);if(((_50d.ownerDocument?_50d.ownerDocument.parentWindow:_50d.parentWindow||_50d.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _50f=_50d[type];if(!_50f||!_50f.listeners){var _510=_50f;_50f=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);}}");_50f.listeners=[];_50d[type]=_50f;_50f.global=this;if(_510){_50f.listeners.push(_dojoIEListeners_.push(_510)-1);}}var _511;_50f.listeners.push(_511=(_50f.global._dojoIEListeners_.push(_50e)-1));return new _508(_511);}return _4c2.after(_50d,type,_50e,true);};var _507=function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _505=function(){this.cancelBubble=true;};var _506=on._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){try{this.keyCode=0;}catch(e){}}this.defaultPrevented=true;this.returnValue=false;this.modified=true;};}if(has("touch")){var _512=function(){};var _513=window.orientation;var _4e3=function(_514){return function(_515){var _516=_515.corrected;if(!_516){var type=_515.type;try{delete _515.type;}catch(e){}if(_515.type){if(has("touch-can-modify-event-delegate")){_512.prototype=_515;_516=new _512;}else{_516={};for(var name in _515){_516[name]=_515[name];}}_516.preventDefault=function(){_515.preventDefault();};_516.stopPropagation=function(){_515.stopPropagation();};}else{_516=_515;_516.type=type;}_515.corrected=_516;if(type=="resize"){if(_513==window.orientation){return null;}_513=window.orientation;_516.type="orientationchange";return _514.call(this,_516);}if(!("rotation" in _516)){_516.rotation=0;_516.scale=1;}var _517=_516.changedTouches[0];for(var i in _517){delete _516[i];_516[i]=_517[i];}}return _514.call(this,_516);};};}return on;});},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){if(!1){return has;}dojo._name="browser";lang.mixin(dojo,{isBrowser:true,isFF:has("ff"),isIE:has("ie"),isKhtml:has("khtml"),isWebKit:has("webkit"),isMozilla:has("mozilla"),isMoz:has("mozilla"),isOpera:has("opera"),isSafari:has("safari"),isChrome:has("chrome"),isMac:has("mac"),isIos:has("ios"),isAndroid:has("android"),isWii:has("wii"),isQuirks:has("quirks"),isAir:has("air")});return has;});},"dojo/errors/create":function(){define(["../_base/lang"],function(lang){return function(name,ctor,base,_518){base=base||Error;var _519=function(_51a){if(base===Error){if(Error.captureStackTrace){Error.captureStackTrace(this,_519);}var err=Error.call(this,_51a),prop;for(prop in err){if(err.hasOwnProperty(prop)){this[prop]=err[prop];}}this.message=_51a;this.stack=err.stack;}else{base.apply(this,arguments);}if(ctor){ctor.apply(this,arguments);}};_519.prototype=lang.delegate(base.prototype,_518);_519.prototype.name=name;_519.prototype.constructor=_519;return _519;};});},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var _51b={},u;function _51c(fn){return _51b[fn]=new Function("item","index","array",fn);};function _51d(some){var _51e=!some;return function(a,fn,o){var i=0,l=a&&a.length||0,_51f;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_51b[fn]||_51c(fn);}if(o){for(;i<l;++i){_51f=!fn.call(o,a[i],i,a);if(some^_51f){return !_51f;}}}else{for(;i<l;++i){_51f=!fn(a[i],i,a);if(some^_51f){return !_51f;}}}return _51e;};};function _520(up){var _521=1,_522=0,_523=0;if(!up){_521=_522=_523=-1;}return function(a,x,from,last){if(last&&_521>0){return _524.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_523:_522,i;if(from===u){i=up?_522:l+_523;}else{if(from<0){i=l+from;if(i<0){i=_522;}}else{i=from>=l?l+_523:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_521){if(a[i]==x){return i;}}return -1;};};var _524={every:_51d(false),some:_51d(true),indexOf:_520(true),lastIndexOf:_520(false),forEach:function(arr,_525,_526){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _525=="string"){_525=_51b[_525]||_51c(_525);}if(_526){for(;i<l;++i){_525.call(_526,arr[i],i,arr);}}else{for(;i<l;++i){_525(arr[i],i,arr);}}},map:function(arr,_527,_528,Ctr){var i=0,l=arr&&arr.length||0,out=new (Ctr||Array)(l);if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _527=="string"){_527=_51b[_527]||_51c(_527);}if(_528){for(;i<l;++i){out[i]=_527.call(_528,arr[i],i,arr);}}else{for(;i<l;++i){out[i]=_527(arr[i],i,arr);}}return out;},filter:function(arr,_529,_52a){var i=0,l=arr&&arr.length||0,out=[],_52b;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _529=="string"){_529=_51b[_529]||_51c(_529);}if(_52a){for(;i<l;++i){_52b=arr[i];if(_529.call(_52a,_52b,i,arr)){out.push(_52b);}}}else{for(;i<l;++i){_52b=arr[i];if(_529(_52b,i,arr)){out.push(_52b);}}}return out;},clearCache:function(){_51b={};}};1&&lang.mixin(dojo,_524);return _524;});},"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,_52c){return json.stringify(it,function(key,_52d){if(_52d){var tf=_52d.__json__||_52d.json;if(typeof tf=="function"){return tf.call(_52d);}}return _52d;},_52c&&dojo.toJsonIndentStr);};return dojo;});},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){var ret={global:dojo.global,doc:dojo.global["document"]||null,body:function(doc){doc=doc||dojo.doc;return doc.body||doc.getElementsByTagName("body")[0];},setContext:function(_52e,_52f){dojo.global=ret.global=_52e;dojo.doc=ret.doc=_52f;},withGlobal:function(_530,_531,_532,_533){var _534=dojo.global;try{dojo.global=ret.global=_530;return ret.withDoc.call(null,_530.document,_531,_532,_533);}finally{dojo.global=ret.global=_534;}},withDoc:function(_535,_536,_537,_538){var _539=ret.doc,oldQ=has("quirks"),_53a=has("ie"),isIE,mode,pwin;try{dojo.doc=ret.doc=_535;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_535.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_535.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_537&&typeof _536=="string"){_536=_537[_536];}return _536.apply(_537,_538||[]);}finally{dojo.doc=ret.doc=_539;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_53a,true,true);}}};1&&lang.mixin(dojo,ret);return ret;});},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,_53b,dom){var _53c="className";var cls,_53d=/\s+/,a1=[""];function _53e(s){if(typeof s=="string"||s instanceof String){if(s&&!_53d.test(s)){a1[0]=s;return a1;}var a=s.split(_53d);if(a.length&&!a[0]){a.shift();}if(a.length&&!a[a.length-1]){a.pop();}return a;}if(!s){return [];}return _53b.filter(s,function(x){return x;});};var _53f={};cls={contains:function containsClass(node,_540){return ((" "+dom.byId(node)[_53c]+" ").indexOf(" "+_540+" ")>=0);},add:function addClass(node,_541){node=dom.byId(node);_541=_53e(_541);var cls=node[_53c],_542;cls=cls?" "+cls+" ":" ";_542=cls.length;for(var i=0,len=_541.length,c;i<len;++i){c=_541[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_542<cls.length){node[_53c]=cls.substr(1,cls.length-2);}},remove:function removeClass(node,_543){node=dom.byId(node);var cls;if(_543!==undefined){_543=_53e(_543);cls=" "+node[_53c]+" ";for(var i=0,len=_543.length;i<len;++i){cls=cls.replace(" "+_543[i]+" "," ");}cls=lang.trim(cls);}else{cls="";}if(node[_53c]!=cls){node[_53c]=cls;}},replace:function replaceClass(node,_544,_545){node=dom.byId(node);_53f[_53c]=node[_53c];cls.remove(_53f,_545);cls.add(_53f,_544);if(node[_53c]!==_53f[_53c]){node[_53c]=_53f[_53c];}},toggle:function toggleClass(node,_546,_547){node=dom.byId(node);if(_547===undefined){_546=_53e(_546);for(var i=0,len=_546.length,c;i<len;++i){c=_546[i];cls[cls.contains(node,c)?"remove":"add"](node,c);}}else{cls[_547?"add":"remove"](node,_546);}return _547;}};return cls;});},"dojo/_base/config":function(){define(["../has","require"],function(has,_548){var _549={};if(1){var src=_548.rawConfig,p;for(p in src){_549[p]=src[p];}}else{var _54a=function(_54b,_54c,_54d){for(p in _54b){p!="has"&&has.add(_54c+p,_54b[p],0,_54d);}};var _54e=(function(){return this;})();_549=1?_548.rawConfig:_54e.dojoConfig||_54e.djConfig||{};_54a(_549,"config",1);_54a(_549.has,"",1);}if(!_549.locale&&typeof navigator!="undefined"){_549.locale=(navigator.language||navigator.userLanguage).toLowerCase();}return _549;});},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){if(on._fixEvent){var _54f=on._fixEvent;on._fixEvent=function(evt,se){evt=_54f(evt,se);if(evt){dom.normalizeEvent(evt);}return evt;};}var ret={fix:function(evt,_550){if(on._fixEvent){return on._fixEvent(evt,_550);}return evt;},stop:function(evt){if(has("dom-addeventlistener")||(evt&&evt.preventDefault)){evt.preventDefault();evt.stopPropagation();}else{evt=evt||window.event;evt.cancelBubble=true;on._preventDefault.call(evt);}}};if(1){dojo.fixEvent=ret.fix;dojo.stopEvent=ret.stop;}return ret;});},"dojo/main":function(){define(["./_base/kernel","./has","require","./sniff","./_base/lang","./_base/array","./_base/config","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],function(_551,has,_552,_553,lang,_554,_555,_556){if(_555.isDebug){_552(["./_firebug/firebug"]);}1||has.add("dojo-config-require",1);if(1){var deps=_555.require;if(deps){deps=_554.map(lang.isArray(deps)?deps:[deps],function(item){return item.replace(/\./g,"/");});if(_551.isAsync){_552(deps);}else{_556(1,function(){_552(deps);});}}}return _551;});},"dojo/sniff":function(){define(["./has"],function(has){if(1){var n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);has.add("air",dua.indexOf("AdobeAIR")>=0);has.add("msapp",parseFloat(dua.split("MSAppHost/")[1])||undefined);has.add("khtml",dav.indexOf("Konqueror")>=0?tv:undefined);has.add("webkit",parseFloat(dua.split("WebKit/")[1])||undefined);has.add("chrome",parseFloat(dua.split("Chrome/")[1])||undefined);has.add("safari",dav.indexOf("Safari")>=0&&!has("chrome")?parseFloat(dav.split("Version/")[1]):undefined);has.add("mac",dav.indexOf("Macintosh")>=0);has.add("quirks",document.compatMode=="BackCompat");if(dua.match(/(iPhone|iPod|iPad)/)){var p=RegExp.$1.replace(/P/,"p");var v=dua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));has.add(p,os);has.add("ios",os);}has.add("android",parseFloat(dua.split("Android ")[1])||undefined);has.add("bb",(dua.indexOf("BlackBerry")>=0||dua.indexOf("BB10")>=0)&&parseFloat(dua.split("Version/")[1])||undefined);has.add("trident",parseFloat(dav.split("Trident/")[1])||undefined);has.add("svg",typeof SVGAngle!=="undefined");if(!has("webkit")){if(dua.indexOf("Opera")>=0){has.add("opera",tv>=9.8?parseFloat(dua.split("Version/")[1])||tv:tv);}if(dua.indexOf("Gecko")>=0&&!has("khtml")&&!has("webkit")&&!has("trident")){has.add("mozilla",tv);}if(has("mozilla")){has.add("ff",parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined);}if(document.all&&!has("opera")){var isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var mode=document.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}has.add("ie",isIE);}has.add("wii",typeof opera!="undefined"&&opera.wiiremote);}}return has;});},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(JSON,_557,_558,has){has.add("activex",typeof ActiveXObject!=="undefined");has.add("dom-parser",function(_559){return "DOMParser" in _559;});var _55a;if(has("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];_55a=function(_55b){var _55c=_55b.data;if(_55c&&has("dom-qsa2.1")&&!_55c.querySelectorAll&&has("dom-parser")){_55c=new DOMParser().parseFromString(_55b.text,"application/xml");}if(!_55c||!_55c.documentElement){var text=_55b.text;_558.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(text);_55c=dom;}catch(e){return false;}return true;});}return _55c;};}var _55d={"javascript":function(_55e){return _557.eval(_55e.text||"");},"json":function(_55f){return JSON.parse(_55f.text||null);},"xml":_55a};function _560(_561){var _562=_55d[_561.options.handleAs];_561.data=_562?_562(_561):(_561.data||_561.text);return _561;};_560.register=function(name,_563){_55d[name]=_563;};return _560;});},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_564,_565,lang){var _566=0,_567=[],_568=0,_569=function(){_566=1;dojo._postLoad=dojo.config.afterOnLoad=true;_56a();},_56a=function(){if(_568){return;}_568=1;while(_566&&(!_565||_565._Q.length==0)&&(_564.idle?_564.idle():true)&&_567.length){var f=_567.shift();try{f();}catch(e){e.info=e.message;if(_564.signal){_564.signal("error",e);}else{throw e;}}}_568=0;};_564.on&&_564.on("idle",_56a);if(_565){_565._onQEmpty=_56a;}var _56b=dojo.ready=dojo.addOnLoad=function(_56c,_56d,_56e){var _56f=lang._toArray(arguments);if(typeof _56c!="number"){_56e=_56d;_56d=_56c;_56c=1000;}else{_56f.shift();}_56e=_56e?lang.hitch.apply(dojo,_56f):function(){_56d();};_56e.priority=_56c;for(var i=0;i<_567.length&&_56c>=_567[i].priority;i++){}_567.splice(i,0,_56e);_56a();};1||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_56b[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_56b(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_564(["dojo/parser"]);}});}if(_565){_565(_569);}else{_569();}return _56b;});},"dojo/aspect":function(){define([],function(){"use strict";var _570,_571=0;function _572(_573,type,_574,_575){var _576=_573[type];var _577=type=="around";var _578;if(_577){var _579=_574(function(){return _576.advice(this,arguments);});_578={remove:function(){if(_579){_579=_573=_574=null;}},advice:function(_57a,args){return _579?_579.apply(_57a,args):_576.advice(_57a,args);}};}else{_578={remove:function(){if(_578.advice){var _57b=_578.previous;var next=_578.next;if(!next&&!_57b){delete _573[type];}else{if(_57b){_57b.next=next;}else{_573[type]=next;}if(next){next.previous=_57b;}}_573=_574=_578.advice=null;}},id:_571++,advice:_574,receiveArguments:_575};}if(_576&&!_577){if(type=="after"){while(_576.next&&(_576=_576.next)){}_576.next=_578;_578.previous=_576;}else{if(type=="before"){_573[type]=_578;_578.next=_576;_576.previous=_578;}}}else{_573[type]=_578;}return _578;};function _57c(type){return function(_57d,_57e,_57f,_580){var _581=_57d[_57e],_582;if(!_581||_581.target!=_57d){_57d[_57e]=_582=function(){var _583=_571;var args=arguments;var _584=_582.before;while(_584){args=_584.advice.apply(this,args)||args;_584=_584.next;}if(_582.around){var _585=_582.around.advice(this,args);}var _586=_582.after;while(_586&&_586.id<_583){if(_586.receiveArguments){var _587=_586.advice.apply(this,args);_585=_587===_570?_585:_587;}else{_585=_586.advice.call(this,_585,args);}_586=_586.next;}return _585;};if(_581){_582.around={advice:function(_588,args){return _581.apply(_588,args);}};}_582.target=_57d;}var _589=_572((_582||_581),type,_57f,_580);_57f=null;return _589;};};var _58a=_57c("after");var _58b=_57c("before");var _58c=_57c("around");return {before:_58b,around:_58c,after:_58a};});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_58d,_58e,_58f,has,lang){has.add("events-keypress-typed",function(){var _590={charCode:0};try{_590=document.createEvent("KeyboardEvent");(_590.initKeyboardEvent||_590.initKeyEvent).call(_590,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _590.charCode==0&&!has("opera");});function _591(obj,_592,_593,_594,_595){_594=lang.hitch(_593,_594);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _58d.after(obj||dojo.global,_592,_594,true);}if(typeof _592=="string"&&_592.substring(0,2)=="on"){_592=_592.substring(2);}if(!obj){obj=dojo.global;}if(!_595){switch(_592){case "keypress":_592=_596;break;case "mouseenter":_592=_58f.enter;break;case "mouseleave":_592=_58f.leave;break;}}return on(obj,_592,_594,_595);};var _597={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 _598=has("mac")?"metaKey":"ctrlKey";var _599=function(evt,_59a){var faux=lang.mixin({},evt,_59a);_59b(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _59b(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _596;if(has("events-keypress-typed")){var _59c=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_596=function(_59d,_59e){var _59f=on(_59d,"keydown",function(evt){var k=evt.keyCode;var _5a0=(k!=13)&&k!=32&&(k!=27||!has("ie"))&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;if(_5a0||evt.ctrlKey){var c=_5a0?0:k;if(evt.ctrlKey){if(k==3||k==13){return _59e.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_597[c]||c;}}}}var faux=_599(evt,{type:"keypress",faux:true,charCode:c});_59e.call(evt.currentTarget,faux);if(has("ie")){_59c(evt,faux.keyCode);}}});var _5a1=on(_59d,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_599(evt,{charCode:c,faux:true});return _59e.call(this,evt);});return {remove:function(){_59f.remove();_5a1.remove();}};};}else{if(has("opera")){_596=function(_5a2,_5a3){return on(_5a2,"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 _5a3.call(this,_599(evt,{charCode:c}));});};}else{_596=function(_5a4,_5a5){return on(_5a4,"keypress",function(evt){_59b(evt);return _5a5.call(this,evt);});};}}var _5a6={_keypress:_596,connect:function(obj,_5a7,_5a8,_5a9,_5aa){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 _591.apply(this,args);},disconnect:function(_5ab){if(_5ab){_5ab.remove();}},subscribe:function(_5ac,_5ad,_5ae){return hub.subscribe(_5ac,lang.hitch(_5ad,_5ae));},publish:function(_5af,args){return hub.publish.apply(hub,[_5af].concat(args));},connectPublisher:function(_5b0,obj,_5b1){var pf=function(){_5a6.publish(_5b0,arguments);};return _5b1?_5a6.connect(obj,_5b1,pf):_5a6.connect(obj,pf);},isCopyKey:function(e){return e[_598];}};_5a6.unsubscribe=_5a6.disconnect;1&&lang.mixin(dojo,_5a6);return _5a6;});},"dojo/errors/CancelError":function(){define(["./create"],function(_5b2){return _5b2("CancelError",null,null,{dojoType:"cancel"});});},"*noref":1}});(function(){var _5b3=this.require;_5b3({cache:{}});!_5b3.async&&_5b3(["dojo"]);_5b3.boot&&_5b3.apply(null,_5b3.boot);})();require(["dojo/main","dojo/_base/url","ibm/patches/16022","dojo/main"]);
}catch(e){console.log("Module 'dojo_19': ",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/request/script":function(){define(["module","./watch","./util","../_base/kernel","../_base/array","../_base/lang","../on","../dom","../dom-construct","../has","../_base/window"],function(_1,_2,_3,_4,_5,_6,on,_7,_8,_9,_a){_9.add("script-readystatechange",function(_b,_c){var _d=_c.createElement("script");return typeof _d["onreadystatechange"]!=="undefined"&&(typeof _b["opera"]==="undefined"||_b["opera"].toString()!=="[object Opera]");});var _e=_1.id.replace(/[\/\.\-]/g,"_"),_f=0,_10=_9("script-readystatechange")?"readystatechange":"load",_11=/complete|loaded/,_12=_4.global[_e+"_callbacks"]={},_13=[];function _14(id,url,_15){var doc=(_15||_a.doc),_16=doc.createElement("script");_16.type="text/javascript";_16.src=url;_16.id=id;_16.async=true;_16.charset="utf-8";return doc.getElementsByTagName("head")[0].appendChild(_16);};function _17(id,_18,_19){_8.destroy(_7.byId(id,_18));if(_12[id]){if(_19){_12[id]=function(){delete _12[id];};}else{delete _12[id];}}};function _1a(dfd){var _1b=dfd.response.options,_1c=_1b.ioArgs?_1b.ioArgs.frameDoc:_1b.frameDoc;_13.push({id:dfd.id,frameDoc:_1c});if(_1b.ioArgs){_1b.ioArgs.frameDoc=null;}_1b.frameDoc=null;};function _1d(dfd,_1e){if(dfd.canDelete){_1f._remove(dfd.id,_1e.options.frameDoc,true);}};function _20(_21){if(_13&&_13.length){_5.forEach(_13,function(_22){_1f._remove(_22.id,_22.frameDoc);_22.frameDoc=null;});_13=[];}return _21.options.jsonp?!_21.data:true;};function _23(_24){return !!this.scriptLoaded;};function _25(_26){var _27=_26.options.checkString;return _27&&eval("typeof("+_27+") !== \"undefined\"");};function _28(_29,_2a){if(this.canDelete){_1a(this);}if(_2a){this.reject(_2a);}else{this.resolve(_29);}};function _1f(url,_2b,_2c){var _2d=_3.parseArgs(url,_3.deepCopy({},_2b));url=_2d.url;_2b=_2d.options;var dfd=_3.deferred(_2d,_1d,_20,_2b.jsonp?null:(_2b.checkString?_25:_23),_28);_6.mixin(dfd,{id:_e+(_f++),canDelete:false});if(_2b.jsonp){var _2e=new RegExp("[?&]"+_2b.jsonp+"=");if(!_2e.test(url)){url+=(~url.indexOf("?")?"&":"?")+_2b.jsonp+"="+(_2b.frameDoc?"parent.":"")+_e+"_callbacks."+dfd.id;}dfd.canDelete=true;_12[dfd.id]=function(_2f){_2d.data=_2f;dfd.handleResponse(_2d);};}if(_3.notify){_3.notify.emit("send",_2d,dfd.promise.cancel);}if(!_2b.canAttach||_2b.canAttach(dfd)){var _30=_1f._attach(dfd.id,url,_2b.frameDoc);if(!_2b.jsonp&&!_2b.checkString){var _31=on(_30,_10,function(evt){if(evt.type==="load"||_11.test(_30.readyState)){_31.remove();dfd.scriptLoaded=evt;}});}}_2(dfd);return _2c?dfd:dfd.promise;};_1f.get=_1f;_1f._attach=_14;_1f._remove=_17;_1f._callbacksProperty=_e+"_callbacks";return _1f;});},"dojo/request":function(){define(["./request/default!"],function(_32){return _32;});},"dojo/hash":function(){define(["./_base/kernel","require","./_base/config","./aspect","./_base/lang","./topic","./domReady","./sniff"],function(_33,_34,_35,_36,_37,_38,_39,has){_33.hash=function(_3a,_3b){if(!arguments.length){return _3c();}if(_3a.charAt(0)=="#"){_3a=_3a.substring(1);}if(_3b){_3d(_3a);}else{location.href="#"+_3a;}return _3a;};var _3e,_3f,_40,_41=_35.hashPollFrequency||100;function _42(str,_43){var i=str.indexOf(_43);return (i>=0)?str.substring(i+1):"";};function _3c(){return _42(location.href,"#");};function _44(){_38.publish("/dojo/hashchange",_3c());};function _45(){if(_3c()===_3e){return;}_3e=_3c();_44();};function _3d(_46){if(_3f){if(_3f.isTransitioning()){setTimeout(_37.hitch(null,_3d,_46),_41);return;}var _47=_3f.iframe.location.href;var _48=_47.indexOf("?");_3f.iframe.location.replace(_47.substring(0,_48)+"?"+_46);return;}location.replace("#"+_46);!_40&&_45();};function _49(){var ifr=document.createElement("iframe"),_4a="dojo-hash-iframe",_4b=_35.dojoBlankHtmlUrl||_34.toUrl("./resources/blank.html");if(_35.useXDomain&&!_35.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=_4a;ifr.src=_4b+"?"+_3c();ifr.style.display="none";document.body.appendChild(ifr);this.iframe=_33.global[_4a];var _4c,_4d,_4e,_4f,_50,_51=this.iframe.location;function _52(){_3e=_3c();_4c=_50?_3e:_42(_51.href,"?");_4d=false;_4e=null;};this.isTransitioning=function(){return _4d;};this.pollLocation=function(){if(!_50){try{var _53=_42(_51.href,"?");if(document.title!=_4f){_4f=this.iframe.document.title=document.title;}}catch(e){_50=true;console.error("dojo/hash: Error adding history entry. Server unreachable.");}}var _54=_3c();if(_4d&&_3e===_54){if(_50||_53===_4e){_52();_44();}else{setTimeout(_37.hitch(this,this.pollLocation),0);return;}}else{if(_3e===_54&&(_50||_4c===_53)){}else{if(_3e!==_54){_3e=_54;_4d=true;_4e=_54;ifr.src=_4b+"?"+_4e;_50=false;setTimeout(_37.hitch(this,this.pollLocation),0);return;}else{if(!_50){location.href="#"+_51.search.substring(1);_52();_44();}}}}setTimeout(_37.hitch(this,this.pollLocation),_41);};_52();setTimeout(_37.hitch(this,this.pollLocation),_41);};_39(function(){if("onhashchange" in _33.global&&(!has("ie")||(has("ie")>=8&&document.compatMode!="BackCompat"))){_40=_36.after(_33.global,"onhashchange",_44,true);}else{if(document.addEventListener){_3e=_3c();setInterval(_45,_41);}else{if(document.attachEvent){_3f=new _49();}}}});return _33.hash;});},"dojo/io/iframe":function(){define(["../_base/config","../_base/json","../_base/kernel","../_base/lang","../_base/xhr","../sniff","../_base/window","../dom","../dom-construct","../query","require","../aspect","../request/iframe"],function(_55,_56,_57,_58,xhr,has,win,dom,_59,_5a,_5b,_5c,_5d){_57.deprecated("dojo/io/iframe","Use dojo/request/iframe.","2.0");var mid=_5d._iframeName;mid=mid.substring(0,mid.lastIndexOf("_"));var _5e=_58.delegate(_5d,{create:function(){return _5e._frame=_5d.create.apply(_5d,arguments);},get:null,post:null,send:function(_5f){var _60;var dfd=xhr._ioSetArgs(_5f,function(dfd){_60&&_60.cancel();},function(dfd){var _61=null,_62=dfd.ioArgs;try{var _63=_62.handleAs;if(_63==="xml"||_63==="html"){_61=_60.response.data;}else{_61=_60.response.text;if(_63==="json"){_61=_56.fromJson(_61);}else{if(_63==="javascript"){_61=_57.eval(_61);}}}}catch(e){_61=e;}return _61;},function(_64,dfd){dfd.ioArgs._hasError=true;return _64;});var _65=dfd.ioArgs;var _66="GET",_67=dom.byId(_5f.form);if(_5f.method&&_5f.method.toUpperCase()==="POST"&&_67){_66="POST";}var _68={method:_66,handleAs:_5f.handleAs==="json"||_5f.handleAs==="javascript"?"text":_5f.handleAs,form:_5f.form,query:_67?null:_5f.content,data:_67?_5f.content:null,timeout:_5f.timeout,ioArgs:_65};if(_68.method){_68.method=_68.method.toUpperCase();}if(_55.ioPublish&&_57.publish&&_65.args.ioPublish!==false){var _69=_5c.after(_5d,"_notifyStart",function(_6a){if(_6a.options.ioArgs===_65){_69.remove();xhr._ioNotifyStart(dfd);}},true);}_60=_5d(_65.url,_68,true);_65._callNext=_60._callNext;_60.then(function(){dfd.resolve(dfd);}).otherwise(function(_6b){dfd.ioArgs.error=_6b;dfd.reject(_6b);});return dfd;},_iframeOnload:win.global[mid+"_onload"]});_58.setObject("dojo.io.iframe",_5e);return _5e;});},"dojo/AdapterRegistry":function(){define(["./_base/kernel","./_base/lang"],function(_6c,_6d){var _6e=_6c.AdapterRegistry=function(_6f){this.pairs=[];this.returnWrappers=_6f||false;};_6d.extend(_6e,{register:function(_70,_71,_72,_73,_74){this.pairs[((_74)?"unshift":"push")]([_70,_71,_72,_73]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _75=this.pairs[i];if(_75[1].apply(this,arguments)){if((_75[3])||(this.returnWrappers)){return _75[2];}else{return _75[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_76){for(var i=0;i<this.pairs.length;i++){var _77=this.pairs[i];if(_77[0]==_76){this.pairs.splice(i,1);return true;}}return false;}});return _6e;});},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(_78,_79,_7a){_78.DeferredList=function(_7b,_7c,_7d,_7e,_7f){var _80=[];_79.call(this);var _81=this;if(_7b.length===0&&!_7c){this.resolve([0,[]]);}var _82=0;_7a.forEach(_7b,function(_83,i){_83.then(function(_84){if(_7c){_81.resolve([i,_84]);}else{_85(true,_84);}},function(_86){if(_7d){_81.reject(_86);}else{_85(false,_86);}if(_7e){return null;}throw _86;});function _85(_87,_88){_80[i]=[_87,_88];_82++;if(_82===_7b.length){_81.resolve(_80);}};});};_78.DeferredList.prototype=new _79();_78.DeferredList.prototype.gatherResults=function(_89){var d=new _78.DeferredList(_89,false,true,false);d.addCallback(function(_8a){var ret=[];_7a.forEach(_8a,function(_8b){ret.push(_8b[1]);});return ret;});return d;};return _78.DeferredList;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_8c){return _8c.cache;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(_8d,_8e){_8d.cookie=function(_8f,_90,_91){var c=document.cookie,ret;if(arguments.length==1){var _92=c.match(new RegExp("(?:^|; )"+_8e.escapeString(_8f)+"=([^;]*)"));ret=_92?decodeURIComponent(_92[1]):undefined;}else{_91=_91||{};var exp=_91.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_91.expires=d;}if(exp&&exp.toUTCString){_91.expires=exp.toUTCString();}_90=encodeURIComponent(_90);var _93=_8f+"="+_90,_94;for(_94 in _91){_93+="; "+_94;var _95=_91[_94];if(_95!==true){_93+="="+_95;}}document.cookie=_93;}return ret;};_8d.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 _8d.cookie;});},"dojo/back":function(){define(["./_base/config","./_base/lang","./sniff","./dom","./dom-construct","./_base/window","require"],function(_96,_97,has,dom,_98,_99,_9a){var _9b={};1&&_97.setObject("dojo.back",_9b);var _9c=_9b.getHash=function(){var h=window.location.hash;if(h.charAt(0)=="#"){h=h.substring(1);}return has("mozilla")?h:decodeURIComponent(h);},_9d=_9b.setHash=function(h){if(!h){h="";}window.location.hash=encodeURIComponent(h);_9e=history.length;};var _9f=(typeof (window)!=="undefined")?window.location.href:"";var _a0=(typeof (window)!=="undefined")?_9c():"";var _a1=null;var _a2=null;var _a3=null;var _a4=null;var _a5=[];var _a6=[];var _a7=false;var _a8=false;var _9e;function _a9(){var _aa=_a6.pop();if(!_aa){return;}var _ab=_a6[_a6.length-1];if(!_ab&&_a6.length==0){_ab=_a1;}if(_ab){if(_ab.kwArgs["back"]){_ab.kwArgs["back"]();}else{if(_ab.kwArgs["backButton"]){_ab.kwArgs["backButton"]();}else{if(_ab.kwArgs["handle"]){_ab.kwArgs.handle("back");}}}}_a5.push(_aa);};_9b.goBack=_a9;function _ac(){var _ad=_a5.pop();if(!_ad){return;}if(_ad.kwArgs["forward"]){_ad.kwArgs.forward();}else{if(_ad.kwArgs["forwardButton"]){_ad.kwArgs.forwardButton();}else{if(_ad.kwArgs["handle"]){_ad.kwArgs.handle("forward");}}}_a6.push(_ad);};_9b.goForward=_ac;function _ae(url,_af,_b0){return {"url":url,"kwArgs":_af,"urlHash":_b0};};function _b1(url){var _b2=url.split("?");if(_b2.length<2){return null;}else{return _b2[1];}};function _b3(){var url=(_96["dojoIframeHistoryUrl"]||_9a.toUrl("./resources/iframe_history.html"))+"?"+(new Date()).getTime();_a7=true;if(_a4){has("webkit")?_a4.location=url:window.frames[_a4.name].location=url;}else{}return url;};function _b4(){if(!_a8){var hsl=_a6.length;var _b5=_9c();if((_b5===_a0||window.location.href==_9f)&&(hsl==1)){_a9();return;}if(_a5.length>0){if(_a5[_a5.length-1].urlHash===_b5){_ac();return;}}if((hsl>=2)&&(_a6[hsl-2])){if(_a6[hsl-2].urlHash===_b5){_a9();}}}};_9b.init=function(){if(dom.byId("dj_history")){return;}var src=_96["dojoIframeHistoryUrl"]||_9a.toUrl("./resources/iframe_history.html");if(_96.afterOnLoad){console.error("dojo/back::init() must be called before the DOM has loaded. "+"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>");}};_9b.setInitialState=function(_b6){_a1=_ae(_9f,_b6,_a0);};_9b.addToHistory=function(_b7){_a5=[];var _b8=null;var url=null;if(!_a4){if(_96["useXDomain"]&&!_96["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");}_a4=window.frames["dj_history"];}if(!_a3){_a3=_98.create("a",{style:{display:"none"}},_99.body());}if(_b7["changeUrl"]){_b8=""+((_b7["changeUrl"]!==true)?_b7["changeUrl"]:(new Date()).getTime());if(_a6.length==0&&_a1.urlHash==_b8){_a1=_ae(url,_b7,_b8);return;}else{if(_a6.length>0&&_a6[_a6.length-1].urlHash==_b8){_a6[_a6.length-1]=_ae(url,_b7,_b8);return;}}_a8=true;setTimeout(function(){_9d(_b8);_a8=false;},1);_a3.href=_b8;if(has("ie")){url=_b3();var _b9=_b7["back"]||_b7["backButton"]||_b7["handle"];var tcb=function(_ba){if(_9c()!=""){setTimeout(function(){_9d(_b8);},1);}_b9.apply(this,[_ba]);};if(_b7["back"]){_b7.back=tcb;}else{if(_b7["backButton"]){_b7.backButton=tcb;}else{if(_b7["handle"]){_b7.handle=tcb;}}}var _bb=_b7["forward"]||_b7["forwardButton"]||_b7["handle"];var tfw=function(_bc){if(_9c()!=""){_9d(_b8);}if(_bb){_bb.apply(this,[_bc]);}};if(_b7["forward"]){_b7.forward=tfw;}else{if(_b7["forwardButton"]){_b7.forwardButton=tfw;}else{if(_b7["handle"]){_b7.handle=tfw;}}}}else{if(!has("ie")){if(!_a2){_a2=setInterval(_b4,200);}}}}else{url=_b3();}_a6.push(_ae(url,_b7,_b8));};_9b._iframeLoaded=function(evt,_bd){var _be=_b1(_bd.href);if(_be==null){if(_a6.length==1){_a9();}return;}if(_a7){_a7=false;return;}if(_a6.length>=2&&_be==_b1(_a6[_a6.length-2].url)){_a9();}else{if(_a5.length>0&&_be==_b1(_a5[_a5.length-1].url)){_ac();}}};return _9b;});},"dojo/request/iframe":function(){define(["module","require","./watch","./util","./handlers","../_base/lang","../io-query","../query","../has","../dom","../dom-construct","../_base/window","../NodeList-dom"],function(_bf,_c0,_c1,_c2,_c3,_c4,_c5,_c6,has,dom,_c7,win){var mid=_bf.id.replace(/[\/\.\-]/g,"_"),_c8=mid+"_onload";if(!win.global[_c8]){win.global[_c8]=function(){var dfd=_c9._currentDfd;if(!dfd){_c9._fireNextRequest();return;}var _ca=dfd.response,_cb=_ca.options,_cc=dom.byId(_cb.form)||dfd._tmpForm;if(_cc){var _cd=dfd._contentToClean;for(var i=0;i<_cd.length;i++){var key=_cd[i];for(var j=0;j<_cc.childNodes.length;j++){var _ce=_cc.childNodes[j];if(_ce.name===key){_c7.destroy(_ce);break;}}}dfd._originalAction&&_cc.setAttribute("action",dfd._originalAction);if(dfd._originalMethod){_cc.setAttribute("method",dfd._originalMethod);_cc.method=dfd._originalMethod;}if(dfd._originalTarget){_cc.setAttribute("target",dfd._originalTarget);_cc.target=dfd._originalTarget;}}if(dfd._tmpForm){_c7.destroy(dfd._tmpForm);delete dfd._tmpForm;}dfd._finished=true;};}function _cf(_d0,_d1,uri){if(win.global[_d0]){return win.global[_d0];}if(win.global.frames[_d0]){return win.global.frames[_d0];}if(!uri){if(has("config-useXDomain")&&!has("config-dojoBlankHtmlUrl")){console.warn("dojo/request/iframe: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set dojoConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}uri=(has("config-dojoBlankHtmlUrl")||_c0.toUrl("dojo/resources/blank.html"));}var _d2=_c7.place("<iframe id=\""+_d0+"\" name=\""+_d0+"\" src=\""+uri+"\" onload=\""+_d1+"\" style=\"position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden\">",win.body());win.global[_d0]=_d2;return _d2;};function _d3(_d4,src,_d5){var _d6=win.global.frames[_d4.name];if(_d6.contentWindow){_d6=_d6.contentWindow;}try{if(!_d5){_d6.location=src;}else{_d6.location.replace(src);}}catch(e){}};function doc(_d7){if(_d7.contentDocument){return _d7.contentDocument;}var _d8=_d7.name;if(_d8){var _d9=win.doc.getElementsByTagName("iframe");if(_d7.document&&_d9[_d8].contentWindow&&_d9[_d8].contentWindow.document){return _d9[_d8].contentWindow.document;}else{if(win.doc.frames[_d8]&&win.doc.frames[_d8].document){return win.doc.frames[_d8].document;}}}return null;};function _da(){return _c7.create("form",{name:mid+"_form",style:{position:"absolute",top:"-1000px",left:"-1000px"}},win.body());};function _db(){var dfd;try{if(_c9._currentDfd||!_c9._dfdQueue.length){return;}do{dfd=_c9._currentDfd=_c9._dfdQueue.shift();}while(dfd&&(dfd.canceled||(dfd.isCanceled&&dfd.isCanceled()))&&_c9._dfdQueue.length);if(!dfd||dfd.canceled||(dfd.isCanceled&&dfd.isCanceled())){_c9._currentDfd=null;return;}var _dc=dfd.response,_dd=_dc.options,c2c=dfd._contentToClean=[],_de=dom.byId(_dd.form),_df=_c2.notify,_e0=_dd.data||null,_e1;if(!dfd._legacy&&_dd.method==="POST"&&!_de){_de=dfd._tmpForm=_da();}else{if(_dd.method==="GET"&&_de&&_dc.url.indexOf("?")>-1){_e1=_dc.url.slice(_dc.url.indexOf("?")+1);_e0=_c4.mixin(_c5.queryToObject(_e1),_e0);}}if(_de){if(!dfd._legacy){var _e2=_de;do{_e2=_e2.parentNode;}while(_e2&&_e2!==win.doc.documentElement);if(!_e2){_de.style.position="absolute";_de.style.left="-1000px";_de.style.top="-1000px";win.body().appendChild(_de);}if(!_de.name){_de.name=mid+"_form";}}if(_e0){var _e3=function(_e4,_e5){_c7.create("input",{type:"hidden",name:_e4,value:_e5},_de);c2c.push(_e4);};for(var x in _e0){var val=_e0[x];if(_c4.isArray(val)&&val.length>1){for(var i=0;i<val.length;i++){_e3(x,val[i]);}}else{if(!_de[x]){_e3(x,val);}else{_de[x].value=val;}}}}var _e6=_de.getAttributeNode("action"),_e7=_de.getAttributeNode("method"),_e8=_de.getAttributeNode("target");if(_dc.url){dfd._originalAction=_e6?_e6.value:null;if(_e6){_e6.value=_dc.url;}else{_de.setAttribute("action",_dc.url);}}if(!dfd._legacy){dfd._originalMethod=_e7?_e7.value:null;if(_e7){_e7.value=_dd.method;}else{_de.setAttribute("method",_dd.method);}}else{if(!_e7||!_e7.value){if(_e7){_e7.value=_dd.method;}else{_de.setAttribute("method",_dd.method);}}}dfd._originalTarget=_e8?_e8.value:null;if(_e8){_e8.value=_c9._iframeName;}else{_de.setAttribute("target",_c9._iframeName);}_de.target=_c9._iframeName;_df&&_df.emit("send",_dc,dfd.promise.cancel);_c9._notifyStart(_dc);_de.submit();}else{var _e9="";if(_dc.options.data){_e9=_dc.options.data;if(typeof _e9!=="string"){_e9=_c5.objectToQuery(_e9);}}var _ea=_dc.url+(_dc.url.indexOf("?")>-1?"&":"?")+_e9;_df&&_df.emit("send",_dc,dfd.promise.cancel);_c9._notifyStart(_dc);_c9.setSrc(_c9._frame,_ea,true);}}catch(e){dfd.reject(e);}};function _eb(_ec){return !this.isFulfilled();};function _ed(_ee){return !!this._finished;};function _ef(_f0,_f1){if(!_f1){try{var _f2=_f0.options,doc=_c9.doc(_c9._frame),_f3=_f2.handleAs;if(_f3!=="html"){if(_f3==="xml"){if(doc.documentElement.tagName.toLowerCase()==="html"){_c6("a",doc.documentElement).orphan();var _f4=doc.documentElement.innerText;_f4=_f4.replace(/>\s+</g,"><");_f0.text=_c4.trim(_f4);}else{_f0.data=doc;}}else{_f0.text=doc.getElementsByTagName("textarea")[0].value;}_c3(_f0);}else{_f0.data=doc;}}catch(e){_f1=e;}}if(_f1){this.reject(_f1);}else{if(this._finished){this.resolve(_f0);}else{this.reject(new Error("Invalid dojo/request/iframe request state"));}}};function _f5(_f6){this._callNext();};var _f7={method:"POST"};function _c9(url,_f8,_f9){var _fa=_c2.parseArgs(url,_c2.deepCreate(_f7,_f8),true);url=_fa.url;_f8=_fa.options;if(_f8.method!=="GET"&&_f8.method!=="POST"){throw new Error(_f8.method+" not supported by dojo/request/iframe");}if(!_c9._frame){_c9._frame=_c9.create(_c9._iframeName,_c8+"();");}var dfd=_c2.deferred(_fa,null,_eb,_ed,_ef,_f5);dfd._callNext=function(){if(!this._calledNext){this._calledNext=true;_c9._currentDfd=null;_c9._fireNextRequest();}};dfd._legacy=_f9;_c9._dfdQueue.push(dfd);_c9._fireNextRequest();_c1(dfd);return _f9?dfd:dfd.promise;};_c9.create=_cf;_c9.doc=doc;_c9.setSrc=_d3;_c9._iframeName=mid+"_IoIframe";_c9._notifyStart=function(){};_c9._dfdQueue=[];_c9._currentDfd=null;_c9._fireNextRequest=_db;_c2.addCommonMethods(_c9,["GET","POST"]);return _c9;});},"dojo/io/script":function(){define(["../_base/connect","../_base/kernel","../_base/lang","../sniff","../_base/window","../_base/xhr","../dom","../dom-construct","../request/script","../aspect"],function(_fb,_fc,_fd,has,win,xhr,dom,_fe,_ff,_100){_fc.deprecated("dojo/io/script","Use dojo/request/script.","2.0");var _101={get:function(args){var rDfd;var dfd=this._makeScriptDeferred(args,function(dfd){rDfd&&rDfd.cancel();});var _102=dfd.ioArgs;xhr._ioAddQueryToUrl(_102);xhr._ioNotifyStart(dfd);rDfd=_ff.get(_102.url,{timeout:args.timeout,jsonp:_102.jsonp,checkString:args.checkString,ioArgs:_102,frameDoc:args.frameDoc,canAttach:function(rDfd){_102.requestId=rDfd.id;_102.scriptId=rDfd.scriptId;_102.canDelete=rDfd.canDelete;return _101._canAttach(_102);}},true);_100.around(rDfd,"isValid",function(_103){return function(_104){_101._validCheck(dfd);return _103.call(this,_104);};});rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_105){dfd.ioArgs.error=_105;dfd.reject(_105);});return dfd;},attach:_ff._attach,remove:_ff._remove,_makeScriptDeferred:function(args,_106){var dfd=xhr._ioSetArgs(args,_106||this._deferredCancel,this._deferredOk,this._deferredError);var _107=dfd.ioArgs;_107.id=_fc._scopeName+"IoScript"+(this._counter++);_107.canDelete=false;_107.jsonp=args.callbackParamName||args.jsonp;if(_107.jsonp){_107.query=_107.query||"";if(_107.query.length>0){_107.query+="&";}_107.query+=_107.jsonp+"="+(args.frameDoc?"parent.":"")+_fc._scopeName+".io.script.jsonp_"+_107.id+"._jsonpCallback";_107.frameDoc=args.frameDoc;_107.canDelete=true;dfd._jsonpCallback=this._jsonpCallback;this["jsonp_"+_107.id]=dfd;}dfd.addBoth(function(_108){if(_107.canDelete){if(_108 instanceof Error){_101["jsonp_"+_107.id]._jsonpCallback=function(){delete _101["jsonp_"+_107.id];if(_107.requestId){_fc.global[_ff._callbacksProperty][_107.requestId]();}};}else{_101._addDeadScript(_107);}}});return dfd;},_deferredCancel:function(dfd){dfd.canceled=true;},_deferredOk:function(dfd){var _109=dfd.ioArgs;return _109.json||_109.scriptLoaded||_109;},_deferredError:function(_10a,dfd){return _10a;},_deadScripts:[],_counter:1,_addDeadScript:function(_10b){_101._deadScripts.push({id:_10b.id,frameDoc:_10b.frameDoc});_10b.frameDoc=null;},_validCheck:function(dfd){var _10c=_101._deadScripts;if(_10c&&_10c.length>0){for(var i=0;i<_10c.length;i++){_101.remove(_10c[i].id,_10c[i].frameDoc);delete _101["jsonp_"+_10c[i].id];_10c[i].frameDoc=null;}_101._deadScripts=[];}return true;},_ioCheck:function(dfd){var _10d=dfd.ioArgs;if(_10d.json||(_10d.scriptLoaded&&!_10d.args.checkString)){return true;}var _10e=_10d.args.checkString;return _10e&&eval("typeof("+_10e+") != 'undefined'");},_resHandle:function(dfd){if(_101._ioCheck(dfd)){dfd.callback(dfd);}else{dfd.errback(new Error("inconceivable dojo.io.script._resHandle error"));}},_canAttach:function(){return true;},_jsonpCallback:function(json){this.ioArgs.json=json;if(this.ioArgs.requestId){_fc.global[_ff._callbacksProperty][this.ioArgs.requestId](json);}}};_fd.setObject("dojo.io.script",_101);return _101;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_10f,has,_110){var _111;if(1){_111=function(url,sync,load){_110(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_10f.getText){_111=_10f.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _112={},_113=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _114=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_114){text=_114[1];}}else{text="";}return text;},_115={},_116={};dojo.cache=function(_117,url,_118){var key;if(typeof _117=="string"){if(/\//.test(_117)){key=_117;_118=url;}else{key=_10f.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"){_112[key]=val;return _119?_113(val):val;}else{if(val===null){delete _112[key];return null;}else{if(!(key in _112)){_111(key,true,function(text){_112[key]=text;});}return _119?_113(_112[key]):_112[key];}}};return {dynamic:true,normalize:function(id,_11a){var _11b=id.split("!"),url=_11b[0];return (/^\./.test(url)?_11a(url):url)+(_11b[1]?"!"+_11b[1]:"");},load:function(id,_11c,load){var _11d=id.split("!"),_11e=_11d.length>1,_11f=_11d[0],url=_11c.toUrl(_11d[0]),_120="url:"+url,text=_115,_121=function(text){load(_11e?_113(text):text);};if(_11f in _112){text=_112[_11f];}else{if(_11c.cache&&_120 in _11c.cache){text=_11c.cache[_120];}else{if(url in _112){text=_112[url];}}}if(text===_115){if(_116[url]){_116[url].push(_121);}else{var _122=_116[url]=[_121];_111(url,!_11c.async,function(text){_112[_11f]=_112[url]=text;for(var i=0;i<_122.length;){_122[i++](text);}delete _116[url];});}}else{_121(text);}}};});},"dojo/request/default":function(){define(["exports","require","../has"],function(_123,_124,has){var _125=has("config-requestProvider"),_126;if(1){_126="./xhr";}else{if(0){_126="./node";}}if(!_125){_125=_126;}_123.getPlatformDefaultId=function(){return _126;};_123.load=function(id,_127,_128,_129){_124([id=="platform"?_126:_125],function(_12a){_128(_12a);});};});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_12b,has,_12c,_12d,lang,xhr,json,_12e){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _12f=dojo.i18n={},_130=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_131=function(root,_132,_133,_134){for(var _135=[_133+_134],_136=_132.split("-"),_137="",i=0;i<_136.length;i++){_137+=(_137?"-":"")+_136[i];if(!root||root[_137]){_135.push(_133+_137+"/"+_134);_135.specificity=_137;}}return _135;},_138={},_139=function(_13a,_13b,_13c){_13c=_13c?_13c.toLowerCase():dojo.locale;_13a=_13a.replace(/\./g,"/");_13b=_13b.replace(/\./g,"/");return (/root/i.test(_13c))?(_13a+"/nls/"+_13b):(_13a+"/nls/"+_13c+"/"+_13b);},_13d=dojo.getL10nName=function(_13e,_13f,_140){return _13e=_12e.id+"!"+_139(_13e,_13f,_140);},_141=function(_142,_143,_144,_145,_146,load){_142([_143],function(root){var _147=lang.clone(root.root||root.ROOT),_148=_131(!root._v1x&&root,_146,_144,_145);_142(_148,function(){for(var i=1;i<_148.length;i++){_147=lang.mixin(lang.clone(_147),arguments[i]);}var _149=_143+"/"+_146;_138[_149]=_147;_147.$locale=_148.specificity;load();});});},_14a=function(id,_14b){return /^\./.test(id)?_14b(id):id;},_14c=function(_14d){var list=_12d.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_14d);return list;},load=function(id,_14e,load){if(has("dojo-preload-i18n-Api")){var _14f=id.split("*"),_150=_14f[1]=="preload";if(_150){if(!_138[id]){_138[id]=1;_151(_14f[2],json.parse(_14f[3]),1,_14e);}load(1);}if(_150||_152(id,_14e,load)){return;}}var _153=_130.exec(id),_154=_153[1]+"/",_155=_153[5]||_153[4],_156=_154+_155,_157=(_153[5]&&_153[4]),_158=_157||dojo.locale||"",_159=_156+"/"+_158,_15a=_157?[_158]:_14c(_158),_15b=_15a.length,_15c=function(){if(!--_15b){load(lang.delegate(_138[_159]));}};_12c.forEach(_15a,function(_15d){var _15e=_156+"/"+_15d;if(has("dojo-preload-i18n-Api")){_15f(_15e);}if(!_138[_15e]){_141(_14e,_156,_154,_155,_15d,_15c);}else{_15c();}});};if(has("dojo-unit-tests")){var _160=_12f.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _161=_12f.normalizeLocale=function(_162){var _163=_162?_162.toLowerCase():dojo.locale;return _163=="root"?"ROOT":_163;},isXd=function(mid,_164){return (1&&1)?_164.isXdUrl(_12b.toUrl(mid+".js")):true;},_165=0,_166=[],_151=_12f._preloadLocalizations=function(_167,_168,_169,_16a){_16a=_16a||_12b;function _16b(mid,_16c){if(isXd(mid,_16a)||_169){_16a([mid],_16c);}else{_186([mid],_16c,_16a);}};function _16d(_16e,func){var _16f=_16e.split("-");while(_16f.length){if(func(_16f.join("-"))){return;}_16f.pop();}func("ROOT");};function _170(){_165++;};function _171(){--_165;while(!_165&&_166.length){load.apply(null,_166.shift());}};function _172(path,name,loc,_173){return _173.toAbsMid(path+name+"/"+loc);};function _174(_175){_175=_161(_175);_16d(_175,function(loc){if(_12c.indexOf(_168,loc)>=0){var mid=_167.replace(/\./g,"/")+"_"+loc;_170();_16b(mid,function(_176){for(var p in _176){var _177=_176[p],_178=p.match(/(.+)\/([^\/]+)$/),_179,_17a;if(!_178){continue;}_179=_178[2];_17a=_178[1]+"/";_177._localized=_177._localized||{};var _17b;if(loc==="ROOT"){var root=_17b=_177._localized;delete _177._localized;root.root=_177;_138[_12b.toAbsMid(p)]=root;}else{_17b=_177._localized;_138[_172(_17a,_179,loc,_12b)]=_177;}if(loc!==_175){function _17c(_17d,_17e,_17f,_180){var _181=[],_182=[];_16d(_175,function(loc){if(_180[loc]){_181.push(_12b.toAbsMid(_17d+loc+"/"+_17e));_182.push(_172(_17d,_17e,loc,_12b));}});if(_181.length){_170();_16a(_181,function(){for(var i=0;i<_181.length;i++){_17f=lang.mixin(lang.clone(_17f),arguments[i]);_138[_182[i]]=_17f;}_138[_172(_17d,_17e,_175,_12b)]=lang.clone(_17f);_171();});}else{_138[_172(_17d,_17e,_175,_12b)]=_17f;}};_17c(_17a,_179,_177,_17b);}}_171();});return true;}return false;});};_174();_12c.forEach(dojo.config.extraLocale,_174);},_152=function(id,_183,load){if(_165){_166.push([id,_183,load]);}return _165;},_15f=function(){};}if(1){var _184={},_185=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_186=function(deps,_187,_188){var _189=[];_12c.forEach(deps,function(mid){var url=_188.toUrl(mid+".js");function load(text){var _18a=_185(text,_15f,mid,_184);if(_18a===_184){_189.push(_138[url]=_184.result);}else{if(_18a instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_18a);_18a={};}_189.push(_138[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_18a:{root:_18a,_v1x:1}));}};if(_138[url]){_189.push(_138[url]);}else{var _18b=_188.syncLoadNls(mid);if(!_18b){_18b=_15f(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_18b){_189.push(_18b);}else{if(!xhr){try{_188.getText(url,true,load);}catch(e){_189.push(_138[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_189.push(_138[url]={});}});}}}});_187&&_187.apply(null,_189);};_15f=function(_18c){for(var _18d,_18e=_18c.split("/"),_18f=dojo.global[_18e[0]],i=1;_18f&&i<_18e.length-1;_18f=_18f[_18e[i++]]){}if(_18f){_18d=_18f[_18e[i]];if(!_18d){_18d=_18f[_18e[i].replace(/-/g,"_")];}if(_18d){_138[_18c]=_18d;}}return _18d;};_12f.getLocalization=function(_190,_191,_192){var _193,_194=_139(_190,_191,_192);load(_194,(!isXd(_194,_12b)?function(deps,_195){_186(deps,_195,_12b);}:_12b),function(_196){_193=_196;});return _193;};if(has("dojo-unit-tests")){_160.push(function(doh){doh.register("tests.i18n.unit",function(t){var _197;_197=_185("{prop:1}",_15f,"nonsense",_184);t.is({prop:1},_197);t.is(undefined,_197[1]);_197=_185("({prop:1})",_15f,"nonsense",_184);t.is({prop:1},_197);t.is(undefined,_197[1]);_197=_185("{'prop-x':1}",_15f,"nonsense",_184);t.is({"prop-x":1},_197);t.is(undefined,_197[1]);_197=_185("({'prop-x':1})",_15f,"nonsense",_184);t.is({"prop-x":1},_197);t.is(undefined,_197[1]);_197=_185("define({'prop-x':1})",_15f,"nonsense",_184);t.is(_184,_197);t.is({"prop-x":1},_184.result);_197=_185("define('some/module', {'prop-x':1})",_15f,"nonsense",_184);t.is(_184,_197);t.is({"prop-x":1},_184.result);_197=_185("this is total nonsense and should throw an error",_15f,"nonsense",_184);t.is(_197 instanceof Error,true);});});}}return lang.mixin(_12f,{dynamic:true,normalize:_14a,load:load,cache:_138,getL10nName:_13d});});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_198,lang){var _199={};lang.setObject("dojo.string",_199);_199.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("");};_199.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_199.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_199.substitute=function(_19a,map,_19b,_19c){_19c=_19c||_198.global;_19b=_19b?lang.hitch(_19c,_19b):function(v){return v;};return _19a.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_19d,key,_19e){var _19f=lang.getObject(key,false,map);if(_19e){_19f=lang.getObject(_19e,false,_19c).call(_19c,_19f,key);}return _19b(_19f,key).toString();});};_199.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 _199;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _1a0={};lang.setObject("dojo.regexp",_1a0);_1a0.escapeString=function(str,_1a1){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_1a1&&_1a1.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_1a0.buildGroupRE=function(arr,re,_1a2){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _1a0.group(b.join("|"),_1a2);};_1a0.group=function(_1a3,_1a4){return "("+(_1a4?"?:":"")+_1a3+")";};return _1a0;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_1a5,lang,_1a6,when){return _1a5("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_1a7){if(_1a7){this.set(_1a7);}},_get:function(name,_1a8){return typeof this[_1a8.g]==="function"?this[_1a8.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_1a9){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _1aa=this._getAttrNames(name),_1ab=this._get(name,_1aa),_1ac=this[_1aa.s],_1ad;if(typeof _1ac==="function"){_1ad=_1ac.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_1a9;}if(this._watchCallbacks){var self=this;when(_1ad,function(){self._watchCallbacks(name,_1ab,_1a9);});}return this;},_changeAttrValue:function(name,_1ae){var _1af=this.get(name);this[name]=_1ae;if(this._watchCallbacks){this._watchCallbacks(name,_1af,_1ae);}return this;},watch:function(name,_1b0){var _1b1=this._watchCallbacks;if(!_1b1){var self=this;_1b1=this._watchCallbacks=function(name,_1b2,_1b3,_1b4){var _1b5=function(_1b6){if(_1b6){_1b6=_1b6.slice();for(var i=0,l=_1b6.length;i<l;i++){_1b6[i].call(self,name,_1b2,_1b3);}}};_1b5(_1b1["_"+name]);if(!_1b4){_1b5(_1b1["*"]);}};}if(!_1b0&&typeof name==="function"){_1b0=name;name="*";}else{name="_"+name;}var _1b7=_1b1[name];if(typeof _1b7!=="object"){_1b7=_1b1[name]=[];}_1b7.push(_1b0);var _1b8={};_1b8.unwatch=_1b8.remove=function(){var _1b9=_1a6.indexOf(_1b7,_1b0);if(_1b9>-1){_1b7.splice(_1b9,1);}};return _1b8;}});});},"*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","dojo/query"]);
}catch(e){console.log("Module 'dojo_app_19': ",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/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_1,_2,_3,_4,_5,_6,_7){_2.add("rtl-adjust-position-for-verticalScrollBar",function(_8,_9){var _a=_3.body(_9),_b=_7.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_a,"last"),_c=_7.create("div",{style:{overflow:"hidden",direction:"ltr"}},_b,"last"),_d=_5.position(_c).x!=0;_b.removeChild(_c);_a.removeChild(_b);return _d;});_2.add("position-fixed-support",function(_e,_f){var _10=_3.body(_f),_11=_7.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_10,"last"),_12=_7.create("span",{style:{position:"fixed",left:"0",top:"0"}},_11,"last"),ret=_5.position(_12).x!=_5.position(_11).x;_11.removeChild(_12);_10.removeChild(_11);return ret;});var _13={getBox:function(doc){doc=doc||_3.doc;var _14=(doc.compatMode=="BackCompat")?_3.body(doc):doc.documentElement,_15=_5.docScroll(doc),w,h;if(_2("touch")){var _16=_13.get(doc);w=_16.innerWidth||_14.clientWidth;h=_16.innerHeight||_14.clientHeight;}else{w=_14.clientWidth;h=_14.clientHeight;}return {l:_15.x,t:_15.y,w:w,h:h};},get:function(doc){if(_2("ie")&&_13!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(_17,pos){try{_17=_4.byId(_17);var doc=_17.ownerDocument||_3.doc,_18=_3.body(doc),_19=doc.documentElement||_18.parentNode,_1a=_2("ie"),_1b=_2("webkit");if(_17==_18||_17==_19){return;}if(!(_2("mozilla")||_1a||_1b||_2("opera")||_2("trident"))&&("scrollIntoView" in _17)){_17.scrollIntoView(false);return;}var _1c=doc.compatMode=="BackCompat",_1d=Math.min(_18.clientWidth||_19.clientWidth,_19.clientWidth||_18.clientWidth),_1e=Math.min(_18.clientHeight||_19.clientHeight,_19.clientHeight||_18.clientHeight),_1f=(_1b||_1c)?_18:_19,_20=pos||_5.position(_17),el=_17.parentNode,_21=function(el){return (_1a<=6||(_1a==7&&_1c))?false:(_2("position-fixed-support")&&(_6.get(el,"position").toLowerCase()=="fixed"));},_22=this,_23=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_22.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_21(_17)){return;}while(el){if(el==_18){el=_1f;}var _24=_5.position(el),_25=_21(el),rtl=_6.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_1f){_24.w=_1d;_24.h=_1e;if(_1f==_19&&(_1a||_2("trident"))&&rtl){_24.x+=_1f.offsetWidth-_24.w;}if(_24.x<0||!_1a||_1a>=9||_2("trident")){_24.x=0;}if(_24.y<0||!_1a||_1a>=9||_2("trident")){_24.y=0;}}else{var pb=_5.getPadBorderExtents(el);_24.w-=pb.w;_24.h-=pb.h;_24.x+=pb.l;_24.y+=pb.t;var _26=el.clientWidth,_27=_24.w-_26;if(_26>0&&_27>0){if(rtl&&_2("rtl-adjust-position-for-verticalScrollBar")){_24.x+=_27;}_24.w=_26;}_26=el.clientHeight;_27=_24.h-_26;if(_26>0&&_27>0){_24.h=_26;}}if(_25){if(_24.y<0){_24.h+=_24.y;_24.y=0;}if(_24.x<0){_24.w+=_24.x;_24.x=0;}if(_24.y+_24.h>_1e){_24.h=_1e-_24.y;}if(_24.x+_24.w>_1d){_24.w=_1d-_24.x;}}var l=_20.x-_24.x,t=_20.y-_24.y,r=l+_20.w-_24.w,bot=t+_20.h-_24.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_1f||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_1a==8&&!_1c)||_1a>=9||_2("trident"))){s=-s;}old=el.scrollLeft;_23(el,s,0);s=el.scrollLeft-old;_20.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_1f||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_23(el,0,s);s=el.scrollTop-old;_20.y-=s;}el=(el!=_1f)&&!_25&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_17.scrollIntoView(false);}}};1&&_1.setObject("dojo.window",_13);return _13;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(_28,_29){var _2a={};_28.setObject("dojo.date.stamp",_2a);_2a.fromISOString=function(_2b,_2c){if(!_2a._isoRegExp){_2a._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _2d=_2a._isoRegExp.exec(_2b),_2e=null;if(_2d){_2d.shift();if(_2d[1]){_2d[1]--;}if(_2d[6]){_2d[6]*=1000;}if(_2c){_2c=new Date(_2c);_29.forEach(_29.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_2f){return _2c["get"+_2f]();}),function(_30,_31){_2d[_31]=_2d[_31]||_30;});}_2e=new Date(_2d[0]||1970,_2d[1]||0,_2d[2]||1,_2d[3]||0,_2d[4]||0,_2d[5]||0,_2d[6]||0);if(_2d[0]<100){_2e.setFullYear(_2d[0]||1970);}var _32=0,_33=_2d[7]&&_2d[7].charAt(0);if(_33!="Z"){_32=((_2d[8]||0)*60)+(Number(_2d[9])||0);if(_33!="-"){_32*=-1;}}if(_33){_32-=_2e.getTimezoneOffset();}if(_32){_2e.setTime(_2e.getTime()+_32*60000);}}return _2e;};_2a.toISOString=function(_34,_35){var _36=function(n){return (n<10)?"0"+n:n;};_35=_35||{};var _37=[],_38=_35.zulu?"getUTC":"get",_39="";if(_35.selector!="time"){var _3a=_34[_38+"FullYear"]();_39=["0000".substr((_3a+"").length)+_3a,_36(_34[_38+"Month"]()+1),_36(_34[_38+"Date"]())].join("-");}_37.push(_39);if(_35.selector!="date"){var _3b=[_36(_34[_38+"Hours"]()),_36(_34[_38+"Minutes"]()),_36(_34[_38+"Seconds"]())].join(":");var _3c=_34[_38+"Milliseconds"]();if(_35.milliseconds){_3b+="."+(_3c<100?"0":"")+_36(_3c);}if(_35.zulu){_3b+="Z";}else{if(_35.selector!="time"){var _3d=_34.getTimezoneOffset();var _3e=Math.abs(_3d);_3b+=(_3d>0?"-":"+")+_36(Math.floor(_3e/60))+":"+_36(_3e%60);}}_37.push(_3b);}return _37.join("T");};return _2a;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_3f,_40,_41,_42,dom,_43,_44){var _45=0;var _46={_secureForInnerHtml:function(_47){return _47.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_43.empty,_setNodeContent:function(_48,_49){_43.empty(_48);if(_49){if(typeof _49=="string"){_49=_43.toDom(_49,_48.ownerDocument);}if(!_49.nodeType&&_40.isArrayLike(_49)){for(var _4a=_49.length,i=0;i<_49.length;i=_4a==_49.length?i+1:0){_43.place(_49[i],_48,"last");}}else{_43.place(_49,_48,"last");}}return _48;},_ContentSetter:_42("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_3f._scopeName,startup:true,constructor:function(_4b,_4c){_40.mixin(this,_4b||{});_4c=this.node=dom.byId(this.node||_4c);if(!this.id){this.id=["Setter",(_4c)?_4c.id||_4c.tagName:"",_45++].join("_");}},set:function(_4d,_4e){if(undefined!==_4d){this.content=_4d;}if(_4e){this._mixin(_4e);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var _4f=this.node;if(!_4f){throw new Error(this.declaredClass+": setContent given no node");}try{_4f=_46._setNodeContent(_4f,this.content);}catch(e){var _50=this.onContentError(e);try{_4f.innerHTML=_50;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=_4f;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_41.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_43.empty(this.node);},onBegin:function(){var _51=this.content;if(_40.isString(_51)){if(this.cleanContent){_51=_46._secureForInnerHtml(_51);}if(this.extractContent){var _52=_51.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_52){_51=_52[1];}}}this.empty();this.content=_51;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_53){var _54={},key;for(key in _53){if(key in _54){continue;}this[key]=_53[key];}},_parse:function(){var _55=this.node;try{var _56={};_41.forEach(["dir","lang","textDir"],function(_57){if(this[_57]){_56[_57]=this[_57];}},this);var _58=this;this.parseDeferred=_44.parse({rootNode:_55,noStart:!this.startup,inherited:_56,scope:this.parserScope}).then(function(_59){return _58.parseResults=_59;},function(e){_58._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(_5a,err,_5b){var _5c=this["on"+_5a+"Error"].call(this,err);if(_5b){console.error(_5b,err);}else{if(_5c){_46._setNodeContent(this.node,_5c,true);}}}}),set:function(_5d,_5e,_5f){if(undefined==_5e){console.warn("dojo.html.set: no cont argument provided, using empty string");_5e="";}if(!_5f){return _46._setNodeContent(_5d,_5e,true);}else{var op=new _46._ContentSetter(_40.mixin(_5f,{content:_5e,node:_5d}));return op.set();}}};_40.setObject("dojo.html",_46);return _46;});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_60,_61,_62){"use strict";var _63=_60.some;return function all(_64){var _65,_60;if(_64 instanceof Array){_60=_64;}else{if(_64&&typeof _64==="object"){_65=_64;}}var _66;var _67=[];if(_65){_60=[];for(var key in _65){if(Object.hasOwnProperty.call(_65,key)){_67.push(key);_60.push(_65[key]);}}_66={};}else{if(_60){_66=[];}}if(!_60||!_60.length){return new _61().resolve(_66);}var _68=new _61();_68.promise.always(function(){_66=_67=null;});var _69=_60.length;_63(_60,function(_6a,_6b){if(!_65){_67.push(_6b);}_62(_6a,function(_6c){if(!_68.isFulfilled()){_66[_67[_6b]]=_6c;if(--_69===0){_68.resolve(_66);}}},_68.reject);return _68.isFulfilled();});return _68.promise;};});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_6d,_6e,dom,_6f,_70,on,has,_71,_72,win){var _73=has("touch");var _74=has("ios")<5;var _75=navigator.pointerEnabled||navigator.msPointerEnabled,_76=(function(){var _77={};for(var _78 in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_77[_78]=!navigator.pointerEnabled?"MSPointer"+_78.charAt(0).toUpperCase()+_78.slice(1):"pointer"+_78;}return _77;})();var _79,_7a,_7b,_7c,_7d,_7e,_7f,_80;var _81;function _82(_83,_84,_85){if(_75&&_85){return function(_86,_87){return on(_86,_85,_87);};}else{if(_73){return function(_88,_89){var _8a=on(_88,_84,function(evt){_89.call(this,evt);_81=(new Date()).getTime();}),_8b=on(_88,_83,function(evt){if(!_81||(new Date()).getTime()>_81+1000){_89.call(this,evt);}});return {remove:function(){_8a.remove();_8b.remove();}};};}else{return function(_8c,_8d){return on(_8c,_83,_8d);};}}};function _8e(_8f){do{if(_8f.dojoClick!==undefined){return _8f.dojoClick;}}while(_8f=_8f.parentNode);};function _90(e,_91,_92){_7a=!e.target.disabled&&_8e(e.target);if(_7a){_7b=e.target;_7c=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_7d=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_7e=(typeof _7a=="object"?_7a.x:(typeof _7a=="number"?_7a:0))||4;_7f=(typeof _7a=="object"?_7a.y:(typeof _7a=="number"?_7a:0))||4;if(!_79){_79=true;win.doc.addEventListener(_91,function(e){_7a=_7a&&(e.changedTouches?e.changedTouches[0].target:e.target)==_7b&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_7c)<=_7e&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_7d)<=_7f;},true);win.doc.addEventListener(_92,function(e){if(_7a){_80=(new Date()).getTime();var _93=e.target;if(_93.tagName==="LABEL"){_93=dom.byId(_93.getAttribute("for"))||_93;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _94=document.createEvent("MouseEvents");_94._dojo_click=true;_94.initMouseEvent("click",true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);setTimeout(function(){on.emit(_93,"click",_94);},0);}},true);function _95(_96){win.doc.addEventListener(_96,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_80+1000&&!(e.target.tagName=="INPUT"&&_6f.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_96=="click"&&(e.target.tagName!="INPUT"||e.target.type=="radio"||e.target.type=="checkbox")&&e.target.tagName!="TEXTAREA"&&e.target.tagName!="AUDIO"&&e.target.tagName!="VIDEO"){e.preventDefault();}}},true);};_95("click");_95("mousedown");_95("mouseup");}}};var _97;if(_73){if(_75){_72(function(){win.doc.addEventListener(_76.down,function(evt){_90(evt,_76.move,_76.up);},true);});}else{_72(function(){_97=win.body();win.doc.addEventListener("touchstart",function(evt){_81=(new Date()).getTime();var _98=_97;_97=evt.target;on.emit(_98,"dojotouchout",{relatedTarget:_97,bubbles:true});on.emit(_97,"dojotouchover",{relatedTarget:_98,bubbles:true});_90(evt,"touchmove","touchend");},true);function _99(evt){var _9a=_70.delegate(evt,{bubbles:true});if(has("ios")>=6){_9a.touches=evt.touches;_9a.altKey=evt.altKey;_9a.changedTouches=evt.changedTouches;_9a.ctrlKey=evt.ctrlKey;_9a.metaKey=evt.metaKey;_9a.shiftKey=evt.shiftKey;_9a.targetTouches=evt.targetTouches;}return _9a;};on(win.doc,"touchmove",function(evt){_81=(new Date()).getTime();var _9b=win.doc.elementFromPoint(evt.pageX-(_74?0:win.global.pageXOffset),evt.pageY-(_74?0:win.global.pageYOffset));if(_9b){if(_97!==_9b){on.emit(_97,"dojotouchout",{relatedTarget:_9b,bubbles:true});on.emit(_9b,"dojotouchover",{relatedTarget:_97,bubbles:true});_97=_9b;}if(!on.emit(_9b,"dojotouchmove",_99(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_81=(new Date()).getTime();var _9c=win.doc.elementFromPoint(evt.pageX-(_74?0:win.global.pageXOffset),evt.pageY-(_74?0:win.global.pageYOffset))||win.body();on.emit(_9c,"dojotouchend",_99(evt));});});}}var _9d={press:_82("mousedown","touchstart",_76.down),move:_82("mousemove","dojotouchmove",_76.move),release:_82("mouseup","dojotouchend",_76.up),cancel:_82(_71.leave,"touchcancel",_73?_76.cancel:null),over:_82("mouseover","dojotouchover",_76.over),out:_82("mouseout","dojotouchout",_76.out),enter:_71._eventHandler(_82("mouseover","dojotouchover",_76.over)),leave:_71._eventHandler(_82("mouseout","dojotouchout",_76.out))};1&&(_6d.touch=_9d);return _9d;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_9e,_9f,_a0,has,_a1){var _a2=_a1.doc.documentElement,ie=has("ie"),_a3=has("opera"),maj=Math.floor,ff=has("ff"),_a4=_9e.boxModel.replace(/-/,""),_a5={"dj_quirks":has("quirks"),"dj_opera":_a3,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_a5["dj_ie"]=true;_a5["dj_ie"+maj(ie)]=true;_a5["dj_iequirks"]=has("quirks");}if(ff){_a5["dj_ff"+maj(ff)]=true;}_a5["dj_"+_a4]=true;var _a6="";for(var clz in _a5){if(_a5[clz]){_a6+=clz+" ";}}_a2.className=_9f.trim(_a2.className+" "+_a6);_a0(function(){if(!_9e.isBodyLtr()){var _a7="dj_rtl dijitRtl "+_a6.replace(/ /g,"-rtl ");_a2.className=_9f.trim(_a2.className+" "+_a7+"dj_rtl dijitRtl "+_a6.replace(/ /g,"-rtl "));}});return has;});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_a8,_a9,_aa,_ab,_ac,dom,_ad,_ae,_af,all,_b0,_b1,has,_b2,don,_b3){new Date("X");function _b4(_b5){return eval("("+_b5+")");};var _b6=0;_af.after(_aa,"extend",function(){_b6++;},true);function _b7(_b8){var map=_b8._nameCaseMap,_b9=_b8.prototype;if(!map||map._extendCnt<_b6){map=_b8._nameCaseMap={};for(var _ba in _b9){if(_ba.charAt(0)==="_"){continue;}map[_ba.toLowerCase()]=_ba;}map._extendCnt=_b6;}return map;};var _bb={};function _bc(_bd,_be){var ts=_bd.join();if(!_bb[ts]){var _bf=[];for(var i=0,l=_bd.length;i<l;i++){var t=_bd[i];_bf[_bf.length]=(_bb[t]=_bb[t]||(_aa.getObject(t)||(~t.indexOf("/")&&(_be?_be(t):_a8(t)))));}var _c0=_bf.shift();_bb[ts]=_bf.length?(_c0.createSubclass?_c0.createSubclass(_bf):_c0.extend.apply(_c0,_bf)):_c0;}return _bb[ts];};var _c1={_clearCache:function(){_b6++;_bb={};},_functionFromScript:function(_c2,_c3){var _c4="",_c5="",_c6=(_c2.getAttribute(_c3+"args")||_c2.getAttribute("args")),_c7=_c2.getAttribute("with");var _c8=(_c6||"").split(/\s*,\s*/);if(_c7&&_c7.length){_ab.forEach(_c7.split(/\s*,\s*/),function(_c9){_c4+="with("+_c9+"){";_c5+="}";});}return new Function(_c8,_c4+_c2.innerHTML+_c5);},instantiate:function(_ca,_cb,_cc){_cb=_cb||{};_cc=_cc||{};var _cd=(_cc.scope||_a9._scopeName)+"Type",_ce="data-"+(_cc.scope||_a9._scopeName)+"-",_cf=_ce+"type",_d0=_ce+"mixins";var _d1=[];_ab.forEach(_ca,function(_d2){var _d3=_cd in _cb?_cb[_cd]:_d2.getAttribute(_cf)||_d2.getAttribute(_cd);if(_d3){var _d4=_d2.getAttribute(_d0),_d5=_d4?[_d3].concat(_d4.split(/\s*,\s*/)):[_d3];_d1.push({node:_d2,types:_d5});}});return this._instantiate(_d1,_cb,_cc);},_instantiate:function(_d6,_d7,_d8,_d9){var _da=_ab.map(_d6,function(obj){var _db=obj.ctor||_bc(obj.types,_d8.contextRequire);if(!_db){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_db,obj.node,_d7,_d8,obj.scripts,obj.inherited);},this);function _dc(_dd){if(!_d7._started&&!_d8.noStart){_ab.forEach(_dd,function(_de){if(typeof _de.startup==="function"&&!_de._started){_de.startup();}});}return _dd;};if(_d9){return all(_da).then(_dc);}else{return _dc(_da);}},construct:function(_df,_e0,_e1,_e2,_e3,_e4){var _e5=_df&&_df.prototype;_e2=_e2||{};var _e6={};if(_e2.defaults){_aa.mixin(_e6,_e2.defaults);}if(_e4){_aa.mixin(_e6,_e4);}var _e7;if(has("dom-attributes-explicit")){_e7=_e0.attributes;}else{if(has("dom-attributes-specified-flag")){_e7=_ab.filter(_e0.attributes,function(a){return a.specified;});}else{var _e8=/^input$|^img$/i.test(_e0.nodeName)?_e0:_e0.cloneNode(false),_e9=_e8.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_e7=_ab.map(_e9.split(/\s+/),function(_ea){var _eb=_ea.toLowerCase();return {name:_ea,value:(_e0.nodeName=="LI"&&_ea=="value")||_eb=="enctype"?_e0.getAttribute(_eb):_e0.getAttributeNode(_eb).value};});}}var _ec=_e2.scope||_a9._scopeName,_ed="data-"+_ec+"-",_ee={};if(_ec!=="dojo"){_ee[_ed+"props"]="data-dojo-props";_ee[_ed+"type"]="data-dojo-type";_ee[_ed+"mixins"]="data-dojo-mixins";_ee[_ec+"type"]="dojoType";_ee[_ed+"id"]="data-dojo-id";}var i=0,_ef,_f0=[],_f1,_f2;while(_ef=_e7[i++]){var _f3=_ef.name,_f4=_f3.toLowerCase(),_f5=_ef.value;switch(_ee[_f4]||_f4){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_f2=_f5;break;case "data-dojo-id":case "jsid":_f1=_f5;break;case "data-dojo-attach-point":case "dojoattachpoint":_e6.dojoAttachPoint=_f5;break;case "data-dojo-attach-event":case "dojoattachevent":_e6.dojoAttachEvent=_f5;break;case "class":_e6["class"]=_e0.className;break;case "style":_e6["style"]=_e0.style&&_e0.style.cssText;break;default:if(!(_f3 in _e5)){var map=_b7(_df);_f3=map[_f4]||_f3;}if(_f3 in _e5){switch(typeof _e5[_f3]){case "string":_e6[_f3]=_f5;break;case "number":_e6[_f3]=_f5.length?Number(_f5):NaN;break;case "boolean":_e6[_f3]=_f5.toLowerCase()!="false";break;case "function":if(_f5===""||_f5.search(/[^\w\.]+/i)!=-1){_e6[_f3]=new Function(_f5);}else{_e6[_f3]=_aa.getObject(_f5,false)||new Function(_f5);}_f0.push(_f3);break;default:var _f6=_e5[_f3];_e6[_f3]=(_f6&&"length" in _f6)?(_f5?_f5.split(/\s*,\s*/):[]):(_f6 instanceof Date)?(_f5==""?new Date(""):_f5=="now"?new Date():_b0.fromISOString(_f5)):(_f6 instanceof _ae)?(_a9.baseUrl+_f5):_b4(_f5);}}else{_e6[_f3]=_f5;}}}for(var j=0;j<_f0.length;j++){var _f7=_f0[j].toLowerCase();_e0.removeAttribute(_f7);_e0[_f7]=null;}if(_f2){try{_f2=_b4.call(_e2.propsThis,"{"+_f2+"}");_aa.mixin(_e6,_f2);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_f2+"'");}}_aa.mixin(_e6,_e1);if(!_e3){_e3=(_df&&(_df._noScript||_e5._noScript)?[]:_b2("> script[type^='dojo/']",_e0));}var _f8=[],_f9=[],_fa=[],ons=[];if(_e3){for(i=0;i<_e3.length;i++){var _fb=_e3[i];_e0.removeChild(_fb);var _fc=(_fb.getAttribute(_ed+"event")||_fb.getAttribute("event")),_fd=_fb.getAttribute(_ed+"prop"),_fe=_fb.getAttribute(_ed+"method"),_ff=_fb.getAttribute(_ed+"advice"),_100=_fb.getAttribute("type"),nf=this._functionFromScript(_fb,_ed);if(_fc){if(_100=="dojo/connect"){_f8.push({method:_fc,func:nf});}else{if(_100=="dojo/on"){ons.push({event:_fc,func:nf});}else{_e6[_fc]=nf;}}}else{if(_100=="dojo/aspect"){_f8.push({method:_fe,advice:_ff,func:nf});}else{if(_100=="dojo/watch"){_fa.push({prop:_fd,func:nf});}else{_f9.push(nf);}}}}}var _101=_df.markupFactory||_e5.markupFactory;var _102=_101?_101(_e6,_e0,_df):new _df(_e6,_e0);function _103(_104){if(_f1){_aa.setObject(_f1,_104);}for(i=0;i<_f8.length;i++){_af[_f8[i].advice||"after"](_104,_f8[i].method,_aa.hitch(_104,_f8[i].func),true);}for(i=0;i<_f9.length;i++){_f9[i].call(_104);}for(i=0;i<_fa.length;i++){_104.watch(_fa[i].prop,_fa[i].func);}for(i=0;i<ons.length;i++){don(_104,ons[i].event,ons[i].func);}return _104;};if(_102.then){return _102.then(_103);}else{return _103(_102);}},scan:function(root,_105){var list=[],mids=[],_106={};var _107=(_105.scope||_a9._scopeName)+"Type",_108="data-"+(_105.scope||_a9._scopeName)+"-",_109=_108+"type",_10a=_108+"textdir",_10b=_108+"mixins";var node=root.firstChild;var _10c=_105.inherited;if(!_10c){function _10d(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node.parentNode&&_10d(node.parentNode,attr));};_10c={dir:_10d(root,"dir"),lang:_10d(root,"lang"),textDir:_10d(root,_10a)};for(var key in _10c){if(!_10c[key]){delete _10c[key];}}}var _10e={inherited:_10c};var _10f;var _110;function _111(_112){if(!_112.inherited){_112.inherited={};var node=_112.node,_113=_111(_112.parent);var _114={dir:node.getAttribute("dir")||_113.dir,lang:node.getAttribute("lang")||_113.lang,textDir:node.getAttribute(_10a)||_113.textDir};for(var key in _114){if(_114[key]){_112.inherited[key]=_114[key];}}}return _112.inherited;};while(true){if(!node){if(!_10e||!_10e.node){break;}node=_10e.node.nextSibling;_110=false;_10e=_10e.parent;_10f=_10e.scripts;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_10f&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_10f.push(node);}node=node.nextSibling;continue;}if(_110){node=node.nextSibling;continue;}var type=node.getAttribute(_109)||node.getAttribute(_107);var _115=node.firstChild;if(!type&&(!_115||(_115.nodeType==3&&!_115.nextSibling))){node=node.nextSibling;continue;}var _116;var ctor=null;if(type){var _117=node.getAttribute(_10b),_118=_117?[type].concat(_117.split(/\s*,\s*/)):[type];try{ctor=_bc(_118,_105.contextRequire);}catch(e){}if(!ctor){_ab.forEach(_118,function(t){if(~t.indexOf("/")&&!_106[t]){_106[t]=true;mids[mids.length]=t;}});}var _119=ctor&&!ctor.prototype._noScript?[]:null;_116={types:_118,ctor:ctor,parent:_10e,node:node,scripts:_119};_116.inherited=_111(_116);list.push(_116);}else{_116={node:node,scripts:_10f,parent:_10e};}_10f=_119;_110=node.stopParser||(ctor&&ctor.prototype.stopParser&&!(_105.template));_10e=_116;node=_115;}var d=new _b1();if(mids.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+mids.join(", "));}var r=_105.contextRequire||_a8;r(mids,function(){d.resolve(_ab.filter(list,function(_11a){if(!_11a.ctor){try{_11a.ctor=_bc(_11a.types,_105.contextRequire);}catch(e){}}var _11b=_11a.parent;while(_11b&&!_11b.types){_11b=_11b.parent;}var _11c=_11a.ctor&&_11a.ctor.prototype;_11a.instantiateChildren=!(_11c&&_11c.stopParser&&!(_105.template));_11a.instantiate=!_11b||(_11b.instantiate&&_11b.instantiateChildren);return _11a.instantiate;}));});}else{d.resolve(list);}return d.promise;},_require:function(_11d,_11e){var hash=_b4("{"+_11d.innerHTML+"}"),vars=[],mids=[],d=new _b1();var _11f=(_11e&&_11e.contextRequire)||_a8;for(var name in hash){vars.push(name);mids.push(hash[name]);}_11f(mids,function(){for(var i=0;i<vars.length;i++){_aa.setObject(vars[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(root,_120){var _121=new _b1(),_122=_121.promise;_121.resolve(true);var self=this;_b2("script[type='dojo/require']",root).forEach(function(node){_122=_122.then(function(){return self._require(node,_120);});node.parentNode.removeChild(node);});return _122;},parse:function(_123,_124){var root;if(!_124&&_123&&_123.rootNode){_124=_123;root=_124.rootNode;}else{if(_123&&_aa.isObject(_123)&&!("nodeType" in _123)){_124=_123;}else{root=_123;}}root=root?dom.byId(root):_ad.body();_124=_124||{};var _125=_124.template?{template:true}:{},_126=[],self=this;var p=this._scanAmd(root,_124).then(function(){return self.scan(root,_124);}).then(function(_127){return self._instantiate(_127,_125,_124,true);}).then(function(_128){return _126=_126.concat(_128);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_aa.mixin(_126,p);return _126;}};if(1){_a9.parser=_c1;}if(_ac.parseOnLoad){_b3(100,_c1,"parse");}return _c1;});},"*noref":1}});define("dojo/_dom",[],1);require(["dojo/window","dojo/uacss","dojo/html","dojo/parser","dojo/touch"]);
}catch(e){console.log("Module 'dojo_dom_19': ",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/Source":function(){define(["../_base/array","../_base/declare","../_base/kernel","../_base/lang","../dom-class","../dom-geometry","../mouse","../ready","../topic","./common","./Selector","./Manager"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c){if(!_3.isAsync){_8(0,function(){var _d=["dojo/dnd/AutoSource","dojo/dnd/Target"];require(_d);});}var _e=_2("dojo.dnd.Source",_b,{isSource:true,horizontal:false,copyOnly:false,selfCopy:false,selfAccept:true,skipForm:false,withHandles:false,autoSync:false,delay:0,accept:["text"],generateText:true,constructor:function(_f,_10){_4.mixin(this,_4.mixin({},_10));var _11=this.accept;if(_11.length){this.accept={};for(var i=0;i<_11.length;++i){this.accept[_11[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){_5.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_5.add(this.node,"dojoDndTarget");}if(this.horizontal){_5.add(this.node,"dojoDndHorizontal");}this.topics=[_9.subscribe("/dnd/source/over",_4.hitch(this,"onDndSourceOver")),_9.subscribe("/dnd/start",_4.hitch(this,"onDndStart")),_9.subscribe("/dnd/drop",_4.hitch(this,"onDndDrop")),_9.subscribe("/dnd/cancel",_4.hitch(this,"onDndCancel"))];},checkAcceptance:function(_12,_13){if(this==_12){return !this.copyOnly||this.selfAccept;}for(var i=0;i<_13.length;++i){var _14=_12.getItem(_13[i].id).type;var _15=false;for(var j=0;j<_14.length;++j){if(_14[j] in this.accept){_15=true;break;}}if(!_15){return false;}}return true;},copyState:function(_16,_17){if(_16){return true;}if(arguments.length<2){_17=this==_c.manager().target;}if(_17){if(this.copyOnly){return this.selfCopy;}}else{return this.copyOnly;}return false;},destroy:function(){_e.superclass.destroy.call(this);_1.forEach(this.topics,function(t){t.remove();});this.targetAnchor=null;},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}_e.superclass.onMouseMove.call(this,e);var m=_c.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 _18=this.getSelectedNodes();if(_18.length){m.startDrag(this,_18,this.copyState(_a.getCopyKeyState(e),true));}}}if(this.isDragging){var _19=false;if(this.current){if(!this.targetBox||this.targetAnchor!=this.current){this.targetBox=_6.position(this.current,true);}if(this.horizontal){_19=(e.pageX-this.targetBox.x<this.targetBox.w/2)==_6.isBodyLtr(this.current.ownerDocument);}else{_19=(e.pageY-this.targetBox.y)<(this.targetBox.h/2);}}if(this.current!=this.targetAnchor||_19!=this.before){this._markTargetAnchor(_19);m.canDrop(!this.current||m.source!=this||!(this.current.id in this.selection));}}},onMouseDown:function(e){if(!this.mouseDown&&this._legalMouseDown(e)&&(!this.skipForm||!_a.isFormElement(e))){this.mouseDown=true;this._lastX=e.pageX;this._lastY=e.pageY;_e.superclass.onMouseDown.call(this,e);}},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;_e.superclass.onMouseUp.call(this,e);}},onDndSourceOver:function(_1a){if(this!==_1a){this.mouseDown=false;if(this.targetAnchor){this._unmarkTargetAnchor();}}else{if(this.isDragging){var m=_c.manager();m.canDrop(this.targetState!="Disabled"&&(!this.current||m.source!=this||!(this.current.id in this.selection)));}}},onDndStart:function(_1b,_1c,_1d){if(this.autoSync){this.sync();}if(this.isSource){this._changeState("Source",this==_1b?(_1d?"Copied":"Moved"):"");}var _1e=this.accept&&this.checkAcceptance(_1b,_1c);this._changeState("Target",_1e?"":"Disabled");if(this==_1b){_c.manager().overSource(this);}this.isDragging=true;},onDndDrop:function(_1f,_20,_21,_22){if(this==_22){this.onDrop(_1f,_20,_21);}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(_23,_24,_25){if(this!=_23){this.onDropExternal(_23,_24,_25);}else{this.onDropInternal(_24,_25);}},onDropExternal:function(_26,_27,_28){var _29=this._normalizedCreator;if(this.creator){this._normalizedCreator=function(_2a,_2b){return _29.call(this,_26.getItem(_2a.id).data,_2b);};}else{if(_28){this._normalizedCreator=function(_2c){var t=_26.getItem(_2c.id);var n=_2c.cloneNode(true);n.id=_a.getUniqueId();return {node:n,data:t.data,type:t.type};};}else{this._normalizedCreator=function(_2d){var t=_26.getItem(_2d.id);_26.delItem(_2d.id);return {node:_2d,data:t.data,type:t.type};};}}this.selectNone();if(!_28&&!this.creator){_26.selectNone();}this.insertNodes(true,_27,this.before,this.current);if(!_28&&this.creator){_26.deleteSelectedNodes();}this._normalizedCreator=_29;},onDropInternal:function(_2e,_2f){var _30=this._normalizedCreator;if(this.current&&this.current.id in this.selection){return;}if(_2f){if(this.creator){this._normalizedCreator=function(_31,_32){return _30.call(this,this.getItem(_31.id).data,_32);};}else{this._normalizedCreator=function(_33){var t=this.getItem(_33.id);var n=_33.cloneNode(true);n.id=_a.getUniqueId();return {node:n,data:t.data,type:t.type};};}}else{if(!this.current){return;}this._normalizedCreator=function(_34){var t=this.getItem(_34.id);return {node:_34,data:t.data,type:t.type};};}this._removeSelection();this.insertNodes(true,_2e,this.before,this.current);this._normalizedCreator=_30;},onDraggingOver:function(){},onDraggingOut:function(){},onOverEvent:function(){_e.superclass.onOverEvent.call(this);_c.manager().overSource(this);if(this.isDragging&&this.targetState!="Disabled"){this.onDraggingOver();}},onOutEvent:function(){_e.superclass.onOutEvent.call(this);_c.manager().outSource(this);if(this.isDragging&&this.targetState!="Disabled"){this.onDraggingOut();}},_markTargetAnchor:function(_35){if(this.current==this.targetAnchor&&this.before==_35){return;}if(this.targetAnchor){this._removeItemClass(this.targetAnchor,this.before?"Before":"After");}this.targetAnchor=this.current;this.targetBox=null;this.before=_35;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(_36){this._changeState("Source",_36?"Copied":"Moved");},_legalMouseDown:function(e){if(e.type!="touchstart"&&!_7.isLeft(e)){return false;}if(!this.withHandles){return true;}for(var _37=e.target;_37&&_37!==this.node;_37=_37.parentNode){if(_5.contains(_37,"dojoDndHandle")){return true;}if(_5.contains(_37,"dojoDndItem")||_5.contains(_37,"dojoDndIgnore")){break;}}return false;}});return _e;});},"dojo/dnd/Selector":function(){define(["../_base/array","../_base/declare","../_base/kernel","../_base/lang","../dom","../dom-construct","../mouse","../_base/NodeList","../on","../touch","./common","./Container"],function(_38,_39,_3a,_3b,dom,_3c,_3d,_3e,on,_3f,dnd,_40){var _41=_39("dojo.dnd.Selector",_40,{constructor:function(_42,_43){if(!_43){_43={};}this.singular=_43.singular;this.autoSync=_43.autoSync;this.selection={};this.anchor=null;this.simpleSelection=false;this.events.push(on(this.node,_3f.press,_3b.hitch(this,"onMouseDown")),on(this.node,_3f.release,_3b.hitch(this,"onMouseUp")));},singular:false,getSelectedNodes:function(){var t=new _3e();var e=dnd._empty;for(var i in this.selection){if(i in e){continue;}t.push(dom.byId(i));}return t;},selectNone:function(){return this._removeSelection()._removeAnchor();},selectAll:function(){this.forInItems(function(_44,id){this._addItemClass(dom.byId(id),"Selected");this.selection[id]=1;},this);return this._removeAnchor();},deleteSelectedNodes:function(){var e=dnd._empty;for(var i in this.selection){if(i in e){continue;}var n=dom.byId(i);this.delItem(i);_3c.destroy(n);}this.anchor=null;this.selection={};return this;},forInSelectedItems:function(f,o){o=o||_3a.global;var s=this.selection,e=dnd._empty;for(var i in s){if(i in e){continue;}f.call(o,this.getItem(i),i,this);}},sync:function(){_41.superclass.sync.call(this);if(this.anchor){if(!this.getItem(this.anchor.id)){this.anchor=null;}}var t=[],e=dnd._empty;for(var i in this.selection){if(i in e){continue;}if(!this.getItem(i)){t.push(i);}}_38.forEach(t,function(i){delete this.selection[i];},this);return this;},insertNodes:function(_45,_46,_47,_48){var _49=this._normalizedCreator;this._normalizedCreator=function(_4a,_4b){var t=_49.call(this,_4a,_4b);if(_45){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;};_41.superclass.insertNodes.call(this,_46,_47,_48);this._normalizedCreator=_49;return this;},destroy:function(){_41.superclass.destroy.call(this);this.selection=this.anchor=null;},onMouseDown:function(e){if(this.autoSync){this.sync();}if(!this.current){return;}if(!this.singular&&!dnd.getCopyKeyState(e)&&!e.shiftKey&&(this.current.id in this.selection)){this.simpleSelection=true;if(_3d.isLeft(e)){e.stopPropagation();e.preventDefault();}return;}if(!this.singular&&e.shiftKey){if(!dnd.getCopyKeyState(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,_4c;for(;i<c.length;++i){_4c=c[i];if(_4c==this.anchor||_4c==this.current){break;}}for(++i;i<c.length;++i){_4c=c[i];if(_4c==this.anchor||_4c==this.current){break;}this._addItemClass(_4c,"Selected");this.selection[_4c.id]=1;}this._addItemClass(this.current,"Selected");this.selection[this.current.id]=1;}}}else{if(this.singular){if(this.anchor==this.current){if(dnd.getCopyKeyState(e)){this.selectNone();}}else{this.selectNone();this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=1;}}else{if(dnd.getCopyKeyState(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;}}}}e.stopPropagation();e.preventDefault();},onMouseUp:function(){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(){this.simpleSelection=false;},onOverEvent:function(){this.onmousemoveEvent=on(this.node,_3f.move,_3b.hitch(this,"onMouseMove"));},onOutEvent:function(){if(this.onmousemoveEvent){this.onmousemoveEvent.remove();delete this.onmousemoveEvent;}},_removeSelection:function(){var e=dnd._empty;for(var i in this.selection){if(i in e){continue;}var _4d=dom.byId(i);if(_4d){this._removeItemClass(_4d,"Selected");}}this.selection={};return this;},_removeAnchor:function(){if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this.anchor=null;}return this;}});return _41;});},"dojo/dnd/Avatar":function(){define(["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_4e,win,dom,_4f,_50,_51,has,_52){return _4e("dojo.dnd.Avatar",null,{constructor:function(_53){this.manager=_53;this.construct();},construct:function(){var a=_51.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_54=this.manager.source,_55,b=_51.create("tbody",null,a),tr=_51.create("tr",null,b),td=_51.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_51.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_51.create("span",{innerHTML:_54.generateText?this._generateText():""},td);_4f.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_54.creator){_55=_54._normalizedCreator(_54.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{_55=this.manager.nodes[i].cloneNode(true);if(_55.tagName.toLowerCase()=="tr"){var _56=_51.create("table"),_57=_51.create("tbody",null,_56);_57.appendChild(_55);_55=_56;}}_55.id="";tr=_51.create("tr",null,b);td=_51.create("td",null,tr);td.appendChild(_55);_4f.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_51.destroy(this.node);this.node=false;},update:function(){_50.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(has("highcontrast")){var _58=dom.byId("a11yIcon");var _59="+";if(this.manager.canDropFlag&&!this.manager.copy){_59="< ";}else{if(!this.manager.canDropFlag&&!this.manager.copy){_59="o";}else{if(!this.manager.canDropFlag){_59="x";}}}_58.innerHTML=_59;}_52(("tr.dojoDndAvatarHeader td span"+(has("highcontrast")?" span":"")),this.node).forEach(function(_5a){_5a.innerHTML=this.manager.source.generateText?this._generateText():"";},this);},_generateText:function(){return this.manager.nodes.length.toString();}});});},"dojo/dnd/Target":function(){define(["../_base/declare","../dom-class","./Source"],function(_5b,_5c,_5d){return _5b("dojo.dnd.Target",_5d,{constructor:function(){this.isSource=false;_5c.remove(this.node,"dojoDndSource");}});});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_5e,_5f,dom){var _60=_5f.getObject("dojo.dnd",true);_60.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_60._uniqueId=0;_60.getUniqueId=function(){var id;do{id=_5e._scopeName+"Unique"+(++_60._uniqueId);}while(dom.byId(id));return id;};_60._empty={};_60.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _60;});},"dojo/dnd/Manager":function(){define(["../_base/array","../_base/declare","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_61,_62,_63,win,_64,_65,has,_66,on,_67,_68,dnd,_69,_6a){var _6b=_62("dojo.dnd.Manager",[_65],{constructor:function(){this.avatar=null;this.source=null;this.nodes=[];this.copy=true;this.target=null;this.canDropFlag=false;this.events=[];},OFFSET_X:has("touch")?0:16,OFFSET_Y:has("touch")?-64:16,overSource:function(_6c){if(this.avatar){this.target=(_6c&&_6c.targetState!="Disabled")?_6c:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_67.publish("/dnd/source/over",_6c);},outSource:function(_6d){if(this.avatar){if(this.target==_6d){this.target=null;this.canDropFlag=false;this.avatar.update();_67.publish("/dnd/source/over",null);}}else{_67.publish("/dnd/source/over",null);}},startDrag:function(_6e,_6f,_70){_69.autoScrollStart(win.doc);this.source=_6e;this.nodes=_6f;this.copy=Boolean(_70);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_67.publish("/dnd/start",_6e,_6f,this.copy);function _71(e){e.preventDefault();e.stopPropagation();};this.events=[on(win.doc,_68.move,_63.hitch(this,"onMouseMove")),on(win.doc,_68.release,_63.hitch(this,"onMouseUp")),on(win.doc,"keydown",_63.hitch(this,"onKeyDown")),on(win.doc,"keyup",_63.hitch(this,"onKeyUp")),on(win.doc,"dragstart",_71),on(win.body(),"selectstart",_71)];var c="dojoDnd"+(_70?"Copy":"Move");_64.add(win.body(),c);},canDrop:function(_72){var _73=Boolean(this.target&&_72);if(this.canDropFlag!=_73){this.canDropFlag=_73;this.avatar.update();}},stopDrag:function(){_64.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_61.forEach(this.events,function(_74){_74.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _6a(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_69.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var _75=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));if(this.copy!=_75){this._setCopyStatus(_75);}}if(has("touch")){e.preventDefault();}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var _76=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));_67.publish("/dnd/drop/before",this.source,this.nodes,_76,this.target,e);_67.publish("/dnd/drop",this.source,this.nodes,_76,this.target,e);}else{_67.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case _66.CTRL:var _77=Boolean(this.source.copyState(true));if(this.copy!=_77){this._setCopyStatus(_77);}break;case _66.ESCAPE:_67.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==_66.CTRL){var _78=Boolean(this.source.copyState(false));if(this.copy!=_78){this._setCopyStatus(_78);}}},_setCopyStatus:function(_79){this.copy=_79;this.source._markDndStatus(this.copy);this.updateAvatar();_64.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_6b.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _6b();}return dnd._manager;};return _6b;});},"dojo/dnd/AutoSource":function(){define(["../_base/declare","./Source"],function(_7a,_7b){return _7a("dojo.dnd.AutoSource",_7b,{constructor:function(){this.autoSync=true;}});});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_7c,_7d,_7e,_7f,has,_80,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_7d.blankGif||_7c.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_7f.getComputedStyle(div),_81=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_81&&(_81=="none"||_81=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_80(function(){if(has("highcontrast")){_7e.add(win.body(),"dj_a11y");}});return has;});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(_82,has,win,_83,_84,_85){var _86={};_82.setObject("dojo.dnd.autoscroll",_86);_86.getViewport=_85.getBox;_86.V_TRIGGER_AUTOSCROLL=32;_86.H_TRIGGER_AUTOSCROLL=32;_86.V_AUTOSCROLL_VALUE=16;_86.H_AUTOSCROLL_VALUE=16;var _87,doc=win.doc,_88=Infinity,_89=Infinity;_86.autoScrollStart=function(d){doc=d;_87=_85.getBox(doc);var _8a=win.body(doc).parentNode;_88=Math.max(_8a.scrollHeight-_87.h,0);_89=Math.max(_8a.scrollWidth-_87.w,0);};_86.autoScroll=function(e){var v=_87||_85.getBox(doc),_8b=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_86.H_TRIGGER_AUTOSCROLL){dx=-_86.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_86.H_TRIGGER_AUTOSCROLL){dx=Math.min(_86.H_AUTOSCROLL_VALUE,_89-_8b.scrollLeft);}}if(e.clientY<_86.V_TRIGGER_AUTOSCROLL){dy=-_86.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_86.V_TRIGGER_AUTOSCROLL){dy=Math.min(_86.V_AUTOSCROLL_VALUE,_88-_8b.scrollTop);}}window.scrollBy(dx,dy);};_86._validNodes={"div":1,"p":1,"td":1};_86._validOverflow={"auto":1,"scroll":1};_86.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_8c,_8d;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _86._validNodes)){var s=_84.getComputedStyle(n),_8e=(s.overflow.toLowerCase() in _86._validOverflow),_8f=(s.overflowX.toLowerCase() in _86._validOverflow),_90=(s.overflowY.toLowerCase() in _86._validOverflow);if(_8e||_8f||_90){b=_83.getContentBox(n,s);t=_83.position(n,true);}if(_8e||_8f){w=Math.min(_86.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_8c=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_8e||_90){h=Math.min(_86.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_8d=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_86.autoScroll(e);};return _86;});},"dojo/dnd/Container":function(){define(["../_base/array","../_base/declare","../_base/kernel","../_base/lang","../_base/window","../dom","../dom-class","../dom-construct","../Evented","../has","../on","../query","../touch","./common"],function(_91,_92,_93,_94,win,dom,_95,_96,_97,has,on,_98,_99,dnd){var _9a=_92("dojo.dnd.Container",_97,{skipForm:false,allowNested:false,constructor:function(_9b,_9c){this.node=dom.byId(_9b);if(!_9c){_9c={};}this.creator=_9c.creator||null;this.skipForm=_9c.skipForm;this.parent=_9c.dropParent&&dom.byId(_9c.dropParent);this.map={};this.current=null;this.containerState="";_95.add(this.node,"dojoDndContainer");if(!(_9c&&_9c._skipStartup)){this.startup();}this.events=[on(this.node,_99.over,_94.hitch(this,"onMouseOver")),on(this.node,_99.out,_94.hitch(this,"onMouseOut")),on(this.node,"dragstart",_94.hitch(this,"onSelectStart")),on(this.node,"selectstart",_94.hitch(this,"onSelectStart"))];},creator:function(){},getItem:function(key){return this.map[key];},setItem:function(key,_9d){this.map[key]=_9d;},delItem:function(key){delete this.map[key];},forInItems:function(f,o){o=o||_93.global;var m=this.map,e=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 _98((this.allowNested?"":"> ")+".dojoDndItem",this.parent);},sync:function(){var map={};this.getAllNodes().forEach(function(_9e){if(_9e.id){var _9f=this.getItem(_9e.id);if(_9f){map[_9e.id]=_9f;return;}}else{_9e.id=dnd.getUniqueId();}var _a0=_9e.getAttribute("dndType"),_a1=_9e.getAttribute("dndData");map[_9e.id]={data:_a1||_9e.innerHTML,type:_a0?_a0.split(/\s*,\s*/):["text"]};},this);this.map=map;return this;},insertNodes:function(_a2,_a3,_a4){if(!this.parent.firstChild){_a4=null;}else{if(_a3){if(!_a4){_a4=this.parent.firstChild;}}else{if(_a4){_a4=_a4.nextSibling;}}}var i,t;if(_a4){for(i=0;i<_a2.length;++i){t=this._normalizedCreator(_a2[i]);this.setItem(t.node.id,{data:t.data,type:t.type});_a4.parentNode.insertBefore(t.node,_a4);}}else{for(i=0;i<_a2.length;++i){t=this._normalizedCreator(_a2[i]);this.setItem(t.node.id,{data:t.data,type:t.type});this.parent.appendChild(t.node);}}return this;},destroy:function(){_91.forEach(this.events,function(_a5){_a5.remove();});this.clearItems();this.node=this.parent=this.current=null;},markupFactory:function(_a6,_a7,_a8){_a6._skipStartup=true;return new _a8(_a7,_a6);},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=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||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onOverEvent:function(){},onOutEvent:function(){},_changeState:function(_a9,_aa){var _ab="dojoDnd"+_a9;var _ac=_a9.toLowerCase()+"State";_95.replace(this.node,_ab+_aa,_ab+this[_ac]);this[_ac]=_aa;},_addItemClass:function(_ad,_ae){_95.add(_ad,"dojoDndItem"+_ae);},_removeItemClass:function(_af,_b0){_95.remove(_af,"dojoDndItem"+_b0);},_getChildByEvent:function(e){var _b1=e.target;if(_b1){for(var _b2=_b1.parentNode;_b2;_b1=_b2,_b2=_b1.parentNode){if((_b2==this.parent||this.allowNested)&&_95.contains(_b1,"dojoDndItem")){return _b1;}}}return null;},_normalizedCreator:function(_b3,_b4){var t=(this.creator||this.defaultCreator).call(this,_b3,_b4);if(!_94.isArray(t.type)){t.type=["text"];}if(!t.node.id){t.node.id=dnd.getUniqueId();}_95.add(t.node,"dojoDndItem");return t;}});dnd._createNode=function(tag){if(!tag){return dnd._createSpan;}return function(_b5){return _96.create(tag,{innerHTML:_b5});};};dnd._createTrTd=function(_b6){var tr=_96.create("tr");_96.create("td",{innerHTML:_b6},tr);return tr;};dnd._createSpan=function(_b7){return _96.create("span",{innerHTML:_b7});};dnd._defaultCreatorNodes={ul:"li",ol:"li",div:"div",p:"div"};dnd._defaultCreator=function(_b8){var tag=_b8.tagName.toLowerCase();var c=tag=="tbody"||tag=="thead"?dnd._createTrTd:dnd._createNode(dnd._defaultCreatorNodes[tag]);return function(_b9,_ba){var _bb=_b9&&_94.isObject(_b9),_bc,_bd,n;if(_bb&&_b9.tagName&&_b9.nodeType&&_b9.getAttribute){_bc=_b9.getAttribute("dndData")||_b9.innerHTML;_bd=_b9.getAttribute("dndType");_bd=_bd?_bd.split(/\s*,\s*/):["text"];n=_b9;}else{_bc=(_bb&&_b9.data)?_b9.data:_b9;_bd=(_bb&&_b9.type)?_b9.type:["text"];n=(_ba=="avatar"?dnd._createSpan:c)(String(_bc));}if(!n.id){n.id=dnd.getUniqueId();}return {node:n,data:_bc,type:_bd};};};return _9a;});},"*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_19': ",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/easing":function(){define(["../_base/lang"],function(_1){var _2={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-_2.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 _2.bounceIn(n*2)/2;}return (_2.bounceOut(n*2-1)/2)+0.5;}};_1.setObject("dojo.fx.easing",_2);return _2;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d){if(!_5.isAsync){_c(0,function(){var _e=["./fx/Toggler"];_d(_e);});}var _f=_5.fx={};var _10={_fire:function(evt,_11){if(this[evt]){this[evt].apply(this,_11||[]);}return this;}};var _12=function(_13){this._index=-1;this._animations=_13||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_6.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_12.prototype=new _4();_3.extend(_12,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_7.after(this._current,"onAnimate",_3.hitch(this,"_onAnimate"),true);this._onEndCtx=_7.after(this._current,"onEnd",_3.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_14,_15){if(!this._current){this._current=this._animations[this._index=0];}if(!_15&&this._current.status()=="playing"){return this;}var _16=_7.after(this._current,"beforeBegin",_3.hitch(this,function(){this._fire("beforeBegin");}),true),_17=_7.after(this._current,"onBegin",_3.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_18=_7.after(this._current,"onPlay",_3.hitch(this,function(arg){this._fire("onPlay",arguments);_16.remove();_17.remove();_18.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_7.after(this._current,"onAnimate",_3.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_7.after(this._current,"onEnd",_3.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_7.after(this._current,"onPause",_3.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_19,_1a){this.pause();var _1b=this.duration*_19;this._current=null;_6.some(this._animations,function(a){if(a.duration<=_1b){this._current=a;return true;}_1b-=a.duration;return false;});if(this._current){this._current.gotoPercent(_1b/this._current.duration,_1a);}return this;},stop:function(_1c){if(this._current){if(_1c){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_7.after(this._current,"onStop",_3.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});_3.extend(_12,_10);_f.chain=function(_1d){return new _12(_1d);};var _1e=function(_1f){this._animations=_1f||[];this._connects=[];this._finished=0;this.duration=0;_6.forEach(_1f,function(a){var _20=a.duration;if(a.delay){_20+=a.delay;}if(this.duration<_20){this.duration=_20;}this._connects.push(_7.after(a,"onEnd",_3.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _8.Animation({curve:[0,1],duration:this.duration});var _21=this;_6.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){_21._connects.push(_7.after(_21._pseudoAnimation,evt,function(){_21._fire(evt,arguments);},true));});};_3.extend(_1e,{_doAction:function(_22,_23){_6.forEach(this._animations,function(a){a[_22].apply(a,_23);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_24,_25){var t=this._pseudoAnimation;t[_24].apply(t,_25);},play:function(_26,_27){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(_28,_29){var ms=this.duration*_28;_6.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_29);});this._call("gotoPercent",arguments);return this;},stop:function(_2a){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_6.forEach(this._connects,function(_2b){_2b.remove();});}});_3.extend(_1e,_10);_f.combine=function(_2c){return new _1e(_2c);};_f.wipeIn=function(_2d){var _2e=_2d.node=_9.byId(_2d.node),s=_2e.style,o;var _2f=_8.animateProperty(_3.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 _30=_a.get(_2e,"height");return Math.max(_30,1);}},end:function(){return _2e.scrollHeight;}}}},_2d));var _31=function(){s.height="auto";s.overflow=o;};_7.after(_2f,"onStop",_31,true);_7.after(_2f,"onEnd",_31,true);return _2f;};_f.wipeOut=function(_32){var _33=_32.node=_9.byId(_32.node),s=_33.style,o;var _34=_8.animateProperty(_3.mixin({properties:{height:{end:1}}},_32));_7.after(_34,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var _35=function(){s.overflow=o;s.height="auto";s.display="none";};_7.after(_34,"onStop",_35,true);_7.after(_34,"onEnd",_35,true);return _34;};_f.slideTo=function(_36){var _37=_36.node=_9.byId(_36.node),top=null,_38=null;var _39=(function(n){return function(){var cs=_a.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);_38=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=_b.position(n,true);top=ret.y;_38=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=_38+"px";}};})(_37);_39();var _3a=_8.animateProperty(_3.mixin({properties:{top:_36.top||0,left:_36.left||0}},_36));_7.after(_3a,"beforeBegin",_39,true);return _3a;};return _f;});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],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.after(_40.showAnim,"beforeBegin",_3b.hitch(_40.hideAnim,"stop",true),true);_3e.after(_40.hideAnim,"beforeBegin",_3b.hitch(_40.showAnim,"stop",true),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_19': ",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/date/stamp":function(){define(["../_base/lang","../_base/array"],function(_1,_2){var _3={};_1.setObject("dojo.date.stamp",_3);_3.fromISOString=function(_4,_5){if(!_3._isoRegExp){_3._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _6=_3._isoRegExp.exec(_4),_7=null;if(_6){_6.shift();if(_6[1]){_6[1]--;}if(_6[6]){_6[6]*=1000;}if(_5){_5=new Date(_5);_2.forEach(_2.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_8){return _5["get"+_8]();}),function(_9,_a){_6[_a]=_6[_a]||_9;});}_7=new Date(_6[0]||1970,_6[1]||0,_6[2]||1,_6[3]||0,_6[4]||0,_6[5]||0,_6[6]||0);if(_6[0]<100){_7.setFullYear(_6[0]||1970);}var _b=0,_c=_6[7]&&_6[7].charAt(0);if(_c!="Z"){_b=((_6[8]||0)*60)+(Number(_6[9])||0);if(_c!="-"){_b*=-1;}}if(_c){_b-=_7.getTimezoneOffset();}if(_b){_7.setTime(_7.getTime()+_b*60000);}}return _7;};_3.toISOString=function(_d,_e){var _f=function(n){return (n<10)?"0"+n:n;};_e=_e||{};var _10=[],_11=_e.zulu?"getUTC":"get",_12="";if(_e.selector!="time"){var _13=_d[_11+"FullYear"]();_12=["0000".substr((_13+"").length)+_13,_f(_d[_11+"Month"]()+1),_f(_d[_11+"Date"]())].join("-");}_10.push(_12);if(_e.selector!="date"){var _14=[_f(_d[_11+"Hours"]()),_f(_d[_11+"Minutes"]()),_f(_d[_11+"Seconds"]())].join(":");var _15=_d[_11+"Milliseconds"]();if(_e.milliseconds){_14+="."+(_15<100?"0":"")+_f(_15);}if(_e.zulu){_14+="Z";}else{if(_e.selector!="time"){var _16=_d.getTimezoneOffset();var _17=Math.abs(_16);_14+=(_16>0?"-":"+")+_f(Math.floor(_17/60))+":"+_f(_17%60);}}_10.push(_14);}return _10.join("T");};return _3;});},"dojo/data/ObjectStore":function(){define(["../_base/lang","../Evented","../_base/declare","../_base/Deferred","../_base/array","../_base/connect","../regexp"],function(_18,_19,_1a,_1b,_1c,_1d,_1e){function _1f(_20){return _20=="*"?".*":_20=="?"?".":_20;};return _1a("dojo.data.ObjectStore",[_19],{objectStore:null,constructor:function(_21){this._dirtyObjects=[];if(_21.labelAttribute){_21.labelProperty=_21.labelAttribute;}_18.mixin(this,_21);},labelProperty:"label",getValue:function(_22,_23,_24){return typeof _22.get==="function"?_22.get(_23):_23 in _22?_22[_23]:_24;},getValues:function(_25,_26){var val=this.getValue(_25,_26);return val instanceof Array?val:val===undefined?[]:[val];},getAttributes:function(_27){var res=[];for(var i in _27){if(_27.hasOwnProperty(i)&&!(i.charAt(0)=="_"&&i.charAt(1)=="_")){res.push(i);}}return res;},hasAttribute:function(_28,_29){return _29 in _28;},containsValue:function(_2a,_2b,_2c){return _1c.indexOf(this.getValues(_2a,_2b),_2c)>-1;},isItem:function(_2d){return (typeof _2d=="object")&&_2d&&!(_2d instanceof Date);},isItemLoaded:function(_2e){return _2e&&typeof _2e.load!=="function";},loadItem:function(_2f){var _30;if(typeof _2f.item.load==="function"){_1b.when(_2f.item.load(),function(_31){_30=_31;var _32=_31 instanceof Error?_2f.onError:_2f.onItem;if(_32){_32.call(_2f.scope,_31);}});}else{if(_2f.onItem){_2f.onItem.call(_2f.scope,_2f.item);}}return _30;},close:function(_33){return _33&&_33.abort&&_33.abort();},fetch:function(_34){_34=_18.delegate(_34,_34&&_34.queryOptions);var _35=this;var _36=_34.scope||_35;var _37=_34.query;if(typeof _37=="object"){_37=_18.delegate(_37);for(var i in _37){var _38=_37[i];if(typeof _38=="string"){_37[i]=RegExp("^"+_1e.escapeString(_38,"*?\\").replace(/\\.|\*|\?/g,_1f)+"$",_34.ignoreCase?"mi":"m");_37[i].toString=(function(_39){return function(){return _39;};})(_38);}}}var _3a=this.objectStore.query(_37,_34);_1b.when(_3a.total,function(_3b){_1b.when(_3a,function(_3c){if(_34.onBegin){_34.onBegin.call(_36,_3b||_3c.length,_34);}if(_34.onItem){for(var i=0;i<_3c.length;i++){_34.onItem.call(_36,_3c[i],_34);}}if(_34.onComplete){_34.onComplete.call(_36,_34.onItem?null:_3c,_34);}return _3c;},_3d);},_3d);function _3d(_3e){if(_34.onError){_34.onError.call(_36,_3e,_34);}};_34.abort=function(){if(_3a.cancel){_3a.cancel();}};if(_3a.observe){if(this.observing){this.observing.cancel();}this.observing=_3a.observe(function(_3f,_40,_41){if(_1c.indexOf(_35._dirtyObjects,_3f)==-1){if(_40==-1){_35.onNew(_3f);}else{if(_41==-1){_35.onDelete(_3f);}else{for(var i in _3f){if(i!=_35.objectStore.idProperty){_35.onSet(_3f,i,null,_3f[i]);}}}}}},true);}this.onFetch(_3a);_34.store=this;return _34;},getFeatures:function(){return {"dojo.data.api.Read":!!this.objectStore.get,"dojo.data.api.Identity":true,"dojo.data.api.Write":!!this.objectStore.put,"dojo.data.api.Notification":true};},getLabel:function(_42){if(this.isItem(_42)){return this.getValue(_42,this.labelProperty);}return undefined;},getLabelAttributes:function(_43){return [this.labelProperty];},getIdentity:function(_44){return this.objectStore.getIdentity?this.objectStore.getIdentity(_44):_44[this.objectStore.idProperty||"id"];},getIdentityAttributes:function(_45){return [this.objectStore.idProperty];},fetchItemByIdentity:function(_46){var _47;_1b.when(this.objectStore.get(_46.identity),function(_48){_47=_48;_46.onItem.call(_46.scope,_48);},function(_49){_46.onError.call(_46.scope,_49);});return _47;},newItem:function(_4a,_4b){if(_4b){var _4c=this.getValue(_4b.parent,_4b.attribute,[]);_4c=_4c.concat([_4a]);_4a.__parent=_4c;this.setValue(_4b.parent,_4b.attribute,_4c);}this._dirtyObjects.push({object:_4a,save:true});this.onNew(_4a);return _4a;},deleteItem:function(_4d){this.changing(_4d,true);this.onDelete(_4d);},setValue:function(_4e,_4f,_50){var old=_4e[_4f];this.changing(_4e);_4e[_4f]=_50;this.onSet(_4e,_4f,old,_50);},setValues:function(_51,_52,_53){if(!_18.isArray(_53)){throw new Error("setValues expects to be passed an Array object as its value");}this.setValue(_51,_52,_53);},unsetAttribute:function(_54,_55){this.changing(_54);var old=_54[_55];delete _54[_55];this.onSet(_54,_55,old,undefined);},changing:function(_56,_57){_56.__isDirty=true;for(var i=0;i<this._dirtyObjects.length;i++){var _58=this._dirtyObjects[i];if(_56==_58.object){if(_57){_58.object=false;if(!this._saveNotNeeded){_58.save=true;}}return;}}var old=_56 instanceof Array?[]:{};for(i in _56){if(_56.hasOwnProperty(i)){old[i]=_56[i];}}this._dirtyObjects.push({object:!_57&&_56,old:old,save:!this._saveNotNeeded});},save:function(_59){_59=_59||{};var _5a,_5b=[];var _5c=[];var _5d=this;var _5e=this._dirtyObjects;var _5f=_5e.length;try{_1d.connect(_59,"onError",function(){if(_59.revertOnError!==false){var _60=_5e;_5e=_5c;_5d.revert();_5d._dirtyObjects=_60;}else{_5d._dirtyObjects=_5e.concat(_5c);}});if(this.objectStore.transaction){var _61=this.objectStore.transaction();}for(var i=0;i<_5e.length;i++){var _62=_5e[i];var _63=_62.object;var old=_62.old;delete _63.__isDirty;if(_63){_5a=this.objectStore.put(_63,{overwrite:!!old});}else{if(typeof old!="undefined"){_5a=this.objectStore.remove(this.getIdentity(old));}}_5c.push(_62);_5e.splice(i--,1);_1b.when(_5a,function(_64){if(!(--_5f)){if(_59.onComplete){_59.onComplete.call(_59.scope,_5b);}}},function(_65){_5f=-1;_59.onError.call(_59.scope,_65);});}if(_61){_61.commit();}}catch(e){_59.onError.call(_59.scope,value);}},revert:function(){var _66=this._dirtyObjects;for(var i=_66.length;i>0;){i--;var _67=_66[i];var _68=_67.object;var old=_67.old;if(_68&&old){for(var j in old){if(old.hasOwnProperty(j)&&_68[j]!==old[j]){this.onSet(_68,j,_68[j],old[j]);_68[j]=old[j];}}for(j in _68){if(!old.hasOwnProperty(j)){this.onSet(_68,j,_68[j]);delete _68[j];}}}else{if(!old){this.onDelete(_68);}else{this.onNew(old);}}delete (_68||old).__isDirty;_66.splice(i,1);}},isDirty:function(_69){if(!_69){return !!this._dirtyObjects.length;}return _69.__isDirty;},onSet:function(){},onNew:function(){},onDelete:function(){},onFetch:function(_6a){}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_6b,_6c,_6d,_6e,xhr,_6f,_70,_71,_72){var _73=_6d("dojo.data.ItemFileReadStore",[_6f],{constructor:function(_74){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_74.url;this._ccUrl=_74.url;this.url=_74.url;this._jsonData=_74.data;this.data=null;this._datatypeMap=_74.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_75){return _72.fromISOString(_75);}};}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(_74.urlPreventCache!==undefined){this.urlPreventCache=_74.urlPreventCache?true:false;}if(_74.hierarchical!==undefined){this.hierarchical=_74.hierarchical?true:false;}if(_74.clearOnClose){this.clearOnClose=true;}if("failOk" in _74){this.failOk=_74.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(_76){if(!this.isItem(_76)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_77){if(typeof _77!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(_78,_79,_7a){var _7b=this.getValues(_78,_79);return (_7b.length>0)?_7b[0]:_7a;},getValues:function(_7c,_7d){this._assertIsItem(_7c);this._assertIsAttribute(_7d);return (_7c[_7d]||[]).slice(0);},getAttributes:function(_7e){this._assertIsItem(_7e);var _7f=[];for(var key in _7e){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_7f.push(key);}}return _7f;},hasAttribute:function(_80,_81){this._assertIsItem(_80);this._assertIsAttribute(_81);return (_81 in _80);},containsValue:function(_82,_83,_84){var _85=undefined;if(typeof _84==="string"){_85=_70.patternToRegExp(_84,false);}return this._containsValue(_82,_83,_84,_85);},_containsValue:function(_86,_87,_88,_89){return _6e.some(this.getValues(_86,_87),function(_8a){if(_8a!==null&&!_6c.isObject(_8a)&&_89){if(_8a.toString().match(_89)){return true;}}else{if(_88===_8a){return true;}}});},isItem:function(_8b){if(_8b&&_8b[this._storeRefPropName]===this){if(this._arrayOfAllItems[_8b[this._itemNumPropName]]===_8b){return true;}}return false;},isItemLoaded:function(_8c){return this.isItem(_8c);},loadItem:function(_8d){this._assertIsItem(_8d.item);},getFeatures:function(){return this._features;},getLabel:function(_8e){if(this._labelAttr&&this.isItem(_8e)){return this.getValue(_8e,this._labelAttr);}return undefined;},getLabelAttributes:function(_8f){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_90,_91,_92){var _93=[],i,key;if(_90.query){var _94,_95=_90.queryOptions?_90.queryOptions.ignoreCase:false;var _96={};for(key in _90.query){_94=_90.query[key];if(typeof _94==="string"){_96[key]=_70.patternToRegExp(_94,_95);}else{if(_94 instanceof RegExp){_96[key]=_94;}}}for(i=0;i<_91.length;++i){var _97=true;var _98=_91[i];if(_98===null){_97=false;}else{for(key in _90.query){_94=_90.query[key];if(!this._containsValue(_98,key,_94,_96[key])){_97=false;}}}if(_97){_93.push(_98);}}_92(_93,_90);}else{for(i=0;i<_91.length;++i){var _99=_91[i];if(_99!==null){_93.push(_99);}}_92(_93,_90);}},_fetchItems:function(_9a,_9b,_9c){var _9d=this;if(this._loadFinished){this.filter(_9a,this._getItemsArray(_9a.queryOptions),_9b);}else{if(this._jsonFileUrl!==this._ccUrl){_6b.deprecated(this.declaredClass+": ","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:_9a,filter:_6c.hitch(_9d,"filter"),findCallback:_6c.hitch(_9d,_9b)});}else{this._loadInProgress=true;var _9e={url:_9d._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _9f=xhr.get(_9e);_9f.addCallback(function(_a0){try{_9d._getItemsFromLoadedData(_a0);_9d._loadFinished=true;_9d._loadInProgress=false;_9d.filter(_9a,_9d._getItemsArray(_9a.queryOptions),_9b);_9d._handleQueuedFetches();}catch(e){_9d._loadFinished=true;_9d._loadInProgress=false;_9c(e,_9a);}});_9f.addErrback(function(_a1){_9d._loadInProgress=false;_9c(_a1,_9a);});var _a2=null;if(_9a.abort){_a2=_9a.abort;}_9a.abort=function(){var df=_9f;if(df&&df.fired===-1){df.cancel();df=null;}if(_a2){_a2.call(_9a);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_9d.filter(_9a,this._getItemsArray(_9a.queryOptions),_9b);}catch(e){_9c(e,_9a);}}else{_9c(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_9a);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _a3=this._queuedFetches[i],_a4=_a3.args,_a5=_a3.filter,_a6=_a3.findCallback;if(_a5){_a5(_a4,this._getItemsArray(_a4.queryOptions),_a6);}else{this.fetchItemByIdentity(_a4);}}this._queuedFetches=[];}},_getItemsArray:function(_a7){if(_a7&&_a7.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_a8){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(_a9){var _aa=false,_ab=this;function _ac(_ad){return (_ad!==null)&&(typeof _ad==="object")&&(!_6c.isArray(_ad)||_aa)&&(!_6c.isFunction(_ad))&&(_ad.constructor==Object||_6c.isArray(_ad))&&(typeof _ad._reference==="undefined")&&(typeof _ad._type==="undefined")&&(typeof _ad._value==="undefined")&&_ab.hierarchical;};function _ae(_af){_ab._arrayOfAllItems.push(_af);for(var _b0 in _af){var _b1=_af[_b0];if(_b1){if(_6c.isArray(_b1)){var _b2=_b1;for(var k=0;k<_b2.length;++k){var _b3=_b2[k];if(_ac(_b3)){_ae(_b3);}}}else{if(_ac(_b1)){_ae(_b1);}}}}};this._labelAttr=_a9.label;var i,_b4;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_a9.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){_b4=this._arrayOfTopLevelItems[i];if(_6c.isArray(_b4)){_aa=true;}_ae(_b4);_b4[this._rootItemPropName]=true;}var _b5={},key;for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];for(key in _b4){if(key!==this._rootItemPropName){var _b6=_b4[key];if(_b6!==null){if(!_6c.isArray(_b6)){_b4[key]=[_b6];}}else{_b4[key]=[null];}}_b5[key]=key;}}while(_b5[this._storeRefPropName]){this._storeRefPropName+="_";}while(_b5[this._itemNumPropName]){this._itemNumPropName+="_";}while(_b5[this._reverseRefMap]){this._reverseRefMap+="_";}var _b7;var _b8=_a9.identifier;if(_b8){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_b8;for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];_b7=_b4[_b8];var _b9=_b7[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_b9)){this._itemsByIdentity[_b9]=_b4;}else{if(this._jsonFileUrl){throw new Error(this.declaredClass+":  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+_b8+"].  Value collided: ["+_b9+"]");}else{if(this._jsonData){throw new Error(this.declaredClass+":  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+_b8+"].  Value collided: ["+_b9+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];_b4[this._storeRefPropName]=this;_b4[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];for(key in _b4){_b7=_b4[key];for(var j=0;j<_b7.length;++j){_b6=_b7[j];if(_b6!==null&&typeof _b6=="object"){if(("_type" in _b6)&&("_value" in _b6)){var _ba=_b6._type;var _bb=this._datatypeMap[_ba];if(!_bb){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+_ba+"'");}else{if(_6c.isFunction(_bb)){_b7[j]=new _bb(_b6._value);}else{if(_6c.isFunction(_bb.deserialize)){_b7[j]=_bb.deserialize(_b6._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(_b6._reference){var _bc=_b6._reference;if(!_6c.isObject(_bc)){_b7[j]=this._getItemByIdentity(_bc);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _bd=this._arrayOfAllItems[k],_be=true;for(var _bf in _bc){if(_bd[_bf]!=_bc[_bf]){_be=false;}}if(_be){_b7[j]=_bd;}}}if(this.referenceIntegrity){var _c0=_b7[j];if(this.isItem(_c0)){this._addReferenceToMap(_c0,_b4,key);}}}else{if(this.isItem(_b6)){if(this.referenceIntegrity){this._addReferenceToMap(_b6,_b4,key);}}}}}}}},_addReferenceToMap:function(_c1,_c2,_c3){},getIdentity:function(_c4){var _c5=this._features["dojo.data.api.Identity"];if(_c5===Number){return _c4[this._itemNumPropName];}else{var _c6=_c4[_c5];if(_c6){return _c6[0];}}return null;},fetchItemByIdentity:function(_c7){var _c8,_c9;if(!this._loadFinished){var _ca=this;if(this._jsonFileUrl!==this._ccUrl){_6b.deprecated(this.declaredClass+": ","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:_c7});}else{this._loadInProgress=true;var _cb={url:_ca._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _cc=xhr.get(_cb);_cc.addCallback(function(_cd){var _ce=_c7.scope?_c7.scope:_6b.global;try{_ca._getItemsFromLoadedData(_cd);_ca._loadFinished=true;_ca._loadInProgress=false;_c8=_ca._getItemByIdentity(_c7.identity);if(_c7.onItem){_c7.onItem.call(_ce,_c8);}_ca._handleQueuedFetches();}catch(error){_ca._loadInProgress=false;if(_c7.onError){_c7.onError.call(_ce,error);}}});_cc.addErrback(function(_cf){_ca._loadInProgress=false;if(_c7.onError){var _d0=_c7.scope?_c7.scope:_6b.global;_c7.onError.call(_d0,_cf);}});}}else{if(this._jsonData){_ca._getItemsFromLoadedData(_ca._jsonData);_ca._jsonData=null;_ca._loadFinished=true;_c8=_ca._getItemByIdentity(_c7.identity);if(_c7.onItem){_c9=_c7.scope?_c7.scope:_6b.global;_c7.onItem.call(_c9,_c8);}}}}else{_c8=this._getItemByIdentity(_c7.identity);if(_c7.onItem){_c9=_c7.scope?_c7.scope:_6b.global;_c7.onItem.call(_c9,_c8);}}},_getItemByIdentity:function(_d1){var _d2=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_d1)){_d2=this._itemsByIdentity[_d1];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_d1)){_d2=this._arrayOfAllItems[_d1];}}if(_d2===undefined){_d2=null;}return _d2;},getIdentityAttributes:function(_d3){var _d4=this._features["dojo.data.api.Identity"];if(_d4===Number){return null;}else{return [_d4];}},_forceLoad:function(){var _d5=this;if(this._jsonFileUrl!==this._ccUrl){_6b.deprecated(this.declaredClass+": ","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 _d6={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _d7=xhr.get(_d6);_d7.addCallback(function(_d8){try{if(_d5._loadInProgress!==true&&!_d5._loadFinished){_d5._getItemsFromLoadedData(_d8);_d5._loadFinished=true;}else{if(_d5._loadInProgress){throw new Error(this.declaredClass+":  Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_d7.addErrback(function(_d9){throw _d9;});}else{if(this._jsonData){_d5._getItemsFromLoadedData(_d5._jsonData);_d5._jsonData=null;_d5._loadFinished=true;}}}});_6c.extend(_73,_71);return _73;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(_da,_db){var _dc={};_db.setObject("dojo.regexp",_dc);_dc.escapeString=function(str,_dd){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_dd&&_dd.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_dc.buildGroupRE=function(arr,re,_de){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _dc.group(b.join("|"),_de);};_dc.group=function(_df,_e0){return "("+(_e0?"?:":"")+_df+")";};return _dc;});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(_e1,_e2,_e3,_e4,_e5,_e6,_e7){return _e2("dojo.data.ItemFileWriteStore",_e6,{constructor:function(_e8){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 _e7.toISOString(obj,{zulu:true});};}if(_e8&&(_e8.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_e9){if(!_e9){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_ea,_eb){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _ea!="object"&&typeof _ea!="undefined"){throw new Error("newItem() was passed something other than an object");}var _ec=null;var _ed=this._getIdentifierAttribute();if(_ed===Number){_ec=this._arrayOfAllItems.length;}else{_ec=_ea[_ed];if(typeof _ec==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(_e1.isArray(_ec)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_ec]==="undefined");}this._assert(typeof this._pending._newItems[_ec]==="undefined");this._assert(typeof this._pending._deletedItems[_ec]==="undefined");var _ee={};_ee[this._storeRefPropName]=this;_ee[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_ec]=_ee;_ee[_ed]=[_ec];}this._arrayOfAllItems.push(_ee);var _ef=null;if(_eb&&_eb.parent&&_eb.attribute){_ef={item:_eb.parent,attribute:_eb.attribute,oldValue:undefined};var _f0=this.getValues(_eb.parent,_eb.attribute);if(_f0&&_f0.length>0){var _f1=_f0.slice(0,_f0.length);if(_f0.length===1){_ef.oldValue=_f0[0];}else{_ef.oldValue=_f0.slice(0,_f0.length);}_f1.push(_ee);this._setValueOrValues(_eb.parent,_eb.attribute,_f1,false);_ef.newValue=this.getValues(_eb.parent,_eb.attribute);}else{this._setValueOrValues(_eb.parent,_eb.attribute,_ee,false);_ef.newValue=_ee;}}else{_ee[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_ee);}this._pending._newItems[_ec]=_ee;for(var key in _ea){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _f2=_ea[key];if(!_e1.isArray(_f2)){_f2=[_f2];}_ee[key]=_f2;if(this.referenceIntegrity){for(var i=0;i<_f2.length;i++){var val=_f2[i];if(this.isItem(val)){this._addReferenceToMap(val,_ee,key);}}}}this.onNew(_ee,_ef);return _ee;},_removeArrayElement:function(_f3,_f4){var _f5=_e3.indexOf(_f3,_f4);if(_f5!=-1){_f3.splice(_f5,1);return true;}return false;},deleteItem:function(_f6){this._assert(!this._saveInProgress);this._assertIsItem(_f6);var _f7=_f6[this._itemNumPropName];var _f8=this.getIdentity(_f6);if(this.referenceIntegrity){var _f9=this.getAttributes(_f6);if(_f6[this._reverseRefMap]){_f6["backup_"+this._reverseRefMap]=_e1.clone(_f6[this._reverseRefMap]);}_e3.forEach(_f9,function(_fa){_e3.forEach(this.getValues(_f6,_fa),function(_fb){if(this.isItem(_fb)){if(!_f6["backupRefs_"+this._reverseRefMap]){_f6["backupRefs_"+this._reverseRefMap]=[];}_f6["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_fb),attr:_fa});this._removeReferenceFromMap(_fb,_f6,_fa);}},this);},this);var _fc=_f6[this._reverseRefMap];if(_fc){for(var _fd in _fc){var _fe=null;if(this._itemsByIdentity){_fe=this._itemsByIdentity[_fd];}else{_fe=this._arrayOfAllItems[_fd];}if(_fe){for(var _ff in _fc[_fd]){var _100=this.getValues(_fe,_ff)||[];var _101=_e3.filter(_100,function(_102){return !(this.isItem(_102)&&this.getIdentity(_102)==_f8);},this);this._removeReferenceFromMap(_f6,_fe,_ff);if(_101.length<_100.length){this._setValueOrValues(_fe,_ff,_101,true);}}}}}}this._arrayOfAllItems[_f7]=null;_f6[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_f8];}this._pending._deletedItems[_f8]=_f6;if(_f6[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_f6);}this.onDelete(_f6);return true;},setValue:function(item,_103,_104){return this._setValueOrValues(item,_103,_104,true);},setValues:function(item,_105,_106){return this._setValueOrValues(item,_105,_106,true);},unsetAttribute:function(item,_107){return this._setValueOrValues(item,_107,[],true);},_setValueOrValues:function(item,_108,_109,_10a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(_e1.isString(_108));this._assert(typeof _109!=="undefined");var _10b=this._getIdentifierAttribute();if(_108==_10b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _10c=this._getValueOrValues(item,_108);var _10d=this.getIdentity(item);if(!this._pending._modifiedItems[_10d]){var _10e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_10e[key]=item[key];}else{if(key===this._reverseRefMap){_10e[key]=_e1.clone(item[key]);}else{_10e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_10d]=_10e;}var _10f=false;if(_e1.isArray(_109)&&_109.length===0){_10f=delete item[_108];_109=undefined;if(this.referenceIntegrity&&_10c){var _110=_10c;if(!_e1.isArray(_110)){_110=[_110];}for(var i=0;i<_110.length;i++){var _111=_110[i];if(this.isItem(_111)){this._removeReferenceFromMap(_111,item,_108);}}}}else{var _112;if(_e1.isArray(_109)){_112=_109.slice(0,_109.length);}else{_112=[_109];}if(this.referenceIntegrity){if(_10c){var _110=_10c;if(!_e1.isArray(_110)){_110=[_110];}var map={};_e3.forEach(_110,function(_113){if(this.isItem(_113)){var id=this.getIdentity(_113);map[id.toString()]=true;}},this);_e3.forEach(_112,function(_114){if(this.isItem(_114)){var id=this.getIdentity(_114);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_114,item,_108);}}},this);for(var rId in map){var _115;if(this._itemsByIdentity){_115=this._itemsByIdentity[rId];}else{_115=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_115,item,_108);}}else{for(var i=0;i<_112.length;i++){var _111=_112[i];if(this.isItem(_111)){this._addReferenceToMap(_111,item,_108);}}}}item[_108]=_112;_10f=true;}if(_10a){this.onSet(item,_108,_10c,_109);}return _10f;},_addReferenceToMap:function(_116,_117,_118){var _119=this.getIdentity(_117);var _11a=_116[this._reverseRefMap];if(!_11a){_11a=_116[this._reverseRefMap]={};}var _11b=_11a[_119];if(!_11b){_11b=_11a[_119]={};}_11b[_118]=true;},_removeReferenceFromMap:function(_11c,_11d,_11e){var _11f=this.getIdentity(_11d);var _120=_11c[this._reverseRefMap];var _121;if(_120){for(_121 in _120){if(_121==_11f){delete _120[_121][_11e];if(this._isEmpty(_120[_121])){delete _120[_121];}}}if(this._isEmpty(_120)){delete _11c[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i<this._arrayOfAllItems.length;i++){var item=this._arrayOfAllItems[i];if(item&&item[this._reverseRefMap]){}}},_getValueOrValues:function(item,_122){var _123=undefined;if(this.hasAttribute(item,_122)){var _124=this.getValues(item,_122);if(_124.length==1){_123=_124[0];}else{_123=_124;}}return _123;},_flatten:function(_125){if(this.isItem(_125)){return {_reference:this.getIdentity(_125)};}else{if(typeof _125==="object"){for(var type in this._datatypeMap){var _126=this._datatypeMap[type];if(_e1.isObject(_126)&&!_e1.isFunction(_126)){if(_125 instanceof _126.type){if(!_126.serialize){throw new Error("ItemFileWriteStore:  No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_126.serialize(_125)};}}else{if(_125 instanceof _126){return {_type:type,_value:_125.toString()};}}}}return _125;}},_getNewFileContentString:function(){var _127={};var _128=this._getIdentifierAttribute();if(_128!==Number){_127.identifier=_128;}if(this._labelAttr){_127.label=this._labelAttr;}_127.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _129={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _12a=this.getValues(item,key);if(_12a.length==1){_129[key]=this._flatten(_12a[0]);}else{var _12b=[];for(var j=0;j<_12a.length;++j){_12b.push(this._flatten(_12a[j]));_129[key]=_12b;}}}}_127.items.push(_129);}}var _12c=true;return _e4.toJson(_127,_12c);},_isEmpty:function(_12d){var _12e=true;if(_e1.isObject(_12d)){var i;for(i in _12d){_12e=false;break;}}else{if(_e1.isArray(_12d)){if(_12d.length>0){_12e=false;}}}return _12e;},save:function(_12f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _130=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_12f&&_12f.onComplete){var _131=_12f.scope||_e5.global;_12f.onComplete.call(_131);}};var _132=function(err){self._saveInProgress=false;if(_12f&&_12f.onError){var _133=_12f.scope||_e5.global;_12f.onError.call(_133,err);}};if(this._saveEverything){var _134=this._getNewFileContentString();this._saveEverything(_130,_132,_134);}if(this._saveCustom){this._saveCustom(_130,_132);}if(!this._saveEverything&&!this._saveCustom){_130();}},revert:function(){this._assert(!this._saveInProgress);var _135;for(_135 in this._pending._modifiedItems){var _136=this._pending._modifiedItems[_135];var _137=null;if(this._itemsByIdentity){_137=this._itemsByIdentity[_135];}else{_137=this._arrayOfAllItems[_135];}_136[this._storeRefPropName]=this;for(var key in _137){delete _137[key];}_e1.mixin(_137,_136);}var _138;for(_135 in this._pending._deletedItems){_138=this._pending._deletedItems[_135];_138[this._storeRefPropName]=this;var _139=_138[this._itemNumPropName];if(_138["backup_"+this._reverseRefMap]){_138[this._reverseRefMap]=_138["backup_"+this._reverseRefMap];delete _138["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_139]=_138;if(this._itemsByIdentity){this._itemsByIdentity[_135]=_138;}if(_138[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_138);}}for(_135 in this._pending._deletedItems){_138=this._pending._deletedItems[_135];if(_138["backupRefs_"+this._reverseRefMap]){_e3.forEach(_138["backupRefs_"+this._reverseRefMap],function(_13a){var _13b;if(this._itemsByIdentity){_13b=this._itemsByIdentity[_13a.id];}else{_13b=this._arrayOfAllItems[_13a.id];}this._addReferenceToMap(_13b,_138,_13a.attr);},this);delete _138["backupRefs_"+this._reverseRefMap];}}for(_135 in this._pending._newItems){var _13c=this._pending._newItems[_135];_13c[this._storeRefPropName]=null;this._arrayOfAllItems[_13c[this._itemNumPropName]]=null;if(_13c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_13c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_135];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _13d=this.getIdentity(item);return new Boolean(this._pending._newItems[_13d]||this._pending._modifiedItems[_13d]||this._pending._deletedItems[_13d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_13e,_13f,_140){},onNew:function(_141,_142){},onDelete:function(_143){},close:function(_144){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/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_145,_146){var _147={};lang.setObject("dojo.data.util.simpleFetch",_147);_147.errorHandler=function(_148,_149){if(_149.onError){var _14a=_149.scope||_145.global;_149.onError.call(_14a,_148,_149);}};_147.fetchHandler=function(_14b,_14c){var _14d=_14c.abort||null,_14e=false,_14f=_14c.start?_14c.start:0,_150=(_14c.count&&(_14c.count!==Infinity))?(_14f+_14c.count):_14b.length;_14c.abort=function(){_14e=true;if(_14d){_14d.call(_14c);}};var _151=_14c.scope||_145.global;if(!_14c.store){_14c.store=this;}if(_14c.onBegin){_14c.onBegin.call(_151,_14b.length,_14c);}if(_14c.sort){_14b.sort(_146.createSortFunction(_14c.sort,this));}if(_14c.onItem){for(var i=_14f;(i<_14b.length)&&(i<_150);++i){var item=_14b[i];if(!_14e){_14c.onItem.call(_151,item,_14c);}}}if(_14c.onComplete&&!_14e){var _152=null;if(!_14c.onItem){_152=_14b.slice(_14f,_150);}_14c.onComplete.call(_151,_152,_14c);}};_147.fetch=function(_153){_153=_153||{};if(!_153.store){_153.store=this;}this._fetchItems(_153,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _153;};return _147;});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _154={};lang.setObject("dojo.data.util.filter",_154);_154.patternToRegExp=function(_155,_156){var rxp="^";var c=null;for(var i=0;i<_155.length;i++){c=_155.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_155.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(_156){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _154;});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _157={};lang.setObject("dojo.data.util.sorter",_157);_157.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;};_157.createSortFunction=function(_158,_159){var _15a=[];function _15b(attr,dir,comp,s){return function(_15c,_15d){var a=s.getValue(_15c,attr);var b=s.getValue(_15d,attr);return dir*comp(a,b);};};var _15e;var map=_159.comparatorMap;var bc=_157.basicComparator;for(var i=0;i<_158.length;i++){_15e=_158[i];var attr=_15e.attribute;if(attr){var dir=(_15e.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_15a.push(_15b(attr,dir,comp,_159));}}return function(rowA,rowB){var i=0;while(i<_15a.length){var ret=_15a[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _157;});},"*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","dojo/data/ObjectStore"]);
}catch(e){console.log("Module 'dojo_data_19': ",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/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_1,_2,_3,_4,_5,_6,_7){_2.add("rtl-adjust-position-for-verticalScrollBar",function(_8,_9){var _a=_3.body(_9),_b=_7.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_a,"last"),_c=_7.create("div",{style:{overflow:"hidden",direction:"ltr"}},_b,"last"),_d=_5.position(_c).x!=0;_b.removeChild(_c);_a.removeChild(_b);return _d;});_2.add("position-fixed-support",function(_e,_f){var _10=_3.body(_f),_11=_7.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_10,"last"),_12=_7.create("span",{style:{position:"fixed",left:"0",top:"0"}},_11,"last"),ret=_5.position(_12).x!=_5.position(_11).x;_11.removeChild(_12);_10.removeChild(_11);return ret;});var _13={getBox:function(doc){doc=doc||_3.doc;var _14=(doc.compatMode=="BackCompat")?_3.body(doc):doc.documentElement,_15=_5.docScroll(doc),w,h;if(_2("touch")){var _16=_13.get(doc);w=_16.innerWidth||_14.clientWidth;h=_16.innerHeight||_14.clientHeight;}else{w=_14.clientWidth;h=_14.clientHeight;}return {l:_15.x,t:_15.y,w:w,h:h};},get:function(doc){if(_2("ie")&&_13!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(_17,pos){try{_17=_4.byId(_17);var doc=_17.ownerDocument||_3.doc,_18=_3.body(doc),_19=doc.documentElement||_18.parentNode,_1a=_2("ie"),_1b=_2("webkit");if(_17==_18||_17==_19){return;}if(!(_2("mozilla")||_1a||_1b||_2("opera")||_2("trident"))&&("scrollIntoView" in _17)){_17.scrollIntoView(false);return;}var _1c=doc.compatMode=="BackCompat",_1d=Math.min(_18.clientWidth||_19.clientWidth,_19.clientWidth||_18.clientWidth),_1e=Math.min(_18.clientHeight||_19.clientHeight,_19.clientHeight||_18.clientHeight),_1f=(_1b||_1c)?_18:_19,_20=pos||_5.position(_17),el=_17.parentNode,_21=function(el){return (_1a<=6||(_1a==7&&_1c))?false:(_2("position-fixed-support")&&(_6.get(el,"position").toLowerCase()=="fixed"));},_22=this,_23=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_22.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_21(_17)){return;}while(el){if(el==_18){el=_1f;}var _24=_5.position(el),_25=_21(el),rtl=_6.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_1f){_24.w=_1d;_24.h=_1e;if(_1f==_19&&(_1a||_2("trident"))&&rtl){_24.x+=_1f.offsetWidth-_24.w;}if(_24.x<0||!_1a||_1a>=9||_2("trident")){_24.x=0;}if(_24.y<0||!_1a||_1a>=9||_2("trident")){_24.y=0;}}else{var pb=_5.getPadBorderExtents(el);_24.w-=pb.w;_24.h-=pb.h;_24.x+=pb.l;_24.y+=pb.t;var _26=el.clientWidth,_27=_24.w-_26;if(_26>0&&_27>0){if(rtl&&_2("rtl-adjust-position-for-verticalScrollBar")){_24.x+=_27;}_24.w=_26;}_26=el.clientHeight;_27=_24.h-_26;if(_26>0&&_27>0){_24.h=_26;}}if(_25){if(_24.y<0){_24.h+=_24.y;_24.y=0;}if(_24.x<0){_24.w+=_24.x;_24.x=0;}if(_24.y+_24.h>_1e){_24.h=_1e-_24.y;}if(_24.x+_24.w>_1d){_24.w=_1d-_24.x;}}var l=_20.x-_24.x,t=_20.y-_24.y,r=l+_20.w-_24.w,bot=t+_20.h-_24.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_1f||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_1a==8&&!_1c)||_1a>=9||_2("trident"))){s=-s;}old=el.scrollLeft;_23(el,s,0);s=el.scrollLeft-old;_20.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_1f||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_23(el,0,s);s=el.scrollTop-old;_20.y-=s;}el=(el!=_1f)&&!_25&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_17.scrollIntoView(false);}}};1&&_1.setObject("dojo.window",_13);return _13;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_28,_29,_2a,dnd,_2b,_2c){var _2d=_28("dojo.dnd.move.constrainedMoveable",_2c,{constraints:function(){},within:false,constructor:function(_2e,_2f){if(!_2f){_2f={};}this.constraints=_2f.constraints;this.within=_2f.within;},onFirstMove:function(_30){var c=this.constraintBox=this.constraints.call(this,_30);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_29.getMarginSize(_30.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_31,_32){var c=this.constraintBox,s=_31.node.style;this.onMoving(_31,_32);_32.l=_32.l<c.l?c.l:c.r<_32.l?c.r:_32.l;_32.t=_32.t<c.t?c.t:c.b<_32.t?c.b:_32.t;s.left=_32.l+"px";s.top=_32.t+"px";this.onMoved(_31,_32);}});var _33=_28("dojo.dnd.move.boxConstrainedMoveable",_2d,{box:{},constructor:function(_34,_35){var box=_35&&_35.box;this.constraints=function(){return box;};}});var _36=_28("dojo.dnd.move.parentConstrainedMoveable",_2d,{area:"content",constructor:function(_37,_38){var _39=_38&&_38.area;this.constraints=function(){var n=this.node.parentNode,s=_2a.getComputedStyle(n),mb=_29.getMarginBox(n,s);if(_39=="margin"){return mb;}var t=_29.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_39=="border"){return mb;}t=_29.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_39=="padding"){return mb;}t=_29.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_2d,boxConstrainedMoveable:_33,parentConstrainedMoveable:_36};});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_3a,_3b){var _3c=_3b.prototype.onMove;return _3a("dojo.dnd.TimedMoveable",_3b,{timeout:40,constructor:function(_3d,_3e){if(!_3e){_3e={};}if(_3e.timeout&&typeof _3e.timeout=="number"&&_3e.timeout>=0){this.timeout=_3e.timeout;}},onMoveStop:function(_3f){if(_3f._timer){clearTimeout(_3f._timer);_3c.call(this,_3f,_3f._leftTop);}_3b.prototype.onMoveStop.apply(this,arguments);},onMove:function(_40,_41){_40._leftTop=_41;if(!_40._timer){var _42=this;_40._timer=setTimeout(function(){_40._timer=null;_3c.call(_42,_40,_40._leftTop);},this.timeout);}}});});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_43,_44,_45,has,win,dom,_46,_47,_48,on,_49,dnd,_4a){return _44("dojo.dnd.Mover",[_48],{constructor:function(_4b,e,_4c){this.node=dom.byId(_4b);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_4c),d=_4b.ownerDocument;function _4d(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_49.move,_45.hitch(this,"onFirstMove")),on(d,_49.move,_45.hitch(this,"onMouseMove")),on(d,_49.release,_45.hitch(this,"onMouseUp")),on(d,"dragstart",_4d),on(d.body,"selectstart",_4d)];_4a.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_4a.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},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=_46.getMarginBox(this.node);var b=win.doc.body;var bs=_47.getComputedStyle(b);var bm=_46.getMarginBox(b,bs);var bc=_46.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);}this.events.shift().remove();},destroy:function(){_43.forEach(this.events,function(_4e){_4e.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_4f,_50,_51,dom,_52,_53,on,_54,_55,dnd,_56,win){var _57=_50("dojo.dnd.Moveable",[_53],{handle:"",delay:0,skip:false,constructor:function(_58,_59){this.node=dom.byId(_58);if(!_59){_59={};}this.handle=_59.handle?dom.byId(_59.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_59.delay>0?_59.delay:0;this.skip=_59.skip;this.mover=_59.mover?_59.mover:_56;this.events=[on(this.handle,_55.press,_51.hitch(this,"onMouseDown")),on(this.handle,"dragstart",_51.hitch(this,"onSelectStart")),on(this.handle,"selectstart",_51.hitch(this,"onSelectStart"))];},markupFactory:function(_5a,_5b,_5c){return new _5c(_5b,_5a);},destroy:function(){_4f.forEach(this.events,function(_5d){_5d.remove();});this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_55.move,_51.hitch(this,"onMouseMove")),on(this.handle,_55.release,_51.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},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);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_5e){_54.publish("/dnd/move/start",_5e);_52.add(win.body(),"dojoMove");_52.add(this.node,"dojoMoveItem");},onMoveStop:function(_5f){_54.publish("/dnd/move/stop",_5f);_52.remove(win.body(),"dojoMove");_52.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_60,_61){this.onMoving(_60,_61);var s=_60.node.style;s.left=_61.l+"px";s.top=_61.t+"px";this.onMoved(_60,_61);},onMoving:function(){},onMoved:function(){}});return _57;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_62,_63,dom,_64,_65,on,has,_66,_67,win){var _68=has("touch");var _69=has("ios")<5;var _6a=navigator.pointerEnabled||navigator.msPointerEnabled,_6b=(function(){var _6c={};for(var _6d in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_6c[_6d]=!navigator.pointerEnabled?"MSPointer"+_6d.charAt(0).toUpperCase()+_6d.slice(1):"pointer"+_6d;}return _6c;})();var _6e,_6f,_70,_71,_72,_73,_74,_75;var _76;function _77(_78,_79,_7a){if(_6a&&_7a){return function(_7b,_7c){return on(_7b,_7a,_7c);};}else{if(_68){return function(_7d,_7e){var _7f=on(_7d,_79,function(evt){_7e.call(this,evt);_76=(new Date()).getTime();}),_80=on(_7d,_78,function(evt){if(!_76||(new Date()).getTime()>_76+1000){_7e.call(this,evt);}});return {remove:function(){_7f.remove();_80.remove();}};};}else{return function(_81,_82){return on(_81,_78,_82);};}}};function _83(_84){do{if(_84.dojoClick!==undefined){return _84.dojoClick;}}while(_84=_84.parentNode);};function _85(e,_86,_87){_6f=!e.target.disabled&&_83(e.target);if(_6f){_70=e.target;_71=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_72=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_73=(typeof _6f=="object"?_6f.x:(typeof _6f=="number"?_6f:0))||4;_74=(typeof _6f=="object"?_6f.y:(typeof _6f=="number"?_6f:0))||4;if(!_6e){_6e=true;win.doc.addEventListener(_86,function(e){_6f=_6f&&(e.changedTouches?e.changedTouches[0].target:e.target)==_70&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_71)<=_73&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_72)<=_74;},true);win.doc.addEventListener(_87,function(e){if(_6f){_75=(new Date()).getTime();var _88=e.target;if(_88.tagName==="LABEL"){_88=dom.byId(_88.getAttribute("for"))||_88;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _89=document.createEvent("MouseEvents");_89._dojo_click=true;_89.initMouseEvent("click",true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);setTimeout(function(){on.emit(_88,"click",_89);},0);}},true);function _8a(_8b){win.doc.addEventListener(_8b,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_75+1000&&!(e.target.tagName=="INPUT"&&_64.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_8b=="click"&&(e.target.tagName!="INPUT"||e.target.type=="radio"||e.target.type=="checkbox")&&e.target.tagName!="TEXTAREA"&&e.target.tagName!="AUDIO"&&e.target.tagName!="VIDEO"){e.preventDefault();}}},true);};_8a("click");_8a("mousedown");_8a("mouseup");}}};var _8c;if(_68){if(_6a){_67(function(){win.doc.addEventListener(_6b.down,function(evt){_85(evt,_6b.move,_6b.up);},true);});}else{_67(function(){_8c=win.body();win.doc.addEventListener("touchstart",function(evt){_76=(new Date()).getTime();var _8d=_8c;_8c=evt.target;on.emit(_8d,"dojotouchout",{relatedTarget:_8c,bubbles:true});on.emit(_8c,"dojotouchover",{relatedTarget:_8d,bubbles:true});_85(evt,"touchmove","touchend");},true);function _8e(evt){var _8f=_65.delegate(evt,{bubbles:true});if(has("ios")>=6){_8f.touches=evt.touches;_8f.altKey=evt.altKey;_8f.changedTouches=evt.changedTouches;_8f.ctrlKey=evt.ctrlKey;_8f.metaKey=evt.metaKey;_8f.shiftKey=evt.shiftKey;_8f.targetTouches=evt.targetTouches;}return _8f;};on(win.doc,"touchmove",function(evt){_76=(new Date()).getTime();var _90=win.doc.elementFromPoint(evt.pageX-(_69?0:win.global.pageXOffset),evt.pageY-(_69?0:win.global.pageYOffset));if(_90){if(_8c!==_90){on.emit(_8c,"dojotouchout",{relatedTarget:_90,bubbles:true});on.emit(_90,"dojotouchover",{relatedTarget:_8c,bubbles:true});_8c=_90;}if(!on.emit(_90,"dojotouchmove",_8e(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_76=(new Date()).getTime();var _91=win.doc.elementFromPoint(evt.pageX-(_69?0:win.global.pageXOffset),evt.pageY-(_69?0:win.global.pageYOffset))||win.body();on.emit(_91,"dojotouchend",_8e(evt));});});}}var _92={press:_77("mousedown","touchstart",_6b.down),move:_77("mousemove","dojotouchmove",_6b.move),release:_77("mouseup","dojotouchend",_6b.up),cancel:_77(_66.leave,"touchcancel",_68?_6b.cancel:null),over:_77("mouseover","dojotouchover",_6b.over),out:_77("mouseout","dojotouchout",_6b.out),enter:_66._eventHandler(_77("mouseover","dojotouchover",_6b.over)),leave:_66._eventHandler(_77("mouseout","dojotouchout",_6b.out))};1&&(_62.touch=_92);return _92;});},"*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_19': ",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/selector/lite":function(){define(["../has","../_base/kernel"],function(_1,_2){"use strict";var _3=document.createElement("div");var _4=_3.matchesSelector||_3.webkitMatchesSelector||_3.mozMatchesSelector||_3.msMatchesSelector||_3.oMatchesSelector;var _5=_3.querySelectorAll;var _6=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;_1.add("dom-matches-selector",!!_4);_1.add("dom-qsa",!!_5);var _7=function(_8,_9){if(_a&&_8.indexOf(",")>-1){return _a(_8,_9);}var _b=_9?_9.ownerDocument||_9:_2.doc||document,_c=(_5?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(_8);_9=_9||_b;if(_c){if(_c[2]){var _d=_2.byId?_2.byId(_c[2],_b):_b.getElementById(_c[2]);if(!_d||(_c[1]&&_c[1]!=_d.tagName.toLowerCase())){return [];}if(_9!=_b){var _e=_d;while(_e!=_9){_e=_e.parentNode;if(!_e){return [];}}}return _c[3]?_7(_c[3],_d):[_d];}if(_c[3]&&_9.getElementsByClassName){return _9.getElementsByClassName(_c[4]);}var _d;if(_c[5]){_d=_9.getElementsByTagName(_c[5]);if(_c[4]||_c[6]){_8=(_c[4]||"")+_c[6];}else{return _d;}}}if(_5){if(_9.nodeType===1&&_9.nodeName.toLowerCase()!=="object"){return _f(_9,_8,_9.querySelectorAll);}else{return _9.querySelectorAll(_8);}}else{if(!_d){_d=_9.getElementsByTagName("*");}}var _10=[];for(var i=0,l=_d.length;i<l;i++){var _11=_d[i];if(_11.nodeType==1&&_12(_11,_8,_9)){_10.push(_11);}}return _10;};var _f=function(_13,_14,_15){var _16=_13,old=_13.getAttribute("id"),nid=old||"__dojo__",_17=_13.parentNode,_18=/^\s*[+~]/.test(_14);if(_18&&!_17){return [];}if(!old){_13.setAttribute("id",nid);}else{nid=nid.replace(/'/g,"\\$&");}if(_18&&_17){_13=_13.parentNode;}var _19=_14.match(_6);for(var i=0;i<_19.length;i++){_19[i]="[id='"+nid+"'] "+_19[i];}_14=_19.join(",");try{return _15.call(_13,_14);}finally{if(!old){_16.removeAttribute("id");}}};if(!_1("dom-matches-selector")){var _12=(function(){var _1a=_3.tagName=="div"?"toLowerCase":"toUpperCase";var _1b={"":function(_1c){_1c=_1c[_1a]();return function(_1d){return _1d.tagName==_1c;};},".":function(_1e){var _1f=" "+_1e+" ";return function(_20){return _20.className.indexOf(_1e)>-1&&(" "+_20.className+" ").indexOf(_1f)>-1;};},"#":function(id){return function(_21){return _21.id==id;};}};var _22={"^=":function(_23,_24){return _23.indexOf(_24)==0;},"*=":function(_25,_26){return _25.indexOf(_26)>-1;},"$=":function(_27,_28){return _27.substring(_27.length-_28.length,_27.length)==_28;},"~=":function(_29,_2a){return (" "+_29+" ").indexOf(" "+_2a+" ")>-1;},"|=":function(_2b,_2c){return (_2b+"-").indexOf(_2c+"-")==0;},"=":function(_2d,_2e){return _2d==_2e;},"":function(_2f,_30){return true;}};function _31(_32,_33,_34){var _35=_33.charAt(0);if(_35=="\""||_35=="'"){_33=_33.slice(1,-1);}_33=_33.replace(/\\/g,"");var _36=_22[_34||""];return function(_37){var _38=_37.getAttribute(_32);return _38&&_36(_38,_33);};};function _39(_3a){return function(_3b,_3c){while((_3b=_3b.parentNode)!=_3c){if(_3a(_3b,_3c)){return true;}}};};function _3d(_3e){return function(_3f,_40){_3f=_3f.parentNode;return _3e?_3f!=_40&&_3e(_3f,_40):_3f==_40;};};var _41={};function and(_42,_43){return _42?function(_44,_45){return _43(_44)&&_42(_44,_45);}:_43;};return function(_46,_47,_48){var _49=_41[_47];if(!_49){if(_47.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,_4a,_4b,_4c,_4d,_4e,_4f){if(_4c){_49=and(_49,_1b[_4b||""](_4c.replace(/\\/g,"")));}else{if(_4a){_49=(_4a==" "?_39:_3d)(_49);}else{if(_4d){_49=and(_49,_31(_4d,_4f,_4e));}}}return "";})){throw new Error("Syntax error in query");}if(!_49){return true;}_41[_47]=_49;}return _49(_46,_48);};})();}if(!_1("dom-qsa")){var _a=function(_50,_51){var _52=_50.match(_6);var _53=[];for(var i=0;i<_52.length;i++){_50=new String(_52[i].replace(/\s*$/,""));_50.indexOf=escape;var _54=_7(_50,_51);for(var j=0,l=_54.length;j<l;j++){var _55=_54[j];_53[_55.sourceIndex]=_55;}}var _56=[];for(i in _53){_56.push(_53[i]);}return _56;};}_7.match=_4?function(_57,_58,_59){if(_59&&_59.nodeType!=9){return _f(_59,_58,function(_5a){return _4.call(_57,_5a);});}return _4.call(_57,_58);}:_12;return _7;});},"*noref":1}});define("dojo/_selector",[],1);require(["dojo/selector/lite"]);
}catch(e){console.log("Module 'dojo_selector_lite_19': ",e);}
try{//>>built
define("dijit/nls/dijit_en",{"dijit/nls/loading":{"_localized":{},"loadingState":"Loading...","errorState":"Sorry, an error occurred"}});
}catch(e){console.log("Module 'dijit_19': ",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/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,on,_c,_d,_e,_f){function _10(){if(this._popupWrapper){_6.destroy(this._popupWrapper);delete this._popupWrapper;}};var _11=_3(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _12=this._firstAroundPosition,_13=_7.position(this._firstAroundNode,true),dx=_13.x-_12.x,dy=_13.y-_12.y;if(dx||dy){this._firstAroundPosition=_13;for(var i=0;i<this._stack.length;i++){var _14=this._stack[i].wrapper.style;_14.top=(parseInt(_14.top,10)+dy)+"px";if(_14.right=="auto"){_14.left=(parseInt(_14.left,10)+dx)+"px";}else{_14.right=(parseInt(_14.right,10)-dx)+"px";}}}this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),dx||dy?10:50);}},_createWrapper:function(_15){var _16=_15._popupWrapper,_17=_15.domNode;if(!_16){_16=_6.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_15["aria-label"]||_15.label||_15.name||_15.id},_15.ownerDocumentBody);_16.appendChild(_17);var s=_17.style;s.display="";s.visibility="";s.position="";s.top="0px";_15._popupWrapper=_16;_2.after(_15,"destroy",_10,true);}return _16;},moveOffScreen:function(_18){var _19=this._createWrapper(_18);var ltr=_7.isBodyLtr(_18.ownerDocument),_1a={visibility:"hidden",top:"-9999px",display:""};_1a[ltr?"left":"right"]="-9999px";_1a[ltr?"right":"left"]="auto";_8.set(_19,_1a);return _19;},hide:function(_1b){var _1c=this._createWrapper(_1b);_8.set(_1c,{display:"none",height:"auto",overflow:"visible",border:""});var _1d=_1b.domNode;if("_originalStyle" in _1d){_1d.style.cssText=_1d._originalStyle;}},getTopPopup:function(){var _1e=this._stack;for(var pi=_1e.length-1;pi>0&&_1e[pi].parent===_1e[pi-1].widget;pi--){}return _1e[pi];},open:function(_1f){var _20=this._stack,_21=_1f.popup,_22=_21.domNode,_23=_1f.orient||["below","below-alt","above","above-alt"],ltr=_1f.parent?_1f.parent.isLeftToRight():_7.isBodyLtr(_21.ownerDocument),_24=_1f.around,id=(_1f.around&&_1f.around.id)?(_1f.around.id+"_dropdown"):("popup_"+this._idGen++);while(_20.length&&(!_1f.parent||!_4.isDescendant(_1f.parent.domNode,_20[_20.length-1].widget.domNode))){this.close(_20[_20.length-1].widget);}var _25=this.moveOffScreen(_21);if(_21.startup&&!_21._started){_21.startup();}var _26,_27=_7.position(_22);if("maxHeight" in _1f&&_1f.maxHeight!=-1){_26=_1f.maxHeight||Infinity;}else{var _28=_e.getEffectiveBox(this.ownerDocument),_29=_24?_7.position(_24,false):{y:_1f.y-(_1f.padding||0),h:(_1f.padding||0)*2};_26=Math.floor(Math.max(_29.y,_28.h-(_29.y+_29.h)));}if(_27.h>_26){var cs=_8.getComputedStyle(_22),_2a=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_8.set(_25,{overflowY:"scroll",height:_26+"px",border:_2a});_22._originalStyle=_22.style.cssText;_22.style.border="none";}_5.set(_25,{id:id,style:{zIndex:this._beginZIndex+_20.length},"class":"dijitPopup "+(_21.baseClass||_21["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1f.parent?_1f.parent.id:""});if(_20.length==0&&_24){this._firstAroundNode=_24;this._firstAroundPosition=_7.position(_24,true);this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),50);}if(_9("config-bgIframe")&&!_21.bgIframe){_21.bgIframe=new _d(_25);}var _2b=_21.orient?_b.hitch(_21,"orient"):null,_2c=_24?_c.around(_25,_24,_23,ltr,_2b):_c.at(_25,_1f,_23=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1f.padding,_2b);_25.style.visibility="visible";_22.style.visibility="visible";var _2d=[];_2d.push(on(_25,"keydown",_b.hitch(this,function(evt){if(evt.keyCode==_a.ESCAPE&&_1f.onCancel){evt.stopPropagation();evt.preventDefault();_1f.onCancel();}else{if(evt.keyCode==_a.TAB){evt.stopPropagation();evt.preventDefault();var _2e=this.getTopPopup();if(_2e&&_2e.onCancel){_2e.onCancel();}}}})));if(_21.onCancel&&_1f.onCancel){_2d.push(_21.on("cancel",_1f.onCancel));}_2d.push(_21.on(_21.onExecute?"execute":"change",_b.hitch(this,function(){var _2f=this.getTopPopup();if(_2f&&_2f.onExecute){_2f.onExecute();}})));_20.push({widget:_21,wrapper:_25,parent:_1f.parent,onExecute:_1f.onExecute,onCancel:_1f.onCancel,onClose:_1f.onClose,handlers:_2d});if(_21.onOpen){_21.onOpen(_2c);}return _2c;},close:function(_30){var _31=this._stack;while((_30&&_1.some(_31,function(_32){return _32.widget==_30;}))||(!_30&&_31.length)){var top=_31.pop(),_33=top.widget,_34=top.onClose;if(_33.onClose){_33.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_33&&_33.domNode){this.hide(_33);}if(_34){_34();}}if(_31.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_f.popup=new _11());});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_35,dom,_36,_37,_38,has,_39){var _3a;var _3b={_isElementShown:function(_3c){var s=_37.get(_3c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_36.get(_3c,"type")!="hidden");},hasDefaultTabStop:function(_3d){switch(_3d.nodeName.toLowerCase()){case "a":return _36.has(_3d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _3e;try{var _3f=_3d.contentDocument;if("designMode" in _3f&&_3f.designMode=="on"){return true;}_3e=_3f.body;}catch(e1){try{_3e=_3d.contentWindow.document.body;}catch(e2){return false;}}return _3e&&(_3e.contentEditable=="true"||(_3e.firstChild&&_3e.firstChild.contentEditable=="true"));default:return _3d.contentEditable=="true";}},effectiveTabIndex:function(_40){if(_36.get(_40,"disabled")){return _3a;}else{if(_36.has(_40,"tabIndex")){return +_36.get(_40,"tabIndex");}else{return _3b.hasDefaultTabStop(_40)?0:_3a;}}},isTabNavigable:function(_41){return _3b.effectiveTabIndex(_41)>=0;},isFocusable:function(_42){return _3b.effectiveTabIndex(_42)>=-1;},_getTabNavigable:function(_43){var _44,_45,_46,_47,_48,_49,_4a={};function _4b(_4c){return _4c&&_4c.tagName.toLowerCase()=="input"&&_4c.type&&_4c.type.toLowerCase()=="radio"&&_4c.name&&_4c.name.toLowerCase();};var _4d=_3b._isElementShown,_4e=_3b.effectiveTabIndex;var _4f=function(_50){for(var _51=_50.firstChild;_51;_51=_51.nextSibling){if(_51.nodeType!=1||(has("ie")<=9&&_51.scopeName!=="HTML")||!_4d(_51)){continue;}var _52=_4e(_51);if(_52>=0){if(_52==0){if(!_44){_44=_51;}_45=_51;}else{if(_52>0){if(!_46||_52<_47){_47=_52;_46=_51;}if(!_48||_52>=_49){_49=_52;_48=_51;}}}var rn=_4b(_51);if(_36.get(_51,"checked")&&rn){_4a[rn]=_51;}}if(_51.nodeName.toUpperCase()!="SELECT"){_4f(_51);}}};if(_4d(_43)){_4f(_43);}function rs(_53){return _4a[_4b(_53)]||_53;};return {first:rs(_44),last:rs(_45),lowest:rs(_46),highest:rs(_48)};},getFirstInTabbingOrder:function(_54,doc){var _55=_3b._getTabNavigable(dom.byId(_54,doc));return _55.lowest?_55.lowest:_55.first;},getLastInTabbingOrder:function(_56,doc){var _57=_3b._getTabNavigable(dom.byId(_56,doc));return _57.last?_57.last:_57.highest;}};1&&_38.mixin(_39,_3b);return _3b;});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_58,_59,_5a,_5b){var _5c=_59("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5d){if(this._hash[_5d.id]){throw new Error("Tried to register widget with id=="+_5d.id+" but that id is already registered");}this._hash[_5d.id]=_5d;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_5e,_5f){_5f=_5f||_5a.global;var i=0,id;for(id in this._hash){_5e.call(_5f,this._hash[id],i++,this._hash);}return this;},filter:function(_60,_61){_61=_61||_5a.global;var res=new _5c(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_60.call(_61,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _5c(),id,_62;for(id in this._hash){_62=this._hash[id];if(_62.declaredClass==cls){res.add(_62);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_63,_64){return _58.map(this.toArray(),_63,_64);},every:function(_65,_66){_66=_66||_5a.global;var x=0,i;for(i in this._hash){if(!_65.call(_66,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_67,_68){_68=_68||_5a.global;var x=0,i;for(i in this._hash){if(_67.call(_68,this._hash[i],x++,this._hash)){return true;}}return false;}});_58.forEach(["forEach","filter","byClass","map","every","some"],function(_69){_5b[_69]=_5c.prototype[_69];});return _5c;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_6a,_6b,_6c,_6d,_6e,_6f,_70,_71,_72,_73,_74,dom,_75,_76,xhr,_77,_78){return _73("dijit.layout.ContentPane",[_6c,_6d,_6e],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_6a._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,markupFactory:function(_79,_7a,_7b){var _7c=new _7b(_79,_7a);return !_7c.href&&_7c._contentSetter&&_7c._contentSetter.parseDeferred&&!_7c._contentSetter.parseDeferred.isFulfilled()?_7c._contentSetter.parseDeferred.then(function(){return _7c;}):_7c;},create:function(_7d,_7e){if((!_7d||!_7d.template)&&_7e&&!("href" in _7d)&&!("content" in _7d)){_7e=dom.byId(_7e);var df=_7e.ownerDocument.createDocumentFragment();while(_7e.firstChild){df.appendChild(_7e.firstChild);}_7d=_6b.delegate(_7d,{content:df});}this.inherited(arguments,[_7d,_7e]);},postMixInProperties:function(){this.inherited(arguments);var _7f=_77.getLocalization("dijit","loading",this.lang);this.loadingMessage=_6f.substitute(this.loadingMessage,_7f);this.errorMessage=_6f.substitute(this.errorMessage,_7f);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_72.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_6b.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_72.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_6b.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_72.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_6b.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(_80){_6a.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",_80);},_setHrefAttr:function(_81){this.cancel();this.onLoadDeferred=new _74(_6b.hitch(this,"cancel"));this.onLoadDeferred.then(_6b.hitch(this,"onLoad"));this._set("href",_81);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(_82){_6a.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",_82);},_setContentAttr:function(_83){this._set("href","");this.cancel();this.onLoadDeferred=new _74(_6b.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(_6b.hitch(this,"onLoad"));}this._setContent(_83||"");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;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_84){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 _74(_6b.hitch(this,"cancel"));this.onLoadDeferred.then(_6b.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var _85=this;var _86={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(_6b.isObject(this.ioArgs)){_6b.mixin(_86,this.ioArgs);}var _87=(this._xhrDfd=(this.ioMethod||xhr.get)(_86)),_88;_87.then(function(_89){_88=_89;try{_85._isDownloaded=true;return _85._setContent(_89,false);}catch(err){_85._onError("Content",err);}},function(err){if(!_87.canceled){_85._onError("Download",err);}delete _85._xhrDfd;return err;}).then(function(){_85.onDownloadEnd();delete _85._xhrDfd;return _88;});delete this._hrefChanged;},_onLoadHandler:function(_8a){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(_8a);}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(_8b){if(this.isLoaded){this._onUnloadHandler();}var _8c=this._contentSetter;_72.forEach(this.getChildren(),function(_8d){if(_8d.destroyRecursive){_8d.destroyRecursive(_8b);}else{if(_8d.destroy){_8d.destroy(_8b);}}_8d._destroyed=true;});if(_8c){_72.forEach(_8c.parseResults,function(_8e){if(!_8e._destroyed){if(_8e.destroyRecursive){_8e.destroyRecursive(_8b);}else{if(_8e.destroy){_8e.destroy(_8b);}}_8e._destroyed=true;}});delete _8c.parseResults;}if(!_8b){_76.empty(this.containerNode);}delete this._singleChild;},_setContent:function(_8f,_90){this.destroyDescendants();var _91=this._contentSetter;if(!(_91&&_91 instanceof _70._ContentSetter)){_91=this._contentSetter=new _70._ContentSetter({node:this.containerNode,_onError:_6b.hitch(this,this._onError),onContentError:_6b.hitch(this,function(e){var _92=this.onContentError(e);try{this.containerNode.innerHTML=_92;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _93=_6b.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!_8f.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_91.set((_6b.isObject(_8f)&&_8f.domNode)?_8f.domNode:_8f,_93);var _94=this;return _78(p&&p.then?p:_91.parseDeferred,function(){delete _94._contentSetterParams;if(!_90){if(_94._started){_94._startChildren();_94._scheduleLayout();}_94._onLoadHandler(_8f);}});},_onError:function(_95,err,_96){this.onLoadDeferred.reject(err);var _97=this["on"+_95+"Error"].call(this,err);if(_96){console.error(_96,err);}else{if(_97){this._setContent(_97,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_98,_99,_9a){var _9b={hasWaiRole:function(_9c,_9d){var _9e=this.getWaiRole(_9c);return _9d?(_9e.indexOf(_9d)>-1):(_9e.length>0);},getWaiRole:function(_9f){return _99.trim((_98.get(_9f,"role")||"").replace("wairole:",""));},setWaiRole:function(_a0,_a1){_98.set(_a0,"role",_a1);},removeWaiRole:function(_a2,_a3){var _a4=_98.get(_a2,"role");if(!_a4){return;}if(_a3){var t=_99.trim((" "+_a4+" ").replace(" "+_a3+" "," "));_98.set(_a2,"role",t);}else{_a2.removeAttribute("role");}},hasWaiState:function(_a5,_a6){return _a5.hasAttribute?_a5.hasAttribute("aria-"+_a6):!!_a5.getAttribute("aria-"+_a6);},getWaiState:function(_a7,_a8){return _a7.getAttribute("aria-"+_a8)||"";},setWaiState:function(_a9,_aa,_ab){_a9.setAttribute("aria-"+_aa,_ab);},removeWaiState:function(_ac,_ad){_ac.removeAttribute("aria-"+_ad);}};_99.mixin(_9a,_9b);return _9a;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_ae,on,_af,has,_b0){var _b1=new _ae();var _b2;_af(function(){var _b3=_b0.getBox();_b1._rlh=on(window,"resize",function(){var _b4=_b0.getBox();if(_b3.h==_b4.h&&_b3.w==_b4.w){return;}_b3=_b4;_b1.emit("resize");});if(has("ie")==8){var _b5=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_b5){_b5=screen.deviceXDPI;_b1.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_b2=evt.target;});on(document,"focusout",function(evt){_b2=null;});}});_b1.getEffectiveBox=function(doc){var box=_b0.getBox(doc);var tag=_b2&&_b2.tagName&&_b2.tagName.toLowerCase();if(has("ios")&&_b2&&!_b2.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_b2.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var _b6=_b2.getBoundingClientRect();box.h=Math.max(box.h,_b6.top+_b6.height);}return box;};return _b1;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_b7,_b8,_b9,_ba,has,_bb,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_b8.blankGif||_b7.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_ba.getComputedStyle(div),_bc=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_bc&&(_bc=="none"||_bc=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_bb(function(){if(has("highcontrast")){_b9.add(win.body(),"dj_a11y");}});return has;});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_bd,_be,_bf,_c0,_c1){function _c2(_c3){return _c3.substring(0,1).toUpperCase()+_c3.substring(1);};function _c4(_c5,dim){var _c6=_c5.resize?_c5.resize(dim):_bf.setMarginBox(_c5.domNode,dim);if(_c6){_c1.mixin(_c5,_c6);}else{_c1.mixin(_c5,_bf.getMarginBox(_c5.domNode));_c1.mixin(_c5,dim);}};var _c7={marginBox2contentBox:function(_c8,mb){var cs=_c0.getComputedStyle(_c8);var me=_bf.getMarginExtents(_c8,cs);var pb=_bf.getPadBorderExtents(_c8,cs);return {l:_c0.toPixelValue(_c8,cs.paddingLeft),t:_c0.toPixelValue(_c8,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_c9,dim,_ca,_cb,_cc){dim=_c1.mixin({},dim);_be.add(_c9,"dijitLayoutContainer");_ca=_bd.filter(_ca,function(_cd){return _cd.region!="center"&&_cd.layoutAlign!="client";}).concat(_bd.filter(_ca,function(_ce){return _ce.region=="center"||_ce.layoutAlign=="client";}));_bd.forEach(_ca,function(_cf){var elm=_cf.domNode,pos=(_cf.region||_cf.layoutAlign);if(!pos){throw new Error("No region setting for "+_cf.id);}var _d0=elm.style;_d0.left=dim.l+"px";_d0.top=dim.t+"px";_d0.position="absolute";_be.add(elm,"dijitAlign"+_c2(pos));var _d1={};if(_cb&&_cb==_cf.id){_d1[_cf.region=="top"||_cf.region=="bottom"?"h":"w"]=_cc;}if(pos=="leading"){pos=_cf.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_cf.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_d1.w=dim.w;_c4(_cf,_d1);dim.h-=_cf.h;if(pos=="top"){dim.t+=_cf.h;}else{_d0.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_d1.h=dim.h;_c4(_cf,_d1);dim.w-=_cf.w;if(pos=="left"){dim.l+=_cf.w;}else{_d0.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){_c4(_cf,dim);}}}});}};_c1.setObject("dijit.layout.utils",_c7);return _c7;});},"dijit/_WidgetBase":function(){define(["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/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_d2,_d3,_d4,_d5,_d6,_d7,dom,_d8,_d9,_da,_db,_dc,has,_dd,_de,on,_df,_e0,_e1,win,_e2,_e3,_e4){has.add("dijit-legacy-requires",!_dd.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_df(0,function(){var _e5=["dijit/_base/manager"];_d2(_e5);});}var _e6={};function _e7(obj){var ret={};for(var _e8 in obj){ret[_e8.toLowerCase()]=true;}return ret;};function _e9(_ea){return function(val){_d8[val?"set":"remove"](this.domNode,_ea,val);this._set(_ea,val);};};function _eb(a,b){return a===b||(a!==a&&b!==b);};var _ec=_d7("dijit._WidgetBase",[_e0,_e2],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_e9("lang"),dir:"",_setDirAttr:_e9("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_d5.blankGif||_d2.toUrl("dojo/resources/blank.gif"),_introspect:function(){var _ed=this.constructor;if(!_ed._setterAttrs){var _ee=_ed.prototype,_ef=_ed._setterAttrs=[],_f0=(_ed._onMap={});for(var _f1 in _ee.attributeMap){_ef.push(_f1);}for(_f1 in _ee){if(/^on/.test(_f1)){_f0[_f1.substring(2).toLowerCase()]=_f1;}if(/^_set[A-Z](.*)Attr$/.test(_f1)){_f1=_f1.charAt(4).toLowerCase()+_f1.substr(5,_f1.length-9);if(!_ee.attributeMap||!(_f1 in _ee.attributeMap)){_ef.push(_f1);}}}}},postscript:function(_f2,_f3){this.create(_f2,_f3);},create:function(_f4,_f5){this._introspect();this.srcNodeRef=dom.byId(_f5);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_f4){this.params=_f4;_de.mixin(this,_f4);}this.postMixInProperties();if(!this.id){this.id=_e4.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_e4.add(this);this.buildRendering();var _f6;if(this.domNode){this._applyAttributes();var _f7=this.srcNodeRef;if(_f7&&_f7.parentNode&&this.domNode!==_f7){_f7.parentNode.replaceChild(this.domNode,_f7);_f6=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_f6){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _f8={};for(var key in this.params||{}){_f8[key]=this._get(key);}_d3.forEach(this.constructor._setterAttrs,function(key){if(!(key in _f8)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _f8){this.set(key,_f8[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _f9=this.baseClass.split(" ");if(!this.isLeftToRight()){_f9=_f9.concat(_d3.map(_f9,function(_fa){return _fa+"Rtl";}));}_d9.add(this.domNode,_f9);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_d3.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_de.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_fb){this._beingDestroyed=true;this.destroyDescendants(_fb);this.destroy(_fb);},destroy:function(_fc){this._beingDestroyed=true;this.uninitialize();function _fd(w){if(w.destroyRecursive){w.destroyRecursive(_fc);}else{if(w.destroy){w.destroy(_fc);}}};_d3.forEach(this._connects,_de.hitch(this,"disconnect"));_d3.forEach(this._supportingWidgets,_fd);if(this.domNode){_d3.forEach(_e4.findWidgets(this.domNode,this.containerNode),_fd);}this.destroyRendering(_fc);_e4.remove(this.id);this._destroyed=true;},destroyRendering:function(_fe){if(this.bgIframe){this.bgIframe.destroy(_fe);delete this.bgIframe;}if(this.domNode){if(_fe){_d8.remove(this.domNode,"widgetId");}else{_da.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_fe){_da.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_ff){_d3.forEach(this.getChildren(),function(_100){if(_100.destroyRecursive){_100.destroyRecursive(_ff);}});},uninitialize:function(){return false;},_setStyleAttr:function(_101){var _102=this.domNode;if(_de.isObject(_101)){_dc.set(_102,_101);}else{if(_102.style.cssText){_102.style.cssText+="; "+_101;}else{_102.style.cssText=_101;}}this._set("style",_101);},_attrToDom:function(attr,_103,_104){_104=arguments.length>=3?_104:this.attributeMap[attr];_d3.forEach(_de.isArray(_104)?_104:[_104],function(_105){var _106=this[_105.node||_105||"domNode"];var type=_105.type||"attribute";switch(type){case "attribute":if(_de.isFunction(_103)){_103=_de.hitch(this,_103);}var _107=_105.attribute?_105.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_106.tagName){_d8.set(_106,_107,_103);}else{_106.set(_107,_103);}break;case "innerText":_106.innerHTML="";_106.appendChild(this.ownerDocument.createTextNode(_103));break;case "innerHTML":_106.innerHTML=_103;break;case "class":_d9.replace(_106,_103,this[attr]);break;}},this);},get:function(name){var _108=this._getAttrNames(name);return this[_108.g]?this[_108.g]():this._get(name);},set:function(name,_109){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _10a=this._getAttrNames(name),_10b=this[_10a.s];if(_de.isFunction(_10b)){var _10c=_10b.apply(this,Array.prototype.slice.call(arguments,1));}else{var _10d=this.focusNode&&!_de.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_10d]&&this[_10d].tagName,_10e=tag&&(_e6[tag]||(_e6[tag]=_e7(this[_10d]))),map=name in this.attributeMap?this.attributeMap[name]:_10a.s in this?this[_10a.s]:((_10e&&_10a.l in _10e&&typeof _109!="function")||/^aria-|^data-|^role$/.test(name))?_10d:null;if(map!=null){this._attrToDom(name,_109,map);}this._set(name,_109);}return _10c||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,_10f){var _110=this[name];this[name]=_10f;if(this._created&&!_eb(_110,_10f)){if(this._watchCallbacks){this._watchCallbacks(name,_110,_10f);}this.emit("attrmodified-"+name,{detail:{prevValue:_110,newValue:_10f}});}},_get:function(name){return this[name];},emit:function(type,_111,_112){_111=_111||{};if(_111.bubbles===undefined){_111.bubbles=true;}if(_111.cancelable===undefined){_111.cancelable=true;}if(!_111.detail){_111.detail={};}_111.detail.widget=this;var ret,_113=this["on"+type];if(_113){ret=_113.apply(this,_112?_112:[_111]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_111);}return ret;},on:function(type,func){var _114=this._onMap(type);if(_114){return _d4.after(this,_114,func,true);}return this.own(on(this.domNode,type,func))[0];},_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[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_e4.findWidgets(this.containerNode):[];},getParent:function(){return _e4.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_115,_116){return this.own(_d6.connect(obj,_115,this,_116))[0];},disconnect:function(_117){_117.remove();},subscribe:function(t,_118){return this.own(_e1.subscribe(t,_de.hitch(this,_118)))[0];},unsubscribe:function(_119){_119.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_db.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_dc.get(this.domNode,"display")!="none");},placeAt:function(_11a,_11b){var _11c=!_11a.tagName&&_e4.byId(_11a);if(_11c&&_11c.addChild&&(!_11b||typeof _11b==="number")){_11c.addChild(this,_11b);}else{var ref=_11c?(_11c.containerNode&&!/after|before|replace/.test(_11b||"")?_11c.containerNode:_11c.domNode):dom.byId(_11a,this.ownerDocument);_da.place(this.domNode,ref,_11b);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_11d){var _11e=setTimeout(_de.hitch(this,function(){if(!_11e){return;}_11e=null;if(!this._destroyed){_de.hitch(this,fcn)();}}),_11d||0);return {remove:function(){if(_11e){clearTimeout(_11e);_11e=null;}return null;}};}});if(has("dojo-bidi")){_ec.extend(_e3);}return _ec;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_11f){return _11f._base;});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_120,_121,keys,lang,on,has,_122){return _120("dijit.form._FormValueMixin",_122,{readOnly:false,_setReadOnlyAttr:function(_123){_121.set(this.focusNode,"readOnly",_123);this._set("readOnly",_123);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_124,_125){this._handleOnChange(_124,_125);},_handleOnChange:function(_126,_127){this._set("value",_126);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_128,_129,_12a,lang,_12b){return _12a("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,contextRequire:null,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_12b.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_12c){this._startupWidgets=_12c;for(var i=0;i<_12c.length;i++){this._processTemplateNode(_12c[i],function(n,p){return n[p];},function(_12d,type,_12e){if(type in _12d){return _12d.connect(_12d,type,_12e);}else{return _12d.on(type,_12e,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_12f,_130,_131){if(_130(_12f,"dojoType")||_130(_12f,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_128.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dijit/_CssStateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_132,_133,dom,_134,has,lang,on,_135,_136,win,_137,_138){var _139=_133("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_132.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes||{}){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_13a){if(!this.disabled){switch(_13a.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",true);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",false);break;}}},_setStateClass:function(){var _13b=this.baseClass.split(" ");function _13c(_13d){_13b=_13b.concat(_132.map(_13b,function(c){return c+_13d;}),"dijit"+_13d);};if(!this.isLeftToRight()){_13c("Rtl");}var _13e=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_13c(_13e);}if(this.state){_13c(this.state);}if(this.selected){_13c("Selected");}if(this._opened){_13c("Opened");}if(this.disabled){_13c("Disabled");}else{if(this.readOnly){_13c("ReadOnly");}else{if(this.active){_13c("Active");}else{if(this.hovering){_13c("Hover");}}}}if(this.focused){_13c("Focused");}var tn=this.stateNode||this.domNode,_13f={};_132.forEach(tn.className.split(" "),function(c){_13f[c]=true;});if("_stateClasses" in this){_132.forEach(this._stateClasses,function(c){delete _13f[c];});}_132.forEach(_13b,function(c){_13f[c]=true;});var _140=[];for(var c in _13f){_140.push(c);}tn.className=_140.join(" ");this._stateClasses=_13b;},_subnodeCssMouseEvent:function(node,_141,evt){if(this.disabled||this.readOnly){return;}function _142(_143){_134.toggle(node,_141+"Hover",_143);};function _144(_145){_134.toggle(node,_141+"Active",_145);};function _146(_147){_134.toggle(node,_141+"Focused",_147);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_142(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_142(false);_144(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_144(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_144(false);break;case "focus":case "focusin":_146(true);break;case "blur":case "focusout":_146(false);break;}},_trackMouseState:function(node,_148){node._cssState=_148;}});_135(function(){function _149(evt,_14a,_14b){if(_14b&&dom.isDescendant(_14b,_14a)){return;}for(var node=_14a;node&&node!=_14b;node=node.parentNode){if(node._cssState){var _14c=_138.getEnclosingWidget(node);if(_14c){if(node==_14c.domNode){_14c._cssMouseEvent(evt);}else{_14c._subnodeCssMouseEvent(node,node._cssState,evt);}}}}};var body=win.body(),_14d;on(body,_136.over,function(evt){_149(evt,evt.target,evt.relatedTarget);});on(body,_136.out,function(evt){_149(evt,evt.target,evt.relatedTarget);});on(body,_137.press,function(evt){_14d=evt.target;_149(evt,_14d);});on(body,_137.release,function(evt){_149(evt,_14d);_14d=null;});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _14e=_138.getEnclosingWidget(node);if(_14e){_14e._subnodeCssMouseEvent(node,node._cssState,evt);}}});});return _139;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_14f,_150,lang,_151,_152){var _153={};_14f.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_153[name]=_151[name];});lang.mixin(_153,{defaultDuration:_150["defaultDuration"]||200});lang.mixin(_152,_153);return _152;});},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_154,_155,_156,_157,_158,lang,on,has){has.add("config-bgIframe",!has("touch"));var _159=new function(){var _15a=[];this.pop=function(){var _15b;if(_15a.length){_15b=_15a.pop();_15b.style.display="";}else{if(has("ie")<9){var burl=_156["dojoBlankHtmlUrl"]||_154.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_15b=document.createElement(html);}else{_15b=_157.create("iframe");_15b.src="javascript:\"\"";_15b.className="dijitBackgroundIframe";_15b.setAttribute("role","presentation");_158.set(_15b,"opacity",0.1);}_15b.tabIndex=-1;}return _15b;};this.push=function(_15c){_15c.style.display="none";_15a.push(_15c);};}();_155.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _15d=(this.iframe=_159.pop());node.appendChild(_15d);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_158.set(_15d,{width:"100%",height:"100%"});}}};lang.extend(_155.BackgroundIframe,{resize:function(node){if(this.iframe){_158.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_159.push(this.iframe);delete this.iframe;}}});return _155.BackgroundIframe;});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_15e,_15f,lang,on,has,_160){var _161=(_160.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(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_162,node,_163,obj,_164,_165,_166){if(obj!=this._obj){this.stop();this._initialDelay=_165||500;this._subsequentDelay=_164||0.9;this._minDelay=_166||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_162,_163);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_167,_168,_169,_16a,_16b,_16c){var type="keyCode" in _167?"keydown":"charCode" in _167?"keypress":_15f._keypress,attr="keyCode" in _167?"keyCode":"charCode" in _167?"charCode":"charOrCode";var _16d=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_167[attr]&&(_167.ctrlKey===undefined||_167.ctrlKey==evt.ctrlKey)&&(_167.altKey===undefined||_167.altKey==evt.altKey)&&(_167.metaKey===undefined||_167.metaKey==(evt.metaKey||false))&&(_167.shiftKey===undefined||_167.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_161.trigger(evt,_168,node,_169,_167,_16a,_16b,_16c);}else{if(_161._obj==_167){_161.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_161._obj==_167){_161.stop();}}))];return {remove:function(){_15e.forEach(_16d,function(h){h.remove();});}};},addMouseListener:function(node,_16e,_16f,_170,_171,_172){var _173=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_161.trigger(evt,_16e,node,_16f,node,_170,_171,_172);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_161.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_161.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_161.trigger(evt,_16e,node,_16f,node,_170,_171,_172);setTimeout(lang.hitch(this,_161.stop),50);}}))];return {remove:function(){_15e.forEach(_173,function(h){h.remove();});}};},addListener:function(_174,_175,_176,_177,_178,_179,_17a,_17b){var _17c=[this.addKeyListener(_175,_176,_177,_178,_179,_17a,_17b),this.addMouseListener(_174,_177,_178,_179,_17a,_17b)];return {remove:function(){_15e.forEach(_17c,function(h){h.remove();});}};}});return _161;});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_17d,_17e,_17f,_180,_181,lang,_182,has,_183,_184,_185){return _17e("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _186=this.getParent();this._childOfLayoutWidget=_186&&_186.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_184.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _187=[],_188=false;_182("> *",this.containerNode).some(function(node){var _189=_183.byNode(node);if(_189&&_189.resize){_187.push(_189);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_188=true;}}});this._singleChild=_187.length==1&&!_188?_187[0]:null;_17f.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_18a,_18b){this._resizeCalled=true;this._scheduleLayout(_18a,_18b);},_scheduleLayout:function(_18c,_18d){if(this._isShown()){this._layout(_18c,_18d);}else{this._needLayout=true;this._changeSize=_18c;this._resultSize=_18d;}},_layout:function(_18e,_18f){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_18e){_180.setMarginBox(this.domNode,_18e);}var cn=this.containerNode;if(cn===this.domNode){var mb=_18f||{};lang.mixin(mb,_18e||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_180.getMarginBox(cn),mb);}this._contentBox=_185.marginBox2contentBox(cn,mb);}else{this._contentBox=_180.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_180.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _190=this.getChildren(),_191,i=0;while(_191=_190[i++]){if(_191.resize){_191.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,_192=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_17f.contains(node,"dijitHidden")&&_192&&_192.style&&(_192.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/_Templated":function(){define(["./_WidgetBase","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/kernel"],function(_193,_194,_195,_196,_197,lang,_198){lang.extend(_193,{waiRole:"",waiState:""});return _197("dijit._Templated",[_194,_195],{widgetsInTemplate:false,constructor:function(){_198.deprecated(this.declaredClass+": dijit._Templated deprecated, use dijit._TemplatedMixin and if necessary dijit._WidgetsInTemplateMixin","","2.0");},_processNode:function(_199,_19a){var ret=this.inherited(arguments);var role=_19a(_199,"waiRole");if(role){_199.setAttribute("role",role);}var _19b=_19a(_199,"waiState");if(_19b){_196.forEach(_19b.split(/\s*,\s*/),function(_19c){if(_19c.indexOf("-")!=-1){var pair=_19c.split("-");_199.setAttribute("aria-"+pair[0],pair[1]);}});}return ret;}});});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_19d,lang,_19e,_19f,_1a0){var _1a1={};_1a1.getViewport=function(){return _19e.getBox();};_1a1.placeOnScreen=_19f.at;_1a1.placeOnScreenAroundElement=function(node,_1a2,_1a3,_1a4){var _1a5;if(lang.isArray(_1a3)){_1a5=_1a3;}else{_1a5=[];for(var key in _1a3){_1a5.push({aroundCorner:key,corner:_1a3[key]});}}return _19f.around(node,_1a2,_1a5,true,_1a4);};_1a1.placeOnScreenAroundNode=_1a1.placeOnScreenAroundElement;_1a1.placeOnScreenAroundRectangle=_1a1.placeOnScreenAroundElement;_1a1.getPopupAroundAlignment=function(_1a6,_1a7){var _1a8={};_19d.forEach(_1a6,function(pos){var ltr=_1a7;switch(pos){case "after":_1a8[_1a7?"BR":"BL"]=_1a7?"BL":"BR";break;case "before":_1a8[_1a7?"BL":"BR"]=_1a7?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_1a8[ltr?"BL":"BR"]=ltr?"TL":"TR";_1a8[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_1a8[ltr?"TL":"TR"]=ltr?"BL":"BR";_1a8[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _1a8;};lang.mixin(_1a0,_1a1);return _1a0;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(_1a9,has,win,_1aa){var _1ab={},hash={};var _1ac={length:0,add:function(_1ad){if(hash[_1ad.id]){throw new Error("Tried to register widget with id=="+_1ad.id+" but that id is already registered");}hash[_1ad.id]=_1ad;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_1ae){var id;do{id=_1ae+"_"+(_1ae in _1ab?++_1ab[_1ae]:_1ab[_1ae]=0);}while(hash[id]);return _1aa._scopeName=="dijit"?id:_1aa._scopeName+"_"+id;},findWidgets:function(root,_1af){var _1b0=[];function _1b1(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _1b2=node.getAttribute("widgetId");if(_1b2){var _1b3=hash[_1b2];if(_1b3){_1b0.push(_1b3);}}else{if(node!==_1af){_1b1(node);}}}}};_1b1(root);return _1b0;},_destroyAll:function(){_1aa._curFocus=null;_1aa._prevFocus=null;_1aa._activeStack=[];_1a9.forEach(_1ac.findWidgets(win.body()),function(_1b4){if(!_1b4._destroyed){if(_1b4.destroyRecursive){_1b4.destroyRecursive();}else{if(_1b4.destroy){_1b4.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_1aa.registry=_1ac;return _1ac;});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_1b5,_1b6,_1b7,_1b8,lang,_1b9,on,has,_1ba,a11y){return _1b6("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_1bb){this._set("disabled",_1bb);_1b7.set(this.focusNode,"disabled",_1bb);if(this.valueNode){_1b7.set(this.valueNode,"disabled",_1bb);}this.focusNode.setAttribute("aria-disabled",_1bb?"true":"false");if(_1bb){this._set("hovering",false);this._set("active",false);var _1bc="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_1b5.forEach(lang.isArray(_1bc)?_1bc:[_1bc],function(_1bd){var node=this[_1bd];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _1be=this.own(on(this.focusNode,"focus",function(){_1bf.remove();_1be.remove();}))[0];var _1c0=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _1bf=this.own(on(this.ownerDocumentBody,_1c0,lang.hitch(this,function(evt){_1bf.remove();_1be.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_1ba.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_1b8.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_1c1,_1c2){if(this._lastValueReported==undefined&&(_1c2===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1c1;}this._pendingOnChange=this._pendingOnChange||(typeof _1c1!=typeof this._lastValueReported)||(this.compare(_1c1,this._lastValueReported)!=0);if((this.intermediateChanges||_1c2||_1c2===undefined)&&this._pendingOnChange){this._lastValueReported=_1c1;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_1c1);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/_AttachMixin":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_1c3,_1c4,_1c5,_1c6,lang,_1c7,on,_1c8,_1c9){var _1ca=lang.delegate(_1c8,{"mouseenter":_1c7.enter,"mouseleave":_1c7.leave,"keypress":_1c5._keypress});var _1cb;var _1cc=_1c6("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_1cd){var node=_1cd;while(true){if(node.nodeType==1&&(this._processTemplateNode(node,function(n,p){return n.getAttribute(p);},this._attach)||this.searchContainerNode)&&node.firstChild){node=node.firstChild;}else{if(node==_1cd){return;}while(!node.nextSibling){node=node.parentNode;if(node==_1cd){return;}}node=node.nextSibling;}}},_processTemplateNode:function(_1ce,_1cf,_1d0){var ret=true;var _1d1=this.attachScope||this,_1d2=_1cf(_1ce,"dojoAttachPoint")||_1cf(_1ce,"data-dojo-attach-point");if(_1d2){var _1d3,_1d4=_1d2.split(/\s*,\s*/);while((_1d3=_1d4.shift())){if(lang.isArray(_1d1[_1d3])){_1d1[_1d3].push(_1ce);}else{_1d1[_1d3]=_1ce;}ret=(_1d3!="containerNode");this._attachPoints.push(_1d3);}}var _1d5=_1cf(_1ce,"dojoAttachEvent")||_1cf(_1ce,"data-dojo-attach-event");if(_1d5){var _1d6,_1d7=_1d5.split(/\s*,\s*/);var trim=lang.trim;while((_1d6=_1d7.shift())){if(_1d6){var _1d8=null;if(_1d6.indexOf(":")!=-1){var _1d9=_1d6.split(":");_1d6=trim(_1d9[0]);_1d8=trim(_1d9[1]);}else{_1d6=trim(_1d6);}if(!_1d8){_1d8=_1d6;}this._attachEvents.push(_1d0(_1ce,_1d6,lang.hitch(_1d1,_1d8)));}}}return ret;},_attach:function(node,type,func){type=type.replace(/^on/,"").toLowerCase();if(type=="dijitclick"){type=_1cb||(_1cb=_1c3("./a11yclick"));}else{type=_1ca[type]||type;}return on(node,type,func);},_detachTemplateNodes:function(){var _1da=this.attachScope||this;_1c4.forEach(this._attachPoints,function(_1db){delete _1da[_1db];});this._attachPoints=[];_1c4.forEach(this._attachEvents,function(_1dc){_1dc.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});lang.extend(_1c9,{dojoAttachEvent:"",dojoAttachPoint:""});return _1cc;});},"dijit/Fieldset":function(){define(["dojo/_base/declare","dojo/query!css2","dijit/TitlePane","dojo/text!./templates/Fieldset.html"],function(_1dd,_1de,_1df,_1e0){return _1dd("dijit.Fieldset",_1df,{baseClass:"dijitFieldset",title:"",open:true,templateString:_1e0,postCreate:function(){if(!this.title){var _1e1=_1de("legend",this.containerNode);if(_1e1.length){this.set("title",_1e1[0].innerHTML);_1e1[0].parentNode.removeChild(_1e1[0]);}}this.inherited(arguments);}});});},"dijit/_BidiMixin":function(){define([],function(){var _1e2={LRM:"‎",LRE:"‪",PDF:"‬",RLM:"‏",RLE:"‫"};return {textDir:"",getTextDir:function(text){return this.textDir=="auto"?this._checkContextual(text):this.textDir;},_checkContextual:function(text){var fdc=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(text);return fdc?(fdc[0]<="z"?"ltr":"rtl"):this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl";},applyTextDir:function(_1e3,text){if(this.textDir){var _1e4=this.textDir;if(_1e4=="auto"){if(typeof text==="undefined"){var _1e5=_1e3.tagName.toLowerCase();text=(_1e5=="input"||_1e5=="textarea")?_1e3.value:_1e3.innerText||_1e3.textContent||"";}_1e4=this._checkContextual(text);}if(_1e3.dir!=_1e4){_1e3.dir=_1e4;}}},enforceTextDirWithUcc:function(_1e6,text){if(this.textDir){if(_1e6){_1e6.originalText=text;}var dir=this.textDir=="auto"?this._checkContextual(text):this.textDir;return (dir=="ltr"?_1e2.LRE:_1e2.RLE)+text+_1e2.PDF;}return text;},restoreOriginalText:function(_1e7){if(_1e7.originalText){_1e7.text=_1e7.originalText;delete _1e7.originalText;}return _1e7;},_setTextDirAttr:function(_1e8){if(!this._created||this.textDir!=_1e8){this._set("textDir",_1e8);var node=null;if(this.displayNode){node=this.displayNode;this.displayNode.align=this.dir=="rtl"?"right":"left";}else{node=this.textDirNode||this.focusNode||this.textbox;}if(node){this.applyTextDir(node);}}}};});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_1e9,_1ea,_1eb,_1ec,win,_1ed,_1ee){function _1ef(node,_1f0,_1f1,_1f2){var view=_1ed.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_1e9.some(_1f0,function(_1f3){var _1f4=_1f3.corner;var pos=_1f3.pos;var _1f5=0;var _1f6={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_1f4.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_1f4.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_1f1){var res=_1f1(node,_1f3.aroundCorner,_1f4,_1f6,_1f2);_1f5=typeof res=="undefined"?0:res;}var _1f7=node.style;var _1f8=_1f7.display;var _1f9=_1f7.visibility;if(_1f7.display=="none"){_1f7.visibility="hidden";_1f7.display="";}var bb=_1ea.position(node);_1f7.display=_1f8;_1f7.visibility=_1f9;var _1fa={"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)}[_1f4.charAt(1)],_1fb={"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)}[_1f4.charAt(0)],_1fc=Math.max(view.l,_1fa),_1fd=Math.max(view.t,_1fb),endX=Math.min(view.l+view.w,_1fa+bb.w),endY=Math.min(view.t+view.h,_1fb+bb.h),_1fe=endX-_1fc,_1ff=endY-_1fd;_1f5+=(bb.w-_1fe)+(bb.h-_1ff);if(best==null||_1f5<best.overflow){best={corner:_1f4,aroundCorner:_1f3.aroundCorner,x:_1fc,y:_1fd,w:_1fe,h:_1ff,overflow:_1f5,spaceAvailable:_1f6};}return !_1f5;});if(best.overflow&&_1f1){_1f1(node,best.aroundCorner,best.corner,best.spaceAvailable,_1f2);}var top=best.y,side=best.x,body=win.body(node.ownerDocument);if(/relative|absolute/.test(_1eb.get(body,"position"))){top-=_1eb.get(body,"marginTop");side-=_1eb.get(body,"marginLeft");}var s=node.style;s.top=top+"px";s.left=side+"px";s.right="auto";return best;};var _200={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _201={at:function(node,pos,_202,_203,_204){var _205=_1e9.map(_202,function(_206){var c={corner:_206,aroundCorner:_200[_206],pos:{x:pos.x,y:pos.y}};if(_203){c.pos.x+=_206.charAt(1)=="L"?_203.x:-_203.x;c.pos.y+=_206.charAt(0)=="T"?_203.y:-_203.y;}return c;});return _1ef(node,_205,_204);},around:function(node,_207,_208,_209,_20a){var _20b;if(typeof _207=="string"||"offsetWidth" in _207||"ownerSVGElement" in _207){_20b=_1ea.position(_207,true);if(/^(above|below)/.test(_208[0])){var _20c=_1ea.getBorderExtents(_207),_20d=_207.firstChild?_1ea.getBorderExtents(_207.firstChild):{t:0,l:0,b:0,r:0},_20e=_1ea.getBorderExtents(node),_20f=node.firstChild?_1ea.getBorderExtents(node.firstChild):{t:0,l:0,b:0,r:0};_20b.y+=Math.min(_20c.t+_20d.t,_20e.t+_20f.t);_20b.h-=Math.min(_20c.t+_20d.t,_20e.t+_20f.t)+Math.min(_20c.b+_20d.b,_20e.b+_20f.b);}}else{_20b=_207;}if(_207.parentNode){var _210=_1eb.getComputedStyle(_207).position=="absolute";var _211=_207.parentNode;while(_211&&_211.nodeType==1&&_211.nodeName!="BODY"){var _212=_1ea.position(_211,true),pcs=_1eb.getComputedStyle(_211);if(/relative|absolute/.test(pcs.position)){_210=false;}if(!_210&&/hidden|auto|scroll/.test(pcs.overflow)){var _213=Math.min(_20b.y+_20b.h,_212.y+_212.h);var _214=Math.min(_20b.x+_20b.w,_212.x+_212.w);_20b.x=Math.max(_20b.x,_212.x);_20b.y=Math.max(_20b.y,_212.y);_20b.h=_213-_20b.y;_20b.w=_214-_20b.x;}if(pcs.position=="absolute"){_210=true;}_211=_211.parentNode;}}var x=_20b.x,y=_20b.y,_215="w" in _20b?_20b.w:(_20b.w=_20b.width),_216="h" in _20b?_20b.h:(_1ec.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_20b.height+", width:"+_215+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_20b.height+", w:"+_215+" }","","2.0"),_20b.h=_20b.height);var _217=[];function push(_218,_219){_217.push({aroundCorner:_218,corner:_219,pos:{x:{"L":x,"R":x+_215,"M":x+(_215>>1)}[_218.charAt(1)],y:{"T":y,"B":y+_216,"M":y+(_216>>1)}[_218.charAt(0)]}});};_1e9.forEach(_208,function(pos){var ltr=_209;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 _21a=_1ef(node,_217,_20a,{w:_215,h:_216});_21a.aroundNodePos=_20b;return _21a;}};return _1ee.place=_201;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_21b,has,_21c,_21d){return _21b("dijit.form._FormValueWidget",[_21c,_21d],{_layoutHackIE7:function(){if(has("ie")==7){var _21e=this.domNode;var _21f=_21e.parentNode;var _220=_21e.firstChild||_21e;var _221=_220.style.filter;var _222=this;while(_21f&&_21f.clientHeight==0){(function ping(){var _223=_222.connect(_21f,"onscroll",function(){_222.disconnect(_223);_220.style.filter=(new Date()).getMilliseconds();_222.defer(function(){_220.style.filter=_221;});});})();_21f=_21f.parentNode;}}}});});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_224,keys,_225,has,_226){var ret=_225("dijit._OnDijitClickMixin",null,{connect:function(obj,_227,_228){return this.inherited(arguments,[obj,_227=="ondijitclick"?_226:_227,_228]);}});ret.a11yclick=_226;return ret;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(keys,_229,on,_22a){function _22b(e){if((e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var node=e.target;node;node=node.parentNode){if(node.dojoClick){return true;}}}};var _22c;on(document,"keydown",function(e){if(_22b(e)){_22c=e.target;e.preventDefault();}else{_22c=null;}});on(document,"keyup",function(e){if(_22b(e)&&e.target==_22c){_22c=null;on.emit(e.target,"click",{cancelable:true,bubbles:true,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type});}});var _22d=function(node,_22e){node.dojoClick=true;return on(node,"click",_22e);};_22d.click=_22d;_22d.press=function(node,_22f){var _230=on(node,_22a.press,function(evt){if(evt.type=="mousedown"&&!_229.isLeft(evt)){return;}_22f(evt);}),_231=on(node,"keydown",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_22f(evt);}});return {remove:function(){_230.remove();_231.remove();}};};_22d.release=function(node,_232){var _233=on(node,_22a.release,function(evt){if(evt.type=="mouseup"&&!_229.isLeft(evt)){return;}_232(evt);}),_234=on(node,"keyup",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_232(evt);}});return {remove:function(){_233.remove();_234.remove();}};};_22d.move=_22a.move;return _22d;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_235,has,_236,win){_236(function(){if(has("highcontrast")){_235.add(win.body(),"dijit_a11y");}});return has;});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_237,_238,_239,lang,on,has,_23a,_23b){var _23c=_238("dijit._TemplatedMixin",_23b,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(tmpl){var _23d=this.declaredClass,_23e=this;return _23a.substitute(tmpl,this,function(_23f,key){if(key.charAt(0)=="!"){_23f=lang.getObject(key.substr(1),false,_23e);}if(typeof _23f=="undefined"){throw new Error(_23d+" template:"+key);}if(_23f==null){return "";}return key.charAt(0)=="!"?_23f:_23f.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_237(this.templatePath,{sanitize:true});}var _240=_23c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_240)){node=_239.toDom(this._stringRepl(_240),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_240);}}else{node=_240.cloneNode(true);}this.domNode=node;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_241){var dest=this.containerNode;if(_241&&dest){while(_241.hasChildNodes()){dest.appendChild(_241.firstChild);}}}});_23c._templateCache={};_23c.getCachedTemplate=function(_242,_243,doc){var _244=_23c._templateCache;var key=_242;var _245=_244[key];if(_245){try{if(!_245.ownerDocument||_245.ownerDocument==(doc||document)){return _245;}}catch(e){}_239.destroy(_245);}_242=_23a.trim(_242);if(_243||_242.match(/\$\{([^\}]+)\}/g)){return (_244[key]=_242);}else{var node=_239.toDom(_242,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_242);}return (_244[key]=node);}};if(has("ie")){on(window,"unload",function(){var _246=_23c._templateCache;for(var key in _246){var _247=_246[key];if(typeof _247=="object"){_239.destroy(_247);}delete _246[key];}});}return _23c;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_248,dom,lang,has,_249,_24a){var _24b=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _24c="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _24d=oSel.getRangeAt(0);if((_24d.startContainer==_24d.endContainer)&&((_24d.endOffset-_24d.startOffset)==1)&&(_24d.startContainer.nodeType!=3)){_24c="control";}}return _24c;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _24e=win.getSelection();return _24e?_24e.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _24f=win.getSelection();if(_24f&&_24f.rangeCount){var i;var html="";for(i=0;i<_24f.rangeCount;i++){var frag=_24f.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _250=win.getSelection();return _250.anchorNode.childNodes[_250.anchorOffset];}else{var _251=doc.selection.createRange();if(_251&&_251.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _252=doc.getSelection();if(_252){var node=_252.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_253){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_254){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _255=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _256=String(tags[i]).toLowerCase();if(_255==_256){return _256;}}}return "";};this.getParentOfType=function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;};this.collapse=function(_257){if(doc.getSelection){var _258=win.getSelection();if(_258.removeAllRanges){if(_257){_258.collapseToStart();}else{_258.collapseToEnd();}}else{_258.collapse(_257);}}else{var _259=doc.selection.createRange();_259.collapse(_257);_259.select();}};this.remove=function(){var sel=doc.selection;if(doc.getSelection){sel=win.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}};this.selectElementChildren=function(_25a,_25b){var _25c;_25a=dom.byId(_25a);if(doc.getSelection){var _25d=win.getSelection();if(has("opera")){if(_25d.rangeCount){_25c=_25d.getRangeAt(0);}else{_25c=doc.createRange();}_25c.setStart(_25a,0);_25c.setEnd(_25a,(_25a.nodeType==3)?_25a.length:_25a.childNodes.length);_25d.addRange(_25c);}else{_25d.selectAllChildren(_25a);}}else{_25c=_25a.ownerDocument.body.createTextRange();_25c.moveToElementText(_25a);if(!_25b){try{_25c.select();}catch(e){}}}};this.selectElement=function(_25e,_25f){var _260;_25e=dom.byId(_25e);if(doc.getSelection){var _261=doc.getSelection();_260=doc.createRange();if(_261.removeAllRanges){if(has("opera")){if(_261.getRangeAt(0)){_260=_261.getRangeAt(0);}}_260.selectNode(_25e);_261.removeAllRanges();_261.addRange(_260);}}else{try{var tg=_25e.tagName?_25e.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_260=_249.body(doc).createControlRange();}else{_260=_249.body(doc).createRange();}_260.addElement(_25e);if(!_25f){_260.select();}}catch(e){this.selectElementChildren(_25e,_25f);}}};this.inSelection=function(node){if(node){var _262;var _263;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_263=sel.getRangeAt(0);}if(_263&&_263.compareBoundaryPoints&&doc.createRange){try{_262=doc.createRange();_262.setStart(node,0);if(_263.compareBoundaryPoints(_263.START_TO_END,_262)===1){return true;}}catch(e){}}}else{_263=doc.selection.createRange();try{_262=node.ownerDocument.body.createTextRange();_262.moveToElementText(node);}catch(e2){}if(_263&&_262){if(_263.compareEndPoints("EndToStart",_262)===1){return true;}}}}return false;},this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_24a.curNode;if(doc.getSelection){sel=win.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;};this.moveToBookmark=function(_264){var mark=_264.mark;if(mark){if(doc.getSelection){var sel=win.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(doc.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=doc.body.createControlRange();_248.forEach(mark,function(n){rg.addElement(n);});}else{rg=doc.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}};this.isCollapsed=function(){return this.getBookmark().isCollapsed;};};var _265=new _24b(window);_265.SelectionManager=_24b;return _265;});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_266,has,_267,_268,_269,_26a,_26b,_26c){if(has("dijit-legacy-requires")){_268(0,function(){var _26d=["dijit/form/_FormValueWidget"];require(_26d);});}return _266("dijit.form._FormWidget",[_269,_26b,_26a,_26c],{setDisabled:function(_26e){_267.deprecated("setDisabled("+_26e+") is deprecated. Use set('disabled',"+_26e+") instead.","","2.0");this.set("disabled",_26e);},setValue:function(_26f){_267.deprecated("dijit.form._FormWidget:setValue("+_26f+") is deprecated.  Use set('value',"+_26f+") instead.","","2.0");this.set("value",_26f);},getValue:function(){_267.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_270,dom,lang,_271,win,_272,_273,_274){var _275={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _274.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_273:new _273.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_276){var sel=win.global==window?_273:new _273.SelectionManager(win.global);return sel.moveToBookmark(_276);},getFocus:function(menu,_277){var node=!_272.curNode||(menu&&dom.isDescendant(_272.curNode,menu.domNode))?_274._prevFocus:_272.curNode;return {node:node,bookmark:node&&(node==_272.curNode)&&win.withGlobal(_277||win.global,_274.getBookmark),openedForWindow:_277};},_activeStack:[],registerIframe:function(_278){return _272.registerIframe(_278);},unregisterIframe:function(_279){_279&&_279.remove();},registerWin:function(_27a,_27b){return _272.registerWin(_27a,_27b);},unregisterWin:function(_27c){_27c&&_27c.remove();}};_272.focus=function(_27d){if(!_27d){return;}var node="node" in _27d?_27d.node:_27d,_27e=_27d.bookmark,_27f=_27d.openedForWindow,_280=_27e?_27e.isCollapsed:false;if(node){var _281=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_281&&_281.focus){try{_281.focus();}catch(e){}}_272._onFocusNode(node);}if(_27e&&win.withGlobal(_27f||win.global,_274.isCollapsed)&&!_280){if(_27f){_27f.focus();}try{win.withGlobal(_27f||win.global,_274.moveToBookmark,null,[_27e]);}catch(e2){}}};_272.watch("curNode",function(name,_282,_283){_274._curFocus=_283;_274._prevFocus=_282;if(_283){_271.publish("focusNode",_283);}});_272.watch("activeStack",function(name,_284,_285){_274._activeStack=_285;});_272.on("widget-blur",function(_286,by){_271.publish("widgetBlur",_286,by);});_272.on("widget-focus",function(_287,by){_271.publish("widgetFocus",_287,by);});lang.mixin(_274,_275);return _274;});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_288,_289,_28a,_28b,_28c,_28d,_28e,_28f){return _28c("dijit.layout._LayoutWidget",[_288,_289,_28a],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_28d.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _290=this.getParent&&this.getParent();if(!(_290&&_290.isLayoutContainer)){this.resize();this.own(_28b.on("resize",lang.hitch(this,"resize")));}},resize:function(_291,_292){var node=this.domNode;if(_291){_28e.setMarginBox(node,_291);}var mb=_292||{};lang.mixin(mb,_291||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_28e.getMarginBox(node),mb);}var cs=_28f.getComputedStyle(node);var me=_28e.getMarginExtents(node,cs);var be=_28e.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_28e.getPadExtents(node,cs);this._contentBox={l:_28f.toPixelValue(node,cs.paddingLeft),t:_28f.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_293){var cls=this.baseClass+"-child "+(_293.baseClass?this.baseClass+"-"+_293.baseClass:"");_28d.add(_293.domNode,cls);},addChild:function(_294,_295){this.inherited(arguments);if(this._started){this._setupChild(_294);}},removeChild:function(_296){var cls=this.baseClass+"-child"+(_296.baseClass?" "+this.baseClass+"-"+_296.baseClass:"");_28d.remove(_296.domNode,cls);this.inherited(arguments);}});});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_297,_298,_299,_29a,has,_29b,lang,_29c,_29d,_29e,_29f,_2a0,_2a1){function _2a2(){};function _2a3(_2a4){return function(obj,_2a5,_2a6,_2a7){if(obj&&typeof _2a5=="string"&&obj[_2a5]==_2a2){return obj.on(_2a5.substring(2).toLowerCase(),lang.hitch(_2a6,_2a7));}return _2a4.apply(_299,arguments);};};_297.around(_299,"connect",_2a3);if(_29b.connect){_297.around(_29b,"connect",_2a3);}var _2a8=_29a("dijit._Widget",[_29f,_2a0,_2a1],{onClick:_2a2,onDblClick:_2a2,onKeyDown:_2a2,onKeyPress:_2a2,onKeyUp:_2a2,onMouseDown:_2a2,onMouseMove:_2a2,onMouseOut:_2a2,onMouseOver:_2a2,onMouseLeave:_2a2,onMouseEnter:_2a2,onMouseUp:_2a2,constructor:function(_2a9){this._toConnect={};for(var name in _2a9){if(this[name]===_2a2){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_2a9[name];delete _2a9[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)]===_2a2){return _299.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_2aa){_29b.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_2aa);},attr:function(name,_2ab){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_29b.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_29c("[widgetId]",this.containerNode).map(_29e.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_29d(0,function(){var _2ac=["dijit/_base"];require(_2ac);});}return _2a8;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_2ad,_2ae,_2af,lang){lang.extend(_2ae,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _2af("dijit._FocusMixin",null,{_focusManager:_2ad});});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_2b0,_2b1,dom,_2b2,_2b3,_2b4,_2b5,lang,on,_2b6,has,_2b7,win,_2b8,a11y,_2b9,_2ba){var _2bb;var _2bc=_2b1([_2b7,_2b5],{curNode:null,activeStack:[],constructor:function(){var _2bd=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);}});_2b0.before(_2b4,"empty",_2bd);_2b0.before(_2b4,"destroy",_2bd);},registerIframe:function(_2be){return this.registerWin(_2be.contentWindow,_2be);},registerWin:function(_2bf,_2c0){var _2c1=this,body=_2bf.document&&_2bf.document.body;if(body){var mdh=on(_2bf.document,"mousedown, touchstart",function(evt){_2c1._justMouseDowned=true;setTimeout(function(){_2c1._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_2c1._onTouchNode(_2c0||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){_2bb=(new Date()).getTime();if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_2c1._onFocusNode(_2c0||evt.target);}else{_2c1._onTouchNode(_2c0||evt.target);}});var foh=on(body,"focusout",function(evt){if((new Date()).getTime()<_2bb+100){return;}_2c1._onBlurNode(_2c0||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([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_2b3.contains(node,"dijitPopup")){node=node.firstChild;}var _2c2=[];try{while(node){var _2c3=_2b2.get(node,"dijitPopupParent");if(_2c3){node=_2b9.byId(_2c3).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_2b8.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_2c4=id&&_2b9.byId(id);if(_2c4&&!(by=="mouse"&&_2c4.get("disabled"))){_2c2.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_2c2,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(_2c5,by){var _2c6=this.activeStack,_2c7=_2c6.length-1,_2c8=_2c5.length-1;if(_2c5[_2c8]==_2c6[_2c7]){return;}this.set("activeStack",_2c5);var _2c9,i;for(i=_2c7;i>=0&&_2c6[i]!=_2c5[i];i--){_2c9=_2b9.byId(_2c6[i]);if(_2c9){_2c9._hasBeenBlurred=true;_2c9.set("focused",false);if(_2c9._focusManager==this){_2c9._onBlur(by);}this.emit("widget-blur",_2c9,by);}}for(i++;i<=_2c8;i++){_2c9=_2b9.byId(_2c5[i]);if(_2c9){_2c9.set("focused",true);if(_2c9._focusManager==this){_2c9._onFocus(by);}this.emit("widget-focus",_2c9,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _2ca=new _2bc();_2b6(function(){var _2cb=_2ca.registerWin(_2b8.get(document));if(has("ie")){on(window,"unload",function(){if(_2cb){_2cb.remove();_2cb=null;}});}});_2ba.focus=function(node){_2ca.focus(node);};for(var attr in _2ca){if(!/^_/.test(attr)){_2ba.focus[attr]=typeof _2ca[attr]=="function"?lang.hitch(_2ca,attr):_2ca[attr];}}_2ca.watch(function(attr,_2cc,_2cd){_2ba.focus[attr]=_2cd;});return _2ca;});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_2ce,_2cf){return _2ce("dijit._Contained",null,{_getSibling:function(_2d0){var node=this.domNode;do{node=node[_2d0+"Sibling"];}while(node&&node.nodeType!=1);return node&&_2cf.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/_base/scroll":function(){define(["dojo/window","../main"],function(_2d1,_2d2){_2d2.scrollIntoView=function(node,pos){_2d1.scrollIntoView(node,pos);};});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_2d3,_2d4,_2d5){return _2d5("dijit.Destroyable",null,{destroy:function(_2d6){this._destroyed=true;},own:function(){_2d3.forEach(arguments,function(_2d7){var _2d8="destroyRecursive" in _2d7?"destroyRecursive":"destroy" in _2d7?"destroy":"remove";var odh=_2d4.before(this,"destroy",function(_2d9){_2d7[_2d8](_2d9);});var hdh=_2d4.after(_2d7,_2d8,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_2da,_2db){_2db.getDocumentWindow=function(doc){return _2da.get(doc);};});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_2dc,dojo,_2dd,_2de,_2df,dom,_2e0,geom,_2e1,_2e2){if(!dojo.isAsync){_2e1(0,function(){var _2e3=["./fx/Toggler"];_2e2(_2e3);});}var _2e4=dojo.fx={};var _2e5={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _2e6=function(_2e7){this._index=-1;this._animations=_2e7||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_2dd.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_2e6.prototype=new _2dc();lang.extend(_2e6,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_2de.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_2de.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_2e8,_2e9){if(!this._current){this._current=this._animations[this._index=0];}if(!_2e9&&this._current.status()=="playing"){return this;}var _2ea=_2de.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_2eb=_2de.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_2ec=_2de.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_2ea.remove();_2eb.remove();_2ec.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_2de.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_2de.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_2de.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_2ed,_2ee){this.pause();var _2ef=this.duration*_2ed;this._current=null;_2dd.some(this._animations,function(a){if(a.duration<=_2ef){this._current=a;return true;}_2ef-=a.duration;return false;});if(this._current){this._current.gotoPercent(_2ef/this._current.duration,_2ee);}return this;},stop:function(_2f0){if(this._current){if(_2f0){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_2de.after(this._current,"onStop",lang.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_2e6,_2e5);_2e4.chain=function(_2f1){return new _2e6(_2f1);};var _2f2=function(_2f3){this._animations=_2f3||[];this._connects=[];this._finished=0;this.duration=0;_2dd.forEach(_2f3,function(a){var _2f4=a.duration;if(a.delay){_2f4+=a.delay;}if(this.duration<_2f4){this.duration=_2f4;}this._connects.push(_2de.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _2df.Animation({curve:[0,1],duration:this.duration});var self=this;_2dd.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_2de.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_2f2,{_doAction:function(_2f5,args){_2dd.forEach(this._animations,function(a){a[_2f5].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_2f6,args){var t=this._pseudoAnimation;t[_2f6].apply(t,args);},play:function(_2f7,_2f8){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(_2f9,_2fa){var ms=this.duration*_2f9;_2dd.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_2fa);});this._call("gotoPercent",arguments);return this;},stop:function(_2fb){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_2dd.forEach(this._connects,function(_2fc){_2fc.remove();});}});lang.extend(_2f2,_2e5);_2e4.combine=function(_2fd){return new _2f2(_2fd);};_2e4.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_2df.animateProperty(lang.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 _2fe=_2e0.get(node,"height");return Math.max(_2fe,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_2de.after(anim,"onStop",fini,true);_2de.after(anim,"onEnd",fini,true);return anim;};_2e4.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_2df.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_2de.after(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_2de.after(anim,"onStop",fini,true);_2de.after(anim,"onEnd",fini,true);return anim;};_2e4.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_2e0.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=geom.position(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 anim=_2df.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_2de.after(anim,"beforeBegin",init,true);return anim;};return _2e4;});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/TitlePane":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager","./a11yclick"],function(_2ff,_300,dom,_301,_302,_303,_304,has,_305,keys,_306,_307,_308,_309,_30a){var _30b=_300("dijit.TitlePane",[_308,_307,_306],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_30a.defaultDuration,baseClass:"dijitTitlePane",templateString:_309,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,this.baseClass+"Title");}var _30c=this.hideNode,_30d=this.wipeNode;this._wipeIn=_304.wipeIn({node:_30d,duration:this.duration,beforeBegin:function(){_30c.style.display="";}});this._wipeOut=_304.wipeOut({node:_30d,duration:this.duration,onEnd:function(){_30c.style.display="none";}});},_setOpenAttr:function(open,_30e){_2ff.forEach([this._wipeIn,this._wipeOut],function(_30f){if(_30f&&_30f.status()=="playing"){_30f.stop();}});if(_30e){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.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_310){this.focusNode.setAttribute("role",_310?"button":"heading");if(_310){this.focusNode.setAttribute("aria-controls",this.id+"_pane");this.focusNode.setAttribute("tabIndex",this.tabIndex);this.focusNode.setAttribute("aria-pressed",this.open);}else{_301.remove(this.focusNode,"aria-controls");_301.remove(this.focusNode,"tabIndex");_301.remove(this.focusNode,"aria-pressed");}this._set("toggleable",_310);this._setCss();},_setContentAttr:function(_311){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_303.setMarginBox(this.wipeNode,{h:_303.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 _312=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_302.replace(node,this._titleBarClass,_312||"");_302.replace(node,this._titleBarClass.replace("TitlePaneTitle",""),(_312||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_313){_305.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_313);}});if(has("dojo-bidi")){_30b.extend({_setTitleAttr:function(_314){this._set("title",_314);this.titleNode.innerHTML=_314;this.applyTextDir(this.titleNode);},_setTooltipAttr:function(_315){this._set("tooltip",_315);if(this.textDir){_315=this.enforceTextDirWithUcc(null,_315);}_301.set(this.focusNode,"title",_315);},_setTextDirAttr:function(_316){if(this._created&&this.textDir!=_316){this._set("textDir",_316);this.set("title",this.title);this.set("tooltip",this.tooltip);}}});}return _30b;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_317,win,_318){var _319=_318._createWrapper;_318._createWrapper=function(_31a){if(!_31a.declaredClass){_31a={_popupWrapper:(_31a.parentNode&&_317.contains(_31a.parentNode,"dijitPopup"))?_31a.parentNode:null,domNode:_31a,destroy:function(){},ownerDocument:_31a.ownerDocument,ownerDocumentBody:win.body(_31a.ownerDocument)};}return _319.call(this,_31a);};var _31b=_318.open;_318.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 _31b.call(this,args);};return _318;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_31c,_31d,_31e,_31f){return _31d("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_320,_321){var _322=this.containerNode;if(_321>0){_322=_322.firstChild;while(_321>0){if(_322.nodeType==1){_321--;}_322=_322.nextSibling;}if(_322){_321="before";}else{_322=this.containerNode;_321="last";}}_31e.place(_320.domNode,_322,_321);if(this._started&&!_320._started){_320.startup();}},removeChild:function(_323){if(typeof _323=="number"){_323=this.getChildren()[_323];}if(_323){var node=_323.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_324,dir){_31f.deprecated(this.declaredClass+"::_getSiblingOfChild() is deprecated. Use _KeyNavMixin::_getNext() instead.","","2.0");var _325=this.getChildren(),idx=_31c.indexOf(_325,_324);return _325[idx+dir];},getIndexOfChild:function(_326){return _31c.indexOf(this.getChildren(),_326);}});});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"ondijitclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\" id=\"${id}_titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<span data-dojo-attach-point=\"arrowNode\" class=\"dijitInline dijitArrowNode\" role=\"presentation\"></span\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\" aria-labelledby=\"${id}_titleBarNode\">\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","url:dijit/templates/Fieldset.html":"<fieldset>\n\t<legend data-dojo-attach-event=\"ondijitclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tdata-dojo-attach-point=\"titleBarNode, titleNode\">\n\t\t<span data-dojo-attach-point=\"arrowNode\" class=\"dijitInline dijitArrowNode\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t><span data-dojo-attach-point=\"titleNode, focusNode\" class=\"dijitFieldsetLegendNode\" id=\"${id}_titleNode\"></span>\n\t</legend>\n\t<div class=\"dijitFieldsetContentOuter\" 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=\"dijitFieldsetContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\"\n\t\t\t\t \tid=\"${id}_pane\" aria-labelledby=\"${id}_titleNode\">\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</fieldset>\n","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/dijit*[\"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",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_327){return _327;});require(["dijit/dijit","dijit/_Templated","dijit/Fieldset","dijit/_BidiMixin"]);
}catch(e){console.log("Module 'dijit_19': ",e);}
try{//>>built
define("dijit/nls/_dijit_layout_basic_en",{"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Cancel","_localized":{},"buttonSave":"Save","itemClose":"Close"}});
}catch(e){console.log("Module 'dijit_layout_basic_19': ",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/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9,_a,_b){var _c=_1("dijit.DialogUnderlay",[_7,_8],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_4.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_d){this.node.className="dijitDialogUnderlay "+_d;this._set("class",_d);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_2.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _e=_6.getBox(this.ownerDocument);os.top=_e.t+"px";os.left=_e.l+"px";is.width=_e.w+"px";is.height=_e.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _9(this.domNode);var _f=_6.get(this.ownerDocument);this._modalConnects=[_a.on("resize",_2.hitch(this,"layout")),on(_f,"scroll",_2.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_c.show=function(_10,_11){var _12=_c._singleton;if(!_12||_12._destroyed){_12=_b._underlay=_c._singleton=new _c(_10);}else{if(_10){_12.set(_10);}}_5.set(_12.domNode,"zIndex",_11);if(!_12.open){_12.show();}};_c.hide=function(){var _13=_c._singleton;if(_13&&!_13._destroyed){_13.hide();}};return _c;});},"dojo/request":function(){define(["./request/default!"],function(_14){return _14;});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","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(_15,_16,_17,_18,_19,dom,_1a,_1b,_1c,fx,_1d,_1e,_1f,on,_20,has,_21,_22,_23,_24,_25,_26,_27,_28,_29,_2a,_2b,_2c,_2d){var _2e=_18("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_27,_29,_2a,_28],{templateString:_2d,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_25.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _2f=_1d.getLocalization("dijit","common");_1f.mixin(this,_2f);this.inherited(arguments);},postCreate:function(){_1c.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_17.after(this,"onExecute",_1f.hitch(this,"hide"),true);_17.after(this,"onCancel",_1f.hitch(this,"hide"),true);this._modalconnects=[];},onLoad:function(){this._size();this._position();if(this.autofocus&&_30.isTop(this)){this._getFocusItems(this.domNode);_24.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems(this.domNode);_24.focus(this._firstFocusItem);},_endDrag:function(){var _31=_1b.position(this.domNode),_32=_21.getBox(this.ownerDocument);_31.y=Math.min(Math.max(_31.y,0),(_32.h-_31.h));_31.x=Math.min(Math.max(_31.x,0),(_32.w-_31.w));this._relativePosition=_31;this._position();},_setup:function(){var _33=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_23:_22)(_33,{handle:this.titleBar});_17.after(this._moveable,"onMoveStop",_1f.hitch(this,"_endDrag"),true);}else{_1a.add(_33,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_16.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:_1f.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}else{_1c.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_1b.position(this.domNode);var _34=_21.getBox(this.ownerDocument);_34.w*=this.maxRatio;_34.h*=this.maxRatio;if(bb.w>=_34.w||bb.h>=_34.h){var _35=_1b.position(this.containerNode),w=Math.min(bb.w,_34.w)-(bb.w-_35.w),h=Math.min(bb.h,_34.h)-(bb.h-_35.h);if(this._singleChild&&this._singleChild.resize){if(typeof this._singleChildOriginalStyle=="undefined"){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;}this._singleChild.resize({w:w,h:h});}else{_1c.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(!_1a.contains(this.ownerDocumentBody,"dojoMove")){var _36=this.domNode,_37=_21.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_1b.position(_36),l=Math.floor(_37.l+(p?p.x:(_37.w-bb.w)/2)),t=Math.floor(_37.t+(p?p.y:(_37.h-bb.h)/2));_1c.set(_36,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==_1e.TAB){this._getFocusItems(this.domNode);var _38=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(_38==this._firstFocusItem&&evt.shiftKey){_24.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(_38==this._lastFocusItem&&!evt.shiftKey){_24.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==_1e.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},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();_30.hide(this);}var win=_21.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",_1f.hitch(this,"resize")));this._modalconnects.push(on(this.domNode,"keydown",_1f.hitch(this,"_onKey")));_1c.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _39;this._fadeInDeferred=new _19(_1f.hitch(this,function(){_39.stop();delete this._fadeInDeferred;}));var _3a=this._fadeInDeferred.promise;_39=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_1f.hitch(this,function(){_30.show(this,this.underlayAttrs);}),onEnd:_1f.hitch(this,function(){if(this.autofocus&&_30.isTop(this)){this._getFocusItems(this.domNode);_24.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _3a;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _3b;this._fadeOutDeferred=new _19(_1f.hitch(this,function(){_3b.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(_1f.hitch(this,"onHide"));var _3c=this._fadeOutDeferred.promise;_3b=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_1f.hitch(this,function(){this.domNode.style.display="none";_30.hide(this);this._fadeOutDeferred.resolve(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 _3c;},resize:function(){if(this.domNode.style.display!="none"){this._size();if(!has("touch")){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();}_30.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_2e=_18("dijit._DialogBase",_2e,{_setTitleAttr:function(_3d){this._set("title",_3d);this.titleNode.innerHTML=_3d;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_3e){if(this._created&&this.textDir!=_3e){this._set("textDir",_3e);this.set("title",this.title);}}});}var _3f=_18("dijit.Dialog",[_2c,_2e],{});_3f._DialogBase=_2e;var _30=_3f._DialogLevelManager={_beginZIndex:950,show:function(_40,_41){ds[ds.length-1].focus=_24.curNode;var _42=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_3f._DialogLevelManager._beginZIndex;_1c.set(_40.domNode,"zIndex",_42);_2b.show(_41,_42-1);ds.push({dialog:_40,underlayAttrs:_41,zIndex:_42});},hide:function(_43){if(ds[ds.length-1].dialog==_43){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_2b.hide();}else{_2b.show(pd.underlayAttrs,pd.zIndex-1);}if(_43.refocus){var _44=pd.focus;if(pd.dialog&&(!_44||!dom.isDescendant(_44,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_44=pd.dialog._firstFocusItem;}if(_44){try{_44.focus();}catch(e){}}}}else{var idx=_16.indexOf(_16.map(ds,function(_45){return _45.dialog;}),_43);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_46){return ds[ds.length-1].dialog==_46;}};var ds=_3f._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_24.watch("curNode",function(_47,_48,_49){var _4a=ds[ds.length-1].dialog;if(_49&&_4a&&!_4a._fadeOutDeferred&&_49.ownerDocument==_4a.ownerDocument){do{if(_49==_4a.domNode||_1a.contains(_49,"dijitPopup")){return;}}while(_49=_49.parentNode);_4a.focus();}});if(has("dijit-legacy-requires")){_20(0,function(){var _4b=["dijit/TooltipDialog"];_15(_4b);});}return _3f;});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_4c,_4d,_4e,_4f,_50,dom,_51,_52,_53,all,_54,_55,has,_56,don,_57){new Date("X");function _58(_59){return eval("("+_59+")");};var _5a=0;_53.after(_4e,"extend",function(){_5a++;},true);function _5b(_5c){var map=_5c._nameCaseMap,_5d=_5c.prototype;if(!map||map._extendCnt<_5a){map=_5c._nameCaseMap={};for(var _5e in _5d){if(_5e.charAt(0)==="_"){continue;}map[_5e.toLowerCase()]=_5e;}map._extendCnt=_5a;}return map;};var _5f={};function _60(_61,_62){var ts=_61.join();if(!_5f[ts]){var _63=[];for(var i=0,l=_61.length;i<l;i++){var t=_61[i];_63[_63.length]=(_5f[t]=_5f[t]||(_4e.getObject(t)||(~t.indexOf("/")&&(_62?_62(t):_4c(t)))));}var _64=_63.shift();_5f[ts]=_63.length?(_64.createSubclass?_64.createSubclass(_63):_64.extend.apply(_64,_63)):_64;}return _5f[ts];};var _65={_clearCache:function(){_5a++;_5f={};},_functionFromScript:function(_66,_67){var _68="",_69="",_6a=(_66.getAttribute(_67+"args")||_66.getAttribute("args")),_6b=_66.getAttribute("with");var _6c=(_6a||"").split(/\s*,\s*/);if(_6b&&_6b.length){_4f.forEach(_6b.split(/\s*,\s*/),function(_6d){_68+="with("+_6d+"){";_69+="}";});}return new Function(_6c,_68+_66.innerHTML+_69);},instantiate:function(_6e,_6f,_70){_6f=_6f||{};_70=_70||{};var _71=(_70.scope||_4d._scopeName)+"Type",_72="data-"+(_70.scope||_4d._scopeName)+"-",_73=_72+"type",_74=_72+"mixins";var _75=[];_4f.forEach(_6e,function(_76){var _77=_71 in _6f?_6f[_71]:_76.getAttribute(_73)||_76.getAttribute(_71);if(_77){var _78=_76.getAttribute(_74),_79=_78?[_77].concat(_78.split(/\s*,\s*/)):[_77];_75.push({node:_76,types:_79});}});return this._instantiate(_75,_6f,_70);},_instantiate:function(_7a,_7b,_7c,_7d){var _7e=_4f.map(_7a,function(obj){var _7f=obj.ctor||_60(obj.types,_7c.contextRequire);if(!_7f){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_7f,obj.node,_7b,_7c,obj.scripts,obj.inherited);},this);function _80(_81){if(!_7b._started&&!_7c.noStart){_4f.forEach(_81,function(_82){if(typeof _82.startup==="function"&&!_82._started){_82.startup();}});}return _81;};if(_7d){return all(_7e).then(_80);}else{return _80(_7e);}},construct:function(_83,_84,_85,_86,_87,_88){var _89=_83&&_83.prototype;_86=_86||{};var _8a={};if(_86.defaults){_4e.mixin(_8a,_86.defaults);}if(_88){_4e.mixin(_8a,_88);}var _8b;if(has("dom-attributes-explicit")){_8b=_84.attributes;}else{if(has("dom-attributes-specified-flag")){_8b=_4f.filter(_84.attributes,function(a){return a.specified;});}else{var _8c=/^input$|^img$/i.test(_84.nodeName)?_84:_84.cloneNode(false),_8d=_8c.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_8b=_4f.map(_8d.split(/\s+/),function(_8e){var _8f=_8e.toLowerCase();return {name:_8e,value:(_84.nodeName=="LI"&&_8e=="value")||_8f=="enctype"?_84.getAttribute(_8f):_84.getAttributeNode(_8f).value};});}}var _90=_86.scope||_4d._scopeName,_91="data-"+_90+"-",_92={};if(_90!=="dojo"){_92[_91+"props"]="data-dojo-props";_92[_91+"type"]="data-dojo-type";_92[_91+"mixins"]="data-dojo-mixins";_92[_90+"type"]="dojoType";_92[_91+"id"]="data-dojo-id";}var i=0,_93,_94=[],_95,_96;while(_93=_8b[i++]){var _97=_93.name,_98=_97.toLowerCase(),_99=_93.value;switch(_92[_98]||_98){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_96=_99;break;case "data-dojo-id":case "jsid":_95=_99;break;case "data-dojo-attach-point":case "dojoattachpoint":_8a.dojoAttachPoint=_99;break;case "data-dojo-attach-event":case "dojoattachevent":_8a.dojoAttachEvent=_99;break;case "class":_8a["class"]=_84.className;break;case "style":_8a["style"]=_84.style&&_84.style.cssText;break;default:if(!(_97 in _89)){var map=_5b(_83);_97=map[_98]||_97;}if(_97 in _89){switch(typeof _89[_97]){case "string":_8a[_97]=_99;break;case "number":_8a[_97]=_99.length?Number(_99):NaN;break;case "boolean":_8a[_97]=_99.toLowerCase()!="false";break;case "function":if(_99===""||_99.search(/[^\w\.]+/i)!=-1){_8a[_97]=new Function(_99);}else{_8a[_97]=_4e.getObject(_99,false)||new Function(_99);}_94.push(_97);break;default:var _9a=_89[_97];_8a[_97]=(_9a&&"length" in _9a)?(_99?_99.split(/\s*,\s*/):[]):(_9a instanceof Date)?(_99==""?new Date(""):_99=="now"?new Date():_54.fromISOString(_99)):(_9a instanceof _52)?(_4d.baseUrl+_99):_58(_99);}}else{_8a[_97]=_99;}}}for(var j=0;j<_94.length;j++){var _9b=_94[j].toLowerCase();_84.removeAttribute(_9b);_84[_9b]=null;}if(_96){try{_96=_58.call(_86.propsThis,"{"+_96+"}");_4e.mixin(_8a,_96);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_96+"'");}}_4e.mixin(_8a,_85);if(!_87){_87=(_83&&(_83._noScript||_89._noScript)?[]:_56("> script[type^='dojo/']",_84));}var _9c=[],_9d=[],_9e=[],ons=[];if(_87){for(i=0;i<_87.length;i++){var _9f=_87[i];_84.removeChild(_9f);var _a0=(_9f.getAttribute(_91+"event")||_9f.getAttribute("event")),_a1=_9f.getAttribute(_91+"prop"),_a2=_9f.getAttribute(_91+"method"),_a3=_9f.getAttribute(_91+"advice"),_a4=_9f.getAttribute("type"),nf=this._functionFromScript(_9f,_91);if(_a0){if(_a4=="dojo/connect"){_9c.push({method:_a0,func:nf});}else{if(_a4=="dojo/on"){ons.push({event:_a0,func:nf});}else{_8a[_a0]=nf;}}}else{if(_a4=="dojo/aspect"){_9c.push({method:_a2,advice:_a3,func:nf});}else{if(_a4=="dojo/watch"){_9e.push({prop:_a1,func:nf});}else{_9d.push(nf);}}}}}var _a5=_83.markupFactory||_89.markupFactory;var _a6=_a5?_a5(_8a,_84,_83):new _83(_8a,_84);function _a7(_a8){if(_95){_4e.setObject(_95,_a8);}for(i=0;i<_9c.length;i++){_53[_9c[i].advice||"after"](_a8,_9c[i].method,_4e.hitch(_a8,_9c[i].func),true);}for(i=0;i<_9d.length;i++){_9d[i].call(_a8);}for(i=0;i<_9e.length;i++){_a8.watch(_9e[i].prop,_9e[i].func);}for(i=0;i<ons.length;i++){don(_a8,ons[i].event,ons[i].func);}return _a8;};if(_a6.then){return _a6.then(_a7);}else{return _a7(_a6);}},scan:function(_a9,_aa){var _ab=[],_ac=[],_ad={};var _ae=(_aa.scope||_4d._scopeName)+"Type",_af="data-"+(_aa.scope||_4d._scopeName)+"-",_b0=_af+"type",_b1=_af+"textdir",_b2=_af+"mixins";var _b3=_a9.firstChild;var _b4=_aa.inherited;if(!_b4){function _b5(_b6,_b7){return (_b6.getAttribute&&_b6.getAttribute(_b7))||(_b6.parentNode&&_b5(_b6.parentNode,_b7));};_b4={dir:_b5(_a9,"dir"),lang:_b5(_a9,"lang"),textDir:_b5(_a9,_b1)};for(var key in _b4){if(!_b4[key]){delete _b4[key];}}}var _b8={inherited:_b4};var _b9;var _ba;function _bb(_bc){if(!_bc.inherited){_bc.inherited={};var _bd=_bc.node,_be=_bb(_bc.parent);var _bf={dir:_bd.getAttribute("dir")||_be.dir,lang:_bd.getAttribute("lang")||_be.lang,textDir:_bd.getAttribute(_b1)||_be.textDir};for(var key in _bf){if(_bf[key]){_bc.inherited[key]=_bf[key];}}}return _bc.inherited;};while(true){if(!_b3){if(!_b8||!_b8.node){break;}_b3=_b8.node.nextSibling;_ba=false;_b8=_b8.parent;_b9=_b8.scripts;continue;}if(_b3.nodeType!=1){_b3=_b3.nextSibling;continue;}if(_b9&&_b3.nodeName.toLowerCase()=="script"){_c0=_b3.getAttribute("type");if(_c0&&/^dojo\/\w/i.test(_c0)){_b9.push(_b3);}_b3=_b3.nextSibling;continue;}if(_ba){_b3=_b3.nextSibling;continue;}var _c0=_b3.getAttribute(_b0)||_b3.getAttribute(_ae);var _c1=_b3.firstChild;if(!_c0&&(!_c1||(_c1.nodeType==3&&!_c1.nextSibling))){_b3=_b3.nextSibling;continue;}var _c2;var _c3=null;if(_c0){var _c4=_b3.getAttribute(_b2),_c5=_c4?[_c0].concat(_c4.split(/\s*,\s*/)):[_c0];try{_c3=_60(_c5,_aa.contextRequire);}catch(e){}if(!_c3){_4f.forEach(_c5,function(t){if(~t.indexOf("/")&&!_ad[t]){_ad[t]=true;_ac[_ac.length]=t;}});}var _c6=_c3&&!_c3.prototype._noScript?[]:null;_c2={types:_c5,ctor:_c3,parent:_b8,node:_b3,scripts:_c6};_c2.inherited=_bb(_c2);_ab.push(_c2);}else{_c2={node:_b3,scripts:_b9,parent:_b8};}_b9=_c6;_ba=_b3.stopParser||(_c3&&_c3.prototype.stopParser&&!(_aa.template));_b8=_c2;_b3=_c1;}var d=new _55();if(_ac.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_ac.join(", "));}var r=_aa.contextRequire||_4c;r(_ac,function(){d.resolve(_4f.filter(_ab,function(_c7){if(!_c7.ctor){try{_c7.ctor=_60(_c7.types,_aa.contextRequire);}catch(e){}}var _c8=_c7.parent;while(_c8&&!_c8.types){_c8=_c8.parent;}var _c9=_c7.ctor&&_c7.ctor.prototype;_c7.instantiateChildren=!(_c9&&_c9.stopParser&&!(_aa.template));_c7.instantiate=!_c8||(_c8.instantiate&&_c8.instantiateChildren);return _c7.instantiate;}));});}else{d.resolve(_ab);}return d.promise;},_require:function(_ca,_cb){var _cc=_58("{"+_ca.innerHTML+"}"),_cd=[],_ce=[],d=new _55();var _cf=(_cb&&_cb.contextRequire)||_4c;for(var _d0 in _cc){_cd.push(_d0);_ce.push(_cc[_d0]);}_cf(_ce,function(){for(var i=0;i<_cd.length;i++){_4e.setObject(_cd[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_d1,_d2){var _d3=new _55(),_d4=_d3.promise;_d3.resolve(true);var _d5=this;_56("script[type='dojo/require']",_d1).forEach(function(_d6){_d4=_d4.then(function(){return _d5._require(_d6,_d2);});_d6.parentNode.removeChild(_d6);});return _d4;},parse:function(_d7,_d8){var _d9;if(!_d8&&_d7&&_d7.rootNode){_d8=_d7;_d9=_d8.rootNode;}else{if(_d7&&_4e.isObject(_d7)&&!("nodeType" in _d7)){_d8=_d7;}else{_d9=_d7;}}_d9=_d9?dom.byId(_d9):_51.body();_d8=_d8||{};var _da=_d8.template?{template:true}:{},_db=[],_dc=this;var p=this._scanAmd(_d9,_d8).then(function(){return _dc.scan(_d9,_d8);}).then(function(_dd){return _dc._instantiate(_dd,_da,_d8,true);}).then(function(_de){return _db=_db.concat(_de);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_4e.mixin(_db,p);return _db;}};if(1){_4d.parser=_65;}if(_50.parseOnLoad){_57(100,_65,"parse");}return _65;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_df,_e0,_e1,has,_e2){var _e3=_e2.doc.documentElement,ie=has("ie"),_e4=has("opera"),maj=Math.floor,ff=has("ff"),_e5=_df.boxModel.replace(/-/,""),_e6={"dj_quirks":has("quirks"),"dj_opera":_e4,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_e6["dj_ie"]=true;_e6["dj_ie"+maj(ie)]=true;_e6["dj_iequirks"]=has("quirks");}if(ff){_e6["dj_ff"+maj(ff)]=true;}_e6["dj_"+_e5]=true;var _e7="";for(var clz in _e6){if(_e6[clz]){_e7+=clz+" ";}}_e3.className=_e0.trim(_e3.className+" "+_e7);_e1(function(){if(!_df.isBodyLtr()){var _e8="dj_rtl dijitRtl "+_e7.replace(/ /g,"-rtl ");_e3.className=_e0.trim(_e3.className+" "+_e8+"dj_rtl dijitRtl "+_e7.replace(/ /g,"-rtl "));}});return has;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_e9){return _e9.cache;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_ea,_eb,_ec,_ed,on,_ee){return _eb("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_ef){var res=[];_ea.forEach(_ef||this.getChildren(),function(_f0){if("value" in _f0){res.push(_f0);}else{res=res.concat(this._getDescendantFormWidgets(_f0.getChildren()));}},this);return res;},reset:function(){_ea.forEach(this._getDescendantFormWidgets(),function(_f1){if(_f1.reset){_f1.reset();}});},validate:function(){var _f2=false;return _ea.every(_ea.map(this._getDescendantFormWidgets(),function(_f3){_f3._hasBeenBlurred=true;var _f4=_f3.disabled||!_f3.validate||_f3.validate();if(!_f4&&!_f2){_ee.scrollIntoView(_f3.containerNode||_f3.domNode);_f3.focus();_f2=true;}return _f4;}),function(_f5){return _f5;});},setValues:function(val){_ec.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_ea.forEach(this._getDescendantFormWidgets(),function(_f6){if(!_f6.name){return;}var _f7=map[_f6.name]||(map[_f6.name]=[]);_f7.push(_f6);});for(var _f8 in map){if(!map.hasOwnProperty(_f8)){continue;}var _f9=map[_f8],_fa=_ed.getObject(_f8,false,obj);if(_fa===undefined){continue;}_fa=[].concat(_fa);if(typeof _f9[0].checked=="boolean"){_ea.forEach(_f9,function(w){w.set("value",_ea.indexOf(_fa,w._get("value"))!=-1);});}else{if(_f9[0].multiple){_f9[0].set("value",_fa);}else{_ea.forEach(_f9,function(w,i){w.set("value",_fa[i]);});}}}},getValues:function(){_ec.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_ea.forEach(this._getDescendantFormWidgets(),function(_fb){var _fc=_fb.name;if(!_fc||_fb.disabled){return;}var _fd=_fb.get("value");if(typeof _fb.checked=="boolean"){if(/Radio/.test(_fb.declaredClass)){if(_fd!==false){_ed.setObject(_fc,_fd,obj);}else{_fd=_ed.getObject(_fc,false,obj);if(_fd===undefined){_ed.setObject(_fc,null,obj);}}}else{var ary=_ed.getObject(_fc,false,obj);if(!ary){ary=[];_ed.setObject(_fc,ary,obj);}if(_fd!==false){ary.push(_fd);}}}else{var _fe=_ed.getObject(_fc,false,obj);if(typeof _fe!="undefined"){if(_ed.isArray(_fe)){_fe.push(_fd);}else{_ed.setObject(_fc,[_fe,_fd],obj);}}else{_ed.setObject(_fc,_fd,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _ff=_ea.map(this._descendants,function(w){return w.get("state")||"";});return _ea.indexOf(_ff,"Error")>=0?"Error":_ea.indexOf(_ff,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_100){this._descendants=this._getDescendantFormWidgets();_ea.forEach(this._descendants,function(_101){if(!_101._started){_101.startup();}});if(!_100){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_102,_103){this.onValidStateChange(_103=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_104,_105,has,keys,lang,on,_106,_107,_108,_109,_10a,_10b,_10c){var _10d=_104("dijit.TooltipDialog",[_107,_10a,_109,_108],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_10b,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.containerNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_10e,_10f){var newC={"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","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_10e+"-"+_10f];_105.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_106.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _110=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_110.y+((_110.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=_110.x+((_110.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems(this.containerNode);if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_106.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_106.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_10d.extend({_setTitleAttr:function(_111){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_111):_111;this._set("title",_111);},_setTextDirAttr:function(_112){if(!this._created||this.textDir!=_112){this._set("textDir",_112);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _10d;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_113,_114,_115){return _115("dijit.layout.LinkPane",[_113,_114],{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/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_116,has,_117){var _118;if(1){_118=function(url,sync,load){_117(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_116.getText){_118=_116.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _119={},_11a=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _11b=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_11b){text=_11b[1];}}else{text="";}return text;},_11c={},_11d={};dojo.cache=function(_11e,url,_11f){var key;if(typeof _11e=="string"){if(/\//.test(_11e)){key=_11e;_11f=url;}else{key=_116.toUrl(_11e.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_11e+"";_11f=url;}var val=(_11f!=undefined&&typeof _11f!="string")?_11f.value:_11f,_120=_11f&&_11f.sanitize;if(typeof val=="string"){_119[key]=val;return _120?_11a(val):val;}else{if(val===null){delete _119[key];return null;}else{if(!(key in _119)){_118(key,true,function(text){_119[key]=text;});}return _120?_11a(_119[key]):_119[key];}}};return {dynamic:true,normalize:function(id,_121){var _122=id.split("!"),url=_122[0];return (/^\./.test(url)?_121(url):url)+(_122[1]?"!"+_122[1]:"");},load:function(id,_123,load){var _124=id.split("!"),_125=_124.length>1,_126=_124[0],url=_123.toUrl(_124[0]),_127="url:"+url,text=_11c,_128=function(text){load(_125?_11a(text):text);};if(_126 in _119){text=_119[_126];}else{if(_123.cache&&_127 in _123.cache){text=_123.cache[_127];}else{if(url in _119){text=_119[url];}}}if(text===_11c){if(_11d[url]){_11d[url].push(_128);}else{var _129=_11d[url]=[_128];_118(url,!_123.async,function(text){_119[_126]=_119[url]=text;for(var i=0;i<_129.length;){_129[i++](text);}delete _11d[url];});}}else{_128(text);}}};});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_12a,a11y){return _12a("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _12b=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_12b.lowest||_12b.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_12b.last||_12b.highest||this._firstFocusItem;}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_12c,_12d,has){var _12e=has("config-requestProvider"),_12f;if(1){_12f="./xhr";}else{if(0){_12f="./node";}}if(!_12e){_12e=_12f;}_12c.getPlatformDefaultId=function(){return _12f;};_12c.load=function(id,_130,_131,_132){_12d([id=="platform"?_12f:_12e],function(_133){_131(_133);});};});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_134,has,_135,_136,lang,xhr,json,_137){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _138=dojo.i18n={},_139=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_13a=function(root,_13b,_13c,_13d){for(var _13e=[_13c+_13d],_13f=_13b.split("-"),_140="",i=0;i<_13f.length;i++){_140+=(_140?"-":"")+_13f[i];if(!root||root[_140]){_13e.push(_13c+_140+"/"+_13d);_13e.specificity=_140;}}return _13e;},_141={},_142=function(_143,_144,_145){_145=_145?_145.toLowerCase():dojo.locale;_143=_143.replace(/\./g,"/");_144=_144.replace(/\./g,"/");return (/root/i.test(_145))?(_143+"/nls/"+_144):(_143+"/nls/"+_145+"/"+_144);},_146=dojo.getL10nName=function(_147,_148,_149){return _147=_137.id+"!"+_142(_147,_148,_149);},_14a=function(_14b,_14c,_14d,_14e,_14f,load){_14b([_14c],function(root){var _150=lang.clone(root.root||root.ROOT),_151=_13a(!root._v1x&&root,_14f,_14d,_14e);_14b(_151,function(){for(var i=1;i<_151.length;i++){_150=lang.mixin(lang.clone(_150),arguments[i]);}var _152=_14c+"/"+_14f;_141[_152]=_150;_150.$locale=_151.specificity;load();});});},_153=function(id,_154){return /^\./.test(id)?_154(id):id;},_155=function(_156){var list=_136.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_156);return list;},load=function(id,_157,load){if(has("dojo-preload-i18n-Api")){var _158=id.split("*"),_159=_158[1]=="preload";if(_159){if(!_141[id]){_141[id]=1;_15a(_158[2],json.parse(_158[3]),1,_157);}load(1);}if(_159||_15b(id,_157,load)){return;}}var _15c=_139.exec(id),_15d=_15c[1]+"/",_15e=_15c[5]||_15c[4],_15f=_15d+_15e,_160=(_15c[5]&&_15c[4]),_161=_160||dojo.locale||"",_162=_15f+"/"+_161,_163=_160?[_161]:_155(_161),_164=_163.length,_165=function(){if(!--_164){load(lang.delegate(_141[_162]));}};_135.forEach(_163,function(_166){var _167=_15f+"/"+_166;if(has("dojo-preload-i18n-Api")){_168(_167);}if(!_141[_167]){_14a(_157,_15f,_15d,_15e,_166,_165);}else{_165();}});};if(has("dojo-unit-tests")){var _169=_138.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _16a=_138.normalizeLocale=function(_16b){var _16c=_16b?_16b.toLowerCase():dojo.locale;return _16c=="root"?"ROOT":_16c;},isXd=function(mid,_16d){return (1&&1)?_16d.isXdUrl(_134.toUrl(mid+".js")):true;},_16e=0,_16f=[],_15a=_138._preloadLocalizations=function(_170,_171,_172,_173){_173=_173||_134;function _174(mid,_175){if(isXd(mid,_173)||_172){_173([mid],_175);}else{_18f([mid],_175,_173);}};function _176(_177,func){var _178=_177.split("-");while(_178.length){if(func(_178.join("-"))){return;}_178.pop();}func("ROOT");};function _179(){_16e++;};function _17a(){--_16e;while(!_16e&&_16f.length){load.apply(null,_16f.shift());}};function _17b(path,name,loc,_17c){return _17c.toAbsMid(path+name+"/"+loc);};function _17d(_17e){_17e=_16a(_17e);_176(_17e,function(loc){if(_135.indexOf(_171,loc)>=0){var mid=_170.replace(/\./g,"/")+"_"+loc;_179();_174(mid,function(_17f){for(var p in _17f){var _180=_17f[p],_181=p.match(/(.+)\/([^\/]+)$/),_182,_183;if(!_181){continue;}_182=_181[2];_183=_181[1]+"/";_180._localized=_180._localized||{};var _184;if(loc==="ROOT"){var root=_184=_180._localized;delete _180._localized;root.root=_180;_141[_134.toAbsMid(p)]=root;}else{_184=_180._localized;_141[_17b(_183,_182,loc,_134)]=_180;}if(loc!==_17e){function _185(_186,_187,_188,_189){var _18a=[],_18b=[];_176(_17e,function(loc){if(_189[loc]){_18a.push(_134.toAbsMid(_186+loc+"/"+_187));_18b.push(_17b(_186,_187,loc,_134));}});if(_18a.length){_179();_173(_18a,function(){for(var i=0;i<_18a.length;i++){_188=lang.mixin(lang.clone(_188),arguments[i]);_141[_18b[i]]=_188;}_141[_17b(_186,_187,_17e,_134)]=lang.clone(_188);_17a();});}else{_141[_17b(_186,_187,_17e,_134)]=_188;}};_185(_183,_182,_180,_184);}}_17a();});return true;}return false;});};_17d();_135.forEach(dojo.config.extraLocale,_17d);},_15b=function(id,_18c,load){if(_16e){_16f.push([id,_18c,load]);}return _16e;},_168=function(){};}if(1){var _18d={},_18e=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_18f=function(deps,_190,_191){var _192=[];_135.forEach(deps,function(mid){var url=_191.toUrl(mid+".js");function load(text){var _193=_18e(text,_168,mid,_18d);if(_193===_18d){_192.push(_141[url]=_18d.result);}else{if(_193 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_193);_193={};}_192.push(_141[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_193:{root:_193,_v1x:1}));}};if(_141[url]){_192.push(_141[url]);}else{var _194=_191.syncLoadNls(mid);if(!_194){_194=_168(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_194){_192.push(_194);}else{if(!xhr){try{_191.getText(url,true,load);}catch(e){_192.push(_141[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_192.push(_141[url]={});}});}}}});_190&&_190.apply(null,_192);};_168=function(_195){for(var _196,_197=_195.split("/"),_198=dojo.global[_197[0]],i=1;_198&&i<_197.length-1;_198=_198[_197[i++]]){}if(_198){_196=_198[_197[i]];if(!_196){_196=_198[_197[i].replace(/-/g,"_")];}if(_196){_141[_195]=_196;}}return _196;};_138.getLocalization=function(_199,_19a,_19b){var _19c,_19d=_142(_199,_19a,_19b);load(_19d,(!isXd(_19d,_134)?function(deps,_19e){_18f(deps,_19e,_134);}:_134),function(_19f){_19c=_19f;});return _19c;};if(has("dojo-unit-tests")){_169.push(function(doh){doh.register("tests.i18n.unit",function(t){var _1a0;_1a0=_18e("{prop:1}",_168,"nonsense",_18d);t.is({prop:1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("({prop:1})",_168,"nonsense",_18d);t.is({prop:1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("{'prop-x':1}",_168,"nonsense",_18d);t.is({"prop-x":1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("({'prop-x':1})",_168,"nonsense",_18d);t.is({"prop-x":1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("define({'prop-x':1})",_168,"nonsense",_18d);t.is(_18d,_1a0);t.is({"prop-x":1},_18d.result);_1a0=_18e("define('some/module', {'prop-x':1})",_168,"nonsense",_18d);t.is(_18d,_1a0);t.is({"prop-x":1},_18d.result);_1a0=_18e("this is total nonsense and should throw an error",_168,"nonsense",_18d);t.is(_1a0 instanceof Error,true);});});}}return lang.mixin(_138,{dynamic:true,normalize:_153,load:load,cache:_141,getL10nName:_146});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_1a1,lang,_1a2,_1a3,dom,_1a4,_1a5){var _1a6=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_1a4.empty,_setNodeContent:function(node,cont){_1a4.empty(node);if(cont){if(typeof cont=="string"){cont=_1a4.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _1a7=cont.length,i=0;i<cont.length;i=_1a7==cont.length?i+1:0){_1a4.place(cont[i],node,"last");}}else{_1a4.place(cont,node,"last");}}return node;},_ContentSetter:_1a3("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_1a1._scopeName,startup:true,constructor:function(_1a8,node){lang.mixin(this,_1a8||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_1a6++].join("_");}},set:function(cont,_1a9){if(undefined!==cont){this.content=cont;}if(_1a9){this._mixin(_1a9);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _1aa=this.onContentError(e);try{node.innerHTML=_1aa;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_1a2.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_1a4.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _1ab=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1ab){cont=_1ab[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.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_1ac){var _1ad={},key;for(key in _1ac){if(key in _1ad){continue;}this[key]=_1ac[key];}},_parse:function(){var _1ae=this.node;try{var _1af={};_1a2.forEach(["dir","lang","textDir"],function(name){if(this[name]){_1af[name]=this[name];}},this);var self=this;this.parseDeferred=_1a5.parse({rootNode:_1ae,noStart:!this.startup,inherited:_1af,scope:this.parserScope}).then(function(_1b0){return self.parseResults=_1b0;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_1b1){var _1b2=this["on"+type+"Error"].call(this,err);if(_1b1){console.error(_1b1,err);}else{if(_1b2){html._setNodeContent(this.node,_1b2,true);}}}}),set:function(node,cont,_1b3){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_1b3){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_1b3,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_1b4){var _1b5={};lang.setObject("dojo.date.stamp",_1b5);_1b5.fromISOString=function(_1b6,_1b7){if(!_1b5._isoRegExp){_1b5._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _1b8=_1b5._isoRegExp.exec(_1b6),_1b9=null;if(_1b8){_1b8.shift();if(_1b8[1]){_1b8[1]--;}if(_1b8[6]){_1b8[6]*=1000;}if(_1b7){_1b7=new Date(_1b7);_1b4.forEach(_1b4.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1b7["get"+prop]();}),function(_1ba,_1bb){_1b8[_1bb]=_1b8[_1bb]||_1ba;});}_1b9=new Date(_1b8[0]||1970,_1b8[1]||0,_1b8[2]||1,_1b8[3]||0,_1b8[4]||0,_1b8[5]||0,_1b8[6]||0);if(_1b8[0]<100){_1b9.setFullYear(_1b8[0]||1970);}var _1bc=0,_1bd=_1b8[7]&&_1b8[7].charAt(0);if(_1bd!="Z"){_1bc=((_1b8[8]||0)*60)+(Number(_1b8[9])||0);if(_1bd!="-"){_1bc*=-1;}}if(_1bd){_1bc-=_1b9.getTimezoneOffset();}if(_1bc){_1b9.setTime(_1b9.getTime()+_1bc*60000);}}return _1b9;};_1b5.toISOString=function(_1be,_1bf){var _1c0=function(n){return (n<10)?"0"+n:n;};_1bf=_1bf||{};var _1c1=[],_1c2=_1bf.zulu?"getUTC":"get",date="";if(_1bf.selector!="time"){var year=_1be[_1c2+"FullYear"]();date=["0000".substr((year+"").length)+year,_1c0(_1be[_1c2+"Month"]()+1),_1c0(_1be[_1c2+"Date"]())].join("-");}_1c1.push(date);if(_1bf.selector!="date"){var time=[_1c0(_1be[_1c2+"Hours"]()),_1c0(_1be[_1c2+"Minutes"]()),_1c0(_1be[_1c2+"Seconds"]())].join(":");var _1c3=_1be[_1c2+"Milliseconds"]();if(_1bf.milliseconds){time+="."+(_1c3<100?"0":"")+_1c0(_1c3);}if(_1bf.zulu){time+="Z";}else{if(_1bf.selector!="time"){var _1c4=_1be.getTimezoneOffset();var _1c5=Math.abs(_1c4);time+=(_1c4>0?"-":"+")+_1c0(Math.floor(_1c5/60))+":"+_1c0(_1c5%60);}}_1c1.push(time);}return _1c1.join("T");};return _1b5;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_1c6,lang){var _1c7={};lang.setObject("dojo.string",_1c7);_1c7.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("");};_1c7.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_1c7.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_1c7.substitute=function(_1c8,map,_1c9,_1ca){_1ca=_1ca||_1c6.global;_1c9=_1c9?lang.hitch(_1ca,_1c9):function(v){return v;};return _1c8.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1cb,key,_1cc){var _1cd=lang.getObject(key,false,map);if(_1cc){_1cd=lang.getObject(_1cc,false,_1ca).call(_1ca,_1cd,key);}return _1c9(_1cd,key).toString();});};_1c7.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 _1c7;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_1ce,lang,_1cf,when){return _1ce("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_1d0){if(_1d0){this.set(_1d0);}},_get:function(name,_1d1){return typeof this[_1d1.g]==="function"?this[_1d1.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_1d2){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _1d3=this._getAttrNames(name),_1d4=this._get(name,_1d3),_1d5=this[_1d3.s],_1d6;if(typeof _1d5==="function"){_1d6=_1d5.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_1d2;}if(this._watchCallbacks){var self=this;when(_1d6,function(){self._watchCallbacks(name,_1d4,_1d2);});}return this;},_changeAttrValue:function(name,_1d7){var _1d8=this.get(name);this[name]=_1d7;if(this._watchCallbacks){this._watchCallbacks(name,_1d8,_1d7);}return this;},watch:function(name,_1d9){var _1da=this._watchCallbacks;if(!_1da){var self=this;_1da=this._watchCallbacks=function(name,_1db,_1dc,_1dd){var _1de=function(_1df){if(_1df){_1df=_1df.slice();for(var i=0,l=_1df.length;i<l;i++){_1df[i].call(self,name,_1db,_1dc);}}};_1de(_1da["_"+name]);if(!_1dd){_1de(_1da["*"]);}};}if(!_1d9&&typeof name==="function"){_1d9=name;name="*";}else{name="_"+name;}var _1e0=_1da[name];if(typeof _1e0!=="object"){_1e0=_1da[name]=[];}_1e0.push(_1d9);var _1e1={};_1e1.unwatch=_1e1.remove=function(){var _1e2=_1cf.indexOf(_1e0,_1d9);if(_1e2>-1){_1e0.splice(_1e2,1);}};return _1e1;}});});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_1e3,_1e4,when){"use strict";var some=_1e3.some;return function all(_1e5){var _1e6,_1e3;if(_1e5 instanceof Array){_1e3=_1e5;}else{if(_1e5&&typeof _1e5==="object"){_1e6=_1e5;}}var _1e7;var _1e8=[];if(_1e6){_1e3=[];for(var key in _1e6){if(Object.hasOwnProperty.call(_1e6,key)){_1e8.push(key);_1e3.push(_1e6[key]);}}_1e7={};}else{if(_1e3){_1e7=[];}}if(!_1e3||!_1e3.length){return new _1e4().resolve(_1e7);}var _1e9=new _1e4();_1e9.promise.always(function(){_1e7=_1e8=null;});var _1ea=_1e3.length;some(_1e3,function(_1eb,_1ec){if(!_1e6){_1e8.push(_1ec);}when(_1eb,function(_1ed){if(!_1e9.isFulfilled()){_1e7[_1e8[_1ec]]=_1ed;if(--_1ea===0){_1e9.resolve(_1e7);}}},_1e9.reject);return _1e9.isFulfilled();});return _1e9.promise;};});},"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\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"0\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class=\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","*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_19': ",e);}
try{//>>built
define("dojox/nls/_dojox_layout_basic_en",{"dijit/nls/loading":{"_localized":{},"loadingState":"Loading...","errorState":"Sorry, an error occurred"}});
}catch(e){console.log("Module 'dojox_layout_basic_19': ",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(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/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/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_26,_27,_28,has,_29){var ret=_28("dijit._OnDijitClickMixin",null,{connect:function(obj,_2a,_2b){return this.inherited(arguments,[obj,_2a=="ondijitclick"?_29:_2a,_2b]);}});ret.a11yclick=_29;return ret;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(_2c,_2d,on,_2e){function _2f(e){if((e.keyCode===_2c.ENTER||e.keyCode===_2c.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var _30=e.target;_30;_30=_30.parentNode){if(_30.dojoClick){return true;}}}};var _31;on(document,"keydown",function(e){if(_2f(e)){_31=e.target;e.preventDefault();}else{_31=null;}});on(document,"keyup",function(e){if(_2f(e)&&e.target==_31){_31=null;on.emit(e.target,"click",{cancelable:true,bubbles:true,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type});}});var _32=function(_33,_34){_33.dojoClick=true;return on(_33,"click",_34);};_32.click=_32;_32.press=function(_35,_36){var _37=on(_35,_2e.press,function(evt){if(evt.type=="mousedown"&&!_2d.isLeft(evt)){return;}_36(evt);}),_38=on(_35,"keydown",function(evt){if(evt.keyCode===_2c.ENTER||evt.keyCode===_2c.SPACE){_36(evt);}});return {remove:function(){_37.remove();_38.remove();}};};_32.release=function(_39,_3a){var _3b=on(_39,_2e.release,function(evt){if(evt.type=="mouseup"&&!_2d.isLeft(evt)){return;}_3a(evt);}),_3c=on(_39,"keyup",function(evt){if(evt.keyCode===_2c.ENTER||evt.keyCode===_2c.SPACE){_3a(evt);}});return {remove:function(){_3b.remove();_3c.remove();}};};_32.move=_2e.move;return _32;});},"dijit/_AttachMixin":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_3d,_3e,_3f,_40,_41,_42,on,_43,_44){var _45=_41.delegate(_43,{"mouseenter":_42.enter,"mouseleave":_42.leave,"keypress":_3f._keypress});var _46;var _47=_40("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_48){var _49=_48;while(true){if(_49.nodeType==1&&(this._processTemplateNode(_49,function(n,p){return n.getAttribute(p);},this._attach)||this.searchContainerNode)&&_49.firstChild){_49=_49.firstChild;}else{if(_49==_48){return;}while(!_49.nextSibling){_49=_49.parentNode;if(_49==_48){return;}}_49=_49.nextSibling;}}},_processTemplateNode:function(_4a,_4b,_4c){var ret=true;var _4d=this.attachScope||this,_4e=_4b(_4a,"dojoAttachPoint")||_4b(_4a,"data-dojo-attach-point");if(_4e){var _4f,_50=_4e.split(/\s*,\s*/);while((_4f=_50.shift())){if(_41.isArray(_4d[_4f])){_4d[_4f].push(_4a);}else{_4d[_4f]=_4a;}ret=(_4f!="containerNode");this._attachPoints.push(_4f);}}var _51=_4b(_4a,"dojoAttachEvent")||_4b(_4a,"data-dojo-attach-event");if(_51){var _52,_53=_51.split(/\s*,\s*/);var _54=_41.trim;while((_52=_53.shift())){if(_52){var _55=null;if(_52.indexOf(":")!=-1){var _56=_52.split(":");_52=_54(_56[0]);_55=_54(_56[1]);}else{_52=_54(_52);}if(!_55){_55=_52;}this._attachEvents.push(_4c(_4a,_52,_41.hitch(_4d,_55)));}}}return ret;},_attach:function(_57,_58,_59){_58=_58.replace(/^on/,"").toLowerCase();if(_58=="dijitclick"){_58=_46||(_46=_3d("./a11yclick"));}else{_58=_45[_58]||_58;}return on(_57,_58,_59);},_detachTemplateNodes:function(){var _5a=this.attachScope||this;_3e.forEach(this._attachPoints,function(_5b){delete _5a[_5b];});this._attachPoints=[];_3e.forEach(this._attachEvents,function(_5c){_5c.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});_41.extend(_44,{dojoAttachEvent:"",dojoAttachPoint:""});return _47;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_5d,_5e,_5f,_60,_61,_62,_63,_64,_65,_66,_67,dom,_68,_69,xhr,_6a,_6b){return _66("dijit.layout.ContentPane",[_5f,_60,_61],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_5d._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,markupFactory:function(_6c,_6d,_6e){var _6f=new _6e(_6c,_6d);return !_6f.href&&_6f._contentSetter&&_6f._contentSetter.parseDeferred&&!_6f._contentSetter.parseDeferred.isFulfilled()?_6f._contentSetter.parseDeferred.then(function(){return _6f;}):_6f;},create:function(_70,_71){if((!_70||!_70.template)&&_71&&!("href" in _70)&&!("content" in _70)){_71=dom.byId(_71);var df=_71.ownerDocument.createDocumentFragment();while(_71.firstChild){df.appendChild(_71.firstChild);}_70=_5e.delegate(_70,{content:df});}this.inherited(arguments,[_70,_71]);},postMixInProperties:function(){this.inherited(arguments);var _72=_6a.getLocalization("dijit","loading",this.lang);this.loadingMessage=_62.substitute(this.loadingMessage,_72);this.errorMessage=_62.substitute(this.errorMessage,_72);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_65.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_5e.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_65.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_5e.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_65.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_5e.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(_73){_5d.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",_73);},_setHrefAttr:function(_74){this.cancel();this.onLoadDeferred=new _67(_5e.hitch(this,"cancel"));this.onLoadDeferred.then(_5e.hitch(this,"onLoad"));this._set("href",_74);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(_75){_5d.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",_75);},_setContentAttr:function(_76){this._set("href","");this.cancel();this.onLoadDeferred=new _67(_5e.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(_5e.hitch(this,"onLoad"));}this._setContent(_76||"");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;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_77){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 _67(_5e.hitch(this,"cancel"));this.onLoadDeferred.then(_5e.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var _78=this;var _79={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(_5e.isObject(this.ioArgs)){_5e.mixin(_79,this.ioArgs);}var _7a=(this._xhrDfd=(this.ioMethod||xhr.get)(_79)),_7b;_7a.then(function(_7c){_7b=_7c;try{_78._isDownloaded=true;return _78._setContent(_7c,false);}catch(err){_78._onError("Content",err);}},function(err){if(!_7a.canceled){_78._onError("Download",err);}delete _78._xhrDfd;return err;}).then(function(){_78.onDownloadEnd();delete _78._xhrDfd;return _7b;});delete this._hrefChanged;},_onLoadHandler:function(_7d){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(_7d);}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(_7e){if(this.isLoaded){this._onUnloadHandler();}var _7f=this._contentSetter;_65.forEach(this.getChildren(),function(_80){if(_80.destroyRecursive){_80.destroyRecursive(_7e);}else{if(_80.destroy){_80.destroy(_7e);}}_80._destroyed=true;});if(_7f){_65.forEach(_7f.parseResults,function(_81){if(!_81._destroyed){if(_81.destroyRecursive){_81.destroyRecursive(_7e);}else{if(_81.destroy){_81.destroy(_7e);}}_81._destroyed=true;}});delete _7f.parseResults;}if(!_7e){_69.empty(this.containerNode);}delete this._singleChild;},_setContent:function(_82,_83){this.destroyDescendants();var _84=this._contentSetter;if(!(_84&&_84 instanceof _63._ContentSetter)){_84=this._contentSetter=new _63._ContentSetter({node:this.containerNode,_onError:_5e.hitch(this,this._onError),onContentError:_5e.hitch(this,function(e){var _85=this.onContentError(e);try{this.containerNode.innerHTML=_85;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _86=_5e.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!_82.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_84.set((_5e.isObject(_82)&&_82.domNode)?_82.domNode:_82,_86);var _87=this;return _6b(p&&p.then?p:_84.parseDeferred,function(){delete _87._contentSetterParams;if(!_83){if(_87._started){_87._startChildren();_87._scheduleLayout();}_87._onLoadHandler(_82);}});},_onError:function(_88,err,_89){this.onLoadDeferred.reject(err);var _8a=this["on"+_88+"Error"].call(this,err);if(_89){console.error(_89,err);}else{if(_8a){this._setContent(_8a,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_8b,_8c,dom,_8d,_8e,_8f,_90,_91,on,_92,has,_93,win,_94,_95,_96,_97){var _98;var _99=_8c([_93,_90],{curNode:null,activeStack:[],constructor:function(){var _9a=_91.hitch(this,function(_9b){if(dom.isDescendant(this.curNode,_9b)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,_9b)){this.set("prevNode",null);}});_8b.before(_8f,"empty",_9a);_8b.before(_8f,"destroy",_9a);},registerIframe:function(_9c){return this.registerWin(_9c.contentWindow,_9c);},registerWin:function(_9d,_9e){var _9f=this,_a0=_9d.document&&_9d.document.body;if(_a0){var mdh=on(_9d.document,"mousedown, touchstart",function(evt){_9f._justMouseDowned=true;setTimeout(function(){_9f._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_9f._onTouchNode(_9e||evt.target,"mouse");});var fih=on(_a0,"focusin",function(evt){_98=(new Date()).getTime();if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(_95.isFocusable(evt.target)){_9f._onFocusNode(_9e||evt.target);}else{_9f._onTouchNode(_9e||evt.target);}});var foh=on(_a0,"focusout",function(evt){if((new Date()).getTime()<_98+100){return;}_9f._onBlurNode(_9e||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;_a0=null;}};}},_onBlurNode:function(_a1){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(_91.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(_91.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(_a2,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_8e.contains(_a2,"dijitPopup")){_a2=_a2.firstChild;}var _a3=[];try{while(_a2){var _a4=_8d.get(_a2,"dijitPopupParent");if(_a4){_a2=_96.byId(_a4).domNode;}else{if(_a2.tagName&&_a2.tagName.toLowerCase()=="body"){if(_a2===win.body()){break;}_a2=_94.get(_a2.ownerDocument).frameElement;}else{var id=_a2.getAttribute&&_a2.getAttribute("widgetId"),_a5=id&&_96.byId(id);if(_a5&&!(by=="mouse"&&_a5.get("disabled"))){_a3.unshift(id);}_a2=_a2.parentNode;}}}}catch(e){}this._setStack(_a3,by);},_onFocusNode:function(_a6){if(!_a6){return;}if(_a6.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(_a6);if(_a6==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",_a6);},_setStack:function(_a7,by){var _a8=this.activeStack,_a9=_a8.length-1,_aa=_a7.length-1;if(_a7[_aa]==_a8[_a9]){return;}this.set("activeStack",_a7);var _ab,i;for(i=_a9;i>=0&&_a8[i]!=_a7[i];i--){_ab=_96.byId(_a8[i]);if(_ab){_ab._hasBeenBlurred=true;_ab.set("focused",false);if(_ab._focusManager==this){_ab._onBlur(by);}this.emit("widget-blur",_ab,by);}}for(i++;i<=_aa;i++){_ab=_96.byId(_a7[i]);if(_ab){_ab.set("focused",true);if(_ab._focusManager==this){_ab._onFocus(by);}this.emit("widget-focus",_ab,by);}}},focus:function(_ac){if(_ac){try{_ac.focus();}catch(e){}}}});var _ad=new _99();_92(function(){var _ae=_ad.registerWin(_94.get(document));if(has("ie")){on(window,"unload",function(){if(_ae){_ae.remove();_ae=null;}});}});_97.focus=function(_af){_ad.focus(_af);};for(var _b0 in _ad){if(!/^_/.test(_b0)){_97.focus[_b0]=typeof _ad[_b0]=="function"?_91.hitch(_ad,_b0):_ad[_b0];}}_ad.watch(function(_b1,_b2,_b3){_97.focus[_b1]=_b3;});return _ad;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_b4,_b5,_b6){return _b6("dijit.Destroyable",null,{destroy:function(_b7){this._destroyed=true;},own:function(){_b4.forEach(arguments,function(_b8){var _b9="destroyRecursive" in _b8?"destroyRecursive":"destroy" in _b8?"destroy":"remove";var odh=_b5.before(this,"destroy",function(_ba){_b8[_b9](_ba);});var hdh=_b5.after(_b8,_b9,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_bb,_bc,_bd,_be,on,has,_bf,_c0){var _c1=_bc("dijit._TemplatedMixin",_c0,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(_c2){var _c3=this.declaredClass,_c4=this;return _bf.substitute(_c2,this,function(_c5,key){if(key.charAt(0)=="!"){_c5=_be.getObject(key.substr(1),false,_c4);}if(typeof _c5=="undefined"){throw new Error(_c3+" template:"+key);}if(_c5==null){return "";}return key.charAt(0)=="!"?_c5:_c5.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_bb(this.templatePath,{sanitize:true});}var _c6=_c1.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _c7;if(_be.isString(_c6)){_c7=_bd.toDom(this._stringRepl(_c6),this.ownerDocument);if(_c7.nodeType!=1){throw new Error("Invalid template: "+_c6);}}else{_c7=_c6.cloneNode(true);}this.domNode=_c7;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_c8){var _c9=this.containerNode;if(_c8&&_c9){while(_c8.hasChildNodes()){_c9.appendChild(_c8.firstChild);}}}});_c1._templateCache={};_c1.getCachedTemplate=function(_ca,_cb,doc){var _cc=_c1._templateCache;var key=_ca;var _cd=_cc[key];if(_cd){try{if(!_cd.ownerDocument||_cd.ownerDocument==(doc||document)){return _cd;}}catch(e){}_bd.destroy(_cd);}_ca=_bf.trim(_ca);if(_cb||_ca.match(/\$\{([^\}]+)\}/g)){return (_cc[key]=_ca);}else{var _ce=_bd.toDom(_ca,doc);if(_ce.nodeType!=1){throw new Error("Invalid template: "+_ca);}return (_cc[key]=_ce);}};if(has("ie")){on(window,"unload",function(){var _cf=_c1._templateCache;for(var key in _cf){var _d0=_cf[key];if(typeof _d0=="object"){_bd.destroy(_d0);}delete _cf[key];}});}return _c1;});},"dojox/layout/ContentPane":function(){define(["dojo/_base/lang","dojo/_base/xhr","dijit/layout/ContentPane","dojox/html/_base","dojo/_base/declare"],function(_d1,_d2,_d3,_d4,_d5){return _d5("dojox.layout.ContentPane",_d3,{adjustPaths:false,cleanContent:false,renderStyles:false,executeScripts:true,scriptHasHooks:false,ioMethod:_d2.get,ioArgs:{},onExecError:function(e){},_setContent:function(_d6){var _d7=this._contentSetter;if(!(_d7&&_d7 instanceof _d4._ContentSetter)){_d7=this._contentSetter=new _d4._ContentSetter({node:this.containerNode,_onError:_d1.hitch(this,this._onError),onContentError:_d1.hitch(this,function(e){var _d8=this.onContentError(e);try{this.containerNode.innerHTML=_d8;}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+"')"};return this.inherited("_setContent",arguments);},destroy:function(){var _d9=this._contentSetter;if(_d9){_d9.tearDown();}this.inherited(arguments);}});});},"dijit/main":function(){define(["dojo/_base/kernel"],function(_da){return _da.dijit;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(_db,has,win,_dc){var _dd={},_de={};var _df={length:0,add:function(_e0){if(_de[_e0.id]){throw new Error("Tried to register widget with id=="+_e0.id+" but that id is already registered");}_de[_e0.id]=_e0;this.length++;},remove:function(id){if(_de[id]){delete _de[id];this.length--;}},byId:function(id){return typeof id=="string"?_de[id]:id;},byNode:function(_e1){return _de[_e1.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _de){ar.push(_de[id]);}return ar;},getUniqueId:function(_e2){var id;do{id=_e2+"_"+(_e2 in _dd?++_dd[_e2]:_dd[_e2]=0);}while(_de[id]);return _dc._scopeName=="dijit"?id:_dc._scopeName+"_"+id;},findWidgets:function(_e3,_e4){var _e5=[];function _e6(_e7){for(var _e8=_e7.firstChild;_e8;_e8=_e8.nextSibling){if(_e8.nodeType==1){var _e9=_e8.getAttribute("widgetId");if(_e9){var _ea=_de[_e9];if(_ea){_e5.push(_ea);}}else{if(_e8!==_e4){_e6(_e8);}}}}};_e6(_e3);return _e5;},_destroyAll:function(){_dc._curFocus=null;_dc._prevFocus=null;_dc._activeStack=[];_db.forEach(_df.findWidgets(win.body()),function(_eb){if(!_eb._destroyed){if(_eb.destroyRecursive){_eb.destroyRecursive();}else{if(_eb.destroy){_eb.destroy();}}}});},getEnclosingWidget:function(_ec){while(_ec){var id=_ec.nodeType==1&&_ec.getAttribute("widgetId");if(id){return _de[id];}_ec=_ec.parentNode;}return null;},_hash:_de};_dc.registry=_df;return _df;});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_ed,_ee,_ef,_f0,_f1){function _f2(_f3){return _f3.substring(0,1).toUpperCase()+_f3.substring(1);};function _f4(_f5,dim){var _f6=_f5.resize?_f5.resize(dim):_ef.setMarginBox(_f5.domNode,dim);if(_f6){_f1.mixin(_f5,_f6);}else{_f1.mixin(_f5,_ef.getMarginBox(_f5.domNode));_f1.mixin(_f5,dim);}};var _f7={marginBox2contentBox:function(_f8,mb){var cs=_f0.getComputedStyle(_f8);var me=_ef.getMarginExtents(_f8,cs);var pb=_ef.getPadBorderExtents(_f8,cs);return {l:_f0.toPixelValue(_f8,cs.paddingLeft),t:_f0.toPixelValue(_f8,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_f9,dim,_fa,_fb,_fc){dim=_f1.mixin({},dim);_ee.add(_f9,"dijitLayoutContainer");_fa=_ed.filter(_fa,function(_fd){return _fd.region!="center"&&_fd.layoutAlign!="client";}).concat(_ed.filter(_fa,function(_fe){return _fe.region=="center"||_fe.layoutAlign=="client";}));_ed.forEach(_fa,function(_ff){var elm=_ff.domNode,pos=(_ff.region||_ff.layoutAlign);if(!pos){throw new Error("No region setting for "+_ff.id);}var _100=elm.style;_100.left=dim.l+"px";_100.top=dim.t+"px";_100.position="absolute";_ee.add(elm,"dijitAlign"+_f2(pos));var _101={};if(_fb&&_fb==_ff.id){_101[_ff.region=="top"||_ff.region=="bottom"?"h":"w"]=_fc;}if(pos=="leading"){pos=_ff.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_ff.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_101.w=dim.w;_f4(_ff,_101);dim.h-=_ff.h;if(pos=="top"){dim.t+=_ff.h;}else{_100.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_101.h=dim.h;_f4(_ff,_101);dim.w-=_ff.w;if(pos=="left"){dim.l+=_ff.w;}else{_100.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){_f4(_ff,dim);}}}});}};_f1.setObject("dijit.layout.utils",_f7);return _f7;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_102,has,_103,win){_103(function(){if(has("highcontrast")){_102.add(win.body(),"dijit_a11y");}});return has;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_104,_105,_106,_107,has,_108,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_105.blankGif||_104.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_107.getComputedStyle(div),_109=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_109&&(_109=="none"||_109=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_108(function(){if(has("highcontrast")){_106.add(win.body(),"dj_a11y");}});return has;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_10a,_10b,_10c,_10d){return _10b("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_10e,_10f){var _110=this.containerNode;if(_10f>0){_110=_110.firstChild;while(_10f>0){if(_110.nodeType==1){_10f--;}_110=_110.nextSibling;}if(_110){_10f="before";}else{_110=this.containerNode;_10f="last";}}_10c.place(_10e.domNode,_110,_10f);if(this._started&&!_10e._started){_10e.startup();}},removeChild:function(_111){if(typeof _111=="number"){_111=this.getChildren()[_111];}if(_111){var node=_111.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_112,dir){_10d.deprecated(this.declaredClass+"::_getSiblingOfChild() is deprecated. Use _KeyNavMixin::_getNext() instead.","","2.0");var _113=this.getChildren(),idx=_10a.indexOf(_113,_112);return _113[idx+dir];},getIndexOfChild:function(_114){return _10a.indexOf(this.getChildren(),_114);}});});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_115,_116,_117,_118,has,_119,lang,_11a,_11b,_11c,_11d,_11e,_11f){function _120(){};function _121(_122){return function(obj,_123,_124,_125){if(obj&&typeof _123=="string"&&obj[_123]==_120){return obj.on(_123.substring(2).toLowerCase(),lang.hitch(_124,_125));}return _122.apply(_117,arguments);};};_115.around(_117,"connect",_121);if(_119.connect){_115.around(_119,"connect",_121);}var _126=_118("dijit._Widget",[_11d,_11e,_11f],{onClick:_120,onDblClick:_120,onKeyDown:_120,onKeyPress:_120,onKeyUp:_120,onMouseDown:_120,onMouseMove:_120,onMouseOut:_120,onMouseOver:_120,onMouseLeave:_120,onMouseEnter:_120,onMouseUp:_120,constructor:function(_127){this._toConnect={};for(var name in _127){if(this[name]===_120){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_127[name];delete _127[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)]===_120){return _117.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_128){_119.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_128);},attr:function(name,_129){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_119.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_11a("[widgetId]",this.containerNode).map(_11c.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_11b(0,function(){var _12a=["dijit/_base"];require(_12a);});}return _126;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_12b,_12c,_12d,lang){lang.extend(_12c,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _12d("dijit._FocusMixin",null,{_focusManager:_12b});});},"dojox/layout/ResizeHandle":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/connect","dojo/_base/array","dojo/_base/event","dojo/_base/fx","dojo/_base/window","dojo/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/declare","dojo/touch","dijit/_base/manager","dijit/_Widget","dijit/_TemplatedMixin"],function(_12e,lang,_12f,_130,_131,_132,_133,_134,_135,_136,_137,_138,_139,_13a,_13b,_13c,_13d){_12e.experimental("dojox.layout.ResizeHandle");var _13e=_139("dojox.layout._ResizeHelper",_13c,{show:function(){_138.set(this.domNode,"display","");},hide:function(){_138.set(this.domNode,"display","none");},resize:function(dim){_137.setMarginBox(this.domNode,dim);}});var _13f=_139("dojox.layout.ResizeHandle",[_13c,_13d],{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,_13a.press,"_beginSizing");if(!this.activeResize){this._resizeHelper=_13b.byId("dojoxGlobalResizeHelper");if(!this._resizeHelper){this._resizeHelper=new _13e({id:"dojoxGlobalResizeHelper"}).placeAt(_133.body());_136.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 _140=lang.partial(_136.add,this.resizeHandle);switch(this.resizeAxis.toLowerCase()){case "xy":this._resizeX=this._resizeY=true;_140("dojoxResizeNW");break;case "x":this._resizeX=true;_140("dojoxResizeW");break;case "y":this._resizeY=true;_140("dojoxResizeN");break;}},_beginSizing:function(e){if(this._isSizing){return;}_12f.publish(this.startTopic,[this]);this.targetWidget=_13b.byId(this.targetId);this.targetDomNode=this.targetWidget?this.targetWidget.domNode:_135.byId(this.targetId);if(this.targetContainer){this.targetDomNode=this.targetContainer;}if(!this.targetDomNode){return;}if(!this.activeResize){var c=_137.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 _141=_138.getComputedStyle(this.targetDomNode),_142=_137.boxModel==="border-model",_143=_142?{w:0,h:0}:_137.getPadBorderExtents(this.targetDomNode,_141),_144=_137.getMarginExtents(this.targetDomNode,_141);this.startSize={w:_138.get(this.targetDomNode,"width",_141),h:_138.get(this.targetDomNode,"height",_141),pbw:_143.w,pbh:_143.h,mw:_144.w,mh:_144.h};if(!this.isLeftToRight()&&_138.get(this.targetDomNode,"position")=="absolute"){var p=_137.position(this.targetDomNode,true);this.startPosition={l:p.x,t:p.y};}this._pconnects=[_12f.connect(_133.doc,_13a.move,this,"_updateSizing"),_12f.connect(_133.doc,_13a.release,this,"_endSizing")];_131.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,_145){try{if(!e.clientX||!e.clientY){return false;}}catch(err){return false;}this._activeResizeLastEvent=e;var dx=(this.isLeftToRight()?1:-1)*(this.startPoint.x-e.clientX),dy=this.startPoint.y-e.clientY,newW=this.startSize.w-(this._resizeX?dx:0),newH=this.startSize.h-(this._resizeY?dy:0),r=this._checkConstraints(newW,newH);_145=(_145||this.startPosition);if(_145&&this._resizeX){r.l=_145.l+dx;if(r.w!=newW){r.l+=(newW-r.w);}r.t=_145.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(newW,newH){if(this.minSize){var tm=this.minSize;if(newW<tm.w){newW=tm.w;}if(newH<tm.h){newH=tm.h;}}if(this.constrainMax&&this.maxSize){var ms=this.maxSize;if(newW>ms.w){newW=ms.w;}if(newH>ms.h){newH=ms.h;}}if(this.fixedAspect){var w=this.startSize.w,h=this.startSize.h,_146=w*newH-h*newW;if(_146<0){newW=newH*w/h;}else{if(_146>0){newH=newW*h/w;}}}return {w:newW,h:newH};},_changeSizing:function(e){var _147=this.targetWidget&&lang.isFunction(this.targetWidget.resize),tmp=this._getNewCoords(e,_147&&"margin");if(tmp===false){return;}if(_147){this.targetWidget.resize(tmp);}else{if(this.animateSizing){var anim=_134[this.animateMethod]([_132.animateProperty({node:this.targetDomNode,properties:{width:{start:this.startSize.w,end:tmp.w}},duration:this.animateDuration}),_132.animateProperty({node:this.targetDomNode,properties:{height:{start:this.startSize.h,end:tmp.h}},duration:this.animateDuration})]);anim.play();}else{_138.set(this.targetDomNode,{width:tmp.w+"px",height:tmp.h+"px"});}}if(this.intermediateChanges){this.onResize(e);}},_endSizing:function(e){_130.forEach(this._pconnects,_12f.disconnect);var pub=lang.partial(_12f.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){}});return _13f;});},"dojox/html/_base":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/dom-construct","dojo/html","dojo/_base/kernel","dojo/_base/lang","dojo/ready","dojo/_base/sniff","dojo/_base/url","dojo/_base/xhr","dojo/when","dojo/_base/window"],function(_148,_149,_14a,_14b,_14c,lang,_14d,has,_14e,_14f,when,_150){var html=_14c.getObject("dojox.html",true);if(has("ie")){var _151=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;}var _152=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g;var _153=html._adjustCssPaths=function(_154,_155){if(!_155||!_154){return;}if(_151){_155=_155.replace(_151,function(_156,pre,_157,url,post){return pre+(new _14e(_154,"./"+url).toString())+post;});}return _155.replace(_152,function(_158,_159,_15a,_15b,_15c,_15d){if(_15a){return "@import \""+(new _14e(_154,"./"+_15a).toString())+"\""+_15d;}else{return "url("+(new _14e(_154,"./"+_15c).toString())+")"+_15d;}});};var _15e=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi;var _15f=html._adjustHtmlPaths=function(_160,cont){var url=_160||"./";return cont.replace(_15e,function(tag,_161,name,_162,_163,_164,_165,end){return _161+(name?(name+"="+_162+(new _14e(url,_163).toString())+_162):("style="+_164+_153(url,_165)+_164))+end;});};var _166=html._snarfStyles=function(_167,cont,_168){_168.attributes=[];cont=cont.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(_169){return _169.replace(/<(\/?)style\b/ig,"&lt;$1Style").replace(/<(\/?)link\b/ig,"&lt;$1Link").replace(/@import "/ig,"@ import \"");});return cont.replace(/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,function(_16a,_16b,_16c,_16d,_16e,href){var i,attr=(_16b||_16d||"").replace(/^\s*([\s\S]*?)\s*$/i,"$1");if(_16c){i=_168.push(_167?_153(_167,_16c):_16c);}else{i=_168.push("@import \""+href+"\";");attr=attr.replace(/\s*(?:rel|href)=(['"])?[^\s]*\1\s*/gi,"");}if(attr){attr=attr.split(/\s+/);var _16f={},tmp;for(var j=0,e=attr.length;j<e;j++){tmp=attr[j].split("=");_16f[tmp[0]]=tmp[1].replace(/^\s*['"]?([\s\S]*?)['"]?\s*$/,"$1");}_168.attributes[i-1]=_16f;}return "";});};var _170=html._snarfScripts=function(cont,_171){_171.code="";cont=cont.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(_172){return _172.replace(/<(\/?)script\b/ig,"&lt;$1Script");});function _173(src){if(_171.downloadRemote){src=src.replace(/&([a-z0-9#]+);/g,function(m,name){switch(name){case "amp":return "&";case "gt":return ">";case "lt":return "<";default:return name.charAt(0)=="#"?String.fromCharCode(name.substring(1)):"&"+name+";";}});_14f.get({url:src,sync:true,load:function(code){_171.code+=code+";";},error:_171.errBack});}};return cont.replace(/<script\s*(?![^>]*type=['"]?(?:dojo\/|text\/html\b))[^>]*?(?:src=(['"]?)([^>]*?)\1[^>]*)?>([\s\S]*?)<\/script>/gi,function(_174,_175,src,code){if(src){_173(src);}else{_171.code+=code;}return "";});};var _176=html.evalInGlobal=function(code,_177){_177=_177||_150.doc.body;var n=_177.ownerDocument.createElement("script");n.type="text/javascript";_177.appendChild(n);n.text=code;};html._ContentSetter=_148(_14b._ContentSetter,{adjustPaths:false,referencePath:".",renderStyles:false,executeScripts:false,scriptHasHooks:false,scriptHookReplacement:null,_renderStyles:function(_178){this._styleNodes=[];var st,att,_179,doc=this.node.ownerDocument;var head=doc.getElementsByTagName("head")[0];for(var i=0,e=_178.length;i<e;i++){_179=_178[i];att=_178.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);head.appendChild(st);if(st.styleSheet){st.styleSheet.cssText=_179;}else{st.appendChild(doc.createTextNode(_179));}}},empty:function(){this.inherited("empty",arguments);this._styles=[];},onBegin:function(){this.inherited("onBegin",arguments);var cont=this.content,node=this.node;var _17a=this._styles;if(lang.isString(cont)){if(this.adjustPaths&&this.referencePath){cont=_15f(this.referencePath,cont);}if(this.renderStyles||this.cleanContent){cont=_166(this.referencePath,cont,_17a);}if(this.executeScripts){var _17b=this;var _17c={downloadRemote:true,errBack:function(e){_17b._onError.call(_17b,"Exec","Error downloading remote script in \""+_17b.id+"\"",e);}};cont=_170(cont,_17c);this._code=_17c.code;}}this.content=cont;},onEnd:function(){var code=this._code,_17d=this._styles;if(this._styleNodes&&this._styleNodes.length){while(this._styleNodes.length){_14a.destroy(this._styleNodes.pop());}}if(this.renderStyles&&_17d&&_17d.length){this._renderStyles(_17d);}var d=new _149();var _17e=this.getInherited(arguments),args=arguments,_17f=lang.hitch(this,function(){_17e.apply(this,args);when(this.parseDeferred,function(){d.resolve();});});if(this.executeScripts&&code){if(this.cleanContent){code=code.replace(/(<!--|(?:\/\/)?-->|<!\[CDATA\[|\]\]>)/g,"");}if(this.scriptHasHooks){code=code.replace(/_container_(?!\s*=[^=])/g,this.scriptHookReplacement);}try{_176(code,this.node);}catch(e){this._onError("Exec","Error eval script in "+this.id+", "+e.message,e);}_14d(_17f);}else{_17f();}return d.promise;},tearDown:function(){this.inherited(arguments);delete this._styles;if(this._styleNodes&&this._styleNodes.length){while(this._styleNodes.length){_14a.destroy(this._styleNodes.pop());}}delete this._styleNodes;lang.mixin(this,html._ContentSetter.prototype);}});html.set=function(node,cont,_180){if(!_180){return _14b._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_180,{content:cont,node:node}));return op.set();}};return html;});},"dijit/_WidgetBase":function(){define(["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/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_181,_182,_183,_184,_185,_186,dom,_187,_188,_189,_18a,_18b,has,_18c,lang,on,_18d,_18e,_18f,win,_190,_191,_192){has.add("dijit-legacy-requires",!_18c.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_18d(0,function(){var _193=["dijit/_base/manager"];_181(_193);});}var _194={};function _195(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _196(attr){return function(val){_187[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _197(a,b){return a===b||(a!==a&&b!==b);};var _198=_186("dijit._WidgetBase",[_18e,_190],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_196("lang"),dir:"",_setDirAttr:_196("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_184.blankGif||_181.toUrl("dojo/resources/blank.gif"),_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _199=ctor.prototype,_19a=ctor._setterAttrs=[],_19b=(ctor._onMap={});for(var name in _199.attributeMap){_19a.push(name);}for(name in _199){if(/^on/.test(name)){_19b[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_199.attributeMap||!(name in _199.attributeMap)){_19a.push(name);}}}}},postscript:function(_19c,_19d){this.create(_19c,_19d);},create:function(_19e,_19f){this._introspect();this.srcNodeRef=dom.byId(_19f);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_19e){this.params=_19e;lang.mixin(this,_19e);}this.postMixInProperties();if(!this.id){this.id=_192.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_192.add(this);this.buildRendering();var _1a0;if(this.domNode){this._applyAttributes();var _1a1=this.srcNodeRef;if(_1a1&&_1a1.parentNode&&this.domNode!==_1a1){_1a1.parentNode.replaceChild(this.domNode,_1a1);_1a0=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_1a0){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _1a2={};for(var key in this.params||{}){_1a2[key]=this._get(key);}_182.forEach(this.constructor._setterAttrs,function(key){if(!(key in _1a2)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _1a2){this.set(key,_1a2[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _1a3=this.baseClass.split(" ");if(!this.isLeftToRight()){_1a3=_1a3.concat(_182.map(_1a3,function(name){return name+"Rtl";}));}_188.add(this.domNode,_1a3);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_182.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_1a4){this._beingDestroyed=true;this.destroyDescendants(_1a4);this.destroy(_1a4);},destroy:function(_1a5){this._beingDestroyed=true;this.uninitialize();function _1a6(w){if(w.destroyRecursive){w.destroyRecursive(_1a5);}else{if(w.destroy){w.destroy(_1a5);}}};_182.forEach(this._connects,lang.hitch(this,"disconnect"));_182.forEach(this._supportingWidgets,_1a6);if(this.domNode){_182.forEach(_192.findWidgets(this.domNode,this.containerNode),_1a6);}this.destroyRendering(_1a5);_192.remove(this.id);this._destroyed=true;},destroyRendering:function(_1a7){if(this.bgIframe){this.bgIframe.destroy(_1a7);delete this.bgIframe;}if(this.domNode){if(_1a7){_187.remove(this.domNode,"widgetId");}else{_189.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_1a7){_189.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_1a8){_182.forEach(this.getChildren(),function(_1a9){if(_1a9.destroyRecursive){_1a9.destroyRecursive(_1a8);}});},uninitialize:function(){return false;},_setStyleAttr:function(_1aa){var _1ab=this.domNode;if(lang.isObject(_1aa)){_18b.set(_1ab,_1aa);}else{if(_1ab.style.cssText){_1ab.style.cssText+="; "+_1aa;}else{_1ab.style.cssText=_1aa;}}this._set("style",_1aa);},_attrToDom:function(attr,_1ac,_1ad){_1ad=arguments.length>=3?_1ad:this.attributeMap[attr];_182.forEach(lang.isArray(_1ad)?_1ad:[_1ad],function(_1ae){var _1af=this[_1ae.node||_1ae||"domNode"];var type=_1ae.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_1ac)){_1ac=lang.hitch(this,_1ac);}var _1b0=_1ae.attribute?_1ae.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_1af.tagName){_187.set(_1af,_1b0,_1ac);}else{_1af.set(_1b0,_1ac);}break;case "innerText":_1af.innerHTML="";_1af.appendChild(this.ownerDocument.createTextNode(_1ac));break;case "innerHTML":_1af.innerHTML=_1ac;break;case "class":_188.replace(_1af,_1ac,this[attr]);break;}},this);},get:function(name){var _1b1=this._getAttrNames(name);return this[_1b1.g]?this[_1b1.g]():this._get(name);},set:function(name,_1b2){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1b3=this._getAttrNames(name),_1b4=this[_1b3.s];if(lang.isFunction(_1b4)){var _1b5=_1b4.apply(this,Array.prototype.slice.call(arguments,1));}else{var _1b6=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_1b6]&&this[_1b6].tagName,_1b7=tag&&(_194[tag]||(_194[tag]=_195(this[_1b6]))),map=name in this.attributeMap?this.attributeMap[name]:_1b3.s in this?this[_1b3.s]:((_1b7&&_1b3.l in _1b7&&typeof _1b2!="function")||/^aria-|^data-|^role$/.test(name))?_1b6:null;if(map!=null){this._attrToDom(name,_1b2,map);}this._set(name,_1b2);}return _1b5||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,_1b8){var _1b9=this[name];this[name]=_1b8;if(this._created&&!_197(_1b9,_1b8)){if(this._watchCallbacks){this._watchCallbacks(name,_1b9,_1b8);}this.emit("attrmodified-"+name,{detail:{prevValue:_1b9,newValue:_1b8}});}},_get:function(name){return this[name];},emit:function(type,_1ba,_1bb){_1ba=_1ba||{};if(_1ba.bubbles===undefined){_1ba.bubbles=true;}if(_1ba.cancelable===undefined){_1ba.cancelable=true;}if(!_1ba.detail){_1ba.detail={};}_1ba.detail.widget=this;var ret,_1bc=this["on"+type];if(_1bc){ret=_1bc.apply(this,_1bb?_1bb:[_1ba]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_1ba);}return ret;},on:function(type,func){var _1bd=this._onMap(type);if(_1bd){return _183.after(this,_1bd,func,true);}return this.own(on(this.domNode,type,func))[0];},_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[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_192.findWidgets(this.containerNode):[];},getParent:function(){return _192.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_1be,_1bf){return this.own(_185.connect(obj,_1be,this,_1bf))[0];},disconnect:function(_1c0){_1c0.remove();},subscribe:function(t,_1c1){return this.own(_18f.subscribe(t,lang.hitch(this,_1c1)))[0];},unsubscribe:function(_1c2){_1c2.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_18a.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_18b.get(this.domNode,"display")!="none");},placeAt:function(_1c3,_1c4){var _1c5=!_1c3.tagName&&_192.byId(_1c3);if(_1c5&&_1c5.addChild&&(!_1c4||typeof _1c4==="number")){_1c5.addChild(this,_1c4);}else{var ref=_1c5?(_1c5.containerNode&&!/after|before|replace/.test(_1c4||"")?_1c5.containerNode:_1c5.domNode):dom.byId(_1c3,this.ownerDocument);_189.place(this.domNode,ref,_1c4);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_1c6){var _1c7=setTimeout(lang.hitch(this,function(){if(!_1c7){return;}_1c7=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_1c6||0);return {remove:function(){if(_1c7){clearTimeout(_1c7);_1c7=null;}return null;}};}});if(has("dojo-bidi")){_198.extend(_191);}return _198;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_1c8,on,_1c9,has,_1ca){var _1cb=new _1c8();var _1cc;_1c9(function(){var _1cd=_1ca.getBox();_1cb._rlh=on(window,"resize",function(){var _1ce=_1ca.getBox();if(_1cd.h==_1ce.h&&_1cd.w==_1ce.w){return;}_1cd=_1ce;_1cb.emit("resize");});if(has("ie")==8){var _1cf=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_1cf){_1cf=screen.deviceXDPI;_1cb.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_1cc=evt.target;});on(document,"focusout",function(evt){_1cc=null;});}});_1cb.getEffectiveBox=function(doc){var box=_1ca.getBox(doc);var tag=_1cc&&_1cc.tagName&&_1cc.tagName.toLowerCase();if(has("ios")&&_1cc&&!_1cc.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_1cc.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_1cc.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _1cb;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_1d0,_1d1,lang,_1d2,_1d3){var _1d4={};_1d0.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_1d4[name]=_1d2[name];});lang.mixin(_1d4,{defaultDuration:_1d1["defaultDuration"]||200});lang.mixin(_1d3,_1d4);return _1d3;});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_1d5,_1d6,_1d7,_1d8,_1d9,lang,_1da,has,_1db,_1dc,_1dd){return _1d6("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _1de=this.getParent();this._childOfLayoutWidget=_1de&&_1de.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_1dc.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _1df=[],_1e0=false;_1da("> *",this.containerNode).some(function(node){var _1e1=_1db.byNode(node);if(_1e1&&_1e1.resize){_1df.push(_1e1);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_1e0=true;}}});this._singleChild=_1df.length==1&&!_1e0?_1df[0]:null;_1d7.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_1e2,_1e3){this._resizeCalled=true;this._scheduleLayout(_1e2,_1e3);},_scheduleLayout:function(_1e4,_1e5){if(this._isShown()){this._layout(_1e4,_1e5);}else{this._needLayout=true;this._changeSize=_1e4;this._resultSize=_1e5;}},_layout:function(_1e6,_1e7){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_1e6){_1d8.setMarginBox(this.domNode,_1e6);}var cn=this.containerNode;if(cn===this.domNode){var mb=_1e7||{};lang.mixin(mb,_1e6||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_1d8.getMarginBox(cn),mb);}this._contentBox=_1dd.marginBox2contentBox(cn,mb);}else{this._contentBox=_1d8.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_1d8.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _1e8=this.getChildren(),_1e9,i=0;while(_1e9=_1e8[i++]){if(_1e9.resize){_1e9.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,_1ea=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_1d7.contains(node,"dijitHidden")&&_1ea&&_1ea.style&&(_1ea.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"*now":function(r){r(["dojo/i18n!*preload*dojox/nls/_dojox_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("dojox/_dojox_layout_basic",[],1);require(["dojox/layout/ResizeHandle","dojox/layout/ContentPane"]);
}catch(e){console.log("Module 'dojox_layout_basic_19': ",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/request":function(){define(["./request/default!"],function(_1){return _1;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_2,_3,_4,_5,_6,on,_7,_8,_9,_a){var _b=_7("touch");var _c=_7("ios")<5;var _d=navigator.pointerEnabled||navigator.msPointerEnabled,_e=(function(){var _f={};for(var _10 in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_f[_10]=!navigator.pointerEnabled?"MSPointer"+_10.charAt(0).toUpperCase()+_10.slice(1):"pointer"+_10;}return _f;})();var _11,_12,_13,_14,_15,_16,_17,_18;var _19;function _1a(_1b,_1c,_1d){if(_d&&_1d){return function(_1e,_1f){return on(_1e,_1d,_1f);};}else{if(_b){return function(_20,_21){var _22=on(_20,_1c,function(evt){_21.call(this,evt);_19=(new Date()).getTime();}),_23=on(_20,_1b,function(evt){if(!_19||(new Date()).getTime()>_19+1000){_21.call(this,evt);}});return {remove:function(){_22.remove();_23.remove();}};};}else{return function(_24,_25){return on(_24,_1b,_25);};}}};function _26(_27){do{if(_27.dojoClick!==undefined){return _27.dojoClick;}}while(_27=_27.parentNode);};function _28(e,_29,_2a){_12=!e.target.disabled&&_26(e.target);if(_12){_13=e.target;_14=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_15=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_16=(typeof _12=="object"?_12.x:(typeof _12=="number"?_12:0))||4;_17=(typeof _12=="object"?_12.y:(typeof _12=="number"?_12:0))||4;if(!_11){_11=true;_a.doc.addEventListener(_29,function(e){_12=_12&&(e.changedTouches?e.changedTouches[0].target:e.target)==_13&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_14)<=_16&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_15)<=_17;},true);_a.doc.addEventListener(_2a,function(e){if(_12){_18=(new Date()).getTime();var _2b=e.target;if(_2b.tagName==="LABEL"){_2b=_4.byId(_2b.getAttribute("for"))||_2b;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _2c=document.createEvent("MouseEvents");_2c._dojo_click=true;_2c.initMouseEvent("click",true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);setTimeout(function(){on.emit(_2b,"click",_2c);},0);}},true);function _2d(_2e){_a.doc.addEventListener(_2e,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_18+1000&&!(e.target.tagName=="INPUT"&&_5.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_2e=="click"&&(e.target.tagName!="INPUT"||e.target.type=="radio"||e.target.type=="checkbox")&&e.target.tagName!="TEXTAREA"&&e.target.tagName!="AUDIO"&&e.target.tagName!="VIDEO"){e.preventDefault();}}},true);};_2d("click");_2d("mousedown");_2d("mouseup");}}};var _2f;if(_b){if(_d){_9(function(){_a.doc.addEventListener(_e.down,function(evt){_28(evt,_e.move,_e.up);},true);});}else{_9(function(){_2f=_a.body();_a.doc.addEventListener("touchstart",function(evt){_19=(new Date()).getTime();var _30=_2f;_2f=evt.target;on.emit(_30,"dojotouchout",{relatedTarget:_2f,bubbles:true});on.emit(_2f,"dojotouchover",{relatedTarget:_30,bubbles:true});_28(evt,"touchmove","touchend");},true);function _31(evt){var _32=_6.delegate(evt,{bubbles:true});if(_7("ios")>=6){_32.touches=evt.touches;_32.altKey=evt.altKey;_32.changedTouches=evt.changedTouches;_32.ctrlKey=evt.ctrlKey;_32.metaKey=evt.metaKey;_32.shiftKey=evt.shiftKey;_32.targetTouches=evt.targetTouches;}return _32;};on(_a.doc,"touchmove",function(evt){_19=(new Date()).getTime();var _33=_a.doc.elementFromPoint(evt.pageX-(_c?0:_a.global.pageXOffset),evt.pageY-(_c?0:_a.global.pageYOffset));if(_33){if(_2f!==_33){on.emit(_2f,"dojotouchout",{relatedTarget:_33,bubbles:true});on.emit(_33,"dojotouchover",{relatedTarget:_2f,bubbles:true});_2f=_33;}if(!on.emit(_33,"dojotouchmove",_31(evt))){evt.preventDefault();}}});on(_a.doc,"touchend",function(evt){_19=(new Date()).getTime();var _34=_a.doc.elementFromPoint(evt.pageX-(_c?0:_a.global.pageXOffset),evt.pageY-(_c?0:_a.global.pageYOffset))||_a.body();on.emit(_34,"dojotouchend",_31(evt));});});}}var _35={press:_1a("mousedown","touchstart",_e.down),move:_1a("mousemove","dojotouchmove",_e.move),release:_1a("mouseup","dojotouchend",_e.up),cancel:_1a(_8.leave,"touchcancel",_b?_e.cancel:null),over:_1a("mouseover","dojotouchover",_e.over),out:_1a("mouseout","dojotouchout",_e.out),enter:_8._eventHandler(_1a("mouseover","dojotouchover",_e.over)),leave:_8._eventHandler(_1a("mouseout","dojotouchout",_e.out))};1&&(_2.touch=_35);return _35;});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_36,_37,_38,_39,_3a,on,_3b,_3c){return _37("dijit._KeyNavMixin",_3c,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_38.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _3d=this._keyNavCodes={};_3d[_39.HOME]=_3a.hitch(this,"focusFirstChild");_3d[_39.END]=_3a.hitch(this,"focusLastChild");_3d[this.isLeftToRight()?_39.LEFT_ARROW:_39.RIGHT_ARROW]=_3a.hitch(this,"_onLeftArrow");_3d[this.isLeftToRight()?_39.RIGHT_ARROW:_39.LEFT_ARROW]=_3a.hitch(this,"_onRightArrow");_3d[_39.UP_ARROW]=_3a.hitch(this,"_onUpArrow");_3d[_39.DOWN_ARROW]=_3a.hitch(this,"_onDownArrow");}var _3e=this,_3f=typeof this.childSelector=="string"?this.childSelector:_3a.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",_3a.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",_3a.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",_3a.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_3f,"focusin"),function(evt){_3e._onChildFocus(_3b.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_40,_41){if(!_40){return;}if(this.focusedChild&&_40!==this.focusedChild){this._onChildBlur(this.focusedChild);}_40.set("tabIndex",this.tabIndex);_40.focus(_41?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_38.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_38.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_42){if(_42&&_42!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_42.set("tabIndex",this.tabIndex);this.lastFocused=_42;this._set("focusedChild",_42);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(_43,evt,_44,_45){if(_43){this.focusChild(_43);}},_keyboardSearchCompare:function(_46,_47){var _48=_46.domNode,_49=_46.label||(_48.focusNode?_48.focusNode.label:"")||_48.innerText||_48.textContent||"",_4a=_49.replace(/^\s+/,"").substr(0,_47.length).toLowerCase();return (!!_47.length&&_4a==_47)?-1:0;},_onContainerKeydown:function(evt){var _4b=this._keyNavCodes[evt.keyCode];if(_4b){_4b(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==_39.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=_39.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_4c){var _4d=null,_4e,_4f=0,_50=_3a.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_4c;var _51=/^(.)\1*$/.test(this._searchString);var _52=_51?1:this._searchString.length;_4e=this._searchString.substr(0,_52);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _53=this.focusedChild||null;if(_52==1||!_53){_53=this._getNextFocusableChild(_53,1);if(!_53){return;}}var _54=_53;do{var rc=this._keyboardSearchCompare(_53,_4e);if(!!rc&&_4f++==0){_4d=_53;}if(rc==-1){_4f=-1;break;}_53=this._getNextFocusableChild(_53,1);}while(_53!=_54);});_50();this.onKeyboardSearch(_4d,evt,_4e,_4f);},_onChildBlur:function(){},_getNextFocusableChild:function(_55,dir){var _56=_55;do{if(!_55){_55=this[dir>0?"_getFirst":"_getLast"]();if(!_55){break;}}else{_55=this._getNext(_55,dir);}if(_55!=null&&_55!=_56&&_55.isFocusable()){return _55;}}while(_55!=_56);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_57,dir){if(_57){_57=_57.domNode;while(_57){_57=_57[dir<0?"previousSibling":"nextSibling"];if(_57&&"getAttribute" in _57){var w=_3b.byNode(_57);if(w){return w;}}}}return null;}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_58,_59,_5a){var _5b=_58("dijit._MenuBarItemMixin",null,{templateString:_5a,_setIconClassAttr:null});var _5c=_58("dijit.MenuBarItem",[_59,_5b],{});_5c._MenuBarItemMixin=_5b;return _5c;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_5d,_5e,_5f,_60,_61){return _5d("dijit.DropDownMenu",[_61,_60],{templateString:_5f,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev();},_onDownArrow:function(){this.focusNext();},_onRightArrow:function(evt){this._moveToPopup(evt);evt.stopPropagation();evt.preventDefault();},_onLeftArrow:function(evt){if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{evt.stopPropagation();evt.preventDefault();}}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_62,_63,_64,has,_65){var _66=_65.doc.documentElement,ie=has("ie"),_67=has("opera"),maj=Math.floor,ff=has("ff"),_68=_62.boxModel.replace(/-/,""),_69={"dj_quirks":has("quirks"),"dj_opera":_67,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_69["dj_ie"]=true;_69["dj_ie"+maj(ie)]=true;_69["dj_iequirks"]=has("quirks");}if(ff){_69["dj_ff"+maj(ff)]=true;}_69["dj_"+_68]=true;var _6a="";for(var clz in _69){if(_69[clz]){_6a+=clz+" ";}}_66.className=_63.trim(_66.className+" "+_6a);_64(function(){if(!_62.isBodyLtr()){var _6b="dj_rtl dijitRtl "+_6a.replace(/ /g,"-rtl ");_66.className=_63.trim(_66.className+" "+_6b+"dj_rtl dijitRtl "+_6a.replace(/ /g,"-rtl "));}});return has;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_6c){return _6c.cache;});},"dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_6d,_6e,_6f,_70){return _6d("dijit.MenuBar",_6f,{templateString:_70,baseClass:"dijitMenuBar",popupDelay:0,_isMenuBar:true,_orient:["below"],_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}},focusChild:function(_71){this.inherited(arguments);if(this.activated&&_71.popup&&!_71.disabled){this._openItemPopup(_71,true);}},_onChildDeselect:function(_72){if(this.currentPopupItem==_72){this.currentPopupItem=null;_72._closePopup();}this.inherited(arguments);},_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();},_onDownArrow:function(evt){this._moveToPopup(evt);},_onUpArrow:function(){},onItemClick:function(_73,evt){if(_73.popup&&_73.popup.isShowingNow&&(!/^key/.test(evt.type)||evt.keyCode!==_6e.DOWN_ARROW)){_73.focusNode.focus();this._cleanUp(true);}else{this.inherited(arguments);}}});});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_74,_75,_76,dom,_77,_78,_79,_7a,_7b,on,has,win,_7c,pm,_7d,_7e){if(has("dijit-legacy-requires")){_7e(0,function(){var _7f=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_74(_7f);});}return _76("dijit.Menu",_7d,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_75.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_80){return _7c.get(this._iframeContentDocument(_80))||this._iframeContentDocument(_80)["__parent__"]||(_80.name&&document.frames[_80.name])||null;},_iframeContentDocument:function(_81){return _81.contentDocument||(_81.contentWindow&&_81.contentWindow.document)||(_81.name&&document.frames[_81.name]&&document.frames[_81.name].document)||null;},bindDomNode:function(_82){_82=dom.byId(_82,this.ownerDocument);var cn;if(_82.tagName.toLowerCase()=="iframe"){var _83=_82,_84=this._iframeContentWindow(_83);cn=win.body(_84.document);}else{cn=(_82==win.body(this.ownerDocument)?this.ownerDocument.documentElement:_82);}var _85={node:_82,iframe:_83};_77.set(_82,"_dijitMenu"+this.id,this._bindings.push(_85));var _86=_7b.hitch(this,function(cn){var _87=this.selector,_88=_87?function(_89){return on.selector(_87,_89);}:function(_8a){return _8a;},_8b=this;return [on(cn,_88(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<this._lastKeyDown+500){return;}_8b._scheduleOpen(this,_83,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_88("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==_7a.F10)||(this.leftClickToOpen&&evt.keyCode==_7a.SPACE)){evt.stopPropagation();evt.preventDefault();_8b._scheduleOpen(this,_83,null,evt.target);this._lastKeyDown=(new Date()).getTime();}})];});_85.connects=cn?_86(cn):[];if(_83){_85.onloadHandler=_7b.hitch(this,function(){var _8c=this._iframeContentWindow(_83),cn=win.body(_8c.document);_85.connects=_86(cn);});if(_83.addEventListener){_83.addEventListener("load",_85.onloadHandler,false);}else{_83.attachEvent("onload",_85.onloadHandler);}}},unBindDomNode:function(_8d){var _8e;try{_8e=dom.byId(_8d,this.ownerDocument);}catch(e){return;}var _8f="_dijitMenu"+this.id;if(_8e&&_77.has(_8e,_8f)){var bid=_77.get(_8e,_8f)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _90=b.iframe;if(_90){if(_90.removeEventListener){_90.removeEventListener("load",b.onloadHandler,false);}else{_90.detachEvent("onload",b.onloadHandler);}}_77.remove(_8e,_8f);delete this._bindings[bid];}},_scheduleOpen:function(_91,_92,_93,_94){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_94,delegatedTarget:_91,iframe:_92,coords:_93});},1);}},_openMyself:function(_95){var _96=_95.target,_97=_95.iframe,_98=_95.coords,_99=!_98;this.currentTarget=_95.delegatedTarget;if(_98){if(_97){var ifc=_78.position(_97,true),_9a=this._iframeContentWindow(_97),_9b=_78.docScroll(_9a.document);var cs=_79.getComputedStyle(_97),tp=_79.toPixelValue,_9c=(has("ie")&&has("quirks")?0:tp(_97,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_97,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_97,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_97,cs.borderTopWidth):0);_98.x+=ifc.x+_9c-_9b.x;_98.y+=ifc.y+top-_9b.y;}}else{_98=_78.position(_96,true);_98.x+=10;_98.y+=10;}var _9d=this;var _9e=this._focusManager.get("prevNode");var _9f=this._focusManager.get("curNode");var _a0=!_9f||(dom.isDescendant(_9f,this.domNode))?_9e:_9f;function _a1(){if(_9d.refocus&&_a0){_a0.focus();}pm.close(_9d);};pm.open({popup:this,x:_98.x,y:_98.y,onExecute:_a1,onCancel:_a1,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_99){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_75.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_a2,_a3,_a4,_a5,pm,_a6,_a7){return _a2("dijit.PopupMenuItem",_a7,{_fillContent:function(){if(this.srcNodeRef){var _a8=_a5("*",this.srcNodeRef);this.inherited(arguments,[_a8[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_a9,_aa){var _ab=this.popup;pm.open(_a4.delegate(_a9,{popup:this.popup,around:this.domNode}));if(_aa&&_ab.focus){_ab.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var _ac=_a5("[widgetId]",this.dropDownContainer)[0];this.popup=_a6.byNode(_ac);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_a3.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_ad){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_ad);}delete this.popup;}this.inherited(arguments);}});});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_ae,_af,_b0){var _b1=_b0._MenuBarItemMixin;return _ae("dijit.PopupMenuBarItem",[_af,_b1],{});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_b2,dom,_b3,_b4,_b5,has,_b6,_b7,_b8,_b9,_ba,_bb){var _bc=_b2("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_b7,_b8,_b9,_ba],{templateString:_bb,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _bd="";var _be;var ndx=val.search(/{\S}/);if(ndx>=0){_bd=val.charAt(ndx+1);var _bf=val.substr(0,ndx);var _c0=val.substr(ndx+3);_be=_bf+_bd+_c0;val=_bf+"<span class=\"dijitMenuItemShortcutKey\">"+_bd+"</span>"+_c0;}else{_be=val;}this.domNode.setAttribute("aria-label",_be+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_bd);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_c1){if(_c1&&!("label" in this.params)){this._set("label",_c1.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _c2=this.id+"_text";_b3.set(this.containerNode,"id",_c2);if(this.accelKeyNode){_b3.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_c3){_b4.toggle(this.domNode,"dijitMenuItemSelected",_c3);},setLabel:function(_c4){_b5.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_c4);},setDisabled:function(_c5){_b5.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_c5);},_setDisabledAttr:function(_c6){this.focusNode.setAttribute("aria-disabled",_c6?"true":"false");this._set("disabled",_c6);},_setAccelKeyAttr:function(_c7){if(this.accelKeyNode){this.accelKeyNode.style.display=_c7?"":"none";this.accelKeyNode.innerHTML=_c7;_b3.set(this.containerNode,"colSpan",_c7?"1":"2");}this._set("accelKey",_c7);}});if(has("dojo-bidi")){_bc=_b2("dijit.MenuItem",_bc,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _bc;});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_c8,_c9,_ca,_cb,_cc,_cd,_ce,_cf,_d0,_d1){return _c9("dijit._KeyNavContainer",[_d0,_d1,_cf],{connectKeyNavHandlers:function(_d2,_d3){var _d4=(this._keyNavCodes={});var _d5=_cd.hitch(this,"focusPrev");var _d6=_cd.hitch(this,"focusNext");_c8.forEach(_d2,function(_d7){_d4[_d7]=_d5;});_c8.forEach(_d3,function(_d8){_d4[_d8]=_d6;});_d4[_cc.HOME]=_cd.hitch(this,"focusFirstChild");_d4[_cc.END]=_cd.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_cb.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_c8.forEach(this.getChildren(),_cd.hitch(this,"_startupChild"));},addChild:function(_d9,_da){this.inherited(arguments);this._startupChild(_d9);},_startupChild:function(_db){_db.set("tabIndex","-1");},_getFirst:function(){var _dc=this.getChildren();return _dc.length?_dc[0]:null;},_getLast:function(){var _dd=this.getChildren();return _dd.length?_dd[_dd.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(_de){var _de=_ce.byNode(_de);return _de&&_de.getParent()==this;}});});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_df,has,_e0,dom,_e1,_e2,_e3){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _e4=_e0.body(doc),_e5=_e3.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_e4,"last"),div=_e3.create("div",{style:{overflow:"hidden",direction:"ltr"}},_e5,"last"),ret=_e1.position(div).x!=0;_e5.removeChild(div);_e4.removeChild(_e5);return ret;});has.add("position-fixed-support",function(win,doc){var _e6=_e0.body(doc),_e7=_e3.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_e6,"last"),_e8=_e3.create("span",{style:{position:"fixed",left:"0",top:"0"}},_e7,"last"),ret=_e1.position(_e8).x!=_e1.position(_e7).x;_e7.removeChild(_e8);_e6.removeChild(_e7);return ret;});var _e9={getBox:function(doc){doc=doc||_e0.doc;var _ea=(doc.compatMode=="BackCompat")?_e0.body(doc):doc.documentElement,_eb=_e1.docScroll(doc),w,h;if(has("touch")){var _ec=_e9.get(doc);w=_ec.innerWidth||_ea.clientWidth;h=_ec.innerHeight||_ea.clientHeight;}else{w=_ea.clientWidth;h=_ea.clientHeight;}return {l:_eb.x,t:_eb.y,w:w,h:h};},get:function(doc){if(has("ie")&&_e9!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(_ed,pos){try{_ed=dom.byId(_ed);var doc=_ed.ownerDocument||_e0.doc,_ee=_e0.body(doc),_ef=doc.documentElement||_ee.parentNode,_f0=has("ie"),_f1=has("webkit");if(_ed==_ee||_ed==_ef){return;}if(!(has("mozilla")||_f0||_f1||has("opera")||has("trident"))&&("scrollIntoView" in _ed)){_ed.scrollIntoView(false);return;}var _f2=doc.compatMode=="BackCompat",_f3=Math.min(_ee.clientWidth||_ef.clientWidth,_ef.clientWidth||_ee.clientWidth),_f4=Math.min(_ee.clientHeight||_ef.clientHeight,_ef.clientHeight||_ee.clientHeight),_f5=(_f1||_f2)?_ee:_ef,_f6=pos||_e1.position(_ed),el=_ed.parentNode,_f7=function(el){return (_f0<=6||(_f0==7&&_f2))?false:(has("position-fixed-support")&&(_e2.get(el,"position").toLowerCase()=="fixed"));},_f8=this,_f9=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_f8.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_f7(_ed)){return;}while(el){if(el==_ee){el=_f5;}var _fa=_e1.position(el),_fb=_f7(el),rtl=_e2.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_f5){_fa.w=_f3;_fa.h=_f4;if(_f5==_ef&&(_f0||has("trident"))&&rtl){_fa.x+=_f5.offsetWidth-_fa.w;}if(_fa.x<0||!_f0||_f0>=9||has("trident")){_fa.x=0;}if(_fa.y<0||!_f0||_f0>=9||has("trident")){_fa.y=0;}}else{var pb=_e1.getPadBorderExtents(el);_fa.w-=pb.w;_fa.h-=pb.h;_fa.x+=pb.l;_fa.y+=pb.t;var _fc=el.clientWidth,_fd=_fa.w-_fc;if(_fc>0&&_fd>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_fa.x+=_fd;}_fa.w=_fc;}_fc=el.clientHeight;_fd=_fa.h-_fc;if(_fc>0&&_fd>0){_fa.h=_fc;}}if(_fb){if(_fa.y<0){_fa.h+=_fa.y;_fa.y=0;}if(_fa.x<0){_fa.w+=_fa.x;_fa.x=0;}if(_fa.y+_fa.h>_f4){_fa.h=_f4-_fa.y;}if(_fa.x+_fa.w>_f3){_fa.w=_f3-_fa.x;}}var l=_f6.x-_fa.x,t=_f6.y-_fa.y,r=l+_f6.w-_fa.w,bot=t+_f6.h-_fa.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_f5||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_f0==8&&!_f2)||_f0>=9||has("trident"))){s=-s;}old=el.scrollLeft;_f9(el,s,0);s=el.scrollLeft-old;_f6.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_f5||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_f9(el,0,s);s=el.scrollTop-old;_f6.y-=s;}el=(el!=_f5)&&!_fb&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_ed.scrollIntoView(false);}}};1&&_df.setObject("dojo.window",_e9);return _e9;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_fe,_ff,has,_100){var _101;if(1){_101=function(url,sync,load){_100(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_ff.getText){_101=_ff.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={};_fe.cache=function(_107,url,_108){var key;if(typeof _107=="string"){if(/\//.test(_107)){key=_107;_108=url;}else{key=_ff.toUrl(_107.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_107+"";_108=url;}var val=(_108!=undefined&&typeof _108!="string")?_108.value:_108,_109=_108&&_108.sanitize;if(typeof val=="string"){_102[key]=val;return _109?_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 _109?_103(_102[key]):_102[key];}}};return {dynamic:true,normalize:function(id,_10a){var _10b=id.split("!"),url=_10b[0];return (/^\./.test(url)?_10a(url):url)+(_10b[1]?"!"+_10b[1]:"");},load:function(id,_10c,load){var _10d=id.split("!"),_10e=_10d.length>1,_10f=_10d[0],url=_10c.toUrl(_10d[0]),_110="url:"+url,text=_105,_111=function(text){load(_10e?_103(text):text);};if(_10f in _102){text=_102[_10f];}else{if(_10c.cache&&_110 in _10c.cache){text=_10c.cache[_110];}else{if(url in _102){text=_102[url];}}}if(text===_105){if(_106[url]){_106[url].push(_111);}else{var _112=_106[url]=[_111];_101(url,!_10c.async,function(text){_102[_10f]=_102[url]=text;for(var i=0;i<_112.length;){_112[i++](text);}delete _106[url];});}}else{_111(text);}}};});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_113,_114,_115,_116){return _113("dijit.CheckedMenuItem",_115,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_116,checked:false,_setCheckedAttr:function(_117){this.domNode.setAttribute("aria-checked",_117?"true":"false");this._set("checked",_117);},iconClass:"",role:"menuitemcheckbox",checkedChar:"&#10003;",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_118,_119,has){var _11a=has("config-requestProvider"),_11b;if(1){_11b="./xhr";}else{if(0){_11b="./node";}}if(!_11a){_11a=_11b;}_118.getPlatformDefaultId=function(){return _11b;};_118.load=function(id,_11c,_11d,_11e){_119([id=="platform"?_11b:_11a],function(_11f){_11d(_11f);});};});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_120,dom,_121,_122,_123,_124){return _120("dijit.MenuSeparator",[_121,_122,_123],{templateString:_124,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./registry","./_Widget","./_CssStateMixin","./_KeyNavContainer","./_TemplatedMixin"],function(_125,_126,dom,_127,_128,lang,_129,on,_12a,_12b,_12c,_12d,_12e,_12f,_130){return _126("dijit._MenuBase",[_12d,_130,_12f,_12e],{selected:null,_setSelectedAttr:function(item){if(this.selected!=item){if(this.selected){this.selected._setSelected(false);this._onChildDeselect(this.selected);}if(item){item._setSelected(true);}this._set("selected",item);}},activated:false,_setActivatedAttr:function(val){_128.toggle(this.domNode,"dijitMenuActive",val);_128.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _131=_12c.byNode(node);return node.parentNode==this.containerNode&&_131&&_131.focus;},postCreate:function(){var self=this,_132=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_132,_129.enter),function(){self.onItemHover(_12c.byNode(this));}),on(this.containerNode,on.selector(_132,_129.leave),function(){self.onItemUnhover(_12c.byNode(this));}),on(this.containerNode,on.selector(_132,_12b),function(evt){self.onItemClick(_12c.byNode(this),evt);evt.stopPropagation();evt.preventDefault();}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_133,_134){this.inherited(arguments);if(!!item&&(_134==-1||(!!item.popup&&_134==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_135){if(!!item.shortcutKey){return _135==item.shortcutKey.toLowerCase()?-1:0;}return this.inherited(arguments)?1:0;},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _136=this._getTopMenu();if(_136&&_136._isMenuBar){_136.focusNext();}}},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer();},onItemHover:function(item){if(this.activated){this.set("selected",item);if(item.popup&&!item.disabled&&!this.hover_timer){this.hover_timer=this.defer(function(){this._openItemPopup(item);},this.popupDelay);}}else{if(this.passivePopupDelay<Infinity){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.passive_hover_timer=this.defer(function(){this.onItemClick(item,{type:"click"});},this.passivePopupDelay);}}this._hoveredChild=item;item._set("hovering",true);},_onChildDeselect:function(item){this._stopPopupTimer();if(this.currentPopupItem==item){this._stopPendingCloseTimer();this._pendingClose_timer=this.defer(function(){this._pendingClose_timer=null;this.currentPopupItem=null;item._closePopup();},this.popupDelay);}},onItemUnhover:function(item){if(this._hoveredChild==item){this._hoveredChild=null;}if(this.passive_hover_timer){this.passive_hover_timer.remove();this.passive_hover_timer=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(){if(this._pendingClose_timer){this._pendingClose_timer=this._pendingClose_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this.set("selected",item);this.set("activated",true);var _137=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_137);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_138,_139){if(_138==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _13a=_138.popup;_13a.parentMenu=this;this.own(this._mouseoverHandle=on.once(_13a.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_138._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_139){self.focusChild(_138);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_139);this.currentPopupItem=_138;},onOpen:function(){this.isShowingNow=true;this.set("activated",true);},onClose:function(){this.set("activated",false);this.set("selected",null);this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopupItem){if(this.focused){_127.set(this.selected.focusNode,"tabIndex",this.tabIndex);this.selected.focusNode.focus();}this.currentPopupItem._closePopup();this.currentPopupItem=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}this.set("selected",item);},_onBlur:function(){this._cleanUp(true);this.inherited(arguments);},_cleanUp:function(_13b){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_13b){this.set("selected",null);}}});});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_13c,lang){var _13d={};lang.setObject("dojo.string",_13d);_13d.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("");};_13d.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_13d.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_13d.substitute=function(_13e,map,_13f,_140){_140=_140||_13c.global;_13f=_13f?lang.hitch(_140,_13f):function(v){return v;};return _13e.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_141,key,_142){var _143=lang.getObject(key,false,map);if(_142){_143=lang.getObject(_142,false,_140).call(_140,_143,key);}return _13f(_143,key).toString();});};_13d.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 _13d;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_144,lang,_145,when){return _144("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_146){if(_146){this.set(_146);}},_get:function(name,_147){return typeof this[_147.g]==="function"?this[_147.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_148){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _149=this._getAttrNames(name),_14a=this._get(name,_149),_14b=this[_149.s],_14c;if(typeof _14b==="function"){_14c=_14b.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_148;}if(this._watchCallbacks){var self=this;when(_14c,function(){self._watchCallbacks(name,_14a,_148);});}return this;},_changeAttrValue:function(name,_14d){var _14e=this.get(name);this[name]=_14d;if(this._watchCallbacks){this._watchCallbacks(name,_14e,_14d);}return this;},watch:function(name,_14f){var _150=this._watchCallbacks;if(!_150){var self=this;_150=this._watchCallbacks=function(name,_151,_152,_153){var _154=function(_155){if(_155){_155=_155.slice();for(var i=0,l=_155.length;i<l;i++){_155[i].call(self,name,_151,_152);}}};_154(_150["_"+name]);if(!_153){_154(_150["*"]);}};}if(!_14f&&typeof name==="function"){_14f=name;name="*";}else{name="_"+name;}var _156=_150[name];if(typeof _156!=="object"){_156=_150[name]=[];}_156.push(_14f);var _157={};_157.unwatch=_157.remove=function(){var _158=_145.indexOf(_156,_14f);if(_158>-1){_156.splice(_158,1);}};return _157;}});});},"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\" role=\"menubar\" tabIndex=\"${tabIndex}\"\n\t ></div>\n","url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,textDirNode\"\n\t\trole=\"presentation\"></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<span data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<span class=\"dijitInline dijitIcon dijitMenuExpand\"></span>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</span>\n\t</td>\n</tr>\n","url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t   cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\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>\n","url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode,textDirNode\"></span>\n</div>\n","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"${role}\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span class=\"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span class=\"dijitMenuItemIconChar dijitCheckedMenuItemIconChar\">${checkedChar}</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode,textDirNode\"></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","*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_19': ",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_en",{"dojo/cldr/nls/currency":{"BRE_displayName":"Brazilian Cruzeiro (1990-1993)","DEM_displayName":"German Mark","CUP_displayName":"Cuban Peso","XSU_displayName":"Sucre","PYG_displayName":"Paraguayan Guarani","CLE_displayName":"Chilean Escudo","MDC_displayName":"Moldovan Cupon","MDL_displayName":"Moldovan Leu","DOP_displayName":"Dominican Peso","NGN_displayName":"Nigerian Naira","KZT_displayName":"Kazakhstani Tenge","MXV_displayName":"Mexican Investment Unit","LTT_displayName":"Lithuanian Talonas","LAK_displayName":"Laotian Kip","LKR_displayName":"Sri Lankan Rupee","AOR_displayName":"Angolan Readjusted Kwanza (1995-1999)","XEU_displayName":"European Currency Unit","XOF_symbol":"CFA","USS_displayName":"US Dollar (Same day)","MNT_displayName":"Mongolian Tugrik","RHD_displayName":"Rhodesian Dollar","MOP_displayName":"Macanese Pataca","TJR_displayName":"Tajikistani Ruble","LUC_displayName":"Luxembourgian Convertible Franc","LUL_displayName":"Luxembourg Financial Franc","AON_displayName":"Angolan New Kwanza (1990-2000)","TWD_symbol":"NT$","BEF_displayName":"Belgian Franc","GHS_displayName":"Ghanaian Cedi","IEP_displayName":"Irish Pound","SBD_displayName":"Solomon Islands Dollar","XUA_displayName":"ADB Unit of Account","KRO_displayName":"South Korean Won (1945-1953)","GRD_displayName":"Greek Drachma","NIC_displayName":"Nicaraguan Córdoba (1988-1991)","AZM_displayName":"Azerbaijani Manat (1993-2006)","CNY_symbol":"CN¥","MTP_displayName":"Maltese Pound","MKN_displayName":"Macedonian Denar (1992-1993)","LVR_displayName":"Latvian Ruble","GNF_displayName":"Guinean Franc","GIP_displayName":"Gibraltar Pound","SRG_displayName":"Surinamese Guilder","BAD_displayName":"Bosnia-Herzegovina Dinar (1992-1994)","FJD_displayName":"Fijian Dollar","BAM_displayName":"Bosnia-Herzegovina Convertible Mark","XBB_displayName":"European Monetary Unit","CDF_displayName":"Congolese Franc","HRD_displayName":"Croatian Dinar","BZD_displayName":"Belize Dollar","MLF_displayName":"Malian Franc","EGP_displayName":"Egyptian Pound","MVR_displayName":"Maldivian Rufiyaa","BAN_displayName":"Bosnia-Herzegovina New Dinar (1994-1997)","TRY_displayName":"Turkish Lira","ILR_displayName":"Israeli Sheqel (1980-1985)","SDP_displayName":"Sudanese Pound (1957-1998)","XRE_displayName":"RINET Funds","ARM_displayName":"Argentine Peso (1881-1970)","NPR_displayName":"Nepalese Rupee","PHP_displayName":"Philippine Peso","WST_displayName":"Samoan Tala","TRL_displayName":"Turkish Lira (1922-2005)","JPY_displayName":"Japanese Yen","TMM_displayName":"Turkmenistani Manat (1993-2009)","BGN_displayName":"Bulgarian Lev","KYD_displayName":"Cayman Islands Dollar","VUV_displayName":"Vanuatu Vatu","IRR_displayName":"Iranian Rial","DJF_displayName":"Djiboutian Franc","XDR_displayName":"Special Drawing Rights","ECS_displayName":"Ecuadorian Sucre","HKD_symbol":"HK$","NLG_displayName":"Dutch Guilder","ISJ_displayName":"Icelandic Króna (1918-1981)","MWK_displayName":"Malawian Kwacha","HTG_displayName":"Haitian Gourde","PES_displayName":"Peruvian Sol (1863-1965)","LYD_displayName":"Libyan Dinar","BRR_displayName":"Brazilian Cruzeiro (1993-1994)","XXX_displayName":"Unknown Currency","IDR_displayName":"Indonesian Rupiah","USD_displayName":"US Dollar","KGS_displayName":"Kyrgystani Som","BRN_displayName":"Brazilian New Cruzado (1989-1990)","CHF_displayName":"Swiss Franc","ISK_displayName":"Icelandic Króna","LUF_displayName":"Luxembourgian Franc","MXN_symbol":"MX$","SVC_displayName":"Salvadoran Colón","ZMK_displayName":"Zambian Kwacha (1968-2012)","ZWR_displayName":"Zimbabwean Dollar (2008)","TOP_displayName":"Tongan Paʻanga","ITL_displayName":"Italian Lira","USN_displayName":"US Dollar (Next day)","VND_symbol":"₫","KWD_displayName":"Kuwaiti Dinar","NIO_displayName":"Nicaraguan Córdoba","KMF_displayName":"Comorian Franc","UYI_displayName":"Uruguayan Peso (Indexed Units)","MYR_displayName":"Malaysian Ringgit","XFU_displayName":"French UIC-Franc","GMD_displayName":"Gambian Dalasi","LVL_displayName":"Latvian Lats","AUD_displayName":"Australian Dollar","XPF_displayName":"CFP Franc","LBP_displayName":"Lebanese Pound","ALK_displayName":"Albanian Lek (1946-1965)","BYB_displayName":"Belarusian New Ruble (1994-1999)","MKD_displayName":"Macedonian Denar","GWP_displayName":"Guinea-Bissau Peso","CNY_displayName":"Chinese Yuan","MAF_displayName":"Moroccan Franc","JOD_displayName":"Jordanian Dinar","_localized":{"en-ca":1,"en-fj":1,"en-in":1,"en-lr":1,"en-ls":1,"en-cm":1,"en-vc":1,"en-sb":1,"en-sc":1,"en-sg":1,"en-pg":1,"en-ph":1,"en-gb":1,"en-mg":1,"en-sl":1,"en-gd":1,"en-pk":1,"en-gh":1,"en-gi":1,"en-ss":1,"en-jm":1,"en-vu":1,"en-ag":1,"en-gm":1,"en-dm":1,"en-mt":1,"en-mu":1,"en-sz":1,"en-mw":1,"en-za":1,"en-gy":1,"en-au":1,"en-na":1,"en-zm":1,"en-ng":1,"en-ke":1,"en-bb":1,"en-ki":1,"en-to":1,"en-ws":1,"en-be":1,"en-hk":1,"en-zw":1,"en-kn":1,"en-tt":1,"en-bm":1,"en-tz":1,"en-nz":1,"en-ky":1,"en-bs":1,"en-bw":1,"en-ug":1,"en-bz":1,"en-dsrt":1,"en-lc":1},"OMR_displayName":"Omani Rial","BOV_displayName":"Bolivian Mvdol","XPT_displayName":"Platinum","AUD_symbol":"A$","NOK_displayName":"Norwegian Krone","SCR_displayName":"Seychellois Rupee","XBA_displayName":"European Composite Unit","CSK_displayName":"Czechoslovak Hard Koruna","PLZ_displayName":"Polish Zloty (1950-1995)","UAK_displayName":"Ukrainian Karbovanets","MGF_displayName":"Malagasy Franc","GNS_displayName":"Guinean Syli","YUN_displayName":"Yugoslavian Convertible Dinar (1990-1992)","GYD_displayName":"Guyanaese Dollar","QAR_displayName":"Qatari Rial","ALL_displayName":"Albanian Lek","BBD_displayName":"Barbadian Dollar","SSP_displayName":"South Sudanese Pound","RON_displayName":"Romanian Leu","XCD_symbol":"EC$","AMD_displayName":"Armenian Dram","ARL_displayName":"Argentine Peso Ley (1970-1983)","CYP_displayName":"Cypriot Pound","GBP_symbol":"£","SEK_displayName":"Swedish Krona","MMK_displayName":"Myanma Kyat","ZAR_displayName":"South African Rand","ECV_displayName":"Ecuadorian Unit of Constant Value","BGM_displayName":"Bulgarian Socialist Lev","AWG_displayName":"Aruban Florin","STD_displayName":"São Tomé and Príncipe Dobra","CAD_displayName":"Canadian Dollar","ADP_displayName":"Andorran Peseta","MRO_displayName":"Mauritanian Ouguiya","ESB_displayName":"Spanish Peseta (convertible account)","LSL_displayName":"Lesotho Loti","TND_displayName":"Tunisian Dinar","USD_symbol":"$","BRC_displayName":"Brazilian Cruzado (1986-1989)","BMD_displayName":"Bermudan Dollar","BRL_displayName":"Brazilian Real","JMD_displayName":"Jamaican Dollar","SOS_displayName":"Somali Shilling","SAR_displayName":"Saudi Riyal","PEI_displayName":"Peruvian Inti","ESP_displayName":"Spanish Peseta","HKD_displayName":"Hong Kong Dollar","BWP_displayName":"Botswanan Pula","TTD_displayName":"Trinidad and Tobago Dollar","BRZ_displayName":"Brazilian Cruzeiro (1942-1967)","BSD_displayName":"Bahamian Dollar","BIF_displayName":"Burundian Franc","FRF_displayName":"French Franc","DKK_displayName":"Danish Krone","AED_displayName":"United Arab Emirates Dirham","AOK_displayName":"Angolan Kwanza (1977-1991)","ATS_displayName":"Austrian Schilling","PEN_displayName":"Peruvian Nuevo Sol","CRC_displayName":"Costa Rican Colón","PAB_displayName":"Panamanian Balboa","CHE_displayName":"WIR Euro","GQE_displayName":"Equatorial Guinean Ekwele","DZD_displayName":"Algerian Dinar","EEK_displayName":"Estonian Kroon","YDD_displayName":"Yemeni Dinar","GHC_displayName":"Ghanaian Cedi (1979-2007)","MXP_displayName":"Mexican Silver Peso (1861-1992)","XPD_displayName":"Palladium","KRH_displayName":"South Korean Hwan (1953-1962)","XAG_displayName":"Silver","AFN_displayName":"Afghan Afghani","XFO_displayName":"French Gold Franc","GWE_displayName":"Portuguese Guinea Escudo","BOB_displayName":"Bolivian Boliviano","CAD_symbol":"CA$","VND_displayName":"Vietnamese Dong","ZWD_displayName":"Zimbabwean Dollar (1980-2008)","AFA_displayName":"Afghan Afghani (1927-2002)","JPY_symbol":"¥","SRD_displayName":"Surinamese Dollar","ZRN_displayName":"Zairean New Zaire (1993-1998)","XAU_displayName":"Gold","KRW_symbol":"₩","BOP_displayName":"Bolivian Peso","XBD_displayName":"European Unit of Account (XBD)","TZS_displayName":"Tanzanian Shilling","CNX_displayName":"Chinese People’s Bank Dollar","BOL_displayName":"Bolivian Boliviano (1863-1963)","XPF_symbol":"CFPF","ROL_displayName":"Romanian Leu (1952-2006)","VNN_displayName":"Vietnamese Dong (1978-1985)","LRD_displayName":"Liberian Dollar","KRW_displayName":"South Korean Won","SHP_displayName":"Saint Helena Pound","MZE_displayName":"Mozambican Escudo","MZN_displayName":"Mozambican Metical","SDD_displayName":"Sudanese Dinar (1992-2007)","HRK_displayName":"Croatian Kuna","FKP_displayName":"Falkland Islands Pound","COP_displayName":"Colombian Peso","YUD_displayName":"Yugoslavian Hard Dinar (1966-1990)","YUM_displayName":"Yugoslavian New Dinar (1994-2002)","THB_displayName":"Thai Baht","UZS_displayName":"Uzbekistan Som","MGA_displayName":"Malagasy Ariary","MVP_displayName":"Maldivian Rupee","COU_displayName":"Colombian Real Value Unit","TWD_displayName":"New Taiwan Dollar","UGS_displayName":"Ugandan Shilling (1966-1987)","YUR_displayName":"Yugoslavian Reformed Dinar (1992-1993)","ZAL_displayName":"South African Rand (financial)","GEL_displayName":"Georgian Lari","ILP_displayName":"Israeli Pound","DDM_displayName":"East German Mark","KES_displayName":"Kenyan Shilling","CUC_displayName":"Cuban Convertible Peso","CZK_displayName":"Czech Republic Koruna","UGX_displayName":"Ugandan Shilling","ILS_symbol":"₪","TMT_displayName":"Turkmenistani Manat","THB_symbol":"฿","BGL_displayName":"Bulgarian Hard Lev","ARP_displayName":"Argentine Peso (1983-1985)","RUR_displayName":"Russian Ruble (1991-1998)","ERN_displayName":"Eritrean Nakfa","ESA_displayName":"Spanish Peseta (A account)","CLF_displayName":"Chilean Unit of Account (UF)","BRB_displayName":"Brazilian New Cruzeiro (1967-1986)","BHD_displayName":"Bahraini Dinar","SYP_displayName":"Syrian Pound","SZL_displayName":"Swazi Lilangeni","INR_displayName":"Indian Rupee","PTE_displayName":"Portuguese Escudo","KPW_displayName":"North Korean Won","XOF_displayName":"CFA Franc BCEAO","MXN_displayName":"Mexican Peso","RWF_displayName":"Rwandan Franc","ETB_displayName":"Ethiopian Birr","LTL_displayName":"Lithuanian Litas","BND_displayName":"Brunei Dollar","SUR_displayName":"Soviet Rouble","SKK_displayName":"Slovak Koruna","AOA_displayName":"Angolan Kwanza","CVE_displayName":"Cape Verdean Escudo","BRL_symbol":"R$","XTS_displayName":"Testing Currency Code","CLP_displayName":"Chilean Peso","HUF_displayName":"Hungarian Forint","TJS_displayName":"Tajikistani Somoni","GBP_displayName":"British Pound Sterling","TPE_displayName":"Timorese Escudo","BDT_displayName":"Bangladeshi Taka","SGD_displayName":"Singapore Dollar","SLL_displayName":"Sierra Leonean Leone","XAF_displayName":"CFA Franc BEAC","MTL_displayName":"Maltese Lira","ZRZ_displayName":"Zairean Zaire (1971-1993)","KHR_displayName":"Cambodian Riel","RSD_displayName":"Serbian Dinar","BEC_displayName":"Belgian Franc (convertible)","BEL_displayName":"Belgian Franc (financial)","AZN_displayName":"Azerbaijani Manat","FIM_displayName":"Finnish Markka","ZWL_displayName":"Zimbabwean Dollar (2009)","PKR_displayName":"Pakistani Rupee","UYP_displayName":"Uruguayan Peso (1975-1993)","ZMW_displayName":"Zambian Kwacha","CHW_displayName":"WIR Franc","XAF_symbol":"FCFA","PLN_displayName":"Polish Zloty","UAH_displayName":"Ukrainian Hryvnia","BTN_displayName":"Bhutanese Ngultrum","YER_displayName":"Yemeni Rial","UYU_displayName":"Uruguayan Peso","CSD_displayName":"Serbian Dinar (2002-2006)","VEF_displayName":"Venezuelan Bolívar","PGK_displayName":"Papua New Guinean Kina","XBC_displayName":"European Unit of Account (XBC)","EUR_displayName":"Euro","MUR_displayName":"Mauritian Rupee","MAD_displayName":"Moroccan Dirham","SDG_displayName":"Sudanese Pound","BYR_displayName":"Belarusian Ruble","VEB_displayName":"Venezuelan Bolívar (1871-2008)","IQD_displayName":"Iraqi Dinar","MZM_displayName":"Mozambican Metical (1980-2006)","NZD_symbol":"NZ$","SIT_displayName":"Slovenian Tolar","XCD_displayName":"East Caribbean Dollar","RUB_displayName":"Russian Ruble","BUK_displayName":"Burmese Kyat","ILS_displayName":"Israeli New Sheqel","INR_symbol":"₹","NAD_displayName":"Namibian Dollar","HNL_displayName":"Honduran Lempira","GTQ_displayName":"Guatemalan Quetzal","MCF_displayName":"Monegasque Franc","GEK_displayName":"Georgian Kupon Larit","EUR_symbol":"€","NZD_displayName":"New Zealand Dollar","BGO_displayName":"Bulgarian Lev (1879-1952)","ARA_displayName":"Argentine Austral","ARS_displayName":"Argentine Peso","ANG_displayName":"Netherlands Antillean Guilder"},"dojo/cldr/nls/number":{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:^S:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","_localized":{"en-in":1,"en-tt":1,"en-bz":1,"en-us-posix":1,"en-150":1,"en-sg":1,"en-na":1,"en-be":1,"en-jm":1,"en-zw":1,"en-za":1,"en-hk":1,"en-gb":1,"en-bw":1},"decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤#,##0.00;(¤#,##0.00)","currencySpacing-beforeCurrency-currencyMatch":"[:^S:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat-long":"000 trillion","decimalFormat":"#,##0.###","decimal":".","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"dojo/cldr/nls/gregorian":{"dateFormatItem-Ehm":"E h:mm a","days-standAlone-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yMEd":"E, M/d/y","dateFormatItem-GyMMMEd":"E, MMM d, y G","dateFormatItem-MMMEd":"E, MMM d","eraNarrow":["B","A"],"days-format-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"MMMM d, y","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateTimeFormat-medium":"{1}, {0}","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, MMMM d, y","dateFormatItem-Md":"M/d","_localized":{"en-in":1,"en-dsrt":1,"en-bz":1,"en-150":1,"en-sg":1,"en-be":1,"en-nz":1,"en-zw":1,"en-pk":1,"en-za":1,"en-hk":1,"en-au":1,"en-ie":1,"en-mt":1,"en-gb":1,"en-bw":1},"dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateFormatItem-yMd":"M/d/y","dayPeriods-format-wide-noon":"noon","field-era":"Era","dateFormatItem-yM":"M/y","months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"timeFormat-short":"h:mm a","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-yQQQQ":"QQQQ y","timeFormat-long":"h:mm:ss a z","field-year":"Year","dateFormatItem-yMMM":"MMM y","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"timeFormat-full":"h:mm:ss a zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"Today","field-day-relative+1":"Tomorrow","dateFormatItem-GyMMMd":"MMM d, y G","dateFormatItem-H":"HH","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-Gy":"y G","dateFormatItem-M":"L","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"timeFormat-medium":"h:mm:ss a","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"eraAbbr":["BC","AD"],"field-minute":"Minute","field-dayperiod":"AM/PM","days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"Yesterday","dateFormatItem-h":"h a","dateTimeFormat-long":"{1} 'at' {0}","dayPeriods-format-narrow-am":"a","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M/d","dateTimeFormat-full":"{1} 'at' {0}","field-day":"Day","days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"field-zone":"Time Zone","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"field-year-relative+-1":"Last year","field-month-relative+-1":"Last month","dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"eraNames":["Before Christ","Anno Domini"],"dateFormatItem-yMMMd":"MMM d, y","days-format-narrow":["S","M","T","W","T","F","S"],"days-standAlone-narrow":["S","M","T","W","T","F","S"],"dateFormatItem-MMM":"LLL","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-EHm":"E HH:mm","dateFormat-short":"M/d/yy","dateFormatItem-EHms":"E HH:mm:ss","dateFormatItem-Ehms":"E h:mm:ss a","dayPeriods-format-narrow-noon":"n","field-second":"Second","dateFormatItem-yMMMEd":"E, MMM d, y","field-month-relative+0":"This month","field-month-relative+1":"Next month","dateFormatItem-Ed":"d E","dateTimeFormats-appendItem-Timezone":"{0} {1}","field-week":"Week","dateFormat-medium":"MMM d, y","field-year-relative+0":"This year","field-week-relative+-1":"Last week","field-year-relative+1":"Next year","dayPeriods-format-narrow-pm":"p","dateTimeFormat-short":"{1}, {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-GyMMM":"MMM y G","field-week-relative+0":"This week","field-week-relative+1":"Next week"}});
}catch(e){console.log("Module 'dojo_fmt_19': ",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/request":function(){define(["./request/default!"],function(_1){return _1;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(_2,_3,_4,_5,_6){var _7={};_2.setObject("dojo.number",_7);_7.format=function(_8,_9){_9=_2.mixin({},_9||{});var _a=_3.normalizeLocale(_9.locale),_b=_3.getLocalization("dojo.cldr","number",_a);_9.customs=_b;var _c=_9.pattern||_b[(_9.type||"decimal")+"Format"];if(isNaN(_8)||Math.abs(_8)==Infinity){return null;}return _7._applyPattern(_8,_c,_9);};_7._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_7._applyPattern=function(_d,_e,_f){_f=_f||{};var _10=_f.customs.group,_11=_f.customs.decimal,_12=_e.split(";"),_13=_12[0];_e=_12[(_d<0)?1:0]||("-"+_13);if(_e.indexOf("%")!=-1){_d*=100;}else{if(_e.indexOf("‰")!=-1){_d*=1000;}else{if(_e.indexOf("¤")!=-1){_10=_f.customs.currencyGroup||_10;_11=_f.customs.currencyDecimal||_11;_e=_e.replace(/\u00a4{1,3}/,function(_14){var _15=["symbol","currency","displayName"][_14.length-1];return _f[_15]||_f.currency||"";});}else{if(_e.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _16=_7._numberPatternRE;var _17=_13.match(_16);if(!_17){throw new Error("unable to find a number expression in pattern: "+_e);}if(_f.fractional===false){_f.places=0;}return _e.replace(_16,_7._formatAbsolute(_d,_17[0],{decimal:_11,group:_10,places:_f.places,round:_f.round}));};_7.round=function(_18,_19,_1a){var _1b=10/(_1a||10);return (_1b*+_18).toFixed(_19)/_1b;};if((0.9).toFixed()==0){var _1c=_7.round;_7.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 _1c(v,p,m)+(v>0?d:-d);};}_7._formatAbsolute=function(_1d,_1e,_1f){_1f=_1f||{};if(_1f.places===true){_1f.places=0;}if(_1f.places===Infinity){_1f.places=6;}var _20=_1e.split("."),_21=typeof _1f.places=="string"&&_1f.places.indexOf(","),_22=_1f.places;if(_21){_22=_1f.places.substring(_21+1);}else{if(!(_22>=0)){_22=(_20[1]||[]).length;}}if(!(_1f.round<0)){_1d=_7.round(_1d,_22,_1f.round);}var _23=String(Math.abs(_1d)).split("."),_24=_23[1]||"";if(_20[1]||_1f.places){if(_21){_1f.places=_1f.places.substring(0,_21);}var pad=_1f.places!==undefined?_1f.places:(_20[1]&&_20[1].lastIndexOf("0")+1);if(pad>_24.length){_23[1]=_5.pad(_24,pad,"0",true);}if(_22<_24.length){_23[1]=_24.substr(0,_22);}}else{if(_23[1]){_23.pop();}}var _25=_20[0].replace(",","");pad=_25.indexOf("0");if(pad!=-1){pad=_25.length-pad;if(pad>_23[0].length){_23[0]=_5.pad(_23[0],pad);}if(_25.indexOf("#")==-1){_23[0]=_23[0].substr(_23[0].length-pad);}}var _26=_20[0].lastIndexOf(","),_27,_28;if(_26!=-1){_27=_20[0].length-_26-1;var _29=_20[0].substr(0,_26);_26=_29.lastIndexOf(",");if(_26!=-1){_28=_29.length-_26-1;}}var _2a=[];for(var _2b=_23[0];_2b;){var off=_2b.length-_27;_2a.push((off>0)?_2b.substr(off):_2b);_2b=(off>0)?_2b.slice(0,off):"";if(_28){_27=_28;delete _28;}}_23[0]=_2a.reverse().join(_1f.group||",");return _23.join(_1f.decimal||".");};_7.regexp=function(_2c){return _7._parseInfo(_2c).regexp;};_7._parseInfo=function(_2d){_2d=_2d||{};var _2e=_3.normalizeLocale(_2d.locale),_2f=_3.getLocalization("dojo.cldr","number",_2e),_30=_2d.pattern||_2f[(_2d.type||"decimal")+"Format"],_31=_2f.group,_32=_2f.decimal,_33=1;if(_30.indexOf("%")!=-1){_33/=100;}else{if(_30.indexOf("‰")!=-1){_33/=1000;}else{var _34=_30.indexOf("¤")!=-1;if(_34){_31=_2f.currencyGroup||_31;_32=_2f.currencyDecimal||_32;}}}var _35=_30.split(";");if(_35.length==1){_35.push("-"+_35[0]);}var re=_6.buildGroupRE(_35,function(_36){_36="(?:"+_6.escapeString(_36,".")+")";return _36.replace(_7._numberPatternRE,function(_37){var _38={signed:false,separator:_2d.strict?_31:[_31,""],fractional:_2d.fractional,decimal:_32,exponent:false},_39=_37.split("."),_3a=_2d.places;if(_39.length==1&&_33!=1){_39[1]="###";}if(_39.length==1||_3a===0){_38.fractional=false;}else{if(_3a===undefined){_3a=_2d.pattern?_39[1].lastIndexOf("0")+1:Infinity;}if(_3a&&_2d.fractional==undefined){_38.fractional=true;}if(!_2d.places&&(_3a<_39[1].length)){_3a+=","+_39[1].length;}_38.places=_3a;}var _3b=_39[0].split(",");if(_3b.length>1){_38.groupSize=_3b.pop().length;if(_3b.length>1){_38.groupSize2=_3b.pop().length;}}return "("+_7._realNumberRegexp(_38)+")";});},true);if(_34){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_3c,_3d,_3e,_3f){var _40=["symbol","currency","displayName"][_3e.length-1],_41=_6.escapeString(_2d[_40]||_2d.currency||"");_3d=_3d?"[\\s\\xa0]":"";_3f=_3f?"[\\s\\xa0]":"";if(!_2d.strict){if(_3d){_3d+="*";}if(_3f){_3f+="*";}return "(?:"+_3d+_41+_3f+")?";}return _3d+_41+_3f;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_31,decimal:_32,factor:_33};};_7.parse=function(_42,_43){var _44=_7._parseInfo(_43),_45=(new RegExp("^"+_44.regexp+"$")).exec(_42);if(!_45){return NaN;}var _46=_45[1];if(!_45[1]){if(!_45[2]){return NaN;}_46=_45[2];_44.factor*=-1;}_46=_46.replace(new RegExp("["+_44.group+"\\s\\xa0"+"]","g"),"").replace(_44.decimal,".");return _46*_44.factor;};_7._realNumberRegexp=function(_47){_47=_47||{};if(!("places" in _47)){_47.places=Infinity;}if(typeof _47.decimal!="string"){_47.decimal=".";}if(!("fractional" in _47)||/^0/.test(_47.places)){_47.fractional=[true,false];}if(!("exponent" in _47)){_47.exponent=[true,false];}if(!("eSigned" in _47)){_47.eSigned=[true,false];}var _48=_7._integerRegexp(_47),_49=_6.buildGroupRE(_47.fractional,function(q){var re="";if(q&&(_47.places!==0)){re="\\"+_47.decimal;if(_47.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_47.places+"}";}}return re;},true);var _4a=_6.buildGroupRE(_47.exponent,function(q){if(q){return "([eE]"+_7._integerRegexp({signed:_47.eSigned})+")";}return "";});var _4b=_48+_49;if(_49){_4b="(?:(?:"+_4b+")|(?:"+_49+"))";}return _4b+_4a;};_7._integerRegexp=function(_4c){_4c=_4c||{};if(!("signed" in _4c)){_4c.signed=[true,false];}if(!("separator" in _4c)){_4c.separator="";}else{if(!("groupSize" in _4c)){_4c.groupSize=3;}}var _4d=_6.buildGroupRE(_4c.signed,function(q){return q?"[-+]":"";},true);var _4e=_6.buildGroupRE(_4c.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_6.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_4c.groupSize,_4f=_4c.groupSize2;if(_4f){var _50="(?:0|[1-9]\\d{0,"+(_4f-1)+"}(?:["+sep+"]\\d{"+_4f+"})*["+sep+"]\\d{"+grp+"})";return ((grp-_4f)>0)?"(?:"+_50+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_50;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _4d+_4e;};return _7;});},"dojo/date":function(){define(["./has","./_base/lang"],function(has,_51){var _52={};_52.getDaysInMonth=function(_53){var _54=_53.getMonth();var _55=[31,28,31,30,31,30,31,31,30,31,30,31];if(_54==1&&_52.isLeapYear(_53)){return 29;}return _55[_54];};_52.isLeapYear=function(_56){var _57=_56.getFullYear();return !(_57%400)||(!(_57%4)&&!!(_57%100));};_52.getTimezoneName=function(_58){var str=_58.toString();var tz="";var _59;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_59=str.match(pat))){tz=_59[1];}else{str=_58.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_59=str.match(pat))){tz=_59[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};_52.compare=function(_5a,_5b,_5c){_5a=new Date(+_5a);_5b=new Date(+(_5b||new Date()));if(_5c=="date"){_5a.setHours(0,0,0,0);_5b.setHours(0,0,0,0);}else{if(_5c=="time"){_5a.setFullYear(0,0,0);_5b.setFullYear(0,0,0);}}if(_5a>_5b){return 1;}if(_5a<_5b){return -1;}return 0;};_52.add=function(_5d,_5e,_5f){var sum=new Date(+_5d);var _60=false;var _61="Date";switch(_5e){case "day":break;case "weekday":var _62,_63;var mod=_5f%5;if(!mod){_62=(_5f>0)?5:-5;_63=(_5f>0)?((_5f-5)/5):((_5f+5)/5);}else{_62=mod;_63=parseInt(_5f/5);}var _64=_5d.getDay();var adj=0;if(_64==6&&_5f>0){adj=1;}else{if(_64==0&&_5f<0){adj=-1;}}var _65=_64+_62;if(_65==0||_65==6){adj=(_5f>0)?2:-2;}_5f=(7*_63)+_62+adj;break;case "year":_61="FullYear";_60=true;break;case "week":_5f*=7;break;case "quarter":_5f*=3;case "month":_60=true;_61="Month";break;default:_61="UTC"+_5e.charAt(0).toUpperCase()+_5e.substring(1)+"s";}if(_61){sum["set"+_61](sum["get"+_61]()+_5f);}if(_60&&(sum.getDate()<_5d.getDate())){sum.setDate(0);}return sum;};_52.difference=function(_66,_67,_68){_67=_67||new Date();_68=_68||"day";var _69=_67.getFullYear()-_66.getFullYear();var _6a=1;switch(_68){case "quarter":var m1=_66.getMonth();var m2=_67.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_69*4);_6a=q2-q1;break;case "weekday":var _6b=Math.round(_52.difference(_66,_67,"day"));var _6c=parseInt(_52.difference(_66,_67,"week"));var mod=_6b%7;if(mod==0){_6b=_6c*5;}else{var adj=0;var _6d=_66.getDay();var _6e=_67.getDay();_6c=parseInt(_6b/7);mod=_6b%7;var _6f=new Date(_66);_6f.setDate(_6f.getDate()+(_6c*7));var _70=_6f.getDay();if(_6b>0){switch(true){case _6d==6:adj=-1;break;case _6d==0:adj=0;break;case _6e==6:adj=-1;break;case _6e==0:adj=-2;break;case (_70+mod)>5:adj=-2;}}else{if(_6b<0){switch(true){case _6d==6:adj=0;break;case _6d==0:adj=1;break;case _6e==6:adj=2;break;case _6e==0:adj=1;break;case (_70+mod)<0:adj=2;}}}_6b+=adj;_6b-=(_6c*2);}_6a=_6b;break;case "year":_6a=_69;break;case "month":_6a=(_67.getMonth()-_66.getMonth())+(_69*12);break;case "week":_6a=parseInt(_52.difference(_66,_67,"day")/7);break;case "day":_6a/=24;case "hour":_6a/=60;case "minute":_6a/=60;case "second":_6a/=1000;case "millisecond":_6a*=_67.getTime()-_66.getTime();}return Math.round(_6a);};1&&_51.mixin(_51.getObject("dojo.date",true),_52);return _52;});},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(_71,_72){var _73={};_72.setObject("dojo.cldr.monetary",_73);_73.getData=function(_74){var _75={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 _76={};var _77=_75[_74],_78=_76[_74];if(typeof _77=="undefined"){_77=2;}if(typeof _78=="undefined"){_78=0;}return {places:_77,round:_78};};return _73;});},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(_79,_7a){var _7b={};_79.setObject("dojo.cldr.supplemental",_7b);_7b.getFirstDayOfWeek=function(_7c){var _7d={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0};var _7e=_7b._region(_7c);var dow=_7d[_7e];return (dow===undefined)?1:dow;};_7b._region=function(_7f){_7f=_7a.normalizeLocale(_7f);var _80=_7f.split("-");var _81=_80[1];if(!_81){_81={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[_80[0]];}else{if(_81.length==4){_81=_80[2];}}return _81;};_7b.getWeekend=function(_82){var _83={"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},_84={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},_85=_7b._region(_82),_86=_83[_85],end=_84[_85];if(_86===undefined){_86=6;}if(end===undefined){end=0;}return {start:_86,end:end};};return _7b;});},"dojo/currency":function(){define(["./_base/array","./_base/lang","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_87,_88,_89,_8a,_8b,_8c){var _8d={};_88.setObject("dojo.currency",_8d);_8d._mixInDefaults=function(_8e){_8e=_8e||{};_8e.type="currency";var _8f=_8a.getLocalization("dojo.cldr","currency",_8e.locale)||{};var iso=_8e.currency;var _90=_8c.getData(iso);_87.forEach(["displayName","symbol","group","decimal"],function(_91){_90[_91]=_8f[iso+"_"+_91];});_90.fractional=[true,false];return _88.mixin(_90,_8e);};_8d.format=function(_92,_93){return _89.format(_92,_8d._mixInDefaults(_93));};_8d.regexp=function(_94){return _89.regexp(_8d._mixInDefaults(_94));};_8d.parse=function(_95,_96){return _89.parse(_95,_8d._mixInDefaults(_96));};return _8d;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_97,_98,has,_99){var _9a;if(1){_9a=function(url,_9b,_9c){_99(url,{sync:!!_9b,headers:{"X-Requested-With":null}}).then(_9c);};}else{if(_98.getText){_9a=_98.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _9d={},_9e=function(_9f){if(_9f){_9f=_9f.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _a0=_9f.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_a0){_9f=_a0[1];}}else{_9f="";}return _9f;},_a1={},_a2={};_97.cache=function(_a3,url,_a4){var key;if(typeof _a3=="string"){if(/\//.test(_a3)){key=_a3;_a4=url;}else{key=_98.toUrl(_a3.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_a3+"";_a4=url;}var val=(_a4!=undefined&&typeof _a4!="string")?_a4.value:_a4,_a5=_a4&&_a4.sanitize;if(typeof val=="string"){_9d[key]=val;return _a5?_9e(val):val;}else{if(val===null){delete _9d[key];return null;}else{if(!(key in _9d)){_9a(key,true,function(_a6){_9d[key]=_a6;});}return _a5?_9e(_9d[key]):_9d[key];}}};return {dynamic:true,normalize:function(id,_a7){var _a8=id.split("!"),url=_a8[0];return (/^\./.test(url)?_a7(url):url)+(_a8[1]?"!"+_a8[1]:"");},load:function(id,_a9,_aa){var _ab=id.split("!"),_ac=_ab.length>1,_ad=_ab[0],url=_a9.toUrl(_ab[0]),_ae="url:"+url,_af=_a1,_b0=function(_b1){_aa(_ac?_9e(_b1):_b1);};if(_ad in _9d){_af=_9d[_ad];}else{if(_a9.cache&&_ae in _a9.cache){_af=_a9.cache[_ae];}else{if(url in _9d){_af=_9d[url];}}}if(_af===_a1){if(_a2[url]){_a2[url].push(_b0);}else{var _b2=_a2[url]=[_b0];_9a(url,!_a9.async,function(_b3){_9d[_ad]=_9d[url]=_b3;for(var i=0;i<_b2.length;){_b2[i++](_b3);}delete _a2[url];});}}else{_b0(_af);}}};});},"dojo/request/default":function(){define(["exports","require","../has"],function(_b4,_b5,has){var _b6=has("config-requestProvider"),_b7;if(1){_b7="./xhr";}else{if(0){_b7="./node";}}if(!_b6){_b6=_b7;}_b4.getPlatformDefaultId=function(){return _b7;};_b4.load=function(id,_b8,_b9,_ba){_b5([id=="platform"?_b7:_b6],function(_bb){_b9(_bb);});};});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(_bc,_bd,has,_be,_bf,_c0,xhr,_c1,_c2){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _c3=_bc.i18n={},_c4=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_c5=function(_c6,_c7,_c8,_c9){for(var _ca=[_c8+_c9],_cb=_c7.split("-"),_cc="",i=0;i<_cb.length;i++){_cc+=(_cc?"-":"")+_cb[i];if(!_c6||_c6[_cc]){_ca.push(_c8+_cc+"/"+_c9);_ca.specificity=_cc;}}return _ca;},_cd={},_ce=function(_cf,_d0,_d1){_d1=_d1?_d1.toLowerCase():_bc.locale;_cf=_cf.replace(/\./g,"/");_d0=_d0.replace(/\./g,"/");return (/root/i.test(_d1))?(_cf+"/nls/"+_d0):(_cf+"/nls/"+_d1+"/"+_d0);},_d2=_bc.getL10nName=function(_d3,_d4,_d5){return _d3=_c2.id+"!"+_ce(_d3,_d4,_d5);},_d6=function(_d7,_d8,_d9,_da,_db,_dc){_d7([_d8],function(_dd){var _de=_c0.clone(_dd.root||_dd.ROOT),_df=_c5(!_dd._v1x&&_dd,_db,_d9,_da);_d7(_df,function(){for(var i=1;i<_df.length;i++){_de=_c0.mixin(_c0.clone(_de),arguments[i]);}var _e0=_d8+"/"+_db;_cd[_e0]=_de;_de.$locale=_df.specificity;_dc();});});},_e1=function(id,_e2){return /^\./.test(id)?_e2(id):id;},_e3=function(_e4){var _e5=_bf.extraLocale||[];_e5=_c0.isArray(_e5)?_e5:[_e5];_e5.push(_e4);return _e5;},_e6=function(id,_e7,_e8){if(has("dojo-preload-i18n-Api")){var _e9=id.split("*"),_ea=_e9[1]=="preload";if(_ea){if(!_cd[id]){_cd[id]=1;_eb(_e9[2],_c1.parse(_e9[3]),1,_e7);}_e8(1);}if(_ea||_ec(id,_e7,_e8)){return;}}var _ed=_c4.exec(id),_ee=_ed[1]+"/",_ef=_ed[5]||_ed[4],_f0=_ee+_ef,_f1=(_ed[5]&&_ed[4]),_f2=_f1||_bc.locale||"",_f3=_f0+"/"+_f2,_f4=_f1?[_f2]:_e3(_f2),_f5=_f4.length,_f6=function(){if(!--_f5){_e8(_c0.delegate(_cd[_f3]));}};_be.forEach(_f4,function(_f7){var _f8=_f0+"/"+_f7;if(has("dojo-preload-i18n-Api")){_f9(_f8);}if(!_cd[_f8]){_d6(_e7,_f0,_ee,_ef,_f7,_f6);}else{_f6();}});};if(has("dojo-unit-tests")){var _fa=_c3.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _fb=_c3.normalizeLocale=function(_fc){var _fd=_fc?_fc.toLowerCase():_bc.locale;return _fd=="root"?"ROOT":_fd;},_fe=function(mid,_ff){return (1&&1)?_ff.isXdUrl(_bd.toUrl(mid+".js")):true;},_100=0,_101=[],_eb=_c3._preloadLocalizations=function(_102,_103,_104,_105){_105=_105||_bd;function _106(mid,_107){if(_fe(mid,_105)||_104){_105([mid],_107);}else{_121([mid],_107,_105);}};function _108(_109,func){var _10a=_109.split("-");while(_10a.length){if(func(_10a.join("-"))){return;}_10a.pop();}func("ROOT");};function _10b(){_100++;};function _10c(){--_100;while(!_100&&_101.length){_e6.apply(null,_101.shift());}};function _10d(path,name,loc,_10e){return _10e.toAbsMid(path+name+"/"+loc);};function _10f(_110){_110=_fb(_110);_108(_110,function(loc){if(_be.indexOf(_103,loc)>=0){var mid=_102.replace(/\./g,"/")+"_"+loc;_10b();_106(mid,function(_111){for(var p in _111){var _112=_111[p],_113=p.match(/(.+)\/([^\/]+)$/),_114,_115;if(!_113){continue;}_114=_113[2];_115=_113[1]+"/";_112._localized=_112._localized||{};var _116;if(loc==="ROOT"){var root=_116=_112._localized;delete _112._localized;root.root=_112;_cd[_bd.toAbsMid(p)]=root;}else{_116=_112._localized;_cd[_10d(_115,_114,loc,_bd)]=_112;}if(loc!==_110){function _117(_118,_119,_11a,_11b){var _11c=[],_11d=[];_108(_110,function(loc){if(_11b[loc]){_11c.push(_bd.toAbsMid(_118+loc+"/"+_119));_11d.push(_10d(_118,_119,loc,_bd));}});if(_11c.length){_10b();_105(_11c,function(){for(var i=0;i<_11c.length;i++){_11a=_c0.mixin(_c0.clone(_11a),arguments[i]);_cd[_11d[i]]=_11a;}_cd[_10d(_118,_119,_110,_bd)]=_c0.clone(_11a);_10c();});}else{_cd[_10d(_118,_119,_110,_bd)]=_11a;}};_117(_115,_114,_112,_116);}}_10c();});return true;}return false;});};_10f();_be.forEach(_bc.config.extraLocale,_10f);},_ec=function(id,_11e,load){if(_100){_101.push([id,_11e,load]);}return _100;},_f9=function(){};}if(1){var _11f={},_120=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_121=function(deps,_122,_123){var _124=[];_be.forEach(deps,function(mid){var url=_123.toUrl(mid+".js");function _e6(text){var _125=_120(text,_f9,mid,_11f);if(_125===_11f){_124.push(_cd[url]=_11f.result);}else{if(_125 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_125);_125={};}_124.push(_cd[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_125:{root:_125,_v1x:1}));}};if(_cd[url]){_124.push(_cd[url]);}else{var _126=_123.syncLoadNls(mid);if(!_126){_126=_f9(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_126){_124.push(_126);}else{if(!xhr){try{_123.getText(url,true,_e6);}catch(e){_124.push(_cd[url]={});}}else{xhr.get({url:url,sync:true,load:_e6,error:function(){_124.push(_cd[url]={});}});}}}});_122&&_122.apply(null,_124);};_f9=function(_127){for(var _128,_129=_127.split("/"),_12a=_bc.global[_129[0]],i=1;_12a&&i<_129.length-1;_12a=_12a[_129[i++]]){}if(_12a){_128=_12a[_129[i]];if(!_128){_128=_12a[_129[i].replace(/-/g,"_")];}if(_128){_cd[_127]=_128;}}return _128;};_c3.getLocalization=function(_12b,_12c,_12d){var _12e,_12f=_ce(_12b,_12c,_12d);_e6(_12f,(!_fe(_12f,_bd)?function(deps,_130){_121(deps,_130,_bd);}:_bd),function(_131){_12e=_131;});return _12e;};if(has("dojo-unit-tests")){_fa.push(function(doh){doh.register("tests.i18n.unit",function(t){var _132;_132=_120("{prop:1}",_f9,"nonsense",_11f);t.is({prop:1},_132);t.is(undefined,_132[1]);_132=_120("({prop:1})",_f9,"nonsense",_11f);t.is({prop:1},_132);t.is(undefined,_132[1]);_132=_120("{'prop-x':1}",_f9,"nonsense",_11f);t.is({"prop-x":1},_132);t.is(undefined,_132[1]);_132=_120("({'prop-x':1})",_f9,"nonsense",_11f);t.is({"prop-x":1},_132);t.is(undefined,_132[1]);_132=_120("define({'prop-x':1})",_f9,"nonsense",_11f);t.is(_11f,_132);t.is({"prop-x":1},_11f.result);_132=_120("define('some/module', {'prop-x':1})",_f9,"nonsense",_11f);t.is(_11f,_132);t.is({"prop-x":1},_11f.result);_132=_120("this is total nonsense and should throw an error",_f9,"nonsense",_11f);t.is(_132 instanceof Error,true);});});}}return _c0.mixin(_c3,{dynamic:true,normalize:_e1,load:_e6,cache:_cd,getL10nName:_d2});});},"dojo/date/locale":function(){define(["../_base/lang","../_base/array","../date","../cldr/supplemental","../i18n","../regexp","../string","../i18n!../cldr/nls/gregorian","module"],function(lang,_133,date,_134,i18n,_135,_136,_137,_138){var _139={};lang.setObject(_138.id.replace(/\//g,"."),_139);function _13a(_13b,_13c,_13d,_13e){return _13e.replace(/([a-z])\1*/ig,function(_13f){var s,pad,c=_13f.charAt(0),l=_13f.length,_140=["abbr","wide","narrow"];switch(c){case "G":s=_13c[(l<4)?"eraAbbr":"eraNames"][_13b.getFullYear()<0?0:1];break;case "y":s=_13b.getFullYear();switch(l){case 1:break;case 2:if(!_13d.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_13b.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_13b.getMonth();if(l<3){s=m+1;pad=true;}else{var _141=["months",c=="L"?"standAlone":"format",_140[l-3]].join("-");s=_13c[_141][m];}break;case "w":var _142=0;s=_139._getWeekOfYear(_13b,_142);pad=true;break;case "d":s=_13b.getDate();pad=true;break;case "D":s=_139._getDayOfYear(_13b);pad=true;break;case "e":case "c":var d=_13b.getDay();if(l<2){s=(d-_134.getFirstDayOfWeek(_13d.locale)+8)%7;break;}case "E":d=_13b.getDay();if(l<3){s=d+1;pad=true;}else{var _143=["days",c=="c"?"standAlone":"format",_140[l-3]].join("-");s=_13c[_143][d];}break;case "a":var _144=_13b.getHours()<12?"am":"pm";s=_13d[_144]||_13c["dayPeriods-format-wide-"+_144];break;case "h":case "H":case "K":case "k":var h=_13b.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=_13b.getMinutes();pad=true;break;case "s":s=_13b.getSeconds();pad=true;break;case "S":s=Math.round(_13b.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=_139._getZone(_13b,true,_13d);if(s){break;}l=4;case "Z":var _145=_139._getZone(_13b,false,_13d);var tz=[(_145<=0?"+":"-"),_136.pad(Math.floor(Math.abs(_145)/60),2),_136.pad(Math.abs(_145)%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: "+_13e);}if(pad){s=_136.pad(s,l);}return s;});};_139._getZone=function(_146,_147,_148){if(_147){return date.getTimezoneName(_146);}else{return _146.getTimezoneOffset();}};_139.format=function(_149,_14a){_14a=_14a||{};var _14b=i18n.normalizeLocale(_14a.locale),_14c=_14a.formatLength||"short",_14d=_139._getGregorianBundle(_14b),str=[],_14e=lang.hitch(this,_13a,_149,_14d,_14a);if(_14a.selector=="year"){return _14f(_14d["dateFormatItem-yyyy"]||"yyyy",_14e);}var _150;if(_14a.selector!="date"){_150=_14a.timePattern||_14d["timeFormat-"+_14c];if(_150){str.push(_14f(_150,_14e));}}if(_14a.selector!="time"){_150=_14a.datePattern||_14d["dateFormat-"+_14c];if(_150){str.push(_14f(_150,_14e));}}return str.length==1?str[0]:_14d["dateTimeFormat-"+_14c].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(_151,key){return str[key];});};_139.regexp=function(_152){return _139._parseInfo(_152).regexp;};_139._parseInfo=function(_153){_153=_153||{};var _154=i18n.normalizeLocale(_153.locale),_155=_139._getGregorianBundle(_154),_156=_153.formatLength||"short",_157=_153.datePattern||_155["dateFormat-"+_156],_158=_153.timePattern||_155["timeFormat-"+_156],_159;if(_153.selector=="date"){_159=_157;}else{if(_153.selector=="time"){_159=_158;}else{_159=_155["dateTimeFormat-"+_156].replace(/\{(\d+)\}/g,function(_15a,key){return [_158,_157][key];});}}var _15b=[],re=_14f(_159,lang.hitch(this,_15c,_15b,_155,_153));return {regexp:re,tokens:_15b,bundle:_155};};_139.parse=function(_15d,_15e){var _15f=/[\u200E\u200F\u202A\u202E]/g,info=_139._parseInfo(_15e),_160=info.tokens,_161=info.bundle,re=new RegExp("^"+info.regexp.replace(_15f,"")+"$",info.strict?"":"i"),_162=re.exec(_15d&&_15d.replace(_15f,""));if(!_162){return null;}var _163=["abbr","wide","narrow"],_164=[1970,0,1,0,0,0,0],amPm="",_165=_133.every(_162,function(v,i){if(!i){return true;}var _166=_160[i-1],l=_166.length,c=_166.charAt(0);switch(c){case "y":if(l!=2&&_15e.strict){_164[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_167=year.substring(0,2)*100,_168=Math.min(Number(year.substring(2,4))+20,99);_164[0]=(v<_168)?_167+v:_167-100+v;}else{if(_15e.strict){return false;}_164[0]=v;}}break;case "M":case "L":if(l>2){var _169=_161["months-"+(c=="L"?"standAlone":"format")+"-"+_163[l-3]].concat();if(!_15e.strict){v=v.replace(".","").toLowerCase();_169=_133.map(_169,function(s){return s.replace(".","").toLowerCase();});}v=_133.indexOf(_169,v);if(v==-1){return false;}}else{v--;}_164[1]=v;break;case "E":case "e":case "c":var days=_161["days-"+(c=="c"?"standAlone":"format")+"-"+_163[l-3]].concat();if(!_15e.strict){v=v.toLowerCase();days=_133.map(days,function(d){return d.toLowerCase();});}v=_133.indexOf(days,v);if(v==-1){return false;}break;case "D":_164[1]=0;case "d":_164[2]=v;break;case "a":var am=_15e.am||_161["dayPeriods-format-wide-am"],pm=_15e.pm||_161["dayPeriods-format-wide-pm"];if(!_15e.strict){var _16a=/\./g;v=v.replace(_16a,"").toLowerCase();am=am.replace(_16a,"").toLowerCase();pm=pm.replace(_16a,"").toLowerCase();}if(_15e.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;}_164[3]=v;break;case "m":_164[4]=v;break;case "s":_164[5]=v;break;case "S":_164[6]=v;}return true;});var _16b=+_164[3];if(amPm==="p"&&_16b<12){_164[3]=_16b+12;}else{if(amPm==="a"&&_16b==12){_164[3]=0;}}var _16c=new Date(_164[0],_164[1],_164[2],_164[3],_164[4],_164[5],_164[6]);if(_15e.strict){_16c.setFullYear(_164[0]);}var _16d=_160.join(""),_16e=_16d.indexOf("d")!=-1,_16f=_16d.indexOf("M")!=-1;if(!_165||(_16f&&_16c.getMonth()>_164[1])||(_16e&&_16c.getDate()>_164[2])){return null;}if((_16f&&_16c.getMonth()<_164[1])||(_16e&&_16c.getDate()<_164[2])){_16c=date.add(_16c,"hour",1);}return _16c;};function _14f(_170,_171,_172,_173){var _174=function(x){return x;};_171=_171||_174;_172=_172||_174;_173=_173||_174;var _175=_170.match(/(''|[^'])+/g),_176=_170.charAt(0)=="'";_133.forEach(_175,function(_177,i){if(!_177){_175[i]="";}else{_175[i]=(_176?_172:_171)(_177.replace(/''/g,"'"));_176=!_176;}});return _173(_175.join(""));};function _15c(_178,_179,_17a,_17b){_17b=_135.escapeString(_17b);if(!_17a.strict){_17b=_17b.replace(" a"," ?a");}return _17b.replace(/([a-z])\1*/ig,function(_17c){var s,c=_17c.charAt(0),l=_17c.length,p2="",p3="";if(_17a.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":case "L":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":case "e":case "c":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=_17a.am||_179["dayPeriods-format-wide-am"],pm=_17a.pm||_179["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_17a.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(_178){_178.push(_17c);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _17d=[];_139.addCustomFormats=function(_17e,_17f){_17d.push({pkg:_17e,name:_17f});};_139._getGregorianBundle=function(_180){var _181={};_133.forEach(_17d,function(desc){var _182=i18n.getLocalization(desc.pkg,desc.name,_180);_181=lang.mixin(_181,_182);},this);return _181;};_139.addCustomFormats(_138.id.replace(/\/date\/locale$/,".cldr"),"gregorian");_139.getNames=function(item,type,_183,_184){var _185,_186=_139._getGregorianBundle(_184),_187=[item,_183,type];if(_183=="standAlone"){var key=_187.join("-");_185=_186[key];if(_185[0]==1){_185=undefined;}}_187[1]="format";return (_185||_186[_187.join("-")]).concat();};_139.isWeekend=function(_188,_189){var _18a=_134.getWeekend(_189),day=(_188||new Date()).getDay();if(_18a.end<_18a.start){_18a.end+=7;if(day<_18a.start){day+=7;}}return day>=_18a.start&&day<=_18a.end;};_139._getDayOfYear=function(_18b){return date.difference(new Date(_18b.getFullYear(),0,1,_18b.getHours()),_18b)+1;};_139._getWeekOfYear=function(_18c,_18d){if(arguments.length==1){_18d=0;}var _18e=new Date(_18c.getFullYear(),0,1).getDay(),adj=(_18e-_18d+7)%7,week=Math.floor((_139._getDayOfYear(_18c)+adj-1)/7);if(_18e==_18d){week++;}return week;};return _139;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_18f){var _190={};lang.setObject("dojo.date.stamp",_190);_190.fromISOString=function(_191,_192){if(!_190._isoRegExp){_190._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _193=_190._isoRegExp.exec(_191),_194=null;if(_193){_193.shift();if(_193[1]){_193[1]--;}if(_193[6]){_193[6]*=1000;}if(_192){_192=new Date(_192);_18f.forEach(_18f.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _192["get"+prop]();}),function(_195,_196){_193[_196]=_193[_196]||_195;});}_194=new Date(_193[0]||1970,_193[1]||0,_193[2]||1,_193[3]||0,_193[4]||0,_193[5]||0,_193[6]||0);if(_193[0]<100){_194.setFullYear(_193[0]||1970);}var _197=0,_198=_193[7]&&_193[7].charAt(0);if(_198!="Z"){_197=((_193[8]||0)*60)+(Number(_193[9])||0);if(_198!="-"){_197*=-1;}}if(_198){_197-=_194.getTimezoneOffset();}if(_197){_194.setTime(_194.getTime()+_197*60000);}}return _194;};_190.toISOString=function(_199,_19a){var _19b=function(n){return (n<10)?"0"+n:n;};_19a=_19a||{};var _19c=[],_19d=_19a.zulu?"getUTC":"get",date="";if(_19a.selector!="time"){var year=_199[_19d+"FullYear"]();date=["0000".substr((year+"").length)+year,_19b(_199[_19d+"Month"]()+1),_19b(_199[_19d+"Date"]())].join("-");}_19c.push(date);if(_19a.selector!="date"){var time=[_19b(_199[_19d+"Hours"]()),_19b(_199[_19d+"Minutes"]()),_19b(_199[_19d+"Seconds"]())].join(":");var _19e=_199[_19d+"Milliseconds"]();if(_19a.milliseconds){time+="."+(_19e<100?"0":"")+_19b(_19e);}if(_19a.zulu){time+="Z";}else{if(_19a.selector!="time"){var _19f=_199.getTimezoneOffset();var _1a0=Math.abs(_19f);time+=(_19f>0?"-":"+")+_19b(Math.floor(_1a0/60))+":"+_19b(_1a0%60);}}_19c.push(time);}return _19c.join("T");};return _190;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_1a1,lang){var _1a2={};lang.setObject("dojo.string",_1a2);_1a2.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("");};_1a2.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_1a2.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_1a2.substitute=function(_1a3,map,_1a4,_1a5){_1a5=_1a5||_1a1.global;_1a4=_1a4?lang.hitch(_1a5,_1a4):function(v){return v;};return _1a3.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1a6,key,_1a7){var _1a8=lang.getObject(key,false,map);if(_1a7){_1a8=lang.getObject(_1a7,false,_1a5).call(_1a5,_1a8,key);}return _1a4(_1a8,key).toString();});};_1a2.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 _1a2;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _1a9={};lang.setObject("dojo.regexp",_1a9);_1a9.escapeString=function(str,_1aa){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_1aa&&_1aa.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_1a9.buildGroupRE=function(arr,re,_1ab){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _1a9.group(b.join("|"),_1ab);};_1a9.group=function(_1ac,_1ad){return "("+(_1ad?"?:":"")+_1ac+")";};return _1a9;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_1ae,_1af){var _1b0={};lang.setObject("dojo.colors",_1b0);var _1b1=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=_1ae.fromRgb=function(_1b2,obj){var m=_1b2.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=_1af.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _1ae.fromArray(a,obj);}return _1ae.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=[_1b1(m1,m2,H+1/3)*256,_1b1(m1,m2,H)*256,_1b1(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _1ae.fromArray(a,obj);}}return null;};var _1b3=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_1ae.prototype.sanitize=function(){var t=this;t.r=Math.round(_1b3(t.r,0,255));t.g=Math.round(_1b3(t.g,0,255));t.b=Math.round(_1b3(t.b,0,255));t.a=_1b3(t.a,0,1);return this;};_1b0.makeGrey=_1ae.makeGrey=function(g,a){return _1ae.fromArray([g,g,g,a]);};lang.mixin(_1ae.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 _1ae;});},"*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_19': ",e);}
try{//>>built
define("dijit/nls/_dijit_form_en",{"dijit/form/nls/ComboBox":{"previousMessage":"Previous choices","_localized":{},"nextMessage":"More choices"},"dijit/form/nls/validate":{"invalidMessage":"The value entered is not valid.","rangeMessage":"This value is out of range.","_localized":{},"missingMessage":"This value is required."},"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Cancel","_localized":{},"buttonSave":"Save","itemClose":"Close"}});
}catch(e){console.log("Module 'dijit_form_19': ",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/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){return _1("dijit.form.ComboBoxMixin",[_8,_6],{dropDownClass:_7,hasDownArrow:true,templateString:_9,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(_a){this._set("hasDownArrow",_a);this._buttonNode.style.display=_a?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_b){if(!_b.get){_4.mixin(_b,{_oldAPI:true,get:function(id){var _c=new _2();this.fetchItemByIdentity({identity:id,onItem:function(_d){_c.resolve(_d);},onError:function(_e){_c.reject(_e);}});return _c.promise;},query:function(_f,_10){var _11=new _2(function(){_12.abort&&_12.abort();});_11.total=new _2();var _12=this.fetch(_4.mixin({query:_f,onBegin:function(_13){_11.total.resolve(_13);},onComplete:function(_14){_11.resolve(_14);},onError:function(_15){_11.reject(_15);}},_10));return _5(_11);}});}this._set("store",_b);},postMixInProperties:function(){var _16=this.params.store||this.store;if(_16){this._setStoreAttr(_16);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _17=this.declaredClass;_4.mixin(this.store,{getValue:function(_18,_19){_3.deprecated(_17+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return _18[_19];},getLabel:function(_1a){_3.deprecated(_17+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return _1a.name;},fetch:function(_1b){_3.deprecated(_17+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var _1c=["dojo/data/ObjectStore"];require(_1c,_4.hitch(this,function(_1d){new _1d({objectStore:this}).fetch(_1b);}));}});}}});});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_1e,_1f,_20){var _21=_1e("dijit.form.RangeBoundTextBox",_20,{rangeMessage:"",rangeCheck:function(_22,_23){return ("min" in _23?(this.compare(_22,_23.min)>=0):true)&&("max" in _23?(this.compare(_22,_23.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");if(val==null){return false;}var _24=false;if("min" in this.constraints){var min=this.constraints.min;_24=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min)<0;}if(!_24&&("max" in this.constraints)){var max=this.constraints.max;_24=this.compare(val,((typeof max!="number")||max>0)?max:0)>0;}return _24;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_25){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_25));},getErrorMessage:function(_26){var v=this.get("value");if(v!=null&&v!==""&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_26)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=_1f.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}}});return _21;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_27,_28,_29,_2a,_2b){return _27("dijit.form.ComboButton",_2a,{templateString:_2b,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==_28[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_29.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==_28[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_29.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_2c){if(!this.disabled){_29.focus(_2c=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_2d,_2e,dom,has,_2f,_30,on,_31){var _32=_2e("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),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(_33,_34,_35){var _36;if(_33!==undefined){_36=this.filter(_33);if(typeof _35!="string"){if(_36!==null&&((typeof _36!="number")||!isNaN(_36))){_35=this.filter(this.format(_36,this.constraints));}else{_35="";}}}if(_35!=null&&((typeof _35)!="number"||!isNaN(_35))&&this.textbox.value!=_35){this.textbox.value=_35;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_36,_34]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_37){if(_37==null){_37="";}else{if(typeof _37!="string"){_37=String(_37);}}this.textbox.value=_37;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_38){return _38==null?"":(_38.toString?_38.toString():_38);},parse:function(_39){return _39;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){this._processInput(evt);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _3a(e){var _3b;if(e.type=="keydown"){_3b=e.keyCode;switch(_3b){case _2f.SHIFT:case _2f.ALT:case _2f.CTRL:case _2f.META:case _2f.CAPS_LOCK:case _2f.NUM_LOCK:case _2f.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_3b){case _2f.NUMPAD_0:case _2f.NUMPAD_1:case _2f.NUMPAD_2:case _2f.NUMPAD_3:case _2f.NUMPAD_4:case _2f.NUMPAD_5:case _2f.NUMPAD_6:case _2f.NUMPAD_7:case _2f.NUMPAD_8:case _2f.NUMPAD_9:case _2f.NUMPAD_MULTIPLY:case _2f.NUMPAD_PLUS:case _2f.NUMPAD_ENTER:case _2f.NUMPAD_MINUS:case _2f.NUMPAD_PERIOD:case _2f.NUMPAD_DIVIDE:return;}if((_3b>=65&&_3b<=90)||(_3b>=48&&_3b<=57)||_3b==_2f.SPACE){return;}var _3c=false;for(var i in _2f){if(_2f[i]===e.keyCode){_3c=true;break;}}if(!_3c){return;}}}_3b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_3b){_3b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==_2f.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_3b){_3b=229;}if(e.type=="keypress"){if(typeof _3b!="string"){return;}if((_3b>="a"&&_3b<="z")||(_3b>="A"&&_3b<="Z")||(_3b>="0"&&_3b<="9")||(_3b===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var _3d={faux:true},_3e;for(_3e in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(_3e)){var v=e[_3e];if(typeof v!="function"&&typeof v!="undefined"){_3d[_3e]=v;}}}_30.mixin(_3d,{charOrCode:_3b,_wasConsumed:false,preventDefault:function(){_3d._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(_3d)===false){_3d.preventDefault();_3d.stopPropagation();}if(_3d._wasConsumed){return;}this.defer(function(){this._onInput(_3d);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",_30.hitch(this,_3a)),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=_30.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(_3f){return _3f.substring(0,1).toUpperCase()+_3f.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_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=on.once(this.domNode,"mouseup, touchend",_30.hitch(this,function(evt){if(!this._isTextSelected()){_32.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_32=_2e("dijit.form._TextBoxMixin",_32,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_32._setSelectionRange=_31._setSelectionRange=function(_40,_41,_42){if(_40.setSelectionRange){_40.setSelectionRange(_41,_42);}};_32.selectInputText=_31.selectInputText=function(_43,_44,_45){_43=dom.byId(_43);if(isNaN(_44)){_44=0;}if(isNaN(_45)){_45=_43.value?_43.value.length:0;}try{_43.focus();_32._setSelectionRange(_43,_44,_45);}catch(e){}};return _32;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_46){return function(_47,_48){switch(typeof _47){default:throw new Error("Can not query with a "+typeof _47);case "object":case "undefined":var _49=_47;_47=function(_4a){for(var key in _49){var _4b=_49[key];if(_4b&&_4b.test){if(!_4b.test(_4a[key],_4a)){return false;}}else{if(_4b!=_4a[key]){return false;}}}return true;};break;case "string":if(!this[_47]){throw new Error("No filter function "+_47+" was found in store");}_47=this[_47];case "function":}function _4c(_4d){var _4e=_46.filter(_4d,_47);var _4f=_48&&_48.sort;if(_4f){_4e.sort(typeof _4f=="function"?_4f:function(a,b){for(var _50,i=0;_50=_4f[i];i++){var _51=a[_50.attribute];var _52=b[_50.attribute];_51=_51!=null?_51.valueOf():_51;_52=_52!=null?_52.valueOf():_52;if(_51!=_52){return !!_50.descending==(_51==null||_51>_52)?-1:1;}}return 0;});}if(_48&&(_48.start||_48.count)){var _53=_4e.length;_4e=_4e.slice(_48.start||0,(_48.start||0)+(_48.count||Infinity));_4e.total=_53;}return _4e;};_4c.matches=_47;return _4c;};});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_54,_55,_56,_57){return _54("dijit.form.ToggleButton",[_56,_57],{baseClass:"dijitToggleButton",setChecked:function(_58){_55.deprecated("setChecked("+_58+") is deprecated. Use set('checked',"+_58+") instead.","","2.0");this.set("checked",_58);}});});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_59,_5a,_5b,_5c,_5d,dom,_5e,_5f,_60,all,_61,_62,has,_63,don,_64){new Date("X");function _65(_66){return eval("("+_66+")");};var _67=0;_60.after(_5b,"extend",function(){_67++;},true);function _68(_69){var map=_69._nameCaseMap,_6a=_69.prototype;if(!map||map._extendCnt<_67){map=_69._nameCaseMap={};for(var _6b in _6a){if(_6b.charAt(0)==="_"){continue;}map[_6b.toLowerCase()]=_6b;}map._extendCnt=_67;}return map;};var _6c={};function _6d(_6e,_6f){var ts=_6e.join();if(!_6c[ts]){var _70=[];for(var i=0,l=_6e.length;i<l;i++){var t=_6e[i];_70[_70.length]=(_6c[t]=_6c[t]||(_5b.getObject(t)||(~t.indexOf("/")&&(_6f?_6f(t):_59(t)))));}var _71=_70.shift();_6c[ts]=_70.length?(_71.createSubclass?_71.createSubclass(_70):_71.extend.apply(_71,_70)):_71;}return _6c[ts];};var _72={_clearCache:function(){_67++;_6c={};},_functionFromScript:function(_73,_74){var _75="",_76="",_77=(_73.getAttribute(_74+"args")||_73.getAttribute("args")),_78=_73.getAttribute("with");var _79=(_77||"").split(/\s*,\s*/);if(_78&&_78.length){_5c.forEach(_78.split(/\s*,\s*/),function(_7a){_75+="with("+_7a+"){";_76+="}";});}return new Function(_79,_75+_73.innerHTML+_76);},instantiate:function(_7b,_7c,_7d){_7c=_7c||{};_7d=_7d||{};var _7e=(_7d.scope||_5a._scopeName)+"Type",_7f="data-"+(_7d.scope||_5a._scopeName)+"-",_80=_7f+"type",_81=_7f+"mixins";var _82=[];_5c.forEach(_7b,function(_83){var _84=_7e in _7c?_7c[_7e]:_83.getAttribute(_80)||_83.getAttribute(_7e);if(_84){var _85=_83.getAttribute(_81),_86=_85?[_84].concat(_85.split(/\s*,\s*/)):[_84];_82.push({node:_83,types:_86});}});return this._instantiate(_82,_7c,_7d);},_instantiate:function(_87,_88,_89,_8a){var _8b=_5c.map(_87,function(obj){var _8c=obj.ctor||_6d(obj.types,_89.contextRequire);if(!_8c){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_8c,obj.node,_88,_89,obj.scripts,obj.inherited);},this);function _8d(_8e){if(!_88._started&&!_89.noStart){_5c.forEach(_8e,function(_8f){if(typeof _8f.startup==="function"&&!_8f._started){_8f.startup();}});}return _8e;};if(_8a){return all(_8b).then(_8d);}else{return _8d(_8b);}},construct:function(_90,_91,_92,_93,_94,_95){var _96=_90&&_90.prototype;_93=_93||{};var _97={};if(_93.defaults){_5b.mixin(_97,_93.defaults);}if(_95){_5b.mixin(_97,_95);}var _98;if(has("dom-attributes-explicit")){_98=_91.attributes;}else{if(has("dom-attributes-specified-flag")){_98=_5c.filter(_91.attributes,function(a){return a.specified;});}else{var _99=/^input$|^img$/i.test(_91.nodeName)?_91:_91.cloneNode(false),_9a=_99.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_98=_5c.map(_9a.split(/\s+/),function(_9b){var _9c=_9b.toLowerCase();return {name:_9b,value:(_91.nodeName=="LI"&&_9b=="value")||_9c=="enctype"?_91.getAttribute(_9c):_91.getAttributeNode(_9c).value};});}}var _9d=_93.scope||_5a._scopeName,_9e="data-"+_9d+"-",_9f={};if(_9d!=="dojo"){_9f[_9e+"props"]="data-dojo-props";_9f[_9e+"type"]="data-dojo-type";_9f[_9e+"mixins"]="data-dojo-mixins";_9f[_9d+"type"]="dojoType";_9f[_9e+"id"]="data-dojo-id";}var i=0,_a0,_a1=[],_a2,_a3;while(_a0=_98[i++]){var _a4=_a0.name,_a5=_a4.toLowerCase(),_a6=_a0.value;switch(_9f[_a5]||_a5){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_a3=_a6;break;case "data-dojo-id":case "jsid":_a2=_a6;break;case "data-dojo-attach-point":case "dojoattachpoint":_97.dojoAttachPoint=_a6;break;case "data-dojo-attach-event":case "dojoattachevent":_97.dojoAttachEvent=_a6;break;case "class":_97["class"]=_91.className;break;case "style":_97["style"]=_91.style&&_91.style.cssText;break;default:if(!(_a4 in _96)){var map=_68(_90);_a4=map[_a5]||_a4;}if(_a4 in _96){switch(typeof _96[_a4]){case "string":_97[_a4]=_a6;break;case "number":_97[_a4]=_a6.length?Number(_a6):NaN;break;case "boolean":_97[_a4]=_a6.toLowerCase()!="false";break;case "function":if(_a6===""||_a6.search(/[^\w\.]+/i)!=-1){_97[_a4]=new Function(_a6);}else{_97[_a4]=_5b.getObject(_a6,false)||new Function(_a6);}_a1.push(_a4);break;default:var _a7=_96[_a4];_97[_a4]=(_a7&&"length" in _a7)?(_a6?_a6.split(/\s*,\s*/):[]):(_a7 instanceof Date)?(_a6==""?new Date(""):_a6=="now"?new Date():_61.fromISOString(_a6)):(_a7 instanceof _5f)?(_5a.baseUrl+_a6):_65(_a6);}}else{_97[_a4]=_a6;}}}for(var j=0;j<_a1.length;j++){var _a8=_a1[j].toLowerCase();_91.removeAttribute(_a8);_91[_a8]=null;}if(_a3){try{_a3=_65.call(_93.propsThis,"{"+_a3+"}");_5b.mixin(_97,_a3);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_a3+"'");}}_5b.mixin(_97,_92);if(!_94){_94=(_90&&(_90._noScript||_96._noScript)?[]:_63("> script[type^='dojo/']",_91));}var _a9=[],_aa=[],_ab=[],ons=[];if(_94){for(i=0;i<_94.length;i++){var _ac=_94[i];_91.removeChild(_ac);var _ad=(_ac.getAttribute(_9e+"event")||_ac.getAttribute("event")),_ae=_ac.getAttribute(_9e+"prop"),_af=_ac.getAttribute(_9e+"method"),_b0=_ac.getAttribute(_9e+"advice"),_b1=_ac.getAttribute("type"),nf=this._functionFromScript(_ac,_9e);if(_ad){if(_b1=="dojo/connect"){_a9.push({method:_ad,func:nf});}else{if(_b1=="dojo/on"){ons.push({event:_ad,func:nf});}else{_97[_ad]=nf;}}}else{if(_b1=="dojo/aspect"){_a9.push({method:_af,advice:_b0,func:nf});}else{if(_b1=="dojo/watch"){_ab.push({prop:_ae,func:nf});}else{_aa.push(nf);}}}}}var _b2=_90.markupFactory||_96.markupFactory;var _b3=_b2?_b2(_97,_91,_90):new _90(_97,_91);function _b4(_b5){if(_a2){_5b.setObject(_a2,_b5);}for(i=0;i<_a9.length;i++){_60[_a9[i].advice||"after"](_b5,_a9[i].method,_5b.hitch(_b5,_a9[i].func),true);}for(i=0;i<_aa.length;i++){_aa[i].call(_b5);}for(i=0;i<_ab.length;i++){_b5.watch(_ab[i].prop,_ab[i].func);}for(i=0;i<ons.length;i++){don(_b5,ons[i].event,ons[i].func);}return _b5;};if(_b3.then){return _b3.then(_b4);}else{return _b4(_b3);}},scan:function(_b6,_b7){var _b8=[],_b9=[],_ba={};var _bb=(_b7.scope||_5a._scopeName)+"Type",_bc="data-"+(_b7.scope||_5a._scopeName)+"-",_bd=_bc+"type",_be=_bc+"textdir",_bf=_bc+"mixins";var _c0=_b6.firstChild;var _c1=_b7.inherited;if(!_c1){function _c2(_c3,_c4){return (_c3.getAttribute&&_c3.getAttribute(_c4))||(_c3.parentNode&&_c2(_c3.parentNode,_c4));};_c1={dir:_c2(_b6,"dir"),lang:_c2(_b6,"lang"),textDir:_c2(_b6,_be)};for(var key in _c1){if(!_c1[key]){delete _c1[key];}}}var _c5={inherited:_c1};var _c6;var _c7;function _c8(_c9){if(!_c9.inherited){_c9.inherited={};var _ca=_c9.node,_cb=_c8(_c9.parent);var _cc={dir:_ca.getAttribute("dir")||_cb.dir,lang:_ca.getAttribute("lang")||_cb.lang,textDir:_ca.getAttribute(_be)||_cb.textDir};for(var key in _cc){if(_cc[key]){_c9.inherited[key]=_cc[key];}}}return _c9.inherited;};while(true){if(!_c0){if(!_c5||!_c5.node){break;}_c0=_c5.node.nextSibling;_c7=false;_c5=_c5.parent;_c6=_c5.scripts;continue;}if(_c0.nodeType!=1){_c0=_c0.nextSibling;continue;}if(_c6&&_c0.nodeName.toLowerCase()=="script"){_cd=_c0.getAttribute("type");if(_cd&&/^dojo\/\w/i.test(_cd)){_c6.push(_c0);}_c0=_c0.nextSibling;continue;}if(_c7){_c0=_c0.nextSibling;continue;}var _cd=_c0.getAttribute(_bd)||_c0.getAttribute(_bb);var _ce=_c0.firstChild;if(!_cd&&(!_ce||(_ce.nodeType==3&&!_ce.nextSibling))){_c0=_c0.nextSibling;continue;}var _cf;var _d0=null;if(_cd){var _d1=_c0.getAttribute(_bf),_d2=_d1?[_cd].concat(_d1.split(/\s*,\s*/)):[_cd];try{_d0=_6d(_d2,_b7.contextRequire);}catch(e){}if(!_d0){_5c.forEach(_d2,function(t){if(~t.indexOf("/")&&!_ba[t]){_ba[t]=true;_b9[_b9.length]=t;}});}var _d3=_d0&&!_d0.prototype._noScript?[]:null;_cf={types:_d2,ctor:_d0,parent:_c5,node:_c0,scripts:_d3};_cf.inherited=_c8(_cf);_b8.push(_cf);}else{_cf={node:_c0,scripts:_c6,parent:_c5};}_c6=_d3;_c7=_c0.stopParser||(_d0&&_d0.prototype.stopParser&&!(_b7.template));_c5=_cf;_c0=_ce;}var d=new _62();if(_b9.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_b9.join(", "));}var r=_b7.contextRequire||_59;r(_b9,function(){d.resolve(_5c.filter(_b8,function(_d4){if(!_d4.ctor){try{_d4.ctor=_6d(_d4.types,_b7.contextRequire);}catch(e){}}var _d5=_d4.parent;while(_d5&&!_d5.types){_d5=_d5.parent;}var _d6=_d4.ctor&&_d4.ctor.prototype;_d4.instantiateChildren=!(_d6&&_d6.stopParser&&!(_b7.template));_d4.instantiate=!_d5||(_d5.instantiate&&_d5.instantiateChildren);return _d4.instantiate;}));});}else{d.resolve(_b8);}return d.promise;},_require:function(_d7,_d8){var _d9=_65("{"+_d7.innerHTML+"}"),_da=[],_db=[],d=new _62();var _dc=(_d8&&_d8.contextRequire)||_59;for(var _dd in _d9){_da.push(_dd);_db.push(_d9[_dd]);}_dc(_db,function(){for(var i=0;i<_da.length;i++){_5b.setObject(_da[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_de,_df){var _e0=new _62(),_e1=_e0.promise;_e0.resolve(true);var _e2=this;_63("script[type='dojo/require']",_de).forEach(function(_e3){_e1=_e1.then(function(){return _e2._require(_e3,_df);});_e3.parentNode.removeChild(_e3);});return _e1;},parse:function(_e4,_e5){var _e6;if(!_e5&&_e4&&_e4.rootNode){_e5=_e4;_e6=_e5.rootNode;}else{if(_e4&&_5b.isObject(_e4)&&!("nodeType" in _e4)){_e5=_e4;}else{_e6=_e4;}}_e6=_e6?dom.byId(_e6):_5e.body();_e5=_e5||{};var _e7=_e5.template?{template:true}:{},_e8=[],_e9=this;var p=this._scanAmd(_e6,_e5).then(function(){return _e9.scan(_e6,_e5);}).then(function(_ea){return _e9._instantiate(_ea,_e7,_e5,true);}).then(function(_eb){return _e8=_e8.concat(_eb);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_5b.mixin(_e8,p);return _e8;}};if(1){_5a.parser=_72;}if(_5d.parseOnLoad){_64(100,_72,"parse");}return _72;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_ec,_ed,_ee,_ef,on,_f0){return _ed("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_f1){var res=[];_ec.forEach(_f1||this.getChildren(),function(_f2){if("value" in _f2){res.push(_f2);}else{res=res.concat(this._getDescendantFormWidgets(_f2.getChildren()));}},this);return res;},reset:function(){_ec.forEach(this._getDescendantFormWidgets(),function(_f3){if(_f3.reset){_f3.reset();}});},validate:function(){var _f4=false;return _ec.every(_ec.map(this._getDescendantFormWidgets(),function(_f5){_f5._hasBeenBlurred=true;var _f6=_f5.disabled||!_f5.validate||_f5.validate();if(!_f6&&!_f4){_f0.scrollIntoView(_f5.containerNode||_f5.domNode);_f5.focus();_f4=true;}return _f6;}),function(_f7){return _f7;});},setValues:function(val){_ee.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_ec.forEach(this._getDescendantFormWidgets(),function(_f8){if(!_f8.name){return;}var _f9=map[_f8.name]||(map[_f8.name]=[]);_f9.push(_f8);});for(var _fa in map){if(!map.hasOwnProperty(_fa)){continue;}var _fb=map[_fa],_fc=_ef.getObject(_fa,false,obj);if(_fc===undefined){continue;}_fc=[].concat(_fc);if(typeof _fb[0].checked=="boolean"){_ec.forEach(_fb,function(w){w.set("value",_ec.indexOf(_fc,w._get("value"))!=-1);});}else{if(_fb[0].multiple){_fb[0].set("value",_fc);}else{_ec.forEach(_fb,function(w,i){w.set("value",_fc[i]);});}}}},getValues:function(){_ee.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_ec.forEach(this._getDescendantFormWidgets(),function(_fd){var _fe=_fd.name;if(!_fe||_fd.disabled){return;}var _ff=_fd.get("value");if(typeof _fd.checked=="boolean"){if(/Radio/.test(_fd.declaredClass)){if(_ff!==false){_ef.setObject(_fe,_ff,obj);}else{_ff=_ef.getObject(_fe,false,obj);if(_ff===undefined){_ef.setObject(_fe,null,obj);}}}else{var ary=_ef.getObject(_fe,false,obj);if(!ary){ary=[];_ef.setObject(_fe,ary,obj);}if(_ff!==false){ary.push(_ff);}}}else{var prev=_ef.getObject(_fe,false,obj);if(typeof prev!="undefined"){if(_ef.isArray(prev)){prev.push(_ff);}else{_ef.setObject(_fe,[prev,_ff],obj);}}else{_ef.setObject(_fe,_ff,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _100=_ec.map(this._descendants,function(w){return w.get("state")||"";});return _ec.indexOf(_100,"Error")>=0?"Error":_ec.indexOf(_100,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_101){this._descendants=this._getDescendantFormWidgets();_ec.forEach(this._descendants,function(_102){if(!_102._started){_102.startup();}});if(!_101){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_103,_104){this.onValidStateChange(_104=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_105,_106,_107){return _105("dijit.form.HorizontalRule",[_106,_107],{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 _108;if(this.count==1){_108=this._genHTML(50,0);}else{var i;var _109=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_108=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_108+=this._genHTML(_109*i,i);}_108+=this._genHTML(100,this.count-1);}else{_108=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_108+=this._genHTML(100-_109*i,i);}_108+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_108;}});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/has","dojo/query","./_FormValueWidget"],function(_10a,_10b,_10c,has,_10d,_10e){var _10f=_10b("dijit.form.MultiSelect"+(has("dojo-bidi")?"_NoBidi":""),_10e,{size:7,baseClass:"dijitMultiSelect",templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_110){_110.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _111=_110.domNode.scrollTop;_110.domNode.scrollTop=0;_110.domNode.scrollTop=_111;},this);this._set("value",this.get("value"));},getSelected:function(){return _10d("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _10a.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_112,_113){_10d("option",this.containerNode).forEach(function(n){n.selected=(_10a.indexOf(_112,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_114){var val=[];_10d("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_114===false||_114==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_10c.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});if(has("dojo-bidi")){_10f=_10b("dijit.form.MultiSelect",_10f,{addSelected:function(_115){_115.getSelected().forEach(function(n){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);},this);this.inherited(arguments);},_setTextDirAttr:function(_116){if((this.textDir!=_116||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_116);_10d("option",this.containerNode).forEach(function(_117){if(!this._created&&_117.value===_117.text){_117.value=_117.text;}_117.text=this.enforceTextDirWithUcc(_117,_117.originalText||_117.text);},this);}}});}return _10f;});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_118,_119){return _118("dijit.form.VerticalRuleLabels",_119,{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/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_11a,_11b,_11c,_11d,lang,on,has,_11e,_11f,_120,_121){var _122=_11a("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_11e,_11f],{templateString:_120,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(has("ie")<9){this.defer(function(){try{var s=_11c.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _123=this.domNode.getElementsByTagName("INPUT");if(_123){for(var i=0;i<_123.length;i++){_123[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_11b.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(evt){evt.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",lang.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(evt){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_124,_125,_126){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_11d.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_127){_11d.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_127);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(has("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")<9){_122.prototype._isTextSelected=function(){var _128=this.ownerDocument.selection.createRange();var _129=_128.parentElement();return _129==this.textbox&&_128.text.length>0;};_121._setSelectionRange=_11f._setSelectionRange=function(_12a,_12b,stop){if(_12a.createTextRange){var r=_12a.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_12b);r.moveEnd("character",stop-_12b);r.select();}};}if(has("dojo-bidi")){_122=_11a("dijit.form.TextBox",_122,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _122;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_12c,_12d,_12e,has,_12f,_130,_131,_132){return _12c("dijit.form.Form",[_12f,_130,_131,_132],{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(_133){_12d.set(this.domNode,"encType",_133);if(has("ie")){this.domNode.encoding=_133;}this._set("encType",_133);},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);e.stopPropagation();e.preventDefault();return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_12e.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){e.stopPropagation();e.preventDefault();}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_134,keys,lang,_135,_136,when,_137){return _134("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_138){return new RegExp("^"+_138.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_139,star,_13a){return star?".*":_13a?".":_139?_139:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;if("type" in evt&&evt.type.substring(0,3)=="key"&&(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT)){return;}var _13b=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_13b=true;break;default:_13b=typeof key=="string"||key==229;}if(_13b){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _13c=this,_135=lang.clone(this.query),_13d={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_136.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_13e=function(){var _13f=_13c._fetchHandle=_13c.store.query(_135,_13d);if(_13c.disabled||_13c.readOnly||(q!==_13c._lastQuery)){return;}when(_13f,function(res){_13c._fetchHandle=null;if(!_13c.disabled&&!_13c.readOnly&&(q===_13c._lastQuery)){when(_13f.total,function(_140){res.total=_140;var _141=_13c.pageSize;if(isNaN(_141)||_141>res.total){_141=res.total;}res.nextPage=function(_142){_13d.direction=_142=_142!==false;_13d.count=_141;if(_142){_13d.start+=res.length;if(_13d.start>=res.total){_13d.count=0;}}else{_13d.start-=_141;if(_13d.start<0){_13d.count=Math.max(_141+_13d.start,0);_13d.start=0;}}if(_13d.count<=0){res.length=0;_13c.onSearch(res,_135,_13d);}else{_13e();}};_13c.onSearch(res,_135,_13d);});}},function(err){_13c._fetchHandle=null;if(!_13c._cancelingQuery){console.error(_13c.declaredClass+" "+err.toString());}});};lang.mixin(_13d,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_135[this.searchAttr]=q;this._queryDeferHandle=this.defer(_13e,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_137.byId(list);}}this.inherited(arguments);}});});},"dijit/form/Slider":function(){define(["dojo/_base/kernel","./HorizontalSlider","./VerticalSlider","./HorizontalRule","./VerticalRule","./HorizontalRuleLabels","./VerticalRuleLabels"],function(_143){_143.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_144,_145,_146){return _144("dijit.form.DateTextBox",_146,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_145,_selector:"date",maxHeight:Infinity,value:new Date("")});});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_147,_148,_149){return _147("dijit.form.ComboBox",[_148,_149],{});});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_14a,_14b,i18n,_14c,_14d,_14e){var _14f;return _14f=_14a("dijit.form.ValidationTextBox",_14c,{templateString:_14e,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_150){if(_150!=_14f.prototype[attr]){_14b.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0");this.set("pattern",_150);}},_setRegExpGenAttr:function(_151){this._deprecateRegExp("regExpGen",_151);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_152){this._deprecateRegExp("regExp",_152);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_153,_154){return (new RegExp("^(?:"+this._computeRegexp(_154)+")"+(this.required?"":"?")+"$")).test(_153)&&(!this.required||!this._isEmpty(_153))&&(this._isEmpty(_153)||this.parse(_153,_154)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_155){return (this.trim?/^\s*$/:/^$/).test(_155);},getErrorMessage:function(){var _156=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _157=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_156:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_157:_156;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_158){var _159="";var _15a=this.disabled||this.isValid(_158);if(_15a){this._maskValidSubsetError=true;}var _15b=this._isEmpty(this.textbox.value);var _15c=!_15a&&_158&&this._isValidSubset();this._set("state",_15a?"":(((((!this._hasBeenBlurred||_158)&&_15b)||_15c)&&(this._maskValidSubsetError||(_15c&&!this._hasBeenBlurred&&_158)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_158&&_15c;_159=this.getErrorMessage(_158);}else{if(this.state=="Incomplete"){_159=this.getPromptMessage(_158);this._maskValidSubsetError=!this._hasBeenBlurred||_158;}else{if(_15b){_159=this.getPromptMessage(_158);}}}this.set("message",_159);return _15a;},displayMessage:function(_15d){if(_15d&&this.focused){_14d.show(_15d,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_14d.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_15e){this.constraints={};this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_15f){if(!_15f.locale&&this.lang){_15f.locale=this.lang;}this._set("constraints",_15f);this._refreshState();},_setPatternAttr:function(_160){this._set("pattern",_160);this._refreshState();},_computeRegexp:function(_161){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_161);}if(p!=this._lastRegExp){var _162="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_162+=re;break;case ")":_162+="|$)";break;default:_162+="(?:"+re+"|$)";break;}});}try{"".search(_162);}catch(e){_162=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_162+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_163){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_164){this._set("required",_164);this.focusNode.setAttribute("aria-required",_164);this._refreshState();},_setMessageAttr:function(_165){this._set("message",_165);this.displayMessage(_165);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_166,_167,lang,_168){return _167("dijit.form.CurrencyTextBox",_168,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:_166.format,_parser:_166.parse,_regExpGenerator:_166.regexp,parse:function(_169,_16a){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_169)){v=lang.hitch(lang.delegate(this,{_parser:_168.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_16b){if(!_16b.currency&&this.currency){_16b.currency=this.currency;}this.inherited(arguments,[_166._mixInDefaults(lang.mixin(_16b,{exponent:false}))]);}});});},"dijit/form/_DateTimeTextBox":function(){define(["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_16c,_16d,_16e,lang,_16f,_170,_171){new Date("X");var _172=_16e("dijit.form._DateTimeTextBox",[_16f,_170],{templateString:_171,hasDownArrow:true,cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},pattern:_16c.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _173=this._isInvalidDate(val1);var _174=this._isInvalidDate(val2);return _173?(_174?0:-1):(_174?1:date.compare(val1,val2,this._selector));},autoWidth:true,format:function(_175,_176){if(!_175){return "";}return this.dateLocaleModule.format(_175,_176);},"parse":function(_177,_178){return this.dateLocaleModule.parse(_177,_178)||(this._isEmpty(_177)?null:undefined);},serialize:function(val,_179){if(val.toGregorian){val=val.toGregorian();}return _16d.toISOString(val,_179);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(_17a){_17a=_17a||{};this.dateModule=_17a.datePackage?lang.getObject(_17a.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_17a.datePackage?lang.getObject(_17a.datePackage+".locale",false):_16c;this._set("pattern",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.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_17b){_17b.selector=this._selector;_17b.fullYear=true;var _17c=_16d.fromISOString;if(typeof _17b.min=="string"){_17b.min=_17c(_17b.min);}if(typeof _17b.max=="string"){_17b.max=_17c(_17b.max);}this.inherited(arguments);},_isInvalidDate:function(_17d){return !_17d||isNaN(_17d)||typeof _17d!="object"||_17d.toString()==this._invalidDate;},_setValueAttr:function(_17e,_17f,_180){if(_17e!==undefined){if(typeof _17e=="string"){_17e=_16d.fromISOString(_17e);}if(this._isInvalidDate(_17e)){_17e=null;}if(_17e instanceof Date&&!(this.dateClassObj instanceof Date)){_17e=new this.dateClassObj(_17e);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_17e,false);}},_set:function(attr,_181){var _182=this._get("value");if(attr=="value"&&_182 instanceof Date&&this.compare(_181,_182)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this._set("dropDownDefaultValue",val);},openDropDown:function(_183){if(this.dropDown){this.dropDown.destroy();}var _184=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_185=this,_186=this.get("value");this.dropDown=new _184({onChange:function(_187){_185.set("value",_187,true);},id:this.id+"_popup",dir:_185.dir,lang:_185.lang,value:_186,textDir:_185.textDir,currentFocus:!this._isInvalidDate(_186)?_186:this.dropDownDefaultValue,constraints:_185.constraints,filterString:_185.filterString,datePackage:_185.datePackage,isDisabledDate:function(date){return !_185.rangeCheck(date,_185.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_188,_189){this._setValueAttr(this.parse(_188,this.constraints),_189,_188);}});return _172;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_18a,lang,when){var _18b=function(_18c){if(!_18c){return _18c;}var _18d=!!_18c.then;if(_18d){_18c=lang.delegate(_18c);}function _18e(_18f){_18c[_18f]=function(){var args=arguments;var _190=when(_18c,function(_191){Array.prototype.unshift.call(args,_191);return _18b(_18a[_18f].apply(_18a,args));});if(_18f!=="forEach"||_18d){return _190;}};};_18e("forEach");_18e("filter");_18e("map");if(_18c.total==null){_18c.total=when(_18c,function(_192){return _192.length;});}return _18c;};lang.setObject("dojo.store.util.QueryResults",_18b);return _18b;});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_193,_194,_195,_196){return _193("dijit.form.Textarea",[_196,_195],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_194.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/query","dojo/mouse","dojo/on","./_WidgetBase","./form/_ListMouseMixin"],function(_197,_198,_199,_19a,_19b,_19c,_19d,_19e,keys,lang,has,_19f,_1a0,on,_1a1,_1a2){var _1a3=_19b("dijit._TimePicker",[_1a1,_1a2],{baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_19a.toISOString,buildRendering:function(){this.inherited(arguments);this.containerNode=this.domNode;this.timeMenu=this.domNode;},setValue:function(_1a4){_19e.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_1a4);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_1a5,_1a6,_1a7,_1a8){var _1a9=[];for(var i=0;i<this._maxIncrement;i++){var n=this._createOption(i);if(n){_1a9.push(n);}}return _1a9;},_showText:function(){var _1aa=_19a.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=_1aa(this.clickableIncrement);this._visibleIncrementDate=_1aa(this.visibleIncrement);var _1ab=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_1ac=_1ab(this._clickableIncrementDate),_1ad=_1ab(this._visibleIncrementDate),time=(this.value||this.currentFocus).getTime();this._refDate=_1aa("T00:00:00");this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=_1ad/_1ac;this._maxIncrement=(60*60*24)/_1ac;var _1ae=this._getFilteredNodes();_197.forEach(_1ae,function(n){this.domNode.appendChild(n);},this);if(!_1ae.length&&this.filterString){this.filterString="";this._showText();}},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_1af){for(var key in {clickableIncrement:1,visibleIncrement:1}){if(key in _1af){this[key]=_1af[key];}}if(!_1af.locale){_1af.locale=this.lang;}},_createOption:function(_1b0){var date=new Date(this._refDate);var _1b1=this._clickableIncrementDate;date.setHours(date.getHours()+_1b1.getHours()*_1b0,date.getMinutes()+_1b1.getMinutes()*_1b0,date.getSeconds()+_1b1.getSeconds()*_1b0);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _1b2=_199.format(date,this.constraints);if(this.filterString&&_1b2.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=this.ownerDocument.createElement("div");div.className=this.baseClass+"Item";div.date=date;div.idx=_1b0;_19d.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_1b2},div);if(_1b0%this._visibleIncrement<1&&_1b0%this._visibleIncrement>-1){_19c.add(div,this.baseClass+"Marker");}else{if(!(_1b0%this._clickableIncrement)){_19c.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_19c.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_198.compare(this.value,date,this.constraints.selector)){div.selected=true;_19c.add(div,this.baseClass+"ItemSelected");this._selectedDiv=div;if(_19c.contains(div,this.baseClass+"Marker")){_19c.add(div,this.baseClass+"MarkerSelected");}else{_19c.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},onOpen:function(){this.inherited(arguments);this.set("selected",this._selectedDiv);},_onOptionSelected:function(tgt){var _1b3=tgt.target.date||tgt.target.parentNode.date;if(!_1b3||this.isDisabledDate(_1b3)){return;}this._highlighted_option=null;this.set("value",_1b3);this.onChange(_1b3);},onChange:function(){},_highlightOption:function(node,_1b4){if(!node){return;}if(_1b4){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;}}_19c.toggle(node,this.baseClass+"ItemHover",_1b4);if(_19c.contains(node,this.baseClass+"Marker")){_19c.toggle(node,this.baseClass+"MarkerHover",_1b4);}else{_19c.toggle(node,this.baseClass+"TickHover",_1b4);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW){this.selectNextNode();e.stopPropagation();e.preventDefault();return false;}else{if(e.keyCode==keys.UP_ARROW){this.selectPreviousNode();e.stopPropagation();e.preventDefault();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;},onHover:function(node){this._highlightOption(node,true);},onUnhover:function(node){this._highlightOption(node,false);},onSelect:function(node){this._highlightOption(node,true);},onDeselect:function(node){this._highlightOption(node,false);},onClick:function(node){this._onOptionSelected({target:node});}});return _1a3;});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_1b5,_1b6,_1b7,has,_1b8,lang,_1b9,_1ba,_1bb,_1bc){if(has("dijit-legacy-requires")){_1b9(0,function(){var _1bd=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_1b5(_1bd);});}var _1be=_1b6("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_1ba,_1bb],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_1bc,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},_fillContent:function(_1bf){if(_1bf&&(!this.params||!("label" in this.params))){var _1c0=lang.trim(_1bf.innerHTML);if(_1c0){this.label=_1c0;}}},_setShowLabelAttr:function(val){if(this.containerNode){_1b7.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_1c1){_1b8.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_1c1);},_setLabelAttr:function(_1c2){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_1be=_1b6("dijit.form.Button",_1be,{_setLabelAttr:function(_1c3){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_1c4){if(this._created&&this.textDir!=_1c4){this._set("textDir",_1c4);this._setLabelAttr(this.label);}}});}return _1be;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_1c5,on,_1c6,_1c7){return _1c5("dijit.form._ListMouseMixin",_1c7,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_1c8){this._setSelectedAttr(_1c8,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_1c8);});},_onMouseDown:function(evt,_1c9){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_1c9,false);},_onMouseUp:function(evt,_1ca){this._isDragging=false;var _1cb=this.selected;var _1cc=this._hoveredNode;if(_1cb&&_1ca==_1cb){this.defer(function(){this._onClick(evt,_1cb);});}else{if(_1cc){this.defer(function(){this._onClick(evt,_1cc);});}}},_onMouseOut:function(evt,_1cd){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_1ce){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_1ce;this.onHover(_1ce);if(this._isDragging){this._setSelectedAttr(_1ce,false);}}});});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/_base/window","../Viewport"],function(_1cf,_1d0,has,lang,on,win,_1d1){has.add("textarea-needs-help-shrinking",function(){var body=win.body(),te=_1d0.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"}},body,"last");var _1d2=te.scrollHeight>=te.clientHeight;body.removeChild(te);return _1d2;});return _1cf("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _1d3=this.textbox;_1d3.style.overflowY="hidden";this.own(on(_1d3,"focus, resize",lang.hitch(this,"_resizeLater")));},startup:function(){this.inherited(arguments);this.own(_1d1.on("resize",lang.hitch(this,"_resizeLater")));this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _1d4=this.textbox;_1d4.rows=(_1d4.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _1d5=this.textbox;function _1d6(){var _1d7=false;if(_1d5.value===""){_1d5.value=" ";_1d7=true;}var sh=_1d5.scrollHeight;if(_1d7){_1d5.value="";}return sh;};if(_1d5.style.overflowY=="hidden"){_1d5.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_1d6()||_1d5.offsetHeight){var newH=_1d6()+Math.max(_1d5.offsetHeight-_1d5.clientHeight,0);var _1d8=newH+"px";if(_1d8!=_1d5.style.height){_1d5.style.height=_1d8;_1d5.rows=1;}if(has("textarea-needs-help-shrinking")){var _1d9=_1d6(),_1da=_1d9,_1db=_1d5.style.minHeight,_1dc=4,_1dd,_1de=_1d5.scrollTop;_1d5.style.minHeight=_1d8;_1d5.style.height="auto";while(newH>0){_1d5.style.minHeight=Math.max(newH-_1dc,4)+"px";_1dd=_1d6();var _1df=_1da-_1dd;newH-=_1df;if(_1df<_1dc){break;}_1da=_1dd;_1dc<<=1;}_1d5.style.height=newH+"px";_1d5.style.minHeight=_1db;_1d5.scrollTop=_1de;}_1d5.style.overflowY=_1d6()>_1d5.clientHeight?"auto":"hidden";if(_1d5.style.overflowY=="hidden"){_1d5.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_1e0,_1e1,_1e2){return _1e0("dijit.form.RadioButton",[_1e1,_1e2],{baseClass:"dijitRadio"});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_1e3,_1e4,_1e5,keys,lang,_1e6,_1e7,has,_1e8,_1e9,_1ea){var _1eb=_1e4("dijit.form._AutoCompleterMixin",_1ea,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_1ec){var pos=0;if(typeof (_1ec.selectionStart)=="number"){pos=_1ec.selectionStart;}else{if(has("ie")){var tr=_1ec.ownerDocument.selection.createRange().duplicate();var ntr=_1ec.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(_1ed,_1ee){_1ee=parseInt(_1ee);_1e9.selectInputText(_1ed,_1ee,_1ee);},_setDisabledAttr:function(_1ef){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_1ef?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _1f0=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_1f0=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_1f0);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_1f0){if(_1f0==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_1f0==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _1f1=this.get("displayedValue");if(pw&&(_1f1==pw._messages["previousMessage"]||_1f1==pw._messages["nextMessage"])){break;}if(_1f0){this._selectOption(_1f0);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_1e9.selectInputText(fn,fn.value.length);var _1f2=this.ignoreCase?"toLowerCase":"substr";if(text[_1f2](0).indexOf(this.focusNode.value[_1f2](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_1e9.selectInputText(fn,cpos);}}else{fn.value=text;_1e9.selectInputText(fn);}},_openResultList:function(_1f3,_1f4,_1f5){var _1f6=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_1f3.length&&_1f5.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_1f7){_1f3.nextPage(_1f7!==-1);this.focus();});this.dropDown.createOptions(_1f3,_1f5,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _1f5){if(_1f5.direction){this.dropDown.highlightFirstOption();}else{if(!_1f5.direction){this.dropDown.highlightLastOption();}}if(_1f6){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_1f4[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");}},_setBlurValue:function(){var _1f8=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_1f8==pw._messages["previousMessage"]||_1f8==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_1f8);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_1f9,_1fa){var _1fb="";if(item){if(!_1fa){_1fa=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_1fb=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_1fa;}this.set("value",_1fb,_1f9,_1fa,item);},_announceOption:function(node){if(!node){return;}var _1fc;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_1fc=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_1fc=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_1fc);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_1e5.get(node,"id"));this._autoCompleteText(_1fc);},_selectOption:function(_1fd){this.closeDropDown();if(_1fd){this._announceOption(_1fd);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _1fe=this.id+"_popup",_1ff=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _1ff({onChange:lang.hitch(this,this._selectOption),id:_1fe,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _200=this.srcNodeRef;this.store=new _1e8({},_200);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _201=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_201):item[_201];}}}},postCreate:function(){var _202=_1e6("label[for=\""+this.id+"\"]");if(_202.length){if(!_202[0].id){_202[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_202[0].id);}this.inherited(arguments);_1e3.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _203=this.labelFunc(item,this.store),_204=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_203=this.doHighlight(_203,this._lastInput);_204="html";}return {html:_204=="html",label:_203};},doHighlight:function(_205,find){var _206=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_1e7.escapeString(find);return this._escapeHtml(_205.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_206),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<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,_207){return (_207._oldAPI?_207.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_208,_209,_20a,item){this._set("item",item||null);if(_208==null){_208="";}this.inherited(arguments);}});if(has("dojo-bidi")){_1eb.extend({_setTextDirAttr:function(_20b){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_20b);}}});}return _1eb;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_20c,lang,_20d,_20e,_20f,_210,_211,_212,_213){return _20c("dijit.form.DropDownButton",[_210,_211,_212],{baseClass:"dijitDropDownButton",templateString:_213,_fillContent:function(){if(this.srcNodeRef){var _214=_20d("*",this.srcNodeRef);this.inherited(arguments,[_214[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _215=_20d("[widgetId]",this.dropDownContainer)[0];if(_215){this.dropDown=_20e.byNode(_215);}delete this.dropDownContainer;}if(this.dropDown){_20f.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _216=this.dropDown;return (!!_216&&(!_216.href||_216.isLoaded));},loadDropDown:function(_217){var _218=this.dropDown;var _219=_218.on("load",lang.hitch(this,function(){_219.remove();_217();}));_218.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_21a,_21b,_21c){return _21a("dijit.form.VerticalSlider",_21b,{templateString:_21c,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_21d,_21e,_21f,has,_220,_221,_222,_223,_224){if(has("dijit-legacy-requires")){_221(0,function(){var _225=["dijit/form/RadioButton"];_21d(_225);});}return _21e("dijit.form.CheckBox",[_222,_223],{templateString:_224,baseClass:"dijitCheckBox",_setValueAttr:function(_226,_227){if(typeof _226=="string"){this.inherited(arguments);_226=true;}if(this._created){this.set("checked",_226,_227);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_220("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_220("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_228,_229,_22a,_22b,_22c,i18n,lang,on,has,_22d,_22e,_22f,_230,_231,_232,_233,_234,_235){var _236=_229("dijit.form._SelectMenu",_22f,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _237=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_228.forEach(this.parentWidget._getChildren(),function(_238){if(_238.option&&(val===_238.option.value)){_237=true;this.focusChild(_238,false);}},this);}if(!_237){this.inherited(arguments);}}});var _239=_229("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_22d,_22e,_233],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_235,_buttonInputDisabled:has("ie")?"disabled":"",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._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _236({id:this.id+"_menu",parentWidget:this});_22b.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_23a){if(!_23a.value&&!_23a.label){return new _231({ownerDocument:this.ownerDocument});}else{var _23b=lang.hitch(this,"_setValueAttr",_23a);var item=new _230({option:_23a,label:_23a.label||this.emptyLabel,onClick:_23b,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_23a.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_23c){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_23c));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},focusChild:function(_23d){if(_23d){this.set("value",_23d.option);}},_getFirst:function(){var _23e=this._getChildren();return _23e.length?_23e[0]:null;},_getLast:function(){var _23f=this._getChildren();return _23f.length?_23f[_23f.length-1]:null;},childSelector:function(node){var node=_234.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_240,_241){if(item){this.focusChild(item);}},_loadChildren:function(_242){if(_242===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_228.forEach(this._getChildren(),function(_243){_243.destroyRecursive();});var item=new _230({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_244){this.inherited(arguments);_22a.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_245){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_246){this._set("required",_246);this.focusNode.setAttribute("aria-required",_246);this._refreshState();},_setOptionsAttr:function(_247){this._isLoaded=false;this._set("options",_247);},_setDisplay:function(_248){var lbl=_248||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_249){var _24a=this.disabled||this.isValid(_249);this._set("state",_24a?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_24a?"false":"true");var _24b=_24a?"":this._missingMsg;if(_24b&&this.focused&&this._hasBeenBlurred){_232.show(_24b,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_232.hide(this.domNode);}this._set("message",_24b);return _24a;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_232.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");},_setStyleAttr:function(_24c){this.inherited(arguments);_22b.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_24d){this._loadChildren(true);this._isLoaded=true;_24d();},destroy:function(_24e){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_24e);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_232.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_239=_229("dijit.form.Select",_239,{_setDisplay:function(_24f){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_239._Menu=_236;function _250(_251){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_251,evt));}else{this.inherited(_251,arguments);}};};_239.prototype._onContainerKeydown=_250("_onContainerKeydown");_239.prototype._onContainerKeypress=_250("_onContainerKeypress");return _239;});},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_252,_253){return _252("dijit.form.VerticalRule",_253,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_254,lang,_255,_256){var _257=_254("dijit.form.NumberTextBoxMixin",null,{pattern:function(_258){return "("+(this.focused&&this.editOptions?this._regExpGenerator(lang.delegate(_258,this.editOptions))+"|":"")+this._regExpGenerator(_258)+")";},value:NaN,editOptions:{pattern:"#.######"},_formatter:_255.format,_regExpGenerator:_255.regexp,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_259){var _25a=typeof _259.places=="number"?_259.places:0;if(_25a){_25a++;}if(typeof _259.max!="number"){_259.max=9*Math.pow(10,15-_25a);}if(typeof _259.min!="number"){_259.min=-9*Math.pow(10,15-_25a);}this.inherited(arguments,[_259]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled||this.readOnly){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _25b=this.format(val,this.constraints);if(_25b!==undefined){this.textbox.value=_25b;}}this.inherited(arguments);},format:function(_25c,_25d){var _25e=String(_25c);if(typeof _25c!="number"){return _25e;}if(isNaN(_25c)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_25c,_25d))&&_25d.exponent!==false&&/\de[-+]?\d/i.test(_25e)){return _25e;}if(this.editOptions&&this.focused){_25d=lang.mixin({},_25d,this.editOptions);}return this._formatter(_25c,_25d);},_parser:_255.parse,parse:function(_25f,_260){var v=this._parser(_25f,lang.mixin({},_260,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_25f,_260);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_261){return (_261==null||_261==="")?NaN:this.inherited(arguments);},serialize:function(_262,_263){return (typeof _262!="number"||isNaN(_262))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.delegate(this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_264,_265,_266){if(_264!==undefined&&_266===undefined){_266=String(_264);if(typeof _264=="number"){if(isNaN(_264)){_266="";}else{if(("rangeCheck" in this&&this.rangeCheck(_264,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_266)){_266=undefined;}}}else{if(!_264){_266="";_264=NaN;}else{_264=undefined;}}}this.inherited(arguments,[_264,_265,_266]);},_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("^"+_255._realNumberRegexp(lang.delegate(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(_267){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 _268=_254("dijit.form.NumberTextBox",[_256,_257],{baseClass:"dijitTextBox dijitNumberTextBox"});_268.Mixin=_257;return _268;});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_269,_26a){return _269("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_26b){this._set("readOnly",_26b);_26a.set(this.focusNode,"readOnly",_26b);},_setLabelAttr:undefined,_getSubmitValue:function(_26c){return (_26c==null||_26c==="")?"on":_26c;},_setValueAttr:function(_26d){_26d=this._getSubmitValue(_26d);this._set("value",_26d);_26a.set(this.focusNode,"value",_26d);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_26a.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_26e,_26f){return _26e("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _270=this.checked;this._set("checked",!_270);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_270);return ret;},_setCheckedAttr:function(_271,_272){this._set("checked",_271);var node=this.focusNode||this.domNode;if(this._created){if(_26f.get(node,"checked")!=!!_271){_26f.set(node,"checked",!!_271);}}node.setAttribute(this._aria_attr,String(_271));this._handleOnChange(_271,_272);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_273,on,_274){return _273("dijit.form._ListBase",null,{selected:null,_listConnect:function(_275,_276){var self=this;return self.own(on(self.containerNode,on.selector(function(_277,_278,_279){return _277.parentNode==_279;},_275),function(evt){self[_276](evt,this);}));},selectFirstNode:function(){var _27a=this.containerNode.firstChild;while(_27a&&_27a.style.display=="none"){_27a=_27a.nextSibling;}this._setSelectedAttr(_27a,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _27b=this.selected;if(!_27b){this.selectFirstNode();}else{var next=_27b.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _27c=this.selected;if(!_27c){this.selectLastNode();}else{var prev=_27c.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_27d){if(this.selected!=node){var _27e=this.selected;if(_27e){this.onDeselect(_27e);}if(node){if(_27d){_274.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/has","dojo/number","dojo/query","dojo/_base/lang","./HorizontalRule"],function(_27f,has,_280,_281,lang,_282){var _283=_27f("dijit.form.HorizontalRuleLabels",_282,{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){var _284=this.labels[ndx];return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._genDirectionHTML(_284)+this._labelPrefix+_284+this._suffix;},_genDirectionHTML:function(_285){return "";},getLabels:function(){var _286=this.labels;if(!_286.length&&this.srcNodeRef){_286=_281("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}if(!_286.length&&this.count>1){var _287=this.minimum;var inc=(this.maximum-_287)/(this.count-1);for(var i=0;i<this.count;i++){_286.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_280.format(_287,this.constraints));_287+=inc;}}return _286;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});if(has("dojo-bidi")){_283.extend({_setTextDirAttr:function(_288){if(this.textDir!=_288){this._set("textDir",_288);_281(".dijitRuleLabelContainer",this.domNode).forEach(lang.hitch(this,function(_289){_289.style.direction=this.getTextDir(_289.innerText||_289.textContent||"");}));}},_genDirectionHTML:function(_28a){return (this.textDir?("direction:"+this.getTextDir(_28a)+";"):"");}});}return _283;});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_28b,_28c,_28d){var base=null;return _28b("dojo.store.Memory",base,{constructor:function(_28e){for(var i in _28e){this[i]=_28e[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_28d,get:function(id){return this.data[this.index[id]];},getIdentity:function(_28f){return _28f[this.idProperty];},put:function(_290,_291){var data=this.data,_292=this.index,_293=this.idProperty;var id=_290[_293]=(_291&&"id" in _291)?_291.id:_293 in _290?_290[_293]:Math.random();if(id in _292){if(_291&&_291.overwrite===false){throw new Error("Object already exists");}data[_292[id]]=_290;}else{_292[id]=data.push(_290)-1;}return id;},add:function(_294,_295){(_295=_295||{}).overwrite=false;return this.put(_294,_295);},remove:function(id){var _296=this.index;var data=this.data;if(id in _296){data.splice(_296[id],1);this.setData(data);return true;}},query:function(_297,_298){return _28c(this.queryEngine(_297,_298)(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;}}});});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_299,_29a,_29b,_29c,_29d,_29e,_29f,_2a0,i18n,_2a1,keys,lang,on,has,when,_2a2,fm,_2a3,_2a4,_2a5,_2a6,_2a7,_2a8,_2a9,_2aa){var _2ab=_29c("dijit._InlineEditor",[_2a3,_2a4,_2a5],{templateString:_2aa,contextRequire:_299,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_29a.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)||_299(this.editor)):this.editor;var _2ac=this.sourceStyle,_2ad="line-height:"+_2ac.lineHeight+";",_2ae=_2a0.getComputedStyle(this.domNode);_29a.forEach(["Weight","Family","Size","Style"],function(prop){var _2af=_2ac["font"+prop],_2b0=_2ae["font"+prop];if(_2b0!=_2af){_2ad+="font-"+prop+":"+_2ac["font"+prop]+";";}},this);_29a.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_2ac[prop];},this);var _2b1=this.inlineEditBox.width;if(_2b1=="100%"){_2ad+="width:100%;";this.domNode.style.display="block";}else{_2ad+="width:"+(_2b1+(Number(_2b1)==_2b1?"px":""))+";";}var _2b2=lang.delegate(this.inlineEditBox.editorParams,{style:_2ad,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_2b2,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_29f.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_29b.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_29b.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_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||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();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();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_2a8.selectInputText(this.editWidget.focusNode);});}}}});var _2b3=_29c("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_2a3,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_2a9,editorWrapper:_2ab,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;this.own(on(this.displayNode,_2a2,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));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;}_29e.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_2b4){_2a1.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_2b4);},_setDisabledAttr:function(_2b5){this.domNode.setAttribute("aria-disabled",_2b5?"true":"false");if(_2b5){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_29e.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_2b5);this._set("disabled",_2b5);},_onMouseOver:function(){if(!this.disabled){_29e.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_29e.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_29d.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _2b6=_29f.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:_2a0.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_2b6);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_29e.add(this.displayNode,"dijitOffScreen");_29e.remove(ww.domNode,"dijitOffScreen");_2a0.set(ww.domNode,{visibility:"visible"});_29d.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_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(_2b7){var ww=this.wrapperWidget;_2a0.set(ww.domNode,{visibility:"hidden"});_29e.add(ww.domNode,"dijitOffScreen");_29e.remove(this.displayNode,"dijitOffScreen");_29d.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_2b7){fm.focus(this.displayNode);}},save:function(_2b8){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _2b9=ww.getValue();this.set("value",_2b9);this._showText(_2b8);},setValue:function(val){_2a1.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 _2ba=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_2ba||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_2a1.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_2bb){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_2bb);}});if(has("dojo-bidi")){_2b3=_29c("dijit.InlineEditBox",_2b3,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_2b3._InlineEditor=_2ab;return _2b3;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_2bc,dom,lang,_2bd,_2be,_2bf){function _2c0(_2c1){return {id:_2c1.value,value:_2c1.value,name:lang.trim(_2c1.innerText||_2c1.textContent||"")};};return _2bc("dijit.form.DataList",_2be,{constructor:function(_2c2,_2c3){this.domNode=dom.byId(_2c3);lang.mixin(this,_2c2);if(this.id){_2bf.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_2bd("option",this.domNode).map(_2c0)}]);},destroy:function(){_2bf.remove(this.id);},fetchSelectedItem:function(){var _2c4=_2bd("> option[selected]",this.domNode)[0]||_2bd("> option",this.domNode)[0];return _2c4&&_2c0(_2c4);}});});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_2c5,has,_2c6,_2c7){return _2c5("dijit.form.MappedTextBox",_2c7,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",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=_2c6.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/mouse","dojo/on","../typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_2c8,keys,lang,has,_2c9,on,_2ca,_2cb,_2cc,_2cd){return _2c8("dijit.form._Spinner",_2cb,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_2cc,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_2ce,_2cf,_2d0){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_2cf*_2d0),false);_2cd.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_2d1,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.keyCode;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(_2d1==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){evt.stopPropagation();evt.preventDefault();var _2d2=evt.wheelDelta/120;if(Math.floor(_2d2)!=_2d2){_2d2=evt.wheelDelta>0?1:-1;}var _2d3=evt.detail?(evt.detail*-1):_2d2;if(_2d3!==0){var node=this[(_2d3>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_2d3,this.smallDelta);if(this._wheelTimer){this._wheelTimer.remove();}this._wheelTimer=this.defer(function(){this._arrowReleased(node);},50);}},_setConstraintsAttr:function(_2d4){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(_2d5,_2d6){this.focusNode.setAttribute("aria-valuenow",_2d5);this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_2c9.wheel,lang.hitch(this,"_mouseWheeled")),_2ca.addListener(this.upArrowNode,this.textbox,{keyCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_2ca.addListener(this.downArrowNode,this.textbox,{keyCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_2ca.addListener(this.upArrowNode,this.textbox,{keyCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_2ca.addListener(this.downArrowNode,this.textbox,{keyCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_2d7,dom,has,_2d8){var _2d9=_2d7("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _2da=e.defaultPrevented;if(!_2da&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _2db=_2d8.byNode(node);if(_2db&&typeof _2db._onSubmit=="function"){_2db._onSubmit(e);e.preventDefault();_2da=true;break;}}}return !_2da;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_2dc){this._set("label",_2dc);var _2dd=this.containerNode||this.focusNode;_2dd.innerHTML=_2dc;}});if(has("dojo-bidi")){_2d9=_2d7("dijit.form._ButtonMixin",_2d9,{_setLabelAttr:function(){this.inherited(arguments);var _2de=this.containerNode||this.focusNode;this.applyTextDir(_2de);}});}return _2d9;});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(_2df,keys,_2e0,_2e1){return _2df("dijit.form.NumberSpinner",[_2e0,_2e1.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(val,_2e2){var tc=this.constraints,v=isNaN(val),_2e3=!isNaN(tc.max),_2e4=!isNaN(tc.min);if(v&&_2e2!=0){val=(_2e2>0)?_2e4?tc.min:_2e3?tc.max:0:_2e3?this.constraints.max:_2e4?tc.min:0;}var _2e5=val+_2e2;if(v||isNaN(_2e5)){return val;}if(_2e3&&(_2e5>tc.max)){_2e5=tc.max;}if(_2e4&&(_2e5<tc.min)){_2e5=tc.min;}return _2e5;},_onKeyDown:function(e){if(this.disabled||this.readOnly){return;}if((e.keyCode==keys.HOME||e.keyCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _2e6=this.constraints[(e.keyCode==keys.HOME?"min":"max")];if(typeof _2e6=="number"){this._setValueAttr(_2e6,false);}e.stopPropagation();e.preventDefault();}}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_2e7,lang,when,_2e8,_2e9){return _2e7("dijit.form.FilteringSelect",[_2e8,_2e9],{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(_2ea,_2eb,_2ec,_2ed){if((_2eb&&_2eb[this.searchAttr]!==this._lastQuery)||(!_2eb&&_2ea.length&&this.store.getIdentity(_2ea[0])!=this._lastQuery)){return;}if(!_2ea.length){this.set("value","",_2ed||(_2ed===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_2ea[0],_2ed);}},_openResultList:function(_2ee,_2ef,_2f0){if(_2ef[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(_2f1,_2f2,_2f3,item){if(!this._onChangeActive){_2f2=null;}if(item===undefined){if(_2f1===null||_2f1===""){_2f1="";if(!lang.isString(_2f3)){this._setDisplayedValueAttr(_2f3||"",_2f2);return;}}var self=this;this._lastQuery=_2f1;when(this.store.get(_2f1),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_2f2);});}else{this.valueNode.value=_2f1;this.inherited(arguments);}},_setItemAttr:function(item,_2f4,_2f5){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_2f6,_2f7){if(_2f6==null){_2f6="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_2f7=false;}if(this.store){this.closeDropDown();var _2f8=lang.clone(this.query);var qs=this._getDisplayQueryString(_2f6),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_2f8[this.searchAttr]=q;this.textbox.value=_2f6;this._lastDisplayedValue=_2f6;this._set("displayedValue",_2f6);var _2f9=this;var _2fa={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_2fa,this.fetchProperties);this._fetchHandle=this.store.query(_2f8,_2fa);when(this._fetchHandle,function(_2fb){_2f9._fetchHandle=null;_2f9._callbackSetLabel(_2fb||[],_2f8,_2fa,_2f7);},function(err){_2f9._fetchHandle=null;if(!_2f9._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_2fc,_2fd,has,_2fe){return _2fc("dijit.form.SimpleTextarea",_2fe,{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){_2fd.add(this.textbox,"dijitTextAreaCols");}},filter:function(_2ff){if(_2ff){_2ff=_2ff.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _300=parseInt(this.maxLength);var _301=this.textbox.value.replace(/\r/g,"");var _302=_301.length-_300;if(_302>0){var _303=this.textbox;if(_303.selectionStart){var pos=_303.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_301.substring(0,pos-_302-cr)+_301.substring(pos-cr);_303.setSelectionRange(pos-_302,pos-_302);}else{if(this.ownerDocument.selection){_303.focus();var _304=this.ownerDocument.selection.createRange();_304.moveStart("character",-_302);_304.text="";_304.select();}}}}this.inherited(arguments);}});});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_305,_306,when){"use strict";var some=_305.some;return function all(_307){var _308,_305;if(_307 instanceof Array){_305=_307;}else{if(_307&&typeof _307==="object"){_308=_307;}}var _309;var _30a=[];if(_308){_305=[];for(var key in _308){if(Object.hasOwnProperty.call(_308,key)){_30a.push(key);_305.push(_308[key]);}}_309={};}else{if(_305){_309=[];}}if(!_305||!_305.length){return new _306().resolve(_309);}var _30b=new _306();_30b.promise.always(function(){_309=_30a=null;});var _30c=_305.length;some(_305,function(_30d,_30e){if(!_308){_30a.push(_30e);}when(_30d,function(_30f){if(!_30b.isFulfilled()){_309[_30a[_30e]]=_30f;if(--_30c===0){_30b.resolve(_309);}}},_30b.reject);return _30b.isFulfilled();});return _30b.promise;};});},"dijit/form/TimeTextBox":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_310,keys,lang,_311,_312){return _310("dijit.form.TimeTextBox",_312,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_311,_selector:"time",value:new Date(""),maxHeight:-1,_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:this.defer(function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();});}}});});},"dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","dojo/mouse","dojo/on","../_base/manager","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_313,_314,move,fx,_315,_316,keys,lang,has,_317,_318,_319,_31a,on,_31b,_31c,_31d,_31e,_31f,_320,_321){var _322=_314("dijit.form._SliderMover",_318,{onMouseMove:function(e){var _323=this.widget;var _324=_323._abspos;if(!_324){_324=_323._abspos=_315.position(_323.sliderBarContainer,true);_323._setPixelValue_=lang.hitch(_323,"_setPixelValue");_323._isReversed_=_323._isReversed();}var _325=e[_323._mousePixelCoord]-_324[_323._startingPixelCoord];_323._setPixelValue_(_323._isReversed_?(_324[_323._pixelCount]-_325):_325,_324[_323._pixelCount],false);},destroy:function(e){_318.prototype.destroy.apply(this,arguments);var _326=this.widget;_326._abspos=null;_326._setValueAttr(_326.value,true);}});var _327=_314("dijit.form.HorizontalSlider",[_31f,_320],{templateString:_321,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_31b.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",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);},_onKeyDown:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.keyCode){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;}e.stopPropagation();e.preventDefault();},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_31c.focus(this.sliderHandle);}e.stopPropagation();e.preventDefault();},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_31c.focus(this.sliderHandle);e.stopPropagation();e.preventDefault();var _328=_315.position(this.sliderBarContainer,true);var _329=e[this._mousePixelCoord]-_328[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_328[this._pixelCount]-_329):_329,_328[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_32a,_32b,_32c){if(this.disabled||this.readOnly){return;}var _32d=this.discreteValues;if(_32d<=1||_32d==Infinity){_32d=_32b;}_32d--;var _32e=_32b/_32d;var _32f=Math.round(_32a/_32e);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_32f/_32d+this.minimum,this.maximum),this.minimum),_32c);},_setValueAttr:function(_330,_331){this._set("value",_330);this.valueNode.value=_330;this.focusNode.setAttribute("aria-valuenow",_330);this.inherited(arguments);var _332=(_330-this.minimum)/(this.maximum-this.minimum);var _333=(this._descending===false)?this.remainingBar:this.progressBar;var _334=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_331&&this.slideDuration>0&&_333.style[this._progressPixelSize]){var _335=this;var _336={};var _337=parseFloat(_333.style[this._progressPixelSize]);var _338=this.slideDuration*(_332-_337/100);if(_338==0){return;}if(_338<0){_338=0-_338;}_336[this._progressPixelSize]={start:_337,end:_332*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_333,duration:_338,onAnimate:function(v){_334.style[_335._progressPixelSize]=(100-parseFloat(v[_335._progressPixelSize]))+"%";},onEnd:function(){delete _335._inProgressAnim;},properties:_336});this._inProgressAnim.play();}else{_333.style[this._progressPixelSize]=(_332*100)+"%";_334.style[this._progressPixelSize]=((1-_332)*100)+"%";}},_bumpValue:function(_339,_33a){if(this.disabled||this.readOnly){return;}var s=_316.getComputedStyle(this.sliderBarContainer);var c=_315.getContentBox(this.sliderBarContainer,s);var _33b=this.discreteValues;if(_33b<=1||_33b==Infinity){_33b=c[this._pixelCount];}_33b--;var _33c=(this.value-this.minimum)*_33b/(this.maximum-this.minimum)+_339;if(_33c<0){_33c=0;}if(_33c>_33b){_33c=_33b;}_33c=_33c*(this.maximum-this.minimum)/_33b+this.minimum;this._setValueAttr(_33c,_33a);},_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.keyCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.keyCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){evt.stopPropagation();evt.preventDefault();this._bumpValue(evt.wheelDelta<0?-1:1,true);},startup:function(){if(this._started){return;}_313.forEach(this.getChildren(),function(_33d){if(this[_33d.container]!=this.containerNode){this[_33d.container].appendChild(_33d.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_33e,_33f,e){if(_33e==-1){this._setValueAttr(this.value,true);}else{this[(_33f==(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 _340=_319("label[for=\""+this.id+"\"]");if(_340.length){if(!_340[0].id){_340[0].id=this.id+"_label";}this.focusNode.setAttribute("aria-labelledby",_340[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.own(_31d.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),_31d.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.own(on(this.domNode,_31a.wheel,lang.hitch(this,"_mouseWheeled")));var _341=_314(_322,{widget:this});this._movable=new _317(this.sliderHandle,{mover:_341});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});_327._Mover=_322;return _327;});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_342,_343,_344,has,i18n){var _345=_343("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.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(_346){this._set("value",_346);this.onChange(_346);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_347){var _348=this._createMenuItem();var _349=_347(item);if(_349.html){_348.innerHTML=_349.label;}else{_348.appendChild(_348.ownerDocument.createTextNode(_349.label));}if(_348.innerHTML==""){_348.innerHTML="&#160;";}return _348;},createOptions:function(_34a,_34b,_34c){this.items=_34a;this.previousButton.style.display=(_34b.start==0)?"none":"";_344.set(this.previousButton,"id",this.id+"_prev");_342.forEach(_34a,function(item,i){var _34d=this._createOption(item,_34c);_34d.setAttribute("item",i);_344.set(_34d,"id",this.id+i);this.nextButton.parentNode.insertBefore(_34d,this.nextButton);},this);var _34e=false;if(_34a.total&&!_34a.total.then&&_34a.total!=-1){if((_34b.start+_34b.count)<_34a.total){_34e=true;}else{if((_34b.start+_34b.count)>_34a.total&&_34b.count==_34a.length){_34e=true;}}}else{if(_34b.count==_34a.length){_34e=true;}}this.nextButton.style.display=_34e?"":"none";_344.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _34f=this.containerNode;while(_34f.childNodes.length>2){_34f.removeChild(_34f.childNodes[_34f.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.selected;}});if(has("dojo-bidi")){_345=_343("dijit.form._ComboBoxMenuMixin",_345,{_createOption:function(){var _350=this.inherited(arguments);this.applyTextDir(_350);return _350;}});}return _345;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_351,_352,dom,_353,_354,_355,_356,has,keys,lang,on,_357,_358,_359,_35a,_35b){return _351("dijit._HasDropDown",_35b,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_357.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _35c=this.dropDown,_35d=false;if(e&&this._opened){var c=_355.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&&!_35d){if(_354.contains(t,"dijitPopup")){_35d=true;}else{t=t.parentNode;}}if(_35d){t=e.target;if(_35c.onItemClick){var _35e;while(t&&!(_35e=_358.byNode(t))){t=t.parentNode;}if(_35e&&_35e.onClick&&_35e.getParent){_35e.getParent().onItemClick(_35e,e);}}return;}}}if(this._opened){if(_35c.focus&&(_35c.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_35c.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _35f={"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";_354.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_35f+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _360=this.focusNode||this.domNode;this.own(on(this._buttonNode,_357.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_360,"keydown",lang.hitch(this,"_onKey")),on(_360,"keyup",lang.hitch(this,"_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,_361=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||(e.keyCode==keys.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_361.tagName||"").toLowerCase()!=="input"||(_361.type&&_361.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(lang.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_362){_362();},loadAndOpenDropDown:function(){var d=new _352(),_363=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_363);}else{_363();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _364=this.dropDown,_365=_364.domNode,_366=this._aroundNode||this.domNode,self=this;var _367=_35a.open({parent:this,popup:_364,around:_366,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_353.set(self._popupStateNode,"popupActive",false);_354.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_366.offsetWidth>_364._popupWrapper.offsetWidth)){var _368=_366.offsetWidth-_364._popupWrapper.offsetWidth;var _369={w:_364.domNode.offsetWidth+_368};if(lang.isFunction(_364.resize)){_364.resize(_369);}else{_355.setMarginBox(_365,_369);}if(_367.corner[1]=="R"){_364._popupWrapper.style.left=(_364._popupWrapper.style.left.replace("px","")-_368)+"px";}}_353.set(this._popupStateNode,"popupActive","true");_354.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_364.id);if(_365.getAttribute("role")!=="presentation"&&!_365.getAttribute("aria-labelledby")){_365.setAttribute("aria-labelledby",this.id);}return _367;},closeDropDown:function(_36a){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_36a){this.focus();}_35a.close(this.dropDown);this._opened=false;}}});});},"dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_36b,_36c,fx,dom,_36d,_36e,_36f,lang,_370,on,has,_371,_372,_373,_374,_375,_376,_377){var _378=_36c("dijit._MasterTooltip",[_373,_374],{duration:_371.defaultDuration,templateString:_376,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _375(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(_379,_37a,_37b,rtl,_37c){if(this.aroundNode&&this.aroundNode===_37a&&this.containerNode.innerHTML==_379){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_379;if(_37c){this.set("textDir",_37c);}this.containerNode.align=rtl?"right":"left";var pos=_372.around(this.domNode,_37a,_37b&&_37b.length?_37b:_37d.defaultPosition,!rtl,lang.hitch(this,"orient"));var _37e=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_37e.y+((_37e.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=_37e.x+((_37e.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_36f.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_37a;},orient:function(node,_37f,_380,_381,_382){this.connectorNode.style.top="";var _383=_381.h,_384=_381.w;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"}[_37f+"-"+_380];this.domNode.style.width="auto";var size=_36e.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _385=Math.min((Math.max(_384,1)),size.w);_36e.setMarginBox(this.domNode,{w:_385});if(_380.charAt(0)=="B"&&_37f.charAt(0)=="B"){var bb=_36e.position(node);var _386=this.connectorNode.offsetHeight;if(bb.h>_383){var _387=_383-((_382.h+_386)>>1);this.connectorNode.style.top=_387+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_382.h/2-_386/2,0),bb.h-_386)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_384);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_388){if(this._onDeck&&this._onDeck[1]==_388){this._onDeck=null;}else{if(this.aroundNode===_388){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;}}});if(has("dojo-bidi")){_378.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_36b.forEach(node.children,function(_389){this._setAutoTextDir(_389);},this);},_setTextDirAttr:function(_38a){this._set("textDir",_38a);if(_38a=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_377.showTooltip=function(_38b,_38c,_38d,rtl,_38e){if(_38d){_38d=_36b.map(_38d,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_37d._masterTT){_377._masterTT=_37d._masterTT=new _378();}return _37d._masterTT.show(_38b,_38c,_38d,rtl,_38e);};_377.hideTooltip=function(_38f){return _37d._masterTT&&_37d._masterTT.hide(_38f);};var _37d=_36c("dijit.Tooltip",_373,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_390){_36b.forEach(this._connections||[],function(_391){_36b.forEach(_391,function(_392){_392.remove();});},this);this._connectIds=_36b.filter(lang.isArrayLike(_390)?_390:(_390?[_390]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_36b.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_393=this.selector,_394=_393?function(_395){return on.selector(_393,_395);}:function(_396){return _396;},self=this;return [on(node,_394(_370.enter),function(){self._onHover(this);}),on(node,_394("focusin"),function(){self._onHover(this);}),on(node,_394(_370.leave),lang.hitch(self,"_onUnHover")),on(node,_394("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_390);},addTarget:function(node){var id=node.id||node;if(_36b.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_36b.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_36d.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_36b.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_397){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_397);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_398){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _399=this.getContent(_398);if(!_399){return;}_37d.show(_399,_398,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_398;this.onShow(_398,this.position);},close:function(){if(this._connectNode){_37d.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_36b.forEach(this._connections||[],function(_39a){_36b.forEach(_39a,function(_39b){_39b.remove();});},this);this.inherited(arguments);}});_37d._MasterTooltip=_378;_37d.show=_377.showTooltip;_37d.hide=_377.hideTooltip;_37d.defaultPosition=["after-centered","before-centered"];return _37d;});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_39c,_39d,_39e,keys,_39f,_3a0,_3a1,_3a2){return _39c("dijit.form._ComboBoxMenu",[_39f,_3a0,_3a2,_3a1],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<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()){_39d.add(this.previousButton,"dijitMenuItemRtl");_39d.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_39d.add(node,"dijitMenuItemHover");},onUnhover:function(node){_39d.remove(node,"dijitMenuItemHover");},onSelect:function(node){_39d.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_39d.remove(node,"dijitMenuItemSelected");},_page:function(up){var _3a3=0;var _3a4=this.domNode.scrollTop;var _3a5=_39e.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_3a3<_3a5){var _3a6=this.getHighlightedOption();if(up){if(!_3a6.previousSibling||_3a6.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_3a6.nextSibling||_3a6.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _3a7=this.domNode.scrollTop;_3a3+=(_3a7-_3a4)*(up?-1:1);_3a4=_3a7;}},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/Calendar":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton"],function(_3a8,date,_3a9,_3aa,_3ab,_3ac,_3ad,keys,lang,on,has,_3ae,_3af,_3b0,_3b1,_3b2){var _3b3=_3aa("dijit.Calendar",[_3ae,_3af,_3b0],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_3b4){_3ad.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_3b4);},_createMonthWidget:function(){return new _3b3._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")),on(this.dateRowsNode,"mouseover",lang.hitch(this,"_onDayMouseOver")),on(this.dateRowsNode,"mouseout",lang.hitch(this,"_onDayMouseOut")),on(this.dateRowsNode,"mousedown",lang.hitch(this,"_onDayMouseDown")),on(this.dateRowsNode,"mouseup",lang.hitch(this,"_onDayMouseUp")));},_onMonthSelect:function(_3b5){var date=new this.dateClassObj(this.currentFocus);date.setDate(1);date.setMonth(_3b5);var _3b6=this.dateModule.getDaysInMonth(date);var _3b7=this.currentFocus.getDate();date.setDate(Math.min(_3b7,_3b6));this._setCurrentFocusAttr(date);},_onDayMouseOver:function(evt){var node=_3ac.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_3ac.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_3ac.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(_3ac.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_3ac.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_3ac.contains(node,"dijitCalendarDisabledDate")){_3ac.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_3ac.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _3b8=-1,_3b9,_3ba=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_3b8=1;case keys.LEFT_ARROW:_3b9="day";if(!this.isLeftToRight()){_3b8*=-1;}break;case keys.DOWN_ARROW:_3b8=1;case keys.UP_ARROW:_3b9="week";break;case keys.PAGE_DOWN:_3b8=1;case keys.PAGE_UP:_3b9=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_3ba=this.dateModule.add(_3ba,"month",1);_3b9="day";case keys.HOME:_3ba=new this.dateClassObj(_3ba);_3ba.setDate(1);break;default:return true;}if(_3b9){_3ba=this.dateModule.add(_3ba,_3b9,_3b8);}this._setCurrentFocusAttr(_3ba);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){evt.stopPropagation();evt.preventDefault();}},onValueSelected:function(){},onChange:function(_3bb){this.onValueSelected(_3bb);},getClassForDate:function(){}});_3b3._MonthDropDownButton=_3aa("dijit.Calendar._MonthDropDownButton",_3b2,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _3b3._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_3bc){var _3bd=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_3bc);this.dropDown.set("months",_3bd);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_3bd[_3bc.getMonth()]+"</div>";}});_3b3._MonthDropDown=_3aa("dijit.Calendar._MonthDropDown",[_3af,_3b1],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_3be){this.domNode.innerHTML=_3a8.map(_3be,function(_3bf,idx){return _3bf?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_3bf+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_3ab.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_3ac.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _3b3;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_3c0,_3c1,_3c2,_3c3,_3c4,dom,_3c5,_3c6,lang,_3c7,when,_3c8,_3c9){var _3ca=_3c4("dijit.form._FormSelectWidget",_3c9,{multiple:false,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_3cb){var opts=this.options||[];if(_3cb==null){return opts;}if(lang.isArray(_3cb)){return _3c0.map(_3cb,"return this.getOptions(item);",this);}if(lang.isString(_3cb)){_3cb={value:_3cb};}if(lang.isObject(_3cb)){if(!_3c0.some(opts,function(_3cc,idx){for(var a in _3cb){if(!(a in _3cc)||_3cc[a]!=_3cb[a]){return false;}}_3cb=idx;return true;})){_3cb=-1;}}if(_3cb>=0&&_3cb<opts.length){return opts[_3cb];}return null;},addOption:function(_3cd){_3c0.forEach(lang.isArray(_3cd)?_3cd:[_3cd],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_3ce){var _3cf=this.getOptions(lang.isArray(_3ce)?_3ce:[_3ce]);_3c0.forEach(_3cf,function(_3d0){if(_3d0){this.options=_3c0.filter(this.options,function(node){return (node.value!==_3d0.value||node.label!==_3d0.label);});this._removeOptionItem(_3d0);}},this);this._loadChildren();},updateOption:function(_3d1){_3c0.forEach(lang.isArray(_3d1)?_3d1:[_3d1],function(i){var _3d2=this.getOptions({value:i.value}),k;if(_3d2){for(k in i){_3d2[k]=i[k];}}},this);this._loadChildren();},setStore:function(_3d3,_3d4,_3d5){var _3d6=this.store;_3d5=_3d5||{};if(_3d6!==_3d3){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_3d3.get){lang.mixin(_3d3,{_oldAPI:true,get:function(id){var _3d7=new _3c1();this.fetchItemByIdentity({identity:id,onItem:function(_3d8){_3d7.resolve(_3d8);},onError:function(_3d9){_3d7.reject(_3d9);}});return _3d7.promise;},query:function(_3da,_3db){var _3dc=new _3c1(function(){if(_3dd.abort){_3dd.abort();}});_3dc.total=new _3c1();var _3dd=this.fetch(lang.mixin({query:_3da,onBegin:function(_3de){_3dc.total.resolve(_3de);},onComplete:function(_3df){_3dc.resolve(_3df);},onError:function(_3e0){_3dc.reject(_3e0);}},_3db));return new _3c8(_3dc);}});if(_3d3.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_3c2.after(_3d3,"onNew",lang.hitch(this,"_onNewItem"),true),_3c2.after(_3d3,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_3c2.after(_3d3,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_3d3);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_3d5.query){this._set("query",_3d5.query);this._set("queryOptions",_3d5.queryOptions);}if(_3d3){this._loadingStore=true;this.onLoadDeferred=new _3c1();this._queryRes=_3d3.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_3e1){if(this.sortByLabel&&!_3d5.sort&&_3e1.length){if(_3d3.getValue){_3e1.sort(_3c3.createSortFunction([{attribute:_3d3.getLabelAttributes(_3e1[0])[0]}],_3d3));}else{var _3e2=this.labelAttr;_3e1.sort(function(a,b){return a[_3e2]>b[_3e2]?1:b[_3e2]>a[_3e2]?-1:0;});}}if(_3d5.onFetch){_3e1=_3d5.onFetch.call(this,_3e1,_3d5);}_3c0.forEach(_3e1,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_3e3,_3e4,_3e5){if(_3e4==_3e5){this._onSetItem(_3e3);}else{if(_3e4!=-1){this._onDeleteItem(_3e3);}if(_3e5!=-1){this._onNewItem(_3e3);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_3d4);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_3e1);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _3d6;},_setValueAttr:function(_3e6,_3e7){if(!this._onChangeActive){_3e7=null;}if(this._loadingStore){this._pendingValue=_3e6;return;}if(_3e6==null){return;}if(lang.isArray(_3e6)){_3e6=_3c0.map(_3e6,function(_3e8){return lang.isObject(_3e8)?_3e8:{value:_3e8};});}else{if(lang.isObject(_3e6)){_3e6=[_3e6];}else{_3e6=[{value:_3e6}];}}_3e6=_3c0.filter(this.getOptions(_3e6),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_3e6[0]||!_3e6[0].value)&&!!opts.length){_3e6[0]=opts[0];}_3c0.forEach(opts,function(opt){opt.selected=_3c0.some(_3e6,function(v){return v.value===opt.value;});});var val=_3c0.map(_3e6,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_3c0.map(_3e6,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_3e7]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_3c0.map([].concat(this.get("selectedOptions")),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];},_setDisplayedValueAttr:function(_3e9){this.set("value",this.getOptions(typeof _3e9=="string"?{label:_3e9}:_3e9));},_loadChildren:function(){if(this._loadingStore){return;}_3c0.forEach(this._getChildren(),function(_3ea){_3ea.destroyRecursive();});_3c0.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_3c0.forEach(this._getChildren(),function(_3eb){var _3ec=_3c0.some(val,function(v){return _3eb.option&&(v===_3eb.option.value);});if(_3ec&&!self.multiple){self.focusedChild=_3eb;}_3c5.toggle(_3eb.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_3ec);_3eb.domNode.setAttribute("aria-selected",_3ec?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_3c0.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 _3c0.map(_3c0.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_3ed){if(!_3ed||!_3ed.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _3ee=this.store;this.removeOption({value:_3ee.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _3ef=this.store,_3f0=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_3ef.getLabel(item),_3f1=(_3f0?_3ef.getIdentity(item):null);return {value:_3f1,label:_3f0,item:item};},_addOptionForItem:function(item){var _3f2=this.store;if(_3f2.isItemLoaded&&!_3f2.isItemLoaded(item)){_3f2.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _3f3=this._getOptionObjForItem(item);this.addOption(_3f3);},constructor:function(_3f4){this._oValue=(_3f4||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_3c7("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_3c6._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);_3c2.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _3f5=this.store;if(_3f5&&(_3f5.getIdentity||_3f5.getFeatures()["dojo.data.api.Identity"])){this.store=null;this.setStore(_3f5,this._oValue);}},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _3ca;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query","../registry"],function(_3f6,_3f7,_3f8,lang,_3f9,_3fa){return _3f7("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_3f9("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_3fb){if(_3fb.name==this.name&&_3fb.form==this.focusNode.form){var _3fc=_3fa.getEnclosingWidget(_3fb);if(_3fc){ary.push(_3fc);}}}));return ary;},_setCheckedAttr:function(_3fd){this.inherited(arguments);if(!this._created){return;}if(_3fd){_3f6.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3fe){if(_3fe!=this&&_3fe.checked){_3fe.set("checked",false);}}));}},_getSubmitValue:function(_3ff){return _3ff==null?"on":_3ff;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_3f6.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_400){_3f8.set(this.focusNode||this.domNode,"checked",_400.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/dom","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html","./a11yclick","./hccss"],function(_401,_402,_403,date,_404,_405,dom,_406,lang,on,has,_407,_408,_409,_40a){var _40b=_402("dijit.CalendarLite",[_408,_409],{templateString:_40a,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\" scope=\"col\"><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:"",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),_setSummaryAttr:"gridNode",baseClass:"dijitCalendar",_isValidDate:function(_40c){return _40c&&!isNaN(_40c)&&typeof _40c=="object"&&_40c.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){var _40d=this._get("value");if(_40d&&!isNaN(_40d)){var _40e=new this.dateClassObj(_40d);_40e.setHours(0,0,0,0);if(_40e.getDate()<_40d.getDate()){_40e=this.dateModule.add(_40e,"hour",1);}return _40e;}else{return null;}},_setValueAttr:function(_40f,_410){if(typeof _40f=="string"){_40f=_405.fromISOString(_40f);}_40f=this._patchDate(_40f);if(this._isValidDate(_40f)&&!this.isDisabledDate(_40f,this.lang)){this._set("value",_40f);this.set("currentFocus",_40f);this._markSelectedDates([_40f]);if(this._created&&(_410||typeof _410=="undefined")){this.onChange(this.get("value"));}}else{this._set("value",null);this._markSelectedDates([]);}},_patchDate:function(_411){if(_411){_411=new this.dateClassObj(_411);_411.setHours(1,0,0,0);}return _411;},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(node.ownerDocument.createTextNode(text));},_populateGrid:function(){var _412=new this.dateClassObj(this.currentFocus);_412.setDate(1);var _413=_412.getDay(),_414=this.dateModule.getDaysInMonth(_412),_415=this.dateModule.getDaysInMonth(this.dateModule.add(_412,"month",-1)),_416=new this.dateClassObj(),_417=_403.getFirstDayOfWeek(this.lang);if(_417>_413){_417-=7;}if(!this.summary){var _418=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_412);this.gridNode.setAttribute("summary",_418[_412.getMonth()]);}this._date2cell={};_401.forEach(this.dateCells,function(_419,idx){var i=idx+_417;var date=new this.dateClassObj(_412),_41a,_41b="dijitCalendar",adj=0;if(i<_413){_41a=_415-_413+i+1;adj=-1;_41b+="Previous";}else{if(i>=(_413+_414)){_41a=i-_413-_414+1;adj=1;_41b+="Next";}else{_41a=i-_413+1;_41b+="Current";}}if(adj){date=this.dateModule.add(date,"month",adj);}date.setDate(_41a);if(!this.dateModule.compare(date,_416,"date")){_41b="dijitCalendarCurrentDate "+_41b;}if(this.isDisabledDate(date,this.lang)){_41b="dijitCalendarDisabledDate "+_41b;_419.setAttribute("aria-disabled","true");}else{_41b="dijitCalendarEnabledDate "+_41b;_419.removeAttribute("aria-disabled");_419.setAttribute("aria-selected","false");}var _41c=this.getClassForDate(date,this.lang);if(_41c){_41b=_41c+" "+_41b;}_419.className=_41b+"Month dijitCalendarDateTemplate";var _41d=date.valueOf();this._date2cell[_41d]=_419;_419.dijitDateValue=_41d;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);},_populateControls:function(){var _41e=new this.dateClassObj(this.currentFocus);_41e.setDate(1);this.monthWidget.set("month",_41e);var y=_41e.getFullYear()-1;var d=new this.dateClassObj();_401.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(_41f){this.dateModule=_41f.datePackage?lang.getObject(_41f.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_41f.datePackage?lang.getObject(_41f.datePackage+".locale",false):_404;},_createMonthWidget:function(){return _40b._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_420=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_421=_403.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_407.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _420[_421++%7];});var r=_407.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 _422=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",_422,false);},postCreate:function(){this.inherited(arguments);this._connectControls();},_connectControls:function(){var _423=lang.hitch(this,function(_424,part,_425){return on(this[_424],"click",lang.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,part,_425));}));});this.own(_423("incrementMonth","month",1),_423("decrementMonth","month",-1),_423("nextYearLabelNode","year",1),_423("previousYearLabelNode","year",-1));},_setCurrentFocusAttr:function(date,_426){var _427=this.currentFocus,_428=this._getNodeByDate(_427);date=this._patchDate(date);this._set("currentFocus",date);if(!this._date2cell||this.dateModule.difference(_427,date,"month")!=0){this._populateGrid();this._populateControls();this._markSelectedDates([this.value]);}var _429=this._getNodeByDate(date);_429.setAttribute("tabIndex",this.tabIndex);if(this.focused||_426){_429.focus();}if(_428&&_428!=_429){if(has("webkit")){_428.setAttribute("tabIndex","-1");}else{_428.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){evt.stopPropagation();evt.preventDefault();for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_406.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_getNodeByDate:function(_42a){_42a=this._patchDate(_42a);return _42a&&this._date2cell?this._date2cell[_42a.valueOf()]:null;},_markSelectedDates:function(_42b){function mark(_42c,cell){_406.toggle(cell,"dijitCalendarSelectedDate",_42c);cell.setAttribute("aria-selected",_42c?"true":"false");};_401.forEach(this._selectedCells||[],lang.partial(mark,false));this._selectedCells=_401.filter(_401.map(_42b,this._getNodeByDate,this),function(n){return n;});_401.forEach(this._selectedCells,lang.partial(mark,true));},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});_40b._MonthWidget=_402("dijit.CalendarLite._MonthWidget",_408,{_setMonthAttr:function(_42d){var _42e=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_42d),_42f=(has("ie")==6?"":"<div class='dijitSpacer'>"+_401.map(_42e,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_42f+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_42e[_42d.getMonth()]+"</div>";}});return _40b;});},"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\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" role=\"presentation\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\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=\"onkeydown:_onKeyDown,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\"></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","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","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/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"ondijitclick:_onClick\"\n/></div>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"./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=\"./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","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\"  data-dojo-attach-point=\"containerNode,textDirNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\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\"\n\t/></div\n></div>\n","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,_popupStateNode\"\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\"\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-event=\"onclick:_onClick\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\" aria-hidden=\"true\"\n/></span>\n","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=\"onkeydown:_onKeyDown\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n></div>\n","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,onkeydown:_onButtonKeyDown\"\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=\"onkeydown:_onArrowKeyDown\"\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\t\tclass=\"dijitOffScreen\"\n\t\t\t\trole=\"presentation\" aria-hidden=\"true\"\n\t\t\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\n></table>\n","url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown, 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\"></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/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\" data-dojo-attach-point=\"gridNode\">\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\" scope=\"col\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"></span>\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\" scope=\"col\">\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' scope=\"col\" data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"></span>\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 role=\"row\">\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"ondijitclick: _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","*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_19': ",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/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_1,_2,_3,_4,_5,_6,on,_7,_8,_9,_a){var _b=_3("dijit.tree.dndSource",_a,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(_c,_d){if(!_d){_d={};}_6.mixin(this,_d);var _e=_d.accept instanceof Array?_d.accept:["text","treeNode"];this.accept=null;if(_e.length){this.accept={};for(var i=0;i<_e.length;++i){this.accept[_e[i]]=1;}}this.isDragging=false;this.mouseDown=false;this.targetAnchor=null;this.targetBox=null;this.dropPosition="";this._lastX=0;this._lastY=0;this.sourceState="";if(this.isSource){_4.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_4.add(this.node,"dojoDndTarget");}this.topics=[_8.subscribe("/dnd/source/over",_6.hitch(this,"onDndSourceOver")),_8.subscribe("/dnd/start",_6.hitch(this,"onDndStart")),_8.subscribe("/dnd/drop",_6.hitch(this,"onDndDrop")),_8.subscribe("/dnd/cancel",_6.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_f){return this.copyOnly||_f;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_10){var m=_9.manager(),_11=this.targetAnchor,_12=this.current,_13=this.dropPosition;var _14="Over";if(_12&&this.betweenThreshold>0){if(!this.targetBox||_11!=_12){this.targetBox=_5.position(_12.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_14="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_14="After";}}}if(_10||_12!=_11||_14!=_13){if(_11){this._removeItemClass(_11.rowNode,_13);}if(_12){this._addItemClass(_12.rowNode,_14);}if(!_12){m.canDrop(false);}else{if(_12==this.tree.rootNode&&_14!="Over"){m.canDrop(false);}else{var _15=false;if(m.source==this){for(var _16 in this.selection){var _17=this.selection[_16];if(_17.item===_12.item){_15=true;break;}}}if(_15){m.canDrop(false);}else{if(this.checkItemAcceptance(_12.rowNode,m.source,_14.toLowerCase())&&!this._isParentChildDrop(m.source,_12.rowNode)){m.canDrop(true);}else{m.canDrop(false);}}}}this.targetAnchor=_12;this.dropPosition=_14;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_9.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _18=this.getSelectedTreeNodes();if(_18.length){if(_18.length>1){var _19=this.selection,i=0,r=[],n,p;nextitem:while((n=_18[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(_19[p.id]){continue nextitem;}}r.push(n);}_18=r;}_18=_1.map(_18,function(n){return n.domNode;});m.startDrag(this,_18,this.copyState(_2.isCopyKey(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_1a){if(this!=_1a){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_9.manager();m.canDrop(false);}}},onDndStart:function(_1b,_1c,_1d){if(this.isSource){this._changeState("Source",this==_1b?(_1d?"Copied":"Moved"):"");}var _1e=this.checkAcceptance(_1b,_1c);this._changeState("Target",_1e?"":"Disabled");if(this==_1b){_9.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_1f){return _1.map(_1f,function(_20){return {"id":_20.id,"name":_20.textContent||_20.innerText||""};});},onDndDrop:function(_21,_22,_23){if(this.containerState=="Over"){var _24=this.tree,_25=_24.model,_26=this.targetAnchor;this.isDragging=false;var _27;var _28;var _29;_27=(_26&&_26.item)||_24.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_27=(_26.getParent()&&_26.getParent().item)||_24.item;_28=_26.getIndexInParent();if(this.dropPosition=="After"){_28=_26.getIndexInParent()+1;_29=_26.getNextSibling()&&_26.getNextSibling().item;}else{_29=_26.item;}}else{_27=(_26&&_26.item)||_24.item;}var _2a;_1.forEach(_22,function(_2b,idx){var _2c=_21.getItem(_2b.id);if(_1.indexOf(_2c.type,"treeNode")!=-1){var _2d=_2c.data,_2e=_2d.item,_2f=_2d.getParent().item;}if(_21==this){if(typeof _28=="number"){if(_27==_2f&&_2d.getIndexInParent()<_28){_28-=1;}}_25.pasteItem(_2e,_2f,_27,_23,_28,_29);}else{if(_25.isItem(_2e)){_25.pasteItem(_2e,_2f,_27,_23,_28,_29);}else{if(!_2a){_2a=this.itemCreator(_22,_26.rowNode,_21);}_25.newItem(_2a[idx],_27,_28,_29);}}},this);this.tree._expandNode(_26);}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_9.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_9.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_30,_31){if(!_30.tree||_30.tree!=this.tree){return false;}var _32=_30.tree.domNode;var ids=_30.selection;var _33=_31.parentNode;while(_33!=_32&&!ids[_33.id]){_33=_33.parentNode;}return _33.id&&ids[_33.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(_34){this._changeState("Source",_34?"Copied":"Moved");}});return _b;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_35,_36,_37,_38){return _37("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_39){_38.mixin(this,_39);this.connects=[];var _3a=this.store;if(!_3a.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_3a.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_36.after(_3a,"onNew",_38.hitch(this,"onNewItem"),true),_36.after(_3a,"onDelete",_38.hitch(this,"onDeleteItem"),true),_36.after(_3a,"onSet",_38.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_3b,_3c){if(this.root){_3b(this.root);}else{this.store.fetch({query:this.query,onComplete:_38.hitch(this,function(_3d){if(_3d.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_3d.length+" items, but must return exactly one");}this.root=_3d[0];_3b(this.root);}),onError:_3c});}},mayHaveChildren:function(_3e){return _35.some(this.childrenAttrs,function(_3f){return this.store.hasAttribute(_3e,_3f);},this);},getChildren:function(_40,_41,_42){var _43=this.store;if(!_43.isItemLoaded(_40)){var _44=_38.hitch(this,arguments.callee);_43.loadItem({item:_40,onItem:function(_45){_44(_45,_41,_42);},onError:_42});return;}var _46=[];for(var i=0;i<this.childrenAttrs.length;i++){var _47=_43.getValues(_40,this.childrenAttrs[i]);_46=_46.concat(_47);}var _48=0;if(!this.deferItemLoadingUntilExpand){_35.forEach(_46,function(_49){if(!_43.isItemLoaded(_49)){_48++;}});}if(_48==0){_41(_46);}else{_35.forEach(_46,function(_4a,idx){if(!_43.isItemLoaded(_4a)){_43.loadItem({item:_4a,onItem:function(_4b){_46[idx]=_4b;if(--_48==0){_41(_46);}},onError:_42});}});}},isItem:function(_4c){return this.store.isItem(_4c);},fetchItemByIdentity:function(_4d){this.store.fetchItemByIdentity(_4d);},getIdentity:function(_4e){return this.store.getIdentity(_4e);},getLabel:function(_4f){if(this.labelAttr){return this.store.getValue(_4f,this.labelAttr);}else{return this.store.getLabel(_4f);}},newItem:function(_50,_51,_52){var _53={parent:_51,attribute:this.childrenAttrs[0]},_54;if(this.newItemIdAttr&&_50[this.newItemIdAttr]){this.fetchItemByIdentity({identity:_50[this.newItemIdAttr],scope:this,onItem:function(_55){if(_55){this.pasteItem(_55,null,_51,true,_52);}else{_54=this.store.newItem(_50,_53);if(_54&&(_52!=undefined)){this.pasteItem(_54,_51,_51,false,_52);}}}});}else{_54=this.store.newItem(_50,_53);if(_54&&(_52!=undefined)){this.pasteItem(_54,_51,_51,false,_52);}}},pasteItem:function(_56,_57,_58,_59,_5a){var _5b=this.store,_5c=this.childrenAttrs[0];if(_57){_35.forEach(this.childrenAttrs,function(_5d){if(_5b.containsValue(_57,_5d,_56)){if(!_59){var _5e=_35.filter(_5b.getValues(_57,_5d),function(x){return x!=_56;});_5b.setValues(_57,_5d,_5e);}_5c=_5d;}});}if(_58){if(typeof _5a=="number"){var _5f=_5b.getValues(_58,_5c).slice();_5f.splice(_5a,0,_56);_5b.setValues(_58,_5c,_5f);}else{_5b.setValues(_58,_5c,_5b.getValues(_58,_5c).concat(_56));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(_60,_61){if(!_61){return;}this.getChildren(_61.item,_38.hitch(this,function(_62){this.onChildrenChange(_61.item,_62);}));},onDeleteItem:function(_63){this.onDelete(_63);},onSetItem:function(_64,_65){if(_35.indexOf(this.childrenAttrs,_65)!=-1){this.getChildren(_64,_38.hitch(this,function(_66){this.onChildrenChange(_64,_66);}));}else{this.onChange(_64);}}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_67,_68,_69,has,_6a){var _6b=_6a.doc.documentElement,ie=has("ie"),_6c=has("opera"),maj=Math.floor,ff=has("ff"),_6d=_67.boxModel.replace(/-/,""),_6e={"dj_quirks":has("quirks"),"dj_opera":_6c,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_6e["dj_ie"]=true;_6e["dj_ie"+maj(ie)]=true;_6e["dj_iequirks"]=has("quirks");}if(ff){_6e["dj_ff"+maj(ff)]=true;}_6e["dj_"+_6d]=true;var _6f="";for(var clz in _6e){if(_6e[clz]){_6f+=clz+" ";}}_6b.className=_68.trim(_6b.className+" "+_6f);_69(function(){if(!_67.isBodyLtr()){var _70="dj_rtl dijitRtl "+_6f.replace(/ /g,"-rtl ");_6b.className=_68.trim(_6b.className+" "+_70+"dj_rtl dijitRtl "+_6f.replace(/ /g,"-rtl "));}});return has;});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_71,_72,_73,_74,_75,dom,_76,on,_77,_78,_79){return _73("dijit.tree._dndSelector",_79,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_77.press,_75.hitch(this,"onMouseDown")),on(this.tree.domNode,_77.release,_75.hitch(this,"onMouseUp")),on(this.tree.domNode,_77.move,_75.hitch(this,"onMouseMove")),on(this.tree.domNode,_78.press,_75.hitch(this,"onClickPress")),on(this.tree.domNode,_78.release,_75.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _7a=[],sel=this.selection;for(var i in sel){_7a.push(sel[i]);}return _7a;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(_7b,_7c){this.setSelection(this.getSelectedTreeNodes().concat([_7b]));if(_7c){this.anchor=_7b;}return _7b;},removeTreeNode:function(_7d){var _7e=_71.filter(this.getSelectedTreeNodes(),function(_7f){return !dom.isDescendant(_7f.domNode,_7d.domNode);});this.setSelection(_7e);return _7d;},isTreeNodeSelected:function(_80){return _80.id&&!!this.selection[_80.id];},setSelection:function(_81){var _82=this.getSelectedTreeNodes();_71.forEach(this._setDifference(_82,_81),_75.hitch(this,function(_83){_83.setSelected(false);if(this.anchor==_83){delete this.anchor;}delete this.selection[_83.id];}));_71.forEach(this._setDifference(_81,_82),_75.hitch(this,function(_84){_84.setSelected(true);this.selection[_84.id]=_84;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_71.forEach(ys,function(y){y.__exclude__=true;});var ret=_71.filter(xs,function(x){return !x.__exclude__;});_71.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _85=this.getSelectedTreeNodes();var _86=[],_87=[],_88=[];_71.forEach(_85,function(_89){var ary=_89.getTreePath(),_8a=this.tree.model;_87.push(_89);_86.push(ary);ary=_71.map(ary,function(_8b){return _8a.getIdentity(_8b);},this);_88.push(ary.join("/"));},this);var _8c=_71.map(_87,function(_8d){return _8d.item;});this.tree._set("paths",_86);this.tree._set("path",_86[0]||[]);this.tree._set("selectedNodes",_87);this.tree._set("selectedNode",_87[0]||null);this.tree._set("selectedItems",_8c);this.tree._set("selectedItem",_8c[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_76.isLeft(e)){e.preventDefault();}var _8e=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_8e){return;}var _8f=_72.isCopyKey(e),id=_8e.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_8e,_8f,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_72.isCopyKey(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(_90,_91,_92){if(this.singular){if(this.anchor==_90&&_91){this.selectNone();}else{this.setSelection([_90]);this.anchor=_90;}}else{if(_92&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,_90.rowNode),_93,end,_94=this.anchor;if(cr<0){_93=_94;end=_90;}else{_93=_90;end=_94;}var _95=[];while(_93!=end){_95.push(_93);_93=this.tree._getNext(_93);}_95.push(end);this.setSelection(_95);}else{if(this.selection[_90.id]&&_91){this.removeTreeNode(_90);}else{if(_91){this.addTreeNode(_90,true);}else{this.setSelection([_90]);this.anchor=_90;}}}}},getItem:function(key){var _96=this.selection[key];return {data:_96,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_74.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_97,_98,_99,_9a,_9b,on,_9c,_9d){return _98("dijit._KeyNavMixin",_9d,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_99.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _9e=this._keyNavCodes={};_9e[_9a.HOME]=_9b.hitch(this,"focusFirstChild");_9e[_9a.END]=_9b.hitch(this,"focusLastChild");_9e[this.isLeftToRight()?_9a.LEFT_ARROW:_9a.RIGHT_ARROW]=_9b.hitch(this,"_onLeftArrow");_9e[this.isLeftToRight()?_9a.RIGHT_ARROW:_9a.LEFT_ARROW]=_9b.hitch(this,"_onRightArrow");_9e[_9a.UP_ARROW]=_9b.hitch(this,"_onUpArrow");_9e[_9a.DOWN_ARROW]=_9b.hitch(this,"_onDownArrow");}var _9f=this,_a0=typeof this.childSelector=="string"?this.childSelector:_9b.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",_9b.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",_9b.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",_9b.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_a0,"focusin"),function(evt){_9f._onChildFocus(_9c.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_a1,_a2){if(!_a1){return;}if(this.focusedChild&&_a1!==this.focusedChild){this._onChildBlur(this.focusedChild);}_a1.set("tabIndex",this.tabIndex);_a1.focus(_a2?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_99.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_99.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_a3){if(_a3&&_a3!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_a3.set("tabIndex",this.tabIndex);this.lastFocused=_a3;this._set("focusedChild",_a3);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(_a4,evt,_a5,_a6){if(_a4){this.focusChild(_a4);}},_keyboardSearchCompare:function(_a7,_a8){var _a9=_a7.domNode,_aa=_a7.label||(_a9.focusNode?_a9.focusNode.label:"")||_a9.innerText||_a9.textContent||"",_ab=_aa.replace(/^\s+/,"").substr(0,_a8.length).toLowerCase();return (!!_a8.length&&_ab==_a8)?-1:0;},_onContainerKeydown:function(evt){var _ac=this._keyNavCodes[evt.keyCode];if(_ac){_ac(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==_9a.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=_9a.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_ad){var _ae=null,_af,_b0=0,_b1=_9b.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_ad;var _b2=/^(.)\1*$/.test(this._searchString);var _b3=_b2?1:this._searchString.length;_af=this._searchString.substr(0,_b3);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _b4=this.focusedChild||null;if(_b3==1||!_b4){_b4=this._getNextFocusableChild(_b4,1);if(!_b4){return;}}var _b5=_b4;do{var rc=this._keyboardSearchCompare(_b4,_af);if(!!rc&&_b0++==0){_ae=_b4;}if(rc==-1){_b0=-1;break;}_b4=this._getNextFocusableChild(_b4,1);}while(_b4!=_b5);});_b1();this.onKeyboardSearch(_ae,evt,_af,_b0);},_onChildBlur:function(){},_getNextFocusableChild:function(_b6,dir){var _b7=_b6;do{if(!_b6){_b6=this[dir>0?"_getFirst":"_getLast"]();if(!_b6){break;}}else{_b6=this._getNext(_b6,dir);}if(_b6!=null&&_b6!=_b7&&_b6.isFocusable()){return _b6;}}while(_b6!=_b7);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_b8,dir){if(_b8){_b8=_b8.domNode;while(_b8){_b8=_b8[dir<0?"previousSibling":"nextSibling"];if(_b8&&"getAttribute" in _b8){var w=_9c.byNode(_b8);if(w){return w;}}}}return null;}});});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_b9,_ba,_bb){"use strict";var _bc=_b9.some;return function all(_bd){var _be,_b9;if(_bd instanceof Array){_b9=_bd;}else{if(_bd&&typeof _bd==="object"){_be=_bd;}}var _bf;var _c0=[];if(_be){_b9=[];for(var key in _be){if(Object.hasOwnProperty.call(_be,key)){_c0.push(key);_b9.push(_be[key]);}}_bf={};}else{if(_b9){_bf=[];}}if(!_b9||!_b9.length){return new _ba().resolve(_bf);}var _c1=new _ba();_c1.promise.always(function(){_bf=_c0=null;});var _c2=_b9.length;_bc(_b9,function(_c3,_c4){if(!_be){_c0.push(_c4);}_bb(_c3,function(_c5){if(!_c1.isFulfilled()){_bf[_c0[_c4]]=_c5;if(--_c2===0){_c1.resolve(_bf);}}},_c1.reject);return _c1.isFulfilled();});return _c1.promise;};});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_c6,has,_c7,dom,_c8,_c9,_ca){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _cb=_c7.body(doc),_cc=_ca.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_cb,"last"),div=_ca.create("div",{style:{overflow:"hidden",direction:"ltr"}},_cc,"last"),ret=_c8.position(div).x!=0;_cc.removeChild(div);_cb.removeChild(_cc);return ret;});has.add("position-fixed-support",function(win,doc){var _cd=_c7.body(doc),_ce=_ca.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_cd,"last"),_cf=_ca.create("span",{style:{position:"fixed",left:"0",top:"0"}},_ce,"last"),ret=_c8.position(_cf).x!=_c8.position(_ce).x;_ce.removeChild(_cf);_cd.removeChild(_ce);return ret;});var _d0={getBox:function(doc){doc=doc||_c7.doc;var _d1=(doc.compatMode=="BackCompat")?_c7.body(doc):doc.documentElement,_d2=_c8.docScroll(doc),w,h;if(has("touch")){var _d3=_d0.get(doc);w=_d3.innerWidth||_d1.clientWidth;h=_d3.innerHeight||_d1.clientHeight;}else{w=_d1.clientWidth;h=_d1.clientHeight;}return {l:_d2.x,t:_d2.y,w:w,h:h};},get:function(doc){if(has("ie")&&_d0!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(_d4,pos){try{_d4=dom.byId(_d4);var doc=_d4.ownerDocument||_c7.doc,_d5=_c7.body(doc),_d6=doc.documentElement||_d5.parentNode,_d7=has("ie"),_d8=has("webkit");if(_d4==_d5||_d4==_d6){return;}if(!(has("mozilla")||_d7||_d8||has("opera")||has("trident"))&&("scrollIntoView" in _d4)){_d4.scrollIntoView(false);return;}var _d9=doc.compatMode=="BackCompat",_da=Math.min(_d5.clientWidth||_d6.clientWidth,_d6.clientWidth||_d5.clientWidth),_db=Math.min(_d5.clientHeight||_d6.clientHeight,_d6.clientHeight||_d5.clientHeight),_dc=(_d8||_d9)?_d5:_d6,_dd=pos||_c8.position(_d4),el=_d4.parentNode,_de=function(el){return (_d7<=6||(_d7==7&&_d9))?false:(has("position-fixed-support")&&(_c9.get(el,"position").toLowerCase()=="fixed"));},_df=this,_e0=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_df.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_de(_d4)){return;}while(el){if(el==_d5){el=_dc;}var _e1=_c8.position(el),_e2=_de(el),rtl=_c9.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_dc){_e1.w=_da;_e1.h=_db;if(_dc==_d6&&(_d7||has("trident"))&&rtl){_e1.x+=_dc.offsetWidth-_e1.w;}if(_e1.x<0||!_d7||_d7>=9||has("trident")){_e1.x=0;}if(_e1.y<0||!_d7||_d7>=9||has("trident")){_e1.y=0;}}else{var pb=_c8.getPadBorderExtents(el);_e1.w-=pb.w;_e1.h-=pb.h;_e1.x+=pb.l;_e1.y+=pb.t;var _e3=el.clientWidth,_e4=_e1.w-_e3;if(_e3>0&&_e4>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_e1.x+=_e4;}_e1.w=_e3;}_e3=el.clientHeight;_e4=_e1.h-_e3;if(_e3>0&&_e4>0){_e1.h=_e3;}}if(_e2){if(_e1.y<0){_e1.h+=_e1.y;_e1.y=0;}if(_e1.x<0){_e1.w+=_e1.x;_e1.x=0;}if(_e1.y+_e1.h>_db){_e1.h=_db-_e1.y;}if(_e1.x+_e1.w>_da){_e1.w=_da-_e1.x;}}var l=_dd.x-_e1.x,t=_dd.y-_e1.y,r=l+_dd.w-_e1.w,bot=t+_dd.h-_e1.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_dc||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_d7==8&&!_d9)||_d7>=9||has("trident"))){s=-s;}old=el.scrollLeft;_e0(el,s,0);s=el.scrollLeft-old;_dd.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_dc||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_e0(el,0,s);s=el.scrollTop-old;_dd.y-=s;}el=(el!=_dc)&&!_e2&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_d4.scrollIntoView(false);}}};1&&_c6.setObject("dojo.window",_d0);return _d0;});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_e5,_e6,_e7,_e8,on,_e9){return _e6("dijit.tree._dndContainer",null,{constructor:function(_ea,_eb){this.tree=_ea;this.node=_ea.domNode;_e8.mixin(this,_eb);this.containerState="";_e7.add(this.node,"dojoDndContainer");this.events=[on(this.node,_e9.enter,_e8.hitch(this,"onOverEvent")),on(this.node,_e9.leave,_e8.hitch(this,"onOutEvent")),_e5.after(this.tree,"_onNodeMouseEnter",_e8.hitch(this,"onMouseOver"),true),_e5.after(this.tree,"_onNodeMouseLeave",_e8.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_ec){this.current=_ec;},onMouseOut:function(){this.current=null;},_changeState:function(_ed,_ee){var _ef="dojoDnd"+_ed;var _f0=_ed.toLowerCase()+"State";_e7.replace(this.node,_ef+_ee,_ef+this[_f0]);this[_f0]=_ee;},_addItemClass:function(_f1,_f2){_e7.add(_f1,"dojoDndItem"+_f2);},_removeItemClass:function(_f3,_f4){_e7.remove(_f3,"dojoDndItem"+_f4);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/promise/all","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/errors/create","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./a11yclick","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","./_KeyNavMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector","dojo/query!css2"],function(_f5,_f6,_f7,_f8,_f9,_fa,all,dom,_fb,_fc,_fd,_fe,_ff,has,_100,keys,lang,on,_101,_102,when,_103,_104,_105,_106,_107,_108,_109,_10a,_10b,_10c,_10d,_10e,_10f,_110,_111){function _112(d){return lang.delegate(d.promise||d,{addCallback:function(_113){this.then(_113);},addErrback:function(_114){this.otherwise(_114);}});};var _115=_f9("dijit._TreeNode",[_107,_108,_109,_10a,_10b],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_10d,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_116){var _117=(Math.max(_116,0)*this.tree._nodePixelIndent)+"px";_fd.set(this.domNode,"backgroundPosition",_117+" 0px");_fd.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_117);_f5.forEach(this.getChildren(),function(_118){_118.set("indent",_116+1);});this._set("indent",_116);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_119=tree.model;if(tree._v10Compat&&item===_119.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_11a,_11b){var _11c="_"+_11a+"Class";var _11d=_11a+"Node";var _11e=this[_11c];this[_11c]=this.tree["get"+_11b+"Class"](item,this.isExpanded);_fb.replace(this[_11d],this[_11c]||"",_11e||"");_fd.set(this[_11d],this.tree["get"+_11b+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _11f=this.getParent();if(!_11f||!_11f.rowNode||_11f.rowNode.style.display=="none"){_fb.add(this.domNode,"dijitTreeIsRoot");}else{_fb.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_120){var _121=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_122=["*","-","+","*"],idx=_120?0:(this.isExpandable?(this.isExpanded?1:2):3);_fb.replace(this.expandoNode,_121[idx],_121);this.expandoNodeText.innerHTML=_122[idx];},expand:function(){if(this._expandDeferred){return _112(this._expandDeferred);}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_fb.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var _123=_ff.wipeIn({node:this.containerNode,duration:_106.defaultDuration});var def=(this._expandDeferred=new _fa(function(){_123.stop();}));_f6.after(_123,"onEnd",function(){def.resolve(true);},true);_123.play();return _112(def);},collapse:function(){if(this._collapseDeferred){return _112(this._collapseDeferred);}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_fb.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _124=_ff.wipeOut({node:this.containerNode,duration:_106.defaultDuration});var def=(this._collapseDeferred=new _fa(function(){_124.stop();}));_f6.after(_124,"onEnd",function(){def.resolve(true);},true);_124.play();return _112(def);},indent:0,setChildItems:function(_125){var tree=this.tree,_126=tree.model,defs=[];var _127=this.getChildren();_f5.forEach(_127,function(_128){_109.prototype.removeChild.call(this,_128);},this);this.defer(function(){_f5.forEach(_127,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _129(node){var id=_126.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _12a=_f5.indexOf(ary,node);if(_12a!=-1){ary.splice(_12a,1);}}_f5.forEach(node.getChildren(),_129);};_129(node);if(tree.persist){var _12b=_f5.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_12b.length)==_12b){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}node.destroyRecursive();}});});this.state="Loaded";if(_125&&_125.length>0){this.isExpandable=true;_f5.forEach(_125,function(item){var id=_126.getIdentity(item),_12c=tree._itemNodesMap[id],node;if(_12c){for(var i=0;i<_12c.length;i++){if(_12c[i]&&!_12c[i].getParent()){node=_12c[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_126.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_12c){_12c.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_f5.forEach(this.getChildren(),function(_12d){_12d._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _112(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _12e=this.getChildren();if(_12e.length==0){this.isExpandable=false;this.collapse();}_f5.forEach(_12e,function(_12f){_12f._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_130){this.labelNode.setAttribute("aria-selected",_130?"true":"false");_fb.toggle(this.rowNode,"dijitTreeRowSelected",_130);},focus:function(){_104.focus(this.focusNode);}});if(has("dojo-bidi")){_115.extend({_setTextDirAttr:function(_131){if(_131&&((this.textDir!=_131)||!this._created)){this._set("textDir",_131);this.applyTextDir(this.labelNode);_f5.forEach(this.getChildren(),function(_132){_132.set("textDir",_131);},this);}}});}var Tree=_f9("dijit.Tree",[_107,_10c,_108,_10b],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_10e,persist:false,autoExpand:false,dndController:_111,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_133,_134){_101.publish(this.id,lang.mixin({tree:this,event:_133},_134||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _fa();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_102.enter),function(evt){self._onNodeMouseEnter(_105.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_102.leave),function(evt){self._onNodeMouseLeave(_105.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_103.press),function(evt){self._onNodePress(_105.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_103),function(evt){self._onClick(_105.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_105.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_f6.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_f6.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_f6.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _135={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_135[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_135);}this._load();this.onLoadDeferred=_112(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_100.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _136={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_136.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_136.getChildren=lang.hitch(this,function(item,_137,_138){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_137,_138);});}this.model=new _110(_136);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);this.rootLoadingIndicator.style.display="none";}this.containerNode.appendChild(rn.domNode);var _139=this.model.getIdentity(item);if(this._itemNodesMap[_139]){this._itemNodesMap[_139].push(rn);}else{this._itemNodesMap[_139]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){this.rootLoadingIndicator.style.display="none";this.expandChildrenDeferred.resolve(true);}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _13a=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_13a]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_13b){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _13c=_f5.map(_13b,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _13d=[];_f5.forEach(_13c,function(id){_13d=_13d.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_13d);}));},_setPathAttr:function(path){if(path.length){return _112(this.set("paths",[path]).then(function(_13e){return _13e[0];}));}else{return _112(this.set("paths",[]).then(function(_13f){return _13f[0];}));}},_setPathsAttr:function(_140){var tree=this;function _141(path,_142){var _143=path.shift();var _144=_f5.filter(_142,function(node){return node.getIdentity()==_143;})[0];if(!!_144){if(path.length){return tree._expandNode(_144).then(function(){return _141(path,_144.getChildren());});}else{return _144;}}else{throw new Tree.PathError("Could not expand path at "+_143);}};return _112(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_f5.map(_140,function(path){path=_f5.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){return _141(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_145){tree.set("selectedNodes",_145);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_146){this.dndController.setSelection(_146);},expandAll:function(){var _147=this;function _148(node){return _147._expandNode(node).then(function(){var _149=_f5.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_f5.map(_149,_148));});};return _112(_148(this.rootNode));},collapseAll:function(){var _14a=this;function _14b(node){var _14c=_f5.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_f5.map(_14c,_14b));if(!node.isExpanded||(node==_14a.rootNode&&!_14a.showRoot)){return defs;}else{return defs.then(function(){return _14a._collapseNode(node);});}};return _112(_14b(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_14d){return (!item||this.model.mayHaveChildren(item))?(_14d?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _14e=this._getNext(node);if(_14e&&_14e.isTreeNode){this.focusNode(_14e);}},_onUpArrow:function(evt,node){var _14f=node.getPreviousSibling();if(_14f){node=_14f;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _150=node.getChildren();node=_150[_150.length-1];}}else{var _151=node.getParent();if(!(!this.showRoot&&_151===this.rootNode)){node=_151;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(evt,node){if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(evt,node){if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _152=node.getParent();if(_152&&_152.isTreeNode&&!(!this.showRoot&&_152===this.rootNode)){this.focusNode(_152);}}},focusLastChild:function(){var node=this._getLast();if(node&&node.isTreeNode){this.focusNode(node);}},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_getLast:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();if(!c.length){break;}node=c[c.length-1];}return node;},_getNext:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _153=node.getNextSibling();if(_153){return _153;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_154){return dom.isDescendant(node,_154.expandoNode)||dom.isDescendant(node,_154.expandoNodeText);},_onNodePress:function(_155,e){this.focusNode(_155);},__click:function(_156,e,_157,func){var _158=e.target,_159=this.isExpandoNode(_158,_156);if(_156.isExpandable&&(_157||_159)){this._onExpandoClick({node:_156});}else{this._publish("execute",{item:_156.item,node:_156,evt:e});this[func](_156.item,_156,e);this.focusNode(_156);}e.stopPropagation();e.preventDefault();},_onClick:function(_15a,e){this.__click(_15a,e,this.openOnClick,"onClick");},_onDblClick:function(_15b,e){this.__click(_15b,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_15c){var node=_15c.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){_100.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_100.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst();},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="Loading"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _15d=this.model,item=node.item,_15e=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _fa();_15d.getChildren(item,function(_15f){node.unmarkProcessing();node.setChildItems(_15f).then(function(){node._loadDeferred.resolve(_15f);});},function(err){console.error(_15e,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}var def=node._loadDeferred.then(lang.hitch(this,function(){var def2=node.expand();this.onOpen(node.item,node);this._state(node,true);return def2;}));this._startPaint(def);return def;},focusNode:function(node){var _160=this.domNode.scrollLeft;this.focusChild(node);this.domNode.scrollLeft=_160;},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _161=this.model,_162=_161.getIdentity(item),_163=this._itemNodesMap[_162];if(_163){var _164=this.getLabel(item),_165=this.getTooltip(item);_f5.forEach(_163,function(node){node.set({item:item,label:_164,tooltip:_165});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_166,_167){var _168=this.model,_169=_168.getIdentity(_166),_16a=this._itemNodesMap[_169];if(_16a){_f5.forEach(_16a,function(_16b){_16b.setChildItems(_167);});}},_onItemDelete:function(item){var _16c=this.model,_16d=_16c.getIdentity(item),_16e=this._itemNodesMap[_16d];if(_16e){_f5.forEach(_16e,function(node){this.dndController.removeTreeNode(node);var _16f=node.getParent();if(_16f){_16f.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_16d];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_f8(this.cookieName);if(oreo){_f5.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_170){if(!this.persist){return false;}var path=_f5.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_170){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}this._saveExpandedNodes();}},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_f8(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_171){if(_171){_fc.setMarginBox(this.domNode,_171);}this._nodePixelIndent=_fc.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _115(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_172){if(_172&&this.textDir!=_172){this._set("textDir",_172);this.rootNode.set("textDir",_172);}}});}Tree.PathError=_fe("TreePathError");Tree._TreeNode=_115;return Tree;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_173,dom,_174,lang,on,has,_175,_176,win){var _177=has("touch");var ios4=has("ios")<5;var _178=navigator.pointerEnabled||navigator.msPointerEnabled,_179=(function(){var _17a={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_17a[type]=!navigator.pointerEnabled?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _17a;})();var _17b,_17c,_17d,_17e,_17f,_180,_181,_182;var _183;function _184(_185,_186,_187){if(_178&&_187){return function(node,_188){return on(node,_187,_188);};}else{if(_177){return function(node,_189){var _18a=on(node,_186,function(evt){_189.call(this,evt);_183=(new Date()).getTime();}),_18b=on(node,_185,function(evt){if(!_183||(new Date()).getTime()>_183+1000){_189.call(this,evt);}});return {remove:function(){_18a.remove();_18b.remove();}};};}else{return function(node,_18c){return on(node,_185,_18c);};}}};function _18d(node){do{if(node.dojoClick!==undefined){return node.dojoClick;}}while(node=node.parentNode);};function _18e(e,_18f,_190){_17c=!e.target.disabled&&_18d(e.target);if(_17c){_17d=e.target;_17e=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_17f=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_180=(typeof _17c=="object"?_17c.x:(typeof _17c=="number"?_17c:0))||4;_181=(typeof _17c=="object"?_17c.y:(typeof _17c=="number"?_17c:0))||4;if(!_17b){_17b=true;win.doc.addEventListener(_18f,function(e){_17c=_17c&&(e.changedTouches?e.changedTouches[0].target:e.target)==_17d&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_17e)<=_180&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_17f)<=_181;},true);win.doc.addEventListener(_190,function(e){if(_17c){_182=(new Date()).getTime();var _191=e.target;if(_191.tagName==="LABEL"){_191=dom.byId(_191.getAttribute("for"))||_191;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _192=document.createEvent("MouseEvents");_192._dojo_click=true;_192.initMouseEvent("click",true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);setTimeout(function(){on.emit(_191,"click",_192);},0);}},true);function _193(type){win.doc.addEventListener(type,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_182+1000&&!(e.target.tagName=="INPUT"&&_174.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(e.target.tagName!="INPUT"||e.target.type=="radio"||e.target.type=="checkbox")&&e.target.tagName!="TEXTAREA"&&e.target.tagName!="AUDIO"&&e.target.tagName!="VIDEO"){e.preventDefault();}}},true);};_193("click");_193("mousedown");_193("mouseup");}}};var _194;if(_177){if(_178){_176(function(){win.doc.addEventListener(_179.down,function(evt){_18e(evt,_179.move,_179.up);},true);});}else{_176(function(){_194=win.body();win.doc.addEventListener("touchstart",function(evt){_183=(new Date()).getTime();var _195=_194;_194=evt.target;on.emit(_195,"dojotouchout",{relatedTarget:_194,bubbles:true});on.emit(_194,"dojotouchover",{relatedTarget:_195,bubbles:true});_18e(evt,"touchmove","touchend");},true);function _196(evt){var _197=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_197.touches=evt.touches;_197.altKey=evt.altKey;_197.changedTouches=evt.changedTouches;_197.ctrlKey=evt.ctrlKey;_197.metaKey=evt.metaKey;_197.shiftKey=evt.shiftKey;_197.targetTouches=evt.targetTouches;}return _197;};on(win.doc,"touchmove",function(evt){_183=(new Date()).getTime();var _198=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_198){if(_194!==_198){on.emit(_194,"dojotouchout",{relatedTarget:_198,bubbles:true});on.emit(_198,"dojotouchover",{relatedTarget:_194,bubbles:true});_194=_198;}if(!on.emit(_198,"dojotouchmove",_196(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_183=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_196(evt));});});}}var _199={press:_184("mousedown","touchstart",_179.down),move:_184("mousemove","dojotouchmove",_179.move),release:_184("mouseup","dojotouchend",_179.up),cancel:_184(_175.leave,"touchcancel",_177?_179.cancel:null),over:_184("mouseover","dojotouchover",_179.over),out:_184("mouseout","dojotouchout",_179.out),enter:_175._eventHandler(_184("mouseover","dojotouchover",_179.over)),leave:_175._eventHandler(_184("mouseout","dojotouchout",_179.out))};1&&(dojo.touch=_199);return _199;});},"dijit/tree/ObjectStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/when"],function(_19a,_19b,_19c,lang,when){return _19c("dijit.tree.ObjectStoreModel",null,{store:null,labelAttr:"name",labelType:"text",root:null,query:null,constructor:function(args){lang.mixin(this,args);this.childrenCache={};},destroy:function(){for(var id in this.childrenCache){this.childrenCache[id].close&&this.childrenCache[id].close();}},getRoot:function(_19d,_19e){if(this.root){_19d(this.root);}else{var res;when(res=this.store.query(this.query),lang.hitch(this,function(_19f){if(_19f.length!=1){throw new Error("dijit.tree.ObjectStoreModel: root query returned "+_19f.length+" items, but must return exactly one");}this.root=_19f[0];_19d(this.root);if(res.observe){res.observe(lang.hitch(this,function(obj){this.onChange(obj);}),true);}}),_19e);}},mayHaveChildren:function(){return true;},getChildren:function(_1a0,_1a1,_1a2){var id=this.store.getIdentity(_1a0);if(this.childrenCache[id]){when(this.childrenCache[id],_1a1,_1a2);return;}var res=this.childrenCache[id]=this.store.getChildren(_1a0);when(res,_1a1,_1a2);if(res.observe){res.observe(lang.hitch(this,function(obj,_1a3,_1a4){this.onChange(obj);if(_1a3!=_1a4){when(res,lang.hitch(this,"onChildrenChange",_1a0));}}),true);}},isItem:function(){return true;},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){return item[this.labelAttr];},newItem:function(args,_1a5,_1a6,_1a7){return this.store.put(args,{parent:_1a5,before:_1a7});},pasteItem:function(_1a8,_1a9,_1aa,_1ab,_1ac,_1ad){if(!_1ab){var _1ae=[].concat(this.childrenCache[this.getIdentity(_1a9)]),_1af=_19a.indexOf(_1ae,_1a8);_1ae.splice(_1af,1);this.onChildrenChange(_1a9,_1ae);}return this.store.put(_1a8,{overwrite:true,parent:_1aa,before:_1ad});},onChange:function(){},onChildrenChange:function(){},onDelete:function(){}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_1b0,_1b1,_1b2,lang,_1b3){return _1b1("dijit.tree.ForestStoreModel",_1b3,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_1b4){this.root={store:this,root:true,id:_1b4.rootId,label:_1b4.rootLabel,children:_1b4.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_1b5,_1b6,_1b7){if(_1b5===this.root){if(this.root.children){_1b6(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1b8){this.root.children=_1b8;_1b6(_1b8);}),onError:_1b7});}}else{this.inherited(arguments);}},isItem:function(_1b9){return (_1b9===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_1ba){if(_1ba.identity==this.root.id){var _1bb=_1ba.scope||_1b2.global;if(_1ba.onItem){_1ba.onItem.call(_1bb,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_1bc,_1bd){if(_1bc===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_1be,_1bf,_1c0,_1c1,_1c2){if(_1bf===this.root){if(!_1c1){this.onLeaveRoot(_1be);}}this.inherited(arguments,[_1be,_1bf===this.root?null:_1bf,_1c0===this.root?null:_1c0,_1c1,_1c2]);if(_1c0===this.root){this.onAddToRoot(_1be);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _1c3=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1c4){this.root.children=_1c4;if(_1c3.length!=_1c4.length||_1b0.some(_1c3,function(item,idx){return _1c4[idx]!=item;})){this.onChildrenChange(this.root,_1c4);}})});},onNewItem:function(item,_1c5){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_1b0.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_1c6,_1c7,_1c8){this._requeryTop();this.inherited(arguments);}});});},"url:dijit/templates/Tree.html":"<div role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n\t<div class=\"dijitTreeExpando dijitTreeExpandoLoading\" data-dojo-attach-point=\"rootLoadingIndicator\"></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\">\n\t</div>\n</div>\n","url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\"\n\t\t><span data-dojo-attach-point=\"expandoNode\" class=\"dijitInline dijitTreeExpando\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTreeIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span data-dojo-attach-point=\"labelNode,focusNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t   tabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeNodeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","*noref":1}});define("dijit/_dijit_tree",[],1);require(["dijit/Tree","dijit/tree/dndSource","dijit/tree/TreeStoreModel","dijit/tree/ForestStoreModel","dijit/tree/ObjectStoreModel"]);
}catch(e){console.log("Module 'dijit_tree_19': ",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/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_1,_2,_3,_4){return _1("dijit.form.ToggleButton",[_3,_4],{baseClass:"dijitToggleButton",setChecked:function(_5){_2.deprecated("setChecked("+_5+") is deprecated. Use set('checked',"+_5+") instead.","","2.0");this.set("checked",_5);}});});},"dijit/layout/SplitContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","../registry","../_WidgetBase","./_LayoutWidget"],function(_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10,on,has,_11,_12,_13){var _14=_8("dijit.layout.SplitContainer",_13,{constructor:function(){_f.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2);},activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited(arguments);this.sizers=[];if(has("mozilla")){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _15=this.ownerDocument.createElement("div");this.virtualSizer=_15;_15.style.position="relative";_15.style.zIndex=10;_15.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_15);_9.setSelectable(_15,false);},destroy:function(){delete this.virtualSizer;if(this._ownconnects){var h;while(h=this._ownconnects.pop()){h.remove();}}this.inherited(arguments);},startup:function(){if(this._started){return;}_6.forEach(this.getChildren(),function(_16,i,_17){this._setupChild(_16);if(i<_17.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_18){this.inherited(arguments);_18.domNode.style.position="absolute";_a.add(_18.domNode,"dijitSplitPane");},_onSizerMouseDown:function(e){if(e.target.id){for(var i=0;i<this.sizers.length;i++){if(this.sizers[i].id==e.target.id){break;}}if(i<this.sizers.length){this.beginSizing(e,i);}}},_addSizer:function(_19){_19=_19===undefined?this.sizers.length:_19;var _1a=this.ownerDocument.createElement("div");_1a.id=_11.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_19,0,_1a);this.domNode.appendChild(_1a);_1a.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _1b=this.ownerDocument.createElement("div");_1b.className="thumb";_1a.appendChild(_1b);this.connect(_1a,"onmousedown","_onSizerMouseDown");_9.setSelectable(_1a,false);},removeChild:function(_1c){if(this.sizers.length){var i=_6.indexOf(this.getChildren(),_1c);if(i!=-1){if(i==this.sizers.length){i--;}_b.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_1d,_1e){if(typeof _1e=="undefined"||_1e=="last"){_1e=this.getChildren().length;}this.inherited(arguments,[_1d,_1e]);if(this._started){var _1f=this.getChildren();if(_1f.length>1){this._addSizer(_1e);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _20=this.getChildren();if(!_20.length){return;}var _21=this.isHorizontal?this.paneWidth:this.paneHeight;if(_20.length>1){_21-=this.sizerWidth*(_20.length-1);}var _22=0;_6.forEach(_20,function(_23){_22+=_23.sizeShare;});var _24=_21/_22;var _25=0;_6.forEach(_20.slice(0,_20.length-1),function(_26){var _27=Math.round(_24*_26.sizeShare);_26.sizeActual=_27;_25+=_27;});_20[_20.length-1].sizeActual=_21-_25;this._checkSizes();var pos=0;var _28=_20[0].sizeActual;this._movePanel(_20[0],pos,_28);_20[0].position=pos;pos+=_28;if(!this.sizers){return;}_6.some(_20.slice(1),function(_29,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;_28=_29.sizeActual;this._movePanel(_29,pos,_28);_29.position=pos;pos+=_28;},this);},_movePanel:function(_2a,pos,_2b){var box;if(this.isHorizontal){_2a.domNode.style.left=pos+"px";_2a.domNode.style.top=0;box={w:_2b,h:this.paneHeight};if(_2a.resize){_2a.resize(box);}else{_c.setMarginBox(_2a.domNode,box);}}else{_2a.domNode.style.left=0;_2a.domNode.style.top=pos+"px";box={w:this.paneWidth,h:_2b};if(_2a.resize){_2a.resize(box);}else{_c.setMarginBox(_2a.domNode,box);}}},_moveSlider:function(_2c,pos,_2d){if(this.isHorizontal){_2c.style.left=pos+"px";_2c.style.top=0;_c.setMarginBox(_2c,{w:_2d,h:this.paneHeight});}else{_2c.style.left=0;_2c.style.top=pos+"px";_c.setMarginBox(_2c,{w:this.paneWidth,h:_2d});}},_growPane:function(_2e,_2f){if(_2e>0){if(_2f.sizeActual>_2f.sizeMin){if((_2f.sizeActual-_2f.sizeMin)>_2e){_2f.sizeActual=_2f.sizeActual-_2e;_2e=0;}else{_2e-=_2f.sizeActual-_2f.sizeMin;_2f.sizeActual=_2f.sizeMin;}}}return _2e;},_checkSizes:function(){var _30=0;var _31=0;var _32=this.getChildren();_6.forEach(_32,function(_33){_31+=_33.sizeActual;_30+=_33.sizeMin;});if(_30<=_31){var _34=0;_6.forEach(_32,function(_35){if(_35.sizeActual<_35.sizeMin){_34+=_35.sizeMin-_35.sizeActual;_35.sizeActual=_35.sizeMin;}});if(_34>0){var _36=this.isDraggingLeft?_32.reverse():_32;_6.forEach(_36,function(_37){_34=this._growPane(_34,_37);},this);}}else{_6.forEach(_32,function(_38){_38.sizeActual=Math.round(_31*(_38.sizeMin/_30));});}},beginSizing:function(e,i){var _39=this.getChildren();this.paneBefore=_39[i];this.paneAfter=_39[i+1];this.paneBefore.sizeBeforeDrag=this.paneBefore.sizeActual;this.paneAfter.sizeBeforeDrag=this.paneAfter.sizeActual;this.paneAfter.positionBeforeDrag=this.paneAfter.position;this.isSizing=true;this.sizingSplitter=this.sizers[i];this.sizingSplitter.positionBeforeDrag=_d.get(this.sizingSplitter,(this.isHorizontal?"left":"top"));if(!this.cover){this.cover=_b.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.startPoint=this.lastPoint=(this.isHorizontal?e.pageX:e.pageY);this.maxDelta=this.paneAfter.sizeActual-this.paneAfter.sizeMin;this.minDelta=-1*(this.paneBefore.sizeActual-this.paneBefore.sizeMin);if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(this.ownerDocument.documentElement,"mousemove",_10.hitch(this,"changeSizing")),on(this.ownerDocument.documentElement,"mouseup",_10.hitch(this,"endSizing"))];_e.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;var _3a=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);if(this.activeSizing){this._updateSize(_3a);}else{this._moveSizingLine(_3a);}_e.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}var _3b=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);this._updateSize(_3b);this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},_updateSize:function(_3c){this.paneBefore.sizeActual=this.paneBefore.sizeBeforeDrag+_3c;this.paneAfter.position=this.paneAfter.positionBeforeDrag+_3c;this.paneAfter.sizeActual=this.paneAfter.sizeBeforeDrag-_3c;_6.forEach(this.getChildren(),function(_3d){_3d.sizeShare=_3d.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine(0);_c.setMarginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(_3e){var pos=_3e+this.sizingSplitter.positionBeforeDrag;_d.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_6.forEach(this.getChildren(),function(_3f,i){var _40=this._getCookieName(i);var _41=_7(_40);if(_41){var pos=parseInt(_41);if(typeof pos=="number"){_3f.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_6.forEach(this.getChildren(),function(_42,i){_7(this._getCookieName(i),_42.sizeShare,{expires:365});},this);}});_14.ChildWidgetProperties={sizeMin:10,sizeShare:10};_10.extend(_12,_14.ChildWidgetProperties);return _14;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom","../a11yclick"],function(_43,_44,_45,_46,_47,fx,_48,on,_49,has,_4a,_4b,_4c,_4d,_4e,_4f,_50,_51,_52,_53){var _54=_44("dijit.layout.ScrollingTabController",[_4d,_4f],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_4b,useMenu:true,useSlider:true,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_45.add(n,"tabStrip-disabled");}_45.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_47.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_48.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_55,_56){this.inherited(arguments);_47.set(this.containerNode,"width",(_47.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_57,_58){var _59=this.pane2button(_57.id);if(this._selectedTab===_59.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_49("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_46.getMarginSize(btn).w;return true;}else{_47.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _5a=this.getChildren();if(_5a.length){var _5b=_5a[this.isLeftToRight()?0:_5a.length-1].domNode,_5c=_5a[this.isLeftToRight()?_5a.length-1:0].domNode;return _5c.offsetLeft+_5c.offsetWidth-_5b.offsetLeft;}else{return 0;}},_enableBtn:function(_5d){var _5e=this._getTabsWidth();_5d=_5d||_47.get(this.scrollNode,"width");return _5e>0&&_5d<_5e;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_4e.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_46.setContentSize(this.domNode,cb);var _5f=this._enableBtn(this._contentBox.w);this._buttons.style("display",_5f?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_4e.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_47.get(this.containerNode,"width")-_47.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _60=_47.get(this.containerNode,"width")-_47.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_60);}},onSelectChild:function(_61){var tab=this.pane2button(_61.id);if(!tab){return;}var _62=tab.domNode;if(_62!=this._selectedTab){this._selectedTab=_62;if(this._postResize){var sl=this._getScroll();if(sl>_62.offsetLeft||sl+_47.get(this.scrollNode,"width")<_62.offsetLeft+_47.get(_62,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _63=this.getChildren(),_64=_47.get(this.scrollNode,"width"),_65=_47.get(this.containerNode,"width"),_66=_65-_64,_67=this._getTabsWidth();if(_63.length&&_67>_64){return {min:this.isLeftToRight()?0:_63[_63.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_63[_63.length-1].domNode.offsetLeft+_63[_63.length-1].domNode.offsetWidth)-_64:_66};}else{var _68=this.isLeftToRight()?0:_66;return {min:_68,max:_68};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_69=_47.get(this.scrollNode,"width"),_6a=this._getScrollBounds();var pos=(n.offsetLeft+_47.get(n,"width")/2)-_69/2;pos=Math.min(Math.max(pos,_6a.min),_6a.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _6b=this._getScrollBounds();x=Math.min(Math.max(x,_6b.min),_6b.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _6c=this,w=this.scrollNode,_6d=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _6e=w.scrollLeft,_6f=_6c._convertToScrollLeft(x);_6d.curve=new fx._Line(_6e,_6f);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_6d;this._setButtonClass(x);return _6d;},_getBtnNode:function(e){var n=e.target;while(n&&!_45.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_70,_71){if(_71&&_45.contains(_71,"dijitTabDisabled")){return;}var _72=_47.get(this.scrollNode,"width");var d=(_72*0.75)*_70;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_73){var _74=this._getScrollBounds();this._leftBtn.set("disabled",_73<=_74.min);this._rightBtn.set("disabled",_73>=_74.max);}});var _75=_44("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_4c,tabIndex:"",isFocusable:function(){return false;}});_44("dijit.layout._ScrollingTabControllerButton",[_52,_75]);_44("dijit.layout._ScrollingTabControllerMenuButton",[_52,_53,_75],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_76){this.dropDown=new _50({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _77=_4a.byId(this.containerId);_43.forEach(_77.getChildren(),function(_78){var _79=new _51({id:_78.id+"_stcMi",label:_78.title,iconClass:_78.iconClass,disabled:_78.disabled,ownerDocument:this.ownerDocument,dir:_78.dir,lang:_78.lang,textDir:_78.textDir||_77.textDir,onClick:function(){_77.selectChild(_78);}});this.dropDown.addChild(_79);},this);_76();},closeDropDown:function(_7a){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _54;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_7b,dom,has,_7c){var _7d=_7b("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _7e=e.defaultPrevented;if(!_7e&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var _7f=this.domNode;_7f.parentNode;_7f=_7f.parentNode){var _80=_7c.byNode(_7f);if(_80&&typeof _80._onSubmit=="function"){_80._onSubmit(e);e.preventDefault();_7e=true;break;}}}return !_7e;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_81){this._set("label",_81);var _82=this.containerNode||this.focusNode;_82.innerHTML=_81;}});if(has("dojo-bidi")){_7d=_7b("dijit.form._ButtonMixin",_7d,{_setLabelAttr:function(){this.inherited(arguments);var _83=this.containerNode||this.focusNode;this.applyTextDir(_83);}});}return _7d;});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_84,_85,_86,has,_87,_88,_89,_8a,_8b,_8c){if(has("dijit-legacy-requires")){_89(0,function(){var _8d=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_84(_8d);});}var _8e=_85("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_8a,_8b],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_8c,_setValueAttr:"valueNode",_setNameAttr:function(_8f){if(this.valueNode){this.valueNode.setAttribute("name",_8f);}},_fillContent:function(_90){if(_90&&(!this.params||!("label" in this.params))){var _91=_88.trim(_90.innerHTML);if(_91){this.label=_91;}}},_setShowLabelAttr:function(val){if(this.containerNode){_86.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_92){_87.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_92);},_setLabelAttr:function(_93){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=_88.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_8e=_85("dijit.form.Button",_8e,{_setLabelAttr:function(_94){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_95){if(this._created&&this.textDir!=_95){this._set("textDir",_95);this._setLabelAttr(this.label);}}});}return _8e;});},"dijit/layout/_TabContainerBase":function(){define(["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_96,_97,_98,_99,_9a,_9b,_9c,_9d){return _9a("dijit.layout._TabContainerBase",[_97,_99],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_96,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_9d.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_9b.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_9b.add(this.domNode,"dijitTabContainerNested");_9b.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_9b.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_9b.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_9b.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_9b.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _9e=this.tabPosition.replace(/-h/,"");this.tablist.region=_9e;var _9f=[this.tablist,{domNode:this.tablistSpacer,region:_9e},{domNode:this.containerNode,region:"center"}];_98.layoutChildren(this.domNode,this._contentBox,_9f);this._containerContentBox=_98.marginBox2contentBox(this.containerNode,_9f[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _a0=_9c.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_a0});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_a1){if(this.tablist){this.tablist.destroy(_a1);}this.inherited(arguments);}});});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_a2,dom,_a3,_a4,has,_a5,_a6,_a7,_a8,_a9,_aa,_ab){var _ac=_a2("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_a7.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_ab,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(_ad){this._set("closeButton",_ad);_a4.toggle(this.domNode,"dijitClosable",_ad);this.closeNode.style.display=_ad?"":"none";if(_ad){var _ae=_a5.getLocalization("dijit","common");if(this.closeNode){_a3.set(this.closeNode,"title",_ae.itemClose);}}},_setDisabledAttr:function(_af){this.inherited(arguments);if(this.closeNode){if(_af){_a3.remove(this.closeNode,"title");}else{var _b0=_a5.getLocalization("dijit","common");_a3.set(this.closeNode,"title",_b0.itemClose);}}},_setLabelAttr:function(_b1){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=_a6.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_ac=_a2("dijit.layout._TabButton",_ac,{_setLabelAttr:function(_b2){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _b3=_a2("dijit.layout.TabController",_a7,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_ac,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _b4=new _a9({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(_b5){return _a4.contains(_b5,"dijitClosable")&&!_a4.contains(_b5,"dijitTabDisabled");}});this.own(_b4);var _b6=_a5.getLocalization("dijit","common"),_b7=this;_b4.addChild(new _aa({label:_b6.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _b8=_a8.byNode(this.getParent().currentTarget);_b7.onCloseButtonClick(_b8.page);}}));}});_b3.TabButton=_ac;return _b3;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_b9,_ba,dom,_bb,_bc,_bd,_be,has,_bf,_c0,on,_c1,_c2,_c3,_c4,_c5){return _b9("dijit._HasDropDown",_c5,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_c1.release,_c0.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _c6=this.dropDown,_c7=false;if(e&&this._opened){var c=_bd.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&&!_c7){if(_bc.contains(t,"dijitPopup")){_c7=true;}else{t=t.parentNode;}}if(_c7){t=e.target;if(_c6.onItemClick){var _c8;while(t&&!(_c8=_c2.byNode(t))){t=t.parentNode;}if(_c8&&_c8.onClick&&_c8.getParent){_c8.getParent().onItemClick(_c8,e);}}return;}}}if(this._opened){if(_c6.focus&&(_c6.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_c6.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _c9={"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";_bc.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_c9+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _ca=this.focusNode||this.domNode;this.own(on(this._buttonNode,_c1.press,_c0.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_c0.hitch(this,"_onDropDownClick")),on(_ca,"keydown",_c0.hitch(this,"_onKey")),on(_ca,"keyup",_c0.hitch(this,"_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,_cb=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==_bf.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==_bf.DOWN_ARROW||((e.keyCode==_bf.ENTER||(e.keyCode==_bf.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_cb.tagName||"").toLowerCase()!=="input"||(_cb.type&&_cb.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_c0.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_cc){_cc();},loadAndOpenDropDown:function(){var d=new _ba(),_cd=_c0.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_cd);}else{_cd();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _ce=this.dropDown,_cf=_ce.domNode,_d0=this._aroundNode||this.domNode,_d1=this;var _d2=_c4.open({parent:this,popup:_ce,around:_d0,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){_d1.closeDropDown(true);},onCancel:function(){_d1.closeDropDown(true);},onClose:function(){_bb.set(_d1._popupStateNode,"popupActive",false);_bc.remove(_d1._popupStateNode,"dijitHasDropDownOpen");_d1._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_d0.offsetWidth>_ce._popupWrapper.offsetWidth)){var _d3=_d0.offsetWidth-_ce._popupWrapper.offsetWidth;var _d4={w:_ce.domNode.offsetWidth+_d3};if(_c0.isFunction(_ce.resize)){_ce.resize(_d4);}else{_bd.setMarginBox(_cf,_d4);}if(_d2.corner[1]=="R"){_ce._popupWrapper.style.left=(_ce._popupWrapper.style.left.replace("px","")-_d3)+"px";}}_bb.set(this._popupStateNode,"popupActive","true");_bc.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_ce.id);if(_cf.getAttribute("role")!=="presentation"&&!_cf.getAttribute("aria-labelledby")){_cf.setAttribute("aria-labelledby",this.id);}return _d2;},closeDropDown:function(_d5){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_d5){this.focus();}_c4.close(this.dropDown);this._opened=false;}}});});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_d6,_d7,_d8,_d9,_da,_db,_dc,_dd,_de,on,_df,_e0,_e1,_e2,_e3,_e4){var _e5=_d8("dijit.layout._Splitter",[_e1,_e2],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_d9.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _e6=_d7(this._cookieName);if(_e6){this.child.domNode.style[this.horizontal?"height":"width"]=_e6;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_e7=_db.getMarginBox(this.child.domNode)[dim],_e8=_d6.filter(this.container.getChildren(),function(_e9){return _e9.region=="center";})[0];var _ea=_db.getContentBox(_e8.domNode)[dim]-10;return Math.min(this.child.maxSize,_e7+_ea);},_startDrag:function(e){if(!this.cover){this.cover=_da.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_d9.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_da.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_d9.add(this.domNode,"dijitSplitterShadow");_da.place(this.fake,this.domNode,"after");}_d9.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_d9.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _eb=this._factor,_ec=this.horizontal,_ed=_ec?"pageY":"pageX",_ee=e[_ed],_ef=this.domNode.style,dim=_ec?"h":"w",_f0=_dc.getComputedStyle(this.child.domNode),_f1=_db.getMarginBox(this.child.domNode,_f0)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_db.getPadBorderExtents(this.child.domNode,_f0)[dim]+10),_f2=this.region,_f3=_f2=="top"||_f2=="bottom"?"top":"left",_f4=parseInt(_ef[_f3],10),_f5=this._resize,_f6=_de.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_df.move,this._drag=function(e,_f7){var _f8=e[_ed]-_ee,_f9=_eb*_f8+_f1,_fa=Math.max(Math.min(_f9,max),min);if(_f5||_f7){_f6(_fa);}_ef[_f3]=_f8+_f4+_eb*(_fa-_f9)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_df.release,_de.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_d9.toggle(this.domNode,"dijitSplitterHover",o);_d9.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_d9.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_da.destroy(this.fake);}_d9.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_d7(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _fb=this.horizontal;var _fc=1;switch(e.keyCode){case _fb?_dd.UP_ARROW:_dd.LEFT_ARROW:_fc*=-1;case _fb?_dd.DOWN_ARROW:_dd.RIGHT_ARROW:break;default:return;}var _fd=_db.getMarginSize(this.child.domNode)[_fb?"h":"w"]+this._factor*_fc;this.container._layoutChildren(this.child.id,Math.max(Math.min(_fd,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _fe=_d8("dijit.layout._Gutter",[_e1,_e2],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_d9.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _ff=_d8("dijit.layout.BorderContainer",_e3,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_e5,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_100){this.inherited(arguments);var _101=_100.region,ltr=_100.isLeftToRight();if(_101=="leading"){_101=ltr?"left":"right";}if(_101=="trailing"){_101=ltr?"right":"left";}if(_101){if(_101!="center"&&(_100.splitter||this.gutters)&&!_100._splitterWidget){var _102=_100.splitter?this._splitterClass:_fe;if(_de.isString(_102)){_102=_de.getObject(_102);}var _103=new _102({id:_100.id+"_splitter",container:this,child:_100,region:_101,live:this.liveSplitters});_103.isSplitter=true;_100._splitterWidget=_103;var _104=_101=="bottom"||_101==(this.isLeftToRight()?"right":"left");_da.place(_103.domNode,_100.domNode,_104?"before":"after");_103.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_105){var _106=_105._splitterWidget;if(_106){_106.destroy();delete _105._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _d6.filter(this.inherited(arguments),function(_107){return !_107.isSplitter;});},getSplitter:function(_108){return _d6.filter(this.getChildren(),function(_109){return _109.region==_108;})[0]._splitterWidget;},resize:function(_10a,_10b){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_dc.getComputedStyle(node);this.pe=_db.getPadExtents(node,this.cs);this.pe.r=_dc.toPixelValue(node,this.cs.paddingRight);this.pe.b=_dc.toPixelValue(node,this.cs.paddingBottom);_dc.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_10c,_10d){if(!this._borderBox||!this._borderBox.h){return;}var _10e=[];_d6.forEach(this._getOrderedChildren(),function(pane){_10e.push(pane);if(pane._splitterWidget){_10e.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_e4.layoutChildren(this.domNode,dim,_10e,_10c,_10d);},destroyRecursive:function(){_d6.forEach(this.getChildren(),function(_10f){var _110=_10f._splitterWidget;if(_110){_110.destroy();}delete _10f._splitterWidget;});this.inherited(arguments);}});_ff.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};_de.mixin(_ff.ChildWidgetProperties,_e3.ChildWidgetProperties);_de.extend(_e0,_ff.ChildWidgetProperties);_ff._Splitter=_e5;_ff._Gutter=_fe;return _ff;});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_111,_112,_113,fx,dom,_114,_115,_116,_117,keys,lang,has,_118,_119,_11a,_11b,_11c,_11d,_11e,_11f,_120,_121,_122){var _123=_113("dijit.layout._AccordionButton",[_11c,_11e,_11f],{templateString:_122,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _124=this.id.replace(" ","_");_114.set(this.titleTextNode,"id",_124+"_title");this.focusNode.setAttribute("aria-labelledby",_114.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _117.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _125=this.getParent();_125.selectChild(this.contentWidget,true);_119.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_126){this._set("selected",_126);this.focusNode.setAttribute("aria-expanded",_126?"true":"false");this.focusNode.setAttribute("aria-selected",_126?"true":"false");this.focusNode.setAttribute("tabIndex",_126?"0":"-1");}});if(has("dojo-bidi")){_123.extend({_setLabelAttr:function(_127){this._set("label",_127);_114.set(this.titleTextNode,"innerHTML",_127);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_128){this._set("title",_128);_114.set(this.titleTextNode,"title",_128);this.applyTextDir(this.titleTextNode);}});}var _129=_113("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_11c,_11f],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_116.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _12a=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_12a._buttonWidget=(new cls({contentWidget:_12a,label:_12a.title,title:_12a.tooltip,dir:_12a.dir,lang:_12a.lang,textDir:_12a.textDir||this.textDir,iconClass:_12a.iconClass,id:_12a.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_116.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_116.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _12b=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_12c,_12d){_12b.set("label",_12d);})),cw.watch("tooltip",lang.hitch(this,function(name,_12e,_12f){_12b.set("title",_12f);})),cw.watch("iconClass",lang.hitch(this,function(name,_130,_131){_12b.set("iconClass",_131);}))];},_setSelectedAttr:function(_132){this._set("selected",_132);this.button.set("selected",_132);if(_132){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_112.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_133){this.contentWidget.destroyRecursive(_133);}});if(has("dojo-bidi")){_129=_113("dijit.layout._AccordionInnerContainer",_129,{postCreate:function(){this.inherited(arguments);var _134=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_135,_136){_134.set("textDir",_136);}));}});}var _137=_113("dijit.layout.AccordionContainer",_120,{duration:_11a.defaultDuration,buttonWidget:_123,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _138=this.selectedChildWidget;if(!_138){return;}var _139=_138._wrapperWidget.domNode,_13a=_117.getMarginExtents(_139),_13b=_117.getPadBorderExtents(_139),_13c=_138._wrapperWidget.containerNode,_13d=_117.getMarginExtents(_13c),_13e=_117.getPadBorderExtents(_13c),_13f=this._contentBox;var _140=0;_112.forEach(this.getChildren(),function(_141){if(_141!=_138){_140+=_117.getMarginSize(_141._wrapperWidget.domNode).h;}});this._verticalSpace=_13f.h-_140-_13a.h-_13b.h-_13d.h-_13e.h-_138._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_13a.w-_13b.w-_13d.w-_13e.w};if(_138){_138.resize(this._containerContentBox);}},_setupChild:function(_142){_142._wrapperWidget=_129({contentWidget:_142,buttonWidget:this.buttonWidget,id:_142.id+"_wrapper",dir:_142.dir,lang:_142.lang,textDir:_142.textDir||this.textDir,parent:this});this.inherited(arguments);_116.place(_142.domNode,_142._wrapper,"replace");},removeChild:function(_143){if(_143._wrapperWidget){_116.place(_143.domNode,_143._wrapperWidget.domNode,"after");_143._wrapperWidget.destroy();delete _143._wrapperWidget;}_115.remove(_143.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _112.map(this.inherited(arguments),function(_144){return _144.declaredClass=="dijit.layout._AccordionInnerContainer"?_144.contentWidget:_144;},this);},destroy:function(){if(this._animation){this._animation.stop();}_112.forEach(this.getChildren(),function(_145){if(_145._wrapperWidget){_145._wrapperWidget.destroy();}else{_145.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_146){_146._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_147){_147._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_148,_149,_14a){if(has("ie")<8){_14a=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_148){_148._wrapperWidget.set("selected",true);var d=this._showChild(_148);if(this.doLayout&&_148.resize){_148.resize(this._containerContentBox);}}if(_149){_149._wrapperWidget.set("selected",false);if(!_14a){this._hideChild(_149);}}if(_14a){var _14b=_148._wrapperWidget.containerNode,_14c=_149._wrapperWidget.containerNode;var _14d=_148._wrapperWidget.containerNode,_14e=_117.getMarginExtents(_14d),_14f=_117.getPadBorderExtents(_14d),_150=_14e.h+_14f.h;_14c.style.height=(self._verticalSpace-_150)+"px";this._animation=new fx.Animation({node:_14b,duration:this.duration,curve:[1,this._verticalSpace-_150-1],onAnimate:function(_151){_151=Math.floor(_151);_14b.style.height=_151+"px";_14c.style.height=(self._verticalSpace-_150-_151)+"px";},onEnd:function(){delete self._animation;_14b.style.height="auto";_149._wrapperWidget.containerNode.style.display="none";_14c.style.height="auto";self._hideChild(_149);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_152){if(this.disabled||e.altKey||!(_152||e.ctrlKey)){return;}var c=e.keyCode;if((_152&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_152&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_11b(0,function(){var _153=["dijit/layout/AccordionPane"];_111(_153);});}_137._InnerContainer=_129;_137._Button=_123;return _137;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch","dojo/i18n!../nls/common"],function(_154,_155,_156,_157,keys,lang,on,_158,_159,_15a,_15b,_15c,_15d,_15e){var _15f=_155("dijit.layout._StackButton",_15e,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _160=_155("dijit.layout.StackController",[_15b,_15c,_15d],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_15f,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _15a.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_158.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_158.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_158.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_158.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_158.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _161=_15a.getEnclosingWidget(evt.target);if(_161!=this.containerNode&&!_161.disabled&&_161.page){for(var _162=evt.target;_162!==this.containerNode;_162=_162.parentNode){if(_156.contains(_162,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_161.page);break;}else{if(_162==_161.domNode){this.onButtonClick(_161.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_154.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _163=_15a.byId(this.containerId).containerNode,_164=lang.hitch(this,"pane2button"),_165={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_166=function(attr,_167){return on(_163,"attrmodified-"+attr,function(evt){var _168=_164(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_168){_168.set(_167,evt.detail.newValue);}});};for(var attr in _165){this.own(_166(attr,_165[attr]));}},destroy:function(_169){this.destroyDescendants(_169);this.inherited(arguments);},onAddChild:function(page,_16a){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _16b=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_16b,_16a);page.controlButton=_16b;if(!this._currentChild){this.onSelectChild(page);}var _16c=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_16b.id:_16b.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_16c);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _16d=this.pane2button(page.id);if(_16d){this.removeChild(_16d);_16d.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _16e=this.pane2button(this._currentChild.id);_16e.set("checked",false);_16e.focusNode.setAttribute("tabIndex","-1");}var _16f=this.pane2button(page.id);_16f.set("checked",true);this._currentChild=page;_16f.focusNode.setAttribute("tabIndex","0");var _170=_15a.byId(this.containerId);},onButtonClick:function(page){var _171=this.pane2button(page.id);_159.focus(_171.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_171.set("checked",true);}var _172=_15a.byId(this.containerId);_172.selectChild(page);},onCloseButtonClick:function(page){var _173=_15a.byId(this.containerId);_173.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_159.focus(b.focusNode||b.domNode);}}},adjacent:function(_174){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_174=!_174;}var _175=this.getChildren();var idx=_154.indexOf(_175,this.pane2button(this._currentChild.id)),_176=_175[idx];var _177;do{idx=(idx+(_174?1:_175.length-1))%_175.length;_177=_175[idx];}while(_177.disabled&&_177!=_176);return _177;},onkeydown:function(e,_178){if(this.disabled||e.altKey){return;}var _179=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_179=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_179=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_179=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_179=true;}break;case keys.HOME:var _17a=this.getChildren();for(var idx=0;idx<_17a.length;idx++){var _17b=_17a[idx];if(!_17b.disabled){this.onButtonClick(_17b.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _17a=this.getChildren();for(var idx=_17a.length-1;idx>=0;idx--){var _17b=_17a[idx];if(!_17b.disabled){this.onButtonClick(_17b.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_179!==null){this.onButtonClick(this.adjacent(_179).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_160.StackButton=_15f;return _160;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_17c,_17d,_17e,_17f,_180,has,lang,on,_181,_182,when,_183,_184,_185){if(has("dijit-legacy-requires")){_181(0,function(){var _186=["dijit/layout/StackController"];require(_186);});}var _187=_17e("dijit.layout.StackContainer",_185,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_17f.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _188=this.getChildren();_17c.forEach(_188,this._setupChild,this);if(this.persist){this.selectedChildWidget=_183.byId(_17d(this.id+"_selectedChild"));}else{_17c.some(_188,function(_189){if(_189.selected){this.selectedChildWidget=_189;}return _189.selected;},this);}var _18a=this.selectedChildWidget;if(!_18a&&_188[0]){_18a=this.selectedChildWidget=_188[0];_18a.selected=true;}_182.publish(this.id+"-startup",{children:_188,selected:_18a,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _18b=this.selectedChildWidget;if(_18b){this._showChild(_18b);}}this.inherited(arguments);},_setupChild:function(_18c){var _18d=_18c.domNode,_18e=_180.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_18c.domNode,"replace"),_18f=_18c["aria-label"]||_18c.title||_18c.label;if(_18f){_18e.setAttribute("aria-label",_18f);}_180.place(_18d,_18e);_18c._wrapper=_18e;this.inherited(arguments);if(_18d.style.display=="none"){_18d.style.display="block";}_18c.domNode.title="";},addChild:function(_190,_191){this.inherited(arguments);if(this._started){_182.publish(this.id+"-addChild",_190,_191);this.layout();if(!this.selectedChildWidget){this.selectChild(_190);}}},removeChild:function(page){var idx=_17c.indexOf(this.getChildren(),page);this.inherited(arguments);_180.destroy(page._wrapper);delete page._wrapper;if(this._started){_182.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _192=this.getChildren();if(_192.length){this.selectChild(_192[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_193){var d;page=_183.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_193);this._set("selectedChildWidget",page);_182.publish(this.id+"-selectChild",page);if(this.persist){_17d(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_194,_195){if(_195){this._hideChild(_195);}var d=this._showChild(_194);if(_194.resize){if(this.doLayout){_194.resize(this._containerContentBox||this._contentBox);}else{_194.resize();}}return d;},_adjacent:function(_196){var _197=this.getChildren();var _198=_17c.indexOf(_197,this.selectedChildWidget);_198+=_196?1:_197.length-1;return _197[_198%_197.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_182.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _199=this.selectedChildWidget;if(_199&&_199.resize){if(this.doLayout){_199.resize(this._containerContentBox||this._contentBox);}else{_199.resize();}}},_showChild:function(page){var _19a=this.getChildren();page.isFirstChild=(page==_19a[0]);page.isLastChild=(page==_19a[_19a.length-1]);page._set("selected",true);if(page._wrapper){_17f.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_17f.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _19b=page.onClose&&page.onClose(this,page);if(_19b){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_19c){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_17c.forEach(this.getChildren(),function(_19d){if(!_19c){this.removeChild(_19d);}_19d.destroyRecursive(_19c);},this);this._descendantsBeingDestroyed=false;}});_187.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_184,_187.ChildWidgetProperties);return _187;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_19e,_19f,_1a0){return _19e("dijit.layout.AccordionPane",_1a0,{constructor:function(){_19f.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1a1,_1a2){return _1a1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1a3=this.checked;this._set("checked",!_1a3);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1a3);return ret;},_setCheckedAttr:function(_1a4,_1a5){this._set("checked",_1a4);var node=this.focusNode||this.domNode;if(this._created){if(_1a2.get(node,"checked")!=!!_1a4){_1a2.set(node,"checked",!!_1a4);}}node.setAttribute(this._aria_attr,String(_1a4));this._handleOnChange(_1a4,_1a5);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_1a6,_1a7,_1a8,_1a9,lang,_1aa,_1ab,_1ac){var _1ad=_1a7("dijit.layout.LayoutContainer",_1ab,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_1a6.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_1ae){this.inherited(arguments);var _1af=_1ae.region;if(_1af){_1a8.add(_1ae.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _1b0=_1a6.map(this.getChildren(),function(_1b1,idx){return {pane:_1b1,weight:[_1b1.region=="center"?Infinity:0,_1b1.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_1b1.region)?1:-1),idx]};},this);_1b0.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});return _1a6.map(_1b0,function(w){return w.pane;});},layout:function(){_1ac.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_1b2,_1b3){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_1b4){this.inherited(arguments);if(this._started){this.layout();}_1a8.remove(_1b4.domNode,this.baseClass+"Pane");_1a9.set(_1b4.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_1a9.set(_1b4.domNode,/top|bottom/.test(_1b4.region)?"width":"height","auto");}});_1ad.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_1aa,_1ad.ChildWidgetProperties);return _1ad;});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_1b5,_1b6,_1b7,_1b8){return _1b5("dijit.layout.TabContainer",_1b6,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_1b9){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_1b7=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _1b7({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_1b9);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_1b8:_1b7;}}});});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTabButtonIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t  role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"ondijitclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\"  data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<span role=\"presentation\" class=\"dijitInline dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","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\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" role=\"presentation\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_menuBtn\"\n\t\t data-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t data-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_leftBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_rightBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'\n\t\t\t data-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","*noref":1}});define("dijit/_dijit_layout_ext",[],1);require(["dijit/layout/BorderContainer","dijit/layout/AccordionContainer","dijit/layout/AccordionPane","dijit/layout/TabContainer","dijit/layout/LayoutContainer","dijit/layout/ScrollingTabController","dijit/layout/SplitContainer","dijit/layout/StackContainer","dijit/layout/StackController","dijit/layout/TabController"]);
}catch(e){console.log("Module 'dijit_layout_ext_19': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(_1){
var _2=_1.document,_3="wpModules/contextMenu/",_4=_3+"close/id/",_5=_3+"load/status/id/",_6="Header",_7="Separator",_8=i$.byId,_9=i$.addClass,_a=i$.hasClass,_b=i$.fireEvent,_c=i$.createDom;
var _d=false;
var _e={HANDLERS_ADDED_EVT_STR:_3+"eventHandlersAdded/id/",cache:{},triggerRegisterHandlers:{},triggerUnregisterHandlers:{},positioningHandlers:{},defaultCss:{focus:"wpthemeMenuFocus",disabled:"wpthemeMenuDisabled",show:"wpthemeMenuShow",error:"wpthemeMenuError",menuTemplate:"wpthemeTemplateMenu",submenuTemplate:"wpthemeTemplateSubmenu",loadingTemplate:"wpthemeTemplateLoading",firstItem:"wpthemeFirst",lastItem:"wpthemeLast",refNode:"wpthemeMenuRefNode"},init:function(_f){
var _10=_f.refNode,_11=_10||_f.node,_12=_11._contextMenu=_11._contextMenu||{},_13=(_10?_12.menuId:_f.menuId),_14=_12.params?_12.params.sticky:false;
if(_11._ibm_leaveTimeoutId){
_1.clearTimeout(_11._ibm_leaveTimeoutId);
}
if(_11._contextMenu.preventOpen||_14){
delete _11._contextMenu.preventOpen;
return;
}
var _15=_12.id=_12.id||_11.getAttribute("id")||this._generateRandom(),_16=_12.params=_12.params||{};
_11.setAttribute("id",_15);
if(i$.isChrome){
_11.setAttribute("tabindex",_11.getAttribute("tabindex")||0);
}
_12.menuId=_13;
_12.closeFn=_f.onClose||null;
if(_f.params){
i$.mash(_16,_f.params);
}
_12.jsonQuery=_12.jsonQuery||{};
_12.jsonQuery=i$.mash(_12.jsonQuery,_f.jsonQuery);
_12.menuItems=_f.menuItems;
_12.css=_10?_12.css:_e._getCssClasses(_11);
_12.defaultTemplateId=_12.defaultTemplateId||(_13+"Template");
_12.templateId=_12.templateId||_16.templateId||null;
var _17=function(_18){
if(!_18.displayMenu){
return;
}
if(_16._executeDefaultAction){
delete _16._executeDefaultAction;
delete _f.params._executeDefaultAction;
_e._hideLoadingAnimation(_12);
_e._registerEventHandlers(_12);
_b(_4+_15);
if(_12._inProgress){
var mll=i$.addListener(_5+_15,function(_19){
if(_19=="complete"){
_e._executeDefaultAction(_12);
i$.removeListener(mll);
}
});
}else{
_e._executeDefaultAction(_12);
}
return;
}
var _1a=_12.shadowNode,_1b=_e._pausedBeforeReopen,_1c=_12.menuNode;
if(_12._loading||!_e._isOpen(_12)){
if(_1b&&_1b==_15){
return;
}
i$.when(_e._updateVisibility(_1c,_12)).then(function(_1d){
_e._hideLoadingAnimation(_12);
if(!_1d){
return;
}
_e._updateAbsolutePosition(_8(_15));
var _1e=_e._adjustScreenPositionStart(),_10=_8(_15);
if(!_12._defaultEventRegistered){
_e._addDefaultHoverListeners(_f);
}
_9(_10,_e.defaultCss.refNode);
_9((_1a)?_1a:_10,_e.defaultCss.show);
_e._adjustScreenPositionEnd(_1e);
if(_16._setFocus){
delete _16._setFocus;
delete _f.params._setFocus;
var n=_8(_15),_1f=n&&n._firstSelectable;
if(_1f){
_1f.focus();
n._currentSelected=_1f;
}
}
_e._registerEventHandlers(_12);
});
}
};
_e._initialize(_11).then(_17,_17);
_11=null;
return function(_20){
if(_12._preventClose||_12._closing){
delete _12._preventClose;
delete _f._preventClose;
return;
}
_12._closing=true;
_e._executeMenuAction(_20,_12);
_1.setTimeout(function(){
_b(_4+_15,[true]);
},1);
delete _12._closing;
};
},lock:function(_21){
var cm=_21._contextMenu=_21._contextMenu||{};
cm._lockMenu=true;
},unlock:function(_22){
var cm=_22._contextMenu||{};
cm._lockMenu=false;
},reposition:function(_23){
var _24=_23._contextMenu;
_e._updateAbsolutePosition(_23);
var _25=_e._adjustScreenPositionStart();
_9((_24.shadowNode)?_24.shadowNode:_8(_24.id),_e.defaultCss.show);
_e._adjustScreenPositionEnd(_25);
},_generateRandom:function(){
return Math.round(Math.random()*1000000000);
},_hideLoadingAnimation:function(_26){
if(_26._loading){
_26.loadingNode.style.display="none";
_26._loading=false;
}
},_executeDefaultAction:function(_27){
var _28=_27.menuNode,_29=_e._findNodes(_28),_2a=_29.menu,_2b=_2a.children,_2c,_2d;
for(var i=0,l=_2b.length;i<l;++i){
_2c=_2b[i];
if(_2c===_27.loadingNode){
continue;
}else{
_2d=_2c._menuitem=_2c._menuitem||{};
if(_2d.metadata&&_2d.metadata.defaultMenuItem){
(function(_2e){
var evt={"target":_2e};
_e._applyAction(evt);
})(_2c);
break;
}
}
}
},_executeMenuAction:function(_2f,_30){
var _31=_30.menuNode,_32=_e._findNodes(_31),_33=_32.menu,_34=_33.children,_35,_36;
for(var i=0,l=_34.length;i<l;++i){
_35=_34[i];
if(_35===_30.loadingNode){
continue;
}else{
_36=_35._menuitem=_35._menuitem||{};
if(_36.id==_2f){
(function(_37){
var evt={"target":_37};
_e._applyAction(evt);
})(_35);
break;
}
}
}
},initSubmenu:function(_38,_39,_3a){
var _3b=_38._contextMenu=_38._contextMenu||{};
_3b._submenu=true;
_3b._menuitemTemplate=_3a._menuitemTemplate;
_3b._subMenuTemplate=_3a._subMenuTemplate;
_3b._loadingTemplate=_3a._loadingTemplate;
_e.init(_38,_39,_3a.jsonQuery);
},_getCssClasses:function(_3c){
var _3d={},_3e=_3c.getAttribute,_3f=_e.defaultCss;
_3d.focus=_3e.apply(_3c,["data-focus"])||_3f.focus;
_3d.disabled=_3e.apply(_3c,["data-disabled"])||_3f.disabled;
_3d.show=_3e.apply(_3c,["data-show"])||_3f.show;
_3d.error=_3e.apply(_3c,["data-error"])||_3f.error;
_3d.menuTemplate=_3e.apply(_3c,["data-menutemplate"])||_3f.menuTemplate;
_3d.submenuTemplate=_3e.apply(_3c,["data-submenutemplate"])||_3f.submenuTemplate;
_3d.loadingTemplate=_3e.apply(_3c,["data-loadingtemplate"])||_3f.loadingTemplate;
_3d.firstItem=_3e.apply(_3c,["data-firstItem"])||_3f.firstItem;
_3d.lastItem=_3e.apply(_3c,["data-lastItem"])||_3f.lastItem;
_3d.refNode=_3e.apply(_3c,["data-refNode"])||_3f.refNode;
return _3d;
},_findFocusNode:function(_40){
var _41,i,_42,_43=function(_44,_45){
var l=_44.childNodes.length;
for(i=0;i<l;i++){
if(_41){
break;
}
_42=_44.childNodes[i];
if(_a(_42,_e.defaultCss.focus)){
_41=_42;
break;
}
if(_42.childNodes){
i=_43(_42,i);
}
}
return _45;
};
_43(_40);
return _41;
},_findNodes:function(_46){
return _e._findNodesRecursive(_46);
},_findNodesRecursive:function(_47){
var _48,_49,_4a,i,_4b,cm=_47._contextMenu,_4c=cm?cm.css:_e.defaultCss,_4d=cm?cm._menuTemplateNode:_47;
var _4e=function(_4f,_50){
for(i=_4f.childNodes.length-1;i>=0;i--){
if(_48&&_49&&_4a){
break;
}
_4b=_4f.childNodes[i];
if(!_48&&_a(_4b,_4c.menuTemplate)){
_48=_4b;
}
if(!_49&&_a(_4b,_4c.submenuTemplate)){
_49=_4b;
}
if(!_4a&&_a(_4b,_4c.loadingTemplate)){
_4a=_4b;
}
if(_4b.childNodes){
i=_4e(_4b,i);
}
}
return _50;
};
_4e(_4d);
return {"menu":_48,"submenu":_49,"loading":_4a};
},_findMenuNode:function(_51){
var _52,cm=_51._contextMenu,_53=cm.templateId,_54=cm.defaultTemplateId;
if(_53){
_52=_8(_53);
}
_52=_52||_e._findMenuNodeRecursive(_51);
_52=_52||_8(_54);
return _52;
},_findMenuNodeRecursive:function(_55){
var _56,i,_57,_58=function(_59,_5a){
for(i=_59.childNodes.length-1;i>=0;i--){
if(_56){
break;
}
_57=_59.childNodes[i];
if(_a(_57,"wpthemeMenu")||_a(_57,"wpthemeMenuRight")||_a(_57,"wpthemeMenuLeft")){
_56=_57;
break;
}
if(_57.childNodes){
i=_58(_57,i);
}
}
return _5a;
};
_58(_55);
return _56;
},_invalidateCallback:function(){
_e.cache={};
},invalidate:function(id){
_e.cache[id]=false;
var _5b=_8(id);
if(_5b){
var cm=_5b._contextMenu;
if(cm){
delete _5b._contextMenu;
if(cm.bindings){
i$.each(cm.bindings,function(v){
i$.unbindDomEvt(v);
});
cm._defaultBinded=false;
}
if(cm.listener){
i$.each(cm.listener,function(v){
i$.removeListener(v);
});
}
if(cm.removeEventListeners&&cm.removeEventListeners.length>0){
i$.each(cm.removeEventListeners,function(v){
v[0].removeEventListener(v[1],v[2],v[3]);
});
}
}
}
},_initialize:function(_5c){
var _5d=true,_5e=_5c._contextMenu,_5f=_5e.css;
if(_e.cache[_5e.id]||_5e._inProgress){
return i$.promise.resolved({displayMenu:_5d});
}
if(!_5e._menuTemplateNode){
_5e._menuTemplateNode=_e._findMenuNode(_5c);
if(_5e._menuTemplateNode.parentNode!=_5c){
_5e._menuTemplateNode=_5e._menuTemplateNode.cloneNode(true);
_5e._menuTemplateNode.removeAttribute("id");
_5c.appendChild(_5e._menuTemplateNode);
}
}
_5e._inProgress=true;
i$.addListener("wptheme/contextMenu/invalidate/all",_e._invalidateCallback);
var _60,_61,tmp=_c("div");
if(_5e._submenu){
tmp.innerHTML=_5e._subMenuTemplate.replace(/\$\{submenu-id\}/g,_5e.id+"_menu");
_5c.appendChild(tmp.firstChild);
_60=_8(_5e.id+"_menu");
_61=_c("div");
_61.innerHTML=_5e._loadingTemplate;
}else{
var _62=_e._findNodes((_5e.shadowNode)?_5e.shadowNode:_5c);
_60=_62.menu;
if(!_5e._menuitemTemplate){
_5e._menuitemTemplate=i$.trim(_60.innerHTML);
}
if(!_5e._loadingTemplate&&_62.loading){
_61=_c("div");
_61.appendChild(_62.loading);
_61.innerHTML=_61.innerHTML.replace(/\$\{loading\}/g,_e.nls.LOADING_0);
_5e._loadingTemplate=i$.trim(_61.innerHTML);
_61=null;
}
_61=_c("div");
_61.innerHTML=_5e._loadingTemplate||"";
if(_62.submenu){
tmp.appendChild(_62.submenu.cloneNode(true));
if(!_5e._subMenuTemplate){
_5e._subMenuTemplate=i$.trim(tmp.innerHTML);
}
}
}
while(_60.firstChild){
_60.removeChild(_60.firstChild);
}
if(_60&&_60.hasAttribute("role")&&_60.getAttribute("role")=="menu"&&!_60.hasAttribute("aria-label")){
_60.setAttribute("aria-label","Menu node "+_5e.id);
}
_5e.loadingNode=_61;
if(!_5e.menuItems){
_61.style.visibility="hidden";
_60.appendChild(_61);
_1.setTimeout(function(){
_61.style.visibility="visible";
},400);
}
var _63,_64;
if(_5e.shadowNode){
_63=_5e.shadowNode;
}else{
_63=_e._transformIntoAbsolutePosition(_5c);
}
_64=(_63)?_63:_5c;
_9(_64,_5f.show);
_64.setAttribute("id","ComponentActionMenu_"+_5e.id);
var _65;
if(_5e.menuItems){
var _66=_5e.menuItems;
if(typeof (_5e.menuItems)=="string"){
_66=i$.fromJson(_5e.menuItems);
}
_65=i$.promise.resolved(_66);
}else{
_65=_e._load(_5e);
}
return _65.then(function(_67){
var _68=_e._parseData(_67).then(function(_69){
_69=_e._filterMenu(_69);
if(!_69||_69.length==0){
var tmp=_c("div");
tmp.innerHTML=_e._fromTemplate(_5e._menuitemTemplate,_5f.error,_e.nls.NO_ITEMS_0);
while(_60.firstChild){
_60.removeChild(_60.firstChild);
}
_60.appendChild(tmp);
}else{
_e._buildMenu(_5e,_60,_69);
}
_b(_5+_5e.id,["complete"]);
_5e._menuDataLoaded=true;
_5e._inProgress=false;
_5e._loading=true;
_e.cache[_5e.id]=true;
return {displayMenu:_5d};
});
return _68;
},function(){
var tmp=_c("div");
tmp.innerHTML=_e._fromTemplate(_5e._menuitemTemplate,_5f.error,_e.nls.ERROR_LOADING_0);
while(_60.firstChild){
_60.removeChild(_60.firstChild);
}
_60.appendChild(tmp);
_b(_5+_5e.id,["failed"]);
_5e._inProgress=false;
_e.cache[_5e.id]=true;
return {displayMenu:_5d};
});
},_updateVisibility:function(_6a,_6b){
var _6c=_e._findNodes(_6a),_6d=_6c.menu,_6e=_6d.children,_6f=[],_70,_71;
for(var i=0,l=_6e.length;i<l;++i){
_70=_6e[i];
var _72;
if(_70===_6b.loadingNode){
_72=true;
}else{
_71=_70._menuitem=_70._menuitem||{};
_72=_e._checkFunction(_71,_71.visibilityFn,_71,(typeof _71.visibility!="undefined")?_71.visibility:true);
}
_6f.push(i$.when(_72));
}
var _73=i$.promise.join(_6f),_74=-1,_75=-1;
var _76=new i$.Promise(),_77=false;
i$.when(_73).then(function(_78){
var _79,_71,_7a=false,_7b,_7c;
for(var i=0,l=_6e.length;i<l;++i){
_79=_6e[i];
if(_79===_6b.loadingNode){
continue;
}
_71=_79._menuitem=_79._menuitem||{};
_7a=_78[i];
i$.removeClass(_79,_6b.css.firstItem);
i$.removeClass(_79,_6b.css.lastItem);
if(_7a){
if(!_7c&&_71.type!=_6&&_71.type!=_7){
_7c=_79;
}
_74=(_74==-1)?i:_74;
_75=i;
_79.links={previous:_7b,next:null,sub:null};
if(_7b){
_7b.links.next=_79;
}
_7b=_79;
_77=true;
}
if(_71._displayStyle===undefined){
var _7d=_79.style.display;
_71._displayStyle=_7d?_7d:null;
}
if(!_7a){
_79.style.display="none";
}else{
if(_71._displayStyle){
_79.style.display=_71._displayStyle;
}else{
_79.style.display="";
}
}
}
if(_74>-1){
var n=_8(_6b.id);
n._firstSelectable=_7c;
n._currentSelected=null;
_9(_6e[_74],_6b.css.firstItem);
}
(_75>-1)&&_9(_6e[_75],_6b.css.lastItem);
_76.resolve(_77);
});
return _76;
},_filterMenu:function(_7e){
var _7f=[],_80,_81={"type":_7};
for(var i=_7e.length-1;i>=0;i--){
_80=_7e[i];
if(_80.type==_7){
if(_81.type==_7){
continue;
}
}else{
if(_80.type==_6){
if((_81.type==_7)||(_81.type==_6)){
continue;
}
}
}
_81=_80;
_7f.unshift(_80);
}
while(_7f.length>0&&_7f[0].type==_7){
_7f=_7f.slice(1);
}
return _7f;
},_buildMenu:function(_82,_83,_84){
var _85=_2.createDocumentFragment(),tmp=_c("div"),_86,_87,_88=_82.id,_89,_8a=_8(_82.id);
for(var i=0,l=_84.length;i<l;i++){
_86=_84[i];
tmp.innerHTML=_e._fromTemplate(_82._menuitemTemplate,_86);
while(_87=tmp.firstChild){
_89=_86.id||this._generateRandom();
if(_87.nodeType==1){
_87.setAttribute("id",[_88,"_",_89].join(""));
_87._menuitem=_86;
if(_86.type=="Submenu"){
_87._jsonData=_82;
i$.bindDomEvt(_87,"onmouseover",_e._applySubmenu);
}else{
if(_86.type!=_6&&_86.type!=_7){
if(_86._enabled){
i$.bindDomEvt(_87,"onclick",function(evt){
_e._stopEventPropagation(evt);
var tgt=evt.target||evt.srcElement,_8b={target:tgt};
setTimeout(function(){
_b(_4+_82.id,[true]);
_e._applyAction(_8b);
},0);
_e._setPauseBeforeReopenForMobile(_82);
});
}
}
if(_82&&!_e._isInlineEditMenu(_82.templateId)){
i$.bindDomEvt(_87,"onmouseover",function(evt){
_e._applyFocusAction(evt);
});
}
i$.bindDomEvt(_87,"onkeydown",function(evt){
return _e._applyKeyAction(evt);
});
i$.bindDomEvt(_87,"onmouseout",function(evt){
var _8c=_e._getMenuPropertiesFromEvent(evt),_8d=_8c.menuItemNode;
if(_8a._currentSelected===_8d){
_8a._currentSelected=null;
}
if(_82&&!_e._isInlineEditMenu(_82.templateId)){
_e._applyFocusAction(evt);
}
});
}
if((_86.title)&&(i$.isRTL(_86.title.lang))){
_9(_87,"rtl");
_87.setAttribute("dir","RTL");
}
if(_86.markupId){
_87.setAttribute("id",_86.markupId);
}
_86._displayStyle=_87.style.display||null;
_87.style.display="none";
}
_85.appendChild(_87);
}
}
_83.appendChild(_85);
},_fromTemplate:function(_8e,_8f,_90){
var _91,_92,_93;
if(typeof (_8f)=="string"){
_91=_8f;
_92=_90;
_93="";
}else{
_91="type"+_8f.type;
if(_8f.itemClass){
_91+=" "+_8f.itemClass;
}
if(!_8f._enabled){
_91+=" "+_e.defaultCss.disabled;
}
_92=(_8f.title)?_8f.title.value:"";
_93=((_8f.description)?_8f.description.value:"");
}
return _8e.replace(/\$\{title\}/g,_92).replace(/"\$\{css-class\}"/g,"\""+(_91)+"\"").replace(/\$\{css-class\}/g,"\""+(_91)+"\"").replace(/"\$\{description\}"/g,"\""+_93+"\"").replace(/\$\{description\}/g,"\""+_93+"\"");
},_applyKeyAction:function(evt){
var _94=_e._getMenuPropertiesFromEvent(evt),_95=_94.menuNode,_96=_94.menuItemNode,_97=_94.menuItem,_98=_e._findFocusNode;
if(evt.keyCode===38&&evt.altKey){
var _99=_95._contextMenu,_96=_8(_99.id),_9a;
_b(_4+_99.id).then(function(){
},function(){
});
_9a=_98(_96);
((_9a)?_9a:_96).focus();
if(!_9a){
_99.preventOpen=true;
}
}
if(evt.ctrlKey){
switch(evt.keyCode){
case 77:
var _9b=i$.fromPath("_contextMenu.params.editFocus",false,_95);
if(_9b){
_9b.focus();
_e._stopEventPropagation(evt);
return false;
}
}
}
var _99=_95._contextMenu;
switch(evt.keyCode){
case 32:
if(evt.preventDefault){
evt.preventDefault();
}
case 13:
if(evt.preventDefault){
evt.preventDefault();
}
_e._stopEventPropagation(evt);
var _9c=_8(_99.id),_9a=_98(_9c);
((_9a)?_9a:_95).focus();
if(_97._enabled){
var tgt=evt.target||evt.srcElement,_9d={target:tgt};
_1.setTimeout(function(){
_b(_4+_99.id,[true]);
_e._applyAction(_9d);
},0);
}
return false;
case 9:
var _9c=_8(_99.id);
_b(_4+_99.id).then(function(){
},function(){
});
var _9a=_98(_9c);
((_9a)?_9a:_9c).focus();
break;
case 27:
var _9c=_8(_99.id);
_b(_4+_99.id).then(function(){
},function(){
});
var _9a=_98(_9c);
((_9a)?_9a:_9c).focus();
if(!_9a){
_99.preventOpen=true;
}
break;
case 39:
case 40:
_e._moveFocus(evt,_99,_96,"next");
return false;
case 37:
case 38:
_e._moveFocus(evt,_99,_96,"previous");
return false;
default:
_e._checkKey(evt.keyCode,_96,_99);
}
return true;
},_checkKey:function(_9e,_9f,_a0){
var _a1=[],_a2=_9f.parentNode.childNodes,_a3=String.fromCharCode(_9e),_a4=_a3.toLowerCase(),_a5=this._getStartCharPosition(_9f),_a6,_a7,_a8=_9f.textContent.charAt(_a5),_a9,_aa=this._changeFocusAfterKeypress;
for(var i=0,l=_a2.length;i<l;++i){
_a1[i]=_a2[i];
}
if(_a4==_a8.toLowerCase()){
var _ab=this._checkNextMatch(_a1,_a1.indexOf(_9f),_a8,_a3);
if(_ab!=_a1.indexOf(_9f)){
_aa(_a0.id,_a1[_ab]);
}
}else{
for(var k=0,nal=_a1.length;k<nal;k++){
_a5=this._getStartCharPosition(_a1[k]);
_a7=_a1[k].attributes;
_a6=_a1[k].textContent;
if(!this._isMenuOptionHeader(_a1[k])){
if((i$.isIE&&_a7.getNamedItem("style")==null)||(!i$.isIE&&_a7.getNamedItem("style")&&_a1[k].style.display!="none")){
if(_a4==_a6.charAt(_a5).toLowerCase()){
_aa(_a0.id,_a1[k]);
break;
}
}
}
}
}
},_checkNextMatch:function(_ac,_ad,_ae,_af){
var _b0,_b1=false,_b2,_b3=_ac.length,_b4=(_ad==_b3-1)?-1:_ad,_b5;
for(var i=_b4+1;i<_b3;i++){
_b0=this._getStartCharPosition(_ac[i]);
_b2=_ac[i].textContent.charAt(_b0).toLowerCase();
_b5=_ac[i].attributes;
if(!this._isMenuOptionHeader(_ac[i])&&_af.toLowerCase()==_b2){
if((i$.isIE&&_b5.getNamedItem("style")==null)||(!i$.isIE&&_b5.getNamedItem("style")!=null&&_ac[i].style.display!="none")){
_ad=i;
break;
}
}
if(i==_ac.length-1){
if(_b1){
break;
}
i=0;
_b3=_ad;
_b1=true;
}
}
return _ad;
},_getStartCharPosition:function(_b6){
var _b7=_b6._menuitem;
if(_b7){
if((_b7.title)&&(i$.isRTL(_b7.title.lang))){
return _b6.textContent.length-1;
}
}
return 0;
},_isMenuOptionHeader:function(_b8){
if(_a(_b8,"wcm-default-inplace-item-header-entry")){
return true;
}
return false;
},_changeFocusAfterKeypress:function(_b9,_ba){
var _bb=_8(_b9),_bc=_bb._currentSelected;
if(_bc){
_bc.blur();
}
_bb._currentSelected=_ba;
_ba.focus();
},_moveFocus:function(evt,_bd,_be,_bf){
var _c0=_be.links?_be.links[_bf]:null;
if(_c0&&(_c0._menuitem.type==_6||_c0._menuitem.type==_7)){
var _c1=false;
var _c2=null;
while(!_c2&&!_c1){
_c0=_c0.links[_bf];
if(!_c0){
_c1=true;
}else{
if(_c0._menuitem.type!=_6&&_c0._menuitem.type!=_7){
_c2=_c0;
}
}
}
_c0=_c2;
}
if(_c0){
_e._setPreventClose(_bd,true);
var _c3=_8(_bd.id)._currentSelected;
if(_c3){
_c3.blur();
}
_8(_bd.id)._currentSelected=_c0;
_c0.focus();
}
if(evt.preventDefault){
evt.preventDefault();
}
},_getMenuPropertiesFromEvent:function(evt){
var _c4=evt.target||evt.srcElement,_c5=_c4,_c6=null,_c7=_c4._menuitem;
while(!_c6){
_c5=_c5.parentNode;
if(_c5._contextMenu){
_c6=_c5;
}
if(!_c7){
_c4=_c4.parentNode;
_c7=_c4._menuitem;
}
}
return {menuNode:_c6,menuItemNode:_c4,menuItem:_c7};
},_applyFocusAction:function(evt){
var _c8=_e._getMenuPropertiesFromEvent(evt),_c9=_c8.menuNode,_ca=_c8.menuItemNode,_cb=_c8.menuItem,_cc=_c9._contextMenu;
_e._setPreventClose(_cc,true);
var _cd=_8(_cc.id)._currentSelected;
if(_cd!=_ca){
if(_cb.type=="Header"||_cb.type=="Separator"){
_ca.style.outline="none";
}
_8(_cc.id)._currentSelected=_ca;
_ca.focus();
}
return false;
},_applyAction:function(evt){
var _ce=_e._getMenuPropertiesFromEvent(evt),_cf=_ce.menuNode,_d0=_ce.menuItem,_d1=_cf._contextMenu;
_d1.activeAction=true;
var _d2=_8(_d1.id);
if(_d2&&_d2._ibm_hoverTimeoutId){
_1.clearTimeout(_d2._ibm_hoverTimeoutId);
}
var p=_e._checkFunction(_d0,_d0.actionFn,_d0,_d0.actionUrl);
if(p){
p.then(function(_d3){
if(_d3&&i$.isString(_d3)){
if(_d0.metadata&&_d0.metadata.dialog){
var _d4=_cf._contextMenu.id,_d5=_2.getElementById(_d4),_d6=_cf.firstChild,_d7=_d0.metadata.dialog,_d8=(_d7.closeFn?_e._getFunction(_d0,_d7.closeFn):null),_d9=(_d7.onLoadCallbackFn?_e._getFunction(_d0,_d7.onLoadCallbackFn):null),_da=(_d7.onUnloadCallbackFn?_e._getFunction(_d0,_d7.onUnloadCallbackFn):null),_db=(_d7.setFocusFn?_e._getFunction(_d0,_d7.setFocusFn):null),_dc=(!_d7.autoPosition&&_d7.autoPosition===false)?false:true,_dd={url:_d3,description:_d0.title&&_d0.title.value,autoClose:(!_d7.autoClose&&_d7.autoClose===false)?false:true,modal:_d7.modal||false,callbackFn:_d8,autoResize:(!_d7.autoResize&&_d7.autoResize===false)?false:true,autoPosition:(_dc?_d5:null),metrics:{top:_d7.top||null,left:_d7.left||null,height:_d7.height||null,width:_d7.width||null},padding:_d7.padding,onLoadCallbackFn:_d9,onUnloadCallbackFn:_da,setFocusFn:_db};
(new wpModules.dialog.Dialog(_dd)).open();
}else{
var _de=_d0.actionHttpMethod||"GET",_df=(_d0.metadata&&_d0.metadata.actionUrlTarget)||"same",_e0=_1,wu=wpModules.theme.WindowUtils;
_e0=_e._getContributionWindow(_d0);
if(_df=="view"){
_e0=wu&&wu.getWindow(wu.VIEW_AREA);
}
_e0=_e0||_1;
if(_de!="GET"){
var _e1=_e0.i$.createDom("form");
_e1.setAttribute("action",_d3);
_de=_de.toLowerCase();
switch(_de){
case "get":
_e1.setAttribute("method","GET");
break;
case "delete":
case "put":
var _e2=_e0.i$.createDom("input",{"type":"hidden","name":"x-method-override","value":_de.toUpperCase()});
_e1.appendChild(_e2);
case "post":
_e1.setAttribute("method","POST");
_e1.setAttribute("enctype","multipart/form-data");
break;
default:
}
_e0.i$.byId("wpthemeComplementaryContent").appendChild(_e1);
_e1.submit();
}else{
var doc=_e0.document,_e3=doc.createElement("a");
_e3.setAttribute("style","display:none");
_e3.setAttribute("href",_d3);
doc.getElementById("wpthemeComplementaryContent").appendChild(_e3);
_e3.click();
}
}
}
});
}
},_applySubmenu:function(evt){
var _e4=evt.target||evt.srcElement;
if(!_e4._jsonData){
_e4=_e4.parentNode;
}
if(_e4._jsonData){
_e4.setAttribute("id",_e4._jsonData.id+"_"+_e4._menuitem.id);
_e.initSubmenu(_e4,_e4._menuitem.id,_e4._jsonData);
}
},_adjustScreenPositionStart:function(){
return _2.documentElement.scrollHeight;
},_adjustScreenPositionEnd:function(_e5){
var _e6=_2.documentElement.scrollHeight;
if(_e5!=_e6){
_2.documentElement.scrollTop=_2.documentElement.scrollHeight;
}
},_findPos:function(obj){
var _e7=curtop=0;
if(obj.offsetParent){
do{
_e7+=obj.offsetLeft;
curtop+=obj.offsetTop;
}while(obj=obj.offsetParent);
return [_e7,curtop];
}
}};
i$.toPath("wpModules.contextMenu",_e);
})(window);
(function(_e8){
var _e9=_e8.document,cm=wpModules.contextMenu,_ea={},_eb=function(){
return i$.hasClass(_e9.getElementsByTagName("body")[0],"edit-mode");
},_ec={getHandles:function(){
return _ea;
},register:function(_ed){
var _ee=_ed.node,_ef=_ed.params,_f0,_f1="contextMenuHandle_"+Math.round(Math.random()*1000000000),_f2=cm.triggerRegisterHandlers;
_ea[_f1]=_ee;
_f0=_ee._contextMenu=_ee._contextMenu||{};
_f0.bindings=[];
_f0.listener=[];
if(_ef&&_ef.menuTrigger&&_f2[_ef.menuTrigger]){
_f2[_ef.menuTrigger](_ed);
}else{
_f2["default"](_ed);
}
return _f1;
},unregister:function(_f3){
var _f4;
if(typeof _f3=="string"){
if(_ea[_f3]){
_f4=_ea[_f3];
delete _ea[_f3];
}else{
return;
}
}else{
_f4=_f3;
}
if(_f4&&_f4._contextMenu){
var _f5=_f4._contextMenu,_f6=cm.triggerUnregisterHandlers,_f7=_f5.params,_f8=_f5.menuId,_f9=_f5.jsonQuery,_fa=_f5.bindings,_fb=_f5.listener;
if(_f7&&_f7.menuTrigger&&_f6[_f7.menuTrigger]){
_f6[_f7.menuTrigger]({"node":_f4,"menuId":_f8,"params":_f7,"jsonQuery":_f9});
}else{
_f6["default"]({"node":_f4,"menuId":_f8,"params":_f7,"jsonQuery":_f9});
}
if(_fa){
i$.each(_fa,function(v){
i$.unbindDomEvt(v);
});
_f5._defaultBinded=false;
}
if(_fb){
i$.each(_fb,function(v){
i$.removeListener(v);
});
}
delete _f5;
}else{
return;
}
}};
i$.mash(cm,_ec);
})(window);
(function(_fc){
var _fd;
function _fe(){
if(!_fd){
var uri=ibmCfg.portalConfig.contentHandlerURI;
_fd=uri+((uri.indexOf("?")<0)?"?":"&")+"uri=menu:${id}";
}
return _fd;
};
_fc._getContextMenuUrl=_fe;
function _ff(_100){
var _101=_fe(),_102=_101.replace(/\$\{id\}/g,_100.menuId);
if(_100.jsonQuery){
_102+=(_102.indexOf("?")==-1?"?":"&")+i$.toQuery(_100.jsonQuery);
}
return i$.xhrGet({url:_102,headers:{"X-IBM-XHR":"true"},responseType:"json"}).then(function(_103){
return _103.data;
},function(data){
var _104=data.xhr.getResponseHeader("Content-Type")||"";
if((_104.indexOf("text/html")==0)||(data.xhr.status==401)){
window.setTimeout(function(){
document.location.reload();
},0);
}
return null;
});
};
_fc._load=_ff;
function _105(_106){
var _107=[];
i$.each(_106,function(_108){
var win=_10b(_108),_109=i$.fromPath("moduleInfo.deferred",false,_108)?win.i$.modules.loadDeferred():i$.promise.resolved(true);
_107.push(_109.then(function(){
var _10a=_fc._checkFunction(_108,_108.enableFn,_108,(typeof _108.enabled!="undefined")?_108.enabled:true);
return i$.when(_10a).then(function(data){
_108._enabled=data;
return _108;
});
}));
});
return i$.whenAll.apply(i$,_107);
};
_fc._parseData=_105;
function _10b(_10c){
var win=window,_10d=_10c.metadata;
if(_10d&&_10d._contributionWindow){
return _10d._contributionWindow;
}
if(_10d&&_10d.contributor){
var _10e=_10d.contributor,idx=_10e.lastIndexOf(":"),_10f=_10e.substr(idx+1),_110=i$.fromPath("wpModules.theme.WindowUtils");
if(_110){
win=_110.getWindow(_10f);
}
}
if(!_10d){
_10d=_10c.metadata={};
}
_10d._contributionWindow=win;
return win;
};
_fc._getContributionWindow=_10b;
})(i$.fromPath("wpModules.contextMenu",true));
(function(_111){
function _112(name,_113){
_111.positioningHandlers[name]=_113;
};
_111.registerPositioningHandler=_112;
function _114(node){
var _115,cm=node._contextMenu,_116=false;
_115=cm._menuTemplateNode;
if(i$.hasClass(_115,"wpthemeMenuRight")){
_116=true;
}
var _117=i$.createDom("div");
_117.appendChild(_115);
i$.byId("wpthemeComplementaryContent").appendChild(_117);
_117._contextMenu=cm;
cm.shadowNode=_117;
cm._menuIsRight=_116;
cm.menuNode=_115;
_111._updateAbsolutePosition(node);
return _117;
};
_111._transformIntoAbsolutePosition=_114;
function _118(node){
var _119=node._contextMenu.menuNode,_11a=_119.getAttribute("data-positioning-handler")||"default",_11b=_111.positioningHandlers[_11a]||_11c;
_11b(node,_119);
};
_111._updateAbsolutePosition=_118;
function _11c(node,_11d){
var _11e=node._contextMenu._menuIsRight,_11f=_111._findPos(node),_120=2,dir=document.getElementsByTagName("html")[0].getAttribute("dir"),_121=_11d.style;
if(dir!=null){
dir=dir.toLowerCase();
}else{
dir="";
}
if(!(dir=="rtl")){
_121.left=((_11e)?_11f[0]+node.offsetWidth:_11f[0])+"px";
}else{
_121.left=((_11e)?_11f[0]+node.offsetWidth-node.scrollWidth:_11f[0])+"px";
}
_121.top=_11f[1]+"px";
};
_111._defaultPositioningHandler=_11c;
})(i$.fromPath("wpModules.contextMenu",true));
(function(_122){
var byId=i$.byId,_123=i$.bindDomEvt,_124=i$.fireEvent,_125="mouseover",_126="mouseout",blur="blur",_127="focus",_128="wpModules/contextMenu/close/id/";
function _129(){
return i$.hasClass(document.getElementsByTagName("body")[0],"edit-mode");
};
function _12a(_12b){
_122.triggerRegisterHandlers[_12b.name]=_12b.registerHandler;
if(_12b.unregisterHandler){
_122.triggerUnregisterHandlers[_12b.name]=_12b.unregisterHandler;
}
};
_122.registerMenuTrigger=_12a;
function _12c(_12d){
if(!_12d.eventsRegistered){
_122._registerGlobalHandlers();
_122._registerMobileDeviceHandlers();
var _12e=_12d.bindings=_12d.bindings||[],_12f=_12d.listener=_12d.listener||[],_130=_12d.removeEventListeners=_12d.removeEventListeners||[],_131=_12d.shadowNode,_132=byId(_12d.id),_133;
_133=_123(_131,"mouseover",function(evt){
_122._stopEventPropagation(evt);
_122._setPreventClose(_12d,true);
_122._fireEvent(byId(_12d.id),"mouseover");
});
_12e.push(_133);
_133=_123(_131,"mouseout",function(evt){
_122._stopEventPropagation(evt);
_122._setPreventClose(_12d,false);
_122._fireEvent(byId(_12d.id),"mouseout");
});
_12e.push(_133);
var _134=function(evt){
_122._stopEventPropagation(evt);
if(_12d._blurTimeout){
window.clearTimeout(_12d._blurTimeout);
}
_12d._blurTimeout=window.setTimeout(function(){
if(!_12d._preventClose&&_122._isOpen(_12d)){
if(_12d.closeFn){
_12d.closeFn();
}else{
i$.fireEvent("wpModules/contextMenu/close/id/"+_12d.id);
}
}
_122._setPreventClose(_12d,false);
},1);
};
var _135=function(){
_122._setPreventClose(_12d,true);
};
if(_131.addEventListener){
_131.addEventListener("blur",_134,true);
_130.push([_131,"blur",_134,true]);
_131.addEventListener("focus",_135,true);
_130.push([_131,"focus",_135,true]);
}else{
if(i$.isIE<9){
_123(_131,"focusout",_134);
_123(_131,"focusin",_135);
}
}
_133=i$.addListener("wpModules/contextMenu/close/id/"+_12d.id,function(_136){
if(!_12d.params.sticky||_136){
var node=i$.byId(_12d.id),_137=node._menuHoverListeners;
if(_137){
for(var i=0;i<_137.length;i++){
i$.unbindDomEvt(_137[i]);
}
delete node._menuHoverListeners;
}
delete _12d.params.sticky;
i$.removeClass(node,_12d.css.refNode);
i$.removeClass((_131)?_131:node,_12d.css.show);
}
});
_12f.push(_133);
_12d.eventsRegistered=true;
i$.fireEvent(_122.HANDLERS_ADDED_EVT_STR+_12d.id);
}
};
_122._registerEventHandlers=_12c;
function _138(){
if(!_122._globalHandlers){
var _139=[],_13a;
_13a=i$.addListener("wpModules/contextMenu/close/all",function(){
var _13b=_122.getHandles(),prop,node;
for(prop in _13b){
node=_13b[prop];
if(node&&node._contextMenu&&node._contextMenu.id){
_124(_128+node._contextMenu.id);
}
}
});
_139.push(_13a);
_122._globalHandlers=_139;
}
};
_122._registerGlobalHandlers=_138;
function _13c(node,type,_13d){
var _13e;
if(document.createEvent){
_13e=document.createEvent("HTMLEvents");
_13e.initEvent(type,true,true);
}else{
_13e=document.createEventObject();
_13e.eventType=type;
}
_13e.eventName=type;
if(_13d){
_13e.jsonParameters=_13d;
}
if(document.createEvent){
node.dispatchEvent(_13e);
}else{
node.fireEvent("on"+_13e.eventType,_13e);
}
};
_122._fireEvent=_13c;
function _13f(_140,_141){
if(_141){
if(_140._blurTimeout){
window.clearTimeout(_140._blurTimeout);
}
_140._preventClose=true;
}else{
_140._preventClose=false;
}
};
_122._setPreventClose=_13f;
function _142(_143){
return i$.hasClass((_143.shadowNode)?_143.shadowNode:byId(_143.id),_122.defaultCss.show);
};
_122._isOpen=_142;
function _144(evt){
if(evt){
if(evt.stopPropagation){
evt.stopPropagation();
}else{
evt.cancelBubble=true;
}
}
};
_122._stopEventPropagation=_144;
function _145(_146){
var node=_146.node,_147=_146.params,_148=node._contextMenu||{},_149=[],_14a;
_14a=_123(node,_125,function(evt){
if(evt.jsonParameters&&evt.jsonParameters.bubbledUp){
_146.params=_146.params||{};
_146.params.bubbledUp=true;
}
var _14b=node._contextMenu,_14c=_14b&&_14b.params&&_14b.params.sticky,_14d=_14b&&_14b._lockMenu;
if(!_14c&&!_14d){
if(node._ibm_leaveTimeoutId){
window.clearTimeout(node._ibm_leaveTimeoutId);
}
var _14e=(typeof (_147.hoverTimeout)!="undefined")?_147.hoverTimeout:500;
node._ibm_hoverTimeoutId=window.setTimeout(function(){
if(_129()&&!evt.menuNodeId){
var _14f=_148.params?_148.params.sticky:null;
if(!_14f){
if(_146){
_146.params=_146.params||{};
if(!_15d(_146.params.templateId)){
_146.params._setFocus=true;
}
}
_122.init(_146);
}
}
},_14e);
}
evt.jsonParameters={};
evt.jsonParameters.bubbledUp=true;
});
_149.push(_14a);
_14a=_123(node,_126,function(evt){
if(node._ibm_hoverTimeoutId){
window.clearTimeout(node._ibm_hoverTimeoutId);
}
var _150=node._contextMenu,_151=_150&&_150.params&&_150.params.sticky;
if(!_151){
var _152=(typeof (_147.blurTimeout)!="undefined")?_147.blurTimeout:150;
node._ibm_leaveTimeoutId=window.setTimeout(function(){
var id=_150.id,_153=function(){
_124(_128+id).then(function(){
},function(){
console.error("Error fire event ("+id+")");
});
};
if(!_148.eventsRegistered){
var _154=i$.addListener(_122.HANDLERS_ADDED_EVT_STR+_148.id,function(){
_153();
i$.removeListener(_154);
});
}
_153();
},_152);
}
});
_149.push(_14a);
node._menuHoverListeners=node._menuHoverListeners||[];
var _155=(!_148._defaultEventRegistered||_147.menuTrigger=="click"),_156=_155?node._menuHoverListeners:_148.bindings;
for(var i=0;i<_149.length;i++){
_156.push(_149[i]);
}
};
_122._addDefaultHoverListeners=_145;
function _157(_158){
var node=_158.node,_159=_158.params,_15a=node._contextMenu||{},_15b=(_159.menuTrigger)?_159.menuTrigger:"hover";
if(_15b=="click"){
var _15c=_123(node,_15b,function(evt){
_122._stopEventPropagation(evt);
if(!_122._isOpen(_15a)){
if(_129()&&!evt.menuNodeId){
if(_158){
_158.params=_158.params||{};
if(!_15d(_158.params.templateId)){
_158.params._setFocus=true;
}
}
}
_122.init(_158);
_122._addDefaultHoverListeners(_158);
}
});
_15a.bindings.push(_15c);
}else{
_122._addDefaultHoverListeners(_158);
}
};
_122._addDefaultEventListeners=_157;
function _15e(_15f){
var node=_15f.node,_160=_15f.params,_161=node._contextMenu||{},_162=(_160.menuTrigger=="click");
_161.id=_161.id||node.getAttribute("id")||_122._generateRandom();
node.setAttribute("id",_161.id);
_161._defaultEventRegistered=true;
_122._addDefaultEventListeners(_15f);
if(_161._defaultBinded){
return;
}
node.setAttribute("tabindex",node.getAttribute("tabindex")||0);
if(!_162){
var _163=function(evt){
_122._stopEventPropagation(evt);
var _164=_161.params?_161.params.sticky:null;
if(!_164){
_15f.params=_15f.params||{};
_15f.params._executeDefaultAction=true;
if(_129()&&!evt.menuNodeId){
if(!_122._isMobile()){
_122.init(_15f);
}else{
_122._defaultActionFnForMobile({event:evt,jsonObject:_15f,jsonData:_161});
}
}
}
};
handle=_123(node,"onclick",_163);
_161.bindings.push(handle);
}
if(!node.getAttribute("aria-label")&&!node.getAttribute("role")){
node.setAttribute("role","article");
}
node.setAttribute("aria-label",node.getAttribute("aria-label")||_122.nls.MENU_KEY_PRESS_0||"");
handle=_123(node,"onkeydown",function(evt){
if(evt.keyCode===13){
evt.preventDefault();
if(_163){
_163(evt);
}
}
if((evt.keyCode===77&&evt.ctrlKey)||(evt.keyCode===40&&evt.altKey)||(_162&&(evt.keyCode===13||evt.keyCode===32))){
if(evt.keyCode===32){
if(evt.preventDefault){
evt.preventDefault();
}
}
var _165=this._contextMenu&&this._contextMenu.params&&this._contextMenu.params.sticky,_166=node._contextMenu&&node._contextMenu._lockMenu;
if(!_165&&!_166){
if(this._ibm_leaveTimeoutId){
window.clearTimeout(this._ibm_leaveTimeoutId);
}
if(_129()&&!evt.menuNodeId){
_15f.params=_15f.params||{};
_15f.params._setFocus=true;
_122.init(_15f);
}
}else{
i$.toPath("_contextMenu.params.editFocus",document.activeElement,this);
_122._setPreventClose(_161,true);
var n=byId(_161.id);
if(n&&n._firstSelectable){
n._firstSelectable.focus();
}
}
_144(evt);
}
});
_161.bindings.push(handle);
_161._defaultBinded=true;
};
_122._defaultEventRegister=_15e;
function _167(_168){
};
_122._defaultEventUnregister=_167;
function _15d(_169){
return "inlineEditMenuTemplate"==_169;
};
_122._isInlineEditMenu=_15d;
})(i$.fromPath("wpModules.contextMenu",true));
(function(_16a){
function _16b(_16c,fn){
var _16d;
if(fn){
var _16e=_16c.fromPath=_16c.fromPath||{},key=null,_16f=null,_170=_16c.metadata;
if(_170&&_170.contributor){
var _171=_170.contributor,idx=_171.lastIndexOf(":");
_16f=_171.substr(idx+1);
}else{
_16f=i$.fromPath("ibmCfg.portalConfig.currentPageOID");
}
key=_16f+fn;
_16d=_16e[key];
if(!_16d){
var tu=i$.fromPath("wpModules.theme.WindowUtils"),wnd=tu?tu.getWindow(_16f):window;
_16d=wnd.i$.fromPath(fn);
}
_16e[key]=_16d;
}
return _16d||null;
};
_16a._getFunction=_16b;
function _172(_173,fn,arg,_174){
var _175=_16a._getFunction(_173,fn);
if(_175&&i$.isFunction(_175)){
try{
return _175(arg);
}
catch(exc){
}
}
return i$.promise.resolved(_174);
};
_16a._checkFunction=_172;
})(i$.fromPath("wpModules.contextMenu",true));
(function(_176){
function _177(){
return (navigator.userAgent.match(/iPad/i))?true:false;
};
function _178(){
if(typeof _176._mobileCheck=="undefined"){
_176._mobileCheck=_177();
}
return _176._mobileCheck;
};
_176._isMobile=_178;
function _179(_17a){
if(_178()){
if(_177()){
_176._pausedBeforeReopen=_17a.id;
setTimeout(function(){
_176._pausedBeforeReopen=null;
},1000);
}
}
};
_176._setPauseBeforeReopenForMobile=_179;
function _17b(args){
if(!_178()){
return;
}
var evt=args.event,_17c=args.jsonObject,_17d=args.jsonData;
window.setTimeout(function(){
if(_17d._menuDataLoaded){
wpModules.contextMenu.init(_17c);
}
},600);
if(_17c.menuId=="wcmInplaceEditMenu"){
var _17e="contenteditable",_17f=false,jq=_17c.jsonQuery,_180=jq&&jq.contentRegion,node=_180?i$.byId(_180):null;
if(node){
if(node.getAttribute(_17e)!="true"){
node.setAttribute(_17e,"true");
_17f=true;
}
node.focus();
if(_17f){
node.setAttribute(_17e,"false");
}
}
}
};
_176._defaultActionFnForMobile=_17b;
function _181(){
if(!_178()){
return;
}
if(!_176._mobileHandlers){
var _182=[],_183;
_183=i$.bindDomEvt(document.body,"touchstart",function(evt){
var _184=wpModules.contextMenu.getHandles(),prop,node,_185,_186=evt.target,_187=false;
if(_186){
for(prop in _184){
node=_184[prop];
if(node){
if(node._contextMenu){
_185=node._contextMenu.shadowNode;
}
if(_186==node||i$.isDescendant(_186,node)){
_187=true;
break;
}
if(_185){
if(_186==_185||i$.isDescendant(_186,_185)){
_187=true;
break;
}
}
}
}
if(!_187){
i$.fireEvent("wpModules/contextMenu/close/all");
}
}
});
_182.push(_183);
_176._touchHandlers=_182;
}
};
_176._registerMobileDeviceHandlers=_181;
})(i$.fromPath("wpModules.contextMenu",true));


}catch(e){console.log("Module 'wp_contextmenu_js': ",e);}
try{function insertHtmlAtCursor(id,_1){
var _2=CKEDITOR.instances[id];
if(_2){
_2.insertHtml(_1);
}
};
function getDirection(id){
var _3=null;
if(CKEDITOR.status=="loaded"){
var _4=CKEDITOR.instances[id];
if(_4){
_3=_4.config.contentsLangDirection;
}
}else{
console.error("CKEditor is not loaded, can not get the editor direction.");
}
if(_3==null||_3=="ui"){
_3=_getElementDirection(id);
}
return _3;
};
function _getElementDirection(_5){
var _6="ltr";
var _7=document.getElementById(_5);
if(_7!=null){
if(_7.currentStyle){
_6=_7.currentStyle["direction"];
}else{
if(window.getComputedStyle){
_6=getComputedStyle(_7,null).getPropertyValue("direction");
}
}
}
return _6;
};
function getHtml(id){
var _8=null;
if(CKEDITOR.status=="loaded"){
var _9=CKEDITOR.instances[id];
if(_9){
_8=_9.getData();
}
}else{
console.error("CKEditor is not loaded, can not get the editor data.");
}
return _8;
};
function setHtml(id,_a){
var _b=CKEDITOR.instances[id];
if(_b){
_b.setData(_a);
}
};
function doWCMSpellCheck(_c){
try{
var _d=new SpellCheckRange();
var _e=_c.document.getBody().$;
var _f=_c.document.$.createRange();
_f.selectNodeContents(_e);
_d.add(_c.getData(),_f);
SpellCheck.CheckSpelling(_d);
}
catch(e){
}
};
function setWCMCKEditorToolbars(){
CKEDITOR.config.toolbar_WCMFull=[["Cut","Copy","Paste","PasteText","PasteFromWord","WCMSpellChecker"],["Print","Undo","Redo","-","Find","-","SelectAll","RemoveFormat"],["WCMInsertImage","WCMInsertLink","WCMImport","WCMExport","WCMTagHelper","WCMInsertECMLink"],["Table","HorizontalRule","SpecialChar","PageBreak","ShowBlocks"],["BidiLtr","BidiRtl"],["Source"],"/",["Styles","Format","Font","FontSize"],["TextColor","BGColor"],["Bold","Italic","Underline","Strike","-","Subscript","Superscript","NumberedList","BulletedList"],["Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"]];
CKEDITOR.config.toolbar_WCMFullNoFormmatingControls=[["Cut","Copy","Paste","PasteText","PasteFromWord","WCMSpellChecker"],["Print","Undo","Redo","-","Find","-","SelectAll","RemoveFormat"],["WCMInsertImage","WCMInsertLink","WCMImport","WCMExport","WCMTagHelper","WCMInsertECMLink"],["Table","HorizontalRule","SpecialChar","PageBreak","ShowBlocks","Source"],"/",["Bold","Italic","Underline","Strike","-","Subscript","Superscript","NumberedList","BulletedList"],["Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"],["BidiLtr","BidiRtl"]];
CKEDITOR.config.toolbar_WCMMedium=[["Cut","Copy","Paste","PasteText","PasteFromWord","WCMSpellChecker","-","Print","Undo","Redo","-","RemoveFormat","-","WCMInsertImage","WCMInsertLink","-","Table","SpecialChar"],["BidiLtr","BidiRtl"],["Source"],"/",["Font","FontSize"],["TextColor","BGColor","-","Bold","Italic","Underline","Strike","-","Subscript","Superscript","NumberedList","BulletedList","-","Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"]];
CKEDITOR.config.toolbar_WCMReadOnly=[["Copy","Print","Find","WCMExport","Source"]];
};
function getCKLocale(_10){
if(_10!=null){
_10=_10.replace(/_/g,"-");
_10=_10.replace(/iw/g,"he");
}
var _11=CKEDITOR.lang.languages;
if(_11[_10]==1){
return _10;
}
var _12=_10.split("-")[0];
if(_11[_12]==1){
return _12;
}
if(CKEDITOR.config.language!=""){
return CKEDITOR.config.language;
}
return "en";
};


}catch(e){console.log("Module 'wcm_inplaceEdit': ",e);}
try{(function(_1){
"use strict";
var _2={editorMap:{},addEditor:function(_3,_4){
this.editorMap[_3]=_4;
},removeEditor:function(_5){
this.editorMap[_5]=null;
},getEditor:function(_6){
return this.editorMap[_6];
},notifyAllEditors:function(){
for(var _7 in this.editorMap){
this.editorMap[_7].notifySubmit();
}
}};
i$.toPath("ibm.wcm.ui.html.EditorRegistry",_2);
})(window);
dojo.provide("ibm.wcm.ui.html.Editor");
dojo.declare("ibm.wcm.ui.html.Editor",null,{constructor:function(_8){
this.editorId=_8;
ibm.wcm.ui.html.EditorRegistry.addEditor(this.editorId,this);
},editorId:null,eventMap:{focus:null,blur:null,loaded:null},notifySubmit:function(){
},getMarkup:function(){
alert("ERROR: getMarkup not implemented by integration.");
},setMarkup:function(){
alert("ERROR: setMarkup not implemented by integration.");
},insertMarkupAtCursor:function(){
alert("ERROR: insertMarkupAtCursor not implemented by integration.");
},launchInsertImageDialog:function(){
performInsertImgIntoRTF(this.editorId);
},launchInsertLinkDialog:function(_9,_a,_b,_c,_d){
performInsertLinkIntoRTF(this.editorId,null,_a,_b,_c,_d,_9);
},launchInsertTagDialog:function(_e){
var _f=false;
if(_e){
_f=true;
}
performInsertTagIntoField(this.editorId,null,null,null,null,_f);
},start:function(){
alert("ERROR: start not implemented by integration.");
},destory:function(){
alert("ERROR: destroy not implemented by integration.");
},on:function(_10,_11){
if(_10&&_11&&typeof _11==="function"&&this.eventMap[_10]!==undefined){
this.eventMap[_10]=_11;
}
},fireEvent:function(_12,_13){
if(_12&&this.eventMap[_12]!=null){
this.eventMap[_12].call(null,_13);
}
},focus:function(){
alert("ERROR: focus not implemented by integration.");
}});
dojo.provide("ibm.wcm.ui.html.HTMLEditor");
dojo.declare("ibm.wcm.ui.html.HTMLEditor",[ibm.wcm.ui.html.Editor],{showToolbar:function(_14){
if(_14==false){
dojo.addClass(dojo.byId(this.editorId+"toolbar"),"lotusHidden");
}else{
if(_14==true){
dojo.removeClass(dojo.byId(this.editorId+"toolbar"),"lotusHidden");
}
}
}});


}catch(e){console.log("Module 'wcm_inplaceEdit': ",e);}
try{function insertHTMLIntoTargetElement(_1,_2,_3,_4){
var _5=ibm.wcm.ui.html.EditorRegistry.getEditor(_1);
if(_5){
_5.insertMarkupAtCursor(_2);
}else{
var _6=dojo.byId(_1);
if(_6==null||_6.tagName.toLowerCase()!="textarea"||(!(typeof CKEDITOR==="undefined")&&CKEDITOR.instances[_1])){
if(!(typeof runCallbackUsingEphoxSelectedText==="undefined")&&runCallbackUsingEphoxSelectedText!=null&&!_3&&_4){
var _7=new Array(_1,_2);
runCallbackUsingEphoxSelectedText(insertLinkHTMLUsingSelectedText,_7);
}else{
insertHtmlAtCursor(_1,_2);
}
}else{
insertHtmlIntoTextAreaAtCursor(_1,_2);
}
}
};
function insertHtmlIntoTextAreaAtCursor(_8,_9){
console.log("Entering insertHtmlIntoTextAreaAtCursor: ",_8,_9);
var _a=dojo.byId(_8);
if(_a!==null&&_9!==null){
if(document.selection&&(!_a.selectionStart||_a.selectionStart===null)){
_a.focus();
var _b=document.selection.createRange();
_b.text=_9;
_b.select();
}else{
if(_a.selectionStart||_a.selectionStart=="0"){
var _c=_a.selectionStart;
var _d=_a.selectionEnd;
var _e=_a.scrollTop;
_a.value=_a.value.substring(0,_c)+_9+_a.value.substring(_d,_a.value.length);
_a.focus();
_a.scrollTop=_e;
_a.selectionStart=_a.selectionEnd=_c+_9.length;
}
}
}
};
function focusElement(_f){
var _10=dojo.byId(_f);
if(_10){
_10.focus();
}
};
function performInsertTagIntoField(_11,_12,_13,_14,_15,_16){
console.log("Entering performInsertTagIntoField: ",_11,_12);
var _17=dojo.byId(_11);
if(_17!=null){
if(_12!=null){
if(isODC(_11)){
IBM_RTE_getWindow(_11).focus();
if(isMozilla()){
var _18=IBM_RTE_getFrame(_11);
var txt=document.createTextNode(_12);
try{
IBM_RTE_insertNodeAtSelection(_18.contentWindow,txt);
}
catch(e){
}
}else{
try{
var _19=IBM_RTE_getDocument(_11).selection.createRange().duplicate();
_19.pasteHTML(_12);
}
catch(e1){
errorOccurred=true;
}
}
}else{
insertHTMLIntoTargetElement(_11,_12,null,false);
}
onPerformInsertTagIntoField(_11,_12);
}else{
var _1a=false;
try{
if(_17.tagHelperWin==null||_17.tagHelperWin.closed==true||_17.tagHelperWin.location==null||_17.tagHelperWin.location.href==null){
_1a=true;
}
}
catch(exception){
_1a=true;
}
if(_1a==true){
var _1b=document.tagHelperURL;
_1b=addProjectId(_1b);
if(_16===true){
_1b+="&launchDesignHelper="+_16;
}
if(_11!=undefined){
_1b+="&htmlId="+_11;
}
if(_14!=undefined){
_1b+="&sourceclass="+_14;
}
if(_13!=undefined){
_1b+="&atid="+_13;
}
if(_15!=undefined){
_1b+="&showconsumabletags="+_15;
}
focusElement(_11);
_17.tagHelperWin=window.open(_1b,"","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=330,width=615,left="+(screen.availWidth/15)+",top="+(screen.availHeight/15));
}
}
}
};
function onPerformInsertTagIntoField(_1c,_1d){
};
function disableEditorLinks(_1e){
var _1f=IBM_RTE_getDocument(_1e);
if(_1f.getElementsByTagName("head")[0]==null){
window.setTimeout("disableEditorLinks('"+_1e+"')",250);
return;
}
var _20=_1f.getElementsByTagName("a");
for(var i=0;i<_20.length;i++){
var _21=_20[i];
_21.onclick=function anonymous(){
return false;
};
}
};
function setEditorStyleSheet(_22,_23){
var _24=dojo.byId(_23);
if(_24!=null){
var _25=document[_22+"styleSet"];
if(_25==null||_25==false){
window.setTimeout("setEditorStyleSheet('"+_22+"', '"+_23+"')",500);
}
var _26=IBM_RTE_getDocument(_22);
if(_26.getElementsByTagName("head")[0]==null){
window.setTimeout("setEditorStyleSheet('"+_22+"', '"+_23+"')",250);
return;
}
var _27=_26.getElementById(_22+"styleTag");
if(_27==null){
var _28=_26.createElement("link");
_28.setAttribute("href",_24.value);
_28.setAttribute("rel","stylesheet");
_28.setAttribute("type","text/css");
_28.setAttribute("id",_22+"styleTag");
var _29=_26.getElementsByTagName("head")[0];
_29.appendChild(_28);
document[_22+"styleSet"]=true;
}else{
_27.href=_24.value;
}
}
};
function toggleStyleSheet(_2a,_2b,_2c){
var _2d=_2a+_2b+"WCMButton1";
var _2e=dojo.byId(_2d);
if(_2e!=null&&_2e.style.display!=""){
var _2f=IBM_RTE_getDocument(_2a);
var _30=_2f.getElementById(_2a+"styleTag");
if(_30!=null){
_30.href="";
}
}else{
setEditorStyleSheet(_2a,_2c);
}
};
function setImagePickerOnSelectPreview(){
var _31=document.body.getElementsByTagName("INPUT");
var _32=null;
var i;
for(i=0;i<_31.length;i++){
var _33=_31[i];
if(_33!=null){
if(_33.name!=null&&_33.name.indexOf("client-select")>=0){
_32=_33.name;
}
}
}
if(_32!=null){
var _34=document.getElementsByName(_32);
for(i=0;i<_34.length;i++){
var _35=_34[i];
_35.onclick=function anonymous(){
tableRowHighlight(this,"Deselect","Select","wpsTableSelectedRow","wpsTableNrmRow");
var _36=dojo.byId(this.value+"_url");
var _37=dojo.byId(this.value+"_height");
var _38=dojo.byId(this.value+"_width");
if(_36!=null&&_37!=null&&_38!=null){
updatePreviewImage(_36.value,_37.value,_38.value);
}else{
_36=dojo.byId("IMAGE_PICKERPREVIEW_BLANK");
updatePreviewImage(_36.value,"1","1");
}
};
}
}
var _39=dojo.byId("imagePickerTable").offsetHeight;
if(_39!=null&&_39>dojo.byId("PREVIEW_IMAGE_TABLE2").style.height){
dojo.byId("PREVIEW_IMAGE_TABLE2").style.height=_39+"px";
}
};
function updatePreviewImage(_3a,_3b,_3c){
var _3d=dojo.byId("IMAGE_PICKERPREVIEW_THUMBNAIL");
if(_3d!=null){
_3d.src=_3a;
_3d.width=_3c;
_3d.height=_3b;
}
};
function importHTML(_3e,_3f){
var _40=dojo.byId(_3f);
if(_40.disabled==null||_40.disabled==false){
dojo.byId(_3f).disabled=true;
performImport(_3e,_3f);
}
};
function performImport(_41,_42){
var _43=function(_44,_45){
var _46=ibm.wcm.ui.html.EditorRegistry.getEditor(_44);
var _47=dojo.byId(_44);
if(_46){
_46.setMarkup(_45);
}else{
_47.value=_45;
}
};
importMarkup(document.importMarkupEditModeURL,_41,_43);
dojo.byId(_42).disabled=false;
};
function importRTFHTML(_48,_49){
if(_49!=null){
var _4a=dojo.byId(_49);
if(_4a.disabled==false){
dojo.byId(_49).disabled=true;
performRTFImport(_48,_49);
}
}else{
performRTFImport(_48);
}
};
function performRTFImport(_4b,_4c){
var _4d=function(_4e,_4f){
setHtml(_4e,_4f);
};
importMarkup(document.importMarkupEditModeURL,_4b,_4d);
if(_4c!=null){
dojo.byId(_4c).disabled=false;
}
};
function importMarkup(_50,_51,_52){
if(dojo.isIE){
ibm.wcm.utils.DialogUtils.showImportMarkupDialog(_50,_51,_52);
}else{
require(["dojo/request/iframe","dojo/dom","dojo/dom-construct","dojo/html","dojo/on","dojo/domReady!"],function(_53,dom,_54,_55,on){
var _56=_51+"_fileForm";
var _57=dom.byId(_56);
var _58=_51+"_fileInputField";
var _59=_51+"_importMarkupError";
var _5a=_59+"_MsgBody";
var _5b=ibm.wcm.resource.ResourceBundle.getBundle("ibm.wcm.widget.dialog.ImportMarkupDialog").messageMap;
if(!_57){
_54.create("form",{id:_56,method:"post",enctype:"multipart/form-data",className:"wcmImportMarkupForm"},dojo.body());
_54.create("input",{id:_58,name:"importFile",type:"file"},_56);
_53._frame=_53.create(_53._iframeName,"dojo_request_iframe_onload();");
var _5c=dom.byId(_58);
on(_5c,"click",function(evt){
this.value="";
});
on(_5c,"change",function(evt){
if(this.value){
_53(_50,{form:_56,handleAs:"json"}).then(function(_5d){
if(_5d.error){
_55.set(dom.byId(_5a),_5d.error);
showDynamicLayout(_59);
}else{
hideDynamicLayout(_59);
}
if(_5d.markup||_5d.markup===""){
_52(_51,_5d.markup);
}
},function(_5e){
console.log("Error importing markup: ");
console.log(_5e);
_55.set(dom.byId(_5a),_5b.IMPORT_MARKUP_ERROR);
showDynamicLayout(_59);
});
}
});
window.setTimeout(function(){
selectFile(_58);
},100);
}else{
selectFile(_58);
}
focusElement(_51);
});
}
};
function exportHTML(_5f,_60){
var _61=dojo.byId(_60);
if(_61.disabled==null||_61.disabled==false){
dojo.byId(_60).disabled=true;
window.setTimeout("performExport('"+_5f+"', '"+_60+"')",100);
}
};
function performExport(_62,_63){
exportMarkup(document.exportMarkupEditModeURL,_62);
};
function exportRTFHTML(_64,_65){
performRTFExport(_64,_65);
};
function performRTFExport(_66,_67){
exportMarkup(document.exportMarkupEditModeURL,_66);
};
var uploadedFields;
if(uploadedFields==null){
uploadedFields=new Object();
}
function updateEditorValueForSubmit(_68,_69){
if(window.uploadedFields!=null&&uploadedFields[_69]!=null){
dojo.byId(_68).value=uploadedFields[_69];
}else{
dojo.byId(_68).value=getHtml(_69);
}
};
function removeTemporarySingleQuote(_6a,_6b){
if(_6a!=null){
var _6c=/&#39;_replaced/g;
}
var _6d=/&amp;#39;_replaced/g;
if(_6b==true){
return _6a.replace(_6d,"&#39;");
}else{
return _6a.replace(_6c,"'");
}
return _6a;
};
function insertImgIntoRTF(_6e){
IBM_RTE_getWindow(_6e).focus();
var _6f=dojo.byId(p_buttonID);
if(_6f.popupWindowRef==null){
var _70=window.open(imagePickerURL+"&rtfId="+_6e+"&buttonId=","","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=550,width=450,left="+screen.availWidth/15+",top="+screen.availHeight/15);
_6f.popupWindowRef=_70;
_70.focus();
}
};
function performInsertImgIntoRTF(_71,_72,_73,_74,_75,_76,_77,_78,_79,_7a,_7b,_7c){
var _7d=rteEditorType(_71);
if(_7d!=null&&_7d=="ODCRTE"){
performInsertImgIntoOdcRTF(_71,_72,_73,_74,_75,_76,_77,_78,_79,_7a,_7b,_7c);
}else{
performInsertImgIntoNonOdcRTF(_71,_72,_73,_74,_75,_76,_77,_78,_79,_7a,_7b,_7c);
}
};
function generateImageTagHTML(_7e,_7f,_80,_81,_82,_83,_84){
var _85=document.createElement("div");
var img=document.createElement("img");
img.setAttribute("src",_7e);
img.setAttribute("alt",_7f==null?" ":_7f);
img.setAttribute("title",_7f==null?" ":_7f);
if(_80!=null){
img.setAttribute("width",_80);
}
if(_81!=null){
img.setAttribute("height",_81);
}
if(_82!=null){
img.setAttribute("border",_82);
}
if(_84!=null){
img.setAttribute("name",_84);
}
_85.appendChild(img);
var _86=_85.innerHTML;
_85.innerHTML="";
return _86;
};
function performInsertImgIntoOdcRTF(_87,_88,_89,_8a,_8b,_8c,_8d,_8e,_8f,_90,_91,_92){
if(_88!=null&&_88!=""){
IBM_RTE_getWindow(_87).focus();
if(isMozilla()){
var _93=IBM_RTE_getFrame(_87);
var img=_93.contentDocument.createElement("img");
img.setAttribute("src",_88);
img.setAttribute("alt",_89==null?" ":removeTemporarySingleQuote(_89,false));
img.setAttribute("title",_89==null?" ":removeTemporarySingleQuote(_89,false));
img.setAttribute("name",_90==null?" ":removeTemporarySingleQuote(_90,false));
if(_8a!=null){
img.setAttribute("width",removeTemporarySingleQuote(_8a,false));
}
if(_8b!=null){
img.setAttribute("height",removeTemporarySingleQuote(_8b,false));
}
if(_8c!=null){
img.setAttribute("border",removeTemporarySingleQuote(_8c,false));
}
try{
IBM_RTE_insertNodeAtSelection(_93.contentWindow,img);
}
catch(e){
}
}else{
try{
var _94=generateImageTagHTML(_88,_89,_8a,_8b,_8c,_8e,_90);
var _95=IBM_RTE_getDocument(_87).selection.createRange().duplicate();
_95.pasteHTML(removeTemporarySingleQuote(_94,true));
}
catch(e){
errorOccurred=true;
}
}
}else{
editorWin=IBM_RTE_getWindow(_87);
var _96=false;
try{
if(editorWin.imgPickerWin==null||editorWin.imgPickerWin.closed==true||editorWin.imgPickerWin.location==null||editorWin.imgPickerWin.location.href==null){
_96=true;
}
}
catch(exception){
_96=true;
}
if(_96==true){
var _97="";
if(_8d!=null&&_8d==true){
_97="&libImgOnly=true";
}
var _98="";
if(_8f!=null&&_8f==true){
_98="&isInTeamspace=true";
}
var _99="";
var _9a=document.getElementById(_87);
if(_9a&&_9a.parentNode&&_9a.parentNode.parentNode&&_9a.parentNode.parentNode){
_99="&componentId="+_9a.parentNode.parentNode.getAttribute("data-component-id");
}
editorWin.imgPickerWin=window.open(addProjectId(document.imagePickerURL)+"&rtfId="+_87+_99+_98+_97+formatImageInfoParams(_87,_91,_92),"","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=330,width=615,left="+(screen.availWidth/15)+",top="+(screen.availHeight/15));
}
}
};
function performInsertImgIntoNonOdcRTF(_9b,_9c,_9d,_9e,_9f,_a0,_a1,_a2,_a3,_a4,_a5,_a6){
if(_9c!=null&&_9c!=""){
var _a7=generateImageTagHTML(_9c,_9d,_9e,_9f,_a0,_a2,_a4);
_a7=removeTemporarySingleQuote(_a7,true);
insertHTMLIntoTargetElement(_9b,_a7,null,false);
}else{
editorWin=dojo.byId(_9b);
var _a8=false;
try{
if(editorWin.imgPickerWin==null||editorWin.imgPickerWin.closed==true||editorWin.imgPickerWin.location==null||editorWin.imgPickerWin.location.href==null){
_a8=true;
}
}
catch(exception){
_a8=true;
}
if(_a8==true){
var _a9="";
if(_a1!=null&&_a1==true){
_a9="&libImgOnly=true";
}
var _aa="";
if(_a3!=null&&_a3==true){
_aa="&isInTeamspace=true";
}
focusElement(_9b);
var _ab="";
var _ac=document.getElementById(_9b);
if(_ac&&_ac.parentNode&&_ac.parentNode.parentNode&&_ac.parentNode.parentNode){
_ab="&componentId="+_ac.parentNode.parentNode.getAttribute("data-component-id");
}
editorWin.imgPickerWin=window.open(addProjectId(document.imagePickerURL)+"&rtfId="+_9b+_ab+_aa+_a9+formatImageInfoParams(_9b,_a5,_a6),"","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=330,width=615,left="+(screen.availWidth/15)+",top="+(screen.availHeight/15));
}
if(editorWin.imgPickerWin!=null){
editorWin.imgPickerWin.focus();
}
}
};
function isODC(_ad){
var _ae=rteEditorType(_ad);
if(_ae!=null&&_ae=="ODCRTE"){
return true;
}
return false;
};
function rteEditorType(_af){
var _b0=dojo.byId(_af+"_RTE");
var _b1="";
if(_b0!=null){
_b1=_b0.value;
}
return _b1;
};
function getIESelectedText(win){
var sel=win.document.selection;
var _b2=sel.createRange();
var _b3=null;
if(_b2.text==null||_b2.text==""){
var _b4=true;
if(_b2!=null){
if(sel.type=="Control"){
_b4=(_b2.length==0);
}else{
_b4=(_b2.compareEndPoints("StartToEnd",_b2)==0);
}
}
if(!_b4){
_b3="";
}else{
var _b5=_b2.parentElement();
while(_b5!=null){
if(_b5.tagName=="A"){
break;
}
_b5=_b5.parentElement;
}
if(_b5!=null&&_b5.tagName=="A"){
_b2.moveToElementText(_b5);
_b2.select();
_b3=_b2.text;
}
}
}else{
_b3=_b2.text;
}
return _b3;
};
function getMozillaSelectedText(win){
var _b6=null;
var sel=win.getSelection();
var _b7=null;
if(sel.rangeCount>0){
_b7=sel.getRangeAt(0);
}
if(_b7!=null){
if(_b7.toString().toString()==""){
if(!sel.isCollapsed){
_b6="";
}else{
var _b8=_b7.commonAncestorContainer;
var _b9=_b8.parentNode;
while(_b9!=null){
if(_b9.nodeName=="A"){
break;
}
_b9=_b9.parentNode;
}
if(_b9!=null&&_b9.nodeName=="A"){
sel.removeAllRanges();
_b7.selectNode(_b9);
sel.addRange(_b7);
_b6=_b7.toString();
win.linkBeingReplaced=_b9;
}
}
}else{
_b6=_b7.toString();
}
}
return _b6;
};
function getMozillaTextAreaSelectedText(_ba){
var _bb=dojo.byId(_ba);
var _bc=null;
if(_bb!=null){
var _bd=_bb.selectionStart;
var _be=_bb.selectionEnd;
if(_bd!=_be){
_bc=_bb.value.substring(_bd,_be);
}
}
return _bc;
};
function getIESelectedLink(win){
var sel=win.document.selection;
var _bf=sel.createRange();
var _c0=null;
if(_bf!=null&&_bf.text==""){
var _c1=_bf.parentElement();
while(_c1!=null){
if(_c1.tagName=="A"){
break;
}
_c1=_c1.parentElement;
}
if(_c1!=null&&_c1.tagName=="A"){
_c0=_c1.outerHTML;
}
}
return _c0;
};
function getMozillaSelectedLink(win){
var _c2=null;
win.focus();
var sel=win.getSelection();
var _c3=null;
if(sel.rangeCount>0){
_c3=sel.getRangeAt(0);
}
if(_c3!=null&&_c3.toString().toString()==""){
var _c4=_c3.commonAncestorContainer;
var _c5=_c4.parentNode;
while(_c5!=null){
if(_c5.nodeName=="A"){
break;
}
_c5=_c5.parentNode;
}
if(_c5!=null&&_c5.nodeName=="A"){
_c2="<a";
var _c6=_c5.attributes;
for(var i=0;i<_c6.length;i++){
_c2+=" "+_c6[i].name+"=\""+_c6[i].value+"\"";
}
_c2+=">";
}
}
return _c2;
};
function parseAndSetLinkAttributes(_c7,_c8){
if(_c8!=null){
var _c9=null;
_c9=_c8.split(" ");
for(var i=0;i<_c9.length;i++){
var _ca=null;
_ca=_c9[i].split("=");
for(var j=0;j<_ca.length;j++){
if(_ca.length==2){
if(_ca[j]!=null&&_ca[j]!=" "&&_ca[j+1]!=null&&_ca[j+1]!=" "){
var val=_ca[j+1].replace(/"/g,"");
_c7.setAttribute(_ca[j],val);
j++;
}
}
}
}
}
};
function setLinkAttributes(_cb,_cc,_cd,_ce,_cf){
var _d0=null;
var sel;
var _d1;
if(isMozilla()||isOpera()){
sel=_cb.getSelection();
_d1=sel.getRangeAt(0);
_d0=_d1.startContainer;
if(_cb.linkBeingReplaced!=null){
_d0=_cb.linkBeingReplaced;
_cb.linkBeingReplaced=null;
}else{
if(_d0.nodeName=="A"){
}else{
if(_d0.parentNode!=null&&_d0.parentNode.nodeName=="A"){
_d0=_d0.parentNode;
}else{
if(_d0.childNodes!=null){
var i;
for(i=0;i<_d0.childNodes.length;i++){
if(_d0.childNodes[i].nodeName=="A"){
_d0=_d0.childNodes[i];
break;
}
}
}else{
if(_d0.nextSibling!=null){
_d0=_d0.nextSibling;
}else{
if(_cf!=null){
_d0=_cf.parentNode;
}
}
}
}
}
}
}else{
sel=_cb.document.selection;
_d1=sel.createRange();
_d1.collapse(false);
var _d2=null;
_d0=_d1.parentElement();
if(_d0!=null&&_d0.nodeName=="IMG"){
_d0=_d0.parentNode;
}
}
if(_d0!=null&&_d0.nodeName=="A"){
if(_cc!=null){
_d0.target=_cc;
}
if(_cd!=null){
_d0.title=decodeURI(_cd);
}
parseAndSetLinkAttributes(_d0,_ce);
}
};
function performInsertLinkIntoRTF(_d3,_d4,_d5,_d6,_d7,_d8,_d9,_da,_db,_dc,_dd,_de){
var _df=rteEditorType(_d3);
if(_df!=null&&_df=="ODCRTE"){
performInsertLinkIntoOdcRTF(_d3,_d4,_d5,_d6,_d7,_d8,_d9);
}else{
if(dojo.exists("ephox.wcm.api.Api")&&fullSelectedText!=""){
_d9=fullSelectedText;
}
if(_da!=null){
_d9=generateImageTagHTML(_da,_d7,_db,_dc,_dd);
}else{
dojo.require("dojox.html.entities");
_d9=dojox.html.entities.encode(_d9);
}
performInsertLinkIntoNonOdcRTF(_d3,_d4,_d5,_d6,_d7,_d8,_d9);
}
if(_da!=null&&_df!=null&&_df=="ODCRTE"){
if(isMozilla()){
var sel=IBM_RTE_getWindow(_d3).getSelection();
var _e0=sel.getRangeAt(0);
var _e1=_e0.startContainer;
var _e2=_e1;
_e2=_e2.childNodes[_e0.startOffset];
if(_e2!=null&&_e2.nodeName=="A"){
sel.removeAllRanges();
var _e3=_e2.childNodes;
for(var i=0;i<_e3.length;i++){
_e0.selectNode(_e3[i]);
}
sel.addRange(_e0);
}
}else{
var _e0=IBM_RTE_getWindow(_d3).document.body.createTextRange().duplicate();
if(_e0.findText(_d9,99999999,1)){
_e0.select();
_e0.scrollIntoView();
_e0.moveStart("character",0);
}
}
performInsertImgIntoRTF(_d3,_da,_d7,null,null,0,_de);
if(_da!=null&&isMozilla()){
IBM_RTE_getWindow(_d3).find(_d9,false,false,false,true);
var sel=IBM_RTE_getWindow(_d3).getSelection();
var _e0=sel.getRangeAt(0);
sel.removeAllRanges();
_e0.deleteContents();
}
}
};
function performInsertLinkIntoOdcRTF(_e4,_e5,_e6,_e7,_e8,_e9,_ea){
if(_e6!=null&&_e6!=""){
var _eb=IBM_RTE_getWindow(_e4);
_eb.focus();
var _ec=null;
if(_ea==null||_ea.length==0){
_ea=_e6;
}
if(_ea!=null&&_ea!=""){
_ea=decodeURI(_ea);
var _ed=null;
var _ee=_e6.length>80;
var _ef=_ea.indexOf("http://")==0||_ea.indexOf("https://")==0||_ea.indexOf("ftp://")==0||_ea.indexOf("gopher://")==0;
if(_ee&&_ea.indexOf("www.")==0){
_ea=_ea.substring(0,3)+_ea.substring(4);
}else{
if(_ee&&_ef){
_ed=_ea.indexOf(":");
_ea=_ea.substring(0,_ed)+_ea.substring(_ed+1);
}
}
if(isMozilla()||isOpera()){
var sel=_eb.getSelection();
var _f0=sel.getRangeAt(0);
var _f1;
if(_f0!=null&&!sel.isCollapsed){
_f1=_f0.toString();
}else{
_f1=_ea;
}
_ec=_eb.document.createTextNode(_f1);
if(!(_f0!=null&&!sel.isCollapsed)){
_f0.insertNode(_ec);
_f0.selectNode(_ec);
}
sel.addRange(_f0);
}else{
var sel=_eb.document.selection;
var _f0=sel.createRange();
if(window.selBookmark!=null){
_f0.moveToBookmark(selBookmark);
}
var _f2=false;
var _f3;
var _f1=null;
var _f4=true;
if(_f0!=null){
if(sel.type=="Control"){
_f4=(_f0.length==0);
}else{
_f4=(_f0.compareEndPoints("StartToEnd",_f0)==0);
}
}
if(!_f4){
_f1=_f0.text;
}else{
_f1=_ea;
_f0.text=_ea;
_f3=_ea.length;
_f2=true;
}
_ec=_eb.document.createTextNode(_f1);
if(_f2){
_f0.moveStart("character",-_f3);
}
_f0.select();
}
}
var a=_eb.document.body.getElementsByTagName("A");
var xxx=0;
while(a[xxx]!=null){
if(a[xxx].odc!=null){
a[xxx].href=a[xxx].odc;
}
xxx++;
}
_eb.focus();
_eb.document.execCommand("createlink",false,_e6);
a=_eb.document.body.getElementsByTagName("A");
xxx=0;
while(a[xxx]!=null){
a[xxx].setAttribute("odc",a[xxx].href);
xxx++;
}
setLinkAttributes(_eb,_e7,_e8,_e9,_ec);
}else{
_eb=IBM_RTE_getWindow(_e4);
var _f5=false;
try{
if(_eb.linkPickerWin==null||_eb.linkPickerWin.closed==true||_eb.linkPickerWin.location==null||_eb.linkPickerWin.location.href==null){
_f5=true;
}
}
catch(exception){
_f5=true;
}
if(_f5==true){
var _f6=null;
var _f7=null;
if(isMozilla()||isOpera()){
_f7=getMozillaSelectedLink(_eb);
_f6=getMozillaSelectedText(_eb);
_f7+=_f6+"</a>";
}else{
_f7=getIESelectedLink(_eb);
_f6=getIESelectedText(_eb);
}
if(_e5==null||_e5==""){
_e5=document.linkPickerURLNoECM;
}
var _f8=_e5+"&rtfId="+_e4;
_f8=addProjectId(_f8);
fullSelectedText=_f6;
if(_f6!=null&&_f6.length>0&&_f6!=" "){
if(_f6.length>40){
var _f9=_eb.document.body.dir;
if(_f9&&_f9.localeCompare("rtl")==0){
_f6=_f6.substring(_f6.length-40,_f6.length);
_f6="..."+_f6;
}else{
_f6=_f6.substring(0,40);
_f6+="...";
}
}
_f8+="&rtfSelectedText="+encodeURIComponent(_f6);
_f7=adjustLinkText(_f7,_f6);
_f8+="&rtfSelectedLink="+encodeURIComponent(_f7);
}
_eb.linkPickerWin=window.open(_f8,"","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=330,width=615,left="+(screen.availWidth/15)+",top="+(screen.availHeight/15));
}
}
};
function insertLinkHTMLUsingSelectedText(_fa){
var _fb=getEphoxCallbackParameters();
var _fc=replaceLinkText(_fb[1],_fa);
insertHtmlAtCursor(_fb[0],_fc);
};
function replaceLinkText(_fd,_fe){
var _ff=_fd;
if(_fe!=null&&_fe.length>0){
var _100=">"+_fe+"</a>";
_ff=_ff.replace(/>[^<]*<\/a>/i,_100);
}
return _ff;
};
var fullSelectedText="";
function performInsertLinkIntoNonOdcRTF(_101,_102,_103,_104,_105,_106,_107){
if(_103!=null&&_103!=""){
var _108=null;
if(!(typeof CKEDITOR==="undefined")&&CKEDITOR.instances[_101]){
var _109=CKEDITOR.instances[_101];
_108=CKEDITOR.plugins.link.getSelectedLink(_109);
}
if(_108!=null&&!_108.isReadOnly()&&_108.is("a")){
_108.setAttribute("href",_103);
_108.setAttribute("target",_104);
_108.setAttribute("title",_105);
_108.$.removeAttribute("data-cke-saved-href");
}else{
var _10a=document.createElement("div");
var _10b=document.createElement("a");
var _10c=true;
if(_107==null||_107.length==0){
_107=_103;
_10c=false;
}
var _10d=_107;
var i=_107.indexOf("...");
if((fullSelectedText.length>0)&&(i>-1)){
_10d=fullSelectedText;
}
_10b.setAttribute("href",_103);
_10b.setAttribute("target",_104);
_10b.setAttribute("title",_105);
_10b.innerHTML=_10d;
parseAndSetLinkAttributes(_10b,_106);
_10a.appendChild(_10b);
var _10e=_10a.innerHTML;
_10a.innerHTML="";
var _10f="<br>";
var _110=_10e.replace(/&lt;br\/&gt;/g,_10f).replace(/\n/g,_10f);
if(_110.indexOf(_10f)==-1){
insertHTMLIntoTargetElement(_101,_10e,_10c,true);
}else{
var _111="{This is the separator}";
var _112=document.createElement("link");
_112.innerHTML=_110;
var _113=_112.firstChild.innerHTML;
_112.firstChild.innerHTML=_111;
var _114=_112.firstChild.outerHTML;
var _115=_114.split(_111);
var _116=_115[0];
var _117=_115[1];
var _118=true;
if(typeof CKEDITOR==="undefined"){
_118=false;
}
var _119=true;
var _11a;
if(_113.indexOf(_10f+_10f)!=-1){
_11a=_113.split(_10f+_10f);
}else{
_119=false;
_11a=_113.split(_10f);
}
var _11b="";
for(var i=0;i<_11a.length;i++){
_11b+=_116+_11a[i]+_117;
if(i<_11a.length-1){
if(_119){
_11b+="<p>";
}else{
if(_118&&CKEDITOR.config.enterMode==CKEDITOR.ENTER_DIV){
_11b+="</div><div>";
}else{
_11b+=_10f;
}
}
}
}
if(_118&&CKEDITOR.config.enterMode==CKEDITOR.ENTER_DIV){
_11b="<div>"+_11b+"</div>";
}
insertHTMLIntoTargetElement(_101,_11b,_10c,true);
}
}
}else{
editorWin=dojo.byId(_101);
var _11c=false;
try{
if(editorWin.linkPickerWin==null||editorWin.linkPickerWin.closed==true||editorWin.linkPickerWin.location==null||editorWin.linkPickerWin.location.href==null){
_11c=true;
}
}
catch(exception){
_11c=true;
}
if(_11c==true){
var _11d=null;
var _11e=null;
if(_102==null||_102==""){
_102=document.linkPickerURLNoECM;
}
var _11f=_102+"&rtfId="+_101;
_11f=addProjectId(_11f);
var elm=dojo.byId(_101);
if(((elm!=null)&&(elm.tagName.toLowerCase()=="textarea"))||typeof runCallbackUsingEphoxSelectedText==="undefined"||runCallbackUsingEphoxSelectedText==null){
if(!(typeof CKEDITOR==="undefined")&&CKEDITOR.instances[_101]){
var _109=CKEDITOR.instances[_101];
var _108=CKEDITOR.plugins.link.getSelectedLink(_109);
if(_108!=null&&!_108.isReadOnly()&&_108.is("a")){
_11e="<a href='"+_108.getAttribute("href")+"'";
_11e+=" target='"+_108.getAttribute("target")+"'";
_11e+=" title='"+_108.getAttribute("title")+"'></a>";
_109.getSelection().selectElement(_108);
}
if(CKEDITOR.env.ie&&CKEDITOR.env.version<11){
if(_109.getSelection().getNative().createRange){
selection=_109.getSelection().getNative().createRange().text;
}else{
selection=_109.getSelection().document.$.selection.createRange().text;
}
}else{
selection=_109.getSelection().getNative();
}
if(selection!=null){
_11d=selection.toString();
}
}else{
if(isMozilla()||isOpera()){
_11e=getMozillaSelectedLink(window);
_11d=getMozillaTextAreaSelectedText(_101);
_11e+=_11d+"</a>";
}else{
_11e=getIESelectedLink(window);
_11d=getIESelectedText(window);
}
}
fullSelectedText="";
if(_11d!=null&&_11d.length>0&&_11d!=" "){
fullSelectedText=_11d;
if(_11d.length>40){
var _120=getDirection(_101);
if(_120&&_120.localeCompare("rtl")==0){
_11d=_11d.substring(_11d.length-40,_11d.length);
_11d="..."+_11d;
}else{
_11d=_11d.substring(0,40);
_11d+="...";
}
}
_11f+="&rtfSelectedText="+encodeURIComponent(_11d);
_11e=adjustLinkText(_11e,_11d);
_11f+="&rtfSelectedLink="+encodeURIComponent(_11e);
}
focusElement(_101);
editorWin.linkPickerWin=window.open(_11f,"","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=330,width=615,left="+(screen.availWidth/15)+",top="+(screen.availHeight/15));
}else{
var _121=new Array(_101,_11f);
runCallbackUsingEphoxSelectedText(performInsertLinkIntoEditLiveEditor,_121);
}
}
}
};
function getDirection(_122){
var dir="ltr";
var node=document.getElementById(_122);
if(node!=null){
if(node.currentStyle){
dir=node.currentStyle["direction"];
}else{
if(window.getComputedStyle){
dir=getComputedStyle(node,null).getPropertyValue("direction");
}
}
}
return dir;
};
function performInsertLinkIntoEditLiveEditor(_123){
var _124=getEphoxCallbackParameters();
var _125=_124[0];
var _126=_124[1];
fullSelectedText="";
_126+="&rtfId="+_125;
var _127=_123;
if(dojo.exists("ephox.wcm.api.Api")){
var _128=ephox.wcm.api.Api.getEditor(_125);
if(typeof _128.getHyperlinkAtCursor=="function"){
_127=_128.getHyperlinkAtCursor();
if(_123!=_127){
_123=_127;
}
}
}
if(_123!=null&&_123.length>0&&_123!=" "){
var _129=document.createElement("DIV");
_129.innerHTML=_123;
if(dojo.isIE){
_123=_129.innerText;
}else{
_123=_129.textContent;
}
fullSelectedText=_123;
if(_123.length>40){
var _12a=getDirection(_125);
if(_12a&&_12a.localeCompare("rtl")==0){
_123=_123.substring(_123.length-40,_123.length);
_123="..."+_123;
}else{
_123=_123.substring(0,40);
_123+="...";
}
}
_126+="&rtfSelectedText="+encodeURIComponent(_123);
if(_127!=null&&_127.length>0){
_126+="&rtfSelectedLink="+encodeURIComponent(_127);
}
}
editorWin.linkPickerWin=window.open(_126,"","resizable=yes,scrollbars=yes,dependent=yes,modal=yes,height=330,width=615,left="+(screen.availWidth/15)+",top="+(screen.availHeight/15));
if(dojo.isIE==7){
if(editorWin.linkPickerWin!=null){
window.focus();
editorWin.linkPickerWin.focus();
}
}
};
function adjustLinkText(_12b,_12c){
var _12d="";
var _12e=-1;
if(_12b!=null){
_12e=_12b.indexOf(">");
if(_12e>-1){
_12d=_12b.substring(0,_12e+1);
_12d+=_12c;
_12d+="</"+_12b.charAt(1)+">";
}
}
return _12d;
};
var selBookmark=null;
function setSelBookmarkForOdcEditor(_12f){
var _130=rteEditorType(_12f);
if(_130!=null&&_130=="ODCRTE"&&dojo.isIE){
var _131=IBM_RTE_getWindow(_12f);
_131.focus();
var sel=_131.document.selection;
selBookmark=sel.createRange().duplicate().getBookmark();
}
};
function openDialog(_132){
var _133=new wpModules.dialog.Dialog(_132);
_133.open();
return _133;
};
function getValueFromArray(_134,_135){
var o=_134[_135];
if(o){
var v=o.value;
if(v&&v.length>0){
return v[0];
}
}
return null;
};
function openFedDocsPickerDialog(_136,_137,_138){
var url="?uri=fedDocsPicker:dialogState&callingEnvId=wcm",args={"url":url,"title":_136,"draggable":true,"modal":true,"autoResize":true,"callbackFn":function(_139){
if(_139){
var _13a=getValueFromArray(_139,"action");
if(_13a==="ok"){
var _13b=getValueFromArray(_139,"docTitle");
var _13c=getValueFromArray(_139,"docURL");
if(_137&&typeof _137=="function"){
_137(_13b,_13c);
}
}else{
if(_138&&typeof _138=="function"){
_138();
}
}
}else{
if(_138&&typeof _138=="function"){
_138();
}
}
}};
return openDialog(args);
};
var elEcmLaunched=false;
function insertEcmLink(_13d,_13e,_13f,_140){
if(elEcmLaunched==false){
var _141=null;
if(!(typeof CKEDITOR==="undefined")&&CKEDITOR.instances[_13d]){
var _142=CKEDITOR.instances[_13d];
var _143;
if(CKEDITOR.env.ie&&CKEDITOR.env.version<11){
if(_142.getSelection().getNative().createRange){
_143=_142.getSelection().getNative().createRange().text;
}else{
_143=_142.getSelection().document.$.selection.createRange().text;
}
}else{
_143=_142.getSelection().getNative();
}
if(_143!=null){
_141=_143.toString();
}
}
var _144=function(_145,_146){
if(_13e&&typeof _13e=="function"){
_13e();
}
performInsertLinkIntoRTF(_13d,null,_146,null,null,null,_141,null,null,null,null,null);
elEcmLaunched=false;
};
setSelBookmarkForOdcEditor(_13d);
try{
openFedDocsPickerDialog(_140,_144,_13e);
elEcmLaunched=true;
}
catch(e){
handleECMDialogError(_13f);
if(_13e&&typeof _13e=="function"){
_13e();
}
}
}
};
function handleECMDialogError(_147){
if(typeof _147=="string"&&_147!==""){
alert(_147);
if(typeof console!="undefined"&&typeof console.info!="undefined"){
console.info(_147);
console.info(e);
}
}
};
function setEditLiveVisibility(_148,_149){
if(_149){
ephox.wcm.api.Api.setForegroundAll(function(){
});
}else{
ephox.wcm.api.Api.setBackgroundAll(function(){
});
}
};
function setEditLiveVisibilityWithDelay(_14a,_14b,_14c){
if(dojo.isIE){
setTimeout(function(){
setEditLiveVisibility(_14a,_14b);
},_14c);
}else{
setEditLiveVisibility(_14a,_14b);
}
};
function editLiveInsertEcmLink(_14d){
if(elEcmLaunched==false){
setEditLiveVisibilityWithDelay(_14d,false,200);
if(dojo.getObject("ibm.wcm.richtexteditors")&&dojo.getObject("ibm.wcm.richtexteditors")[_14d]){
var _14e=dojo.getObject("ibm.wcm.richtexteditors")[_14d];
insertEcmLink(_14d,function(){
setEditLiveVisibilityWithDelay(_14d,true,200);
elEcmLaunched=false;
},_14e.pickerUnavailableMsg,_14e.pickerDialogTitle);
}
}
};
function editLiveInsertImageLink(_14f){
if(dojo.getObject("ibm.wcm.richtexteditors")&&dojo.getObject("ibm.wcm.richtexteditors")[_14f]){
var _150=dojo.getObject("ibm.wcm.richtexteditors")[_14f];
performInsertImgIntoRTF(_14f,null,null,null,null,null,_150.imgPickerLimitToLibrary,_150.imgPickerSelectionModel,_150.imgPickerManagementOption);
}else{
performInsertImgIntoRTF(_14f);
}
};
function uploadImages(){
if(dojo.exists("ephox.wcm.api.Api.uploadImagesAll")){
ephox.wcm.api.Api.uploadImagesAll();
}
};
function addEditor(_151,_152){
var form=dojo.byId(_151);
if(form.editors==null){
form.editors=[];
}
form.editors[form.editors.length]=_152;
};
function addRTFEditor(_153,_154){
var form=dojo.byId(_153);
if(form.rtfEditors==null){
form.rtfEditors=[];
}
form.rtfEditors[form.rtfEditors.length]=_154;
};
function WCMInsertImageTemplateInfo(name,_155,_156,_157,_158){
this.name=name;
this.limitToLibrary=_155;
this.managementOption=_156;
this.selectionModel=_157;
this.chooserName=_158;
};
WCMInsertImageTemplateInfo.prototype.getName=function(){
return this.name;
};
WCMInsertImageTemplateInfo.prototype.isLimitToLibrary=function(){
return this.limitToLibrary;
};
WCMInsertImageTemplateInfo.prototype.getManagementOption=function(){
return this.managementOption;
};
WCMInsertImageTemplateInfo.prototype.getSelectionModel=function(){
return this.selectionModel;
};
WCMInsertImageTemplateInfo.prototype.getSelectionDigitalAssetChooserName=function(){
return this.chooserName;
};
if(typeof (wcmInsertImageInfos)=="undefined"){
wcmInsertImageInfos=[];
}
function formatImageInfoParams(_159,_15a,_15b){
var _15c=null;
if(typeof (_15c)!="undefined"){
_15c=wcmInsertImageInfos[_159];
}
var _15d="";
var _15e="";
var _15f="";
if(_15c!=null){
if(_15c!=null){
_15d="&resourceManagementOption="+_15c.getManagementOption();
}
if(_15c!=null){
_15e="&resourceSelectionModel="+_15c.getSelectionModel();
}
var _160=_15c.getSelectionDigitalAssetChooserName();
if(_160!=null&&_160.length>0){
_15f="&resourceDigitalAssetChooser="+_160;
}
}else{
if(_15a!=null){
_15d="&resourceManagementOption="+_15a;
}
if(_15b!=null){
_15e="&resourceSelectionModel="+_15b;
}
}
return _15d+_15e+_15f;
};
function exportMarkup(_161,_162){
dojo.require("dojo.io.iframe");
var _163=null;
if(_162!=null){
var _164=null;
var _165=null;
if(ibm.wcm.ui.html.EditorRegistry){
_165=ibm.wcm.ui.html.EditorRegistry.getEditor(_162);
}
if(_165){
_164=_165.getMarkup();
}else{
var _166=dojo.byId(_162);
if(_166==null||_166.tagName.toLowerCase()!="textarea"||(!(typeof CKEDITOR==="undefined")&&CKEDITOR.instances[_162])){
_164=getHtml(_162);
}else{
_164=_166.value;
}
}
var form=document.createElement("form");
dojo.attr(form,"method","post");
dojo.attr(form,"action",_161);
dojo.attr(form,"id",_162+"form");
document.body.appendChild(form);
var _167=document.createElement("textarea");
dojo.attr(_167,"name","markup");
dojo.attr(_167,"id",_162+"formfile");
dojo.attr(_167,"value",_164);
form.appendChild(_167);
_163=dojo.io.iframe.send({url:_161,method:"POST",form:form});
document.body.removeChild(form);
}else{
_163=dojo.io.iframe.send({url:_161,method:"GET"});
}
if(_163){
_163.cancel();
}
focusElement(_162);
};
function addProjectId(_168){
var _169=_168;
var _16a=dojo.byId("projectId");
if(_16a!=null){
var _16b=_16a.value;
if(_16b!=""){
_169=_169+"&projectId="+_16b;
}
}
return _169;
};
function isMozilla(){
return navigator.product=="Gecko";
};
function isIE(){
return dojo.isIE;
};
function isOpera(){
return window.opera!=null;
};


}catch(e){console.log("Module 'wcm_inplaceEdit': ",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:{"wcm/editor/CKEditor":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr"],function(_1,_2,_3){var _4=_1("CKEditor",[ibm.wcm.ui.html.Editor],{editor:null,editWidgetId:null,constructor:function(_5){this.editWidgetId=_5;this.init();},init:function(){if(!CKEDITOR.plugins.get("wcm")){this._addWcmPlugin();}CKEDITOR.config.toolbar_InplaceFull=[["Cut","Copy","Paste","PasteText","PasteFromWord"],["Print","Undo","Redo","-","Find","-","SelectAll","RemoveFormat"],["WCMInsertImage","WCMInsertLink","WCMTagHelper","WCMInsertECMLink"],["Table","HorizontalRule","SpecialChar","PageBreak","ShowBlocks"],["BidiLtr","BidiRtl"],["Source"],"/",["Styles","Format","Font","FontSize"],["TextColor","BGColor"],["Bold","Italic","Underline","Strike","-","Subscript","Superscript","NumberedList","BulletedList"],["Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"]];},_addWcmPlugin:function(){var _6=this;CKEDITOR.plugins.add("wcm",{requires:["menubutton"],init:function(_7){var _8=function(_9){_9.cancel();};_7.addCommand("WCMInsertImageCmd",{exec:function(_a){_a.editable().once("blur",_8,null,null,-1000);performInsertImgIntoRTF(_a.name,null,null,null,null,null,_a.config.imgPickerLimitToLibrary,_a.config.imgPickerSelectionModel,_a.config.imgPickerManagementOption);}});_7.ui.addButton("WCMInsertImage",{label:_7.lang.common.image,command:"WCMInsertImageCmd",icon:wcmModules.config.inplaceResourceRoot+"/js/editor/insertImage.gif"});_7.addCommand("WCMInsertLinkCmd",{exec:function(_b){_b.editable().once("blur",_8,null,null,-1000);performInsertLinkIntoRTF(_b.name);}});_7.ui.addButton("WCMInsertLink",{label:_7.lang.link.toolbar,command:"WCMInsertLinkCmd",icon:wcmModules.config.inplaceResourceRoot+"/js/editor/insertLink.gif"});_7.addCommand("WCMTagHelperCmd",{exec:function(_c){_c.editable().once("blur",_8,null,null,-1000);_6.launchInsertTagDialog();}});_7.ui.addButton("WCMTagHelper",{label:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["TAG_HELPER_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/tagHelper.gif",command:"WCMTagHelperCmd"});_7.addCommand("WCMInsertECMLinkCmd",{exec:function(_d){_d.editable().once("blur",_8,null,null,-1000);var _e=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["FED_DOCS_PICKER_UNAVAILABLE"];var _f=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["FED_DOCS_PICKER_DIALOG_TITLE"];insertEcmLink(_d.name,function(){elEcmLaunched=false;},_d.config.federatedDocumentsSupportData,_d.config.namespace,_e,_f);}});_7.ui.addButton("WCMInsertECMLink",{label:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["ECM_LINK_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/e-ecmLink.gif",command:"WCMInsertECMLinkCmd"});}});},_parseToolbarConfiguration:function(_10){var _11="InplaceFull";if(_10!=null&&_10.trim()!=""){_10=_10.trim();if(/^\[[\s\S]*\]$/.test(_10)){try{_11=eval(_10);}catch(e){console.error("Exception happen during parsing the toolbar configuration '"+_10+" '. Exception: "+e+". Use default Inplace Toolbar Configuration.");}}else{try{var _12=eval(_10);if(_12&&_12.constructor===Array){_11=_12;}else{console.error("Richtext toolbar configuration object with name: '"+_10+"' is either null or not a valid Toolbar configuration object. Use default Inplace Toolbar Configuration.");}}catch(e){console.error("Exception happen during finding toolbar configuration with name'"+_10+" '. Exception: "+e+". Use default Inplace Toolbar Configuration.");}}}return _11;},_initEventMapping:function(){var _13=this;var _14=_2.byId(this.editWidgetId);var _15={target:_14};if(this.editor){this.editor.on("blur",function(){_13.fireEvent("blur",_15);});this.editor.on("focus",function(){_13.fireEvent("focus",_15);});this.editor.on("instanceReady",function(){_3.set(_14,"title","");_13.fireEvent("loaded",_15);var _16=new CKEDITOR.focusManager(_13.editor);_16.focus();_13.fireEvent("focus",_15);});}},isDirty:function(){return true;},start:function(_17,_18){var _19=this._parseToolbarConfiguration(_18);var _1a={extraPlugins:"wcm,stylesheetparser,autogrow",language:dojo.locale,removePlugins:"wsc,save,forms,scayt,stylescombo,elementspath",toolbar:_19,startupFocus:true,skin:"oneui3",htmlEncodeOutput:false,entities:false,baseFloatZIndex:501,ignoreEmptyParagraph:true};if(this.editor==null){if(_17){this.editor=CKEDITOR.inline(this.editWidgetId,_1a);}else{this.editor=CKEDITOR.replace(this.editWidgetId,_1a);}}this._initEventMapping();return this.editor;},destroy:function(){this.editor&&this.editor.destroy(false);this.editor=null;},getMarkup:function(){if(this.editor){return this.editor.getData().replace(/\n$/,"");}},setMarkup:function(_1b){this.editor&&this.editor.setData(_1b);},insertMarkupAtCursor:function(_1c){this.editor&&this.editor.insertHtml(_1c);},focus:function(){if(this.editor){var _1d=new CKEDITOR.focusManager(_this.editor);_1d.focus();}}});return _4;});},"wcm/editor/TextboxioEditor":function(){define(["dojo/_base/declare","dojo/on","dojo/dom"],function(_1e,on,dom){var _1f=dojo.declare("TextboxioEditor",[ibm.wcm.ui.html.Editor],{editorId:null,editor:null,_initialized:false,skipNextBlur:false,config_standard:{spelling:{url:"/ephox-spelling"},ui:{toolbar:{}}},config_toolbar:null,constructor:function(_20){this.editorId=_20;this.init();},init:function(){if(!this._initialized){var _21=this;var _22={id:"WCMInsertImage",text:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["INSERT_IMAGE_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/image.svg",action:function(){_21.skipNextBlur=true;_21.launchInsertImageDialog();}};var _23={id:"WCMInsertLink",text:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["INSERT_LINK_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/link.svg",action:function(){_21.skipNextBlur=true;_21.launchInsertLinkDialog();}};var _24={id:"WCMInsertTag",text:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["TAG_HELPER_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/tag.svg",action:function(){_21.skipNextBlur=true;_21.launchInsertTagDialog();}};var _25={id:"WCMInsertECMLink",text:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["ECM_LINK_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/e-ecmLink.gif",action:function(){_21.skipNextBlur=true;var _26=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["FED_DOCS_PICKER_UNAVAILABLE"];var _27=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["FED_DOCS_PICKER_DIALOG_TITLE"];insertEcmLink(_21.editorId,function(){elEcmLaunched=false;},_26,_27);}};var _28={label:"category.insert",items:[{id:"insert",label:"insert.menu",items:[[_22,_23,_24,_25],["specialchar","hr"]]}]};this.config_toolbar=["undo",_28,"style","emphasis","align","listindent","format","tools"];this.config_standard.ui.toolbar.items=this.config_toolbar;this.config_standard.ui.locale=dojo.locale;this.initialized=true;}},_parseConfigStr:function(_29){var _2a=this.config_toolbar;if(_29!=null&&_29.trim()!=""){_29=_29.trim();if(/^\[[\s\S]*\]$/.test(_29)){try{_2a=eval(_29);}catch(e){console.error("Exception happen during parsing the toolbar configuration '"+_29+" '. Exception: "+e+". Use default Inplace Toolbar Configuration.");}}else{try{var _2b=eval(_29);if(_2b&&_2b.constructor===Array){_2a=_2b;}else{console.error("Richtext toolbar configuration object with name: '"+_29+"' is either null or not a valid Toolbar configuration object. Use default Inplace Toolbar Configuration.");}}catch(e){console.error("Exception happen during finding toolbar configuration with name'"+_29+" '. Exception: "+e+". Use default Inplace Toolbar Configuration.");}}}this.config_standard.ui.toolbar.items=_2a;return this.config_standard;},_initEventMapping:function(){var _2c=this;var _2d=dom.byId(this.editorId);var _2e={target:_2d};if(this.editor){this.editor.events.loaded.addListener(function(){_2c.editor&&_2c.editor.focus();_2c.fireEvent("loaded",_2e);});this.editor.events.focus.addListener(function(){_2c.fireEvent("focus",_2e);});var _2f=function(_30){var _31=_2c.editor.element().contains(_30);var _32=_2d.contains(_30);if(!(_31||_32)){_2c.fireEvent("blur",_2e);}};this.blurEvent=function(_33){if(_2c.skipNextBlur){_2c.skipNextBlur=false;return;}if(_33.relatedTarget!==null){_2f(_33.relatedTarget);}else{setTimeout(function(){_2f(document.activeElement);},200);}};_2d.addEventListener("blur",this.blurEvent,true);this.editor.element().addEventListener("blur",this.blurEvent,true);}},start:function(_34,_35){var _36=this._parseConfigStr(_35);if(this.editor==null){this.editor=textboxio.inline(dom.byId(this.editorId),_36);this._initEventMapping();}return this.editor;},destroy:function(){this.editor&&this.editor.restore();var _37=dom.byId(this.editorId);_37.removeEventListener("blur",this.blurEvent,true);this.editor.element().removeEventListener("blur",this.blurEvent,true);this.editor=null;},getMarkup:function(){if(this.editor){return this.editor.content.get();}},setMarkup:function(_38){if(this.editor){this.editor.content.set(_38);this.editor.content.setDirty(true);}},insertMarkupAtCursor:function(_39){this.editor&&this.editor.content.insertHtmlAtCursor(_39);},focus:function(){this.editor&&this.editor.focus();},isDirty:function(){if(this.editor){return this.editor.content.isDirty();}return true;}});return _1f;});},"wcm/inplace/portlet/wcmModuleInplacePortlet":function(){define(["dijit","dojo","dojox"],function(_3a,_3b,_3c){(function(_3d){"use strict";var _3e={_itemCache:{},_extractWcmMetaData:function(_3f){return _3f.metadata.wcm;},performAction:function(_40){var _41=_40.title.value;var _42=_3e._extractWcmMetaData(_40);var _43=this;require(wcmModules.inplaceMenu.getWcmPackages(),["dojo/_base/Deferred","wcm/RemoteAction","wcm/ItemRepository","wcm/inplace/portlet/InlineAction"],function(_44,_45,_46,_47){var rep=new _46({wcmMetaData:_42});var _48=_3e._itemCache[_42.itemId];if(!_48){_48=rep.getById(_42.itemId);_3e._itemCache[_42.itemId]=_48;}else{}_44.when(_48,function(_49){var _4a;_3e._itemCache[_42.itemId]=_49;var _4b=new _47({action:_42.action});var _4c=new _45({id:_42.itemId,action:_4b.getRemoteAction()});var _4d=_3d["ns_"+_42.windowId+"_openInlineEditingDialog"];if(!_4d){console.error("Can't find openDialog function");}_4d(_4c.getUrl(),_41);});});},isActionEnabled:function(_4e){var _4f=_3e._extractWcmMetaData(_4e);var _50=new i$.Promise();require(wcmModules.inplaceMenu.getWcmPackages(),["dojo/_base/Deferred","wcm/ItemRepository","wcm/inplace/portlet/InlineAction","wcm/rest/RelationType"],function(_51,_52,_53,_54){var rep=new _52({wcmMetaData:_4f});var _55=_3e._itemCache[_4f.itemId];if(!_55){_55=rep.getById(_4f.itemId);_3e._itemCache[_4f.itemId]=_55;}else{}_51.when(_55,function(_56){var _57;_3e._itemCache[_4f.itemId]=_56;var _58=new _53({action:_4f.action});var rel=_58.getRelation();if(_56.getLinks().hasLink(rel)){if(rel===_54.CREATE_DRAFT&&wcmModules.config.projectId&&wcmModules.config.projectId!==""){_57=false;}else{_57=true;}}else{_57=false;}_50.resolve(_57);},function(_59){console.error("Error retrieving item for Portlet level actions",_59);_50.resolve(false);});});return _50;}};i$.toPath("wcmModules.inplace.portletMenu",_3e);})(window);});},"wcm/wcmInplaceModule":function(){(function(_5a){"use strict";var _5b={_isEditing:{},_isSaving:{},_isLoading:{},_isLoadingEditorResource:{},_closeFns:{},_repositionHandles:{},_textBox:{},_extractedWcmMetaData:null,_createdDrafts:{},_isPlaceholder:{},_extractWcmMetaData:function(_5c){return _5c.metadata.wcm;},notifyCreatedDraft:function(_5d,_5e,_5f,_60){var _61=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["draft_of_item_was_created"];if(_5f!=null&&dojo.string.trim(_5f).length>0){if(_60!=null&&_60.length>0){_61=dojo.replace(wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["added_item_to_the_project_1"],[_5f]);}else{_61=dojo.replace(wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["draft_of_item_was_created_1"],[_5f]);}}var _62=new com.ibm.widgets.StatusMessage("info",_61,"");i$.fireEvent("/portal/status",[{message:_62,uid:"ibmStatusBox"}]);_5b._createdDrafts[_5d]=_5e;},getCreatedDraft:function(_63){return _5b._createdDrafts[_63];},edit:function(_64){var _65=_5b._extractWcmMetaData(_64);if(_5b.isSavingByRegionId(_65.editableRegionId)||_5b.isLoading(_65.editableRegionId)||_5b.isLoadingEditorResource(_65.editableRegionId)){return;}_5b._processDirectives(_65).then(function(){var _66=i$.byId(_65.editableRegionId);wpModules.contextMenu.lock(_66);try{var _67=_5b.getCreatedDraft(_65.itemId);if(_67!=null){_65.itemId=_67;}if(_65.tagType==="Property"){wcmModules.inplaceMenu.editProperty(_65);}else{wcmModules.inplaceMenu.editElement(_65);}}catch(e){wpModules.contextMenu.unlock(_66);_5b.setEditing(_65,false);_5b.setError(_65,true);throw e;}});},editProperty:function(_68){if(_5b._textBox[_68.editableRegionId]){var _69=_5b._textBox[_68.editableRegionId];_69.editInplace(false);}else{require(_5b.getWcmPackages(),["wcm/InplaceTextBox","wcm/InplaceEditable","wcm/SavePropertyHandler","wcm/ItemRepository"],function(_6a,_6b,_6c,_6d){var _6e=new _6c({wcmMetaData:_68});var _6f=_6e.createHandler();var _70=(_68.editMode=="embed")||(_68.editMode=="default"&&_68.defaultMode=="embed");var _71=null;if(_70){_71=new _6b({wcmMetaData:_68,onChange:_6f,renderAsPre:_68.pre,getItemValue:function(_72){var rep=new _6d({wcmMetaData:_68});var _73=rep.getPropertyValue(_68.itemId,_68.propertyType);_73.then(function(_74){_72(_74);});},uniqueId:_68.editableRegionId},_68.contentRegion);}else{_71=new _6a({wcmMetaData:_68,onChange:_6f,autoSave:false,editorParams:{},editor:"dijit.form.Textarea",renderAsPre:_68.pre,getItemValue:function(_75){var rep=new _6d({wcmMetaData:_68});var _76=rep.getPropertyValue(_68.itemId,_68.propertyType);_76.then(function(_77){_75(_77);});},uniqueId:_68.editableRegionId},_68.contentRegion);}_5b._textBox[_68.editableRegionId]=_71;var _78=_68.refreshValueOnEdit;_71.editInplace(_78);});}},editElement:function(_79){if(_5b._textBox[_79.editableRegionId]){var _7a=_5b._textBox[_79.editableRegionId];_7a.editInplace(false);}else{require(_5b.getWcmPackages(),["dojo/dom","dojo/on","dojo/DeferredList","wcm/InplaceTextBox","wcm/InplaceEditable","wcm/SaveElementHandler","wcm/ItemRepository","wcm/ElementType"],function(dom,on,_7b,_7c,_7d,_7e,_7f,_80){var _81=(_79.elementType===_80.RICH_TEXT);var _82=(_79.editMode=="embed")||(_79.editMode=="default"&&_79.defaultMode=="embed");var _83=null;if(_82){_83=new _7d({wcmMetaData:_79,renderAsPre:_79.pre,getItemValue:function(_84){var rep=new _7f({wcmMetaData:_79});var _85=rep.getElementValue(_79.itemId,_79.elementName);_85.then(function(_86){_84(_86);});},uniqueId:_79.editableRegionId,isRichText:_81},_79.contentRegion);}else{_83=new _7c({wcmMetaData:_79,autoSave:false,editorParams:{},editor:"dijit.form.Textarea",renderAsPre:_79.pre,getItemValue:function(_87){var rep=new _7f({wcmMetaData:_79});var _88=rep.getElementValue(_79.itemId,_79.elementName);_88.then(function(_89){_87(_89);});},uniqueId:_79.editableRegionId,isRichText:_81},_79.contentRegion);}var _8a=new _7e({wcmMetaData:_79,isNumber:(_79.elementType===_80.NUMBER)});var _8b=_8a.createHandler();var _8c=function(_8d){_8b(_8d).then(function(_8e){if(_8e){var _8f=_8a.getElement(_8e).getValue();_83._set("value",_8f);}});};on(_83,"change",_8c);_5b._textBox[_79.editableRegionId]=_83;var _90=_79.refreshValueOnEdit;if(_79.elementType===_80.RICH_TEXT){var _91=_79.defaultRichTextEditor;var _82=(_79.editMode=="embed")||(_79.editMode=="default"&&_79.defaultMode=="embed");if(_91==="Textbox.io"&&_82){var _92=dojo.io.script.get({url:wcmModules.config.inplaceResourceRoot+"/textboxio/textboxio.js"});_5b.setLoadingEditorResource(_79,true);_92.then(function(){_5b.setLoadingEditorResource(_79,false);_83.editInplace(_90);});}else{var _92=dojo.io.script.get({url:wcmModules.config.inplaceResourceRoot+"/ckeditor/ckeditor.js"});_5b.setLoadingEditorResource(_79,true);_92.then(function(){CKEDITOR.disableAutoInline=true;_5b.setLoadingEditorResource(_79,false);_83.editInplace(_90);});}}else{_83.editInplace(_90);}});}},save:function(_93){var _94=_5b._extractWcmMetaData(_93);_5b.setEditing(_94,false);if(_5b._textBox[_94.editableRegionId]){var _95=_5b._textBox[_94.editableRegionId];_95.save();}else{}},cancel:function(_96){var _97=_5b._extractWcmMetaData(_96);_5b.setCancelled(_97);if(_5b._textBox[_97.editableRegionId]){var _98=_5b._textBox[_97.editableRegionId];_98.cancel();}else{}},isNotEditing:function(_99){var _9a=_5b._extractWcmMetaData(_99);var _9b=(!_5b.isEditing(_99));var _9c=!_5b.isSavingByRegionId(_9a.editableRegionId);var _9d=(!_5b.isLoading(_9a.editableRegionId));return (_9b&&_9c&&_9d);},isEditing:function(_9e){var _9f=_5b._extractWcmMetaData(_9e);var _a0=(_5b._isEditing[_9f.editableRegionId]===true);return _a0;},setEditing:function(_a1,_a2,_a3){var key=_a1.editableRegionId;if(_a2){if(!_5b._isEditing[key]){_5b._fireStateChangeEvent(_a1,StateChangeEvent.STATE_EDITING,null);}_5b._isEditing[key]=true;}else{delete _5b._isEditing[key];}},setCancelled:function(_a4){var key=_a4.editableRegionId;delete _5b._isEditing[key];_5b._fireStateChangeEvent(_a4,StateChangeEvent.STATE_CANCELLED,null);},editingCount:function(){var _a5=0;for(var k in _5b._isEditing){if(_5b._isEditing.hasOwnProperty(k)){_a5++;}}return _a5;},editDialog:function(_a6){var _a7=_5b._extractWcmMetaData(_a6);var _a8=i$.byId(_a7.contentRegion);i$.addClass(_a8.parentNode,"editing");_5b._extractedWcmMetaData=_a7;var _a9=i$.byId(_a7.editableRegionId);_5b.setLoading(_a7,true);var _aa=new i$.promise.Promise();require(_5b.getWcmPackages(),["dojo/topic","wcm/EventTopic","wcm/ItemRepository"],function(_ab,_ac,_ad){_5b._processDirectives(_a7).then(function(){_5b._closeFns[_a7.editableRegionId]=wpModules.contextMenu.init({refNode:_a9,params:{sticky:true},onClose:function(){}});var _ae=function(){wpModules.contextMenu.reposition(_a9);};_5b._repositionHandles[_a7.editableRegionId]=_5a.setInterval(_ae,1000);var _af=(_5b.editingCount()>1);if(_af||(_ad&&_ad._saveDeferredCount&&_ad._saveDeferredCount>0)){if(_5b.updatesCompleteTopic){_5b.updatesCompleteTopic.remove();}_5b.showOverlay();_5b.updatesCompleteTopic=_ab.subscribe(_ac.updatesComplete,function(){_5b.hideOverlay();_5b.setLoading(_a7,false);_5b.setEditing(_a7,true);_aa.resolve(_a6.actionUrl);});}else{_5b.setLoading(_a7,false);_5b.setEditing(_a7,true);_aa.resolve(_a6.actionUrl);}},function(){_5b.setCancelled(_a7);i$.removeClass(_a8.parentNode,"editing");});});return _aa;},onDialogLoad:function(_b0,_b1){if(_b0.title==null||_b0.title==""){dojo.xhr("HEAD",{url:_b1.frameElement.src,error:function(e){if(e.status==401){_5a.setTimeout(function(){document.location.reload();},0);}}});}},closeDialog:function(_b2){var _b3=_5b._extractedWcmMetaData;var _b4=i$.byId(_b3.contentRegion);var _b5=i$.byId(_b3.editableRegionId);wpModules.contextMenu.unlock(_b5);var _b6=_5b._closeFns[_b3.editableRegionId];if(_b6){_b6();delete _5b._closeFns[_b3.editableRegionId];}var _b7=_5b._repositionHandles[_b3.editableRegionId];if(_b7){_5a.clearInterval(_b7);delete _5b._repositionHandles[_b3.editableRegionId];}var _b8=new i$.Promise();if(_b2&&_b2.resultInfo&&_b2.resultInfo.itemId){_5b.setEditing(_b3,false);var _b9=_b2;require(_5b.getWcmPackages(),["wcm/InplaceRender","wcm/PropertyType","wcm/ItemRepository"],function(_ba,_bb,_bc){if(_b3.propertyType===_bb.NAME){_bc.noUnloadPrompt=true;document.location.reload();}else{_5b.setSaving(_b3,true);i$.removeClass(_b4.parentNode,"editing");if(_b9.resultInfo.createdDraftId){_5b.notifyCreatedDraft(_b9.resultInfo.itemId,_b9.resultInfo.createdDraftId);}var _bd=new _ba({wcmMetaData:_b3});_bd.render(_b3.rerenderURL,function(_be){_b4.innerHTML=_be.contents;_5b.insertPlaceholderIfRequired(_b4,_b3.placeholder);_5b.setSaving(_b3,false);},_b8);}});}else{_b8.reject();_5b.setCancelled(_b3);i$.removeClass(_b4.parentNode,"editing");}_b8.then(wcmModules.inplaceMenu.doCallback(_b3.callback,_b8,_b3));i$.byId(_b3.editableRegionId).focus();},setDialogFocus:function(_bf){if(_bf.document.setFocusOnLoad){_bf.document.setFocusOnLoad(_bf);}},_processDirectives:function(_c0){var _c1=new i$.promise.Promise();require(_5b.getWcmPackages(),["wcm/ErrorMessages"],function(_c2){var _c3="continue";var _c4=_c0.directives;if(_c4){for(var key in _c4){var _c5=_c4[key];if(_c5.action==="stop"){_c3="stop";}var _c6=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace[_c5.messageKey];var _c7=_c5.messageLevel;if(_c6&&_c7){_c2.display(_c6,_c0.itemId,_c7);if(_c7==="error"||_c7==="warning"){_5b.setError(_c0,true,[_c6]);}}}}if(_c3==="stop"){_c1.reject();}else{_c1.resolve();}});return _c1;},isNotSaving:function(_c8){return !_5b.isSaving(_c8);},isSaving:function(_c9){var _ca=_5b._extractWcmMetaData(_c9);return _5b.isSavingByRegionId(_ca.editableRegionId);},isSavingByRegionId:function(_cb){var _cc=!!_5b._isSaving[_cb];return _cc;},setSaving:function(_cd,_ce,_cf){var _d0=_cd.editableRegionId;var _d1=i$.byId(_d0);if(_ce){i$.addClass(_d1,"saving");if(!_5b._isSaving[_d0]){_5b._fireStateChangeEvent(_cd,StateChangeEvent.STATE_SAVING,null);}}else{i$.removeClass(_d1,"saving");if(_5b.isSavingByRegionId(_d0)&&!_cf){_5b.setSaved(_cd);}}dojo.setAttr(_d1,"aria-busy",_ce);_5b._isSaving[_d0]=_ce;},setSaved:function(_d2){_5b._fireStateChangeEvent(_d2,StateChangeEvent.STATE_SAVED,null);},isLoading:function(_d3){var _d4=!!_5b._isLoading[_d3];return _d4;},setLoading:function(_d5,_d6){var _d7=_d5.editableRegionId;var _d8=i$.byId(_d7);if(_d6){i$.addClass(_d8,"loading");if(!_5b._isLoading[_d7]){_5b._fireStateChangeEvent(_d5,StateChangeEvent.STATE_LOADING,null);}}else{i$.removeClass(_d8,"loading");}dojo.setAttr(_d8,"aria-busy",_d6);_5b._isLoading[_d7]=_d6;},isPlaceholder:function(_d9){var _da=!!_5b._isPlaceholder[_d9];return _da;},isLoadingEditorResource:function(_db){var _dc=!!_5b._isLoadingEditorResource[_db];return _dc;},setLoadingEditorResource:function(_dd,_de){var _df=_dd.editableRegionId;var _e0=i$.byId(_df);if(_de){i$.addClass(_e0,"loadingEditorResource");}else{i$.removeClass(_e0,"loadingEditorResource");}dojo.setAttr(_e0,"aria-busy",_de);_5b._isLoadingEditorResource[_df]=_de;},setError:function(_e1,_e2,_e3){var _e4=_e1.editableRegionId;var _e5=i$.byId(_e4);if(_e2){i$.addClass(_e5,"error");_5b._fireStateChangeEvent(_e1,StateChangeEvent.STATE_ERROR,_e3);}else{i$.removeClass(_e5,"error");}dojo.setAttr(_e5,"aria-invalid",_e2);},showOverlay:function(){var _e6=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["loading_msg"];require(["dojo/_base/window","dojo/window","dojo/dom-construct","dojo/dom-style"],function(_e7,win,_e8,_e9){var _ea=_e7.body();var _eb=(win.getBox().h/2)+"px";var _ec=_e9.get(_ea,"height")+"px";var _ed=_e9.get(_ea,"width")+"px";var _ee=_e8.place("<div id='wcm-inplace-overlay' "+"class='wpthemeOverlay wcm-default-inplace-overlay' style='display:block;height:"+_ec+";width:"+_ed+";'>"+"<div class='wpthemeOverlayImg wcm-default-inplace-overlay-image' style='margin-top:"+_eb+";'>"+"<span class='wpthemeAltText'>"+_e6+"</span></div></div>",_ea);});},hideOverlay:function(){require(["dojo/dom"],function(dom){var _ef=dom.byId("wcm-inplace-overlay");if(_ef){document.body.removeChild(_ef);}});},insertPlaceholderIfRequired:function(_f0,_f1){this._isPlaceholder[_f0.id]=false;if(_f1){var txt=(_f0.innerText||_f0.textContent);if(txt.trim&&txt.trim()==""&&dojo&&dojo.query("img, video",_f0).length==0){var _f2=_f0.parentNode.nodeName;_f0.innerHTML="<"+_f2+" class='placeholder'>"+_f1+"</"+_f2+">";this._isPlaceholder[_f0.id]=true;}}},doCallback:function(_f3,_f4,_f5){if(_f3&&_f4){try{var _f6;if(_f3.indexOf("return")>-1){_f6=eval("(function(){"+_f3+"})()");}else{_f6=eval(_f3);if(i$.isFunction(_f6)){_f6=_f6.call(undefined,_f5);}}if(_f6&&_f6.resolve&&i$.isFunction(_f6.resolve)&&_f6.reject&&i$.isFunction(_f6.reject)){_f4.then(function(){_f6.resolve();},function(){_f6.reject();});}}catch(e){console.error("Error executing callback: ",_f3,e);}}return _f6;},_fireStateChangeEvent:function(_f7,_f8,_f9){try{if(_f7&&_f7.stateChangeCallback){require(_5b.getWcmPackages(),["wcm/StateChangeEvent"],function(_fa){_fa.fireStateChange(_f8,_f7,_f9);});}}catch(e){console.error("Exception during executing the callback. Exception is: "+e);}},getWcmPackages:function(){return {packages:[{name:"wcm",location:wcmModules.config.inplaceResourceRoot+"/js"}]};}};i$.toPath("wcmModules.inplaceMenu",_5b);})(window);},"wcm/Element":function(){define(["dojo/_base/declare"],function(_fb){"use strict";var _fc=_fb("Element",[],{constructor:function(_fd){this.elementNode=_fd;},getTitle:function(){return this.elementNode.title.value;},getType:function(){return this.elementNode.type;},getValue:function(){var _fe;if(this.elementNode.type==="NumericComponent"){if(typeof this.elementNode.data["double"]!="undefined"){_fe=this.elementNode.data["double"];}else{if(typeof this.elementNode.data["integer"]!="undefined"){_fe=this.elementNode.data["integer"];}}}else{_fe=this.elementNode.data.value;}return _fe;},setValue:function(_ff){if(this.elementNode.type==="NumericComponent"){if(_ff===""){_ff=null;}if(typeof this.elementNode.data["double"]!="undefined"){this.elementNode.data["double"]=_ff;}else{if(typeof this.elementNode.data["integer"]!="undefined"){this.elementNode.data["integer"]=_ff;}}}else{this.elementNode.data.value=_ff;}},toString:function(){return "Element Title:"+this.getTitle()+" Value:"+this.getValue();}});return _fc;});},"wcm/inplace/field/inplacePosHandler":function(){define(["dijit","dojo","dojox"],function(_100,dojo,_101){(function(){var _102=function(_103){return (_103.getElementsByTagName("html")[0].getAttribute("dir")||"").toLowerCase()=="rtl";};var _104={name:"topLeft",nodeHandler:function(view,_105,_106){var pos={};pos.top=_106.top-_105.height;var _107=pos.top+window.pageYOffset;if(_107<0){pos.top=_106.top+_106.height;}if(_102(document)){pos.left=Math.min(_106.right-_105.width,view.width-_105.width);}else{pos.left=Math.max(_106.left);}return pos;}};wpModules.util.Positioning.registerHandler(_104);var _108=function(node,_109){var _10a=node._contextMenu.shadowNode||node,_10b=_10a.style,_10c=node._contextMenu.css.show;_10a.className=node.className;_10b.visibility="hidden";i$.addClass(_10a,_10c);var od=_109.ownerDocument,pw=od.parentWindow||od.defaultView,menu=_109.children[0],args={name:_104.name,targetWindow:pw,node:menu,refNode:node,maxOverLay:0.5,viewMargin:10,positionNode:_109};wpModules.util.Positioning.handle(args);i$.removeClass(_10a,_10c);_10b.visibility="visible";};wpModules.contextMenu.registerPositioningHandler(_104.name,_108);})();});},"wcm/StateChangeEvent":function(){define(["dojo/_base/declare"],function(_10d){"use strict";var _10e=_10d("StateChangeEvent",[],{});_10e.STATE_LOADING=0;_10e.STATE_EDITING=1;_10e.STATE_SAVING=2;_10e.STATE_SAVED=3;_10e.STATE_CANCELLED=4;_10e.STATE_ERROR=5;_10e.fireStateChange=function(_10f,_110,_111){if(_110.stateChangeCallback){try{var _112={elementName:_110.elementName,elementType:_110.elementType,propertyType:_110.propertyType,itemId:_110.itemId,itemType:_110.itemType,tagType:_110.tagType,messages:_111};_10e.executeStateChangeCallback(_110.stateChangeCallback,window,_110.editableRegionId,_10f,_112);}catch(e){console.error("Exception during executing the callback : "+_110.stateChangeCallback+" with state: "+_10f+". Exception is: "+e);}}};_10e.executeStateChangeCallback=function(_113,_114){var args=[].slice.call(arguments).splice(2);var _115=_113.split(".");var func=_115.pop();for(var i=0;i<_115.length;i++){_114=_114[_115[i]];}if(_114[func]){return _114[func].apply(this,args);}else{throw "Cannot find the callback function with name : "+_113;}};return _10e;});},"wcm/rest/RelationType":function(){define([],function(){"use strict";var _116={SELF:"self",ALTERNATE:"alternate",EDIT:"edit",DELETE:"delete",NEXT_STAGE:"next-stage",PUBLISH:"publish",APPROVE:"approve",REJECT:"reject",CREATE_DRAFT:"create-draft",EXPIRE:"expire",SUBMIT_FOR_REVIEW:"submit-for-review",PREVIOUS_STAGE:"previous-stage",WITHDRAW_FROM_REVIEW:"withdraw-from-review"};return _116;});},"wcm/EventTopic":function(){define([],function(){"use strict";var _117={itemUpdated:"wcm/itemUpdated/{itemId}/{fieldId}",draftCreated:"wcm/draftCreated/{itemId}",updatesComplete:"wcm/updatesComplete"};return Object.freeze?Object.freeze(_117):_117;});},"wcm/ElementType":function(){define([],function(){"use strict";var _118={SHORT_TEXT:"shortText",TEXT:"text",NUMBER:"number",RICH_TEXT:"richText"};return _118;});},"wcm/SaveElementHandler":function(){define(["dojo/_base/declare","dojo/topic","dojo/_base/lang","wcm/ItemRepository","wcm/ElementType","wcm/InplaceRenderHandler","wcm/EventTopic","wcm/ErrorMessages"],function(_119,_11a,lang,_11b,_11c,_11d,_11e,_11f){"use strict";var _120=_119("SaveElementHandler",[],{constructor:function(args){_119.safeMixin(this,args);this.itemId=this.wcmMetaData.itemId;this.fieldId=Math.round(Math.random()*1000000);this.subscribe();this.inplaceRenderHandler=new _11d({wcmMetaData:this.wcmMetaData,fieldId:this.fieldId});this.inplaceRenderHandler.init();},subscribe:function(){var _121=this;_11a.subscribe(lang.replace(_11e.draftCreated,{itemId:_121.itemId}),function(id){_121.itemId=id;});},createHandler:function(){var _122=this;return function(_123){var _124=dojo.byId(_122.wcmMetaData.contentRegion);i$.removeClass(_124.parentNode,"editing");var _125=!_122._isNumber(_123);if(_122.isNumber&&(_123.length>0)&&_125){var _126="\""+_123+"\" "+wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["not_a_number"];_11f.display(_126,_122.wcmMetaData.editableRegionId);wcmModules.inplaceMenu.setError(_122.wcmMetaData,true,[_126]);return;}else{wcmModules.inplaceMenu.setError(_122.wcmMetaData,false);_11f.clear(_122.wcmMetaData.editableRegionId);}wcmModules.inplaceMenu.setSaving(_122.wcmMetaData,true);var rep=new _11b({wcmMetaData:_122.wcmMetaData});var _127=_122._getItemModifier(_123);var _128=rep.saveItem(_122.itemId,_127,_122.fieldId);return _128;};},getElement:function(item){return item.getElements().getElementByName(this.wcmMetaData.elementName);},_getItemModifier:function(_129){var _12a;var _12b=this;_12a=function(item){var _12c=_12b.getElement(item);if(_12c){_12c.setValue(_129);}else{}return item;};return _12a;},_isNumber:function(n){return true;}});return _120;});},"wcm/InplaceEditable":function(){define(["dijit/_Widget","dojo/_base/lang","dojo/_base/declare","dojo/on","dojo/aspect","dojo/_base/event","dojo/dom-construct","dojo/dom-class","dojo/dom-attr","dojox/html/entities","dojo/_base/sniff","wcm/EditorInit"],function(_12d,lang,_12e,on,_12f,_130,_131,_132,_133,_134,has,_135){var _136=_12e("InplaceEditable",_12d,{wcmMetaData:null,getItemValue:null,uniqueId:"",isRichText:false,richTextEditor:null,renderAsPre:false,editorInit:null,_handlersRegistered:false,_hasFocus:false,_onceHadFocus:false,restoreNodeHTML:null,_isSaved:false,_restoreValue:null,_loadedValueFromServer:false,onChange:function(){},editInplace:function(_137){if(this.editing){this.edit(arguments);return;}this.editing=true;var _138=this;this.restoreNodeHTML=_138.domNode.innerHTML;if(_137){wcmModules.inplaceMenu.setLoading(this.wcmMetaData,true);this.getItemValue(function(_139){_138._restoreValue=_139?_139.toString():"";_138._loadedValueFromServer=true;var _13a;if(_138.isRichText){_13a=_139?_139.toString():"&nbsp;";}else{_13a=_139?_134.encode(_139.toString()):"";if(_138.renderAsPre){_13a=_13a.replace(/\r?\n/g,"<br>");}}_138.domNode.innerHTML=_13a;wcmModules.inplaceMenu.setLoading(_138.wcmMetaData,false);_138.edit(arguments);});}else{if(this._loadedValueFromServer){var _13b;if(this._isSaved){if(this.isRichText){_13b=this.get("value")?this.get("value"):"&nbsp;";}else{_13b=this.get("value")?_134.encode(this.get("value")):"";}}else{if(this.isRichText){_13b=this._restoreValue?this._restoreValue:"&nbsp;";}else{_13b=this._restoreValue?_134.encode(this._restoreValue):"";}}if(this.renderAsPre){_13b=_13b.replace(/\r?\n/g,"<br>");}this.domNode.innerHTML=_13b;}else{this._restoreValue=this._stripTagAndReplaceLineBreak(this.restoreNodeHTML);if(wcmModules.inplaceMenu.isPlaceholder(this.wcmMetaData.contentRegion)){if(this.isRichText){this.domNode.innerHTML="&nbsp;";this._restoreValue="";}else{this.domNode.innerHTML="";this._restoreValue="";}}}this.edit(arguments);}},_restoreDomContent:function(){this.domNode.innerHTML=this.restoreNodeHTML;},edit:function(){this._initializing=true;wcmModules.inplaceMenu.setEditing(this.wcmMetaData,true);_133.set(this.domNode,"contenteditable","true");i$.addClass(this.domNode.parentElement,"editing");this.inherited(arguments);var _13c=this;var _13d=_13c.domNode.parentElement;var _13e=function(){wpModules.contextMenu.reposition(_13d);};var _13f=function(evt){_13c._onceHadFocus=true;_13c._hasFocus=true;};var _140=function(){wpModules.contextMenu.unlock(_13d);var _141=wpModules.contextMenu.init({refNode:_13d,params:{sticky:true},onClose:function(){if(!_13c._hasFocus&&_13c._onceHadFocus){_141("save");}}});if(_13c._resizeHandle==null){_13c._resizeHandle=window.setInterval(_13e,1000);}var _142=function(evt){if(!_13c._initializing&&_13c._hasFocus){_13c._hasFocus=false;_141("save");}};if(_13c.isRichText){_13c.richTextEditor.on("blur",_142);_13c.richTextEditor.on("focus",_13f);}if(!_13c._handlersRegistered){var _143=_13c.domNode;if(!_13c.isRichText){i$.bindDomEvt(_143,"blur",_142);i$.bindDomEvt(_143,"focus",_13f);}i$.bindDomEvt(_143,"onkeydown",function(evt){if(evt.keyCode==27){_13c._hasFocus=false;_141("cancel");}else{if(evt.keyCode==13){if(_13c.renderAsPre){if(has("ff")||has("ie")){_13c._pasteHtmlAtCaret("<br>");}else{if(_13c._isCaretAtEnd(_143)){if(parseFloat(navigator.appVersion.split("Trident/")[1])==7){_13c._pasteHtmlAtCaret("<p></p>");}else{_13c._pasteHtmlAtCaret("<br><br>");}}else{_13c._pasteHtmlAtCaret("<br>");}}}evt.preventDefault();}}});_13c._handlersRegistered=true;}_13e();};if(this.isRichText){if(this.richTextEditor){_140();this.richTextEditor.focus();}else{if(!this.editorInit){this.editorInit=new _135();this.editorInit.init();}this.richTextEditor=this.editorInit.getEditorInstance(this.domNode.id,true,this.wcmMetaData.defaultRichTextEditor,this.wcmMetaData.toolbarConfig);this.richTextEditor.on("loaded",function(e){_140();var _144=document.createRange();var _145=window.getSelection();_144.setStart(_13c.domNode.firstChild,0);_145.removeAllRanges();_145.addRange(_144);_13f();});this.richTextEditor.start(this.wcmMetaData.defaultRichTextEditor,this.wcmMetaData.toolbarConfig);}}else{_140();_13c.domNode.focus();var _146=document.createRange();var _147=window.getSelection();_146.selectNodeContents(_13c.domNode);_146.collapse(true);_147.removeAllRanges();_147.addRange(_146);_13f();}setTimeout(function(){_13c._initializing=false;},1);},cancel:function(){i$.removeClass(this.domNode.parentElement,"editing");this.cleanup(true);},save:function(_148){i$.removeClass(this.domNode.parentElement,"editing");var _149;if(this.isRichText&&this.richTextEditor){_149=this.richTextEditor.getMarkup();}else{if(this.renderAsPre){var _14a=this.domNode.innerHTML;_149=this._stripTagAndReplaceLineBreak(_14a);this.domNode.innerHTML=_134.encode(_149).replace(/\r?\n/g,"<br>");}else{_149=this._stripTag(this.domNode.innerHTML);this.domNode.innerHTML=_134.encode(_149);}}var _14b=this.get("value");if(!this._isSaved){_14b=this._restoreValue;}if(_14b==null){_14b="";}if(_149!=_14b){this.set("value",_149);this.restoreNodeHTML=this.domNode.innerHTML;this._isSaved=true;this.cleanup(false);}else{this.cleanup(true);wcmModules.inplaceMenu.setSaved(this.wcmMetaData);}},_stripTagAndReplaceLineBreak:function(str){var _14c=this._removeBrFromEnd(str);var _14d=_14c.replace(/<p>(<br>)?<\/p>/ig,"\r\n").replace(/<div>(<br>)?<\/div>/ig,"\r\n").replace(/<br(\s*)\/*>/ig,"\r\n").replace(/(<\/div>)?(<div [^>]*>)/ig,"$1\r\n$2").replace(/(<\/div>)(<div [^>]*>)?/ig,"$1\r\n$2").replace(/(<\/p>)?(<p>)/ig,"$1\r\n$2").replace(/(<\/p>)(<p>)?/ig,"$1\r\n$2");var _14e=this._stripTag(_14d);return _14e;},_isCaretAtEnd:function(node){var _14f=node.textContent.length;var _150=node.innerHTML.length;var _151=window.getSelection().getRangeAt(0);var _152=this._getCaretOffset(_151,node);var _153=node.innerHTML.substring(_150-4,_150);if(_14f==_152&&this._stringEndsWith(node.innerHTML,"<br>")===false){return true;}else{return false;}},_getCaretOffset:function(_154,node){var _155=document.createTreeWalker(node,NodeFilter.SHOW_TEXT,function(node){var _156=document.createRange();_156.selectNode(node);var _157;if(_156.compareBoundaryPoints(Range.END_TO_END,_154)<1){_157=NodeFilter.FILTER_ACCEPT;}else{_157=NodeFilter.FILTER_REJECT;}return _157;},false);var _158=0;while(_155.nextNode()){_158+=_155.currentNode.length;}if(_154.startContainer.nodeType==3){_158+=_154.startOffset;}return _158;},_stripTag:function(str){var _159=document.createElement("Div");_159.innerHTML=str;return _159.textContent;},_removeBrFromEnd:function(str){var _15a;if(this._stringEndsWith(str,"<br>")){_15a=str.substring(0,str.length-4);}else{_15a=str;}return _15a;},_stringEndsWith:function(str,_15b){return str.indexOf(_15b,str.length-_15b.length)!==-1;},_setValueAttr:function(_15c){_15c=lang.trim(_15c);this._set("value",_15c);setTimeout(lang.hitch(this,"onChange",_15c),0);},_pasteHtmlAtCaret:function(html){var sel,_15d;if(window.getSelection){sel=window.getSelection();if(sel.getRangeAt&&sel.rangeCount){_15d=sel.getRangeAt(0);_15d.deleteContents();var el=document.createElement("div");el.innerHTML=html;var frag=document.createDocumentFragment(),node,_15e;while((node=el.firstChild)){_15e=frag.appendChild(node);}_15d.insertNode(frag);if(_15e){_15d=_15d.cloneRange();_15d.setStartAfter(_15e);_15d.collapse(true);sel.removeAllRanges();sel.addRange(_15d);}}}else{if(document.selection&&document.selection.type!="Control"){document.selection.createRange().pasteHTML(html);}}},cleanup:function(_15f){this.editing=false;if(this._clickHandler){this._clickHandler.remove();}this._hasFocus=false;_133.set(this.domNode,"contenteditable","false");if(this._resizeHandle){window.clearInterval(this._resizeHandle);this._resizeHandle=null;}if(this.isRichText){this.richTextEditor.destroy(false);this.richTextEditor=null;}if(_15f){this._restoreDomContent();}}});return _136;});},"wcm/Item":function(){define(["dojo/_base/declare","wcm/Links","wcm/WorkflowState","wcm/Elements","dojo/_base/array","wcm/PropertyType"],function(_160,_161,_162,_163,_164,_165){"use strict";var Item=_160("Item",[],{constructor:function(_166){this._innerItem=_166;this._links=new _161(_166.entry.link);if(_166.entry.content){if(_166.entry.content.content&&_166.entry.content.content.elements){this._elements=new _163(_166.entry.content.content.elements.element);}else{if(_166.entry.content.siteArea&&_166.entry.content.siteArea.elements){this._elements=new _163(_166.entry.content.siteArea.elements.element);}}}},clearElements:function(){delete this._innerItem.entry.content;},getName:function(){return this._innerItem.entry.name;},setName:function(name){this._innerItem.entry.name=name;},getTitle:function(){return this._innerItem.entry.title.value;},setTitle:function(_167){if(this._innerItem.entry.title&&this._innerItem.entry.title.value){this._innerItem.entry.title.value=_167;}else{this._innerItem.entry.title=_167;}},getDisplayTitle:function(){return this._innerItem.entry.displayTitle.value;},getTitleTextProviderName:function(){return this._innerItem.entry.titleTextProviderName;},setTitleTextProviderName:function(_168){this._innerItem.entry.titleTextProviderName=_168;},getTitleTextProviderKey:function(){return this._innerItem.entry.titleTextProviderKey;},setTitleTextProviderKey:function(_169){this._innerItem.entry.titleTextProviderKey=_169;},getId:function(){var id=this._innerItem.entry.id;return id.substring(8);},getDescription:function(){return this._innerItem.entry.summary.value;},setDescription:function(_16a){this._innerItem.entry.summary.value=_16a;},getDisplayDescription:function(){return this._innerItem.entry.description.value;},getDescriptionTextProviderName:function(){return this._innerItem.entry.descriptionTextProviderName;},setDescriptionTextProviderName:function(_16b){this._innerItem.entry.descriptionTextProviderName=_16b;},getDescriptionTextProviderKey:function(){return this._innerItem.entry.descriptionTextProviderKey;},setDescriptionTextProviderKey:function(_16c){this._innerItem.entry.descriptionTextProviderKey=_16c;},getWorkflowState:function(){return this._getCategory(this._innerItem.entry.category,"wcmrest:workflowState");},getParent:function(){var _16d,_16e=this._links.getRelation("parent");if(_16e){_16d=_16e.href;}return _16d;},setParent:function(_16f){if(this._links.hasLink("parent")){this._links.updateLink("parent",_16f);}else{this._links.addLink("parent",_16f);}},getProject:function(){var _170,_171=this._links.getRelation("project");if(_171){_170=_171.href;}return _170;},setProject:function(_172){if(this._links.hasLink("project")){this._links.updateLink("project",_172);}else{this._links.addLink("project",_172);}},isDraft:function(){var _173=this.getWorkflowState();return (_162.DRAFT===_173);},getElements:function(){return this._elements;},getLinks:function(){return this._links;},_getItem:function(){return this._innerItem;},getFieldValue:function(_174){var _175;switch(_174){case _165.NAME:_175=this.getName();break;case _165.TITLE:_175=this.getTitle();break;case _165.DESCRIPTION:_175=this.getDescription();break;default:break;}return _175;},_getCategory:function(_176,_177){var _178;if(_176){var _179=_164.filter(_176,function(_17a){return _17a.scheme===_177;});if(_179&&_179.length>0){_178=_179[0].term;}return _178;}},toString:function(){return "Item "+" Name:"+this.getName()+" Title:"+this.getTitle()+" Id:"+this.getId()+" Description:"+this.getDescription()+" WorkflowState:"+this.getWorkflowState()+" Parent:"+this.getParent()+" Project:"+this.getProject()+" isDraft:"+this.isDraft();}});return Item;});},"wcm/wcmModuleInplaceCreate":function(){define(["dijit","dojo","dojox"],function(_17b,dojo,_17c){(function(_17d){"use strict";var _17e={createPromiseFunction:null,showFormAndCreateContent:function(_17f,_180,_181){var _182={templateId:_180,siteAreaId:_181};this.showForm(_17f,this.getCreateItemPromiseFunction(_182));},showForm:function(_183,_184){if(_184){wcmModules.inplace.create.createPromiseFunction=_184;}require(wcmModules.inplaceMenu.getWcmPackages(),["wcm/CreateForm","wcm/Item","dijit/TooltipDialog","dijit/popup"],function(_185,Item,_186,_187){var _188=Math.round(Math.random()*1000000)+"_create_dialog";var _189=new _185({dialogRef:_188,consumeForm:wcmModules.inplace.create.consumeForm});var _18a=new _186({id:_188,content:_189,onBlur:function(){_187.close(_18a);}});i$.addClass(_18a.domNode,"noPadding");_187.open({popup:_18a,around:_183,orient:["below","below-alt","above","above-alt"],onCancel:function(){_187.close(_18a);},onClose:function(){_183.focus();}});var _18b=dojo.query("div",_18a.domNode)[0];if(_18b){i$.addClass(_18b,"wpwcmCreateTooltipContainer");}if(_18a.domNode.parentNode){dojo.style(_18a.domNode.parentNode,"zIndex",500);}_18a.focus();});},consumeForm:function(_18c){var _18d=new i$.Promise();wcmModules.inplace.create.createPromiseFunction(_18c).then(function(_18e){_18d.resolve(_18e);if(_18e){var _18f="?uri=wcm:oid:"+_18e+"&previewopt=wcmitemid&previewopt="+_18e;_17d.location.replace(_18f);}},function(_190){_18d.reject(_190);});return _18d;},getCreateItemPromiseFunction:function(_191){var _192=function(_193){var _194=new i$.Promise();var name=_193;var _195=_193;require(wcmModules.inplaceMenu.getWcmPackages(),["wcm/ItemRepository","wcm/Item"],function(_196,Item){var rep=new _196();var _197=rep.createItemWithTemplate({templateId:_191.templateId,name:name,title:_195,siteAreaId:_191.siteAreaId});_197.then(function(item){_194.resolve(item.getId());},function(_198){var _199;var _19a=i$.fromJson(_198.responseText);if(_19a.errors&&_19a.errors.message&&_19a.errors.message.length>0){_199=_19a.errors.message[0].text;}_194.reject(_199);});});return _194;};return _192;}};i$.toPath("wcmModules.inplace.create",_17e);})(window);});},"wcm/Links":function(){define(["dojo/_base/declare","dojo/_base/array"],function(_19b,_19c){"use strict";var _19d=_19b("Links",[],{constructor:function(_19e){this._linkArray=_19e;},addLink:function(rel,href){this._linkArray.push({"rel":rel,"href":href});},updateLink:function(rel,href){var _19f=this.getRelation(rel);_19f.href=href;},hasLink:function(rel){return this._getLink(rel)?true:false;},getEditLink:function(){return this._getLink("edit");},hasEditLink:function(){return this.getEditLink()?true:false;},hasReadLink:function(){return this.getReadLink()?true:false;},getReadLink:function(){return this._getLink("self");},getCreateDraftLink:function(){return this._getLink("create-draft");},hasCreateDraftLink:function(){return this.getCreateDraftLink()?true:false;},_getLink:function(rel){var _1a0=this.getRelation(rel);return _1a0?_1a0.href:undefined;},getRelation:function(rel){var _1a1;if(this._linkArray){var _1a2=_19c.filter(this._linkArray,function(link){return link.rel===rel;});if(_1a2&&_1a2.length>0){_1a1=_1a2[0];}}return _1a1;}});return _19d;});},"wcm/SavePropertyHandler":function(){define(["dojo/_base/declare","dojo/topic","dojo/_base/lang","wcm/ItemRepository","wcm/PropertyType","wcm/InplaceRenderHandler","wcm/EventTopic"],function(_1a3,_1a4,lang,_1a5,_1a6,_1a7,_1a8){"use strict";var _1a9=_1a3("SavePropertyHandler",[],{constructor:function(args){_1a3.safeMixin(this,args);this.itemId=this.wcmMetaData.itemId;this.fieldId=Math.round(Math.random()*1000000);this.subscribe();this.inplaceRenderHandler=new _1a7({wcmMetaData:this.wcmMetaData,fieldId:this.fieldId});this.inplaceRenderHandler.init();},subscribe:function(){var _1aa=this;_1a4.subscribe(lang.replace(_1a8.draftCreated,{itemId:_1aa.itemId}),function(id){_1aa.itemId=id;});},createHandler:function(){var _1ab=this;return function(_1ac){wcmModules.inplaceMenu.setSaving(_1ab.wcmMetaData,true);var _1ad=dojo.byId(_1ab.wcmMetaData.contentRegion);i$.removeClass(_1ad.parentNode,"editing");var rep=new _1a5({wcmMetaData:_1ab.wcmMetaData});var _1ae=_1ab._getItemModifier(_1ac);var _1af=rep.saveItem(_1ab.itemId,_1ae,_1ab.fieldId);};},_getItemModifier:function(_1b0){var _1b1;var _1b2=this.wcmMetaData.propertyType;if(_1b2===_1a6.NAME){_1b1=function(item){item.clearElements();item.setName(_1b0);return item;};}else{if(_1b2===_1a6.TITLE){_1b1=function(item){item.clearElements();item.setTitle(_1b0);if(item.getTitleTextProviderName()){item.setTitleTextProviderName("");}if(item.getTitleTextProviderKey()){item.setTitleTextProviderKey("");}return item;};}else{if(_1b2===_1a6.DESCRIPTION){_1b1=function(item){item.clearElements();item.setDescription(_1b0);if(item.getDescriptionTextProviderName()){item.setDescriptionTextProviderName("");}if(item.getDescriptionTextProviderKey()){item.setDescriptionTextProviderKey("");}return item;};}else{}}}return _1b1;}});return _1a9;});},"wcm/ErrorMessages":function(){define(["dojo/_base/declare"],function(_1b3){"use strict";var _1b4=_1b3("ErrorMessages",[],{constructor:function(_1b5,_1b6){this._innerJson=_1b5;this._inplaceId=_1b6;},display:function(){var _1b7=this.getMessageArray();var i;for(i=0;i<_1b7.length;i++){_1b4.display(_1b7[i].text,this._inplaceId);}},getMessageArray:function(){var _1b8=this._innerJson.errors?this._innerJson.errors.message:[];return _1b8;}});_1b4._currentMessages={};_1b4.clear=function(_1b9){if(_1b9&&_1b4._currentMessages[_1b9]){var _1ba=_1b4._currentMessages[_1b9];var i;for(i=0;i<_1ba.length;i++){i$.fireEvent("/portal/status/clear",[{message:_1ba[i],uid:"ibmStatusBox"}]);}delete _1b4._currentMessages[_1b9];}};_1b4.display=function(_1bb,_1bc,_1bd){var _1be=_1bd||"error";var _1bf=new com.ibm.widgets.StatusMessage(_1be,_1bb,"");var _1c0=false;if(_1b4._currentMessages[_1bc]){var _1c1=_1b4._currentMessages[_1bc];for(var i=0;i<_1c1.length;i++){if(_1bb==_1c1[i]._message){_1c0=true;break;}}if(!_1c0){_1c1.push(_1bf);}}else{if(_1bc){_1b4._currentMessages[_1bc]=[_1bf];}}if(!_1c0){i$.fireEvent("/portal/status",[{message:_1bf,uid:"ibmStatusBox"}]);}};return _1b4;});},"wcm/InplaceTextBox":function(){define(["dojo/_base/declare","dijit/InlineEditBox","dojo/on","dojo/aspect","dojo/_base/event","dojo/dom-construct","dojo/dom-class","dojo/dom-attr","wcm/CkEditorInit"],function(_1c2,_1c3,on,_1c4,_1c5,_1c6,_1c7,_1c8,_1c9){var _1ca=_1c2("InplaceTextBox",_1c3,{wcmMetaData:null,getItemValue:null,uniqueId:"",isRichText:false,richTextEditor:null,ckEditorInit:null,renderAsPre:false,noValueIndicator:"<span>&#160;</span>",_handlersRegistered:false,_hasFocus:false,_onceHadFocus:false,editInplace:function(_1cb){if(this.disabled){return;}var _1cc=this;if(_1cb){wcmModules.inplaceMenu.setLoading(this.wcmMetaData,true);this.getItemValue(function(_1cd){_1cc.value=_1cd?_1cd.toString():"";wcmModules.inplaceMenu.setLoading(_1cc.wcmMetaData,false);_1cc.edit(arguments);});}else{if(wcmModules.inplaceMenu.isPlaceholder(this.wcmMetaData.contentRegion)){_1cc.value="";}this.edit(arguments);}},edit:function(){if(this.disabled){return;}if(this._resizeHandle){this._resizeHandle.remove();}wcmModules.inplaceMenu.setEditing(this.wcmMetaData,true);i$.addClass(this.domNode.parentElement,"editing");this.inherited(arguments);var ww=this.wrapperWidget;on(ww.editNode,"click",function(e){_1c5.stop(e);});_1c7.remove(ww.domNode,"dijitOffScreen");_1c6.destroy(this.wrapperWidget.buttonContainer);var _1ce=this;var _1cf=_1ce.domNode.parentElement;var _1d0=function(){wpModules.contextMenu.reposition(_1cf);};var _1d1=function(){wpModules.contextMenu.unlock(_1cf);var _1d2=wpModules.contextMenu.init({refNode:_1cf,params:{sticky:true},onClose:function(){if(!_1ce._hasFocus&&_1ce._onceHadFocus){_1d2("save");}}});_1ce._resizeHandle=_1c4.after(_1ce.wrapperWidget.editWidget,"resize",_1d0);var _1d3=function(evt){_1ce._onceHadFocus=true;_1ce._hasFocus=true;};var _1d4=function(evt){_1ce._hasFocus=false;_1d2("save");};if(_1ce.isRichText){_1ce.richTextEditor.on("focus",_1d3);_1ce.richTextEditor.on("blur",_1d4);var _1d5=function(evt){if(evt.data&&evt.data.keyCode==27){_1d2("cancel");}else{if(evt.data&&evt.data.keyCode===(CKEDITOR.CTRL+77)){on.emit(_1cf,"keydown",{keyCode:77,ctrlKey:true});}}};_1ce.richTextEditor.on("key",_1d5);}else{if(!_1ce._handlersRegistered){var _1d6=_1ce.wrapperWidget.editWidget.domNode;var _1d5=function(evt){if(evt.keyCode==27){_1d2("cancel");}else{if(evt.keyCode==13&&_1ce.renderAsPre){_1ce._insertAtCursor(_1d6,"\n");}}};i$.bindDomEvt(_1d6,"focus",_1d3);i$.bindDomEvt(_1d6,"blur",_1d4);i$.bindDomEvt(_1d6,"onkeydown",_1d5);_1ce._handlersRegistered=true;}}_1d0();};if(this.isRichText){if(this.richTextEditor){_1d1();this.richTextEditor.focus();}else{if(!this.ckEditorInit){this.ckEditorInit=new _1c9();this.ckEditorInit.init();}if(this.wcmMetaData.toolbarConfig){this.richTextEditor=this.ckEditorInit.start(this.wrapperWidget.editWidget.id,false,this.wcmMetaData.toolbarConfig);}else{this.richTextEditor=this.ckEditorInit.start(this.wrapperWidget.editWidget.id,false);}this.richTextEditor.on("resize",_1d0);this.richTextEditor.on("instanceReady",_1d1);}}else{_1d1();this.wrapperWidget.focus();}},_insertAtCursor:function(_1d7,text){if(document.selection){_1d7.focus();sel=document.selection.createRange();sel.text=text;}else{if(_1d7.selectionStart||_1d7.selectionStart=="0"){var _1d8=_1d7.selectionStart;var _1d9=_1d7.selectionEnd;_1d7.value=_1d7.value.substring(0,_1d8)+text+_1d7.value.substring(_1d9,_1d7.value.length);_1d7.selectionStart=_1d8+text.length;_1d7.selectionEnd=_1d8+text.length;}else{_1d7.value+=text;}}},postMixInProperties:function(){this.inherited(arguments);_1c7.remove(this.displayNode,"dijitInlineEditBoxDisplayMode");},cancel:function(){if(this.disabled||!this.editing){return;}this.inherited(arguments);i$.removeClass(this.domNode.parentElement,"editing");var ww=this.wrapperWidget;_1c7.add(ww.domNode,"dijitOffScreen");this.cleanup();},save:function(_1da){if(this.disabled||!this.editing){return;}this._set("editing",false);i$.removeClass(this.domNode.parentElement,"editing");var ww=this.wrapperWidget;_1c7.add(ww.domNode,"dijitOffScreen");var _1db;var _1dc=true;if(this.isRichText){_1db=this._removeLineBreakFromEnd(this.richTextEditor.getData());}else{_1db=ww.getValue();}if(_1dc&&_1db!=this.get("value")){this.set("value",_1db);}else{wcmModules.inplaceMenu.setSaved(this.wcmMetaData);}this._showText(_1da);this.cleanup();},_removeLineBreakFromEnd:function(str){var _1dd;if(this._stringEndsWith(str,"\n")){_1dd=str.substring(0,str.length-1);}else{_1dd=str;}return _1dd;},_stringEndsWith:function(str,_1de){return str.indexOf(_1de,str.length-_1de.length)!==-1;},cleanup:function(){if(this.isRichText){this.richTextEditor.destroy(false);this.richTextEditor=null;}},_onMouseOver:function(){},_onMouseOut:function(){},_onClick:function(){}});return _1ca;});},"wcm/CreateForm":function(){define(["dojo/_base/declare","dijit/_WidgetBase","dijit/_OnDijitClickMixin","dijit/_TemplatedMixin","dojo/text!wcm/templates/CreateFormTemplate.txt","dijit/popup"],function(_1df,_1e0,_1e1,_1e2,_1e3,_1e4){var _1e5=_1df("CreateForm",[_1e0,_1e1,_1e2],{templateString:_1e3,consumeForm:null,dialogRef:"",uid:Math.round(Math.random()*100000),postCreate:function(){this.inherited(arguments);this.nameLabel.innerHTML=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["identity_name"]+":";this.cancelButton.value=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["cancel_label"];this.createButton.value=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["create"];this.iconImg.src=require.toUrl("dojo/resources/blank.gif");},keyPress:function(e){if(e.charOrCode==dojo.keys.ENTER){this.createItem();}},createItem:function(){this.createButton.disabled=true;i$.toggleClass(this.createButton,"wpwcmCreateContainerBtnDisabled");this.message("loading",wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["creating_msg"]);var _1e6=this;this.consumeForm(this.nameVal.value).then(null,function(_1e7){_1e6.createButton.disabled=false;i$.toggleClass(_1e6.createButton,"wpwcmCreateContainerBtnDisabled");_1e6.message("error",_1e7);});},cancelForm:function(){_1e4.close(dijit.byId(this.dialogRef));},message:function(type,_1e8){if(type==="error"){i$.removeClass(this.iconImg,"wpwcmLoading");i$.addClass(this.iconImg,"wpwcmIconMsgError");i$.removeClass(this.messageBox,"wpwcmInfo");this.iconImg.alt=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["error_icon_alt_text"];this.messageAltText.innerHTML=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["error_icon_alt_text"];}else{if(type==="loading"){i$.removeClass(this.iconImg,"wpwcmIconMsgError");i$.addClass(this.iconImg,"wpwcmLoading");i$.addClass(this.messageBox,"wpwcmInfo");this.iconImg.alt=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["loading_icon_alt_text"];this.messageAltText.innerHTML=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["loading_icon_alt_text"];}}this.messageBox.style.display="";this.messageBoxBody.innerHTML=_1e8;}});return _1e5;});},"wcm/EditorInit":function(){define(["dojo/_base/declare","wcm/editor/CKEditor","wcm/editor/TextboxioEditor"],function(_1e9,_1ea,_1eb){var _1ec=_1e9("EditorInit",[],{init:function(){var _1ed=wcmModules.config.lateBindingPocUrlRoot+"mypoc?uri=dialog%3Awcm&action=";document.imagePickerURL=_1ed+"openjsimagepicker";document.linkPickerURLNoECM=_1ed+"openinsertlinkdialog";document.tagHelperURL=_1ed+"opentaghelperdialog";},getEditorInstance:function(_1ee,_1ef,_1f0,_1f1){var _1f2=ibm.wcm.ui.html.EditorRegistry.getEditor(_1ee);if(_1f2==null){if(_1f0!=null&&_1f0==="Textbox.io"){_1f2=new _1eb(_1ee);}else{_1f2=new _1ea(_1ee);}}return _1f2;}});return _1ec;});},"wcm/ItemRepository":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/topic","dojo/_base/Deferred","wcm/Item","wcm/Links","wcm/ErrorMessages","wcm/TagType","wcm/EventTopic","wcm/PropertyType"],function(_1f3,lang,_1f4,_1f5,Item,_1f6,_1f7,_1f8,_1f9,_1fa){"use strict";window.onbeforeunload=function(){var _1fb=(wcmModules.inplaceMenu.editingCount()>0);if(_1fb||(_1fc&&!_1fc.noUnloadPrompt&&_1fc._saveDeferredCount&&_1fc._saveDeferredCount>0)){return wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["save_in_progress"];}else{}};var _1fc=_1f3("ItemRepository",[],{constructor:function(args){_1f3.safeMixin(this,args?args:{});},saveItem:function(_1fd,_1fe,_1ff){_1f7.clear(this.wcmMetaData.editableRegionId);wcmModules.inplaceMenu.setError(this.wcmMetaData,false);_1fc._saveDeferred=this._addSaveItemRequestToQueue(_1fd,_1fe,_1ff,0);return _1fc._saveDeferred;},_addSaveItemRequestToQueue:function(_200,_201,_202,_203){if(this.wcmMetaData.propertyType===_1fa.NAME){wcmModules.inplaceMenu.showOverlay();}var _204;if(!_1fc._saveDeferred||!_1fc._saveDeferredCount||_1fc._saveDeferredCount==0){_204=this._getLatestVersionAndDoSaveItemRequest(_200,_201,_202,_203);_1fc._saveDeferredCount=1;}else{var _205=this;var _206=function(){return _205._getLatestVersionAndDoSaveItemRequest(_200,_201,_202,_203);};_204=_1fc._saveDeferred.then(_206,_206);_1fc._saveDeferredCount++;}return _204;},_getLatestVersionAndDoSaveItemRequest:function(_207,_208,_209,_20a){var _20b=this;return this.getItemToEdit(_207).then(function(item){if(item.getLinks().hasEditLink()){var _20c=_208(item);return _20b._doSaveItemRequest(_20c,_209,_20a);}else{var _20d=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["edit_access_denied"];_1f7.display(_20d,_20b.wcmMetaData.editableRegionId);wcmModules.inplaceMenu.setError(_20b.wcmMetaData,true,[_20d]);}});},_doSaveItemRequest:function(item,_20e,_20f){var _210=new _1f5();var _211=this;dojo.xhrPut({url:item.getLinks().getEditLink(),preventCache:true,handleAs:"json",headers:{"Content-Type":"application/json","Accept":"application/json"},putData:dojo.toJson(item._getItem()),load:function(_212){if(_211.wcmMetaData.propertyType===_1fa.NAME){_1fc.noUnloadPrompt=true;document.location.reload();}else{var _213=new Item(_212);_1f4.publish(lang.replace(_1f9.itemUpdated,{itemId:_213.getId(),fieldId:_20e}));_1fc._saveDeferredCount--;if(_1fc._saveDeferredCount==0){_1f4.publish(_1f9.updatesComplete);}_210.resolve(_213);}},error:function(_214,_215){if(_211.wcmMetaData.propertyType===_1fa.NAME){wcmModules.inplaceMenu.hideOverlay();}_211._errorResponseHandler(_215);_1fc._saveDeferredCount--;if(_1fc._saveDeferredCount==0){_1f4.publish(_1f9.updatesComplete);}_210.reject({error:_214,ioargs:_215});}});return _210;},getGenericById:function(_216){var uri=this._getPocUrl("wcmrest/item/"+_216);var _217=new _1f5();dojo.xhrGet({url:uri,preventCache:true,handleAs:"json",headers:{"Accept":"application/json"},error:function(_218,_219){_217.reject({error:_218,ioargs:_219});},load:function(_21a){_217.resolve(new Item(_21a));}});return _217;},getById:function(_21b){var _21c=this;var _21d=new _1f5();var _21e=this.getGenericById(_21b);_21e.then(function(item){var uri=item.getLinks().getRelation("alternate").href;dojo.xhrGet({url:uri,preventCache:true,handleAs:"json",headers:{"Accept":"application/json"},error:function(_21f,_220){_21c._errorResponseHandler(_220);_21d.reject({error:_21f,ioargs:_220});},load:function(_221){_21d.resolve(new Item(_221));}});},function(args){_21c._errorResponseHandler(args.ioargs);_21d.reject(args);});return _21d;},createItemWithTemplate:function(args){var _222=new i$.Promise();var _223;var _224=this.getById(args.templateId);var _225=new _1f5();var _226=this;_224.then(function(item){var _227;if(item.getLinks().hasLink("new-content")){_227=item.getLinks().getRelation("new-content").href;_223=_226._getPocUrl("wcmrest/Content",true);}else{if(item.getLinks().hasLink("new-sitearea")){_227=item.getLinks().getRelation("new-sitearea").href;_223=_226._getPocUrl("wcmrest/SiteArea",true);}}dojo.xhrGet({url:_227,preventCache:true,handleAs:"json",headers:{"Accept":"application/json"},error:function(_228,_229){_222.reject(_228);},load:function(_22a){var _22b=new Item(_22a);_225.resolve(_22b);}});},function(_22c,_22d){_222.reject(_22c);});_225.then(function(_22e){_22e.setName(args.name);_22e.setTitle(args.title);if(args.siteAreaId){_22e.setParent("wcmrest:"+args.siteAreaId);}dojo.xhrPost({url:_223,preventCache:true,handleAs:"json",headers:{"Content-Type":"application/json","Accept":"application/json"},postData:dojo.toJson(_22e._getItem()),error:function(_22f,_230){_222.reject(_22f);},load:function(_231){_222.resolve(new Item(_231));}});});return _222;},_getPocUrl:function(_232,_233){var _234=wcmModules.config.pocUrlRoot.split("?");var uri=_234[0]+_232;if(_233&&_234[1]){uri=uri+"?"+_234[1];}return uri;},createDraft:function(item){var _235=this;var _236=new _1f5();if(!item.isDraft()){if(item.getLinks().hasCreateDraftLink){var _237=item.getLinks().getCreateDraftLink();dojo.xhrPost({url:_237,preventCache:true,handleAs:"json",headers:{"Accept":"application/json","Content-Type":"text/plain"},error:function(_238,_239){_235._errorResponseHandler(_239);},load:function(_23a){var _23b=new Item(_23a);wcmModules.inplaceMenu.notifyCreatedDraft(item.getId(),_23b.getId(),_23b.getTitle(),_23b.getProject());_1f4.publish(lang.replace(_1f9.draftCreated,{itemId:item.getId()}),_23b.getId());_236.resolve(_23b);}});}else{var _23c=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["unable_to_create_draft"];_1f7.display(_23c,this.wcmMetaData.editableRegionId);wcmModules.inplaceMenu.setError(this.wcmMetaData,true,[_23c]);}}else{throw "Item is already draft";}return _236;},getItemToEdit:function(_23d){var _23e=this;return this.getById(_23d).then(function(item){if(item.isDraft()||(!wcmModules.config.projectId||wcmModules.config.projectId==="")){return item;}else{return _23e.createDraft(item);}});},getPropertyValue:function(_23f,_240){var _241=this;var _242=this.getById(_23f).then(function(item){return item.getFieldValue(_240);},function(_243,_244){console.error(_243);_241._errorResponseHandler(_244);});return _242;},getElementValue:function(_245,_246){var _247=this;var _248=this.getById(_245).then(function(item){var _249=item.getElements().getElementByName(_246);if(_249){return _249.getValue();}else{throw "Element with name: "+_246+" not found";}},function(_24a,_24b){console.error(_24a);_247._errorResponseHandler(_24b);});return _248;},_errorResponseHandler:function(_24c){wcmModules.inplaceMenu.setSaving(this.wcmMetaData,false,true);var _24d;var _24e;switch(_24c.xhr.status){case 401:_24d=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["no_longer_authenticated"];_24e=[_24d];_1f7.display(_24d,this.wcmMetaData.editableRegionId);break;case 404:_24d=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["content_can_not_be_found"];_24e=[_24d];_1f7.display(_24d,this.wcmMetaData.editableRegionId);break;default:var _24f=this._getErrorMessages(_24c);if(_24f){_24f.display();_24e=_24f.getMessageArray();}}wcmModules.inplaceMenu.setError(this.wcmMetaData,true,_24e);},_getErrorMessages:function(_250){var _251=_250.xhr.getResponseHeader("Content-Type");if(_251.indexOf("application/json")!==-1){var _252=new _1f7(dojo.fromJson(_250.xhr.responseText),this.wcmMetaData.editableRegionId);return _252;}}});return _1fc;});},"wcm/InplaceRenderHandler":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/topic","wcm/InplaceRender","wcm/EventTopic","wcm/ItemRepository"],function(_253,lang,_254,_255,_256,_257){"use strict";var _258=_253("InplaceRenderHandler",[],{constructor:function(args){_253.safeMixin(this,args);this.itemId=this.wcmMetaData.itemId;},init:function(){this.subscribeCreateDraft();this.subscribeUpdates();},subscribeCreateDraft:function(){var _259=this;if(this.createDraftTopic){this.createDraftTopic.remove();}var _25a=lang.replace(_256.draftCreated,{itemId:_259.itemId});this.createDraftTopic=_254.subscribe(_25a,function(_25b){_259.itemId=_25b;_259.subscribeUpdates();});},subscribeUpdates:function(){var _25c=this;if(this.updateTopic){this.updateTopic.remove();}var _25d=lang.replace(_256.itemUpdated,{itemId:_25c.itemId,fieldId:_25c.fieldId});this.updateTopic=_254.subscribe(_25d,function(){_25c.render();});},render:function(){var _25e=new _255({wcmMetaData:this.wcmMetaData});var _25f=this;var _260=this.wcmMetaData.placeholder;var _261=new i$.promise.Promise();_25e.render(this.wcmMetaData.rerenderURL,function(_262){var _263=i$.byId(_262.contentRegion);_263.innerHTML=_262.contents;wcmModules.inplaceMenu.insertPlaceholderIfRequired(_263,_260);wcmModules.inplaceMenu.setSaving(_262,false);},_261);_261.then(wcmModules.inplaceMenu.doCallback(this.wcmMetaData.callback,_261,this.wcmMetaData));}});return _258;});},"wcm/CkEditorInit":function(){define(["dojo/_base/declare"],function(_264){var _265=_264("CKEditorInit",[],{init:function(){var _266=wcmModules.config.lateBindingPocUrlRoot+"mypoc?uri=dialog%3Awcm&action=";document.imagePickerURL=_266+"openjsimagepicker";document.linkPickerURLNoECM=_266+"openinsertlinkdialog";document.tagHelperURL=_266+"opentaghelperdialog";if(!CKEDITOR.plugins.get("wcm")){this._addWcmPlugin();}CKEDITOR.config.toolbar_InplaceFull=[["Cut","Copy","Paste","PasteText","PasteFromWord"],["Print","Undo","Redo","-","Find","-","SelectAll","RemoveFormat"],["WCMInsertImage","WCMInsertLink","WCMTagHelper","WCMInsertECMLink"],["Table","HorizontalRule","SpecialChar","PageBreak","ShowBlocks"],["BidiLtr","BidiRtl"],["Source"],"/",["Styles","Format","Font","FontSize"],["TextColor","BGColor"],["Bold","Italic","Underline","Strike","-","Subscript","Superscript","NumberedList","BulletedList"],["Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"]];},_addWcmPlugin:function(){CKEDITOR.plugins.add("wcm",{requires:["menubutton"],init:function(_267){var _268=function(evt){evt.cancel();};_267.addCommand("WCMInsertImageCmd",{exec:function(_269){_269.editable().once("blur",_268,null,null,-1000);performInsertImgIntoRTF(_269.name,null,null,null,null,null,_269.config.imgPickerLimitToLibrary,_269.config.imgPickerSelectionModel,_269.config.imgPickerManagementOption);}});_267.ui.addButton("WCMInsertImage",{label:_267.lang.common.image,command:"WCMInsertImageCmd",icon:wcmModules.config.inplaceResourceRoot+"/js/editor/insertImage.gif"});_267.addCommand("WCMInsertLinkCmd",{exec:function(_26a){_26a.editable().once("blur",_268,null,null,-1000);performInsertLinkIntoRTF(_26a.name);}});_267.ui.addButton("WCMInsertLink",{label:_267.lang.link.toolbar,command:"WCMInsertLinkCmd",icon:wcmModules.config.inplaceResourceRoot+"/js/editor/insertLink.gif"});_267.addCommand("WCMTagHelperCmd",{exec:function(_26b){_26b.editable().once("blur",_268,null,null,-1000);performInsertTagIntoField(_26b.name);}});_267.ui.addButton("WCMTagHelper",{label:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["TAG_HELPER_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/tagHelper.gif",command:"WCMTagHelperCmd"});_267.addCommand("WCMInsertECMLinkCmd",{exec:function(_26c){_26c.editable().once("blur",_268,null,null,-1000);var _26d=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["FED_DOCS_PICKER_UNAVAILABLE"];var _26e=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["FED_DOCS_PICKER_DIALOG_TITLE"];insertEcmLink(_26c.name,function(){elEcmLaunched=false;},_26c.config.federatedDocumentsSupportData,_26c.config.namespace,_26d,_26e);}});_267.ui.addButton("WCMInsertECMLink",{label:wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["ECM_LINK_BUTTON"],icon:wcmModules.config.inplaceResourceRoot+"/js/editor/e-ecmLink.gif",command:"WCMInsertECMLinkCmd"});}});},_parseToolbarConfiguration:function(_26f){var _270="InplaceFull";if(_26f!=null&&_26f.trim()!=""){_26f=_26f.trim();if(/^\[[\s\S]*\]$/.test(_26f)){try{_270=eval(_26f);}catch(e){console.error("Exception happen during parsing the toolbar configuration '"+_26f+" '. Exception: "+e+". Use default Inplace Toolbar Configuration.");}}else{try{var _271=eval(_26f);if(_271&&_271.constructor===Array){_270=_271;}else{console.error("Richtext toolbar configuration object with name: '"+_26f+"' is either null or not a valid Toolbar configuration object. Use default Inplace Toolbar Configuration.");}}catch(e){console.error("Exception happen during finding toolbar configuration with name'"+_26f+" '. Exception: "+e+". Use default Inplace Toolbar Configuration.");}}}return _270;},start:function(_272,_273,_274,_275){var _276=this._parseToolbarConfiguration(_275);var _277={extraPlugins:"wcm,stylesheetparser,autogrow",language:dojo.locale,removePlugins:"wsc,save,forms,scayt,stylescombo,elementspath",toolbar:_276,startupFocus:true,skin:"oneui3",htmlEncodeOutput:false,entities:false,baseFloatZIndex:501,ignoreEmptyParagraph:true};var _278;if(_273){_278=CKEDITOR.inline(_272,_277);}else{_278=CKEDITOR.replace(_272,_277);}return _278;}});return _265;});},"wcm/WorkflowState":function(){define([],function(){"use strict";var _279={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED",EXPIRED:"EXPIRED",DELETED:"DELETED",PURGED:"PURGED"};return _279;});},"wcm/RemoteActionType":function(){define([],function(){"use strict";var _27a={NEW:"new",READ:"read",EDIT:"edit",APPROVE:"approve",DELETE:"delete",REJECT:"reject",CREATE_DRAFT:"create-draft"};return Object.freeze?Object.freeze(_27a):_27a;});},"dojox/html/entities":function(){define(["dojo/_base/lang"],function(lang){var dhe=lang.getObject("dojox.html.entities",true);var _27b=function(str,map){var _27c,_27d;if(map._encCache&&map._encCache.regexp&&map._encCache.mapper&&map.length==map._encCache.length){_27c=map._encCache.mapper;_27d=map._encCache.regexp;}else{_27c={};_27d=["["];var i;for(i=0;i<map.length;i++){_27c[map[i][0]]="&"+map[i][1]+";";_27d.push(map[i][0]);}_27d.push("]");_27d=new RegExp(_27d.join(""),"g");map._encCache={mapper:_27c,regexp:_27d,length:map.length};}str=str.replace(_27d,function(c){return _27c[c];});return str;};var _27e=function(str,map){var _27f,_280;if(map._decCache&&map._decCache.regexp&&map._decCache.mapper&&map.length==map._decCache.length){_27f=map._decCache.mapper;_280=map._decCache.regexp;}else{_27f={};_280=["("];var i;for(i=0;i<map.length;i++){var e="&"+map[i][1]+";";if(i){_280.push("|");}_27f[e]=map[i][0];_280.push(e);}_280.push(")");_280=new RegExp(_280.join(""),"g");map._decCache={mapper:_27f,regexp:_280,length:map.length};}str=str.replace(_280,function(c){return _27f[c];});return str;};dhe.html=[["&","amp"],["\"","quot"],["<","lt"],[">","gt"],[" ","nbsp"]];dhe.latin=[["¡","iexcl"],["¢","cent"],["£","pound"],["€","euro"],["¤","curren"],["¥","yen"],["¦","brvbar"],["§","sect"],["¨","uml"],["©","copy"],["ª","ordf"],["«","laquo"],["¬","not"],["­","shy"],["®","reg"],["¯","macr"],["°","deg"],["±","plusmn"],["²","sup2"],["³","sup3"],["´","acute"],["µ","micro"],["¶","para"],["·","middot"],["¸","cedil"],["¹","sup1"],["º","ordm"],["»","raquo"],["¼","frac14"],["½","frac12"],["¾","frac34"],["¿","iquest"],["À","Agrave"],["Á","Aacute"],["Â","Acirc"],["Ã","Atilde"],["Ä","Auml"],["Å","Aring"],["Æ","AElig"],["Ç","Ccedil"],["È","Egrave"],["É","Eacute"],["Ê","Ecirc"],["Ë","Euml"],["Ì","Igrave"],["Í","Iacute"],["Î","Icirc"],["Ï","Iuml"],["Ð","ETH"],["Ñ","Ntilde"],["Ò","Ograve"],["Ó","Oacute"],["Ô","Ocirc"],["Õ","Otilde"],["Ö","Ouml"],["×","times"],["Ø","Oslash"],["Ù","Ugrave"],["Ú","Uacute"],["Û","Ucirc"],["Ü","Uuml"],["Ý","Yacute"],["Þ","THORN"],["ß","szlig"],["à","agrave"],["á","aacute"],["â","acirc"],["ã","atilde"],["ä","auml"],["å","aring"],["æ","aelig"],["ç","ccedil"],["è","egrave"],["é","eacute"],["ê","ecirc"],["ë","euml"],["ì","igrave"],["í","iacute"],["î","icirc"],["ï","iuml"],["ð","eth"],["ñ","ntilde"],["ò","ograve"],["ó","oacute"],["ô","ocirc"],["õ","otilde"],["ö","ouml"],["÷","divide"],["ø","oslash"],["ù","ugrave"],["ú","uacute"],["û","ucirc"],["ü","uuml"],["ý","yacute"],["þ","thorn"],["ÿ","yuml"],["ƒ","fnof"],["Α","Alpha"],["Β","Beta"],["Γ","Gamma"],["Δ","Delta"],["Ε","Epsilon"],["Ζ","Zeta"],["Η","Eta"],["Θ","Theta"],["Ι","Iota"],["Κ","Kappa"],["Λ","Lambda"],["Μ","Mu"],["Ν","Nu"],["Ξ","Xi"],["Ο","Omicron"],["Π","Pi"],["Ρ","Rho"],["Σ","Sigma"],["Τ","Tau"],["Υ","Upsilon"],["Φ","Phi"],["Χ","Chi"],["Ψ","Psi"],["Ω","Omega"],["α","alpha"],["β","beta"],["γ","gamma"],["δ","delta"],["ε","epsilon"],["ζ","zeta"],["η","eta"],["θ","theta"],["ι","iota"],["κ","kappa"],["λ","lambda"],["μ","mu"],["ν","nu"],["ξ","xi"],["ο","omicron"],["π","pi"],["ρ","rho"],["ς","sigmaf"],["σ","sigma"],["τ","tau"],["υ","upsilon"],["φ","phi"],["χ","chi"],["ψ","psi"],["ω","omega"],["ϑ","thetasym"],["ϒ","upsih"],["ϖ","piv"],["•","bull"],["…","hellip"],["′","prime"],["″","Prime"],["‾","oline"],["⁄","frasl"],["℘","weierp"],["ℑ","image"],["ℜ","real"],["™","trade"],["ℵ","alefsym"],["←","larr"],["↑","uarr"],["→","rarr"],["↓","darr"],["↔","harr"],["↵","crarr"],["⇐","lArr"],["⇑","uArr"],["⇒","rArr"],["⇓","dArr"],["⇔","hArr"],["∀","forall"],["∂","part"],["∃","exist"],["∅","empty"],["∇","nabla"],["∈","isin"],["∉","notin"],["∋","ni"],["∏","prod"],["∑","sum"],["−","minus"],["∗","lowast"],["√","radic"],["∝","prop"],["∞","infin"],["∠","ang"],["∧","and"],["∨","or"],["∩","cap"],["∪","cup"],["∫","int"],["∴","there4"],["∼","sim"],["≅","cong"],["≈","asymp"],["≠","ne"],["≡","equiv"],["≤","le"],["≥","ge"],["⊂","sub"],["⊃","sup"],["⊄","nsub"],["⊆","sube"],["⊇","supe"],["⊕","oplus"],["⊗","otimes"],["⊥","perp"],["⋅","sdot"],["⌈","lceil"],["⌉","rceil"],["⌊","lfloor"],["⌋","rfloor"],["〈","lang"],["〉","rang"],["◊","loz"],["♠","spades"],["♣","clubs"],["♥","hearts"],["♦","diams"],["Œ","OElig"],["œ","oelig"],["Š","Scaron"],["š","scaron"],["Ÿ","Yuml"],["ˆ","circ"],["˜","tilde"],[" ","ensp"],[" ","emsp"],[" ","thinsp"],["‌","zwnj"],["‍","zwj"],["‎","lrm"],["‏","rlm"],["–","ndash"],["—","mdash"],["‘","lsquo"],["’","rsquo"],["‚","sbquo"],["“","ldquo"],["”","rdquo"],["„","bdquo"],["†","dagger"],["‡","Dagger"],["‰","permil"],["‹","lsaquo"],["›","rsaquo"]];dhe.encode=function(str,m){if(str){if(!m){str=_27b(str,dhe.html);str=_27b(str,dhe.latin);}else{str=_27b(str,m);}}return str;};dhe.decode=function(str,m){if(str){if(!m){str=_27e(str,dhe.html);str=_27e(str,dhe.latin);}else{str=_27e(str,m);}}return str;};return dhe;});},"wcm/Elements":function(){define(["dojo/_base/declare","dojo/_base/array","wcm/Element"],function(_281,_282,_283){"use strict";var _284=_281("Elements",[],{constructor:function(_285){this._elementArray=_285;},getElementByName:function(name){return this._getElementByName(name);},_getElementByName:function(name){var _286;if(this._elementArray){var _287=_282.filter(this._elementArray,function(_288){var _289=name?name.toUpperCase():name;var _28a=_288.name?_288.name.toUpperCase():_288.name;return _28a===_289;});if(_287&&_287.length>0){_286=new _283(_287[0]);}}return _286;}});return _284;});},"wcm/PropertyType":function(){define([],function(){"use strict";var _28b={NAME:"name",TITLE:"title",DESCRIPTION:"description",AUTHORS:"authors",OWNERS:"owners"};return _28b;});},"wcm/InplaceRender":function(){define(["dojo/_base/declare","dojo/topic","wcm/ErrorMessages"],function(_28c,_28d,_28e){"use strict";var _28f=_28c("InplaceRender",[],{constructor:function(args){_28c.safeMixin(this,args?args:{});},render:function(_290,_291,_292){var _293=this;dojo.xhrGet({url:_290,preventCache:true,sync:true,handleAs:"json",headers:{"Accept":"application/json"},error:function(_294,_295){console.error(_294);_293._errorResponseHandler(_295);_292.reject();},load:function(_296){if(_291){_291(_296);}_292.resolve();}});},_errorResponseHandler:function(_297){wcmModules.inplaceMenu.setSaving(this.wcmMetaData,false,true);var _298=wcmModules.nls.com.ibm.workplace.wcm.inplace.inplace["rerender_failed"];wcmModules.inplaceMenu.setError(this.wcmMetaData,true,[_298]);_28e.display(_298,this.wcmMetaData.editableRegionId);}});return _28f;});},"wcm/inplace/portlet/InlineAction":function(){define(["dojo/_base/declare","wcm/rest/RelationType","wcm/RemoteActionType"],function(_299,_29a,_29b){"use strict";var _29c={READ:"read",EDIT:"edit",DELETE:"delete",APPROVE:"approve",REJECT:"reject",NEXT_STAGE:"next-stage",PUBLISH:"publish",EXPIRE:"expire",SUBMIT_FOR_REVIEW:"submit-for-review",WITHDRAW_FROM_REVIEW:"withdraw-from-review",CREATE_DRAFT:"create-draft"};var _29d=_299("InlineAction",[],{constructor:function(args){this.action=args.action;},getRelation:function(){var _29e;switch(this.action){case _29c.READ:_29e=_29a.SELF;break;case _29c.EDIT:_29e=_29a.EDIT;break;case _29c.DELETE:_29e=_29a.DELETE;break;case _29c.APPROVE:_29e=_29a.APPROVE;break;case _29c.NEXT_STAGE:_29e=_29a.NEXT_STAGE;break;case _29c.REJECT:_29e=_29a.REJECT;break;case _29c.PUBLISH:_29e=_29a.PUBLISH;break;case _29c.EXPIRE:_29e=_29a.EXPIRE;break;case _29c.SUBMIT_FOR_REVIEW:_29e=_29a.SUBMIT_FOR_REVIEW;break;case _29c.WITHDRAW_FROM_REVIEW:_29e=_29a.WITHDRAW_FROM_REVIEW;break;case _29c.CREATE_DRAFT:_29e=_29a.CREATE_DRAFT;break;}return _29e;},getRemoteAction:function(){var _29f;switch(this.action){case _29c.READ:_29f=_29b.READ;break;case _29c.EDIT:_29f=_29b.EDIT;break;case _29c.DELETE:_29f=_29b.DELETE;break;case _29c.APPROVE:case _29c.NEXT_STAGE:case _29c.PUBLISH:case _29c.EXPIRE:case _29c.SUBMIT_FOR_REVIEW:_29f=_29b.APPROVE;break;case _29c.REJECT:case _29c.WITHDRAW_FROM_REVIEW:_29f=_29b.REJECT;break;case _29c.CREATE_DRAFT:_29f=_29b.CREATE_DRAFT;break;default:break;}return _29f;}});return _29d;});},"dojox/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"wcm/TagType":function(){define([],function(){"use strict";var _2a0={PROPERTY:"Property",ELEMENT:"Element"};return Object.freeze?Object.freeze(_2a0):_2a0;});},"wcm/RemoteAction":function(){define(["dojo/_base/declare","dojo/_base/lang","wcm/RemoteActionType"],function(_2a1,lang,_2a2){"use strict";var _2a3=_2a1("RemoteAction",[],{id:undefined,action:undefined,constructor:function(args){this.id=args.id;this.action=args.action;},getUrl:function(){var _2a4="?uri=dialog:wcm&action={action}&docid=com.aptrix.pluto.control.Controllable/{id}{params}";var _2a5="";if(this.action===_2a2.CREATE_DRAFT){this.action=_2a2.EDIT;_2a5="&createDraft=true";}var url=lang.replace(_2a4,{action:this.action,id:this.id,params:_2a5});return url;}});return _2a3;});},"url:wcm/templates/CreateFormTemplate.txt":"<div data-dojo-attach-point=\"container\" class=\"wpwcmCreateContainer wpthemeTemplateMenu\" role=\"dialog\">\n   <div data-dojo-attach-point=\"messageBox\" style=\"display: none;\" role=\"alert\" class=\"wpwcmCreateContainerMsg wpwcmMessage\">\n      <img data-dojo-attach-point=\"iconImg\" src=\"\"  alt=\"\" class=\"wpwcmIcon wpwcmLoading\"/>\n      <span data-dojo-attach-point=\"messageAltText\" class=\"wpwcmAltText\"></span>\n      <span data-dojo-attach-point=\"messageBoxBody\" class=\"wpwcmMessageBody\"></span>\n   </div>\n   <label data-dojo-attach-point=\"nameLabel\" for=\"${uid}_name_text_field\"></label>\n   <input id=\"${uid}_name_text_field\" data-dojo-attach-point=\"nameVal\" type='text' name='name' data-dojo-attach-event=\"onkeypress: keyPress\"/>\n   <input id=\"${uid}_create_btn\" name='create' data-dojo-attach-point=\"createButton\" value='' class='wpwcmCreateContainerBtn' data-dojo-attach-event=\"onclick: createItem\" type='button'/>\n   <input id=\"${uid}_cancel_btn\" name='cancel' data-dojo-attach-point=\"cancelButton\" value='' class='wpwcmCreateContainerBtn' data-dojo-attach-event=\"onclick: cancelForm\" type='button'/>\n</div> \n","*noref":1}});define("inplace/inplaceEdit",[],1);require(["wcm/editor/CKEditor","wcm/editor/TextboxioEditor","wcm/EditorInit","wcm/CkEditorInit","wcm/CreateForm","wcm/Element","wcm/Elements","wcm/ElementType","wcm/ErrorMessages","wcm/EventTopic","wcm/InplaceEditable","wcm/InplaceRender","wcm/InplaceRenderHandler","wcm/InplaceTextBox","wcm/Item","wcm/ItemRepository","wcm/Links","wcm/PropertyType","wcm/RemoteAction","wcm/SaveElementHandler","wcm/SavePropertyHandler","wcm/TagType","wcm/StateChangeEvent","wcm/wcmInplaceModule","wcm/wcmModuleInplaceCreate","wcm/WorkflowState","wcm/inplace/field/inplacePosHandler","wcm/inplace/portlet/InlineAction","wcm/inplace/portlet/wcmModuleInplacePortlet","wcm/rest/RelationType"]);
}catch(e){console.log("Module 'wcm_inplaceEdit': ",e);}