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


}catch(e){console.log("Module 'wp_client_main': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var i$=window.i$;
i$.Promise=function(){
this._cbs=[];
this._stat=-1;
};
i$.promise={};
i$.promise.Promise=i$.Promise;
i$.mash(i$.promise,{isPromise:function(o){
return o&&i$.isFunction(o.then);
},resolved:function(o){
var p=new i$.Promise();
p.resolve(o);
return p;
},rejected:function(_1){
var p=new i$.Promise();
p.reject(_1);
return p;
},join:function(_2){
var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){
if(++_5>=_4.length){
_3[_6?"reject":"resolve"](_4);
}
};
if(_2.length>0){
i$.each(_2,function(p,i){
p.then(function(v){
_4[i]=v;
_7();
},function(e){
_6=true;
_4[i]=e;
_7();
});
});
}else{
_3.resolve([]);
}
return _3;
}});
i$.mash(i$,{when:function(o){
return i$.promise.isPromise(o)?o:i$.promise.resolved(o);
},whenAll:function(o){
var a=[];
i$.each(arguments,function(p){
a.push(i$.when(p));
});
return i$.promise.join(a);
}});
i$.promise.when=i$.when;
i$.promise.whenAll=i$.whenAll;
i$.Promise.prototype={_fin:function(v,s){
if(this._stat!==-1){
throw new Error("Promise already resolved");
}
this._v=v;
this._stat=s;
this._cbk();
return this;
},_cbk:function(){
var st=this._stat,_8=this._cbs,v=this._v,f;
if(st===0){
if(i$.promise.isPromise(v)){
while(_8.length>0){
v.then.apply(v,_8.shift());
}
}
}
while(_8.length>0){
f=_8.shift()[st];
if(f){
try{
f(v);
}
catch(err){
}
}
}
},_delegate:function(fn){
var p=new i$.Promise();
this.then(i$.partial(fn,p),i$.scope(p,"reject"));
return p;
},resolve:function(v){
return this._fin(v,0);
},reject:function(e){
return this._fin(e,1);
},progress:function(p){
i$.each(this._cbs,function(_9){
if(_9[2]){
_9[2](p);
}
});
return this;
},then:function(_a,_b,_c){
var p=new i$.Promise();
this._cbs.push([function(v){
try{
if(_a){
var rv=_a(v);
if(rv!==undefined){
v=rv;
}
}
p.resolve(v);
}
catch(exc){
p.reject(exc);
}
},function(e){
var rv=e;
try{
if(_b){
rv=_b(e);
if(rv===undefined){
rv=e;
}
}
}
catch(exc){
rv=exc;
}
p.reject(rv);
},_c]);
if(this._stat!==-1){
this._cbk();
}
return p;
},call:function(_d,_e){
return this._delegate(function(p,_f){
if(_f&&i$.isFunction(_f[_d])){
p.resolve(_f[_d].apply(_f,_e));
}else{
p.reject(new Error(_d+" is not a function on "+o));
}
});
},get:function(_10){
return this._delegate(function(p,_11){
if(_11){
p.resolve(_11[_10]);
}else{
p.reject(new Error(_11+" is null or undefined"));
}
});
}};
i$.onLoadPromise=new i$.Promise();
i$.addOnLoad(function(){
i$.onLoadPromise.resolve(true);
});
})();
(function(){
var i$=window.i$;
i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){
return new XMLHttpRequest();
}:function(){
return new ActiveXObject("MSXML2.XMLHTTP.3.0");
};
i$.toQuery=function(o){
var q=[];
var enc=encodeURIComponent;
i$.each(o,function(v,k){
var key=enc(k)+"=";
if(i$.isString(v)){
q.push(key+enc(v));
}else{
if(i$.isArray(v)){
var key=enc(k)+"=";
i$.each(v,function(av,i){
q.push(key+enc(av));
});
}
}
});
return q.join("&");
};
i$.addQueryString=function(u,o){
if(o){
var p=u&&u.indexOf("?")!==-1,t=p?"&":"?";
u+=t+i$.toQuery(o);
}
return u;
};
i$.fromQuery=function(q){
var o={};
var dec=decodeURIComponent;
i$.each(q.split("&"),function(av,i){
var p=av.split("="),k=dec(p[0]),v=dec(p[1]),cv=o[k];
if(cv){
if(!i$.isArray(cv)){
cv=o[k]=[cv];
}
cv.push(v);
}else{
o[k]=v;
}
});
return o;
};
i$.xhr=function(_12,_13){
var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){
},_16=_13.responseType||"text",_17=_13.postData||null,_18=_13.timeout||null,xhr=i$.getXHR(),_19=false,_1a=false;
var _1b=function(){
if(xhr.readyState===4){
xhr.onreadystatechange=i$.isIE<=8?new Function():null;
var _1c=function(){
if(xhr.status>=400){
var err=new Error(xhr.status+": "+xhr.responseText);
try{
cb(err,xhr);
}
finally{
if(!_19){
_19=true;
_14.reject({data:err,xhr:xhr});
}
}
}else{
try{
var ret="";
if(i$.xhrFmts[_16]){
ret=i$.xhrFmts[_16](xhr);
}
}
catch(err){
cb(err,xhr);
return;
}
try{
cb(ret,xhr);
}
finally{
if(!_19){
_19=true;
_14.resolve({data:ret,xhr:xhr});
}
}
}
};
if(xhr.timeout){
window.setTimeout(function(){
if(!_1a){
_1c();
}
},0);
}else{
_1c();
}
}
};
if(!_15){
xhr.onreadystatechange=_1b;
}
xhr.open(_12,url,!_15);
i$.each(_13.headers,function(v,k){
xhr.setRequestHeader(k,v);
});
if(_18){
xhr.timeout=_18;
xhr.ontimeout=function(){
_1a=true;
if(!_19){
_19=true;
_14.reject({data:"timeout",xhr:xhr});
}
};
}
if(_15){
_1b();
}
xhr.send(_17);
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 _4c=(function(){
var _4d=new Map();
var _4e=function(){
this.isHCLEvent=function(_4f){
return _4f.match(/^HCL-.*/g);
};
this.addEvent=function(_50,_51,_52){
if(_50&&_51){
if(this.isHCLEvent(_50)){
var _53=_4d.get(_52)||{};
_53[_50]=_51;
_4d.set(_52,_53);
}
}
},this.removeEvent=function(_54,_55){
if(_54){
if(this.isHCLEvent(_54)){
_4d["delete"](_55);
}
}
},this.getEvent=function(_56,_57){
var _58=_4d.get(_57)||{};
return this.isHCLEvent(_56)?_58[_56]:null;
};
};
return new _4e();
})();
(function(){
if(typeof window.CustomEvent==="function"){
return false;
}
function _59(_5a,_5b){
_5b=_5b||{bubbles:false,cancelable:false,detail:null};
var evt=document.createEvent("CustomEvent");
evt.initCustomEvent(_5a,_5b.bubbles,_5b.cancelable,_5b.detail);
return evt;
};
window.CustomEvent=_59;
})();
var _5c=function(_5d){
return function(_5e,_5f,_60){
_5d.call(this,_5e,_5f,_60);
if(_60&&_60.lastState&&_4c.isHCLEvent(_5e)&&_4c.getEvent(_5e,this)){
_5f(_4c.getEvent(_5e,this));
}
};
};
var _61=function(_62){
return function(_63,_64,_65){
if(_4c.isHCLEvent(_63)){
_4c.removeEvent(_63,this);
}
_62.call(this,_63,_64,_65);
};
};
var _66=function(_67){
return function(_68){
if(_68.detail&&_4c.isHCLEvent(_68.type)){
_4c.addEvent(_68.type,_68,this);
}
_67.call(this,_68);
};
};
if(typeof EventTarget!="undefined"){
EventTarget.prototype.addEventListener=_5c(EventTarget.prototype.addEventListener);
EventTarget.prototype.removeEventListener=_61(EventTarget.prototype.removeEventListener);
EventTarget.prototype.dispatchEvent=_66(EventTarget.prototype.dispatchEvent);
}else{
var _69=[window,document];
_69.forEach(function(_6a){
_6a.addEventListener=_5c(_6a.addEventListener);
_6a.removeEventListener=_61(_6a.removeEventListener);
_6a.dispatchEvent=_66(_6a.dispatchEvent);
});
Element.prototype.addEventListener=_5c(Element.prototype.addEventListener);
Element.prototype.removeEventListener=_5c(Element.prototype.removeEventListener);
Element.prototype.dispatchEvent=_66(Element.prototype.dispatchEvent);
}
})();
(function(){
var i$=window.i$;
var _6b=document.createElement("div");
i$.byId=function(id){
if(i$.isNode(id)){
return id;
}else{
return document.getElementById(id);
}
};
i$.createDom=function(_6c,_6d,_6e){
var el=document.createElement(_6c);
i$.each(_6d,function(v,k){
el.setAttribute(k,v);
});
if(_6e){
_6e.appendChild(el);
}
return el;
};
var _6f=_6b.addEventListener?function(n){
return n.indexOf("on")==0?n.substr(2):n;
}:function(n){
return n.indexOf("on")!=0?"on"+n:n;
},add=_6b.addEventListener?function(_70,_71,f){
_70.addEventListener(_71,f,false);
}:function(_72,_73,f){
_72.attachEvent(_73,f);
},_74=_6b.removeEventListener?function(_75,_76,f){
_75.removeEventListener(_76,f,false);
}:function(_77,_78,f){
_77.detachEvent(_78,f);
};
i$.isDescendant=function(_79,anc){
if(anc){
while(_79){
if(_79==anc){
return true;
}
_79=_79.parentNode;
}
}
return false;
};
i$.bindDomEvt=function(_7a,_7b,f){
_7b=_6f(_7b);
if((_7b=="mouseleave"||_7b=="mouseenter")&&!i$.isIE){
var fp=f;
_7b=_7b=="mouseleave"?"mouseout":"mouseover";
f=function(e){
if(!i$.isDescendant(e.relatedTarget,_7a)){
return fp.call(this,e);
}
};
}
add(_7a,_7b,f);
return [_7a,_7b,f];
};
i$.unbindDomEvt=function(_7c){
if(_7c[0]){
_74(_7c[0],_7c[1],_7c[2]);
}
_7c.splice(0,3);
};
if("classList" in _6b){
i$.mash(i$,{addClass:function(_7d,_7e){
_7d&&_7d.classList&&_7d.classList.add(_7e);
},removeClass:function(_7f,_80){
_7f&&_7f.classList&&_7f.classList.remove(_80);
},hasClass:function(_81,_82){
return _81&&_81.classList&&_81.classList.contains(_82);
},toggleClass:function(_83,_84){
_83&&_83.classList&&_83.classList.toggle(_84);
}});
}else{
var _85=function(str,_86){
if(!str){
return -1;
}
var len=_86.length,i=str.indexOf(_86),_87,_88;
while(i>-1){
_88=str.charAt(i+len);
_87=str.charAt(i-1);
if((!_88||_88==" ")&&(!_87||_87==" ")){
break;
}
i=str.indexOf(_86,i+1);
}
return i;
};
i$.mash(i$,{addClass:function(_89,_8a){
if(!_89){
return;
}
if(_85(_89.className,_8a)<0){
_89.className+=" "+_8a;
}
},removeClass:function(_8b,_8c){
if(!_8b){
return;
}
var str=_8b.className,len=_8c.length,i=_85(str,_8c),val=[];
if(i>-1){
if(i>0){
val.push(str.substring(0,i));
}
if(str.length>i+len){
val.push(str.substr(i+len));
}
_8b.className=i$.trim(val.join());
}
},hasClass:function(_8d,_8e){
if(!_8d){
return;
}
return _85(_8d.className,_8e)>-1;
},toggleClass:function(_8f,_90){
if(!_8f){
return;
}
i$[i$.hasClass(_8f,_90)?"removeClass":"addClass"](_8f,_90);
}});
}
})();
(function(){
var i$=window.i$;
var _91=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_92=/alternate/i,_93=function(t){
return document.getElementsByTagName(t);
},_94=function(){
return _93("head")[0];
},_95=function(url){
i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_94());
return i$.promise.resolved();
},_96=function(url){
return i$.loadScript({url:url});
},_97=function(mod){
return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_98){
return {mod:mod,data:_98.data};
});
},_99=function(_9a){
i$.each(_9a,function(_9b){
var m=_9b.mod;
var _9c=m.node.parentNode;
var _9d=m.p!="head"?m.node:null;
var _9e=document.createDocumentFragment(),tmp=i$.createDom("div");
tmp.innerHTML=_9b.data;
while(tmp.firstChild){
_9e.appendChild(tmp.firstChild);
}
_9c.insertBefore(_9e,_9d);
});
},_9f=function(_a0){
if(_92.test(_a0.rel)){
var id=_a0.id,_a1=id.match(_91);
if(_a1){
return {node:_a0,url:_a0.href,id:id,p:_a1[1],t:_a1[2],i:_a1[3]};
}
}
},_a2=function(){
var m={head:[],config:[]},_a3={},_a4={length:0},_a5=_93("link"),_a6=_93("a");
i$.each([_a5,_a6],function(_a7){
i$.each(_a7,function(_a8){
var mod=_9f(_a8);
if(mod&&!_a3[mod.id]){
_a3[mod.id]=mod;
if(!_a4[mod.t]){
_a4[mod.t]=[];
_a4.length=_a4.length+1;
}
_a4[mod.t].push(mod);
}
});
});
return _a4;
},_a9=function(_aa){
var _ab=[];
var _ac=[];
i$.each(_aa["markup"],function(mod){
_ac.push(_97(mod));
});
return i$.whenAll.apply(this,_ac).then(function(_ad){
_ab=_ad;
_ac=[];
i$.each(_aa["css"],function(mod){
_ac.push(_95(mod.url));
});
return i$.whenAll.apply(this,_ac);
},function(err){
console.log("Error: ",err);
}).then(function(_ae){
return _af(_aa["js"]);
}).then(function(){
_99(_ab);
});
},_af=function(_b0){
var m=_b0.shift(),p;
if(m){
p=_96(m.url);
}
return i$.when(p).then(function(){
return _b0.length>0?_af(_b0):true;
},function(err){
console.log("Error: ",err);
});
},_b1=false,_b2=null,_b3=false,_b4=false,_b5=new i$.Promise(),_b6=function(cbk){
i$.addOnLoad(function(){
if(!_b1){
_b2=_a2();
_b3=_b2.length>0?false:true;
if(_b3){
_b5.resolve();
}
_b1=true;
}
if(cbk){
cbk();
}
});
};
i$.modules={};
i$.mash(i$.modules,{areLoaded:function(){
return _b3;
},areLoading:function(){
return _b4;
},loadDeferred:function(){
if(_b4){
return _b5;
}
var cbk=function(){
if(!_b3){
_b4=true;
_a9(_b2).then(function(){
_b3=true;
_b4=false;
_b5.resolve();
},function(e){
_b5.reject(e);
});
}
};
_b6(cbk);
return _b5;
},addAfterLoaded:function(f){
var cbk=function(){
_b5.then(f);
};
_b6(cbk);
}});
var _b7=i$.addOnLoad,_b8=[];
i$.addOnLoad=function(f,o){
if(_b4){
if(o){
f=i$.scope(o,f);
}
_b8.push(f);
}else{
_b7(f,o);
}
};
i$.modules.addAfterLoaded(function(){
while(_b8.length>0){
if(fn=_b8.shift()){
fn();
}
}
});
})();
(function(){
var i$=window.i$;
i$.getCookie=function(n){
var cs=document.cookie.split(";"),c="",_b9=0,cn="",cv=null;
for(var i=0;i<cs.length;i++){
c=cs[i];
_b9=c.indexOf("=");
cn=_b9<0?null:i$.trim(c.substring(0,_b9));
if(cn==n){
if(c.length>1){
cv=_b9<0?null:i$.trim(c.substring(_b9+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{/*
	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/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/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/date/stamp":function(){define(["../_base/lang","../_base/array"],function(_1,_2){var _3={};_1.setObject("dojo.date.stamp",_3);_3.fromISOString=function(_4,_5){if(!_3._isoRegExp){_3._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _6=_3._isoRegExp.exec(_4),_7=null;if(_6){_6.shift();if(_6[1]){_6[1]--;}if(_6[6]){_6[6]*=1000;}if(_5){_5=new Date(_5);_2.forEach(_2.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_8){return _5["get"+_8]();}),function(_9,_a){_6[_a]=_6[_a]||_9;});}_7=new Date(_6[0]||1970,_6[1]||0,_6[2]||1,_6[3]||0,_6[4]||0,_6[5]||0,_6[6]||0);if(_6[0]<100){_7.setFullYear(_6[0]||1970);}var _b=0,_c=_6[7]&&_6[7].charAt(0);if(_c!="Z"){_b=((_6[8]||0)*60)+(Number(_6[9])||0);if(_c!="-"){_b*=-1;}}if(_c){_b-=_7.getTimezoneOffset();}if(_b){_7.setTime(_7.getTime()+_b*60000);}}return _7;};_3.toISOString=function(_d,_e){var _f=function(n){return (n<10)?"0"+n:n;};_e=_e||{};var _10=[],_11=_e.zulu?"getUTC":"get",_12="";if(_e.selector!="time"){var _13=_d[_11+"FullYear"]();_12=["0000".substr((_13+"").length)+_13,_f(_d[_11+"Month"]()+1),_f(_d[_11+"Date"]())].join("-");}_10.push(_12);if(_e.selector!="date"){var _14=[_f(_d[_11+"Hours"]()),_f(_d[_11+"Minutes"]()),_f(_d[_11+"Seconds"]())].join(":");var _15=_d[_11+"Milliseconds"]();if(_e.milliseconds){_14+="."+(_15<100?"0":"")+_f(_15);}if(_e.zulu){_14+="Z";}else{if(_e.selector!="time"){var _16=_d.getTimezoneOffset();var _17=Math.abs(_16);_14+=(_16>0?"-":"+")+_f(Math.floor(_17/60))+":"+_f(_17%60);}}_10.push(_14);}return _10.join("T");};return _3;});},"dojo/data/ObjectStore":function(){define(["../_base/lang","../Evented","../_base/declare","../_base/Deferred","../_base/array","../_base/connect","../regexp"],function(_18,_19,_1a,_1b,_1c,_1d,_1e){function _1f(_20){return _20=="*"?".*":_20=="?"?".":_20;};return _1a("dojo.data.ObjectStore",[_19],{objectStore:null,constructor:function(_21){this._dirtyObjects=[];if(_21.labelAttribute){_21.labelProperty=_21.labelAttribute;}_18.mixin(this,_21);},labelProperty:"label",getValue:function(_22,_23,_24){return typeof _22.get==="function"?_22.get(_23):_23 in _22?_22[_23]:_24;},getValues:function(_25,_26){var val=this.getValue(_25,_26);return val instanceof Array?val:val===undefined?[]:[val];},getAttributes:function(_27){var res=[];for(var i in _27){if(_27.hasOwnProperty(i)&&!(i.charAt(0)=="_"&&i.charAt(1)=="_")){res.push(i);}}return res;},hasAttribute:function(_28,_29){return _29 in _28;},containsValue:function(_2a,_2b,_2c){return _1c.indexOf(this.getValues(_2a,_2b),_2c)>-1;},isItem:function(_2d){return (typeof _2d=="object")&&_2d&&!(_2d instanceof Date);},isItemLoaded:function(_2e){return _2e&&typeof _2e.load!=="function";},loadItem:function(_2f){var _30;if(typeof _2f.item.load==="function"){_1b.when(_2f.item.load(),function(_31){_30=_31;var _32=_31 instanceof Error?_2f.onError:_2f.onItem;if(_32){_32.call(_2f.scope,_31);}});}else{if(_2f.onItem){_2f.onItem.call(_2f.scope,_2f.item);}}return _30;},close:function(_33){return _33&&_33.abort&&_33.abort();},fetch:function(_34){_34=_18.delegate(_34,_34&&_34.queryOptions);var _35=this;var _36=_34.scope||_35;var _37=_34.query;if(typeof _37=="object"){_37=_18.delegate(_37);for(var i in _37){var _38=_37[i];if(typeof _38=="string"){_37[i]=RegExp("^"+_1e.escapeString(_38,"*?\\").replace(/\\.|\*|\?/g,_1f)+"$",_34.ignoreCase?"mi":"m");_37[i].toString=(function(_39){return function(){return _39;};})(_38);}}}var _3a=this.objectStore.query(_37,_34);_1b.when(_3a.total,function(_3b){_1b.when(_3a,function(_3c){if(_34.onBegin){_34.onBegin.call(_36,_3b||_3c.length,_34);}if(_34.onItem){for(var i=0;i<_3c.length;i++){_34.onItem.call(_36,_3c[i],_34);}}if(_34.onComplete){_34.onComplete.call(_36,_34.onItem?null:_3c,_34);}return _3c;},_3d);},_3d);function _3d(_3e){if(_34.onError){_34.onError.call(_36,_3e,_34);}};_34.abort=function(){if(_3a.cancel){_3a.cancel();}};if(_3a.observe){if(this.observing){this.observing.cancel();}this.observing=_3a.observe(function(_3f,_40,_41){if(_1c.indexOf(_35._dirtyObjects,_3f)==-1){if(_40==-1){_35.onNew(_3f);}else{if(_41==-1){_35.onDelete(_3f);}else{for(var i in _3f){if(i!=_35.objectStore.idProperty){_35.onSet(_3f,i,null,_3f[i]);}}}}}},true);}this.onFetch(_3a);_34.store=this;return _34;},getFeatures:function(){return {"dojo.data.api.Read":!!this.objectStore.get,"dojo.data.api.Identity":true,"dojo.data.api.Write":!!this.objectStore.put,"dojo.data.api.Notification":true};},getLabel:function(_42){if(this.isItem(_42)){return this.getValue(_42,this.labelProperty);}return undefined;},getLabelAttributes:function(_43){return [this.labelProperty];},getIdentity:function(_44){return this.objectStore.getIdentity?this.objectStore.getIdentity(_44):_44[this.objectStore.idProperty||"id"];},getIdentityAttributes:function(_45){return [this.objectStore.idProperty];},fetchItemByIdentity:function(_46){var _47;_1b.when(this.objectStore.get(_46.identity),function(_48){_47=_48;_46.onItem.call(_46.scope,_48);},function(_49){_46.onError.call(_46.scope,_49);});return _47;},newItem:function(_4a,_4b){if(_4b){var _4c=this.getValue(_4b.parent,_4b.attribute,[]);_4c=_4c.concat([_4a]);_4a.__parent=_4c;this.setValue(_4b.parent,_4b.attribute,_4c);}this._dirtyObjects.push({object:_4a,save:true});this.onNew(_4a);return _4a;},deleteItem:function(_4d){this.changing(_4d,true);this.onDelete(_4d);},setValue:function(_4e,_4f,_50){var old=_4e[_4f];this.changing(_4e);_4e[_4f]=_50;this.onSet(_4e,_4f,old,_50);},setValues:function(_51,_52,_53){if(!_18.isArray(_53)){throw new Error("setValues expects to be passed an Array object as its value");}this.setValue(_51,_52,_53);},unsetAttribute:function(_54,_55){this.changing(_54);var old=_54[_55];delete _54[_55];this.onSet(_54,_55,old,undefined);},changing:function(_56,_57){_56.__isDirty=true;for(var i=0;i<this._dirtyObjects.length;i++){var _58=this._dirtyObjects[i];if(_56==_58.object){if(_57){_58.object=false;if(!this._saveNotNeeded){_58.save=true;}}return;}}var old=_56 instanceof Array?[]:{};for(i in _56){if(_56.hasOwnProperty(i)){old[i]=_56[i];}}this._dirtyObjects.push({object:!_57&&_56,old:old,save:!this._saveNotNeeded});},save:function(_59){_59=_59||{};var _5a,_5b=[];var _5c=[];var _5d=this;var _5e=this._dirtyObjects;var _5f=_5e.length;try{_1d.connect(_59,"onError",function(){if(_59.revertOnError!==false){var _60=_5e;_5e=_5c;_5d.revert();_5d._dirtyObjects=_60;}else{_5d._dirtyObjects=_5e.concat(_5c);}});if(this.objectStore.transaction){var _61=this.objectStore.transaction();}for(var i=0;i<_5e.length;i++){var _62=_5e[i];var _63=_62.object;var old=_62.old;delete _63.__isDirty;if(_63){_5a=this.objectStore.put(_63,{overwrite:!!old});}else{if(typeof old!="undefined"){_5a=this.objectStore.remove(this.getIdentity(old));}}_5c.push(_62);_5e.splice(i--,1);_1b.when(_5a,function(_64){if(!(--_5f)){if(_59.onComplete){_59.onComplete.call(_59.scope,_5b);}}},function(_65){_5f=-1;_59.onError.call(_59.scope,_65);});}if(_61){_61.commit();}}catch(e){_59.onError.call(_59.scope,value);}},revert:function(){var _66=this._dirtyObjects;for(var i=_66.length;i>0;){i--;var _67=_66[i];var _68=_67.object;var old=_67.old;if(_68&&old){for(var j in old){if(old.hasOwnProperty(j)&&_68[j]!==old[j]){this.onSet(_68,j,_68[j],old[j]);_68[j]=old[j];}}for(j in _68){if(!old.hasOwnProperty(j)){this.onSet(_68,j,_68[j]);delete _68[j];}}}else{if(!old){this.onDelete(_68);}else{this.onNew(old);}}delete (_68||old).__isDirty;_66.splice(i,1);}},isDirty:function(_69){if(!_69){return !!this._dirtyObjects.length;}return _69.__isDirty;},onSet:function(){},onNew:function(){},onDelete:function(){},onFetch:function(_6a){}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_6b,_6c,_6d,_6e,xhr,_6f,_70,_71,_72){var _73=_6d("dojo.data.ItemFileReadStore",[_6f],{constructor:function(_74){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_74.url;this._ccUrl=_74.url;this.url=_74.url;this._jsonData=_74.data;this.data=null;this._datatypeMap=_74.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_75){return _72.fromISOString(_75);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_74.urlPreventCache!==undefined){this.urlPreventCache=_74.urlPreventCache?true:false;}if(_74.hierarchical!==undefined){this.hierarchical=_74.hierarchical?true:false;}if(_74.clearOnClose){this.clearOnClose=true;}if("failOk" in _74){this.failOk=_74.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(_76){if(!this.isItem(_76)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_77){if(typeof _77!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(_78,_79,_7a){var _7b=this.getValues(_78,_79);return (_7b.length>0)?_7b[0]:_7a;},getValues:function(_7c,_7d){this._assertIsItem(_7c);this._assertIsAttribute(_7d);return (_7c[_7d]||[]).slice(0);},getAttributes:function(_7e){this._assertIsItem(_7e);var _7f=[];for(var key in _7e){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_7f.push(key);}}return _7f;},hasAttribute:function(_80,_81){this._assertIsItem(_80);this._assertIsAttribute(_81);return (_81 in _80);},containsValue:function(_82,_83,_84){var _85=undefined;if(typeof _84==="string"){_85=_70.patternToRegExp(_84,false);}return this._containsValue(_82,_83,_84,_85);},_containsValue:function(_86,_87,_88,_89){return _6e.some(this.getValues(_86,_87),function(_8a){if(_8a!==null&&!_6c.isObject(_8a)&&_89){if(_8a.toString().match(_89)){return true;}}else{if(_88===_8a){return true;}}});},isItem:function(_8b){if(_8b&&_8b[this._storeRefPropName]===this){if(this._arrayOfAllItems[_8b[this._itemNumPropName]]===_8b){return true;}}return false;},isItemLoaded:function(_8c){return this.isItem(_8c);},loadItem:function(_8d){this._assertIsItem(_8d.item);},getFeatures:function(){return this._features;},getLabel:function(_8e){if(this._labelAttr&&this.isItem(_8e)){return this.getValue(_8e,this._labelAttr);}return undefined;},getLabelAttributes:function(_8f){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_90,_91,_92){var _93=[],i,key;if(_90.query){var _94,_95=_90.queryOptions?_90.queryOptions.ignoreCase:false;var _96={};for(key in _90.query){_94=_90.query[key];if(typeof _94==="string"){_96[key]=_70.patternToRegExp(_94,_95);}else{if(_94 instanceof RegExp){_96[key]=_94;}}}for(i=0;i<_91.length;++i){var _97=true;var _98=_91[i];if(_98===null){_97=false;}else{for(key in _90.query){_94=_90.query[key];if(!this._containsValue(_98,key,_94,_96[key])){_97=false;}}}if(_97){_93.push(_98);}}_92(_93,_90);}else{for(i=0;i<_91.length;++i){var _99=_91[i];if(_99!==null){_93.push(_99);}}_92(_93,_90);}},_fetchItems:function(_9a,_9b,_9c){var _9d=this;if(this._loadFinished){this.filter(_9a,this._getItemsArray(_9a.queryOptions),_9b);}else{if(this._jsonFileUrl!==this._ccUrl){_6b.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_9a,filter:_6c.hitch(_9d,"filter"),findCallback:_6c.hitch(_9d,_9b)});}else{this._loadInProgress=true;var _9e={url:_9d._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _9f=xhr.get(_9e);_9f.addCallback(function(_a0){try{_9d._getItemsFromLoadedData(_a0);_9d._loadFinished=true;_9d._loadInProgress=false;_9d.filter(_9a,_9d._getItemsArray(_9a.queryOptions),_9b);_9d._handleQueuedFetches();}catch(e){_9d._loadFinished=true;_9d._loadInProgress=false;_9c(e,_9a);}});_9f.addErrback(function(_a1){_9d._loadInProgress=false;_9c(_a1,_9a);});var _a2=null;if(_9a.abort){_a2=_9a.abort;}_9a.abort=function(){var df=_9f;if(df&&df.fired===-1){df.cancel();df=null;}if(_a2){_a2.call(_9a);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_9d.filter(_9a,this._getItemsArray(_9a.queryOptions),_9b);}catch(e){_9c(e,_9a);}}else{_9c(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_9a);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _a3=this._queuedFetches[i],_a4=_a3.args,_a5=_a3.filter,_a6=_a3.findCallback;if(_a5){_a5(_a4,this._getItemsArray(_a4.queryOptions),_a6);}else{this.fetchItemByIdentity(_a4);}}this._queuedFetches=[];}},_getItemsArray:function(_a7){if(_a7&&_a7.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_a8){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_a9){var _aa=false,_ab=this;function _ac(_ad){return (_ad!==null)&&(typeof _ad==="object")&&(!_6c.isArray(_ad)||_aa)&&(!_6c.isFunction(_ad))&&(_ad.constructor==Object||_6c.isArray(_ad))&&(typeof _ad._reference==="undefined")&&(typeof _ad._type==="undefined")&&(typeof _ad._value==="undefined")&&_ab.hierarchical;};function _ae(_af){_ab._arrayOfAllItems.push(_af);for(var _b0 in _af){var _b1=_af[_b0];if(_b1){if(_6c.isArray(_b1)){var _b2=_b1;for(var k=0;k<_b2.length;++k){var _b3=_b2[k];if(_ac(_b3)){_ae(_b3);}}}else{if(_ac(_b1)){_ae(_b1);}}}}};this._labelAttr=_a9.label;var i,_b4;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_a9.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){_b4=this._arrayOfTopLevelItems[i];if(_6c.isArray(_b4)){_aa=true;}_ae(_b4);_b4[this._rootItemPropName]=true;}var _b5={},key;for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];for(key in _b4){if(key!==this._rootItemPropName){var _b6=_b4[key];if(_b6!==null){if(!_6c.isArray(_b6)){_b4[key]=[_b6];}}else{_b4[key]=[null];}}_b5[key]=key;}}while(_b5[this._storeRefPropName]){this._storeRefPropName+="_";}while(_b5[this._itemNumPropName]){this._itemNumPropName+="_";}while(_b5[this._reverseRefMap]){this._reverseRefMap+="_";}var _b7;var _b8=_a9.identifier;if(_b8){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_b8;for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];_b7=_b4[_b8];var _b9=_b7[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_b9)){this._itemsByIdentity[_b9]=_b4;}else{if(this._jsonFileUrl){throw new Error(this.declaredClass+":  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+_b8+"].  Value collided: ["+_b9+"]");}else{if(this._jsonData){throw new Error(this.declaredClass+":  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+_b8+"].  Value collided: ["+_b9+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];_b4[this._storeRefPropName]=this;_b4[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){_b4=this._arrayOfAllItems[i];for(key in _b4){_b7=_b4[key];for(var j=0;j<_b7.length;++j){_b6=_b7[j];if(_b6!==null&&typeof _b6=="object"){if(("_type" in _b6)&&("_value" in _b6)){var _ba=_b6._type;var _bb=this._datatypeMap[_ba];if(!_bb){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+_ba+"'");}else{if(_6c.isFunction(_bb)){_b7[j]=new _bb(_b6._value);}else{if(_6c.isFunction(_bb.deserialize)){_b7[j]=_bb.deserialize(_b6._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_b6._reference){var _bc=_b6._reference;if(!_6c.isObject(_bc)){_b7[j]=this._getItemByIdentity(_bc);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _bd=this._arrayOfAllItems[k],_be=true;for(var _bf in _bc){if(_bd[_bf]!=_bc[_bf]){_be=false;}}if(_be){_b7[j]=_bd;}}}if(this.referenceIntegrity){var _c0=_b7[j];if(this.isItem(_c0)){this._addReferenceToMap(_c0,_b4,key);}}}else{if(this.isItem(_b6)){if(this.referenceIntegrity){this._addReferenceToMap(_b6,_b4,key);}}}}}}}},_addReferenceToMap:function(_c1,_c2,_c3){},getIdentity:function(_c4){var _c5=this._features["dojo.data.api.Identity"];if(_c5===Number){return _c4[this._itemNumPropName];}else{var _c6=_c4[_c5];if(_c6){return _c6[0];}}return null;},fetchItemByIdentity:function(_c7){var _c8,_c9;if(!this._loadFinished){var _ca=this;if(this._jsonFileUrl!==this._ccUrl){_6b.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null&&this._jsonData==null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_c7});}else{this._loadInProgress=true;var _cb={url:_ca._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _cc=xhr.get(_cb);_cc.addCallback(function(_cd){var _ce=_c7.scope?_c7.scope:_6b.global;try{_ca._getItemsFromLoadedData(_cd);_ca._loadFinished=true;_ca._loadInProgress=false;_c8=_ca._getItemByIdentity(_c7.identity);if(_c7.onItem){_c7.onItem.call(_ce,_c8);}_ca._handleQueuedFetches();}catch(error){_ca._loadInProgress=false;if(_c7.onError){_c7.onError.call(_ce,error);}}});_cc.addErrback(function(_cf){_ca._loadInProgress=false;if(_c7.onError){var _d0=_c7.scope?_c7.scope:_6b.global;_c7.onError.call(_d0,_cf);}});}}else{if(this._jsonData){_ca._getItemsFromLoadedData(_ca._jsonData);_ca._jsonData=null;_ca._loadFinished=true;_c8=_ca._getItemByIdentity(_c7.identity);if(_c7.onItem){_c9=_c7.scope?_c7.scope:_6b.global;_c7.onItem.call(_c9,_c8);}}}}else{_c8=this._getItemByIdentity(_c7.identity);if(_c7.onItem){_c9=_c7.scope?_c7.scope:_6b.global;_c7.onItem.call(_c9,_c8);}}},_getItemByIdentity:function(_d1){var _d2=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_d1)){_d2=this._itemsByIdentity[_d1];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_d1)){_d2=this._arrayOfAllItems[_d1];}}if(_d2===undefined){_d2=null;}return _d2;},getIdentityAttributes:function(_d3){var _d4=this._features["dojo.data.api.Identity"];if(_d4===Number){return null;}else{return [_d4];}},_forceLoad:function(){var _d5=this;if(this._jsonFileUrl!==this._ccUrl){_6b.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){var _d6={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _d7=xhr.get(_d6);_d7.addCallback(function(_d8){try{if(_d5._loadInProgress!==true&&!_d5._loadFinished){_d5._getItemsFromLoadedData(_d8);_d5._loadFinished=true;}else{if(_d5._loadInProgress){throw new Error(this.declaredClass+":  Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_d7.addErrback(function(_d9){throw _d9;});}else{if(this._jsonData){_d5._getItemsFromLoadedData(_d5._jsonData);_d5._jsonData=null;_d5._loadFinished=true;}}}});_6c.extend(_73,_71);return _73;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(_da,_db){var _dc={};_db.setObject("dojo.regexp",_dc);_dc.escapeString=function(str,_dd){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_dd&&_dd.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_dc.buildGroupRE=function(arr,re,_de){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _dc.group(b.join("|"),_de);};_dc.group=function(_df,_e0){return "("+(_e0?"?:":"")+_df+")";};return _dc;});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(_e1,_e2,_e3,_e4,_e5,_e6,_e7){return _e2("dojo.data.ItemFileWriteStore",_e6,{constructor:function(_e8){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _e7.toISOString(obj,{zulu:true});};}if(_e8&&(_e8.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_e9){if(!_e9){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_ea,_eb){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _ea!="object"&&typeof _ea!="undefined"){throw new Error("newItem() was passed something other than an object");}var _ec=null;var _ed=this._getIdentifierAttribute();if(_ed===Number){_ec=this._arrayOfAllItems.length;}else{_ec=_ea[_ed];if(typeof _ec==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(_e1.isArray(_ec)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_ec]==="undefined");}this._assert(typeof this._pending._newItems[_ec]==="undefined");this._assert(typeof this._pending._deletedItems[_ec]==="undefined");var _ee={};_ee[this._storeRefPropName]=this;_ee[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_ec]=_ee;_ee[_ed]=[_ec];}this._arrayOfAllItems.push(_ee);var _ef=null;if(_eb&&_eb.parent&&_eb.attribute){_ef={item:_eb.parent,attribute:_eb.attribute,oldValue:undefined};var _f0=this.getValues(_eb.parent,_eb.attribute);if(_f0&&_f0.length>0){var _f1=_f0.slice(0,_f0.length);if(_f0.length===1){_ef.oldValue=_f0[0];}else{_ef.oldValue=_f0.slice(0,_f0.length);}_f1.push(_ee);this._setValueOrValues(_eb.parent,_eb.attribute,_f1,false);_ef.newValue=this.getValues(_eb.parent,_eb.attribute);}else{this._setValueOrValues(_eb.parent,_eb.attribute,_ee,false);_ef.newValue=_ee;}}else{_ee[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_ee);}this._pending._newItems[_ec]=_ee;for(var key in _ea){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _f2=_ea[key];if(!_e1.isArray(_f2)){_f2=[_f2];}_ee[key]=_f2;if(this.referenceIntegrity){for(var i=0;i<_f2.length;i++){var val=_f2[i];if(this.isItem(val)){this._addReferenceToMap(val,_ee,key);}}}}this.onNew(_ee,_ef);return _ee;},_removeArrayElement:function(_f3,_f4){var _f5=_e3.indexOf(_f3,_f4);if(_f5!=-1){_f3.splice(_f5,1);return true;}return false;},deleteItem:function(_f6){this._assert(!this._saveInProgress);this._assertIsItem(_f6);var _f7=_f6[this._itemNumPropName];var _f8=this.getIdentity(_f6);if(this.referenceIntegrity){var _f9=this.getAttributes(_f6);if(_f6[this._reverseRefMap]){_f6["backup_"+this._reverseRefMap]=_e1.clone(_f6[this._reverseRefMap]);}_e3.forEach(_f9,function(_fa){_e3.forEach(this.getValues(_f6,_fa),function(_fb){if(this.isItem(_fb)){if(!_f6["backupRefs_"+this._reverseRefMap]){_f6["backupRefs_"+this._reverseRefMap]=[];}_f6["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_fb),attr:_fa});this._removeReferenceFromMap(_fb,_f6,_fa);}},this);},this);var _fc=_f6[this._reverseRefMap];if(_fc){for(var _fd in _fc){var _fe=null;if(this._itemsByIdentity){_fe=this._itemsByIdentity[_fd];}else{_fe=this._arrayOfAllItems[_fd];}if(_fe){for(var _ff in _fc[_fd]){var _100=this.getValues(_fe,_ff)||[];var _101=_e3.filter(_100,function(_102){return !(this.isItem(_102)&&this.getIdentity(_102)==_f8);},this);this._removeReferenceFromMap(_f6,_fe,_ff);if(_101.length<_100.length){this._setValueOrValues(_fe,_ff,_101,true);}}}}}}this._arrayOfAllItems[_f7]=null;_f6[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_f8];}this._pending._deletedItems[_f8]=_f6;if(_f6[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_f6);}this.onDelete(_f6);return true;},setValue:function(item,_103,_104){return this._setValueOrValues(item,_103,_104,true);},setValues:function(item,_105,_106){return this._setValueOrValues(item,_105,_106,true);},unsetAttribute:function(item,_107){return this._setValueOrValues(item,_107,[],true);},_setValueOrValues:function(item,_108,_109,_10a){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(_e1.isString(_108));this._assert(typeof _109!=="undefined");var _10b=this._getIdentifierAttribute();if(_108==_10b){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _10c=this._getValueOrValues(item,_108);var _10d=this.getIdentity(item);if(!this._pending._modifiedItems[_10d]){var _10e={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_10e[key]=item[key];}else{if(key===this._reverseRefMap){_10e[key]=_e1.clone(item[key]);}else{_10e[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_10d]=_10e;}var _10f=false;if(_e1.isArray(_109)&&_109.length===0){_10f=delete item[_108];_109=undefined;if(this.referenceIntegrity&&_10c){var _110=_10c;if(!_e1.isArray(_110)){_110=[_110];}for(var i=0;i<_110.length;i++){var _111=_110[i];if(this.isItem(_111)){this._removeReferenceFromMap(_111,item,_108);}}}}else{var _112;if(_e1.isArray(_109)){_112=_109.slice(0,_109.length);}else{_112=[_109];}if(this.referenceIntegrity){if(_10c){var _110=_10c;if(!_e1.isArray(_110)){_110=[_110];}var map={};_e3.forEach(_110,function(_113){if(this.isItem(_113)){var id=this.getIdentity(_113);map[id.toString()]=true;}},this);_e3.forEach(_112,function(_114){if(this.isItem(_114)){var id=this.getIdentity(_114);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_114,item,_108);}}},this);for(var rId in map){var _115;if(this._itemsByIdentity){_115=this._itemsByIdentity[rId];}else{_115=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_115,item,_108);}}else{for(var i=0;i<_112.length;i++){var _111=_112[i];if(this.isItem(_111)){this._addReferenceToMap(_111,item,_108);}}}}item[_108]=_112;_10f=true;}if(_10a){this.onSet(item,_108,_10c,_109);}return _10f;},_addReferenceToMap:function(_116,_117,_118){var _119=this.getIdentity(_117);var _11a=_116[this._reverseRefMap];if(!_11a){_11a=_116[this._reverseRefMap]={};}var _11b=_11a[_119];if(!_11b){_11b=_11a[_119]={};}_11b[_118]=true;},_removeReferenceFromMap:function(_11c,_11d,_11e){var _11f=this.getIdentity(_11d);var _120=_11c[this._reverseRefMap];var _121;if(_120){for(_121 in _120){if(_121==_11f){delete _120[_121][_11e];if(this._isEmpty(_120[_121])){delete _120[_121];}}}if(this._isEmpty(_120)){delete _11c[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i<this._arrayOfAllItems.length;i++){var item=this._arrayOfAllItems[i];if(item&&item[this._reverseRefMap]){}}},_getValueOrValues:function(item,_122){var _123=undefined;if(this.hasAttribute(item,_122)){var _124=this.getValues(item,_122);if(_124.length==1){_123=_124[0];}else{_123=_124;}}return _123;},_flatten:function(_125){if(this.isItem(_125)){return {_reference:this.getIdentity(_125)};}else{if(typeof _125==="object"){for(var type in this._datatypeMap){var _126=this._datatypeMap[type];if(_e1.isObject(_126)&&!_e1.isFunction(_126)){if(_125 instanceof _126.type){if(!_126.serialize){throw new Error("ItemFileWriteStore:  No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_126.serialize(_125)};}}else{if(_125 instanceof _126){return {_type:type,_value:_125.toString()};}}}}return _125;}},_getNewFileContentString:function(){var _127={};var _128=this._getIdentifierAttribute();if(_128!==Number){_127.identifier=_128;}if(this._labelAttr){_127.label=this._labelAttr;}_127.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _129={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _12a=this.getValues(item,key);if(_12a.length==1){_129[key]=this._flatten(_12a[0]);}else{var _12b=[];for(var j=0;j<_12a.length;++j){_12b.push(this._flatten(_12a[j]));_129[key]=_12b;}}}}_127.items.push(_129);}}var _12c=true;return _e4.toJson(_127,_12c);},_isEmpty:function(_12d){var _12e=true;if(_e1.isObject(_12d)){var i;for(i in _12d){_12e=false;break;}}else{if(_e1.isArray(_12d)){if(_12d.length>0){_12e=false;}}}return _12e;},save:function(_12f){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _130=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_12f&&_12f.onComplete){var _131=_12f.scope||_e5.global;_12f.onComplete.call(_131);}};var _132=function(err){self._saveInProgress=false;if(_12f&&_12f.onError){var _133=_12f.scope||_e5.global;_12f.onError.call(_133,err);}};if(this._saveEverything){var _134=this._getNewFileContentString();this._saveEverything(_130,_132,_134);}if(this._saveCustom){this._saveCustom(_130,_132);}if(!this._saveEverything&&!this._saveCustom){_130();}},revert:function(){this._assert(!this._saveInProgress);var _135;for(_135 in this._pending._modifiedItems){var _136=this._pending._modifiedItems[_135];var _137=null;if(this._itemsByIdentity){_137=this._itemsByIdentity[_135];}else{_137=this._arrayOfAllItems[_135];}_136[this._storeRefPropName]=this;for(var key in _137){delete _137[key];}_e1.mixin(_137,_136);}var _138;for(_135 in this._pending._deletedItems){_138=this._pending._deletedItems[_135];_138[this._storeRefPropName]=this;var _139=_138[this._itemNumPropName];if(_138["backup_"+this._reverseRefMap]){_138[this._reverseRefMap]=_138["backup_"+this._reverseRefMap];delete _138["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_139]=_138;if(this._itemsByIdentity){this._itemsByIdentity[_135]=_138;}if(_138[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_138);}}for(_135 in this._pending._deletedItems){_138=this._pending._deletedItems[_135];if(_138["backupRefs_"+this._reverseRefMap]){_e3.forEach(_138["backupRefs_"+this._reverseRefMap],function(_13a){var _13b;if(this._itemsByIdentity){_13b=this._itemsByIdentity[_13a.id];}else{_13b=this._arrayOfAllItems[_13a.id];}this._addReferenceToMap(_13b,_138,_13a.attr);},this);delete _138["backupRefs_"+this._reverseRefMap];}}for(_135 in this._pending._newItems){var _13c=this._pending._newItems[_135];_13c[this._storeRefPropName]=null;this._arrayOfAllItems[_13c[this._itemNumPropName]]=null;if(_13c[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_13c);}if(this._itemsByIdentity){delete this._itemsByIdentity[_135];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _13d=this.getIdentity(item);return new Boolean(this._pending._newItems[_13d]||this._pending._modifiedItems[_13d]||this._pending._deletedItems[_13d]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_13e,_13f,_140){},onNew:function(_141,_142){},onDelete:function(_143){},close:function(_144){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store.  Please save or revert the changes before invoking close.");}}}});});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_145,_146){var _147={};lang.setObject("dojo.data.util.simpleFetch",_147);_147.errorHandler=function(_148,_149){if(_149.onError){var _14a=_149.scope||_145.global;_149.onError.call(_14a,_148,_149);}};_147.fetchHandler=function(_14b,_14c){var _14d=_14c.abort||null,_14e=false,_14f=_14c.start?_14c.start:0,_150=(_14c.count&&(_14c.count!==Infinity))?(_14f+_14c.count):_14b.length;_14c.abort=function(){_14e=true;if(_14d){_14d.call(_14c);}};var _151=_14c.scope||_145.global;if(!_14c.store){_14c.store=this;}if(_14c.onBegin){_14c.onBegin.call(_151,_14b.length,_14c);}if(_14c.sort){_14b.sort(_146.createSortFunction(_14c.sort,this));}if(_14c.onItem){for(var i=_14f;(i<_14b.length)&&(i<_150);++i){var item=_14b[i];if(!_14e){_14c.onItem.call(_151,item,_14c);}}}if(_14c.onComplete&&!_14e){var _152=null;if(!_14c.onItem){_152=_14b.slice(_14f,_150);}_14c.onComplete.call(_151,_152,_14c);}};_147.fetch=function(_153){_153=_153||{};if(!_153.store){_153.store=this;}this._fetchItems(_153,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _153;};return _147;});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _154={};lang.setObject("dojo.data.util.filter",_154);_154.patternToRegExp=function(_155,_156){var rxp="^";var c=null;for(var i=0;i<_155.length;i++){c=_155.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_155.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_156){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _154;});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _157={};lang.setObject("dojo.data.util.sorter",_157);_157.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_157.createSortFunction=function(_158,_159){var _15a=[];function _15b(attr,dir,comp,s){return function(_15c,_15d){var a=s.getValue(_15c,attr);var b=s.getValue(_15d,attr);return dir*comp(a,b);};};var _15e;var map=_159.comparatorMap;var bc=_157.basicComparator;for(var i=0;i<_158.length;i++){_15e=_158[i];var attr=_15e.attribute;if(attr){var dir=(_15e.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_15a.push(_15b(attr,dir,comp,_159));}}return function(rowA,rowB){var i=0;while(i<_15a.length){var ret=_15a[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _157;});},"*noref":1}});define("dojo/_data",[],1);require(["dojo/data/ItemFileReadStore","dojo/data/ItemFileWriteStore","dojo/data/util/simpleFetch","dojo/data/util/sorter","dojo/data/util/filter","dojo/data/ObjectStore"]);
}catch(e){console.log("Module 'dojo_data_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(_1,_2){"use strict";var _3=document.createElement("div");var _4=_3.matchesSelector||_3.webkitMatchesSelector||_3.mozMatchesSelector||_3.msMatchesSelector||_3.oMatchesSelector;var _5=_3.querySelectorAll;var _6=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;_1.add("dom-matches-selector",!!_4);_1.add("dom-qsa",!!_5);var _7=function(_8,_9){if(_a&&_8.indexOf(",")>-1){return _a(_8,_9);}var _b=_9?_9.ownerDocument||_9:_2.doc||document,_c=(_5?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(_8);_9=_9||_b;if(_c){if(_c[2]){var _d=_2.byId?_2.byId(_c[2],_b):_b.getElementById(_c[2]);if(!_d||(_c[1]&&_c[1]!=_d.tagName.toLowerCase())){return [];}if(_9!=_b){var _e=_d;while(_e!=_9){_e=_e.parentNode;if(!_e){return [];}}}return _c[3]?_7(_c[3],_d):[_d];}if(_c[3]&&_9.getElementsByClassName){return _9.getElementsByClassName(_c[4]);}var _d;if(_c[5]){_d=_9.getElementsByTagName(_c[5]);if(_c[4]||_c[6]){_8=(_c[4]||"")+_c[6];}else{return _d;}}}if(_5){if(_9.nodeType===1&&_9.nodeName.toLowerCase()!=="object"){return _f(_9,_8,_9.querySelectorAll);}else{return _9.querySelectorAll(_8);}}else{if(!_d){_d=_9.getElementsByTagName("*");}}var _10=[];for(var i=0,l=_d.length;i<l;i++){var _11=_d[i];if(_11.nodeType==1&&_12(_11,_8,_9)){_10.push(_11);}}return _10;};var _f=function(_13,_14,_15){var _16=_13,old=_13.getAttribute("id"),nid=old||"__dojo__",_17=_13.parentNode,_18=/^\s*[+~]/.test(_14);if(_18&&!_17){return [];}if(!old){_13.setAttribute("id",nid);}else{nid=nid.replace(/'/g,"\\$&");}if(_18&&_17){_13=_13.parentNode;}var _19=_14.match(_6);for(var i=0;i<_19.length;i++){_19[i]="[id='"+nid+"'] "+_19[i];}_14=_19.join(",");try{return _15.call(_13,_14);}finally{if(!old){_16.removeAttribute("id");}}};if(!_1("dom-matches-selector")){var _12=(function(){var _1a=_3.tagName=="div"?"toLowerCase":"toUpperCase";var _1b={"":function(_1c){_1c=_1c[_1a]();return function(_1d){return _1d.tagName==_1c;};},".":function(_1e){var _1f=" "+_1e+" ";return function(_20){return _20.className.indexOf(_1e)>-1&&(" "+_20.className+" ").indexOf(_1f)>-1;};},"#":function(id){return function(_21){return _21.id==id;};}};var _22={"^=":function(_23,_24){return _23.indexOf(_24)==0;},"*=":function(_25,_26){return _25.indexOf(_26)>-1;},"$=":function(_27,_28){return _27.substring(_27.length-_28.length,_27.length)==_28;},"~=":function(_29,_2a){return (" "+_29+" ").indexOf(" "+_2a+" ")>-1;},"|=":function(_2b,_2c){return (_2b+"-").indexOf(_2c+"-")==0;},"=":function(_2d,_2e){return _2d==_2e;},"":function(_2f,_30){return true;}};function _31(_32,_33,_34){var _35=_33.charAt(0);if(_35=="\""||_35=="'"){_33=_33.slice(1,-1);}_33=_33.replace(/\\/g,"");var _36=_22[_34||""];return function(_37){var _38=_37.getAttribute(_32);return _38&&_36(_38,_33);};};function _39(_3a){return function(_3b,_3c){while((_3b=_3b.parentNode)!=_3c){if(_3a(_3b,_3c)){return true;}}};};function _3d(_3e){return function(_3f,_40){_3f=_3f.parentNode;return _3e?_3f!=_40&&_3e(_3f,_40):_3f==_40;};};var _41={};function and(_42,_43){return _42?function(_44,_45){return _43(_44)&&_42(_44,_45);}:_43;};return function(_46,_47,_48){var _49=_41[_47];if(!_49){if(_47.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,_4a,_4b,_4c,_4d,_4e,_4f){if(_4c){_49=and(_49,_1b[_4b||""](_4c.replace(/\\/g,"")));}else{if(_4a){_49=(_4a==" "?_39:_3d)(_49);}else{if(_4d){_49=and(_49,_31(_4d,_4f,_4e));}}}return "";})){throw new Error("Syntax error in query");}if(!_49){return true;}_41[_47]=_49;}return _49(_46,_48);};})();}if(!_1("dom-qsa")){var _a=function(_50,_51){var _52=_50.match(_6);var _53=[];for(var i=0;i<_52.length;i++){_50=new String(_52[i].replace(/\s*$/,""));_50.indexOf=escape;var _54=_7(_50,_51);for(var j=0,l=_54.length;j<l;j++){var _55=_54[j];_53[_55.sourceIndex]=_55;}}var _56=[];for(i in _53){_56.push(_53[i]);}return _56;};}_7.match=_4?function(_57,_58,_59){if(_59&&_59.nodeType!=9){return _f(_59,_58,function(_5a){return _4.call(_57,_5a);});}return _4.call(_57,_58);}:_12;return _7;});},"*noref":1}});define("dojo/_selector",[],1);require(["dojo/selector/lite"]);
}catch(e){console.log("Module 'dojo_selector_lite_19': ",e);}
try{//>>built
define("dijit/nls/dijit_en",{"dijit/nls/loading":{"_localized":{},"loadingState":"Loading...","errorState":"Sorry, an error occurred"}});
}catch(e){console.log("Module 'dijit_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,on,_c,_d,_e,_f){function _10(){if(this._popupWrapper){_6.destroy(this._popupWrapper);delete this._popupWrapper;}};var _11=_3(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _12=this._firstAroundPosition,_13=_7.position(this._firstAroundNode,true),dx=_13.x-_12.x,dy=_13.y-_12.y;if(dx||dy){this._firstAroundPosition=_13;for(var i=0;i<this._stack.length;i++){var _14=this._stack[i].wrapper.style;_14.top=(parseInt(_14.top,10)+dy)+"px";if(_14.right=="auto"){_14.left=(parseInt(_14.left,10)+dx)+"px";}else{_14.right=(parseInt(_14.right,10)-dx)+"px";}}}this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),dx||dy?10:50);}},_createWrapper:function(_15){var _16=_15._popupWrapper,_17=_15.domNode;if(!_16){_16=_6.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_15["aria-label"]||_15.label||_15.name||_15.id},_15.ownerDocumentBody);_16.appendChild(_17);var s=_17.style;s.display="";s.visibility="";s.position="";s.top="0px";_15._popupWrapper=_16;_2.after(_15,"destroy",_10,true);}return _16;},moveOffScreen:function(_18){var _19=this._createWrapper(_18);var ltr=_7.isBodyLtr(_18.ownerDocument),_1a={visibility:"hidden",top:"-9999px",display:""};_1a[ltr?"left":"right"]="-9999px";_1a[ltr?"right":"left"]="auto";_8.set(_19,_1a);return _19;},hide:function(_1b){var _1c=this._createWrapper(_1b);_8.set(_1c,{display:"none",height:"auto",overflow:"visible",border:""});var _1d=_1b.domNode;if("_originalStyle" in _1d){_1d.style.cssText=_1d._originalStyle;}},getTopPopup:function(){var _1e=this._stack;for(var pi=_1e.length-1;pi>0&&_1e[pi].parent===_1e[pi-1].widget;pi--){}return _1e[pi];},open:function(_1f){var _20=this._stack,_21=_1f.popup,_22=_21.domNode,_23=_1f.orient||["below","below-alt","above","above-alt"],ltr=_1f.parent?_1f.parent.isLeftToRight():_7.isBodyLtr(_21.ownerDocument),_24=_1f.around,id=(_1f.around&&_1f.around.id)?(_1f.around.id+"_dropdown"):("popup_"+this._idGen++);while(_20.length&&(!_1f.parent||!_4.isDescendant(_1f.parent.domNode,_20[_20.length-1].widget.domNode))){this.close(_20[_20.length-1].widget);}var _25=this.moveOffScreen(_21);if(_21.startup&&!_21._started){_21.startup();}var _26,_27=_7.position(_22);if("maxHeight" in _1f&&_1f.maxHeight!=-1){_26=_1f.maxHeight||Infinity;}else{var _28=_e.getEffectiveBox(this.ownerDocument),_29=_24?_7.position(_24,false):{y:_1f.y-(_1f.padding||0),h:(_1f.padding||0)*2};_26=Math.floor(Math.max(_29.y,_28.h-(_29.y+_29.h)));}if(_27.h>_26){var cs=_8.getComputedStyle(_22),_2a=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_8.set(_25,{overflowY:"scroll",height:_26+"px",border:_2a});_22._originalStyle=_22.style.cssText;_22.style.border="none";}_5.set(_25,{id:id,style:{zIndex:this._beginZIndex+_20.length},"class":"dijitPopup "+(_21.baseClass||_21["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1f.parent?_1f.parent.id:""});if(_20.length==0&&_24){this._firstAroundNode=_24;this._firstAroundPosition=_7.position(_24,true);this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),50);}if(_9("config-bgIframe")&&!_21.bgIframe){_21.bgIframe=new _d(_25);}var _2b=_21.orient?_b.hitch(_21,"orient"):null,_2c=_24?_c.around(_25,_24,_23,ltr,_2b):_c.at(_25,_1f,_23=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1f.padding,_2b);_25.style.visibility="visible";_22.style.visibility="visible";var _2d=[];_2d.push(on(_25,"keydown",_b.hitch(this,function(evt){if(evt.keyCode==_a.ESCAPE&&_1f.onCancel){evt.stopPropagation();evt.preventDefault();_1f.onCancel();}else{if(evt.keyCode==_a.TAB){evt.stopPropagation();evt.preventDefault();var _2e=this.getTopPopup();if(_2e&&_2e.onCancel){_2e.onCancel();}}}})));if(_21.onCancel&&_1f.onCancel){_2d.push(_21.on("cancel",_1f.onCancel));}_2d.push(_21.on(_21.onExecute?"execute":"change",_b.hitch(this,function(){var _2f=this.getTopPopup();if(_2f&&_2f.onExecute){_2f.onExecute();}})));_20.push({widget:_21,wrapper:_25,parent:_1f.parent,onExecute:_1f.onExecute,onCancel:_1f.onCancel,onClose:_1f.onClose,handlers:_2d});if(_21.onOpen){_21.onOpen(_2c);}return _2c;},close:function(_30){var _31=this._stack;while((_30&&_1.some(_31,function(_32){return _32.widget==_30;}))||(!_30&&_31.length)){var top=_31.pop(),_33=top.widget,_34=top.onClose;if(_33.onClose){_33.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_33&&_33.domNode){this.hide(_33);}if(_34){_34();}}if(_31.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_f.popup=new _11());});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_35,dom,_36,_37,_38,has,_39){var _3a;var _3b={_isElementShown:function(_3c){var s=_37.get(_3c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_36.get(_3c,"type")!="hidden");},hasDefaultTabStop:function(_3d){switch(_3d.nodeName.toLowerCase()){case "a":return _36.has(_3d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _3e;try{var _3f=_3d.contentDocument;if("designMode" in _3f&&_3f.designMode=="on"){return true;}_3e=_3f.body;}catch(e1){try{_3e=_3d.contentWindow.document.body;}catch(e2){return false;}}return _3e&&(_3e.contentEditable=="true"||(_3e.firstChild&&_3e.firstChild.contentEditable=="true"));default:return _3d.contentEditable=="true";}},effectiveTabIndex:function(_40){if(_36.get(_40,"disabled")){return _3a;}else{if(_36.has(_40,"tabIndex")){return +_36.get(_40,"tabIndex");}else{return _3b.hasDefaultTabStop(_40)?0:_3a;}}},isTabNavigable:function(_41){return _3b.effectiveTabIndex(_41)>=0;},isFocusable:function(_42){return _3b.effectiveTabIndex(_42)>=-1;},_getTabNavigable:function(_43){var _44,_45,_46,_47,_48,_49,_4a={};function _4b(_4c){return _4c&&_4c.tagName.toLowerCase()=="input"&&_4c.type&&_4c.type.toLowerCase()=="radio"&&_4c.name&&_4c.name.toLowerCase();};var _4d=_3b._isElementShown,_4e=_3b.effectiveTabIndex;var _4f=function(_50){for(var _51=_50.firstChild;_51;_51=_51.nextSibling){if(_51.nodeType!=1||(has("ie")<=9&&_51.scopeName!=="HTML")||!_4d(_51)){continue;}var _52=_4e(_51);if(_52>=0){if(_52==0){if(!_44){_44=_51;}_45=_51;}else{if(_52>0){if(!_46||_52<_47){_47=_52;_46=_51;}if(!_48||_52>=_49){_49=_52;_48=_51;}}}var rn=_4b(_51);if(_36.get(_51,"checked")&&rn){_4a[rn]=_51;}}if(_51.nodeName.toUpperCase()!="SELECT"){_4f(_51);}}};if(_4d(_43)){_4f(_43);}function rs(_53){return _4a[_4b(_53)]||_53;};return {first:rs(_44),last:rs(_45),lowest:rs(_46),highest:rs(_48)};},getFirstInTabbingOrder:function(_54,doc){var _55=_3b._getTabNavigable(dom.byId(_54,doc));return _55.lowest?_55.lowest:_55.first;},getLastInTabbingOrder:function(_56,doc){var _57=_3b._getTabNavigable(dom.byId(_56,doc));return _57.last?_57.last:_57.highest;}};1&&_38.mixin(_39,_3b);return _3b;});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_58,_59,_5a,_5b){var _5c=_59("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5d){if(this._hash[_5d.id]){throw new Error("Tried to register widget with id=="+_5d.id+" but that id is already registered");}this._hash[_5d.id]=_5d;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_5e,_5f){_5f=_5f||_5a.global;var i=0,id;for(id in this._hash){_5e.call(_5f,this._hash[id],i++,this._hash);}return this;},filter:function(_60,_61){_61=_61||_5a.global;var res=new _5c(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_60.call(_61,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _5c(),id,_62;for(id in this._hash){_62=this._hash[id];if(_62.declaredClass==cls){res.add(_62);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_63,_64){return _58.map(this.toArray(),_63,_64);},every:function(_65,_66){_66=_66||_5a.global;var x=0,i;for(i in this._hash){if(!_65.call(_66,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_67,_68){_68=_68||_5a.global;var x=0,i;for(i in this._hash){if(_67.call(_68,this._hash[i],x++,this._hash)){return true;}}return false;}});_58.forEach(["forEach","filter","byClass","map","every","some"],function(_69){_5b[_69]=_5c.prototype[_69];});return _5c;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_6a,_6b,_6c,_6d,_6e,_6f,_70,_71,_72,_73,_74,dom,_75,_76,xhr,_77,_78){return _73("dijit.layout.ContentPane",[_6c,_6d,_6e],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_6a._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,markupFactory:function(_79,_7a,_7b){var _7c=new _7b(_79,_7a);return !_7c.href&&_7c._contentSetter&&_7c._contentSetter.parseDeferred&&!_7c._contentSetter.parseDeferred.isFulfilled()?_7c._contentSetter.parseDeferred.then(function(){return _7c;}):_7c;},create:function(_7d,_7e){if((!_7d||!_7d.template)&&_7e&&!("href" in _7d)&&!("content" in _7d)){_7e=dom.byId(_7e);var df=_7e.ownerDocument.createDocumentFragment();while(_7e.firstChild){df.appendChild(_7e.firstChild);}_7d=_6b.delegate(_7d,{content:df});}this.inherited(arguments,[_7d,_7e]);},postMixInProperties:function(){this.inherited(arguments);var _7f=_77.getLocalization("dijit","loading",this.lang);this.loadingMessage=_6f.substitute(this.loadingMessage,_7f);this.errorMessage=_6f.substitute(this.errorMessage,_7f);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_72.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_6b.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_72.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_6b.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_72.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&_6b.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(_80){_6a.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",_80);},_setHrefAttr:function(_81){this.cancel();this.onLoadDeferred=new _74(_6b.hitch(this,"cancel"));this.onLoadDeferred.then(_6b.hitch(this,"onLoad"));this._set("href",_81);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(_82){_6a.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",_82);},_setContentAttr:function(_83){this._set("href","");this.cancel();this.onLoadDeferred=new _74(_6b.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(_6b.hitch(this,"onLoad"));}this._setContent(_83||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_84){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _74(_6b.hitch(this,"cancel"));this.onLoadDeferred.then(_6b.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var _85=this;var _86={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(_6b.isObject(this.ioArgs)){_6b.mixin(_86,this.ioArgs);}var _87=(this._xhrDfd=(this.ioMethod||xhr.get)(_86)),_88;_87.then(function(_89){_88=_89;try{_85._isDownloaded=true;return _85._setContent(_89,false);}catch(err){_85._onError("Content",err);}},function(err){if(!_87.canceled){_85._onError("Download",err);}delete _85._xhrDfd;return err;}).then(function(){_85.onDownloadEnd();delete _85._xhrDfd;return _88;});delete this._hrefChanged;},_onLoadHandler:function(_8a){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(_8a);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_8b){if(this.isLoaded){this._onUnloadHandler();}var _8c=this._contentSetter;_72.forEach(this.getChildren(),function(_8d){if(_8d.destroyRecursive){_8d.destroyRecursive(_8b);}else{if(_8d.destroy){_8d.destroy(_8b);}}_8d._destroyed=true;});if(_8c){_72.forEach(_8c.parseResults,function(_8e){if(!_8e._destroyed){if(_8e.destroyRecursive){_8e.destroyRecursive(_8b);}else{if(_8e.destroy){_8e.destroy(_8b);}}_8e._destroyed=true;}});delete _8c.parseResults;}if(!_8b){_76.empty(this.containerNode);}delete this._singleChild;},_setContent:function(_8f,_90){this.destroyDescendants();var _91=this._contentSetter;if(!(_91&&_91 instanceof _70._ContentSetter)){_91=this._contentSetter=new _70._ContentSetter({node:this.containerNode,_onError:_6b.hitch(this,this._onError),onContentError:_6b.hitch(this,function(e){var _92=this.onContentError(e);try{this.containerNode.innerHTML=_92;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _93=_6b.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!_8f.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_91.set((_6b.isObject(_8f)&&_8f.domNode)?_8f.domNode:_8f,_93);var _94=this;return _78(p&&p.then?p:_91.parseDeferred,function(){delete _94._contentSetterParams;if(!_90){if(_94._started){_94._startChildren();_94._scheduleLayout();}_94._onLoadHandler(_8f);}});},_onError:function(_95,err,_96){this.onLoadDeferred.reject(err);var _97=this["on"+_95+"Error"].call(this,err);if(_96){console.error(_96,err);}else{if(_97){this._setContent(_97,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_98,_99,_9a){var _9b={hasWaiRole:function(_9c,_9d){var _9e=this.getWaiRole(_9c);return _9d?(_9e.indexOf(_9d)>-1):(_9e.length>0);},getWaiRole:function(_9f){return _99.trim((_98.get(_9f,"role")||"").replace("wairole:",""));},setWaiRole:function(_a0,_a1){_98.set(_a0,"role",_a1);},removeWaiRole:function(_a2,_a3){var _a4=_98.get(_a2,"role");if(!_a4){return;}if(_a3){var t=_99.trim((" "+_a4+" ").replace(" "+_a3+" "," "));_98.set(_a2,"role",t);}else{_a2.removeAttribute("role");}},hasWaiState:function(_a5,_a6){return _a5.hasAttribute?_a5.hasAttribute("aria-"+_a6):!!_a5.getAttribute("aria-"+_a6);},getWaiState:function(_a7,_a8){return _a7.getAttribute("aria-"+_a8)||"";},setWaiState:function(_a9,_aa,_ab){_a9.setAttribute("aria-"+_aa,_ab);},removeWaiState:function(_ac,_ad){_ac.removeAttribute("aria-"+_ad);}};_99.mixin(_9a,_9b);return _9a;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_ae,on,_af,has,_b0){var _b1=new _ae();var _b2;_af(function(){var _b3=_b0.getBox();_b1._rlh=on(window,"resize",function(){var _b4=_b0.getBox();if(_b3.h==_b4.h&&_b3.w==_b4.w){return;}_b3=_b4;_b1.emit("resize");});if(has("ie")==8){var _b5=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_b5){_b5=screen.deviceXDPI;_b1.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_b2=evt.target;});on(document,"focusout",function(evt){_b2=null;});}});_b1.getEffectiveBox=function(doc){var box=_b0.getBox(doc);var tag=_b2&&_b2.tagName&&_b2.tagName.toLowerCase();if(has("ios")&&_b2&&!_b2.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_b2.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var _b6=_b2.getBoundingClientRect();box.h=Math.max(box.h,_b6.top+_b6.height);}return box;};return _b1;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_b7,_b8,_b9,_ba,has,_bb,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_b8.blankGif||_b7.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_ba.getComputedStyle(div),_bc=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_bc&&(_bc=="none"||_bc=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_bb(function(){if(has("highcontrast")){_b9.add(win.body(),"dj_a11y");}});return has;});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_bd,_be,_bf,_c0,_c1){function _c2(_c3){return _c3.substring(0,1).toUpperCase()+_c3.substring(1);};function _c4(_c5,dim){var _c6=_c5.resize?_c5.resize(dim):_bf.setMarginBox(_c5.domNode,dim);if(_c6){_c1.mixin(_c5,_c6);}else{_c1.mixin(_c5,_bf.getMarginBox(_c5.domNode));_c1.mixin(_c5,dim);}};var _c7={marginBox2contentBox:function(_c8,mb){var cs=_c0.getComputedStyle(_c8);var me=_bf.getMarginExtents(_c8,cs);var pb=_bf.getPadBorderExtents(_c8,cs);return {l:_c0.toPixelValue(_c8,cs.paddingLeft),t:_c0.toPixelValue(_c8,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_c9,dim,_ca,_cb,_cc){dim=_c1.mixin({},dim);_be.add(_c9,"dijitLayoutContainer");_ca=_bd.filter(_ca,function(_cd){return _cd.region!="center"&&_cd.layoutAlign!="client";}).concat(_bd.filter(_ca,function(_ce){return _ce.region=="center"||_ce.layoutAlign=="client";}));_bd.forEach(_ca,function(_cf){var elm=_cf.domNode,pos=(_cf.region||_cf.layoutAlign);if(!pos){throw new Error("No region setting for "+_cf.id);}var _d0=elm.style;_d0.left=dim.l+"px";_d0.top=dim.t+"px";_d0.position="absolute";_be.add(elm,"dijitAlign"+_c2(pos));var _d1={};if(_cb&&_cb==_cf.id){_d1[_cf.region=="top"||_cf.region=="bottom"?"h":"w"]=_cc;}if(pos=="leading"){pos=_cf.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_cf.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_d1.w=dim.w;_c4(_cf,_d1);dim.h-=_cf.h;if(pos=="top"){dim.t+=_cf.h;}else{_d0.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_d1.h=dim.h;_c4(_cf,_d1);dim.w-=_cf.w;if(pos=="left"){dim.l+=_cf.w;}else{_d0.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){_c4(_cf,dim);}}}});}};_c1.setObject("dijit.layout.utils",_c7);return _c7;});},"dijit/_WidgetBase":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_d2,_d3,_d4,_d5,_d6,_d7,dom,_d8,_d9,_da,_db,_dc,has,_dd,_de,on,_df,_e0,_e1,win,_e2,_e3,_e4){has.add("dijit-legacy-requires",!_dd.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_df(0,function(){var _e5=["dijit/_base/manager"];_d2(_e5);});}var _e6={};function _e7(obj){var ret={};for(var _e8 in obj){ret[_e8.toLowerCase()]=true;}return ret;};function _e9(_ea){return function(val){_d8[val?"set":"remove"](this.domNode,_ea,val);this._set(_ea,val);};};function _eb(a,b){return a===b||(a!==a&&b!==b);};var _ec=_d7("dijit._WidgetBase",[_e0,_e2],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_e9("lang"),dir:"",_setDirAttr:_e9("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_d5.blankGif||_d2.toUrl("dojo/resources/blank.gif"),_introspect:function(){var _ed=this.constructor;if(!_ed._setterAttrs){var _ee=_ed.prototype,_ef=_ed._setterAttrs=[],_f0=(_ed._onMap={});for(var _f1 in _ee.attributeMap){_ef.push(_f1);}for(_f1 in _ee){if(/^on/.test(_f1)){_f0[_f1.substring(2).toLowerCase()]=_f1;}if(/^_set[A-Z](.*)Attr$/.test(_f1)){_f1=_f1.charAt(4).toLowerCase()+_f1.substr(5,_f1.length-9);if(!_ee.attributeMap||!(_f1 in _ee.attributeMap)){_ef.push(_f1);}}}}},postscript:function(_f2,_f3){this.create(_f2,_f3);},create:function(_f4,_f5){this._introspect();this.srcNodeRef=dom.byId(_f5);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_f4){this.params=_f4;_de.mixin(this,_f4);}this.postMixInProperties();if(!this.id){this.id=_e4.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_e4.add(this);this.buildRendering();var _f6;if(this.domNode){this._applyAttributes();var _f7=this.srcNodeRef;if(_f7&&_f7.parentNode&&this.domNode!==_f7){_f7.parentNode.replaceChild(this.domNode,_f7);_f6=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_f6){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _f8={};for(var key in this.params||{}){_f8[key]=this._get(key);}_d3.forEach(this.constructor._setterAttrs,function(key){if(!(key in _f8)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _f8){this.set(key,_f8[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _f9=this.baseClass.split(" ");if(!this.isLeftToRight()){_f9=_f9.concat(_d3.map(_f9,function(_fa){return _fa+"Rtl";}));}_d9.add(this.domNode,_f9);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_d3.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_de.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_fb){this._beingDestroyed=true;this.destroyDescendants(_fb);this.destroy(_fb);},destroy:function(_fc){this._beingDestroyed=true;this.uninitialize();function _fd(w){if(w.destroyRecursive){w.destroyRecursive(_fc);}else{if(w.destroy){w.destroy(_fc);}}};_d3.forEach(this._connects,_de.hitch(this,"disconnect"));_d3.forEach(this._supportingWidgets,_fd);if(this.domNode){_d3.forEach(_e4.findWidgets(this.domNode,this.containerNode),_fd);}this.destroyRendering(_fc);_e4.remove(this.id);this._destroyed=true;},destroyRendering:function(_fe){if(this.bgIframe){this.bgIframe.destroy(_fe);delete this.bgIframe;}if(this.domNode){if(_fe){_d8.remove(this.domNode,"widgetId");}else{_da.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_fe){_da.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_ff){_d3.forEach(this.getChildren(),function(_100){if(_100.destroyRecursive){_100.destroyRecursive(_ff);}});},uninitialize:function(){return false;},_setStyleAttr:function(_101){var _102=this.domNode;if(_de.isObject(_101)){_dc.set(_102,_101);}else{if(_102.style.cssText){_102.style.cssText+="; "+_101;}else{_102.style.cssText=_101;}}this._set("style",_101);},_attrToDom:function(attr,_103,_104){_104=arguments.length>=3?_104:this.attributeMap[attr];_d3.forEach(_de.isArray(_104)?_104:[_104],function(_105){var _106=this[_105.node||_105||"domNode"];var type=_105.type||"attribute";switch(type){case "attribute":if(_de.isFunction(_103)){_103=_de.hitch(this,_103);}var _107=_105.attribute?_105.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_106.tagName){_d8.set(_106,_107,_103);}else{_106.set(_107,_103);}break;case "innerText":_106.innerHTML="";_106.appendChild(this.ownerDocument.createTextNode(_103));break;case "innerHTML":_106.innerHTML=_103;break;case "class":_d9.replace(_106,_103,this[attr]);break;}},this);},get:function(name){var _108=this._getAttrNames(name);return this[_108.g]?this[_108.g]():this._get(name);},set:function(name,_109){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _10a=this._getAttrNames(name),_10b=this[_10a.s];if(_de.isFunction(_10b)){var _10c=_10b.apply(this,Array.prototype.slice.call(arguments,1));}else{var _10d=this.focusNode&&!_de.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_10d]&&this[_10d].tagName,_10e=tag&&(_e6[tag]||(_e6[tag]=_e7(this[_10d]))),map=name in this.attributeMap?this.attributeMap[name]:_10a.s in this?this[_10a.s]:((_10e&&_10a.l in _10e&&typeof _109!="function")||/^aria-|^data-|^role$/.test(name))?_10d:null;if(map!=null){this._attrToDom(name,_109,map);}this._set(name,_109);}return _10c||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_10f){var _110=this[name];this[name]=_10f;if(this._created&&!_eb(_110,_10f)){if(this._watchCallbacks){this._watchCallbacks(name,_110,_10f);}this.emit("attrmodified-"+name,{detail:{prevValue:_110,newValue:_10f}});}},_get:function(name){return this[name];},emit:function(type,_111,_112){_111=_111||{};if(_111.bubbles===undefined){_111.bubbles=true;}if(_111.cancelable===undefined){_111.cancelable=true;}if(!_111.detail){_111.detail={};}_111.detail.widget=this;var ret,_113=this["on"+type];if(_113){ret=_113.apply(this,_112?_112:[_111]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_111);}return ret;},on:function(type,func){var _114=this._onMap(type);if(_114){return _d4.after(this,_114,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_e4.findWidgets(this.containerNode):[];},getParent:function(){return _e4.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_115,_116){return this.own(_d6.connect(obj,_115,this,_116))[0];},disconnect:function(_117){_117.remove();},subscribe:function(t,_118){return this.own(_e1.subscribe(t,_de.hitch(this,_118)))[0];},unsubscribe:function(_119){_119.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_db.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_dc.get(this.domNode,"display")!="none");},placeAt:function(_11a,_11b){var _11c=!_11a.tagName&&_e4.byId(_11a);if(_11c&&_11c.addChild&&(!_11b||typeof _11b==="number")){_11c.addChild(this,_11b);}else{var ref=_11c?(_11c.containerNode&&!/after|before|replace/.test(_11b||"")?_11c.containerNode:_11c.domNode):dom.byId(_11a,this.ownerDocument);_da.place(this.domNode,ref,_11b);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_11d){var _11e=setTimeout(_de.hitch(this,function(){if(!_11e){return;}_11e=null;if(!this._destroyed){_de.hitch(this,fcn)();}}),_11d||0);return {remove:function(){if(_11e){clearTimeout(_11e);_11e=null;}return null;}};}});if(has("dojo-bidi")){_ec.extend(_e3);}return _ec;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_11f){return _11f._base;});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_120,_121,keys,lang,on,has,_122){return _120("dijit.form._FormValueMixin",_122,{readOnly:false,_setReadOnlyAttr:function(_123){_121.set(this.focusNode,"readOnly",_123);this._set("readOnly",_123);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_124,_125){this._handleOnChange(_124,_125);},_handleOnChange:function(_126,_127){this._set("value",_126);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_128,_129,_12a,lang,_12b){return _12a("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,contextRequire:null,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_12b.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_12c){this._startupWidgets=_12c;for(var i=0;i<_12c.length;i++){this._processTemplateNode(_12c[i],function(n,p){return n[p];},function(_12d,type,_12e){if(type in _12d){return _12d.connect(_12d,type,_12e);}else{return _12d.on(type,_12e,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_12f,_130,_131){if(_130(_12f,"dojoType")||_130(_12f,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_128.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dijit/_CssStateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_132,_133,dom,_134,has,lang,on,_135,_136,win,_137,_138){var _139=_133("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_132.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes||{}){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_13a){if(!this.disabled){switch(_13a.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",true);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",false);break;}}},_setStateClass:function(){var _13b=this.baseClass.split(" ");function _13c(_13d){_13b=_13b.concat(_132.map(_13b,function(c){return c+_13d;}),"dijit"+_13d);};if(!this.isLeftToRight()){_13c("Rtl");}var _13e=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_13c(_13e);}if(this.state){_13c(this.state);}if(this.selected){_13c("Selected");}if(this._opened){_13c("Opened");}if(this.disabled){_13c("Disabled");}else{if(this.readOnly){_13c("ReadOnly");}else{if(this.active){_13c("Active");}else{if(this.hovering){_13c("Hover");}}}}if(this.focused){_13c("Focused");}var tn=this.stateNode||this.domNode,_13f={};_132.forEach(tn.className.split(" "),function(c){_13f[c]=true;});if("_stateClasses" in this){_132.forEach(this._stateClasses,function(c){delete _13f[c];});}_132.forEach(_13b,function(c){_13f[c]=true;});var _140=[];for(var c in _13f){_140.push(c);}tn.className=_140.join(" ");this._stateClasses=_13b;},_subnodeCssMouseEvent:function(node,_141,evt){if(this.disabled||this.readOnly){return;}function _142(_143){_134.toggle(node,_141+"Hover",_143);};function _144(_145){_134.toggle(node,_141+"Active",_145);};function _146(_147){_134.toggle(node,_141+"Focused",_147);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_142(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_142(false);_144(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_144(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_144(false);break;case "focus":case "focusin":_146(true);break;case "blur":case "focusout":_146(false);break;}},_trackMouseState:function(node,_148){node._cssState=_148;}});_135(function(){function _149(evt,_14a,_14b){if(_14b&&dom.isDescendant(_14b,_14a)){return;}for(var node=_14a;node&&node!=_14b;node=node.parentNode){if(node._cssState){var _14c=_138.getEnclosingWidget(node);if(_14c){if(node==_14c.domNode){_14c._cssMouseEvent(evt);}else{_14c._subnodeCssMouseEvent(node,node._cssState,evt);}}}}};var body=win.body(),_14d;on(body,_136.over,function(evt){_149(evt,evt.target,evt.relatedTarget);});on(body,_136.out,function(evt){_149(evt,evt.target,evt.relatedTarget);});on(body,_137.press,function(evt){_14d=evt.target;_149(evt,_14d);});on(body,_137.release,function(evt){_149(evt,_14d);_14d=null;});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _14e=_138.getEnclosingWidget(node);if(_14e){_14e._subnodeCssMouseEvent(node,node._cssState,evt);}}});});return _139;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_14f,_150,lang,_151,_152){var _153={};_14f.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_153[name]=_151[name];});lang.mixin(_153,{defaultDuration:_150["defaultDuration"]||200});lang.mixin(_152,_153);return _152;});},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_154,_155,_156,_157,_158,lang,on,has){has.add("config-bgIframe",!has("touch"));var _159=new function(){var _15a=[];this.pop=function(){var _15b;if(_15a.length){_15b=_15a.pop();_15b.style.display="";}else{if(has("ie")<9){var burl=_156["dojoBlankHtmlUrl"]||_154.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_15b=document.createElement(html);}else{_15b=_157.create("iframe");_15b.src="javascript:\"\"";_15b.className="dijitBackgroundIframe";_15b.setAttribute("role","presentation");_158.set(_15b,"opacity",0.1);}_15b.tabIndex=-1;}return _15b;};this.push=function(_15c){_15c.style.display="none";_15a.push(_15c);};}();_155.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _15d=(this.iframe=_159.pop());node.appendChild(_15d);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_158.set(_15d,{width:"100%",height:"100%"});}}};lang.extend(_155.BackgroundIframe,{resize:function(node){if(this.iframe){_158.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_159.push(this.iframe);delete this.iframe;}}});return _155.BackgroundIframe;});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_15e,_15f,lang,on,has,_160){var _161=(_160.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_162,node,_163,obj,_164,_165,_166){if(obj!=this._obj){this.stop();this._initialDelay=_165||500;this._subsequentDelay=_164||0.9;this._minDelay=_166||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_162,_163);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_167,_168,_169,_16a,_16b,_16c){var type="keyCode" in _167?"keydown":"charCode" in _167?"keypress":_15f._keypress,attr="keyCode" in _167?"keyCode":"charCode" in _167?"charCode":"charOrCode";var _16d=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_167[attr]&&(_167.ctrlKey===undefined||_167.ctrlKey==evt.ctrlKey)&&(_167.altKey===undefined||_167.altKey==evt.altKey)&&(_167.metaKey===undefined||_167.metaKey==(evt.metaKey||false))&&(_167.shiftKey===undefined||_167.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_161.trigger(evt,_168,node,_169,_167,_16a,_16b,_16c);}else{if(_161._obj==_167){_161.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_161._obj==_167){_161.stop();}}))];return {remove:function(){_15e.forEach(_16d,function(h){h.remove();});}};},addMouseListener:function(node,_16e,_16f,_170,_171,_172){var _173=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_161.trigger(evt,_16e,node,_16f,node,_170,_171,_172);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_161.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_161.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_161.trigger(evt,_16e,node,_16f,node,_170,_171,_172);setTimeout(lang.hitch(this,_161.stop),50);}}))];return {remove:function(){_15e.forEach(_173,function(h){h.remove();});}};},addListener:function(_174,_175,_176,_177,_178,_179,_17a,_17b){var _17c=[this.addKeyListener(_175,_176,_177,_178,_179,_17a,_17b),this.addMouseListener(_174,_177,_178,_179,_17a,_17b)];return {remove:function(){_15e.forEach(_17c,function(h){h.remove();});}};}});return _161;});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_17d,_17e,_17f,_180,_181,lang,_182,has,_183,_184,_185){return _17e("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _186=this.getParent();this._childOfLayoutWidget=_186&&_186.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_184.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _187=[],_188=false;_182("> *",this.containerNode).some(function(node){var _189=_183.byNode(node);if(_189&&_189.resize){_187.push(_189);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_188=true;}}});this._singleChild=_187.length==1&&!_188?_187[0]:null;_17f.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_18a,_18b){this._resizeCalled=true;this._scheduleLayout(_18a,_18b);},_scheduleLayout:function(_18c,_18d){if(this._isShown()){this._layout(_18c,_18d);}else{this._needLayout=true;this._changeSize=_18c;this._resultSize=_18d;}},_layout:function(_18e,_18f){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_18e){_180.setMarginBox(this.domNode,_18e);}var cn=this.containerNode;if(cn===this.domNode){var mb=_18f||{};lang.mixin(mb,_18e||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_180.getMarginBox(cn),mb);}this._contentBox=_185.marginBox2contentBox(cn,mb);}else{this._contentBox=_180.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_180.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _190=this.getChildren(),_191,i=0;while(_191=_190[i++]){if(_191.resize){_191.resize();}}}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_192=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_17f.contains(node,"dijitHidden")&&_192&&_192.style&&(_192.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/_Templated":function(){define(["./_WidgetBase","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/kernel"],function(_193,_194,_195,_196,_197,lang,_198){lang.extend(_193,{waiRole:"",waiState:""});return _197("dijit._Templated",[_194,_195],{widgetsInTemplate:false,constructor:function(){_198.deprecated(this.declaredClass+": dijit._Templated deprecated, use dijit._TemplatedMixin and if necessary dijit._WidgetsInTemplateMixin","","2.0");},_processNode:function(_199,_19a){var ret=this.inherited(arguments);var role=_19a(_199,"waiRole");if(role){_199.setAttribute("role",role);}var _19b=_19a(_199,"waiState");if(_19b){_196.forEach(_19b.split(/\s*,\s*/),function(_19c){if(_19c.indexOf("-")!=-1){var pair=_19c.split("-");_199.setAttribute("aria-"+pair[0],pair[1]);}});}return ret;}});});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_19d,lang,_19e,_19f,_1a0){var _1a1={};_1a1.getViewport=function(){return _19e.getBox();};_1a1.placeOnScreen=_19f.at;_1a1.placeOnScreenAroundElement=function(node,_1a2,_1a3,_1a4){var _1a5;if(lang.isArray(_1a3)){_1a5=_1a3;}else{_1a5=[];for(var key in _1a3){_1a5.push({aroundCorner:key,corner:_1a3[key]});}}return _19f.around(node,_1a2,_1a5,true,_1a4);};_1a1.placeOnScreenAroundNode=_1a1.placeOnScreenAroundElement;_1a1.placeOnScreenAroundRectangle=_1a1.placeOnScreenAroundElement;_1a1.getPopupAroundAlignment=function(_1a6,_1a7){var _1a8={};_19d.forEach(_1a6,function(pos){var ltr=_1a7;switch(pos){case "after":_1a8[_1a7?"BR":"BL"]=_1a7?"BL":"BR";break;case "before":_1a8[_1a7?"BL":"BR"]=_1a7?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_1a8[ltr?"BL":"BR"]=ltr?"TL":"TR";_1a8[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_1a8[ltr?"TL":"TR"]=ltr?"BL":"BR";_1a8[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _1a8;};lang.mixin(_1a0,_1a1);return _1a0;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(_1a9,has,win,_1aa){var _1ab={},hash={};var _1ac={length:0,add:function(_1ad){if(hash[_1ad.id]){throw new Error("Tried to register widget with id=="+_1ad.id+" but that id is already registered");}hash[_1ad.id]=_1ad;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_1ae){var id;do{id=_1ae+"_"+(_1ae in _1ab?++_1ab[_1ae]:_1ab[_1ae]=0);}while(hash[id]);return _1aa._scopeName=="dijit"?id:_1aa._scopeName+"_"+id;},findWidgets:function(root,_1af){var _1b0=[];function _1b1(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _1b2=node.getAttribute("widgetId");if(_1b2){var _1b3=hash[_1b2];if(_1b3){_1b0.push(_1b3);}}else{if(node!==_1af){_1b1(node);}}}}};_1b1(root);return _1b0;},_destroyAll:function(){_1aa._curFocus=null;_1aa._prevFocus=null;_1aa._activeStack=[];_1a9.forEach(_1ac.findWidgets(win.body()),function(_1b4){if(!_1b4._destroyed){if(_1b4.destroyRecursive){_1b4.destroyRecursive();}else{if(_1b4.destroy){_1b4.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_1aa.registry=_1ac;return _1ac;});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_1b5,_1b6,_1b7,_1b8,lang,_1b9,on,has,_1ba,a11y){return _1b6("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_1bb){this._set("disabled",_1bb);_1b7.set(this.focusNode,"disabled",_1bb);if(this.valueNode){_1b7.set(this.valueNode,"disabled",_1bb);}this.focusNode.setAttribute("aria-disabled",_1bb?"true":"false");if(_1bb){this._set("hovering",false);this._set("active",false);var _1bc="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_1b5.forEach(lang.isArray(_1bc)?_1bc:[_1bc],function(_1bd){var node=this[_1bd];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _1be=this.own(on(this.focusNode,"focus",function(){_1bf.remove();_1be.remove();}))[0];var _1c0=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _1bf=this.own(on(this.ownerDocumentBody,_1c0,lang.hitch(this,function(evt){_1bf.remove();_1be.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_1ba.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_1b8.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_1c1,_1c2){if(this._lastValueReported==undefined&&(_1c2===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1c1;}this._pendingOnChange=this._pendingOnChange||(typeof _1c1!=typeof this._lastValueReported)||(this.compare(_1c1,this._lastValueReported)!=0);if((this.intermediateChanges||_1c2||_1c2===undefined)&&this._pendingOnChange){this._lastValueReported=_1c1;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_1c1);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/_AttachMixin":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_1c3,_1c4,_1c5,_1c6,lang,_1c7,on,_1c8,_1c9){var _1ca=lang.delegate(_1c8,{"mouseenter":_1c7.enter,"mouseleave":_1c7.leave,"keypress":_1c5._keypress});var _1cb;var _1cc=_1c6("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_1cd){var node=_1cd;while(true){if(node.nodeType==1&&(this._processTemplateNode(node,function(n,p){return n.getAttribute(p);},this._attach)||this.searchContainerNode)&&node.firstChild){node=node.firstChild;}else{if(node==_1cd){return;}while(!node.nextSibling){node=node.parentNode;if(node==_1cd){return;}}node=node.nextSibling;}}},_processTemplateNode:function(_1ce,_1cf,_1d0){var ret=true;var _1d1=this.attachScope||this,_1d2=_1cf(_1ce,"dojoAttachPoint")||_1cf(_1ce,"data-dojo-attach-point");if(_1d2){var _1d3,_1d4=_1d2.split(/\s*,\s*/);while((_1d3=_1d4.shift())){if(lang.isArray(_1d1[_1d3])){_1d1[_1d3].push(_1ce);}else{_1d1[_1d3]=_1ce;}ret=(_1d3!="containerNode");this._attachPoints.push(_1d3);}}var _1d5=_1cf(_1ce,"dojoAttachEvent")||_1cf(_1ce,"data-dojo-attach-event");if(_1d5){var _1d6,_1d7=_1d5.split(/\s*,\s*/);var trim=lang.trim;while((_1d6=_1d7.shift())){if(_1d6){var _1d8=null;if(_1d6.indexOf(":")!=-1){var _1d9=_1d6.split(":");_1d6=trim(_1d9[0]);_1d8=trim(_1d9[1]);}else{_1d6=trim(_1d6);}if(!_1d8){_1d8=_1d6;}this._attachEvents.push(_1d0(_1ce,_1d6,lang.hitch(_1d1,_1d8)));}}}return ret;},_attach:function(node,type,func){type=type.replace(/^on/,"").toLowerCase();if(type=="dijitclick"){type=_1cb||(_1cb=_1c3("./a11yclick"));}else{type=_1ca[type]||type;}return on(node,type,func);},_detachTemplateNodes:function(){var _1da=this.attachScope||this;_1c4.forEach(this._attachPoints,function(_1db){delete _1da[_1db];});this._attachPoints=[];_1c4.forEach(this._attachEvents,function(_1dc){_1dc.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});lang.extend(_1c9,{dojoAttachEvent:"",dojoAttachPoint:""});return _1cc;});},"dijit/Fieldset":function(){define(["dojo/_base/declare","dojo/query!css2","dijit/TitlePane","dojo/text!./templates/Fieldset.html"],function(_1dd,_1de,_1df,_1e0){return _1dd("dijit.Fieldset",_1df,{baseClass:"dijitFieldset",title:"",open:true,templateString:_1e0,postCreate:function(){if(!this.title){var _1e1=_1de("legend",this.containerNode);if(_1e1.length){this.set("title",_1e1[0].innerHTML);_1e1[0].parentNode.removeChild(_1e1[0]);}}this.inherited(arguments);}});});},"dijit/_BidiMixin":function(){define([],function(){var _1e2={LRM:"‎",LRE:"‪",PDF:"‬",RLM:"‏",RLE:"‫"};return {textDir:"",getTextDir:function(text){return this.textDir=="auto"?this._checkContextual(text):this.textDir;},_checkContextual:function(text){var fdc=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(text);return fdc?(fdc[0]<="z"?"ltr":"rtl"):this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl";},applyTextDir:function(_1e3,text){if(this.textDir){var _1e4=this.textDir;if(_1e4=="auto"){if(typeof text==="undefined"){var _1e5=_1e3.tagName.toLowerCase();text=(_1e5=="input"||_1e5=="textarea")?_1e3.value:_1e3.innerText||_1e3.textContent||"";}_1e4=this._checkContextual(text);}if(_1e3.dir!=_1e4){_1e3.dir=_1e4;}}},enforceTextDirWithUcc:function(_1e6,text){if(this.textDir){if(_1e6){_1e6.originalText=text;}var dir=this.textDir=="auto"?this._checkContextual(text):this.textDir;return (dir=="ltr"?_1e2.LRE:_1e2.RLE)+text+_1e2.PDF;}return text;},restoreOriginalText:function(_1e7){if(_1e7.originalText){_1e7.text=_1e7.originalText;delete _1e7.originalText;}return _1e7;},_setTextDirAttr:function(_1e8){if(!this._created||this.textDir!=_1e8){this._set("textDir",_1e8);var node=null;if(this.displayNode){node=this.displayNode;this.displayNode.align=this.dir=="rtl"?"right":"left";}else{node=this.textDirNode||this.focusNode||this.textbox;}if(node){this.applyTextDir(node);}}}};});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_1e9,_1ea,_1eb,_1ec,win,_1ed,_1ee){function _1ef(node,_1f0,_1f1,_1f2){var view=_1ed.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_1e9.some(_1f0,function(_1f3){var _1f4=_1f3.corner;var pos=_1f3.pos;var _1f5=0;var _1f6={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_1f4.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_1f4.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_1f1){var res=_1f1(node,_1f3.aroundCorner,_1f4,_1f6,_1f2);_1f5=typeof res=="undefined"?0:res;}var _1f7=node.style;var _1f8=_1f7.display;var _1f9=_1f7.visibility;if(_1f7.display=="none"){_1f7.visibility="hidden";_1f7.display="";}var bb=_1ea.position(node);_1f7.display=_1f8;_1f7.visibility=_1f9;var _1fa={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_1f4.charAt(1)],_1fb={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_1f4.charAt(0)],_1fc=Math.max(view.l,_1fa),_1fd=Math.max(view.t,_1fb),endX=Math.min(view.l+view.w,_1fa+bb.w),endY=Math.min(view.t+view.h,_1fb+bb.h),_1fe=endX-_1fc,_1ff=endY-_1fd;_1f5+=(bb.w-_1fe)+(bb.h-_1ff);if(best==null||_1f5<best.overflow){best={corner:_1f4,aroundCorner:_1f3.aroundCorner,x:_1fc,y:_1fd,w:_1fe,h:_1ff,overflow:_1f5,spaceAvailable:_1f6};}return !_1f5;});if(best.overflow&&_1f1){_1f1(node,best.aroundCorner,best.corner,best.spaceAvailable,_1f2);}var top=best.y,side=best.x,body=win.body(node.ownerDocument);if(/relative|absolute/.test(_1eb.get(body,"position"))){top-=_1eb.get(body,"marginTop");side-=_1eb.get(body,"marginLeft");}var s=node.style;s.top=top+"px";s.left=side+"px";s.right="auto";return best;};var _200={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _201={at:function(node,pos,_202,_203,_204){var _205=_1e9.map(_202,function(_206){var c={corner:_206,aroundCorner:_200[_206],pos:{x:pos.x,y:pos.y}};if(_203){c.pos.x+=_206.charAt(1)=="L"?_203.x:-_203.x;c.pos.y+=_206.charAt(0)=="T"?_203.y:-_203.y;}return c;});return _1ef(node,_205,_204);},around:function(node,_207,_208,_209,_20a){var _20b;if(typeof _207=="string"||"offsetWidth" in _207||"ownerSVGElement" in _207){_20b=_1ea.position(_207,true);if(/^(above|below)/.test(_208[0])){var _20c=_1ea.getBorderExtents(_207),_20d=_207.firstChild?_1ea.getBorderExtents(_207.firstChild):{t:0,l:0,b:0,r:0},_20e=_1ea.getBorderExtents(node),_20f=node.firstChild?_1ea.getBorderExtents(node.firstChild):{t:0,l:0,b:0,r:0};_20b.y+=Math.min(_20c.t+_20d.t,_20e.t+_20f.t);_20b.h-=Math.min(_20c.t+_20d.t,_20e.t+_20f.t)+Math.min(_20c.b+_20d.b,_20e.b+_20f.b);}}else{_20b=_207;}if(_207.parentNode){var _210=_1eb.getComputedStyle(_207).position=="absolute";var _211=_207.parentNode;while(_211&&_211.nodeType==1&&_211.nodeName!="BODY"){var _212=_1ea.position(_211,true),pcs=_1eb.getComputedStyle(_211);if(/relative|absolute/.test(pcs.position)){_210=false;}if(!_210&&/hidden|auto|scroll/.test(pcs.overflow)){var _213=Math.min(_20b.y+_20b.h,_212.y+_212.h);var _214=Math.min(_20b.x+_20b.w,_212.x+_212.w);_20b.x=Math.max(_20b.x,_212.x);_20b.y=Math.max(_20b.y,_212.y);_20b.h=_213-_20b.y;_20b.w=_214-_20b.x;}if(pcs.position=="absolute"){_210=true;}_211=_211.parentNode;}}var x=_20b.x,y=_20b.y,_215="w" in _20b?_20b.w:(_20b.w=_20b.width),_216="h" in _20b?_20b.h:(_1ec.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_20b.height+", width:"+_215+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_20b.height+", w:"+_215+" }","","2.0"),_20b.h=_20b.height);var _217=[];function push(_218,_219){_217.push({aroundCorner:_218,corner:_219,pos:{x:{"L":x,"R":x+_215,"M":x+(_215>>1)}[_218.charAt(1)],y:{"T":y,"B":y+_216,"M":y+(_216>>1)}[_218.charAt(0)]}});};_1e9.forEach(_208,function(pos){var ltr=_209;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _21a=_1ef(node,_217,_20a,{w:_215,h:_216});_21a.aroundNodePos=_20b;return _21a;}};return _1ee.place=_201;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_21b,has,_21c,_21d){return _21b("dijit.form._FormValueWidget",[_21c,_21d],{_layoutHackIE7:function(){if(has("ie")==7){var _21e=this.domNode;var _21f=_21e.parentNode;var _220=_21e.firstChild||_21e;var _221=_220.style.filter;var _222=this;while(_21f&&_21f.clientHeight==0){(function ping(){var _223=_222.connect(_21f,"onscroll",function(){_222.disconnect(_223);_220.style.filter=(new Date()).getMilliseconds();_222.defer(function(){_220.style.filter=_221;});});})();_21f=_21f.parentNode;}}}});});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_224,keys,_225,has,_226){var ret=_225("dijit._OnDijitClickMixin",null,{connect:function(obj,_227,_228){return this.inherited(arguments,[obj,_227=="ondijitclick"?_226:_227,_228]);}});ret.a11yclick=_226;return ret;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(keys,_229,on,_22a){function _22b(e){if((e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var node=e.target;node;node=node.parentNode){if(node.dojoClick){return true;}}}};var _22c;on(document,"keydown",function(e){if(_22b(e)){_22c=e.target;e.preventDefault();}else{_22c=null;}});on(document,"keyup",function(e){if(_22b(e)&&e.target==_22c){_22c=null;on.emit(e.target,"click",{cancelable:true,bubbles:true,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type});}});var _22d=function(node,_22e){node.dojoClick=true;return on(node,"click",_22e);};_22d.click=_22d;_22d.press=function(node,_22f){var _230=on(node,_22a.press,function(evt){if(evt.type=="mousedown"&&!_229.isLeft(evt)){return;}_22f(evt);}),_231=on(node,"keydown",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_22f(evt);}});return {remove:function(){_230.remove();_231.remove();}};};_22d.release=function(node,_232){var _233=on(node,_22a.release,function(evt){if(evt.type=="mouseup"&&!_229.isLeft(evt)){return;}_232(evt);}),_234=on(node,"keyup",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_232(evt);}});return {remove:function(){_233.remove();_234.remove();}};};_22d.move=_22a.move;return _22d;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_235,has,_236,win){_236(function(){if(has("highcontrast")){_235.add(win.body(),"dijit_a11y");}});return has;});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_237,_238,_239,lang,on,has,_23a,_23b){var _23c=_238("dijit._TemplatedMixin",_23b,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(tmpl){var _23d=this.declaredClass,_23e=this;return _23a.substitute(tmpl,this,function(_23f,key){if(key.charAt(0)=="!"){_23f=lang.getObject(key.substr(1),false,_23e);}if(typeof _23f=="undefined"){throw new Error(_23d+" template:"+key);}if(_23f==null){return "";}return key.charAt(0)=="!"?_23f:_23f.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_237(this.templatePath,{sanitize:true});}var _240=_23c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_240)){node=_239.toDom(this._stringRepl(_240),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_240);}}else{node=_240.cloneNode(true);}this.domNode=node;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_241){var dest=this.containerNode;if(_241&&dest){while(_241.hasChildNodes()){dest.appendChild(_241.firstChild);}}}});_23c._templateCache={};_23c.getCachedTemplate=function(_242,_243,doc){var _244=_23c._templateCache;var key=_242;var _245=_244[key];if(_245){try{if(!_245.ownerDocument||_245.ownerDocument==(doc||document)){return _245;}}catch(e){}_239.destroy(_245);}_242=_23a.trim(_242);if(_243||_242.match(/\$\{([^\}]+)\}/g)){return (_244[key]=_242);}else{var node=_239.toDom(_242,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_242);}return (_244[key]=node);}};if(has("ie")){on(window,"unload",function(){var _246=_23c._templateCache;for(var key in _246){var _247=_246[key];if(typeof _247=="object"){_239.destroy(_247);}delete _246[key];}});}return _23c;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_248,dom,lang,has,_249,_24a){var _24b=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _24c="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _24d=oSel.getRangeAt(0);if((_24d.startContainer==_24d.endContainer)&&((_24d.endOffset-_24d.startOffset)==1)&&(_24d.startContainer.nodeType!=3)){_24c="control";}}return _24c;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _24e=win.getSelection();return _24e?_24e.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _24f=win.getSelection();if(_24f&&_24f.rangeCount){var i;var html="";for(i=0;i<_24f.rangeCount;i++){var frag=_24f.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _250=win.getSelection();return _250.anchorNode.childNodes[_250.anchorOffset];}else{var _251=doc.selection.createRange();if(_251&&_251.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _252=doc.getSelection();if(_252){var node=_252.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_253){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_254){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _255=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _256=String(tags[i]).toLowerCase();if(_255==_256){return _256;}}}return "";};this.getParentOfType=function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;};this.collapse=function(_257){if(doc.getSelection){var _258=win.getSelection();if(_258.removeAllRanges){if(_257){_258.collapseToStart();}else{_258.collapseToEnd();}}else{_258.collapse(_257);}}else{var _259=doc.selection.createRange();_259.collapse(_257);_259.select();}};this.remove=function(){var sel=doc.selection;if(doc.getSelection){sel=win.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}};this.selectElementChildren=function(_25a,_25b){var _25c;_25a=dom.byId(_25a);if(doc.getSelection){var _25d=win.getSelection();if(has("opera")){if(_25d.rangeCount){_25c=_25d.getRangeAt(0);}else{_25c=doc.createRange();}_25c.setStart(_25a,0);_25c.setEnd(_25a,(_25a.nodeType==3)?_25a.length:_25a.childNodes.length);_25d.addRange(_25c);}else{_25d.selectAllChildren(_25a);}}else{_25c=_25a.ownerDocument.body.createTextRange();_25c.moveToElementText(_25a);if(!_25b){try{_25c.select();}catch(e){}}}};this.selectElement=function(_25e,_25f){var _260;_25e=dom.byId(_25e);if(doc.getSelection){var _261=doc.getSelection();_260=doc.createRange();if(_261.removeAllRanges){if(has("opera")){if(_261.getRangeAt(0)){_260=_261.getRangeAt(0);}}_260.selectNode(_25e);_261.removeAllRanges();_261.addRange(_260);}}else{try{var tg=_25e.tagName?_25e.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_260=_249.body(doc).createControlRange();}else{_260=_249.body(doc).createRange();}_260.addElement(_25e);if(!_25f){_260.select();}}catch(e){this.selectElementChildren(_25e,_25f);}}};this.inSelection=function(node){if(node){var _262;var _263;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_263=sel.getRangeAt(0);}if(_263&&_263.compareBoundaryPoints&&doc.createRange){try{_262=doc.createRange();_262.setStart(node,0);if(_263.compareBoundaryPoints(_263.START_TO_END,_262)===1){return true;}}catch(e){}}}else{_263=doc.selection.createRange();try{_262=node.ownerDocument.body.createTextRange();_262.moveToElementText(node);}catch(e2){}if(_263&&_262){if(_263.compareEndPoints("EndToStart",_262)===1){return true;}}}}return false;},this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_24a.curNode;if(doc.getSelection){sel=win.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;};this.moveToBookmark=function(_264){var mark=_264.mark;if(mark){if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(doc.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=doc.body.createControlRange();_248.forEach(mark,function(n){rg.addElement(n);});}else{rg=doc.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}};this.isCollapsed=function(){return this.getBookmark().isCollapsed;};};var _265=new _24b(window);_265.SelectionManager=_24b;return _265;});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_266,has,_267,_268,_269,_26a,_26b,_26c){if(has("dijit-legacy-requires")){_268(0,function(){var _26d=["dijit/form/_FormValueWidget"];require(_26d);});}return _266("dijit.form._FormWidget",[_269,_26b,_26a,_26c],{setDisabled:function(_26e){_267.deprecated("setDisabled("+_26e+") is deprecated. Use set('disabled',"+_26e+") instead.","","2.0");this.set("disabled",_26e);},setValue:function(_26f){_267.deprecated("dijit.form._FormWidget:setValue("+_26f+") is deprecated.  Use set('value',"+_26f+") instead.","","2.0");this.set("value",_26f);},getValue:function(){_267.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_270,dom,lang,_271,win,_272,_273,_274){var _275={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _274.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_273:new _273.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_276){var sel=win.global==window?_273:new _273.SelectionManager(win.global);return sel.moveToBookmark(_276);},getFocus:function(menu,_277){var node=!_272.curNode||(menu&&dom.isDescendant(_272.curNode,menu.domNode))?_274._prevFocus:_272.curNode;return {node:node,bookmark:node&&(node==_272.curNode)&&win.withGlobal(_277||win.global,_274.getBookmark),openedForWindow:_277};},_activeStack:[],registerIframe:function(_278){return _272.registerIframe(_278);},unregisterIframe:function(_279){_279&&_279.remove();},registerWin:function(_27a,_27b){return _272.registerWin(_27a,_27b);},unregisterWin:function(_27c){_27c&&_27c.remove();}};_272.focus=function(_27d){if(!_27d){return;}var node="node" in _27d?_27d.node:_27d,_27e=_27d.bookmark,_27f=_27d.openedForWindow,_280=_27e?_27e.isCollapsed:false;if(node){var _281=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_281&&_281.focus){try{_281.focus();}catch(e){}}_272._onFocusNode(node);}if(_27e&&win.withGlobal(_27f||win.global,_274.isCollapsed)&&!_280){if(_27f){_27f.focus();}try{win.withGlobal(_27f||win.global,_274.moveToBookmark,null,[_27e]);}catch(e2){}}};_272.watch("curNode",function(name,_282,_283){_274._curFocus=_283;_274._prevFocus=_282;if(_283){_271.publish("focusNode",_283);}});_272.watch("activeStack",function(name,_284,_285){_274._activeStack=_285;});_272.on("widget-blur",function(_286,by){_271.publish("widgetBlur",_286,by);});_272.on("widget-focus",function(_287,by){_271.publish("widgetFocus",_287,by);});lang.mixin(_274,_275);return _274;});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_288,_289,_28a,_28b,_28c,_28d,_28e,_28f){return _28c("dijit.layout._LayoutWidget",[_288,_289,_28a],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_28d.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _290=this.getParent&&this.getParent();if(!(_290&&_290.isLayoutContainer)){this.resize();this.own(_28b.on("resize",lang.hitch(this,"resize")));}},resize:function(_291,_292){var node=this.domNode;if(_291){_28e.setMarginBox(node,_291);}var mb=_292||{};lang.mixin(mb,_291||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_28e.getMarginBox(node),mb);}var cs=_28f.getComputedStyle(node);var me=_28e.getMarginExtents(node,cs);var be=_28e.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_28e.getPadExtents(node,cs);this._contentBox={l:_28f.toPixelValue(node,cs.paddingLeft),t:_28f.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_293){var cls=this.baseClass+"-child "+(_293.baseClass?this.baseClass+"-"+_293.baseClass:"");_28d.add(_293.domNode,cls);},addChild:function(_294,_295){this.inherited(arguments);if(this._started){this._setupChild(_294);}},removeChild:function(_296){var cls=this.baseClass+"-child"+(_296.baseClass?" "+this.baseClass+"-"+_296.baseClass:"");_28d.remove(_296.domNode,cls);this.inherited(arguments);}});});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_297,_298,_299,_29a,has,_29b,lang,_29c,_29d,_29e,_29f,_2a0,_2a1){function _2a2(){};function _2a3(_2a4){return function(obj,_2a5,_2a6,_2a7){if(obj&&typeof _2a5=="string"&&obj[_2a5]==_2a2){return obj.on(_2a5.substring(2).toLowerCase(),lang.hitch(_2a6,_2a7));}return _2a4.apply(_299,arguments);};};_297.around(_299,"connect",_2a3);if(_29b.connect){_297.around(_29b,"connect",_2a3);}var _2a8=_29a("dijit._Widget",[_29f,_2a0,_2a1],{onClick:_2a2,onDblClick:_2a2,onKeyDown:_2a2,onKeyPress:_2a2,onKeyUp:_2a2,onMouseDown:_2a2,onMouseMove:_2a2,onMouseOut:_2a2,onMouseOver:_2a2,onMouseLeave:_2a2,onMouseEnter:_2a2,onMouseUp:_2a2,constructor:function(_2a9){this._toConnect={};for(var name in _2a9){if(this[name]===_2a2){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_2a9[name];delete _2a9[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_2a2){return _299.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_2aa){_29b.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_2aa);},attr:function(name,_2ab){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_29b.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_29c("[widgetId]",this.containerNode).map(_29e.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_29d(0,function(){var _2ac=["dijit/_base"];require(_2ac);});}return _2a8;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_2ad,_2ae,_2af,lang){lang.extend(_2ae,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _2af("dijit._FocusMixin",null,{_focusManager:_2ad});});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_2b0,_2b1,dom,_2b2,_2b3,_2b4,_2b5,lang,on,_2b6,has,_2b7,win,_2b8,a11y,_2b9,_2ba){var _2bb;var _2bc=_2b1([_2b7,_2b5],{curNode:null,activeStack:[],constructor:function(){var _2bd=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_2b0.before(_2b4,"empty",_2bd);_2b0.before(_2b4,"destroy",_2bd);},registerIframe:function(_2be){return this.registerWin(_2be.contentWindow,_2be);},registerWin:function(_2bf,_2c0){var _2c1=this,body=_2bf.document&&_2bf.document.body;if(body){var mdh=on(_2bf.document,"mousedown, touchstart",function(evt){_2c1._justMouseDowned=true;setTimeout(function(){_2c1._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_2c1._onTouchNode(_2c0||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){_2bb=(new Date()).getTime();if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_2c1._onFocusNode(_2c0||evt.target);}else{_2c1._onTouchNode(_2c0||evt.target);}});var foh=on(body,"focusout",function(evt){if((new Date()).getTime()<_2bb+100){return;}_2c1._onBlurNode(_2c0||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_2b3.contains(node,"dijitPopup")){node=node.firstChild;}var _2c2=[];try{while(node){var _2c3=_2b2.get(node,"dijitPopupParent");if(_2c3){node=_2b9.byId(_2c3).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_2b8.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_2c4=id&&_2b9.byId(id);if(_2c4&&!(by=="mouse"&&_2c4.get("disabled"))){_2c2.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_2c2,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_2c5,by){var _2c6=this.activeStack,_2c7=_2c6.length-1,_2c8=_2c5.length-1;if(_2c5[_2c8]==_2c6[_2c7]){return;}this.set("activeStack",_2c5);var _2c9,i;for(i=_2c7;i>=0&&_2c6[i]!=_2c5[i];i--){_2c9=_2b9.byId(_2c6[i]);if(_2c9){_2c9._hasBeenBlurred=true;_2c9.set("focused",false);if(_2c9._focusManager==this){_2c9._onBlur(by);}this.emit("widget-blur",_2c9,by);}}for(i++;i<=_2c8;i++){_2c9=_2b9.byId(_2c5[i]);if(_2c9){_2c9.set("focused",true);if(_2c9._focusManager==this){_2c9._onFocus(by);}this.emit("widget-focus",_2c9,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _2ca=new _2bc();_2b6(function(){var _2cb=_2ca.registerWin(_2b8.get(document));if(has("ie")){on(window,"unload",function(){if(_2cb){_2cb.remove();_2cb=null;}});}});_2ba.focus=function(node){_2ca.focus(node);};for(var attr in _2ca){if(!/^_/.test(attr)){_2ba.focus[attr]=typeof _2ca[attr]=="function"?lang.hitch(_2ca,attr):_2ca[attr];}}_2ca.watch(function(attr,_2cc,_2cd){_2ba.focus[attr]=_2cd;});return _2ca;});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_2ce,_2cf){return _2ce("dijit._Contained",null,{_getSibling:function(_2d0){var node=this.domNode;do{node=node[_2d0+"Sibling"];}while(node&&node.nodeType!=1);return node&&_2cf.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/_base/scroll":function(){define(["dojo/window","../main"],function(_2d1,_2d2){_2d2.scrollIntoView=function(node,pos){_2d1.scrollIntoView(node,pos);};});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_2d3,_2d4,_2d5){return _2d5("dijit.Destroyable",null,{destroy:function(_2d6){this._destroyed=true;},own:function(){_2d3.forEach(arguments,function(_2d7){var _2d8="destroyRecursive" in _2d7?"destroyRecursive":"destroy" in _2d7?"destroy":"remove";var odh=_2d4.before(this,"destroy",function(_2d9){_2d7[_2d8](_2d9);});var hdh=_2d4.after(_2d7,_2d8,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_2da,_2db){_2db.getDocumentWindow=function(doc){return _2da.get(doc);};});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_2dc,dojo,_2dd,_2de,_2df,dom,_2e0,geom,_2e1,_2e2){if(!dojo.isAsync){_2e1(0,function(){var _2e3=["./fx/Toggler"];_2e2(_2e3);});}var _2e4=dojo.fx={};var _2e5={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _2e6=function(_2e7){this._index=-1;this._animations=_2e7||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_2dd.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_2e6.prototype=new _2dc();lang.extend(_2e6,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_2de.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_2de.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_2e8,_2e9){if(!this._current){this._current=this._animations[this._index=0];}if(!_2e9&&this._current.status()=="playing"){return this;}var _2ea=_2de.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_2eb=_2de.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_2ec=_2de.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_2ea.remove();_2eb.remove();_2ec.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_2de.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_2de.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_2de.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_2ed,_2ee){this.pause();var _2ef=this.duration*_2ed;this._current=null;_2dd.some(this._animations,function(a){if(a.duration<=_2ef){this._current=a;return true;}_2ef-=a.duration;return false;});if(this._current){this._current.gotoPercent(_2ef/this._current.duration,_2ee);}return this;},stop:function(_2f0){if(this._current){if(_2f0){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_2de.after(this._current,"onStop",lang.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_2e6,_2e5);_2e4.chain=function(_2f1){return new _2e6(_2f1);};var _2f2=function(_2f3){this._animations=_2f3||[];this._connects=[];this._finished=0;this.duration=0;_2dd.forEach(_2f3,function(a){var _2f4=a.duration;if(a.delay){_2f4+=a.delay;}if(this.duration<_2f4){this.duration=_2f4;}this._connects.push(_2de.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _2df.Animation({curve:[0,1],duration:this.duration});var self=this;_2dd.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_2de.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_2f2,{_doAction:function(_2f5,args){_2dd.forEach(this._animations,function(a){a[_2f5].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_2f6,args){var t=this._pseudoAnimation;t[_2f6].apply(t,args);},play:function(_2f7,_2f8){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_2f9,_2fa){var ms=this.duration*_2f9;_2dd.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_2fa);});this._call("gotoPercent",arguments);return this;},stop:function(_2fb){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_2dd.forEach(this._connects,function(_2fc){_2fc.remove();});}});lang.extend(_2f2,_2e5);_2e4.combine=function(_2fd){return new _2f2(_2fd);};_2e4.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_2df.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _2fe=_2e0.get(node,"height");return Math.max(_2fe,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_2de.after(anim,"onStop",fini,true);_2de.after(anim,"onEnd",fini,true);return anim;};_2e4.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_2df.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_2de.after(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_2de.after(anim,"onStop",fini,true);_2de.after(anim,"onEnd",fini,true);return anim;};_2e4.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_2e0.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_2df.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_2de.after(anim,"beforeBegin",init,true);return anim;};return _2e4;});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/TitlePane":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager","./a11yclick"],function(_2ff,_300,dom,_301,_302,_303,_304,has,_305,keys,_306,_307,_308,_309,_30a){var _30b=_300("dijit.TitlePane",[_308,_307,_306],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_30a.defaultDuration,baseClass:"dijitTitlePane",templateString:_309,doLayout:false,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,this.baseClass+"Title");}var _30c=this.hideNode,_30d=this.wipeNode;this._wipeIn=_304.wipeIn({node:_30d,duration:this.duration,beforeBegin:function(){_30c.style.display="";}});this._wipeOut=_304.wipeOut({node:_30d,duration:this.duration,onEnd:function(){_30c.style.display="none";}});},_setOpenAttr:function(open,_30e){_2ff.forEach([this._wipeIn,this._wipeOut],function(_30f){if(_30f&&_30f.status()=="playing"){_30f.stop();}});if(_30e){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_310){this.focusNode.setAttribute("role",_310?"button":"heading");if(_310){this.focusNode.setAttribute("aria-controls",this.id+"_pane");this.focusNode.setAttribute("tabIndex",this.tabIndex);this.focusNode.setAttribute("aria-pressed",this.open);}else{_301.remove(this.focusNode,"aria-controls");_301.remove(this.focusNode,"tabIndex");_301.remove(this.focusNode,"aria-pressed");}this._set("toggleable",_310);this._setCss();},_setContentAttr:function(_311){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_303.setMarginBox(this.wipeNode,{h:_303.getMarginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){this._setOpenAttr(!this.open,true);},_setCss:function(){var node=this.titleBarNode||this.focusNode;var _312=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_302.replace(node,this._titleBarClass,_312||"");_302.replace(node,this._titleBarClass.replace("TitlePaneTitle",""),(_312||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_313){_305.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_313);}});if(has("dojo-bidi")){_30b.extend({_setTitleAttr:function(_314){this._set("title",_314);this.titleNode.innerHTML=_314;this.applyTextDir(this.titleNode);},_setTooltipAttr:function(_315){this._set("tooltip",_315);if(this.textDir){_315=this.enforceTextDirWithUcc(null,_315);}_301.set(this.focusNode,"title",_315);},_setTextDirAttr:function(_316){if(this._created&&this.textDir!=_316){this._set("textDir",_316);this.set("title",this.title);this.set("tooltip",this.tooltip);}}});}return _30b;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_317,win,_318){var _319=_318._createWrapper;_318._createWrapper=function(_31a){if(!_31a.declaredClass){_31a={_popupWrapper:(_31a.parentNode&&_317.contains(_31a.parentNode,"dijitPopup"))?_31a.parentNode:null,domNode:_31a,destroy:function(){},ownerDocument:_31a.ownerDocument,ownerDocumentBody:win.body(_31a.ownerDocument)};}return _319.call(this,_31a);};var _31b=_318.open;_318.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _31b.call(this,args);};return _318;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_31c,_31d,_31e,_31f){return _31d("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_320,_321){var _322=this.containerNode;if(_321>0){_322=_322.firstChild;while(_321>0){if(_322.nodeType==1){_321--;}_322=_322.nextSibling;}if(_322){_321="before";}else{_322=this.containerNode;_321="last";}}_31e.place(_320.domNode,_322,_321);if(this._started&&!_320._started){_320.startup();}},removeChild:function(_323){if(typeof _323=="number"){_323=this.getChildren()[_323];}if(_323){var node=_323.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_324,dir){_31f.deprecated(this.declaredClass+"::_getSiblingOfChild() is deprecated. Use _KeyNavMixin::_getNext() instead.","","2.0");var _325=this.getChildren(),idx=_31c.indexOf(_325,_324);return _325[idx+dir];},getIndexOfChild:function(_326){return _31c.indexOf(this.getChildren(),_326);}});});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"ondijitclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\" id=\"${id}_titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<span data-dojo-attach-point=\"arrowNode\" class=\"dijitInline dijitArrowNode\" role=\"presentation\"></span\n\t\t\t><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\" aria-labelledby=\"${id}_titleBarNode\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","url:dijit/templates/Fieldset.html":"<fieldset>\n\t<legend data-dojo-attach-event=\"ondijitclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tdata-dojo-attach-point=\"titleBarNode, titleNode\">\n\t\t<span data-dojo-attach-point=\"arrowNode\" class=\"dijitInline dijitArrowNode\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t><span data-dojo-attach-point=\"titleNode, focusNode\" class=\"dijitFieldsetLegendNode\" id=\"${id}_titleNode\"></span>\n\t</legend>\n\t<div class=\"dijitFieldsetContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitFieldsetContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\"\n\t\t\t\t \tid=\"${id}_pane\" aria-labelledby=\"${id}_titleNode\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</fieldset>\n","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/dijit*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_327){return _327;});require(["dijit/dijit","dijit/_Templated","dijit/Fieldset","dijit/_BidiMixin"]);
}catch(e){console.log("Module 'dijit_19': ",e);}
try{/*
	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{//>>built
define("dijit/nls/_dijit_layout_basic_en",{"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Cancel","_localized":{},"buttonSave":"Save","itemClose":"Close"}});
}catch(e){console.log("Module 'dijit_layout_basic_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9,_a,_b){var _c=_1("dijit.DialogUnderlay",[_7,_8],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_4.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_d){this.node.className="dijitDialogUnderlay "+_d;this._set("class",_d);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_2.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _e=_6.getBox(this.ownerDocument);os.top=_e.t+"px";os.left=_e.l+"px";is.width=_e.w+"px";is.height=_e.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _9(this.domNode);var _f=_6.get(this.ownerDocument);this._modalConnects=[_a.on("resize",_2.hitch(this,"layout")),on(_f,"scroll",_2.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_c.show=function(_10,_11){var _12=_c._singleton;if(!_12||_12._destroyed){_12=_b._underlay=_c._singleton=new _c(_10);}else{if(_10){_12.set(_10);}}_5.set(_12.domNode,"zIndex",_11);if(!_12.open){_12.show();}};_c.hide=function(){var _13=_c._singleton;if(_13&&!_13._destroyed){_13.hide();}};return _c;});},"dojo/request":function(){define(["./request/default!"],function(_14){return _14;});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","dojo/text!./templates/Dialog.html","dojo/i18n!./nls/common"],function(_15,_16,_17,_18,_19,dom,_1a,_1b,_1c,fx,_1d,_1e,_1f,on,_20,has,_21,_22,_23,_24,_25,_26,_27,_28,_29,_2a,_2b,_2c,_2d){var _2e=_18("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_27,_29,_2a,_28],{templateString:_2d,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_25.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _2f=_1d.getLocalization("dijit","common");_1f.mixin(this,_2f);this.inherited(arguments);},postCreate:function(){_1c.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_17.after(this,"onExecute",_1f.hitch(this,"hide"),true);_17.after(this,"onCancel",_1f.hitch(this,"hide"),true);this._modalconnects=[];},onLoad:function(){this._size();this._position();if(this.autofocus&&_30.isTop(this)){this._getFocusItems(this.domNode);_24.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems(this.domNode);_24.focus(this._firstFocusItem);},_endDrag:function(){var _31=_1b.position(this.domNode),_32=_21.getBox(this.ownerDocument);_31.y=Math.min(Math.max(_31.y,0),(_32.h-_31.h));_31.x=Math.min(Math.max(_31.x,0),(_32.w-_31.w));this._relativePosition=_31;this._position();},_setup:function(){var _33=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_23:_22)(_33,{handle:this.titleBar});_17.after(this._moveable,"onMoveStop",_1f.hitch(this,"_endDrag"),true);}else{_1a.add(_33,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_16.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:_1f.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}else{_1c.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_1b.position(this.domNode);var _34=_21.getBox(this.ownerDocument);_34.w*=this.maxRatio;_34.h*=this.maxRatio;if(bb.w>=_34.w||bb.h>=_34.h){var _35=_1b.position(this.containerNode),w=Math.min(bb.w,_34.w)-(bb.w-_35.w),h=Math.min(bb.h,_34.h)-(bb.h-_35.h);if(this._singleChild&&this._singleChild.resize){if(typeof this._singleChildOriginalStyle=="undefined"){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;}this._singleChild.resize({w:w,h:h});}else{_1c.set(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!_1a.contains(this.ownerDocumentBody,"dojoMove")){var _36=this.domNode,_37=_21.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_1b.position(_36),l=Math.floor(_37.l+(p?p.x:(_37.w-bb.w)/2)),t=Math.floor(_37.t+(p?p.y:(_37.h-bb.h)/2));_1c.set(_36,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==_1e.TAB){this._getFocusItems(this.domNode);var _38=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(_38==this._firstFocusItem&&evt.shiftKey){_24.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(_38==this._lastFocusItem&&!evt.shiftKey){_24.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==_1e.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_30.hide(this);}var win=_21.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",_1f.hitch(this,"resize")));this._modalconnects.push(on(this.domNode,"keydown",_1f.hitch(this,"_onKey")));_1c.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _39;this._fadeInDeferred=new _19(_1f.hitch(this,function(){_39.stop();delete this._fadeInDeferred;}));var _3a=this._fadeInDeferred.promise;_39=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_1f.hitch(this,function(){_30.show(this,this.underlayAttrs);}),onEnd:_1f.hitch(this,function(){if(this.autofocus&&_30.isTop(this)){this._getFocusItems(this.domNode);_24.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _3a;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _3b;this._fadeOutDeferred=new _19(_1f.hitch(this,function(){_3b.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(_1f.hitch(this,"onHide"));var _3c=this._fadeOutDeferred.promise;_3b=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_1f.hitch(this,function(){this.domNode.style.display="none";_30.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _3c;},resize:function(){if(this.domNode.style.display!="none"){this._size();if(!has("touch")){this._position();}}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_30.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_2e=_18("dijit._DialogBase",_2e,{_setTitleAttr:function(_3d){this._set("title",_3d);this.titleNode.innerHTML=_3d;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_3e){if(this._created&&this.textDir!=_3e){this._set("textDir",_3e);this.set("title",this.title);}}});}var _3f=_18("dijit.Dialog",[_2c,_2e],{});_3f._DialogBase=_2e;var _30=_3f._DialogLevelManager={_beginZIndex:950,show:function(_40,_41){ds[ds.length-1].focus=_24.curNode;var _42=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_3f._DialogLevelManager._beginZIndex;_1c.set(_40.domNode,"zIndex",_42);_2b.show(_41,_42-1);ds.push({dialog:_40,underlayAttrs:_41,zIndex:_42});},hide:function(_43){if(ds[ds.length-1].dialog==_43){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_2b.hide();}else{_2b.show(pd.underlayAttrs,pd.zIndex-1);}if(_43.refocus){var _44=pd.focus;if(pd.dialog&&(!_44||!dom.isDescendant(_44,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_44=pd.dialog._firstFocusItem;}if(_44){try{_44.focus();}catch(e){}}}}else{var idx=_16.indexOf(_16.map(ds,function(_45){return _45.dialog;}),_43);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_46){return ds[ds.length-1].dialog==_46;}};var ds=_3f._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_24.watch("curNode",function(_47,_48,_49){var _4a=ds[ds.length-1].dialog;if(_49&&_4a&&!_4a._fadeOutDeferred&&_49.ownerDocument==_4a.ownerDocument){do{if(_49==_4a.domNode||_1a.contains(_49,"dijitPopup")){return;}}while(_49=_49.parentNode);_4a.focus();}});if(has("dijit-legacy-requires")){_20(0,function(){var _4b=["dijit/TooltipDialog"];_15(_4b);});}return _3f;});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_4c,_4d,_4e,_4f,_50,dom,_51,_52,_53,all,_54,_55,has,_56,don,_57){new Date("X");function _58(_59){return eval("("+_59+")");};var _5a=0;_53.after(_4e,"extend",function(){_5a++;},true);function _5b(_5c){var map=_5c._nameCaseMap,_5d=_5c.prototype;if(!map||map._extendCnt<_5a){map=_5c._nameCaseMap={};for(var _5e in _5d){if(_5e.charAt(0)==="_"){continue;}map[_5e.toLowerCase()]=_5e;}map._extendCnt=_5a;}return map;};var _5f={};function _60(_61,_62){var ts=_61.join();if(!_5f[ts]){var _63=[];for(var i=0,l=_61.length;i<l;i++){var t=_61[i];_63[_63.length]=(_5f[t]=_5f[t]||(_4e.getObject(t)||(~t.indexOf("/")&&(_62?_62(t):_4c(t)))));}var _64=_63.shift();_5f[ts]=_63.length?(_64.createSubclass?_64.createSubclass(_63):_64.extend.apply(_64,_63)):_64;}return _5f[ts];};var _65={_clearCache:function(){_5a++;_5f={};},_functionFromScript:function(_66,_67){var _68="",_69="",_6a=(_66.getAttribute(_67+"args")||_66.getAttribute("args")),_6b=_66.getAttribute("with");var _6c=(_6a||"").split(/\s*,\s*/);if(_6b&&_6b.length){_4f.forEach(_6b.split(/\s*,\s*/),function(_6d){_68+="with("+_6d+"){";_69+="}";});}return new Function(_6c,_68+_66.innerHTML+_69);},instantiate:function(_6e,_6f,_70){_6f=_6f||{};_70=_70||{};var _71=(_70.scope||_4d._scopeName)+"Type",_72="data-"+(_70.scope||_4d._scopeName)+"-",_73=_72+"type",_74=_72+"mixins";var _75=[];_4f.forEach(_6e,function(_76){var _77=_71 in _6f?_6f[_71]:_76.getAttribute(_73)||_76.getAttribute(_71);if(_77){var _78=_76.getAttribute(_74),_79=_78?[_77].concat(_78.split(/\s*,\s*/)):[_77];_75.push({node:_76,types:_79});}});return this._instantiate(_75,_6f,_70);},_instantiate:function(_7a,_7b,_7c,_7d){var _7e=_4f.map(_7a,function(obj){var _7f=obj.ctor||_60(obj.types,_7c.contextRequire);if(!_7f){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_7f,obj.node,_7b,_7c,obj.scripts,obj.inherited);},this);function _80(_81){if(!_7b._started&&!_7c.noStart){_4f.forEach(_81,function(_82){if(typeof _82.startup==="function"&&!_82._started){_82.startup();}});}return _81;};if(_7d){return all(_7e).then(_80);}else{return _80(_7e);}},construct:function(_83,_84,_85,_86,_87,_88){var _89=_83&&_83.prototype;_86=_86||{};var _8a={};if(_86.defaults){_4e.mixin(_8a,_86.defaults);}if(_88){_4e.mixin(_8a,_88);}var _8b;if(has("dom-attributes-explicit")){_8b=_84.attributes;}else{if(has("dom-attributes-specified-flag")){_8b=_4f.filter(_84.attributes,function(a){return a.specified;});}else{var _8c=/^input$|^img$/i.test(_84.nodeName)?_84:_84.cloneNode(false),_8d=_8c.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_8b=_4f.map(_8d.split(/\s+/),function(_8e){var _8f=_8e.toLowerCase();return {name:_8e,value:(_84.nodeName=="LI"&&_8e=="value")||_8f=="enctype"?_84.getAttribute(_8f):_84.getAttributeNode(_8f).value};});}}var _90=_86.scope||_4d._scopeName,_91="data-"+_90+"-",_92={};if(_90!=="dojo"){_92[_91+"props"]="data-dojo-props";_92[_91+"type"]="data-dojo-type";_92[_91+"mixins"]="data-dojo-mixins";_92[_90+"type"]="dojoType";_92[_91+"id"]="data-dojo-id";}var i=0,_93,_94=[],_95,_96;while(_93=_8b[i++]){var _97=_93.name,_98=_97.toLowerCase(),_99=_93.value;switch(_92[_98]||_98){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_96=_99;break;case "data-dojo-id":case "jsid":_95=_99;break;case "data-dojo-attach-point":case "dojoattachpoint":_8a.dojoAttachPoint=_99;break;case "data-dojo-attach-event":case "dojoattachevent":_8a.dojoAttachEvent=_99;break;case "class":_8a["class"]=_84.className;break;case "style":_8a["style"]=_84.style&&_84.style.cssText;break;default:if(!(_97 in _89)){var map=_5b(_83);_97=map[_98]||_97;}if(_97 in _89){switch(typeof _89[_97]){case "string":_8a[_97]=_99;break;case "number":_8a[_97]=_99.length?Number(_99):NaN;break;case "boolean":_8a[_97]=_99.toLowerCase()!="false";break;case "function":if(_99===""||_99.search(/[^\w\.]+/i)!=-1){_8a[_97]=new Function(_99);}else{_8a[_97]=_4e.getObject(_99,false)||new Function(_99);}_94.push(_97);break;default:var _9a=_89[_97];_8a[_97]=(_9a&&"length" in _9a)?(_99?_99.split(/\s*,\s*/):[]):(_9a instanceof Date)?(_99==""?new Date(""):_99=="now"?new Date():_54.fromISOString(_99)):(_9a instanceof _52)?(_4d.baseUrl+_99):_58(_99);}}else{_8a[_97]=_99;}}}for(var j=0;j<_94.length;j++){var _9b=_94[j].toLowerCase();_84.removeAttribute(_9b);_84[_9b]=null;}if(_96){try{_96=_58.call(_86.propsThis,"{"+_96+"}");_4e.mixin(_8a,_96);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_96+"'");}}_4e.mixin(_8a,_85);if(!_87){_87=(_83&&(_83._noScript||_89._noScript)?[]:_56("> script[type^='dojo/']",_84));}var _9c=[],_9d=[],_9e=[],ons=[];if(_87){for(i=0;i<_87.length;i++){var _9f=_87[i];_84.removeChild(_9f);var _a0=(_9f.getAttribute(_91+"event")||_9f.getAttribute("event")),_a1=_9f.getAttribute(_91+"prop"),_a2=_9f.getAttribute(_91+"method"),_a3=_9f.getAttribute(_91+"advice"),_a4=_9f.getAttribute("type"),nf=this._functionFromScript(_9f,_91);if(_a0){if(_a4=="dojo/connect"){_9c.push({method:_a0,func:nf});}else{if(_a4=="dojo/on"){ons.push({event:_a0,func:nf});}else{_8a[_a0]=nf;}}}else{if(_a4=="dojo/aspect"){_9c.push({method:_a2,advice:_a3,func:nf});}else{if(_a4=="dojo/watch"){_9e.push({prop:_a1,func:nf});}else{_9d.push(nf);}}}}}var _a5=_83.markupFactory||_89.markupFactory;var _a6=_a5?_a5(_8a,_84,_83):new _83(_8a,_84);function _a7(_a8){if(_95){_4e.setObject(_95,_a8);}for(i=0;i<_9c.length;i++){_53[_9c[i].advice||"after"](_a8,_9c[i].method,_4e.hitch(_a8,_9c[i].func),true);}for(i=0;i<_9d.length;i++){_9d[i].call(_a8);}for(i=0;i<_9e.length;i++){_a8.watch(_9e[i].prop,_9e[i].func);}for(i=0;i<ons.length;i++){don(_a8,ons[i].event,ons[i].func);}return _a8;};if(_a6.then){return _a6.then(_a7);}else{return _a7(_a6);}},scan:function(_a9,_aa){var _ab=[],_ac=[],_ad={};var _ae=(_aa.scope||_4d._scopeName)+"Type",_af="data-"+(_aa.scope||_4d._scopeName)+"-",_b0=_af+"type",_b1=_af+"textdir",_b2=_af+"mixins";var _b3=_a9.firstChild;var _b4=_aa.inherited;if(!_b4){function _b5(_b6,_b7){return (_b6.getAttribute&&_b6.getAttribute(_b7))||(_b6.parentNode&&_b5(_b6.parentNode,_b7));};_b4={dir:_b5(_a9,"dir"),lang:_b5(_a9,"lang"),textDir:_b5(_a9,_b1)};for(var key in _b4){if(!_b4[key]){delete _b4[key];}}}var _b8={inherited:_b4};var _b9;var _ba;function _bb(_bc){if(!_bc.inherited){_bc.inherited={};var _bd=_bc.node,_be=_bb(_bc.parent);var _bf={dir:_bd.getAttribute("dir")||_be.dir,lang:_bd.getAttribute("lang")||_be.lang,textDir:_bd.getAttribute(_b1)||_be.textDir};for(var key in _bf){if(_bf[key]){_bc.inherited[key]=_bf[key];}}}return _bc.inherited;};while(true){if(!_b3){if(!_b8||!_b8.node){break;}_b3=_b8.node.nextSibling;_ba=false;_b8=_b8.parent;_b9=_b8.scripts;continue;}if(_b3.nodeType!=1){_b3=_b3.nextSibling;continue;}if(_b9&&_b3.nodeName.toLowerCase()=="script"){_c0=_b3.getAttribute("type");if(_c0&&/^dojo\/\w/i.test(_c0)){_b9.push(_b3);}_b3=_b3.nextSibling;continue;}if(_ba){_b3=_b3.nextSibling;continue;}var _c0=_b3.getAttribute(_b0)||_b3.getAttribute(_ae);var _c1=_b3.firstChild;if(!_c0&&(!_c1||(_c1.nodeType==3&&!_c1.nextSibling))){_b3=_b3.nextSibling;continue;}var _c2;var _c3=null;if(_c0){var _c4=_b3.getAttribute(_b2),_c5=_c4?[_c0].concat(_c4.split(/\s*,\s*/)):[_c0];try{_c3=_60(_c5,_aa.contextRequire);}catch(e){}if(!_c3){_4f.forEach(_c5,function(t){if(~t.indexOf("/")&&!_ad[t]){_ad[t]=true;_ac[_ac.length]=t;}});}var _c6=_c3&&!_c3.prototype._noScript?[]:null;_c2={types:_c5,ctor:_c3,parent:_b8,node:_b3,scripts:_c6};_c2.inherited=_bb(_c2);_ab.push(_c2);}else{_c2={node:_b3,scripts:_b9,parent:_b8};}_b9=_c6;_ba=_b3.stopParser||(_c3&&_c3.prototype.stopParser&&!(_aa.template));_b8=_c2;_b3=_c1;}var d=new _55();if(_ac.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_ac.join(", "));}var r=_aa.contextRequire||_4c;r(_ac,function(){d.resolve(_4f.filter(_ab,function(_c7){if(!_c7.ctor){try{_c7.ctor=_60(_c7.types,_aa.contextRequire);}catch(e){}}var _c8=_c7.parent;while(_c8&&!_c8.types){_c8=_c8.parent;}var _c9=_c7.ctor&&_c7.ctor.prototype;_c7.instantiateChildren=!(_c9&&_c9.stopParser&&!(_aa.template));_c7.instantiate=!_c8||(_c8.instantiate&&_c8.instantiateChildren);return _c7.instantiate;}));});}else{d.resolve(_ab);}return d.promise;},_require:function(_ca,_cb){var _cc=_58("{"+_ca.innerHTML+"}"),_cd=[],_ce=[],d=new _55();var _cf=(_cb&&_cb.contextRequire)||_4c;for(var _d0 in _cc){_cd.push(_d0);_ce.push(_cc[_d0]);}_cf(_ce,function(){for(var i=0;i<_cd.length;i++){_4e.setObject(_cd[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_d1,_d2){var _d3=new _55(),_d4=_d3.promise;_d3.resolve(true);var _d5=this;_56("script[type='dojo/require']",_d1).forEach(function(_d6){_d4=_d4.then(function(){return _d5._require(_d6,_d2);});_d6.parentNode.removeChild(_d6);});return _d4;},parse:function(_d7,_d8){var _d9;if(!_d8&&_d7&&_d7.rootNode){_d8=_d7;_d9=_d8.rootNode;}else{if(_d7&&_4e.isObject(_d7)&&!("nodeType" in _d7)){_d8=_d7;}else{_d9=_d7;}}_d9=_d9?dom.byId(_d9):_51.body();_d8=_d8||{};var _da=_d8.template?{template:true}:{},_db=[],_dc=this;var p=this._scanAmd(_d9,_d8).then(function(){return _dc.scan(_d9,_d8);}).then(function(_dd){return _dc._instantiate(_dd,_da,_d8,true);}).then(function(_de){return _db=_db.concat(_de);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_4e.mixin(_db,p);return _db;}};if(1){_4d.parser=_65;}if(_50.parseOnLoad){_57(100,_65,"parse");}return _65;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_df,_e0,_e1,has,_e2){var _e3=_e2.doc.documentElement,ie=has("ie"),_e4=has("opera"),maj=Math.floor,ff=has("ff"),_e5=_df.boxModel.replace(/-/,""),_e6={"dj_quirks":has("quirks"),"dj_opera":_e4,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_e6["dj_ie"]=true;_e6["dj_ie"+maj(ie)]=true;_e6["dj_iequirks"]=has("quirks");}if(ff){_e6["dj_ff"+maj(ff)]=true;}_e6["dj_"+_e5]=true;var _e7="";for(var clz in _e6){if(_e6[clz]){_e7+=clz+" ";}}_e3.className=_e0.trim(_e3.className+" "+_e7);_e1(function(){if(!_df.isBodyLtr()){var _e8="dj_rtl dijitRtl "+_e7.replace(/ /g,"-rtl ");_e3.className=_e0.trim(_e3.className+" "+_e8+"dj_rtl dijitRtl "+_e7.replace(/ /g,"-rtl "));}});return has;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_e9){return _e9.cache;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_ea,_eb,_ec,_ed,on,_ee){return _eb("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_ef){var res=[];_ea.forEach(_ef||this.getChildren(),function(_f0){if("value" in _f0){res.push(_f0);}else{res=res.concat(this._getDescendantFormWidgets(_f0.getChildren()));}},this);return res;},reset:function(){_ea.forEach(this._getDescendantFormWidgets(),function(_f1){if(_f1.reset){_f1.reset();}});},validate:function(){var _f2=false;return _ea.every(_ea.map(this._getDescendantFormWidgets(),function(_f3){_f3._hasBeenBlurred=true;var _f4=_f3.disabled||!_f3.validate||_f3.validate();if(!_f4&&!_f2){_ee.scrollIntoView(_f3.containerNode||_f3.domNode);_f3.focus();_f2=true;}return _f4;}),function(_f5){return _f5;});},setValues:function(val){_ec.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_ea.forEach(this._getDescendantFormWidgets(),function(_f6){if(!_f6.name){return;}var _f7=map[_f6.name]||(map[_f6.name]=[]);_f7.push(_f6);});for(var _f8 in map){if(!map.hasOwnProperty(_f8)){continue;}var _f9=map[_f8],_fa=_ed.getObject(_f8,false,obj);if(_fa===undefined){continue;}_fa=[].concat(_fa);if(typeof _f9[0].checked=="boolean"){_ea.forEach(_f9,function(w){w.set("value",_ea.indexOf(_fa,w._get("value"))!=-1);});}else{if(_f9[0].multiple){_f9[0].set("value",_fa);}else{_ea.forEach(_f9,function(w,i){w.set("value",_fa[i]);});}}}},getValues:function(){_ec.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_ea.forEach(this._getDescendantFormWidgets(),function(_fb){var _fc=_fb.name;if(!_fc||_fb.disabled){return;}var _fd=_fb.get("value");if(typeof _fb.checked=="boolean"){if(/Radio/.test(_fb.declaredClass)){if(_fd!==false){_ed.setObject(_fc,_fd,obj);}else{_fd=_ed.getObject(_fc,false,obj);if(_fd===undefined){_ed.setObject(_fc,null,obj);}}}else{var ary=_ed.getObject(_fc,false,obj);if(!ary){ary=[];_ed.setObject(_fc,ary,obj);}if(_fd!==false){ary.push(_fd);}}}else{var _fe=_ed.getObject(_fc,false,obj);if(typeof _fe!="undefined"){if(_ed.isArray(_fe)){_fe.push(_fd);}else{_ed.setObject(_fc,[_fe,_fd],obj);}}else{_ed.setObject(_fc,_fd,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _ff=_ea.map(this._descendants,function(w){return w.get("state")||"";});return _ea.indexOf(_ff,"Error")>=0?"Error":_ea.indexOf(_ff,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_100){this._descendants=this._getDescendantFormWidgets();_ea.forEach(this._descendants,function(_101){if(!_101._started){_101.startup();}});if(!_100){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_102,_103){this.onValidStateChange(_103=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_104,_105,has,keys,lang,on,_106,_107,_108,_109,_10a,_10b,_10c){var _10d=_104("dijit.TooltipDialog",[_107,_10a,_109,_108],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_10b,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.containerNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_10e,_10f){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_10e+"-"+_10f];_105.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_106.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _110=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_110.y+((_110.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_110.x+((_110.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems(this.containerNode);if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_106.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_106.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_10d.extend({_setTitleAttr:function(_111){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_111):_111;this._set("title",_111);},_setTextDirAttr:function(_112){if(!this._created||this.textDir!=_112){this._set("textDir",_112);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _10d;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_113,_114,_115){return _115("dijit.layout.LinkPane",[_113,_114],{templateString:"<div class=\"dijitLinkPane\" data-dojo-attach-point=\"containerNode\"></div>",postMixInProperties:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited(arguments);},_fillContent:function(){}});});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_116,has,_117){var _118;if(1){_118=function(url,sync,load){_117(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_116.getText){_118=_116.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _119={},_11a=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _11b=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_11b){text=_11b[1];}}else{text="";}return text;},_11c={},_11d={};dojo.cache=function(_11e,url,_11f){var key;if(typeof _11e=="string"){if(/\//.test(_11e)){key=_11e;_11f=url;}else{key=_116.toUrl(_11e.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_11e+"";_11f=url;}var val=(_11f!=undefined&&typeof _11f!="string")?_11f.value:_11f,_120=_11f&&_11f.sanitize;if(typeof val=="string"){_119[key]=val;return _120?_11a(val):val;}else{if(val===null){delete _119[key];return null;}else{if(!(key in _119)){_118(key,true,function(text){_119[key]=text;});}return _120?_11a(_119[key]):_119[key];}}};return {dynamic:true,normalize:function(id,_121){var _122=id.split("!"),url=_122[0];return (/^\./.test(url)?_121(url):url)+(_122[1]?"!"+_122[1]:"");},load:function(id,_123,load){var _124=id.split("!"),_125=_124.length>1,_126=_124[0],url=_123.toUrl(_124[0]),_127="url:"+url,text=_11c,_128=function(text){load(_125?_11a(text):text);};if(_126 in _119){text=_119[_126];}else{if(_123.cache&&_127 in _123.cache){text=_123.cache[_127];}else{if(url in _119){text=_119[url];}}}if(text===_11c){if(_11d[url]){_11d[url].push(_128);}else{var _129=_11d[url]=[_128];_118(url,!_123.async,function(text){_119[_126]=_119[url]=text;for(var i=0;i<_129.length;){_129[i++](text);}delete _11d[url];});}}else{_128(text);}}};});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_12a,a11y){return _12a("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _12b=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_12b.lowest||_12b.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_12b.last||_12b.highest||this._firstFocusItem;}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_12c,_12d,has){var _12e=has("config-requestProvider"),_12f;if(1){_12f="./xhr";}else{if(0){_12f="./node";}}if(!_12e){_12e=_12f;}_12c.getPlatformDefaultId=function(){return _12f;};_12c.load=function(id,_130,_131,_132){_12d([id=="platform"?_12f:_12e],function(_133){_131(_133);});};});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_134,has,_135,_136,lang,xhr,json,_137){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _138=dojo.i18n={},_139=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_13a=function(root,_13b,_13c,_13d){for(var _13e=[_13c+_13d],_13f=_13b.split("-"),_140="",i=0;i<_13f.length;i++){_140+=(_140?"-":"")+_13f[i];if(!root||root[_140]){_13e.push(_13c+_140+"/"+_13d);_13e.specificity=_140;}}return _13e;},_141={},_142=function(_143,_144,_145){_145=_145?_145.toLowerCase():dojo.locale;_143=_143.replace(/\./g,"/");_144=_144.replace(/\./g,"/");return (/root/i.test(_145))?(_143+"/nls/"+_144):(_143+"/nls/"+_145+"/"+_144);},_146=dojo.getL10nName=function(_147,_148,_149){return _147=_137.id+"!"+_142(_147,_148,_149);},_14a=function(_14b,_14c,_14d,_14e,_14f,load){_14b([_14c],function(root){var _150=lang.clone(root.root||root.ROOT),_151=_13a(!root._v1x&&root,_14f,_14d,_14e);_14b(_151,function(){for(var i=1;i<_151.length;i++){_150=lang.mixin(lang.clone(_150),arguments[i]);}var _152=_14c+"/"+_14f;_141[_152]=_150;_150.$locale=_151.specificity;load();});});},_153=function(id,_154){return /^\./.test(id)?_154(id):id;},_155=function(_156){var list=_136.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_156);return list;},load=function(id,_157,load){if(has("dojo-preload-i18n-Api")){var _158=id.split("*"),_159=_158[1]=="preload";if(_159){if(!_141[id]){_141[id]=1;_15a(_158[2],json.parse(_158[3]),1,_157);}load(1);}if(_159||_15b(id,_157,load)){return;}}var _15c=_139.exec(id),_15d=_15c[1]+"/",_15e=_15c[5]||_15c[4],_15f=_15d+_15e,_160=(_15c[5]&&_15c[4]),_161=_160||dojo.locale||"",_162=_15f+"/"+_161,_163=_160?[_161]:_155(_161),_164=_163.length,_165=function(){if(!--_164){load(lang.delegate(_141[_162]));}};_135.forEach(_163,function(_166){var _167=_15f+"/"+_166;if(has("dojo-preload-i18n-Api")){_168(_167);}if(!_141[_167]){_14a(_157,_15f,_15d,_15e,_166,_165);}else{_165();}});};if(has("dojo-unit-tests")){var _169=_138.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _16a=_138.normalizeLocale=function(_16b){var _16c=_16b?_16b.toLowerCase():dojo.locale;return _16c=="root"?"ROOT":_16c;},isXd=function(mid,_16d){return (1&&1)?_16d.isXdUrl(_134.toUrl(mid+".js")):true;},_16e=0,_16f=[],_15a=_138._preloadLocalizations=function(_170,_171,_172,_173){_173=_173||_134;function _174(mid,_175){if(isXd(mid,_173)||_172){_173([mid],_175);}else{_18f([mid],_175,_173);}};function _176(_177,func){var _178=_177.split("-");while(_178.length){if(func(_178.join("-"))){return;}_178.pop();}func("ROOT");};function _179(){_16e++;};function _17a(){--_16e;while(!_16e&&_16f.length){load.apply(null,_16f.shift());}};function _17b(path,name,loc,_17c){return _17c.toAbsMid(path+name+"/"+loc);};function _17d(_17e){_17e=_16a(_17e);_176(_17e,function(loc){if(_135.indexOf(_171,loc)>=0){var mid=_170.replace(/\./g,"/")+"_"+loc;_179();_174(mid,function(_17f){for(var p in _17f){var _180=_17f[p],_181=p.match(/(.+)\/([^\/]+)$/),_182,_183;if(!_181){continue;}_182=_181[2];_183=_181[1]+"/";_180._localized=_180._localized||{};var _184;if(loc==="ROOT"){var root=_184=_180._localized;delete _180._localized;root.root=_180;_141[_134.toAbsMid(p)]=root;}else{_184=_180._localized;_141[_17b(_183,_182,loc,_134)]=_180;}if(loc!==_17e){function _185(_186,_187,_188,_189){var _18a=[],_18b=[];_176(_17e,function(loc){if(_189[loc]){_18a.push(_134.toAbsMid(_186+loc+"/"+_187));_18b.push(_17b(_186,_187,loc,_134));}});if(_18a.length){_179();_173(_18a,function(){for(var i=0;i<_18a.length;i++){_188=lang.mixin(lang.clone(_188),arguments[i]);_141[_18b[i]]=_188;}_141[_17b(_186,_187,_17e,_134)]=lang.clone(_188);_17a();});}else{_141[_17b(_186,_187,_17e,_134)]=_188;}};_185(_183,_182,_180,_184);}}_17a();});return true;}return false;});};_17d();_135.forEach(dojo.config.extraLocale,_17d);},_15b=function(id,_18c,load){if(_16e){_16f.push([id,_18c,load]);}return _16e;},_168=function(){};}if(1){var _18d={},_18e=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_18f=function(deps,_190,_191){var _192=[];_135.forEach(deps,function(mid){var url=_191.toUrl(mid+".js");function load(text){var _193=_18e(text,_168,mid,_18d);if(_193===_18d){_192.push(_141[url]=_18d.result);}else{if(_193 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_193);_193={};}_192.push(_141[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_193:{root:_193,_v1x:1}));}};if(_141[url]){_192.push(_141[url]);}else{var _194=_191.syncLoadNls(mid);if(!_194){_194=_168(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_194){_192.push(_194);}else{if(!xhr){try{_191.getText(url,true,load);}catch(e){_192.push(_141[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_192.push(_141[url]={});}});}}}});_190&&_190.apply(null,_192);};_168=function(_195){for(var _196,_197=_195.split("/"),_198=dojo.global[_197[0]],i=1;_198&&i<_197.length-1;_198=_198[_197[i++]]){}if(_198){_196=_198[_197[i]];if(!_196){_196=_198[_197[i].replace(/-/g,"_")];}if(_196){_141[_195]=_196;}}return _196;};_138.getLocalization=function(_199,_19a,_19b){var _19c,_19d=_142(_199,_19a,_19b);load(_19d,(!isXd(_19d,_134)?function(deps,_19e){_18f(deps,_19e,_134);}:_134),function(_19f){_19c=_19f;});return _19c;};if(has("dojo-unit-tests")){_169.push(function(doh){doh.register("tests.i18n.unit",function(t){var _1a0;_1a0=_18e("{prop:1}",_168,"nonsense",_18d);t.is({prop:1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("({prop:1})",_168,"nonsense",_18d);t.is({prop:1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("{'prop-x':1}",_168,"nonsense",_18d);t.is({"prop-x":1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("({'prop-x':1})",_168,"nonsense",_18d);t.is({"prop-x":1},_1a0);t.is(undefined,_1a0[1]);_1a0=_18e("define({'prop-x':1})",_168,"nonsense",_18d);t.is(_18d,_1a0);t.is({"prop-x":1},_18d.result);_1a0=_18e("define('some/module', {'prop-x':1})",_168,"nonsense",_18d);t.is(_18d,_1a0);t.is({"prop-x":1},_18d.result);_1a0=_18e("this is total nonsense and should throw an error",_168,"nonsense",_18d);t.is(_1a0 instanceof Error,true);});});}}return lang.mixin(_138,{dynamic:true,normalize:_153,load:load,cache:_141,getL10nName:_146});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_1a1,lang,_1a2,_1a3,dom,_1a4,_1a5){var _1a6=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_1a4.empty,_setNodeContent:function(node,cont){_1a4.empty(node);if(cont){if(typeof cont=="string"){cont=_1a4.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _1a7=cont.length,i=0;i<cont.length;i=_1a7==cont.length?i+1:0){_1a4.place(cont[i],node,"last");}}else{_1a4.place(cont,node,"last");}}return node;},_ContentSetter:_1a3("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_1a1._scopeName,startup:true,constructor:function(_1a8,node){lang.mixin(this,_1a8||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_1a6++].join("_");}},set:function(cont,_1a9){if(undefined!==cont){this.content=cont;}if(_1a9){this._mixin(_1a9);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _1aa=this.onContentError(e);try{node.innerHTML=_1aa;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_1a2.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_1a4.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _1ab=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1ab){cont=_1ab[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_1ac){var _1ad={},key;for(key in _1ac){if(key in _1ad){continue;}this[key]=_1ac[key];}},_parse:function(){var _1ae=this.node;try{var _1af={};_1a2.forEach(["dir","lang","textDir"],function(name){if(this[name]){_1af[name]=this[name];}},this);var self=this;this.parseDeferred=_1a5.parse({rootNode:_1ae,noStart:!this.startup,inherited:_1af,scope:this.parserScope}).then(function(_1b0){return self.parseResults=_1b0;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_1b1){var _1b2=this["on"+type+"Error"].call(this,err);if(_1b1){console.error(_1b1,err);}else{if(_1b2){html._setNodeContent(this.node,_1b2,true);}}}}),set:function(node,cont,_1b3){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_1b3){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_1b3,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_1b4){var _1b5={};lang.setObject("dojo.date.stamp",_1b5);_1b5.fromISOString=function(_1b6,_1b7){if(!_1b5._isoRegExp){_1b5._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _1b8=_1b5._isoRegExp.exec(_1b6),_1b9=null;if(_1b8){_1b8.shift();if(_1b8[1]){_1b8[1]--;}if(_1b8[6]){_1b8[6]*=1000;}if(_1b7){_1b7=new Date(_1b7);_1b4.forEach(_1b4.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1b7["get"+prop]();}),function(_1ba,_1bb){_1b8[_1bb]=_1b8[_1bb]||_1ba;});}_1b9=new Date(_1b8[0]||1970,_1b8[1]||0,_1b8[2]||1,_1b8[3]||0,_1b8[4]||0,_1b8[5]||0,_1b8[6]||0);if(_1b8[0]<100){_1b9.setFullYear(_1b8[0]||1970);}var _1bc=0,_1bd=_1b8[7]&&_1b8[7].charAt(0);if(_1bd!="Z"){_1bc=((_1b8[8]||0)*60)+(Number(_1b8[9])||0);if(_1bd!="-"){_1bc*=-1;}}if(_1bd){_1bc-=_1b9.getTimezoneOffset();}if(_1bc){_1b9.setTime(_1b9.getTime()+_1bc*60000);}}return _1b9;};_1b5.toISOString=function(_1be,_1bf){var _1c0=function(n){return (n<10)?"0"+n:n;};_1bf=_1bf||{};var _1c1=[],_1c2=_1bf.zulu?"getUTC":"get",date="";if(_1bf.selector!="time"){var year=_1be[_1c2+"FullYear"]();date=["0000".substr((year+"").length)+year,_1c0(_1be[_1c2+"Month"]()+1),_1c0(_1be[_1c2+"Date"]())].join("-");}_1c1.push(date);if(_1bf.selector!="date"){var time=[_1c0(_1be[_1c2+"Hours"]()),_1c0(_1be[_1c2+"Minutes"]()),_1c0(_1be[_1c2+"Seconds"]())].join(":");var _1c3=_1be[_1c2+"Milliseconds"]();if(_1bf.milliseconds){time+="."+(_1c3<100?"0":"")+_1c0(_1c3);}if(_1bf.zulu){time+="Z";}else{if(_1bf.selector!="time"){var _1c4=_1be.getTimezoneOffset();var _1c5=Math.abs(_1c4);time+=(_1c4>0?"-":"+")+_1c0(Math.floor(_1c5/60))+":"+_1c0(_1c5%60);}}_1c1.push(time);}return _1c1.join("T");};return _1b5;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_1c6,lang){var _1c7={};lang.setObject("dojo.string",_1c7);_1c7.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_1c7.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_1c7.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_1c7.substitute=function(_1c8,map,_1c9,_1ca){_1ca=_1ca||_1c6.global;_1c9=_1c9?lang.hitch(_1ca,_1c9):function(v){return v;};return _1c8.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1cb,key,_1cc){var _1cd=lang.getObject(key,false,map);if(_1cc){_1cd=lang.getObject(_1cc,false,_1ca).call(_1ca,_1cd,key);}return _1c9(_1cd,key).toString();});};_1c7.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _1c7;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_1ce,lang,_1cf,when){return _1ce("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_1d0){if(_1d0){this.set(_1d0);}},_get:function(name,_1d1){return typeof this[_1d1.g]==="function"?this[_1d1.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_1d2){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _1d3=this._getAttrNames(name),_1d4=this._get(name,_1d3),_1d5=this[_1d3.s],_1d6;if(typeof _1d5==="function"){_1d6=_1d5.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_1d2;}if(this._watchCallbacks){var self=this;when(_1d6,function(){self._watchCallbacks(name,_1d4,_1d2);});}return this;},_changeAttrValue:function(name,_1d7){var _1d8=this.get(name);this[name]=_1d7;if(this._watchCallbacks){this._watchCallbacks(name,_1d8,_1d7);}return this;},watch:function(name,_1d9){var _1da=this._watchCallbacks;if(!_1da){var self=this;_1da=this._watchCallbacks=function(name,_1db,_1dc,_1dd){var _1de=function(_1df){if(_1df){_1df=_1df.slice();for(var i=0,l=_1df.length;i<l;i++){_1df[i].call(self,name,_1db,_1dc);}}};_1de(_1da["_"+name]);if(!_1dd){_1de(_1da["*"]);}};}if(!_1d9&&typeof name==="function"){_1d9=name;name="*";}else{name="_"+name;}var _1e0=_1da[name];if(typeof _1e0!=="object"){_1e0=_1da[name]=[];}_1e0.push(_1d9);var _1e1={};_1e1.unwatch=_1e1.remove=function(){var _1e2=_1cf.indexOf(_1e0,_1d9);if(_1e2>-1){_1e0.splice(_1e2,1);}};return _1e1;}});});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_1e3,_1e4,when){"use strict";var some=_1e3.some;return function all(_1e5){var _1e6,_1e3;if(_1e5 instanceof Array){_1e3=_1e5;}else{if(_1e5&&typeof _1e5==="object"){_1e6=_1e5;}}var _1e7;var _1e8=[];if(_1e6){_1e3=[];for(var key in _1e6){if(Object.hasOwnProperty.call(_1e6,key)){_1e8.push(key);_1e3.push(_1e6[key]);}}_1e7={};}else{if(_1e3){_1e7=[];}}if(!_1e3||!_1e3.length){return new _1e4().resolve(_1e7);}var _1e9=new _1e4();_1e9.promise.always(function(){_1e7=_1e8=null;});var _1ea=_1e3.length;some(_1e3,function(_1eb,_1ec){if(!_1e6){_1e8.push(_1ec);}when(_1eb,function(_1ed){if(!_1e9.isFulfilled()){_1e7[_1e8[_1ec]]=_1ed;if(--_1ea===0){_1e9.resolve(_1e7);}}},_1e9.reject);return _1e9.isFulfilled();});return _1e9.promise;};});},"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"0\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class=\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_layout_basic*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dijit/_dijit_layout_basic",[],1);require(["dijit/layout/ContentPane","dijit/layout/LinkPane","dijit/TitlePane","dijit/Dialog","dijit/TooltipDialog"]);
}catch(e){console.log("Module 'dijit_layout_basic_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojo/request":function(){define(["./request/default!"],function(_1){return _1;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_2,_3,_4,_5,_6,on,_7,_8,_9,_a){var _b=_7("touch");var _c=_7("ios")<5;var _d=navigator.pointerEnabled||navigator.msPointerEnabled,_e=(function(){var _f={};for(var _10 in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_f[_10]=!navigator.pointerEnabled?"MSPointer"+_10.charAt(0).toUpperCase()+_10.slice(1):"pointer"+_10;}return _f;})();var _11,_12,_13,_14,_15,_16,_17,_18;var _19;function _1a(_1b,_1c,_1d){if(_d&&_1d){return function(_1e,_1f){return on(_1e,_1d,_1f);};}else{if(_b){return function(_20,_21){var _22=on(_20,_1c,function(evt){_21.call(this,evt);_19=(new Date()).getTime();}),_23=on(_20,_1b,function(evt){if(!_19||(new Date()).getTime()>_19+1000){_21.call(this,evt);}});return {remove:function(){_22.remove();_23.remove();}};};}else{return function(_24,_25){return on(_24,_1b,_25);};}}};function _26(_27){do{if(_27.dojoClick!==undefined){return _27.dojoClick;}}while(_27=_27.parentNode);};function _28(e,_29,_2a){_12=!e.target.disabled&&_26(e.target);if(_12){_13=e.target;_14=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_15=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_16=(typeof _12=="object"?_12.x:(typeof _12=="number"?_12:0))||4;_17=(typeof _12=="object"?_12.y:(typeof _12=="number"?_12:0))||4;if(!_11){_11=true;_a.doc.addEventListener(_29,function(e){_12=_12&&(e.changedTouches?e.changedTouches[0].target:e.target)==_13&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_14)<=_16&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_15)<=_17;},true);_a.doc.addEventListener(_2a,function(e){if(_12){_18=(new Date()).getTime();var _2b=e.target;if(_2b.tagName==="LABEL"){_2b=_4.byId(_2b.getAttribute("for"))||_2b;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _2c=document.createEvent("MouseEvents");_2c._dojo_click=true;_2c.initMouseEvent("click",true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);setTimeout(function(){on.emit(_2b,"click",_2c);},0);}},true);function _2d(_2e){_a.doc.addEventListener(_2e,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_18+1000&&!(e.target.tagName=="INPUT"&&_5.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_2e=="click"&&(e.target.tagName!="INPUT"||e.target.type=="radio"||e.target.type=="checkbox")&&e.target.tagName!="TEXTAREA"&&e.target.tagName!="AUDIO"&&e.target.tagName!="VIDEO"){e.preventDefault();}}},true);};_2d("click");_2d("mousedown");_2d("mouseup");}}};var _2f;if(_b){if(_d){_9(function(){_a.doc.addEventListener(_e.down,function(evt){_28(evt,_e.move,_e.up);},true);});}else{_9(function(){_2f=_a.body();_a.doc.addEventListener("touchstart",function(evt){_19=(new Date()).getTime();var _30=_2f;_2f=evt.target;on.emit(_30,"dojotouchout",{relatedTarget:_2f,bubbles:true});on.emit(_2f,"dojotouchover",{relatedTarget:_30,bubbles:true});_28(evt,"touchmove","touchend");},true);function _31(evt){var _32=_6.delegate(evt,{bubbles:true});if(_7("ios")>=6){_32.touches=evt.touches;_32.altKey=evt.altKey;_32.changedTouches=evt.changedTouches;_32.ctrlKey=evt.ctrlKey;_32.metaKey=evt.metaKey;_32.shiftKey=evt.shiftKey;_32.targetTouches=evt.targetTouches;}return _32;};on(_a.doc,"touchmove",function(evt){_19=(new Date()).getTime();var _33=_a.doc.elementFromPoint(evt.pageX-(_c?0:_a.global.pageXOffset),evt.pageY-(_c?0:_a.global.pageYOffset));if(_33){if(_2f!==_33){on.emit(_2f,"dojotouchout",{relatedTarget:_33,bubbles:true});on.emit(_33,"dojotouchover",{relatedTarget:_2f,bubbles:true});_2f=_33;}if(!on.emit(_33,"dojotouchmove",_31(evt))){evt.preventDefault();}}});on(_a.doc,"touchend",function(evt){_19=(new Date()).getTime();var _34=_a.doc.elementFromPoint(evt.pageX-(_c?0:_a.global.pageXOffset),evt.pageY-(_c?0:_a.global.pageYOffset))||_a.body();on.emit(_34,"dojotouchend",_31(evt));});});}}var _35={press:_1a("mousedown","touchstart",_e.down),move:_1a("mousemove","dojotouchmove",_e.move),release:_1a("mouseup","dojotouchend",_e.up),cancel:_1a(_8.leave,"touchcancel",_b?_e.cancel:null),over:_1a("mouseover","dojotouchover",_e.over),out:_1a("mouseout","dojotouchout",_e.out),enter:_8._eventHandler(_1a("mouseover","dojotouchover",_e.over)),leave:_8._eventHandler(_1a("mouseout","dojotouchout",_e.out))};1&&(_2.touch=_35);return _35;});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_36,_37,_38,_39,_3a,on,_3b,_3c){return _37("dijit._KeyNavMixin",_3c,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_38.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _3d=this._keyNavCodes={};_3d[_39.HOME]=_3a.hitch(this,"focusFirstChild");_3d[_39.END]=_3a.hitch(this,"focusLastChild");_3d[this.isLeftToRight()?_39.LEFT_ARROW:_39.RIGHT_ARROW]=_3a.hitch(this,"_onLeftArrow");_3d[this.isLeftToRight()?_39.RIGHT_ARROW:_39.LEFT_ARROW]=_3a.hitch(this,"_onRightArrow");_3d[_39.UP_ARROW]=_3a.hitch(this,"_onUpArrow");_3d[_39.DOWN_ARROW]=_3a.hitch(this,"_onDownArrow");}var _3e=this,_3f=typeof this.childSelector=="string"?this.childSelector:_3a.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",_3a.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",_3a.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",_3a.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_3f,"focusin"),function(evt){_3e._onChildFocus(_3b.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_40,_41){if(!_40){return;}if(this.focusedChild&&_40!==this.focusedChild){this._onChildBlur(this.focusedChild);}_40.set("tabIndex",this.tabIndex);_40.focus(_41?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_38.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_38.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_42){if(_42&&_42!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_42.set("tabIndex",this.tabIndex);this.lastFocused=_42;this._set("focusedChild",_42);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(_43,evt,_44,_45){if(_43){this.focusChild(_43);}},_keyboardSearchCompare:function(_46,_47){var _48=_46.domNode,_49=_46.label||(_48.focusNode?_48.focusNode.label:"")||_48.innerText||_48.textContent||"",_4a=_49.replace(/^\s+/,"").substr(0,_47.length).toLowerCase();return (!!_47.length&&_4a==_47)?-1:0;},_onContainerKeydown:function(evt){var _4b=this._keyNavCodes[evt.keyCode];if(_4b){_4b(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==_39.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=_39.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_4c){var _4d=null,_4e,_4f=0,_50=_3a.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_4c;var _51=/^(.)\1*$/.test(this._searchString);var _52=_51?1:this._searchString.length;_4e=this._searchString.substr(0,_52);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _53=this.focusedChild||null;if(_52==1||!_53){_53=this._getNextFocusableChild(_53,1);if(!_53){return;}}var _54=_53;do{var rc=this._keyboardSearchCompare(_53,_4e);if(!!rc&&_4f++==0){_4d=_53;}if(rc==-1){_4f=-1;break;}_53=this._getNextFocusableChild(_53,1);}while(_53!=_54);});_50();this.onKeyboardSearch(_4d,evt,_4e,_4f);},_onChildBlur:function(){},_getNextFocusableChild:function(_55,dir){var _56=_55;do{if(!_55){_55=this[dir>0?"_getFirst":"_getLast"]();if(!_55){break;}}else{_55=this._getNext(_55,dir);}if(_55!=null&&_55!=_56&&_55.isFocusable()){return _55;}}while(_55!=_56);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_57,dir){if(_57){_57=_57.domNode;while(_57){_57=_57[dir<0?"previousSibling":"nextSibling"];if(_57&&"getAttribute" in _57){var w=_3b.byNode(_57);if(w){return w;}}}}return null;}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_58,_59,_5a){var _5b=_58("dijit._MenuBarItemMixin",null,{templateString:_5a,_setIconClassAttr:null});var _5c=_58("dijit.MenuBarItem",[_59,_5b],{});_5c._MenuBarItemMixin=_5b;return _5c;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_5d,_5e,_5f,_60,_61){return _5d("dijit.DropDownMenu",[_61,_60],{templateString:_5f,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev();},_onDownArrow:function(){this.focusNext();},_onRightArrow:function(evt){this._moveToPopup(evt);evt.stopPropagation();evt.preventDefault();},_onLeftArrow:function(evt){if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{evt.stopPropagation();evt.preventDefault();}}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_62,_63,_64,has,_65){var _66=_65.doc.documentElement,ie=has("ie"),_67=has("opera"),maj=Math.floor,ff=has("ff"),_68=_62.boxModel.replace(/-/,""),_69={"dj_quirks":has("quirks"),"dj_opera":_67,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_69["dj_ie"]=true;_69["dj_ie"+maj(ie)]=true;_69["dj_iequirks"]=has("quirks");}if(ff){_69["dj_ff"+maj(ff)]=true;}_69["dj_"+_68]=true;var _6a="";for(var clz in _69){if(_69[clz]){_6a+=clz+" ";}}_66.className=_63.trim(_66.className+" "+_6a);_64(function(){if(!_62.isBodyLtr()){var _6b="dj_rtl dijitRtl "+_6a.replace(/ /g,"-rtl ");_66.className=_63.trim(_66.className+" "+_6b+"dj_rtl dijitRtl "+_6a.replace(/ /g,"-rtl "));}});return has;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_6c){return _6c.cache;});},"dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_6d,_6e,_6f,_70){return _6d("dijit.MenuBar",_6f,{templateString:_70,baseClass:"dijitMenuBar",popupDelay:0,_isMenuBar:true,_orient:["below"],_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}},focusChild:function(_71){this.inherited(arguments);if(this.activated&&_71.popup&&!_71.disabled){this._openItemPopup(_71,true);}},_onChildDeselect:function(_72){if(this.currentPopupItem==_72){this.currentPopupItem=null;_72._closePopup();}this.inherited(arguments);},_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();},_onDownArrow:function(evt){this._moveToPopup(evt);},_onUpArrow:function(){},onItemClick:function(_73,evt){if(_73.popup&&_73.popup.isShowingNow&&(!/^key/.test(evt.type)||evt.keyCode!==_6e.DOWN_ARROW)){_73.focusNode.focus();this._cleanUp(true);}else{this.inherited(arguments);}}});});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_74,_75,_76,dom,_77,_78,_79,_7a,_7b,on,has,win,_7c,pm,_7d,_7e){if(has("dijit-legacy-requires")){_7e(0,function(){var _7f=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_74(_7f);});}return _76("dijit.Menu",_7d,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_75.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_80){return _7c.get(this._iframeContentDocument(_80))||this._iframeContentDocument(_80)["__parent__"]||(_80.name&&document.frames[_80.name])||null;},_iframeContentDocument:function(_81){return _81.contentDocument||(_81.contentWindow&&_81.contentWindow.document)||(_81.name&&document.frames[_81.name]&&document.frames[_81.name].document)||null;},bindDomNode:function(_82){_82=dom.byId(_82,this.ownerDocument);var cn;if(_82.tagName.toLowerCase()=="iframe"){var _83=_82,_84=this._iframeContentWindow(_83);cn=win.body(_84.document);}else{cn=(_82==win.body(this.ownerDocument)?this.ownerDocument.documentElement:_82);}var _85={node:_82,iframe:_83};_77.set(_82,"_dijitMenu"+this.id,this._bindings.push(_85));var _86=_7b.hitch(this,function(cn){var _87=this.selector,_88=_87?function(_89){return on.selector(_87,_89);}:function(_8a){return _8a;},_8b=this;return [on(cn,_88(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<this._lastKeyDown+500){return;}_8b._scheduleOpen(this,_83,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_88("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==_7a.F10)||(this.leftClickToOpen&&evt.keyCode==_7a.SPACE)){evt.stopPropagation();evt.preventDefault();_8b._scheduleOpen(this,_83,null,evt.target);this._lastKeyDown=(new Date()).getTime();}})];});_85.connects=cn?_86(cn):[];if(_83){_85.onloadHandler=_7b.hitch(this,function(){var _8c=this._iframeContentWindow(_83),cn=win.body(_8c.document);_85.connects=_86(cn);});if(_83.addEventListener){_83.addEventListener("load",_85.onloadHandler,false);}else{_83.attachEvent("onload",_85.onloadHandler);}}},unBindDomNode:function(_8d){var _8e;try{_8e=dom.byId(_8d,this.ownerDocument);}catch(e){return;}var _8f="_dijitMenu"+this.id;if(_8e&&_77.has(_8e,_8f)){var bid=_77.get(_8e,_8f)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _90=b.iframe;if(_90){if(_90.removeEventListener){_90.removeEventListener("load",b.onloadHandler,false);}else{_90.detachEvent("onload",b.onloadHandler);}}_77.remove(_8e,_8f);delete this._bindings[bid];}},_scheduleOpen:function(_91,_92,_93,_94){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_94,delegatedTarget:_91,iframe:_92,coords:_93});},1);}},_openMyself:function(_95){var _96=_95.target,_97=_95.iframe,_98=_95.coords,_99=!_98;this.currentTarget=_95.delegatedTarget;if(_98){if(_97){var ifc=_78.position(_97,true),_9a=this._iframeContentWindow(_97),_9b=_78.docScroll(_9a.document);var cs=_79.getComputedStyle(_97),tp=_79.toPixelValue,_9c=(has("ie")&&has("quirks")?0:tp(_97,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_97,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_97,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_97,cs.borderTopWidth):0);_98.x+=ifc.x+_9c-_9b.x;_98.y+=ifc.y+top-_9b.y;}}else{_98=_78.position(_96,true);_98.x+=10;_98.y+=10;}var _9d=this;var _9e=this._focusManager.get("prevNode");var _9f=this._focusManager.get("curNode");var _a0=!_9f||(dom.isDescendant(_9f,this.domNode))?_9e:_9f;function _a1(){if(_9d.refocus&&_a0){_a0.focus();}pm.close(_9d);};pm.open({popup:this,x:_98.x,y:_98.y,onExecute:_a1,onCancel:_a1,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_99){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_75.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_a2,_a3,_a4,_a5,pm,_a6,_a7){return _a2("dijit.PopupMenuItem",_a7,{_fillContent:function(){if(this.srcNodeRef){var _a8=_a5("*",this.srcNodeRef);this.inherited(arguments,[_a8[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_a9,_aa){var _ab=this.popup;pm.open(_a4.delegate(_a9,{popup:this.popup,around:this.domNode}));if(_aa&&_ab.focus){_ab.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var _ac=_a5("[widgetId]",this.dropDownContainer)[0];this.popup=_a6.byNode(_ac);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_a3.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_ad){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_ad);}delete this.popup;}this.inherited(arguments);}});});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_ae,_af,_b0){var _b1=_b0._MenuBarItemMixin;return _ae("dijit.PopupMenuBarItem",[_af,_b1],{});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_b2,dom,_b3,_b4,_b5,has,_b6,_b7,_b8,_b9,_ba,_bb){var _bc=_b2("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_b7,_b8,_b9,_ba],{templateString:_bb,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _bd="";var _be;var ndx=val.search(/{\S}/);if(ndx>=0){_bd=val.charAt(ndx+1);var _bf=val.substr(0,ndx);var _c0=val.substr(ndx+3);_be=_bf+_bd+_c0;val=_bf+"<span class=\"dijitMenuItemShortcutKey\">"+_bd+"</span>"+_c0;}else{_be=val;}this.domNode.setAttribute("aria-label",_be+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_bd);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_c1){if(_c1&&!("label" in this.params)){this._set("label",_c1.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _c2=this.id+"_text";_b3.set(this.containerNode,"id",_c2);if(this.accelKeyNode){_b3.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_c3){_b4.toggle(this.domNode,"dijitMenuItemSelected",_c3);},setLabel:function(_c4){_b5.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_c4);},setDisabled:function(_c5){_b5.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_c5);},_setDisabledAttr:function(_c6){this.focusNode.setAttribute("aria-disabled",_c6?"true":"false");this._set("disabled",_c6);},_setAccelKeyAttr:function(_c7){if(this.accelKeyNode){this.accelKeyNode.style.display=_c7?"":"none";this.accelKeyNode.innerHTML=_c7;_b3.set(this.containerNode,"colSpan",_c7?"1":"2");}this._set("accelKey",_c7);}});if(has("dojo-bidi")){_bc=_b2("dijit.MenuItem",_bc,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _bc;});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_c8,_c9,_ca,_cb,_cc,_cd,_ce,_cf,_d0,_d1){return _c9("dijit._KeyNavContainer",[_d0,_d1,_cf],{connectKeyNavHandlers:function(_d2,_d3){var _d4=(this._keyNavCodes={});var _d5=_cd.hitch(this,"focusPrev");var _d6=_cd.hitch(this,"focusNext");_c8.forEach(_d2,function(_d7){_d4[_d7]=_d5;});_c8.forEach(_d3,function(_d8){_d4[_d8]=_d6;});_d4[_cc.HOME]=_cd.hitch(this,"focusFirstChild");_d4[_cc.END]=_cd.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_cb.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_c8.forEach(this.getChildren(),_cd.hitch(this,"_startupChild"));},addChild:function(_d9,_da){this.inherited(arguments);this._startupChild(_d9);},_startupChild:function(_db){_db.set("tabIndex","-1");},_getFirst:function(){var _dc=this.getChildren();return _dc.length?_dc[0]:null;},_getLast:function(){var _dd=this.getChildren();return _dd.length?_dd[_dd.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(_de){var _de=_ce.byNode(_de);return _de&&_de.getParent()==this;}});});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_df,has,_e0,dom,_e1,_e2,_e3){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _e4=_e0.body(doc),_e5=_e3.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_e4,"last"),div=_e3.create("div",{style:{overflow:"hidden",direction:"ltr"}},_e5,"last"),ret=_e1.position(div).x!=0;_e5.removeChild(div);_e4.removeChild(_e5);return ret;});has.add("position-fixed-support",function(win,doc){var _e6=_e0.body(doc),_e7=_e3.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_e6,"last"),_e8=_e3.create("span",{style:{position:"fixed",left:"0",top:"0"}},_e7,"last"),ret=_e1.position(_e8).x!=_e1.position(_e7).x;_e7.removeChild(_e8);_e6.removeChild(_e7);return ret;});var _e9={getBox:function(doc){doc=doc||_e0.doc;var _ea=(doc.compatMode=="BackCompat")?_e0.body(doc):doc.documentElement,_eb=_e1.docScroll(doc),w,h;if(has("touch")){var _ec=_e9.get(doc);w=_ec.innerWidth||_ea.clientWidth;h=_ec.innerHeight||_ea.clientHeight;}else{w=_ea.clientWidth;h=_ea.clientHeight;}return {l:_eb.x,t:_eb.y,w:w,h:h};},get:function(doc){if(has("ie")&&_e9!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(_ed,pos){try{_ed=dom.byId(_ed);var doc=_ed.ownerDocument||_e0.doc,_ee=_e0.body(doc),_ef=doc.documentElement||_ee.parentNode,_f0=has("ie"),_f1=has("webkit");if(_ed==_ee||_ed==_ef){return;}if(!(has("mozilla")||_f0||_f1||has("opera")||has("trident"))&&("scrollIntoView" in _ed)){_ed.scrollIntoView(false);return;}var _f2=doc.compatMode=="BackCompat",_f3=Math.min(_ee.clientWidth||_ef.clientWidth,_ef.clientWidth||_ee.clientWidth),_f4=Math.min(_ee.clientHeight||_ef.clientHeight,_ef.clientHeight||_ee.clientHeight),_f5=(_f1||_f2)?_ee:_ef,_f6=pos||_e1.position(_ed),el=_ed.parentNode,_f7=function(el){return (_f0<=6||(_f0==7&&_f2))?false:(has("position-fixed-support")&&(_e2.get(el,"position").toLowerCase()=="fixed"));},_f8=this,_f9=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_f8.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_f7(_ed)){return;}while(el){if(el==_ee){el=_f5;}var _fa=_e1.position(el),_fb=_f7(el),rtl=_e2.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_f5){_fa.w=_f3;_fa.h=_f4;if(_f5==_ef&&(_f0||has("trident"))&&rtl){_fa.x+=_f5.offsetWidth-_fa.w;}if(_fa.x<0||!_f0||_f0>=9||has("trident")){_fa.x=0;}if(_fa.y<0||!_f0||_f0>=9||has("trident")){_fa.y=0;}}else{var pb=_e1.getPadBorderExtents(el);_fa.w-=pb.w;_fa.h-=pb.h;_fa.x+=pb.l;_fa.y+=pb.t;var _fc=el.clientWidth,_fd=_fa.w-_fc;if(_fc>0&&_fd>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_fa.x+=_fd;}_fa.w=_fc;}_fc=el.clientHeight;_fd=_fa.h-_fc;if(_fc>0&&_fd>0){_fa.h=_fc;}}if(_fb){if(_fa.y<0){_fa.h+=_fa.y;_fa.y=0;}if(_fa.x<0){_fa.w+=_fa.x;_fa.x=0;}if(_fa.y+_fa.h>_f4){_fa.h=_f4-_fa.y;}if(_fa.x+_fa.w>_f3){_fa.w=_f3-_fa.x;}}var l=_f6.x-_fa.x,t=_f6.y-_fa.y,r=l+_f6.w-_fa.w,bot=t+_f6.h-_fa.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_f5||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_f0==8&&!_f2)||_f0>=9||has("trident"))){s=-s;}old=el.scrollLeft;_f9(el,s,0);s=el.scrollLeft-old;_f6.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_f5||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_f9(el,0,s);s=el.scrollTop-old;_f6.y-=s;}el=(el!=_f5)&&!_fb&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_ed.scrollIntoView(false);}}};1&&_df.setObject("dojo.window",_e9);return _e9;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_fe,_ff,has,_100){var _101;if(1){_101=function(url,sync,load){_100(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_ff.getText){_101=_ff.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _102={},_103=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _104=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_104){text=_104[1];}}else{text="";}return text;},_105={},_106={};_fe.cache=function(_107,url,_108){var key;if(typeof _107=="string"){if(/\//.test(_107)){key=_107;_108=url;}else{key=_ff.toUrl(_107.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_107+"";_108=url;}var val=(_108!=undefined&&typeof _108!="string")?_108.value:_108,_109=_108&&_108.sanitize;if(typeof val=="string"){_102[key]=val;return _109?_103(val):val;}else{if(val===null){delete _102[key];return null;}else{if(!(key in _102)){_101(key,true,function(text){_102[key]=text;});}return _109?_103(_102[key]):_102[key];}}};return {dynamic:true,normalize:function(id,_10a){var _10b=id.split("!"),url=_10b[0];return (/^\./.test(url)?_10a(url):url)+(_10b[1]?"!"+_10b[1]:"");},load:function(id,_10c,load){var _10d=id.split("!"),_10e=_10d.length>1,_10f=_10d[0],url=_10c.toUrl(_10d[0]),_110="url:"+url,text=_105,_111=function(text){load(_10e?_103(text):text);};if(_10f in _102){text=_102[_10f];}else{if(_10c.cache&&_110 in _10c.cache){text=_10c.cache[_110];}else{if(url in _102){text=_102[url];}}}if(text===_105){if(_106[url]){_106[url].push(_111);}else{var _112=_106[url]=[_111];_101(url,!_10c.async,function(text){_102[_10f]=_102[url]=text;for(var i=0;i<_112.length;){_112[i++](text);}delete _106[url];});}}else{_111(text);}}};});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_113,_114,_115,_116){return _113("dijit.CheckedMenuItem",_115,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_116,checked:false,_setCheckedAttr:function(_117){this.domNode.setAttribute("aria-checked",_117?"true":"false");this._set("checked",_117);},iconClass:"",role:"menuitemcheckbox",checkedChar:"&#10003;",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dojo/request/default":function(){define(["exports","require","../has"],function(_118,_119,has){var _11a=has("config-requestProvider"),_11b;if(1){_11b="./xhr";}else{if(0){_11b="./node";}}if(!_11a){_11a=_11b;}_118.getPlatformDefaultId=function(){return _11b;};_118.load=function(id,_11c,_11d,_11e){_119([id=="platform"?_11b:_11a],function(_11f){_11d(_11f);});};});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_120,dom,_121,_122,_123,_124){return _120("dijit.MenuSeparator",[_121,_122,_123],{templateString:_124,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./registry","./_Widget","./_CssStateMixin","./_KeyNavContainer","./_TemplatedMixin"],function(_125,_126,dom,_127,_128,lang,_129,on,_12a,_12b,_12c,_12d,_12e,_12f,_130){return _126("dijit._MenuBase",[_12d,_130,_12f,_12e],{selected:null,_setSelectedAttr:function(item){if(this.selected!=item){if(this.selected){this.selected._setSelected(false);this._onChildDeselect(this.selected);}if(item){item._setSelected(true);}this._set("selected",item);}},activated:false,_setActivatedAttr:function(val){_128.toggle(this.domNode,"dijitMenuActive",val);_128.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _131=_12c.byNode(node);return node.parentNode==this.containerNode&&_131&&_131.focus;},postCreate:function(){var self=this,_132=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_132,_129.enter),function(){self.onItemHover(_12c.byNode(this));}),on(this.containerNode,on.selector(_132,_129.leave),function(){self.onItemUnhover(_12c.byNode(this));}),on(this.containerNode,on.selector(_132,_12b),function(evt){self.onItemClick(_12c.byNode(this),evt);evt.stopPropagation();evt.preventDefault();}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_133,_134){this.inherited(arguments);if(!!item&&(_134==-1||(!!item.popup&&_134==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_135){if(!!item.shortcutKey){return _135==item.shortcutKey.toLowerCase()?-1:0;}return this.inherited(arguments)?1:0;},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _136=this._getTopMenu();if(_136&&_136._isMenuBar){_136.focusNext();}}},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer();},onItemHover:function(item){if(this.activated){this.set("selected",item);if(item.popup&&!item.disabled&&!this.hover_timer){this.hover_timer=this.defer(function(){this._openItemPopup(item);},this.popupDelay);}}else{if(this.passivePopupDelay<Infinity){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.passive_hover_timer=this.defer(function(){this.onItemClick(item,{type:"click"});},this.passivePopupDelay);}}this._hoveredChild=item;item._set("hovering",true);},_onChildDeselect:function(item){this._stopPopupTimer();if(this.currentPopupItem==item){this._stopPendingCloseTimer();this._pendingClose_timer=this.defer(function(){this._pendingClose_timer=null;this.currentPopupItem=null;item._closePopup();},this.popupDelay);}},onItemUnhover:function(item){if(this._hoveredChild==item){this._hoveredChild=null;}if(this.passive_hover_timer){this.passive_hover_timer.remove();this.passive_hover_timer=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(){if(this._pendingClose_timer){this._pendingClose_timer=this._pendingClose_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this.set("selected",item);this.set("activated",true);var _137=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_137);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_138,_139){if(_138==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _13a=_138.popup;_13a.parentMenu=this;this.own(this._mouseoverHandle=on.once(_13a.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_138._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_139){self.focusChild(_138);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_139);this.currentPopupItem=_138;},onOpen:function(){this.isShowingNow=true;this.set("activated",true);},onClose:function(){this.set("activated",false);this.set("selected",null);this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopupItem){if(this.focused){_127.set(this.selected.focusNode,"tabIndex",this.tabIndex);this.selected.focusNode.focus();}this.currentPopupItem._closePopup();this.currentPopupItem=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}this.set("selected",item);},_onBlur:function(){this._cleanUp(true);this.inherited(arguments);},_cleanUp:function(_13b){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_13b){this.set("selected",null);}}});});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_13c,lang){var _13d={};lang.setObject("dojo.string",_13d);_13d.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_13d.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_13d.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_13d.substitute=function(_13e,map,_13f,_140){_140=_140||_13c.global;_13f=_13f?lang.hitch(_140,_13f):function(v){return v;};return _13e.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_141,key,_142){var _143=lang.getObject(key,false,map);if(_142){_143=lang.getObject(_142,false,_140).call(_140,_143,key);}return _13f(_143,key).toString();});};_13d.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _13d;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_144,lang,_145,when){return _144("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_146){if(_146){this.set(_146);}},_get:function(name,_147){return typeof this[_147.g]==="function"?this[_147.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_148){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _149=this._getAttrNames(name),_14a=this._get(name,_149),_14b=this[_149.s],_14c;if(typeof _14b==="function"){_14c=_14b.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_148;}if(this._watchCallbacks){var self=this;when(_14c,function(){self._watchCallbacks(name,_14a,_148);});}return this;},_changeAttrValue:function(name,_14d){var _14e=this.get(name);this[name]=_14d;if(this._watchCallbacks){this._watchCallbacks(name,_14e,_14d);}return this;},watch:function(name,_14f){var _150=this._watchCallbacks;if(!_150){var self=this;_150=this._watchCallbacks=function(name,_151,_152,_153){var _154=function(_155){if(_155){_155=_155.slice();for(var i=0,l=_155.length;i<l;i++){_155[i].call(self,name,_151,_152);}}};_154(_150["_"+name]);if(!_153){_154(_150["*"]);}};}if(!_14f&&typeof name==="function"){_14f=name;name="*";}else{name="_"+name;}var _156=_150[name];if(typeof _156!=="object"){_156=_150[name]=[];}_156.push(_14f);var _157={};_157.unwatch=_157.remove=function(){var _158=_145.indexOf(_156,_14f);if(_158>-1){_156.splice(_158,1);}};return _157;}});});},"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\" role=\"menubar\" tabIndex=\"${tabIndex}\"\n\t ></div>\n","url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,textDirNode\"\n\t\trole=\"presentation\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<span data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<span class=\"dijitInline dijitIcon dijitMenuExpand\"></span>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</span>\n\t</td>\n</tr>\n","url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t   cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n","url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode,textDirNode\"></span>\n</div>\n","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"${role}\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span class=\"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span class=\"dijitMenuItemIconChar dijitCheckedMenuItemIconChar\">${checkedChar}</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode,textDirNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","*noref":1}});define("dijit/_dijit_menu",[],1);require(["dijit/Menu","dijit/MenuBar","dijit/MenuBarItem","dijit/MenuItem","dijit/MenuSeparator","dijit/CheckedMenuItem","dijit/PopupMenuItem","dijit/PopupMenuBarItem"]);
}catch(e){console.log("Module 'dijit_menu_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

//>>built
define("dojo/nls/_fmt_en",{"dojo/cldr/nls/currency":{"BRE_displayName":"Brazilian Cruzeiro (1990-1993)","DEM_displayName":"German Mark","CUP_displayName":"Cuban Peso","XSU_displayName":"Sucre","PYG_displayName":"Paraguayan Guarani","CLE_displayName":"Chilean Escudo","MDC_displayName":"Moldovan Cupon","MDL_displayName":"Moldovan Leu","DOP_displayName":"Dominican Peso","NGN_displayName":"Nigerian Naira","KZT_displayName":"Kazakhstani Tenge","MXV_displayName":"Mexican Investment Unit","LTT_displayName":"Lithuanian Talonas","LAK_displayName":"Laotian Kip","LKR_displayName":"Sri Lankan Rupee","AOR_displayName":"Angolan Readjusted Kwanza (1995-1999)","XEU_displayName":"European Currency Unit","XOF_symbol":"CFA","USS_displayName":"US Dollar (Same day)","MNT_displayName":"Mongolian Tugrik","RHD_displayName":"Rhodesian Dollar","MOP_displayName":"Macanese Pataca","TJR_displayName":"Tajikistani Ruble","LUC_displayName":"Luxembourgian Convertible Franc","LUL_displayName":"Luxembourg Financial Franc","AON_displayName":"Angolan New Kwanza (1990-2000)","TWD_symbol":"NT$","BEF_displayName":"Belgian Franc","GHS_displayName":"Ghanaian Cedi","IEP_displayName":"Irish Pound","SBD_displayName":"Solomon Islands Dollar","XUA_displayName":"ADB Unit of Account","KRO_displayName":"South Korean Won (1945-1953)","GRD_displayName":"Greek Drachma","NIC_displayName":"Nicaraguan Córdoba (1988-1991)","AZM_displayName":"Azerbaijani Manat (1993-2006)","CNY_symbol":"CN¥","MTP_displayName":"Maltese Pound","MKN_displayName":"Macedonian Denar (1992-1993)","LVR_displayName":"Latvian Ruble","GNF_displayName":"Guinean Franc","GIP_displayName":"Gibraltar Pound","SRG_displayName":"Surinamese Guilder","BAD_displayName":"Bosnia-Herzegovina Dinar (1992-1994)","FJD_displayName":"Fijian Dollar","BAM_displayName":"Bosnia-Herzegovina Convertible Mark","XBB_displayName":"European Monetary Unit","CDF_displayName":"Congolese Franc","HRD_displayName":"Croatian Dinar","BZD_displayName":"Belize Dollar","MLF_displayName":"Malian Franc","EGP_displayName":"Egyptian Pound","MVR_displayName":"Maldivian Rufiyaa","BAN_displayName":"Bosnia-Herzegovina New Dinar (1994-1997)","TRY_displayName":"Turkish Lira","ILR_displayName":"Israeli Sheqel (1980-1985)","SDP_displayName":"Sudanese Pound (1957-1998)","XRE_displayName":"RINET Funds","ARM_displayName":"Argentine Peso (1881-1970)","NPR_displayName":"Nepalese Rupee","PHP_displayName":"Philippine Peso","WST_displayName":"Samoan Tala","TRL_displayName":"Turkish Lira (1922-2005)","JPY_displayName":"Japanese Yen","TMM_displayName":"Turkmenistani Manat (1993-2009)","BGN_displayName":"Bulgarian Lev","KYD_displayName":"Cayman Islands Dollar","VUV_displayName":"Vanuatu Vatu","IRR_displayName":"Iranian Rial","DJF_displayName":"Djiboutian Franc","XDR_displayName":"Special Drawing Rights","ECS_displayName":"Ecuadorian Sucre","HKD_symbol":"HK$","NLG_displayName":"Dutch Guilder","ISJ_displayName":"Icelandic Króna (1918-1981)","MWK_displayName":"Malawian Kwacha","HTG_displayName":"Haitian Gourde","PES_displayName":"Peruvian Sol (1863-1965)","LYD_displayName":"Libyan Dinar","BRR_displayName":"Brazilian Cruzeiro (1993-1994)","XXX_displayName":"Unknown Currency","IDR_displayName":"Indonesian Rupiah","USD_displayName":"US Dollar","KGS_displayName":"Kyrgystani Som","BRN_displayName":"Brazilian New Cruzado (1989-1990)","CHF_displayName":"Swiss Franc","ISK_displayName":"Icelandic Króna","LUF_displayName":"Luxembourgian Franc","MXN_symbol":"MX$","SVC_displayName":"Salvadoran Colón","ZMK_displayName":"Zambian Kwacha (1968-2012)","ZWR_displayName":"Zimbabwean Dollar (2008)","TOP_displayName":"Tongan Paʻanga","ITL_displayName":"Italian Lira","USN_displayName":"US Dollar (Next day)","VND_symbol":"₫","KWD_displayName":"Kuwaiti Dinar","NIO_displayName":"Nicaraguan Córdoba","KMF_displayName":"Comorian Franc","UYI_displayName":"Uruguayan Peso (Indexed Units)","MYR_displayName":"Malaysian Ringgit","XFU_displayName":"French UIC-Franc","GMD_displayName":"Gambian Dalasi","LVL_displayName":"Latvian Lats","AUD_displayName":"Australian Dollar","XPF_displayName":"CFP Franc","LBP_displayName":"Lebanese Pound","ALK_displayName":"Albanian Lek (1946-1965)","BYB_displayName":"Belarusian New Ruble (1994-1999)","MKD_displayName":"Macedonian Denar","GWP_displayName":"Guinea-Bissau Peso","CNY_displayName":"Chinese Yuan","MAF_displayName":"Moroccan Franc","JOD_displayName":"Jordanian Dinar","_localized":{"en-ca":1,"en-fj":1,"en-in":1,"en-lr":1,"en-ls":1,"en-cm":1,"en-vc":1,"en-sb":1,"en-sc":1,"en-sg":1,"en-pg":1,"en-ph":1,"en-gb":1,"en-mg":1,"en-sl":1,"en-gd":1,"en-pk":1,"en-gh":1,"en-gi":1,"en-ss":1,"en-jm":1,"en-vu":1,"en-ag":1,"en-gm":1,"en-dm":1,"en-mt":1,"en-mu":1,"en-sz":1,"en-mw":1,"en-za":1,"en-gy":1,"en-au":1,"en-na":1,"en-zm":1,"en-ng":1,"en-ke":1,"en-bb":1,"en-ki":1,"en-to":1,"en-ws":1,"en-be":1,"en-hk":1,"en-zw":1,"en-kn":1,"en-tt":1,"en-bm":1,"en-tz":1,"en-nz":1,"en-ky":1,"en-bs":1,"en-bw":1,"en-ug":1,"en-bz":1,"en-dsrt":1,"en-lc":1},"OMR_displayName":"Omani Rial","BOV_displayName":"Bolivian Mvdol","XPT_displayName":"Platinum","AUD_symbol":"A$","NOK_displayName":"Norwegian Krone","SCR_displayName":"Seychellois Rupee","XBA_displayName":"European Composite Unit","CSK_displayName":"Czechoslovak Hard Koruna","PLZ_displayName":"Polish Zloty (1950-1995)","UAK_displayName":"Ukrainian Karbovanets","MGF_displayName":"Malagasy Franc","GNS_displayName":"Guinean Syli","YUN_displayName":"Yugoslavian Convertible Dinar (1990-1992)","GYD_displayName":"Guyanaese Dollar","QAR_displayName":"Qatari Rial","ALL_displayName":"Albanian Lek","BBD_displayName":"Barbadian Dollar","SSP_displayName":"South Sudanese Pound","RON_displayName":"Romanian Leu","XCD_symbol":"EC$","AMD_displayName":"Armenian Dram","ARL_displayName":"Argentine Peso Ley (1970-1983)","CYP_displayName":"Cypriot Pound","GBP_symbol":"£","SEK_displayName":"Swedish Krona","MMK_displayName":"Myanma Kyat","ZAR_displayName":"South African Rand","ECV_displayName":"Ecuadorian Unit of Constant Value","BGM_displayName":"Bulgarian Socialist Lev","AWG_displayName":"Aruban Florin","STD_displayName":"São Tomé and Príncipe Dobra","CAD_displayName":"Canadian Dollar","ADP_displayName":"Andorran Peseta","MRO_displayName":"Mauritanian Ouguiya","ESB_displayName":"Spanish Peseta (convertible account)","LSL_displayName":"Lesotho Loti","TND_displayName":"Tunisian Dinar","USD_symbol":"$","BRC_displayName":"Brazilian Cruzado (1986-1989)","BMD_displayName":"Bermudan Dollar","BRL_displayName":"Brazilian Real","JMD_displayName":"Jamaican Dollar","SOS_displayName":"Somali Shilling","SAR_displayName":"Saudi Riyal","PEI_displayName":"Peruvian Inti","ESP_displayName":"Spanish Peseta","HKD_displayName":"Hong Kong Dollar","BWP_displayName":"Botswanan Pula","TTD_displayName":"Trinidad and Tobago Dollar","BRZ_displayName":"Brazilian Cruzeiro (1942-1967)","BSD_displayName":"Bahamian Dollar","BIF_displayName":"Burundian Franc","FRF_displayName":"French Franc","DKK_displayName":"Danish Krone","AED_displayName":"United Arab Emirates Dirham","AOK_displayName":"Angolan Kwanza (1977-1991)","ATS_displayName":"Austrian Schilling","PEN_displayName":"Peruvian Nuevo Sol","CRC_displayName":"Costa Rican Colón","PAB_displayName":"Panamanian Balboa","CHE_displayName":"WIR Euro","GQE_displayName":"Equatorial Guinean Ekwele","DZD_displayName":"Algerian Dinar","EEK_displayName":"Estonian Kroon","YDD_displayName":"Yemeni Dinar","GHC_displayName":"Ghanaian Cedi (1979-2007)","MXP_displayName":"Mexican Silver Peso (1861-1992)","XPD_displayName":"Palladium","KRH_displayName":"South Korean Hwan (1953-1962)","XAG_displayName":"Silver","AFN_displayName":"Afghan Afghani","XFO_displayName":"French Gold Franc","GWE_displayName":"Portuguese Guinea Escudo","BOB_displayName":"Bolivian Boliviano","CAD_symbol":"CA$","VND_displayName":"Vietnamese Dong","ZWD_displayName":"Zimbabwean Dollar (1980-2008)","AFA_displayName":"Afghan Afghani (1927-2002)","JPY_symbol":"¥","SRD_displayName":"Surinamese Dollar","ZRN_displayName":"Zairean New Zaire (1993-1998)","XAU_displayName":"Gold","KRW_symbol":"₩","BOP_displayName":"Bolivian Peso","XBD_displayName":"European Unit of Account (XBD)","TZS_displayName":"Tanzanian Shilling","CNX_displayName":"Chinese People’s Bank Dollar","BOL_displayName":"Bolivian Boliviano (1863-1963)","XPF_symbol":"CFPF","ROL_displayName":"Romanian Leu (1952-2006)","VNN_displayName":"Vietnamese Dong (1978-1985)","LRD_displayName":"Liberian Dollar","KRW_displayName":"South Korean Won","SHP_displayName":"Saint Helena Pound","MZE_displayName":"Mozambican Escudo","MZN_displayName":"Mozambican Metical","SDD_displayName":"Sudanese Dinar (1992-2007)","HRK_displayName":"Croatian Kuna","FKP_displayName":"Falkland Islands Pound","COP_displayName":"Colombian Peso","YUD_displayName":"Yugoslavian Hard Dinar (1966-1990)","YUM_displayName":"Yugoslavian New Dinar (1994-2002)","THB_displayName":"Thai Baht","UZS_displayName":"Uzbekistan Som","MGA_displayName":"Malagasy Ariary","MVP_displayName":"Maldivian Rupee","COU_displayName":"Colombian Real Value Unit","TWD_displayName":"New Taiwan Dollar","UGS_displayName":"Ugandan Shilling (1966-1987)","YUR_displayName":"Yugoslavian Reformed Dinar (1992-1993)","ZAL_displayName":"South African Rand (financial)","GEL_displayName":"Georgian Lari","ILP_displayName":"Israeli Pound","DDM_displayName":"East German Mark","KES_displayName":"Kenyan Shilling","CUC_displayName":"Cuban Convertible Peso","CZK_displayName":"Czech Republic Koruna","UGX_displayName":"Ugandan Shilling","ILS_symbol":"₪","TMT_displayName":"Turkmenistani Manat","THB_symbol":"฿","BGL_displayName":"Bulgarian Hard Lev","ARP_displayName":"Argentine Peso (1983-1985)","RUR_displayName":"Russian Ruble (1991-1998)","ERN_displayName":"Eritrean Nakfa","ESA_displayName":"Spanish Peseta (A account)","CLF_displayName":"Chilean Unit of Account (UF)","BRB_displayName":"Brazilian New Cruzeiro (1967-1986)","BHD_displayName":"Bahraini Dinar","SYP_displayName":"Syrian Pound","SZL_displayName":"Swazi Lilangeni","INR_displayName":"Indian Rupee","PTE_displayName":"Portuguese Escudo","KPW_displayName":"North Korean Won","XOF_displayName":"CFA Franc BCEAO","MXN_displayName":"Mexican Peso","RWF_displayName":"Rwandan Franc","ETB_displayName":"Ethiopian Birr","LTL_displayName":"Lithuanian Litas","BND_displayName":"Brunei Dollar","SUR_displayName":"Soviet Rouble","SKK_displayName":"Slovak Koruna","AOA_displayName":"Angolan Kwanza","CVE_displayName":"Cape Verdean Escudo","BRL_symbol":"R$","XTS_displayName":"Testing Currency Code","CLP_displayName":"Chilean Peso","HUF_displayName":"Hungarian Forint","TJS_displayName":"Tajikistani Somoni","GBP_displayName":"British Pound Sterling","TPE_displayName":"Timorese Escudo","BDT_displayName":"Bangladeshi Taka","SGD_displayName":"Singapore Dollar","SLL_displayName":"Sierra Leonean Leone","XAF_displayName":"CFA Franc BEAC","MTL_displayName":"Maltese Lira","ZRZ_displayName":"Zairean Zaire (1971-1993)","KHR_displayName":"Cambodian Riel","RSD_displayName":"Serbian Dinar","BEC_displayName":"Belgian Franc (convertible)","BEL_displayName":"Belgian Franc (financial)","AZN_displayName":"Azerbaijani Manat","FIM_displayName":"Finnish Markka","ZWL_displayName":"Zimbabwean Dollar (2009)","PKR_displayName":"Pakistani Rupee","UYP_displayName":"Uruguayan Peso (1975-1993)","ZMW_displayName":"Zambian Kwacha","CHW_displayName":"WIR Franc","XAF_symbol":"FCFA","PLN_displayName":"Polish Zloty","UAH_displayName":"Ukrainian Hryvnia","BTN_displayName":"Bhutanese Ngultrum","YER_displayName":"Yemeni Rial","UYU_displayName":"Uruguayan Peso","CSD_displayName":"Serbian Dinar (2002-2006)","VEF_displayName":"Venezuelan Bolívar","PGK_displayName":"Papua New Guinean Kina","XBC_displayName":"European Unit of Account (XBC)","EUR_displayName":"Euro","MUR_displayName":"Mauritian Rupee","MAD_displayName":"Moroccan Dirham","SDG_displayName":"Sudanese Pound","BYR_displayName":"Belarusian Ruble","VEB_displayName":"Venezuelan Bolívar (1871-2008)","IQD_displayName":"Iraqi Dinar","MZM_displayName":"Mozambican Metical (1980-2006)","NZD_symbol":"NZ$","SIT_displayName":"Slovenian Tolar","XCD_displayName":"East Caribbean Dollar","RUB_displayName":"Russian Ruble","BUK_displayName":"Burmese Kyat","ILS_displayName":"Israeli New Sheqel","INR_symbol":"₹","NAD_displayName":"Namibian Dollar","HNL_displayName":"Honduran Lempira","GTQ_displayName":"Guatemalan Quetzal","MCF_displayName":"Monegasque Franc","GEK_displayName":"Georgian Kupon Larit","EUR_symbol":"€","NZD_displayName":"New Zealand Dollar","BGO_displayName":"Bulgarian Lev (1879-1952)","ARA_displayName":"Argentine Austral","ARS_displayName":"Argentine Peso","ANG_displayName":"Netherlands Antillean Guilder"},"dojo/cldr/nls/number":{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:^S:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","_localized":{"en-in":1,"en-tt":1,"en-bz":1,"en-us-posix":1,"en-150":1,"en-sg":1,"en-na":1,"en-be":1,"en-jm":1,"en-zw":1,"en-za":1,"en-hk":1,"en-gb":1,"en-bw":1},"decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤#,##0.00;(¤#,##0.00)","currencySpacing-beforeCurrency-currencyMatch":"[:^S:]","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat-long":"000 trillion","decimalFormat":"#,##0.###","decimal":".","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"dojo/cldr/nls/gregorian":{"dateFormatItem-Ehm":"E h:mm a","days-standAlone-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yMEd":"E, M/d/y","dateFormatItem-GyMMMEd":"E, MMM d, y G","dateFormatItem-MMMEd":"E, MMM d","eraNarrow":["B","A"],"days-format-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"MMMM d, y","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateTimeFormat-medium":"{1}, {0}","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, MMMM d, y","dateFormatItem-Md":"M/d","_localized":{"en-in":1,"en-dsrt":1,"en-bz":1,"en-150":1,"en-sg":1,"en-be":1,"en-nz":1,"en-zw":1,"en-pk":1,"en-za":1,"en-hk":1,"en-au":1,"en-ie":1,"en-mt":1,"en-gb":1,"en-bw":1},"dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateFormatItem-yMd":"M/d/y","dayPeriods-format-wide-noon":"noon","field-era":"Era","dateFormatItem-yM":"M/y","months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"timeFormat-short":"h:mm a","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-yQQQQ":"QQQQ y","timeFormat-long":"h:mm:ss a z","field-year":"Year","dateFormatItem-yMMM":"MMM y","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"timeFormat-full":"h:mm:ss a zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"Today","field-day-relative+1":"Tomorrow","dateFormatItem-GyMMMd":"MMM d, y G","dateFormatItem-H":"HH","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-Gy":"y G","dateFormatItem-M":"L","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"timeFormat-medium":"h:mm:ss a","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"eraAbbr":["BC","AD"],"field-minute":"Minute","field-dayperiod":"AM/PM","days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"Yesterday","dateFormatItem-h":"h a","dateTimeFormat-long":"{1} 'at' {0}","dayPeriods-format-narrow-am":"a","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M/d","dateTimeFormat-full":"{1} 'at' {0}","field-day":"Day","days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"field-zone":"Time Zone","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"field-year-relative+-1":"Last year","field-month-relative+-1":"Last month","dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"eraNames":["Before Christ","Anno Domini"],"dateFormatItem-yMMMd":"MMM d, y","days-format-narrow":["S","M","T","W","T","F","S"],"days-standAlone-narrow":["S","M","T","W","T","F","S"],"dateFormatItem-MMM":"LLL","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-EHm":"E HH:mm","dateFormat-short":"M/d/yy","dateFormatItem-EHms":"E HH:mm:ss","dateFormatItem-Ehms":"E h:mm:ss a","dayPeriods-format-narrow-noon":"n","field-second":"Second","dateFormatItem-yMMMEd":"E, MMM d, y","field-month-relative+0":"This month","field-month-relative+1":"Next month","dateFormatItem-Ed":"d E","dateTimeFormats-appendItem-Timezone":"{0} {1}","field-week":"Week","dateFormat-medium":"MMM d, y","field-year-relative+0":"This year","field-week-relative+-1":"Last week","field-year-relative+1":"Next year","dayPeriods-format-narrow-pm":"p","dateTimeFormat-short":"{1}, {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-GyMMM":"MMM y G","field-week-relative+0":"This week","field-week-relative+1":"Next week"}});
}catch(e){console.log("Module 'dojo_fmt_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojo/request":function(){define(["./request/default!"],function(_1){return _1;});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(_2,_3,_4,_5,_6){var _7={};_2.setObject("dojo.number",_7);_7.format=function(_8,_9){_9=_2.mixin({},_9||{});var _a=_3.normalizeLocale(_9.locale),_b=_3.getLocalization("dojo.cldr","number",_a);_9.customs=_b;var _c=_9.pattern||_b[(_9.type||"decimal")+"Format"];if(isNaN(_8)||Math.abs(_8)==Infinity){return null;}return _7._applyPattern(_8,_c,_9);};_7._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_7._applyPattern=function(_d,_e,_f){_f=_f||{};var _10=_f.customs.group,_11=_f.customs.decimal,_12=_e.split(";"),_13=_12[0];_e=_12[(_d<0)?1:0]||("-"+_13);if(_e.indexOf("%")!=-1){_d*=100;}else{if(_e.indexOf("‰")!=-1){_d*=1000;}else{if(_e.indexOf("¤")!=-1){_10=_f.customs.currencyGroup||_10;_11=_f.customs.currencyDecimal||_11;_e=_e.replace(/\u00a4{1,3}/,function(_14){var _15=["symbol","currency","displayName"][_14.length-1];return _f[_15]||_f.currency||"";});}else{if(_e.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _16=_7._numberPatternRE;var _17=_13.match(_16);if(!_17){throw new Error("unable to find a number expression in pattern: "+_e);}if(_f.fractional===false){_f.places=0;}return _e.replace(_16,_7._formatAbsolute(_d,_17[0],{decimal:_11,group:_10,places:_f.places,round:_f.round}));};_7.round=function(_18,_19,_1a){var _1b=10/(_1a||10);return (_1b*+_18).toFixed(_19)/_1b;};if((0.9).toFixed()==0){var _1c=_7.round;_7.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _1c(v,p,m)+(v>0?d:-d);};}_7._formatAbsolute=function(_1d,_1e,_1f){_1f=_1f||{};if(_1f.places===true){_1f.places=0;}if(_1f.places===Infinity){_1f.places=6;}var _20=_1e.split("."),_21=typeof _1f.places=="string"&&_1f.places.indexOf(","),_22=_1f.places;if(_21){_22=_1f.places.substring(_21+1);}else{if(!(_22>=0)){_22=(_20[1]||[]).length;}}if(!(_1f.round<0)){_1d=_7.round(_1d,_22,_1f.round);}var _23=String(Math.abs(_1d)).split("."),_24=_23[1]||"";if(_20[1]||_1f.places){if(_21){_1f.places=_1f.places.substring(0,_21);}var pad=_1f.places!==undefined?_1f.places:(_20[1]&&_20[1].lastIndexOf("0")+1);if(pad>_24.length){_23[1]=_5.pad(_24,pad,"0",true);}if(_22<_24.length){_23[1]=_24.substr(0,_22);}}else{if(_23[1]){_23.pop();}}var _25=_20[0].replace(",","");pad=_25.indexOf("0");if(pad!=-1){pad=_25.length-pad;if(pad>_23[0].length){_23[0]=_5.pad(_23[0],pad);}if(_25.indexOf("#")==-1){_23[0]=_23[0].substr(_23[0].length-pad);}}var _26=_20[0].lastIndexOf(","),_27,_28;if(_26!=-1){_27=_20[0].length-_26-1;var _29=_20[0].substr(0,_26);_26=_29.lastIndexOf(",");if(_26!=-1){_28=_29.length-_26-1;}}var _2a=[];for(var _2b=_23[0];_2b;){var off=_2b.length-_27;_2a.push((off>0)?_2b.substr(off):_2b);_2b=(off>0)?_2b.slice(0,off):"";if(_28){_27=_28;delete _28;}}_23[0]=_2a.reverse().join(_1f.group||",");return _23.join(_1f.decimal||".");};_7.regexp=function(_2c){return _7._parseInfo(_2c).regexp;};_7._parseInfo=function(_2d){_2d=_2d||{};var _2e=_3.normalizeLocale(_2d.locale),_2f=_3.getLocalization("dojo.cldr","number",_2e),_30=_2d.pattern||_2f[(_2d.type||"decimal")+"Format"],_31=_2f.group,_32=_2f.decimal,_33=1;if(_30.indexOf("%")!=-1){_33/=100;}else{if(_30.indexOf("‰")!=-1){_33/=1000;}else{var _34=_30.indexOf("¤")!=-1;if(_34){_31=_2f.currencyGroup||_31;_32=_2f.currencyDecimal||_32;}}}var _35=_30.split(";");if(_35.length==1){_35.push("-"+_35[0]);}var re=_6.buildGroupRE(_35,function(_36){_36="(?:"+_6.escapeString(_36,".")+")";return _36.replace(_7._numberPatternRE,function(_37){var _38={signed:false,separator:_2d.strict?_31:[_31,""],fractional:_2d.fractional,decimal:_32,exponent:false},_39=_37.split("."),_3a=_2d.places;if(_39.length==1&&_33!=1){_39[1]="###";}if(_39.length==1||_3a===0){_38.fractional=false;}else{if(_3a===undefined){_3a=_2d.pattern?_39[1].lastIndexOf("0")+1:Infinity;}if(_3a&&_2d.fractional==undefined){_38.fractional=true;}if(!_2d.places&&(_3a<_39[1].length)){_3a+=","+_39[1].length;}_38.places=_3a;}var _3b=_39[0].split(",");if(_3b.length>1){_38.groupSize=_3b.pop().length;if(_3b.length>1){_38.groupSize2=_3b.pop().length;}}return "("+_7._realNumberRegexp(_38)+")";});},true);if(_34){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_3c,_3d,_3e,_3f){var _40=["symbol","currency","displayName"][_3e.length-1],_41=_6.escapeString(_2d[_40]||_2d.currency||"");_3d=_3d?"[\\s\\xa0]":"";_3f=_3f?"[\\s\\xa0]":"";if(!_2d.strict){if(_3d){_3d+="*";}if(_3f){_3f+="*";}return "(?:"+_3d+_41+_3f+")?";}return _3d+_41+_3f;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_31,decimal:_32,factor:_33};};_7.parse=function(_42,_43){var _44=_7._parseInfo(_43),_45=(new RegExp("^"+_44.regexp+"$")).exec(_42);if(!_45){return NaN;}var _46=_45[1];if(!_45[1]){if(!_45[2]){return NaN;}_46=_45[2];_44.factor*=-1;}_46=_46.replace(new RegExp("["+_44.group+"\\s\\xa0"+"]","g"),"").replace(_44.decimal,".");return _46*_44.factor;};_7._realNumberRegexp=function(_47){_47=_47||{};if(!("places" in _47)){_47.places=Infinity;}if(typeof _47.decimal!="string"){_47.decimal=".";}if(!("fractional" in _47)||/^0/.test(_47.places)){_47.fractional=[true,false];}if(!("exponent" in _47)){_47.exponent=[true,false];}if(!("eSigned" in _47)){_47.eSigned=[true,false];}var _48=_7._integerRegexp(_47),_49=_6.buildGroupRE(_47.fractional,function(q){var re="";if(q&&(_47.places!==0)){re="\\"+_47.decimal;if(_47.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_47.places+"}";}}return re;},true);var _4a=_6.buildGroupRE(_47.exponent,function(q){if(q){return "([eE]"+_7._integerRegexp({signed:_47.eSigned})+")";}return "";});var _4b=_48+_49;if(_49){_4b="(?:(?:"+_4b+")|(?:"+_49+"))";}return _4b+_4a;};_7._integerRegexp=function(_4c){_4c=_4c||{};if(!("signed" in _4c)){_4c.signed=[true,false];}if(!("separator" in _4c)){_4c.separator="";}else{if(!("groupSize" in _4c)){_4c.groupSize=3;}}var _4d=_6.buildGroupRE(_4c.signed,function(q){return q?"[-+]":"";},true);var _4e=_6.buildGroupRE(_4c.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_6.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_4c.groupSize,_4f=_4c.groupSize2;if(_4f){var _50="(?:0|[1-9]\\d{0,"+(_4f-1)+"}(?:["+sep+"]\\d{"+_4f+"})*["+sep+"]\\d{"+grp+"})";return ((grp-_4f)>0)?"(?:"+_50+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_50;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _4d+_4e;};return _7;});},"dojo/date":function(){define(["./has","./_base/lang"],function(has,_51){var _52={};_52.getDaysInMonth=function(_53){var _54=_53.getMonth();var _55=[31,28,31,30,31,30,31,31,30,31,30,31];if(_54==1&&_52.isLeapYear(_53)){return 29;}return _55[_54];};_52.isLeapYear=function(_56){var _57=_56.getFullYear();return !(_57%400)||(!(_57%4)&&!!(_57%100));};_52.getTimezoneName=function(_58){var str=_58.toString();var tz="";var _59;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_59=str.match(pat))){tz=_59[1];}else{str=_58.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_59=str.match(pat))){tz=_59[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};_52.compare=function(_5a,_5b,_5c){_5a=new Date(+_5a);_5b=new Date(+(_5b||new Date()));if(_5c=="date"){_5a.setHours(0,0,0,0);_5b.setHours(0,0,0,0);}else{if(_5c=="time"){_5a.setFullYear(0,0,0);_5b.setFullYear(0,0,0);}}if(_5a>_5b){return 1;}if(_5a<_5b){return -1;}return 0;};_52.add=function(_5d,_5e,_5f){var sum=new Date(+_5d);var _60=false;var _61="Date";switch(_5e){case "day":break;case "weekday":var _62,_63;var mod=_5f%5;if(!mod){_62=(_5f>0)?5:-5;_63=(_5f>0)?((_5f-5)/5):((_5f+5)/5);}else{_62=mod;_63=parseInt(_5f/5);}var _64=_5d.getDay();var adj=0;if(_64==6&&_5f>0){adj=1;}else{if(_64==0&&_5f<0){adj=-1;}}var _65=_64+_62;if(_65==0||_65==6){adj=(_5f>0)?2:-2;}_5f=(7*_63)+_62+adj;break;case "year":_61="FullYear";_60=true;break;case "week":_5f*=7;break;case "quarter":_5f*=3;case "month":_60=true;_61="Month";break;default:_61="UTC"+_5e.charAt(0).toUpperCase()+_5e.substring(1)+"s";}if(_61){sum["set"+_61](sum["get"+_61]()+_5f);}if(_60&&(sum.getDate()<_5d.getDate())){sum.setDate(0);}return sum;};_52.difference=function(_66,_67,_68){_67=_67||new Date();_68=_68||"day";var _69=_67.getFullYear()-_66.getFullYear();var _6a=1;switch(_68){case "quarter":var m1=_66.getMonth();var m2=_67.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_69*4);_6a=q2-q1;break;case "weekday":var _6b=Math.round(_52.difference(_66,_67,"day"));var _6c=parseInt(_52.difference(_66,_67,"week"));var mod=_6b%7;if(mod==0){_6b=_6c*5;}else{var adj=0;var _6d=_66.getDay();var _6e=_67.getDay();_6c=parseInt(_6b/7);mod=_6b%7;var _6f=new Date(_66);_6f.setDate(_6f.getDate()+(_6c*7));var _70=_6f.getDay();if(_6b>0){switch(true){case _6d==6:adj=-1;break;case _6d==0:adj=0;break;case _6e==6:adj=-1;break;case _6e==0:adj=-2;break;case (_70+mod)>5:adj=-2;}}else{if(_6b<0){switch(true){case _6d==6:adj=0;break;case _6d==0:adj=1;break;case _6e==6:adj=2;break;case _6e==0:adj=1;break;case (_70+mod)<0:adj=2;}}}_6b+=adj;_6b-=(_6c*2);}_6a=_6b;break;case "year":_6a=_69;break;case "month":_6a=(_67.getMonth()-_66.getMonth())+(_69*12);break;case "week":_6a=parseInt(_52.difference(_66,_67,"day")/7);break;case "day":_6a/=24;case "hour":_6a/=60;case "minute":_6a/=60;case "second":_6a/=1000;case "millisecond":_6a*=_67.getTime()-_66.getTime();}return Math.round(_6a);};1&&_51.mixin(_51.getObject("dojo.date",true),_52);return _52;});},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(_71,_72){var _73={};_72.setObject("dojo.cldr.monetary",_73);_73.getData=function(_74){var _75={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:0,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:0,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0};var _76={};var _77=_75[_74],_78=_76[_74];if(typeof _77=="undefined"){_77=2;}if(typeof _78=="undefined"){_78=0;}return {places:_77,round:_78};};return _73;});},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(_79,_7a){var _7b={};_79.setObject("dojo.cldr.supplemental",_7b);_7b.getFirstDayOfWeek=function(_7c){var _7d={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0};var _7e=_7b._region(_7c);var dow=_7d[_7e];return (dow===undefined)?1:dow;};_7b._region=function(_7f){_7f=_7a.normalizeLocale(_7f);var _80=_7f.split("-");var _81=_80[1];if(!_81){_81={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[_80[0]];}else{if(_81.length==4){_81=_80[2];}}return _81;};_7b.getWeekend=function(_82){var _83={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5},_84={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6},_85=_7b._region(_82),_86=_83[_85],end=_84[_85];if(_86===undefined){_86=6;}if(end===undefined){end=0;}return {start:_86,end:end};};return _7b;});},"dojo/currency":function(){define(["./_base/array","./_base/lang","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_87,_88,_89,_8a,_8b,_8c){var _8d={};_88.setObject("dojo.currency",_8d);_8d._mixInDefaults=function(_8e){_8e=_8e||{};_8e.type="currency";var _8f=_8a.getLocalization("dojo.cldr","currency",_8e.locale)||{};var iso=_8e.currency;var _90=_8c.getData(iso);_87.forEach(["displayName","symbol","group","decimal"],function(_91){_90[_91]=_8f[iso+"_"+_91];});_90.fractional=[true,false];return _88.mixin(_90,_8e);};_8d.format=function(_92,_93){return _89.format(_92,_8d._mixInDefaults(_93));};_8d.regexp=function(_94){return _89.regexp(_8d._mixInDefaults(_94));};_8d.parse=function(_95,_96){return _89.parse(_95,_8d._mixInDefaults(_96));};return _8d;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_97,_98,has,_99){var _9a;if(1){_9a=function(url,_9b,_9c){_99(url,{sync:!!_9b,headers:{"X-Requested-With":null}}).then(_9c);};}else{if(_98.getText){_9a=_98.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _9d={},_9e=function(_9f){if(_9f){_9f=_9f.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _a0=_9f.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_a0){_9f=_a0[1];}}else{_9f="";}return _9f;},_a1={},_a2={};_97.cache=function(_a3,url,_a4){var key;if(typeof _a3=="string"){if(/\//.test(_a3)){key=_a3;_a4=url;}else{key=_98.toUrl(_a3.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_a3+"";_a4=url;}var val=(_a4!=undefined&&typeof _a4!="string")?_a4.value:_a4,_a5=_a4&&_a4.sanitize;if(typeof val=="string"){_9d[key]=val;return _a5?_9e(val):val;}else{if(val===null){delete _9d[key];return null;}else{if(!(key in _9d)){_9a(key,true,function(_a6){_9d[key]=_a6;});}return _a5?_9e(_9d[key]):_9d[key];}}};return {dynamic:true,normalize:function(id,_a7){var _a8=id.split("!"),url=_a8[0];return (/^\./.test(url)?_a7(url):url)+(_a8[1]?"!"+_a8[1]:"");},load:function(id,_a9,_aa){var _ab=id.split("!"),_ac=_ab.length>1,_ad=_ab[0],url=_a9.toUrl(_ab[0]),_ae="url:"+url,_af=_a1,_b0=function(_b1){_aa(_ac?_9e(_b1):_b1);};if(_ad in _9d){_af=_9d[_ad];}else{if(_a9.cache&&_ae in _a9.cache){_af=_a9.cache[_ae];}else{if(url in _9d){_af=_9d[url];}}}if(_af===_a1){if(_a2[url]){_a2[url].push(_b0);}else{var _b2=_a2[url]=[_b0];_9a(url,!_a9.async,function(_b3){_9d[_ad]=_9d[url]=_b3;for(var i=0;i<_b2.length;){_b2[i++](_b3);}delete _a2[url];});}}else{_b0(_af);}}};});},"dojo/request/default":function(){define(["exports","require","../has"],function(_b4,_b5,has){var _b6=has("config-requestProvider"),_b7;if(1){_b7="./xhr";}else{if(0){_b7="./node";}}if(!_b6){_b6=_b7;}_b4.getPlatformDefaultId=function(){return _b7;};_b4.load=function(id,_b8,_b9,_ba){_b5([id=="platform"?_b7:_b6],function(_bb){_b9(_bb);});};});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(_bc,_bd,has,_be,_bf,_c0,xhr,_c1,_c2){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _c3=_bc.i18n={},_c4=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_c5=function(_c6,_c7,_c8,_c9){for(var _ca=[_c8+_c9],_cb=_c7.split("-"),_cc="",i=0;i<_cb.length;i++){_cc+=(_cc?"-":"")+_cb[i];if(!_c6||_c6[_cc]){_ca.push(_c8+_cc+"/"+_c9);_ca.specificity=_cc;}}return _ca;},_cd={},_ce=function(_cf,_d0,_d1){_d1=_d1?_d1.toLowerCase():_bc.locale;_cf=_cf.replace(/\./g,"/");_d0=_d0.replace(/\./g,"/");return (/root/i.test(_d1))?(_cf+"/nls/"+_d0):(_cf+"/nls/"+_d1+"/"+_d0);},_d2=_bc.getL10nName=function(_d3,_d4,_d5){return _d3=_c2.id+"!"+_ce(_d3,_d4,_d5);},_d6=function(_d7,_d8,_d9,_da,_db,_dc){_d7([_d8],function(_dd){var _de=_c0.clone(_dd.root||_dd.ROOT),_df=_c5(!_dd._v1x&&_dd,_db,_d9,_da);_d7(_df,function(){for(var i=1;i<_df.length;i++){_de=_c0.mixin(_c0.clone(_de),arguments[i]);}var _e0=_d8+"/"+_db;_cd[_e0]=_de;_de.$locale=_df.specificity;_dc();});});},_e1=function(id,_e2){return /^\./.test(id)?_e2(id):id;},_e3=function(_e4){var _e5=_bf.extraLocale||[];_e5=_c0.isArray(_e5)?_e5:[_e5];_e5.push(_e4);return _e5;},_e6=function(id,_e7,_e8){if(has("dojo-preload-i18n-Api")){var _e9=id.split("*"),_ea=_e9[1]=="preload";if(_ea){if(!_cd[id]){_cd[id]=1;_eb(_e9[2],_c1.parse(_e9[3]),1,_e7);}_e8(1);}if(_ea||_ec(id,_e7,_e8)){return;}}var _ed=_c4.exec(id),_ee=_ed[1]+"/",_ef=_ed[5]||_ed[4],_f0=_ee+_ef,_f1=(_ed[5]&&_ed[4]),_f2=_f1||_bc.locale||"",_f3=_f0+"/"+_f2,_f4=_f1?[_f2]:_e3(_f2),_f5=_f4.length,_f6=function(){if(!--_f5){_e8(_c0.delegate(_cd[_f3]));}};_be.forEach(_f4,function(_f7){var _f8=_f0+"/"+_f7;if(has("dojo-preload-i18n-Api")){_f9(_f8);}if(!_cd[_f8]){_d6(_e7,_f0,_ee,_ef,_f7,_f6);}else{_f6();}});};if(has("dojo-unit-tests")){var _fa=_c3.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _fb=_c3.normalizeLocale=function(_fc){var _fd=_fc?_fc.toLowerCase():_bc.locale;return _fd=="root"?"ROOT":_fd;},_fe=function(mid,_ff){return (1&&1)?_ff.isXdUrl(_bd.toUrl(mid+".js")):true;},_100=0,_101=[],_eb=_c3._preloadLocalizations=function(_102,_103,_104,_105){_105=_105||_bd;function _106(mid,_107){if(_fe(mid,_105)||_104){_105([mid],_107);}else{_121([mid],_107,_105);}};function _108(_109,func){var _10a=_109.split("-");while(_10a.length){if(func(_10a.join("-"))){return;}_10a.pop();}func("ROOT");};function _10b(){_100++;};function _10c(){--_100;while(!_100&&_101.length){_e6.apply(null,_101.shift());}};function _10d(path,name,loc,_10e){return _10e.toAbsMid(path+name+"/"+loc);};function _10f(_110){_110=_fb(_110);_108(_110,function(loc){if(_be.indexOf(_103,loc)>=0){var mid=_102.replace(/\./g,"/")+"_"+loc;_10b();_106(mid,function(_111){for(var p in _111){var _112=_111[p],_113=p.match(/(.+)\/([^\/]+)$/),_114,_115;if(!_113){continue;}_114=_113[2];_115=_113[1]+"/";_112._localized=_112._localized||{};var _116;if(loc==="ROOT"){var root=_116=_112._localized;delete _112._localized;root.root=_112;_cd[_bd.toAbsMid(p)]=root;}else{_116=_112._localized;_cd[_10d(_115,_114,loc,_bd)]=_112;}if(loc!==_110){function _117(_118,_119,_11a,_11b){var _11c=[],_11d=[];_108(_110,function(loc){if(_11b[loc]){_11c.push(_bd.toAbsMid(_118+loc+"/"+_119));_11d.push(_10d(_118,_119,loc,_bd));}});if(_11c.length){_10b();_105(_11c,function(){for(var i=0;i<_11c.length;i++){_11a=_c0.mixin(_c0.clone(_11a),arguments[i]);_cd[_11d[i]]=_11a;}_cd[_10d(_118,_119,_110,_bd)]=_c0.clone(_11a);_10c();});}else{_cd[_10d(_118,_119,_110,_bd)]=_11a;}};_117(_115,_114,_112,_116);}}_10c();});return true;}return false;});};_10f();_be.forEach(_bc.config.extraLocale,_10f);},_ec=function(id,_11e,load){if(_100){_101.push([id,_11e,load]);}return _100;},_f9=function(){};}if(1){var _11f={},_120=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_121=function(deps,_122,_123){var _124=[];_be.forEach(deps,function(mid){var url=_123.toUrl(mid+".js");function _e6(text){var _125=_120(text,_f9,mid,_11f);if(_125===_11f){_124.push(_cd[url]=_11f.result);}else{if(_125 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_125);_125={};}_124.push(_cd[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_125:{root:_125,_v1x:1}));}};if(_cd[url]){_124.push(_cd[url]);}else{var _126=_123.syncLoadNls(mid);if(!_126){_126=_f9(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_126){_124.push(_126);}else{if(!xhr){try{_123.getText(url,true,_e6);}catch(e){_124.push(_cd[url]={});}}else{xhr.get({url:url,sync:true,load:_e6,error:function(){_124.push(_cd[url]={});}});}}}});_122&&_122.apply(null,_124);};_f9=function(_127){for(var _128,_129=_127.split("/"),_12a=_bc.global[_129[0]],i=1;_12a&&i<_129.length-1;_12a=_12a[_129[i++]]){}if(_12a){_128=_12a[_129[i]];if(!_128){_128=_12a[_129[i].replace(/-/g,"_")];}if(_128){_cd[_127]=_128;}}return _128;};_c3.getLocalization=function(_12b,_12c,_12d){var _12e,_12f=_ce(_12b,_12c,_12d);_e6(_12f,(!_fe(_12f,_bd)?function(deps,_130){_121(deps,_130,_bd);}:_bd),function(_131){_12e=_131;});return _12e;};if(has("dojo-unit-tests")){_fa.push(function(doh){doh.register("tests.i18n.unit",function(t){var _132;_132=_120("{prop:1}",_f9,"nonsense",_11f);t.is({prop:1},_132);t.is(undefined,_132[1]);_132=_120("({prop:1})",_f9,"nonsense",_11f);t.is({prop:1},_132);t.is(undefined,_132[1]);_132=_120("{'prop-x':1}",_f9,"nonsense",_11f);t.is({"prop-x":1},_132);t.is(undefined,_132[1]);_132=_120("({'prop-x':1})",_f9,"nonsense",_11f);t.is({"prop-x":1},_132);t.is(undefined,_132[1]);_132=_120("define({'prop-x':1})",_f9,"nonsense",_11f);t.is(_11f,_132);t.is({"prop-x":1},_11f.result);_132=_120("define('some/module', {'prop-x':1})",_f9,"nonsense",_11f);t.is(_11f,_132);t.is({"prop-x":1},_11f.result);_132=_120("this is total nonsense and should throw an error",_f9,"nonsense",_11f);t.is(_132 instanceof Error,true);});});}}return _c0.mixin(_c3,{dynamic:true,normalize:_e1,load:_e6,cache:_cd,getL10nName:_d2});});},"dojo/date/locale":function(){define(["../_base/lang","../_base/array","../date","../cldr/supplemental","../i18n","../regexp","../string","../i18n!../cldr/nls/gregorian","module"],function(lang,_133,date,_134,i18n,_135,_136,_137,_138){var _139={};lang.setObject(_138.id.replace(/\//g,"."),_139);function _13a(_13b,_13c,_13d,_13e){return _13e.replace(/([a-z])\1*/ig,function(_13f){var s,pad,c=_13f.charAt(0),l=_13f.length,_140=["abbr","wide","narrow"];switch(c){case "G":s=_13c[(l<4)?"eraAbbr":"eraNames"][_13b.getFullYear()<0?0:1];break;case "y":s=_13b.getFullYear();switch(l){case 1:break;case 2:if(!_13d.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_13b.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_13b.getMonth();if(l<3){s=m+1;pad=true;}else{var _141=["months",c=="L"?"standAlone":"format",_140[l-3]].join("-");s=_13c[_141][m];}break;case "w":var _142=0;s=_139._getWeekOfYear(_13b,_142);pad=true;break;case "d":s=_13b.getDate();pad=true;break;case "D":s=_139._getDayOfYear(_13b);pad=true;break;case "e":case "c":var d=_13b.getDay();if(l<2){s=(d-_134.getFirstDayOfWeek(_13d.locale)+8)%7;break;}case "E":d=_13b.getDay();if(l<3){s=d+1;pad=true;}else{var _143=["days",c=="c"?"standAlone":"format",_140[l-3]].join("-");s=_13c[_143][d];}break;case "a":var _144=_13b.getHours()<12?"am":"pm";s=_13d[_144]||_13c["dayPeriods-format-wide-"+_144];break;case "h":case "H":case "K":case "k":var h=_13b.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_13b.getMinutes();pad=true;break;case "s":s=_13b.getSeconds();pad=true;break;case "S":s=Math.round(_13b.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=_139._getZone(_13b,true,_13d);if(s){break;}l=4;case "Z":var _145=_139._getZone(_13b,false,_13d);var tz=[(_145<=0?"+":"-"),_136.pad(Math.floor(Math.abs(_145)/60),2),_136.pad(Math.abs(_145)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_13e);}if(pad){s=_136.pad(s,l);}return s;});};_139._getZone=function(_146,_147,_148){if(_147){return date.getTimezoneName(_146);}else{return _146.getTimezoneOffset();}};_139.format=function(_149,_14a){_14a=_14a||{};var _14b=i18n.normalizeLocale(_14a.locale),_14c=_14a.formatLength||"short",_14d=_139._getGregorianBundle(_14b),str=[],_14e=lang.hitch(this,_13a,_149,_14d,_14a);if(_14a.selector=="year"){return _14f(_14d["dateFormatItem-yyyy"]||"yyyy",_14e);}var _150;if(_14a.selector!="date"){_150=_14a.timePattern||_14d["timeFormat-"+_14c];if(_150){str.push(_14f(_150,_14e));}}if(_14a.selector!="time"){_150=_14a.datePattern||_14d["dateFormat-"+_14c];if(_150){str.push(_14f(_150,_14e));}}return str.length==1?str[0]:_14d["dateTimeFormat-"+_14c].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(_151,key){return str[key];});};_139.regexp=function(_152){return _139._parseInfo(_152).regexp;};_139._parseInfo=function(_153){_153=_153||{};var _154=i18n.normalizeLocale(_153.locale),_155=_139._getGregorianBundle(_154),_156=_153.formatLength||"short",_157=_153.datePattern||_155["dateFormat-"+_156],_158=_153.timePattern||_155["timeFormat-"+_156],_159;if(_153.selector=="date"){_159=_157;}else{if(_153.selector=="time"){_159=_158;}else{_159=_155["dateTimeFormat-"+_156].replace(/\{(\d+)\}/g,function(_15a,key){return [_158,_157][key];});}}var _15b=[],re=_14f(_159,lang.hitch(this,_15c,_15b,_155,_153));return {regexp:re,tokens:_15b,bundle:_155};};_139.parse=function(_15d,_15e){var _15f=/[\u200E\u200F\u202A\u202E]/g,info=_139._parseInfo(_15e),_160=info.tokens,_161=info.bundle,re=new RegExp("^"+info.regexp.replace(_15f,"")+"$",info.strict?"":"i"),_162=re.exec(_15d&&_15d.replace(_15f,""));if(!_162){return null;}var _163=["abbr","wide","narrow"],_164=[1970,0,1,0,0,0,0],amPm="",_165=_133.every(_162,function(v,i){if(!i){return true;}var _166=_160[i-1],l=_166.length,c=_166.charAt(0);switch(c){case "y":if(l!=2&&_15e.strict){_164[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_167=year.substring(0,2)*100,_168=Math.min(Number(year.substring(2,4))+20,99);_164[0]=(v<_168)?_167+v:_167-100+v;}else{if(_15e.strict){return false;}_164[0]=v;}}break;case "M":case "L":if(l>2){var _169=_161["months-"+(c=="L"?"standAlone":"format")+"-"+_163[l-3]].concat();if(!_15e.strict){v=v.replace(".","").toLowerCase();_169=_133.map(_169,function(s){return s.replace(".","").toLowerCase();});}v=_133.indexOf(_169,v);if(v==-1){return false;}}else{v--;}_164[1]=v;break;case "E":case "e":case "c":var days=_161["days-"+(c=="c"?"standAlone":"format")+"-"+_163[l-3]].concat();if(!_15e.strict){v=v.toLowerCase();days=_133.map(days,function(d){return d.toLowerCase();});}v=_133.indexOf(days,v);if(v==-1){return false;}break;case "D":_164[1]=0;case "d":_164[2]=v;break;case "a":var am=_15e.am||_161["dayPeriods-format-wide-am"],pm=_15e.pm||_161["dayPeriods-format-wide-pm"];if(!_15e.strict){var _16a=/\./g;v=v.replace(_16a,"").toLowerCase();am=am.replace(_16a,"").toLowerCase();pm=pm.replace(_16a,"").toLowerCase();}if(_15e.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_164[3]=v;break;case "m":_164[4]=v;break;case "s":_164[5]=v;break;case "S":_164[6]=v;}return true;});var _16b=+_164[3];if(amPm==="p"&&_16b<12){_164[3]=_16b+12;}else{if(amPm==="a"&&_16b==12){_164[3]=0;}}var _16c=new Date(_164[0],_164[1],_164[2],_164[3],_164[4],_164[5],_164[6]);if(_15e.strict){_16c.setFullYear(_164[0]);}var _16d=_160.join(""),_16e=_16d.indexOf("d")!=-1,_16f=_16d.indexOf("M")!=-1;if(!_165||(_16f&&_16c.getMonth()>_164[1])||(_16e&&_16c.getDate()>_164[2])){return null;}if((_16f&&_16c.getMonth()<_164[1])||(_16e&&_16c.getDate()<_164[2])){_16c=date.add(_16c,"hour",1);}return _16c;};function _14f(_170,_171,_172,_173){var _174=function(x){return x;};_171=_171||_174;_172=_172||_174;_173=_173||_174;var _175=_170.match(/(''|[^'])+/g),_176=_170.charAt(0)=="'";_133.forEach(_175,function(_177,i){if(!_177){_175[i]="";}else{_175[i]=(_176?_172:_171)(_177.replace(/''/g,"'"));_176=!_176;}});return _173(_175.join(""));};function _15c(_178,_179,_17a,_17b){_17b=_135.escapeString(_17b);if(!_17a.strict){_17b=_17b.replace(" a"," ?a");}return _17b.replace(/([a-z])\1*/ig,function(_17c){var s,c=_17c.charAt(0),l=_17c.length,p2="",p3="";if(_17a.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":case "L":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":case "e":case "c":s=".+?";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_17a.am||_179["dayPeriods-format-wide-am"],pm=_17a.pm||_179["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_17a.strict){if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_178){_178.push(_17c);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _17d=[];_139.addCustomFormats=function(_17e,_17f){_17d.push({pkg:_17e,name:_17f});};_139._getGregorianBundle=function(_180){var _181={};_133.forEach(_17d,function(desc){var _182=i18n.getLocalization(desc.pkg,desc.name,_180);_181=lang.mixin(_181,_182);},this);return _181;};_139.addCustomFormats(_138.id.replace(/\/date\/locale$/,".cldr"),"gregorian");_139.getNames=function(item,type,_183,_184){var _185,_186=_139._getGregorianBundle(_184),_187=[item,_183,type];if(_183=="standAlone"){var key=_187.join("-");_185=_186[key];if(_185[0]==1){_185=undefined;}}_187[1]="format";return (_185||_186[_187.join("-")]).concat();};_139.isWeekend=function(_188,_189){var _18a=_134.getWeekend(_189),day=(_188||new Date()).getDay();if(_18a.end<_18a.start){_18a.end+=7;if(day<_18a.start){day+=7;}}return day>=_18a.start&&day<=_18a.end;};_139._getDayOfYear=function(_18b){return date.difference(new Date(_18b.getFullYear(),0,1,_18b.getHours()),_18b)+1;};_139._getWeekOfYear=function(_18c,_18d){if(arguments.length==1){_18d=0;}var _18e=new Date(_18c.getFullYear(),0,1).getDay(),adj=(_18e-_18d+7)%7,week=Math.floor((_139._getDayOfYear(_18c)+adj-1)/7);if(_18e==_18d){week++;}return week;};return _139;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_18f){var _190={};lang.setObject("dojo.date.stamp",_190);_190.fromISOString=function(_191,_192){if(!_190._isoRegExp){_190._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _193=_190._isoRegExp.exec(_191),_194=null;if(_193){_193.shift();if(_193[1]){_193[1]--;}if(_193[6]){_193[6]*=1000;}if(_192){_192=new Date(_192);_18f.forEach(_18f.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _192["get"+prop]();}),function(_195,_196){_193[_196]=_193[_196]||_195;});}_194=new Date(_193[0]||1970,_193[1]||0,_193[2]||1,_193[3]||0,_193[4]||0,_193[5]||0,_193[6]||0);if(_193[0]<100){_194.setFullYear(_193[0]||1970);}var _197=0,_198=_193[7]&&_193[7].charAt(0);if(_198!="Z"){_197=((_193[8]||0)*60)+(Number(_193[9])||0);if(_198!="-"){_197*=-1;}}if(_198){_197-=_194.getTimezoneOffset();}if(_197){_194.setTime(_194.getTime()+_197*60000);}}return _194;};_190.toISOString=function(_199,_19a){var _19b=function(n){return (n<10)?"0"+n:n;};_19a=_19a||{};var _19c=[],_19d=_19a.zulu?"getUTC":"get",date="";if(_19a.selector!="time"){var year=_199[_19d+"FullYear"]();date=["0000".substr((year+"").length)+year,_19b(_199[_19d+"Month"]()+1),_19b(_199[_19d+"Date"]())].join("-");}_19c.push(date);if(_19a.selector!="date"){var time=[_19b(_199[_19d+"Hours"]()),_19b(_199[_19d+"Minutes"]()),_19b(_199[_19d+"Seconds"]())].join(":");var _19e=_199[_19d+"Milliseconds"]();if(_19a.milliseconds){time+="."+(_19e<100?"0":"")+_19b(_19e);}if(_19a.zulu){time+="Z";}else{if(_19a.selector!="time"){var _19f=_199.getTimezoneOffset();var _1a0=Math.abs(_19f);time+=(_19f>0?"-":"+")+_19b(Math.floor(_1a0/60))+":"+_19b(_1a0%60);}}_19c.push(time);}return _19c.join("T");};return _190;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_1a1,lang){var _1a2={};lang.setObject("dojo.string",_1a2);_1a2.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_1a2.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_1a2.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_1a2.substitute=function(_1a3,map,_1a4,_1a5){_1a5=_1a5||_1a1.global;_1a4=_1a4?lang.hitch(_1a5,_1a4):function(v){return v;};return _1a3.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1a6,key,_1a7){var _1a8=lang.getObject(key,false,map);if(_1a7){_1a8=lang.getObject(_1a7,false,_1a5).call(_1a5,_1a8,key);}return _1a4(_1a8,key).toString();});};_1a2.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _1a2;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _1a9={};lang.setObject("dojo.regexp",_1a9);_1a9.escapeString=function(str,_1aa){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_1aa&&_1aa.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_1a9.buildGroupRE=function(arr,re,_1ab){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _1a9.group(b.join("|"),_1ab);};_1a9.group=function(_1ac,_1ad){return "("+(_1ad?"?:":"")+_1ac+")";};return _1a9;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_1ae,_1af){var _1b0={};lang.setObject("dojo.colors",_1b0);var _1b1=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_1ae.fromRgb=function(_1b2,obj){var m=_1b2.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_1af.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _1ae.fromArray(a,obj);}return _1ae.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_1b1(m1,m2,H+1/3)*256,_1b1(m1,m2,H)*256,_1b1(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _1ae.fromArray(a,obj);}}return null;};var _1b3=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_1ae.prototype.sanitize=function(){var t=this;t.r=Math.round(_1b3(t.r,0,255));t.g=Math.round(_1b3(t.g,0,255));t.b=Math.round(_1b3(t.b,0,255));t.a=_1b3(t.a,0,1);return this;};_1b0.makeGrey=_1ae.makeGrey=function(g,a){return _1ae.fromArray([g,g,g,a]);};lang.mixin(_1ae.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _1ae;});},"*now":function(r){r(["dojo/i18n!*preload*dojo/nls/_fmt*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dojo/_fmt",[],1);require(["dojo/currency","dojo/number","dojo/text","dojo/colors","dojo/date","dojo/date/locale","dojo/date/stamp"]);
}catch(e){console.log("Module 'dojo_fmt_19': ",e);}
try{

}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{(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{(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{/*
	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;});},"dojox/html/metrics":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/ready","dojo/_base/unload","dojo/_base/window","dojo/dom-geometry"],function(_18,_19,has,_1a,_1b,_1c,_1d){var dhm=_19.getObject("dojox.html.metrics",true);var _1e=_19.getObject("dojox");dhm.getFontMeasurements=function(){var _1f={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};var _20;if(has("ie")){_20=_1c.doc.documentElement.style.fontSize||"";if(!_20){_1c.doc.documentElement.style.fontSize="100%";}}var div=_1c.doc.createElement("div");var ds=div.style;ds.position="absolute";ds.left="-100px";ds.top="0";ds.width="30px";ds.height="1000em";ds.borderWidth="0";ds.margin="0";ds.padding="0";ds.outline="0";ds.lineHeight="1";ds.overflow="hidden";_1c.body().appendChild(div);for(var p in _1f){ds.fontSize=p;_1f[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}if(has("ie")){_1c.doc.documentElement.style.fontSize=_20;}_1c.body().removeChild(div);div=null;return _1f;};var _21=null;dhm.getCachedFontMeasurements=function(_22){if(_22||!_21){_21=dhm.getFontMeasurements();}return _21;};var _23=null,_24={};dhm.getTextBox=function(_25,_26,_27){var m,s;if(!_23){m=_23=_1c.doc.createElement("div");var c=_1c.doc.createElement("div");c.appendChild(m);s=c.style;s.overflow="scroll";s.position="absolute";s.left="0px";s.top="-10000px";s.width="1px";s.height="1px";s.visibility="hidden";s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";_1c.body().appendChild(c);}else{m=_23;}m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(arguments.length>1&&_26){for(var i in _26){if(i in _24){continue;}s[i]=_26[i];}}if(arguments.length>2&&_27){m.className=_27;}m.innerHTML=_25;var box=_1d.position(m);box.w=m.parentNode.scrollWidth;return box;};var _28={w:16,h:16};dhm.getScrollbar=function(){return {w:_28.w,h:_28.h};};dhm._fontResizeNode=null;dhm.initOnFontResize=function(_29){var f=dhm._fontResizeNode=_1c.doc.createElement("iframe");var fs=f.style;fs.position="absolute";fs.width="5em";fs.height="10em";fs.top="-10000px";fs.display="none";if(has("ie")){f.onreadystatechange=function(){if(f.contentWindow.document.readyState=="complete"){f.onresize=f.contentWindow.parent[_1e._scopeName].html.metrics._fontresize;}};}else{f.onload=function(){f.contentWindow.onresize=f.contentWindow.parent[_1e._scopeName].html.metrics._fontresize;};}f.setAttribute("src","javascript:'<html><head><script>if(\"loadFirebugConsole\" in window){window.loadFirebugConsole();}</script></head><body></body></html>'");_1c.body().appendChild(f);dhm.initOnFontResize=function(){};};dhm.onFontResize=function(){};dhm._fontresize=function(){dhm.onFontResize();};_1b.addOnUnload(function(){var f=dhm._fontResizeNode;if(f){if(has("ie")&&f.onresize){f.onresize=null;}else{if(f.contentWindow&&f.contentWindow.onresize){f.contentWindow.onresize=null;}}dhm._fontResizeNode=null;}});_1a(function(){try{var n=_1c.doc.createElement("div");n.style.cssText="top:0;left:0;width:100px;height:100px;overflow:scroll;position:absolute;visibility:hidden;";_1c.body().appendChild(n);_28.w=n.offsetWidth-n.clientWidth;_28.h=n.offsetHeight-n.clientHeight;_1c.body().removeChild(n);delete n;}catch(e){}if("fontSizeWatch" in _18.config&&!!_18.config.fontSizeWatch){dhm.initOnFontResize();}});return dhm;});},"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(_2a,_2b,_2c,_2d,_2e,dom,_2f,_30,_31,all,_32,_33,has,_34,don,_35){new Date("X");function _36(_37){return eval("("+_37+")");};var _38=0;_31.after(_2c,"extend",function(){_38++;},true);function _39(_3a){var map=_3a._nameCaseMap,_3b=_3a.prototype;if(!map||map._extendCnt<_38){map=_3a._nameCaseMap={};for(var _3c in _3b){if(_3c.charAt(0)==="_"){continue;}map[_3c.toLowerCase()]=_3c;}map._extendCnt=_38;}return map;};var _3d={};function _3e(_3f,_40){var ts=_3f.join();if(!_3d[ts]){var _41=[];for(var i=0,l=_3f.length;i<l;i++){var t=_3f[i];_41[_41.length]=(_3d[t]=_3d[t]||(_2c.getObject(t)||(~t.indexOf("/")&&(_40?_40(t):_2a(t)))));}var _42=_41.shift();_3d[ts]=_41.length?(_42.createSubclass?_42.createSubclass(_41):_42.extend.apply(_42,_41)):_42;}return _3d[ts];};var _43={_clearCache:function(){_38++;_3d={};},_functionFromScript:function(_44,_45){var _46="",_47="",_48=(_44.getAttribute(_45+"args")||_44.getAttribute("args")),_49=_44.getAttribute("with");var _4a=(_48||"").split(/\s*,\s*/);if(_49&&_49.length){_2d.forEach(_49.split(/\s*,\s*/),function(_4b){_46+="with("+_4b+"){";_47+="}";});}return new Function(_4a,_46+_44.innerHTML+_47);},instantiate:function(_4c,_4d,_4e){_4d=_4d||{};_4e=_4e||{};var _4f=(_4e.scope||_2b._scopeName)+"Type",_50="data-"+(_4e.scope||_2b._scopeName)+"-",_51=_50+"type",_52=_50+"mixins";var _53=[];_2d.forEach(_4c,function(_54){var _55=_4f in _4d?_4d[_4f]:_54.getAttribute(_51)||_54.getAttribute(_4f);if(_55){var _56=_54.getAttribute(_52),_57=_56?[_55].concat(_56.split(/\s*,\s*/)):[_55];_53.push({node:_54,types:_57});}});return this._instantiate(_53,_4d,_4e);},_instantiate:function(_58,_59,_5a,_5b){var _5c=_2d.map(_58,function(obj){var _5d=obj.ctor||_3e(obj.types,_5a.contextRequire);if(!_5d){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_5d,obj.node,_59,_5a,obj.scripts,obj.inherited);},this);function _5e(_5f){if(!_59._started&&!_5a.noStart){_2d.forEach(_5f,function(_60){if(typeof _60.startup==="function"&&!_60._started){_60.startup();}});}return _5f;};if(_5b){return all(_5c).then(_5e);}else{return _5e(_5c);}},construct:function(_61,_62,_63,_64,_65,_66){var _67=_61&&_61.prototype;_64=_64||{};var _68={};if(_64.defaults){_2c.mixin(_68,_64.defaults);}if(_66){_2c.mixin(_68,_66);}var _69;if(has("dom-attributes-explicit")){_69=_62.attributes;}else{if(has("dom-attributes-specified-flag")){_69=_2d.filter(_62.attributes,function(a){return a.specified;});}else{var _6a=/^input$|^img$/i.test(_62.nodeName)?_62:_62.cloneNode(false),_6b=_6a.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_69=_2d.map(_6b.split(/\s+/),function(_6c){var _6d=_6c.toLowerCase();return {name:_6c,value:(_62.nodeName=="LI"&&_6c=="value")||_6d=="enctype"?_62.getAttribute(_6d):_62.getAttributeNode(_6d).value};});}}var _6e=_64.scope||_2b._scopeName,_6f="data-"+_6e+"-",_70={};if(_6e!=="dojo"){_70[_6f+"props"]="data-dojo-props";_70[_6f+"type"]="data-dojo-type";_70[_6f+"mixins"]="data-dojo-mixins";_70[_6e+"type"]="dojoType";_70[_6f+"id"]="data-dojo-id";}var i=0,_71,_72=[],_73,_74;while(_71=_69[i++]){var _75=_71.name,_76=_75.toLowerCase(),_77=_71.value;switch(_70[_76]||_76){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_74=_77;break;case "data-dojo-id":case "jsid":_73=_77;break;case "data-dojo-attach-point":case "dojoattachpoint":_68.dojoAttachPoint=_77;break;case "data-dojo-attach-event":case "dojoattachevent":_68.dojoAttachEvent=_77;break;case "class":_68["class"]=_62.className;break;case "style":_68["style"]=_62.style&&_62.style.cssText;break;default:if(!(_75 in _67)){var map=_39(_61);_75=map[_76]||_75;}if(_75 in _67){switch(typeof _67[_75]){case "string":_68[_75]=_77;break;case "number":_68[_75]=_77.length?Number(_77):NaN;break;case "boolean":_68[_75]=_77.toLowerCase()!="false";break;case "function":if(_77===""||_77.search(/[^\w\.]+/i)!=-1){_68[_75]=new Function(_77);}else{_68[_75]=_2c.getObject(_77,false)||new Function(_77);}_72.push(_75);break;default:var _78=_67[_75];_68[_75]=(_78&&"length" in _78)?(_77?_77.split(/\s*,\s*/):[]):(_78 instanceof Date)?(_77==""?new Date(""):_77=="now"?new Date():_32.fromISOString(_77)):(_78 instanceof _30)?(_2b.baseUrl+_77):_36(_77);}}else{_68[_75]=_77;}}}for(var j=0;j<_72.length;j++){var _79=_72[j].toLowerCase();_62.removeAttribute(_79);_62[_79]=null;}if(_74){try{_74=_36.call(_64.propsThis,"{"+_74+"}");_2c.mixin(_68,_74);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_74+"'");}}_2c.mixin(_68,_63);if(!_65){_65=(_61&&(_61._noScript||_67._noScript)?[]:_34("> script[type^='dojo/']",_62));}var _7a=[],_7b=[],_7c=[],ons=[];if(_65){for(i=0;i<_65.length;i++){var _7d=_65[i];_62.removeChild(_7d);var _7e=(_7d.getAttribute(_6f+"event")||_7d.getAttribute("event")),_7f=_7d.getAttribute(_6f+"prop"),_80=_7d.getAttribute(_6f+"method"),_81=_7d.getAttribute(_6f+"advice"),_82=_7d.getAttribute("type"),nf=this._functionFromScript(_7d,_6f);if(_7e){if(_82=="dojo/connect"){_7a.push({method:_7e,func:nf});}else{if(_82=="dojo/on"){ons.push({event:_7e,func:nf});}else{_68[_7e]=nf;}}}else{if(_82=="dojo/aspect"){_7a.push({method:_80,advice:_81,func:nf});}else{if(_82=="dojo/watch"){_7c.push({prop:_7f,func:nf});}else{_7b.push(nf);}}}}}var _83=_61.markupFactory||_67.markupFactory;var _84=_83?_83(_68,_62,_61):new _61(_68,_62);function _85(_86){if(_73){_2c.setObject(_73,_86);}for(i=0;i<_7a.length;i++){_31[_7a[i].advice||"after"](_86,_7a[i].method,_2c.hitch(_86,_7a[i].func),true);}for(i=0;i<_7b.length;i++){_7b[i].call(_86);}for(i=0;i<_7c.length;i++){_86.watch(_7c[i].prop,_7c[i].func);}for(i=0;i<ons.length;i++){don(_86,ons[i].event,ons[i].func);}return _86;};if(_84.then){return _84.then(_85);}else{return _85(_84);}},scan:function(_87,_88){var _89=[],_8a=[],_8b={};var _8c=(_88.scope||_2b._scopeName)+"Type",_8d="data-"+(_88.scope||_2b._scopeName)+"-",_8e=_8d+"type",_8f=_8d+"textdir",_90=_8d+"mixins";var _91=_87.firstChild;var _92=_88.inherited;if(!_92){function _93(_94,_95){return (_94.getAttribute&&_94.getAttribute(_95))||(_94.parentNode&&_93(_94.parentNode,_95));};_92={dir:_93(_87,"dir"),lang:_93(_87,"lang"),textDir:_93(_87,_8f)};for(var key in _92){if(!_92[key]){delete _92[key];}}}var _96={inherited:_92};var _97;var _98;function _99(_9a){if(!_9a.inherited){_9a.inherited={};var _9b=_9a.node,_9c=_99(_9a.parent);var _9d={dir:_9b.getAttribute("dir")||_9c.dir,lang:_9b.getAttribute("lang")||_9c.lang,textDir:_9b.getAttribute(_8f)||_9c.textDir};for(var key in _9d){if(_9d[key]){_9a.inherited[key]=_9d[key];}}}return _9a.inherited;};while(true){if(!_91){if(!_96||!_96.node){break;}_91=_96.node.nextSibling;_98=false;_96=_96.parent;_97=_96.scripts;continue;}if(_91.nodeType!=1){_91=_91.nextSibling;continue;}if(_97&&_91.nodeName.toLowerCase()=="script"){_9e=_91.getAttribute("type");if(_9e&&/^dojo\/\w/i.test(_9e)){_97.push(_91);}_91=_91.nextSibling;continue;}if(_98){_91=_91.nextSibling;continue;}var _9e=_91.getAttribute(_8e)||_91.getAttribute(_8c);var _9f=_91.firstChild;if(!_9e&&(!_9f||(_9f.nodeType==3&&!_9f.nextSibling))){_91=_91.nextSibling;continue;}var _a0;var _a1=null;if(_9e){var _a2=_91.getAttribute(_90),_a3=_a2?[_9e].concat(_a2.split(/\s*,\s*/)):[_9e];try{_a1=_3e(_a3,_88.contextRequire);}catch(e){}if(!_a1){_2d.forEach(_a3,function(t){if(~t.indexOf("/")&&!_8b[t]){_8b[t]=true;_8a[_8a.length]=t;}});}var _a4=_a1&&!_a1.prototype._noScript?[]:null;_a0={types:_a3,ctor:_a1,parent:_96,node:_91,scripts:_a4};_a0.inherited=_99(_a0);_89.push(_a0);}else{_a0={node:_91,scripts:_97,parent:_96};}_97=_a4;_98=_91.stopParser||(_a1&&_a1.prototype.stopParser&&!(_88.template));_96=_a0;_91=_9f;}var d=new _33();if(_8a.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_8a.join(", "));}var r=_88.contextRequire||_2a;r(_8a,function(){d.resolve(_2d.filter(_89,function(_a5){if(!_a5.ctor){try{_a5.ctor=_3e(_a5.types,_88.contextRequire);}catch(e){}}var _a6=_a5.parent;while(_a6&&!_a6.types){_a6=_a6.parent;}var _a7=_a5.ctor&&_a5.ctor.prototype;_a5.instantiateChildren=!(_a7&&_a7.stopParser&&!(_88.template));_a5.instantiate=!_a6||(_a6.instantiate&&_a6.instantiateChildren);return _a5.instantiate;}));});}else{d.resolve(_89);}return d.promise;},_require:function(_a8,_a9){var _aa=_36("{"+_a8.innerHTML+"}"),_ab=[],_ac=[],d=new _33();var _ad=(_a9&&_a9.contextRequire)||_2a;for(var _ae in _aa){_ab.push(_ae);_ac.push(_aa[_ae]);}_ad(_ac,function(){for(var i=0;i<_ab.length;i++){_2c.setObject(_ab[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_af,_b0){var _b1=new _33(),_b2=_b1.promise;_b1.resolve(true);var _b3=this;_34("script[type='dojo/require']",_af).forEach(function(_b4){_b2=_b2.then(function(){return _b3._require(_b4,_b0);});_b4.parentNode.removeChild(_b4);});return _b2;},parse:function(_b5,_b6){var _b7;if(!_b6&&_b5&&_b5.rootNode){_b6=_b5;_b7=_b6.rootNode;}else{if(_b5&&_2c.isObject(_b5)&&!("nodeType" in _b5)){_b6=_b5;}else{_b7=_b5;}}_b7=_b7?dom.byId(_b7):_2f.body();_b6=_b6||{};var _b8=_b6.template?{template:true}:{},_b9=[],_ba=this;var p=this._scanAmd(_b7,_b6).then(function(){return _ba.scan(_b7,_b6);}).then(function(_bb){return _ba._instantiate(_bb,_b8,_b6,true);}).then(function(_bc){return _b9=_b9.concat(_bc);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_2c.mixin(_b9,p);return _b9;}};if(1){_2b.parser=_43;}if(_2e.parseOnLoad){_35(100,_43,"parse");}return _43;});},"dojox/html/entities":function(){define(["dojo/_base/lang"],function(_bd){var dhe=_bd.getObject("dojox.html.entities",true);var _be=function(str,map){var _bf,_c0;if(map._encCache&&map._encCache.regexp&&map._encCache.mapper&&map.length==map._encCache.length){_bf=map._encCache.mapper;_c0=map._encCache.regexp;}else{_bf={};_c0=["["];var i;for(i=0;i<map.length;i++){_bf[map[i][0]]="&"+map[i][1]+";";_c0.push(map[i][0]);}_c0.push("]");_c0=new RegExp(_c0.join(""),"g");map._encCache={mapper:_bf,regexp:_c0,length:map.length};}str=str.replace(_c0,function(c){return _bf[c];});return str;};var _c1=function(str,map){var _c2,_c3;if(map._decCache&&map._decCache.regexp&&map._decCache.mapper&&map.length==map._decCache.length){_c2=map._decCache.mapper;_c3=map._decCache.regexp;}else{_c2={};_c3=["("];var i;for(i=0;i<map.length;i++){var e="&"+map[i][1]+";";if(i){_c3.push("|");}_c2[e]=map[i][0];_c3.push(e);}_c3.push(")");_c3=new RegExp(_c3.join(""),"g");map._decCache={mapper:_c2,regexp:_c3,length:map.length};}str=str.replace(_c3,function(c){return _c2[c];});return str;};dhe.html=[["&","amp"],["\"","quot"],["<","lt"],[">","gt"],[" ","nbsp"]];dhe.latin=[["¡","iexcl"],["¢","cent"],["£","pound"],["€","euro"],["¤","curren"],["¥","yen"],["¦","brvbar"],["§","sect"],["¨","uml"],["©","copy"],["ª","ordf"],["«","laquo"],["¬","not"],["­","shy"],["®","reg"],["¯","macr"],["°","deg"],["±","plusmn"],["²","sup2"],["³","sup3"],["´","acute"],["µ","micro"],["¶","para"],["·","middot"],["¸","cedil"],["¹","sup1"],["º","ordm"],["»","raquo"],["¼","frac14"],["½","frac12"],["¾","frac34"],["¿","iquest"],["À","Agrave"],["Á","Aacute"],["Â","Acirc"],["Ã","Atilde"],["Ä","Auml"],["Å","Aring"],["Æ","AElig"],["Ç","Ccedil"],["È","Egrave"],["É","Eacute"],["Ê","Ecirc"],["Ë","Euml"],["Ì","Igrave"],["Í","Iacute"],["Î","Icirc"],["Ï","Iuml"],["Ð","ETH"],["Ñ","Ntilde"],["Ò","Ograve"],["Ó","Oacute"],["Ô","Ocirc"],["Õ","Otilde"],["Ö","Ouml"],["×","times"],["Ø","Oslash"],["Ù","Ugrave"],["Ú","Uacute"],["Û","Ucirc"],["Ü","Uuml"],["Ý","Yacute"],["Þ","THORN"],["ß","szlig"],["à","agrave"],["á","aacute"],["â","acirc"],["ã","atilde"],["ä","auml"],["å","aring"],["æ","aelig"],["ç","ccedil"],["è","egrave"],["é","eacute"],["ê","ecirc"],["ë","euml"],["ì","igrave"],["í","iacute"],["î","icirc"],["ï","iuml"],["ð","eth"],["ñ","ntilde"],["ò","ograve"],["ó","oacute"],["ô","ocirc"],["õ","otilde"],["ö","ouml"],["÷","divide"],["ø","oslash"],["ù","ugrave"],["ú","uacute"],["û","ucirc"],["ü","uuml"],["ý","yacute"],["þ","thorn"],["ÿ","yuml"],["ƒ","fnof"],["Α","Alpha"],["Β","Beta"],["Γ","Gamma"],["Δ","Delta"],["Ε","Epsilon"],["Ζ","Zeta"],["Η","Eta"],["Θ","Theta"],["Ι","Iota"],["Κ","Kappa"],["Λ","Lambda"],["Μ","Mu"],["Ν","Nu"],["Ξ","Xi"],["Ο","Omicron"],["Π","Pi"],["Ρ","Rho"],["Σ","Sigma"],["Τ","Tau"],["Υ","Upsilon"],["Φ","Phi"],["Χ","Chi"],["Ψ","Psi"],["Ω","Omega"],["α","alpha"],["β","beta"],["γ","gamma"],["δ","delta"],["ε","epsilon"],["ζ","zeta"],["η","eta"],["θ","theta"],["ι","iota"],["κ","kappa"],["λ","lambda"],["μ","mu"],["ν","nu"],["ξ","xi"],["ο","omicron"],["π","pi"],["ρ","rho"],["ς","sigmaf"],["σ","sigma"],["τ","tau"],["υ","upsilon"],["φ","phi"],["χ","chi"],["ψ","psi"],["ω","omega"],["ϑ","thetasym"],["ϒ","upsih"],["ϖ","piv"],["•","bull"],["…","hellip"],["′","prime"],["″","Prime"],["‾","oline"],["⁄","frasl"],["℘","weierp"],["ℑ","image"],["ℜ","real"],["™","trade"],["ℵ","alefsym"],["←","larr"],["↑","uarr"],["→","rarr"],["↓","darr"],["↔","harr"],["↵","crarr"],["⇐","lArr"],["⇑","uArr"],["⇒","rArr"],["⇓","dArr"],["⇔","hArr"],["∀","forall"],["∂","part"],["∃","exist"],["∅","empty"],["∇","nabla"],["∈","isin"],["∉","notin"],["∋","ni"],["∏","prod"],["∑","sum"],["−","minus"],["∗","lowast"],["√","radic"],["∝","prop"],["∞","infin"],["∠","ang"],["∧","and"],["∨","or"],["∩","cap"],["∪","cup"],["∫","int"],["∴","there4"],["∼","sim"],["≅","cong"],["≈","asymp"],["≠","ne"],["≡","equiv"],["≤","le"],["≥","ge"],["⊂","sub"],["⊃","sup"],["⊄","nsub"],["⊆","sube"],["⊇","supe"],["⊕","oplus"],["⊗","otimes"],["⊥","perp"],["⋅","sdot"],["⌈","lceil"],["⌉","rceil"],["⌊","lfloor"],["⌋","rfloor"],["〈","lang"],["〉","rang"],["◊","loz"],["♠","spades"],["♣","clubs"],["♥","hearts"],["♦","diams"],["Œ","OElig"],["œ","oelig"],["Š","Scaron"],["š","scaron"],["Ÿ","Yuml"],["ˆ","circ"],["˜","tilde"],[" ","ensp"],[" ","emsp"],[" ","thinsp"],["‌","zwnj"],["‍","zwj"],["‎","lrm"],["‏","rlm"],["–","ndash"],["—","mdash"],["‘","lsquo"],["’","rsquo"],["‚","sbquo"],["“","ldquo"],["”","rdquo"],["„","bdquo"],["†","dagger"],["‡","Dagger"],["‰","permil"],["‹","lsaquo"],["›","rsaquo"]];dhe.encode=function(str,m){if(str){if(!m){str=_be(str,dhe.html);str=_be(str,dhe.latin);}else{str=_be(str,m);}}return str;};dhe.decode=function(str,m){if(str){if(!m){str=_c1(str,dhe.html);str=_c1(str,dhe.latin);}else{str=_c1(str,m);}}return str;};return dhe;});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_c4,_c5,_c6){"use strict";var _c7=_c4.some;return function all(_c8){var _c9,_c4;if(_c8 instanceof Array){_c4=_c8;}else{if(_c8&&typeof _c8==="object"){_c9=_c8;}}var _ca;var _cb=[];if(_c9){_c4=[];for(var key in _c9){if(Object.hasOwnProperty.call(_c9,key)){_cb.push(key);_c4.push(_c9[key]);}}_ca={};}else{if(_c4){_ca=[];}}if(!_c4||!_c4.length){return new _c5().resolve(_ca);}var _cc=new _c5();_cc.promise.always(function(){_ca=_cb=null;});var _cd=_c4.length;_c7(_c4,function(_ce,_cf){if(!_c9){_cb.push(_cf);}_c6(_ce,function(_d0){if(!_cc.isFulfilled()){_ca[_cb[_cf]]=_d0;if(--_cd===0){_cc.resolve(_ca);}}},_cc.reject);return _cc.isFulfilled();});return _cc.promise;};});},"dojox/html":function(){define(["./html/_base"],function(_d1){return _d1;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_d2,_d3,_d4,_d5,dom,_d6,_d7){var _d8=0;var _d9={_secureForInnerHtml:function(_da){return _da.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_d6.empty,_setNodeContent:function(_db,_dc){_d6.empty(_db);if(_dc){if(typeof _dc=="string"){_dc=_d6.toDom(_dc,_db.ownerDocument);}if(!_dc.nodeType&&_d3.isArrayLike(_dc)){for(var _dd=_dc.length,i=0;i<_dc.length;i=_dd==_dc.length?i+1:0){_d6.place(_dc[i],_db,"last");}}else{_d6.place(_dc,_db,"last");}}return _db;},_ContentSetter:_d5("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_d2._scopeName,startup:true,constructor:function(_de,_df){_d3.mixin(this,_de||{});_df=this.node=dom.byId(this.node||_df);if(!this.id){this.id=["Setter",(_df)?_df.id||_df.tagName:"",_d8++].join("_");}},set:function(_e0,_e1){if(undefined!==_e0){this.content=_e0;}if(_e1){this._mixin(_e1);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var _e2=this.node;if(!_e2){throw new Error(this.declaredClass+": setContent given no node");}try{_e2=_d9._setNodeContent(_e2,this.content);}catch(e){var _e3=this.onContentError(e);try{_e2.innerHTML=_e3;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=_e2;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_d4.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_d6.empty(this.node);},onBegin:function(){var _e4=this.content;if(_d3.isString(_e4)){if(this.cleanContent){_e4=_d9._secureForInnerHtml(_e4);}if(this.extractContent){var _e5=_e4.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_e5){_e4=_e5[1];}}}this.empty();this.content=_e4;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(_e6){var _e7={},key;for(key in _e6){if(key in _e7){continue;}this[key]=_e6[key];}},_parse:function(){var _e8=this.node;try{var _e9={};_d4.forEach(["dir","lang","textDir"],function(_ea){if(this[_ea]){_e9[_ea]=this[_ea];}},this);var _eb=this;this.parseDeferred=_d7.parse({rootNode:_e8,noStart:!this.startup,inherited:_e9,scope:this.parserScope}).then(function(_ec){return _eb.parseResults=_ec;},function(e){_eb._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(_ed,err,_ee){var _ef=this["on"+_ed+"Error"].call(this,err);if(_ee){console.error(_ee,err);}else{if(_ef){_d9._setNodeContent(this.node,_ef,true);}}}}),set:function(_f0,_f1,_f2){if(undefined==_f1){console.warn("dojo.html.set: no cont argument provided, using empty string");_f1="";}if(!_f2){return _d9._setNodeContent(_f0,_f1,true);}else{var op=new _d9._ContentSetter(_d3.mixin(_f2,{content:_f1,node:_f0}));return op.set();}}};_d3.setObject("dojo.html",_d9);return _d9;});},"dojox/html/_base":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/dom-construct","dojo/html","dojo/_base/kernel","dojo/_base/lang","dojo/ready","dojo/_base/sniff","dojo/_base/url","dojo/_base/xhr","dojo/when","dojo/_base/window"],function(_f3,_f4,_f5,_f6,_f7,_f8,_f9,has,_fa,_fb,_fc,_fd){var _fe=_f7.getObject("dojox.html",true);if(has("ie")){var _ff=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;}var _100=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g;var _101=_fe._adjustCssPaths=function(_102,_103){if(!_103||!_102){return;}if(_ff){_103=_103.replace(_ff,function(_104,pre,_105,url,post){return pre+(new _fa(_102,"./"+url).toString())+post;});}return _103.replace(_100,function(_106,_107,_108,_109,_10a,_10b){if(_108){return "@import \""+(new _fa(_102,"./"+_108).toString())+"\""+_10b;}else{return "url("+(new _fa(_102,"./"+_10a).toString())+")"+_10b;}});};var _10c=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi;var _10d=_fe._adjustHtmlPaths=function(_10e,cont){var url=_10e||"./";return cont.replace(_10c,function(tag,_10f,name,_110,_111,_112,_113,end){return _10f+(name?(name+"="+_110+(new _fa(url,_111).toString())+_110):("style="+_112+_101(url,_113)+_112))+end;});};var _114=_fe._snarfStyles=function(_115,cont,_116){_116.attributes=[];cont=cont.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(_117){return _117.replace(/<(\/?)style\b/ig,"&lt;$1Style").replace(/<(\/?)link\b/ig,"&lt;$1Link").replace(/@import "/ig,"@ import \"");});return cont.replace(/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,function(_118,_119,_11a,_11b,_11c,href){var i,attr=(_119||_11b||"").replace(/^\s*([\s\S]*?)\s*$/i,"$1");if(_11a){i=_116.push(_115?_101(_115,_11a):_11a);}else{i=_116.push("@import \""+href+"\";");attr=attr.replace(/\s*(?:rel|href)=(['"])?[^\s]*\1\s*/gi,"");}if(attr){attr=attr.split(/\s+/);var _11d={},tmp;for(var j=0,e=attr.length;j<e;j++){tmp=attr[j].split("=");_11d[tmp[0]]=tmp[1].replace(/^\s*['"]?([\s\S]*?)['"]?\s*$/,"$1");}_116.attributes[i-1]=_11d;}return "";});};var _11e=_fe._snarfScripts=function(cont,_11f){_11f.code="";cont=cont.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(_120){return _120.replace(/<(\/?)script\b/ig,"&lt;$1Script");});function _121(src){if(_11f.downloadRemote){src=src.replace(/&([a-z0-9#]+);/g,function(m,name){switch(name){case "amp":return "&";case "gt":return ">";case "lt":return "<";default:return name.charAt(0)=="#"?String.fromCharCode(name.substring(1)):"&"+name+";";}});_fb.get({url:src,sync:true,load:function(code){_11f.code+=code+";";},error:_11f.errBack});}};return cont.replace(/<script\s*(?![^>]*type=['"]?(?:dojo\/|text\/html\b))[^>]*?(?:src=(['"]?)([^>]*?)\1[^>]*)?>([\s\S]*?)<\/script>/gi,function(_122,_123,src,code){if(src){_121(src);}else{_11f.code+=code;}return "";});};var _124=_fe.evalInGlobal=function(code,_125){_125=_125||_fd.doc.body;var n=_125.ownerDocument.createElement("script");n.type="text/javascript";_125.appendChild(n);n.text=code;};_fe._ContentSetter=_f3(_f6._ContentSetter,{adjustPaths:false,referencePath:".",renderStyles:false,executeScripts:false,scriptHasHooks:false,scriptHookReplacement:null,_renderStyles:function(_126){this._styleNodes=[];var st,att,_127,doc=this.node.ownerDocument;var head=doc.getElementsByTagName("head")[0];for(var i=0,e=_126.length;i<e;i++){_127=_126[i];att=_126.attributes[i];st=doc.createElement("style");st.setAttribute("type","text/css");for(var x in att){st.setAttribute(x,att[x]);}this._styleNodes.push(st);head.appendChild(st);if(st.styleSheet){st.styleSheet.cssText=_127;}else{st.appendChild(doc.createTextNode(_127));}}},empty:function(){this.inherited("empty",arguments);this._styles=[];},onBegin:function(){this.inherited("onBegin",arguments);var cont=this.content,node=this.node;var _128=this._styles;if(_f8.isString(cont)){if(this.adjustPaths&&this.referencePath){cont=_10d(this.referencePath,cont);}if(this.renderStyles||this.cleanContent){cont=_114(this.referencePath,cont,_128);}if(this.executeScripts){var _129=this;var _12a={downloadRemote:true,errBack:function(e){_129._onError.call(_129,"Exec","Error downloading remote script in \""+_129.id+"\"",e);}};cont=_11e(cont,_12a);this._code=_12a.code;}}this.content=cont;},onEnd:function(){var code=this._code,_12b=this._styles;if(this._styleNodes&&this._styleNodes.length){while(this._styleNodes.length){_f5.destroy(this._styleNodes.pop());}}if(this.renderStyles&&_12b&&_12b.length){this._renderStyles(_12b);}var d=new _f4();var _12c=this.getInherited(arguments),args=arguments,_12d=_f8.hitch(this,function(){_12c.apply(this,args);_fc(this.parseDeferred,function(){d.resolve();});});if(this.executeScripts&&code){if(this.cleanContent){code=code.replace(/(<!--|(?:\/\/)?-->|<!\[CDATA\[|\]\]>)/g,"");}if(this.scriptHasHooks){code=code.replace(/_container_(?!\s*=[^=])/g,this.scriptHookReplacement);}try{_124(code,this.node);}catch(e){this._onError("Exec","Error eval script in "+this.id+", "+e.message,e);}_f9(_12d);}else{_12d();}return d.promise;},tearDown:function(){this.inherited(arguments);delete this._styles;if(this._styleNodes&&this._styleNodes.length){while(this._styleNodes.length){_f5.destroy(this._styleNodes.pop());}}delete this._styleNodes;_f8.mixin(this,_fe._ContentSetter.prototype);}});_fe.set=function(node,cont,_12e){if(!_12e){return _f6._setNodeContent(node,cont,true);}else{var op=new _fe._ContentSetter(_f8.mixin(_12e,{content:cont,node:node}));return op.set();}};return _fe;});},"*noref":1}});define("dojox/_dojox_html",[],1);require(["dojox/html","dojox/html/metrics","dojox/html/entities"]);
}catch(e){console.log("Module 'dojox_html_basic_19': ",e);}
try{/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w});

}catch(e){console.log("Module 'native95_ecomm_mod': ",e);}
try{require(["dojo/ready","dojo/on","dojo/query","dojo/_base/connect","dojo/dom","dojo/_base/lang","dijit/registry","dojo/dom-construct"],function(n,e,o,r,i,t,a,c){var s=function(){sessionStorage.clear()},d=function(){var n=navigator.userAgent.toLowerCase();-1!=n.indexOf("firefox")&&o(".headerCell").forEach(function(n){"<a"==n.innerHTML.trim().substring(0,2)&&(n.innerHTML='<div class="text">'+n.innerHTML+"</div>")})};r.subscribe("CLRSTORAGE",function(n){s()}),r.subscribe("FFHEADSORTFIX",function(n){d()});var u=function(){var n=i.byId("headerSocial");n&&c.place(n,o(".wpthemeBannerInner .wpthemeInner")[0],"first")},f=function(){d(),u()};n(f)});
}catch(e){console.log("Module 'native95_ecomm_mod': ",e);}
try{function X2JS(v){var q="1.1.5";v=v||{};h();r();function h(){if(v.escapeMode===undefined){v.escapeMode=true;}v.attributePrefix=v.attributePrefix||"_";v.arrayAccessForm=v.arrayAccessForm||"none";v.emptyNodeForm=v.emptyNodeForm||"text";if(v.enableToStringFunc===undefined){v.enableToStringFunc=true;}v.arrayAccessFormPaths=v.arrayAccessFormPaths||[];if(v.skipEmptyTextNodesForObj===undefined){v.skipEmptyTextNodesForObj=true;}if(v.stripWhitespaces===undefined){v.stripWhitespaces=true;}v.datetimeAccessFormPaths=v.datetimeAccessFormPaths||[];}var g={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};function r(){function x(z){var y=String(z);if(y.length===1){y="0"+y;}return y;}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|^\n+|(\s|\n)+$/g,"");};}if(typeof Date.prototype.toISOString!=="function"){Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+x(this.getUTCMonth()+1)+"-"+x(this.getUTCDate())+"T"+x(this.getUTCHours())+":"+x(this.getUTCMinutes())+":"+x(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1000).toFixed(3)).slice(2,5)+"Z";};}}function t(x){var y=x.localName;if(y==null){y=x.baseName;}if(y==null||y==""){y=x.nodeName;}return y;}function o(x){return x.prefix;}function p(x){if(typeof(x)=="string"){return x.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;");}else{return x;}}function j(x){return x.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&#x2F;/g,"/");}function l(B,y,A){switch(v.arrayAccessForm){case"property":if(!(B[y] instanceof Array)){B[y+"_asArray"]=[B[y]];}else{B[y+"_asArray"]=B[y];}break;}if(!(B[y] instanceof Array)&&v.arrayAccessFormPaths.length>0){var x=0;for(;x<v.arrayAccessFormPaths.length;x++){var z=v.arrayAccessFormPaths[x];if(typeof z==="string"){if(z==A){break;}}else{if(z instanceof RegExp){if(z.test(A)){break;}}else{if(typeof z==="function"){if(z(B,y,A)){break;}}}}}if(x!=v.arrayAccessFormPaths.length){B[y]=[B[y]];}}}function a(C){var A=C.split(/[-T:+Z]/g);var B=new Date(A[0],A[1]-1,A[2]);var z=A[5].split(".");B.setHours(A[3],A[4],z[0]);if(z.length>1){B.setMilliseconds(z[1]);}if(A[6]&&A[7]){var y=A[6]*60+Number(A[7]);var x=/\d\d-\d\d:\d\d$/.test(C)?"-":"+";y=0+(x=="-"?-1*y:y);B.setMinutes(B.getMinutes()-y-B.getTimezoneOffset());}else{if(C.indexOf("Z",C.length-1)!==-1){B=new Date(Date.UTC(B.getFullYear(),B.getMonth(),B.getDate(),B.getHours(),B.getMinutes(),B.getSeconds(),B.getMilliseconds()));}}return B;}function n(A,y,z){if(v.datetimeAccessFormPaths.length>0){var B=z.split(".#")[0];var x=0;for(;x<v.datetimeAccessFormPaths.length;x++){var C=v.datetimeAccessFormPaths[x];if(typeof C==="string"){if(C==B){break;}}else{if(C instanceof RegExp){if(C.test(B)){break;}}else{if(typeof C==="function"){if(C(obj,y,B)){break;}}}}}if(x!=v.datetimeAccessFormPaths.length){return a(A);}else{return A;}}else{return A;}}function w(z,E){if(z.nodeType==g.DOCUMENT_NODE){var F=new Object;var x=z.childNodes;for(var G=0;G<x.length;G++){var y=x.item(G);if(y.nodeType==g.ELEMENT_NODE){var D=t(y);F[D]=w(y,D);}}return F;}else{if(z.nodeType==g.ELEMENT_NODE){var F=new Object;F.__cnt=0;var x=z.childNodes;for(var G=0;G<x.length;G++){var y=x.item(G);var D=t(y);if(y.nodeType!=g.COMMENT_NODE){F.__cnt++;if(F[D]==null){F[D]=w(y,E+"."+D);l(F,D,E+"."+D);}else{if(F[D]!=null){if(!(F[D] instanceof Array)){F[D]=[F[D]];l(F,D,E+"."+D);}}(F[D])[F[D].length]=w(y,E+"."+D);}}}for(var A=0;A<z.attributes.length;A++){var B=z.attributes.item(A);F.__cnt++;F[v.attributePrefix+B.name]=B.value;}var C=o(z);if(C!=null&&C!=""){F.__cnt++;F.__prefix=C;}if(F["#text"]!=null){F.__text=F["#text"];if(F.__text instanceof Array){F.__text=F.__text.join("\n");}if(v.escapeMode){F.__text=j(F.__text);}if(v.stripWhitespaces){F.__text=F.__text.trim();}delete F["#text"];if(v.arrayAccessForm=="property"){delete F["#text_asArray"];}F.__text=n(F.__text,D,E+"."+D);}if(F["#cdata-section"]!=null){F.__cdata=F["#cdata-section"];delete F["#cdata-section"];if(v.arrayAccessForm=="property"){delete F["#cdata-section_asArray"];}}if(F.__cnt==1&&F.__text!=null){F=F.__text;}else{if(F.__cnt==0&&v.emptyNodeForm=="text"){F="";}else{if(F.__cnt>1&&F.__text!=null&&v.skipEmptyTextNodesForObj){if((v.stripWhitespaces&&F.__text=="")||(F.__text.trim()=="")){delete F.__text;}}}}delete F.__cnt;if(v.enableToStringFunc&&(F.__text!=null||F.__cdata!=null)){F.toString=function(){return(this.__text!=null?this.__text:"")+(this.__cdata!=null?this.__cdata:"");};}return F;}else{if(z.nodeType==g.TEXT_NODE||z.nodeType==g.CDATA_SECTION_NODE){return z.nodeValue;}}}}function m(E,B,D,y){var A="<"+((E!=null&&E.__prefix!=null)?(E.__prefix+":"):"")+B;if(D!=null){for(var C=0;C<D.length;C++){var z=D[C];var x=E[z];if(v.escapeMode){x=p(x);}A+=" "+z.substr(v.attributePrefix.length)+"='"+x+"'";}}if(!y){A+=">";}else{A+="/>";}return A;}function i(y,x){return"</"+(y.__prefix!=null?(y.__prefix+":"):"")+x+">";}function s(y,x){return y.indexOf(x,y.length-x.length)!==-1;}function u(y,x){if((v.arrayAccessForm=="property"&&s(x.toString(),("_asArray")))||x.toString().indexOf(v.attributePrefix)==0||x.toString().indexOf("__")==0||(y[x] instanceof Function)){return true;}else{return false;}}function k(z){var y=0;if(z instanceof Object){for(var x in z){if(u(z,x)){continue;}y++;}}return y;}function b(z){var y=[];if(z instanceof Object){for(var x in z){if(x.toString().indexOf("__")==-1&&x.toString().indexOf(v.attributePrefix)==0){y.push(x);}}}return y;}function f(y){var x="";if(y.__cdata!=null){x+="<![CDATA["+y.__cdata+"]]>";}if(y.__text!=null){if(v.escapeMode){x+=p(y.__text);}else{x+=y.__text;}}return x;}function c(y){var x="";if(y instanceof Object){x+=f(y);}else{if(y!=null){if(v.escapeMode){x+=p(y);}else{x+=y;}}}return x;}function e(z,B,A){var x="";if(z.length==0){x+=m(z,B,A,true);}else{for(var y=0;y<z.length;y++){x+=m(z[y],B,b(z[y]),false);x+=d(z[y]);x+=i(z[y],B);}}return x;}function d(D){var x="";var B=k(D);if(B>0){for(var A in D){if(u(D,A)){continue;}var z=D[A];var C=b(z);if(z==null||z==undefined){x+=m(z,A,C,true);}else{if(z instanceof Object){if(z instanceof Array){x+=e(z,A,C);}else{if(z instanceof Date){x+=m(z,A,C,false);x+=z.toISOString();x+=i(z,A);}else{var y=k(z);if(y>0||z.__text!=null||z.__cdata!=null){x+=m(z,A,C,false);x+=d(z);x+=i(z,A);}else{x+=m(z,A,C,true);}}}}else{x+=m(z,A,C,false);x+=c(z);x+=i(z,A);}}}}x+=c(D);return x;}this.parseXmlString=function(z){var B=window.ActiveXObject||"ActiveXObject" in window;if(z===undefined){return null;}var A;if(window.DOMParser){var C=new window.DOMParser();var x=null;if(!B){try{x=C.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI;}catch(y){x=null;}}try{A=C.parseFromString(z,"text/xml");if(x!=null&&A.getElementsByTagNameNS(x,"parsererror").length>0){A=null;}}catch(y){A=null;}}else{if(z.indexOf("<?")==0){z=z.substr(z.indexOf("?>")+2);}A=new ActiveXObject("Microsoft.XMLDOM");A.async="false";A.loadXML(z);}return A;};this.asArray=function(x){if(x instanceof Array){return x;}else{return[x];}};this.toXmlDateTime=function(x){if(x instanceof Date){return x.toISOString();}else{if(typeof(x)==="number"){return new Date(x).toISOString();}else{return null;}}};this.asDateTime=function(x){if(typeof(x)=="string"){return a(x);}else{return x;}};this.xml2json=function(x){return w(x);};this.xml_str2json=function(x){var y=this.parseXmlString(x);if(y!=null){return this.xml2json(y);}else{return null;}};this.json2xml_str=function(x){return d(x);};this.json2xml=function(y){var x=this.json2xml_str(y);return this.parseXmlString(x);};this.getVersion=function(){return q;};}
}catch(e){console.log("Module 'native95_ecomm_mod': ",e);}
try{function updateLength(e,n){var r=document.getElementById(e),o=document.getElementById(n);o.innerHTML=r.value.length}var s2kGeneralScripts="",collapsible=!0;dojo.require("dojo.NodeList-traverse"),dojo.require("dojo.number"),dojo.require("dojo.currency"),dojo.addOnLoad(function(){var e="s2k-dojo";dojo.hasClass(dojo.body(),e)||dojo.addClass(dojo.body(),e),dojo.query('.statusBox [type="button"]').connect("onclick",function(){this.parentNode.style.display="none"}),formatData("")}),collapsible||dojo.extend(dijit.TitlePane,{toggle:function(){},_onTitleKey:function(){}});var searchFunctions=function(nameSpace,searchFunc){this.searchOnEnter=function(){dojo.query('[searchEnter="'+nameSpace+'"] [type="text"]').connect("onkeyup",function(event){var keycode;if(window.event)keycode=window.event.keyCode;else{if(!event)return!0;keycode=event.which}return keycode==dojo.keys.ENTER?(eval(searchFunc),!1):!0})},this.pressEnter=function(){}},newFeatFiller=function(e){for(var n=0;e>n;n++)document.writeln('<div class="detailRow emptyRow">'),document.writeln('	<div class="detailBorder">'),document.writeln('		<div class="cellData itemImage">&nbsp;</div>'),document.writeln('		<div class="cellData itemDetails">'),document.writeln('			<div class="itemDescription">&nbsp;</div>'),document.writeln('			<div class="shortDescription">&nbsp;</div>'),document.writeln('			<div class="itemExtDescription">&nbsp;</div>'),document.writeln("		</div>"),document.writeln('		<div class="cellData price">&nbsp;</div>'),document.writeln('		<div class="cellData itemCartOptions">&nbsp;</div>'),document.writeln("	</div>"),document.writeln("</div>")},replaceAll=function(e,n,r){return r.replace(new RegExp(e,"g"),n)},formatData=function(){var e="";arguments.length>0&&(e=arguments[0]),formatDates(e),formatTimes(e),formatCurrency(e),formatMultiplier(e),formatEmail(e),formatPercent(e),formatNumber(e),formatPhone(e),formatRounding(e)},validDateToFormat=function(e){var n=e.innerHTML;return""!=n&&"&nbsp;"!=n?!0:!1},validNumberToFormat=function(e){var n=dojo.trim(e.innerHTML);return""!=n&&"N/A"!=n&&"n/a"!=n?!0:!1},getExtension=function(e){var n=["www.youtube.com"],r="web";if(e){for(var o=e.split("/"),t=o[2],a=!1,i=0;i<n.length;i++)if(n[i]==t){r="video",a=!0;break}if(!a){var s=e.indexOf("\\")>=0?e.lastIndexOf("\\"):e.lastIndexOf("/"),u=e.substring(s);if((0===u.indexOf("\\")||0===u.indexOf("/"))&&(u=u.substring(1)),u.indexOf(".")>0){var s=u.lastIndexOf(".");r=u.substring(s),0===r.indexOf(".")&&(r=r.substring(1))}if(r.indexOf("?")>0){var d=r.indexOf("?");r=r.substring(0,d)}}}return r},formatExternalLinks=function(){for(var e=dojo.query(".linkGroup [itemLink]").children("a"),n=dojo.query(".linkGroup [itemLink]"),r=dojo.query(".detailLinks [itemLink]").children("a"),o=dojo.query(".detailLinks [itemLink]"),t="",a=0;a<n.length;a++)t=getExtension(e[a].href),dojo.hasClass(n[a],t)||dojo.addClass(n[a],t);for(var a=0;a<o.length;a++)t=getExtension(r[a].href),dojo.hasClass(o[a],t)||dojo.addClass(o[a],t)},formatEmail=function(e){dojo.query(e+" [email]").forEach(function(e){var n=dojo.trim(e.innerHTML);if(""!=n&&"N/A"!=n&&n.indexOf("mailto:")<0){var r='<a href="mailto:'+n+'">'+n+"</a>";e.innerHTML=r}})},formatPhone=function(e){var n=["\\(","\\)","\\.","\\-"];dojo.query(e+" [phone]").forEach(function(e){var r=dojo.trim(e.innerHTML);if(""!=r&&"N/A"!=r){for(var o=r,t=0;t<n.length;t++)r=replaceAll(n[t],"",r);var a='<a href="tel:'+r+'">'+o+"</a>";e.innerHTML=a}})},formatNumber=function(e){var n=["\\,"];dojo.query(e+" [number]").forEach(function(e){if(validNumberToFormat(e)){for(var r=dojo.trim(e.innerHTML),o=0;o<n.length;o++)r=replaceAll(n[o],"",r);var t=dojo.number.format(r,null);0>r&&(t='<span class="negative">'+t+"</span>"),e.innerHTML=t}})},formatRounding=function(e){dojo.query(e+" [roundtowhole]").forEach(function(e){var n=e.innerHTML;if(""!=n&&"N/A"!=n){n=n.replace(/,/g,"");var r=dojo.number.round(n,0);0>n&&(r='<span class="negative">'+r+"</span>"),e.innerHTML=r}}),dojo.query(e+" [roundto2]").forEach(function(e){var n=e.innerHTML;if(""!=n&&"N/A"!=n){n=n.replace(/,/g,"");var r=dojo.number.round(n,2);0>n&&(r='<span class="negative">'+r+"</span>"),e.innerHTML=r}})},formatMultiplier=function(e){dojo.query(e+" [xby]").forEach(function(e){var n=e.innerHTML;if(""!=n&&"N/A"!=n){n=n.replace(/,/g,"");var r=dojo.attr(e,"xby"),o=n*r;e.innerHTML=o}})},ipf=function(e){if(""!=e&&"N/A"!=e){e=e.replace(",","");var n=dojo.number.format(e,null)+"%";return 0>e&&(n='<span class="negative">'+n+"%</span>"),n}},inf=function(e){if(""!=e&&"N/A"!=e){e=e.replace(",","");var n=dojo.number.format(e,null);return 0>e&&(n='<span class="negative">'+n+"</span>"),n}},formatDates=function(e){require(["dojo/_base/connect"],function(n){n.publish("FORMAT_DATES",e)})},formatTimes=function(e){require(["dojo/_base/connect"],function(n){n.publish("FORMAT_TIMES",e)})},formatCurrency=function(e){require(["dojo/_base/connect"],function(n){n.publish("FORMAT_CURRENCY",e)})},formatPercent=function(e){require(["dojo/_base/connect"],function(n){n.publish("FORMAT_PERCENT",e)})},icf=function(e){var e=arguments[0],n=2,r="USD";"undefined"!=typeof arguments[1]&&(n=parseInt(arguments[1]));var o=["\\,"];if(""!=e&&"N/A"!=e){for(var t=0;t<o.length;t++)e=replaceAll(o[t],"",e);var a=dojo.currency.format(e,{currency:r,places:n});return 0>e&&(a='<span class="negative">'+a+"</span>"),a}};require(["dojo/ready","dojo/_base/connect","dojo/_base/array","dojo/currency","dojo/number","dojo/query","dojo/date/locale","dojo/dom-attr","dojo/dom-class","dojo/_base/lang"],function(e,n,r,o,t,a,i,s,u,d){var l="USD",c=function(e,n,r){return r.replace(new RegExp(e,"g"),n)},f=function(e,n){var r=d.trim(e.innerHTML);return""!=r&&"&nbsp;"!=r&&"0"!=r?!0:!1},m=function(e){var n=d.trim(e.innerHTML);return""!=n&&"N/A"!=n&&"n/a"!=n?!0:!1};n.subscribe("FORMAT_PERCENT",function(e){var n=["\\,","%"],o=null;o="object"==typeof e?e:a(e+" [percent]"),r.forEach(o,function(e){if(m(e)){var o=d.trim(e.innerHTML);if(r.forEach(n,function(e,n){o=c(e,"",o)}),!isNaN(o)){var a="",i=parseInt(s.get(e,"percent"));if(isNaN(i))var a=t.format(o);else var a=t.format(o,{places:i});e.innerHTML=a+"%"}}})}),n.subscribe("FORMAT_DATES",function(e){a(e+" [date]").forEach(function(e){var n=s.get(e,"date");if(f(e,n)){var r=i.parse(e.innerHTML,{datePattern:n,selector:"date"});if(null!=r){var o=i.format(r,{selector:"date"});e.innerHTML=o}else e.innerHTML='<span class="invalidFormat">'+e.innerHTML+"</span>"}else"0"==e.innerHTML&&(e.innerHTML="")})}),n.subscribe("FORMAT_TIMES",function(e){a(e+" [time]").forEach(function(e){var n=s.get(e,"time");if(f(e,n)){var r=i.parse(e.innerHTML,{timePattern:n,selector:"time"});if(null!=r){var o=i.format(r,{selector:"time"});e.innerHTML=o}else e.innerHTML='<span class="invalidFormat">'+e.innerHTML+"</span>"}else"0"==e.innerHTML&&(e.innerHTML="")})}),n.subscribe("FORMAT_CURRENCY",function(e){var n=["\\,"],t=function(e){r.forEach(e,function(e){if(m(e)){for(var r=d.trim(e.innerHTML),t=0;t<n.length;t++)r=c(n[t],"",r);if(!isNaN(r)){var a=parseInt(s.get(e,"currency"));isNaN(a)&&(a=2);var i=o.format(r,{currency:l,places:a});0>r&&(i='<span class="negative">'+i+"</span>"),e.innerHTML=i}}})},i=null;"object"==typeof e?(i=e,t(i)):(i=a(e+" [currency]"),t(i),i=a(e+" [currency2]"),t(i))}),e(function(){})});var gt=function(e,n){return e>n?e:n},isIE6=function(){if(!/MSIE (\d+\.\d+);/.test(navigator.userAgent))return!1;var e=new Number(RegExp.$1);return e>=8?!1:e>=7?!1:e>=6?!0:e>=5?!0:void 0},toggleMore=function(e){var n=document.getElementById(e),r=document.getElementById("imagePath").value,o=document.getElementById(e+"_button");"none"==n.style.display?(n.style.display="inline",buttonString="<a href=\"javascript:toggleMore('"+e+'\')">Show Less<img src="'+r+'lessArrow.gif" border="0" /></a>'):(n.style.display="none",buttonString="<a href=\"javascript:toggleMore('"+e+'\')">Show More<img src="'+r+'moreArrow.gif" border="0" /></a>'),o.innerHTML=buttonString},loadingOverlay=function(e){var n=null;return{overlayId:e,init:function(e){var r=this.overlayId;return n=dojo.byId(r)||dojo.create("div",{id:r},e||dojo.body()),dojo.addClass(n,"loadingOverlay pageOverlay"),n.innerHTML='<div class="loadingMessage">Loading...</div>',this},show:function(){dojo.style(n,{display:"block",opacity:1})},hide:function(){dojo.fadeOut({node:n,onAnimate:function(){this.x="foo"},onEnd:function(){dojo.style(n,"display","none")}}).play()}}},showMoreAttr=function(e){var n=dojo.byId("moreText").value,r=dojo.byId("lessText").value,o=dojo.byId("moreLink_"+e),t=dojo.attr(o,"mode");"less"==t?(dojo.attr(o,"mode","more"),o.innerHTML=r):(dojo.attr(o,"mode","less"),o.innerHTML=n),dojo.query('[moreAttr="'+e+'"]').toggleClass("hide")},advancedParamFunc=function(){if(arguments.length>0)for(var val=arguments[0],attribute=arguments[1],items=eval("jsonStore_"+attribute+".items"),x=0;x<items.length;x++){var item=items[x];if(items[x].value==val){urlParamFunc(item.func,item.resetPage,item.redirect,item.attrName,item.attrValue);break}}},urlParamFunc=function(){if(arguments.length>0){var e=arguments[0],n=arguments[1],r=arguments[2],o=window.location.href;"true"==n&&(o=urlParamFunc("Remove","false","false","pg",""));for(var t=3;t<arguments.length;t+=2)if(arguments.length>=t+1){var a=arguments[t],i=arguments[t+1],s=o.indexOf("&"+a+"=");if(s>=0){var u=o.substr(s+1),d=u.indexOf("&"),l="";d>=0&&(l=u.substr(d)),o=o.substr(0,s)+l}"Add"==e&&(o=o+"&"+a+"="+i)}if("true"!=r)return o;window.location.href=o}},keys=[37,38,39,40],preventDefault=function(e){e=e||window.event,e.preventDefault&&e.preventDefault(),e.returnValue=!1},keydown=function(e){for(var n=keys.length;n--;)if(e.keyCode===keys[n])return void preventDefault(e)},wheel=function(e){preventDefault(e)},disable_scroll=function(){window.addEventListener&&window.addEventListener("DOMMouseScroll",wheel,!1),window.onmousewheel=document.onmousewheel=wheel,document.onkeydown=keydown},enable_scroll=function(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",wheel,!1),window.onmousewheel=document.onmousewheel=document.onkeydown=null};
}catch(e){console.log("Module 'native95_ecomm_mod': ",e);}
try{/*! modernizr 3.6.0 (Custom Build) | MIT *
 * https://modernizr.com/download/?-canvas-csscolumns-csstransforms-csstransformslevel2-cssvhunit-cssvwunit-flexbox-preserve3d-setclasses !*/
!function(e,n,t){function r(e,n){return typeof e===n}function s(){var e,n,t,s,o,i,a;for(var l in x)if(x.hasOwnProperty(l)){if(e=[],n=x[l],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(s=r(n.fn,"function")?n.fn():n.fn,o=0;o<e.length;o++)i=e[o],a=i.split("."),1===a.length?Modernizr[a[0]]=s:(!Modernizr[a[0]]||Modernizr[a[0]]instanceof Boolean||(Modernizr[a[0]]=new Boolean(Modernizr[a[0]])),Modernizr[a[0]][a[1]]=s),w.push((s?"":"no-")+a.join("-"))}}function o(e){var n=b.className,t=Modernizr._config.classPrefix||"";if(T&&(n=n.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(r,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(n+=" "+t+e.join(" "+t),T?b.className.baseVal=n:b.className=n)}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):T?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function a(n,t,r){var s;if("getComputedStyle"in e){s=getComputedStyle.call(e,n,t);var o=e.console;if(null!==s)r&&(s=s.getPropertyValue(r));else if(o){var i=o.error?"error":"log";o[i].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else s=!t&&n.currentStyle&&n.currentStyle[r];return s}function l(e,n){return e-1===n||e===n||e+1===n}function u(){var e=n.body;return e||(e=i(T?"svg":"body"),e.fake=!0),e}function f(e,t,r,s){var o,a,l,f,d="modernizr",c=i("div"),p=u();if(parseInt(r,10))for(;r--;)l=i("div"),l.id=s?s[r]:d+(r+1),c.appendChild(l);return o=i("style"),o.type="text/css",o.id="s"+d,(p.fake?p:c).appendChild(o),p.appendChild(c),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(n.createTextNode(e)),c.id=d,p.fake&&(p.style.background="",p.style.overflow="hidden",f=b.style.overflow,b.style.overflow="hidden",b.appendChild(p)),a=t(c,e),p.fake?(p.parentNode.removeChild(p),b.style.overflow=f,b.offsetHeight):c.parentNode.removeChild(c),!!a}function d(e,n){return!!~(""+e).indexOf(n)}function c(e){return e.replace(/([a-z])-([a-z])/g,function(e,n,t){return n+t.toUpperCase()}).replace(/^-/,"")}function p(e,n){return function(){return e.apply(n,arguments)}}function m(e,n,t){var s;for(var o in e)if(e[o]in n)return t===!1?e[o]:(s=n[e[o]],r(s,"function")?p(s,t||n):s);return!1}function h(e){return e.replace(/([A-Z])/g,function(e,n){return"-"+n.toLowerCase()}).replace(/^ms-/,"-ms-")}function v(n,r){var s=n.length;if("CSS"in e&&"supports"in e.CSS){for(;s--;)if(e.CSS.supports(h(n[s]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];s--;)o.push("("+h(n[s])+":"+r+")");return o=o.join(" or "),f("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==a(e,null,"position")})}return t}function g(e,n,s,o){function a(){u&&(delete A.style,delete A.modElem)}if(o=r(o,"undefined")?!1:o,!r(s,"undefined")){var l=v(e,s);if(!r(l,"undefined"))return l}for(var u,f,p,m,h,g=["modernizr","tspan","samp"];!A.style&&g.length;)u=!0,A.modElem=i(g.shift()),A.style=A.modElem.style;for(p=e.length,f=0;p>f;f++)if(m=e[f],h=A.style[m],d(m,"-")&&(m=c(m)),A.style[m]!==t){if(o||r(s,"undefined"))return a(),"pfx"==n?m:!0;try{A.style[m]=s}catch(y){}if(A.style[m]!=h)return a(),"pfx"==n?m:!0}return a(),!1}function y(e,n,t,s,o){var i=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+z.join(i+" ")+i).split(" ");return r(n,"string")||r(n,"undefined")?g(a,n,s,o):(a=(e+" "+P.join(i+" ")+i).split(" "),m(a,n,t))}function C(e,n,r){return y(e,t,t,n,r)}var w=[],x=[],S={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){x.push({name:e,fn:n,options:t})},addAsyncTest:function(e){x.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=S,Modernizr=new Modernizr;var b=n.documentElement,T="svg"===b.nodeName.toLowerCase();Modernizr.addTest("canvas",function(){var e=i("canvas");return!(!e.getContext||!e.getContext("2d"))}),Modernizr.addTest("preserve3d",function(){var n,t,r=e.CSS,s=!1;return r&&r.supports&&r.supports("(transform-style: preserve-3d)")?!0:(n=i("a"),t=i("a"),n.style.cssText="display: block; transform-style: preserve-3d; transform-origin: right; transform: rotateY(40deg);",t.style.cssText="display: block; width: 9px; height: 1px; background: #000; transform-origin: right; transform: rotateY(40deg);",n.appendChild(t),b.appendChild(n),s=t.getBoundingClientRect(),b.removeChild(n),s=s.width&&s.width<4)});var _=S.testStyles=f;_("#modernizr { height: 50vh; }",function(n){var t=parseInt(e.innerHeight/2,10),r=parseInt(a(n,null,"height"),10);Modernizr.addTest("cssvhunit",l(r,t))}),_("#modernizr { width: 50vw; }",function(n){var t=parseInt(e.innerWidth/2,10),r=parseInt(a(n,null,"width"),10);Modernizr.addTest("cssvwunit",l(r,t))});var k="Moz O ms Webkit",z=S._config.usePrefixes?k.split(" "):[];S._cssomPrefixes=z;var P=S._config.usePrefixes?k.toLowerCase().split(" "):[];S._domPrefixes=P;var E={elem:i("modernizr")};Modernizr._q.push(function(){delete E.elem});var A={style:E.elem.style};Modernizr._q.unshift(function(){delete A.style}),S.testAllProps=y,S.testAllProps=C,function(){Modernizr.addTest("csscolumns",function(){var e=!1,n=C("columnCount");try{e=!!n,e&&(e=new Boolean(e))}catch(t){}return e});for(var e,n,t=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],r=0;r<t.length;r++)e=t[r].toLowerCase(),n=C("column"+t[r]),("breakbefore"===e||"breakafter"===e||"breakinside"==e)&&(n=n||C(t[r])),Modernizr.addTest("csscolumns."+e,n)}(),Modernizr.addTest("flexbox",C("flexBasis","1px",!0)),Modernizr.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&C("transform","scale(1)",!0)}),Modernizr.addTest("csstransformslevel2",function(){return C("translate","45px",!0)}),s(),o(w),delete S.addTest,delete S.addAsyncTest;for(var B=0;B<Modernizr._q.length;B++)Modernizr._q[B]();e.Modernizr=Modernizr}(window,document);
}catch(e){console.log("Module 'native95_ecomm_mod': ",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;
if(_2a<_24.width){
_25={left:_23.width-_24.width,top:_29.height+_29.top,};
}else{
_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);
if(pos.left+_4a.width+_4d>_49.width){
pos.left=_49.width-_4a.width-_4d;
}
return pos;
},pointerHandler:function(_4e,_4f,_50,_51){
i$.addClass(_51,"top");
var _52=_51.clientHeight,_53=_51.clientWidth,_54=Math.min(_4f.left+_4f.width,_4e.left+_4e.width),_55=Math.max(_4f.left,_4e.left),_56=(_54+_55)/2-_4e.left;
var res={top:-(_52-4),left:_56-_53/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_48);
})();
(function(){
var _57={name:"verticallyCenteredRightHand",nodeHandler:function(_58,_59,_5a,_5b,_5c){
var pos={};
pos.top=Math.max(_5a.top+(_5a.height-_59.height)/2,_5c);
pos.top=Math.min(pos.top,_58.height-_59.height-_5c);
if(_5b){
pos.left=Math.min(_5a.left+_5a.width,_58.width-_59.width-_5c);
}else{
pos.left=Math.max(_5a.left-_59.width,_5c);
}
return pos;
},pointerHandler:function(_5d,_5e,_5f,_60){
var _61=_5f.height,_62=_61/2+6,_63=Math.min(_5e.top+_5e.height,_5d.top+_5d.height-_62),_64=Math.max(_5e.top,_5d.top+_62),_65=_5d.left-_60.offsetWidth,_66=_5d.right+_60.offsetWidth,_67=_5e.left>_65,_68=_5e.left<=_65,_69=_65<=_5e.right,_6a=_65>_5e.right,_6b=_66<=_5e.left,_6c=_66>_5e.right,_6d=_66<=_5e.right;
i$.removeClass(_60,"right");
i$.removeClass(_60,"left");
if(_63-_64>=0){
if((_67&&_6c)||(_68&&_6d)){
}else{
if((_67&&_6d)||(_67&&_6b)){
i$.addClass(_60,"right");
}else{
if((_69&&_6c)||(_6a&&_6c)){
i$.addClass(_60,"left");
}
}
}
}
return {top:(_64+_63-_61)/2-_5d.top};
}};
wpModules.util.Positioning.registerHandler(_57);
})();


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


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


}catch(e){console.log("Module 'wp_dialog_main': ",e);}
try{(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{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_1,_2,_3,_4){return _1("dijit.form.ToggleButton",[_3,_4],{baseClass:"dijitToggleButton",setChecked:function(_5){_2.deprecated("setChecked("+_5+") is deprecated. Use set('checked',"+_5+") instead.","","2.0");this.set("checked",_5);}});});},"dijit/layout/SplitContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","../registry","../_WidgetBase","./_LayoutWidget"],function(_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10,on,has,_11,_12,_13){var _14=_8("dijit.layout.SplitContainer",_13,{constructor:function(){_f.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2);},activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited(arguments);this.sizers=[];if(has("mozilla")){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _15=this.ownerDocument.createElement("div");this.virtualSizer=_15;_15.style.position="relative";_15.style.zIndex=10;_15.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_15);_9.setSelectable(_15,false);},destroy:function(){delete this.virtualSizer;if(this._ownconnects){var h;while(h=this._ownconnects.pop()){h.remove();}}this.inherited(arguments);},startup:function(){if(this._started){return;}_6.forEach(this.getChildren(),function(_16,i,_17){this._setupChild(_16);if(i<_17.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_18){this.inherited(arguments);_18.domNode.style.position="absolute";_a.add(_18.domNode,"dijitSplitPane");},_onSizerMouseDown:function(e){if(e.target.id){for(var i=0;i<this.sizers.length;i++){if(this.sizers[i].id==e.target.id){break;}}if(i<this.sizers.length){this.beginSizing(e,i);}}},_addSizer:function(_19){_19=_19===undefined?this.sizers.length:_19;var _1a=this.ownerDocument.createElement("div");_1a.id=_11.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_19,0,_1a);this.domNode.appendChild(_1a);_1a.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _1b=this.ownerDocument.createElement("div");_1b.className="thumb";_1a.appendChild(_1b);this.connect(_1a,"onmousedown","_onSizerMouseDown");_9.setSelectable(_1a,false);},removeChild:function(_1c){if(this.sizers.length){var i=_6.indexOf(this.getChildren(),_1c);if(i!=-1){if(i==this.sizers.length){i--;}_b.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_1d,_1e){if(typeof _1e=="undefined"||_1e=="last"){_1e=this.getChildren().length;}this.inherited(arguments,[_1d,_1e]);if(this._started){var _1f=this.getChildren();if(_1f.length>1){this._addSizer(_1e);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _20=this.getChildren();if(!_20.length){return;}var _21=this.isHorizontal?this.paneWidth:this.paneHeight;if(_20.length>1){_21-=this.sizerWidth*(_20.length-1);}var _22=0;_6.forEach(_20,function(_23){_22+=_23.sizeShare;});var _24=_21/_22;var _25=0;_6.forEach(_20.slice(0,_20.length-1),function(_26){var _27=Math.round(_24*_26.sizeShare);_26.sizeActual=_27;_25+=_27;});_20[_20.length-1].sizeActual=_21-_25;this._checkSizes();var pos=0;var _28=_20[0].sizeActual;this._movePanel(_20[0],pos,_28);_20[0].position=pos;pos+=_28;if(!this.sizers){return;}_6.some(_20.slice(1),function(_29,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;_28=_29.sizeActual;this._movePanel(_29,pos,_28);_29.position=pos;pos+=_28;},this);},_movePanel:function(_2a,pos,_2b){var box;if(this.isHorizontal){_2a.domNode.style.left=pos+"px";_2a.domNode.style.top=0;box={w:_2b,h:this.paneHeight};if(_2a.resize){_2a.resize(box);}else{_c.setMarginBox(_2a.domNode,box);}}else{_2a.domNode.style.left=0;_2a.domNode.style.top=pos+"px";box={w:this.paneWidth,h:_2b};if(_2a.resize){_2a.resize(box);}else{_c.setMarginBox(_2a.domNode,box);}}},_moveSlider:function(_2c,pos,_2d){if(this.isHorizontal){_2c.style.left=pos+"px";_2c.style.top=0;_c.setMarginBox(_2c,{w:_2d,h:this.paneHeight});}else{_2c.style.left=0;_2c.style.top=pos+"px";_c.setMarginBox(_2c,{w:this.paneWidth,h:_2d});}},_growPane:function(_2e,_2f){if(_2e>0){if(_2f.sizeActual>_2f.sizeMin){if((_2f.sizeActual-_2f.sizeMin)>_2e){_2f.sizeActual=_2f.sizeActual-_2e;_2e=0;}else{_2e-=_2f.sizeActual-_2f.sizeMin;_2f.sizeActual=_2f.sizeMin;}}}return _2e;},_checkSizes:function(){var _30=0;var _31=0;var _32=this.getChildren();_6.forEach(_32,function(_33){_31+=_33.sizeActual;_30+=_33.sizeMin;});if(_30<=_31){var _34=0;_6.forEach(_32,function(_35){if(_35.sizeActual<_35.sizeMin){_34+=_35.sizeMin-_35.sizeActual;_35.sizeActual=_35.sizeMin;}});if(_34>0){var _36=this.isDraggingLeft?_32.reverse():_32;_6.forEach(_36,function(_37){_34=this._growPane(_34,_37);},this);}}else{_6.forEach(_32,function(_38){_38.sizeActual=Math.round(_31*(_38.sizeMin/_30));});}},beginSizing:function(e,i){var _39=this.getChildren();this.paneBefore=_39[i];this.paneAfter=_39[i+1];this.paneBefore.sizeBeforeDrag=this.paneBefore.sizeActual;this.paneAfter.sizeBeforeDrag=this.paneAfter.sizeActual;this.paneAfter.positionBeforeDrag=this.paneAfter.position;this.isSizing=true;this.sizingSplitter=this.sizers[i];this.sizingSplitter.positionBeforeDrag=_d.get(this.sizingSplitter,(this.isHorizontal?"left":"top"));if(!this.cover){this.cover=_b.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.startPoint=this.lastPoint=(this.isHorizontal?e.pageX:e.pageY);this.maxDelta=this.paneAfter.sizeActual-this.paneAfter.sizeMin;this.minDelta=-1*(this.paneBefore.sizeActual-this.paneBefore.sizeMin);if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(this.ownerDocument.documentElement,"mousemove",_10.hitch(this,"changeSizing")),on(this.ownerDocument.documentElement,"mouseup",_10.hitch(this,"endSizing"))];_e.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;var _3a=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);if(this.activeSizing){this._updateSize(_3a);}else{this._moveSizingLine(_3a);}_e.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}var _3b=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);this._updateSize(_3b);this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},_updateSize:function(_3c){this.paneBefore.sizeActual=this.paneBefore.sizeBeforeDrag+_3c;this.paneAfter.position=this.paneAfter.positionBeforeDrag+_3c;this.paneAfter.sizeActual=this.paneAfter.sizeBeforeDrag-_3c;_6.forEach(this.getChildren(),function(_3d){_3d.sizeShare=_3d.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine(0);_c.setMarginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(_3e){var pos=_3e+this.sizingSplitter.positionBeforeDrag;_d.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_6.forEach(this.getChildren(),function(_3f,i){var _40=this._getCookieName(i);var _41=_7(_40);if(_41){var pos=parseInt(_41);if(typeof pos=="number"){_3f.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_6.forEach(this.getChildren(),function(_42,i){_7(this._getCookieName(i),_42.sizeShare,{expires:365});},this);}});_14.ChildWidgetProperties={sizeMin:10,sizeShare:10};_10.extend(_12,_14.ChildWidgetProperties);return _14;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom","../a11yclick"],function(_43,_44,_45,_46,_47,fx,_48,on,_49,has,_4a,_4b,_4c,_4d,_4e,_4f,_50,_51,_52,_53){var _54=_44("dijit.layout.ScrollingTabController",[_4d,_4f],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_4b,useMenu:true,useSlider:true,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_45.add(n,"tabStrip-disabled");}_45.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_47.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_48.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_55,_56){this.inherited(arguments);_47.set(this.containerNode,"width",(_47.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_57,_58){var _59=this.pane2button(_57.id);if(this._selectedTab===_59.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_49("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_46.getMarginSize(btn).w;return true;}else{_47.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _5a=this.getChildren();if(_5a.length){var _5b=_5a[this.isLeftToRight()?0:_5a.length-1].domNode,_5c=_5a[this.isLeftToRight()?_5a.length-1:0].domNode;return _5c.offsetLeft+_5c.offsetWidth-_5b.offsetLeft;}else{return 0;}},_enableBtn:function(_5d){var _5e=this._getTabsWidth();_5d=_5d||_47.get(this.scrollNode,"width");return _5e>0&&_5d<_5e;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_4e.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_46.setContentSize(this.domNode,cb);var _5f=this._enableBtn(this._contentBox.w);this._buttons.style("display",_5f?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_4e.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_47.get(this.containerNode,"width")-_47.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _60=_47.get(this.containerNode,"width")-_47.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_60);}},onSelectChild:function(_61){var tab=this.pane2button(_61.id);if(!tab){return;}var _62=tab.domNode;if(_62!=this._selectedTab){this._selectedTab=_62;if(this._postResize){var sl=this._getScroll();if(sl>_62.offsetLeft||sl+_47.get(this.scrollNode,"width")<_62.offsetLeft+_47.get(_62,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _63=this.getChildren(),_64=_47.get(this.scrollNode,"width"),_65=_47.get(this.containerNode,"width"),_66=_65-_64,_67=this._getTabsWidth();if(_63.length&&_67>_64){return {min:this.isLeftToRight()?0:_63[_63.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_63[_63.length-1].domNode.offsetLeft+_63[_63.length-1].domNode.offsetWidth)-_64:_66};}else{var _68=this.isLeftToRight()?0:_66;return {min:_68,max:_68};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_69=_47.get(this.scrollNode,"width"),_6a=this._getScrollBounds();var pos=(n.offsetLeft+_47.get(n,"width")/2)-_69/2;pos=Math.min(Math.max(pos,_6a.min),_6a.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _6b=this._getScrollBounds();x=Math.min(Math.max(x,_6b.min),_6b.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _6c=this,w=this.scrollNode,_6d=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _6e=w.scrollLeft,_6f=_6c._convertToScrollLeft(x);_6d.curve=new fx._Line(_6e,_6f);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_6d;this._setButtonClass(x);return _6d;},_getBtnNode:function(e){var n=e.target;while(n&&!_45.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_70,_71){if(_71&&_45.contains(_71,"dijitTabDisabled")){return;}var _72=_47.get(this.scrollNode,"width");var d=(_72*0.75)*_70;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_73){var _74=this._getScrollBounds();this._leftBtn.set("disabled",_73<=_74.min);this._rightBtn.set("disabled",_73>=_74.max);}});var _75=_44("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_4c,tabIndex:"",isFocusable:function(){return false;}});_44("dijit.layout._ScrollingTabControllerButton",[_52,_75]);_44("dijit.layout._ScrollingTabControllerMenuButton",[_52,_53,_75],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_76){this.dropDown=new _50({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _77=_4a.byId(this.containerId);_43.forEach(_77.getChildren(),function(_78){var _79=new _51({id:_78.id+"_stcMi",label:_78.title,iconClass:_78.iconClass,disabled:_78.disabled,ownerDocument:this.ownerDocument,dir:_78.dir,lang:_78.lang,textDir:_78.textDir||_77.textDir,onClick:function(){_77.selectChild(_78);}});this.dropDown.addChild(_79);},this);_76();},closeDropDown:function(_7a){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _54;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_7b,dom,has,_7c){var _7d=_7b("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _7e=e.defaultPrevented;if(!_7e&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var _7f=this.domNode;_7f.parentNode;_7f=_7f.parentNode){var _80=_7c.byNode(_7f);if(_80&&typeof _80._onSubmit=="function"){_80._onSubmit(e);e.preventDefault();_7e=true;break;}}}return !_7e;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_81){this._set("label",_81);var _82=this.containerNode||this.focusNode;_82.innerHTML=_81;}});if(has("dojo-bidi")){_7d=_7b("dijit.form._ButtonMixin",_7d,{_setLabelAttr:function(){this.inherited(arguments);var _83=this.containerNode||this.focusNode;this.applyTextDir(_83);}});}return _7d;});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_84,_85,_86,has,_87,_88,_89,_8a,_8b,_8c){if(has("dijit-legacy-requires")){_89(0,function(){var _8d=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_84(_8d);});}var _8e=_85("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_8a,_8b],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_8c,_setValueAttr:"valueNode",_setNameAttr:function(_8f){if(this.valueNode){this.valueNode.setAttribute("name",_8f);}},_fillContent:function(_90){if(_90&&(!this.params||!("label" in this.params))){var _91=_88.trim(_90.innerHTML);if(_91){this.label=_91;}}},_setShowLabelAttr:function(val){if(this.containerNode){_86.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_92){_87.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_92);},_setLabelAttr:function(_93){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=_88.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_8e=_85("dijit.form.Button",_8e,{_setLabelAttr:function(_94){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_95){if(this._created&&this.textDir!=_95){this._set("textDir",_95);this._setLabelAttr(this.label);}}});}return _8e;});},"dijit/layout/_TabContainerBase":function(){define(["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_96,_97,_98,_99,_9a,_9b,_9c,_9d){return _9a("dijit.layout._TabContainerBase",[_97,_99],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_96,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_9d.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_9b.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_9b.add(this.domNode,"dijitTabContainerNested");_9b.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_9b.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_9b.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_9b.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_9b.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _9e=this.tabPosition.replace(/-h/,"");this.tablist.region=_9e;var _9f=[this.tablist,{domNode:this.tablistSpacer,region:_9e},{domNode:this.containerNode,region:"center"}];_98.layoutChildren(this.domNode,this._contentBox,_9f);this._containerContentBox=_98.marginBox2contentBox(this.containerNode,_9f[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _a0=_9c.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_a0});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_a1){if(this.tablist){this.tablist.destroy(_a1);}this.inherited(arguments);}});});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_a2,dom,_a3,_a4,has,_a5,_a6,_a7,_a8,_a9,_aa,_ab){var _ac=_a2("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_a7.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_ab,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(_ad){this._set("closeButton",_ad);_a4.toggle(this.domNode,"dijitClosable",_ad);this.closeNode.style.display=_ad?"":"none";if(_ad){var _ae=_a5.getLocalization("dijit","common");if(this.closeNode){_a3.set(this.closeNode,"title",_ae.itemClose);}}},_setDisabledAttr:function(_af){this.inherited(arguments);if(this.closeNode){if(_af){_a3.remove(this.closeNode,"title");}else{var _b0=_a5.getLocalization("dijit","common");_a3.set(this.closeNode,"title",_b0.itemClose);}}},_setLabelAttr:function(_b1){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=_a6.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_ac=_a2("dijit.layout._TabButton",_ac,{_setLabelAttr:function(_b2){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _b3=_a2("dijit.layout.TabController",_a7,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_ac,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _b4=new _a9({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(_b5){return _a4.contains(_b5,"dijitClosable")&&!_a4.contains(_b5,"dijitTabDisabled");}});this.own(_b4);var _b6=_a5.getLocalization("dijit","common"),_b7=this;_b4.addChild(new _aa({label:_b6.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _b8=_a8.byNode(this.getParent().currentTarget);_b7.onCloseButtonClick(_b8.page);}}));}});_b3.TabButton=_ac;return _b3;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_b9,_ba,dom,_bb,_bc,_bd,_be,has,_bf,_c0,on,_c1,_c2,_c3,_c4,_c5){return _b9("dijit._HasDropDown",_c5,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_c1.release,_c0.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _c6=this.dropDown,_c7=false;if(e&&this._opened){var c=_bd.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_c7){if(_bc.contains(t,"dijitPopup")){_c7=true;}else{t=t.parentNode;}}if(_c7){t=e.target;if(_c6.onItemClick){var _c8;while(t&&!(_c8=_c2.byNode(t))){t=t.parentNode;}if(_c8&&_c8.onClick&&_c8.getParent){_c8.getParent().onItemClick(_c8,e);}}return;}}}if(this._opened){if(_c6.focus&&(_c6.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_c6.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _c9={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_bc.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_c9+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _ca=this.focusNode||this.domNode;this.own(on(this._buttonNode,_c1.press,_c0.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_c0.hitch(this,"_onDropDownClick")),on(_ca,"keydown",_c0.hitch(this,"_onKey")),on(_ca,"keyup",_c0.hitch(this,"_onKeyUp")));},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_cb=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==_bf.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==_bf.DOWN_ARROW||((e.keyCode==_bf.ENTER||(e.keyCode==_bf.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_cb.tagName||"").toLowerCase()!=="input"||(_cb.type&&_cb.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_c0.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_cc){_cc();},loadAndOpenDropDown:function(){var d=new _ba(),_cd=_c0.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_cd);}else{_cd();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _ce=this.dropDown,_cf=_ce.domNode,_d0=this._aroundNode||this.domNode,_d1=this;var _d2=_c4.open({parent:this,popup:_ce,around:_d0,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){_d1.closeDropDown(true);},onCancel:function(){_d1.closeDropDown(true);},onClose:function(){_bb.set(_d1._popupStateNode,"popupActive",false);_bc.remove(_d1._popupStateNode,"dijitHasDropDownOpen");_d1._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_d0.offsetWidth>_ce._popupWrapper.offsetWidth)){var _d3=_d0.offsetWidth-_ce._popupWrapper.offsetWidth;var _d4={w:_ce.domNode.offsetWidth+_d3};if(_c0.isFunction(_ce.resize)){_ce.resize(_d4);}else{_bd.setMarginBox(_cf,_d4);}if(_d2.corner[1]=="R"){_ce._popupWrapper.style.left=(_ce._popupWrapper.style.left.replace("px","")-_d3)+"px";}}_bb.set(this._popupStateNode,"popupActive","true");_bc.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_ce.id);if(_cf.getAttribute("role")!=="presentation"&&!_cf.getAttribute("aria-labelledby")){_cf.setAttribute("aria-labelledby",this.id);}return _d2;},closeDropDown:function(_d5){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_d5){this.focus();}_c4.close(this.dropDown);this._opened=false;}}});});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_d6,_d7,_d8,_d9,_da,_db,_dc,_dd,_de,on,_df,_e0,_e1,_e2,_e3,_e4){var _e5=_d8("dijit.layout._Splitter",[_e1,_e2],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_d9.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _e6=_d7(this._cookieName);if(_e6){this.child.domNode.style[this.horizontal?"height":"width"]=_e6;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_e7=_db.getMarginBox(this.child.domNode)[dim],_e8=_d6.filter(this.container.getChildren(),function(_e9){return _e9.region=="center";})[0];var _ea=_db.getContentBox(_e8.domNode)[dim]-10;return Math.min(this.child.maxSize,_e7+_ea);},_startDrag:function(e){if(!this.cover){this.cover=_da.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_d9.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_da.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_d9.add(this.domNode,"dijitSplitterShadow");_da.place(this.fake,this.domNode,"after");}_d9.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_d9.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _eb=this._factor,_ec=this.horizontal,_ed=_ec?"pageY":"pageX",_ee=e[_ed],_ef=this.domNode.style,dim=_ec?"h":"w",_f0=_dc.getComputedStyle(this.child.domNode),_f1=_db.getMarginBox(this.child.domNode,_f0)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_db.getPadBorderExtents(this.child.domNode,_f0)[dim]+10),_f2=this.region,_f3=_f2=="top"||_f2=="bottom"?"top":"left",_f4=parseInt(_ef[_f3],10),_f5=this._resize,_f6=_de.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_df.move,this._drag=function(e,_f7){var _f8=e[_ed]-_ee,_f9=_eb*_f8+_f1,_fa=Math.max(Math.min(_f9,max),min);if(_f5||_f7){_f6(_fa);}_ef[_f3]=_f8+_f4+_eb*(_fa-_f9)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_df.release,_de.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_d9.toggle(this.domNode,"dijitSplitterHover",o);_d9.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_d9.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_da.destroy(this.fake);}_d9.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_d7(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _fb=this.horizontal;var _fc=1;switch(e.keyCode){case _fb?_dd.UP_ARROW:_dd.LEFT_ARROW:_fc*=-1;case _fb?_dd.DOWN_ARROW:_dd.RIGHT_ARROW:break;default:return;}var _fd=_db.getMarginSize(this.child.domNode)[_fb?"h":"w"]+this._factor*_fc;this.container._layoutChildren(this.child.id,Math.max(Math.min(_fd,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _fe=_d8("dijit.layout._Gutter",[_e1,_e2],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_d9.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _ff=_d8("dijit.layout.BorderContainer",_e3,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_e5,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_100){this.inherited(arguments);var _101=_100.region,ltr=_100.isLeftToRight();if(_101=="leading"){_101=ltr?"left":"right";}if(_101=="trailing"){_101=ltr?"right":"left";}if(_101){if(_101!="center"&&(_100.splitter||this.gutters)&&!_100._splitterWidget){var _102=_100.splitter?this._splitterClass:_fe;if(_de.isString(_102)){_102=_de.getObject(_102);}var _103=new _102({id:_100.id+"_splitter",container:this,child:_100,region:_101,live:this.liveSplitters});_103.isSplitter=true;_100._splitterWidget=_103;var _104=_101=="bottom"||_101==(this.isLeftToRight()?"right":"left");_da.place(_103.domNode,_100.domNode,_104?"before":"after");_103.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_105){var _106=_105._splitterWidget;if(_106){_106.destroy();delete _105._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _d6.filter(this.inherited(arguments),function(_107){return !_107.isSplitter;});},getSplitter:function(_108){return _d6.filter(this.getChildren(),function(_109){return _109.region==_108;})[0]._splitterWidget;},resize:function(_10a,_10b){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_dc.getComputedStyle(node);this.pe=_db.getPadExtents(node,this.cs);this.pe.r=_dc.toPixelValue(node,this.cs.paddingRight);this.pe.b=_dc.toPixelValue(node,this.cs.paddingBottom);_dc.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_10c,_10d){if(!this._borderBox||!this._borderBox.h){return;}var _10e=[];_d6.forEach(this._getOrderedChildren(),function(pane){_10e.push(pane);if(pane._splitterWidget){_10e.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_e4.layoutChildren(this.domNode,dim,_10e,_10c,_10d);},destroyRecursive:function(){_d6.forEach(this.getChildren(),function(_10f){var _110=_10f._splitterWidget;if(_110){_110.destroy();}delete _10f._splitterWidget;});this.inherited(arguments);}});_ff.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};_de.mixin(_ff.ChildWidgetProperties,_e3.ChildWidgetProperties);_de.extend(_e0,_ff.ChildWidgetProperties);_ff._Splitter=_e5;_ff._Gutter=_fe;return _ff;});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_111,_112,_113,fx,dom,_114,_115,_116,_117,keys,lang,has,_118,_119,_11a,_11b,_11c,_11d,_11e,_11f,_120,_121,_122){var _123=_113("dijit.layout._AccordionButton",[_11c,_11e,_11f],{templateString:_122,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _124=this.id.replace(" ","_");_114.set(this.titleTextNode,"id",_124+"_title");this.focusNode.setAttribute("aria-labelledby",_114.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _117.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _125=this.getParent();_125.selectChild(this.contentWidget,true);_119.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_126){this._set("selected",_126);this.focusNode.setAttribute("aria-expanded",_126?"true":"false");this.focusNode.setAttribute("aria-selected",_126?"true":"false");this.focusNode.setAttribute("tabIndex",_126?"0":"-1");}});if(has("dojo-bidi")){_123.extend({_setLabelAttr:function(_127){this._set("label",_127);_114.set(this.titleTextNode,"innerHTML",_127);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_128){this._set("title",_128);_114.set(this.titleTextNode,"title",_128);this.applyTextDir(this.titleTextNode);}});}var _129=_113("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_11c,_11f],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_116.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _12a=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_12a._buttonWidget=(new cls({contentWidget:_12a,label:_12a.title,title:_12a.tooltip,dir:_12a.dir,lang:_12a.lang,textDir:_12a.textDir||this.textDir,iconClass:_12a.iconClass,id:_12a.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_116.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_116.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _12b=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_12c,_12d){_12b.set("label",_12d);})),cw.watch("tooltip",lang.hitch(this,function(name,_12e,_12f){_12b.set("title",_12f);})),cw.watch("iconClass",lang.hitch(this,function(name,_130,_131){_12b.set("iconClass",_131);}))];},_setSelectedAttr:function(_132){this._set("selected",_132);this.button.set("selected",_132);if(_132){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_112.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_133){this.contentWidget.destroyRecursive(_133);}});if(has("dojo-bidi")){_129=_113("dijit.layout._AccordionInnerContainer",_129,{postCreate:function(){this.inherited(arguments);var _134=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_135,_136){_134.set("textDir",_136);}));}});}var _137=_113("dijit.layout.AccordionContainer",_120,{duration:_11a.defaultDuration,buttonWidget:_123,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _138=this.selectedChildWidget;if(!_138){return;}var _139=_138._wrapperWidget.domNode,_13a=_117.getMarginExtents(_139),_13b=_117.getPadBorderExtents(_139),_13c=_138._wrapperWidget.containerNode,_13d=_117.getMarginExtents(_13c),_13e=_117.getPadBorderExtents(_13c),_13f=this._contentBox;var _140=0;_112.forEach(this.getChildren(),function(_141){if(_141!=_138){_140+=_117.getMarginSize(_141._wrapperWidget.domNode).h;}});this._verticalSpace=_13f.h-_140-_13a.h-_13b.h-_13d.h-_13e.h-_138._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_13a.w-_13b.w-_13d.w-_13e.w};if(_138){_138.resize(this._containerContentBox);}},_setupChild:function(_142){_142._wrapperWidget=_129({contentWidget:_142,buttonWidget:this.buttonWidget,id:_142.id+"_wrapper",dir:_142.dir,lang:_142.lang,textDir:_142.textDir||this.textDir,parent:this});this.inherited(arguments);_116.place(_142.domNode,_142._wrapper,"replace");},removeChild:function(_143){if(_143._wrapperWidget){_116.place(_143.domNode,_143._wrapperWidget.domNode,"after");_143._wrapperWidget.destroy();delete _143._wrapperWidget;}_115.remove(_143.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _112.map(this.inherited(arguments),function(_144){return _144.declaredClass=="dijit.layout._AccordionInnerContainer"?_144.contentWidget:_144;},this);},destroy:function(){if(this._animation){this._animation.stop();}_112.forEach(this.getChildren(),function(_145){if(_145._wrapperWidget){_145._wrapperWidget.destroy();}else{_145.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_146){_146._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_147){_147._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_148,_149,_14a){if(has("ie")<8){_14a=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_148){_148._wrapperWidget.set("selected",true);var d=this._showChild(_148);if(this.doLayout&&_148.resize){_148.resize(this._containerContentBox);}}if(_149){_149._wrapperWidget.set("selected",false);if(!_14a){this._hideChild(_149);}}if(_14a){var _14b=_148._wrapperWidget.containerNode,_14c=_149._wrapperWidget.containerNode;var _14d=_148._wrapperWidget.containerNode,_14e=_117.getMarginExtents(_14d),_14f=_117.getPadBorderExtents(_14d),_150=_14e.h+_14f.h;_14c.style.height=(self._verticalSpace-_150)+"px";this._animation=new fx.Animation({node:_14b,duration:this.duration,curve:[1,this._verticalSpace-_150-1],onAnimate:function(_151){_151=Math.floor(_151);_14b.style.height=_151+"px";_14c.style.height=(self._verticalSpace-_150-_151)+"px";},onEnd:function(){delete self._animation;_14b.style.height="auto";_149._wrapperWidget.containerNode.style.display="none";_14c.style.height="auto";self._hideChild(_149);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_152){if(this.disabled||e.altKey||!(_152||e.ctrlKey)){return;}var c=e.keyCode;if((_152&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_152&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_11b(0,function(){var _153=["dijit/layout/AccordionPane"];_111(_153);});}_137._InnerContainer=_129;_137._Button=_123;return _137;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch","dojo/i18n!../nls/common"],function(_154,_155,_156,_157,keys,lang,on,_158,_159,_15a,_15b,_15c,_15d,_15e){var _15f=_155("dijit.layout._StackButton",_15e,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _160=_155("dijit.layout.StackController",[_15b,_15c,_15d],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_15f,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _15a.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_158.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_158.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_158.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_158.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_158.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _161=_15a.getEnclosingWidget(evt.target);if(_161!=this.containerNode&&!_161.disabled&&_161.page){for(var _162=evt.target;_162!==this.containerNode;_162=_162.parentNode){if(_156.contains(_162,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_161.page);break;}else{if(_162==_161.domNode){this.onButtonClick(_161.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_154.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _163=_15a.byId(this.containerId).containerNode,_164=lang.hitch(this,"pane2button"),_165={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_166=function(attr,_167){return on(_163,"attrmodified-"+attr,function(evt){var _168=_164(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_168){_168.set(_167,evt.detail.newValue);}});};for(var attr in _165){this.own(_166(attr,_165[attr]));}},destroy:function(_169){this.destroyDescendants(_169);this.inherited(arguments);},onAddChild:function(page,_16a){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _16b=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_16b,_16a);page.controlButton=_16b;if(!this._currentChild){this.onSelectChild(page);}var _16c=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_16b.id:_16b.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_16c);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _16d=this.pane2button(page.id);if(_16d){this.removeChild(_16d);_16d.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _16e=this.pane2button(this._currentChild.id);_16e.set("checked",false);_16e.focusNode.setAttribute("tabIndex","-1");}var _16f=this.pane2button(page.id);_16f.set("checked",true);this._currentChild=page;_16f.focusNode.setAttribute("tabIndex","0");var _170=_15a.byId(this.containerId);},onButtonClick:function(page){var _171=this.pane2button(page.id);_159.focus(_171.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_171.set("checked",true);}var _172=_15a.byId(this.containerId);_172.selectChild(page);},onCloseButtonClick:function(page){var _173=_15a.byId(this.containerId);_173.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_159.focus(b.focusNode||b.domNode);}}},adjacent:function(_174){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_174=!_174;}var _175=this.getChildren();var idx=_154.indexOf(_175,this.pane2button(this._currentChild.id)),_176=_175[idx];var _177;do{idx=(idx+(_174?1:_175.length-1))%_175.length;_177=_175[idx];}while(_177.disabled&&_177!=_176);return _177;},onkeydown:function(e,_178){if(this.disabled||e.altKey){return;}var _179=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_179=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_179=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_179=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_179=true;}break;case keys.HOME:var _17a=this.getChildren();for(var idx=0;idx<_17a.length;idx++){var _17b=_17a[idx];if(!_17b.disabled){this.onButtonClick(_17b.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _17a=this.getChildren();for(var idx=_17a.length-1;idx>=0;idx--){var _17b=_17a[idx];if(!_17b.disabled){this.onButtonClick(_17b.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_179!==null){this.onButtonClick(this.adjacent(_179).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_160.StackButton=_15f;return _160;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_17c,_17d,_17e,_17f,_180,has,lang,on,_181,_182,when,_183,_184,_185){if(has("dijit-legacy-requires")){_181(0,function(){var _186=["dijit/layout/StackController"];require(_186);});}var _187=_17e("dijit.layout.StackContainer",_185,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_17f.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _188=this.getChildren();_17c.forEach(_188,this._setupChild,this);if(this.persist){this.selectedChildWidget=_183.byId(_17d(this.id+"_selectedChild"));}else{_17c.some(_188,function(_189){if(_189.selected){this.selectedChildWidget=_189;}return _189.selected;},this);}var _18a=this.selectedChildWidget;if(!_18a&&_188[0]){_18a=this.selectedChildWidget=_188[0];_18a.selected=true;}_182.publish(this.id+"-startup",{children:_188,selected:_18a,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _18b=this.selectedChildWidget;if(_18b){this._showChild(_18b);}}this.inherited(arguments);},_setupChild:function(_18c){var _18d=_18c.domNode,_18e=_180.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_18c.domNode,"replace"),_18f=_18c["aria-label"]||_18c.title||_18c.label;if(_18f){_18e.setAttribute("aria-label",_18f);}_180.place(_18d,_18e);_18c._wrapper=_18e;this.inherited(arguments);if(_18d.style.display=="none"){_18d.style.display="block";}_18c.domNode.title="";},addChild:function(_190,_191){this.inherited(arguments);if(this._started){_182.publish(this.id+"-addChild",_190,_191);this.layout();if(!this.selectedChildWidget){this.selectChild(_190);}}},removeChild:function(page){var idx=_17c.indexOf(this.getChildren(),page);this.inherited(arguments);_180.destroy(page._wrapper);delete page._wrapper;if(this._started){_182.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _192=this.getChildren();if(_192.length){this.selectChild(_192[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_193){var d;page=_183.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_193);this._set("selectedChildWidget",page);_182.publish(this.id+"-selectChild",page);if(this.persist){_17d(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_194,_195){if(_195){this._hideChild(_195);}var d=this._showChild(_194);if(_194.resize){if(this.doLayout){_194.resize(this._containerContentBox||this._contentBox);}else{_194.resize();}}return d;},_adjacent:function(_196){var _197=this.getChildren();var _198=_17c.indexOf(_197,this.selectedChildWidget);_198+=_196?1:_197.length-1;return _197[_198%_197.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_182.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _199=this.selectedChildWidget;if(_199&&_199.resize){if(this.doLayout){_199.resize(this._containerContentBox||this._contentBox);}else{_199.resize();}}},_showChild:function(page){var _19a=this.getChildren();page.isFirstChild=(page==_19a[0]);page.isLastChild=(page==_19a[_19a.length-1]);page._set("selected",true);if(page._wrapper){_17f.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_17f.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _19b=page.onClose&&page.onClose(this,page);if(_19b){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_19c){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_17c.forEach(this.getChildren(),function(_19d){if(!_19c){this.removeChild(_19d);}_19d.destroyRecursive(_19c);},this);this._descendantsBeingDestroyed=false;}});_187.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_184,_187.ChildWidgetProperties);return _187;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_19e,_19f,_1a0){return _19e("dijit.layout.AccordionPane",_1a0,{constructor:function(){_19f.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1a1,_1a2){return _1a1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1a3=this.checked;this._set("checked",!_1a3);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1a3);return ret;},_setCheckedAttr:function(_1a4,_1a5){this._set("checked",_1a4);var node=this.focusNode||this.domNode;if(this._created){if(_1a2.get(node,"checked")!=!!_1a4){_1a2.set(node,"checked",!!_1a4);}}node.setAttribute(this._aria_attr,String(_1a4));this._handleOnChange(_1a4,_1a5);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_1a6,_1a7,_1a8,_1a9,lang,_1aa,_1ab,_1ac){var _1ad=_1a7("dijit.layout.LayoutContainer",_1ab,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_1a6.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_1ae){this.inherited(arguments);var _1af=_1ae.region;if(_1af){_1a8.add(_1ae.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _1b0=_1a6.map(this.getChildren(),function(_1b1,idx){return {pane:_1b1,weight:[_1b1.region=="center"?Infinity:0,_1b1.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_1b1.region)?1:-1),idx]};},this);_1b0.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});return _1a6.map(_1b0,function(w){return w.pane;});},layout:function(){_1ac.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_1b2,_1b3){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_1b4){this.inherited(arguments);if(this._started){this.layout();}_1a8.remove(_1b4.domNode,this.baseClass+"Pane");_1a9.set(_1b4.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_1a9.set(_1b4.domNode,/top|bottom/.test(_1b4.region)?"width":"height","auto");}});_1ad.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_1aa,_1ad.ChildWidgetProperties);return _1ad;});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_1b5,_1b6,_1b7,_1b8){return _1b5("dijit.layout.TabContainer",_1b6,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_1b9){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_1b7=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _1b7({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_1b9);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_1b8:_1b7;}}});});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTabButtonIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t  role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"ondijitclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\"  data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<span role=\"presentation\" class=\"dijitInline dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" role=\"presentation\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_menuBtn\"\n\t\t data-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t data-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_leftBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_rightBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'\n\t\t\t data-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","*noref":1}});define("dijit/_dijit_layout_ext",[],1);require(["dijit/layout/BorderContainer","dijit/layout/AccordionContainer","dijit/layout/AccordionPane","dijit/layout/TabContainer","dijit/layout/LayoutContainer","dijit/layout/ScrollingTabController","dijit/layout/SplitContainer","dijit/layout/StackContainer","dijit/layout/StackController","dijit/layout/TabController"]);
}catch(e){console.log("Module 'dijit_layout_ext_19': ",e);}
try{/*
    ImageViewer v 1.1.3
    Author: Sudhanshu Yadav
    Copyright (c) 2015 to Sudhanshu Yadav - ignitersworld.com , released under the MIT license.
    Demo on: http://ignitersworld.com/lab/imageViewer.html
*/

!function(i,e,t,n){"use strict";function a(i,e,t,n){return i/=n,i--,-t*(i*i*i*i-1)+e}function o(i){return i.complete&&("undefined"==typeof i.naturalWidth||0!==i.naturalWidth)}function s(i,e){this.container=i,this.onStart=e.onStart||h,this.onMove=e.onMove||h,this.onEnd=e.onEnd||h,this.sliderId=e.sliderId||"slider"+Math.ceil(1e6*Math.random())}function r(e,t){var n=this;e.is("#iv-container")&&(n._fullPage=!0),n.container=e,t=n.options=i.extend({},r.defaults,t),n.zoomValue=100,e.find(".snap-view").length||e.prepend(v),e.addClass("iv-container"),"static"==e.css("position")&&e.css("position","relative"),n.snapView=e.find(".iv-snap-view"),n.snapImageWrap=e.find(".iv-snap-image-wrap"),n.imageWrap=e.find(".iv-image-wrap"),n.snapHandle=e.find(".iv-snap-handle"),n.zoomHandle=e.find(".iv-zoom-handle"),n._viewerId="iv"+Math.floor(1e6*Math.random())}var h=function(){},m=i("body"),c=i(e),l=i(t),d=15,u=5;!function(){for(var i=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!e.requestAnimationFrame;++n)e.requestAnimationFrame=e[t[n]+"RequestAnimationFrame"],e.cancelAnimationFrame=e[t[n]+"CancelAnimationFrame"]||e[t[n]+"CancelRequestAnimationFrame"];e.requestAnimationFrame||(e.requestAnimationFrame=function(t,n){var a=(new Date).getTime(),o=Math.max(0,16-(a-i)),s=e.setTimeout(function(){t(a+o)},o);return i=a+o,s}),e.cancelAnimationFrame||(e.cancelAnimationFrame=function(i){clearTimeout(i)})}();var v='<div class="iv-loader"></div> <div class="iv-snap-view"><div class="iv-snap-image-wrap"><div class="iv-snap-handle"></div></div><div class="iv-zoom-slider"><div class="iv-zoom-handle"></div></div></div><div class="iv-image-view" ><div class="iv-image-wrap" ></div></div>';i(function(){m.length||(m=i("body")),m.append('<div id="iv-container">'+v+'<div class="iv-close"></div><div>')}),s.prototype.init=function(){var i=this,e=(this.container,"."+this.sliderId);return this.container.on("touchstart"+e+" mousedown"+e,function(t){t.preventDefault();var n=("touchstart"==t.type?"touchmove":"mousemove")+e,a=("touchstart"==t.type?"touchend":"mouseup")+e,o=t.originalEvent,s=o.clientX||o.touches[0].clientX,r=o.clientY||o.touches[0].clientY,h=i.onStart(t,{x:s,y:r});if(h!==!1){var m=function(e){e.preventDefault(),o=e.originalEvent;var t=o.clientX||o.touches[0].clientX,n=o.clientY||o.touches[0].clientY;i.onMove(e,{dx:t-s,dy:n-r,mx:t,my:n})},c=function(){l.off(n,m),l.off(a,c),i.onEnd()};l.on(n,m),l.on(a,c)}}),this},r.prototype={constructor:r,_init:function(){function i(i){t.snapView&&(x||e.zoomValue<=100||!e.loaded||(clearTimeout(z),x=!0,e.snapView.css("opacity",1),i||(z=setTimeout(function(){e.snapView.css("opacity",0),x=!1},4e3))))}var e=this,t=e.options,n=!1,o=this.container,r="."+e._viewerId,h=this.snapHandle,m=this.snapImageWrap,v=this.imageWrap,f=new s(m,{sliderId:e._viewerId,onStart:function(){if(!e.loaded)return!1;var i=h[0].style;this.curHandleTop=parseFloat(i.top),this.curHandleLeft=parseFloat(i.left),this.handleWidth=parseFloat(i.width),this.handleHeight=parseFloat(i.height),this.width=m.width(),this.height=m.height(),clearInterval(p.slideMomentumCheck),cancelAnimationFrame(p.sliderMomentumFrame)},onMove:function(i,t){var n=this.curHandleLeft+100*t.dx/this.width,a=this.curHandleTop+100*t.dy/this.height;n=Math.max(0,n),n=Math.min(100-this.handleWidth,n),a=Math.max(0,a),a=Math.min(100-this.handleHeight,a);var o=e.containerDim,s=e.imageDim.w*(e.zoomValue/100),r=e.imageDim.h*(e.zoomValue/100),m=s<o.w?(o.w-s)/2:-s*n/100,c=r<o.h?(o.h-r)/2:-r*a/100;h.css({top:a+"%",left:n+"%"}),e.currentImg.css({left:m,top:c})}}).init(),p=e._imageSlider=new s(v,{sliderId:e._viewerId,onStart:function(i,t){if(!e.loaded)return!1;if(!n){var a=this;f.onStart(),a.imgWidth=e.imageDim.w*e.zoomValue/100,a.imgHeight=e.imageDim.h*e.zoomValue/100,a.positions=[t,t],a.startPosition=t,e._clearFrames(),a.slideMomentumCheck=setInterval(function(){a.currentPos&&(a.positions.shift(),a.positions.push({x:a.currentPos.mx,y:a.currentPos.my}))},50)}},onMove:function(i,e){n||(this.currentPos=e,f.onMove(i,{dx:-e.dx*f.width/this.imgWidth,dy:-e.dy*f.height/this.imgHeight}))},onEnd:function(){function i(){60>=s&&(e.sliderMomentumFrame=requestAnimationFrame(i)),r+=a(s,t/3,-t/3,60),h+=a(s,o/3,-o/3,60),f.onMove(null,{dx:-(r*f.width/e.imgWidth),dy:-(h*f.height/e.imgHeight)}),s++}if(!n){var e=this,t=this.positions[1].x-this.positions[0].x,o=this.positions[1].y-this.positions[0].y;if(Math.abs(t)>30||Math.abs(o)>30){var s=1,r=e.currentPos.dx,h=e.currentPos.dy;i()}}}}).init(),g=0;v.on("mousewheel"+r+" DOMMouseScroll"+r,function(n){if(t.zoomOnMouseWheel&&e.loaded){e._clearFrames();var a=Math.max(-1,Math.min(1,n.originalEvent.wheelDelta||-n.originalEvent.detail)),s=e.zoomValue*(100+a*d)/100;if(s>=100&&s<=t.maxZoom?g=0:g+=Math.abs(a),!(g>u)){n.preventDefault();var r=o.offset(),h=(n.pageX||n.originalEvent.pageX)-r.left,m=(n.pageY||n.originalEvent.pageY)-r.top;e.zoom(s,{x:h,y:m}),i()}}}),v.on("touchstart"+r,function(i){if(e.loaded){var t=i.originalEvent.touches[0],a=i.originalEvent.touches[1];if(t&&a){n=!0;var s=o.offset(),r=Math.sqrt(Math.pow(a.pageX-t.pageX,2)+Math.pow(a.pageY-t.pageY,2)),h=e.zoomValue,m={x:(a.pageX+t.pageX)/2-s.left,y:(a.pageY+t.pageY)/2-s.top},c=function(i){i.preventDefault();var t=i.originalEvent.touches[0],n=i.originalEvent.touches[1],a=Math.sqrt(Math.pow(n.pageX-t.pageX,2)+Math.pow(n.pageY-t.pageY,2)),o=h+(a-r)/2;e.zoom(o,m)},d=function(){l.off("touchmove",c),l.off("touchend",d),n=!1};l.on("touchmove",c),l.on("touchend",d)}}});var w,M=0;v.on("click"+r,function(i){0==M?(M=Date.now(),w={x:i.pageX,y:i.pageY}):Date.now()-M<500&&Math.abs(i.pageX-w.x)<50&&Math.abs(i.pageY-w.y)<50?(e.zoomValue==t.zoomValue?e.zoom(200):e.resetZoom(),M=0):M=0});var z,x,y=e.snapView.find(".iv-zoom-slider");new s(y,{sliderId:e._viewerId,onStart:function(i){return e.loaded?(this.leftOffset=y.offset().left,this.handleWidth=e.zoomHandle.width(),void this.onMove(i)):!1},onMove:function(i,n){var a=(i.pageX||i.originalEvent.touches[0].pageX)-this.leftOffset-this.handleWidth/2;a=Math.max(0,a),a=Math.min(e._zoomSliderLength,a);var o=100+(t.maxZoom-100)*a/e._zoomSliderLength;e.zoom(o)}}).init();v.on("touchmove"+r+" mousemove"+r,function(){i()});var D={};D["mouseenter"+r+" touchstart"+r]=function(){x=!1,i(!0)},D["mouseleave"+r+" touchend"+r]=function(){x=!1,i()},e.snapView.on(D),t.refreshOnResize&&c.on("resize"+r,function(){e.refresh()}),e._fullPage&&(o.on("touchmove"+r+" mousewheel"+r+" DOMMouseScroll"+r,function(i){i.preventDefault()}),o.find(".iv-close").on("click"+r,function(){e.hide()}))},zoom:function(i,e){function t(){l++,20>l&&(n._zoomFrame=requestAnimationFrame(t));var h=a(l,s,i-s,20),d=h/s,g=n.imageDim.w*h/100,w=n.imageDim.h*h/100,M=-((e.x-m)*d-e.x),z=-((e.y-c)*d-e.y);M=Math.min(M,u),z=Math.min(z,v),f>M+g&&(M=f-g),p>z+w&&(z=p-w),r.css({height:w+"px",width:g+"px",left:M+"px",top:z+"px"}),n.zoomValue=h,n._resizeHandle(g,w,M,z),n.zoomHandle.css("left",(h-100)*n._zoomSliderLength/(o-100)+"px")}i=Math.round(Math.max(100,i)),i=Math.min(this.options.maxZoom,i),e=e||{x:this.containerDim.w/2,y:this.containerDim.h/2};var n=this,o=this.options.maxZoom,s=this.zoomValue,r=this.currentImg,h=this.containerDim,m=parseFloat(r.css("left")),c=parseFloat(r.css("top"));n._clearFrames();var l=0,h=n.containerDim,d=n.imageDim,u=(h.w-d.w)/2,v=(h.h-d.h)/2,f=h.w-u,p=h.h-v;t()},_clearFrames:function(){clearInterval(this._imageSlider.slideMomentumCheck),cancelAnimationFrame(this._imageSlider.sliderMomentumFrame),cancelAnimationFrame(this._zoomFrame)},resetZoom:function(){this.zoom(this.options.zoomValue)},_calculateDimensions:function(){var i=this,e=i.currentImg,t=i.container,n=i.snapView,a=e.width(),o=e.height(),s=t.width(),r=t.height(),h=n.innerWidth(),m=n.innerHeight();i.containerDim={w:s,h:r};var c,l,d=a/o;c=a>o&&r>=s||d*r>s?s:d*r,l=c/d,i.imageDim={w:c,h:l},e.css({width:c+"px",height:l+"px",left:(s-c)/2+"px",top:(r-l)/2+"px","max-width":"none","max-height":"none"});var u=c>l?h:c*m/l,v=l>c?m:l*h/c;i.snapImageDim={w:u,h:v},i.snapImg.css({width:u,height:v}),i._zoomSliderLength=h-i.zoomHandle.outerWidth()},refresh:function(){this.loaded&&(this._calculateDimensions(),this.resetZoom())},_resizeHandle:function(i,e,t,n){var a=this.currentImg,o=i||this.imageDim.w*this.zoomValue/100,s=e||this.imageDim.h*this.zoomValue/100,r=Math.max(100*-(t||parseFloat(a.css("left")))/o,0),h=Math.max(100*-(n||parseFloat(a.css("top")))/s,0),m=Math.min(100*this.containerDim.w/o,100),c=Math.min(100*this.containerDim.h/s,100);this.snapHandle.css({top:h+"%",left:r+"%",width:m+"%",height:c+"%"})},show:function(i,e){this._fullPage&&(this.container.show(),i&&this.load(i,e))},hide:function(){this._fullPage&&this.container.hide()},options:function(i,e){return e?void(this.options[i]=e):this.options[i]},destroy:function(i,e){var t="."+this._viewerId;return this._fullPage?(container.off(t),container.find('[class^="iv"]').off(t)):this.container.remove('[class^="iv"]'),c.off(t),null},load:function(e,t){function n(){a.loaded=!0,a.zoomValue=100,h.show(),a.snapImg.show(),a.refresh(),a.resetZoom(),s.find(".iv-loader").hide()}var a=this,s=this.container;s.find(".iv-snap-image,.iv-large-image").remove();var r=this.container.find(".iv-snap-image-wrap");r.prepend('<img class="iv-snap-image" src="'+e+'" />'),this.imageWrap.prepend('<img class="iv-large-image" src="'+e+'" />'),t&&this.imageWrap.append('<img class="iv-large-image" src="'+t+'" />');var h=this.currentImg=this.container.find(".iv-large-image");this.snapImg=this.container.find(".iv-snap-image"),a.loaded=!1,s.find(".iv-loader").show(),h.hide(),a.snapImg.hide(),o(h[0])?n():i(h[0]).on("load",n)}},r.defaults={zoomValue:100,snapView:!0,maxZoom:500,refreshOnResize:!0,zoomOnMouseWheel:!0},e.ImageViewer=function(e,t){var n,a,o;e&&("string"==typeof e||e instanceof Element||e[0]instanceof Element)||(t=e,e=i("#iv-container")),e=i(e),e.is("img")?(n=e,a=n[0].src,o=n.attr("high-res-src")||n.attr("data-high-res-src"),e=n.wrap('<div class="iv-container" style="display:inline-block; overflow:hidden"></div>').parent(),n.css({opacity:0,position:"relative",zIndex:-1})):(a=e.attr("src")||e.attr("data-src"),o=e.attr("high-res-src")||e.attr("data-high-res-src"));var s=new r(e,t);return s._init(),a&&s.load(a,o),s},i.fn.ImageViewer=function(t){return this.each(function(){var n=i(this),a=e.ImageViewer(n,t);n.data("ImageViewer",a)})}}(window.jQuery,window,document);
}catch(e){console.log("Module 'native95_ecomm_imageviewer': ",e);}
try{//>>built
define("dijit/nls/_dijit_form_en",{"dijit/form/nls/ComboBox":{"previousMessage":"Previous choices","_localized":{},"nextMessage":"More choices"},"dijit/form/nls/validate":{"invalidMessage":"The value entered is not valid.","rangeMessage":"This value is out of range.","_localized":{},"missingMessage":"This value is required."},"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Cancel","_localized":{},"buttonSave":"Save","itemClose":"Close"}});
}catch(e){console.log("Module 'dijit_form_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){return _1("dijit.form.ComboBoxMixin",[_8,_6],{dropDownClass:_7,hasDownArrow:true,templateString:_9,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(_a){this._set("hasDownArrow",_a);this._buttonNode.style.display=_a?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_b){if(!_b.get){_4.mixin(_b,{_oldAPI:true,get:function(id){var _c=new _2();this.fetchItemByIdentity({identity:id,onItem:function(_d){_c.resolve(_d);},onError:function(_e){_c.reject(_e);}});return _c.promise;},query:function(_f,_10){var _11=new _2(function(){_12.abort&&_12.abort();});_11.total=new _2();var _12=this.fetch(_4.mixin({query:_f,onBegin:function(_13){_11.total.resolve(_13);},onComplete:function(_14){_11.resolve(_14);},onError:function(_15){_11.reject(_15);}},_10));return _5(_11);}});}this._set("store",_b);},postMixInProperties:function(){var _16=this.params.store||this.store;if(_16){this._setStoreAttr(_16);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _17=this.declaredClass;_4.mixin(this.store,{getValue:function(_18,_19){_3.deprecated(_17+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return _18[_19];},getLabel:function(_1a){_3.deprecated(_17+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return _1a.name;},fetch:function(_1b){_3.deprecated(_17+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var _1c=["dojo/data/ObjectStore"];require(_1c,_4.hitch(this,function(_1d){new _1d({objectStore:this}).fetch(_1b);}));}});}}});});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_1e,_1f,_20){var _21=_1e("dijit.form.RangeBoundTextBox",_20,{rangeMessage:"",rangeCheck:function(_22,_23){return ("min" in _23?(this.compare(_22,_23.min)>=0):true)&&("max" in _23?(this.compare(_22,_23.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");if(val==null){return false;}var _24=false;if("min" in this.constraints){var min=this.constraints.min;_24=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min)<0;}if(!_24&&("max" in this.constraints)){var max=this.constraints.max;_24=this.compare(val,((typeof max!="number")||max>0)?max:0)>0;}return _24;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_25){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_25));},getErrorMessage:function(_26){var v=this.get("value");if(v!=null&&v!==""&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_26)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=_1f.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}}});return _21;});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_27,_28,_29,_2a,_2b){return _27("dijit.form.ComboButton",_2a,{templateString:_2b,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==_28[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_29.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==_28[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_29.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_2c){if(!this.disabled){_29.focus(_2c=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_2d,_2e,dom,has,_2f,_30,on,_31){var _32=_2e("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_33,_34,_35){var _36;if(_33!==undefined){_36=this.filter(_33);if(typeof _35!="string"){if(_36!==null&&((typeof _36!="number")||!isNaN(_36))){_35=this.filter(this.format(_36,this.constraints));}else{_35="";}}}if(_35!=null&&((typeof _35)!="number"||!isNaN(_35))&&this.textbox.value!=_35){this.textbox.value=_35;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_36,_34]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_37){if(_37==null){_37="";}else{if(typeof _37!="string"){_37=String(_37);}}this.textbox.value=_37;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_38){return _38==null?"":(_38.toString?_38.toString():_38);},parse:function(_39){return _39;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){this._processInput(evt);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _3a(e){var _3b;if(e.type=="keydown"){_3b=e.keyCode;switch(_3b){case _2f.SHIFT:case _2f.ALT:case _2f.CTRL:case _2f.META:case _2f.CAPS_LOCK:case _2f.NUM_LOCK:case _2f.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_3b){case _2f.NUMPAD_0:case _2f.NUMPAD_1:case _2f.NUMPAD_2:case _2f.NUMPAD_3:case _2f.NUMPAD_4:case _2f.NUMPAD_5:case _2f.NUMPAD_6:case _2f.NUMPAD_7:case _2f.NUMPAD_8:case _2f.NUMPAD_9:case _2f.NUMPAD_MULTIPLY:case _2f.NUMPAD_PLUS:case _2f.NUMPAD_ENTER:case _2f.NUMPAD_MINUS:case _2f.NUMPAD_PERIOD:case _2f.NUMPAD_DIVIDE:return;}if((_3b>=65&&_3b<=90)||(_3b>=48&&_3b<=57)||_3b==_2f.SPACE){return;}var _3c=false;for(var i in _2f){if(_2f[i]===e.keyCode){_3c=true;break;}}if(!_3c){return;}}}_3b=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_3b){_3b=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==_2f.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_3b){_3b=229;}if(e.type=="keypress"){if(typeof _3b!="string"){return;}if((_3b>="a"&&_3b<="z")||(_3b>="A"&&_3b<="Z")||(_3b>="0"&&_3b<="9")||(_3b===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var _3d={faux:true},_3e;for(_3e in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(_3e)){var v=e[_3e];if(typeof v!="function"&&typeof v!="undefined"){_3d[_3e]=v;}}}_30.mixin(_3d,{charOrCode:_3b,_wasConsumed:false,preventDefault:function(){_3d._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(_3d)===false){_3d.preventDefault();_3d.stopPropagation();}if(_3d._wasConsumed){return;}this.defer(function(){this._onInput(_3d);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",_30.hitch(this,_3a)),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=_30.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(_3f){return _3f.substring(0,1).toUpperCase()+_3f.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",_30.hitch(this,function(evt){if(!this._isTextSelected()){_32.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_32=_2e("dijit.form._TextBoxMixin",_32,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_32._setSelectionRange=_31._setSelectionRange=function(_40,_41,_42){if(_40.setSelectionRange){_40.setSelectionRange(_41,_42);}};_32.selectInputText=_31.selectInputText=function(_43,_44,_45){_43=dom.byId(_43);if(isNaN(_44)){_44=0;}if(isNaN(_45)){_45=_43.value?_43.value.length:0;}try{_43.focus();_32._setSelectionRange(_43,_44,_45);}catch(e){}};return _32;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_46){return function(_47,_48){switch(typeof _47){default:throw new Error("Can not query with a "+typeof _47);case "object":case "undefined":var _49=_47;_47=function(_4a){for(var key in _49){var _4b=_49[key];if(_4b&&_4b.test){if(!_4b.test(_4a[key],_4a)){return false;}}else{if(_4b!=_4a[key]){return false;}}}return true;};break;case "string":if(!this[_47]){throw new Error("No filter function "+_47+" was found in store");}_47=this[_47];case "function":}function _4c(_4d){var _4e=_46.filter(_4d,_47);var _4f=_48&&_48.sort;if(_4f){_4e.sort(typeof _4f=="function"?_4f:function(a,b){for(var _50,i=0;_50=_4f[i];i++){var _51=a[_50.attribute];var _52=b[_50.attribute];_51=_51!=null?_51.valueOf():_51;_52=_52!=null?_52.valueOf():_52;if(_51!=_52){return !!_50.descending==(_51==null||_51>_52)?-1:1;}}return 0;});}if(_48&&(_48.start||_48.count)){var _53=_4e.length;_4e=_4e.slice(_48.start||0,(_48.start||0)+(_48.count||Infinity));_4e.total=_53;}return _4e;};_4c.matches=_47;return _4c;};});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_54,_55,_56,_57){return _54("dijit.form.ToggleButton",[_56,_57],{baseClass:"dijitToggleButton",setChecked:function(_58){_55.deprecated("setChecked("+_58+") is deprecated. Use set('checked',"+_58+") instead.","","2.0");this.set("checked",_58);}});});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_59,_5a,_5b,_5c,_5d,dom,_5e,_5f,_60,all,_61,_62,has,_63,don,_64){new Date("X");function _65(_66){return eval("("+_66+")");};var _67=0;_60.after(_5b,"extend",function(){_67++;},true);function _68(_69){var map=_69._nameCaseMap,_6a=_69.prototype;if(!map||map._extendCnt<_67){map=_69._nameCaseMap={};for(var _6b in _6a){if(_6b.charAt(0)==="_"){continue;}map[_6b.toLowerCase()]=_6b;}map._extendCnt=_67;}return map;};var _6c={};function _6d(_6e,_6f){var ts=_6e.join();if(!_6c[ts]){var _70=[];for(var i=0,l=_6e.length;i<l;i++){var t=_6e[i];_70[_70.length]=(_6c[t]=_6c[t]||(_5b.getObject(t)||(~t.indexOf("/")&&(_6f?_6f(t):_59(t)))));}var _71=_70.shift();_6c[ts]=_70.length?(_71.createSubclass?_71.createSubclass(_70):_71.extend.apply(_71,_70)):_71;}return _6c[ts];};var _72={_clearCache:function(){_67++;_6c={};},_functionFromScript:function(_73,_74){var _75="",_76="",_77=(_73.getAttribute(_74+"args")||_73.getAttribute("args")),_78=_73.getAttribute("with");var _79=(_77||"").split(/\s*,\s*/);if(_78&&_78.length){_5c.forEach(_78.split(/\s*,\s*/),function(_7a){_75+="with("+_7a+"){";_76+="}";});}return new Function(_79,_75+_73.innerHTML+_76);},instantiate:function(_7b,_7c,_7d){_7c=_7c||{};_7d=_7d||{};var _7e=(_7d.scope||_5a._scopeName)+"Type",_7f="data-"+(_7d.scope||_5a._scopeName)+"-",_80=_7f+"type",_81=_7f+"mixins";var _82=[];_5c.forEach(_7b,function(_83){var _84=_7e in _7c?_7c[_7e]:_83.getAttribute(_80)||_83.getAttribute(_7e);if(_84){var _85=_83.getAttribute(_81),_86=_85?[_84].concat(_85.split(/\s*,\s*/)):[_84];_82.push({node:_83,types:_86});}});return this._instantiate(_82,_7c,_7d);},_instantiate:function(_87,_88,_89,_8a){var _8b=_5c.map(_87,function(obj){var _8c=obj.ctor||_6d(obj.types,_89.contextRequire);if(!_8c){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_8c,obj.node,_88,_89,obj.scripts,obj.inherited);},this);function _8d(_8e){if(!_88._started&&!_89.noStart){_5c.forEach(_8e,function(_8f){if(typeof _8f.startup==="function"&&!_8f._started){_8f.startup();}});}return _8e;};if(_8a){return all(_8b).then(_8d);}else{return _8d(_8b);}},construct:function(_90,_91,_92,_93,_94,_95){var _96=_90&&_90.prototype;_93=_93||{};var _97={};if(_93.defaults){_5b.mixin(_97,_93.defaults);}if(_95){_5b.mixin(_97,_95);}var _98;if(has("dom-attributes-explicit")){_98=_91.attributes;}else{if(has("dom-attributes-specified-flag")){_98=_5c.filter(_91.attributes,function(a){return a.specified;});}else{var _99=/^input$|^img$/i.test(_91.nodeName)?_91:_91.cloneNode(false),_9a=_99.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_98=_5c.map(_9a.split(/\s+/),function(_9b){var _9c=_9b.toLowerCase();return {name:_9b,value:(_91.nodeName=="LI"&&_9b=="value")||_9c=="enctype"?_91.getAttribute(_9c):_91.getAttributeNode(_9c).value};});}}var _9d=_93.scope||_5a._scopeName,_9e="data-"+_9d+"-",_9f={};if(_9d!=="dojo"){_9f[_9e+"props"]="data-dojo-props";_9f[_9e+"type"]="data-dojo-type";_9f[_9e+"mixins"]="data-dojo-mixins";_9f[_9d+"type"]="dojoType";_9f[_9e+"id"]="data-dojo-id";}var i=0,_a0,_a1=[],_a2,_a3;while(_a0=_98[i++]){var _a4=_a0.name,_a5=_a4.toLowerCase(),_a6=_a0.value;switch(_9f[_a5]||_a5){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_a3=_a6;break;case "data-dojo-id":case "jsid":_a2=_a6;break;case "data-dojo-attach-point":case "dojoattachpoint":_97.dojoAttachPoint=_a6;break;case "data-dojo-attach-event":case "dojoattachevent":_97.dojoAttachEvent=_a6;break;case "class":_97["class"]=_91.className;break;case "style":_97["style"]=_91.style&&_91.style.cssText;break;default:if(!(_a4 in _96)){var map=_68(_90);_a4=map[_a5]||_a4;}if(_a4 in _96){switch(typeof _96[_a4]){case "string":_97[_a4]=_a6;break;case "number":_97[_a4]=_a6.length?Number(_a6):NaN;break;case "boolean":_97[_a4]=_a6.toLowerCase()!="false";break;case "function":if(_a6===""||_a6.search(/[^\w\.]+/i)!=-1){_97[_a4]=new Function(_a6);}else{_97[_a4]=_5b.getObject(_a6,false)||new Function(_a6);}_a1.push(_a4);break;default:var _a7=_96[_a4];_97[_a4]=(_a7&&"length" in _a7)?(_a6?_a6.split(/\s*,\s*/):[]):(_a7 instanceof Date)?(_a6==""?new Date(""):_a6=="now"?new Date():_61.fromISOString(_a6)):(_a7 instanceof _5f)?(_5a.baseUrl+_a6):_65(_a6);}}else{_97[_a4]=_a6;}}}for(var j=0;j<_a1.length;j++){var _a8=_a1[j].toLowerCase();_91.removeAttribute(_a8);_91[_a8]=null;}if(_a3){try{_a3=_65.call(_93.propsThis,"{"+_a3+"}");_5b.mixin(_97,_a3);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_a3+"'");}}_5b.mixin(_97,_92);if(!_94){_94=(_90&&(_90._noScript||_96._noScript)?[]:_63("> script[type^='dojo/']",_91));}var _a9=[],_aa=[],_ab=[],ons=[];if(_94){for(i=0;i<_94.length;i++){var _ac=_94[i];_91.removeChild(_ac);var _ad=(_ac.getAttribute(_9e+"event")||_ac.getAttribute("event")),_ae=_ac.getAttribute(_9e+"prop"),_af=_ac.getAttribute(_9e+"method"),_b0=_ac.getAttribute(_9e+"advice"),_b1=_ac.getAttribute("type"),nf=this._functionFromScript(_ac,_9e);if(_ad){if(_b1=="dojo/connect"){_a9.push({method:_ad,func:nf});}else{if(_b1=="dojo/on"){ons.push({event:_ad,func:nf});}else{_97[_ad]=nf;}}}else{if(_b1=="dojo/aspect"){_a9.push({method:_af,advice:_b0,func:nf});}else{if(_b1=="dojo/watch"){_ab.push({prop:_ae,func:nf});}else{_aa.push(nf);}}}}}var _b2=_90.markupFactory||_96.markupFactory;var _b3=_b2?_b2(_97,_91,_90):new _90(_97,_91);function _b4(_b5){if(_a2){_5b.setObject(_a2,_b5);}for(i=0;i<_a9.length;i++){_60[_a9[i].advice||"after"](_b5,_a9[i].method,_5b.hitch(_b5,_a9[i].func),true);}for(i=0;i<_aa.length;i++){_aa[i].call(_b5);}for(i=0;i<_ab.length;i++){_b5.watch(_ab[i].prop,_ab[i].func);}for(i=0;i<ons.length;i++){don(_b5,ons[i].event,ons[i].func);}return _b5;};if(_b3.then){return _b3.then(_b4);}else{return _b4(_b3);}},scan:function(_b6,_b7){var _b8=[],_b9=[],_ba={};var _bb=(_b7.scope||_5a._scopeName)+"Type",_bc="data-"+(_b7.scope||_5a._scopeName)+"-",_bd=_bc+"type",_be=_bc+"textdir",_bf=_bc+"mixins";var _c0=_b6.firstChild;var _c1=_b7.inherited;if(!_c1){function _c2(_c3,_c4){return (_c3.getAttribute&&_c3.getAttribute(_c4))||(_c3.parentNode&&_c2(_c3.parentNode,_c4));};_c1={dir:_c2(_b6,"dir"),lang:_c2(_b6,"lang"),textDir:_c2(_b6,_be)};for(var key in _c1){if(!_c1[key]){delete _c1[key];}}}var _c5={inherited:_c1};var _c6;var _c7;function _c8(_c9){if(!_c9.inherited){_c9.inherited={};var _ca=_c9.node,_cb=_c8(_c9.parent);var _cc={dir:_ca.getAttribute("dir")||_cb.dir,lang:_ca.getAttribute("lang")||_cb.lang,textDir:_ca.getAttribute(_be)||_cb.textDir};for(var key in _cc){if(_cc[key]){_c9.inherited[key]=_cc[key];}}}return _c9.inherited;};while(true){if(!_c0){if(!_c5||!_c5.node){break;}_c0=_c5.node.nextSibling;_c7=false;_c5=_c5.parent;_c6=_c5.scripts;continue;}if(_c0.nodeType!=1){_c0=_c0.nextSibling;continue;}if(_c6&&_c0.nodeName.toLowerCase()=="script"){_cd=_c0.getAttribute("type");if(_cd&&/^dojo\/\w/i.test(_cd)){_c6.push(_c0);}_c0=_c0.nextSibling;continue;}if(_c7){_c0=_c0.nextSibling;continue;}var _cd=_c0.getAttribute(_bd)||_c0.getAttribute(_bb);var _ce=_c0.firstChild;if(!_cd&&(!_ce||(_ce.nodeType==3&&!_ce.nextSibling))){_c0=_c0.nextSibling;continue;}var _cf;var _d0=null;if(_cd){var _d1=_c0.getAttribute(_bf),_d2=_d1?[_cd].concat(_d1.split(/\s*,\s*/)):[_cd];try{_d0=_6d(_d2,_b7.contextRequire);}catch(e){}if(!_d0){_5c.forEach(_d2,function(t){if(~t.indexOf("/")&&!_ba[t]){_ba[t]=true;_b9[_b9.length]=t;}});}var _d3=_d0&&!_d0.prototype._noScript?[]:null;_cf={types:_d2,ctor:_d0,parent:_c5,node:_c0,scripts:_d3};_cf.inherited=_c8(_cf);_b8.push(_cf);}else{_cf={node:_c0,scripts:_c6,parent:_c5};}_c6=_d3;_c7=_c0.stopParser||(_d0&&_d0.prototype.stopParser&&!(_b7.template));_c5=_cf;_c0=_ce;}var d=new _62();if(_b9.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_b9.join(", "));}var r=_b7.contextRequire||_59;r(_b9,function(){d.resolve(_5c.filter(_b8,function(_d4){if(!_d4.ctor){try{_d4.ctor=_6d(_d4.types,_b7.contextRequire);}catch(e){}}var _d5=_d4.parent;while(_d5&&!_d5.types){_d5=_d5.parent;}var _d6=_d4.ctor&&_d4.ctor.prototype;_d4.instantiateChildren=!(_d6&&_d6.stopParser&&!(_b7.template));_d4.instantiate=!_d5||(_d5.instantiate&&_d5.instantiateChildren);return _d4.instantiate;}));});}else{d.resolve(_b8);}return d.promise;},_require:function(_d7,_d8){var _d9=_65("{"+_d7.innerHTML+"}"),_da=[],_db=[],d=new _62();var _dc=(_d8&&_d8.contextRequire)||_59;for(var _dd in _d9){_da.push(_dd);_db.push(_d9[_dd]);}_dc(_db,function(){for(var i=0;i<_da.length;i++){_5b.setObject(_da[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_de,_df){var _e0=new _62(),_e1=_e0.promise;_e0.resolve(true);var _e2=this;_63("script[type='dojo/require']",_de).forEach(function(_e3){_e1=_e1.then(function(){return _e2._require(_e3,_df);});_e3.parentNode.removeChild(_e3);});return _e1;},parse:function(_e4,_e5){var _e6;if(!_e5&&_e4&&_e4.rootNode){_e5=_e4;_e6=_e5.rootNode;}else{if(_e4&&_5b.isObject(_e4)&&!("nodeType" in _e4)){_e5=_e4;}else{_e6=_e4;}}_e6=_e6?dom.byId(_e6):_5e.body();_e5=_e5||{};var _e7=_e5.template?{template:true}:{},_e8=[],_e9=this;var p=this._scanAmd(_e6,_e5).then(function(){return _e9.scan(_e6,_e5);}).then(function(_ea){return _e9._instantiate(_ea,_e7,_e5,true);}).then(function(_eb){return _e8=_e8.concat(_eb);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_5b.mixin(_e8,p);return _e8;}};if(1){_5a.parser=_72;}if(_5d.parseOnLoad){_64(100,_72,"parse");}return _72;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_ec,_ed,_ee,_ef,on,_f0){return _ed("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_f1){var res=[];_ec.forEach(_f1||this.getChildren(),function(_f2){if("value" in _f2){res.push(_f2);}else{res=res.concat(this._getDescendantFormWidgets(_f2.getChildren()));}},this);return res;},reset:function(){_ec.forEach(this._getDescendantFormWidgets(),function(_f3){if(_f3.reset){_f3.reset();}});},validate:function(){var _f4=false;return _ec.every(_ec.map(this._getDescendantFormWidgets(),function(_f5){_f5._hasBeenBlurred=true;var _f6=_f5.disabled||!_f5.validate||_f5.validate();if(!_f6&&!_f4){_f0.scrollIntoView(_f5.containerNode||_f5.domNode);_f5.focus();_f4=true;}return _f6;}),function(_f7){return _f7;});},setValues:function(val){_ee.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_ec.forEach(this._getDescendantFormWidgets(),function(_f8){if(!_f8.name){return;}var _f9=map[_f8.name]||(map[_f8.name]=[]);_f9.push(_f8);});for(var _fa in map){if(!map.hasOwnProperty(_fa)){continue;}var _fb=map[_fa],_fc=_ef.getObject(_fa,false,obj);if(_fc===undefined){continue;}_fc=[].concat(_fc);if(typeof _fb[0].checked=="boolean"){_ec.forEach(_fb,function(w){w.set("value",_ec.indexOf(_fc,w._get("value"))!=-1);});}else{if(_fb[0].multiple){_fb[0].set("value",_fc);}else{_ec.forEach(_fb,function(w,i){w.set("value",_fc[i]);});}}}},getValues:function(){_ee.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_ec.forEach(this._getDescendantFormWidgets(),function(_fd){var _fe=_fd.name;if(!_fe||_fd.disabled){return;}var _ff=_fd.get("value");if(typeof _fd.checked=="boolean"){if(/Radio/.test(_fd.declaredClass)){if(_ff!==false){_ef.setObject(_fe,_ff,obj);}else{_ff=_ef.getObject(_fe,false,obj);if(_ff===undefined){_ef.setObject(_fe,null,obj);}}}else{var ary=_ef.getObject(_fe,false,obj);if(!ary){ary=[];_ef.setObject(_fe,ary,obj);}if(_ff!==false){ary.push(_ff);}}}else{var prev=_ef.getObject(_fe,false,obj);if(typeof prev!="undefined"){if(_ef.isArray(prev)){prev.push(_ff);}else{_ef.setObject(_fe,[prev,_ff],obj);}}else{_ef.setObject(_fe,_ff,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _100=_ec.map(this._descendants,function(w){return w.get("state")||"";});return _ec.indexOf(_100,"Error")>=0?"Error":_ec.indexOf(_100,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_101){this._descendants=this._getDescendantFormWidgets();_ec.forEach(this._descendants,function(_102){if(!_102._started){_102.startup();}});if(!_101){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_103,_104){this.onValidStateChange(_104=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_105,_106,_107){return _105("dijit.form.HorizontalRule",[_106,_107],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,buildRendering:function(){this.inherited(arguments);var _108;if(this.count==1){_108=this._genHTML(50,0);}else{var i;var _109=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_108=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_108+=this._genHTML(_109*i,i);}_108+=this._genHTML(100,this.count-1);}else{_108=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_108+=this._genHTML(100-_109*i,i);}_108+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_108;}});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/has","dojo/query","./_FormValueWidget"],function(_10a,_10b,_10c,has,_10d,_10e){var _10f=_10b("dijit.form.MultiSelect"+(has("dojo-bidi")?"_NoBidi":""),_10e,{size:7,baseClass:"dijitMultiSelect",templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_110){_110.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _111=_110.domNode.scrollTop;_110.domNode.scrollTop=0;_110.domNode.scrollTop=_111;},this);this._set("value",this.get("value"));},getSelected:function(){return _10d("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _10a.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_112,_113){_10d("option",this.containerNode).forEach(function(n){n.selected=(_10a.indexOf(_112,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_114){var val=[];_10d("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_114===false||_114==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_10c.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});if(has("dojo-bidi")){_10f=_10b("dijit.form.MultiSelect",_10f,{addSelected:function(_115){_115.getSelected().forEach(function(n){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);},this);this.inherited(arguments);},_setTextDirAttr:function(_116){if((this.textDir!=_116||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_116);_10d("option",this.containerNode).forEach(function(_117){if(!this._created&&_117.value===_117.text){_117.value=_117.text;}_117.text=this.enforceTextDirWithUcc(_117,_117.originalText||_117.text);},this);}}});}return _10f;});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_118,_119){return _118("dijit.form.VerticalRuleLabels",_119,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});});},"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_11a,_11b,_11c,_11d,lang,on,has,_11e,_11f,_120,_121){var _122=_11a("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_11e,_11f],{templateString:_120,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(has("ie")<9){this.defer(function(){try{var s=_11c.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _123=this.domNode.getElementsByTagName("INPUT");if(_123){for(var i=0;i<_123.length;i++){_123[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_11b.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(evt){evt.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",lang.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(evt){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_124,_125,_126){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_11d.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_127){_11d.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_127);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(has("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")<9){_122.prototype._isTextSelected=function(){var _128=this.ownerDocument.selection.createRange();var _129=_128.parentElement();return _129==this.textbox&&_128.text.length>0;};_121._setSelectionRange=_11f._setSelectionRange=function(_12a,_12b,stop){if(_12a.createTextRange){var r=_12a.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_12b);r.moveEnd("character",stop-_12b);r.select();}};}if(has("dojo-bidi")){_122=_11a("dijit.form.TextBox",_122,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _122;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_12c,_12d,_12e,has,_12f,_130,_131,_132){return _12c("dijit.form.Form",[_12f,_130,_131,_132],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_133){_12d.set(this.domNode,"encType",_133);if(has("ie")){this.domNode.encoding=_133;}this._set("encType",_133);},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);e.stopPropagation();e.preventDefault();return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_12e.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){e.stopPropagation();e.preventDefault();}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_134,keys,lang,_135,_136,when,_137){return _134("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_138){return new RegExp("^"+_138.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_139,star,_13a){return star?".*":_13a?".":_139?_139:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;if("type" in evt&&evt.type.substring(0,3)=="key"&&(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT)){return;}var _13b=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_13b=true;break;default:_13b=typeof key=="string"||key==229;}if(_13b){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _13c=this,_135=lang.clone(this.query),_13d={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_136.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_13e=function(){var _13f=_13c._fetchHandle=_13c.store.query(_135,_13d);if(_13c.disabled||_13c.readOnly||(q!==_13c._lastQuery)){return;}when(_13f,function(res){_13c._fetchHandle=null;if(!_13c.disabled&&!_13c.readOnly&&(q===_13c._lastQuery)){when(_13f.total,function(_140){res.total=_140;var _141=_13c.pageSize;if(isNaN(_141)||_141>res.total){_141=res.total;}res.nextPage=function(_142){_13d.direction=_142=_142!==false;_13d.count=_141;if(_142){_13d.start+=res.length;if(_13d.start>=res.total){_13d.count=0;}}else{_13d.start-=_141;if(_13d.start<0){_13d.count=Math.max(_141+_13d.start,0);_13d.start=0;}}if(_13d.count<=0){res.length=0;_13c.onSearch(res,_135,_13d);}else{_13e();}};_13c.onSearch(res,_135,_13d);});}},function(err){_13c._fetchHandle=null;if(!_13c._cancelingQuery){console.error(_13c.declaredClass+" "+err.toString());}});};lang.mixin(_13d,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_135[this.searchAttr]=q;this._queryDeferHandle=this.defer(_13e,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_137.byId(list);}}this.inherited(arguments);}});});},"dijit/form/Slider":function(){define(["dojo/_base/kernel","./HorizontalSlider","./VerticalSlider","./HorizontalRule","./VerticalRule","./HorizontalRuleLabels","./VerticalRuleLabels"],function(_143){_143.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_144,_145,_146){return _144("dijit.form.DateTextBox",_146,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_145,_selector:"date",maxHeight:Infinity,value:new Date("")});});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_147,_148,_149){return _147("dijit.form.ComboBox",[_148,_149],{});});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_14a,_14b,i18n,_14c,_14d,_14e){var _14f;return _14f=_14a("dijit.form.ValidationTextBox",_14c,{templateString:_14e,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_150){if(_150!=_14f.prototype[attr]){_14b.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0");this.set("pattern",_150);}},_setRegExpGenAttr:function(_151){this._deprecateRegExp("regExpGen",_151);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_152){this._deprecateRegExp("regExp",_152);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_153,_154){return (new RegExp("^(?:"+this._computeRegexp(_154)+")"+(this.required?"":"?")+"$")).test(_153)&&(!this.required||!this._isEmpty(_153))&&(this._isEmpty(_153)||this.parse(_153,_154)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_155){return (this.trim?/^\s*$/:/^$/).test(_155);},getErrorMessage:function(){var _156=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _157=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_156:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_157:_156;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_158){var _159="";var _15a=this.disabled||this.isValid(_158);if(_15a){this._maskValidSubsetError=true;}var _15b=this._isEmpty(this.textbox.value);var _15c=!_15a&&_158&&this._isValidSubset();this._set("state",_15a?"":(((((!this._hasBeenBlurred||_158)&&_15b)||_15c)&&(this._maskValidSubsetError||(_15c&&!this._hasBeenBlurred&&_158)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_158&&_15c;_159=this.getErrorMessage(_158);}else{if(this.state=="Incomplete"){_159=this.getPromptMessage(_158);this._maskValidSubsetError=!this._hasBeenBlurred||_158;}else{if(_15b){_159=this.getPromptMessage(_158);}}}this.set("message",_159);return _15a;},displayMessage:function(_15d){if(_15d&&this.focused){_14d.show(_15d,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_14d.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_15e){this.constraints={};this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_15f){if(!_15f.locale&&this.lang){_15f.locale=this.lang;}this._set("constraints",_15f);this._refreshState();},_setPatternAttr:function(_160){this._set("pattern",_160);this._refreshState();},_computeRegexp:function(_161){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_161);}if(p!=this._lastRegExp){var _162="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_162+=re;break;case ")":_162+="|$)";break;default:_162+="(?:"+re+"|$)";break;}});}try{"".search(_162);}catch(e){_162=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_162+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_163){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_164){this._set("required",_164);this.focusNode.setAttribute("aria-required",_164);this._refreshState();},_setMessageAttr:function(_165){this._set("message",_165);this.displayMessage(_165);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_166,_167,lang,_168){return _167("dijit.form.CurrencyTextBox",_168,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:_166.format,_parser:_166.parse,_regExpGenerator:_166.regexp,parse:function(_169,_16a){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_169)){v=lang.hitch(lang.delegate(this,{_parser:_168.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_16b){if(!_16b.currency&&this.currency){_16b.currency=this.currency;}this.inherited(arguments,[_166._mixInDefaults(lang.mixin(_16b,{exponent:false}))]);}});});},"dijit/form/_DateTimeTextBox":function(){define(["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_16c,_16d,_16e,lang,_16f,_170,_171){new Date("X");var _172=_16e("dijit.form._DateTimeTextBox",[_16f,_170],{templateString:_171,hasDownArrow:true,cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},pattern:_16c.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _173=this._isInvalidDate(val1);var _174=this._isInvalidDate(val2);return _173?(_174?0:-1):(_174?1:date.compare(val1,val2,this._selector));},autoWidth:true,format:function(_175,_176){if(!_175){return "";}return this.dateLocaleModule.format(_175,_176);},"parse":function(_177,_178){return this.dateLocaleModule.parse(_177,_178)||(this._isEmpty(_177)?null:undefined);},serialize:function(val,_179){if(val.toGregorian){val=val.toGregorian();}return _16d.toISOString(val,_179);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(_17a){_17a=_17a||{};this.dateModule=_17a.datePackage?lang.getObject(_17a.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_17a.datePackage?lang.getObject(_17a.datePackage+".locale",false):_16c;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_17b){_17b.selector=this._selector;_17b.fullYear=true;var _17c=_16d.fromISOString;if(typeof _17b.min=="string"){_17b.min=_17c(_17b.min);}if(typeof _17b.max=="string"){_17b.max=_17c(_17b.max);}this.inherited(arguments);},_isInvalidDate:function(_17d){return !_17d||isNaN(_17d)||typeof _17d!="object"||_17d.toString()==this._invalidDate;},_setValueAttr:function(_17e,_17f,_180){if(_17e!==undefined){if(typeof _17e=="string"){_17e=_16d.fromISOString(_17e);}if(this._isInvalidDate(_17e)){_17e=null;}if(_17e instanceof Date&&!(this.dateClassObj instanceof Date)){_17e=new this.dateClassObj(_17e);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_17e,false);}},_set:function(attr,_181){var _182=this._get("value");if(attr=="value"&&_182 instanceof Date&&this.compare(_181,_182)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this._set("dropDownDefaultValue",val);},openDropDown:function(_183){if(this.dropDown){this.dropDown.destroy();}var _184=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_185=this,_186=this.get("value");this.dropDown=new _184({onChange:function(_187){_185.set("value",_187,true);},id:this.id+"_popup",dir:_185.dir,lang:_185.lang,value:_186,textDir:_185.textDir,currentFocus:!this._isInvalidDate(_186)?_186:this.dropDownDefaultValue,constraints:_185.constraints,filterString:_185.filterString,datePackage:_185.datePackage,isDisabledDate:function(date){return !_185.rangeCheck(date,_185.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_188,_189){this._setValueAttr(this.parse(_188,this.constraints),_189,_188);}});return _172;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_18a,lang,when){var _18b=function(_18c){if(!_18c){return _18c;}var _18d=!!_18c.then;if(_18d){_18c=lang.delegate(_18c);}function _18e(_18f){_18c[_18f]=function(){var args=arguments;var _190=when(_18c,function(_191){Array.prototype.unshift.call(args,_191);return _18b(_18a[_18f].apply(_18a,args));});if(_18f!=="forEach"||_18d){return _190;}};};_18e("forEach");_18e("filter");_18e("map");if(_18c.total==null){_18c.total=when(_18c,function(_192){return _192.length;});}return _18c;};lang.setObject("dojo.store.util.QueryResults",_18b);return _18b;});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_193,_194,_195,_196){return _193("dijit.form.Textarea",[_196,_195],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_194.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/query","dojo/mouse","dojo/on","./_WidgetBase","./form/_ListMouseMixin"],function(_197,_198,_199,_19a,_19b,_19c,_19d,_19e,keys,lang,has,_19f,_1a0,on,_1a1,_1a2){var _1a3=_19b("dijit._TimePicker",[_1a1,_1a2],{baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_19a.toISOString,buildRendering:function(){this.inherited(arguments);this.containerNode=this.domNode;this.timeMenu=this.domNode;},setValue:function(_1a4){_19e.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_1a4);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_1a5,_1a6,_1a7,_1a8){var _1a9=[];for(var i=0;i<this._maxIncrement;i++){var n=this._createOption(i);if(n){_1a9.push(n);}}return _1a9;},_showText:function(){var _1aa=_19a.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=_1aa(this.clickableIncrement);this._visibleIncrementDate=_1aa(this.visibleIncrement);var _1ab=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_1ac=_1ab(this._clickableIncrementDate),_1ad=_1ab(this._visibleIncrementDate),time=(this.value||this.currentFocus).getTime();this._refDate=_1aa("T00:00:00");this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=_1ad/_1ac;this._maxIncrement=(60*60*24)/_1ac;var _1ae=this._getFilteredNodes();_197.forEach(_1ae,function(n){this.domNode.appendChild(n);},this);if(!_1ae.length&&this.filterString){this.filterString="";this._showText();}},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_1af){for(var key in {clickableIncrement:1,visibleIncrement:1}){if(key in _1af){this[key]=_1af[key];}}if(!_1af.locale){_1af.locale=this.lang;}},_createOption:function(_1b0){var date=new Date(this._refDate);var _1b1=this._clickableIncrementDate;date.setHours(date.getHours()+_1b1.getHours()*_1b0,date.getMinutes()+_1b1.getMinutes()*_1b0,date.getSeconds()+_1b1.getSeconds()*_1b0);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _1b2=_199.format(date,this.constraints);if(this.filterString&&_1b2.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=this.ownerDocument.createElement("div");div.className=this.baseClass+"Item";div.date=date;div.idx=_1b0;_19d.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_1b2},div);if(_1b0%this._visibleIncrement<1&&_1b0%this._visibleIncrement>-1){_19c.add(div,this.baseClass+"Marker");}else{if(!(_1b0%this._clickableIncrement)){_19c.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_19c.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_198.compare(this.value,date,this.constraints.selector)){div.selected=true;_19c.add(div,this.baseClass+"ItemSelected");this._selectedDiv=div;if(_19c.contains(div,this.baseClass+"Marker")){_19c.add(div,this.baseClass+"MarkerSelected");}else{_19c.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},onOpen:function(){this.inherited(arguments);this.set("selected",this._selectedDiv);},_onOptionSelected:function(tgt){var _1b3=tgt.target.date||tgt.target.parentNode.date;if(!_1b3||this.isDisabledDate(_1b3)){return;}this._highlighted_option=null;this.set("value",_1b3);this.onChange(_1b3);},onChange:function(){},_highlightOption:function(node,_1b4){if(!node){return;}if(_1b4){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_19c.toggle(node,this.baseClass+"ItemHover",_1b4);if(_19c.contains(node,this.baseClass+"Marker")){_19c.toggle(node,this.baseClass+"MarkerHover",_1b4);}else{_19c.toggle(node,this.baseClass+"TickHover",_1b4);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW){this.selectNextNode();e.stopPropagation();e.preventDefault();return false;}else{if(e.keyCode==keys.UP_ARROW){this.selectPreviousNode();e.stopPropagation();e.preventDefault();return false;}else{if(e.keyCode==keys.ENTER||e.keyCode===keys.TAB){if(!this._keyboardSelected&&e.keyCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.keyCode===keys.TAB;}}}return undefined;},onHover:function(node){this._highlightOption(node,true);},onUnhover:function(node){this._highlightOption(node,false);},onSelect:function(node){this._highlightOption(node,true);},onDeselect:function(node){this._highlightOption(node,false);},onClick:function(node){this._onOptionSelected({target:node});}});return _1a3;});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_1b5,_1b6,_1b7,has,_1b8,lang,_1b9,_1ba,_1bb,_1bc){if(has("dijit-legacy-requires")){_1b9(0,function(){var _1bd=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_1b5(_1bd);});}var _1be=_1b6("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_1ba,_1bb],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_1bc,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},_fillContent:function(_1bf){if(_1bf&&(!this.params||!("label" in this.params))){var _1c0=lang.trim(_1bf.innerHTML);if(_1c0){this.label=_1c0;}}},_setShowLabelAttr:function(val){if(this.containerNode){_1b7.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_1c1){_1b8.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_1c1);},_setLabelAttr:function(_1c2){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_1be=_1b6("dijit.form.Button",_1be,{_setLabelAttr:function(_1c3){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_1c4){if(this._created&&this.textDir!=_1c4){this._set("textDir",_1c4);this._setLabelAttr(this.label);}}});}return _1be;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_1c5,on,_1c6,_1c7){return _1c5("dijit.form._ListMouseMixin",_1c7,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_1c8){this._setSelectedAttr(_1c8,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_1c8);});},_onMouseDown:function(evt,_1c9){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_1c9,false);},_onMouseUp:function(evt,_1ca){this._isDragging=false;var _1cb=this.selected;var _1cc=this._hoveredNode;if(_1cb&&_1ca==_1cb){this.defer(function(){this._onClick(evt,_1cb);});}else{if(_1cc){this.defer(function(){this._onClick(evt,_1cc);});}}},_onMouseOut:function(evt,_1cd){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_1ce){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_1ce;this.onHover(_1ce);if(this._isDragging){this._setSelectedAttr(_1ce,false);}}});});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/_base/window","../Viewport"],function(_1cf,_1d0,has,lang,on,win,_1d1){has.add("textarea-needs-help-shrinking",function(){var body=win.body(),te=_1d0.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},body,"last");var _1d2=te.scrollHeight>=te.clientHeight;body.removeChild(te);return _1d2;});return _1cf("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _1d3=this.textbox;_1d3.style.overflowY="hidden";this.own(on(_1d3,"focus, resize",lang.hitch(this,"_resizeLater")));},startup:function(){this.inherited(arguments);this.own(_1d1.on("resize",lang.hitch(this,"_resizeLater")));this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _1d4=this.textbox;_1d4.rows=(_1d4.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _1d5=this.textbox;function _1d6(){var _1d7=false;if(_1d5.value===""){_1d5.value=" ";_1d7=true;}var sh=_1d5.scrollHeight;if(_1d7){_1d5.value="";}return sh;};if(_1d5.style.overflowY=="hidden"){_1d5.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_1d6()||_1d5.offsetHeight){var newH=_1d6()+Math.max(_1d5.offsetHeight-_1d5.clientHeight,0);var _1d8=newH+"px";if(_1d8!=_1d5.style.height){_1d5.style.height=_1d8;_1d5.rows=1;}if(has("textarea-needs-help-shrinking")){var _1d9=_1d6(),_1da=_1d9,_1db=_1d5.style.minHeight,_1dc=4,_1dd,_1de=_1d5.scrollTop;_1d5.style.minHeight=_1d8;_1d5.style.height="auto";while(newH>0){_1d5.style.minHeight=Math.max(newH-_1dc,4)+"px";_1dd=_1d6();var _1df=_1da-_1dd;newH-=_1df;if(_1df<_1dc){break;}_1da=_1dd;_1dc<<=1;}_1d5.style.height=newH+"px";_1d5.style.minHeight=_1db;_1d5.scrollTop=_1de;}_1d5.style.overflowY=_1d6()>_1d5.clientHeight?"auto":"hidden";if(_1d5.style.overflowY=="hidden"){_1d5.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_1e0,_1e1,_1e2){return _1e0("dijit.form.RadioButton",[_1e1,_1e2],{baseClass:"dijitRadio"});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_1e3,_1e4,_1e5,keys,lang,_1e6,_1e7,has,_1e8,_1e9,_1ea){var _1eb=_1e4("dijit.form._AutoCompleterMixin",_1ea,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_1ec){var pos=0;if(typeof (_1ec.selectionStart)=="number"){pos=_1ec.selectionStart;}else{if(has("ie")){var tr=_1ec.ownerDocument.selection.createRange().duplicate();var ntr=_1ec.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_1ed,_1ee){_1ee=parseInt(_1ee);_1e9.selectInputText(_1ed,_1ee,_1ee);},_setDisabledAttr:function(_1ef){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_1ef?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _1f0=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_1f0=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_1f0);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_1f0){if(_1f0==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_1f0==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _1f1=this.get("displayedValue");if(pw&&(_1f1==pw._messages["previousMessage"]||_1f1==pw._messages["nextMessage"])){break;}if(_1f0){this._selectOption(_1f0);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_1e9.selectInputText(fn,fn.value.length);var _1f2=this.ignoreCase?"toLowerCase":"substr";if(text[_1f2](0).indexOf(this.focusNode.value[_1f2](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_1e9.selectInputText(fn,cpos);}}else{fn.value=text;_1e9.selectInputText(fn);}},_openResultList:function(_1f3,_1f4,_1f5){var _1f6=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_1f3.length&&_1f5.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_1f7){_1f3.nextPage(_1f7!==-1);this.focus();});this.dropDown.createOptions(_1f3,_1f5,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _1f5){if(_1f5.direction){this.dropDown.highlightFirstOption();}else{if(!_1f5.direction){this.dropDown.highlightLastOption();}}if(_1f6){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_1f4[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _1f8=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_1f8==pw._messages["previousMessage"]||_1f8==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_1f8);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_1f9,_1fa){var _1fb="";if(item){if(!_1fa){_1fa=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_1fb=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_1fa;}this.set("value",_1fb,_1f9,_1fa,item);},_announceOption:function(node){if(!node){return;}var _1fc;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_1fc=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_1fc=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_1fc);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_1e5.get(node,"id"));this._autoCompleteText(_1fc);},_selectOption:function(_1fd){this.closeDropDown();if(_1fd){this._announceOption(_1fd);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _1fe=this.id+"_popup",_1ff=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _1ff({onChange:lang.hitch(this,this._selectOption),id:_1fe,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _200=this.srcNodeRef;this.store=new _1e8({},_200);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _201=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_201):item[_201];}}}},postCreate:function(){var _202=_1e6("label[for=\""+this.id+"\"]");if(_202.length){if(!_202[0].id){_202[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_202[0].id);}this.inherited(arguments);_1e3.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _203=this.labelFunc(item,this.store),_204=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_203=this.doHighlight(_203,this._lastInput);_204="html";}return {html:_204=="html",label:_203};},doHighlight:function(_205,find){var _206=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_1e7.escapeString(find);return this._escapeHtml(_205.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_206),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_207){return (_207._oldAPI?_207.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_208,_209,_20a,item){this._set("item",item||null);if(_208==null){_208="";}this.inherited(arguments);}});if(has("dojo-bidi")){_1eb.extend({_setTextDirAttr:function(_20b){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_20b);}}});}return _1eb;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_20c,lang,_20d,_20e,_20f,_210,_211,_212,_213){return _20c("dijit.form.DropDownButton",[_210,_211,_212],{baseClass:"dijitDropDownButton",templateString:_213,_fillContent:function(){if(this.srcNodeRef){var _214=_20d("*",this.srcNodeRef);this.inherited(arguments,[_214[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _215=_20d("[widgetId]",this.dropDownContainer)[0];if(_215){this.dropDown=_20e.byNode(_215);}delete this.dropDownContainer;}if(this.dropDown){_20f.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _216=this.dropDown;return (!!_216&&(!_216.href||_216.isLoaded));},loadDropDown:function(_217){var _218=this.dropDown;var _219=_218.on("load",lang.hitch(this,function(){_219.remove();_217();}));_218.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_21a,_21b,_21c){return _21a("dijit.form.VerticalSlider",_21b,{templateString:_21c,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_21d,_21e,_21f,has,_220,_221,_222,_223,_224){if(has("dijit-legacy-requires")){_221(0,function(){var _225=["dijit/form/RadioButton"];_21d(_225);});}return _21e("dijit.form.CheckBox",[_222,_223],{templateString:_224,baseClass:"dijitCheckBox",_setValueAttr:function(_226,_227){if(typeof _226=="string"){this.inherited(arguments);_226=true;}if(this._created){this.set("checked",_226,_227);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_220("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_220("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_228,_229,_22a,_22b,_22c,i18n,lang,on,has,_22d,_22e,_22f,_230,_231,_232,_233,_234,_235){var _236=_229("dijit.form._SelectMenu",_22f,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _237=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_228.forEach(this.parentWidget._getChildren(),function(_238){if(_238.option&&(val===_238.option.value)){_237=true;this.focusChild(_238,false);}},this);}if(!_237){this.inherited(arguments);}}});var _239=_229("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_22d,_22e,_233],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_235,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _236({id:this.id+"_menu",parentWidget:this});_22b.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_23a){if(!_23a.value&&!_23a.label){return new _231({ownerDocument:this.ownerDocument});}else{var _23b=lang.hitch(this,"_setValueAttr",_23a);var item=new _230({option:_23a,label:_23a.label||this.emptyLabel,onClick:_23b,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_23a.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_23c){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_23c));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},focusChild:function(_23d){if(_23d){this.set("value",_23d.option);}},_getFirst:function(){var _23e=this._getChildren();return _23e.length?_23e[0]:null;},_getLast:function(){var _23f=this._getChildren();return _23f.length?_23f[_23f.length-1]:null;},childSelector:function(node){var node=_234.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_240,_241){if(item){this.focusChild(item);}},_loadChildren:function(_242){if(_242===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_228.forEach(this._getChildren(),function(_243){_243.destroyRecursive();});var item=new _230({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_244){this.inherited(arguments);_22a.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_245){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_246){this._set("required",_246);this.focusNode.setAttribute("aria-required",_246);this._refreshState();},_setOptionsAttr:function(_247){this._isLoaded=false;this._set("options",_247);},_setDisplay:function(_248){var lbl=_248||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_249){var _24a=this.disabled||this.isValid(_249);this._set("state",_24a?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_24a?"false":"true");var _24b=_24a?"":this._missingMsg;if(_24b&&this.focused&&this._hasBeenBlurred){_232.show(_24b,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_232.hide(this.domNode);}this._set("message",_24b);return _24a;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_232.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");},_setStyleAttr:function(_24c){this.inherited(arguments);_22b.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_24d){this._loadChildren(true);this._isLoaded=true;_24d();},destroy:function(_24e){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_24e);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_232.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_239=_229("dijit.form.Select",_239,{_setDisplay:function(_24f){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_239._Menu=_236;function _250(_251){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_251,evt));}else{this.inherited(_251,arguments);}};};_239.prototype._onContainerKeydown=_250("_onContainerKeydown");_239.prototype._onContainerKeypress=_250("_onContainerKeypress");return _239;});},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_252,_253){return _252("dijit.form.VerticalRule",_253,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_254,lang,_255,_256){var _257=_254("dijit.form.NumberTextBoxMixin",null,{pattern:function(_258){return "("+(this.focused&&this.editOptions?this._regExpGenerator(lang.delegate(_258,this.editOptions))+"|":"")+this._regExpGenerator(_258)+")";},value:NaN,editOptions:{pattern:"#.######"},_formatter:_255.format,_regExpGenerator:_255.regexp,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_259){var _25a=typeof _259.places=="number"?_259.places:0;if(_25a){_25a++;}if(typeof _259.max!="number"){_259.max=9*Math.pow(10,15-_25a);}if(typeof _259.min!="number"){_259.min=-9*Math.pow(10,15-_25a);}this.inherited(arguments,[_259]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled||this.readOnly){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _25b=this.format(val,this.constraints);if(_25b!==undefined){this.textbox.value=_25b;}}this.inherited(arguments);},format:function(_25c,_25d){var _25e=String(_25c);if(typeof _25c!="number"){return _25e;}if(isNaN(_25c)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_25c,_25d))&&_25d.exponent!==false&&/\de[-+]?\d/i.test(_25e)){return _25e;}if(this.editOptions&&this.focused){_25d=lang.mixin({},_25d,this.editOptions);}return this._formatter(_25c,_25d);},_parser:_255.parse,parse:function(_25f,_260){var v=this._parser(_25f,lang.mixin({},_260,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_25f,_260);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_261){return (_261==null||_261==="")?NaN:this.inherited(arguments);},serialize:function(_262,_263){return (typeof _262!="number"||isNaN(_262))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.delegate(this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_264,_265,_266){if(_264!==undefined&&_266===undefined){_266=String(_264);if(typeof _264=="number"){if(isNaN(_264)){_266="";}else{if(("rangeCheck" in this&&this.rangeCheck(_264,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_266)){_266=undefined;}}}else{if(!_264){_266="";_264=NaN;}else{_264=undefined;}}}this.inherited(arguments,[_264,_265,_266]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+_255._realNumberRegexp(lang.delegate(this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_267){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});var _268=_254("dijit.form.NumberTextBox",[_256,_257],{baseClass:"dijitTextBox dijitNumberTextBox"});_268.Mixin=_257;return _268;});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_269,_26a){return _269("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_26b){this._set("readOnly",_26b);_26a.set(this.focusNode,"readOnly",_26b);},_setLabelAttr:undefined,_getSubmitValue:function(_26c){return (_26c==null||_26c==="")?"on":_26c;},_setValueAttr:function(_26d){_26d=this._getSubmitValue(_26d);this._set("value",_26d);_26a.set(this.focusNode,"value",_26d);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_26a.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_26e,_26f){return _26e("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _270=this.checked;this._set("checked",!_270);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_270);return ret;},_setCheckedAttr:function(_271,_272){this._set("checked",_271);var node=this.focusNode||this.domNode;if(this._created){if(_26f.get(node,"checked")!=!!_271){_26f.set(node,"checked",!!_271);}}node.setAttribute(this._aria_attr,String(_271));this._handleOnChange(_271,_272);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_273,on,_274){return _273("dijit.form._ListBase",null,{selected:null,_listConnect:function(_275,_276){var self=this;return self.own(on(self.containerNode,on.selector(function(_277,_278,_279){return _277.parentNode==_279;},_275),function(evt){self[_276](evt,this);}));},selectFirstNode:function(){var _27a=this.containerNode.firstChild;while(_27a&&_27a.style.display=="none"){_27a=_27a.nextSibling;}this._setSelectedAttr(_27a,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _27b=this.selected;if(!_27b){this.selectFirstNode();}else{var next=_27b.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _27c=this.selected;if(!_27c){this.selectLastNode();}else{var prev=_27c.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_27d){if(this.selected!=node){var _27e=this.selected;if(_27e){this.onDeselect(_27e);}if(node){if(_27d){_274.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/has","dojo/number","dojo/query","dojo/_base/lang","./HorizontalRule"],function(_27f,has,_280,_281,lang,_282){var _283=_27f("dijit.form.HorizontalRuleLabels",_282,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){var _284=this.labels[ndx];return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._genDirectionHTML(_284)+this._labelPrefix+_284+this._suffix;},_genDirectionHTML:function(_285){return "";},getLabels:function(){var _286=this.labels;if(!_286.length&&this.srcNodeRef){_286=_281("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}if(!_286.length&&this.count>1){var _287=this.minimum;var inc=(this.maximum-_287)/(this.count-1);for(var i=0;i<this.count;i++){_286.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_280.format(_287,this.constraints));_287+=inc;}}return _286;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});if(has("dojo-bidi")){_283.extend({_setTextDirAttr:function(_288){if(this.textDir!=_288){this._set("textDir",_288);_281(".dijitRuleLabelContainer",this.domNode).forEach(lang.hitch(this,function(_289){_289.style.direction=this.getTextDir(_289.innerText||_289.textContent||"");}));}},_genDirectionHTML:function(_28a){return (this.textDir?("direction:"+this.getTextDir(_28a)+";"):"");}});}return _283;});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_28b,_28c,_28d){var base=null;return _28b("dojo.store.Memory",base,{constructor:function(_28e){for(var i in _28e){this[i]=_28e[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_28d,get:function(id){return this.data[this.index[id]];},getIdentity:function(_28f){return _28f[this.idProperty];},put:function(_290,_291){var data=this.data,_292=this.index,_293=this.idProperty;var id=_290[_293]=(_291&&"id" in _291)?_291.id:_293 in _290?_290[_293]:Math.random();if(id in _292){if(_291&&_291.overwrite===false){throw new Error("Object already exists");}data[_292[id]]=_290;}else{_292[id]=data.push(_290)-1;}return id;},add:function(_294,_295){(_295=_295||{}).overwrite=false;return this.put(_294,_295);},remove:function(id){var _296=this.index;var data=this.data;if(id in _296){data.splice(_296[id],1);this.setData(data);return true;}},query:function(_297,_298){return _28c(this.queryEngine(_297,_298)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_299,_29a,_29b,_29c,_29d,_29e,_29f,_2a0,i18n,_2a1,keys,lang,on,has,when,_2a2,fm,_2a3,_2a4,_2a5,_2a6,_2a7,_2a8,_2a9,_2aa){var _2ab=_29c("dijit._InlineEditor",[_2a3,_2a4,_2a5],{templateString:_2aa,contextRequire:_299,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_29a.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_299(this.editor)):this.editor;var _2ac=this.sourceStyle,_2ad="line-height:"+_2ac.lineHeight+";",_2ae=_2a0.getComputedStyle(this.domNode);_29a.forEach(["Weight","Family","Size","Style"],function(prop){var _2af=_2ac["font"+prop],_2b0=_2ae["font"+prop];if(_2b0!=_2af){_2ad+="font-"+prop+":"+_2ac["font"+prop]+";";}},this);_29a.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_2ac[prop];},this);var _2b1=this.inlineEditBox.width;if(_2b1=="100%"){_2ad+="width:100%;";this.domNode.style.display="block";}else{_2ad+="width:"+(_2b1+(Number(_2b1)==_2b1?"px":""))+";";}var _2b2=lang.delegate(this.inlineEditBox.editorParams,{style:_2ad,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_2b2,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_29f.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_29b.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_29b.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_2a8.selectInputText(this.editWidget.focusNode);});}}}});var _2b3=_29c("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_2a3,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_2a9,editorWrapper:_2ab,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_2a2,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_29e.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_2b4){_2a1.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_2b4);},_setDisabledAttr:function(_2b5){this.domNode.setAttribute("aria-disabled",_2b5?"true":"false");if(_2b5){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_29e.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_2b5);this._set("disabled",_2b5);},_onMouseOver:function(){if(!this.disabled){_29e.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_29e.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_29d.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _2b6=_29f.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_2a0.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_2b6);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_29e.add(this.displayNode,"dijitOffScreen");_29e.remove(ww.domNode,"dijitOffScreen");_2a0.set(ww.domNode,{visibility:"visible"});_29d.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_2b7){var ww=this.wrapperWidget;_2a0.set(ww.domNode,{visibility:"hidden"});_29e.add(ww.domNode,"dijitOffScreen");_29e.remove(this.displayNode,"dijitOffScreen");_29d.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_2b7){fm.focus(this.displayNode);}},save:function(_2b8){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _2b9=ww.getValue();this.set("value",_2b9);this._showText(_2b8);},setValue:function(val){_2a1.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _2ba=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_2ba||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_2a1.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_2bb){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_2bb);}});if(has("dojo-bidi")){_2b3=_29c("dijit.InlineEditBox",_2b3,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_2b3._InlineEditor=_2ab;return _2b3;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_2bc,dom,lang,_2bd,_2be,_2bf){function _2c0(_2c1){return {id:_2c1.value,value:_2c1.value,name:lang.trim(_2c1.innerText||_2c1.textContent||"")};};return _2bc("dijit.form.DataList",_2be,{constructor:function(_2c2,_2c3){this.domNode=dom.byId(_2c3);lang.mixin(this,_2c2);if(this.id){_2bf.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_2bd("option",this.domNode).map(_2c0)}]);},destroy:function(){_2bf.remove(this.id);},fetchSelectedItem:function(){var _2c4=_2bd("> option[selected]",this.domNode)[0]||_2bd("> option",this.domNode)[0];return _2c4&&_2c0(_2c4);}});});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_2c5,has,_2c6,_2c7){return _2c5("dijit.form.MappedTextBox",_2c7,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_2c6.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/mouse","dojo/on","../typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_2c8,keys,lang,has,_2c9,on,_2ca,_2cb,_2cc,_2cd){return _2c8("dijit.form._Spinner",_2cb,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_2cc,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_2ce,_2cf,_2d0){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_2cf*_2d0),false);_2cd.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_2d1,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.keyCode;inc=(key==keys.PAGE_UP||key==keys.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==keys.UP_ARROW||key==keys.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_2d1==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){evt.stopPropagation();evt.preventDefault();var _2d2=evt.wheelDelta/120;if(Math.floor(_2d2)!=_2d2){_2d2=evt.wheelDelta>0?1:-1;}var _2d3=evt.detail?(evt.detail*-1):_2d2;if(_2d3!==0){var node=this[(_2d3>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_2d3,this.smallDelta);if(this._wheelTimer){this._wheelTimer.remove();}this._wheelTimer=this.defer(function(){this._arrowReleased(node);},50);}},_setConstraintsAttr:function(_2d4){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){this.focusNode.setAttribute("aria-valuemin",this.constraints.min);}else{this.focusNode.removeAttribute("aria-valuemin");}if(this.constraints.max!==undefined){this.focusNode.setAttribute("aria-valuemax",this.constraints.max);}else{this.focusNode.removeAttribute("aria-valuemax");}}},_setValueAttr:function(_2d5,_2d6){this.focusNode.setAttribute("aria-valuenow",_2d5);this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_2c9.wheel,lang.hitch(this,"_mouseWheeled")),_2ca.addListener(this.upArrowNode,this.textbox,{keyCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_2ca.addListener(this.downArrowNode,this.textbox,{keyCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_2ca.addListener(this.upArrowNode,this.textbox,{keyCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_2ca.addListener(this.downArrowNode,this.textbox,{keyCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_2d7,dom,has,_2d8){var _2d9=_2d7("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _2da=e.defaultPrevented;if(!_2da&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _2db=_2d8.byNode(node);if(_2db&&typeof _2db._onSubmit=="function"){_2db._onSubmit(e);e.preventDefault();_2da=true;break;}}}return !_2da;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_2dc){this._set("label",_2dc);var _2dd=this.containerNode||this.focusNode;_2dd.innerHTML=_2dc;}});if(has("dojo-bidi")){_2d9=_2d7("dijit.form._ButtonMixin",_2d9,{_setLabelAttr:function(){this.inherited(arguments);var _2de=this.containerNode||this.focusNode;this.applyTextDir(_2de);}});}return _2d9;});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(_2df,keys,_2e0,_2e1){return _2df("dijit.form.NumberSpinner",[_2e0,_2e1.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(val,_2e2){var tc=this.constraints,v=isNaN(val),_2e3=!isNaN(tc.max),_2e4=!isNaN(tc.min);if(v&&_2e2!=0){val=(_2e2>0)?_2e4?tc.min:_2e3?tc.max:0:_2e3?this.constraints.max:_2e4?tc.min:0;}var _2e5=val+_2e2;if(v||isNaN(_2e5)){return val;}if(_2e3&&(_2e5>tc.max)){_2e5=tc.max;}if(_2e4&&(_2e5<tc.min)){_2e5=tc.min;}return _2e5;},_onKeyDown:function(e){if(this.disabled||this.readOnly){return;}if((e.keyCode==keys.HOME||e.keyCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _2e6=this.constraints[(e.keyCode==keys.HOME?"min":"max")];if(typeof _2e6=="number"){this._setValueAttr(_2e6,false);}e.stopPropagation();e.preventDefault();}}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_2e7,lang,when,_2e8,_2e9){return _2e7("dijit.form.FilteringSelect",[_2e8,_2e9],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_2ea,_2eb,_2ec,_2ed){if((_2eb&&_2eb[this.searchAttr]!==this._lastQuery)||(!_2eb&&_2ea.length&&this.store.getIdentity(_2ea[0])!=this._lastQuery)){return;}if(!_2ea.length){this.set("value","",_2ed||(_2ed===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_2ea[0],_2ed);}},_openResultList:function(_2ee,_2ef,_2f0){if(_2ef[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_2f1,_2f2,_2f3,item){if(!this._onChangeActive){_2f2=null;}if(item===undefined){if(_2f1===null||_2f1===""){_2f1="";if(!lang.isString(_2f3)){this._setDisplayedValueAttr(_2f3||"",_2f2);return;}}var self=this;this._lastQuery=_2f1;when(this.store.get(_2f1),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_2f2);});}else{this.valueNode.value=_2f1;this.inherited(arguments);}},_setItemAttr:function(item,_2f4,_2f5){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_2f6,_2f7){if(_2f6==null){_2f6="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_2f7=false;}if(this.store){this.closeDropDown();var _2f8=lang.clone(this.query);var qs=this._getDisplayQueryString(_2f6),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_2f8[this.searchAttr]=q;this.textbox.value=_2f6;this._lastDisplayedValue=_2f6;this._set("displayedValue",_2f6);var _2f9=this;var _2fa={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_2fa,this.fetchProperties);this._fetchHandle=this.store.query(_2f8,_2fa);when(this._fetchHandle,function(_2fb){_2f9._fetchHandle=null;_2f9._callbackSetLabel(_2fb||[],_2f8,_2fa,_2f7);},function(err){_2f9._fetchHandle=null;if(!_2f9._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_2fc,_2fd,has,_2fe){return _2fc("dijit.form.SimpleTextarea",_2fe,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_2fd.add(this.textbox,"dijitTextAreaCols");}},filter:function(_2ff){if(_2ff){_2ff=_2ff.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _300=parseInt(this.maxLength);var _301=this.textbox.value.replace(/\r/g,"");var _302=_301.length-_300;if(_302>0){var _303=this.textbox;if(_303.selectionStart){var pos=_303.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_301.substring(0,pos-_302-cr)+_301.substring(pos-cr);_303.setSelectionRange(pos-_302,pos-_302);}else{if(this.ownerDocument.selection){_303.focus();var _304=this.ownerDocument.selection.createRange();_304.moveStart("character",-_302);_304.text="";_304.select();}}}}this.inherited(arguments);}});});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_305,_306,when){"use strict";var some=_305.some;return function all(_307){var _308,_305;if(_307 instanceof Array){_305=_307;}else{if(_307&&typeof _307==="object"){_308=_307;}}var _309;var _30a=[];if(_308){_305=[];for(var key in _308){if(Object.hasOwnProperty.call(_308,key)){_30a.push(key);_305.push(_308[key]);}}_309={};}else{if(_305){_309=[];}}if(!_305||!_305.length){return new _306().resolve(_309);}var _30b=new _306();_30b.promise.always(function(){_309=_30a=null;});var _30c=_305.length;some(_305,function(_30d,_30e){if(!_308){_30a.push(_30e);}when(_30d,function(_30f){if(!_30b.isFulfilled()){_309[_30a[_30e]]=_30f;if(--_30c===0){_30b.resolve(_309);}}},_30b.reject);return _30b.isFulfilled();});return _30b.promise;};});},"dijit/form/TimeTextBox":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_310,keys,lang,_311,_312){return _310("dijit.form.TimeTextBox",_312,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_311,_selector:"time",value:new Date(""),maxHeight:-1,_onKey:function(evt){if(this.disabled||this.readOnly){return;}this.inherited(arguments);switch(evt.keyCode){case keys.ENTER:case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:break;default:this.defer(function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();});}}});});},"dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","dojo/mouse","dojo/on","../_base/manager","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_313,_314,move,fx,_315,_316,keys,lang,has,_317,_318,_319,_31a,on,_31b,_31c,_31d,_31e,_31f,_320,_321){var _322=_314("dijit.form._SliderMover",_318,{onMouseMove:function(e){var _323=this.widget;var _324=_323._abspos;if(!_324){_324=_323._abspos=_315.position(_323.sliderBarContainer,true);_323._setPixelValue_=lang.hitch(_323,"_setPixelValue");_323._isReversed_=_323._isReversed();}var _325=e[_323._mousePixelCoord]-_324[_323._startingPixelCoord];_323._setPixelValue_(_323._isReversed_?(_324[_323._pixelCount]-_325):_325,_324[_323._pixelCount],false);},destroy:function(e){_318.prototype.destroy.apply(this,arguments);var _326=this.widget;_326._abspos=null;_326._setValueAttr(_326.value,true);}});var _327=_314("dijit.form.HorizontalSlider",[_31f,_320],{templateString:_321,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_31b.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}this._setValueAttr(this.value,true);},_onKeyDown:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.keyCode){case keys.HOME:this._setValueAttr(this.minimum,false);break;case keys.END:this._setValueAttr(this.maximum,false);break;case ((this._descending||this.isLeftToRight())?keys.RIGHT_ARROW:keys.LEFT_ARROW):case (this._descending===false?keys.DOWN_ARROW:keys.UP_ARROW):case (this._descending===false?keys.PAGE_DOWN:keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?keys.LEFT_ARROW:keys.RIGHT_ARROW):case (this._descending===false?keys.UP_ARROW:keys.DOWN_ARROW):case (this._descending===false?keys.PAGE_UP:keys.PAGE_DOWN):this.decrement(e);break;default:return;}e.stopPropagation();e.preventDefault();},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_31c.focus(this.sliderHandle);}e.stopPropagation();e.preventDefault();},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_31c.focus(this.sliderHandle);e.stopPropagation();e.preventDefault();var _328=_315.position(this.sliderBarContainer,true);var _329=e[this._mousePixelCoord]-_328[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_328[this._pixelCount]-_329):_329,_328[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_32a,_32b,_32c){if(this.disabled||this.readOnly){return;}var _32d=this.discreteValues;if(_32d<=1||_32d==Infinity){_32d=_32b;}_32d--;var _32e=_32b/_32d;var _32f=Math.round(_32a/_32e);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_32f/_32d+this.minimum,this.maximum),this.minimum),_32c);},_setValueAttr:function(_330,_331){this._set("value",_330);this.valueNode.value=_330;this.focusNode.setAttribute("aria-valuenow",_330);this.inherited(arguments);var _332=(_330-this.minimum)/(this.maximum-this.minimum);var _333=(this._descending===false)?this.remainingBar:this.progressBar;var _334=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_331&&this.slideDuration>0&&_333.style[this._progressPixelSize]){var _335=this;var _336={};var _337=parseFloat(_333.style[this._progressPixelSize]);var _338=this.slideDuration*(_332-_337/100);if(_338==0){return;}if(_338<0){_338=0-_338;}_336[this._progressPixelSize]={start:_337,end:_332*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_333,duration:_338,onAnimate:function(v){_334.style[_335._progressPixelSize]=(100-parseFloat(v[_335._progressPixelSize]))+"%";},onEnd:function(){delete _335._inProgressAnim;},properties:_336});this._inProgressAnim.play();}else{_333.style[this._progressPixelSize]=(_332*100)+"%";_334.style[this._progressPixelSize]=((1-_332)*100)+"%";}},_bumpValue:function(_339,_33a){if(this.disabled||this.readOnly){return;}var s=_316.getComputedStyle(this.sliderBarContainer);var c=_315.getContentBox(this.sliderBarContainer,s);var _33b=this.discreteValues;if(_33b<=1||_33b==Infinity){_33b=c[this._pixelCount];}_33b--;var _33c=(this.value-this.minimum)*_33b/(this.maximum-this.minimum)+_339;if(_33c<0){_33c=0;}if(_33c>_33b){_33c=_33b;}_33c=_33c*(this.maximum-this.minimum)/_33b+this.minimum;this._setValueAttr(_33c,_33a);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.keyCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.keyCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){evt.stopPropagation();evt.preventDefault();this._bumpValue(evt.wheelDelta<0?-1:1,true);},startup:function(){if(this._started){return;}_313.forEach(this.getChildren(),function(_33d){if(this[_33d.container]!=this.containerNode){this[_33d.container].appendChild(_33d.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_33e,_33f,e){if(_33e==-1){this._setValueAttr(this.value,true);}else{this[(_33f==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);}},buildRendering:function(){this.inherited(arguments);if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}var _340=_319("label[for=\""+this.id+"\"]");if(_340.length){if(!_340[0].id){_340[0].id=this.id+"_label";}this.focusNode.setAttribute("aria-labelledby",_340[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this.own(_31d.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),_31d.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.own(on(this.domNode,_31a.wheel,lang.hitch(this,"_mouseWheeled")));var _341=_314(_322,{widget:this});this._movable=new _317(this.sliderHandle,{mover:_341});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});_327._Mover=_322;return _327;});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_342,_343,_344,has,i18n){var _345=_343("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_346){this._set("value",_346);this.onChange(_346);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_347){var _348=this._createMenuItem();var _349=_347(item);if(_349.html){_348.innerHTML=_349.label;}else{_348.appendChild(_348.ownerDocument.createTextNode(_349.label));}if(_348.innerHTML==""){_348.innerHTML="&#160;";}return _348;},createOptions:function(_34a,_34b,_34c){this.items=_34a;this.previousButton.style.display=(_34b.start==0)?"none":"";_344.set(this.previousButton,"id",this.id+"_prev");_342.forEach(_34a,function(item,i){var _34d=this._createOption(item,_34c);_34d.setAttribute("item",i);_344.set(_34d,"id",this.id+i);this.nextButton.parentNode.insertBefore(_34d,this.nextButton);},this);var _34e=false;if(_34a.total&&!_34a.total.then&&_34a.total!=-1){if((_34b.start+_34b.count)<_34a.total){_34e=true;}else{if((_34b.start+_34b.count)>_34a.total&&_34b.count==_34a.length){_34e=true;}}}else{if(_34b.count==_34a.length){_34e=true;}}this.nextButton.style.display=_34e?"":"none";_344.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _34f=this.containerNode;while(_34f.childNodes.length>2){_34f.removeChild(_34f.childNodes[_34f.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});if(has("dojo-bidi")){_345=_343("dijit.form._ComboBoxMenuMixin",_345,{_createOption:function(){var _350=this.inherited(arguments);this.applyTextDir(_350);return _350;}});}return _345;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_351,_352,dom,_353,_354,_355,_356,has,keys,lang,on,_357,_358,_359,_35a,_35b){return _351("dijit._HasDropDown",_35b,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_357.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _35c=this.dropDown,_35d=false;if(e&&this._opened){var c=_355.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_35d){if(_354.contains(t,"dijitPopup")){_35d=true;}else{t=t.parentNode;}}if(_35d){t=e.target;if(_35c.onItemClick){var _35e;while(t&&!(_35e=_358.byNode(t))){t=t.parentNode;}if(_35e&&_35e.onClick&&_35e.getParent){_35e.getParent().onItemClick(_35e,e);}}return;}}}if(this._opened){if(_35c.focus&&(_35c.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_35c.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _35f={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_354.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_35f+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _360=this.focusNode||this.domNode;this.own(on(this._buttonNode,_357.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_360,"keydown",lang.hitch(this,"_onKey")),on(_360,"keyup",lang.hitch(this,"_onKeyUp")));},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_361=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||(e.keyCode==keys.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_361.tagName||"").toLowerCase()!=="input"||(_361.type&&_361.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(lang.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_362){_362();},loadAndOpenDropDown:function(){var d=new _352(),_363=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_363);}else{_363();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _364=this.dropDown,_365=_364.domNode,_366=this._aroundNode||this.domNode,self=this;var _367=_35a.open({parent:this,popup:_364,around:_366,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_353.set(self._popupStateNode,"popupActive",false);_354.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_366.offsetWidth>_364._popupWrapper.offsetWidth)){var _368=_366.offsetWidth-_364._popupWrapper.offsetWidth;var _369={w:_364.domNode.offsetWidth+_368};if(lang.isFunction(_364.resize)){_364.resize(_369);}else{_355.setMarginBox(_365,_369);}if(_367.corner[1]=="R"){_364._popupWrapper.style.left=(_364._popupWrapper.style.left.replace("px","")-_368)+"px";}}_353.set(this._popupStateNode,"popupActive","true");_354.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_364.id);if(_365.getAttribute("role")!=="presentation"&&!_365.getAttribute("aria-labelledby")){_365.setAttribute("aria-labelledby",this.id);}return _367;},closeDropDown:function(_36a){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_36a){this.focus();}_35a.close(this.dropDown);this._opened=false;}}});});},"dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_36b,_36c,fx,dom,_36d,_36e,_36f,lang,_370,on,has,_371,_372,_373,_374,_375,_376,_377){var _378=_36c("dijit._MasterTooltip",[_373,_374],{duration:_371.defaultDuration,templateString:_376,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _375(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_379,_37a,_37b,rtl,_37c){if(this.aroundNode&&this.aroundNode===_37a&&this.containerNode.innerHTML==_379){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_379;if(_37c){this.set("textDir",_37c);}this.containerNode.align=rtl?"right":"left";var pos=_372.around(this.domNode,_37a,_37b&&_37b.length?_37b:_37d.defaultPosition,!rtl,lang.hitch(this,"orient"));var _37e=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_37e.y+((_37e.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_37e.x+((_37e.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_36f.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_37a;},orient:function(node,_37f,_380,_381,_382){this.connectorNode.style.top="";var _383=_381.h,_384=_381.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_37f+"-"+_380];this.domNode.style.width="auto";var size=_36e.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _385=Math.min((Math.max(_384,1)),size.w);_36e.setMarginBox(this.domNode,{w:_385});if(_380.charAt(0)=="B"&&_37f.charAt(0)=="B"){var bb=_36e.position(node);var _386=this.connectorNode.offsetHeight;if(bb.h>_383){var _387=_383-((_382.h+_386)>>1);this.connectorNode.style.top=_387+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_382.h/2-_386/2,0),bb.h-_386)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_384);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_388){if(this._onDeck&&this._onDeck[1]==_388){this._onDeck=null;}else{if(this.aroundNode===_388){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_378.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_36b.forEach(node.children,function(_389){this._setAutoTextDir(_389);},this);},_setTextDirAttr:function(_38a){this._set("textDir",_38a);if(_38a=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_377.showTooltip=function(_38b,_38c,_38d,rtl,_38e){if(_38d){_38d=_36b.map(_38d,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_37d._masterTT){_377._masterTT=_37d._masterTT=new _378();}return _37d._masterTT.show(_38b,_38c,_38d,rtl,_38e);};_377.hideTooltip=function(_38f){return _37d._masterTT&&_37d._masterTT.hide(_38f);};var _37d=_36c("dijit.Tooltip",_373,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_390){_36b.forEach(this._connections||[],function(_391){_36b.forEach(_391,function(_392){_392.remove();});},this);this._connectIds=_36b.filter(lang.isArrayLike(_390)?_390:(_390?[_390]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_36b.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_393=this.selector,_394=_393?function(_395){return on.selector(_393,_395);}:function(_396){return _396;},self=this;return [on(node,_394(_370.enter),function(){self._onHover(this);}),on(node,_394("focusin"),function(){self._onHover(this);}),on(node,_394(_370.leave),lang.hitch(self,"_onUnHover")),on(node,_394("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_390);},addTarget:function(node){var id=node.id||node;if(_36b.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_36b.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_36d.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_36b.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_397){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_397);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_398){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _399=this.getContent(_398);if(!_399){return;}_37d.show(_399,_398,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_398;this.onShow(_398,this.position);},close:function(){if(this._connectNode){_37d.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_36b.forEach(this._connections||[],function(_39a){_36b.forEach(_39a,function(_39b){_39b.remove();});},this);this.inherited(arguments);}});_37d._MasterTooltip=_378;_37d.show=_377.showTooltip;_37d.hide=_377.hideTooltip;_37d.defaultPosition=["after-centered","before-centered"];return _37d;});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_39c,_39d,_39e,keys,_39f,_3a0,_3a1,_3a2){return _39c("dijit.form._ComboBoxMenu",[_39f,_3a0,_3a2,_3a1],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_39d.add(this.previousButton,"dijitMenuItemRtl");_39d.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_39d.add(node,"dijitMenuItemHover");},onUnhover:function(node){_39d.remove(node,"dijitMenuItemHover");},onSelect:function(node){_39d.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_39d.remove(node,"dijitMenuItemSelected");},_page:function(up){var _3a3=0;var _3a4=this.domNode.scrollTop;var _3a5=_39e.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_3a3<_3a5){var _3a6=this.getHighlightedOption();if(up){if(!_3a6.previousSibling||_3a6.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_3a6.nextSibling||_3a6.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _3a7=this.domNode.scrollTop;_3a3+=(_3a7-_3a4)*(up?-1:1);_3a4=_3a7;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/Calendar":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton"],function(_3a8,date,_3a9,_3aa,_3ab,_3ac,_3ad,keys,lang,on,has,_3ae,_3af,_3b0,_3b1,_3b2){var _3b3=_3aa("dijit.Calendar",[_3ae,_3af,_3b0],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_3b4){_3ad.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_3b4);},_createMonthWidget:function(){return new _3b3._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")),on(this.dateRowsNode,"mouseover",lang.hitch(this,"_onDayMouseOver")),on(this.dateRowsNode,"mouseout",lang.hitch(this,"_onDayMouseOut")),on(this.dateRowsNode,"mousedown",lang.hitch(this,"_onDayMouseDown")),on(this.dateRowsNode,"mouseup",lang.hitch(this,"_onDayMouseUp")));},_onMonthSelect:function(_3b5){var date=new this.dateClassObj(this.currentFocus);date.setDate(1);date.setMonth(_3b5);var _3b6=this.dateModule.getDaysInMonth(date);var _3b7=this.currentFocus.getDate();date.setDate(Math.min(_3b7,_3b6));this._setCurrentFocusAttr(date);},_onDayMouseOver:function(evt){var node=_3ac.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_3ac.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_3ac.add(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}if(evt.relatedTarget&&evt.relatedTarget.parentNode==this._currentNode){return;}var cls="dijitCalendarHoveredDate";if(_3ac.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_3ac.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_3ac.contains(node,"dijitCalendarDisabledDate")){_3ac.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_3ac.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _3b8=-1,_3b9,_3ba=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_3b8=1;case keys.LEFT_ARROW:_3b9="day";if(!this.isLeftToRight()){_3b8*=-1;}break;case keys.DOWN_ARROW:_3b8=1;case keys.UP_ARROW:_3b9="week";break;case keys.PAGE_DOWN:_3b8=1;case keys.PAGE_UP:_3b9=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_3ba=this.dateModule.add(_3ba,"month",1);_3b9="day";case keys.HOME:_3ba=new this.dateClassObj(_3ba);_3ba.setDate(1);break;default:return true;}if(_3b9){_3ba=this.dateModule.add(_3ba,_3b9,_3b8);}this._setCurrentFocusAttr(_3ba);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){evt.stopPropagation();evt.preventDefault();}},onValueSelected:function(){},onChange:function(_3bb){this.onValueSelected(_3bb);},getClassForDate:function(){}});_3b3._MonthDropDownButton=_3aa("dijit.Calendar._MonthDropDownButton",_3b2,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _3b3._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_3bc){var _3bd=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_3bc);this.dropDown.set("months",_3bd);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_3bd[_3bc.getMonth()]+"</div>";}});_3b3._MonthDropDown=_3aa("dijit.Calendar._MonthDropDown",[_3af,_3b1],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_3be){this.domNode.innerHTML=_3a8.map(_3be,function(_3bf,idx){return _3bf?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_3bf+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_3ab.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_3ac.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _3b3;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_3c0,_3c1,_3c2,_3c3,_3c4,dom,_3c5,_3c6,lang,_3c7,when,_3c8,_3c9){var _3ca=_3c4("dijit.form._FormSelectWidget",_3c9,{multiple:false,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_3cb){var opts=this.options||[];if(_3cb==null){return opts;}if(lang.isArray(_3cb)){return _3c0.map(_3cb,"return this.getOptions(item);",this);}if(lang.isString(_3cb)){_3cb={value:_3cb};}if(lang.isObject(_3cb)){if(!_3c0.some(opts,function(_3cc,idx){for(var a in _3cb){if(!(a in _3cc)||_3cc[a]!=_3cb[a]){return false;}}_3cb=idx;return true;})){_3cb=-1;}}if(_3cb>=0&&_3cb<opts.length){return opts[_3cb];}return null;},addOption:function(_3cd){_3c0.forEach(lang.isArray(_3cd)?_3cd:[_3cd],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_3ce){var _3cf=this.getOptions(lang.isArray(_3ce)?_3ce:[_3ce]);_3c0.forEach(_3cf,function(_3d0){if(_3d0){this.options=_3c0.filter(this.options,function(node){return (node.value!==_3d0.value||node.label!==_3d0.label);});this._removeOptionItem(_3d0);}},this);this._loadChildren();},updateOption:function(_3d1){_3c0.forEach(lang.isArray(_3d1)?_3d1:[_3d1],function(i){var _3d2=this.getOptions({value:i.value}),k;if(_3d2){for(k in i){_3d2[k]=i[k];}}},this);this._loadChildren();},setStore:function(_3d3,_3d4,_3d5){var _3d6=this.store;_3d5=_3d5||{};if(_3d6!==_3d3){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_3d3.get){lang.mixin(_3d3,{_oldAPI:true,get:function(id){var _3d7=new _3c1();this.fetchItemByIdentity({identity:id,onItem:function(_3d8){_3d7.resolve(_3d8);},onError:function(_3d9){_3d7.reject(_3d9);}});return _3d7.promise;},query:function(_3da,_3db){var _3dc=new _3c1(function(){if(_3dd.abort){_3dd.abort();}});_3dc.total=new _3c1();var _3dd=this.fetch(lang.mixin({query:_3da,onBegin:function(_3de){_3dc.total.resolve(_3de);},onComplete:function(_3df){_3dc.resolve(_3df);},onError:function(_3e0){_3dc.reject(_3e0);}},_3db));return new _3c8(_3dc);}});if(_3d3.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_3c2.after(_3d3,"onNew",lang.hitch(this,"_onNewItem"),true),_3c2.after(_3d3,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_3c2.after(_3d3,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_3d3);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_3d5.query){this._set("query",_3d5.query);this._set("queryOptions",_3d5.queryOptions);}if(_3d3){this._loadingStore=true;this.onLoadDeferred=new _3c1();this._queryRes=_3d3.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_3e1){if(this.sortByLabel&&!_3d5.sort&&_3e1.length){if(_3d3.getValue){_3e1.sort(_3c3.createSortFunction([{attribute:_3d3.getLabelAttributes(_3e1[0])[0]}],_3d3));}else{var _3e2=this.labelAttr;_3e1.sort(function(a,b){return a[_3e2]>b[_3e2]?1:b[_3e2]>a[_3e2]?-1:0;});}}if(_3d5.onFetch){_3e1=_3d5.onFetch.call(this,_3e1,_3d5);}_3c0.forEach(_3e1,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_3e3,_3e4,_3e5){if(_3e4==_3e5){this._onSetItem(_3e3);}else{if(_3e4!=-1){this._onDeleteItem(_3e3);}if(_3e5!=-1){this._onNewItem(_3e3);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_3d4);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_3e1);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _3d6;},_setValueAttr:function(_3e6,_3e7){if(!this._onChangeActive){_3e7=null;}if(this._loadingStore){this._pendingValue=_3e6;return;}if(_3e6==null){return;}if(lang.isArray(_3e6)){_3e6=_3c0.map(_3e6,function(_3e8){return lang.isObject(_3e8)?_3e8:{value:_3e8};});}else{if(lang.isObject(_3e6)){_3e6=[_3e6];}else{_3e6=[{value:_3e6}];}}_3e6=_3c0.filter(this.getOptions(_3e6),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_3e6[0]||!_3e6[0].value)&&!!opts.length){_3e6[0]=opts[0];}_3c0.forEach(opts,function(opt){opt.selected=_3c0.some(_3e6,function(v){return v.value===opt.value;});});var val=_3c0.map(_3e6,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_3c0.map(_3e6,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_3e7]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_3c0.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_3e9){this.set("value",this.getOptions(typeof _3e9=="string"?{label:_3e9}:_3e9));},_loadChildren:function(){if(this._loadingStore){return;}_3c0.forEach(this._getChildren(),function(_3ea){_3ea.destroyRecursive();});_3c0.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_3c0.forEach(this._getChildren(),function(_3eb){var _3ec=_3c0.some(val,function(v){return _3eb.option&&(v===_3eb.option.value);});if(_3ec&&!self.multiple){self.focusedChild=_3eb;}_3c5.toggle(_3eb.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_3ec);_3eb.domNode.setAttribute("aria-selected",_3ec?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_3c0.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _3c0.map(_3c0.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_3ed){if(!_3ed||!_3ed.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _3ee=this.store;this.removeOption({value:_3ee.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _3ef=this.store,_3f0=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_3ef.getLabel(item),_3f1=(_3f0?_3ef.getIdentity(item):null);return {value:_3f1,label:_3f0,item:item};},_addOptionForItem:function(item){var _3f2=this.store;if(_3f2.isItemLoaded&&!_3f2.isItemLoaded(item)){_3f2.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _3f3=this._getOptionObjForItem(item);this.addOption(_3f3);},constructor:function(_3f4){this._oValue=(_3f4||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_3c7("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_3c6._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_3c2.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _3f5=this.store;if(_3f5&&(_3f5.getIdentity||_3f5.getFeatures()["dojo.data.api.Identity"])){this.store=null;this.setStore(_3f5,this._oValue);}},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _3ca;});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query","../registry"],function(_3f6,_3f7,_3f8,lang,_3f9,_3fa){return _3f7("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_3f9("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_3fb){if(_3fb.name==this.name&&_3fb.form==this.focusNode.form){var _3fc=_3fa.getEnclosingWidget(_3fb);if(_3fc){ary.push(_3fc);}}}));return ary;},_setCheckedAttr:function(_3fd){this.inherited(arguments);if(!this._created){return;}if(_3fd){_3f6.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_3fe){if(_3fe!=this&&_3fe.checked){_3fe.set("checked",false);}}));}},_getSubmitValue:function(_3ff){return _3ff==null?"on":_3ff;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_3f6.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_400){_3f8.set(this.focusNode||this.domNode,"checked",_400.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/dom","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html","./a11yclick","./hccss"],function(_401,_402,_403,date,_404,_405,dom,_406,lang,on,has,_407,_408,_409,_40a){var _40b=_402("dijit.CalendarLite",[_408,_409],{templateString:_40a,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\" scope=\"col\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),_setSummaryAttr:"gridNode",baseClass:"dijitCalendar",_isValidDate:function(_40c){return _40c&&!isNaN(_40c)&&typeof _40c=="object"&&_40c.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){var _40d=this._get("value");if(_40d&&!isNaN(_40d)){var _40e=new this.dateClassObj(_40d);_40e.setHours(0,0,0,0);if(_40e.getDate()<_40d.getDate()){_40e=this.dateModule.add(_40e,"hour",1);}return _40e;}else{return null;}},_setValueAttr:function(_40f,_410){if(typeof _40f=="string"){_40f=_405.fromISOString(_40f);}_40f=this._patchDate(_40f);if(this._isValidDate(_40f)&&!this.isDisabledDate(_40f,this.lang)){this._set("value",_40f);this.set("currentFocus",_40f);this._markSelectedDates([_40f]);if(this._created&&(_410||typeof _410=="undefined")){this.onChange(this.get("value"));}}else{this._set("value",null);this._markSelectedDates([]);}},_patchDate:function(_411){if(_411){_411=new this.dateClassObj(_411);_411.setHours(1,0,0,0);}return _411;},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(node.ownerDocument.createTextNode(text));},_populateGrid:function(){var _412=new this.dateClassObj(this.currentFocus);_412.setDate(1);var _413=_412.getDay(),_414=this.dateModule.getDaysInMonth(_412),_415=this.dateModule.getDaysInMonth(this.dateModule.add(_412,"month",-1)),_416=new this.dateClassObj(),_417=_403.getFirstDayOfWeek(this.lang);if(_417>_413){_417-=7;}if(!this.summary){var _418=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_412);this.gridNode.setAttribute("summary",_418[_412.getMonth()]);}this._date2cell={};_401.forEach(this.dateCells,function(_419,idx){var i=idx+_417;var date=new this.dateClassObj(_412),_41a,_41b="dijitCalendar",adj=0;if(i<_413){_41a=_415-_413+i+1;adj=-1;_41b+="Previous";}else{if(i>=(_413+_414)){_41a=i-_413-_414+1;adj=1;_41b+="Next";}else{_41a=i-_413+1;_41b+="Current";}}if(adj){date=this.dateModule.add(date,"month",adj);}date.setDate(_41a);if(!this.dateModule.compare(date,_416,"date")){_41b="dijitCalendarCurrentDate "+_41b;}if(this.isDisabledDate(date,this.lang)){_41b="dijitCalendarDisabledDate "+_41b;_419.setAttribute("aria-disabled","true");}else{_41b="dijitCalendarEnabledDate "+_41b;_419.removeAttribute("aria-disabled");_419.setAttribute("aria-selected","false");}var _41c=this.getClassForDate(date,this.lang);if(_41c){_41b=_41c+" "+_41b;}_419.className=_41b+"Month dijitCalendarDateTemplate";var _41d=date.valueOf();this._date2cell[_41d]=_419;_419.dijitDateValue=_41d;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);},_populateControls:function(){var _41e=new this.dateClassObj(this.currentFocus);_41e.setDate(1);this.monthWidget.set("month",_41e);var y=_41e.getFullYear()-1;var d=new this.dateClassObj();_401.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(_41f){this.dateModule=_41f.datePackage?lang.getObject(_41f.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_41f.datePackage?lang.getObject(_41f.datePackage+".locale",false):_404;},_createMonthWidget:function(){return _40b._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_420=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_421=_403.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_407.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _420[_421++%7];});var r=_407.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[r,r,r,r,r,r].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);dom.setSelectable(this.domNode,false);var _422=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",_422,false);},postCreate:function(){this.inherited(arguments);this._connectControls();},_connectControls:function(){var _423=lang.hitch(this,function(_424,part,_425){return on(this[_424],"click",lang.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,part,_425));}));});this.own(_423("incrementMonth","month",1),_423("decrementMonth","month",-1),_423("nextYearLabelNode","year",1),_423("previousYearLabelNode","year",-1));},_setCurrentFocusAttr:function(date,_426){var _427=this.currentFocus,_428=this._getNodeByDate(_427);date=this._patchDate(date);this._set("currentFocus",date);if(!this._date2cell||this.dateModule.difference(_427,date,"month")!=0){this._populateGrid();this._populateControls();this._markSelectedDates([this.value]);}var _429=this._getNodeByDate(date);_429.setAttribute("tabIndex",this.tabIndex);if(this.focused||_426){_429.focus();}if(_428&&_428!=_429){if(has("webkit")){_428.setAttribute("tabIndex","-1");}else{_428.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){evt.stopPropagation();evt.preventDefault();for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_406.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_getNodeByDate:function(_42a){_42a=this._patchDate(_42a);return _42a&&this._date2cell?this._date2cell[_42a.valueOf()]:null;},_markSelectedDates:function(_42b){function mark(_42c,cell){_406.toggle(cell,"dijitCalendarSelectedDate",_42c);cell.setAttribute("aria-selected",_42c?"true":"false");};_401.forEach(this._selectedCells||[],lang.partial(mark,false));this._selectedCells=_401.filter(_401.map(_42b,this._getNodeByDate,this),function(n){return n;});_401.forEach(this._selectedCells,lang.partial(mark,true));},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});_40b._MonthWidget=_402("dijit.CalendarLite._MonthWidget",_408,{_setMonthAttr:function(_42d){var _42e=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_42d),_42f=(has("ie")==6?"":"<div class='dijitSpacer'>"+_401.map(_42e,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_42f+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_42e[_42d.getMonth()]+"</div>";}});return _40b;});},"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" role=\"presentation\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"ondijitclick:_onClick\"\n/></div>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"./form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"./form/Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\"  data-dojo-attach-point=\"containerNode,textDirNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\n","url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode,_popupStateNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\" aria-hidden=\"true\"\n/></span>\n","url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdata-dojo-attach-point=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' data-dojo-attach-point=\"textbox,focusNode\" type=\"${type}\" data-dojo-attach-event=\"onkeydown:_onKeyDown\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n></div>\n","url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:__onClick,onkeydown:_onButtonKeyDown\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeydown:_onArrowKeyDown\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t\t\tclass=\"dijitOffScreen\"\n\t\t\t\trole=\"presentation\" aria-hidden=\"true\"\n\t\t\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\n></table>\n","url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown, onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\" data-dojo-attach-point=\"gridNode\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\" scope=\"col\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"></span>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\" scope=\"col\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' scope=\"col\" data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"></span>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr role=\"row\">\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"ondijitclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_form*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dijit/_dijit_form",[],1);require(["dijit/InlineEditBox","dijit/Calendar","dijit/form/Button","dijit/form/CheckBox","dijit/form/ComboBox","dijit/form/ComboButton","dijit/form/CurrencyTextBox","dijit/form/DateTextBox","dijit/form/DropDownButton","dijit/form/FilteringSelect","dijit/form/Form","dijit/form/HorizontalSlider","dijit/form/HorizontalRule","dijit/form/HorizontalRuleLabels","dijit/form/MappedTextBox","dijit/form/MultiSelect","dijit/form/NumberSpinner","dijit/form/NumberTextBox","dijit/form/RadioButton","dijit/form/RangeBoundTextBox","dijit/form/Select","dijit/form/SimpleTextarea","dijit/form/Slider","dijit/form/TextBox","dijit/form/Textarea","dijit/form/TimeTextBox","dijit/form/ToggleButton","dijit/form/ValidationTextBox","dijit/form/VerticalSlider","dijit/form/VerticalRule","dijit/form/VerticalRuleLabels"]);
}catch(e){console.log("Module 'dijit_form_19': ",e);}
try{(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(){
	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);}
try{require(["dojo/ready","dojo/dom","dojo/dom-construct","dojo/_base/lang","dojo/query","dojo/_base/array","dojo/dom-attr"],function(o,a,n,r,d,e,t){var c=function(){var o=d("[data-banner-nav]");e.forEach(o,function(o,d){var c=t.get(o,"data-banner-nav"),u=c.split(",");e.forEach(u,function(d,e){a.byId(d)&&n.place(r.clone(o),a.byId(d),"replace")})})};o(function(){c()})});
}catch(e){console.log("Module 'native95_ecomm_banner_nav': ",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{//>>built
define("dijit/nls/_dijit_app_en",{"dojo/nls/colors":{"lightsteelblue":"light steel blue","orangered":"orange red","midnightblue":"midnight blue","cadetblue":"cadet blue","seashell":"seashell","slategrey":"slate gray","coral":"coral","darkturquoise":"dark turquoise","antiquewhite":"antique white","mediumspringgreen":"medium spring green","transparent":"transparent","salmon":"salmon","darkgrey":"dark gray","ivory":"ivory","greenyellow":"green-yellow","mistyrose":"misty rose","lightsalmon":"light salmon","silver":"silver","dimgrey":"dim gray","orange":"orange","white":"white","navajowhite":"navajo white","royalblue":"royal blue","deeppink":"deep pink","lime":"lime","oldlace":"old lace","chartreuse":"chartreuse","darkcyan":"dark cyan","yellow":"yellow","linen":"linen","olive":"olive","gold":"gold","lawngreen":"lawn green","lightyellow":"light yellow","tan":"tan","darkviolet":"dark violet","lightslategrey":"light slate gray","grey":"gray","darkkhaki":"dark khaki","green":"green","deepskyblue":"deep sky blue","aqua":"aqua","sienna":"sienna","mintcream":"mint cream","rosybrown":"rosy brown","mediumslateblue":"medium slate blue","magenta":"magenta","lightseagreen":"light sea green","cyan":"cyan","olivedrab":"olive drab","darkgoldenrod":"dark goldenrod","slateblue":"slate blue","mediumaquamarine":"medium aquamarine","lavender":"lavender","mediumseagreen":"medium sea green","maroon":"maroon","darkslategray":"dark slate gray","mediumturquoise":"medium turquoise","ghostwhite":"ghost white","darkblue":"dark blue","mediumvioletred":"medium violet-red","brown":"brown","lightgray":"light gray","sandybrown":"sandy brown","pink":"pink","firebrick":"fire brick","indigo":"indigo","snow":"snow","darkorchid":"dark orchid","turquoise":"turquoise","chocolate":"chocolate","springgreen":"spring green","moccasin":"moccasin","navy":"navy","lemonchiffon":"lemon chiffon","teal":"teal","floralwhite":"floral white","cornflowerblue":"cornflower blue","paleturquoise":"pale turquoise","purple":"purple","_localized":{},"gainsboro":"gainsboro","plum":"plum","red":"red","blue":"blue","forestgreen":"forest green","darkgreen":"dark green","honeydew":"honeydew","darkseagreen":"dark sea green","lightcoral":"light coral","palevioletred":"pale violet-red","mediumpurple":"medium purple","saddlebrown":"saddle brown","darkmagenta":"dark magenta","thistle":"thistle","whitesmoke":"white smoke","wheat":"wheat","violet":"violet","lightskyblue":"light sky blue","goldenrod":"goldenrod","mediumblue":"medium blue","skyblue":"sky blue","crimson":"crimson","darksalmon":"dark salmon","darkred":"dark red","darkslategrey":"dark slate gray","peru":"peru","lightgrey":"light gray","lightgoldenrodyellow":"light goldenrod yellow","blanchedalmond":"blanched almond","aliceblue":"alice blue","bisque":"bisque","slategray":"slate gray","palegoldenrod":"pale goldenrod","darkorange":"dark orange","aquamarine":"aquamarine","lightgreen":"light green","burlywood":"burlywood","dodgerblue":"dodger blue","darkgray":"dark gray","lightcyan":"light cyan","powderblue":"powder blue","blueviolet":"blue-violet","orchid":"orchid","dimgray":"dim gray","beige":"beige","fuchsia":"fuchsia","lavenderblush":"lavender blush","hotpink":"hot pink","steelblue":"steel blue","tomato":"tomato","lightpink":"light pink","limegreen":"lime green","indianred":"indian red","papayawhip":"papaya whip","lightslategray":"light slate gray","gray":"gray","mediumorchid":"medium orchid","cornsilk":"cornsilk","black":"black","seagreen":"sea green","darkslateblue":"dark slate blue","khaki":"khaki","lightblue":"light blue","palegreen":"pale green","azure":"azure","peachpuff":"peach puff","darkolivegreen":"dark olive green","yellowgreen":"yellow green"}});
}catch(e){console.log("Module 'dijit_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:{"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_1,_2,_3,_4){return _1("dijit.ToolbarSeparator",[_3,_4],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);_2.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"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(_5,_6,_7,_8,_9,_a,_b,_c,_d,_e){return _6("dijit._KeyNavContainer",[_d,_e,_c],{connectKeyNavHandlers:function(_f,_10){var _11=(this._keyNavCodes={});var _12=_a.hitch(this,"focusPrev");var _13=_a.hitch(this,"focusNext");_5.forEach(_f,function(_14){_11[_14]=_12;});_5.forEach(_10,function(_15){_11[_15]=_13;});_11[_9.HOME]=_a.hitch(this,"focusFirstChild");_11[_9.END]=_a.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_8.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_5.forEach(this.getChildren(),_a.hitch(this,"_startupChild"));},addChild:function(_16,_17){this.inherited(arguments);this._startupChild(_16);},_startupChild:function(_18){_18.set("tabIndex","-1");},_getFirst:function(){var _19=this.getChildren();return _19.length?_19[0]:null;},_getLast:function(){var _1a=this.getChildren();return _1a.length?_1a[_1a.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(_1b){var _1b=_b.byNode(_1b);return _1b&&_1b.getParent()==this;}});});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_1c,_1d,has,_1e,_1f,_20,_21,_22){if(has("dijit-legacy-requires")){_1f(0,function(){var _23=["dijit/ToolbarSeparator"];_1c(_23);});}return _1d("dijit.Toolbar",[_20,_22,_21],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_24,_25,_26,_27,_28,has,_29,_2a,_2b,_2c,_2d){var _2e=_2b("dijit.ColorPalette",[_26,_27,_28],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_25,baseClass:"dijitColorPalette",_dyeFactory:function(_2f,row,col,_30){return new this._dyeClass(_2f,row,col,_30);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_2b(_2e._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],_29.getLocalization("dojo","colors",this.lang));}});_2e._Color=_2b("dijit._Color",_2a,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_24.toUrl("./themes/a11y/colors7x10.png"),"3x4":_24.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_31,row,col,_32){this._title=_32;this._row=row;this._col=col;this.setColor(_2a.named[_31]);},getValue:function(){return this.toHex();},fillCell:function(_33,_34){var _35=_2d.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_34,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_2c.place(_35,_33);}});return _2e;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_36,_37,_38,has,_39){var _3a=_39.doc.documentElement,ie=has("ie"),_3b=has("opera"),maj=Math.floor,ff=has("ff"),_3c=_36.boxModel.replace(/-/,""),_3d={"dj_quirks":has("quirks"),"dj_opera":_3b,"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){_3d["dj_ie"]=true;_3d["dj_ie"+maj(ie)]=true;_3d["dj_iequirks"]=has("quirks");}if(ff){_3d["dj_ff"+maj(ff)]=true;}_3d["dj_"+_3c]=true;var _3e="";for(var clz in _3d){if(_3d[clz]){_3e+=clz+" ";}}_3a.className=_37.trim(_3a.className+" "+_3e);_38(function(){if(!_36.isBodyLtr()){var _3f="dj_rtl dijitRtl "+_3e.replace(/ /g,"-rtl ");_3a.className=_37.trim(_3a.className+" "+_3f+"dj_rtl dijitRtl "+_3e.replace(/ /g,"-rtl "));}});return has;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_40,_41,_42,_43,_44,_45,_46,_47){return _41("dijit.ProgressBar",[_45,_46],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_47,_indeterminateHighContrastImagePath:_40.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},_setDirAttr:function(val){_42.toggle(this.domNode,"dijitProgressBarRtl",val=="rtl");this.inherited(arguments);},update:function(_48){_43.mixin(this,_48||{});var tip=this.internalProgress,ap=this.domNode;var _49=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_49=Math.min(parseFloat(this.progress)/100,1);this.progress=_49*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_49=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_49);_42.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_49*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_4a){this._set("label",_4a);this.update();},_setIndeterminateAttr:function(_4b){this._set("indeterminate",_4b);this.update();},report:function(_4c){return this.label?this.label:(this.indeterminate?"&#160;":_44.format(_4c,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"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(_4d,_4e,_4f,_50,_51,on,_52,_53){return _4e("dijit._KeyNavMixin",_53,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_4f.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _54=this._keyNavCodes={};_54[_50.HOME]=_51.hitch(this,"focusFirstChild");_54[_50.END]=_51.hitch(this,"focusLastChild");_54[this.isLeftToRight()?_50.LEFT_ARROW:_50.RIGHT_ARROW]=_51.hitch(this,"_onLeftArrow");_54[this.isLeftToRight()?_50.RIGHT_ARROW:_50.LEFT_ARROW]=_51.hitch(this,"_onRightArrow");_54[_50.UP_ARROW]=_51.hitch(this,"_onUpArrow");_54[_50.DOWN_ARROW]=_51.hitch(this,"_onDownArrow");}var _55=this,_56=typeof this.childSelector=="string"?this.childSelector:_51.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",_51.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",_51.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",_51.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_56,"focusin"),function(evt){_55._onChildFocus(_52.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(_57,_58){if(!_57){return;}if(this.focusedChild&&_57!==this.focusedChild){this._onChildBlur(this.focusedChild);}_57.set("tabIndex",this.tabIndex);_57.focus(_58?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_4f.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_4f.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(_59){if(_59&&_59!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_59.set("tabIndex",this.tabIndex);this.lastFocused=_59;this._set("focusedChild",_59);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(_5a,evt,_5b,_5c){if(_5a){this.focusChild(_5a);}},_keyboardSearchCompare:function(_5d,_5e){var _5f=_5d.domNode,_60=_5d.label||(_5f.focusNode?_5f.focusNode.label:"")||_5f.innerText||_5f.textContent||"",_61=_60.replace(/^\s+/,"").substr(0,_5e.length).toLowerCase();return (!!_5e.length&&_61==_5e)?-1:0;},_onContainerKeydown:function(evt){var _62=this._keyNavCodes[evt.keyCode];if(_62){_62(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==_50.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=_50.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_63){var _64=null,_65,_66=0,_67=_51.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_63;var _68=/^(.)\1*$/.test(this._searchString);var _69=_68?1:this._searchString.length;_65=this._searchString.substr(0,_69);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _6a=this.focusedChild||null;if(_69==1||!_6a){_6a=this._getNextFocusableChild(_6a,1);if(!_6a){return;}}var _6b=_6a;do{var rc=this._keyboardSearchCompare(_6a,_65);if(!!rc&&_66++==0){_64=_6a;}if(rc==-1){_66=-1;break;}_6a=this._getNextFocusableChild(_6a,1);}while(_6a!=_6b);});_67();this.onKeyboardSearch(_64,evt,_65,_66);},_onChildBlur:function(){},_getNextFocusableChild:function(_6c,dir){var _6d=_6c;do{if(!_6c){_6c=this[dir>0?"_getFirst":"_getLast"]();if(!_6c){break;}}else{_6c=this._getNext(_6c,dir);}if(_6c!=null&&_6c!=_6d&&_6c.isFocusable()){return _6c;}}while(_6c!=_6d);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_6e,dir){if(_6e){_6e=_6e.domNode;while(_6e){_6e=_6e[dir<0?"previousSibling":"nextSibling"];if(_6e&&"getAttribute" in _6e){var w=_52.byNode(_6e);if(w){return w;}}}}return null;}});});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_6f,has,_70,dom,_71,_72,_73){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _74=_70.body(doc),_75=_73.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_74,"last"),div=_73.create("div",{style:{overflow:"hidden",direction:"ltr"}},_75,"last"),ret=_71.position(div).x!=0;_75.removeChild(div);_74.removeChild(_75);return ret;});has.add("position-fixed-support",function(win,doc){var _76=_70.body(doc),_77=_73.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_76,"last"),_78=_73.create("span",{style:{position:"fixed",left:"0",top:"0"}},_77,"last"),ret=_71.position(_78).x!=_71.position(_77).x;_77.removeChild(_78);_76.removeChild(_77);return ret;});var _79={getBox:function(doc){doc=doc||_70.doc;var _7a=(doc.compatMode=="BackCompat")?_70.body(doc):doc.documentElement,_7b=_71.docScroll(doc),w,h;if(has("touch")){var _7c=_79.get(doc);w=_7c.innerWidth||_7a.clientWidth;h=_7c.innerHeight||_7a.clientHeight;}else{w=_7a.clientWidth;h=_7a.clientHeight;}return {l:_7b.x,t:_7b.y,w:w,h:h};},get:function(doc){if(has("ie")&&_79!==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(_7d,pos){try{_7d=dom.byId(_7d);var doc=_7d.ownerDocument||_70.doc,_7e=_70.body(doc),_7f=doc.documentElement||_7e.parentNode,_80=has("ie"),_81=has("webkit");if(_7d==_7e||_7d==_7f){return;}if(!(has("mozilla")||_80||_81||has("opera")||has("trident"))&&("scrollIntoView" in _7d)){_7d.scrollIntoView(false);return;}var _82=doc.compatMode=="BackCompat",_83=Math.min(_7e.clientWidth||_7f.clientWidth,_7f.clientWidth||_7e.clientWidth),_84=Math.min(_7e.clientHeight||_7f.clientHeight,_7f.clientHeight||_7e.clientHeight),_85=(_81||_82)?_7e:_7f,_86=pos||_71.position(_7d),el=_7d.parentNode,_87=function(el){return (_80<=6||(_80==7&&_82))?false:(has("position-fixed-support")&&(_72.get(el,"position").toLowerCase()=="fixed"));},_88=this,_89=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_88.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_87(_7d)){return;}while(el){if(el==_7e){el=_85;}var _8a=_71.position(el),_8b=_87(el),rtl=_72.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_85){_8a.w=_83;_8a.h=_84;if(_85==_7f&&(_80||has("trident"))&&rtl){_8a.x+=_85.offsetWidth-_8a.w;}if(_8a.x<0||!_80||_80>=9||has("trident")){_8a.x=0;}if(_8a.y<0||!_80||_80>=9||has("trident")){_8a.y=0;}}else{var pb=_71.getPadBorderExtents(el);_8a.w-=pb.w;_8a.h-=pb.h;_8a.x+=pb.l;_8a.y+=pb.t;var _8c=el.clientWidth,_8d=_8a.w-_8c;if(_8c>0&&_8d>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_8a.x+=_8d;}_8a.w=_8c;}_8c=el.clientHeight;_8d=_8a.h-_8c;if(_8c>0&&_8d>0){_8a.h=_8c;}}if(_8b){if(_8a.y<0){_8a.h+=_8a.y;_8a.y=0;}if(_8a.x<0){_8a.w+=_8a.x;_8a.x=0;}if(_8a.y+_8a.h>_84){_8a.h=_84-_8a.y;}if(_8a.x+_8a.w>_83){_8a.w=_83-_8a.x;}}var l=_86.x-_8a.x,t=_86.y-_8a.y,r=l+_86.w-_8a.w,bot=t+_86.h-_8a.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_85||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_80==8&&!_82)||_80>=9||has("trident"))){s=-s;}old=el.scrollLeft;_89(el,s,0);s=el.scrollLeft-old;_86.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_85||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_89(el,0,s);s=el.scrollTop-old;_86.y-=s;}el=(el!=_85)&&!_8b&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_7d.scrollIntoView(false);}}};1&&_6f.setObject("dojo.window",_79);return _79;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_8e,_8f,_90,_91,_92,_93,on,_94,_95,_96,_97){var _98=_8e("dijit._PaletteMixin",_94,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_99){var _9a=typeof this.dyeClass=="string"?_93.getObject(this.dyeClass):this.dyeClass;return new _9a(_99);},_preparePalette:function(_9b,_9c){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_95,_93.hitch(this,"_onCellClick")));for(var row=0;row<_9b.length;row++){var _9d=_91.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_9b[row].length;col++){var _9e=_9b[row][col];if(_9e){var _9f=this._dyeFactory(_9e,row,col,_9c[_9e]);var _a0=_91.create("td",{"class":this.cellClass,tabIndex:"-1",title:_9c[_9e],role:"gridcell"},_9d);_9f.fillCell(_a0,url);_a0.idx=this._cells.length;this._cells.push({node:_a0,dye:_9f});}}}this._xDim=_9b[0].length;this._yDim=_9b.length;var _a1={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _a1){this.own(_97.addKeyListener(this.domNode,{keyCode:_92[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _a2=_a1[key];return function(_a3){this._navigateByKey(_a2,_a3);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_96.focus(this._currentFocus);},_onCellClick:function(evt){var _a4=evt.target;while(_a4.tagName!="TD"){if(!_a4.parentNode||_a4==this.gridNode){return;}_a4=_a4.parentNode;}var _a5=this._getDye(_a4).getValue();this._setCurrent(_a4);_96.focus(_a4);this._setValueAttr(_a5,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(_a6){if("_currentFocus" in this){_8f.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=_a6;if(_a6){_8f.set(_a6,"tabIndex",this.tabIndex);}},_setValueAttr:function(_a7,_a8){if(this._selectedCell>=0){_90.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_a7){for(var i=0;i<this._cells.length;i++){if(_a7==this._cells[i].dye.getValue()){this._selectedCell=i;_90.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_a7:null);if(_a8||_a8===undefined){this.onChange(_a7);}},onChange:function(){},_navigateByKey:function(_a9,_aa){if(_aa==-1){return;}var _ab=this._currentFocus.idx+_a9;if(_ab<this._cells.length&&_ab>-1){var _ac=this._cells[_ab].node;this._setCurrent(_ac);this.defer(_93.hitch(_96,"focus",_ac));}},_getDye:function(_ad){return this._cells[_ad.idx].dye;}});return _98;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_ae,_af,dom,_b0,_b1,on,has,_b2,_b3,win){var _b4=has("touch");var _b5=has("ios")<5;var _b6=navigator.pointerEnabled||navigator.msPointerEnabled,_b7=(function(){var _b8={};for(var _b9 in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_b8[_b9]=!navigator.pointerEnabled?"MSPointer"+_b9.charAt(0).toUpperCase()+_b9.slice(1):"pointer"+_b9;}return _b8;})();var _ba,_bb,_bc,_bd,_be,_bf,_c0,_c1;var _c2;function _c3(_c4,_c5,_c6){if(_b6&&_c6){return function(_c7,_c8){return on(_c7,_c6,_c8);};}else{if(_b4){return function(_c9,_ca){var _cb=on(_c9,_c5,function(evt){_ca.call(this,evt);_c2=(new Date()).getTime();}),_cc=on(_c9,_c4,function(evt){if(!_c2||(new Date()).getTime()>_c2+1000){_ca.call(this,evt);}});return {remove:function(){_cb.remove();_cc.remove();}};};}else{return function(_cd,_ce){return on(_cd,_c4,_ce);};}}};function _cf(_d0){do{if(_d0.dojoClick!==undefined){return _d0.dojoClick;}}while(_d0=_d0.parentNode);};function _d1(e,_d2,_d3){_bb=!e.target.disabled&&_cf(e.target);if(_bb){_bc=e.target;_bd=e.changedTouches?e.changedTouches[0].pageX:e.clientX;_be=e.changedTouches?e.changedTouches[0].pageY:e.clientY;_bf=(typeof _bb=="object"?_bb.x:(typeof _bb=="number"?_bb:0))||4;_c0=(typeof _bb=="object"?_bb.y:(typeof _bb=="number"?_bb:0))||4;if(!_ba){_ba=true;win.doc.addEventListener(_d2,function(e){_bb=_bb&&(e.changedTouches?e.changedTouches[0].target:e.target)==_bc&&Math.abs((e.changedTouches?e.changedTouches[0].pageX:e.clientX)-_bd)<=_bf&&Math.abs((e.changedTouches?e.changedTouches[0].pageY:e.clientY)-_be)<=_c0;},true);win.doc.addEventListener(_d3,function(e){if(_bb){_c1=(new Date()).getTime();var _d4=e.target;if(_d4.tagName==="LABEL"){_d4=dom.byId(_d4.getAttribute("for"))||_d4;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _d5=document.createEvent("MouseEvents");_d5._dojo_click=true;_d5.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(_d4,"click",_d5);},0);}},true);function _d6(_d7){win.doc.addEventListener(_d7,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_c1+1000&&!(e.target.tagName=="INPUT"&&_b0.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_d7=="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);};_d6("click");_d6("mousedown");_d6("mouseup");}}};var _d8;if(_b4){if(_b6){_b3(function(){win.doc.addEventListener(_b7.down,function(evt){_d1(evt,_b7.move,_b7.up);},true);});}else{_b3(function(){_d8=win.body();win.doc.addEventListener("touchstart",function(evt){_c2=(new Date()).getTime();var _d9=_d8;_d8=evt.target;on.emit(_d9,"dojotouchout",{relatedTarget:_d8,bubbles:true});on.emit(_d8,"dojotouchover",{relatedTarget:_d9,bubbles:true});_d1(evt,"touchmove","touchend");},true);function _da(evt){var _db=_b1.delegate(evt,{bubbles:true});if(has("ios")>=6){_db.touches=evt.touches;_db.altKey=evt.altKey;_db.changedTouches=evt.changedTouches;_db.ctrlKey=evt.ctrlKey;_db.metaKey=evt.metaKey;_db.shiftKey=evt.shiftKey;_db.targetTouches=evt.targetTouches;}return _db;};on(win.doc,"touchmove",function(evt){_c2=(new Date()).getTime();var _dc=win.doc.elementFromPoint(evt.pageX-(_b5?0:win.global.pageXOffset),evt.pageY-(_b5?0:win.global.pageYOffset));if(_dc){if(_d8!==_dc){on.emit(_d8,"dojotouchout",{relatedTarget:_dc,bubbles:true});on.emit(_dc,"dojotouchover",{relatedTarget:_d8,bubbles:true});_d8=_dc;}if(!on.emit(_dc,"dojotouchmove",_da(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_c2=(new Date()).getTime();var _dd=win.doc.elementFromPoint(evt.pageX-(_b5?0:win.global.pageXOffset),evt.pageY-(_b5?0:win.global.pageYOffset))||win.body();on.emit(_dd,"dojotouchend",_da(evt));});});}}var _de={press:_c3("mousedown","touchstart",_b7.down),move:_c3("mousemove","dojotouchmove",_b7.move),release:_c3("mouseup","dojotouchend",_b7.up),cancel:_c3(_b2.leave,"touchcancel",_b4?_b7.cancel:null),over:_c3("mouseover","dojotouchover",_b7.over),out:_c3("mouseout","dojotouchout",_b7.out),enter:_b2._eventHandler(_c3("mouseover","dojotouchover",_b7.over)),leave:_b2._eventHandler(_c3("mouseout","dojotouchout",_b7.out))};1&&(_ae.touch=_de);return _de;});},"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(_df,_e0,fx,dom,_e1,_e2,_e3,_e4,_e5,on,has,_e6,_e7,_e8,_e9,_ea,_eb,_ec){var _ed=_e0("dijit._MasterTooltip",[_e8,_e9],{duration:_e6.defaultDuration,templateString:_eb,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _ea(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:_e4.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_e4.hitch(this,"_onHide")});},show:function(_ee,_ef,_f0,rtl,_f1){if(this.aroundNode&&this.aroundNode===_ef&&this.containerNode.innerHTML==_ee){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_ee;if(_f1){this.set("textDir",_f1);}this.containerNode.align=rtl?"right":"left";var pos=_e7.around(this.domNode,_ef,_f0&&_f0.length?_f0:_f2.defaultPosition,!rtl,_e4.hitch(this,"orient"));var _f3=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_f3.y+((_f3.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=_f3.x+((_f3.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_e3.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_ef;},orient:function(_f4,_f5,_f6,_f7,_f8){this.connectorNode.style.top="";var _f9=_f7.h,_fa=_f7.w;_f4.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"}[_f5+"-"+_f6];this.domNode.style.width="auto";var _fb=_e2.position(this.domNode);if(has("ie")||has("trident")){_fb.w+=2;}var _fc=Math.min((Math.max(_fa,1)),_fb.w);_e2.setMarginBox(this.domNode,{w:_fc});if(_f6.charAt(0)=="B"&&_f5.charAt(0)=="B"){var bb=_e2.position(_f4);var _fd=this.connectorNode.offsetHeight;if(bb.h>_f9){var _fe=_f9-((_f8.h+_fd)>>1);this.connectorNode.style.top=_fe+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_f8.h/2-_fd/2,0),bb.h-_fd)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,_fb.w-_fa);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_ff){if(this._onDeck&&this._onDeck[1]==_ff){this._onDeck=null;}else{if(this.aroundNode===_ff){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")){_ed.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_df.forEach(node.children,function(_100){this._setAutoTextDir(_100);},this);},_setTextDirAttr:function(_101){this._set("textDir",_101);if(_101=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_ec.showTooltip=function(_102,_103,_104,rtl,_105){if(_104){_104=_df.map(_104,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_f2._masterTT){_ec._masterTT=_f2._masterTT=new _ed();}return _f2._masterTT.show(_102,_103,_104,rtl,_105);};_ec.hideTooltip=function(_106){return _f2._masterTT&&_f2._masterTT.hide(_106);};var _f2=_e0("dijit.Tooltip",_e8,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_107){_df.forEach(this._connections||[],function(_108){_df.forEach(_108,function(_109){_109.remove();});},this);this._connectIds=_df.filter(_e4.isArrayLike(_107)?_107:(_107?[_107]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_df.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_10a=this.selector,_10b=_10a?function(_10c){return on.selector(_10a,_10c);}:function(_10d){return _10d;},self=this;return [on(node,_10b(_e5.enter),function(){self._onHover(this);}),on(node,_10b("focusin"),function(){self._onHover(this);}),on(node,_10b(_e5.leave),_e4.hitch(self,"_onUnHover")),on(node,_10b("focusout"),_e4.hitch(self,"_onUnHover"))];},this);this._set("connectId",_107);},addTarget:function(node){var id=node.id||node;if(_df.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_df.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_e1.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_df.forEach(_e4.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_10e){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_10e);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_10f){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _110=this.getContent(_10f);if(!_110){return;}_f2.show(_110,_10f,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_10f;this.onShow(_10f,this.position);},close:function(){if(this._connectNode){_f2.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();_df.forEach(this._connections||[],function(_111){_df.forEach(_111,function(_112){_112.remove();});},this);this.inherited(arguments);}});_f2._MasterTooltip=_ed;_f2.show=_ec.showTooltip;_f2.hide=_ec.hideTooltip;_f2.defaultPosition=["after-centered","before-centered"];return _f2;});},"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div  data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><span data-dojo-attach-point=\"indeterminateHighContrastImage\"\n\t\t   class=\"dijitInline dijitProgressBarIndeterminateHighContrastImage\"></span\n></div>\n","url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\" role=\"grid\">\n\t<table data-dojo-attach-point=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"presentation\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\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","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_app*[\"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_app",[],1);require(["dijit/ColorPalette","dijit/ProgressBar","dijit/Toolbar","dijit/ToolbarSeparator","dijit/Tooltip"]);
}catch(e){console.log("Module 'dijit_app_19': ",e);}
try{//>>built
define("dijit/nls/_dijit_editor_en",{"dijit/_editor/nls/commands":{"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","print":"Print","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","newPage":"New Page","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","fullScreen":"Toggle Full Screen","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","viewSource":"View HTML Source","ctrlKey":"ctrl+${0}","fontSize":"Font Size","systemShortcut":"The \"${0}\" action is only available in your browser using a keyboard shortcut. Use ${1}.","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","_localized":{},"plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","tabIndent":"Tab Indent","justifyRight":"Align Right"}});
}catch(e){console.log("Module 'dijit_editor_19': ",e);}
try{/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_1,_2,_3,_4){return _1("dijit.form.ToggleButton",[_3,_4],{baseClass:"dijitToggleButton",setChecked:function(_5){_2.deprecated("setChecked("+_5+") is deprecated. Use set('checked',"+_5+") instead.","","2.0");this.set("checked",_5);}});});},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../Destroyable","../form/Button"],function(_6,_7,_8,_9,_a){var _b=_7("dijit._editor._Plugin",_9,{constructor:function(_c){this.params=_c||{};_8.mixin(this,this.params);this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_a,disabled:false,getLabel:function(_d){return this.editor.commands[_d];},_initButton:function(){if(this.command.length){var _e=this.getLabel(this.command),_f=this.editor,_10=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _11=_8.mixin({label:_e,ownerDocument:_f.ownerDocument,dir:_f.dir,lang:_f.lang,showLabel:false,iconClass:_10,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_11);}}if(this.get("disabled")&&this.button){this.button.set("disabled",this.get("disabled"));}},destroy:function(){if(this.dropDown){this.dropDown.destroyRecursive();}this.inherited(arguments);},connect:function(o,f,tf){this.own(_6.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_12,_13;if(!e||!e.isLoaded||!c.length){return;}var _14=this.get("disabled");if(this.button){try{_13=!_14&&e.queryCommandEnabled(c);if(this.enabled!==_13){this.enabled=_13;this.button.set("disabled",!_13);}if(_13){if(typeof this.button.checked=="boolean"){_12=e.queryCommandState(c);if(this.checked!==_12){this.checked=_12;this.button.set("checked",e.queryCommandState(c));}}}}catch(e){}}},setEditor:function(_15){this.editor=_15;this._initButton();if(this.button&&this.useDefaultCommand){if(this.editor.queryCommandAvailable(this.command)){this.own(this.button.on("click",_8.hitch(this.editor,"execCommand",this.command,this.commandArg)));}else{this.button.domNode.style.display="none";}}this.own(this.editor.on("NormalizedDisplayChanged",_8.hitch(this,"updateState")));},setToolbar:function(_16){if(this.button){_16.addChild(this.button);}},set:function(_17,_18){if(typeof _17==="object"){for(var x in _17){this.set(x,_17[x]);}return this;}var _19=this._getAttrNames(_17);if(this[_19.s]){var _1a=this[_19.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(_17,_18);}return _1a||this;},get:function(_1b){var _1c=this._getAttrNames(_1b);return this[_1c.g]?this[_1c.g]():this[_1b];},_setDisabledAttr:function(_1d){this._set("disabled",_1d);this.updateState();},_getAttrNames:function(_1e){var apn=this._attrPairNames;if(apn[_1e]){return apn[_1e];}var uc=_1e.charAt(0).toUpperCase()+_1e.substr(1);return (apn[_1e]={s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(_1f,_20){this[_1f]=_20;}});_b.registry={};return _b;});},"dojo/request":function(){define(["./request/default!"],function(_21){return _21;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_22,dom,has,_23){var _24=_22("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 _25=e.defaultPrevented;if(!_25&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var _26=this.domNode;_26.parentNode;_26=_26.parentNode){var _27=_23.byNode(_26);if(_27&&typeof _27._onSubmit=="function"){_27._onSubmit(e);e.preventDefault();_25=true;break;}}}return !_25;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_28){this._set("label",_28);var _29=this.containerNode||this.focusNode;_29.innerHTML=_28;}});if(has("dojo-bidi")){_24=_22("dijit.form._ButtonMixin",_24,{_setLabelAttr:function(){this.inherited(arguments);var _2a=this.containerNode||this.focusNode;this.applyTextDir(_2a);}});}return _24;});},"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(_2b,_2c,_2d,has,_2e,_2f,_30,_31,_32,_33){if(has("dijit-legacy-requires")){_30(0,function(){var _34=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_2b(_34);});}var _35=_2c("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_31,_32],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_33,_setValueAttr:"valueNode",_setNameAttr:function(_36){if(this.valueNode){this.valueNode.setAttribute("name",_36);}},_fillContent:function(_37){if(_37&&(!this.params||!("label" in this.params))){var _38=_2f.trim(_37.innerHTML);if(_38){this.label=_38;}}},_setShowLabelAttr:function(val){if(this.containerNode){_2d.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_39){_2e.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_39);},_setLabelAttr:function(_3a){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=_2f.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_35=_2c("dijit.form.Button",_35,{_setLabelAttr:function(_3b){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_3c){if(this._created&&this.textDir!=_3c){this._set("textDir",_3c);this._setLabelAttr(this.label);}}});}return _35;});},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang"],function(_3d,_3e,_3f){var _40={getIndex:function(_41,_42){var ret=[],_43=[];var _44=_41;var _45,n;while(_41!=_42){var i=0;_45=_41.parentNode;while((n=_45.childNodes[i++])){if(n===_41){--i;break;}}ret.unshift(i);_43.unshift(i-_45.childNodes.length);_41=_45;}if(ret.length>0&&_44.nodeType==3){n=_44.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_44.nextSibling;while(n&&n.nodeType==3){_43[_43.length-1]++;n=n.nextSibling;}}return {o:ret,r:_43};},getNode:function(_46,_47){if(!_3f.isArray(_46)||_46.length==0){return _47;}var _48=_47;_3d.every(_46,function(i){if(i>=0&&i<_48.childNodes.length){_48=_48.childNodes[i];}else{_48=null;return false;}return true;});return _48;},getCommonAncestor:function(n1,n2,_49){_49=_49||n1.ownerDocument.body;var _4a=function(n){var as=[];while(n){as.unshift(n);if(n!==_49){n=n.parentNode;}else{break;}}return as;};var _4b=_4a(n1);var _4c=_4a(n2);var m=Math.min(_4b.length,_4c.length);var com=_4b[0];for(var i=1;i<m;i++){if(_4b[i]===_4c[i]){com=_4b[i];}else{break;}}return com;},getAncestor:function(_4d,_4e,_4f){_4f=_4f||_4d.ownerDocument.body;while(_4d&&_4d!==_4f){var _50=_4d.nodeName.toUpperCase();if(_4e.test(_50)){return _4d;}_4d=_4d.parentNode;}return null;},BlockTagNames:/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/,getBlockAncestor:function(_51,_52,_53){_53=_53||_51.ownerDocument.body;_52=_52||_40.BlockTagNames;var _54=null,_55;while(_51&&_51!==_53){var _56=_51.nodeName.toUpperCase();if(!_54&&_52.test(_56)){_54=_51;}if(!_55&&(/^(?:BODY|TD|TH|CAPTION)$/).test(_56)){_55=_51;}_51=_51.parentNode;}return {blockNode:_54,blockContainer:_55||_51.ownerDocument.body};},atBeginningOfContainer:function(_57,_58,_59){var _5a=false;var _5b=(_59==0);if(!_5b&&_58.nodeType==3){if(/^[\s\xA0]+$/.test(_58.nodeValue.substr(0,_59))){_5b=true;}}if(_5b){var _5c=_58;_5a=true;while(_5c&&_5c!==_57){if(_5c.previousSibling){_5a=false;break;}_5c=_5c.parentNode;}}return _5a;},atEndOfContainer:function(_5d,_5e,_5f){var _60=false;var _61=(_5f==(_5e.length||_5e.childNodes.length));if(!_61&&_5e.nodeType==3){if(/^[\s\xA0]+$/.test(_5e.nodeValue.substr(_5f))){_61=true;}}if(_61){var _62=_5e;_60=true;while(_62&&_62!==_5d){if(_62.nextSibling){_60=false;break;}_62=_62.parentNode;}}return _60;},adjacentNoneTextNode:function(_63,_64){var _65=_63;var len=(0-_63.length)||0;var _66=_64?"nextSibling":"previousSibling";while(_65){if(_65.nodeType!=3){break;}len+=_65.length;_65=_65[_66];}return [_65,len];},create:function(win){win=win||window;if(win.getSelection){return win.document.createRange();}else{return new _67();}},getSelection:function(_68,_69){if(_68.getSelection){return _68.getSelection();}else{var s=new ie.selection(_68);if(!_69){s._getCurrentSelection();}return s;}}};if(!window.getSelection){var ie=_40.ie={cachedSelection:{},selection:function(_6a){this._ranges=[];this.addRange=function(r,_6b){this._ranges.push(r);if(!_6b){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _6c=function(){var r=_6a.document.selection.createRange();var _6d=_6a.document.selection.type.toUpperCase();if(_6d=="CONTROL"){return new _67(ie.decomposeControlRange(r));}else{return new _67(ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_6c();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_6e){var _6f=_6e.item(0),_70=_6e.item(_6e.length-1);var _71=_6f.parentNode,_72=_70.parentNode;var _73=_40.getIndex(_6f,_71).o[0];var _74=_40.getIndex(_70,_72).o[0]+1;return [_71,_73,_72,_74];},getEndPoint:function(_75,end){var _76=_75.duplicate();_76.collapse(!end);var _77="EndTo"+(end?"End":"Start");var _78=_76.parentElement();var _79,_7a,_7b;if(_78.childNodes.length>0){_3d.every(_78.childNodes,function(_7c,i){var _7d;if(_7c.nodeType!=3){_76.moveToElementText(_7c);if(_76.compareEndPoints(_77,_75)>0){if(_7b&&_7b.nodeType==3){_79=_7b;_7d=true;}else{_79=_78;_7a=i;return false;}}else{if(i==_78.childNodes.length-1){_79=_78;_7a=_78.childNodes.length;return false;}}}else{if(i==_78.childNodes.length-1){_79=_7c;_7d=true;}}if(_7d&&_79){var _7e=_40.adjacentNoneTextNode(_79)[0];if(_7e){_79=_7e.nextSibling;}else{_79=_78.firstChild;}var _7f=_40.adjacentNoneTextNode(_79);_7e=_7f[0];var _80=_7f[1];if(_7e){_76.moveToElementText(_7e);_76.collapse(false);}else{_76.moveToElementText(_78);}_76.setEndPoint(_77,_75);_7a=_76.text.length-_80;return false;}_7b=_7c;return true;});}else{_79=_78;_7a=0;}if(!end&&_79.nodeType==1&&_7a==_79.childNodes.length){var _81=_79.nextSibling;if(_81&&_81.nodeType==3){_79=_81;_7a=0;}}return [_79,_7a];},setEndPoint:function(_82,_83,_84){var _85=_82.duplicate(),_86,len;if(_83.nodeType!=3){if(_84>0){_86=_83.childNodes[_84-1];if(_86){if(_86.nodeType==3){_83=_86;_84=_86.length;}else{if(_86.nextSibling&&_86.nextSibling.nodeType==3){_83=_86.nextSibling;_84=0;}else{_85.moveToElementText(_86.nextSibling?_86:_83);var _87=_86.parentNode;var _88=_87.insertBefore(_86.ownerDocument.createTextNode(" "),_86.nextSibling);_85.collapse(false);_87.removeChild(_88);}}}}else{_85.moveToElementText(_83);_85.collapse(true);}}if(_83.nodeType==3){var _89=_40.adjacentNoneTextNode(_83);var _8a=_89[0];len=_89[1];if(_8a){_85.moveToElementText(_8a);_85.collapse(false);if(_8a.contentEditable!="inherit"){len++;}}else{_85.moveToElementText(_83.parentNode);_85.collapse(true);_85.move("character",1);_85.move("character",-1);}_84+=len;if(_84>0){if(_85.move("character",_84)!=_84){console.error("Error when moving!");}}}return _85;},decomposeTextRange:function(_8b){var _8c=ie.getEndPoint(_8b);var _8d=_8c[0],_8e=_8c[1];var _8f=_8c[0],_90=_8c[1];if(_8b.htmlText.length){if(_8b.htmlText==_8b.text){_90=_8e+_8b.text.length;}else{_8c=ie.getEndPoint(_8b,true);_8f=_8c[0],_90=_8c[1];}}return [_8d,_8e,_8f,_90];},setRange:function(_91,_92,_93,_94,_95,_96){var _97=ie.setEndPoint(_91,_92,_93);_91.setEndPoint("StartToStart",_97);if(!_96){var end=ie.setEndPoint(_91,_94,_95);}_91.setEndPoint("EndToEnd",end||_97);return _91;}};var _67=_40.W3CRange=_3e(null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0],arguments[0][1]);this.setEnd(arguments[0][2],arguments[0][3]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_updateInternal:function(){if(this.startContainer!==this.endContainer){this.commonAncestorContainer=_40.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(_98,_99){_99=parseInt(_99);if(this.startContainer===_98&&this.startOffset==_99){return;}delete this._cachedBookmark;this.startContainer=_98;this.startOffset=_99;if(!this.endContainer){this.setEnd(_98,_99);}else{this._updateInternal();}},setEnd:function(_9a,_9b){_9b=parseInt(_9b);if(this.endContainer===_9a&&this.endOffset==_9b){return;}delete this._cachedBookmark;this.endContainer=_9a;this.endOffset=_9b;if(!this.startContainer){this.setStart(_9a,_9b);}else{this._updateInternal();}},setStartAfter:function(_9c,_9d){this._setPoint("setStart",_9c,_9d,1);},setStartBefore:function(_9e,_9f){this._setPoint("setStart",_9e,_9f,0);},setEndAfter:function(_a0,_a1){this._setPoint("setEnd",_a0,_a1,1);},setEndBefore:function(_a2,_a3){this._setPoint("setEnd",_a2,_a3,0);},_setPoint:function(_a4,_a5,_a6,ext){var _a7=_40.getIndex(_a5,_a5.parentNode).o;this[_a4](_a5.parentNode,_a7.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return r;},getBookmark:function(){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var s=this.startContainer,r=this._getIERange();if(s.nodeType===3&&!this.startOffset){this.setStartBefore(s);}r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new _67([this.startContainer,this.startOffset,this.endContainer,this.endOffset]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}_3f.setObject("dijit.range",_40);return _40;});},"dijit/_editor/plugins/EnterKeyHandling":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range","../../_base/focus"],function(_a8,_a9,_aa,_ab,on,has,win,_ac,_ad,_ae,_af,_b0){return _a8("dijit._editor.plugins.EnterKeyHandling",_ad,{blockNodeForEnter:"BR",constructor:function(_b1){if(_b1){if("blockNodeForEnter" in _b1){_b1.blockNodeForEnter=_b1.blockNodeForEnter.toUpperCase();}_ab.mixin(this,_b1);}},setEditor:function(_b2){if(this.editor===_b2){return;}this.editor=_b2;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_b2.onLoadDeferred.then(_ab.hitch(this,function(d){this.own(on(_b2.document,"keydown",_ab.hitch(this,function(e){if(e.keyCode==_aa.ENTER){var ne=_ab.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){e.stopPropagation();e.preventDefault();}}})));if(has("ie")>=9&&has("ie")<=10){this.own(on(_b2.document,"paste",_ab.hitch(this,function(e){setTimeout(_ab.hitch(this,function(){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();r.move("character",1);r.select();}),0);})));}return d;}));}else{if(this.blockNodeForEnter){var h=_ab.hitch(this,"handleEnterKey");_b2.addKeyHandler(13,0,0,h);_b2.addKeyHandler(13,0,1,h);this.own(this.editor.on("KeyPressed",_ab.hitch(this,"onKeyPressed")));}}},onKeyPressed:function(){if(this._checkListLater){if(win.withGlobal(this.editor.window,"isCollapsed",_b0)){var _b3=this.editor.selection.getAncestorElement("LI");if(!_b3){_ae.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _b4=this.editor.selection.getAncestorElement(this.blockNodeForEnter);if(_b4){_b4.innerHTML=this.bogusHtmlContent;if(has("ie")<=9){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{console.error("onKeyPressed: Cannot find the new block node");}}else{if(has("mozilla")){if(_b3.parentNode.parentNode.nodeName=="LI"){_b3=_b3.parentNode.parentNode;}}var fc=_b3.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_b3.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _b5=_af.create(this.editor.window);_b5.setStart(_b3.firstChild,0);var _b6=_af.getSelection(this.editor.window,true);_b6.removeAllRanges();_b6.addRange(_b5);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:"&#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var _b7,_b8,_b9,_ba,_bb,_bc,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _bd=this.editor.selection.getParentElement();var _be=_af.getAncestor(_bd,this.blockNodes);if(_be){if(_be.tagName=="LI"){return true;}_b7=_af.getSelection(this.editor.window);_b8=_b7.getRangeAt(0);if(!_b8.collapsed){_b8.deleteContents();_b7=_af.getSelection(this.editor.window);_b8=_b7.getRangeAt(0);}if(_af.atBeginningOfContainer(_be,_b8.startContainer,_b8.startOffset)){br=doc.createElement("br");_b9=_af.create(this.editor.window);_be.insertBefore(br,_be.firstChild);_b9.setStartAfter(br);_b7.removeAllRanges();_b7.addRange(_b9);}else{if(_af.atEndOfContainer(_be,_b8.startContainer,_b8.startOffset)){_b9=_af.create(this.editor.window);br=doc.createElement("br");_be.appendChild(br);_be.appendChild(doc.createTextNode(" "));_b9.setStart(_be.lastChild,0);_b7.removeAllRanges();_b7.addRange(_b9);}else{rs=_b8.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;_ba=doc.createTextNode(txt.substring(0,_b8.startOffset));_bb=doc.createTextNode(txt.substring(_b8.startOffset));_bc=doc.createElement("br");if(_bb.nodeValue==""&&has("webkit")){_bb=doc.createTextNode(" ");}_a9.place(_ba,rs,"after");_a9.place(_bc,_ba,"after");_a9.place(_bb,_bc,"after");_a9.destroy(rs);_b9=_af.create(this.editor.window);_b9.setStart(_bb,0);_b7.removeAllRanges();_b7.addRange(_b9);return false;}return true;}}}else{_b7=_af.getSelection(this.editor.window);if(_b7.rangeCount){_b8=_b7.getRangeAt(0);if(_b8&&_b8.startContainer){if(!_b8.collapsed){_b8.deleteContents();_b7=_af.getSelection(this.editor.window);_b8=_b7.getRangeAt(0);}rs=_b8.startContainer;if(rs&&rs.nodeType==3){var _bf=_b8.startOffset;if(rs.length<_bf){ret=this._adjustNodeAndOffset(rs,_bf);rs=ret.node;_bf=ret.offset;}txt=rs.nodeValue;_ba=doc.createTextNode(txt.substring(0,_bf));_bb=doc.createTextNode(txt.substring(_bf));_bc=doc.createElement("br");if(!_bb.length){_bb=doc.createTextNode(" ");}if(_ba.length){_a9.place(_ba,rs,"after");}else{_ba=rs;}_a9.place(_bc,_ba,"after");_a9.place(_bb,_bc,"after");_a9.destroy(rs);_b9=_af.create(this.editor.window);_b9.setStart(_bb,0);_b9.setEnd(_bb,_bb.length);_b7.removeAllRanges();_b7.addRange(_b9);this.editor.selection.collapse(true);}else{var _c0;if(_b8.startOffset>=0){_c0=rs.childNodes[_b8.startOffset];}var _bc=doc.createElement("br");var _bb=doc.createTextNode(" ");if(!_c0){rs.appendChild(_bc);rs.appendChild(_bb);}else{_a9.place(_bc,_c0,"before");_a9.place(_bb,_bc,"after");}_b9=_af.create(this.editor.window);_b9.setStart(_bb,0);_b9.setEnd(_bb,_bb.length);_b7.removeAllRanges();_b7.addRange(_b9);this.editor.selection.collapse(true);}}}else{_ae.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _c1=true;_b7=_af.getSelection(this.editor.window);_b8=_b7.getRangeAt(0);if(!_b8.collapsed){_b8.deleteContents();_b7=_af.getSelection(this.editor.window);_b8=_b7.getRangeAt(0);}var _c2=_af.getBlockAncestor(_b8.endContainer,null,this.editor.editNode);var _c3=_c2.blockNode;if((this._checkListLater=(_c3&&(_c3.nodeName=="LI"||_c3.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_c3;}if(/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(_c3.innerHTML)){_c3.innerHTML="";if(has("webkit")){_b9=_af.create(this.editor.window);_b9.setStart(_c3,0);_b7.removeAllRanges();_b7.addRange(_b9);}this._checkListLater=false;}return true;}if(!_c2.blockNode||_c2.blockNode===this.editor.editNode){try{_ae.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_c2={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(_c2.blockNode){if(_c2.blockNode!=this.editor.editNode&&(!(_c2.blockNode.textContent||_c2.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_c2.blockNode);return false;}}else{_c2.blockNode=this.editor.editNode;}_b7=_af.getSelection(this.editor.window);_b8=_b7.getRangeAt(0);}var _c4=doc.createElement(this.blockNodeForEnter);_c4.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_c2.blockNode);var _c5=_b8.endOffset;var _c6=_b8.endContainer;if(_c6.length<_c5){var ret=this._adjustNodeAndOffset(_c6,_c5);_c6=ret.node;_c5=ret.offset;}if(_af.atEndOfContainer(_c2.blockNode,_c6,_c5)){if(_c2.blockNode===_c2.blockContainer){_c2.blockNode.appendChild(_c4);}else{_a9.place(_c4,_c2.blockNode,"after");}_c1=false;_b9=_af.create(this.editor.window);_b9.setStart(_c4,0);_b7.removeAllRanges();_b7.addRange(_b9);if(this.editor.height){_ac.scrollIntoView(_c4);}}else{if(_af.atBeginningOfContainer(_c2.blockNode,_b8.startContainer,_b8.startOffset)){_a9.place(_c4,_c2.blockNode,_c2.blockNode===_c2.blockContainer?"first":"before");if(_c4.nextSibling&&this.editor.height){_b9=_af.create(this.editor.window);_b9.setStart(_c4.nextSibling,0);_b7.removeAllRanges();_b7.addRange(_b9);_ac.scrollIntoView(_c4.nextSibling);}_c1=false;}else{if(_c2.blockNode===_c2.blockContainer){_c2.blockNode.appendChild(_c4);}else{_a9.place(_c4,_c2.blockNode,"after");}_c1=false;if(_c2.blockNode.style){if(_c4.style){if(_c2.blockNode.style.cssText){_c4.style.cssText=_c2.blockNode.style.cssText;}}}rs=_b8.startContainer;var _c7;if(rs&&rs.nodeType==3){var _c8,_c9;_c5=_b8.endOffset;if(rs.length<_c5){ret=this._adjustNodeAndOffset(rs,_c5);rs=ret.node;_c5=ret.offset;}txt=rs.nodeValue;_ba=doc.createTextNode(txt.substring(0,_c5));_bb=doc.createTextNode(txt.substring(_c5,txt.length));_a9.place(_ba,rs,"before");_a9.place(_bb,rs,"after");_a9.destroy(rs);var _ca=_ba.parentNode;while(_ca!==_c2.blockNode){var tg=_ca.tagName;var _cb=doc.createElement(tg);if(_ca.style){if(_cb.style){if(_ca.style.cssText){_cb.style.cssText=_ca.style.cssText;}}}if(_ca.tagName==="FONT"){if(_ca.color){_cb.color=_ca.color;}if(_ca.face){_cb.face=_ca.face;}if(_ca.size){_cb.size=_ca.size;}}_c8=_bb;while(_c8){_c9=_c8.nextSibling;_cb.appendChild(_c8);_c8=_c9;}_a9.place(_cb,_ca,"after");_ba=_ca;_bb=_cb;_ca=_ca.parentNode;}_c8=_bb;if(_c8.nodeType==1||(_c8.nodeType==3&&_c8.nodeValue)){_c4.innerHTML="";}_c7=_c8;while(_c8){_c9=_c8.nextSibling;_c4.appendChild(_c8);_c8=_c9;}}_b9=_af.create(this.editor.window);var _cc;var _cd=_c7;if(this.blockNodeForEnter!=="BR"){while(_cd){_cc=_cd;_c9=_cd.firstChild;_cd=_c9;}if(_cc&&_cc.parentNode){_c4=_cc.parentNode;_b9.setStart(_c4,0);_b7.removeAllRanges();_b7.addRange(_b9);if(this.editor.height){_ac.scrollIntoView(_c4);}if(has("mozilla")){this._pressedEnterInBlock=_c2.blockNode;}}else{_c1=true;}}else{_b9.setStart(_c4,0);_b7.removeAllRanges();_b7.addRange(_b9);if(this.editor.height){_ac.scrollIntoView(_c4);}if(has("mozilla")){this._pressedEnterInBlock=_c2.blockNode;}}}}return _c1;},_adjustNodeAndOffset:function(_ce,_cf){while(_ce.length<_cf&&_ce.nextSibling&&_ce.nextSibling.nodeType==3){_cf=_cf-_ce.length;_ce=_ce.nextSibling;}return {"node":_ce,"offset":_cf};},removeTrailingBr:function(_d0){var _d1=/P|DIV|LI/i.test(_d0.tagName)?_d0:this.editor.selection.getParentOfType(_d0,["P","DIV","LI"]);if(!_d1){return;}if(_d1.lastChild){if((_d1.childNodes.length>1&&_d1.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(_d1.lastChild.nodeValue))||_d1.lastChild.tagName=="BR"){_a9.destroy(_d1.lastChild);}}if(!_d1.childNodes.length){_d1.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","../main"],function(dom,_d2,has,win,_d3){var _d4={getType:function(){if(win.doc.getSelection){var _d5="text";var _d6;try{_d6=win.global.getSelection();}catch(e){}if(_d6&&_d6.rangeCount==1){var _d7=_d6.getRangeAt(0);if((_d7.startContainer==_d7.endContainer)&&((_d7.endOffset-_d7.startOffset)==1)&&(_d7.startContainer.nodeType!=3)){_d5="control";}}return _d5;}else{return win.doc.selection.type.toLowerCase();}},getSelectedText:function(){if(win.doc.getSelection){var _d8=win.global.getSelection();return _d8?_d8.toString():"";}else{if(_d3._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}},getSelectedHtml:function(){if(win.doc.getSelection){var _d9=win.global.getSelection();if(_d9&&_d9.rangeCount){var i;var _da="";for(i=0;i<_d9.rangeCount;i++){var _db=_d9.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(_db);_da+=div.innerHTML;}return _da;}return null;}else{if(_d3._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}},getSelectedElement:function(){if(_d3._editor.selection.getType()=="control"){if(win.doc.getSelection){var _dc=win.global.getSelection();return _dc.anchorNode.childNodes[_dc.anchorOffset];}else{var _dd=win.doc.selection.createRange();if(_dd&&_dd.item){return win.doc.selection.createRange().item(0);}}}return null;},getParentElement:function(){if(_d3._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(win.doc.getSelection){var _de=win.global.getSelection();if(_de){var _df=_de.anchorNode;while(_df&&(_df.nodeType!=1)){_df=_df.parentNode;}return _df;}}else{var r=win.doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;},hasAncestorElement:function(_e0){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_e1){var _e2=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(_e2,arguments);},isTag:function(_e3,_e4){if(_e3&&_e3.tagName){var _e5=_e3.tagName.toLowerCase();for(var i=0;i<_e4.length;i++){var _e6=String(_e4[i]).toLowerCase();if(_e5==_e6){return _e6;}}}return "";},getParentOfType:function(_e7,_e8){while(_e7){if(this.isTag(_e7,_e8).length){return _e7;}_e7=_e7.parentNode;}return null;},collapse:function(_e9){if(win.doc.getSelection){var _ea=win.global.getSelection();if(_ea.removeAllRanges){if(_e9){_ea.collapseToStart();}else{_ea.collapseToEnd();}}else{_ea.collapse(_e9);}}else{var _eb=win.doc.selection.createRange();_eb.collapse(_e9);_eb.select();}},remove:function(){var sel=win.doc.selection;if(win.doc.getSelection){sel=win.global.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}},selectElementChildren:function(_ec,_ed){var doc=win.doc;var _ee;_ec=dom.byId(_ec);if(win.doc.getSelection){var _ef=win.global.getSelection();if(has("opera")){if(_ef.rangeCount){_ee=_ef.getRangeAt(0);}else{_ee=doc.createRange();}_ee.setStart(_ec,0);_ee.setEnd(_ec,(_ec.nodeType==3)?_ec.length:_ec.childNodes.length);_ef.addRange(_ee);}else{_ef.selectAllChildren(_ec);}}else{_ee=_ec.ownerDocument.body.createTextRange();_ee.moveToElementText(_ec);if(!_ed){try{_ee.select();}catch(e){}}}},selectElement:function(_f0,_f1){var _f2;_f0=dom.byId(_f0);var doc=_f0.ownerDocument;var _f3=win.global;if(doc.getSelection){var _f4=_f3.getSelection();_f2=doc.createRange();if(_f4.removeAllRanges){if(has("opera")){if(_f4.getRangeAt(0)){_f2=_f4.getRangeAt(0);}}_f2.selectNode(_f0);_f4.removeAllRanges();_f4.addRange(_f2);}}else{try{var tg=_f0.tagName?_f0.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_f2=win.body(doc).createControlRange();}else{_f2=win.body(doc).createRange();}_f2.addElement(_f0);if(!_f1){_f2.select();}}catch(e){this.selectElementChildren(_f0,_f1);}}},inSelection:function(_f5){if(_f5){var _f6;var doc=win.doc;var _f7;if(win.doc.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_f7=sel.getRangeAt(0);}if(_f7&&_f7.compareBoundaryPoints&&doc.createRange){try{_f6=doc.createRange();_f6.setStart(_f5,0);if(_f7.compareBoundaryPoints(_f7.START_TO_END,_f6)===1){return true;}}catch(e){}}}else{_f7=doc.selection.createRange();try{_f6=_f5.ownerDocument.body.createControlRange();if(_f6){_f6.addElement(_f5);}}catch(e1){try{_f6=_f5.ownerDocument.body.createTextRange();_f6.moveToElementText(_f5);}catch(e2){}}if(_f7&&_f6){if(_f7.compareEndPoints("EndToStart",_f6)===1){return true;}}}}return false;}};_d2.setObject("dijit._editor.selection",_d4);return _d4;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_f8){return _f8.cache;});},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(_f9,_fa,has){var _fb={};_fa.setObject("dijit._editor.html",_fb);var _fc=_fb.escapeXml=function(str,_fd){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_fd){str=str.replace(/'/gm,"&#39;");}return str;};_fb.getNodeHtml=function(_fe){var _ff=[];_fb.getNodeHtmlHelper(_fe,_ff);return _ff.join("");};_fb.getNodeHtmlHelper=function(node,_100){switch(node.nodeType){case 1:var _101=node.nodeName.toLowerCase();if(!_101||_101.charAt(0)=="/"){return "";}_100.push("<",_101);var _102=[],_103={};var attr;if(has("dom-attributes-explicit")||has("dom-attributes-specified-flag")){var i=0;while((attr=node.attributes[i++])){var n=attr.name;if(n.substr(0,3)!=="_dj"&&(!has("dom-attributes-specified-flag")||attr.specified)&&!(n in _103)){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}if(has("ie")===8&&n==="style"){v=v.replace("HEIGHT:","height:").replace("WIDTH:","width:");}_102.push([n,v]);_103[n]=v;}}}else{var _104=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false);var s=_104.outerHTML;var _105=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;var _106=s.match(_105);s=s.substr(0,s.indexOf(">"));_f9.forEach(_106,function(attr){if(attr){var idx=attr.indexOf("=");if(idx>0){var key=attr.substring(0,idx);if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_102.push([key,node.getAttribute("_djrealurl")]);return;}}var val,_107;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;case "width":if(_101==="img"){_107=/width=(\S+)/i.exec(s);if(_107){val=_107[1];}break;}case "height":if(_101==="img"){_107=/height=(\S+)/i.exec(s);if(_107){val=_107[1];}break;}default:val=node.getAttribute(key);}if(val!=null){_102.push([key,val.toString()]);}}}}},this);}_102.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_102[j++])){_100.push(" ",attr[0],"=\"",(typeof attr[1]==="string"?_fc(attr[1],true):attr[1]),"\"");}switch(_101){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_100.push(" />");break;case "script":_100.push(">",node.innerHTML,"</",_101,">");break;default:_100.push(">");if(node.hasChildNodes()){_fb.getChildrenHtmlHelper(node,_100);}_100.push("</",_101,">");}break;case 4:case 3:_100.push(_fc(node.nodeValue,true));break;case 8:_100.push("<!--",_fc(node.nodeValue,true),"-->");break;default:_100.push("<!-- Element not recognized - Type: ",node.nodeType," Name: ",node.nodeName,"-->");}};_fb.getChildrenHtml=function(node){var _108=[];_fb.getChildrenHtmlHelper(node,_108);return _108.join("");};_fb.getChildrenHtmlHelper=function(dom,_109){if(!dom){return;}var _10a=dom["childNodes"]||dom;var _10b=!has("ie")||_10a!==dom;var node,i=0;while((node=_10a[i++])){if(!_10b||node.parentNode==dom){_fb.getNodeHtmlHelper(node,_109);}}};return _fb;});},"dijit/_editor/RichText":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/domReady","dojo/sniff","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/window","../_Widget","../_CssStateMixin","../selection","./range","./html","../focus","../main"],function(_10c,_10d,_10e,_10f,dom,_110,_111,_112,_113,_114,_115,keys,lang,on,_116,_117,has,_118,_119,_11a,_11b,_11c,_11d,_11e,_11f,_120,_121,_122){var _123=_10e("dijit._editor.RichText",[_11c,_11d],{constructor:function(_124){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_124&&lang.isString(_124.value)){this.value=_124.value;}this.onLoadDeferred=new _10f();},baseClass:"dijitEditor",inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:false,disableSpellCheck:false,postCreate:function(){if("textarea"===this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag.  See dijit._editor.RichText docs.");}this.contentPreFilters=[lang.trim,lang.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);if(has("mozilla")){this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters);this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters);}if(has("webkit")){this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters);this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters);}if(has("ie")||has("trident")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);}this.contentDomPostFilters=[lang.hitch(this,"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);_118.publish(_122._scopeName+"._editor.RichText::init",this);},startup:function(){this.inherited(arguments);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=lang.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _125={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},m:function(){this.isTabIndent=!this.isTabIndent;},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!has("ie")){_125.Z=exec("redo");}var key;for(key in _125){this.addKeyHandler(key,true,false,_125[key]);}},events:["onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_123._editorCommandsLocalized){this._local2NativeFormatNames=_123._local2NativeFormatNames;this._native2LocalFormatNames=_123._native2LocalFormatNames;return;}_123._editorCommandsLocalized=true;_123._local2NativeFormatNames={};_123._native2LocalFormatNames={};this._local2NativeFormatNames=_123._local2NativeFormatNames;this._native2LocalFormatNames=_123._native2LocalFormatNames;var _126=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _127="",_128,i=0;while((_128=_126[i++])){if(_128.charAt(1)!=="l"){_127+="<"+_128+"><span>content</span></"+_128+"><br/>";}else{_127+="<"+_128+"><li>content</li></"+_128+"><br/>";}}var _129={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_112.create("div",{style:_129,innerHTML:_127});this.ownerDocumentBody.appendChild(div);var _12a=lang.hitch(this,function(){var node=div.firstChild;while(node){try{this.selection.selectElement(node.firstChild);var _12b=node.tagName.toLowerCase();this._local2NativeFormatNames[_12b]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_12b]]=_12b;node=node.nextSibling.nextSibling;}catch(e){}}_112.destroy(div);});this.defer(_12a);},open:function(_12c){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _10f();}if(!this.isClosed){this.close();}_118.publish(_122._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_12c.nodeName){this.domNode=_12c;}var dn=this.domNode;var html;if(lang.isString(this.value)){html=this.value;dn.innerHTML="";}else{if(dn.nodeName&&dn.nodeName.toLowerCase()=="textarea"){var ta=(this.textarea=dn);this.name=ta.name;html=ta.value;dn=this.domNode=this.ownerDocument.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_112.place(dn,ta,"before");var _12d=lang.hitch(this,function(){_114.set(ta,{display:"block",position:"absolute",top:"-1000px"});if(has("ie")){var s=ta.style;this.__overflow=s.overflow;s.overflow="hidden";}});if(has("ie")){this.defer(_12d,10);}else{_12d();}if(ta.form){var _12e=ta.value;this.reset=function(){var _12f=this.getValue();if(_12f!==_12e){this.replaceValue(_12e);}};on(ta.form,"submit",lang.hitch(this,function(){_110.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_120.getChildrenHtml(dn);dn.innerHTML="";}}this.value=html;if(dn.nodeName&&dn.nodeName==="LI"){dn.innerHTML=" <br>";}this.header=dn.ownerDocument.createElement("div");dn.appendChild(this.header);this.editingArea=dn.ownerDocument.createElement("div");dn.appendChild(this.editingArea);this.footer=dn.ownerDocument.createElement("div");dn.appendChild(this.footer);if(!this.name){this.name=this.id+"_AUTOGEN";}if(this.name!==""&&(!_10d["useXDomain"]||_10d["allowXdRichTextSave"])){var _130=dom.byId(_122._scopeName+"._editor.RichText.value");if(_130&&_130.value!==""){var _131=_130.value.split(this._SEPARATOR),i=0,dat;while((dat=_131[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_131=_131.splice(i,1);_130.value=_131.join(this._SEPARATOR);break;}}}if(!_123._globalSaveHandler){_123._globalSaveHandler={};_119.addOnUnload(function(){var id;for(id in _123._globalSaveHandler){var f=_123._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_123._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=this.ownerDocument.createElement("iframe"));ifr.id=this.id+"_iframe";ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=w.document;this.selection=new _11e.SelectionManager(w);if(has("ie")){this._localizeEditorCommands();}this.onLoad(html);});var src=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'"),s;if(has("ie")<11){s="javascript:document.open();try{parent.window;}catch(e){document.domain=\""+document.domain+"\";}"+"document.write('"+src+"');document.close()";}else{s="javascript: '"+src+"'";}if(has("ie")==9){this.editingArea.appendChild(ifr);ifr.src=s;}else{ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_111.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _132=_114.getComputedStyle(this.domNode);var html="<div id='dijitEditorBody'></div>";var font=[_132.fontWeight,_132.fontSize,_132.fontFamily].join(" ");var _133=_132.lineHeight;if(_133.indexOf("px")>=0){_133=parseFloat(_133)/parseFloat(_132.fontSize);}else{if(_133.indexOf("em")>=0){_133=parseFloat(_133);}else{_133="normal";}}var _134="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_135){_135=_135.replace(/^;/ig,"")+";";var s=_135.split(":")[0];if(s){s=lang.trim(s);s=s.toLowerCase();var i;var sC="";for(i=0;i<s.length;i++){var c=s.charAt(i);switch(c){case "-":i++;c=s.charAt(i).toUpperCase();default:sC+=c;}}_114.set(self.domNode,sC,"");}_134+=_135+";";});var _136=_116("label[for=\""+this.id+"\"]");var _137="";if(_136.length){_137=_136[0].innerHTML;}else{if(this["aria-label"]){_137=this["aria-label"];}else{if(this["aria-labelledby"]){_137=dom.byId(this["aria-labelledby"]).innerHTML;}}}this.iframe.setAttribute("title",_137);return ["<!DOCTYPE html>",this.isLeftToRight()?"<html lang='"+this.lang+"'>\n<head>\n":"<html dir='rtl' lang='"+this.lang+"'>\n<head>\n",_137?"<title>"+_137+"</title>":"","<meta http-equiv='Content-Type' content='text/html'>\n","<style>\n","\tbody,html {\n","\t\tbackground:transparent;\n","\t\tpadding: 1px 0 0 0;\n","\t\tmargin: -1px 0 0 0;\n","\t}\n","\tbody,html,#dijitEditorBody { outline: none; }","html { height: 100%; width: 100%; overflow: hidden; }\n",this.height?"\tbody,#dijitEditorBody { height: 100%; width: 100%; overflow: auto; }\n":"\tbody,#dijitEditorBody { min-height: "+this.minHeight+"; width: 100%; overflow-x: auto; overflow-y: hidden; }\n","\tbody{\n","\t\ttop:0px;\n","\t\tleft:0px;\n","\t\tright:0px;\n","\t\tfont:",font,";\n",((this.height||has("opera"))?"":"\t\tposition: fixed;\n"),"\t\tline-height:",_133,";\n","\t}\n","\tp{ margin: 1em 0; }\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(has("ie")||has("trident")?"":"\tli{ min-height:1.2em; }\n"),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body role='main' ","onload='try{frameElement && frameElement._loadFunc(window,document)}catch(e){document.domain=\""+document.domain+"\";frameElement._loadFunc(window,document)}' ","style='"+_134+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _138=[];if(this.styleSheets){_138=this.styleSheets.split(";");this.styleSheets="";}_138=_138.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url,_139=_11b.get(this.ownerDocument);while((url=_138[i++])){var _13a=(new _11a(_139.location,url)).toString();this.editingAreaStyleSheets.push(_13a);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_13a+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString(),_13b=_11b.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _11a(_13b.location,url)).toString();}if(_10c.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.then(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _13c=this.document.createElement("link");_13c.rel="stylesheet";_13c.type="text/css";_13c.href=url;head.appendChild(_13c);}}));},removeStyleSheet:function(uri){var url=uri.toString(),_13d=_11b.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _11a(_13d.location,url)).toString();}var _13e=_10c.indexOf(this.editingAreaStyleSheets,url);if(_13e===-1){return;}delete this.editingAreaStyleSheets[_13e];_116("link[href=\""+url+"\"]",this.window.document).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_13f){_13f=!!_13f;this._set("disabled",_13f);if(!this.isLoaded){return;}var _140=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_140){this.editNode.unselectable="on";}this.editNode.contentEditable=!_13f;this.editNode.tabIndex=_13f?"-1":this.tabIndex;if(_140){this.defer(function(){if(this.editNode){this.editNode.unselectable="off";}});}if(has("mozilla")&&!_13f&&this._mozSettingProps){var ps=this._mozSettingProps;var n;for(n in ps){if(ps.hasOwnProperty(n)){try{this.document.execCommand(n,false,ps[n]);}catch(e2){}}}}this._disabledOK=true;},onLoad:function(html){if(!this.window.__registeredWindow){this.window.__registeredWindow=true;this._iframeRegHandle=_121.registerIframe(this.iframe);}this.editNode=this.document.body.firstChild;var _141=this;this.beforeIframeNode=_112.place("<div tabIndex=-1></div>",this.iframe,"before");this.afterIframeNode=_112.place("<div tabIndex=-1></div>",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){_141.editNode.focus();};this.focusNode=this.editNode;var _142=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;this.own(_10c.map(_142,function(item){var type=item.toLowerCase().replace(/^on/,"");on(ap,type,lang.hitch(this,item));},this));this.own(on(ap,"mouseup",lang.hitch(this,"onClick")));if(has("ie")){this.own(on(this.document,"mousedown",lang.hitch(this,"_onIEMouseDown")));this.editNode.style.zoom=1;}else{this.own(on(this.document,"mousedown",lang.hitch(this,function(){delete this._cursorToStart;})));}if(has("webkit")){this._webkitListener=this.own(on(this.document,"mouseup",lang.hitch(this,"onDisplayChanged")))[0];this.own(on(this.document,"mousedown",lang.hitch(this,function(e){var t=e.target;if(t&&(t===this.document.body||t===this.document)){this.defer("placeCursorAtEnd");}})));}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _143=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.resolve(true);}this.onDisplayChanged();if(this.focusOnLoad){_117(lang.hitch(this,"defer","focus",this.updateInterval));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.then(_143);}else{_143();}},onKeyDown:function(e){if(e.keyCode===keys.SHIFT||e.keyCode===keys.ALT||e.keyCode===keys.META||e.keyCode===keys.CTRL){return true;}if(e.keyCode===keys.TAB&&this.isTabIndent){e.stopPropagation();e.preventDefault();if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(e.keyCode==keys.TAB&&!this.isTabIndent&&!e.ctrlKey&&!e.altKey){if(e.shiftKey){this.beforeIframeNode.focus();}else{this.afterIframeNode.focus();}return true;}if(has("ie")<9&&e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){e.stopPropagation();e.preventDefault();this.execCommand("delete");}if(has("ff")){if(e.keyCode===keys.PAGE_UP||e.keyCode===keys.PAGE_DOWN){if(this.editNode.clientHeight>=this.editNode.scrollHeight){e.preventDefault();}}}var _144=this._keyHandlers[e.keyCode],args=arguments;if(_144&&!e.altKey){_10c.some(_144,function(h){if(!(h.shift^e.shiftKey)&&!(h.ctrl^(e.ctrlKey||e.metaKey))){if(!h.handler.apply(this,args)){e.preventDefault();}return true;}},this);}this.defer("onKeyPressed",1);return true;},onKeyUp:function(){},setDisabled:function(_145){_115.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_145);},_setValueAttr:function(_146){this.setValue(_146);},_setDisableSpellCheckAttr:function(_147){if(this.document){_110.set(this.document.body,"spellcheck",!_147);}else{this.onLoadDeferred.then(lang.hitch(this,function(){_110.set(this.document.body,"spellcheck",!_147);}));}this._set("disableSpellCheck",_147);},addKeyHandler:function(key,ctrl,_148,_149){if(typeof key=="string"){key=key.toUpperCase().charCodeAt(0);}if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_148||false,ctrl:ctrl||false,handler:_149});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){if(has("ie")||has("trident")){this.defer(function(){if(!_121.curNode){this.ownerDocumentBody.focus();}});}this.inherited(arguments);var _14a=this.getValue(true);if(_14a!==this.value){this.onChange(_14a);}this._set("value",_14a);},_onFocus:function(e){if(!this.disabled){if(!this._disabledOK){this.set("disabled",false);}this.inherited(arguments);}},blur:function(){if(!has("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(this.ownerDocumentBody.focus){this.ownerDocumentBody.focus();}}},focus:function(){if(!this.isLoaded){this.focusOnLoad=true;return;}if(this._cursorToStart){delete this._cursorToStart;if(this.editNode.childNodes){this.placeCursorAtStart();return;}}if(has("ie")<9){this.iframe.fireEvent("onfocus",document.createEventObject());}else{this.editNode.focus();}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){this._updateTimer.remove();}this._updateTimer=this.defer("onNormalizedDisplayChanged",this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_14b){var _14c=cmd.toLowerCase();if(_14c==="formatblock"){if(has("safari")&&_14b===undefined){_14c="heading";}}else{if(_14c==="hilitecolor"&&!has("mozilla")){_14c="backcolor";}}return _14c;},_qcaCache:{},queryCommandAvailable:function(_14d){var ca=this._qcaCache[_14d];if(ca!==undefined){return ca;}return (this._qcaCache[_14d]=this._queryCommandAvailable(_14d));},_queryCommandAvailable:function(_14e){var ie=1;var _14f=1<<1;var _150=1<<2;var _151=1<<3;function _152(_153){return {ie:Boolean(_153&ie),mozilla:Boolean(_153&_14f),webkit:Boolean(_153&_150),opera:Boolean(_153&_151)};};var _154=null;switch(_14e.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_154=_152(_14f|ie|_150|_151);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":_154=_152(_14f|ie|_151|_150);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_154=_152(ie);break;case "cut":case "copy":case "paste":_154=_152(ie|_14f|_150|_151);break;case "inserttable":_154=_152(_14f|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_154=_152(ie|_14f);break;default:return false;}return ((has("ie")||has("trident"))&&_154.ie)||(has("mozilla")&&_154.mozilla)||(has("webkit")&&_154.webkit)||(has("opera")&&_154.opera);},execCommand:function(_155,_156){var _157;if(this.focused){this.focus();}_155=this._normalizeCommand(_155,_156);if(_156!==undefined){if(_155==="heading"){throw new Error("unimplemented");}else{if(_155==="formatblock"&&(has("ie")||has("trident"))){_156="<"+_156+">";}}}var _158="_"+_155+"Impl";if(this[_158]){_157=this[_158](_156);}else{_156=arguments.length>1?_156:null;if(_156||_155!=="createlink"){_157=this.document.execCommand(_155,false,_156);}}this.onDisplayChanged();return _157;},queryCommandEnabled:function(_159){if(this.disabled||!this._disabledOK){return false;}_159=this._normalizeCommand(_159);var _15a="_"+_159+"EnabledImpl";if(this[_15a]){return this[_15a](_159);}else{return this._browserQueryCommandEnabled(_159);}},queryCommandState:function(_15b){if(this.disabled||!this._disabledOK){return false;}_15b=this._normalizeCommand(_15b);try{return this.document.queryCommandState(_15b);}catch(e){return false;}},queryCommandValue:function(_15c){if(this.disabled||!this._disabledOK){return false;}var r;_15c=this._normalizeCommand(_15c);if((has("ie")||has("trident"))&&_15c==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_15c)];}else{if(has("mozilla")&&_15c==="hilitecolor"){var _15d;try{_15d=this.document.queryCommandValue("styleWithCSS");}catch(e){_15d=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_15c);this.document.execCommand("styleWithCSS",false,_15d);}else{r=this.document.queryCommandValue(_15c);}}return r;},_sCall:function(name,args){return this.selection[name].apply(this.selection,args);},placeCursorAtStart:function(){this.focus();var _15e=false;if(has("mozilla")){var _15f=this.editNode.firstChild;while(_15f){if(_15f.nodeType===3){if(_15f.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_15e=true;this.selection.selectElement(_15f);break;}}else{if(_15f.nodeType===1){_15e=true;var tg=_15f.tagName?_15f.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this.selection.selectElement(_15f);}else{this.selection.selectElementChildren(_15f);}break;}}_15f=_15f.nextSibling;}}else{_15e=true;this.selection.selectElementChildren(this.editNode);}if(_15e){this.selection.collapse(true);}},placeCursorAtEnd:function(){this.focus();var _160=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_160=true;this.selection.selectElement(last);break;}}else{if(last.nodeType===1){_160=true;this.selection.selectElement(last.lastChild||last);break;}}last=last.previousSibling;}}else{_160=true;this.selection.selectElementChildren(this.editNode);}if(_160){this.selection.collapse(false);}},getValue:function(_161){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this.isLoaded?this._postFilterContent(null,_161):this.value;},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.then(lang.hitch(this,function(){this.setValue(html);}));return;}this._cursorToStart=true;if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();this._set("value",this.getValue(true));},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!has("mozilla")){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}this._set("value",this.getValue(true));},_preFilterContent:function(html){var ec=html;_10c.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_10c.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_162){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_162){dom=lang.clone(dom);}_10c.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_120.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_10c.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _163=dom.byId(_122._scopeName+"._editor.RichText.value");if(_163){if(_163.value){_163.value+=this._SEPARATOR;}_163.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_164){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_164){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_115.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _120.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_115.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _120.getChildrenHtml(dom);},close:function(save){if(this.isClosed){return;}if(!arguments.length){save=true;}if(save){this._set("value",this.getValue(true));}if(this.interval){clearInterval(this.interval);}if(this._webkitListener){this._webkitListener.remove();delete this._webkitListener;}if(has("ie")){this.iframe.onfocus=null;}this.iframe._loadFunc=null;if(this._iframeRegHandle){this._iframeRegHandle.remove();delete this._iframeRegHandle;}if(this.textarea){var s=this.textarea.style;s.position="";s.left=s.top="";if(has("ie")){s.overflow=this.__overflow;this.__overflow=null;}this.textarea.value=this.value;_112.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_111.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){this._updateTimer.remove();}this.inherited(arguments);if(_123._globalSaveHandler){delete _123._globalSaveHandler[this.id];}},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"");},_removeWebkitBogus:function(html){html=html.replace(/\sclass="webkit-block-placeholder"/gi,"");html=html.replace(/\sclass="apple-style-span"/gi,"");html=html.replace(/<meta charset=\"utf-8\" \/>/gi,"");return html;},_normalizeFontStyle:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");},_browserQueryCommandEnabled:function(_165){if(!_165){return false;}var elem=has("ie")<9?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_165);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _166=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_166=true;}else{_166=this.document.queryCommandEnabled("createlink");}}else{_166=this._browserQueryCommandEnabled("createlink");}return _166;},_unlinkEnabledImpl:function(){var _167=true;if(has("mozilla")||has("webkit")){_167=this.selection.hasAncestorElement("a");}else{_167=this._browserQueryCommandEnabled("unlink");}return _167;},_inserttableEnabledImpl:function(){var _168=true;if(has("mozilla")||has("webkit")){_168=true;}else{_168=this._browserQueryCommandEnabled("inserttable");}return _168;},_cutEnabledImpl:function(){var _169=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_169=!!sel;}else{_169=this._browserQueryCommandEnabled("cut");}return _169;},_copyEnabledImpl:function(){var _16a=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_16a=!!sel;}else{_16a=this._browserQueryCommandEnabled("copy");}return _16a;},_pasteEnabledImpl:function(){var _16b=true;if(has("webkit")){return true;}else{_16b=this._browserQueryCommandEnabled("paste");}return _16b;},_inserthorizontalruleImpl:function(_16c){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_16c);},_unlinkImpl:function(_16d){if((this.queryCommandEnabled("unlink"))&&(has("mozilla")||has("webkit"))){var a=this.selection.getAncestorElement("a");this.selection.selectElement(a);return this.document.execCommand("unlink",false,null);}return this.document.execCommand("unlink",false,_16d);},_hilitecolorImpl:function(_16e){var _16f;var _170=this._handleTextColorOrProperties("hilitecolor",_16e);if(!_170){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_16f=this.document.execCommand("hilitecolor",false,_16e);this.document.execCommand("styleWithCSS",false,false);}else{_16f=this.document.execCommand("hilitecolor",false,_16e);}}return _16f;},_backcolorImpl:function(_171){if(has("ie")){_171=_171?_171:null;}var _172=this._handleTextColorOrProperties("backcolor",_171);if(!_172){_172=this.document.execCommand("backcolor",false,_171);}return _172;},_forecolorImpl:function(_173){if(has("ie")){_173=_173?_173:null;}var _174=false;_174=this._handleTextColorOrProperties("forecolor",_173);if(!_174){_174=this.document.execCommand("forecolor",false,_173);}return _174;},_inserthtmlImpl:function(_175){_175=this._preFilterContent(_175);var rv=true;if(has("ie")<9){var _176=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_176.item(0);while(_176.length){_176.remove(_176.item(0));}n.outerHTML=_175;}else{_176.pasteHTML(_175);}_176.select();}else{if(has("trident")<8){var _176;var _177=_11f.getSelection(this.window);if(_177&&_177.rangeCount&&_177.getRangeAt){_176=_177.getRangeAt(0);_176.deleteContents();var div=_112.create("div");div.innerHTML=_175;var node,_178;var n=this.document.createDocumentFragment();while((node=div.firstChild)){_178=n.appendChild(node);}_176.insertNode(n);if(_178){_176=_176.cloneRange();_176.setStartAfter(_178);_176.collapse(false);_177.removeAllRanges();_177.addRange(_176);}}}else{if(has("mozilla")&&!_175.length){this.selection.remove();}else{rv=this.document.execCommand("inserthtml",false,_175);}}}return rv;},_boldImpl:function(_179){var _17a=false;if(has("ie")||has("trident")){this._adaptIESelection();_17a=this._adaptIEFormatAreaAndExec("bold");}if(!_17a){_17a=this.document.execCommand("bold",false,_179);}return _17a;},_italicImpl:function(_17b){var _17c=false;if(has("ie")||has("trident")){this._adaptIESelection();_17c=this._adaptIEFormatAreaAndExec("italic");}if(!_17c){_17c=this.document.execCommand("italic",false,_17b);}return _17c;},_underlineImpl:function(_17d){var _17e=false;if(has("ie")||has("trident")){this._adaptIESelection();_17e=this._adaptIEFormatAreaAndExec("underline");}if(!_17e){_17e=this.document.execCommand("underline",false,_17d);}return _17e;},_strikethroughImpl:function(_17f){var _180=false;if(has("ie")||has("trident")){this._adaptIESelection();_180=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_180){_180=this.document.execCommand("strikethrough",false,_17f);}return _180;},_superscriptImpl:function(_181){var _182=false;if(has("ie")||has("trident")){this._adaptIESelection();_182=this._adaptIEFormatAreaAndExec("superscript");}if(!_182){_182=this.document.execCommand("superscript",false,_181);}return _182;},_subscriptImpl:function(_183){var _184=false;if(has("ie")||has("trident")){this._adaptIESelection();_184=this._adaptIEFormatAreaAndExec("subscript");}if(!_184){_184=this.document.execCommand("subscript",false,_183);}return _184;},_fontnameImpl:function(_185){var _186;if(has("ie")||has("trident")){_186=this._handleTextColorOrProperties("fontname",_185);}if(!_186){_186=this.document.execCommand("fontname",false,_185);}return _186;},_fontsizeImpl:function(_187){var _188;if(has("ie")||has("trident")){_188=this._handleTextColorOrProperties("fontsize",_187);}if(!_188){_188=this.document.execCommand("fontsize",false,_187);}return _188;},_insertorderedlistImpl:function(_189){var _18a=false;if(has("ie")||has("trident")){_18a=this._adaptIEList("insertorderedlist",_189);}if(!_18a){_18a=this.document.execCommand("insertorderedlist",false,_189);}return _18a;},_insertunorderedlistImpl:function(_18b){var _18c=false;if(has("ie")||has("trident")){_18c=this._adaptIEList("insertunorderedlist",_18b);}if(!_18c){_18c=this.document.execCommand("insertunorderedlist",false,_18b);}return _18c;},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header);},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer);},_getNodeChildrenHeight:function(node){var h=0;if(node&&node.childNodes){var i;for(i=0;i<node.childNodes.length;i++){var size=_113.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_18d){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_18d);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_18d)==="");}}return false;},_removeStartingRangeFromRange:function(node,_18e){if(node.nextSibling){_18e.setStart(node.nextSibling,0);}else{var _18f=node.parentNode;while(_18f&&_18f.nextSibling==null){_18f=_18f.parentNode;}if(_18f){_18e.setStart(_18f.nextSibling,0);}}return _18e;},_adaptIESelection:function(){var _190=_11f.getSelection(this.window);if(_190&&_190.rangeCount&&!_190.isCollapsed){var _191=_190.getRangeAt(0);var _192=_191.startContainer;var _193=_191.startOffset;while(_192.nodeType===3&&_193>=_192.length&&_192.nextSibling){_193=_193-_192.length;_192=_192.nextSibling;}var _194=null;while(this._isNodeEmpty(_192,_193)&&_192!==_194){_194=_192;_191=this._removeStartingRangeFromRange(_192,_191);_192=_191.startContainer;_193=0;}_190.removeAllRanges();_190.addRange(_191);}},_adaptIEFormatAreaAndExec:function(_195){var _196=_11f.getSelection(this.window);var doc=this.document;var rs,ret,_197,txt,_198,_199,_19a,_19b;if(_195&&_196&&_196.isCollapsed){var _19c=this.queryCommandValue(_195);if(_19c){var _19d=this._tagNamesForCommand(_195);_197=_196.getRangeAt(0);var fs=_197.startContainer;if(fs.nodeType===3){var _19e=_197.endOffset;if(fs.length<_19e){ret=this._adjustNodeAndOffset(rs,_19e);fs=ret.node;_19e=ret.offset;}}var _19f;while(fs&&fs!==this.editNode){var _1a0=fs.tagName?fs.tagName.toLowerCase():"";if(_10c.indexOf(_19d,_1a0)>-1){_19f=fs;break;}fs=fs.parentNode;}if(_19f){rs=_197.startContainer;var _1a1=doc.createElement(_19f.tagName);_112.place(_1a1,_19f,"after");if(rs&&rs.nodeType===3){var _1a2,_1a3;var _1a4=_197.endOffset;if(rs.length<_1a4){ret=this._adjustNodeAndOffset(rs,_1a4);rs=ret.node;_1a4=ret.offset;}txt=rs.nodeValue;_198=doc.createTextNode(txt.substring(0,_1a4));var _1a5=txt.substring(_1a4,txt.length);if(_1a5){_199=doc.createTextNode(_1a5);}_112.place(_198,rs,"before");if(_199){_19a=doc.createElement("span");_19a.className="ieFormatBreakerSpan";_112.place(_19a,rs,"after");_112.place(_199,_19a,"after");_199=_19a;}_112.destroy(rs);var _1a6=_198.parentNode;var _1a7=[];var _1a8;while(_1a6!==_19f){var tg=_1a6.tagName;_1a8={tagName:tg};_1a7.push(_1a8);var _1a9=doc.createElement(tg);if(_1a6.style){if(_1a9.style){if(_1a6.style.cssText){_1a9.style.cssText=_1a6.style.cssText;_1a8.cssText=_1a6.style.cssText;}}}if(_1a6.tagName==="FONT"){if(_1a6.color){_1a9.color=_1a6.color;_1a8.color=_1a6.color;}if(_1a6.face){_1a9.face=_1a6.face;_1a8.face=_1a6.face;}if(_1a6.size){_1a9.size=_1a6.size;_1a8.size=_1a6.size;}}if(_1a6.className){_1a9.className=_1a6.className;_1a8.className=_1a6.className;}if(_199){_1a2=_199;while(_1a2){_1a3=_1a2.nextSibling;_1a9.appendChild(_1a2);_1a2=_1a3;}}if(_1a9.tagName==_1a6.tagName){_19a=doc.createElement("span");_19a.className="ieFormatBreakerSpan";_112.place(_19a,_1a6,"after");_112.place(_1a9,_19a,"after");}else{_112.place(_1a9,_1a6,"after");}_198=_1a6;_199=_1a9;_1a6=_1a6.parentNode;}if(_199){_1a2=_199;if(_1a2.nodeType===1||(_1a2.nodeType===3&&_1a2.nodeValue)){_1a1.innerHTML="";}while(_1a2){_1a3=_1a2.nextSibling;_1a1.appendChild(_1a2);_1a2=_1a3;}}var _1aa;if(_1a7.length){_1a8=_1a7.pop();var _1ab=doc.createElement(_1a8.tagName);if(_1a8.cssText&&_1ab.style){_1ab.style.cssText=_1a8.cssText;}if(_1a8.className){_1ab.className=_1a8.className;}if(_1a8.tagName==="FONT"){if(_1a8.color){_1ab.color=_1a8.color;}if(_1a8.face){_1ab.face=_1a8.face;}if(_1a8.size){_1ab.size=_1a8.size;}}_112.place(_1ab,_1a1,"before");while(_1a7.length){_1a8=_1a7.pop();var _1ac=doc.createElement(_1a8.tagName);if(_1a8.cssText&&_1ac.style){_1ac.style.cssText=_1a8.cssText;}if(_1a8.className){_1ac.className=_1a8.className;}if(_1a8.tagName==="FONT"){if(_1a8.color){_1ac.color=_1a8.color;}if(_1a8.face){_1ac.face=_1a8.face;}if(_1a8.size){_1ac.size=_1a8.size;}}_1ab.appendChild(_1ac);_1ab=_1ac;}_19b=doc.createTextNode(".");_19a.appendChild(_19b);_1ab.appendChild(_19b);_1aa=_11f.create(this.window);_1aa.setStart(_19b,0);_1aa.setEnd(_19b,_19b.length);_196.removeAllRanges();_196.addRange(_1aa);this.selection.collapse(false);_19b.parentNode.innerHTML="";}else{_19a=doc.createElement("span");_19a.className="ieFormatBreakerSpan";_19b=doc.createTextNode(".");_19a.appendChild(_19b);_112.place(_19a,_1a1,"before");_1aa=_11f.create(this.window);_1aa.setStart(_19b,0);_1aa.setEnd(_19b,_19b.length);_196.removeAllRanges();_196.addRange(_1aa);this.selection.collapse(false);_19b.parentNode.innerHTML="";}if(!_1a1.firstChild){_112.destroy(_1a1);}return true;}}return false;}else{_197=_196.getRangeAt(0);rs=_197.startContainer;if(rs&&rs.nodeType===3){var _19e=_197.startOffset;if(rs.length<_19e){ret=this._adjustNodeAndOffset(rs,_19e);rs=ret.node;_19e=ret.offset;}txt=rs.nodeValue;_198=doc.createTextNode(txt.substring(0,_19e));var _1a5=txt.substring(_19e);if(_1a5!==""){_199=doc.createTextNode(txt.substring(_19e));}_19a=doc.createElement("span");_19b=doc.createTextNode(".");_19a.appendChild(_19b);if(_198.length){_112.place(_198,rs,"after");}else{_198=rs;}_112.place(_19a,_198,"after");if(_199){_112.place(_199,_19a,"after");}_112.destroy(rs);var _1aa=_11f.create(this.window);_1aa.setStart(_19b,0);_1aa.setEnd(_19b,_19b.length);_196.removeAllRanges();_196.addRange(_1aa);doc.execCommand(_195);_112.place(_19a.firstChild,_19a,"before");_112.destroy(_19a);_1aa.setStart(_19b,0);_1aa.setEnd(_19b,_19b.length);_196.removeAllRanges();_196.addRange(_1aa);this.selection.collapse(false);_19b.parentNode.innerHTML="";return true;}}}else{return false;}},_adaptIEList:function(_1ad){var _1ae=_11f.getSelection(this.window);if(_1ae.isCollapsed){if(_1ae.rangeCount&&!this.queryCommandValue(_1ad)){var _1af=_1ae.getRangeAt(0);var sc=_1af.startContainer;if(sc&&sc.nodeType==3){if(!_1af.startOffset){var _1b0="ul";if(_1ad==="insertorderedlist"){_1b0="ol";}var list=this.document.createElement(_1b0);var li=_112.create("li",null,list);_112.place(list,sc,"before");li.appendChild(sc);_112.create("br",null,list,"after");var _1b1=_11f.create(this.window);_1b1.setStart(sc,0);_1b1.setEnd(sc,sc.length);_1ae.removeAllRanges();_1ae.addRange(_1b1);this.selection.collapse(true);return true;}}}}return false;},_handleTextColorOrProperties:function(_1b2,_1b3){var _1b4=_11f.getSelection(this.window);var doc=this.document;var rs,ret,_1b5,txt,_1b6,_1b7,_1b8,_1b9;_1b3=_1b3||null;if(_1b2&&_1b4&&_1b4.isCollapsed){if(_1b4.rangeCount){_1b5=_1b4.getRangeAt(0);rs=_1b5.startContainer;if(rs&&rs.nodeType===3){var _1ba=_1b5.startOffset;if(rs.length<_1ba){ret=this._adjustNodeAndOffset(rs,_1ba);rs=ret.node;_1ba=ret.offset;}txt=rs.nodeValue;_1b6=doc.createTextNode(txt.substring(0,_1ba));var _1bb=txt.substring(_1ba);if(_1bb!==""){_1b7=doc.createTextNode(txt.substring(_1ba));}_1b8=doc.createElement("span");_1b9=doc.createTextNode(".");_1b8.appendChild(_1b9);var _1bc=doc.createElement("span");_1b8.appendChild(_1bc);if(_1b6.length){_112.place(_1b6,rs,"after");}else{_1b6=rs;}_112.place(_1b8,_1b6,"after");if(_1b7){_112.place(_1b7,_1b8,"after");}_112.destroy(rs);var _1bd=_11f.create(this.window);_1bd.setStart(_1b9,0);_1bd.setEnd(_1b9,_1b9.length);_1b4.removeAllRanges();_1b4.addRange(_1bd);if(has("webkit")){var _1be="color";if(_1b2==="hilitecolor"||_1b2==="backcolor"){_1be="backgroundColor";}_114.set(_1b8,_1be,_1b3);this.selection.remove();_112.destroy(_1bc);_1b8.innerHTML="&#160;";this.selection.selectElement(_1b8);this.focus();}else{this.execCommand(_1b2,_1b3);_112.place(_1b8.firstChild,_1b8,"before");_112.destroy(_1b8);_1bd.setStart(_1b9,0);_1bd.setEnd(_1b9,_1b9.length);_1b4.removeAllRanges();_1b4.addRange(_1bd);this.selection.collapse(false);_1b9.parentNode.removeChild(_1b9);}return true;}}}return false;},_adjustNodeAndOffset:function(node,_1bf){while(node.length<_1bf&&node.nextSibling&&node.nextSibling.nodeType===3){_1bf=_1bf-node.length;node=node.nextSibling;}return {"node":node,"offset":_1bf};},_tagNamesForCommand:function(_1c0){if(_1c0==="bold"){return ["b","strong"];}else{if(_1c0==="italic"){return ["i","em"];}else{if(_1c0==="strikethrough"){return ["s","strike"];}else{if(_1c0==="superscript"){return ["sup"];}else{if(_1c0==="subscript"){return ["sub"];}else{if(_1c0==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){if(!this.isLoaded){return;}_116(".ieFormatBreakerSpan",node).forEach(function(b){while(b.firstChild){_112.place(b.firstChild,b,"before");}_112.destroy(b);});return node;},_stripTrailingEmptyNodes:function(node){function _1c1(node){return (/^(p|div|br)$/i.test(node.nodeName)&&node.children.length==0&&/^[\s\xA0]*$/.test(node.textContent||node.innerText||""))||(node.nodeType===3&&/^[\s\xA0]*$/.test(node.nodeValue));};while(node.lastChild&&_1c1(node.lastChild)){_112.destroy(node.lastChild);}return node;}});return _123;});},"dijit/Editor":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/Deferred","dojo/i18n","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/string","dojo/topic","./_Container","./Toolbar","./ToolbarSeparator","./layout/_LayoutWidget","./form/ToggleButton","./_editor/_Plugin","./_editor/plugins/EnterKeyHandling","./_editor/html","./_editor/range","./_editor/RichText","./main","dojo/i18n!./_editor/nls/commands"],function(_1c2,_1c3,_1c4,_1c5,i18n,_1c6,_1c7,_1c8,_1c9,keys,lang,has,_1ca,_1cb,_1cc,_1cd,_1ce,_1cf,_1d0,_1d1,_1d2,html,_1d3,_1d4,_1d5){var _1d6=_1c4("dijit.Editor",_1d4,{plugins:null,extraPlugins:null,constructor:function(){if(!lang.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",_1d2];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")||has("trident")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _1c5();this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);if(lang.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.commands=i18n.getLocalization("dijit._editor","commands",this.lang);if(has("webkit")){_1c9.set(this.domNode,"KhtmlUserSelect","none");}},startup:function(){this.inherited(arguments);if(!this.toolbar){this.toolbar=new _1cd({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id});this.header.appendChild(this.toolbar.domNode);}_1c3.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(true);_1c7.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_1c7.add(this.iframe,"dijitEditorIFrame");_1c6.set(this.iframe,"allowTransparency",true);this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_1c3.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_1d7,_1d8){var args=lang.isString(_1d7)?{name:_1d7}:lang.isFunction(_1d7)?{ctor:_1d7}:_1d7;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_1d1.registry[args.name]){o.plugin=_1d1.registry[args.name](args);}else{_1cb.publish(_1d5._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){try{var pc=args.ctor||lang.getObject(args.name)||_1c2(args.name);if(pc){o.plugin=new pc(args);}}catch(e){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}}if(!o.plugin){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}_1d7=o.plugin;}if(arguments.length>1){this._plugins[_1d8]=_1d7;}else{this._plugins.push(_1d7);}_1d7.setEditor(this);if(lang.isFunction(_1d7.setToolbar)){_1d7.setToolbar(this.toolbar);}},resize:function(size){if(size){_1cf.prototype.resize.apply(this,arguments);}},layout:function(){var _1d9=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_1c8.getPadBorderExtents(this.iframe.parentNode).h+_1c8.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_1d9+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _1da;var b=this.document.body;var _1db=b.clientWidth;var _1dc=b.clientHeight;var _1dd=b.clientLeft;var _1de=b.offsetWidth;var _1df=b.offsetHeight;var _1e0=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_1db<_1de&&e.x>_1db&&e.x<_1de){_1da=true;}}else{if(e.x<_1dd&&e.x>_1e0){_1da=true;}}if(!_1da){if(_1dc<_1df&&e.y>_1dc&&e.y<_1df){_1da=true;}}if(!_1da){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){this.defer("placeCursorAtEnd");}this.inherited(arguments);}},onBeforeActivate:function(){this._restoreSelection();},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}if(e.target.tagName!="BODY"){this._saveSelection();}},customUndo:true,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){this._editTimer.remove();}this._editTimer=this.defer("endEditing",this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited(arguments);if(this.customUndo){this._endEditing();}return r;}},_pasteImpl:function(){return this._clipboardCommand("paste");},_cutImpl:function(){return this._clipboardCommand("cut");},_copyImpl:function(){return this._clipboardCommand("copy");},_clipboardCommand:function(cmd){var r;try{r=this.document.execCommand(cmd,false,null);if(has("webkit")&&!r){throw {code:1011};}}catch(e){if(e.code==1011||(e.code==9&&has("opera"))){var sub=_1ca.substitute,_1e1={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_1e1[cmd]])]));}r=false;}return r;},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited(arguments);}},_moveToBookmark:function(b){var _1e2=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_1e3,_1e4,sel;if(mark){if(has("ie")<9||(has("ie")===9&&has("quirks"))){if(lang.isArray(mark)){_1e2=[];_1c3.forEach(mark,function(n){_1e2.push(_1d3.getNode(n,this.editNode));},this);this.selection.moveToBookmark({mark:_1e2,isCollapsed:col});}else{if(mark.startContainer&&mark.endContainer){sel=_1d3.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_1d3.create(this.window);_1e3=_1d3.getNode(mark.startContainer,this.editNode);_1e4=_1d3.getNode(mark.endContainer,this.editNode);if(_1e3&&_1e4){r.setStart(_1e3,mark.startOffset);r.setEnd(_1e4,mark.endOffset);sel.addRange(r);}}}}}else{sel=_1d3.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_1d3.create(this.window);_1e3=_1d3.getNode(mark.startContainer,this.editNode);_1e4=_1d3.getNode(mark.endContainer,this.editNode);if(_1e3&&_1e4){r.setStart(_1e3,mark.startOffset);r.setEnd(_1e4,mark.endOffset);sel.addRange(r);}}}}},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._steps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();delete this._undoRedoActive;ret=true;}delete this._undoRedoActive;}return ret;},redo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();ret=true;}delete this._undoRedoActive;}return ret;},endEditing:function(_1e5){if(this._editTimer){this._editTimer=this._editTimer.remove();}if(this._inEditing){this._endEditing(_1e5);this._inEditing=false;}},_getBookmark:function(){var b=this.selection.getBookmark();var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9||(has("ie")===9&&has("quirks"))){var sel=_1d3.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _1e6;if(sel.rangeCount){_1e6=sel.getRangeAt(0);}if(_1e6){b.mark=_1e6.cloneRange();}else{b.mark=this.selection.getBookmark();}}}else{_1c3.forEach(b.mark,function(n){tmp.push(_1d3.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_1d3.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_1d3.getIndex(b.mark.endContainer,this.editNode).o,endOffset:b.mark.endOffset};}}catch(e){b.mark=null;}}return b;},_beginEditing:function(){if(this._steps.length===0){this._steps.push({"text":html.getChildrenHtml(this.editNode),"bookmark":this._getBookmark()});}},_endEditing:function(){var v=html.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!has("ie")&&!this.iframe&&e.keyCode==keys.TAB&&!this.tabIndent){this._saveSelection();}if(!this.customUndo){this.inherited(arguments);return;}var k=e.keyCode;if(e.ctrlKey&&!e.shiftKey&&!e.altKey){if(k==90||k==122){e.stopPropagation();e.preventDefault();this.undo();return;}else{if(k==89||k==121){e.stopPropagation();e.preventDefault();this.redo();return;}}}this.inherited(arguments);switch(k){case keys.ENTER:case keys.BACKSPACE:case keys.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");}else{this.beginEditing("paste");}this.defer("endEditing",1);break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<keys.F1||e.keyCode>keys.F15)){this.beginEditing();break;}case keys.ALT:this.endEditing();break;case keys.UP_ARROW:case keys.DOWN_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:case keys.HOME:case keys.END:case keys.PAGE_UP:case keys.PAGE_DOWN:this.endEditing(true);break;case keys.CTRL:case keys.SHIFT:case keys.TAB:break;}},_onBlur:function(){this.inherited(arguments);this.endEditing(true);},_saveSelection:function(){try{this._savedSelection=this._getBookmark();}catch(e){}},_restoreSelection:function(){if(this._savedSelection){delete this._cursorToStart;if(this.selection.isCollapsed()){this._moveToBookmark(this._savedSelection);}delete this._savedSelection;}},onClick:function(){this.endEditing(true);this.inherited(arguments);},replaceValue:function(html){if(!this.customUndo){this.inherited(arguments);}else{if(this.isClosed){this.setValue(html);}else{this.beginEditing();if(!html){html="&#160;";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_1e7){this.setValueDeferred.then(lang.hitch(this,function(){if((!this.disabled&&_1e7)||(!this._buttonEnabledPlugins&&_1e7)){_1c3.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_1e7){_1c3.forEach(this._plugins,function(p){p.set("disabled",false);});}}}));this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_1c9.set(this.document.body,"color",_1c9.get(this.iframe,"color"));}}catch(e){}}});function _1e8(args){return new _1d1({command:args.name});};function _1e9(args){return new _1d1({buttonClass:_1d0,command:args.name});};lang.mixin(_1d1.registry,{"undo":_1e8,"redo":_1e8,"cut":_1e8,"copy":_1e8,"paste":_1e8,"insertOrderedList":_1e8,"insertUnorderedList":_1e8,"indent":_1e8,"outdent":_1e8,"justifyCenter":_1e8,"justifyFull":_1e8,"justifyLeft":_1e8,"justifyRight":_1e8,"delete":_1e8,"selectAll":_1e8,"removeFormat":_1e8,"unlink":_1e8,"insertHorizontalRule":_1e8,"bold":_1e9,"italic":_1e9,"underline":_1e9,"strikethrough":_1e9,"subscript":_1e9,"superscript":_1e9,"|":function(){return new _1d1({setEditor:function(_1ea){this.editor=_1ea;this.button=new _1ce({ownerDocument:_1ea.ownerDocument});}});}});return _1d6;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_1eb,has,_1ec){var _1ed;if(1){_1ed=function(url,sync,load){_1ec(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_1eb.getText){_1ed=_1eb.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _1ee={},_1ef=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1f0=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1f0){text=_1f0[1];}}else{text="";}return text;},_1f1={},_1f2={};dojo.cache=function(_1f3,url,_1f4){var key;if(typeof _1f3=="string"){if(/\//.test(_1f3)){key=_1f3;_1f4=url;}else{key=_1eb.toUrl(_1f3.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_1f3+"";_1f4=url;}var val=(_1f4!=undefined&&typeof _1f4!="string")?_1f4.value:_1f4,_1f5=_1f4&&_1f4.sanitize;if(typeof val=="string"){_1ee[key]=val;return _1f5?_1ef(val):val;}else{if(val===null){delete _1ee[key];return null;}else{if(!(key in _1ee)){_1ed(key,true,function(text){_1ee[key]=text;});}return _1f5?_1ef(_1ee[key]):_1ee[key];}}};return {dynamic:true,normalize:function(id,_1f6){var _1f7=id.split("!"),url=_1f7[0];return (/^\./.test(url)?_1f6(url):url)+(_1f7[1]?"!"+_1f7[1]:"");},load:function(id,_1f8,load){var _1f9=id.split("!"),_1fa=_1f9.length>1,_1fb=_1f9[0],url=_1f8.toUrl(_1f9[0]),_1fc="url:"+url,text=_1f1,_1fd=function(text){load(_1fa?_1ef(text):text);};if(_1fb in _1ee){text=_1ee[_1fb];}else{if(_1f8.cache&&_1fc in _1f8.cache){text=_1f8.cache[_1fc];}else{if(url in _1ee){text=_1ee[url];}}}if(text===_1f1){if(_1f2[url]){_1f2[url].push(_1fd);}else{var _1fe=_1f2[url]=[_1fd];_1ed(url,!_1f8.async,function(text){_1ee[_1fb]=_1ee[url]=text;for(var i=0;i<_1fe.length;){_1fe[i++](text);}delete _1f2[url];});}}else{_1fd(text);}}};});},"dojo/request/default":function(){define(["exports","require","../has"],function(_1ff,_200,has){var _201=has("config-requestProvider"),_202;if(1){_202="./xhr";}else{if(0){_202="./node";}}if(!_201){_201=_202;}_1ff.getPlatformDefaultId=function(){return _202;};_1ff.load=function(id,_203,_204,_205){_200([id=="platform"?_202:_201],function(_206){_204(_206);});};});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_207,has,_208,_209,lang,xhr,json,_20a){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _20b=dojo.i18n={},_20c=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_20d=function(root,_20e,_20f,_210){for(var _211=[_20f+_210],_212=_20e.split("-"),_213="",i=0;i<_212.length;i++){_213+=(_213?"-":"")+_212[i];if(!root||root[_213]){_211.push(_20f+_213+"/"+_210);_211.specificity=_213;}}return _211;},_214={},_215=function(_216,_217,_218){_218=_218?_218.toLowerCase():dojo.locale;_216=_216.replace(/\./g,"/");_217=_217.replace(/\./g,"/");return (/root/i.test(_218))?(_216+"/nls/"+_217):(_216+"/nls/"+_218+"/"+_217);},_219=dojo.getL10nName=function(_21a,_21b,_21c){return _21a=_20a.id+"!"+_215(_21a,_21b,_21c);},_21d=function(_21e,_21f,_220,_221,_222,load){_21e([_21f],function(root){var _223=lang.clone(root.root||root.ROOT),_224=_20d(!root._v1x&&root,_222,_220,_221);_21e(_224,function(){for(var i=1;i<_224.length;i++){_223=lang.mixin(lang.clone(_223),arguments[i]);}var _225=_21f+"/"+_222;_214[_225]=_223;_223.$locale=_224.specificity;load();});});},_226=function(id,_227){return /^\./.test(id)?_227(id):id;},_228=function(_229){var list=_209.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_229);return list;},load=function(id,_22a,load){if(has("dojo-preload-i18n-Api")){var _22b=id.split("*"),_22c=_22b[1]=="preload";if(_22c){if(!_214[id]){_214[id]=1;_22d(_22b[2],json.parse(_22b[3]),1,_22a);}load(1);}if(_22c||_22e(id,_22a,load)){return;}}var _22f=_20c.exec(id),_230=_22f[1]+"/",_231=_22f[5]||_22f[4],_232=_230+_231,_233=(_22f[5]&&_22f[4]),_234=_233||dojo.locale||"",_235=_232+"/"+_234,_236=_233?[_234]:_228(_234),_237=_236.length,_238=function(){if(!--_237){load(lang.delegate(_214[_235]));}};_208.forEach(_236,function(_239){var _23a=_232+"/"+_239;if(has("dojo-preload-i18n-Api")){_23b(_23a);}if(!_214[_23a]){_21d(_22a,_232,_230,_231,_239,_238);}else{_238();}});};if(has("dojo-unit-tests")){var _23c=_20b.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _23d=_20b.normalizeLocale=function(_23e){var _23f=_23e?_23e.toLowerCase():dojo.locale;return _23f=="root"?"ROOT":_23f;},isXd=function(mid,_240){return (1&&1)?_240.isXdUrl(_207.toUrl(mid+".js")):true;},_241=0,_242=[],_22d=_20b._preloadLocalizations=function(_243,_244,_245,_246){_246=_246||_207;function _247(mid,_248){if(isXd(mid,_246)||_245){_246([mid],_248);}else{_262([mid],_248,_246);}};function _249(_24a,func){var _24b=_24a.split("-");while(_24b.length){if(func(_24b.join("-"))){return;}_24b.pop();}func("ROOT");};function _24c(){_241++;};function _24d(){--_241;while(!_241&&_242.length){load.apply(null,_242.shift());}};function _24e(path,name,loc,_24f){return _24f.toAbsMid(path+name+"/"+loc);};function _250(_251){_251=_23d(_251);_249(_251,function(loc){if(_208.indexOf(_244,loc)>=0){var mid=_243.replace(/\./g,"/")+"_"+loc;_24c();_247(mid,function(_252){for(var p in _252){var _253=_252[p],_254=p.match(/(.+)\/([^\/]+)$/),_255,_256;if(!_254){continue;}_255=_254[2];_256=_254[1]+"/";_253._localized=_253._localized||{};var _257;if(loc==="ROOT"){var root=_257=_253._localized;delete _253._localized;root.root=_253;_214[_207.toAbsMid(p)]=root;}else{_257=_253._localized;_214[_24e(_256,_255,loc,_207)]=_253;}if(loc!==_251){function _258(_259,_25a,_25b,_25c){var _25d=[],_25e=[];_249(_251,function(loc){if(_25c[loc]){_25d.push(_207.toAbsMid(_259+loc+"/"+_25a));_25e.push(_24e(_259,_25a,loc,_207));}});if(_25d.length){_24c();_246(_25d,function(){for(var i=0;i<_25d.length;i++){_25b=lang.mixin(lang.clone(_25b),arguments[i]);_214[_25e[i]]=_25b;}_214[_24e(_259,_25a,_251,_207)]=lang.clone(_25b);_24d();});}else{_214[_24e(_259,_25a,_251,_207)]=_25b;}};_258(_256,_255,_253,_257);}}_24d();});return true;}return false;});};_250();_208.forEach(dojo.config.extraLocale,_250);},_22e=function(id,_25f,load){if(_241){_242.push([id,_25f,load]);}return _241;},_23b=function(){};}if(1){var _260={},_261=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;"+"}"),_262=function(deps,_263,_264){var _265=[];_208.forEach(deps,function(mid){var url=_264.toUrl(mid+".js");function load(text){var _266=_261(text,_23b,mid,_260);if(_266===_260){_265.push(_214[url]=_260.result);}else{if(_266 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_266);_266={};}_265.push(_214[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_266:{root:_266,_v1x:1}));}};if(_214[url]){_265.push(_214[url]);}else{var _267=_264.syncLoadNls(mid);if(!_267){_267=_23b(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_267){_265.push(_267);}else{if(!xhr){try{_264.getText(url,true,load);}catch(e){_265.push(_214[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_265.push(_214[url]={});}});}}}});_263&&_263.apply(null,_265);};_23b=function(_268){for(var _269,_26a=_268.split("/"),_26b=dojo.global[_26a[0]],i=1;_26b&&i<_26a.length-1;_26b=_26b[_26a[i++]]){}if(_26b){_269=_26b[_26a[i]];if(!_269){_269=_26b[_26a[i].replace(/-/g,"_")];}if(_269){_214[_268]=_269;}}return _269;};_20b.getLocalization=function(_26c,_26d,_26e){var _26f,_270=_215(_26c,_26d,_26e);load(_270,(!isXd(_270,_207)?function(deps,_271){_262(deps,_271,_207);}:_207),function(_272){_26f=_272;});return _26f;};if(has("dojo-unit-tests")){_23c.push(function(doh){doh.register("tests.i18n.unit",function(t){var _273;_273=_261("{prop:1}",_23b,"nonsense",_260);t.is({prop:1},_273);t.is(undefined,_273[1]);_273=_261("({prop:1})",_23b,"nonsense",_260);t.is({prop:1},_273);t.is(undefined,_273[1]);_273=_261("{'prop-x':1}",_23b,"nonsense",_260);t.is({"prop-x":1},_273);t.is(undefined,_273[1]);_273=_261("({'prop-x':1})",_23b,"nonsense",_260);t.is({"prop-x":1},_273);t.is(undefined,_273[1]);_273=_261("define({'prop-x':1})",_23b,"nonsense",_260);t.is(_260,_273);t.is({"prop-x":1},_260.result);_273=_261("define('some/module', {'prop-x':1})",_23b,"nonsense",_260);t.is(_260,_273);t.is({"prop-x":1},_260.result);_273=_261("this is total nonsense and should throw an error",_23b,"nonsense",_260);t.is(_273 instanceof Error,true);});});}}return lang.mixin(_20b,{dynamic:true,normalize:_226,load:load,cache:_214,getL10nName:_219});});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_274,lang){var _275={};lang.setObject("dojo.string",_275);_275.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("");};_275.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_275.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_275.substitute=function(_276,map,_277,_278){_278=_278||_274.global;_277=_277?lang.hitch(_278,_277):function(v){return v;};return _276.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_279,key,_27a){var _27b=lang.getObject(key,false,map);if(_27a){_27b=lang.getObject(_27a,false,_278).call(_278,_27b,key);}return _277(_27b,key).toString();});};_275.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 _275;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_27c,lang,_27d,when){return _27c("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(_27e){if(_27e){this.set(_27e);}},_get:function(name,_27f){return typeof this[_27f.g]==="function"?this[_27f.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_280){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _281=this._getAttrNames(name),_282=this._get(name,_281),_283=this[_281.s],_284;if(typeof _283==="function"){_284=_283.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_280;}if(this._watchCallbacks){var self=this;when(_284,function(){self._watchCallbacks(name,_282,_280);});}return this;},_changeAttrValue:function(name,_285){var _286=this.get(name);this[name]=_285;if(this._watchCallbacks){this._watchCallbacks(name,_286,_285);}return this;},watch:function(name,_287){var _288=this._watchCallbacks;if(!_288){var self=this;_288=this._watchCallbacks=function(name,_289,_28a,_28b){var _28c=function(_28d){if(_28d){_28d=_28d.slice();for(var i=0,l=_28d.length;i<l;i++){_28d[i].call(self,name,_289,_28a);}}};_28c(_288["_"+name]);if(!_28b){_28c(_288["*"]);}};}if(!_287&&typeof name==="function"){_287=name;name="*";}else{name="_"+name;}var _28e=_288[name];if(typeof _28e!=="object"){_28e=_288[name]=[];}_28e.push(_287);var _28f={};_28f.unwatch=_28f.remove=function(){var _290=_27d.indexOf(_28e,_287);if(_290>-1){_28e.splice(_290,1);}};return _28f;}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_291,_292){return _291("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _293=this.checked;this._set("checked",!_293);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_293);return ret;},_setCheckedAttr:function(_294,_295){this._set("checked",_294);var node=this.focusNode||this.domNode;if(this._created){if(_292.get(node,"checked")!=!!_294){_292.set(node,"checked",!!_294);}}node.setAttribute(this._aria_attr,String(_294));this._handleOnChange(_294,_295);},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);}});});},"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","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_editor*[\"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_editor",[],1);require(["dijit/Editor","dijit/_editor/_Plugin","dijit/_editor/RichText","dijit/_editor/html","dijit/_editor/range","dijit/_editor/selection"]);
}catch(e){console.log("Module 'dijit_editor_19': ",e);}
try{//>>built
define("dijit/nls/_dijit_editor_plugins_en",{"dijit/_editor/nls/FontChoice":{"noFormat":"None","1":"xx-small","2":"x-small","formatBlock":"Format","3":"small","4":"medium","5":"large","6":"x-large","7":"xx-large","_localized":{},"fantasy":"fantasy","serif":"serif","p":"Paragraph","pre":"Pre-formatted","sans-serif":"sans-serif","fontName":"Font","h1":"Heading","h2":"Subheading","h3":"Sub-subheading","monospace":"monospace","fontSize":"Size","cursive":"cursive"}});
}catch(e){console.log("Module 'dijit_editor_plugins_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/_editor/plugins/ViewSource":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/window","../../focus","../_Plugin","../../form/ToggleButton","../..","../../registry","dojo/i18n!../nls/commands"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,on,_b,_c,_d,_e,_f,_10,_11){var _12=_3("dijit._editor.plugins.ViewSource",_e,{stripScripts:true,stripComments:true,stripIFrames:true,readOnly:false,_fsPlugin:null,toggle:function(){if(_b("webkit")){this._vsFocused=true;}this.button.set("checked",!this.button.get("checked"));},_initButton:function(){var _13=_8.getLocalization("dijit._editor","commands"),_14=this.editor;this.button=new _f({label:_13["viewSource"],ownerDocument:_14.ownerDocument,dir:_14.dir,lang:_14.lang,showLabel:false,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+"ViewSource",tabIndex:"-1",onChange:_a.hitch(this,"_showSource")});if(_b("ie")==7){this._ieFixNode=_5.create("div",{style:{opacity:"0",zIndex:"-1000",position:"absolute",top:"-1000px"}},_14.ownerDocumentBody);}this.button.set("readOnly",false);},setEditor:function(_15){this.editor=_15;this._initButton();this.editor.addKeyHandler(_9.F12,true,true,_a.hitch(this,function(e){this.button.focus();this.toggle();e.stopPropagation();e.preventDefault();setTimeout(_a.hitch(this,function(){if(this.editor.focused){this.editor.focus();}}),100);}));},_showSource:function(_16){var ed=this.editor;var _17=ed._plugins;var _18;this._sourceShown=_16;var _19=this;try{if(!this.sourceArea){this._createSourceView();}if(_16){ed._sourceQueryCommandEnabled=ed.queryCommandEnabled;ed.queryCommandEnabled=function(cmd){return cmd.toLowerCase()==="viewsource";};this.editor.onDisplayChanged();_18=ed.get("value");_18=this._filter(_18);ed.set("value",_18);_1.forEach(_17,function(p){if(p&&!(p instanceof _12)&&p.isInstanceOf(_e)){p.set("disabled",true);}});if(this._fsPlugin){this._fsPlugin._getAltViewNode=function(){return _19.sourceArea;};}this.sourceArea.value=_18;this.sourceArea.style.height=ed.iframe.style.height;this.sourceArea.style.width=ed.iframe.style.width;_7.set(ed.iframe,"display","none");_7.set(this.sourceArea,{display:"block"});var _1a=function(){var vp=_c.getBox(ed.ownerDocument);if("_prevW" in this&&"_prevH" in this){if(vp.w===this._prevW&&vp.h===this._prevH){return;}else{this._prevW=vp.w;this._prevH=vp.h;}}else{this._prevW=vp.w;this._prevH=vp.h;}if(this._resizer){clearTimeout(this._resizer);delete this._resizer;}this._resizer=setTimeout(_a.hitch(this,function(){delete this._resizer;this._resize();}),10);};this._resizeHandle=on(window,"resize",_a.hitch(this,_1a));setTimeout(_a.hitch(this,this._resize),100);this.editor.onNormalizedDisplayChanged();this.editor.__oldGetValue=this.editor.getValue;this.editor.getValue=_a.hitch(this,function(){var txt=this.sourceArea.value;txt=this._filter(txt);return txt;});this._setListener=_2.after(this.editor,"setValue",_a.hitch(this,function(_1b){_1b=_1b||"";_1b=this._filter(_1b);this.sourceArea.value=_1b;}),true);}else{if(!ed._sourceQueryCommandEnabled){return;}this._setListener.remove();delete this._setListener;this._resizeHandle.remove();delete this._resizeHandle;if(this.editor.__oldGetValue){this.editor.getValue=this.editor.__oldGetValue;delete this.editor.__oldGetValue;}ed.queryCommandEnabled=ed._sourceQueryCommandEnabled;if(!this._readOnly){_18=this.sourceArea.value;_18=this._filter(_18);ed.beginEditing();ed.set("value",_18);ed.endEditing();}_1.forEach(_17,function(p){if(p&&p.isInstanceOf(_e)){p.set("disabled",false);}});_7.set(this.sourceArea,"display","none");_7.set(ed.iframe,"display","block");delete ed._sourceQueryCommandEnabled;this.editor.onDisplayChanged();}setTimeout(_a.hitch(this,function(){var _1c=ed.domNode.parentNode;if(_1c){var _1d=_11.getEnclosingWidget(_1c);if(_1d&&_1d.resize){_1d.resize();}}ed.resize();}),300);}catch(e){}},updateState:function(){this.button.set("disabled",this.get("disabled"));},_resize:function(){var ed=this.editor;var tbH=ed.getHeaderHeight();var fH=ed.getFooterHeight();var eb=_6.position(ed.domNode);var _1e=_6.getPadBorderExtents(ed.iframe.parentNode);var _1f=_6.getMarginExtents(ed.iframe.parentNode);var _20=_6.getPadBorderExtents(ed.domNode);var edb={w:eb.w-_20.w,h:eb.h-(tbH+_20.h+fH)};if(this._fsPlugin&&this._fsPlugin.isFullscreen){var vp=_c.getBox(ed.ownerDocument);edb.w=(vp.w-_20.w);edb.h=(vp.h-(tbH+_20.h+fH));}if(_b("ie")){edb.h-=2;}if(this._ieFixNode){var _21=-this._ieFixNode.offsetTop/1000;edb.w=Math.floor((edb.w+0.9)/_21);edb.h=Math.floor((edb.h+0.9)/_21);}_6.setMarginBox(this.sourceArea,{w:edb.w-(_1e.w+_1f.w),h:edb.h-(_1e.h+_1f.h)});_6.setMarginBox(ed.iframe.parentNode,{h:edb.h});},_createSourceView:function(){var ed=this.editor;var _22=ed._plugins;this.sourceArea=_5.create("textarea");if(this.readOnly){_4.set(this.sourceArea,"readOnly",true);this._readOnly=true;}_7.set(this.sourceArea,{padding:"0px",margin:"0px",borderWidth:"0px",borderStyle:"none"});_4.set(this.sourceArea,"aria-label",this.editor.id);_5.place(this.sourceArea,ed.iframe,"before");if(_b("ie")&&ed.iframe.parentNode.lastChild!==ed.iframe){_7.set(ed.iframe.parentNode.lastChild,{width:"0px",height:"0px",padding:"0px",margin:"0px",borderWidth:"0px",borderStyle:"none"});}ed._viewsource_oldFocus=ed.focus;var _23=this;ed.focus=function(){if(_23._sourceShown){_23.setSourceAreaCaret();}else{try{if(this._vsFocused){delete this._vsFocused;_d.focus(ed.editNode);}else{ed._viewsource_oldFocus();}}catch(e){}}};var i,p;for(i=0;i<_22.length;i++){p=_22[i];if(p&&(p.declaredClass==="dijit._editor.plugins.FullScreen"||p.declaredClass===(_10._scopeName+"._editor.plugins.FullScreen"))){this._fsPlugin=p;break;}}if(this._fsPlugin){this._fsPlugin._viewsource_getAltViewNode=this._fsPlugin._getAltViewNode;this._fsPlugin._getAltViewNode=function(){return _23._sourceShown?_23.sourceArea:this._viewsource_getAltViewNode();};}this.own(on(this.sourceArea,"keydown",_a.hitch(this,function(e){if(this._sourceShown&&e.keyCode==_9.F12&&e.ctrlKey&&e.shiftKey){this.button.focus();this.button.set("checked",false);setTimeout(_a.hitch(this,function(){ed.focus();}),100);e.stopPropagation();e.preventDefault();}})));},_stripScripts:function(_24){if(_24){_24=_24.replace(/<\s*script[^>]*>((.|\s)*?)<\\?\/\s*script\s*>/ig,"");_24=_24.replace(/<\s*script\b([^<>]|\s)*>?/ig,"");_24=_24.replace(/<[^>]*=(\s|)*[("|')]javascript:[^$1][(\s|.)]*[$1][^>]*>/ig,"");}return _24;},_stripComments:function(_25){if(_25){_25=_25.replace(/<!--(.|\s){1,}?-->/g,"");}return _25;},_stripIFrames:function(_26){if(_26){_26=_26.replace(/<\s*iframe[^>]*>((.|\s)*?)<\\?\/\s*iframe\s*>/ig,"");}return _26;},_filter:function(_27){if(_27){if(this.stripScripts){_27=this._stripScripts(_27);}if(this.stripComments){_27=this._stripComments(_27);}if(this.stripIFrames){_27=this._stripIFrames(_27);}}return _27;},setSourceAreaCaret:function(){var _28=this.sourceArea;_d.focus(_28);if(this._sourceShown&&!this.readOnly){if(_28.setSelectionRange){_28.setSelectionRange(0,0);}else{if(this.sourceArea.createTextRange){var _29=_28.createTextRange();_29.collapse(true);_29.moveStart("character",-99999);_29.moveStart("character",0);_29.moveEnd("character",0);_29.select();}}}},destroy:function(){if(this._ieFixNode){_5.destroy(this._ieFixNode);}if(this._resizer){clearTimeout(this._resizer);delete this._resizer;}if(this._resizeHandle){this._resizeHandle.remove();delete this._resizeHandle;}if(this._setListener){this._setListener.remove();delete this._setListener;}this.inherited(arguments);}});_e.registry["viewSource"]=_e.registry["viewsource"]=function(_2a){return new _12({readOnly:("readOnly" in _2a)?_2a.readOnly:false,stripComments:("stripComments" in _2a)?_2a.stripComments:true,stripScripts:("stripScripts" in _2a)?_2a.stripScripts:true,stripIFrames:("stripIFrames" in _2a)?_2a.stripIFrames:true});};return _12;});},"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(_2b,_2c,_2d,dom,_2e,_2f,_30,_31,has,_32,_33,on,_34,_35,_36,_37){function _38(){if(this._popupWrapper){_2f.destroy(this._popupWrapper);delete this._popupWrapper;}};var _39=_2d(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _3a=this._firstAroundPosition,_3b=_30.position(this._firstAroundNode,true),dx=_3b.x-_3a.x,dy=_3b.y-_3a.y;if(dx||dy){this._firstAroundPosition=_3b;for(var i=0;i<this._stack.length;i++){var _3c=this._stack[i].wrapper.style;_3c.top=(parseInt(_3c.top,10)+dy)+"px";if(_3c.right=="auto"){_3c.left=(parseInt(_3c.left,10)+dx)+"px";}else{_3c.right=(parseInt(_3c.right,10)-dx)+"px";}}}this._aroundMoveListener=setTimeout(_33.hitch(this,"_repositionAll"),dx||dy?10:50);}},_createWrapper:function(_3d){var _3e=_3d._popupWrapper,_3f=_3d.domNode;if(!_3e){_3e=_2f.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_3d["aria-label"]||_3d.label||_3d.name||_3d.id},_3d.ownerDocumentBody);_3e.appendChild(_3f);var s=_3f.style;s.display="";s.visibility="";s.position="";s.top="0px";_3d._popupWrapper=_3e;_2c.after(_3d,"destroy",_38,true);}return _3e;},moveOffScreen:function(_40){var _41=this._createWrapper(_40);var ltr=_30.isBodyLtr(_40.ownerDocument),_42={visibility:"hidden",top:"-9999px",display:""};_42[ltr?"left":"right"]="-9999px";_42[ltr?"right":"left"]="auto";_31.set(_41,_42);return _41;},hide:function(_43){var _44=this._createWrapper(_43);_31.set(_44,{display:"none",height:"auto",overflow:"visible",border:""});var _45=_43.domNode;if("_originalStyle" in _45){_45.style.cssText=_45._originalStyle;}},getTopPopup:function(){var _46=this._stack;for(var pi=_46.length-1;pi>0&&_46[pi].parent===_46[pi-1].widget;pi--){}return _46[pi];},open:function(_47){var _48=this._stack,_49=_47.popup,_4a=_49.domNode,_4b=_47.orient||["below","below-alt","above","above-alt"],ltr=_47.parent?_47.parent.isLeftToRight():_30.isBodyLtr(_49.ownerDocument),_4c=_47.around,id=(_47.around&&_47.around.id)?(_47.around.id+"_dropdown"):("popup_"+this._idGen++);while(_48.length&&(!_47.parent||!dom.isDescendant(_47.parent.domNode,_48[_48.length-1].widget.domNode))){this.close(_48[_48.length-1].widget);}var _4d=this.moveOffScreen(_49);if(_49.startup&&!_49._started){_49.startup();}var _4e,_4f=_30.position(_4a);if("maxHeight" in _47&&_47.maxHeight!=-1){_4e=_47.maxHeight||Infinity;}else{var _50=_36.getEffectiveBox(this.ownerDocument),_51=_4c?_30.position(_4c,false):{y:_47.y-(_47.padding||0),h:(_47.padding||0)*2};_4e=Math.floor(Math.max(_51.y,_50.h-(_51.y+_51.h)));}if(_4f.h>_4e){var cs=_31.getComputedStyle(_4a),_52=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_31.set(_4d,{overflowY:"scroll",height:_4e+"px",border:_52});_4a._originalStyle=_4a.style.cssText;_4a.style.border="none";}_2e.set(_4d,{id:id,style:{zIndex:this._beginZIndex+_48.length},"class":"dijitPopup "+(_49.baseClass||_49["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_47.parent?_47.parent.id:""});if(_48.length==0&&_4c){this._firstAroundNode=_4c;this._firstAroundPosition=_30.position(_4c,true);this._aroundMoveListener=setTimeout(_33.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_49.bgIframe){_49.bgIframe=new _35(_4d);}var _53=_49.orient?_33.hitch(_49,"orient"):null,_54=_4c?_34.around(_4d,_4c,_4b,ltr,_53):_34.at(_4d,_47,_4b=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_47.padding,_53);_4d.style.visibility="visible";_4a.style.visibility="visible";var _55=[];_55.push(on(_4d,"keydown",_33.hitch(this,function(evt){if(evt.keyCode==_32.ESCAPE&&_47.onCancel){evt.stopPropagation();evt.preventDefault();_47.onCancel();}else{if(evt.keyCode==_32.TAB){evt.stopPropagation();evt.preventDefault();var _56=this.getTopPopup();if(_56&&_56.onCancel){_56.onCancel();}}}})));if(_49.onCancel&&_47.onCancel){_55.push(_49.on("cancel",_47.onCancel));}_55.push(_49.on(_49.onExecute?"execute":"change",_33.hitch(this,function(){var _57=this.getTopPopup();if(_57&&_57.onExecute){_57.onExecute();}})));_48.push({widget:_49,wrapper:_4d,parent:_47.parent,onExecute:_47.onExecute,onCancel:_47.onCancel,onClose:_47.onClose,handlers:_55});if(_49.onOpen){_49.onOpen(_54);}return _54;},close:function(_58){var _59=this._stack;while((_58&&_2b.some(_59,function(_5a){return _5a.widget==_58;}))||(!_58&&_59.length)){var top=_59.pop(),_5b=top.widget,_5c=top.onClose;if(_5b.onClose){_5b.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_5b&&_5b.domNode){this.hide(_5b);}if(_5c){_5c();}}if(_59.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_37.popup=new _39());});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_5d,dom,_5e,_5f,_60,has,_61){var _62;var _63={_isElementShown:function(_64){var s=_5f.get(_64);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_5e.get(_64,"type")!="hidden");},hasDefaultTabStop:function(_65){switch(_65.nodeName.toLowerCase()){case "a":return _5e.has(_65,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _66;try{var _67=_65.contentDocument;if("designMode" in _67&&_67.designMode=="on"){return true;}_66=_67.body;}catch(e1){try{_66=_65.contentWindow.document.body;}catch(e2){return false;}}return _66&&(_66.contentEditable=="true"||(_66.firstChild&&_66.firstChild.contentEditable=="true"));default:return _65.contentEditable=="true";}},effectiveTabIndex:function(_68){if(_5e.get(_68,"disabled")){return _62;}else{if(_5e.has(_68,"tabIndex")){return +_5e.get(_68,"tabIndex");}else{return _63.hasDefaultTabStop(_68)?0:_62;}}},isTabNavigable:function(_69){return _63.effectiveTabIndex(_69)>=0;},isFocusable:function(_6a){return _63.effectiveTabIndex(_6a)>=-1;},_getTabNavigable:function(_6b){var _6c,_6d,_6e,_6f,_70,_71,_72={};function _73(_74){return _74&&_74.tagName.toLowerCase()=="input"&&_74.type&&_74.type.toLowerCase()=="radio"&&_74.name&&_74.name.toLowerCase();};var _75=_63._isElementShown,_76=_63.effectiveTabIndex;var _77=function(_78){for(var _79=_78.firstChild;_79;_79=_79.nextSibling){if(_79.nodeType!=1||(has("ie")<=9&&_79.scopeName!=="HTML")||!_75(_79)){continue;}var _7a=_76(_79);if(_7a>=0){if(_7a==0){if(!_6c){_6c=_79;}_6d=_79;}else{if(_7a>0){if(!_6e||_7a<_6f){_6f=_7a;_6e=_79;}if(!_70||_7a>=_71){_71=_7a;_70=_79;}}}var rn=_73(_79);if(_5e.get(_79,"checked")&&rn){_72[rn]=_79;}}if(_79.nodeName.toUpperCase()!="SELECT"){_77(_79);}}};if(_75(_6b)){_77(_6b);}function rs(_7b){return _72[_73(_7b)]||_7b;};return {first:rs(_6c),last:rs(_6d),lowest:rs(_6e),highest:rs(_70)};},getFirstInTabbingOrder:function(_7c,doc){var _7d=_63._getTabNavigable(dom.byId(_7c,doc));return _7d.lowest?_7d.lowest:_7d.first;},getLastInTabbingOrder:function(_7e,doc){var _7f=_63._getTabNavigable(dom.byId(_7e,doc));return _7f.last?_7f.last:_7f.highest;}};1&&_60.mixin(_61,_63);return _63;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_80,on,_81,has,_82){var _83=new _80();var _84;_81(function(){var _85=_82.getBox();_83._rlh=on(window,"resize",function(){var _86=_82.getBox();if(_85.h==_86.h&&_85.w==_86.w){return;}_85=_86;_83.emit("resize");});if(has("ie")==8){var _87=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_87){_87=screen.deviceXDPI;_83.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_84=evt.target;});on(document,"focusout",function(evt){_84=null;});}});_83.getEffectiveBox=function(doc){var box=_82.getBox(doc);var tag=_84&&_84.tagName&&_84.tagName.toLowerCase();if(has("ios")&&_84&&!_84.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_84.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var _88=_84.getBoundingClientRect();box.h=Math.max(box.h,_88.top+_88.height);}return box;};return _83;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_89,_8a,_8b,_8c,has,_8d,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("+(_8a.blankGif||_89.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_8c.getComputedStyle(div),_8e=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_8e&&(_8e=="none"||_8e=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_8d(function(){if(has("highcontrast")){_8b.add(win.body(),"dj_a11y");}});return has;});},"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(_8f,_90,_91,_92,_93,_94,dom,_95,_96,_97,_98,_99,has,_9a,_9b,on,_9c,_9d,_9e,win,_9f,_a0,_a1){has.add("dijit-legacy-requires",!_9a.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_9c(0,function(){var _a2=["dijit/_base/manager"];_8f(_a2);});}var _a3={};function _a4(obj){var ret={};for(var _a5 in obj){ret[_a5.toLowerCase()]=true;}return ret;};function _a6(_a7){return function(val){_95[val?"set":"remove"](this.domNode,_a7,val);this._set(_a7,val);};};function _a8(a,b){return a===b||(a!==a&&b!==b);};var _a9=_94("dijit._WidgetBase",[_9d,_9f],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_a6("lang"),dir:"",_setDirAttr:_a6("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:_92.blankGif||_8f.toUrl("dojo/resources/blank.gif"),_introspect:function(){var _aa=this.constructor;if(!_aa._setterAttrs){var _ab=_aa.prototype,_ac=_aa._setterAttrs=[],_ad=(_aa._onMap={});for(var _ae in _ab.attributeMap){_ac.push(_ae);}for(_ae in _ab){if(/^on/.test(_ae)){_ad[_ae.substring(2).toLowerCase()]=_ae;}if(/^_set[A-Z](.*)Attr$/.test(_ae)){_ae=_ae.charAt(4).toLowerCase()+_ae.substr(5,_ae.length-9);if(!_ab.attributeMap||!(_ae in _ab.attributeMap)){_ac.push(_ae);}}}}},postscript:function(_af,_b0){this.create(_af,_b0);},create:function(_b1,_b2){this._introspect();this.srcNodeRef=dom.byId(_b2);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_b1){this.params=_b1;_9b.mixin(this,_b1);}this.postMixInProperties();if(!this.id){this.id=_a1.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);_a1.add(this);this.buildRendering();var _b3;if(this.domNode){this._applyAttributes();var _b4=this.srcNodeRef;if(_b4&&_b4.parentNode&&this.domNode!==_b4){_b4.parentNode.replaceChild(this.domNode,_b4);_b3=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_b3){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _b5={};for(var key in this.params||{}){_b5[key]=this._get(key);}_90.forEach(this.constructor._setterAttrs,function(key){if(!(key in _b5)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _b5){this.set(key,_b5[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _b6=this.baseClass.split(" ");if(!this.isLeftToRight()){_b6=_b6.concat(_90.map(_b6,function(_b7){return _b7+"Rtl";}));}_96.add(this.domNode,_b6);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_90.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_9b.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_b8){this._beingDestroyed=true;this.destroyDescendants(_b8);this.destroy(_b8);},destroy:function(_b9){this._beingDestroyed=true;this.uninitialize();function _ba(w){if(w.destroyRecursive){w.destroyRecursive(_b9);}else{if(w.destroy){w.destroy(_b9);}}};_90.forEach(this._connects,_9b.hitch(this,"disconnect"));_90.forEach(this._supportingWidgets,_ba);if(this.domNode){_90.forEach(_a1.findWidgets(this.domNode,this.containerNode),_ba);}this.destroyRendering(_b9);_a1.remove(this.id);this._destroyed=true;},destroyRendering:function(_bb){if(this.bgIframe){this.bgIframe.destroy(_bb);delete this.bgIframe;}if(this.domNode){if(_bb){_95.remove(this.domNode,"widgetId");}else{_97.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_bb){_97.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_bc){_90.forEach(this.getChildren(),function(_bd){if(_bd.destroyRecursive){_bd.destroyRecursive(_bc);}});},uninitialize:function(){return false;},_setStyleAttr:function(_be){var _bf=this.domNode;if(_9b.isObject(_be)){_99.set(_bf,_be);}else{if(_bf.style.cssText){_bf.style.cssText+="; "+_be;}else{_bf.style.cssText=_be;}}this._set("style",_be);},_attrToDom:function(_c0,_c1,_c2){_c2=arguments.length>=3?_c2:this.attributeMap[_c0];_90.forEach(_9b.isArray(_c2)?_c2:[_c2],function(_c3){var _c4=this[_c3.node||_c3||"domNode"];var _c5=_c3.type||"attribute";switch(_c5){case "attribute":if(_9b.isFunction(_c1)){_c1=_9b.hitch(this,_c1);}var _c6=_c3.attribute?_c3.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_c0)?_c0.toLowerCase():_c0);if(_c4.tagName){_95.set(_c4,_c6,_c1);}else{_c4.set(_c6,_c1);}break;case "innerText":_c4.innerHTML="";_c4.appendChild(this.ownerDocument.createTextNode(_c1));break;case "innerHTML":_c4.innerHTML=_c1;break;case "class":_96.replace(_c4,_c1,this[_c0]);break;}},this);},get:function(_c7){var _c8=this._getAttrNames(_c7);return this[_c8.g]?this[_c8.g]():this._get(_c7);},set:function(_c9,_ca){if(typeof _c9==="object"){for(var x in _c9){this.set(x,_c9[x]);}return this;}var _cb=this._getAttrNames(_c9),_cc=this[_cb.s];if(_9b.isFunction(_cc)){var _cd=_cc.apply(this,Array.prototype.slice.call(arguments,1));}else{var _ce=this.focusNode&&!_9b.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_ce]&&this[_ce].tagName,_cf=tag&&(_a3[tag]||(_a3[tag]=_a4(this[_ce]))),map=_c9 in this.attributeMap?this.attributeMap[_c9]:_cb.s in this?this[_cb.s]:((_cf&&_cb.l in _cf&&typeof _ca!="function")||/^aria-|^data-|^role$/.test(_c9))?_ce:null;if(map!=null){this._attrToDom(_c9,_ca,map);}this._set(_c9,_ca);}return _cd||this;},_attrPairNames:{},_getAttrNames:function(_d0){var apn=this._attrPairNames;if(apn[_d0]){return apn[_d0];}var uc=_d0.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_d0]={n:_d0+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_d1,_d2){var _d3=this[_d1];this[_d1]=_d2;if(this._created&&!_a8(_d3,_d2)){if(this._watchCallbacks){this._watchCallbacks(_d1,_d3,_d2);}this.emit("attrmodified-"+_d1,{detail:{prevValue:_d3,newValue:_d2}});}},_get:function(_d4){return this[_d4];},emit:function(_d5,_d6,_d7){_d6=_d6||{};if(_d6.bubbles===undefined){_d6.bubbles=true;}if(_d6.cancelable===undefined){_d6.cancelable=true;}if(!_d6.detail){_d6.detail={};}_d6.detail.widget=this;var ret,_d8=this["on"+_d5];if(_d8){ret=_d8.apply(this,_d7?_d7:[_d6]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,_d5.toLowerCase(),_d6);}return ret;},on:function(_d9,_da){var _db=this._onMap(_d9);if(_db){return _91.after(this,_db,_da,true);}return this.own(on(this.domNode,_d9,_da))[0];},_onMap:function(_dc){var _dd=this.constructor,map=_dd._onMap;if(!map){map=(_dd._onMap={});for(var _de in _dd.prototype){if(/^on/.test(_de)){map[_de.replace(/^on/,"").toLowerCase()]=_de;}}}return map[typeof _dc=="string"&&_dc.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_a1.findWidgets(this.containerNode):[];},getParent:function(){return _a1.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_df,_e0){return this.own(_93.connect(obj,_df,this,_e0))[0];},disconnect:function(_e1){_e1.remove();},subscribe:function(t,_e2){return this.own(_9e.subscribe(t,_9b.hitch(this,_e2)))[0];},unsubscribe:function(_e3){_e3.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_98.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_99.get(this.domNode,"display")!="none");},placeAt:function(_e4,_e5){var _e6=!_e4.tagName&&_a1.byId(_e4);if(_e6&&_e6.addChild&&(!_e5||typeof _e5==="number")){_e6.addChild(this,_e5);}else{var ref=_e6?(_e6.containerNode&&!/after|before|replace/.test(_e5||"")?_e6.containerNode:_e6.domNode):dom.byId(_e4,this.ownerDocument);_97.place(this.domNode,ref,_e5);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_e7){var _e8=setTimeout(_9b.hitch(this,function(){if(!_e8){return;}_e8=null;if(!this._destroyed){_9b.hitch(this,fcn)();}}),_e7||0);return {remove:function(){if(_e8){clearTimeout(_e8);_e8=null;}return null;}};}});if(has("dojo-bidi")){_a9.extend(_a0);}return _a9;});},"dijit/_editor/plugins/TextColor":function(){define(["require","dojo/colors","dojo/_base/declare","dojo/_base/lang","../_Plugin","../../form/DropDownButton"],function(_e9,_ea,_eb,_ec,_ed,_ee){var _ef=_eb("dijit._editor.plugins.TextColor",_ed,{buttonClass:_ee,useDefaultCommand:false,_initButton:function(){this.inherited(arguments);var _f0=this;this.button.loadDropDown=function(_f1){_e9(["../../ColorPalette"],_ec.hitch(this,function(_f2){this.dropDown=new _f2({dir:_f0.editor.dir,ownerDocument:_f0.editor.ownerDocument,value:_f0.value,onChange:function(_f3){_f0.editor.execCommand(_f0.command,_f3);}});_f1();}));};},updateState:function(){var _f4=this.editor;var _f5=this.command;if(!_f4||!_f4.isLoaded||!_f5.length){return;}if(this.button){var _f6=this.get("disabled");this.button.set("disabled",_f6);if(_f6){return;}var _f7;try{_f7=_f4.queryCommandValue(_f5)||"";}catch(e){_f7="";}}if(_f7==""){_f7="#000000";}if(_f7=="transparent"){_f7="#ffffff";}if(typeof _f7=="string"){if(_f7.indexOf("rgb")>-1){_f7=_ea.fromRgb(_f7).toHex();}}else{_f7=((_f7&255)<<16)|(_f7&65280)|((_f7&16711680)>>>16);_f7=_f7.toString(16);_f7="#000000".slice(0,7-_f7.length)+_f7;}this.value=_f7;var _f8=this.button.dropDown;if(_f8&&_f7!==_f8.get("value")){_f8.set("value",_f7,false);}}});_ed.registry["foreColor"]=function(){return new _ef({command:"foreColor"});};_ed.registry["hiliteColor"]=function(){return new _ef({command:"hiliteColor"});};return _ef;});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_f9,_fa,_fb,_fc,on,has,_fd){return _f9("dijit.form._FormValueMixin",_fd,{readOnly:false,_setReadOnlyAttr:function(_fe){_fa.set(this.focusNode,"readOnly",_fe);this._set("readOnly",_fe);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_ff,_100){this._handleOnChange(_ff,_100);},_handleOnChange:function(_101,_102){this._set("value",_101);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(_103,_104,_105,lang,_106){return _105("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;}_106.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(_107){this._startupWidgets=_107;for(var i=0;i<_107.length;i++){this._processTemplateNode(_107[i],function(n,p){return n[p];},function(_108,type,_109){if(type in _108){return _108.connect(_108,type,_109);}else{return _108.on(type,_109,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(_10a,_10b,_10c){if(_10b(_10a,"dojoType")||_10b(_10a,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_103.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(_10d,_10e,dom,_10f,has,lang,on,_110,_111,win,_112,_113){var _114=_10e("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_10d.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(_115){if(!this.disabled){switch(_115.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 _116=this.baseClass.split(" ");function _117(_118){_116=_116.concat(_10d.map(_116,function(c){return c+_118;}),"dijit"+_118);};if(!this.isLeftToRight()){_117("Rtl");}var _119=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_117(_119);}if(this.state){_117(this.state);}if(this.selected){_117("Selected");}if(this._opened){_117("Opened");}if(this.disabled){_117("Disabled");}else{if(this.readOnly){_117("ReadOnly");}else{if(this.active){_117("Active");}else{if(this.hovering){_117("Hover");}}}}if(this.focused){_117("Focused");}var tn=this.stateNode||this.domNode,_11a={};_10d.forEach(tn.className.split(" "),function(c){_11a[c]=true;});if("_stateClasses" in this){_10d.forEach(this._stateClasses,function(c){delete _11a[c];});}_10d.forEach(_116,function(c){_11a[c]=true;});var _11b=[];for(var c in _11a){_11b.push(c);}tn.className=_11b.join(" ");this._stateClasses=_116;},_subnodeCssMouseEvent:function(node,_11c,evt){if(this.disabled||this.readOnly){return;}function _11d(_11e){_10f.toggle(node,_11c+"Hover",_11e);};function _11f(_120){_10f.toggle(node,_11c+"Active",_120);};function _121(_122){_10f.toggle(node,_11c+"Focused",_122);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_11d(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_11d(false);_11f(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_11f(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_11f(false);break;case "focus":case "focusin":_121(true);break;case "blur":case "focusout":_121(false);break;}},_trackMouseState:function(node,_123){node._cssState=_123;}});_110(function(){function _124(evt,_125,_126){if(_126&&dom.isDescendant(_126,_125)){return;}for(var node=_125;node&&node!=_126;node=node.parentNode){if(node._cssState){var _127=_113.getEnclosingWidget(node);if(_127){if(node==_127.domNode){_127._cssMouseEvent(evt);}else{_127._subnodeCssMouseEvent(node,node._cssState,evt);}}}}};var body=win.body(),_128;on(body,_111.over,function(evt){_124(evt,evt.target,evt.relatedTarget);});on(body,_111.out,function(evt){_124(evt,evt.target,evt.relatedTarget);});on(body,_112.press,function(evt){_128=evt.target;_124(evt,_128);});on(body,_112.release,function(evt){_124(evt,_128);_128=null;});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _129=_113.getEnclosingWidget(node);if(_129){_129._subnodeCssMouseEvent(node,node._cssState,evt);}}});});return _114;});},"dijit/_editor/plugins/Print":function(){define(["dojo/_base/declare","dojo/i18n","dojo/_base/lang","dojo/sniff","../../focus","../_Plugin","../../form/Button","dojo/i18n!../nls/commands"],function(_12a,i18n,lang,has,_12b,_12c,_12d){var _12e=_12a("dijit._editor.plugins.Print",_12c,{_initButton:function(){var _12f=i18n.getLocalization("dijit._editor","commands"),_130=this.editor;this.button=new _12d({label:_12f["print"],ownerDocument:_130.ownerDocument,dir:_130.dir,lang:_130.lang,showLabel:false,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+"Print",tabIndex:"-1",onClick:lang.hitch(this,"_print")});},setEditor:function(_131){this.editor=_131;this._initButton();this.editor.onLoadDeferred.then(lang.hitch(this,function(){if(!this.editor.iframe.contentWindow["print"]){this.button.set("disabled",true);}}));},updateState:function(){var _132=this.get("disabled");if(!this.editor.iframe.contentWindow["print"]){_132=true;}this.button.set("disabled",_132);},_print:function(){var _133=this.editor.iframe;if(_133.contentWindow["print"]){if(!has("opera")&&!has("chrome")){_12b.focus(_133);_133.contentWindow.print();}else{var _134=this.editor.document;var _135=this.editor.get("value");_135="<html><head><meta http-equiv='Content-Type' "+"content='text/html; charset='UTF-8'></head><body>"+_135+"</body></html>";var win=window.open("javascript: ''","","status=0,menubar=0,location=0,toolbar=0,"+"width=1,height=1,resizable=0,scrollbars=0");win.document.open();win.document.write(_135);win.document.close();var _136=_134.getElementsByTagName("style");if(_136){var i;for(i=0;i<_136.length;i++){var _137=_136[i].innerHTML;var _138=win.document.createElement("style");_138.appendChild(win.document.createTextNode(_137));win.document.getElementsByTagName("head")[0].appendChild(_138);}}win.print();win.close();}}}});_12c.registry["print"]=function(){return new _12e({command:"print"});};return _12e;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_139,_13a,lang,_13b,_13c){var _13d={};_139.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_13d[name]=_13b[name];});lang.mixin(_13d,{defaultDuration:_13a["defaultDuration"]||200});lang.mixin(_13c,_13d);return _13c;});},"dijit/_editor/plugins/AlwaysShowToolbar":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","../_Plugin"],function(_13e,_13f,_140,_141,lang,on,has,win,_142){return _13e("dijit._editor.plugins.AlwaysShowToolbar",_142,{_handleScroll:true,setEditor:function(e){if(!e.iframe){return;}this.editor=e;e.onLoadDeferred.then(lang.hitch(this,this.enable));},enable:function(d){this._updateHeight();this.own(on(window,"scroll",lang.hitch(this,"globalOnScrollHandler")),this.editor.on("NormalizedDisplayChanged",lang.hitch(this,"_updateHeight")));return d;},_updateHeight:function(){var e=this.editor;if(!e.isLoaded){return;}if(e.height){return;}var _143=_141.getMarginSize(e.editNode).h;if(has("opera")){_143=e.editNode.scrollHeight;}if(!_143){_143=_141.getMarginSize(e.document.body).h;}if(this._fixEnabled){_143+=_141.getMarginSize(this.editor.header).h;}if(_143==0){return;}if(has("ie")<=7&&this.editor.minHeight){var min=parseInt(this.editor.minHeight);if(_143<min){_143=min;}}if(_143!=this._lastHeight){this._lastHeight=_143;_141.setMarginBox(e.iframe,{h:this._lastHeight});}},_lastHeight:0,globalOnScrollHandler:function(){var _144=has("ie")<7;if(!this._handleScroll){return;}var tdn=this.editor.header;if(!this._scrollSetUp){this._scrollSetUp=true;this._scrollThreshold=_141.position(tdn,true).y;}var _145=_141.docScroll(this.editor.ownerDocument).y;var s=tdn.style;if(_145>this._scrollThreshold&&_145<this._scrollThreshold+this._lastHeight){if(!this._fixEnabled){var _146=_141.getMarginSize(tdn);this.editor.iframe.style.marginTop=_146.h+"px";if(_144){s.left=_141.position(tdn).x;if(tdn.previousSibling){this._IEOriginalPos=["after",tdn.previousSibling];}else{if(tdn.nextSibling){this._IEOriginalPos=["before",tdn.nextSibling];}else{this._IEOriginalPos=["last",tdn.parentNode];}}this.editor.ownerDocumentBody.appendChild(tdn);_13f.add(tdn,"dijitIEFixedToolbar");}else{s.position="fixed";s.top="0px";}_141.setMarginBox(tdn,{w:_146.w});s.zIndex=2000;this._fixEnabled=true;}var _147=(this.height)?parseInt(this.editor.height):this.editor._lastHeight;s.display=(_145>this._scrollThreshold+_147)?"none":"";}else{if(this._fixEnabled){this.editor.iframe.style.marginTop="";s.position="";s.top="";s.zIndex="";s.display="";if(_144){s.left="";_13f.remove(tdn,"dijitIEFixedToolbar");if(this._IEOriginalPos){_140.place(tdn,this._IEOriginalPos[1],this._IEOriginalPos[0]);this._IEOriginalPos=null;}else{_140.place(tdn,this.editor.iframe,"before");}}s.width="";this._fixEnabled=false;}}},destroy:function(){this._IEOriginalPos=null;this._handleScroll=false;this.inherited(arguments);if(has("ie")<7){_13f.remove(this.editor.header,"dijitIEFixedToolbar");}}});});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_148,_149,_14a,_14b,_14c,lang,on,has){has.add("config-bgIframe",!has("touch"));var _14d=new function(){var _14e=[];this.pop=function(){var _14f;if(_14e.length){_14f=_14e.pop();_14f.style.display="";}else{if(has("ie")<9){var burl=_14a["dojoBlankHtmlUrl"]||_148.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\");'>";_14f=document.createElement(html);}else{_14f=_14b.create("iframe");_14f.src="javascript:\"\"";_14f.className="dijitBackgroundIframe";_14f.setAttribute("role","presentation");_14c.set(_14f,"opacity",0.1);}_14f.tabIndex=-1;}return _14f;};this.push=function(_150){_150.style.display="none";_14e.push(_150);};}();_149.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _151=(this.iframe=_14d.pop());node.appendChild(_151);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_14c.set(_151,{width:"100%",height:"100%"});}}};lang.extend(_149.BackgroundIframe,{resize:function(node){if(this.iframe){_14c.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){_14d.push(this.iframe);delete this.iframe;}}});return _149.BackgroundIframe;});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(lang,_152){var _153={};lang.setObject("dojo.date.stamp",_153);_153.fromISOString=function(_154,_155){if(!_153._isoRegExp){_153._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _156=_153._isoRegExp.exec(_154),_157=null;if(_156){_156.shift();if(_156[1]){_156[1]--;}if(_156[6]){_156[6]*=1000;}if(_155){_155=new Date(_155);_152.forEach(_152.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _155["get"+prop]();}),function(_158,_159){_156[_159]=_156[_159]||_158;});}_157=new Date(_156[0]||1970,_156[1]||0,_156[2]||1,_156[3]||0,_156[4]||0,_156[5]||0,_156[6]||0);if(_156[0]<100){_157.setFullYear(_156[0]||1970);}var _15a=0,_15b=_156[7]&&_156[7].charAt(0);if(_15b!="Z"){_15a=((_156[8]||0)*60)+(Number(_156[9])||0);if(_15b!="-"){_15a*=-1;}}if(_15b){_15a-=_157.getTimezoneOffset();}if(_15a){_157.setTime(_157.getTime()+_15a*60000);}}return _157;};_153.toISOString=function(_15c,_15d){var _15e=function(n){return (n<10)?"0"+n:n;};_15d=_15d||{};var _15f=[],_160=_15d.zulu?"getUTC":"get",date="";if(_15d.selector!="time"){var year=_15c[_160+"FullYear"]();date=["0000".substr((year+"").length)+year,_15e(_15c[_160+"Month"]()+1),_15e(_15c[_160+"Date"]())].join("-");}_15f.push(date);if(_15d.selector!="date"){var time=[_15e(_15c[_160+"Hours"]()),_15e(_15c[_160+"Minutes"]()),_15e(_15c[_160+"Seconds"]())].join(":");var _161=_15c[_160+"Milliseconds"]();if(_15d.milliseconds){time+="."+(_161<100?"0":"")+_15e(_161);}if(_15d.zulu){time+="Z";}else{if(_15d.selector!="time"){var _162=_15c.getTimezoneOffset();var _163=Math.abs(_162);time+=(_162>0?"-":"+")+_15e(Math.floor(_163/60))+":"+_15e(_163%60);}}_15f.push(time);}return _15f.join("T");};return _153;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(_164,has,win,_165){var _166={},hash={};var _167={length:0,add:function(_168){if(hash[_168.id]){throw new Error("Tried to register widget with id=="+_168.id+" but that id is already registered");}hash[_168.id]=_168;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(_169){var id;do{id=_169+"_"+(_169 in _166?++_166[_169]:_166[_169]=0);}while(hash[id]);return _165._scopeName=="dijit"?id:_165._scopeName+"_"+id;},findWidgets:function(root,_16a){var _16b=[];function _16c(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _16d=node.getAttribute("widgetId");if(_16d){var _16e=hash[_16d];if(_16e){_16b.push(_16e);}}else{if(node!==_16a){_16c(node);}}}}};_16c(root);return _16b;},_destroyAll:function(){_165._curFocus=null;_165._prevFocus=null;_165._activeStack=[];_164.forEach(_167.findWidgets(win.body()),function(_16f){if(!_16f._destroyed){if(_16f.destroyRecursive){_16f.destroyRecursive();}else{if(_16f.destroy){_16f.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};_165.registry=_167;return _167;});},"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(_170,_171,_172,_173,lang,_174,on,has,_175,a11y){return _171("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(_176){this._set("disabled",_176);_172.set(this.focusNode,"disabled",_176);if(this.valueNode){_172.set(this.valueNode,"disabled",_176);}this.focusNode.setAttribute("aria-disabled",_176?"true":"false");if(_176){this._set("hovering",false);this._set("active",false);var _177="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_170.forEach(lang.isArray(_177)?_177:[_177],function(_178){var node=this[_178];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 _179=this.own(on(this.focusNode,"focus",function(){_17a.remove();_179.remove();}))[0];var _17b=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _17a=this.own(on(this.ownerDocumentBody,_17b,lang.hitch(this,function(evt){_17a.remove();_179.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_175.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_173.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(_17c,_17d){if(this._lastValueReported==undefined&&(_17d===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_17c;}this._pendingOnChange=this._pendingOnChange||(typeof _17c!=typeof this._lastValueReported)||(this.compare(_17c,this._lastValueReported)!=0);if((this.intermediateChanges||_17d||_17d===undefined)&&this._pendingOnChange){this._lastValueReported=_17c;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_17c);});}}},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(_17e,_17f,_180,_181,lang,_182,on,_183,_184){var _185=lang.delegate(_183,{"mouseenter":_182.enter,"mouseleave":_182.leave,"keypress":_180._keypress});var _186;var _187=_181("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_188){var node=_188;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==_188){return;}while(!node.nextSibling){node=node.parentNode;if(node==_188){return;}}node=node.nextSibling;}}},_processTemplateNode:function(_189,_18a,_18b){var ret=true;var _18c=this.attachScope||this,_18d=_18a(_189,"dojoAttachPoint")||_18a(_189,"data-dojo-attach-point");if(_18d){var _18e,_18f=_18d.split(/\s*,\s*/);while((_18e=_18f.shift())){if(lang.isArray(_18c[_18e])){_18c[_18e].push(_189);}else{_18c[_18e]=_189;}ret=(_18e!="containerNode");this._attachPoints.push(_18e);}}var _190=_18a(_189,"dojoAttachEvent")||_18a(_189,"data-dojo-attach-event");if(_190){var _191,_192=_190.split(/\s*,\s*/);var trim=lang.trim;while((_191=_192.shift())){if(_191){var _193=null;if(_191.indexOf(":")!=-1){var _194=_191.split(":");_191=trim(_194[0]);_193=trim(_194[1]);}else{_191=trim(_191);}if(!_193){_193=_191;}this._attachEvents.push(_18b(_189,_191,lang.hitch(_18c,_193)));}}}return ret;},_attach:function(node,type,func){type=type.replace(/^on/,"").toLowerCase();if(type=="dijitclick"){type=_186||(_186=_17e("./a11yclick"));}else{type=_185[type]||type;}return on(node,type,func);},_detachTemplateNodes:function(){var _195=this.attachScope||this;_17f.forEach(this._attachPoints,function(_196){delete _195[_196];});this._attachPoints=[];_17f.forEach(this._attachEvents,function(_197){_197.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});lang.extend(_184,{dojoAttachEvent:"",dojoAttachPoint:""});return _187;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_198,_199,_19a,_19b,win,_19c,_19d){function _19e(node,_19f,_1a0,_1a1){var view=_19c.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_198.some(_19f,function(_1a2){var _1a3=_1a2.corner;var pos=_1a2.pos;var _1a4=0;var _1a5={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_1a3.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_1a3.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_1a0){var res=_1a0(node,_1a2.aroundCorner,_1a3,_1a5,_1a1);_1a4=typeof res=="undefined"?0:res;}var _1a6=node.style;var _1a7=_1a6.display;var _1a8=_1a6.visibility;if(_1a6.display=="none"){_1a6.visibility="hidden";_1a6.display="";}var bb=_199.position(node);_1a6.display=_1a7;_1a6.visibility=_1a8;var _1a9={"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)}[_1a3.charAt(1)],_1aa={"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)}[_1a3.charAt(0)],_1ab=Math.max(view.l,_1a9),_1ac=Math.max(view.t,_1aa),endX=Math.min(view.l+view.w,_1a9+bb.w),endY=Math.min(view.t+view.h,_1aa+bb.h),_1ad=endX-_1ab,_1ae=endY-_1ac;_1a4+=(bb.w-_1ad)+(bb.h-_1ae);if(best==null||_1a4<best.overflow){best={corner:_1a3,aroundCorner:_1a2.aroundCorner,x:_1ab,y:_1ac,w:_1ad,h:_1ae,overflow:_1a4,spaceAvailable:_1a5};}return !_1a4;});if(best.overflow&&_1a0){_1a0(node,best.aroundCorner,best.corner,best.spaceAvailable,_1a1);}var top=best.y,side=best.x,body=win.body(node.ownerDocument);if(/relative|absolute/.test(_19a.get(body,"position"))){top-=_19a.get(body,"marginTop");side-=_19a.get(body,"marginLeft");}var s=node.style;s.top=top+"px";s.left=side+"px";s.right="auto";return best;};var _1af={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _1b0={at:function(node,pos,_1b1,_1b2,_1b3){var _1b4=_198.map(_1b1,function(_1b5){var c={corner:_1b5,aroundCorner:_1af[_1b5],pos:{x:pos.x,y:pos.y}};if(_1b2){c.pos.x+=_1b5.charAt(1)=="L"?_1b2.x:-_1b2.x;c.pos.y+=_1b5.charAt(0)=="T"?_1b2.y:-_1b2.y;}return c;});return _19e(node,_1b4,_1b3);},around:function(node,_1b6,_1b7,_1b8,_1b9){var _1ba;if(typeof _1b6=="string"||"offsetWidth" in _1b6||"ownerSVGElement" in _1b6){_1ba=_199.position(_1b6,true);if(/^(above|below)/.test(_1b7[0])){var _1bb=_199.getBorderExtents(_1b6),_1bc=_1b6.firstChild?_199.getBorderExtents(_1b6.firstChild):{t:0,l:0,b:0,r:0},_1bd=_199.getBorderExtents(node),_1be=node.firstChild?_199.getBorderExtents(node.firstChild):{t:0,l:0,b:0,r:0};_1ba.y+=Math.min(_1bb.t+_1bc.t,_1bd.t+_1be.t);_1ba.h-=Math.min(_1bb.t+_1bc.t,_1bd.t+_1be.t)+Math.min(_1bb.b+_1bc.b,_1bd.b+_1be.b);}}else{_1ba=_1b6;}if(_1b6.parentNode){var _1bf=_19a.getComputedStyle(_1b6).position=="absolute";var _1c0=_1b6.parentNode;while(_1c0&&_1c0.nodeType==1&&_1c0.nodeName!="BODY"){var _1c1=_199.position(_1c0,true),pcs=_19a.getComputedStyle(_1c0);if(/relative|absolute/.test(pcs.position)){_1bf=false;}if(!_1bf&&/hidden|auto|scroll/.test(pcs.overflow)){var _1c2=Math.min(_1ba.y+_1ba.h,_1c1.y+_1c1.h);var _1c3=Math.min(_1ba.x+_1ba.w,_1c1.x+_1c1.w);_1ba.x=Math.max(_1ba.x,_1c1.x);_1ba.y=Math.max(_1ba.y,_1c1.y);_1ba.h=_1c2-_1ba.y;_1ba.w=_1c3-_1ba.x;}if(pcs.position=="absolute"){_1bf=true;}_1c0=_1c0.parentNode;}}var x=_1ba.x,y=_1ba.y,_1c4="w" in _1ba?_1ba.w:(_1ba.w=_1ba.width),_1c5="h" in _1ba?_1ba.h:(_19b.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_1ba.height+", width:"+_1c4+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_1ba.height+", w:"+_1c4+" }","","2.0"),_1ba.h=_1ba.height);var _1c6=[];function push(_1c7,_1c8){_1c6.push({aroundCorner:_1c7,corner:_1c8,pos:{x:{"L":x,"R":x+_1c4,"M":x+(_1c4>>1)}[_1c7.charAt(1)],y:{"T":y,"B":y+_1c5,"M":y+(_1c5>>1)}[_1c7.charAt(0)]}});};_198.forEach(_1b7,function(pos){var ltr=_1b8;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 _1c9=_19e(node,_1c6,_1b9,{w:_1c4,h:_1c5});_1c9.aroundNodePos=_1ba;return _1c9;}};return _19d.place=_1b0;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_1ca,_1cb){var _1cc={};lang.setObject("dojo.colors",_1cc);var _1cd=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=_1ca.fromRgb=function(_1ce,obj){var m=_1ce.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=_1cb.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _1ca.fromArray(a,obj);}return _1ca.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=[_1cd(m1,m2,H+1/3)*256,_1cd(m1,m2,H)*256,_1cd(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _1ca.fromArray(a,obj);}}return null;};var _1cf=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_1ca.prototype.sanitize=function(){var t=this;t.r=Math.round(_1cf(t.r,0,255));t.g=Math.round(_1cf(t.g,0,255));t.b=Math.round(_1cf(t.b,0,255));t.a=_1cf(t.a,0,1);return this;};_1cc.makeGrey=_1ca.makeGrey=function(g,a){return _1ca.fromArray([g,g,g,a]);};lang.mixin(_1ca.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 _1ca;});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_1d0,has,_1d1,_1d2){return _1d0("dijit.form._FormValueWidget",[_1d1,_1d2],{_layoutHackIE7:function(){if(has("ie")==7){var _1d3=this.domNode;var _1d4=_1d3.parentNode;var _1d5=_1d3.firstChild||_1d3;var _1d6=_1d5.style.filter;var _1d7=this;while(_1d4&&_1d4.clientHeight==0){(function ping(){var _1d8=_1d7.connect(_1d4,"onscroll",function(){_1d7.disconnect(_1d8);_1d5.style.filter=(new Date()).getMilliseconds();_1d7.defer(function(){_1d5.style.filter=_1d6;});});})();_1d4=_1d4.parentNode;}}}});});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_1d9,keys,_1da,has,_1db){var ret=_1da("dijit._OnDijitClickMixin",null,{connect:function(obj,_1dc,_1dd){return this.inherited(arguments,[obj,_1dc=="ondijitclick"?_1db:_1dc,_1dd]);}});ret.a11yclick=_1db;return ret;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(keys,_1de,on,_1df){function _1e0(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 _1e1;on(document,"keydown",function(e){if(_1e0(e)){_1e1=e.target;e.preventDefault();}else{_1e1=null;}});on(document,"keyup",function(e){if(_1e0(e)&&e.target==_1e1){_1e1=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 _1e2=function(node,_1e3){node.dojoClick=true;return on(node,"click",_1e3);};_1e2.click=_1e2;_1e2.press=function(node,_1e4){var _1e5=on(node,_1df.press,function(evt){if(evt.type=="mousedown"&&!_1de.isLeft(evt)){return;}_1e4(evt);}),_1e6=on(node,"keydown",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_1e4(evt);}});return {remove:function(){_1e5.remove();_1e6.remove();}};};_1e2.release=function(node,_1e7){var _1e8=on(node,_1df.release,function(evt){if(evt.type=="mouseup"&&!_1de.isLeft(evt)){return;}_1e7(evt);}),_1e9=on(node,"keyup",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_1e7(evt);}});return {remove:function(){_1e8.remove();_1e9.remove();}};};_1e2.move=_1df.move;return _1e2;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_1ea,has,_1eb,win){_1eb(function(){if(has("highcontrast")){_1ea.add(win.body(),"dijit_a11y");}});return has;});},"dijit/_editor/plugins/NewPage":function(){define(["dojo/_base/declare","dojo/i18n","dojo/_base/lang","../_Plugin","../../form/Button","dojo/i18n!../nls/commands"],function(_1ec,i18n,lang,_1ed,_1ee){var _1ef=_1ec("dijit._editor.plugins.NewPage",_1ed,{content:"<br>",_initButton:function(){var _1f0=i18n.getLocalization("dijit._editor","commands"),_1f1=this.editor;this.button=new _1ee({label:_1f0["newPage"],ownerDocument:_1f1.ownerDocument,dir:_1f1.dir,lang:_1f1.lang,showLabel:false,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+"NewPage",tabIndex:"-1",onClick:lang.hitch(this,"_newPage")});},setEditor:function(_1f2){this.editor=_1f2;this._initButton();},updateState:function(){this.button.set("disabled",this.get("disabled"));},_newPage:function(){this.editor.beginEditing();this.editor.set("value",this.content);this.editor.endEditing();this.editor.focus();}});_1ed.registry["newPage"]=_1ed.registry["newpage"]=function(args){return new _1ef({content:("content" in args)?args.content:"<br>"});};return _1ef;});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_1f3,_1f4,_1f5,lang,on,has,_1f6,_1f7){var _1f8=_1f4("dijit._TemplatedMixin",_1f7,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(tmpl){var _1f9=this.declaredClass,_1fa=this;return _1f6.substitute(tmpl,this,function(_1fb,key){if(key.charAt(0)=="!"){_1fb=lang.getObject(key.substr(1),false,_1fa);}if(typeof _1fb=="undefined"){throw new Error(_1f9+" template:"+key);}if(_1fb==null){return "";}return key.charAt(0)=="!"?_1fb:_1fb.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_1f3(this.templatePath,{sanitize:true});}var _1fc=_1f8.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_1fc)){node=_1f5.toDom(this._stringRepl(_1fc),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_1fc);}}else{node=_1fc.cloneNode(true);}this.domNode=node;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_1fd){var dest=this.containerNode;if(_1fd&&dest){while(_1fd.hasChildNodes()){dest.appendChild(_1fd.firstChild);}}}});_1f8._templateCache={};_1f8.getCachedTemplate=function(_1fe,_1ff,doc){var _200=_1f8._templateCache;var key=_1fe;var _201=_200[key];if(_201){try{if(!_201.ownerDocument||_201.ownerDocument==(doc||document)){return _201;}}catch(e){}_1f5.destroy(_201);}_1fe=_1f6.trim(_1fe);if(_1ff||_1fe.match(/\$\{([^\}]+)\}/g)){return (_200[key]=_1fe);}else{var node=_1f5.toDom(_1fe,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_1fe);}return (_200[key]=node);}};if(has("ie")){on(window,"unload",function(){var _202=_1f8._templateCache;for(var key in _202){var _203=_202[key];if(typeof _203=="object"){_1f5.destroy(_203);}delete _202[key];}});}return _1f8;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_204,dom,lang,has,_205,_206){var _207=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _208="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _209=oSel.getRangeAt(0);if((_209.startContainer==_209.endContainer)&&((_209.endOffset-_209.startOffset)==1)&&(_209.startContainer.nodeType!=3)){_208="control";}}return _208;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _20a=win.getSelection();return _20a?_20a.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _20b=win.getSelection();if(_20b&&_20b.rangeCount){var i;var html="";for(i=0;i<_20b.rangeCount;i++){var frag=_20b.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 _20c=win.getSelection();return _20c.anchorNode.childNodes[_20c.anchorOffset];}else{var _20d=doc.selection.createRange();if(_20d&&_20d.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 _20e=doc.getSelection();if(_20e){var node=_20e.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(_20f){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_210){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _211=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _212=String(tags[i]).toLowerCase();if(_211==_212){return _212;}}}return "";};this.getParentOfType=function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;};this.collapse=function(_213){if(doc.getSelection){var _214=win.getSelection();if(_214.removeAllRanges){if(_213){_214.collapseToStart();}else{_214.collapseToEnd();}}else{_214.collapse(_213);}}else{var _215=doc.selection.createRange();_215.collapse(_213);_215.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(_216,_217){var _218;_216=dom.byId(_216);if(doc.getSelection){var _219=win.getSelection();if(has("opera")){if(_219.rangeCount){_218=_219.getRangeAt(0);}else{_218=doc.createRange();}_218.setStart(_216,0);_218.setEnd(_216,(_216.nodeType==3)?_216.length:_216.childNodes.length);_219.addRange(_218);}else{_219.selectAllChildren(_216);}}else{_218=_216.ownerDocument.body.createTextRange();_218.moveToElementText(_216);if(!_217){try{_218.select();}catch(e){}}}};this.selectElement=function(_21a,_21b){var _21c;_21a=dom.byId(_21a);if(doc.getSelection){var _21d=doc.getSelection();_21c=doc.createRange();if(_21d.removeAllRanges){if(has("opera")){if(_21d.getRangeAt(0)){_21c=_21d.getRangeAt(0);}}_21c.selectNode(_21a);_21d.removeAllRanges();_21d.addRange(_21c);}}else{try{var tg=_21a.tagName?_21a.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_21c=_205.body(doc).createControlRange();}else{_21c=_205.body(doc).createRange();}_21c.addElement(_21a);if(!_21b){_21c.select();}}catch(e){this.selectElementChildren(_21a,_21b);}}};this.inSelection=function(node){if(node){var _21e;var _21f;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_21f=sel.getRangeAt(0);}if(_21f&&_21f.compareBoundaryPoints&&doc.createRange){try{_21e=doc.createRange();_21e.setStart(node,0);if(_21f.compareBoundaryPoints(_21f.START_TO_END,_21e)===1){return true;}}catch(e){}}}else{_21f=doc.selection.createRange();try{_21e=node.ownerDocument.body.createTextRange();_21e.moveToElementText(node);}catch(e2){}if(_21f&&_21e){if(_21f.compareEndPoints("EndToStart",_21e)===1){return true;}}}}return false;},this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_206.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(_220){var mark=_220.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();_204.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 _221=new _207(window);_221.SelectionManager=_207;return _221;});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_222,has,_223,_224,_225,_226,_227,_228){if(has("dijit-legacy-requires")){_224(0,function(){var _229=["dijit/form/_FormValueWidget"];require(_229);});}return _222("dijit.form._FormWidget",[_225,_227,_226,_228],{setDisabled:function(_22a){_223.deprecated("setDisabled("+_22a+") is deprecated. Use set('disabled',"+_22a+") instead.","","2.0");this.set("disabled",_22a);},setValue:function(_22b){_223.deprecated("dijit.form._FormWidget:setValue("+_22b+") is deprecated.  Use set('value',"+_22b+") instead.","","2.0");this.set("value",_22b);},getValue:function(){_223.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(_22c,dom,lang,_22d,win,_22e,_22f,_230){var _231={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _230.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_22f:new _22f.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_232){var sel=win.global==window?_22f:new _22f.SelectionManager(win.global);return sel.moveToBookmark(_232);},getFocus:function(menu,_233){var node=!_22e.curNode||(menu&&dom.isDescendant(_22e.curNode,menu.domNode))?_230._prevFocus:_22e.curNode;return {node:node,bookmark:node&&(node==_22e.curNode)&&win.withGlobal(_233||win.global,_230.getBookmark),openedForWindow:_233};},_activeStack:[],registerIframe:function(_234){return _22e.registerIframe(_234);},unregisterIframe:function(_235){_235&&_235.remove();},registerWin:function(_236,_237){return _22e.registerWin(_236,_237);},unregisterWin:function(_238){_238&&_238.remove();}};_22e.focus=function(_239){if(!_239){return;}var node="node" in _239?_239.node:_239,_23a=_239.bookmark,_23b=_239.openedForWindow,_23c=_23a?_23a.isCollapsed:false;if(node){var _23d=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_23d&&_23d.focus){try{_23d.focus();}catch(e){}}_22e._onFocusNode(node);}if(_23a&&win.withGlobal(_23b||win.global,_230.isCollapsed)&&!_23c){if(_23b){_23b.focus();}try{win.withGlobal(_23b||win.global,_230.moveToBookmark,null,[_23a]);}catch(e2){}}};_22e.watch("curNode",function(name,_23e,_23f){_230._curFocus=_23f;_230._prevFocus=_23e;if(_23f){_22d.publish("focusNode",_23f);}});_22e.watch("activeStack",function(name,_240,_241){_230._activeStack=_241;});_22e.on("widget-blur",function(_242,by){_22d.publish("widgetBlur",_242,by);});_22e.on("widget-focus",function(_243,by){_22d.publish("widgetFocus",_243,by);});lang.mixin(_230,_231);return _230;});},"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(_244,_245,_246,_247,has,_248,lang,_249,_24a,_24b,_24c,_24d,_24e){function _24f(){};function _250(_251){return function(obj,_252,_253,_254){if(obj&&typeof _252=="string"&&obj[_252]==_24f){return obj.on(_252.substring(2).toLowerCase(),lang.hitch(_253,_254));}return _251.apply(_246,arguments);};};_244.around(_246,"connect",_250);if(_248.connect){_244.around(_248,"connect",_250);}var _255=_247("dijit._Widget",[_24c,_24d,_24e],{onClick:_24f,onDblClick:_24f,onKeyDown:_24f,onKeyPress:_24f,onKeyUp:_24f,onMouseDown:_24f,onMouseMove:_24f,onMouseOut:_24f,onMouseOver:_24f,onMouseLeave:_24f,onMouseEnter:_24f,onMouseUp:_24f,constructor:function(_256){this._toConnect={};for(var name in _256){if(this[name]===_24f){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_256[name];delete _256[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)]===_24f){return _246.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_257){_248.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_257);},attr:function(name,_258){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_248.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_249("[widgetId]",this.containerNode).map(_24b.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_24a(0,function(){var _259=["dijit/_base"];require(_259);});}return _255;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_25a,_25b,_25c,lang){lang.extend(_25b,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _25c("dijit._FocusMixin",null,{_focusManager:_25a});});},"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(_25d,_25e,dom,_25f,_260,_261,_262,lang,on,_263,has,_264,win,_265,a11y,_266,_267){var _268;var _269=_25e([_264,_262],{curNode:null,activeStack:[],constructor:function(){var _26a=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);}});_25d.before(_261,"empty",_26a);_25d.before(_261,"destroy",_26a);},registerIframe:function(_26b){return this.registerWin(_26b.contentWindow,_26b);},registerWin:function(_26c,_26d){var _26e=this,body=_26c.document&&_26c.document.body;if(body){var mdh=on(_26c.document,"mousedown, touchstart",function(evt){_26e._justMouseDowned=true;setTimeout(function(){_26e._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_26e._onTouchNode(_26d||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){_268=(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)){_26e._onFocusNode(_26d||evt.target);}else{_26e._onTouchNode(_26d||evt.target);}});var foh=on(body,"focusout",function(evt){if((new Date()).getTime()<_268+100){return;}_26e._onBlurNode(_26d||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(_260.contains(node,"dijitPopup")){node=node.firstChild;}var _26f=[];try{while(node){var _270=_25f.get(node,"dijitPopupParent");if(_270){node=_266.byId(_270).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_265.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_271=id&&_266.byId(id);if(_271&&!(by=="mouse"&&_271.get("disabled"))){_26f.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_26f,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(_272,by){var _273=this.activeStack,_274=_273.length-1,_275=_272.length-1;if(_272[_275]==_273[_274]){return;}this.set("activeStack",_272);var _276,i;for(i=_274;i>=0&&_273[i]!=_272[i];i--){_276=_266.byId(_273[i]);if(_276){_276._hasBeenBlurred=true;_276.set("focused",false);if(_276._focusManager==this){_276._onBlur(by);}this.emit("widget-blur",_276,by);}}for(i++;i<=_275;i++){_276=_266.byId(_272[i]);if(_276){_276.set("focused",true);if(_276._focusManager==this){_276._onFocus(by);}this.emit("widget-focus",_276,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _277=new _269();_263(function(){var _278=_277.registerWin(_265.get(document));if(has("ie")){on(window,"unload",function(){if(_278){_278.remove();_278=null;}});}});_267.focus=function(node){_277.focus(node);};for(var attr in _277){if(!/^_/.test(attr)){_267.focus[attr]=typeof _277[attr]=="function"?lang.hitch(_277,attr):_277[attr];}}_277.watch(function(attr,_279,_27a){_267.focus[attr]=_27a;});return _277;});},"dijit/_editor/plugins/FontChoice":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/i18n","dojo/_base/lang","dojo/store/Memory","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","dojo/i18n!../nls/FontChoice"],function(_27b,_27c,_27d,_27e,i18n,lang,_27f,_280,_281,_282,_283,_284,_285,_286){var _287=_27d("dijit._editor.plugins._FontDropDown",[_281,_282,_283],{label:"",plainText:false,templateString:"<span style='white-space: nowrap' class='dijit dijitReset dijitInline'>"+"<label class='dijitLeft dijitInline' for='${selectId}'>${label}</label>"+"<input data-dojo-type='../../form/FilteringSelect' required='false' "+"data-dojo-props='labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' "+"class='${comboClass}' "+"tabIndex='-1' id='${selectId}' data-dojo-attach-point='select' value=''/>"+"</span>",contextRequire:_27b,postMixInProperties:function(){this.inherited(arguments);this.strings=i18n.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_280.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _27f({idProperty:"value",data:_27c.map(this.values,function(_288){var name=this.strings[_288]||_288;return {label:this.getLabel(_288,name),name:name,value:_288};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_289,_28a){_28a=_28a!==false;this.select.set("value",_27c.indexOf(this.values,_289)<0?"":_289,_28a);if(!_28a){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_28b){this._set("disabled",_28b);this.select.set("disabled",_28b);}});var _28c=_27d("dijit._editor.plugins._FontNameDropDown",_287,{generic:false,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){if(!this.values){this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"];}this.inherited(arguments);},getLabel:function(_28d,name){if(this.plainText){return name;}else{return "<div style='font-family: "+_28d+"'>"+name+"</div>";}},_setValueAttr:function(_28e,_28f){_28f=_28f!==false;if(this.generic){var map={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy","Estrangelo Edessa":"cursive","Gabriola":"fantasy"};_28e=map[_28e]||_28e;}this.inherited(arguments,[_28e,_28f]);}});var _290=_27d("dijit._editor.plugins._FontSizeDropDown",_287,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(_291,name){if(this.plainText){return name;}else{return "<font size="+_291+"'>"+name+"</font>";}},_setValueAttr:function(_292,_293){_293=_293!==false;if(_292.indexOf&&_292.indexOf("px")!=-1){var _294=parseInt(_292,10);_292={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_294]||_292;}this.inherited(arguments,[_292,_293]);}});var _295=_27d("dijit._editor.plugins._FormatBlockDropDown",_287,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_296,name){if(this.plainText||_296=="noFormat"){return name;}else{return "<"+_296+">"+name+"</"+_296+">";}},_execCommand:function(_297,_298,_299){if(_299==="noFormat"){var _29a;var end;var sel=_286.getSelection(_297.window);if(sel&&sel.rangeCount>0){var _29b=sel.getRangeAt(0);var node,tag;if(_29b){_29a=_29b.startContainer;end=_29b.endContainer;while(_29a&&_29a!==_297.editNode&&_29a!==_297.document.body&&_29a.nodeType!==1){_29a=_29a.parentNode;}while(end&&end!==_297.editNode&&end!==_297.document.body&&end.nodeType!==1){end=end.parentNode;}var _29c=lang.hitch(this,function(node,ary){if(node.childNodes&&node.childNodes.length){var i;for(i=0;i<node.childNodes.length;i++){var c=node.childNodes[i];if(c.nodeType==1){if(_297.selection.inSelection(c)){var tag=c.tagName?c.tagName.toLowerCase():"";if(_27c.indexOf(this.values,tag)!==-1){ary.push(c);}_29c(c,ary);}}}}});var _29d=lang.hitch(this,function(_29e){if(_29e&&_29e.length){_297.beginEditing();while(_29e.length){this._removeFormat(_297,_29e.pop());}_297.endEditing();}});var _29f=[];if(_29a==end){var _2a0;node=_29a;while(node&&node!==_297.editNode&&node!==_297.document.body){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_27c.indexOf(this.values,tag)!==-1){_2a0=node;break;}}node=node.parentNode;}_29c(_29a,_29f);if(_2a0){_29f=[_2a0].concat(_29f);}_29d(_29f);}else{node=_29a;while(_297.selection.inSelection(node)){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_27c.indexOf(this.values,tag)!==-1){_29f.push(node);}_29c(node,_29f);}node=node.nextSibling;}_29d(_29f);}_297.onDisplayChanged();}}}else{_297.execCommand(_298,_299);}},_removeFormat:function(_2a1,node){if(_2a1.customUndo){while(node.firstChild){_27e.place(node.firstChild,node,"before");}node.parentNode.removeChild(node);}else{_2a1.selection.selectElementChildren(node);var html=_2a1.selection.getSelectedHtml();_2a1.selection.selectElement(node);_2a1.execCommand("inserthtml",html||"");}}});var _2a2=_27d("dijit._editor.plugins.FontChoice",_285,{useDefaultCommand:false,_initButton:function(){var _2a3={fontName:_28c,fontSize:_290,formatBlock:_295}[this.command],_2a4=this.params;if(this.params.custom){_2a4.values=this.params.custom;}var _2a5=this.editor;this.button=new _2a3(lang.delegate({dir:_2a5.dir,lang:_2a5.lang},_2a4));this.own(this.button.select.on("change",lang.hitch(this,function(_2a6){if(this.editor.focused){this.editor.focus();}if(this.command=="fontName"&&_2a6.indexOf(" ")!=-1){_2a6="'"+_2a6+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_2a6);}else{this.editor.execCommand(this.command,_2a6);}})));},updateState:function(){var _2a7=this.editor;var _2a8=this.command;if(!_2a7||!_2a7.isLoaded||!_2a8.length){return;}if(this.button){var _2a9=this.get("disabled");this.button.set("disabled",_2a9);if(_2a9){return;}var _2aa;try{_2aa=_2a7.queryCommandValue(_2a8)||"";}catch(e){_2aa="";}var _2ab=lang.isString(_2aa)&&(_2aa.match(/'([^']*)'/)||_2aa.match(/"([^"]*)"/));if(_2ab){_2aa=_2ab[1];}if(_2a8==="formatBlock"){if(!_2aa||_2aa=="p"){_2aa=null;var elem;var sel=_286.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _2ac=sel.getRangeAt(0);if(_2ac){elem=_2ac.endContainer;}}while(elem&&elem!==_2a7.editNode&&elem!==_2a7.document){var tg=elem.tagName?elem.tagName.toLowerCase():"";if(tg&&_27c.indexOf(this.button.values,tg)>-1){_2aa=tg;break;}elem=elem.parentNode;}if(!_2aa){_2aa="noFormat";}}else{if(_27c.indexOf(this.button.values,_2aa)<0){_2aa="noFormat";}}}if(_2aa!==this.button.get("value")){this.button.set("value",_2aa,false);}}}});_27c.forEach(["fontName","fontSize","formatBlock"],function(name){_285.registry[name]=function(args){return new _2a2({command:name,plainText:args.plainText});};});_2a2._FontDropDown=_287;_2a2._FontNameDropDown=_28c;_2a2._FontSizeDropDown=_290;_2a2._FormatBlockDropDown=_295;return _2a2;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _2ad={};lang.setObject("dojo.regexp",_2ad);_2ad.escapeString=function(str,_2ae){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_2ae&&_2ae.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_2ad.buildGroupRE=function(arr,re,_2af){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _2ad.group(b.join("|"),_2af);};_2ad.group=function(_2b0,_2b1){return "("+(_2b1?"?:":"")+_2b0+")";};return _2ad;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_2b2,_2b3,_2b4){return _2b4("dijit.Destroyable",null,{destroy:function(_2b5){this._destroyed=true;},own:function(){_2b2.forEach(arguments,function(_2b6){var _2b7="destroyRecursive" in _2b6?"destroyRecursive":"destroy" in _2b6?"destroy":"remove";var odh=_2b3.before(this,"destroy",function(_2b8){_2b6[_2b7](_2b8);});var hdh=_2b3.after(_2b6,_2b7,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/_editor/plugins/FullScreen":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","../../focus","../_Plugin","../../form/ToggleButton","../../registry","dojo/i18n!../nls/commands"],function(_2b9,_2ba,_2bb,_2bc,_2bd,i18n,keys,lang,on,has,win,_2be,_2bf,_2c0,_2c1,_2c2){var _2c3=_2ba("dijit._editor.plugins.FullScreen",_2c0,{zIndex:500,_origState:null,_origiFrameState:null,_resizeHandle:null,isFullscreen:false,toggle:function(){this.button.set("checked",!this.button.get("checked"));},_initButton:function(){var _2c4=i18n.getLocalization("dijit._editor","commands"),_2c5=this.editor;this.button=new _2c1({label:_2c4["fullScreen"],ownerDocument:_2c5.ownerDocument,dir:_2c5.dir,lang:_2c5.lang,showLabel:false,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+"FullScreen",tabIndex:"-1",onChange:lang.hitch(this,"_setFullScreen")});},setEditor:function(_2c6){this.editor=_2c6;this._initButton();this.editor.addKeyHandler(keys.F11,true,true,lang.hitch(this,function(e){this.toggle();e.stopPropagation();e.preventDefault();this.editor.defer("focus",250);return true;}));this.own(on(this.editor.domNode,"keydown",lang.hitch(this,"_containFocus")));},_containFocus:function(e){if(this.isFullscreen){var ed=this.editor;if(!ed.isTabIndent&&ed._fullscreen_oldOnKeyDown&&e.keyCode===keys.TAB){var f=_2bf.curNode;var avn=this._getAltViewNode();if(f==ed.iframe||(avn&&f===avn)){setTimeout(lang.hitch(this,function(){ed.toolbar.focus();}),10);}else{if(avn&&_2bd.get(ed.iframe,"display")==="none"){setTimeout(lang.hitch(this,function(){_2bf.focus(avn);}),10);}else{setTimeout(lang.hitch(this,function(){ed.focus();}),10);}}event.stopPropagation();event.preventDefault();}else{if(ed._fullscreen_oldOnKeyDown){ed._fullscreen_oldOnKeyDown(e);}}}},_resizeEditor:function(){var vp=_2be.getBox(this.editor.ownerDocument);_2bc.setMarginBox(this.editor.domNode,{w:vp.w,h:vp.h});var _2c7=this.editor.getHeaderHeight();var _2c8=this.editor.getFooterHeight();var _2c9=_2bc.getPadBorderExtents(this.editor.domNode);var _2ca=_2bc.getPadBorderExtents(this.editor.iframe.parentNode);var _2cb=_2bc.getMarginExtents(this.editor.iframe.parentNode);var _2cc=vp.h-(_2c7+_2c9.h+_2c8);_2bc.setMarginBox(this.editor.iframe.parentNode,{h:_2cc,w:vp.w});_2bc.setMarginBox(this.editor.iframe,{h:_2cc-(_2ca.h+_2cb.h)});},_getAltViewNode:function(){},_setFullScreen:function(full){var ed=this.editor;var body=ed.ownerDocumentBody;var _2cd=ed.domNode.parentNode;var vp=_2be.getBox(ed.ownerDocument);this.isFullscreen=full;if(full){while(_2cd&&_2cd!==body){_2bb.add(_2cd,"dijitForceStatic");_2cd=_2cd.parentNode;}this._editorResizeHolder=this.editor.resize;ed.resize=function(){};ed._fullscreen_oldOnKeyDown=ed.onKeyDown;ed.onKeyDown=lang.hitch(this,this._containFocus);this._origState={};this._origiFrameState={};var _2ce=ed.domNode,_2cf=_2ce&&_2ce.style||{};this._origState={width:_2cf.width||"",height:_2cf.height||"",top:_2bd.get(_2ce,"top")||"",left:_2bd.get(_2ce,"left")||"",position:_2bd.get(_2ce,"position")||"static",marginBox:_2bc.getMarginBox(ed.domNode)};var _2d0=ed.iframe,_2d1=_2d0&&_2d0.style||{};var bc=_2bd.get(ed.iframe,"backgroundColor");this._origiFrameState={backgroundColor:bc||"transparent",width:_2d1.width||"auto",height:_2d1.height||"auto",zIndex:_2d1.zIndex||""};_2bd.set(ed.domNode,{position:"absolute",top:"0px",left:"0px",zIndex:this.zIndex,width:vp.w+"px",height:vp.h+"px"});_2bd.set(ed.iframe,{height:"100%",width:"100%",zIndex:this.zIndex,backgroundColor:bc!=="transparent"&&bc!=="rgba(0, 0, 0, 0)"?bc:"white"});_2bd.set(ed.iframe.parentNode,{height:"95%",width:"100%"});if(body.style&&body.style.overflow){this._oldOverflow=_2bd.get(body,"overflow");}else{this._oldOverflow="";}if(has("ie")&&!has("quirks")){if(body.parentNode&&body.parentNode.style&&body.parentNode.style.overflow){this._oldBodyParentOverflow=body.parentNode.style.overflow;}else{try{this._oldBodyParentOverflow=_2bd.get(body.parentNode,"overflow");}catch(e){this._oldBodyParentOverflow="scroll";}}_2bd.set(body.parentNode,"overflow","hidden");}_2bd.set(body,"overflow","hidden");var _2d2=function(){var vp=_2be.getBox(ed.ownerDocument);if("_prevW" in this&&"_prevH" in this){if(vp.w===this._prevW&&vp.h===this._prevH){return;}}else{this._prevW=vp.w;this._prevH=vp.h;}if(this._resizer){clearTimeout(this._resizer);delete this._resizer;}this._resizer=setTimeout(lang.hitch(this,function(){delete this._resizer;this._resizeEditor();}),10);};this._resizeHandle=on(window,"resize",lang.hitch(this,_2d2));this._resizeHandle2=_2b9.after(ed,"onResize",lang.hitch(this,function(){if(this._resizer){clearTimeout(this._resizer);delete this._resizer;}this._resizer=setTimeout(lang.hitch(this,function(){delete this._resizer;this._resizeEditor();}),10);}));this._resizeEditor();var dn=this.editor.toolbar.domNode;setTimeout(function(){_2be.scrollIntoView(dn);},250);}else{if(this._resizeHandle){this._resizeHandle.remove();this._resizeHandle=null;}if(this._resizeHandle2){this._resizeHandle2.remove();this._resizeHandle2=null;}if(this._rst){clearTimeout(this._rst);this._rst=null;}while(_2cd&&_2cd!==body){_2bb.remove(_2cd,"dijitForceStatic");_2cd=_2cd.parentNode;}if(this._editorResizeHolder){this.editor.resize=this._editorResizeHolder;}if(!this._origState&&!this._origiFrameState){return;}if(ed._fullscreen_oldOnKeyDown){ed.onKeyDown=ed._fullscreen_oldOnKeyDown;delete ed._fullscreen_oldOnKeyDown;}var self=this;setTimeout(function(){var mb=self._origState.marginBox;var oh=self._origState.height;if(has("ie")&&!has("quirks")){body.parentNode.style.overflow=self._oldBodyParentOverflow;delete self._oldBodyParentOverflow;}_2bd.set(body,"overflow",self._oldOverflow);delete self._oldOverflow;_2bd.set(ed.domNode,self._origState);_2bd.set(ed.iframe.parentNode,{height:"",width:""});_2bd.set(ed.iframe,self._origiFrameState);delete self._origState;delete self._origiFrameState;var _2d3=_2c2.getEnclosingWidget(ed.domNode.parentNode);if(_2d3&&_2d3.resize){_2d3.resize();}else{if(!oh||oh.indexOf("%")<0){setTimeout(lang.hitch(this,function(){ed.resize({h:mb.h});}),0);}}_2be.scrollIntoView(self.editor.toolbar.domNode);},100);}},updateState:function(){this.button.set("disabled",this.get("disabled"));},destroy:function(){if(this._resizeHandle){this._resizeHandle.remove();this._resizeHandle=null;}if(this._resizeHandle2){this._resizeHandle2.remove();this._resizeHandle2=null;}if(this._resizer){clearTimeout(this._resizer);this._resizer=null;}this.inherited(arguments);}});_2c0.registry["fullScreen"]=_2c0.registry["fullscreen"]=function(args){return new _2c3({zIndex:("zIndex" in args)?args.zIndex:500});};return _2c3;});},"dijit/_editor/plugins/ToggleDir":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","../_Plugin","../../form/ToggleButton"],function(_2d4,_2d5,_2d6,lang,on,_2d7,_2d8){_2d6.experimental("dijit._editor.plugins.ToggleDir");var _2d9=_2d4("dijit._editor.plugins.ToggleDir",_2d7,{useDefaultCommand:false,command:"toggleDir",buttonClass:_2d8,_initButton:function(){this.inherited(arguments);this.editor.onLoadDeferred.then(lang.hitch(this,function(){var _2da=this.editor.editorObject.contentWindow.document.documentElement;_2da=_2da.getElementsByTagName("body")[0];var _2db=_2d5.getComputedStyle(_2da).direction=="ltr";this.button.set("checked",!_2db);this.own(this.button.on("change",lang.hitch(this,"_setRtl")));}));},updateState:function(){this.button.set("disabled",this.get("disabled"));},_setRtl:function(rtl){var dir="ltr";if(rtl){dir="rtl";}var _2dc=this.editor.editorObject.contentWindow.document.documentElement;_2dc=_2dc.getElementsByTagName("body")[0];_2dc.dir=dir;}});_2d7.registry["toggleDir"]=function(){return new _2d9({command:"toggleDir"});};return _2d9;});},"dijit/_editor/plugins/TabIndent":function(){define(["dojo/_base/declare","dojo/_base/kernel","../_Plugin","../../form/ToggleButton"],function(_2dd,_2de,_2df,_2e0){_2de.experimental("dijit._editor.plugins.TabIndent");var _2e1=_2dd("dijit._editor.plugins.TabIndent",_2df,{useDefaultCommand:false,buttonClass:_2e0,command:"tabIndent",_initButton:function(){this.inherited(arguments);var e=this.editor;this.own(this.button.on("change",function(val){e.set("isTabIndent",val);}));this.updateState();},updateState:function(){var _2e2=this.get("disabled");this.button.set("disabled",_2e2);if(_2e2){return;}this.button.set("checked",this.editor.isTabIndent,false);}});_2df.registry["tabIndent"]=function(){return new _2e1({command:"tabIndent"});};return _2e1;});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/query","dojo/string","../../_Widget","../_Plugin","../../form/DropDownButton","../range"],function(_2e3,_2e4,_2e5,keys,lang,on,has,_2e6,_2e7,_2e8,_2e9,_2ea,_2eb){var _2ec=_2e4("dijit._editor.plugins.LinkDialog",_2e9,{buttonClass:_2ea,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|../|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' "+"id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_targetSelect'>${target}</label>","</td><td>","<select id='${id}_targetSelect' name='targetSelect' data-dojo-type='dijit.form.Select'>","<option selected='selected' value='_self'>${currentWindow}</option>","<option value='_blank'>${newWindow}</option>","<option value='_top'>${topWindow}</option>","<option value='_parent'>${parentWindow}</option>","</select>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),_initButton:function(){this.inherited(arguments);this.button.loadDropDown=lang.hitch(this,"_loadDropDown");this._connectTagEvents();},_loadDropDown:function(_2ed){_2e3(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_2ee,_2ef){var _2f0=this;this.tag=this.command=="insertImage"?"img":"a";var _2f1=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _2f2=(this.dropDown=this.button.dropDown=new _2ee({title:_2f1[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:lang.hitch(this,"setValue"),onOpen:function(){_2f0._onOpenDialog();_2ee.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_2f0,"_onCloseDialog"),0);}}));_2f1.urlRegExp=this.urlRegExp;_2f1.id=_2ef.getUniqueId(this.editor.id);this._uniqueId=_2f1.id;this._setContent(_2f2.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_2e7.substitute(this.linkDialogTemplate,_2f1));_2f2.startup();this._urlInput=_2ef.byId(this._uniqueId+"_urlInput");this._textInput=_2ef.byId(this._uniqueId+"_textInput");this._setButton=_2ef.byId(this._uniqueId+"_setButton");this.own(_2ef.byId(this._uniqueId+"_cancelButton").on("click",lang.hitch(this.dropDown,"onCancel")));if(this._urlInput){this.own(this._urlInput.on("change",lang.hitch(this,"_checkAndFixInput")));}if(this._textInput){this.own(this._textInput.on("change",lang.hitch(this,"_checkAndFixInput")));}this._urlRegExp=new RegExp("^"+this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=lang.hitch(this,function(){var _2f3=this._urlInput.get("value");return this._urlRegExp.test(_2f3)||this._emailRegExp.test(_2f3);});this.own(on(_2f2.domNode,"keydown",lang.hitch(this,lang.hitch(this,function(e){if(e&&e.keyCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_2f2.onExecute();_2f2.execute(_2f2.get("value"));}}}))));_2ed();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _2f4=function(url){var _2f5=false;var _2f6=false;if(url&&url.length>1){url=lang.trim(url);if(url.indexOf("mailto:")!==0){if(url.indexOf("/")>0){if(url.indexOf("://")===-1){if(url.charAt(0)!=="/"&&url.indexOf("./")&&url.indexOf("../")!==0){if(self._hostRxp.test(url)){_2f5=true;}}}}else{if(self._userAtRxp.test(url)){_2f6=true;}}}}if(_2f5){self._urlInput.set("value","http://"+url);}if(_2f6){self._urlInput.set("value","mailto:"+url);}self._setButton.set("disabled",!self._isValid());};if(this._delayedCheck){clearTimeout(this._delayedCheck);this._delayedCheck=null;}this._delayedCheck=setTimeout(function(){_2f4(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.own(on(this.editor.editNode,"dblclick",lang.hitch(this,"_onDblClick")));}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_2f7){this.dropDown.set({parserScope:"dojo",content:_2f7});},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}return args;},setValue:function(args){this._onCloseDialog();if(has("ie")<9){var sel=_2eb.getSelection(this.editor.window);var _2f8=sel.getRangeAt(0);var a=_2f8.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor.selection.getSelectedElement(this.tag);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){this.editor.selection.selectElementChildren(a);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_2e7.substitute(this.htmlTemplate,args));_2e6("a",this.editor.document).forEach(function(a){if(!a.innerHTML&&!_2e5.has(a,"name")){a.parentNode.removeChild(a);}},this);},_onCloseDialog:function(){if(this.editor.focused){this.editor.focus();}},_getCurrentValues:function(a){var url,text,_2f9;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_2f9=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;this.editor.selection.selectElement(a,true);}else{text=this.editor.selection.getSelectedText();}return {urlInput:url||"",textInput:text||"",targetSelect:_2f9||""};},_onOpenDialog:function(){var a,b,fc;if(has("ie")){var sel=_2eb.getSelection(this.editor.window);if(sel.rangeCount){var _2fa=sel.getRangeAt(0);a=_2fa.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor.selection.getSelectedElement(this.tag);}if(!a||(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){b=this.editor.selection.getAncestorElement(this.tag);if(b&&(b.nodeName&&b.nodeName.toLowerCase()==this.tag)){a=b;this.editor.selection.selectElement(a);}else{if(_2fa.startContainer===_2fa.endContainer){fc=_2fa.startContainer.firstChild;if(fc&&(fc.nodeName&&fc.nodeName.toLowerCase()==this.tag)){a=fc;this.editor.selection.selectElement(a);}}}}}}else{a=this.editor.selection.getAncestorElement(this.tag);}this.dropDown.reset();this._setButton.set("disabled",true);this.dropDown.set("value",this._getCurrentValues(a));},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_2e5.get(t,"href")){var _2fb=this.editor;this.editor.selection.selectElement(t);_2fb.onDisplayChanged();if(_2fb._updateTimer){_2fb._updateTimer.remove();delete _2fb._updateTimer;}_2fb.onNormalizedDisplayChanged();var _2fc=this.button;setTimeout(function(){_2fc.set("disabled",false);_2fc.loadAndOpenDropDown().then(function(){if(_2fc.dropDown.focus){_2fc.dropDown.focus();}});},10);}}}});var _2fd=_2e4("dijit._editor.plugins.ImgLinkDialog",[_2ec],{linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' "+"required='true' id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='false' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","</td><td>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),htmlTemplate:"<img src=\"${urlInput}\" _djrealurl=\"${urlInput}\" alt=\"${textInput}\" />",tag:"img",_getCurrentValues:function(img){var url,text;if(img&&img.tagName.toLowerCase()===this.tag){url=img.getAttribute("_djrealurl")||img.getAttribute("src");text=img.getAttribute("alt");this.editor.selection.selectElement(img,true);}else{text=this.editor.selection.getSelectedText();}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.own(on(this.editor.editNode,"mousedown",lang.hitch(this,"_selectTag")));}));},_selectTag:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag){this.editor.selection.selectElement(t);}}},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,"&quot;");}return args;},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_2e5.get(t,"src")){var _2fe=this.editor;this.editor.selection.selectElement(t);_2fe.onDisplayChanged();if(_2fe._updateTimer){_2fe._updateTimer.remove();delete _2fe._updateTimer;}_2fe.onNormalizedDisplayChanged();var _2ff=this.button;setTimeout(function(){_2ff.set("disabled",false);_2ff.loadAndOpenDropDown().then(function(){if(_2ff.dropDown.focus){_2ff.dropDown.focus();}});},10);}}}});_2e9.registry["createLink"]=function(){return new _2ec({command:"createLink"});};_2e9.registry["insertImage"]=function(){return new _2fd({command:"insertImage"});};_2ec.ImgLinkDialog=_2fd;return _2ec;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_300,_301,_302,_303){return _301("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_304,_305){var _306=this.containerNode;if(_305>0){_306=_306.firstChild;while(_305>0){if(_306.nodeType==1){_305--;}_306=_306.nextSibling;}if(_306){_305="before";}else{_306=this.containerNode;_305="last";}}_302.place(_304.domNode,_306,_305);if(this._started&&!_304._started){_304.startup();}},removeChild:function(_307){if(typeof _307=="number"){_307=this.getChildren()[_307];}if(_307){var node=_307.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_308,dir){_303.deprecated(this.declaredClass+"::_getSiblingOfChild() is deprecated. Use _KeyNavMixin::_getNext() instead.","","2.0");var _309=this.getChildren(),idx=_300.indexOf(_309,_308);return _309[idx+dir];},getIndexOfChild:function(_30a){return _300.indexOf(this.getChildren(),_30a);}});});},"*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_editor_plugins*[\"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_editor_plugins",[],1);require(["dijit/_editor/plugins/AlwaysShowToolbar","dijit/_editor/plugins/EnterKeyHandling","dijit/_editor/plugins/FontChoice","dijit/_editor/plugins/FullScreen","dijit/_editor/plugins/LinkDialog","dijit/_editor/plugins/NewPage","dijit/_editor/plugins/Print","dijit/_editor/plugins/TabIndent","dijit/_editor/plugins/TextColor","dijit/_editor/plugins/ToggleDir","dijit/_editor/plugins/ViewSource"]);
}catch(e){console.log("Module 'dijit_editor_plugins_19': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved.  **/
(function(){var _1={};var _2=[];var _3=1;var _4={};_4.register=function(_5){var id=_6();_1[id]=_5;_2.push(_5);return id;};_4.deregister=function(_7){_1[_7]=null;_2=[];};_4.notify=function(_8,_9,_a){var _b=_c();var i=0;var _d=_b.length;if(!_a){_a={type:"AJAX"};}var _e=function(){if(i<_d){var _f=_b[i];i++;if(_f){_f(_8,_e,_a);}else{_e();}}};_e();if(_9){_9();}};_4.isActive=function(){return _2.length>0;};var _6=function(){return _3++;};var _c=function(){if(!_2||_2.length<=0){for(var _10 in _1){if(_1.hasOwnProperty(_10)){_2.push(_10);}}}return _2;};if(typeof (com)=="undefined"){com={};}if(typeof (com.ibm)=="undefined"){com.ibm={};}if(typeof (com.ibm.portal)=="undefined"){com.ibm.portal={};}if(typeof (com.ibm.portal.analytics)=="undefined"){com.ibm.portal.analytics={};}com.ibm.portal.analytics.SiteAnalyticsMediator=_4;com.ibm.portal.analytics.getSiteAnalyticsMediator=function(){return _4;};})();(function(){var _11=function(e){if(_12()){var _13=ibmCfg.portalConfig.currentPageOID;_14(null,null,{type:"PAGE",id:_13});var _15=_16();if(_15&&_15.length>0){for(var i=0;i<_15.length;++i){var _17=_15[i];var _18={};_18.type="PORTLET";_18.id=_19(_17);_1a(_17,_18.id);_14([_17],null,_18);}}}};var _14=function(_1b,_1c,_1d){com.ibm.portal.analytics.SiteAnalyticsMediator.notify(_1b,_1c,_1d);};var _12=function(){return com.ibm.portal.analytics.SiteAnalyticsMediator.isActive();};var _16=function(){var _1e=document.getElementById("layoutContainers");return _1f("div","component-control",_1e);};var _19=function(_20){var _21=_20.className,id=null;if(_21){var _22=_21.split(" ");for(var i=0,l=_22.length;i<l;++i){var cls=_22[i],_23=cls.indexOf("id-");if(_23>=0){id=cls.substring(_23+3);break;}}}return id;};var _1a=function(_24,_25){var _26=_24.className&&_24.className.indexOf("asa.portlet.selected")>=0;if(_26){var _27=document.getElementById("asa.portlet."+_25);if(_27){var _28=document.createElement("span");_28.className="asa.portlet.selected";_28.innerHTML="true";_27.appendChild(_28);}}};var _1f=function(_29,_2a,_2b){if(!_2b){_2b=document;}if(document.getElementsByClassName){return _2b.getElementsByClassName(_2a);}else{var _2c=[];_2a=_2a.toLowerCase();var _2d=_2b.getElementsByTagName(_29);if(_2d&&_2d.length>0){for(var i=0,l=_2d.length;i<l;i++){var e=_2d[i];if(e.className&&e.className.toLowerCase().indexOf(_2a)>=0){_2c.push(e);}}}return _2c;}};var _2e=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_2e=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_2e(_11);})();

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