
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{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var w=window,i$=function(){
if(i$.qel){
return i$.qel.apply(this,arguments);
}
};
w.i$=i$;
i$.global=w;
if(typeof (console)=="undefined"){
var f=function(){
};
console={log:f,debug:f,info:f,warn:f,error:f,assert:f};
}
i$.partial=function(f){
var _1=i$.toArray(arguments).slice(1);
return function(){
var _2=_1.slice(0),_3=i$.toArray(arguments),i=0;
for(;i<_2.length;i++){
if(_2[i]===undefined){
_2[i]=_3.shift();
}
}
_2.push.apply(_2,_3);
return f.apply(this,_2);
};
};
i$.scope=function(s,f){
var of=f;
f=function(){
return (i$.isString(of)?s[of]:of).apply(s,arguments);
};
return i$.partial.apply(this,i$.toArray(arguments).slice(1));
};
i$.error=function(_4,_5){
console.error(_5||new Error(_4));
};
i$.forEach=function(_6,f,_7){
if(_7==null){
_7=0;
}
for(var i=(_7>=0)?_7:0;i<_6.length;i++){
f(_6[i],i,_6);
}
};
i$.forIn=function(o,f){
for(var i in o){
if(Object.prototype.hasOwnProperty.call(o,i)){
f(o[i],i,o);
}
}
};
i$.each=function(o,f,s){
if(s){
f=i$.scope(s,f);
}
if(o){
if(o instanceof Array||typeof o.length==="number"){
i$.forEach(o,f);
}else{
i$.forIn(o,f);
}
}
};
i$.some=function(a,f,s){
if(s){
f=i$.scope(s,f);
}
for(var i=0;i<a.length;i++){
if(f(a[i])){
return true;
}
}
return false;
};
i$.every=function(o,f,s){
if(s){
f=i$.scope(s,f);
}
return !i$.some(o,function(_8){
return !f(_8);
});
};
i$.wrap=function(o,n,f){
var fn=o[n];
o[n]=function(){
return f.call(this,fn,arguments);
};
o[n]._wrapped=fn;
return o[n];
};
i$.unwrap=function(o,n){
var fn=o[n];
if(fn&&fn._wrapped){
o[n]=fn._wrapped;
}
return o[n];
};
i$.copyShallow=function(o){
var r=i$.isArrayLike(o)?[]:{};
i$.forIn(o,function(v,k){
r[k]=v;
});
return r;
};
var _9=function(_a,_b,_c,_d){
if(_c||_b[_d]===undefined){
_b[_d]=function(){
return this[_a][_d].apply(this[_a],arguments);
};
}
},_e=function(_f,_10,_11,_12){
if(_11||_10[_12]===undefined){
_10[_12]=function(){
return _f[_12].apply(_f,arguments);
};
}
};
i$.shadow=function(s,t,_13,_14){
i$.each(_13,i$.partial(i$.isString(s)?_9:_e,s,t,_14));
};
var _15=function(_16,c,s){
var i,p,ts=s||i$.global;
for(i=0;ts!=null,i<_16.length,p=_16[i];i++){
if(ts[p]==null){
if(c){
ts[p]={};
}else{
ts=null;
break;
}
}
ts=ts[p];
}
return ts;
};
i$.fromPath=function(n,c,s){
var _17=n.split(".");
return _15(_17,c,s);
};
i$.toPath=function(n,v,s){
var _18=n.split("."),p=_18.pop(),o=_15(_18,true,s);
o[p]=v;
return v;
};
i$.cachedFn=function(f,s){
var val;
var fn=function(){
if(!fn.called){
fn.called=true;
val=f.apply(s,arguments);
}
return val;
};
return fn;
};
i$.xhrFmts={text:function(xhr){
return xhr.responseText;
},json:function(xhr){
return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(xhr.responseText.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+xhr.responseText+")");
},xml:function(xhr){
return xhr.responseXML;
},javascript:function(xhr){
if((/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(str.replace(/"(\\.|[^"\\])*"/g,"")))){
throw new SyntaxError("Invalid characters in javascript object");
}else{
return eval("("+xhr.responseText+")");
}
}};
})();
(function(){
var i$=window.i$;
(function(ua){
var _19=function(_1a){
return parseFloat(_1a);
},_1b=[["IE",/MSIE\s*([\S]+)*/],["FF",/Firefox\/([\S]+)*/],["Opera",/Opera[\s\/]([\S]+)*/],["Safari",/Version\/([\S]+)*[\s\S]*Safari/],["Chrome",/Chrome\/([\S]+)*/],["WebKit",/AppleWebKit\/([\S]+)*/]];
i$.each(_1b,function(_1c){
var m=_1c[1].exec(ua);
if(m&&m.length>1){
i$["is"+_1c[0]]=_19(m[1]);
}
});
})(navigator.userAgent);
var _1d=document.documentMode;
if(_1d&&_1d!=5&&Math.floor(i$.isIE)!=_1d){
i$.isIE=_1d;
}
i$.isNode=function(o){
return typeof o==="object"&&typeof o.nodeType==="number"&&typeof o.nodeName==="string";
};
i$.isFunction=function(o){
return typeof o==="function"||o instanceof Function;
};
i$.isObject=function(o){
return typeof o==="object";
};
i$.isArray=function(o){
if(typeof Array.isArray==="function"){
return Array.isArray(o);
}else{
return Object.prototype.toString.call(o)==="[object Array]";
}
};
i$.isString=function(o){
return typeof o==="string";
};
i$.isNumber=function(o){
return typeof o==="number";
};
i$.isBoolean=function(o){
return typeof o==="boolean";
};
i$.isLikeArray=function(o){
return o instanceof Array||typeof o.length==="number";
};
i$.toArray=function(o){
return Array.prototype.slice.call(o);
};
if(i$.isIE){
var _1e=i$.toArray;
i$.toArray=function(o){
try{
return _1e(o);
}
catch(err){
var a=new Array(o.length);
for(var i=0;i<o.length;i++){
a[i]=o[i];
}
return a;
}
};
}
var _1f=(document.readyState==="complete"),_20=[],_21=[],_22=false;
i$._initPage=function(){
var fn;
_1f=true;
if(window.detachEvent){
window.detachEvent("onload",i$._initPage);
}
while(_20.length>0){
if(fn=_20.shift()){
try{
fn();
}
catch(err){
console.log(err);
}
}
}
};
i$._exitPage=function(){
var fn;
while(_21.length>0){
if(fn=_21.shift()){
try{
fn();
}
catch(err){
console.log(err);
}
}
}
};
i$._addEvent=function(e,f,o){
var w=o?o:window;
var s=w.attachEvent?e:e.substring(2);
var a=w.attachEvent||w.addEventListener;
a(s,function(){
f.apply(w,arguments);
},false);
};
if(!_1f){
i$._addEvent("onload",i$._initPage);
if(document.addEventListener){
document.addEventListener("DOMContentLoaded",i$._initPage,false);
}
}
i$.addOnLoad=function(f,o){
if(o){
f=i$.scope(o,f);
}
if(_1f){
f();
}else{
_20.push(f);
}
};
i$.addOnUnload=function(f,o){
if(!_22){
i$._addEvent("onunload",i$._exitPage);
_22=true;
}
if(o){
f=i$.scope(o,f);
}
_21.push(f);
};
var mx=function(o,m){
for(var p in m){
if(m.hasOwnProperty(p)){
o[p]=m[p];
}
}
},mxn=function(o,m,_23){
i$.forEach(_23,function(p){
if(m.hasOwnProperty(p)){
o[p]=m[p];
}
});
};
i$.mash=function(o){
i$.forEach(arguments,function(v){
mx(o,v);
},1);
return o;
};
i$.mashSpec=function(n,o){
i$.forEach(arguments,function(v){
mxn(o,v,n);
},2);
return o;
};
i$.augment=function(f){
var r=f;
if(f&&f.prototype){
f=f.prototype;
i$.mash.apply(i$,arguments);
}
return r;
};
i$.make=(function(){
var l=function(){
};
return function(o){
l.prototype=o;
o=new l();
return i$.mash.apply(i$,arguments);
};
})();
var _24=/^\s+/g;
i$.trim=function(str){
str=str.replace(_24,"");
var i=str.length-1;
while(str.charAt(i)==" "||str.charAt(i)=="\t"||str.charAt(i)=="\n"||str.charAt(i)=="\r"){
i--;
}
return str.substring(0,i+1);
};
var _25=i$.isArray,_26=i$.isObject;
i$.merge=function(_27,_28,_29){
var _29=_29||[],v,c;
_28=_28||i$.global;
if(_25(_27)&&_25(_28)){
_28.push.apply(_28,_27);
}else{
for(var x in _27){
if(_27.hasOwnProperty(x)){
v=_27[x],c=_28[x];
if(c!=null&&((_25(v)&&_25(c))||(_26(v)&&_26(c)))){
_28[x]=i$.merge(v,c,_29.concat(x));
}else{
_28[x]=v;
}
}
}
}
return _28;
};
var _2a;
i$.isRTL=function(_2b){
if(!_2a){
_2a=i$.fromPath("ibmCfg.themeConfig.RTLMap");
}
var _2c=_2a||{"iw":1,"he":1,"ar":1};
return (_2b.substring(0,2) in _2c);
};
})();


}catch(e){console.log("Module 'wp_client_main': ",e);}
try{/*
	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_ro",{"dijit/nls/loading":{"_localized":{},"loadingState":"Încărcare...","errorState":"Ne pare rău, a apărut o eroare "}});
}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{/*
	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/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_1,_2,_3,_4,_5){var _6=_3("dijit._OnDijitClickMixin",null,{connect:function(_7,_8,_9){return this.inherited(arguments,[_7,_8=="ondijitclick"?_5:_8,_9]);}});_6.a11yclick=_5;return _6;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_a,_b,_c,_d,_e,_f,_10){var _11;var _12={_isElementShown:function(_13){var s=_d.get(_13);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_c.get(_13,"type")!="hidden");},hasDefaultTabStop:function(_14){switch(_14.nodeName.toLowerCase()){case "a":return _c.has(_14,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _15;try{var _16=_14.contentDocument;if("designMode" in _16&&_16.designMode=="on"){return true;}_15=_16.body;}catch(e1){try{_15=_14.contentWindow.document.body;}catch(e2){return false;}}return _15&&(_15.contentEditable=="true"||(_15.firstChild&&_15.firstChild.contentEditable=="true"));default:return _14.contentEditable=="true";}},effectiveTabIndex:function(_17){if(_c.get(_17,"disabled")){return _11;}else{if(_c.has(_17,"tabIndex")){return +_c.get(_17,"tabIndex");}else{return _12.hasDefaultTabStop(_17)?0:_11;}}},isTabNavigable:function(_18){return _12.effectiveTabIndex(_18)>=0;},isFocusable:function(_19){return _12.effectiveTabIndex(_19)>=-1;},_getTabNavigable:function(_1a){var _1b,_1c,_1d,_1e,_1f,_20,_21={};function _22(_23){return _23&&_23.tagName.toLowerCase()=="input"&&_23.type&&_23.type.toLowerCase()=="radio"&&_23.name&&_23.name.toLowerCase();};var _24=_12._isElementShown,_25=_12.effectiveTabIndex;var _26=function(_27){for(var _28=_27.firstChild;_28;_28=_28.nextSibling){if(_28.nodeType!=1||(_f("ie")<=9&&_28.scopeName!=="HTML")||!_24(_28)){continue;}var _29=_25(_28);if(_29>=0){if(_29==0){if(!_1b){_1b=_28;}_1c=_28;}else{if(_29>0){if(!_1d||_29<_1e){_1e=_29;_1d=_28;}if(!_1f||_29>=_20){_20=_29;_1f=_28;}}}var rn=_22(_28);if(_c.get(_28,"checked")&&rn){_21[rn]=_28;}}if(_28.nodeName.toUpperCase()!="SELECT"){_26(_28);}}};if(_24(_1a)){_26(_1a);}function rs(_2a){return _21[_22(_2a)]||_2a;};return {first:rs(_1b),last:rs(_1c),lowest:rs(_1d),highest:rs(_1f)};},getFirstInTabbingOrder:function(_2b,doc){var _2c=_12._getTabNavigable(_b.byId(_2b,doc));return _2c.lowest?_2c.lowest:_2c.first;},getLastInTabbingOrder:function(_2d,doc){var _2e=_12._getTabNavigable(_b.byId(_2d,doc));return _2e.last?_2e.last:_2e.highest;}};1&&_e.mixin(_10,_12);return _12;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(_2f,_30,on,_31){function _32(e){if((e.keyCode===_2f.ENTER||e.keyCode===_2f.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var _33=e.target;_33;_33=_33.parentNode){if(_33.dojoClick){return true;}}}};var _34;on(document,"keydown",function(e){if(_32(e)){_34=e.target;e.preventDefault();}else{_34=null;}});on(document,"keyup",function(e){if(_32(e)&&e.target==_34){_34=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 _35=function(_36,_37){_36.dojoClick=true;return on(_36,"click",_37);};_35.click=_35;_35.press=function(_38,_39){var _3a=on(_38,_31.press,function(evt){if(evt.type=="mousedown"&&!_30.isLeft(evt)){return;}_39(evt);}),_3b=on(_38,"keydown",function(evt){if(evt.keyCode===_2f.ENTER||evt.keyCode===_2f.SPACE){_39(evt);}});return {remove:function(){_3a.remove();_3b.remove();}};};_35.release=function(_3c,_3d){var _3e=on(_3c,_31.release,function(evt){if(evt.type=="mouseup"&&!_30.isLeft(evt)){return;}_3d(evt);}),_3f=on(_3c,"keyup",function(evt){if(evt.keyCode===_2f.ENTER||evt.keyCode===_2f.SPACE){_3d(evt);}});return {remove:function(){_3e.remove();_3f.remove();}};};_35.move=_31.move;return _35;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_40,_41,dom,_42,_43,on,has,_44,_45,win){var _46=has("touch");var _47=has("ios")<5;var _48=navigator.pointerEnabled||navigator.msPointerEnabled,_49=(function(){var _4a={};for(var _4b in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_4a[_4b]=!navigator.pointerEnabled?"MSPointer"+_4b.charAt(0).toUpperCase()+_4b.slice(1):"pointer"+_4b;}return _4a;})();var _4c,_4d,_4e,_4f,_50,_51,_52,_53;var _54;function _55(_56,_57,_58){if(_48&&_58){return function(_59,_5a){return on(_59,_58,_5a);};}else{if(_46){return function(_5b,_5c){var _5d=on(_5b,_57,function(evt){_5c.call(this,evt);_54=(new Date()).getTime();}),_5e=on(_5b,_56,function(evt){if(!_54||(new Date()).getTime()>_54+1000){_5c.call(this,evt);}});return {remove:function(){_5d.remove();_5e.remove();}};};}else{return function(_5f,_60){return on(_5f,_56,_60);};}}};function _61(_62){do{if(_62.dojoClick!==undefined){return _62.dojoClick;}}while(_62=_62.parentNode);};function _63(e,_64,_65){_4d=!e.target.disabled&&_61(e.target);if(_4d){_4e=e.target;_4f=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_50=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_51=(typeof _4d=="object"?_4d.x:(typeof _4d=="number"?_4d:0))||4;_52=(typeof _4d=="object"?_4d.y:(typeof _4d=="number"?_4d:0))||4;if(!_4c){_4c=true;win.doc.addEventListener(_64,function(e){_4d=_4d&&(e.changedTouches?e.changedTouches[0].target:e.target)==_4e&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_4f)<=_51&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_50)<=_52;},true);win.doc.addEventListener(_65,function(e){if(_4d){_53=(new Date()).getTime();var _66=e.target;if(_66.tagName==="LABEL"){_66=dom.byId(_66.getAttribute("for"))||_66;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _67=document.createEvent("MouseEvents");_67._dojo_click=true;_67.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(_66,"click",_67);},0);}},true);function _68(_69){win.doc.addEventListener(_69,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_53+1000&&!(e.target.tagName=="INPUT"&&_42.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_69=="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);};_68("click");_68("mousedown");_68("mouseup");}}};var _6a;if(_46){if(_48){_45(function(){win.doc.addEventListener(_49.down,function(evt){_63(evt,_49.move,_49.up);},true);});}else{_45(function(){_6a=win.body();win.doc.addEventListener("touchstart",function(evt){_54=(new Date()).getTime();var _6b=_6a;_6a=evt.target;on.emit(_6b,"dojotouchout",{relatedTarget:_6a,bubbles:true});on.emit(_6a,"dojotouchover",{relatedTarget:_6b,bubbles:true});_63(evt,"touchmove","touchend");},true);function _6c(evt){var _6d=_43.delegate(evt,{bubbles:true});if(has("ios")>=6){_6d.touches=evt.touches;_6d.altKey=evt.altKey;_6d.changedTouches=evt.changedTouches;_6d.ctrlKey=evt.ctrlKey;_6d.metaKey=evt.metaKey;_6d.shiftKey=evt.shiftKey;_6d.targetTouches=evt.targetTouches;}return _6d;};on(win.doc,"touchmove",function(evt){_54=(new Date()).getTime();var _6e=win.doc.elementFromPoint(evt.pageX-(_47?0:win.global.pageXOffset),evt.pageY-(_47?0:win.global.pageYOffset));if(_6e){if(_6a!==_6e){on.emit(_6a,"dojotouchout",{relatedTarget:_6e,bubbles:true});on.emit(_6e,"dojotouchover",{relatedTarget:_6a,bubbles:true});_6a=_6e;}if(!on.emit(_6e,"dojotouchmove",_6c(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_54=(new Date()).getTime();var _6f=win.doc.elementFromPoint(evt.pageX-(_47?0:win.global.pageXOffset),evt.pageY-(_47?0:win.global.pageYOffset))||win.body();on.emit(_6f,"dojotouchend",_6c(evt));});});}}var _70={press:_55("mousedown","touchstart",_49.down),move:_55("mousemove","dojotouchmove",_49.move),release:_55("mouseup","dojotouchend",_49.up),cancel:_55(_44.leave,"touchcancel",_46?_49.cancel:null),over:_55("mouseover","dojotouchover",_49.over),out:_55("mouseout","dojotouchout",_49.out),enter:_44._eventHandler(_55("mouseover","dojotouchover",_49.over)),leave:_44._eventHandler(_55("mouseout","dojotouchout",_49.out))};1&&(_40.touch=_70);return _70;});},"dojox/fx":function(){define(["./fx/_base"],function(_71){return _71;});},"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(_72,_73,dom,_74,_75,_76,_77,_78,on,_79,has,_7a,win,_7b,_7c,_7d,_7e){var _7f;var _80=_73([_7a,_77],{curNode:null,activeStack:[],constructor:function(){var _81=_78.hitch(this,function(_82){if(dom.isDescendant(this.curNode,_82)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,_82)){this.set("prevNode",null);}});_72.before(_76,"empty",_81);_72.before(_76,"destroy",_81);},registerIframe:function(_83){return this.registerWin(_83.contentWindow,_83);},registerWin:function(_84,_85){var _86=this,_87=_84.document&&_84.document.body;if(_87){var mdh=on(_84.document,"mousedown, touchstart",function(evt){_86._justMouseDowned=true;setTimeout(function(){_86._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_86._onTouchNode(_85||evt.target,"mouse");});var fih=on(_87,"focusin",function(evt){_7f=(new Date()).getTime();if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(_7c.isFocusable(evt.target)){_86._onFocusNode(_85||evt.target);}else{_86._onTouchNode(_85||evt.target);}});var foh=on(_87,"focusout",function(evt){if((new Date()).getTime()<_7f+100){return;}_86._onBlurNode(_85||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;_87=null;}};}},_onBlurNode:function(_88){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(_78.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(_78.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(_89,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_75.contains(_89,"dijitPopup")){_89=_89.firstChild;}var _8a=[];try{while(_89){var _8b=_74.get(_89,"dijitPopupParent");if(_8b){_89=_7d.byId(_8b).domNode;}else{if(_89.tagName&&_89.tagName.toLowerCase()=="body"){if(_89===win.body()){break;}_89=_7b.get(_89.ownerDocument).frameElement;}else{var id=_89.getAttribute&&_89.getAttribute("widgetId"),_8c=id&&_7d.byId(id);if(_8c&&!(by=="mouse"&&_8c.get("disabled"))){_8a.unshift(id);}_89=_89.parentNode;}}}}catch(e){}this._setStack(_8a,by);},_onFocusNode:function(_8d){if(!_8d){return;}if(_8d.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(_8d);if(_8d==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",_8d);},_setStack:function(_8e,by){var _8f=this.activeStack,_90=_8f.length-1,_91=_8e.length-1;if(_8e[_91]==_8f[_90]){return;}this.set("activeStack",_8e);var _92,i;for(i=_90;i>=0&&_8f[i]!=_8e[i];i--){_92=_7d.byId(_8f[i]);if(_92){_92._hasBeenBlurred=true;_92.set("focused",false);if(_92._focusManager==this){_92._onBlur(by);}this.emit("widget-blur",_92,by);}}for(i++;i<=_91;i++){_92=_7d.byId(_8e[i]);if(_92){_92.set("focused",true);if(_92._focusManager==this){_92._onFocus(by);}this.emit("widget-focus",_92,by);}}},focus:function(_93){if(_93){try{_93.focus();}catch(e){}}}});var _94=new _80();_79(function(){var _95=_94.registerWin(_7b.get(document));if(has("ie")){on(window,"unload",function(){if(_95){_95.remove();_95=null;}});}});_7e.focus=function(_96){_94.focus(_96);};for(var _97 in _94){if(!/^_/.test(_97)){_7e.focus[_97]=typeof _94[_97]=="function"?_78.hitch(_94,_97):_94[_97];}}_94.watch(function(_98,_99,_9a){_7e.focus[_98]=_9a;});return _94;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_9b,_9c,_9d){return _9d("dijit.Destroyable",null,{destroy:function(_9e){this._destroyed=true;},own:function(){_9b.forEach(arguments,function(_9f){var _a0="destroyRecursive" in _9f?"destroyRecursive":"destroy" in _9f?"destroy":"remove";var odh=_9c.before(this,"destroy",function(_a1){_9f[_a0](_a1);});var hdh=_9c.after(_9f,_a0,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dojox/fx/easing":function(){define(["dojo/_base/lang","dojo/_base/kernel","dojo/fx/easing"],function(_a2,_a3,_a4){_a3.deprecated("dojox.fx.easing","Upgraded to Core, use dojo.fx.easing instead","2.0");var _a5=_a2.getObject("dojox.fx",true);_a5.easing=_a4;return _a4;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_a6,_a7,_a8,has,_a9){var _aa=_a9.doc.documentElement,ie=has("ie"),_ab=has("opera"),maj=Math.floor,ff=has("ff"),_ac=_a6.boxModel.replace(/-/,""),_ad={"dj_quirks":has("quirks"),"dj_opera":_ab,"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){_ad["dj_ie"]=true;_ad["dj_ie"+maj(ie)]=true;_ad["dj_iequirks"]=has("quirks");}if(ff){_ad["dj_ff"+maj(ff)]=true;}_ad["dj_"+_ac]=true;var _ae="";for(var clz in _ad){if(_ad[clz]){_ae+=clz+" ";}}_aa.className=_a7.trim(_aa.className+" "+_ae);_a8(function(){if(!_a6.isBodyLtr()){var _af="dj_rtl dijitRtl "+_ae.replace(/ /g,"-rtl ");_aa.className=_a7.trim(_aa.className+" "+_af+"dj_rtl dijitRtl "+_ae.replace(/ /g,"-rtl "));}});return has;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(_b0){return _b0.dijit;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(_b1,has,win,_b2){var _b3={},_b4={};var _b5={length:0,add:function(_b6){if(_b4[_b6.id]){throw new Error("Tried to register widget with id=="+_b6.id+" but that id is already registered");}_b4[_b6.id]=_b6;this.length++;},remove:function(id){if(_b4[id]){delete _b4[id];this.length--;}},byId:function(id){return typeof id=="string"?_b4[id]:id;},byNode:function(_b7){return _b4[_b7.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _b4){ar.push(_b4[id]);}return ar;},getUniqueId:function(_b8){var id;do{id=_b8+"_"+(_b8 in _b3?++_b3[_b8]:_b3[_b8]=0);}while(_b4[id]);return _b2._scopeName=="dijit"?id:_b2._scopeName+"_"+id;},findWidgets:function(_b9,_ba){var _bb=[];function _bc(_bd){for(var _be=_bd.firstChild;_be;_be=_be.nextSibling){if(_be.nodeType==1){var _bf=_be.getAttribute("widgetId");if(_bf){var _c0=_b4[_bf];if(_c0){_bb.push(_c0);}}else{if(_be!==_ba){_bc(_be);}}}}};_bc(_b9);return _bb;},_destroyAll:function(){_b2._curFocus=null;_b2._prevFocus=null;_b2._activeStack=[];_b1.forEach(_b5.findWidgets(win.body()),function(_c1){if(!_c1._destroyed){if(_c1.destroyRecursive){_c1.destroyRecursive();}else{if(_c1.destroy){_c1.destroy();}}}});},getEnclosingWidget:function(_c2){while(_c2){var id=_c2.nodeType==1&&_c2.getAttribute("widgetId");if(id){return _b4[id];}_c2=_c2.parentNode;}return null;},_hash:_b4};_b2.registry=_b5;return _b5;});},"dojo/_base/query":function(){define(["../query","./NodeList"],function(_c3){return _c3;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_c4,has,_c5,win){_c5(function(){if(has("highcontrast")){_c4.add(win.body(),"dijit_a11y");}});return has;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_c6,_c7,_c8,_c9,has,_ca,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("+(_c7.blankGif||_c6.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_c9.getComputedStyle(div),_cb=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_cb&&(_cb=="none"||_cb=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_ca(function(){if(has("highcontrast")){_c8.add(win.body(),"dj_a11y");}});return has;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_cc,has,_cd,dom,_ce,_cf,_d0){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _d1=_cd.body(doc),_d2=_d0.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_d1,"last"),div=_d0.create("div",{style:{overflow:"hidden",direction:"ltr"}},_d2,"last"),ret=_ce.position(div).x!=0;_d2.removeChild(div);_d1.removeChild(_d2);return ret;});has.add("position-fixed-support",function(win,doc){var _d3=_cd.body(doc),_d4=_d0.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_d3,"last"),_d5=_d0.create("span",{style:{position:"fixed",left:"0",top:"0"}},_d4,"last"),ret=_ce.position(_d5).x!=_ce.position(_d4).x;_d4.removeChild(_d5);_d3.removeChild(_d4);return ret;});var _d6={getBox:function(doc){doc=doc||_cd.doc;var _d7=(doc.compatMode=="BackCompat")?_cd.body(doc):doc.documentElement,_d8=_ce.docScroll(doc),w,h;if(has("touch")){var _d9=_d6.get(doc);w=_d9.innerWidth||_d7.clientWidth;h=_d9.innerHeight||_d7.clientHeight;}else{w=_d7.clientWidth;h=_d7.clientHeight;}return {l:_d8.x,t:_d8.y,w:w,h:h};},get:function(doc){if(has("ie")&&_d6!==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(_da,pos){try{_da=dom.byId(_da);var doc=_da.ownerDocument||_cd.doc,_db=_cd.body(doc),_dc=doc.documentElement||_db.parentNode,_dd=has("ie"),_de=has("webkit");if(_da==_db||_da==_dc){return;}if(!(has("mozilla")||_dd||_de||has("opera")||has("trident"))&&("scrollIntoView" in _da)){_da.scrollIntoView(false);return;}var _df=doc.compatMode=="BackCompat",_e0=Math.min(_db.clientWidth||_dc.clientWidth,_dc.clientWidth||_db.clientWidth),_e1=Math.min(_db.clientHeight||_dc.clientHeight,_dc.clientHeight||_db.clientHeight),_e2=(_de||_df)?_db:_dc,_e3=pos||_ce.position(_da),el=_da.parentNode,_e4=function(el){return (_dd<=6||(_dd==7&&_df))?false:(has("position-fixed-support")&&(_cf.get(el,"position").toLowerCase()=="fixed"));},_e5=this,_e6=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_e5.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_e4(_da)){return;}while(el){if(el==_db){el=_e2;}var _e7=_ce.position(el),_e8=_e4(el),rtl=_cf.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_e2){_e7.w=_e0;_e7.h=_e1;if(_e2==_dc&&(_dd||has("trident"))&&rtl){_e7.x+=_e2.offsetWidth-_e7.w;}if(_e7.x<0||!_dd||_dd>=9||has("trident")){_e7.x=0;}if(_e7.y<0||!_dd||_dd>=9||has("trident")){_e7.y=0;}}else{var pb=_ce.getPadBorderExtents(el);_e7.w-=pb.w;_e7.h-=pb.h;_e7.x+=pb.l;_e7.y+=pb.t;var _e9=el.clientWidth,_ea=_e7.w-_e9;if(_e9>0&&_ea>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_e7.x+=_ea;}_e7.w=_e9;}_e9=el.clientHeight;_ea=_e7.h-_e9;if(_e9>0&&_ea>0){_e7.h=_e9;}}if(_e8){if(_e7.y<0){_e7.h+=_e7.y;_e7.y=0;}if(_e7.x<0){_e7.w+=_e7.x;_e7.x=0;}if(_e7.y+_e7.h>_e1){_e7.h=_e1-_e7.y;}if(_e7.x+_e7.w>_e0){_e7.w=_e0-_e7.x;}}var l=_e3.x-_e7.x,t=_e3.y-_e7.y,r=l+_e3.w-_e7.w,bot=t+_e3.h-_e7.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_e2||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_dd==8&&!_df)||_dd>=9||has("trident"))){s=-s;}old=el.scrollLeft;_e6(el,s,0);s=el.scrollLeft-old;_e3.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_e2||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_e6(el,0,s);s=el.scrollTop-old;_e3.y-=s;}el=(el!=_e2)&&!_e8&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_da.scrollIntoView(false);}}};1&&_cc.setObject("dojo.window",_d6);return _d6;});},"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(_eb,_ec,_ed,_ee,has,_ef,_f0,_f1,_f2,_f3,_f4,_f5,_f6){function _f7(){};function _f8(_f9){return function(obj,_fa,_fb,_fc){if(obj&&typeof _fa=="string"&&obj[_fa]==_f7){return obj.on(_fa.substring(2).toLowerCase(),_f0.hitch(_fb,_fc));}return _f9.apply(_ed,arguments);};};_eb.around(_ed,"connect",_f8);if(_ef.connect){_eb.around(_ef,"connect",_f8);}var _fd=_ee("dijit._Widget",[_f4,_f5,_f6],{onClick:_f7,onDblClick:_f7,onKeyDown:_f7,onKeyPress:_f7,onKeyUp:_f7,onMouseDown:_f7,onMouseMove:_f7,onMouseOut:_f7,onMouseOver:_f7,onMouseLeave:_f7,onMouseEnter:_f7,onMouseUp:_f7,constructor:function(_fe){this._toConnect={};for(var _ff in _fe){if(this[_ff]===_f7){this._toConnect[_ff.replace(/^on/,"").toLowerCase()]=_fe[_ff];delete _fe[_ff];}}},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)]===_f7){return _ed.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_100){_ef.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_100);},attr:function(name,_101){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_ef.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_f1("[widgetId]",this.containerNode).map(_f3.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_f2(0,function(){var _102=["dijit/_base"];require(_102);});}return _fd;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_103,_104,_105,lang){lang.extend(_104,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _105("dijit._FocusMixin",null,{_focusManager:_103});});},"dojox/fx/Shadow":function(){define(["dojo/_base/kernel","dojo/_base/query","dojo/_base/lang","dojo/_base/declare","dojo/_base/sniff","dojo/dom-construct","dojo/dom-class","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dijit/_Widget","dojo/NodeList-fx"],function(_106,_107,lang,_108,has,_109,_10a,_10b,_10c,_10d,_10e,_10f){_106.experimental("dojox.fx.Shadow");return _108("dojox.fx.Shadow",_10e,{shadowPng:_106.moduleUrl("dojox.fx","resources/shadow"),shadowThickness:7,shadowOffset:3,opacity:0.75,animate:false,node:null,startup:function(){this.inherited(arguments);this.node.style.position="relative";this.pieces={};var x1=-1*this.shadowThickness;var y0=this.shadowOffset;var y1=this.shadowOffset+this.shadowThickness;this._makePiece("tl","top",y0,"left",x1);this._makePiece("l","top",y1,"left",x1,"scale");this._makePiece("tr","top",y0,"left",0);this._makePiece("r","top",y1,"left",0,"scale");this._makePiece("bl","top",0,"left",x1);this._makePiece("b","top",0,"left",0,"crop");this._makePiece("br","top",0,"left",0);this.nodeList=_107(".shadowPiece",this.node);this.setOpacity(this.opacity);this.resize();},_makePiece:function(name,_110,_111,_112,_113,_114){var img;var url=this.shadowPng+name.toUpperCase()+".png";if(has("ie")<7){img=_109.create("div");img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+url+"'"+(_114?", sizingMethod='"+_114+"'":"")+")";}else{img=_109.create("img",{src:url});}img.style.position="absolute";img.style[_110]=_111+"px";img.style[_112]=_113+"px";img.style.width=this.shadowThickness+"px";img.style.height=this.shadowThickness+"px";_10a.add(img,"shadowPiece");this.pieces[name]=img;this.node.appendChild(img);},setOpacity:function(n,_115){if(has("ie")){return;}if(!_115){_115={};}if(this.animate){var _116=[];this.nodeList.forEach(function(node){_116.push(_10c._fade(lang.mixin(_115,{node:node,end:n})));});_10d.combine(_116).play();}else{this.nodeList.style("opacity",n);}},setDisabled:function(_117){if(_117){if(this.disabled){return;}if(this.animate){this.nodeList.fadeOut().play();}else{this.nodeList.style("visibility","hidden");}this.disabled=true;}else{if(!this.disabled){return;}if(this.animate){this.nodeList.fadeIn().play();}else{this.nodeList.style("visibility","visible");}this.disabled=false;}},resize:function(args){var x;var y;if(args){x=args.x;y=args.y;}else{var co=_10b.position(this.node);x=co.w;y=co.h;}var _118=y-(this.shadowOffset+this.shadowThickness);if(_118<0){_118=0;}if(y<1){y=1;}if(x<1){x=1;}with(this.pieces){l.style.height=_118+"px";r.style.height=_118+"px";b.style.width=x+"px";bl.style.top=y+"px";b.style.top=y+"px";br.style.top=y+"px";tr.style.left=x+"px";r.style.left=x+"px";br.style.left=x+"px";}}});});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_119,lang,_11a,_11b,_11c){var _11d=_119.NodeList;lang.extend(_11d,{_anim:function(obj,_11e,args){args=args||{};var a=_11c.combine(this.map(function(item){var _11f={node:item};lang.mixin(_11f,args);return obj[_11e](_11f);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_11c,"wipeIn",args);},wipeOut:function(args){return this._anim(_11c,"wipeOut",args);},slideTo:function(args){return this._anim(_11c,"slideTo",args);},fadeIn:function(args){return this._anim(_11b,"fadeIn",args);},fadeOut:function(args){return this._anim(_11b,"fadeOut",args);},animateProperty:function(args){return this._anim(_11b,"animateProperty",args);},anim:function(_120,_121,_122,_123,_124){var _125=_11c.combine(this.map(function(item){return _11b.animateProperty({node:item,properties:_120,duration:_121||350,easing:_122});}));if(_123){_11a.after(_125,"onEnd",_123,true);}return _125.play(_124||0);}});return _11d;});},"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(_126,_127,_128,_129,_12a,_12b,dom,_12c,_12d,_12e,_12f,_130,has,_131,lang,on,_132,_133,_134,win,_135,_136,_137){has.add("dijit-legacy-requires",!_131.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_132(0,function(){var _138=["dijit/_base/manager"];_126(_138);});}var _139={};function _13a(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _13b(attr){return function(val){_12c[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _13c(a,b){return a===b||(a!==a&&b!==b);};var _13d=_12b("dijit._WidgetBase",[_133,_135],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_13b("lang"),dir:"",_setDirAttr:_13b("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:_129.blankGif||_126.toUrl("dojo/resources/blank.gif"),_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _13e=ctor.prototype,_13f=ctor._setterAttrs=[],_140=(ctor._onMap={});for(var name in _13e.attributeMap){_13f.push(name);}for(name in _13e){if(/^on/.test(name)){_140[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_13e.attributeMap||!(name in _13e.attributeMap)){_13f.push(name);}}}}},postscript:function(_141,_142){this.create(_141,_142);},create:function(_143,_144){this._introspect();this.srcNodeRef=dom.byId(_144);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_143){this.params=_143;lang.mixin(this,_143);}this.postMixInProperties();if(!this.id){this.id=_137.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);_137.add(this);this.buildRendering();var _145;if(this.domNode){this._applyAttributes();var _146=this.srcNodeRef;if(_146&&_146.parentNode&&this.domNode!==_146){_146.parentNode.replaceChild(this.domNode,_146);_145=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_145){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _147={};for(var key in this.params||{}){_147[key]=this._get(key);}_127.forEach(this.constructor._setterAttrs,function(key){if(!(key in _147)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _147){this.set(key,_147[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _148=this.baseClass.split(" ");if(!this.isLeftToRight()){_148=_148.concat(_127.map(_148,function(name){return name+"Rtl";}));}_12d.add(this.domNode,_148);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_127.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_149){this._beingDestroyed=true;this.destroyDescendants(_149);this.destroy(_149);},destroy:function(_14a){this._beingDestroyed=true;this.uninitialize();function _14b(w){if(w.destroyRecursive){w.destroyRecursive(_14a);}else{if(w.destroy){w.destroy(_14a);}}};_127.forEach(this._connects,lang.hitch(this,"disconnect"));_127.forEach(this._supportingWidgets,_14b);if(this.domNode){_127.forEach(_137.findWidgets(this.domNode,this.containerNode),_14b);}this.destroyRendering(_14a);_137.remove(this.id);this._destroyed=true;},destroyRendering:function(_14c){if(this.bgIframe){this.bgIframe.destroy(_14c);delete this.bgIframe;}if(this.domNode){if(_14c){_12c.remove(this.domNode,"widgetId");}else{_12e.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_14c){_12e.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_14d){_127.forEach(this.getChildren(),function(_14e){if(_14e.destroyRecursive){_14e.destroyRecursive(_14d);}});},uninitialize:function(){return false;},_setStyleAttr:function(_14f){var _150=this.domNode;if(lang.isObject(_14f)){_130.set(_150,_14f);}else{if(_150.style.cssText){_150.style.cssText+="; "+_14f;}else{_150.style.cssText=_14f;}}this._set("style",_14f);},_attrToDom:function(attr,_151,_152){_152=arguments.length>=3?_152:this.attributeMap[attr];_127.forEach(lang.isArray(_152)?_152:[_152],function(_153){var _154=this[_153.node||_153||"domNode"];var type=_153.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_151)){_151=lang.hitch(this,_151);}var _155=_153.attribute?_153.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_154.tagName){_12c.set(_154,_155,_151);}else{_154.set(_155,_151);}break;case "innerText":_154.innerHTML="";_154.appendChild(this.ownerDocument.createTextNode(_151));break;case "innerHTML":_154.innerHTML=_151;break;case "class":_12d.replace(_154,_151,this[attr]);break;}},this);},get:function(name){var _156=this._getAttrNames(name);return this[_156.g]?this[_156.g]():this._get(name);},set:function(name,_157){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _158=this._getAttrNames(name),_159=this[_158.s];if(lang.isFunction(_159)){var _15a=_159.apply(this,Array.prototype.slice.call(arguments,1));}else{var _15b=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_15b]&&this[_15b].tagName,_15c=tag&&(_139[tag]||(_139[tag]=_13a(this[_15b]))),map=name in this.attributeMap?this.attributeMap[name]:_158.s in this?this[_158.s]:((_15c&&_158.l in _15c&&typeof _157!="function")||/^aria-|^data-|^role$/.test(name))?_15b:null;if(map!=null){this._attrToDom(name,_157,map);}this._set(name,_157);}return _15a||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,_15d){var _15e=this[name];this[name]=_15d;if(this._created&&!_13c(_15e,_15d)){if(this._watchCallbacks){this._watchCallbacks(name,_15e,_15d);}this.emit("attrmodified-"+name,{detail:{prevValue:_15e,newValue:_15d}});}},_get:function(name){return this[name];},emit:function(type,_15f,_160){_15f=_15f||{};if(_15f.bubbles===undefined){_15f.bubbles=true;}if(_15f.cancelable===undefined){_15f.cancelable=true;}if(!_15f.detail){_15f.detail={};}_15f.detail.widget=this;var ret,_161=this["on"+type];if(_161){ret=_161.apply(this,_160?_160:[_15f]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_15f);}return ret;},on:function(type,func){var _162=this._onMap(type);if(_162){return _128.after(this,_162,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?_137.findWidgets(this.containerNode):[];},getParent:function(){return _137.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_163,_164){return this.own(_12a.connect(obj,_163,this,_164))[0];},disconnect:function(_165){_165.remove();},subscribe:function(t,_166){return this.own(_134.subscribe(t,lang.hitch(this,_166)))[0];},unsubscribe:function(_167){_167.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_12f.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_130.get(this.domNode,"display")!="none");},placeAt:function(_168,_169){var _16a=!_168.tagName&&_137.byId(_168);if(_16a&&_16a.addChild&&(!_169||typeof _169==="number")){_16a.addChild(this,_169);}else{var ref=_16a?(_16a.containerNode&&!/after|before|replace/.test(_169||"")?_16a.containerNode:_16a.domNode):dom.byId(_168,this.ownerDocument);_12e.place(this.domNode,ref,_169);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_16b){var _16c=setTimeout(lang.hitch(this,function(){if(!_16c){return;}_16c=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_16b||0);return {remove:function(){if(_16c){clearTimeout(_16c);_16c=null;}return null;}};}});if(has("dojo-bidi")){_13d.extend(_136);}return _13d;});},"dojox/fx/_base":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/_base/fx","dojo/fx","dojo/dom","dojo/dom-style","dojo/dom-geometry","dojo/_base/connect","dojo/_base/html"],function(_16d,lang,_16e,_16f,dom,_170,_171,_172,_173){var _174=lang.getObject("dojox.fx",true);lang.mixin(_174,{anim:_16e.anim,animateProperty:_16e.animateProperty,fadeTo:_16e._fade,fadeIn:_16e.fadeIn,fadeOut:_16e.fadeOut,combine:_16f.combine,chain:_16f.chain,slideTo:_16f.slideTo,wipeIn:_16f.wipeIn,wipeOut:_16f.wipeOut});_174.sizeTo=function(args){var node=args.node=dom.byId(args.node),abs="absolute";var _175=args.method||"chain";if(!args.duration){args.duration=500;}if(_175=="chain"){args.duration=Math.floor(args.duration/2);}var top,_176,left,_177,_178,_179=null;var init=(function(n){return function(){var cs=_170.getComputedStyle(n),pos=cs.position,w=cs.width,h=cs.height;top=(pos==abs?n.offsetTop:parseInt(cs.top)||0);left=(pos==abs?n.offsetLeft:parseInt(cs.left)||0);_178=(w=="auto"?0:parseInt(w));_179=(h=="auto"?0:parseInt(h));_177=left-Math.floor((args.width-_178)/2);_176=top-Math.floor((args.height-_179)/2);if(pos!=abs&&pos!="relative"){var ret=_170.coords(n,true);top=ret.y;left=ret.x;n.style.position=abs;n.style.top=top+"px";n.style.left=left+"px";}};})(node);var _17a=_16e.animateProperty(lang.mixin({properties:{height:function(){init();return {end:args.height||0,start:_179};},top:function(){return {start:top,end:_176};}}},args));var _17b=_16e.animateProperty(lang.mixin({properties:{width:function(){return {start:_178,end:args.width||0};},left:function(){return {start:left,end:_177};}}},args));var anim=_16f[(args.method=="combine"?"combine":"chain")]([_17a,_17b]);return anim;};_174.slideBy=function(args){var node=args.node=dom.byId(args.node),top,left;var init=(function(n){return function(){var cs=_170.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=_171.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var _17c=_16e.animateProperty(lang.mixin({properties:{top:top+(args.top||0),left:left+(args.left||0)}},args));_172.connect(_17c,"beforeBegin",_17c,init);return _17c;};_174.crossFade=function(args){var _17d=args.nodes[0]=dom.byId(args.nodes[0]),op1=_173.style(_17d,"opacity"),_17e=args.nodes[1]=dom.byId(args.nodes[1]),op2=_173.style(_17e,"opacity");var _17f=_16f.combine([_16e[(op1==0?"fadeIn":"fadeOut")](lang.mixin({node:_17d},args)),_16e[(op1==0?"fadeOut":"fadeIn")](lang.mixin({node:_17e},args))]);return _17f;};_174.highlight=function(args){var node=args.node=dom.byId(args.node);args.duration=args.duration||400;var _180=args.color||"#ffff99",_181=_173.style(node,"backgroundColor");if(_181=="rgba(0, 0, 0, 0)"){_181="transparent";}var anim=_16e.animateProperty(lang.mixin({properties:{backgroundColor:{start:_180,end:_181}}},args));if(_181=="transparent"){_172.connect(anim,"onEnd",anim,function(){node.style.backgroundColor=_181;});}return anim;};_174.wipeTo=function(args){args.node=dom.byId(args.node);var node=args.node,s=node.style;var dir=(args.width?"width":"height"),_182=args[dir],_183={};_183[dir]={start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s[dir]="1px";s.display="";s.visibility="";return 1;}else{var now=_173.style(node,dir);return Math.max(now,1);}},end:_182};var anim=_16e.animateProperty(lang.mixin({properties:_183},args));return anim;};return _174;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_184,lang,_185,when){return _184("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(_186){if(_186){this.set(_186);}},_get:function(name,_187){return typeof this[_187.g]==="function"?this[_187.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_188){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _189=this._getAttrNames(name),_18a=this._get(name,_189),_18b=this[_189.s],_18c;if(typeof _18b==="function"){_18c=_18b.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_188;}if(this._watchCallbacks){var self=this;when(_18c,function(){self._watchCallbacks(name,_18a,_188);});}return this;},_changeAttrValue:function(name,_18d){var _18e=this.get(name);this[name]=_18d;if(this._watchCallbacks){this._watchCallbacks(name,_18e,_18d);}return this;},watch:function(name,_18f){var _190=this._watchCallbacks;if(!_190){var self=this;_190=this._watchCallbacks=function(name,_191,_192,_193){var _194=function(_195){if(_195){_195=_195.slice();for(var i=0,l=_195.length;i<l;i++){_195[i].call(self,name,_191,_192);}}};_194(_190["_"+name]);if(!_193){_194(_190["*"]);}};}if(!_18f&&typeof name==="function"){_18f=name;name="*";}else{name="_"+name;}var _196=_190[name];if(typeof _196!=="object"){_196=_190[name]=[];}_196.push(_18f);var _197={};_197.unwatch=_197.remove=function(){var _198=_185.indexOf(_196,_18f);if(_198>-1){_196.splice(_198,1);}};return _197;}});});},"*noref":1}});define("dojox/_dojox_fx",[],1);require(["dojox/fx","dojox/fx/Shadow","dojox/fx/easing"]);
}catch(e){console.log("Module 'dojox_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/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_ro",{"dojo/cldr/nls/currency":{"KHR_displayName":"riel cambodgian","FJD_displayName":"dolar Fiji","KPW_displayName":"won nord-coreean","XBB_displayName":"unitate monetară europeană","XCD_displayName":"dolar Caraibele de Est","HUF_displayName":"forint maghiar","IQD_displayName":"dinar irakian","MZM_displayName":"metical Mozambic vechi","EGP_displayName":"liră egipteană","TTD_displayName":"dolar Trinidad-Tobago","GHS_displayName":"cedi ghanez","USN_displayName":"dolar american (ziua următoare)","TJR_displayName":"rublă Tadjikistan","BRL_symbol":"R$","NIC_displayName":"cordoba nicaraguană (1988-1991)","BTN_displayName":"ngultrum Bhutan","TWD_symbol":"NT$","SBD_displayName":"dolar Insulele Solomon","CZK_displayName":"coroană cehă","NOK_displayName":"coroană norvegiană","SKK_displayName":"coroană slovacă","MNT_displayName":"tugrik mongol","INR_displayName":"rupie indiană","KRW_displayName":"won sud-coreean","BMD_displayName":"dolar Bermude","AZM_displayName":"manat azer (1993-2006)","BDT_displayName":"taka Bangladesh","KGS_displayName":"som kârgâz","ESB_displayName":"peseta spaniolă (cont convertibil)","DJF_displayName":"franc Djibouti","PLZ_displayName":"zlot polonez (1950–1995)","ANG_displayName":"gulden Antilele Olandeze","DEM_displayName":"marcă germană","BEL_displayName":"franc belgian (financiar)","USD_displayName":"dolar american","TMT_displayName":"manat turkmen","HTG_displayName":"gourde Haiti","XCD_symbol":"EC$","XTS_displayName":"cod monetar de test","BWP_displayName":"pula Botswana","HKD_symbol":"HK$","RSD_displayName":"dinar sârbesc","CSD_displayName":"dinar Serbia și Muntenegru (2002-2006)","SSP_displayName":"liră sud-sudaneză","DKK_displayName":"coroană daneză","XAF_symbol":"FCFA","PAB_displayName":"balboa panameză","AWG_displayName":"florin din Aruba","YUM_displayName":"dinar iugoslav nou","ILS_symbol":"₪","NAD_displayName":"dolar namibian","UGX_displayName":"șiling ugandez","YDD_displayName":"dinar Yemen","ZMW_displayName":"kwacha zambian","HNL_displayName":"lempira honduriană","VEF_displayName":"bolívar venezuelean","BHD_displayName":"dinar Bahrain","GRD_displayName":"drahmă grecească","BIF_displayName":"franc Burundi","MKD_displayName":"dinar macedonean","USD_symbol":"$","SDD_displayName":"dinar sudanez","MLF_displayName":"franc Mali","SRD_displayName":"dolar Surinam","XAF_displayName":"franc Comunitatea Financiară","XOF_displayName":"franc CFA BCEAO","ZWL_displayName":"dolar Zimbabwe (2009)","SIT_displayName":"tolar sloven","LTL_displayName":"litu lituanian","TMM_displayName":"manat turkmen (1993-2009)","BAD_displayName":"dinar Bosnia-Herțegovina (1992-1994)","GYD_displayName":"dolar guyanez","ITL_displayName":"liră italiană","SRG_displayName":"gulden Surinam","COP_displayName":"peso columbian","MMK_displayName":"kyat Myanmar","MVR_displayName":"rufiyaa maldiviană","SAR_displayName":"riyal Arabia Saudită","PES_displayName":"sol peruvian (1863-1965)","XBA_displayName":"unitate compusă europeană","PEI_displayName":"inti peruvian","XPF_symbol":"CFPF","CHF_displayName":"franc elvețian","XDR_displayName":"drepturi speciale de tragere","STD_displayName":"dobra Sao Tome și Principe","IDR_displayName":"rupie indoneziană","PYG_displayName":"guarani Paraguay","IRR_displayName":"rial iranian","CNY_symbol":"CN¥","UYU_displayName":"peso nou Uruguay","EUR_displayName":"euro","SLL_displayName":"leone Sierra Leone","SDG_displayName":"liră sudaneză","LKR_displayName":"rupie Sri Lanka","GMD_displayName":"dalasi Gambia","SZL_displayName":"lilangeni Swaziland","GNF_displayName":"franc guineean","MGF_displayName":"franc Madagascar","SCR_displayName":"rupie Seychelles","ALL_displayName":"leka albanez","GEL_displayName":"lari Georgia","EEK_displayName":"coroană estoniană","XFO_displayName":"franc francez de aur","VEB_displayName":"bolivar Venezuela (1871-2008)","AMD_displayName":"dram armenesc","ESA_displayName":"peseta spaniolă (cont A)","GWP_displayName":"peso Guineea-Bissau","XBD_displayName":"unitate de cont europeană (XBD)","TRL_displayName":"liră turcească (1922-2005)","XPD_displayName":"paladiu","MXN_symbol":"MX$","NZD_displayName":"dolar neozeelandez","AFN_displayName":"afgan","JMD_displayName":"dolar jamaican","GTQ_displayName":"quetzal guatemalez","LVL_displayName":"lats Letonia","NIO_displayName":"cordoba nicaraguană","OMR_displayName":"riyal Oman","ROL_displayName":"leu românesc (1952-2006)","_localized":{"rof":1},"MZE_displayName":"escudo Mozambic","KMF_displayName":"franc comorian","GBP_displayName":"liră sterlină","AOA_displayName":"kwanza angoleză","VUV_displayName":"vatu din Vanuatu","ILP_displayName":"liră israeliană","TOP_displayName":"pa’anga tongană","XPT_displayName":"platină","ZWR_displayName":"dolar Zimbabwe (2008)","GIP_displayName":"liră Gibraltar","BZD_displayName":"dolar Belize","BUK_displayName":"kyat birman","MAD_displayName":"dirham marocan","CLP_displayName":"peso chilian","IEP_displayName":"liră irlandeză","SYP_displayName":"liră siriană","NPR_displayName":"rupie nepaleză","UZS_displayName":"sum Uzbekistan","GBP_symbol":"£","DDM_displayName":"marcă est-germană","JOD_displayName":"dinar iordanian","YER_displayName":"riyal Yemen","BRL_displayName":"real brazilian","TRY_displayName":"liră turcească","CVE_displayName":"escudo Capul Verde","THB_symbol":"฿","BSD_displayName":"dolar Bahamas","LYD_displayName":"dinar libian","XFU_displayName":"franc UIC francez","NLG_displayName":"gulden olandez","BAM_displayName":"marcă convertibilă bosniacă","NGN_displayName":"naira nigeriană","AUD_symbol":"A$","SDP_displayName":"liră sudaneză (1957-1998)","LUC_displayName":"franc convertibil luxemburghez","USS_displayName":"dolar american (aceeași zi)","WST_displayName":"tala samoană","TND_displayName":"dinar tunisian","ARP_displayName":"peso argentinian (1983–1985)","LRD_displayName":"dolar liberian","BOP_displayName":"peso bolivian","ILS_displayName":"șechel israelian nou","LVR_displayName":"rublă Letonia","KZT_displayName":"tenge kazahă","CUC_displayName":"peso cubanez convertibil","BGN_displayName":"leva bulgărească nouă","MXN_displayName":"peso mexican","CUP_displayName":"peso cubanez","BYR_displayName":"rublă bielorusă","SUR_displayName":"rublă sovietică","BRE_displayName":"cruzeiro brazilian (1990–1993)","XOF_symbol":"CFA","LSL_displayName":"loti lesothian","ADP_displayName":"pesetă andorrană","NZD_symbol":"NZ$","ZWD_displayName":"dolar Zimbabwe (1980-2008)","UAH_displayName":"hryvna ucraineană","BND_displayName":"dolar Brunei","FIM_displayName":"marcă finlandeză","XAU_displayName":"aur","LUF_displayName":"franc luxemburghez","BRR_displayName":"cruzeiro brazilian (1993-1994)","MUR_displayName":"rupie mauritiană","SEK_displayName":"coroană suedeză","ETB_displayName":"birr Etiopia","ARS_displayName":"peso argentinian","TWD_displayName":"dolar nou Taiwan","XBC_displayName":"unitate de cont europeană (XBC)","UAK_displayName":"carboavă ucraineană","JPY_displayName":"yen japonez","MZN_displayName":"metical Mozambic","TJS_displayName":"somoni tadjic","UGS_displayName":"șiling ugandez (1966–1987)","BOV_displayName":"mvdol bolivian","PEN_displayName":"sol nou peruvian","XPF_displayName":"franc CFP","VND_symbol":"₫","KWD_displayName":"dinar kuweitian","LAK_displayName":"kip Laos","RON_displayName":"leu românesc","ZAL_displayName":"rand sud-african (financiar)","HRK_displayName":"kuna croată","ECS_displayName":"sucre Ecuador","THB_displayName":"baht thailandez","DZD_displayName":"dinar algerian","PLN_displayName":"zlot nou polonez","ZRN_displayName":"zair nou","AZN_displayName":"manat Azerbaidjan","PGK_displayName":"kina Papua-Noua Guinee","SVC_displayName":"colon El Salvador","LBP_displayName":"liră libaneză","KRW_symbol":"₩","RHD_displayName":"dolar rhodesian","RWF_displayName":"franc Rwanda","SHP_displayName":"liră Insula Sf. Elena","BEC_displayName":"franc belgian (convertibil)","TZS_displayName":"șiling tanzanian","MGA_displayName":"ariary Madagascar","ERN_displayName":"nakfa eritreeană","ESP_displayName":"pesetă spaniolă","LUL_displayName":"franc financiar luxemburghez","MDL_displayName":"leu moldovenesc","PHP_displayName":"peso filipinez","AED_displayName":"dirham Emiratele Arabe Unite","BOB_displayName":"bolivian bolivian","KYD_displayName":"dolar Insulele Cayman","BBD_displayName":"dolar Barbados","XXX_displayName":"monedă necunoscută","CAD_displayName":"dolar canadian","INR_symbol":"₹","GHC_displayName":"cedi Ghana (1979-2007)","YUN_displayName":"dinar iugoslav convertibil","DOP_displayName":"peso dominican","ATS_displayName":"șiling austriac","MRO_displayName":"ouguiya mauritană","YUD_displayName":"dinar iugoslav greu","UYP_displayName":"peso Uruguay (1975–1993)","ZMK_displayName":"kwacha zambian (1968-2012)","CAD_symbol":"CA$","RUB_displayName":"rublă rusească","QAR_displayName":"riyal Qatar","MOP_displayName":"pataca Macao","SOS_displayName":"șiling somalez","HRD_displayName":"dinar croat","CYP_displayName":"liră cipriotă","MAF_displayName":"franc marocan","MWK_displayName":"kwacha malawiană","SGD_displayName":"dolar Singapore","KES_displayName":"șiling kenyan","CRC_displayName":"colon costarican","JPY_symbol":"JP¥","ZAR_displayName":"rand sud-african","MTL_displayName":"liră malteză","EUR_symbol":"€","AUD_displayName":"dolar australian","PKR_displayName":"rupie pakistaneză","VND_displayName":"dong vietnamez","XAG_displayName":"argint","FRF_displayName":"franc francez","BEF_displayName":"franc belgian","HKD_displayName":"dolar Hong Kong","XEU_displayName":"unitate de monedă europeană","MXP_displayName":"peso mexican de argint (1861–1992)","MYR_displayName":"ringgit malaiezian","CNY_displayName":"yuan renminbi chinezesc","CDF_displayName":"franc congolez","ISK_displayName":"coroană islandeză","FKP_displayName":"liră Insulele Falkland"},"dojo/cldr/nls/number":{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:^S:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","_localized":{"rof":1},"decimalFormat-short":"000 T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"#,##0.00 ¤","currencySpacing-beforeCurrency-currencyMatch":"[:^S:]","perMille":"‰","group":".","percentFormat":"#,##0 %","decimalFormat-long":"000 de trilioane","decimalFormat":"#,##0.###","decimal":",","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"dojo/cldr/nls/gregorian":{"days-standAlone-short":["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],"months-format-narrow":["I","F","M","A","M","I","I","A","S","O","N","D"],"quarters-standAlone-narrow":["T1","T2","T3","T4"],"field-weekday":"zi a săptămânii","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yMEd":"E, dd.MM.y","dateFormatItem-GyMMMEd":"G y MMM d, E","dateFormatItem-MMMEd":"E, d MMM","eraNarrow":["î.Hr.","d.Hr."],"dateFormatItem-yMM":"MM.y","days-format-short":["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"d MMMM y","months-format-wide":["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],"dateTimeFormat-medium":"{1}, {0}","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, d MMMM y","dateFormatItem-Md":"dd.MM","_localized":{"rof":1},"dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateFormatItem-yMd":"dd.MM.y","field-era":"eră","dateFormatItem-yM":"MM.y","months-standAlone-wide":["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],"timeFormat-short":"HH:mm","quarters-format-wide":["trimestrul I","trimestrul al II-lea","trimestrul al III-lea","trimestrul al IV-lea"],"dateFormatItem-yQQQQ":"QQQQ y","timeFormat-long":"HH:mm:ss z","field-year":"an","dateFormatItem-yMMM":"MMM y","dateTimeFormats-appendItem-Era":"{1} {0}","field-hour":"oră","dateFormatItem-MMdd":"dd.MM","months-format-abbr":["ian.","feb.","mar.","apr.","mai","iun.","iul.","aug.","sept.","oct.","nov.","dec."],"timeFormat-full":"HH:mm:ss zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"azi","field-day-relative+1":"mâine","dateFormatItem-GyMMMd":"G y MMM d","field-day-relative+2":"poimâine","dateFormatItem-H":"HH","months-standAlone-abbr":["ian.","feb.","mar.","apr.","mai","iun.","iul.","aug.","sept.","oct.","nov.","dec."],"quarters-format-abbr":["trim. I","trim. II","trim. III","trim. IV"],"quarters-standAlone-wide":["trimestrul I","trimestrul al II-lea","trimestrul al III-lea","trimestrul al IV-lea"],"dateFormatItem-Gy":"G y","dateFormatItem-M":"L","days-standAlone-wide":["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"],"dateFormatItem-MMMMd":"d MMMM","timeFormat-medium":"HH:mm:ss","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["T1","T2","T3","T4"],"eraAbbr":["î.Hr.","d.Hr."],"field-minute":"minut","field-dayperiod":"perioada zilei","days-standAlone-abbr":["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","T4"],"field-day-relative+-1":"ieri","dateFormatItem-h":"h a","dateTimeFormat-long":"{1}, {0}","dayPeriods-format-narrow-am":"AM","field-day-relative+-2":"alaltăieri","dateFormatItem-MMMd":"d MMM","dateFormatItem-MEd":"E, dd.MM","dateTimeFormat-full":"{1}, {0}","dateFormatItem-yMMMM":"MMMM y","field-day":"zi","days-format-wide":["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"],"field-zone":"zonă","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["I","F","M","A","M","I","I","A","S","O","N","D"],"field-year-relative+-1":"Anul trecut","field-month-relative+-1":"Luna trecută","dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Year":"{1} {0}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],"eraNames":["înainte de Hristos","după Hristos"],"dateFormatItem-yMMMd":"d MMM y","days-format-narrow":["D","L","M","M","J","V","S"],"days-standAlone-narrow":["D","L","M","M","J","V","S"],"dateFormatItem-MMM":"LLL","field-month":"lună","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-MMMMEd":"E, d MMMM","dateFormat-short":"dd.MM.y","field-second":"secundă","dateFormatItem-yMMMEd":"E, d MMM y","field-month-relative+0":"Luna aceasta","field-month-relative+1":"Luna viitoare","dateFormatItem-Ed":"E d","dateTimeFormats-appendItem-Timezone":"{0} {1}","field-week":"săptămână","dateFormat-medium":"dd.MM.y","field-year-relative+0":"Anul acesta","field-week-relative+-1":"Săptămâna trecută","field-year-relative+1":"Anul viitor","dayPeriods-format-narrow-pm":"PM","dateTimeFormat-short":"{1}, {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-GyMMM":"G y MMM","field-week-relative+0":"Săptămâna aceasta","field-week-relative+1":"Săptămâna viitoare"}});
}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{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var i$=window.i$;
i$.Promise=function(){
this._cbs=[];
this._stat=-1;
};
i$.promise={};
i$.promise.Promise=i$.Promise;
i$.mash(i$.promise,{isPromise:function(o){
return o&&i$.isFunction(o.then);
},resolved:function(o){
var p=new i$.Promise();
p.resolve(o);
return p;
},rejected:function(_1){
var p=new i$.Promise();
p.reject(_1);
return p;
},join:function(_2){
var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){
if(++_5>=_4.length){
_3[_6?"reject":"resolve"](_4);
}
};
if(_2.length>0){
i$.each(_2,function(p,i){
p.then(function(v){
_4[i]=v;
_7();
},function(e){
_6=true;
_4[i]=e;
_7();
});
});
}else{
_3.resolve([]);
}
return _3;
}});
i$.mash(i$,{when:function(o){
return i$.promise.isPromise(o)?o:i$.promise.resolved(o);
},whenAll:function(o){
var a=[];
i$.each(arguments,function(p){
a.push(i$.when(p));
});
return i$.promise.join(a);
}});
i$.promise.when=i$.when;
i$.promise.whenAll=i$.whenAll;
i$.Promise.prototype={_fin:function(v,s){
if(this._stat!==-1){
throw new Error("Promise already resolved");
}
this._v=v;
this._stat=s;
this._cbk();
return this;
},_cbk:function(){
var st=this._stat,_8=this._cbs,v=this._v,f;
if(st===0){
if(i$.promise.isPromise(v)){
while(_8.length>0){
v.then.apply(v,_8.shift());
}
}
}
while(_8.length>0){
f=_8.shift()[st];
if(f){
try{
f(v);
}
catch(err){
}
}
}
},_delegate:function(fn){
var p=new i$.Promise();
this.then(i$.partial(fn,p),i$.scope(p,"reject"));
return p;
},resolve:function(v){
return this._fin(v,0);
},reject:function(e){
return this._fin(e,1);
},progress:function(p){
i$.each(this._cbs,function(_9){
if(_9[2]){
_9[2](p);
}
});
return this;
},then:function(_a,_b,_c){
var p=new i$.Promise();
this._cbs.push([function(v){
try{
if(_a){
var rv=_a(v);
if(rv!==undefined){
v=rv;
}
}
p.resolve(v);
}
catch(exc){
p.reject(exc);
}
},function(e){
var rv=e;
try{
if(_b){
rv=_b(e);
if(rv===undefined){
rv=e;
}
}
}
catch(exc){
rv=exc;
}
p.reject(rv);
},_c]);
if(this._stat!==-1){
this._cbk();
}
return p;
},call:function(_d,_e){
return this._delegate(function(p,_f){
if(_f&&i$.isFunction(_f[_d])){
p.resolve(_f[_d].apply(_f,_e));
}else{
p.reject(new Error(_d+" is not a function on "+o));
}
});
},get:function(_10){
return this._delegate(function(p,_11){
if(_11){
p.resolve(_11[_10]);
}else{
p.reject(new Error(_11+" is null or undefined"));
}
});
}};
i$.onLoadPromise=new i$.Promise();
i$.addOnLoad(function(){
i$.onLoadPromise.resolve(true);
});
})();
(function(){
var i$=window.i$;
i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){
return new XMLHttpRequest();
}:function(){
return new ActiveXObject("MSXML2.XMLHTTP.3.0");
};
i$.toQuery=function(o){
var q=[];
var enc=encodeURIComponent;
i$.each(o,function(v,k){
var key=enc(k)+"=";
if(i$.isString(v)){
q.push(key+enc(v));
}else{
if(i$.isArray(v)){
var key=enc(k)+"=";
i$.each(v,function(av,i){
q.push(key+enc(av));
});
}
}
});
return q.join("&");
};
i$.addQueryString=function(u,o){
if(o){
var p=u&&u.indexOf("?")!==-1,t=p?"&":"?";
u+=t+i$.toQuery(o);
}
return u;
};
i$.fromQuery=function(q){
var o={};
var dec=decodeURIComponent;
i$.each(q.split("&"),function(av,i){
var p=av.split("="),k=dec(p[0]),v=dec(p[1]),cv=o[k];
if(cv){
if(!i$.isArray(cv)){
cv=o[k]=[cv];
}
cv.push(v);
}else{
o[k]=v;
}
});
return o;
};
i$.xhr=function(_12,_13){
var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){
},_16=_13.responseType||"text",_17=_13.postData||null,_18=_13.timeout||null,xhr=i$.getXHR(),_19=false,_1a=false;
var _1b=function(){
if(xhr.readyState===4){
xhr.onreadystatechange=i$.isIE<=8?new Function():null;
var _1c=function(){
if(xhr.status>=400){
var err=new Error(xhr.status+": "+xhr.responseText);
try{
cb(err,xhr);
}
finally{
if(!_19){
_19=true;
_14.reject({data:err,xhr:xhr});
}
}
}else{
try{
var ret="";
if(i$.xhrFmts[_16]){
ret=i$.xhrFmts[_16](xhr);
}
}
catch(err){
cb(err,xhr);
return;
}
try{
cb(ret,xhr);
}
finally{
if(!_19){
_19=true;
_14.resolve({data:ret,xhr:xhr});
}
}
}
};
if(xhr.timeout){
window.setTimeout(function(){
if(!_1a){
_1c();
}
},0);
}else{
_1c();
}
}
};
if(!_15){
xhr.onreadystatechange=_1b;
}
xhr.open(_12,url,!_15);
i$.each(_13.headers,function(v,k){
xhr.setRequestHeader(k,v);
});
if(_18){
xhr.timeout=_18;
xhr.ontimeout=function(){
_1a=true;
if(!_19){
_19=true;
_14.reject({data:"timeout",xhr:xhr});
}
};
}
xhr.send(_17);
if(_15){
_1b();
}
return _14;
};
i$.each(["Get","Put","Post","Delete"],function(m){
i$["xhr"+m]=i$.partial(i$.xhr,m.toUpperCase());
});
i$.loadScript=function(_1d){
var _1e=document.getElementsByTagName("head")[0],_1f=document.createElement("script"),_20=new i$.Promise(),_21=false,_22=function(_23,_24){
_1f.onreadystatechange=_1f.onload=null;
_21=true;
_20[_23?"resolve":"reject"](_24);
if(_1d.callback){
_1d.callback(_23,_24);
}
_1e.removeChild(_1f);
_1f=null;
};
_1f.type="text/javascript";
_1f.onreadystatechange=function(){
if(this.readyState==="loaded"||this.readyState==="complete"){
_22(true);
}
};
_1f.onload=function(){
_22(true);
};
i$.each(_1d.scriptAttrs,function(v,k){
if(v!=null){
_1f.setAttribute(k,v);
}
});
_1f.src=_1d.url;
_1e.appendChild(_1f);
if(_1d.timeout){
setTimeout(function(){
if(!_21){
_22(false,new Error("Timeout exceeded"));
}
},_1d.timeout);
}
return _20;
};
})();
(function(){
var i$=window.i$;
if(typeof (JSON)!="undefined"&&JSON.parse){
i$.fromJson=function(str){
return JSON.parse(str);
};
i$.toJson=function(obj,_25){
return JSON.stringify(obj,null,_25?"\t":"");
};
}else{
i$.fromJson=function(str){
return eval(["(",str,")"].join(""));
};
var _26=function(str){
return ["\"",str.replace(/[\\]/g,"\\\\").replace(/["]/g,"\\\"").replace(/[\r]/g,"\\r").replace(/[\n]/g,"\\n").replace(/[\b]/g,"\\b").replace(/[\t]/g,"\\t").replace(/[\f]/g,"\\f"),"\""].join("");
},_27=function(obj,p,_28,_29){
var ap,_2a;
if(_28){
_29=_29||"";
_2a=_29+"\t";
}
if(obj===null){
p.push("null");
}else{
if(obj===undefined){
p.push("undefined");
}else{
if(i$.isBoolean(obj)||i$.isNumber(obj)){
p.push(obj);
}else{
if(i$.isString(obj)){
p.push(_26(obj));
}else{
if(i$.isFunction(obj.toJson)){
p.push(obj.toJson());
}else{
if(i$.isArray(obj)){
p.push("[");
ap=[];
i$.each(obj,function(el){
var _2b=[];
_27(el,_2b,_28,_2a);
ap.push(_2b.join(""));
});
if(ap.length>0){
if(_28){
p.push("\n"+_2a);
}
p.push(ap.join(_28?",\n"+_2a:","));
if(_28){
p.push("\n"+_29);
}
}
p.push("]");
}else{
if(i$.isObject(obj)){
p.push("{");
ap=[];
i$.each(obj,function(el,key){
var _2c=[_26(key),": "];
_27(el,_2c,_28,_2a);
ap.push(_2c.join(""));
});
if(ap.length>0){
if(_28){
p.push("\n"+_2a);
}
p.push(ap.join(_28?",\n"+_2a:","));
if(_28){
p.push("\n"+_29);
}
}
p.push("}");
}
}
}
}
}
}
}
};
i$.toJson=function(obj,_2d){
var p=[];
_27(obj,p,_2d);
return p.join("");
};
}
i$.xhrFmts.json=function(xhr){
return i$.fromJson(xhr.responseText);
};
})();
(function(){
var i$=window.i$;
var _2e=function(){
this._evts={};
},_2f=function(_30,_31){
return _30._evts[_31]||(_30._evts[_31]={l:[],b:[]});
},add=function(_32,_33,_34,fn){
var e=_2f(_32,_33),c=e[_34].push(fn);
return [_33,_34,c-1];
},_35=function(_36,_37){
var e=_2f(_36,_37[0]);
delete e[_37[1]][_37[2]];
},_38=function(evt,_39,_3a){
var _3b=evt.b,_3a=_3a||0,b,r;
for(var i=_3a;i<_3b.length;i++){
b=_3b[i];
if(b){
_39=typeof _39==="undefined"?[]:_39;
r=b.apply(null,_39||[]);
if(i$.promise.isPromise(r)){
return r.then(function(_3c){
if(_3c!==false){
return _38(evt,_39,i+1);
}
return _3c;
});
}
}
}
},_3d=function(evt,_3e){
var _3f=evt.l,l;
for(var i=0;i<_3f.length;i++){
l=_3f[i];
if(l){
l.apply(null,_3e||[]);
}
}
},_40=function(_41,_42,_43){
var e=_2f(_41,_42);
return i$.when(_38(e,_43)).then(function(_44){
if(_44!==false){
_3d(e,_43);
}
return _44;
});
};
i$.augment(_2e,{addListener:function(_45,fn){
return add(this,_45,"l",fn);
},removeListener:function(_46){
return _35(this,_46);
},addBroker:function(_47,fn){
return add(this,_47,"b",fn);
},removeBroker:function(_48){
return _35(this,_48);
},fireEvent:function(_49,_4a){
return _40(this,_49,_4a);
}});
var _4b=new _2e();
i$.each(["addListener","removeListener","addBroker","removeBroker","fireEvent"],function(n){
i$[n]=i$.scope(_4b,n);
});
})();
(function(){
var i$=window.i$;
var _4c=document.createElement("div");
i$.byId=function(id){
if(i$.isNode(id)){
return id;
}else{
return document.getElementById(id);
}
};
i$.createDom=function(_4d,_4e,_4f){
var el=document.createElement(_4d);
i$.each(_4e,function(v,k){
el.setAttribute(k,v);
});
if(_4f){
_4f.appendChild(el);
}
return el;
};
var _50=_4c.addEventListener?function(n){
return n.indexOf("on")==0?n.substr(2):n;
}:function(n){
return n.indexOf("on")!=0?"on"+n:n;
},add=_4c.addEventListener?function(_51,_52,f){
_51.addEventListener(_52,f,false);
}:function(_53,_54,f){
_53.attachEvent(_54,f);
},_55=_4c.removeEventListener?function(_56,_57,f){
_56.removeEventListener(_57,f,false);
}:function(_58,_59,f){
_58.detachEvent(_59,f);
};
i$.isDescendant=function(_5a,anc){
if(anc){
while(_5a){
if(_5a==anc){
return true;
}
_5a=_5a.parentNode;
}
}
return false;
};
i$.bindDomEvt=function(_5b,_5c,f){
_5c=_50(_5c);
if((_5c=="mouseleave"||_5c=="mouseenter")&&!i$.isIE){
var fp=f;
_5c=_5c=="mouseleave"?"mouseout":"mouseover";
f=function(e){
if(!i$.isDescendant(e.relatedTarget,_5b)){
return fp.call(this,e);
}
};
}
add(_5b,_5c,f);
return [_5b,_5c,f];
};
i$.unbindDomEvt=function(_5d){
if(_5d[0]){
_55(_5d[0],_5d[1],_5d[2]);
}
_5d.splice(0,3);
};
if("classList" in _4c){
i$.mash(i$,{addClass:function(_5e,_5f){
_5e&&_5e.classList&&_5e.classList.add(_5f);
},removeClass:function(_60,_61){
_60&&_60.classList&&_60.classList.remove(_61);
},hasClass:function(_62,_63){
return _62&&_62.classList&&_62.classList.contains(_63);
},toggleClass:function(_64,_65){
_64&&_64.classList&&_64.classList.toggle(_65);
}});
}else{
var _66=function(str,_67){
if(!str){
return -1;
}
var len=_67.length,i=str.indexOf(_67),_68,_69;
while(i>-1){
_69=str.charAt(i+len);
_68=str.charAt(i-1);
if((!_69||_69==" ")&&(!_68||_68==" ")){
break;
}
i=str.indexOf(_67,i+1);
}
return i;
};
i$.mash(i$,{addClass:function(_6a,_6b){
if(!_6a){
return;
}
if(_66(_6a.className,_6b)<0){
_6a.className+=" "+_6b;
}
},removeClass:function(_6c,_6d){
if(!_6c){
return;
}
var str=_6c.className,len=_6d.length,i=_66(str,_6d),val=[];
if(i>-1){
if(i>0){
val.push(str.substring(0,i));
}
if(str.length>i+len){
val.push(str.substr(i+len));
}
_6c.className=i$.trim(val.join());
}
},hasClass:function(_6e,_6f){
if(!_6e){
return;
}
return _66(_6e.className,_6f)>-1;
},toggleClass:function(_70,_71){
if(!_70){
return;
}
i$[i$.hasClass(_70,_71)?"removeClass":"addClass"](_70,_71);
}});
}
})();
(function(){
var i$=window.i$;
var _72=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_73=/alternate/i,_74=function(t){
return document.getElementsByTagName(t);
},_75=function(){
return _74("head")[0];
},_76=function(url){
i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_75());
return i$.promise.resolved();
},_77=function(url){
return i$.loadScript({url:url});
},_78=function(mod){
return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_79){
return {mod:mod,data:_79.data};
});
},_7a=function(_7b){
i$.each(_7b,function(_7c){
var m=_7c.mod;
var _7d=m.node.parentNode;
var _7e=m.p!="head"?m.node:null;
var _7f=document.createDocumentFragment(),tmp=i$.createDom("div");
tmp.innerHTML=_7c.data;
while(tmp.firstChild){
_7f.appendChild(tmp.firstChild);
}
_7d.insertBefore(_7f,_7e);
});
},_80=function(_81){
if(_73.test(_81.rel)){
var id=_81.id,_82=id.match(_72);
if(_82){
return {node:_81,url:_81.href,id:id,p:_82[1],t:_82[2],i:_82[3]};
}
}
},_83=function(){
var m={head:[],config:[]},_84={},_85={length:0},_86=_74("link"),_87=_74("a");
i$.each([_86,_87],function(_88){
i$.each(_88,function(_89){
var mod=_80(_89);
if(mod&&!_84[mod.id]){
_84[mod.id]=mod;
if(!_85[mod.t]){
_85[mod.t]=[];
_85.length=_85.length+1;
}
_85[mod.t].push(mod);
}
});
});
return _85;
},_8a=function(_8b){
var _8c=[];
var _8d=[];
i$.each(_8b["markup"],function(mod){
_8d.push(_78(mod));
});
return i$.whenAll.apply(this,_8d).then(function(_8e){
_8c=_8e;
_8d=[];
i$.each(_8b["css"],function(mod){
_8d.push(_76(mod.url));
});
return i$.whenAll.apply(this,_8d);
},function(err){
console.log("Error: ",err);
}).then(function(_8f){
return _90(_8b["js"]);
}).then(function(){
_7a(_8c);
});
},_90=function(_91){
var m=_91.shift(),p;
if(m){
p=_77(m.url);
}
return i$.when(p).then(function(){
return _91.length>0?_90(_91):true;
},function(err){
console.log("Error: ",err);
});
},_92=false,_93=null,_94=false,_95=false,_96=new i$.Promise(),_97=function(cbk){
i$.addOnLoad(function(){
if(!_92){
_93=_83();
_94=_93.length>0?false:true;
if(_94){
_96.resolve();
}
_92=true;
}
if(cbk){
cbk();
}
});
};
i$.modules={};
i$.mash(i$.modules,{areLoaded:function(){
return _94;
},areLoading:function(){
return _95;
},loadDeferred:function(){
if(_95){
return _96;
}
var cbk=function(){
if(!_94){
_95=true;
_8a(_93).then(function(){
_94=true;
_95=false;
_96.resolve();
},function(e){
_96.reject(e);
});
}
};
_97(cbk);
return _96;
},addAfterLoaded:function(f){
var cbk=function(){
_96.then(f);
};
_97(cbk);
}});
var _98=i$.addOnLoad,_99=[];
i$.addOnLoad=function(f,o){
if(_95){
if(o){
f=i$.scope(o,f);
}
_99.push(f);
}else{
_98(f,o);
}
};
i$.modules.addAfterLoaded(function(){
while(_99.length>0){
if(fn=_99.shift()){
fn();
}
}
});
})();
(function(){
var i$=window.i$;
i$.getCookie=function(n){
var cs=document.cookie.split(";"),c="",_9a=0,cn="",cv=null;
for(var i=0;i<cs.length;i++){
c=cs[i];
_9a=c.indexOf("=");
cn=_9a<0?null:i$.trim(c.substring(0,_9a));
if(cn==n){
if(c.length>1){
cv=_9a<0?null:i$.trim(c.substring(_9a+1,c.length));
}
return cv;
}
}
return null;
};
i$.setCookie=function(n,v,e,p,d,s){
if(!e){
var m=new Date().getTime();
m+=(1000*60*60*24*365*100);
e=new Date(m);
}
var c=n+"="+v+((e)?"; expires="+e.toGMTString():"")+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+((s)?"; secure":"");
document.cookie=c;
};
i$.deleteCookie=function(n,p,d){
if(i$.getCookie(n)){
document.cookie=n+"="+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
};
})();


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


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

}catch(e){console.log("Module 'wp_client_tracing': ",e);}
try{(function(){var h=window;function k(e){for(var g=l.call(arguments,1),c,b=g,d=b.length,a=[];d;)void 0===b[--d]&&a.unshift(d);c=a;return function(){for(var a=g.slice(),b=c.length;b;)a[c[--b]]=arguments[b];m.apply(a,l.call(arguments,c.length));return e.apply(void 0,a)}}function p(e,g,c){for(var b=e.split("."),d=b.length-1,a=c,f=0;f<d;){var n=b[f++],j;if(!(j=a[n]))j={},a[n]=j;a=j}b=b[f];c=k(g,c);d=a;if(!(f=d[b]))c=c(),f=d[b]=c;a=f;a.clone=k(p,e,g);return a}var q=h.Array.prototype,l=q.slice,m=q.push;
p("wpModules.modules",function(e){return{create:k(p,void 0,void 0,e),partial:k}},h);}());
}catch(e){console.log("Module 'wp_modules': ",e);}
try{//>>built
define("dijit/nls/_dijit_form_ro",{"dijit/form/nls/ComboBox":{"previousMessage":"Alegeri anterioare","_localized":{},"nextMessage":"Mai multe alegeri"},"dijit/form/nls/validate":{"invalidMessage":"Valoarea introdusă nu este validă.","rangeMessage":"Această valoare este în afara intervalului. ","_localized":{},"missingMessage":"Această valoare este necesară."},"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Anulare","_localized":{},"buttonSave":"Salvare","itemClose":"Închidere"}});
}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{(function(){
var _1=i$.fromPath,_2=i$.toPath,_3=i$.isArray,_4=i$.each,_5=i$.forEach,_6=i$.augment,_7=i$.Promise,_8=true,_9=false,_a="wpModules.state.page._mgr",_b=function(p){
return p.name;
},_c=function(p){
return p.value;
},_d=function(p){
return p.nsuri;
},_e=function(a){
return a.length;
},_f=function(a1,a2){
if(a1&&!a2){
return _9;
}
if(!a1&&a2){
return _9;
}
if(_e(a1)!=_e(a2)){
return _9;
}
var _10=_8;
_5(a1,function(a,i){
if(a!=a2[i]){
_10=_9;
return _9;
}
});
return _10;
},_11=function(_12){
var _13={};
if(!_12){
_13.all=[];
return _13;
}
if(!_3(_12)){
_12=[_12];
}
_13.all=_12.slice(0,_e(_12));
_13.cache={};
_13.log=[];
return _13;
},_14=function(_15,_16){
if(!_15){
return _16.all;
}
if(!_3(_15)){
_15=[_15];
}
if(_e(_15)<=0){
return [];
}
var _17=[];
_4(_15,function(p){
get(_d(p),_b(p),_16,_17);
});
return _17;
},get=function(_18,_19,_1a,_1b){
var _1c=_1a.cache[_18];
if(_1c){
if(_19){
add(_1c[_19],_1b);
}else{
_1d(_1c,_1b);
}
}else{
_1e(_18,_1a);
get(_18,_19,_1a,_1b);
}
},add=function(_1f,_20){
_1f&&_20.push(_1f);
},_1d=function(_21,_22){
if(_21){
_4(_21,function(p){
add(p,_22);
});
}
},_1e=function(_23,_24){
var _25=_24.cache[_23]={};
_5(_24.all,function(p){
if(_d(p)==_23){
_25[_b(p)]=p;
}
});
},_26=function(_27,_28,_29){
if(!_27){
return;
}
if(!_3(_27)){
_27=[_27];
}
if(_e(_27)>0){
_4(_27,function(p){
set(p,_28);
});
}
if(_29){
_2a(_27,_28);
}
},_2a=function(_2b,_2c){
var _2d=[];
if(_e(_2b)<_e(_2c.all)){
_5(_2c.all,function(p){
var _2e=false;
_5(_2b,function(_2f){
if(_d(p)==_d(_2f)&&_b(p)==_b(_2f)){
_2e=true;
return false;
}
});
if(!_2e){
_2d.push(p);
}
});
}
_5(_2d,function(p){
set({"name":p.name,"nsuri":p.nsuri,"value":null},_2c);
});
},set=function(_30,_31){
if(!_b(_30)||!_d(_30)){
return;
}
var _32=_9,_33=_9;
_5(_31.all,function(p,i){
if(_d(p)==_d(_30)&&_b(p)==_b(_30)){
var _34=_c(_30);
if(_34){
if(!_f(_34,_c(p))){
_31.all[i]=_30;
_33=_8;
}
}else{
_31.all.splice(i,1);
_33=_8;
}
_32=_8;
}
});
if(!_32&&_c(_30)){
_31.all.push(_30);
_33=_8;
}
if(_33){
_31.log.push(_30);
}
var _35=_31.cache[_d(_30)];
if(_35){
var _36=_b(_30);
if(_c(_30)){
_35[_36]=_30;
}else{
delete _35[_36];
}
}
},_37=function(_38){
var _39=_3a(_38);
return _39;
},_3b=0,_3c=function(_3d,fn){
var _3e="fn"+(++_3b);
_3d[_3e]=fn;
return _3e;
},_3f=function(_40,_41){
if(_41 in _40){
delete _40[_41];
}
},_42=function(_43,_44){
for(var _45 in _43){
var _46=_37(_44),fn=_43[_45];
if(fn){
try{
fn(_46);
}
catch(err){
}
}
}
},_47=function(_48){
return _1(_a,_9,_48);
},_49=function(_4a,_4b){
_2(_a,_4a,_4b);
},_4c=function(_4d){
var _4e=_11(_4d),cbs={};
return {getState:function(){
var _4f=new _7(),_50=_37(_4e);
_4f.resolve(_50);
return _4f;
},addListener:function(_51){
var _52=_3c(cbs,_51);
return _52;
},removeListener:function(_53){
_3f(cbs,_53);
},commit:function(_54){
_4e=_54._data;
_42(cbs,_4e);
_4e.log=[];
var _55=new _7().resolve();
return _55;
},init:function(_56){
_4e=_11(_56);
}};
},_3a=function(_57){
var d=_57;
return {_data:d,renderParams:function(){
var _58=_59(d);
return _58;
}};
},_59=function(_5a){
var d=_5a;
return {get:function(_5b){
return _14(_5b,d);
},set:function(_5c,_5d){
_26(_5c,d,_5d);
},getModified:function(){
return d.log;
}};
},_5e=i$.fromPath("wpModules.state.page",_8);
i$.mash(_5e,{"newStateManager":_4c,"setStateManager":_49,"getStateManager":_47});
})();
(function(){
var _5f=i$.fromPath("wpModules.state.page"),_60=_5f.newStateManager(),_61="window/startRender";
_60.init(_5f._initial);
delete wpModules.state.page._initial;
_5f.setStateManager(_60);
if(top!==self&&top.i$){
top.i$.fireEvent(_61,[self]);
}
i$.fireEvent(_61);
})();


}catch(e){console.log("Module 'wp_state_page': ",e);}
try{(function(){var g=window;function j(a,c){var b,d;for(d=c.length-1;0<=d;--d)if(b=c[d],b===a)return d;return-1}function k(a,c,b){return b.setAttribute(a,c)}function l(a,c){return c.removeAttribute(a)}function m(a,c,b){return c?b.setAttribute(a,a):b.removeAttribute(a)}function n(a,c){var b=c.className.split(" "),d=j(a,b);0>d?b.push(a):b.splice(d,1);c.className=b.join(" ");return!0}function p(a,c){var b=c.className.split(" ");0>j(a,b)?(b.push(a),c.className=b.join(" "),b=!0):b=!1;return b}
function q(a,c){var b=c.className.split(" "),d=j(a,b);0<=d?(b.splice(d,1),c.className=b.join(" "),b=!0):b=!1;return b}function r(a,c,b){return c?p(a,b):q(a,b)}function s(a,c){return a&&c?c.getAttribute("data-"+a):void 0}function t(a){return a?a.innerText||a.textContent:void 0}function u(a,c){var b=s(a,c),d;b&&((d=b&&c?c.ownerDocument.getElementById(b):void 0)||(d=u(b,c)));return d}function v(a,c){var b,d,e;if(w(a)){d=0;e=a.length;for(b=c;d<e&&b;)b=u(a[d++],b)}else b=u(a,c);return b}
function x(a,c,b){for(var d=arguments,e=2,h=d.length,f=a.createElement(c);e<h;)k(d[e++],d[e++],f);return f}function y(a){var c=a.parentNode;c&&c.removeChild(a);return a}function z(a,c,b){c.addEventListener(a,b,!1)}function A(a,c,b){c.removeEventListener(a,b,!1)}function B(a,c){var b=c||a.oninput,d,e;b&&(d=a.ownerDocument,e=b.bind(a),z("focus",a,C(z,"selectionchange",d,e)),z("blur",a,C(A,"selectionchange",d,e)));return b}
function D(a,c){var b=c||a.event;b&&(b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0);return!1}function E(a){for(var c=0,b=0;a;)c+=a.offsetLeft+a.clientLeft,b+=a.offsetTop+a.clientTop,a=a.offsetParent;return{x:c,y:b}}function F(a,c,b,d){var e,h,f;if(w(b)){e=0;for(h=b.length;e<h;)f=F(a,c,b[e++],d)}else f=x(a,"INPUT","type","hidden","name",d,"value",b),c.appendChild(f);return f}var G=g.wpModules.modules,C=G.partial,w=g.Array.isArray;
(0,G.create)("wpModules.photon.dom",function(a){var c=a.document;a=C(D,a);var b=C(x,c),c=C(F,c);return{getData:s,getNode:v,getText:t,addClass:p,removeClass:q,conditionalClass:r,toggleClass:n,setAttribute:k,conditionalAttribute:m,removeAttribute:l,createElement:b,removeElement:y,polyfillOnInput:B,cancelEvent:a,getPosition:E,addHiddenInput:c}});}());
}catch(e){console.log("Module 'wp_photon_dom': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(_1){
function _2(_3){
return (_3.getElementsByTagName("html")[0].getAttribute("dir")||"").toLowerCase()=="rtl";
};
function _4(_5){
var v=_5.documentElement;
return {width:v.clientWidth,height:v.clientHeight};
};
function _6(_7){
var _8=curtop=0;
if(_7.offsetParent){
do{
_8+=_7.offsetLeft;
curtop+=_7.offsetTop;
}while(_7=_7.offsetParent);
return {left:_8,top:curtop};
}
return null;
};
function _9(_a){
var bb=_a.getBoundingClientRect(),b={width:bb.width,height:bb.height,left:bb.left,top:bb.top,right:bb.right,bottom:bb.bottom};
if(i$.isIE){
b.height=b.bottom-b.top;
b.width=b.right-b.left;
}
if(i$.isIE==7){
var _b=_6(_a);
b.left=(_b?_b.left:b.left);
b.top=(_b?_b.top:b.top);
}
return b;
};
function _c(_d,_e){
var b=_9(_d);
if(_e){
var fo=_f(self,_e);
b.top+=fo.top;
b.left+=fo.left;
b.bottom+=fo.top;
b.right+=fo.left;
}
return b;
};
function _10(_11,_12){
i$.forIn(_12,function(v,n){
_11.style[n]=Math.round(v)+"px";
});
};
function _f(_13,_14){
var box={top:0,left:0};
var w=_13;
while(w.frameElement&&w!==_14){
var b=_c(w.frameElement);
box.top+=b.top;
box.left+=b.left;
w=w.parent;
}
return box;
};
function _15(_16){
var doc=_16.document,de=doc.documentElement,b=doc.body;
return {left:isNaN(_16.scrollX)?(de.scrollLeft+b.scrollLeft):_16.scrollX,top:isNaN(_16.scrollY)?(de.scrollTop+b.scrollTop):_16.scrollY};
};
var _17={nodeHandler:{},pointerHandler:{},handle:function(_18){
var _19=_18.name,_1a=_18.targetWindow,_1b=_18.node,_1c=_18.refNode,_1d=_18.targetBox,_1e=_1e||0.5,_1f=_18.viewMargin,_20=_18.positionNode,_21=_17.nodeHandler[_19],_22=_17.pointerHandler[_19];
if(!_21&&!_1d){
return;
}
var doc=_1a.document,b=doc.body,_23=_4(doc),_24=_c(_1b),_25,_26=_15(_1a);
if(_1c){
var _27=function(_28){
var n=_28;
while(n&&n.offsetParent===null){
n=n.parentNode;
}
return n;
};
_1c=_27(_1c);
var _29=_c(_1c,_1a),_2a=_23.width-_29.left-_29.width*(1-_1e),_2b=_29.left+_29.width*_1e,_2c=_24.width+_1f,_2d=_2(doc)?!(_2b>_2c||_2a<_2c):_2a>_2c||_2b<_2c;
_25=_21(_23,_24,_29,_2d,_1f);
}else{
var h=_1d.height||_24.height,w=_1d.width||_24.width;
_25={top:Math.max(10,Math.min(_1d.top||(_23.height-h)/2,_23.height-_24.height-_1f)),left:Math.max(0,Math.min(_1d.left||(_23.width-w)/2,_23.width-_24.width-_1f))};
}
if(!i$.isIE||i$.isIE!==7){
_25.top+=_26.top;
_25.left+=_26.left;
}
_10(_20||_1b,_25);
if(_1c&&_22){
var _2e=null;
var _2f=function(el){
var c=el.className;
if(c&&c.indexOf("pointer")>-1){
_2e=el;
}
if(!_2e&&el.hasChildNodes()){
i$.each(el.childNodes,function(val){
_2f(val);
});
}
};
_2f(_1b);
if(_2e){
_10(_2e,_22(_c(_1b),_29,_c(_2e),_2e));
}
}
},registerHandler:function(_30){
if(_30.nodeHandler){
_17.nodeHandler[_30.name]=_30.nodeHandler;
}
if(_30.pointerHandler){
_17.pointerHandler[_30.name]=_30.pointerHandler;
}
},addPositionChangeListener:function(_31){
if(!_31.node){
return null;
}
var _32={refNode:_31.node,targetWindow:_31.targetWindow||_1,callback:_31.callbackFn,pollInterval:_31.pollInterval||2000,intervalId:null,refBox:null,tolerance:_31.tolerance||5,intervalFn:function(){
if(this.refNode){
var box=_c(this.refNode,this.targetWindow);
if(!this.refBox){
this.refBox=box;
}else{
var _33=this.tolerance,_34=this.refBox,_35=Math.abs(_34.top-box.top),_36=Math.abs(_34.left-box.left),_37=Math.abs(_34.bottom-box.bottom),_38=Math.abs(_34.right-box.right);
if(_33<Math.max(_35,_36,_37,_38)){
this.refBox=box;
this.callback();
}
}
}else{
this.stop();
}
},start:function(){
var obj=this;
this.intervalId=this.targetWindow.setInterval(function(){
obj.intervalFn();
},this.pollInterval);
},stop:function(){
if(this.intervalId){
this.targetWindow.clearInterval(this.intervalId);
}
}};
_32.start();
return _32;
}};
i$.toPath("wpModules.util.Positioning",_17);
i$.toPath("wpModules.util.dialog",{viewPort:_4,setMetrics:_10,simpleBox:_9,scroll:_15});
})(window);
(function(){
var _39={name:"horizontallyBelow",nodeHandler:function(_3a,_3b,_3c,_3d,_3e){
var pos={};
pos.top=_3c.top+_3c.height;
if(pos.top<0){
pos.top=0;
}
if(pos.top+_3b.height>_3a.height){
pos.top=_3a.height-_3b.height-_3e;
}
pos.left=Math.max(_3c.left+(_3c.width-_3b.width)/2,_3e);
if(pos.left+_3b.width+_3e>_3a.width){
pos.left=_3a.width-_3b.width-_3e;
}
return pos;
},pointerHandler:function(_3f,_40,_41,_42){
i$.addClass(_42,"top");
var _43=_42.clientHeight,_44=_42.clientWidth,_45=Math.min(_40.left+_40.width,_3f.left+_3f.width),_46=Math.max(_40.left,_3f.left),_47=(_45+_46)/2-_3f.left;
var res={top:-(_43-4),left:_47-_44/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_39);
})();
(function(){
var _48={name:"horizontallyCenteredBelow",nodeHandler:function(_49,_4a,_4b,_4c,_4d){
var pos={};
pos.top=_4b.top+_4b.height;
if(pos.top<0){
pos.top=0;
}
if(pos.top+_4a.height>_49.height){
pos.top=_49.height-_4a.height-_4d;
}
pos.left=Math.max(_4b.left+(_4b.width-_4a.width)/2,_4d);
return pos;
},pointerHandler:function(_4e,_4f,_50,_51){
i$.addClass(_51,"top");
var _52=_51.clientHeight,_53=_51.clientWidth,_54=Math.min(_4f.left+_4f.width,_4e.left+_4e.width),_55=Math.max(_4f.left,_4e.left),_56=(_54+_55)/2-_4e.left;
var res={top:-(_52-4),left:_56-_53/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_48);
})();
(function(){
var _57={name:"verticallyCenteredRightHand",nodeHandler:function(_58,_59,_5a,_5b,_5c){
var pos={};
pos.top=Math.max(_5a.top+(_5a.height-_59.height)/2,_5c);
pos.top=Math.min(pos.top,_58.height-_59.height-_5c);
if(_5b){
pos.left=Math.min(_5a.left+_5a.width,_58.width-_59.width-_5c);
}else{
pos.left=Math.max(_5a.left-_59.width,_5c);
}
return pos;
},pointerHandler:function(_5d,_5e,_5f,_60){
var _61=_5f.height,_62=_61/2+6,_63=Math.min(_5e.top+_5e.height,_5d.top+_5d.height-_62),_64=Math.max(_5e.top,_5d.top+_62),_65=_5d.left-_60.offsetWidth,_66=_5d.right+_60.offsetWidth,_67=_5e.left>_65,_68=_5e.left<=_65,_69=_65<=_5e.right,_6a=_65>_5e.right,_6b=_66<=_5e.left,_6c=_66>_5e.right,_6d=_66<=_5e.right;
i$.removeClass(_60,"right");
i$.removeClass(_60,"left");
if(_63-_64>=0){
if((_67&&_6c)||(_68&&_6d)){
}else{
if((_67&&_6d)||(_67&&_6b)){
i$.addClass(_60,"right");
}else{
if((_69&&_6c)||(_6a&&_6c)){
i$.addClass(_60,"left");
}
}
}
}
return {top:(_64+_63-_61)/2-_5d.top};
}};
wpModules.util.Positioning.registerHandler(_57);
})();


}catch(e){console.log("Module 'wp_dialog_util': ",e);}
try{(function(_1){
"use strict";
var _2="name",_3="id",_4="content",_5="meta",_6="x-ready",_7="ready",_8=_1["wpModules"],_9=_8["photon"]["dom"],_a=_8["modules"],_b=_a["create"],_c=_a["partial"],_d=_9["createElement"],_e=_9["removeElement"],_f=_9["getData"],_10=_1["Object"].prototype.toString;
function _11(_12){
var _13="[object String]"===_12;
return _13;
};
function _14(_15){
var _16=_10.call(_15);
return _16;
};
function _17(_18,aId){
return _18.getElementById(aId);
};
function _19(_1a,aId){
var _1b=_14(aId),_1c;
if(_11(_1b)){
_1c=aId;
}else{
_1c=_f(_7,aId);
}
return _1c;
};
function _1d(_1e,_1f,aId){
var id=_19(_1f,aId),_20=_1e.getItem(id),_21;
if(_20){
_1e.removeItem(id);
_21=_17(_1f,id);
if(_21){
_e(_21);
}
_21=_d(_5,_3,id,_2,_6,_4,_20);
_1f.head.appendChild(_21);
}
return _21;
};
function _22(_23){
var _24=_23.document,_25=_23.sessionStorage,_26=_c(_1d,_25,_24);
return {"addReady":_26};
};
return _b("wpModules.toolbar.common",_22);
}(window));


}catch(e){console.log("Module 'wp_toolbar_common': ",e);}
try{(function(_1){
var _2="[\\u00ad\\u0600-\\u0603\\u06dd\\u070f\\u17b4-\\u17b5\\u200b-\\u200f\\u202a-\\u202e\\u2060-\\u2064\\u206a-\\u206f\\ufeff\\ufff9-\\ufffb]|\\ud834[\\udd73-\\udd7a]|\\udb40[\\udc01\\udc20-\\udc7f]",_3="[\\u0000-\\u001f\\u007f-\\u009f]",_4="data-",_5="a11y-",_6=_5+"next",_7=_5+"prev",_8=_5+"first",_9=_5+"last",_a=_5+"up",_b=_5+"down",_c=_5+"title",_d=_5+"action",_e=[_8,_a,_7,_9,_b,_6],_f=5,_10=4,_11=3,_12=2,_13=1,_14=0,_15="ltr",_16=37,_17=39,_18=38,_19=40,_1a=36,_1b=35,_1c=13,_1d=32,_1e=33,_1f=34,_20=true,_21=false,_22=Number.POSITIVE_INFINITY,_23=Number.NEGATIVE_INFINITY,_24=function(_25,_26){
var _27=_26[_25]=_26[_25]||{};
return _27;
},_28=function(aId,_29){
var _2a=_29.ownerDocument.getElementById(aId);
return _2a;
},_2b=function(_2c){
var _2d=((_2c>=0)&&(_2c<=31))||((_2c>=127)&&(_2c<=159));
return _2d;
},_2e=function(_2f,_30){
var _31=_30.getAttribute(_4+_2f);
return _31;
},_32=function(_33,_34){
var _35=_2e(_33,_34),_36=null;
if(_35){
_36=_28(_35,_34);
if(_36===null){
_36=_32(_35,_34);
}
}
return _36;
},_37=function(_38,_39,_3a,_3b){
if(_38){
var id=_38.id,i=_3b.length;
if(!_3a.hasOwnProperty(id)){
_3a[id]=_39(_38);
while(i){
_37(_32(_3b[--i],_38),_39,_3a,_3b);
}
}
}
return _3a;
},_3c=function(_3d){
var _3e=_32(_c,_3d),_3f=_3e?_3c(_3e):(_3d.innerText||_3d.textContent);
return _3f;
},_40=function(_41){
var _42=_41||_3c;
return _42;
},_43=function(_44){
var _45=new RegExp("^(\\s|"+_2+"|"+_3+")*\\u"+("0000"+Number(_44).toString(16)).slice(-4)+".*","i");
return _45;
},_46=function(_47,_48,_49){
var _4a=_49(_48),_4b=_4a&&(_4a.length>0)&&_47.test(_4a);
return _4b;
},_4c=function(_4d,_4e){
var _4f=_37(_4d,_4e,{},_e);
return _4f;
},_50=function(_51,_52,_53){
var _54,_55=_43(_51);
_4c(_52,function(_56){
if(_46(_55,_56,_53)){
if(!_54){
_54=[];
}
_54.push(_56);
}
});
return _54;
},_57=function(_58){
var _59=_58.getBoundingClientRect();
return _59;
},_5a=function(_5b,_5c){
var _5d=(_5b.right>_5c.left)&&(_5b.left<_5c.right);
return _5d;
},_5e=function(_5f,_60){
var _61=(_5f.bottom>_60.top)&&(_5f.top<_60.bottom);
return _61;
},_62=function(_63,_64,_65){
var _66=(_63>=_64)&&(_63<=_65);
return _66;
},_67=function(_68){
var _69=null,_6a=_57(_68),_6b=_22;
_4c(_68,function(_6c){
var _6d=_57(_6c);
if(_62(_6d.top,_6a.bottom,_6b)&&_5a(_6d,_6a)){
_69=_6c;
_6b=_6d.top;
}
});
return _69;
},_6e=function(_6f){
var _70=null,_71=_57(_6f),_72=_71.top;
_4c(_6f,function(_73){
var _74=_57(_73),_75=_74.top;
if((_75<_72)&&_5a(_74,_71)){
_70=_73;
_72=_75;
}
});
return _70;
},_76=function(_77){
var _78=null,_79=_57(_77),_7a=_79.bottom;
_4c(_77,function(_7b){
var _7c=_57(_7b),_7d=_7c.bottom;
if((_7d>_7a)&&_5a(_7c,_79)){
_78=_7b;
_7a=_7d;
}
});
return _78;
},_7e=function(_7f){
var _80=null,_81=_57(_7f),_82=_22;
_4c(_7f,function(_83){
var _84=_57(_83);
if(_62(_84.left,_81.right,_82)&&_5e(_84,_81)){
_80=_83;
_82=_84.left;
}
});
return _80;
},_85=function(_86){
var _87=null,_88=_57(_86),_89=_23;
_4c(_86,function(_8a){
var _8b=_57(_8a);
if(_62(_8b.bottom,_89,_88.top)&&_5a(_8b,_88)){
_87=_8a;
_89=_8b.bottom;
}
});
return _87;
},_8c=function(_8d){
var _8e=null,_8f=_57(_8d),_90=_23;
_4c(_8d,function(_91){
var _92=_57(_91);
if(_62(_92.right,_90,_8f.left)&&_5e(_92,_8f)){
_8e=_91;
_90=_92.right;
}
});
return _8e;
},_93=function(_94){
var _95=_94?_94.dir:_15;
return _95;
},_96=function(_97){
var _98=_93(_97)||_96(_97.parentNode);
return _98;
},_99=function(_9a,_9b){
_9b.tabIndex=_9a;
return _9b;
},_9c=function(_9d){
var _9e=_99(0,_9d);
return _9e;
},_9f=function(_a0){
var _a1=_99(-1,_a0);
return _a1;
},_a2=function(_a3){
var _a4=_a3.tabIndex;
return _a4;
},_a5=function(_a6){
_9c(_a6).focus();
return _20;
},_a7=function(_a8){
if(_a8){
_4c(_a8,_9f);
return _a5(_a8);
}
return _21;
},_a9=function(_aa){
if(_aa){
_4c(_aa,_9f);
return _20;
}
return _21;
},_ab=function(_ac,_ad){
var _ae=_a7(_32(_e[_ac],_ad));
return _ae;
},_af=function(_b0){
var _b1=_ab(_f,_b0);
return _b1;
},_b2=function(_b3){
var _b4=_ab(_12,_b3);
return _b4;
},_b5=function(_b6){
var _b7=_ab(_14,_b6);
return _b7;
},_b8=function(_b9){
var _ba=_ab(_11,_b9);
return _ba;
},_bb=function(_bc){
var _bd=_ab(_13,_bc);
return _bd;
},_be=function(_bf){
var _c0=_ab(_10,_bf);
return _c0;
},_c1=function(_c2){
var _c3=_a7(_85(_c2));
return _c3;
},_c4=function(_c5){
var _c6=_a7(_67(_c5));
return _c6;
},_c7=function(_c8){
var _c9=_a7(_8c(_c8));
return _c9;
},_ca=function(_cb){
var _cc=_a7(_7e(_cb));
return _cc;
},_cd=function(_ce){
return _a7(_6e(_ce));
},_cf=function(_d0){
return _a7(_76(_d0));
},_d1=function(_d2){
var _d3=(_d2===_15)?_17:_16;
return _d3;
},_d4=function(_d5){
_d5.click();
return _20;
},_d6,_d7=function(_d8){
var doc=_d8.document,_d9=doc.body,_da=doc.createElement("div"),_db,_dc,_dd;
_da.style.cssText="border:1px solid;border-color:red green;position:absolute;height:5px;top:-999px;background-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\");";
_d9.appendChild(_da);
try{
_db=doc.defaultView.getComputedStyle(_da,"");
}
catch(e){
_db=_da.currentStyle;
}
_dc=_db.backgroundImage;
_dd=((_db.borderTopColor===_db.borderRightColor)||(_dc!==null&&(_dc==="none"||_dc==="url(invalid-url:)")));
_d9.removeChild(_da);
return _dd;
},_de=function(_df){
return function(){
return _d7(_df);
};
},_e0=function(_e1){
var _e2=_e1.i$.onLoadPromise,_e3=_e2.then(_de(_e1)),_e4=function(_e5){
var _e6=_e5||_e1.event;
return _e6;
},_e7=function(_e8,_e9,_ea,_eb){
if(!_eb.altKey&&!_eb.ctrlKey&&!_2b(_e8)){
var _ec=_50(_e8,_e9,_ea),_ed,i,len;
if(_ec){
len=_ec.length;
i=0;
while(i<len){
_ed=_ec[i++];
if(_a2(_ed)<0){
return _a7(_ed);
}
}
return _a7(_ed);
}
}
return _21;
},_ee=function(_ef,_f0,_f1){
var _f2=_e4(_f0),_f3=_e7(_f2.keyCode,_ef,_40(_f1),_f2);
return _f3;
},_f4=function(_f5,_f6){
var _f7=_e4(_f6),_f8;
switch(_f7.keyCode){
case _18:
_f8=_c1(_f5);
break;
case _19:
_f8=_c4(_f5);
break;
case _17:
_f8=_ca(_f5);
break;
case _16:
_f8=_c7(_f5);
break;
case _1a:
_f8=_b5(_f5);
break;
case _1b:
_f8=_b8(_f5);
break;
case _1e:
return _cd(_f5);
case _1f:
return _cf(_f5);
default:
_f8=_21;
}
return _f8;
},_f9=function(_fa,_fb){
var _fc=_e4(_fb),_fd=_96(_fa),_fe=_d1(_fd),_ff=(_16+_17-_fe),_100;
switch(_fc.keyCode){
case _18:
_100=_bb(_fa);
break;
case _19:
_100=_be(_fa);
break;
case _fe:
_100=_af(_fa);
break;
case _ff:
_100=_b2(_fa);
break;
case _1a:
_100=_b5(_fa);
break;
case _1b:
_100=_b8(_fa);
break;
default:
_100=_21;
}
return _100;
},_101=function(_102,_103,_104){
var _105=_e4(_103),_106=_105.keyCode,_107;
switch(_106){
case _1c:
_107=_21;
break;
case _1d:
_107=_d4(_102);
break;
default:
return _f9(_102,_105)||_e7(_106,_102,_40(_104),_105);
}
return _107;
};
return {navigateSequence:_f9,navigateMenu:_101,navigateGrid:_f4,setFocus:_a7,clearFocus:_a9,setFocusFromKey:_ee,forEachNode:_4c,clone:_d6,highContrastMode:_e3};
};
_d6=function(_108){
var _109=_24("wpModules",_108),_10a=_109.a11y=_109.a11y||_e0(_108);
return _10a;
};
return _d6(_1);
}(window));


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


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


}catch(e){console.log("Module 'wp_dialog_main': ",e);}
try{(function(_1){
var _2=_1,_3=i$.fromPath,_4="wpModules.theme.WindowUtils",_5=_4+".baseURL",_6=_5+".Promise."+Math.random(),_7="wpViewFrameContainer",_8="wpthemeMaster",_9="wpToolbarPrimaryFrameContainer",_a="wpToolbarSecondaryFrameContainer",_b=[_7,_8,_9,_a],_c=i$.createDom,_d=new i$.Promise(),_e=function(id){
if(id){
if(id==_7){
return _f(_7)||_10(_7)||top;
}else{
if(id==_8){
var _11=_e(_7);
return _11.parent||_11;
}else{
if(id==_9){
return _f(_9)||_10(_9);
}else{
if(id==_a){
return _f(_a)||_10(_a);
}else{
if(_12(_2)==id){
return _2;
}else{
for(var i=0,l=_b.length;i<l;i++){
var w=_e(_b[i]);
if(w&&_12(w)==id){
return w;
}
}
return null;
}
}
}
}
}
}else{
return _2;
}
},_f=function(id){
try{
var f=_13(top,id+"-iframe");
return f?f.window:null;
}
catch(e){
return null;
}
},_10=function(id){
try{
var w=_2,fID=id+"-iframe";
f=_13(w,fID);
while(!f&&w&&w!==top){
w=w.parent;
f=_13(w,fID);
}
return f?f.window:null;
}
catch(e){
return null;
}
},_13=function(w,id){
if(w){
var fs=w.frames;
if(fs){
return fs[id];
}
}
return null;
},_12=function(w){
return _3("ibmCfg.portalConfig.currentPageOID",false,w);
},_14=function(){
var ids=[],add=function(id){
if(id&&ids.indexOf(id)<0){
ids.push(id);
}
};
for(var i=0,l=_b.length;i<l;i++){
var w=_e(_b[i]);
if(w){
add(_12(w));
}
}
return ids;
},_15=function(win){
var id=_5,doc=win.document,_16=doc.getElementById(id);
if(!_16){
var _17=doc.getElementsByTagName("head")[0],_16=_c("link",{"id":id,"rel":"alternate","href":"#"},_17);
}
var _18=_16.href;
var _19=_18.indexOf("#");
if(_19>0){
_18=_18.substr(0,_19);
}
_18=_18.replace("%24project","$project");
return _18;
},_1a=function(win){
var _1b=_3(_4,false,win),doc=win.document,url;
if(null!=_1b){
return _1b.baseURL;
}
_1b=win[_6];
if(null!=_1b){
return _1b;
}
_1b=new i$.Promise();
win[_6]=_1b;
if(doc.readyState==="loading"){
doc.addEventListener("DOMContentLoaded",function(){
url=_15(win);
_1b.resolve(url);
});
}else{
url=_15(win);
_1b.resolve(url);
}
return _1b;
};
i$.toPath(_4,{VIEW_AREA:_7,MASTER:_8,getWindow:function(id){
return _e(id);
},getBaseURL:function(win){
return _15(win);
},getPageIDs:function(){
return _14();
},findBaseURL:_1a,baseURL:_d});
})(window);


}catch(e){console.log("Module 'wp_theme_utils': ",e);}
try{(function(){
i$.addOnLoad(function(){
var _1=i$.fromPath("wpModules.state.page");
if(_1){
var _2=_1.getStateManager(),ln=function(o){
return o.length;
},_3=function(o){
if(o&&ln(o)>0){
var v=o[0].value;
if(v&&ln(v)>0){
return v[0];
}
}
return null;
};
_2&&_2.getState().then(function(_4){
var _5=wpModules.theme.WindowUtils,_6=_3(_4.renderParams().get({nsuri:"http://www.ibm.com/xmlns/prod/websphere/portal/publicparams",name:"showTools"})),_7=function(_8){
var _9=null;
if(_8&&_8.frames){
var _a=_8.frames[_5.VIEW_AREA+"-iframe"];
if(_a){
_9=_a.window;
}
}
return _9;
},_b=function(_c){
return _7(_c);
},_d=function(){
return top.location.href.indexOf("/$preview")>=0;
};
if(!_d()){
if((_6&&self===top)||(!_6&&self!==top&&_b(self.parent)&&_7(self.parent)===self)){
var _e=_5.getBaseURL(_5.getWindow(_5.VIEW_AREA)||top),_f=_e.indexOf("?");
if(_f>=0){
_e=_e.substr(0,_f);
}
_e+="?uri=toolbar:close";
top.location.href=_e;
}
}
var _10=function(){
if(!_6&&self===top){
var doc=document,_11=doc.activeElement;
if(doc.getElementsByClassName&&(!_11||_11===doc.body)){
var n=doc.getElementsByClassName("wpToolbarFocusStart");
if(n&&n.length>0){
var e=n[0];
e.focus();
}
}
}
};
_10();
});
}
});
})();


}catch(e){console.log("Module 'wp_toolbar_viewframe_validator': ",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/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_1,_2,_3,_4,_5){var _6=_1.NodeList;_2.extend(_6,{_anim:function(_7,_8,_9){_9=_9||{};var a=_5.combine(this.map(function(_a){var _b={node:_a};_2.mixin(_b,_9);return _7[_8](_b);}));return _9.auto?a.play()&&this:a;},wipeIn:function(_c){return this._anim(_5,"wipeIn",_c);},wipeOut:function(_d){return this._anim(_5,"wipeOut",_d);},slideTo:function(_e){return this._anim(_5,"slideTo",_e);},fadeIn:function(_f){return this._anim(_4,"fadeIn",_f);},fadeOut:function(_10){return this._anim(_4,"fadeOut",_10);},animateProperty:function(_11){return this._anim(_4,"animateProperty",_11);},anim:function(_12,_13,_14,_15,_16){var _17=_5.combine(this.map(function(_18){return _4.animateProperty({node:_18,properties:_12,duration:_13||350,easing:_14});}));if(_15){_3.after(_17,"onEnd",_15,true);}return _17.play(_16||0);}});return _6;});},"dojo/NodeList-manipulate":function(){define(["./query","./_base/lang","./_base/array","./dom-construct","./NodeList-dom"],function(_19,_1a,_1b,_1c){var _1d=_19.NodeList;function _1e(_1f){var _20="",ch=_1f.childNodes;for(var i=0,n;n=ch[i];i++){if(n.nodeType!=8){if(n.nodeType==1){_20+=_1e(n);}else{_20+=n.nodeValue;}}}return _20;};function _21(_22){while(_22.childNodes[0]&&_22.childNodes[0].nodeType==1){_22=_22.childNodes[0];}return _22;};function _23(_24,_25){if(typeof _24=="string"){_24=_1c.toDom(_24,(_25&&_25.ownerDocument));if(_24.nodeType==11){_24=_24.childNodes[0];}}else{if(_24.nodeType==1&&_24.parentNode){_24=_24.cloneNode(false);}}return _24;};_1a.extend(_1d,{_placeMultiple:function(_26,_27){var nl2=typeof _26=="string"||_26.nodeType?_19(_26):_26;var _28=[];for(var i=0;i<nl2.length;i++){var _29=nl2[i];var _2a=this.length;for(var j=_2a-1,_2b;_2b=this[j];j--){if(i>0){_2b=this._cloneNode(_2b);_28.unshift(_2b);}if(j==_2a-1){_1c.place(_2b,_29,_27);}else{_29.parentNode.insertBefore(_2b,_29);}_29=_2b;}}if(_28.length){_28.unshift(0);_28.unshift(this.length-1);Array.prototype.splice.apply(this,_28);}return this;},innerHTML:function(_2c){if(arguments.length){return this.addContent(_2c,"only");}else{return this[0].innerHTML;}},text:function(_2d){if(arguments.length){for(var i=0,_2e;_2e=this[i];i++){if(_2e.nodeType==1){_1c.empty(_2e);_2e.appendChild(_2e.ownerDocument.createTextNode(_2d));}}return this;}else{var _2f="";for(i=0;_2e=this[i];i++){_2f+=_1e(_2e);}return _2f;}},val:function(_30){if(arguments.length){var _31=_1a.isArray(_30);for(var _32=0,_33;_33=this[_32];_32++){var _34=_33.nodeName.toUpperCase();var _35=_33.type;var _36=_31?_30[_32]:_30;if(_34=="SELECT"){var _37=_33.options;for(var i=0;i<_37.length;i++){var opt=_37[i];if(_33.multiple){opt.selected=(_1b.indexOf(_30,opt.value)!=-1);}else{opt.selected=(opt.value==_36);}}}else{if(_35=="checkbox"||_35=="radio"){_33.checked=(_33.value==_36);}else{_33.value=_36;}}}return this;}else{_33=this[0];if(!_33||_33.nodeType!=1){return undefined;}_30=_33.value||"";if(_33.nodeName.toUpperCase()=="SELECT"&&_33.multiple){_30=[];_37=_33.options;for(i=0;i<_37.length;i++){opt=_37[i];if(opt.selected){_30.push(opt.value);}}if(!_30.length){_30=null;}}return _30;}},append:function(_38){return this.addContent(_38,"last");},appendTo:function(_39){return this._placeMultiple(_39,"last");},prepend:function(_3a){return this.addContent(_3a,"first");},prependTo:function(_3b){return this._placeMultiple(_3b,"first");},after:function(_3c){return this.addContent(_3c,"after");},insertAfter:function(_3d){return this._placeMultiple(_3d,"after");},before:function(_3e){return this.addContent(_3e,"before");},insertBefore:function(_3f){return this._placeMultiple(_3f,"before");},remove:_1d.prototype.orphan,wrap:function(_40){if(this[0]){_40=_23(_40,this[0]);for(var i=0,_41;_41=this[i];i++){var _42=this._cloneNode(_40);if(_41.parentNode){_41.parentNode.replaceChild(_42,_41);}var _43=_21(_42);_43.appendChild(_41);}}return this;},wrapAll:function(_44){if(this[0]){_44=_23(_44,this[0]);this[0].parentNode.replaceChild(_44,this[0]);var _45=_21(_44);for(var i=0,_46;_46=this[i];i++){_45.appendChild(_46);}}return this;},wrapInner:function(_47){if(this[0]){_47=_23(_47,this[0]);for(var i=0;i<this.length;i++){var _48=this._cloneNode(_47);this._wrap(_1a._toArray(this[i].childNodes),null,this._NodeListCtor).wrapAll(_48);}}return this;},replaceWith:function(_49){_49=this._normalize(_49,this[0]);for(var i=0,_4a;_4a=this[i];i++){this._place(_49,_4a,"before",i>0);_4a.parentNode.removeChild(_4a);}return this;},replaceAll:function(_4b){var nl=_19(_4b);var _4c=this._normalize(this,this[0]);for(var i=0,_4d;_4d=nl[i];i++){this._place(_4c,_4d,"before",i>0);_4d.parentNode.removeChild(_4d);}return this;},clone:function(){var ary=[];for(var i=0;i<this.length;i++){ary.push(this._cloneNode(this[i]));}return this._wrap(ary,this,this._NodeListCtor);}});if(!_1d.prototype.html){_1d.prototype.html=_1d.prototype.innerHTML;}return _1d;});},"dojo/NodeList-html":function(){define(["./query","./_base/lang","./html"],function(_4e,_4f,_50){var _51=_4e.NodeList;_4f.extend(_51,{html:function(_52,_53){var dhs=new _50._ContentSetter(_53||{});this.forEach(function(elm){dhs.node=elm;dhs.set(_52);dhs.tearDown();});return this;}});return _51;});},"dojo/NodeList-traverse":function(){define(["./query","./_base/lang","./_base/array"],function(_54,_55,_56){var _57=_54.NodeList;_55.extend(_57,{_buildArrayFromCallback:function(_58){var ary=[];for(var i=0;i<this.length;i++){var _59=_58.call(this[i],this[i],ary);if(_59){ary=ary.concat(_59);}}return ary;},_getUniqueAsNodeList:function(_5a){var ary=[];for(var i=0,_5b;_5b=_5a[i];i++){if(_5b.nodeType==1&&_56.indexOf(ary,_5b)==-1){ary.push(_5b);}}return this._wrap(ary,null,this._NodeListCtor);},_getUniqueNodeListWithParent:function(_5c,_5d){var ary=this._getUniqueAsNodeList(_5c);ary=(_5d?_54._filterResult(ary,_5d):ary);return ary._stash(this);},_getRelatedUniqueNodes:function(_5e,_5f){return this._getUniqueNodeListWithParent(this._buildArrayFromCallback(_5f),_5e);},children:function(_60){return this._getRelatedUniqueNodes(_60,function(_61,ary){return _55._toArray(_61.childNodes);});},closest:function(_62,_63){return this._getRelatedUniqueNodes(null,function(_64,ary){do{if(_54._filterResult([_64],_62,_63).length){return _64;}}while(_64!=_63&&(_64=_64.parentNode)&&_64.nodeType==1);return null;});},parent:function(_65){return this._getRelatedUniqueNodes(_65,function(_66,ary){return _66.parentNode;});},parents:function(_67){return this._getRelatedUniqueNodes(_67,function(_68,ary){var _69=[];while(_68.parentNode){_68=_68.parentNode;_69.push(_68);}return _69;});},siblings:function(_6a){return this._getRelatedUniqueNodes(_6a,function(_6b,ary){var _6c=[];var _6d=(_6b.parentNode&&_6b.parentNode.childNodes);for(var i=0;i<_6d.length;i++){if(_6d[i]!=_6b){_6c.push(_6d[i]);}}return _6c;});},next:function(_6e){return this._getRelatedUniqueNodes(_6e,function(_6f,ary){var _70=_6f.nextSibling;while(_70&&_70.nodeType!=1){_70=_70.nextSibling;}return _70;});},nextAll:function(_71){return this._getRelatedUniqueNodes(_71,function(_72,ary){var _73=[];var _74=_72;while((_74=_74.nextSibling)){if(_74.nodeType==1){_73.push(_74);}}return _73;});},prev:function(_75){return this._getRelatedUniqueNodes(_75,function(_76,ary){var _77=_76.previousSibling;while(_77&&_77.nodeType!=1){_77=_77.previousSibling;}return _77;});},prevAll:function(_78){return this._getRelatedUniqueNodes(_78,function(_79,ary){var _7a=[];var _7b=_79;while((_7b=_7b.previousSibling)){if(_7b.nodeType==1){_7a.push(_7b);}}return _7a;});},andSelf:function(){return this.concat(this._parent);},first:function(){return this._wrap(((this[0]&&[this[0]])||[]),this);},last:function(){return this._wrap((this.length?[this[this.length-1]]:[]),this);},even:function(){return this.filter(function(_7c,i){return i%2!=0;});},odd:function(){return this.filter(function(_7d,i){return i%2==0;});}});return _57;});},"*noref":1}});define("dojo/_NodeList",[],1);require(["dojo/NodeList-fx","dojo/NodeList-html","dojo/NodeList-manipulate","dojo/NodeList-traverse"]);
}catch(e){console.log("Module 'dojo_node_list_19': ",e);}
try{(function(){
	if(i$.isIE){
		document.createElement('article');
		document.createElement('aside');
		document.createElement('footer');
		document.createElement('header');
		document.createElement('hgroup');
		document.createElement('nav');
		document.createElement('section');
	}
	if(i$.isIE == 7){ document.getElementsByTagName("html")[0].className+=" wptheme_ie7"; }
	if(i$.isIE == 8){ document.getElementsByTagName("html")[0].className+=" wptheme_ie8"; }
	if(i$.isIE == 9){ document.getElementsByTagName("html")[0].className+=" wptheme_ie9"; }
	if(i$.isIE == 10){ document.getElementsByTagName("html")[0].className+=" wptheme_ie10"; }
	if(i$.isIE == 11){ document.getElementsByTagName("html")[0].className+=" wptheme_ie11"; }
})();


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