mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-11 19:11:04 +02:00
8 lines
474 KiB
JavaScript
8 lines
474 KiB
JavaScript
/*
|
||
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
|
||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
see: http://dojotoolkit.org/license for details
|
||
*/
|
||
|
||
//>>built
|
||
require({cache:{"dojo/_base/url":function(){define(["./kernel"],function(_1){var _2=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),_3=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4=function(){var n=null,_5=arguments,_6=[_5[0]];for(var i=1;i<_5.length;i++){if(!_5[i]){continue;}var _7=new _4(_5[i]+""),_8=new _4(_6[0]+"");if(_7.path==""&&!_7.scheme&&!_7.authority&&!_7.query){if(_7.fragment!=n){_8.fragment=_7.fragment;}_7=_8;}else{if(!_7.scheme){_7.scheme=_8.scheme;if(!_7.authority){_7.authority=_8.authority;if(_7.path.charAt(0)!="/"){var _9=_8.path.substring(0,_8.path.lastIndexOf("/")+1)+_7.path;var _a=_9.split("/");for(var j=0;j<_a.length;j++){if(_a[j]=="."){if(j==_a.length-1){_a[j]="";}else{_a.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_a[0]=="")&&_a[j]==".."&&_a[j-1]!=".."){if(j==(_a.length-1)){_a.splice(j,1);_a[j-1]="";}else{_a.splice(j-1,2);j-=2;}}}}_7.path=_a.join("/");}}}}_6=[];if(_7.scheme){_6.push(_7.scheme,":");}if(_7.authority){_6.push("//",_7.authority);}_6.push(_7.path);if(_7.query){_6.push("?",_7.query);}if(_7.fragment){_6.push("#",_7.fragment);}}this.uri=_6.join("");var r=this.uri.match(_2);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(_3);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_4.prototype.toString=function(){return this.uri;};return _1._Url=_4;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_b){return _b.cache;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_c,_d,_e,_f){var _10;if(1){_10=function(url,_11,_12){_f(url,{sync:!!_11,headers:{"X-Requested-With":null}}).then(_12);};}else{if(_d.getText){_10=_d.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _13={},_14=function(_15){if(_15){_15=_15.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _16=_15.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}else{_15="";}return _15;},_17={},_18={};_c.cache=function(_19,url,_1a){var key;if(typeof _19=="string"){if(/\//.test(_19)){key=_19;_1a=url;}else{key=_d.toUrl(_19.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_19+"";_1a=url;}var val=(_1a!=undefined&&typeof _1a!="string")?_1a.value:_1a,_1b=_1a&&_1a.sanitize;if(typeof val=="string"){_13[key]=val;return _1b?_14(val):val;}else{if(val===null){delete _13[key];return null;}else{if(!(key in _13)){_10(key,true,function(_1c){_13[key]=_1c;});}return _1b?_14(_13[key]):_13[key];}}};return {dynamic:true,normalize:function(id,_1d){var _1e=id.split("!"),url=_1e[0];return (/^\./.test(url)?_1d(url):url)+(_1e[1]?"!"+_1e[1]:"");},load:function(id,_1f,_20){var _21=id.split("!"),_22=_21.length>1,_23=_21[0],url=_1f.toUrl(_21[0]),_24="url:"+url,_25=_17,_26=function(_27){_20(_22?_14(_27):_27);};if(_23 in _13){_25=_13[_23];}else{if(_1f.cache&&_24 in _1f.cache){_25=_1f.cache[_24];}else{if(url in _13){_25=_13[url];}}}if(_25===_17){if(_18[url]){_18[url].push(_26);}else{var _28=_18[url]=[_26];_10(url,!_1f.async,function(_29){_13[_23]=_13[url]=_29;for(var i=0;i<_28.length;){_28[i++](_29);}delete _18[url];});}}else{_26(_25);}}};});},"dojo/request":function(){define(["./request/default!"],function(_2a){return _2a;});},"dojo/request/default":function(){define(["exports","require","../has"],function(_2b,_2c,has){var _2d=has("config-requestProvider"),_2e;if(1||has("host-webworker")){_2e="./xhr";}else{if(0){_2e="./node";}}if(!_2d){_2d=_2e;}_2b.getPlatformDefaultId=function(){return _2e;};_2b.load=function(id,_2f,_30,_31){_2c([id=="platform"?_2e:_2d],function(_32){_30(_32);});};});},"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","./json5","./query","./on","./ready"],function(_33,_34,_35,_36,_37,dom,_38,_39,_3a,all,_3b,_3c,has,_3d,_3e,don,_3f){new Date("X");var _40;if(has("csp-restrictions")){_40=_3d.parse;}else{_40=function(_41){return eval("("+_41+")");};}var _42=0;_3a.after(_35,"extend",function(){_42++;},true);function _43(_44){var map=_44._nameCaseMap,_45=_44.prototype;if(!map||map._extendCnt<_42){map=_44._nameCaseMap={};for(var _46 in _45){if(_46.charAt(0)==="_"){continue;}map[_46.toLowerCase()]=_46;}map._extendCnt=_42;}return map;};function _47(_48,_49){if(!_49){_49=_33;}var _4a=_49._dojoParserCtorMap||(_49._dojoParserCtorMap={});var ts=_48.join();if(!_4a[ts]){var _4b=[];for(var i=0,l=_48.length;i<l;i++){var t=_48[i];_4b[_4b.length]=(_4a[t]=_4a[t]||(_35.getObject(t)||(~t.indexOf("/")&&_49(t))));}var _4c=_4b.shift();_4a[ts]=_4b.length?(_4c.createSubclass?_4c.createSubclass(_4b):_4c.extend.apply(_4c,_4b)):_4c;}return _4a[ts];};var _4d={_clearCache:function(){_42++;_ctorMap={};},_functionFromScript:function(_4e,_4f){var _50="",_51="",_52=(_4e.getAttribute(_4f+"args")||_4e.getAttribute("args")),_53=_4e.getAttribute("with");var _54=(_52||"").split(/\s*,\s*/);if(_53&&_53.length){_36.forEach(_53.split(/\s*,\s*/),function(_55){_50+="with("+_55+"){";_51+="}";});}return new Function(_54,_50+_4e.innerHTML+_51);},instantiate:function(_56,_57,_58){_57=_57||{};_58=_58||{};var _59=(_58.scope||_34._scopeName)+"Type",_5a="data-"+(_58.scope||_34._scopeName)+"-",_5b=_5a+"type",_5c=_5a+"mixins";var _5d=[];_36.forEach(_56,function(_5e){var _5f=_59 in _57?_57[_59]:_5e.getAttribute(_5b)||_5e.getAttribute(_59);if(_5f){var _60=_5e.getAttribute(_5c),_61=_60?[_5f].concat(_60.split(/\s*,\s*/)):[_5f];_5d.push({node:_5e,types:_61});}});return this._instantiate(_5d,_57,_58);},_instantiate:function(_62,_63,_64,_65){var _66=_36.map(_62,function(obj){var _67=obj.ctor||_47(obj.types,_64.contextRequire);if(!_67){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_67,obj.node,_63,_64,obj.scripts,obj.inherited);},this);function _68(_69){if(!_63._started&&!_64.noStart){_36.forEach(_69,function(_6a){if(typeof _6a.startup==="function"&&!_6a._started){_6a.startup();}});}return _69;};if(_65){return all(_66).then(_68);}else{return _68(_66);}},construct:function(_6b,_6c,_6d,_6e,_6f,_70){var _71=_6b&&_6b.prototype;_6e=_6e||{};var _72={};if(_6e.defaults){_35.mixin(_72,_6e.defaults);}if(_70){_35.mixin(_72,_70);}var _73;if(has("dom-attributes-explicit")){_73=_6c.attributes;}else{if(has("dom-attributes-specified-flag")){_73=_36.filter(_6c.attributes,function(a){return a.specified;});}else{var _74=/^input$|^img$/i.test(_6c.nodeName)?_6c:_6c.cloneNode(false),_75=_74.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_73=_36.map(_75.split(/\s+/),function(_76){var _77=_76.toLowerCase();return {name:_76,value:(_6c.nodeName=="LI"&&_76=="value")||_77=="enctype"?_6c.getAttribute(_77):_6c.getAttributeNode(_77).value};});}}var _78=_6e.scope||_34._scopeName,_79="data-"+_78+"-",_7a={};if(_78!=="dojo"){_7a[_79+"props"]="data-dojo-props";_7a[_79+"type"]="data-dojo-type";_7a[_79+"mixins"]="data-dojo-mixins";_7a[_78+"type"]="dojotype";_7a[_79+"id"]="data-dojo-id";}var i=0,_7b,_7c=[],_7d,_7e;while(_7b=_73[i++]){var _7f=_7b.name,_80=_7f.toLowerCase(),_81=_7b.value;switch(_7a[_80]||_80){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_7e=_81;break;case "data-dojo-id":case "jsid":_7d=_81;break;case "data-dojo-attach-point":case "dojoattachpoint":_72.dojoAttachPoint=_81;break;case "data-dojo-attach-event":case "dojoattachevent":_72.dojoAttachEvent=_81;break;case "class":_72["class"]=_6c.className;break;case "style":_72["style"]=_6c.style&&_6c.style.cssText;break;default:if(!(_7f in _71)){var map=_43(_6b);_7f=map[_80]||_7f;}if(_7f in _71){switch(typeof _71[_7f]){case "string":_72[_7f]=_81;break;case "number":_72[_7f]=_81.length?Number(_81):NaN;break;case "boolean":_72[_7f]=_81.toLowerCase()!="false";break;case "function":if(_81===""||_81.search(/[^\w\.]+/i)!=-1){_72[_7f]=new Function(_81);}else{_72[_7f]=_35.getObject(_81,false)||new Function(_81);}_7c.push(_7f);break;default:var _82=_71[_7f];try{_72[_7f]=(_82&&"length" in _82)?(_81?_81.split(/\s*,\s*/):[]):(_82 instanceof Date)?(_81==""?new Date(""):_81=="now"?new Date():_3b.fromISOString(_81)):(_82 instanceof _39)?(_34.baseUrl+_81):_40(_81);}catch(error){console.error(error);}}}else{_72[_7f]=_81;}}}for(var j=0;j<_7c.length;j++){var _83=_7c[j].toLowerCase();_6c.removeAttribute(_83);_6c[_83]=null;}if(_7e){try{_7e=_40.call(_6e.propsThis,"{"+_7e+"}");_35.mixin(_72,_7e);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_7e+"'");}}_35.mixin(_72,_6d);if(!_6f){_6f=(_6b&&(_6b._noScript||_71._noScript)?[]:_3e("> script[type^='dojo/']",_6c));}var _84=[],_85=[],_86=[],ons=[];if(_6f){for(i=0;i<_6f.length;i++){var _87=_6f[i];_6c.removeChild(_87);var _88=(_87.getAttribute(_79+"event")||_87.getAttribute("event")),_89=_87.getAttribute(_79+"prop"),_8a=_87.getAttribute(_79+"method"),_8b=_87.getAttribute(_79+"advice"),_8c=_87.getAttribute("type"),nf=this._functionFromScript(_87,_79);if(_88){if(_8c=="dojo/connect"){_84.push({method:_88,func:nf});}else{if(_8c=="dojo/on"){ons.push({event:_88,func:nf});}else{_72[_88]=nf;}}}else{if(_8c=="dojo/aspect"){_84.push({method:_8a,advice:_8b,func:nf});}else{if(_8c=="dojo/watch"){_86.push({prop:_89,func:nf});}else{_85.push(nf);}}}}}var _8d=_6b.markupFactory||_71.markupFactory;var _8e=_8d?_8d(_72,_6c,_6b):new _6b(_72,_6c);function _8f(_90){if(_7d){_35.setObject(_7d,_90);}for(i=0;i<_84.length;i++){_3a[_84[i].advice||"after"](_90,_84[i].method,_35.hitch(_90,_84[i].func),true);}for(i=0;i<_85.length;i++){_85[i].call(_90);}for(i=0;i<_86.length;i++){_90.watch(_86[i].prop,_86[i].func);}for(i=0;i<ons.length;i++){don(_90,ons[i].event,ons[i].func);}return _90;};if(_8e.then){return _8e.then(_8f);}else{return _8f(_8e);}},scan:function(_91,_92){var _93=[],_94=[],_95={};var _96=(_92.scope||_34._scopeName)+"Type",_97="data-"+(_92.scope||_34._scopeName)+"-",_98=_97+"type",_99=_97+"textdir",_9a=_97+"mixins";var _9b=_91.firstChild;var _9c=_92.inherited;if(!_9c){var _9d=function _9d(_9e,_9f){return (_9e.getAttribute&&_9e.getAttribute(_9f))||(_9e.parentNode&&_9d(_9e.parentNode,_9f));};_9c={dir:_9d(_91,"dir"),lang:_9d(_91,"lang"),textDir:_9d(_91,_99)};for(var key in _9c){if(!_9c[key]){delete _9c[key];}}}var _a0={inherited:_9c};var _a1;var _a2;function _a3(_a4){if(!_a4.inherited){_a4.inherited={};var _a5=_a4.node,_a6=_a3(_a4.parent);var _a7={dir:_a5.getAttribute("dir")||_a6.dir,lang:_a5.getAttribute("lang")||_a6.lang,textDir:_a5.getAttribute(_99)||_a6.textDir};for(var key in _a7){if(_a7[key]){_a4.inherited[key]=_a7[key];}}}return _a4.inherited;};while(true){if(!_9b){if(!_a0||!_a0.node){break;}_9b=_a0.node.nextSibling;_a2=false;_a0=_a0.parent;_a1=_a0.scripts;continue;}if(_9b.nodeType!=1){_9b=_9b.nextSibling;continue;}if(_a1&&_9b.nodeName.toLowerCase()=="script"){_a8=_9b.getAttribute("type");if(_a8&&/^dojo\/\w/i.test(_a8)){_a1.push(_9b);}_9b=_9b.nextSibling;continue;}if(_a2){_9b=_9b.nextSibling;continue;}var _a8=_9b.getAttribute(_98)||_9b.getAttribute(_96);var _a9=_9b.firstChild;if(!_a8&&(!_a9||(_a9.nodeType==3&&!_a9.nextSibling))){_9b=_9b.nextSibling;continue;}var _aa;var _ab=null;if(_a8){var _ac=_9b.getAttribute(_9a),_ad=_ac?[_a8].concat(_ac.split(/\s*,\s*/)):[_a8];try{_ab=_47(_ad,_92.contextRequire);}catch(e){}if(!_ab){_36.forEach(_ad,function(t){if(~t.indexOf("/")&&!_95[t]){_95[t]=true;_94[_94.length]=t;}});}var _ae=_ab&&!_ab.prototype._noScript?[]:null;_aa={types:_ad,ctor:_ab,parent:_a0,node:_9b,scripts:_ae};_aa.inherited=_a3(_aa);_93.push(_aa);}else{_aa={node:_9b,scripts:_a1,parent:_a0};}_a1=_ae;_a2=_9b.stopParser||(_ab&&_ab.prototype.stopParser&&!(_92.template));_a0=_aa;_9b=_a9;}var d=new _3c();if(_94.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_94.join(", "));}var r=_92.contextRequire||_33;r(_94,function(){d.resolve(_36.filter(_93,function(_af){if(!_af.ctor){try{_af.ctor=_47(_af.types,_92.contextRequire);}catch(e){}}var _b0=_af.parent;while(_b0&&!_b0.types){_b0=_b0.parent;}var _b1=_af.ctor&&_af.ctor.prototype;_af.instantiateChildren=!(_b1&&_b1.stopParser&&!(_92.template));_af.instantiate=!_b0||(_b0.instantiate&&_b0.instantiateChildren);return _af.instantiate;}));});}else{d.resolve(_93);}return d.promise;},_require:function(_b2,_b3){var _b4=_40("{"+_b2.innerHTML+"}"),_b5=[],_b6=[],d=new _3c();var _b7=(_b3&&_b3.contextRequire)||_33;for(var _b8 in _b4){_b5.push(_b8);_b6.push(_b4[_b8]);}_b7(_b6,function(){for(var i=0;i<_b5.length;i++){_35.setObject(_b5[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_b9,_ba){var _bb=new _3c(),_bc=_bb.promise;_bb.resolve(true);var _bd=this;_3e("script[type='dojo/require']",_b9).forEach(function(_be){_bc=_bc.then(function(){return _bd._require(_be,_ba);});_be.parentNode.removeChild(_be);});return _bc;},parse:function(_bf,_c0){if(_bf&&typeof _bf!="string"&&!("nodeType" in _bf)){_c0=_bf;_bf=_c0.rootNode;}var _c1=_bf?dom.byId(_bf):_38.body();_c0=_c0||{};var _c2=_c0.template?{template:true}:{},_c3=[],_c4=this;var p=this._scanAmd(_c1,_c0).then(function(){return _c4.scan(_c1,_c0);}).then(function(_c5){return _c4._instantiate(_c5,_c2,_c0,true);}).then(function(_c6){return _c3=_c3.concat(_c6);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_35.mixin(_c3,p);return _c3;}};if(1){_34.parser=_4d;}if(_37.parseOnLoad){_3f(100,_4d,"parse");}return _4d;});},"dojo/promise/all":function(){define(["../_base/array","../_base/lang","../Deferred","../when"],function(_c7,_c8,_c9,_ca){"use strict";var _cb=_c7.some;return function all(_cc){var _cd,_c7;if(_c8.isArray(_cc)){_c7=_cc;}else{if(_cc&&typeof _cc==="object"){_cd=_cc;}}var _ce;var _cf=[];if(_cd){_c7=[];for(var key in _cd){if(Object.hasOwnProperty.call(_cd,key)){_cf.push(key);_c7.push(_cd[key]);}}_ce={};}else{if(_c7){_ce=[];}}if(!_c7||!_c7.length){return new _c9().resolve(_ce);}var _d0=new _c9();_d0.promise.always(function(){_ce=_cf=null;});var _d1=_c7.length;_cb(_c7,function(_d2,_d3){if(!_cd){_cf.push(_d3);}_ca(_d2,function(_d4){if(!_d0.isFulfilled()){_ce[_cf[_d3]]=_d4;if(--_d1===0){_d0.resolve(_ce);}}},_d0.reject);return _d0.isFulfilled();});return _d0.promise;};});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(_d5,_d6){var _d7={};_d5.setObject("dojo.date.stamp",_d7);_d7.fromISOString=function(_d8,_d9){if(!_d7._isoRegExp){_d7._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _da=_d7._isoRegExp.exec(_d8),_db=null;if(_da){_da.shift();if(_da[1]){_da[1]--;}if(_da[6]){_da[6]*=1000;}if(_d9){_d9=new Date(_d9);_d6.forEach(_d6.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_dc){return _d9["get"+_dc]();}),function(_dd,_de){_da[_de]=_da[_de]||_dd;});}_db=new Date(_da[0]||1970,_da[1]||0,_da[2]||1,_da[3]||0,_da[4]||0,_da[5]||0,_da[6]||0);if(_da[0]<100){_db.setFullYear(_da[0]||1970);}var _df=0,_e0=_da[7]&&_da[7].charAt(0);if(_e0!="Z"){_df=((_da[8]||0)*60)+(Number(_da[9])||0);if(_e0!="-"){_df*=-1;}}if(_e0){_df-=_db.getTimezoneOffset();}if(_df){_db.setTime(_db.getTime()+_df*60000);}}return _db;};_d7.toISOString=function(_e1,_e2){var _e3=function(n){return (n<10)?"0"+n:n;};_e2=_e2||{};var _e4=[],_e5=_e2.zulu?"getUTC":"get",_e6="";if(_e2.selector!="time"){var _e7=_e1[_e5+"FullYear"]();_e6=["0000".substr((_e7+"").length)+_e7,_e3(_e1[_e5+"Month"]()+1),_e3(_e1[_e5+"Date"]())].join("-");}_e4.push(_e6);if(_e2.selector!="date"){var _e8=[_e3(_e1[_e5+"Hours"]()),_e3(_e1[_e5+"Minutes"]()),_e3(_e1[_e5+"Seconds"]())].join(":");var _e9=_e1[_e5+"Milliseconds"]();if(_e2.milliseconds){_e8+="."+(_e9<100?"0":"")+_e3(_e9);}if(_e2.zulu){_e8+="Z";}else{if(_e2.selector!="time"){var _ea=_e1.getTimezoneOffset();var _eb=Math.abs(_ea);_e8+=(_ea>0?"-":"+")+_e3(Math.floor(_eb/60))+":"+_e3(_eb%60);}}_e4.push(_e8);}return _e4.join("T");};return _d7;});},"dojo/json5":function(){define(["./json5/parse"],function(_ec){return {parse:_ec};});},"dojo/json5/parse":function(){define(["../string","./util"],function(_ed,_ee){var _ef;var _f0;var _f1;var pos;var _f2;var _f3;var _f4;var key;var _f5;function _f6(_f7,_f8){_ef=String(_f7);_f0="start";_f1=[];pos=0;_f2=1;_f3=0;_f4=undefined;key=undefined;_f5=undefined;do{_f4=lex();_f9[_f0]();}while(_f4.type!=="eof");if(typeof _f8==="function"){return _fa({"":_f5},"",_f8);}return _f5;};function _fa(_fb,_fc,_fd){var _fe=_fb[_fc];if(_fe!=null&&typeof _fe==="object"){for(var _ff in _fe){var _100=_fa(_fe,_ff,_fd);if(_100===undefined){delete _fe[_ff];}else{_fe[_ff]=_100;}}}return _fd.call(_fb,_fc,_fe);};var _101;var _102;var _103;var sign;var c;function lex(){_101="default";_102="";_103=false;sign=1;for(;;){c=peek();var _104=_105[_101]();if(_104){return _104;}}};function peek(){if(_ef[pos]){return _ed.fromCodePoint(_ed.codePointAt(_ef,pos));}};function read(){var c=peek();if(c==="\n"){_f2++;_f3=0;}else{if(c){_f3+=c.length;}else{_f3++;}}if(c){pos+=c.length;}return c;};var _105={"default":function(){switch(c){case "\t":case "\v":case "\f":case " ":case " ":case "":case "\n":case "\r":case "
":case "
":read();return;case "/":read();_101="comment";return;case undefined:read();return _106("eof");}if(_ee.isSpaceSeparator(c)){read();return;}return _105[_f0]();},comment:function(){switch(c){case "*":read();_101="multiLineComment";return;case "/":read();_101="singleLineComment";return;}throw _107(read());},multiLineComment:function(){switch(c){case "*":read();_101="multiLineCommentAsterisk";return;case undefined:throw _107(read());}read();},multiLineCommentAsterisk:function(){switch(c){case "*":read();return;case "/":read();_101="default";return;case undefined:throw _107(read());}read();_101="multiLineComment";},singleLineComment:function(){switch(c){case "\n":case "\r":case "
":case "
":read();_101="default";return;case undefined:read();return _106("eof");}read();},value:function(){switch(c){case "{":case "[":return _106("punctuator",read());case "n":read();_108("ull");return _106("null",null);case "t":read();_108("rue");return _106("boolean",true);case "f":read();_108("alse");return _106("boolean",false);case "-":case "+":if(read()==="-"){sign=-1;}_101="sign";return;case ".":_102=read();_101="decimalPointLeading";return;case "0":_102=read();_101="zero";return;case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":_102=read();_101="decimalInteger";return;case "I":read();_108("nfinity");return _106("numeric",Infinity);case "N":read();_108("aN");return _106("numeric",NaN);case "\"":case "'":_103=(read()==="\"");_102="";_101="string";return;}throw _107(read());},identifierNameStartEscape:function(){if(c!=="u"){throw _107(read());}read();var u=_109();switch(u){case "$":case "_":break;default:if(!_ee.isIdStartChar(u)){throw _10a();}break;}_102+=u;_101="identifierName";},identifierName:function(){switch(c){case "$":case "_":case "":case "":_102+=read();return;case "\\":read();_101="identifierNameEscape";return;}if(_ee.isIdContinueChar(c)){_102+=read();return;}return _106("identifier",_102);},identifierNameEscape:function(){if(c!=="u"){throw _107(read());}read();var u=_109();switch(u){case "$":case "_":case "":case "":break;default:if(!_ee.isIdContinueChar(u)){throw _10a();}break;}_102+=u;_101="identifierName";},sign:function(){switch(c){case ".":_102=read();_101="decimalPointLeading";return;case "0":_102=read();_101="zero";return;case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":_102=read();_101="decimalInteger";return;case "I":read();_108("nfinity");return _106("numeric",sign*Infinity);case "N":read();_108("aN");return _106("numeric",NaN);}throw _107(read());},zero:function(){switch(c){case ".":_102+=read();_101="decimalPoint";return;case "e":case "E":_102+=read();_101="decimalExponent";return;case "x":case "X":_102+=read();_101="hexadecimal";return;}return _106("numeric",sign*0);},decimalInteger:function(){switch(c){case ".":_102+=read();_101="decimalPoint";return;case "e":case "E":_102+=read();_101="decimalExponent";return;}if(_ee.isDigit(c)){_102+=read();return;}return _106("numeric",sign*Number(_102));},decimalPointLeading:function(){if(_ee.isDigit(c)){_102+=read();_101="decimalFraction";return;}throw _107(read());},decimalPoint:function(){switch(c){case "e":case "E":_102+=read();_101="decimalExponent";return;}if(_ee.isDigit(c)){_102+=read();_101="decimalFraction";return;}return _106("numeric",sign*Number(_102));},decimalFraction:function(){switch(c){case "e":case "E":_102+=read();_101="decimalExponent";return;}if(_ee.isDigit(c)){_102+=read();return;}return _106("numeric",sign*Number(_102));},decimalExponent:function(){switch(c){case "+":case "-":_102+=read();_101="decimalExponentSign";return;}if(_ee.isDigit(c)){_102+=read();_101="decimalExponentInteger";return;}throw _107(read());},decimalExponentSign:function(){if(_ee.isDigit(c)){_102+=read();_101="decimalExponentInteger";return;}throw _107(read());},decimalExponentInteger:function(){if(_ee.isDigit(c)){_102+=read();return;}return _106("numeric",sign*Number(_102));},hexadecimal:function(){if(_ee.isHexDigit(c)){_102+=read();_101="hexadecimalInteger";return;}throw _107(read());},hexadecimalInteger:function(){if(_ee.isHexDigit(c)){_102+=read();return;}return _106("numeric",sign*Number(_102));},string:function(){switch(c){case "\\":read();_102+=_10b();return;case "\"":if(_103){read();return _106("string",_102);}_102+=read();return;case "'":if(!_103){read();return _106("string",_102);}_102+=read();return;case "\n":case "\r":throw _107(read());case "
":case "
":_10c(c);break;case undefined:throw _107(read());}_102+=read();},start:function(){switch(c){case "{":case "[":return _106("punctuator",read());}_101="value";},beforePropertyName:function(){switch(c){case "$":case "_":_102=read();_101="identifierName";return;case "\\":read();_101="identifierNameStartEscape";return;case "}":return _106("punctuator",read());case "\"":case "'":_103=(read()==="\"");_101="string";return;}if(_ee.isIdStartChar(c)){_102+=read();_101="identifierName";return;}throw _107(read());},afterPropertyName:function(){if(c===":"){return _106("punctuator",read());}throw _107(read());},beforePropertyValue:function(){_101="value";},afterPropertyValue:function(){switch(c){case ",":case "}":return _106("punctuator",read());}throw _107(read());},beforeArrayValue:function(){if(c==="]"){return _106("punctuator",read());}_101="value";},afterArrayValue:function(){switch(c){case ",":case "]":return _106("punctuator",read());}throw _107(read());},end:function(){throw _107(read());}};function _106(type,_10d){return {type:type,value:_10d,line:_f2,column:_f3};};function _108(s){for(var _10e=0,s_1=s;_10e<s_1.length;_10e++){var c_1=s_1[_10e];var p=peek();if(p!==c_1){throw _107(read());}read();}};function _10b(){var c=peek();switch(c){case "b":read();return "\b";case "f":read();return "\f";case "n":read();return "\n";case "r":read();return "\r";case "t":read();return "\t";case "v":read();return "\v";case "0":read();if(_ee.isDigit(peek())){throw _107(read());}return "\x00";case "x":read();return _10f();case "u":read();return _109();case "\n":case "
":case "
":read();return "";case "\r":read();if(peek()==="\n"){read();}return "";case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":throw _107(read());case undefined:throw _107(read());}return read();};function _10f(){var _110="";var c=peek();if(!_ee.isHexDigit(c)){throw _107(read());}_110+=read();c=peek();if(!_ee.isHexDigit(c)){throw _107(read());}_110+=read();return _ed.fromCodePoint(parseInt(_110,16));};function _109(){var _111="";var _112=4;while(_112-->0){var c_2=peek();if(!_ee.isHexDigit(c_2)){throw _107(read());}_111+=read();}return _ed.fromCodePoint(parseInt(_111,16));};var _f9={start:function(){if(_f4.type==="eof"){throw _113();}push();},beforePropertyName:function(){switch(_f4.type){case "identifier":case "string":key=_f4.value;_f0="afterPropertyName";return;case "punctuator":pop();return;case "eof":throw _113();}},afterPropertyName:function(){if(_f4.type==="eof"){throw _113();}_f0="beforePropertyValue";},beforePropertyValue:function(){if(_f4.type==="eof"){throw _113();}push();},beforeArrayValue:function(){if(_f4.type==="eof"){throw _113();}if(_f4.type==="punctuator"&&_f4.value==="]"){pop();return;}push();},afterPropertyValue:function(){if(_f4.type==="eof"){throw _113();}switch(_f4.value){case ",":_f0="beforePropertyName";return;case "}":pop();}},afterArrayValue:function(){if(_f4.type==="eof"){throw _113();}switch(_f4.value){case ",":_f0="beforeArrayValue";return;case "]":pop();}},end:function(){}};function push(){var _114;switch(_f4.type){case "punctuator":switch(_f4.value){case "{":_114={};break;case "[":_114=[];break;}break;case "null":case "boolean":case "numeric":case "string":_114=_f4.value;break;}if(_f5===undefined){_f5=_114;}else{var _115=_f1[_f1.length-1];if(Array.isArray(_115)){_115.push(_114);}else{_115[key]=_114;}}if(_114!==null&&typeof _114==="object"){_f1.push(_114);if(Array.isArray(_114)){_f0="beforeArrayValue";}else{_f0="beforePropertyName";}}else{var _116=_f1[_f1.length-1];if(_116==null){_f0="end";}else{if(Array.isArray(_116)){_f0="afterArrayValue";}else{_f0="afterPropertyValue";}}}};function pop(){_f1.pop();var _117=_f1[_f1.length-1];if(_117==null){_f0="end";}else{if(Array.isArray(_117)){_f0="afterArrayValue";}else{_f0="afterPropertyValue";}}};function _107(c){if(c===undefined){return _118("JSON5: invalid end of input at "+_f2+":"+_f3);}return _118("JSON5: invalid character '"+_119(c)+"' at "+_f2+":"+_f3);};function _113(){return _118("JSON5: invalid end of input at "+_f2+":"+_f3);};function _10a(){_f3-=5;return _118("JSON5: invalid identifier character at "+_f2+":"+_f3);};function _10c(c){console.warn("JSON5: '"+_119(c)+"' in strings is not valid ECMAScript; consider escaping");};function _119(c){var _11a={"'":"\\'","\"":"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","
":"\\u2028","
":"\\u2029"};if(_11a[c]){return _11a[c];}if(c<" "){var _11b=c.charCodeAt(0).toString(16);return "\\x"+("00"+_11b).substring(_11b.length);}return c;};function _118(_11c){var err=new SyntaxError(_11c);err.lineNumber=_f2;err.columnNumber=_f3;return err;};return _f6;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_11d,lang){var _11e=/[&<>'"\/]/g;var _11f={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _120={};lang.setObject("dojo.string",_120);_120.escape=function(str){if(!str){return "";}return str.replace(_11e,function(c){return _11f[c];});};_120.codePointAt=String.prototype.codePointAt?function(str,_121){return String.prototype.codePointAt.call(str,_121);}:function(str,_122){if(str==null){throw new TypeError("codePointAt called on null or undefined");}var size;var _123;var _124;var _125;str=String(str);size=str.length;_125=_122?Number(_122):0;if(_125!=_125){_125=0;}if(_125<0||_125>=size){return undefined;}_123=str.charCodeAt(_125);if(_123>=55296&&_123<=56319&&size>_125+1){_124=str.charCodeAt(_125+1);if(_124>=56320&&_124<=57343){return (_123-55296)*1024+_124-56320+65536;}}return _123;};_120.fromCodePoint=String.fromCodePoint||function(){var _126=[];var _127=0;var _128="";var _129;var _12a;for(_12a=0,len=arguments.length;_12a!==len;++_12a){_129=+arguments[_12a];if(!(_129<1114111&&(_129>>>0)===_129)){throw RangeError("Invalid code point: "+_129);}if(_129<=65535){_127=_126.push(_129);}else{_129-=65536;_127=_126.push((_129>>10)+55296,(_129%1024)+56320);}if(_127>=16383){_128+=String.fromCharCode.apply(null,_126);_126.length=0;}}return _128+String.fromCharCode.apply(null,_126);};_120.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("");};_120.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_120.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_120.substitute=function(_12b,map,_12c,_12d){_12d=_12d||_11d.global;_12c=_12c?lang.hitch(_12d,_12c):function(v){return v;};return _12b.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_12e,key,_12f){if(key==""){return "$";}var _130=lang.getObject(key,false,map);if(_12f){_130=lang.getObject(_12f,false,_12d).call(_12d,_130,key);}var _131=_12c(_130,key);if(typeof _131==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _131.toString();});};_120.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 _120;});},"dojo/json5/util":function(){define(["./unicode"],function(_132){return {isSpaceSeparator:function(c){return typeof c==="string"&&_132.Space_Separator.test(c);},isIdStartChar:function(c){return typeof c==="string"&&((c>="a"&&c<="z")||(c>="A"&&c<="Z")||(c==="$")||(c==="_")||_132.ID_Start.test(c));},isIdContinueChar:function(c){return typeof c==="string"&&((c>="a"&&c<="z")||(c>="A"&&c<="Z")||(c>="0"&&c<="9")||(c==="$")||(c==="_")||(c==="")||(c==="")||_132.ID_Continue.test(c));},isDigit:function(c){return typeof c==="string"&&/[0-9]/.test(c);},isHexDigit:function(c){return typeof c==="string"&&/[0-9A-Fa-f]/.test(c);},};});},"dojo/json5/unicode":function(){define({Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});},"dojo/node":function(){define(["./_base/kernel","./has","require"],function(_133,has,_134){var _135=_133.global.require&&_133.global.require.nodeRequire;if(!_135){throw new Error("Cannot find the Node.js require");}var _136=_135("module");return {load:function(id,_137,load){if(_136._findPath&&_136._nodeModulePaths){var _138=_136._findPath(id,_136._nodeModulePaths(_137.toUrl(".")));if(_138!==false){id=_138;}}var _139=define,_13a;define=undefined;try{_13a=_135(id);}finally{define=_139;}load(_13a);},normalize:function(id,_13b){if(id.charAt(0)==="."){id=_134.toUrl(_13b("./"+id));}return id;}};});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(lang,_13c,_13d,_13e,_13f,_140,_141){return _13c("dojo.data.ItemFileWriteStore",_140,{constructor:function(_142){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 _141.toISOString(obj,{zulu:true});};}if(_142&&(_142.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_143){if(!_143){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_144,_145){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _144!="object"&&typeof _144!="undefined"){throw new Error("newItem() was passed something other than an object");}var _146=null;var _147=this._getIdentifierAttribute();if(_147===Number){_146=this._arrayOfAllItems.length;}else{_146=_144[_147];if(typeof _146==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(lang.isArray(_146)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_146]==="undefined");}this._assert(typeof this._pending._newItems[_146]==="undefined");this._assert(typeof this._pending._deletedItems[_146]==="undefined");var _148={};_148[this._storeRefPropName]=this;_148[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_146]=_148;_148[_147]=[_146];}this._arrayOfAllItems.push(_148);var _149=null;if(_145&&_145.parent&&_145.attribute){_149={item:_145.parent,attribute:_145.attribute,oldValue:undefined};var _14a=this.getValues(_145.parent,_145.attribute);if(_14a&&_14a.length>0){var _14b=_14a.slice(0,_14a.length);if(_14a.length===1){_149.oldValue=_14a[0];}else{_149.oldValue=_14a.slice(0,_14a.length);}_14b.push(_148);this._setValueOrValues(_145.parent,_145.attribute,_14b,false);_149.newValue=this.getValues(_145.parent,_145.attribute);}else{this._setValueOrValues(_145.parent,_145.attribute,_148,false);_149.newValue=_148;}}else{_148[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_148);}this._pending._newItems[_146]=_148;for(var key in _144){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _14c=_144[key];if(!lang.isArray(_14c)){_14c=[_14c];}_148[key]=_14c;if(this.referenceIntegrity){for(var i=0;i<_14c.length;i++){var val=_14c[i];if(this.isItem(val)){this._addReferenceToMap(val,_148,key);}}}}this.onNew(_148,_149);return _148;},_removeArrayElement:function(_14d,_14e){var _14f=_13d.indexOf(_14d,_14e);if(_14f!=-1){_14d.splice(_14f,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _150=item[this._itemNumPropName];var _151=this.getIdentity(item);if(this.referenceIntegrity){var _152=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=lang.clone(item[this._reverseRefMap]);}_13d.forEach(_152,function(_153){_13d.forEach(this.getValues(item,_153),function(_154){if(this.isItem(_154)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_154),attr:_153});this._removeReferenceFromMap(_154,item,_153);}},this);},this);var _155=item[this._reverseRefMap];if(_155){for(var _156 in _155){var _157=null;if(this._itemsByIdentity){_157=this._itemsByIdentity[_156];}else{_157=this._arrayOfAllItems[_156];}if(_157){for(var _158 in _155[_156]){var _159=this.getValues(_157,_158)||[];var _15a=_13d.filter(_159,function(_15b){return !(this.isItem(_15b)&&this.getIdentity(_15b)==_151);},this);this._removeReferenceFromMap(item,_157,_158);if(_15a.length<_159.length){this._setValueOrValues(_157,_158,_15a,true);}}}}}}this._arrayOfAllItems[_150]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_151];}this._pending._deletedItems[_151]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_15c,_15d){return this._setValueOrValues(item,_15c,_15d,true);},setValues:function(item,_15e,_15f){return this._setValueOrValues(item,_15e,_15f,true);},unsetAttribute:function(item,_160){return this._setValueOrValues(item,_160,[],true);},_setValueOrValues:function(item,_161,_162,_163){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(lang.isString(_161));this._assert(typeof _162!=="undefined");var _164=this._getIdentifierAttribute();if(_161==_164){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _165=this._getValueOrValues(item,_161);var _166=this.getIdentity(item);if(!this._pending._modifiedItems[_166]){var _167={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_167[key]=item[key];}else{if(key===this._reverseRefMap){_167[key]=lang.clone(item[key]);}else{_167[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_166]=_167;}var _168=false;if(lang.isArray(_162)&&_162.length===0){_168=delete item[_161];_162=undefined;if(this.referenceIntegrity&&_165){var _169=_165;if(!lang.isArray(_169)){_169=[_169];}for(var i=0;i<_169.length;i++){var _16a=_169[i];if(this.isItem(_16a)){this._removeReferenceFromMap(_16a,item,_161);}}}}else{var _16b;if(lang.isArray(_162)){_16b=_162.slice(0,_162.length);}else{_16b=[_162];}if(this.referenceIntegrity){if(_165){var _169=_165;if(!lang.isArray(_169)){_169=[_169];}var map={};_13d.forEach(_169,function(_16c){if(this.isItem(_16c)){var id=this.getIdentity(_16c);map[id.toString()]=true;}},this);_13d.forEach(_16b,function(_16d){if(this.isItem(_16d)){var id=this.getIdentity(_16d);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_16d,item,_161);}}},this);for(var rId in map){var _16e;if(this._itemsByIdentity){_16e=this._itemsByIdentity[rId];}else{_16e=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_16e,item,_161);}}else{for(var i=0;i<_16b.length;i++){var _16a=_16b[i];if(this.isItem(_16a)){this._addReferenceToMap(_16a,item,_161);}}}}item[_161]=_16b;_168=true;}if(_163){this.onSet(item,_161,_165,_162);}return _168;},_addReferenceToMap:function(_16f,_170,_171){var _172=this.getIdentity(_170);var _173=_16f[this._reverseRefMap];if(!_173){_173=_16f[this._reverseRefMap]={};}var _174=_173[_172];if(!_174){_174=_173[_172]={};}_174[_171]=true;},_removeReferenceFromMap:function(_175,_176,_177){var _178=this.getIdentity(_176);var _179=_175[this._reverseRefMap];var _17a;if(_179){for(_17a in _179){if(_17a==_178){delete _179[_17a][_177];if(this._isEmpty(_179[_17a])){delete _179[_17a];}}}if(this._isEmpty(_179)){delete _175[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,_17b){var _17c=undefined;if(this.hasAttribute(item,_17b)){var _17d=this.getValues(item,_17b);if(_17d.length==1){_17c=_17d[0];}else{_17c=_17d;}}return _17c;},_flatten:function(_17e){if(this.isItem(_17e)){return {_reference:this.getIdentity(_17e)};}else{if(typeof _17e==="object"){for(var type in this._datatypeMap){var _17f=this._datatypeMap[type];if(lang.isObject(_17f)&&!lang.isFunction(_17f)){if(_17e instanceof _17f.type){if(!_17f.serialize){throw new Error("ItemFileWriteStore: No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_17f.serialize(_17e)};}}else{if(_17e instanceof _17f){return {_type:type,_value:_17e.toString()};}}}}return _17e;}},_getNewFileContentString:function(){var _180={};var _181=this._getIdentifierAttribute();if(_181!==Number){_180.identifier=_181;}if(this._labelAttr){_180.label=this._labelAttr;}_180.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _182={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _183=this.getValues(item,key);if(_183.length==1){_182[key]=this._flatten(_183[0]);}else{var _184=[];for(var j=0;j<_183.length;++j){_184.push(this._flatten(_183[j]));_182[key]=_184;}}}}_180.items.push(_182);}}var _185=true;return _13e.toJson(_180,_185);},_isEmpty:function(_186){var _187=true;if(lang.isObject(_186)){var i;for(i in _186){_187=false;break;}}else{if(lang.isArray(_186)){if(_186.length>0){_187=false;}}}return _187;},save:function(_188){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _189=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_188&&_188.onComplete){var _18a=_188.scope||_13f.global;_188.onComplete.call(_18a);}};var _18b=function(err){self._saveInProgress=false;if(_188&&_188.onError){var _18c=_188.scope||_13f.global;_188.onError.call(_18c,err);}};if(this._saveEverything){var _18d=this._getNewFileContentString();this._saveEverything(_189,_18b,_18d);}if(this._saveCustom){this._saveCustom(_189,_18b);}if(!this._saveEverything&&!this._saveCustom){_189();}},revert:function(){this._assert(!this._saveInProgress);var _18e;for(_18e in this._pending._modifiedItems){var _18f=this._pending._modifiedItems[_18e];var _190=null;if(this._itemsByIdentity){_190=this._itemsByIdentity[_18e];}else{_190=this._arrayOfAllItems[_18e];}_18f[this._storeRefPropName]=this;for(var key in _190){delete _190[key];}lang.mixin(_190,_18f);}var _191;for(_18e in this._pending._deletedItems){_191=this._pending._deletedItems[_18e];_191[this._storeRefPropName]=this;var _192=_191[this._itemNumPropName];if(_191["backup_"+this._reverseRefMap]){_191[this._reverseRefMap]=_191["backup_"+this._reverseRefMap];delete _191["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_192]=_191;if(this._itemsByIdentity){this._itemsByIdentity[_18e]=_191;}if(_191[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_191);}}for(_18e in this._pending._deletedItems){_191=this._pending._deletedItems[_18e];if(_191["backupRefs_"+this._reverseRefMap]){_13d.forEach(_191["backupRefs_"+this._reverseRefMap],function(_193){var _194;if(this._itemsByIdentity){_194=this._itemsByIdentity[_193.id];}else{_194=this._arrayOfAllItems[_193.id];}this._addReferenceToMap(_194,_191,_193.attr);},this);delete _191["backupRefs_"+this._reverseRefMap];}}for(_18e in this._pending._newItems){var _195=this._pending._newItems[_18e];_195[this._storeRefPropName]=null;this._arrayOfAllItems[_195[this._itemNumPropName]]=null;if(_195[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_195);}if(this._itemsByIdentity){delete this._itemsByIdentity[_18e];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _196=this.getIdentity(item);return new Boolean(this._pending._newItems[_196]||this._pending._modifiedItems[_196]||this._pending._deletedItems[_196]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_197,_198,_199){},onNew:function(_19a,_19b){},onDelete:function(_19c){},close:function(_19d){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/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_19e,lang,_19f,_1a0,xhr,_1a1,_1a2,_1a3,_1a4){var _1a5=_19f("dojo.data.ItemFileReadStore",[_1a1],{constructor:function(_1a6){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_1a6.url;this._ccUrl=_1a6.url;this.url=_1a6.url;this._jsonData=_1a6.data;this.data=null;this._datatypeMap=_1a6.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_1a7){return _1a4.fromISOString(_1a7);}};}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(_1a6.urlPreventCache!==undefined){this.urlPreventCache=_1a6.urlPreventCache?true:false;}if(_1a6.hierarchical!==undefined){this.hierarchical=_1a6.hierarchical?true:false;}if(_1a6.clearOnClose){this.clearOnClose=true;}if("failOk" in _1a6){this.failOk=_1a6.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_1a8){if(typeof _1a8!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_1a9,_1aa){var _1ab=this.getValues(item,_1a9);return (_1ab.length>0)?_1ab[0]:_1aa;},getValues:function(item,_1ac){this._assertIsItem(item);this._assertIsAttribute(_1ac);return (item[_1ac]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _1ad=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_1ad.push(key);}}return _1ad;},hasAttribute:function(item,_1ae){this._assertIsItem(item);this._assertIsAttribute(_1ae);return (_1ae in item);},containsValue:function(item,_1af,_1b0){var _1b1=undefined;if(typeof _1b0==="string"){_1b1=_1a2.patternToRegExp(_1b0,false);}return this._containsValue(item,_1af,_1b0,_1b1);},_containsValue:function(item,_1b2,_1b3,_1b4){return _1a0.some(this.getValues(item,_1b2),function(_1b5){if(_1b5!==null&&!lang.isObject(_1b5)&&_1b4){if(_1b5.toString().match(_1b4)){return true;}}else{if(_1b3===_1b5){return true;}}});},isItem:function(_1b6){if(_1b6&&_1b6[this._storeRefPropName]===this){if(this._arrayOfAllItems[_1b6[this._itemNumPropName]]===_1b6){return true;}}return false;},isItemLoaded:function(_1b7){return this.isItem(_1b7);},loadItem:function(_1b8){this._assertIsItem(_1b8.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_1b9,_1ba,_1bb){var _1bc=[],i,key;if(_1b9.query){var _1bd,_1be=_1b9.queryOptions?_1b9.queryOptions.ignoreCase:false;var _1bf={};for(key in _1b9.query){_1bd=_1b9.query[key];if(typeof _1bd==="string"){_1bf[key]=_1a2.patternToRegExp(_1bd,_1be);}else{if(_1bd instanceof RegExp){_1bf[key]=_1bd;}}}for(i=0;i<_1ba.length;++i){var _1c0=true;var _1c1=_1ba[i];if(_1c1===null){_1c0=false;}else{for(key in _1b9.query){_1bd=_1b9.query[key];if(!this._containsValue(_1c1,key,_1bd,_1bf[key])){_1c0=false;}}}if(_1c0){_1bc.push(_1c1);}}_1bb(_1bc,_1b9);}else{for(i=0;i<_1ba.length;++i){var item=_1ba[i];if(item!==null){_1bc.push(item);}}_1bb(_1bc,_1b9);}},_fetchItems:function(_1c2,_1c3,_1c4){var self=this;if(this._loadFinished){this.filter(_1c2,this._getItemsArray(_1c2.queryOptions),_1c3);}else{if(this._jsonFileUrl!==this._ccUrl){_19e.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:_1c2,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_1c3)});}else{this._loadInProgress=true;var _1c5={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _1c6=xhr.get(_1c5);_1c6.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_1c2,self._getItemsArray(_1c2.queryOptions),_1c3);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_1c4(e,_1c2);}});_1c6.addErrback(function(_1c7){self._loadInProgress=false;_1c4(_1c7,_1c2);});var _1c8=null;if(_1c2.abort){_1c8=_1c2.abort;}_1c2.abort=function(){var df=_1c6;if(df&&df.fired===-1){df.cancel();df=null;}if(_1c8){_1c8.call(_1c2);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_1c2,this._getItemsArray(_1c2.queryOptions),_1c3);}catch(e){_1c4(e,_1c2);}}else{_1c4(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_1c2);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _1c9=this._queuedFetches[i],_1ca=_1c9.args,_1cb=_1c9.filter,_1cc=_1c9.findCallback;if(_1cb){_1cb(_1ca,this._getItemsArray(_1ca.queryOptions),_1cc);}else{this.fetchItemByIdentity(_1ca);}}this._queuedFetches=[];}},_getItemsArray:function(_1cd){if(_1cd&&_1cd.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_1ce){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(_1cf){var _1d0=false,self=this;function _1d1(_1d2){return (_1d2!==null)&&(typeof _1d2==="object")&&(!lang.isArray(_1d2)||_1d0)&&(!lang.isFunction(_1d2))&&(_1d2.constructor==Object||lang.isArray(_1d2))&&(typeof _1d2._reference==="undefined")&&(typeof _1d2._type==="undefined")&&(typeof _1d2._value==="undefined")&&self.hierarchical;};function _1d3(_1d4){self._arrayOfAllItems.push(_1d4);for(var _1d5 in _1d4){var _1d6=_1d4[_1d5];if(_1d6){if(lang.isArray(_1d6)){var _1d7=_1d6;for(var k=0;k<_1d7.length;++k){var _1d8=_1d7[k];if(_1d1(_1d8)){_1d3(_1d8);}}}else{if(_1d1(_1d6)){_1d3(_1d6);}}}}};this._labelAttr=_1cf.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_1cf.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(lang.isArray(item)){_1d0=true;}_1d3(item);item[this._rootItemPropName]=true;}var _1d9={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _1da=item[key];if(_1da!==null){if(!lang.isArray(_1da)){item[key]=[_1da];}}else{item[key]=[null];}}_1d9[key]=key;}}while(_1d9[this._storeRefPropName]){this._storeRefPropName+="_";}while(_1d9[this._itemNumPropName]){this._itemNumPropName+="_";}while(_1d9[this._reverseRefMap]){this._reverseRefMap+="_";}var _1db;var _1dc=_1cf.identifier;if(_1dc){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_1dc;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_1db=item[_1dc];var _1dd=_1db[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_1dd)){this._itemsByIdentity[_1dd]=item;}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: ["+_1dc+"]. Value collided: ["+_1dd+"]");}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: ["+_1dc+"]. Value collided: ["+_1dd+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_1db=item[key];for(var j=0;j<_1db.length;++j){_1da=_1db[j];if(_1da!==null&&typeof _1da=="object"){if(("_type" in _1da)&&("_value" in _1da)){var type=_1da._type;var _1de=this._datatypeMap[type];if(!_1de){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(lang.isFunction(_1de)){_1db[j]=new _1de(_1da._value);}else{if(lang.isFunction(_1de.deserialize)){_1db[j]=_1de.deserialize(_1da._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(_1da._reference){var _1df=_1da._reference;if(!lang.isObject(_1df)){_1db[j]=this._getItemByIdentity(_1df);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _1e0=this._arrayOfAllItems[k],_1e1=true;for(var _1e2 in _1df){if(_1e0[_1e2]!=_1df[_1e2]){_1e1=false;}}if(_1e1){_1db[j]=_1e0;}}}if(this.referenceIntegrity){var _1e3=_1db[j];if(this.isItem(_1e3)){this._addReferenceToMap(_1e3,item,key);}}}else{if(this.isItem(_1da)){if(this.referenceIntegrity){this._addReferenceToMap(_1da,item,key);}}}}}}}},_addReferenceToMap:function(_1e4,_1e5,_1e6){},getIdentity:function(item){var _1e7=this._features["dojo.data.api.Identity"];if(_1e7===Number){return item[this._itemNumPropName];}else{var _1e8=item[_1e7];if(_1e8){return _1e8[0];}}return null;},fetchItemByIdentity:function(_1e9){var item,_1ea;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){_19e.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:_1e9});}else{this._loadInProgress=true;var _1eb={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _1ec=xhr.get(_1eb);_1ec.addCallback(function(data){var _1ed=_1e9.scope?_1e9.scope:_19e.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_1e9.identity);if(_1e9.onItem){_1e9.onItem.call(_1ed,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_1e9.onError){_1e9.onError.call(_1ed,error);}}});_1ec.addErrback(function(_1ee){self._loadInProgress=false;if(_1e9.onError){var _1ef=_1e9.scope?_1e9.scope:_19e.global;_1e9.onError.call(_1ef,_1ee);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_1e9.identity);if(_1e9.onItem){_1ea=_1e9.scope?_1e9.scope:_19e.global;_1e9.onItem.call(_1ea,item);}}}}else{item=this._getItemByIdentity(_1e9.identity);if(_1e9.onItem){_1ea=_1e9.scope?_1e9.scope:_19e.global;_1e9.onItem.call(_1ea,item);}}},_getItemByIdentity:function(_1f0){var item=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_1f0)){item=this._itemsByIdentity[_1f0];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_1f0)){item=this._arrayOfAllItems[_1f0];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _1f1=this._features["dojo.data.api.Identity"];if(_1f1===Number){return null;}else{return [_1f1];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_19e.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 _1f2={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _1f3=xhr.get(_1f2);_1f3.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}else{if(self._loadInProgress){throw new Error(this.declaredClass+": Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_1f3.addErrback(function(_1f4){throw _1f4;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});lang.extend(_1a5,_1a3);return _1a5;});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _1f5={};lang.setObject("dojo.data.util.filter",_1f5);_1f5.patternToRegExp=function(_1f6,_1f7){var rxp="^";var c=null;for(var i=0;i<_1f6.length;i++){c=_1f6.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_1f6.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(_1f7){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _1f5;});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_1f8,_1f9){var _1fa={};lang.setObject("dojo.data.util.simpleFetch",_1fa);_1fa.errorHandler=function(_1fb,_1fc){if(_1fc.onError){var _1fd=_1fc.scope||_1f8.global;_1fc.onError.call(_1fd,_1fb,_1fc);}};_1fa.fetchHandler=function(_1fe,_1ff){var _200=_1ff.abort||null,_201=false,_202=_1ff.start?_1ff.start:0,_203=(_1ff.count&&(_1ff.count!==Infinity))?(_202+_1ff.count):_1fe.length;_1ff.abort=function(){_201=true;if(_200){_200.call(_1ff);}};var _204=_1ff.scope||_1f8.global;if(!_1ff.store){_1ff.store=this;}if(_1ff.onBegin){_1ff.onBegin.call(_204,_1fe.length,_1ff);}if(_1ff.sort){_1fe.sort(_1f9.createSortFunction(_1ff.sort,this));}if(_1ff.onItem){for(var i=_202;(i<_1fe.length)&&(i<_203);++i){var item=_1fe[i];if(!_201){_1ff.onItem.call(_204,item,_1ff);}}}if(_1ff.onComplete&&!_201){var _205=null;if(!_1ff.onItem){_205=_1fe.slice(_202,_203);}_1ff.onComplete.call(_204,_205,_1ff);}};_1fa.fetch=function(_206){_206=_206||{};if(!_206.store){_206.store=this;}this._fetchItems(_206,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _206;};return _1fa;});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _207={};lang.setObject("dojo.data.util.sorter",_207);_207.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;};_207.createSortFunction=function(_208,_209){var _20a=[];function _20b(attr,dir,comp,s){return function(_20c,_20d){var a=s.getValue(_20c,attr);var b=s.getValue(_20d,attr);return dir*comp(a,b);};};var _20e;var map=_209.comparatorMap;var bc=_207.basicComparator;for(var i=0;i<_208.length;i++){_20e=_208[i];var attr=_20e.attribute;if(attr){var dir=(_20e.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_20a.push(_20b(attr,dir,comp,_209));}}return function(rowA,rowB){var i=0;while(i<_20a.length){var ret=_20a[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _207;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_20f,lang,win){var trim=lang.trim;var each=_20f.forEach;var _210=function(){return win.doc;};var _211=(_210().compatMode)=="BackCompat";var _212=">~+";var _213=false;var _214=function(){return true;};var _215=function(_216){if(_212.indexOf(_216.slice(-1))>=0){_216+=" * ";}else{_216+=" ";}var ts=function(s,e){return trim(_216.slice(s,e));};var _217=[];var _218=-1,_219=-1,_21a=-1,_21b=-1,_21c=-1,inId=-1,_21d=-1,_21e,lc="",cc="",_21f;var x=0,ql=_216.length,_220=null,_221=null;var _222=function(){if(_21d>=0){var tv=(_21d==x)?null:ts(_21d,x);_220[(_212.indexOf(tv)<0)?"tag":"oper"]=tv;_21d=-1;}};var _223=function(){if(inId>=0){_220.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _224=function(){if(_21c>=0){_220.classes.push(ts(_21c+1,x).replace(/\\/g,""));_21c=-1;}};var _225=function(){_223();_222();_224();};var _226=function(){_225();if(_21b>=0){_220.pseudos.push({name:ts(_21b+1,x)});}_220.loops=(_220.pseudos.length||_220.attrs.length||_220.classes.length);_220.oquery=_220.query=ts(_21f,x);_220.otag=_220.tag=(_220["oper"])?null:(_220.tag||"*");if(_220.tag){_220.tag=_220.tag.toUpperCase();}if(_217.length&&(_217[_217.length-1].oper)){_220.infixOper=_217.pop();_220.query=_220.infixOper.query+" "+_220.query;}_217.push(_220);_220=null;};for(;lc=cc,cc=_216.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_220){_21f=x;_220={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _213?this.otag:this.tag;}};_21d=x;}if(_21e){if(cc==_21e){_21e=null;}continue;}else{if(cc=="'"||cc=="\""){_21e=cc;continue;}}if(_218>=0){if(cc=="]"){if(!_221.attr){_221.attr=ts(_218+1,x);}else{_221.matchFor=ts((_21a||_218+1),x);}var cmf=_221.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_221.matchFor=cmf.slice(1,-1);}}if(_221.matchFor){_221.matchFor=_221.matchFor.replace(/\\/g,"");}_220.attrs.push(_221);_221=null;_218=_21a=-1;}else{if(cc=="="){var _227=("|~^$*".indexOf(lc)>=0)?lc:"";_221.type=_227+cc;_221.attr=ts(_218+1,x-_227.length);_21a=x+1;}}}else{if(_219>=0){if(cc==")"){if(_21b>=0){_221.value=ts(_219+1,x);}_21b=_219=-1;}}else{if(cc=="#"){_225();inId=x+1;}else{if(cc=="."){_225();_21c=x;}else{if(cc==":"){_225();_21b=x;}else{if(cc=="["){_225();_218=x;_221={};}else{if(cc=="("){if(_21b>=0){_221={name:ts(_21b+1,x),value:null};_220.pseudos.push(_221);}_219=x;}else{if((cc==" ")&&(lc!=cc)){_226();}}}}}}}}}return _217;};var _228=function(_229,_22a){if(!_229){return _22a;}if(!_22a){return _229;}return function(){return _229.apply(window,arguments)&&_22a.apply(window,arguments);};};var _22b=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _22c=function(n){return (1==n.nodeType);};var _22d="";var _22e=function(elem,attr){if(!elem){return _22d;}if(attr=="class"){return elem.className||_22d;}if(attr=="for"){return elem.htmlFor||_22d;}if(attr=="style"){return elem.style.cssText||_22d;}return (_213?elem.getAttribute(attr):elem.getAttribute(attr,2))||_22d;};var _22f={"*=":function(attr,_230){return function(elem){return (_22e(elem,attr).indexOf(_230)>=0);};},"^=":function(attr,_231){return function(elem){return (_22e(elem,attr).indexOf(_231)==0);};},"$=":function(attr,_232){return function(elem){var ea=" "+_22e(elem,attr);var _233=ea.lastIndexOf(_232);return _233>-1&&(_233==(ea.length-_232.length));};},"~=":function(attr,_234){var tval=" "+_234+" ";return function(elem){var ea=" "+_22e(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_235){var _236=_235+"-";return function(elem){var ea=_22e(elem,attr);return ((ea==_235)||(ea.indexOf(_236)==0));};},"=":function(attr,_237){return function(elem){return (_22e(elem,attr)==_237);};}};var _238=_210().documentElement;var _239=!(_238.nextElementSibling||"nextElementSibling" in _238);var _23a=!_239?"nextElementSibling":"nextSibling";var _23b=!_239?"previousElementSibling":"previousSibling";var _23c=(_239?_22c:_214);var _23d=function(node){while(node=node[_23b]){if(_23c(node)){return false;}}return true;};var _23e=function(node){while(node=node[_23a]){if(_23c(node)){return false;}}return true;};var _23f=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[_23a]){if(_23c(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _240=function(elem){return !((_23f(elem))%2);};var _241=function(elem){return ((_23f(elem))%2);};var _242={"checked":function(name,_243){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_244){return function(elem){return elem.disabled;};},"enabled":function(name,_245){return function(elem){return !elem.disabled;};},"first-child":function(){return _23d;},"last-child":function(){return _23e;},"only-child":function(name,_246){return function(node){return _23d(node)&&_23e(node);};},"empty":function(name,_247){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,_248){var cz=_248.charAt(0);if(cz=="\""||cz=="'"){_248=_248.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_248)>=0);};},"not":function(name,_249){var p=_215(_249)[0];var _24a={el:1};if(p.tag!="*"){_24a.tag=1;}if(!p.classes.length){_24a.classes=1;}var ntf=_24b(p,_24a);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_24c){var pi=parseInt;if(_24c=="odd"){return _241;}else{if(_24c=="even"){return _240;}}if(_24c.indexOf("n")!=-1){var _24d=_24c.split("n",2);var pred=_24d[0]?((_24d[0]=="-")?-1:pi(_24d[0])):1;var idx=_24d[1]?pi(_24d[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=_23f(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_24c=idx;}}var _24e=pi(_24c);return function(elem){return (_23f(elem)==_24e);};}};var _24f=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_213?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _24b=function(_250,_251){if(!_250){return _214;}_251=_251||{};var ff=null;if(!("el" in _251)){ff=_228(ff,_22c);}if(!("tag" in _251)){if(_250.tag!="*"){ff=_228(ff,function(elem){return (elem&&((_213?elem.tagName:elem.tagName.toUpperCase())==_250.getTag()));});}}if(!("classes" in _251)){each(_250.classes,function(_252,idx,arr){var re=new RegExp("(?:^|\\s)"+_252+"(?:\\s|$)");ff=_228(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _251)){each(_250.pseudos,function(_253){var pn=_253.name;if(_242[pn]){ff=_228(ff,_242[pn](pn,_253.value));}});}if(!("attrs" in _251)){each(_250.attrs,function(attr){var _254;var a=attr.attr;if(attr.type&&_22f[attr.type]){_254=_22f[attr.type](a,attr.matchFor);}else{if(a.length){_254=_24f(a);}}if(_254){ff=_228(ff,_254);}});}if(!("id" in _251)){if(_250.id){ff=_228(ff,function(elem){return (!!elem&&(elem.id==_250.id));});}}if(!ff){if(!("default" in _251)){ff=_214;}}return ff;};var _255=function(_256){return function(node,ret,bag){while(node=node[_23a]){if(_239&&(!_22c(node))){continue;}if((!bag||_257(node,bag))&&_256(node)){ret.push(node);}break;}return ret;};};var _258=function(_259){return function(root,ret,bag){var te=root[_23a];while(te){if(_23c(te)){if(bag&&!_257(te,bag)){break;}if(_259(te)){ret.push(te);}}te=te[_23a];}return ret;};};var _25a=function(_25b,_25c){var _25d=function(_25e){var _25f=[];try{_25f=Array.prototype.slice.call(_25e);}catch(e){for(var i=0,len=_25e.length;i<len;i++){_25f.push(_25e[i]);}}return _25f;};_25b=_25b||_214;return function(root,ret,bag){var te,x=0,tret=[];tret=_25d(root.children||root.childNodes);if(_25c){_20f.forEach(tret,function(node){if(node.nodeType===1){tret=tret.concat(_25d(node.getElementsByTagName("*")));}});}while(te=tret[x++]){if(_23c(te)&&(!bag||_257(te,bag))&&(_25b(te,x))){ret.push(te);}}return ret;};};var _260=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _261={};var _262=function(_263){var _264=_261[_263.query];if(_264){return _264;}var io=_263.infixOper;var oper=(io?io.oper:"");var _265=_24b(_263,{el:1});var qt=_263.tag;var _266=("*"==qt);var ecs=_210()["getElementsByClassName"];if(!oper){if(_263.id){_265=(!_263.loops&&_266)?_214:_24b(_263,{el:1,id:1});_264=function(root,arr){var te=dom.byId(_263.id,(root.ownerDocument||root));if(root.ownerDocument&&!_260(root,root.ownerDocument)){var _267=root.nodeType===11?root.childNodes:[root];_20f.some(_267,function(_268){var _269=_25a(function(node){return node.id===_263.id;},true)(_268,[]);if(_269.length){te=_269[0];return false;}});}if(!te||!_265(te)){return;}if(9==root.nodeType){return _22b(te,arr);}else{if(_260(te,root)){return _22b(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_263.classes.length&&!_211){_265=_24b(_263,{el:1,classes:1,id:1});var _26a=_263.classes.join(" ");_264=function(root,arr,bag){var ret=_22b(0,arr),te,x=0;var tret=root.getElementsByClassName(_26a);while((te=tret[x++])){if(_265(te,root)&&_257(te,bag)){ret.push(te);}}return ret;};}else{if(!_266&&!_263.loops){_264=function(root,arr,bag){var ret=_22b(0,arr),te,x=0;var tag=_263.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_257(te,bag)){ret.push(te);}}return ret;};}else{_265=_24b(_263,{el:1,tag:1,id:1});_264=function(root,arr,bag){var ret=_22b(0,arr),te,x=0;var tag=_263.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_265(te,root)&&_257(te,bag)){ret.push(te);}}return ret;};}}}}else{var _26b={el:1};if(_266){_26b.tag=1;}_265=_24b(_263,_26b);if("+"==oper){_264=_255(_265);}else{if("~"==oper){_264=_258(_265);}else{if(">"==oper){_264=_25a(_265);}}}}return _261[_263.query]=_264;};var _26c=function(root,_26d){var _26e=_22b(root),qp,x,te,qpl=_26d.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_26d[i];x=_26e.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_262(qp);for(var j=0;(te=_26e[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_26e=ret;}return ret;};var _26f={},_270={};var _271=function(_272){var _273=_215(trim(_272));if(_273.length==1){var tef=_262(_273[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _26c(root,_273);};};var _274=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _275=!!_210()[qsa];var _276=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _277=function(_278,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_278;};var _279=/([^[]*)([^\]]*])?/g;var _27a=function(_27b,_27c,att){return _27c.replace(_276,_277)+(att||"");};var _27d=function(_27e,_27f){_27e=_27e.replace(_279,_27a);if(_275){var _280=_270[_27e];if(_280&&!_27f){return _280;}}var _281=_26f[_27e];if(_281){return _281;}var qcz=_27e.charAt(0);var _282=(-1==_27e.indexOf(" "));if((_27e.indexOf("#")>=0)&&(_282)){_27f=true;}var _283=(_275&&(!_27f)&&(_212.indexOf(qcz)==-1)&&(!has("ie")||(_27e.indexOf(":")==-1))&&(!(_211&&(_27e.indexOf(".")>=0)))&&(_27e.indexOf(":contains")==-1)&&(_27e.indexOf(":checked")==-1)&&(_27e.indexOf("|=")==-1));if(_283){var tq=(_212.indexOf(_27e.charAt(_27e.length-1))>=0)?(_27e+" *"):_27e;return _270[_27e]=function(root){if(9==root.nodeType||_282){try{var r=root[qsa](tq);r[_274]=true;return r;}catch(e){}}return _27d(_27e,true)(root);};}else{var _284=_27e.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _26f[_27e]=((_284.length<2)?_271(_27e):function(root){var _285=0,ret=[],tp;while((tp=_284[_285++])){ret=ret.concat(_271(tp)(root));}return ret;});}};var _286=0;var _287=has("ie")?function(node){if(_213){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_286)||_286);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_286));};var _257=function(node,bag){if(!bag){return 1;}var id=_287(node);if(!bag[id]){return bag[id]=1;}return 0;};var _288="_zipIdx";var _289=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_286++;var x,te;if(has("ie")&&_213){var _28a=_286+"";for(x=0;x<arr.length;x++){if((te=arr[x])&&te.getAttribute(_288)!=_28a){ret.push(te);te.setAttribute(_288,_28a);}}}else{if(has("ie")&&arr.commentStrip){try{for(x=0;x<arr.length;x++){if((te=arr[x])&&_22c(te)){ret.push(te);}}}catch(e){}}else{for(x=0;x<arr.length;x++){if((te=arr[x])&&te[_288]!=_286){ret.push(te);te[_288]=_286;}}}}return ret;};var _28b=function(_28c,root){root=root||_210();var od=root.ownerDocument||root;_213=(od.createElement("div").tagName==="div");var r=_27d(_28c)(root);if(r&&r.nozip){return r;}return _289(r);};_28b.filter=function(_28d,_28e,root){var _28f=[],_290=_215(_28e),_291=(_290.length==1&&!/[^\w#\.]/.test(_28e))?_24b(_290[0]):function(node){return _20f.indexOf(_28b(_28e,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_28d[x];x++){if(_291(te)){_28f.push(te);}}return _28f;};return _28b;});},"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(has,dojo){"use strict";var _292=document.createElement("div");var _293=_292.matches||_292.webkitMatchesSelector||_292.mozMatchesSelector||_292.msMatchesSelector||_292.oMatchesSelector;var _294=_292.querySelectorAll;var _295=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;has.add("dom-matches-selector",!!_293);has.add("dom-qsa",!!_294);var _296=function(_297,root){if(_298&&_297.indexOf(",")>-1){return _298(_297,root);}var doc=root?root.ownerDocument||root:dojo.doc||document,_299=(_294?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(_297);root=root||doc;if(_299){var _29a=has("ie")===8&&has("quirks")?root.nodeType===doc.nodeType:root.parentNode!==null&&root.nodeType!==9&&root.parentNode===doc;if(_299[2]&&_29a){var _29b=dojo.byId?dojo.byId(_299[2],doc):doc.getElementById(_299[2]);if(!_29b||(_299[1]&&_299[1]!=_29b.tagName.toLowerCase())){return [];}if(root!=doc){var _29c=_29b;while(_29c!=root){_29c=_29c.parentNode;if(!_29c){return [];}}}return _299[3]?_296(_299[3],_29b):[_29b];}if(_299[3]&&root.getElementsByClassName){return root.getElementsByClassName(_299[4]);}var _29b;if(_299[5]){_29b=root.getElementsByTagName(_299[5]);if(_299[4]||_299[6]){_297=(_299[4]||"")+_299[6];}else{return _29b;}}}if(_294){if(root.nodeType===1&&root.nodeName.toLowerCase()!=="object"){return _29d(root,_297,root.querySelectorAll);}else{return root.querySelectorAll(_297);}}else{if(!_29b){_29b=root.getElementsByTagName("*");}}var _29e=[];for(var i=0,l=_29b.length;i<l;i++){var node=_29b[i];if(node.nodeType==1&&_29f(node,_297,root)){_29e.push(node);}}return _29e;};var _29d=function(_2a0,_2a1,_2a2){var _2a3=_2a0,old=_2a0.getAttribute("id"),nid=old||"__dojo__",_2a4=_2a0.parentNode,_2a5=/^\s*[+~]/.test(_2a1);if(_2a5&&!_2a4){return [];}if(!old){_2a0.setAttribute("id",nid);}else{nid=nid.replace(/'/g,"\\$&");}if(_2a5&&_2a4){_2a0=_2a0.parentNode;}var _2a6=_2a1.match(_295);for(var i=0;i<_2a6.length;i++){_2a6[i]="[id='"+nid+"'] "+_2a6[i];}_2a1=_2a6.join(",");try{return _2a2.call(_2a0,_2a1);}finally{if(!old){_2a3.removeAttribute("id");}}};if(!has("dom-matches-selector")){var _29f=(function(){var _2a7=_292.tagName=="div"?"toLowerCase":"toUpperCase";var _2a8={"":function(_2a9){_2a9=_2a9[_2a7]();return function(node){return node.tagName==_2a9;};},".":function(_2aa){var _2ab=" "+_2aa+" ";return function(node){return node.className.indexOf(_2aa)>-1&&(" "+node.className+" ").indexOf(_2ab)>-1;};},"#":function(id){return function(node){return node.id==id;};}};var _2ac={"^=":function(_2ad,_2ae){return _2ad.indexOf(_2ae)==0;},"*=":function(_2af,_2b0){return _2af.indexOf(_2b0)>-1;},"$=":function(_2b1,_2b2){return _2b1.substring(_2b1.length-_2b2.length,_2b1.length)==_2b2;},"~=":function(_2b3,_2b4){return (" "+_2b3+" ").indexOf(" "+_2b4+" ")>-1;},"|=":function(_2b5,_2b6){return (_2b5+"-").indexOf(_2b6+"-")==0;},"=":function(_2b7,_2b8){return _2b7==_2b8;},"":function(_2b9,_2ba){return true;}};function attr(name,_2bb,type){var _2bc=_2bb.charAt(0);if(_2bc=="\""||_2bc=="'"){_2bb=_2bb.slice(1,-1);}_2bb=_2bb.replace(/\\/g,"");var _2bd=_2ac[type||""];return function(node){var _2be=node.getAttribute(name);return _2be&&_2bd(_2be,_2bb);};};function _2bf(_2c0){return function(node,root){while((node=node.parentNode)!=root){if(_2c0(node,root)){return true;}}};};function _2c1(_2c2){return function(node,root){node=node.parentNode;return _2c2?node!=root&&_2c2(node,root):node==root;};};var _2c3={};function and(_2c4,next){return _2c4?function(node,root){return next(node)&&_2c4(node,root);}:next;};return function(node,_2c5,root){var _2c6=_2c3[_2c5];if(!_2c6){if(_2c5.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,_2c7,type,_2c8,_2c9,_2ca,_2cb){if(_2c8){_2c6=and(_2c6,_2a8[type||""](_2c8.replace(/\\/g,"")));}else{if(_2c7){_2c6=(_2c7==" "?_2bf:_2c1)(_2c6);}else{if(_2c9){_2c6=and(_2c6,attr(_2c9,_2cb,_2ca));}}}return "";})){throw new Error("Syntax error in query");}if(!_2c6){return true;}_2c3[_2c5]=_2c6;}return _2c6(node,root);};})();}if(!has("dom-qsa")){var _298=function(_2cc,root){var _2cd=_2cc.match(_295);var _2ce=[];for(var i=0;i<_2cd.length;i++){_2cc=new String(_2cd[i].replace(/\s*$/,""));_2cc.indexOf=escape;var _2cf=_296(_2cc,root);for(var j=0,l=_2cf.length;j<l;j++){var node=_2cf[j];_2ce[node.sourceIndex]=node;}}var _2d0=[];for(i in _2ce){_2d0.push(_2ce[i]);}return _2d0;};}_296.match=_293?function(node,_2d1,root){if(root&&root.nodeType!=9){return _29d(root,_2d1,function(_2d2){return _293.call(node,_2d2);});}return _293.call(node,_2d1);}:_29f;return _296;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_2d3,lang,_2d4,when){return _2d3("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(_2d5){if(_2d5){this.set(_2d5);}},_get:function(name,_2d6){return typeof this[_2d6.g]==="function"?this[_2d6.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_2d7){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _2d8=this._getAttrNames(name),_2d9=this._get(name,_2d8),_2da=this[_2d8.s],_2db;if(typeof _2da==="function"){_2db=_2da.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_2d7;}if(this._watchCallbacks){var self=this;when(_2db,function(){self._watchCallbacks(name,_2d9,_2d7);});}return this;},_changeAttrValue:function(name,_2dc){var _2dd=this.get(name);this[name]=_2dc;if(this._watchCallbacks){this._watchCallbacks(name,_2dd,_2dc);}return this;},watch:function(name,_2de){var _2df=this._watchCallbacks;if(!_2df){var self=this;_2df=this._watchCallbacks=function(name,_2e0,_2e1,_2e2){var _2e3=function(_2e4){if(_2e4){_2e4=_2e4.slice();for(var i=0,l=_2e4.length;i<l;i++){_2e4[i].call(self,name,_2e0,_2e1);}}};_2e3(_2df["_"+name]);if(!_2e2){_2e3(_2df["*"]);}};}if(!_2de&&typeof name==="function"){_2de=name;name="*";}else{name="_"+name;}var _2e5=_2df[name];if(typeof _2e5!=="object"){_2e5=_2df[name]=[];}_2e5.push(_2de);var _2e6={};_2e6.unwatch=_2e6.remove=function(){var _2e7=_2d4.indexOf(_2e5,_2de);if(_2e7>-1){_2e5.splice(_2e7,1);}};return _2e6;}});});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_2e8,dom,_2e9,lang,on,has,_2ea,_2eb,win){var ios4=has("ios")<5;var _2ec=has("pointer-events")||has("MSPointer"),_2ed=(function(){var _2ee={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_2ee[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _2ee;})();var _2ef=has("touch-events");var _2f0,_2f1,_2f2=false,_2f3,_2f4,_2f5,_2f6,_2f7,_2f8;var _2f9;function _2fa(_2fb,_2fc,_2fd){if(_2ec&&_2fd){return function(node,_2fe){return on(node,_2fd,_2fe);};}else{if(_2ef){return function(node,_2ff){var _300=on(node,_2fc,function(evt){_2ff.call(this,evt);_2f9=(new Date()).getTime();}),_301=on(node,_2fb,function(evt){if(!_2f9||(new Date()).getTime()>_2f9+1000){_2ff.call(this,evt);}});return {remove:function(){_300.remove();_301.remove();}};};}else{return function(node,_302){return on(node,_2fb,_302);};}}};function _303(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _304(e,_305,_306){if(_2ea.isRight(e)){return;}var _307=_303(e.target);_2f1=!e.target.disabled&&_307&&_307.dojoClick;if(_2f1){_2f2=(_2f1=="useTarget");_2f3=(_2f2?_307:e.target);if(_2f2){e.preventDefault();}_2f4=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_2f5=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_2f6=(typeof _2f1=="object"?_2f1.x:(typeof _2f1=="number"?_2f1:0))||4;_2f7=(typeof _2f1=="object"?_2f1.y:(typeof _2f1=="number"?_2f1:0))||4;if(!_2f0){_2f0=true;var _308=function _308(e){if(_2f2){_2f1=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_2f3);}else{_2f1=_2f1&&(e.changedTouches?e.changedTouches[0].target:e.target)==_2f3&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_2f4)<=_2f6&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_2f5)<=_2f7;}};win.doc.addEventListener(_305,function(e){if(_2ea.isRight(e)){return;}_308(e);if(_2f2){e.preventDefault();}},true);win.doc.addEventListener(_306,function(e){if(_2ea.isRight(e)){return;}_308(e);if(_2f1){_2f8=(new Date()).getTime();var _309=(_2f2?_2f3:e.target);if(_309.tagName==="LABEL"){_309=dom.byId(_309.getAttribute("for"))||_309;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _30a=function _30a(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _30b=_30a("mousedown");var _30c=_30a("mouseup");var _30d=_30a("click");setTimeout(function(){on.emit(_309,"mousedown",_30b);on.emit(_309,"mouseup",_30c);on.emit(_309,"click",_30d);_2f8=(new Date()).getTime();},0);}},true);var _30e=function _30e(type){win.doc.addEventListener(type,function(e){var _30f=e.target;if(_2f1&&!e._dojo_click&&(new Date()).getTime()<=_2f8+1000&&!(_30f.tagName=="INPUT"&&_2e9.contains(_30f,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_30f.tagName!="INPUT"||(_30f.type=="radio"&&(_2e9.contains(_30f,"dijitCheckBoxInput")||_2e9.contains(_30f,"mblRadioButton")))||(_30f.type=="checkbox"&&(_2e9.contains(_30f,"dijitCheckBoxInput")||_2e9.contains(_30f,"mblCheckBox"))))&&_30f.tagName!="TEXTAREA"&&_30f.tagName!="AUDIO"&&_30f.tagName!="VIDEO"){e.preventDefault();}}},true);};_30e("click");_30e("mousedown");_30e("mouseup");}}};var _310;if(has("touch")){if(_2ec){_2eb(function(){win.doc.addEventListener(_2ed.down,function(evt){_304(evt,_2ed.move,_2ed.up);},true);});}else{_2eb(function(){_310=win.body();win.doc.addEventListener("touchstart",function(evt){_2f9=(new Date()).getTime();var _311=_310;_310=evt.target;on.emit(_311,"dojotouchout",{relatedTarget:_310,bubbles:true});on.emit(_310,"dojotouchover",{relatedTarget:_311,bubbles:true});_304(evt,"touchmove","touchend");},true);function _312(evt){var _313=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_313.touches=evt.touches;_313.altKey=evt.altKey;_313.changedTouches=evt.changedTouches;_313.ctrlKey=evt.ctrlKey;_313.metaKey=evt.metaKey;_313.shiftKey=evt.shiftKey;_313.targetTouches=evt.targetTouches;}return _313;};on(win.doc,"touchmove",function(evt){_2f9=(new Date()).getTime();var _314=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_314){if(_310!==_314){on.emit(_310,"dojotouchout",{relatedTarget:_314,bubbles:true});on.emit(_314,"dojotouchover",{relatedTarget:_310,bubbles:true});_310=_314;}if(!on.emit(_314,"dojotouchmove",_312(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_2f9=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_312(evt));});});}}var _315={press:_2fa("mousedown","touchstart",_2ed.down),move:_2fa("mousemove","dojotouchmove",_2ed.move),release:_2fa("mouseup","dojotouchend",_2ed.up),cancel:_2fa(_2ea.leave,"touchcancel",_2ec?_2ed.cancel:null),over:_2fa("mouseover","dojotouchover",_2ed.over),out:_2fa("mouseout","dojotouchout",_2ed.out),enter:_2ea._eventHandler(_2fa("mouseover","dojotouchover",_2ed.over)),leave:_2ea._eventHandler(_2fa("mouseout","dojotouchout",_2ed.out))};1&&(dojo.touch=_315);return _315;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_316,lang,_317,has,_318){var html=_318.doc.documentElement,ie=has("ie"),_319=has("trident"),_31a=has("opera"),maj=Math.floor,ff=has("ff"),_31b=_316.boxModel.replace(/-/,""),_31c={"dj_quirks":has("quirks"),"dj_opera":_31a,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_edge":has("edge"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_31c["dj_ie"]=true;_31c["dj_ie"+maj(ie)]=true;_31c["dj_iequirks"]=has("quirks");}if(_319){_31c["dj_trident"]=true;_31c["dj_trident"+maj(_319)]=true;}if(ff){_31c["dj_ff"+maj(ff)]=true;}_31c["dj_"+_31b]=true;var _31d="";for(var clz in _31c){if(_31c[clz]){_31d+=clz+" ";}}html.className=lang.trim(html.className+" "+_31d);_317(function(){if(!_316.isBodyLtr()){var _31e="dj_rtl dijitRtl "+_31d.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_31e+"dj_rtl dijitRtl "+_31d.replace(/ /g,"-rtl "));}});return has;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_31f,dom,geom,_320,_321){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_31f.body(doc),_322=_321.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_321.create("div",{style:{overflow:"hidden",direction:"ltr"}},_322,"last"),ret=geom.position(div).x!=0;_322.removeChild(div);body.removeChild(_322);return ret;});has.add("position-fixed-support",function(win,doc){var body=_31f.body(doc),_323=_321.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_324=_321.create("span",{style:{position:"fixed",left:"0",top:"0"}},_323,"last"),ret=geom.position(_324).x!=geom.position(_323).x;_323.removeChild(_324);body.removeChild(_323);return ret;});var _325={getBox:function(doc){doc=doc||_31f.doc;var _326=(doc.compatMode=="BackCompat")?_31f.body(doc):doc.documentElement,_327=geom.docScroll(doc),w,h;if(has("touch")){var _328=_325.get(doc);w=_328.innerWidth||_326.clientWidth;h=_328.innerHeight||_326.clientHeight;}else{w=_326.clientWidth;h=_326.clientHeight;}return {l:_327.x,t:_327.y,w:w,h:h};},get:function(doc){if(has("ie")&&_325!==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(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_31f.doc,body=_31f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _329=doc.compatMode=="BackCompat",_32a=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_32b=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_32c=(isWK||_329)?body:html,_32d=pos||geom.position(node),el=node.parentNode,_32e=function(el){return (isIE<=6||(isIE==7&&_329))?false:(has("position-fixed-support")&&(_320.get(el,"position").toLowerCase()=="fixed"));},self=this,_32f=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_32e(node)){return;}while(el){if(el==body){el=_32c;}var _330=geom.position(el),_331=_32e(el),rtl=_320.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_32c){_330.w=_32a;_330.h=_32b;if(_32c==html&&(isIE||has("trident"))&&rtl){_330.x+=_32c.offsetWidth-_330.w;}_330.x=0;_330.y=0;}else{var pb=geom.getPadBorderExtents(el);_330.w-=pb.w;_330.h-=pb.h;_330.x+=pb.l;_330.y+=pb.t;var _332=el.clientWidth,_333=_330.w-_332;if(_332>0&&_333>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_330.x+=_333;}_330.w=_332;}_332=el.clientHeight;_333=_330.h-_332;if(_332>0&&_333>0){_330.h=_332;}}if(_331){if(_330.y<0){_330.h+=_330.y;_330.y=0;}if(_330.x<0){_330.w+=_330.x;_330.x=0;}if(_330.y+_330.h>_32b){_330.h=_32b-_330.y;}if(_330.x+_330.w>_32a){_330.w=_32a-_330.x;}}var l=_32d.x-_330.x,t=_32d.y-_330.y,r=l+_32d.w-_330.w,bot=t+_32d.h-_330.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_32c||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_329)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_32f(el,s,0);s=el.scrollLeft-old;_32d.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_32c||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_32f(el,0,s);s=el.scrollTop-old;_32d.y-=s;}el=(el!=_32c)&&!_331&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_325);return _325;});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_334,lang,_335,_336,_337){var _338=_334.NodeList;lang.extend(_338,{_anim:function(obj,_339,args){args=args||{};var a=_337.combine(this.map(function(item){var _33a={node:item};lang.mixin(_33a,args);return obj[_339](_33a);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_337,"wipeIn",args);},wipeOut:function(args){return this._anim(_337,"wipeOut",args);},slideTo:function(args){return this._anim(_337,"slideTo",args);},fadeIn:function(args){return this._anim(_336,"fadeIn",args);},fadeOut:function(args){return this._anim(_336,"fadeOut",args);},animateProperty:function(args){return this._anim(_336,"animateProperty",args);},anim:function(_33b,_33c,_33d,_33e,_33f){var _340=_337.combine(this.map(function(item){return _336.animateProperty({node:item,properties:_33b,duration:_33c||350,easing:_33d});}));if(_33e){_335.after(_340,"onEnd",_33e,true);}return _340.play(_33f||0);}});return _338;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_341,dojo,_342,_343,_344,dom,_345,geom,_346,_347){if(!dojo.isAsync){_346(0,function(){var _348=["./fx/Toggler"];_347(_348);});}var _349=dojo.fx={};var _34a={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _34b=function(_34c){this._index=-1;this._animations=_34c||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_342.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_34b.prototype=new _341();lang.extend(_34b,{_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=_343.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_343.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_34d,_34e){if(!this._current){this._current=this._animations[this._index=0];}if(!_34e&&this._current.status()=="playing"){return this;}var _34f=_343.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_350=_343.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_351=_343.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_34f.remove();_350.remove();_351.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_343.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_343.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=_343.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_352,_353){this.pause();var _354=this.duration*_352;this._current=null;_342.some(this._animations,function(a,_355){if(_354<=a.duration){this._current=a;this._index=_355;return true;}_354-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_354/this._current.duration);}if(_353){this.play();}return this;},stop:function(_356){if(this._current){if(_356){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_343.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(){this.stop();if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_34b,_34a);_349.chain=function(_357){return new _34b(lang.isArray(_357)?_357:Array.prototype.slice.call(_357,0));};var _358=function(_359){this._animations=_359||[];this._connects=[];this._finished=0;this.duration=0;_342.forEach(_359,function(a){var _35a=a.duration;if(a.delay){_35a+=a.delay;}if(this.duration<_35a){this.duration=_35a;}this._connects.push(_343.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _344.Animation({curve:[0,1],duration:this.duration});var self=this;_342.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_343.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_358,{_doAction:function(_35b,args){_342.forEach(this._animations,function(a){a[_35b].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_35c,args){var t=this._pseudoAnimation;t[_35c].apply(t,args);},play:function(_35d,_35e){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(_35f,_360){var ms=this.duration*_35f;_342.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_360);});this._call("gotoPercent",arguments);return this;},stop:function(_361){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){this.stop();_342.forEach(this._connects,function(_362){_362.remove();});}});lang.extend(_358,_34a);_349.combine=function(_363){return new _358(lang.isArray(_363)?_363:Array.prototype.slice.call(_363,0));};_349.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_344.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 _364=_345.get(node,"height");return Math.max(_364,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_343.after(anim,"onStop",fini,true);_343.after(anim,"onEnd",fini,true);return anim;};_349.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_344.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_343.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";};_343.after(anim,"onStop",fini,true);_343.after(anim,"onEnd",fini,true);return anim;};_349.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_345.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=_344.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_343.after(anim,"beforeBegin",init,true);return anim;};return _349;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../has","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_365,_366,lang,dom,_367,_368,has,on,_369,_36a,dnd,_36b,win){var _36c;var _36d=function(){};function _36e(){if("touchAction" in document.body.style){_36c="touchAction";}else{if("msTouchAction" in document.body.style){_36c="msTouchAction";}}_36d=function _36d(node,_36f){node.style[_36c]=_36f;};_36d(arguments[0],arguments[1]);};if(has("touch-action")){_36d=_36e;}var _370=_366("dojo.dnd.Moveable",[_368],{handle:"",delay:0,skip:false,constructor:function(node,_371){this.node=dom.byId(node);_36d(this.node,"none");if(!_371){_371={};}this.handle=_371.handle?dom.byId(_371.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_371.delay>0?_371.delay:0;this.skip=_371.skip;this.mover=_371.mover?_371.mover:_36b;this.events=[on(this.handle,_36a.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_372,node,Ctor){return new Ctor(node,_372);},destroy:function(){_365.forEach(this.events,function(_373){_373.remove();});_36d(this.node,"");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,_36a.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_36a.release,lang.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(_374){_369.publish("/dnd/move/start",_374);_367.add(win.body(),"dojoMove");_367.add(this.node,"dojoMoveItem");},onMoveStop:function(_375){_369.publish("/dnd/move/stop",_375);_367.remove(win.body(),"dojoMove");_367.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_376,_377){this.onMoving(_376,_377);var s=_376.node.style;s.left=_377.l+"px";s.top=_377.t+"px";this.onMoved(_376,_377);},onMoving:function(){},onMoved:function(){}});return _370;});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_378,lang,dom){var _379=lang.getObject("dojo.dnd",true);_379.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_379._uniqueId=0;_379.getUniqueId=function(){var id;do{id=_378._scopeName+"Unique"+(++_379._uniqueId);}while(dom.byId(id));return id;};_379._empty={};_379.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 _379;});},"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(_37a,_37b,lang,has,win,dom,_37c,_37d,_37e,on,_37f,dnd,_380){return _37b("dojo.dnd.Mover",[_37e],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;function _381(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_37f.move,lang.hitch(this,"onFirstMove")),on(d,_37f.move,lang.hitch(this,"onMouseMove")),on(d,_37f.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_381),on(d.body,"selectstart",_381)];_380.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_380.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=_37c.getMarginBox(this.node);var b=win.doc.body;var bs=_37d.getComputedStyle(b);var bm=_37c.getMarginBox(b,bs);var bc=_37c.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(){_37a.forEach(this.events,function(_382){_382.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_383,_384,_385){var _386={};lang.setObject("dojo.dnd.autoscroll",_386);_386.getViewport=_385.getBox;_386.V_TRIGGER_AUTOSCROLL=32;_386.H_TRIGGER_AUTOSCROLL=32;_386.V_AUTOSCROLL_VALUE=16;_386.H_AUTOSCROLL_VALUE=16;var _387,doc=win.doc,_388=Infinity,_389=Infinity;_386.autoScrollStart=function(d){doc=d;_387=_385.getBox(doc);var html=win.body(doc).parentNode;_388=Math.max(html.scrollHeight-_387.h,0);_389=Math.max(html.scrollWidth-_387.w,0);};_386.autoScroll=function(e){var v=_387||_385.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_386.H_TRIGGER_AUTOSCROLL){dx=-_386.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_386.H_TRIGGER_AUTOSCROLL){dx=Math.min(_386.H_AUTOSCROLL_VALUE,_389-html.scrollLeft);}}if(e.clientY<_386.V_TRIGGER_AUTOSCROLL){dy=-_386.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_386.V_TRIGGER_AUTOSCROLL){dy=Math.min(_386.V_AUTOSCROLL_VALUE,_388-html.scrollTop);}}window.scrollBy(dx,dy);};_386._validNodes={"div":1,"p":1,"td":1};_386._validOverflow={"auto":1,"scroll":1};_386.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_38a,_38b;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _386._validNodes)){var s=_384.getComputedStyle(n),_38c=(s.overflowX.toLowerCase() in _386._validOverflow),_38d=(s.overflowY.toLowerCase() in _386._validOverflow);if(_38c||_38d){b=_383.getContentBox(n,s);t=_383.position(n,true);}if(_38c){w=Math.min(_386.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;}}_38a=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_38d){h=Math.min(_386.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;}}_38b=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_386.autoScroll(e);};return _386;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_38e,_38f,_390,dnd,_391,_392){var _393=_38e("dojo.dnd.move.constrainedMoveable",_392,{constraints:function(){},within:false,constructor:function(node,_394){if(!_394){_394={};}this.constraints=_394.constraints;this.within=_394.within;},onFirstMove:function(_395){var c=this.constraintBox=this.constraints.call(this,_395);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_38f.getMarginSize(_395.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_396,_397){var c=this.constraintBox,s=_396.node.style;this.onMoving(_396,_397);_397.l=_397.l<c.l?c.l:c.r<_397.l?c.r:_397.l;_397.t=_397.t<c.t?c.t:c.b<_397.t?c.b:_397.t;s.left=_397.l+"px";s.top=_397.t+"px";this.onMoved(_396,_397);}});var _398=_38e("dojo.dnd.move.boxConstrainedMoveable",_393,{box:{},constructor:function(node,_399){var box=_399&&_399.box;this.constraints=function(){return box;};}});var _39a=_38e("dojo.dnd.move.parentConstrainedMoveable",_393,{area:"content",constructor:function(node,_39b){var area=_39b&&_39b.area;this.constraints=function(){var n=this.node.parentNode,s=_390.getComputedStyle(n),mb=_38f.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_38f.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=_38f.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=_38f.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_393,boxConstrainedMoveable:_398,parentConstrainedMoveable:_39a};});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_39c,_39d){var _39e=_39d.prototype.onMove;return _39c("dojo.dnd.TimedMoveable",_39d,{timeout:40,constructor:function(node,_39f){if(!_39f){_39f={};}if(_39f.timeout&&typeof _39f.timeout=="number"&&_39f.timeout>=0){this.timeout=_39f.timeout;}},onMoveStop:function(_3a0){if(_3a0._timer){clearTimeout(_3a0._timer);_39e.call(this,_3a0,_3a0._leftTop);}_39d.prototype.onMoveStop.apply(this,arguments);},onMove:function(_3a1,_3a2){_3a1._leftTop=_3a2;if(!_3a1._timer){var _3a3=this;_3a1._timer=setTimeout(function(){_3a1._timer=null;_39e.call(_3a3,_3a1,_3a1._leftTop);},this.timeout);}}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_3a4,_3a5,_3a6){return _3a4("dojo.fx.Toggler",null,{node:null,showFunc:_3a5.fadeIn,hideFunc:_3a5.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _3a7=this;lang.mixin(_3a7,args);_3a7.node=args.node;_3a7._showArgs=lang.mixin({},args);_3a7._showArgs.node=_3a7.node;_3a7._showArgs.duration=_3a7.showDuration;_3a7.showAnim=_3a7.showFunc(_3a7._showArgs);_3a7._hideArgs=lang.mixin({},args);_3a7._hideArgs.node=_3a7.node;_3a7._hideArgs.duration=_3a7.hideDuration;_3a7.hideAnim=_3a7.hideFunc(_3a7._hideArgs);_3a6.after(_3a7.showAnim,"beforeBegin",lang.hitch(_3a7.hideAnim,"stop",true),true);_3a6.after(_3a7.hideAnim,"beforeBegin",lang.hitch(_3a7.showAnim,"stop",true),true);},show:function(_3a8){return this.showAnim.play(_3a8||0);},hide:function(_3a9){return this.hideAnim.play(_3a9||0);}});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_3aa,lang,_3ab,_3ac,dom,_3ad,_3ae){var _3af=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_3ad.empty,_setNodeContent:function(node,cont){_3ad.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_3ad.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _3b0=cont.length,i=0;i<cont.length;i=_3b0==cont.length?i+1:0){_3ad.place(cont[i],node,"last");}}else{_3ad.place(cont,node,"last");}}return node;},_ContentSetter:_3ac("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_3aa._scopeName,startup:true,constructor:function(_3b1,node){lang.mixin(this,_3b1||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_3af++].join("_");}},set:function(cont,_3b2){if(undefined!==cont){this.content=cont;}if(typeof cont=="number"){cont=cont.toString();}if(_3b2){this._mixin(_3b2);}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 _3b3=this.onContentError(e);try{node.innerHTML=_3b3;}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){_3ab.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_3ad.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _3b4=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_3b4){cont=_3b4[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(_3b5){var _3b6={},key;for(key in _3b5){if(key in _3b6){continue;}this[key]=_3b5[key];}},_parse:function(){var _3b7=this.node;try{var _3b8={};_3ab.forEach(["dir","lang","textDir"],function(name){if(this[name]){_3b8[name]=this[name];}},this);var self=this;this.parseDeferred=_3ae.parse({rootNode:_3b7,noStart:!this.startup,inherited:_3b8,scope:this.parserScope}).then(function(_3b9){return self.parseResults=_3b9;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+self.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_3ba){var _3bb=this["on"+type+"Error"].call(this,err);if(_3ba){console.error(_3ba,err);}else{if(_3bb){html._setNodeContent(this.node,_3bb,true);}}}}),set:function(node,cont,_3bc){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_3bc){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_3bc,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_3bd,has,_3be,_3bf,lang,xhr,json,_3c0){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _3c1=dojo.i18n={},_3c2=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_3c3=function(root,_3c4,_3c5,_3c6){for(var _3c7=[_3c5+_3c6],_3c8=_3c4.split("-"),_3c9="",i=0;i<_3c8.length;i++){_3c9+=(_3c9?"-":"")+_3c8[i];if(!root||root[_3c9]){_3c7.push(_3c5+_3c9+"/"+_3c6);_3c7.specificity=_3c9;}}return _3c7;},_3ca={},_3cb=function(_3cc,_3cd,_3ce){_3ce=_3ce?_3ce.toLowerCase():dojo.locale;_3cc=_3cc.replace(/\./g,"/");_3cd=_3cd.replace(/\./g,"/");return (/root/i.test(_3ce))?(_3cc+"/nls/"+_3cd):(_3cc+"/nls/"+_3ce+"/"+_3cd);},_3cf=dojo.getL10nName=function(_3d0,_3d1,_3d2){return _3d0=_3c0.id+"!"+_3cb(_3d0,_3d1,_3d2);},_3d3=function(_3d4,_3d5,_3d6,_3d7,_3d8,load){_3d4([_3d5],function(root){var _3d9=lang.clone(root.root||root.ROOT),_3da=_3c3(!root._v1x&&root,_3d8,_3d6,_3d7);_3d4(_3da,function(){for(var i=1;i<_3da.length;i++){_3d9=lang.mixin(lang.clone(_3d9),arguments[i]);}var _3db=_3d5+"/"+_3d8;_3ca[_3db]=_3d9;_3d9.$locale=_3da.specificity;load();});});},_3dc=function(id,_3dd){return /^\./.test(id)?_3dd(id):id;},_3de=function(_3df){var list=_3bf.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_3df);return list;},load=function(id,_3e0,load){var _3e1=_3c2.exec(id),_3e2=_3e1[1]+"/",_3e3=_3e1[5]||_3e1[4],_3e4=_3e2+_3e3,_3e5=(_3e1[5]&&_3e1[4]),_3e6=_3e5||dojo.locale||"",_3e7=_3e4+"/"+_3e6,_3e8=_3e5?[_3e6]:_3de(_3e6),_3e9=_3e8.length,_3ea=function(){if(!--_3e9){load(lang.delegate(_3ca[_3e7]));}},_3eb=id.split("*"),_3ec=_3eb[1]=="preload";if(has("dojo-preload-i18n-Api")){if(_3ec){if(!_3ca[id]){_3ca[id]=1;_3f6(_3eb[2],json.parse(_3eb[3]),1,_3e0);}load(1);}if(_3ec||(_413(id,_3e0,load)&&!_3ca[_3e7])){return;}}else{if(_3ec){load(1);return;}}_3be.forEach(_3e8,function(_3ed){var _3ee=_3e4+"/"+_3ed;if(has("dojo-preload-i18n-Api")){_3ef(_3ee);}if(!_3ca[_3ee]){_3d3(_3e0,_3e4,_3e2,_3e3,_3ed,_3ea);}else{_3ea();}});};if(has("dojo-preload-i18n-Api")||1){var _3f0=_3c1.normalizeLocale=function(_3f1){var _3f2=_3f1?_3f1.toLowerCase():dojo.locale;return _3f2=="root"?"ROOT":_3f2;},isXd=function(mid,_3f3){return (1&&1)?_3f3.isXdUrl(_3bd.toUrl(mid+".js")):true;},_3f4=0,_3f5=[],_3f6=_3c1._preloadLocalizations=function(_3f7,_3f8,_3f9,_3fa){_3fa=_3fa||_3bd;function _3fb(mid,_3fc){if(isXd(mid,_3fa)||_3f9){_3fa([mid],_3fc);}else{_418([mid],_3fc,_3fa);}};function _3fd(_3fe,func){var _3ff=_3fe.split("-");while(_3ff.length){if(func(_3ff.join("-"))){return;}_3ff.pop();}func("ROOT");};function _400(){_3f4++;};function _401(){--_3f4;while(!_3f4&&_3f5.length){load.apply(null,_3f5.shift());}};function _402(path,name,loc,_403){return _403.toAbsMid(path+name+"/"+loc);};function _404(_405){_405=_3f0(_405);_3fd(_405,function(loc){if(_3be.indexOf(_3f8,loc)>=0){var mid=_3f7.replace(/\./g,"/")+"_"+loc;_400();_3fb(mid,function(_406){for(var p in _406){var _407=_406[p],_408=p.match(/(.+)\/([^\/]+)$/),_409,_40a;if(!_408){continue;}_409=_408[2];_40a=_408[1]+"/";if(!_407._localized){continue;}var _40b;if(loc==="ROOT"){var root=_40b=_407._localized;delete _407._localized;root.root=_407;_3ca[_3bd.toAbsMid(p)]=root;}else{_40b=_407._localized;_3ca[_402(_40a,_409,loc,_3bd)]=_407;}if(loc!==_405){var _40c=function _40c(_40d,_40e,_40f,_410){var _411=[],_412=[];_3fd(_405,function(loc){if(_410[loc]){_411.push(_3bd.toAbsMid(_40d+loc+"/"+_40e));_412.push(_402(_40d,_40e,loc,_3bd));}});if(_411.length){_400();_3fa(_411,function(){for(var i=_411.length-1;i>=0;i--){_40f=lang.mixin(lang.clone(_40f),arguments[i]);_3ca[_412[i]]=_40f;}_3ca[_402(_40d,_40e,_405,_3bd)]=lang.clone(_40f);_401();});}else{_3ca[_402(_40d,_40e,_405,_3bd)]=_40f;}};_40c(_40a,_409,_407,_40b);}}_401();});return true;}return false;});};_404();_3be.forEach(dojo.config.extraLocale,_404);},_413=function(id,_414,load){if(_3f4){_3f5.push([id,_414,load]);}return _3f4;},_3ef=function(){};}if(1){var _415={},_416={},_417,_418=function(deps,_419,_41a){var _41b=[];_3be.forEach(deps,function(mid){var url=_41a.toUrl(mid+".js");function load(text){if(!_417){_417=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;"+"}");}var _41c=_417(text,_3ef,mid,_415);if(_41c===_415){_41b.push(_3ca[url]=_415.result);}else{if(_41c instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_41c);_41c={};}_41b.push(_3ca[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_41c:{root:_41c,_v1x:1}));}};if(_3ca[url]){_41b.push(_3ca[url]);}else{var _41d=_41a.syncLoadNls(mid);if(!_41d){_41d=_3ef(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_41d){_41b.push(_41d);}else{if(!xhr){try{_41a.getText(url,true,load);}catch(e){_41b.push(_3ca[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_41b.push(_3ca[url]={});}});}}}});_419&&_419.apply(null,_41b);};_3ef=function(_41e){for(var _41f,_420=_41e.split("/"),_421=dojo.global[_420[0]],i=1;_421&&i<_420.length-1;_421=_421[_420[i++]]){}if(_421){_41f=_421[_420[i]];if(!_41f){_41f=_421[_420[i].replace(/-/g,"_")];}if(_41f){_3ca[_41e]=_41f;}}return _41f;};_3c1.getLocalization=function(_422,_423,_424){var _425,_426=_3cb(_422,_423,_424);if(_416[_426]){return _416[_426];}load(_426,(!isXd(_426,_3bd)?function(deps,_427){_418(deps,_427,_3bd);}:_3bd),function(_428){_416[_426]=_428;_425=_428;});return _425;};}else{_3c1.getLocalization=function(_429,_42a,_42b){var key=_429.replace(/\./g,"/")+"/nls/"+_42a+"/"+(_42b||_3bf.locale);return this.cache[key];};}return lang.mixin(_3c1,{dynamic:true,normalize:_3dc,load:load,cache:_3ca,getL10nName:_3cf});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_42c){return _42c;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"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(_42d){return _42d._base;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_42e,dom,_42f,_430,lang,has,_431){var _432;var a11y={_isElementShown:function(elem){var s=_430.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_42f.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _42f.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _433=elem.contentDocument;if("designMode" in _433&&_433.designMode=="on"){return true;}body=_433.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_42f.get(elem,"disabled")){return _432;}else{if(_42f.has(elem,"tabIndex")){return +_42f.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_432;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _434,last,_435,_436,_437,_438,_439={};function _43a(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _43b=a11y._isElementShown,_43c=a11y.effectiveTabIndex;var _43d=function(_43e){for(var _43f=_43e.firstChild;_43f;_43f=_43f.nextSibling){if(_43f.nodeType!=1||(has("ie")<=9&&_43f.scopeName!=="HTML")||!_43b(_43f)){continue;}var _440=_43c(_43f);if(_440>=0){if(_440==0){if(!_434){_434=_43f;}last=_43f;}else{if(_440>0){if(!_435||_440<_436){_436=_440;_435=_43f;}if(!_437||_440>=_438){_438=_440;_437=_43f;}}}var rn=_43a(_43f);if(_42f.get(_43f,"checked")&&rn){_439[rn]=_43f;}}if(_43f.nodeName.toUpperCase()!="SELECT"){_43d(_43f);}}};if(_43b(root)){_43d(root);}function rs(node){return _439[_43a(node)]||node;};return {first:rs(_434),last:rs(last),lowest:rs(_435),highest:rs(_437)};},getFirstInTabbingOrder:function(root,doc){var _441=a11y._getTabNavigable(dom.byId(root,doc));return _441.lowest?_441.lowest:_441.first;},getLastInTabbingOrder:function(root,doc){var _442=a11y._getTabNavigable(dom.byId(root,doc));return _442.last?_442.last:_442.highest;}};1&&lang.mixin(_431,a11y);return a11y;});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_443,_444,_445,_446){var _447=_444("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_448){if(this._hash[_448.id]){throw new Error("Tried to register widget with id=="+_448.id+" but that id is already registered");}this._hash[_448.id]=_448;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_449){_449=_449||_445.global;var i=0,id;for(id in this._hash){func.call(_449,this._hash[id],i++,this._hash);}return this;},filter:function(_44a,_44b){_44b=_44b||_445.global;var res=new _447(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_44a.call(_44b,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _447(),id,_44c;for(id in this._hash){_44c=this._hash[id];if(_44c.declaredClass==cls){res.add(_44c);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_44d){return _443.map(this.toArray(),func,_44d);},every:function(func,_44e){_44e=_44e||_445.global;var x=0,i;for(i in this._hash){if(!func.call(_44e,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_44f){_44f=_44f||_445.global;var x=0,i;for(i in this._hash){if(func.call(_44f,this._hash[i],x++,this._hash)){return true;}}return false;}});_443.forEach(["forEach","filter","byClass","map","every","some"],function(func){_446[func]=_447.prototype[func];});return _447;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_450,win,_451){var _452={},hash={};var _453={length:0,add:function(_454){if(hash[_454.id]){throw new Error("Tried to register widget with id=="+_454.id+" but that id is already registered");}hash[_454.id]=_454;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(_455){var id;do{id=_455+"_"+(_455 in _452?++_452[_455]:_452[_455]=0);}while(hash[id]);return _451._scopeName=="dijit"?id:_451._scopeName+"_"+id;},findWidgets:function(root,_456){var _457=[];function _458(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _459=node.getAttribute("widgetId");if(_459){var _45a=hash[_459];if(_45a){_457.push(_45a);}}else{if(node!==_456){_458(node);}}}}};_458(root);return _457;},_destroyAll:function(){_451._curFocus=null;_451._prevFocus=null;_451._activeStack=[];_450.forEach(_453.findWidgets(win.body()),function(_45b){if(!_45b._destroyed){if(_45b.destroyRecursive){_45b.destroyRecursive();}else{if(_45b.destroy){_45b.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};_451.registry=_453;return _453;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_45c,dom,lang,_45d,win,_45e,_45f,_460){var _461={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _460.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_45f:new _45f.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_462){var sel=win.global==window?_45f:new _45f.SelectionManager(win.global);return sel.moveToBookmark(_462);},getFocus:function(menu,_463){var node=!_45e.curNode||(menu&&dom.isDescendant(_45e.curNode,menu.domNode))?_460._prevFocus:_45e.curNode;return {node:node,bookmark:node&&(node==_45e.curNode)&&win.withGlobal(_463||win.global,_460.getBookmark),openedForWindow:_463};},_activeStack:[],registerIframe:function(_464){return _45e.registerIframe(_464);},unregisterIframe:function(_465){_465&&_465.remove();},registerWin:function(_466,_467){return _45e.registerWin(_466,_467);},unregisterWin:function(_468){_468&&_468.remove();}};_45e.focus=function(_469){if(!_469){return;}var node="node" in _469?_469.node:_469,_46a=_469.bookmark,_46b=_469.openedForWindow,_46c=_46a?_46a.isCollapsed:false;if(node){var _46d=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_46d&&_46d.focus){try{_46d.focus();}catch(e){}}_45e._onFocusNode(node);}if(_46a&&win.withGlobal(_46b||win.global,_460.isCollapsed)&&!_46c){if(_46b){_46b.focus();}try{win.withGlobal(_46b||win.global,_460.moveToBookmark,null,[_46a]);}catch(e2){}}};_45e.watch("curNode",function(name,_46e,_46f){_460._curFocus=_46f;_460._prevFocus=_46e;if(_46f){_45d.publish("focusNode",_46f);}});_45e.watch("activeStack",function(name,_470,_471){_460._activeStack=_471;});_45e.on("widget-blur",function(_472,by){_45d.publish("widgetBlur",_472,by);});_45e.on("widget-focus",function(_473,by){_45d.publish("widgetFocus",_473,by);});lang.mixin(_460,_461);return _460;});},"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(_474,_475,dom,_476,_477,_478,_479,lang,on,_47a,has,_47b,win,_47c,a11y,_47d,_47e){var _47f;var _480;var _481=_475([_47b,_479],{curNode:null,activeStack:[],constructor:function(){var _482=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);}});_474.before(_478,"empty",_482);_474.before(_478,"destroy",_482);},registerIframe:function(_483){return this.registerWin(_483.contentWindow,_483);},registerWin:function(_484,_485){var _486=this,body=_484.document&&_484.document.body;if(body){var _487=has("pointer-events")?"pointerdown":has("MSPointer")?"MSPointerDown":has("touch-events")?"mousedown, touchstart":"mousedown";var mdh=on(_484.document,_487,function(evt){if(evt&&evt.target&&evt.target.parentNode==null){return;}_486._onTouchNode(_485||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_486._onFocusNode(_485||evt.target);}else{_486._onTouchNode(_485||evt.target);}});var foh=on(body,"focusout",function(evt){_486._onBlurNode(_485||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){var now=(new Date()).getTime();if(now<_47f+100){return;}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._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}if(now<_480+100){return;}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){_480=(new Date()).getTime();if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_477.contains(node,"dijitPopup")){node=node.firstChild;}var _488=[];try{while(node){var _489=_476.get(node,"dijitPopupParent");if(_489){node=_47d.byId(_489).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_47c.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_48a=id&&_47d.byId(id);if(_48a&&!(by=="mouse"&&_48a.get("disabled"))){_488.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_488,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}_47f=(new Date()).getTime();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(_48b,by){var _48c=this.activeStack,_48d=_48c.length-1,_48e=_48b.length-1;if(_48b[_48e]==_48c[_48d]){return;}this.set("activeStack",_48b);var _48f,i;for(i=_48d;i>=0&&_48c[i]!=_48b[i];i--){_48f=_47d.byId(_48c[i]);if(_48f){_48f._hasBeenBlurred=true;_48f.set("focused",false);if(_48f._focusManager==this){_48f._onBlur(by);}this.emit("widget-blur",_48f,by);}}for(i++;i<=_48e;i++){_48f=_47d.byId(_48b[i]);if(_48f){_48f.set("focused",true);if(_48f._focusManager==this){_48f._onFocus(by);}this.emit("widget-focus",_48f,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _490=new _481();_47a(function(){var _491=_490.registerWin(_47c.get(document));if(has("ie")){on(window,"unload",function(){if(_491){_491.remove();_491=null;}});}});_47e.focus=function(node){_490.focus(node);};for(var attr in _490){if(!/^_/.test(attr)){_47e.focus[attr]=typeof _490[attr]=="function"?lang.hitch(_490,attr):_490[attr];}}_490.watch(function(attr,_492,_493){_47e.focus[attr]=_493;});return _490;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_494,dom,lang,has,_495,_496){var _497=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _498="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _499=oSel.getRangeAt(0);if((_499.startContainer==_499.endContainer)&&((_499.endOffset-_499.startOffset)==1)&&(_499.startContainer.nodeType!=3)){_498="control";}}return _498;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _49a=win.getSelection();return _49a?_49a.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _49b=win.getSelection();if(_49b&&_49b.rangeCount){var i;var html="";for(i=0;i<_49b.rangeCount;i++){var frag=_49b.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 _49c=win.getSelection();return _49c.anchorNode.childNodes[_49c.anchorOffset];}else{var _49d=doc.selection.createRange();if(_49d&&_49d.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 _49e=doc.getSelection();if(_49e){var node=_49e.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(_49f){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_4a0){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _4a1=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _4a2=String(tags[i]).toLowerCase();if(_4a1==_4a2){return _4a2;}}}return "";};this.getParentOfType=function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;};this.collapse=function(_4a3){if(doc.getSelection){var _4a4=win.getSelection();if(_4a4.removeAllRanges){if(_4a3){_4a4.collapseToStart();}else{_4a4.collapseToEnd();}}else{_4a4.collapse(_4a3);}}else{var _4a5=doc.selection.createRange();_4a5.collapse(_4a3);_4a5.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(_4a6,_4a7){var _4a8;_4a6=dom.byId(_4a6);if(doc.getSelection){var _4a9=win.getSelection();if(has("opera")){if(_4a9.rangeCount){_4a8=_4a9.getRangeAt(0);}else{_4a8=doc.createRange();}_4a8.setStart(_4a6,0);_4a8.setEnd(_4a6,(_4a6.nodeType==3)?_4a6.length:_4a6.childNodes.length);_4a9.addRange(_4a8);}else{_4a9.selectAllChildren(_4a6);}}else{_4a8=_4a6.ownerDocument.body.createTextRange();_4a8.moveToElementText(_4a6);if(!_4a7){try{_4a8.select();}catch(e){}}}};this.selectElement=function(_4aa,_4ab){var _4ac;_4aa=dom.byId(_4aa);if(doc.getSelection){var _4ad=doc.getSelection();_4ac=doc.createRange();if(_4ad.removeAllRanges){if(has("opera")){if(_4ad.getRangeAt(0)){_4ac=_4ad.getRangeAt(0);}}_4ac.selectNode(_4aa);_4ad.removeAllRanges();_4ad.addRange(_4ac);}}else{try{var tg=_4aa.tagName?_4aa.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_4ac=_495.body(doc).createControlRange();}else{_4ac=_495.body(doc).createRange();}_4ac.addElement(_4aa);if(!_4ab){_4ac.select();}}catch(e){this.selectElementChildren(_4aa,_4ab);}}};this.inSelection=function(node){if(node){var _4ae;var _4af;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_4af=sel.getRangeAt(0);}if(_4af&&_4af.compareBoundaryPoints&&doc.createRange){try{_4ae=doc.createRange();_4ae.setStart(node,0);if(_4af.compareBoundaryPoints(_4af.START_TO_END,_4ae)===1){return true;}}catch(e){}}}else{_4af=doc.selection.createRange();try{_4ae=node.ownerDocument.body.createTextRange();_4ae.moveToElementText(node);}catch(e2){}if(_4af&&_4ae){if(_4af.compareEndPoints("EndToStart",_4ae)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_496.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(_4b0){var mark=_4b0.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();_494.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 _4b1=new _497(window);_4b1.SelectionManager=_497;return _4b1;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_4b2,_4b3,lang,_4b4,_4b5){var _4b6={};_4b2.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_4b6[name]=_4b4[name];});lang.mixin(_4b6,{defaultDuration:_4b3["defaultDuration"]||200});lang.mixin(_4b5,_4b6);return _4b5;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_4b7,lang,_4b8,_4b9,_4ba){var _4bb={};_4bb.getViewport=function(){return _4b8.getBox();};_4bb.placeOnScreen=_4b9.at;_4bb.placeOnScreenAroundElement=function(node,_4bc,_4bd,_4be){var _4bf;if(lang.isArray(_4bd)){_4bf=_4bd;}else{_4bf=[];for(var key in _4bd){_4bf.push({aroundCorner:key,corner:_4bd[key]});}}return _4b9.around(node,_4bc,_4bf,true,_4be);};_4bb.placeOnScreenAroundNode=_4bb.placeOnScreenAroundElement;_4bb.placeOnScreenAroundRectangle=_4bb.placeOnScreenAroundElement;_4bb.getPopupAroundAlignment=function(_4c0,_4c1){var _4c2={};_4b7.forEach(_4c0,function(pos){var ltr=_4c1;switch(pos){case "after":_4c2[_4c1?"BR":"BL"]=_4c1?"BL":"BR";break;case "before":_4c2[_4c1?"BL":"BR"]=_4c1?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_4c2[ltr?"BL":"BR"]=ltr?"TL":"TR";_4c2[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_4c2[ltr?"TL":"TR"]=ltr?"BL":"BR";_4c2[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _4c2;};lang.mixin(_4ba,_4bb);return _4ba;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_4c3,_4c4,_4c5,_4c6,win,_4c7,_4c8){function _4c9(node,_4ca,_4cb,_4cc){var view=_4c7.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_4c3.some(_4ca,function(_4cd){var _4ce=_4cd.corner;var pos=_4cd.pos;var _4cf=0;var _4d0={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_4ce.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_4ce.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_4cb){var res=_4cb(node,_4cd.aroundCorner,_4ce,_4d0,_4cc);_4cf=typeof res=="undefined"?0:res;}var _4d1=node.style;var _4d2=_4d1.display;var _4d3=_4d1.visibility;if(_4d1.display=="none"){_4d1.visibility="hidden";_4d1.display="";}var bb=_4c4.position(node);_4d1.display=_4d2;_4d1.visibility=_4d3;var _4d4={"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)}[_4ce.charAt(1)],_4d5={"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)}[_4ce.charAt(0)],_4d6=Math.max(view.l,_4d4),_4d7=Math.max(view.t,_4d5),endX=Math.min(view.l+view.w,_4d4+bb.w),endY=Math.min(view.t+view.h,_4d5+bb.h),_4d8=endX-_4d6,_4d9=endY-_4d7;_4cf+=(bb.w-_4d8)+(bb.h-_4d9);if(best==null||_4cf<best.overflow){best={corner:_4ce,aroundCorner:_4cd.aroundCorner,x:_4d6,y:_4d7,w:_4d8,h:_4d9,overflow:_4cf,spaceAvailable:_4d0};}return !_4cf;});if(best.overflow&&_4cb){_4cb(node,best.aroundCorner,best.corner,best.spaceAvailable,_4cc);}var top=best.y,side=best.x,body=win.body(node.ownerDocument);if(/relative|absolute/.test(_4c5.get(body,"position"))){top-=_4c5.get(body,"marginTop");side-=_4c5.get(body,"marginLeft");}var s=node.style;s.top=top+"px";s.left=side+"px";s.right="auto";return best;};var _4da={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _4db={at:function(node,pos,_4dc,_4dd,_4de){var _4df=_4c3.map(_4dc,function(_4e0){var c={corner:_4e0,aroundCorner:_4da[_4e0],pos:{x:pos.x,y:pos.y}};if(_4dd){c.pos.x+=_4e0.charAt(1)=="L"?_4dd.x:-_4dd.x;c.pos.y+=_4e0.charAt(0)=="T"?_4dd.y:-_4dd.y;}return c;});return _4c9(node,_4df,_4de);},around:function(node,_4e1,_4e2,_4e3,_4e4){var _4e5;if(typeof _4e1=="string"||"offsetWidth" in _4e1||"ownerSVGElement" in _4e1){_4e5=_4c4.position(_4e1,true);if(/^(above|below)/.test(_4e2[0])){var _4e6=_4c4.getBorderExtents(_4e1),_4e7=_4e1.firstChild?_4c4.getBorderExtents(_4e1.firstChild):{t:0,l:0,b:0,r:0},_4e8=_4c4.getBorderExtents(node),_4e9=node.firstChild?_4c4.getBorderExtents(node.firstChild):{t:0,l:0,b:0,r:0};_4e5.y+=Math.min(_4e6.t+_4e7.t,_4e8.t+_4e9.t);_4e5.h-=Math.min(_4e6.t+_4e7.t,_4e8.t+_4e9.t)+Math.min(_4e6.b+_4e7.b,_4e8.b+_4e9.b);}}else{_4e5=_4e1;}if(_4e1.parentNode){var _4ea=_4c5.getComputedStyle(_4e1).position=="absolute";var _4eb=_4e1.parentNode;while(_4eb&&_4eb.nodeType==1&&_4eb.nodeName!="BODY"){var _4ec=_4c4.position(_4eb,true),pcs=_4c5.getComputedStyle(_4eb);if(/relative|absolute/.test(pcs.position)){_4ea=false;}if(!_4ea&&/hidden|auto|scroll/.test(pcs.overflow)){var _4ed=Math.min(_4e5.y+_4e5.h,_4ec.y+_4ec.h);var _4ee=Math.min(_4e5.x+_4e5.w,_4ec.x+_4ec.w);_4e5.x=Math.max(_4e5.x,_4ec.x);_4e5.y=Math.max(_4e5.y,_4ec.y);_4e5.h=_4ed-_4e5.y;_4e5.w=_4ee-_4e5.x;}if(pcs.position=="absolute"){_4ea=true;}_4eb=_4eb.parentNode;}}var x=_4e5.x,y=_4e5.y,_4ef="w" in _4e5?_4e5.w:(_4e5.w=_4e5.width),_4f0="h" in _4e5?_4e5.h:(_4c6.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_4e5.height+", width:"+_4ef+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_4e5.height+", w:"+_4ef+" }","","2.0"),_4e5.h=_4e5.height);var _4f1=[];function push(_4f2,_4f3){_4f1.push({aroundCorner:_4f2,corner:_4f3,pos:{x:{"L":x,"R":x+_4ef,"M":x+(_4ef>>1)}[_4f2.charAt(1)],y:{"T":y,"B":y+_4f0,"M":y+(_4f0>>1)}[_4f2.charAt(0)]}});};_4c3.forEach(_4e2,function(pos){var ltr=_4e3;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 _4f4=_4c9(node,_4f1,_4e4,{w:_4ef,h:_4f0});_4f4.aroundNodePos=_4e5;return _4f4;}};return _4c8.place=_4db;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_4f5,on,_4f6,has,_4f7){var _4f8=new _4f5();var _4f9;_4f6(function(){var _4fa=_4f7.getBox();_4f8._rlh=on(window,"resize",function(){var _4fb=_4f7.getBox();if(_4fa.h==_4fb.h&&_4fa.w==_4fb.w){return;}_4fa=_4fb;_4f8.emit("resize");});if(has("ie")==8){var _4fc=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_4fc){_4fc=screen.deviceXDPI;_4f8.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_4f9=evt.target;});on(document,"focusout",function(evt){_4f9=null;});}});_4f8.getEffectiveBox=function(doc){var box=_4f7.getBox(doc);var tag=_4f9&&_4f9.tagName&&_4f9.tagName.toLowerCase();if(has("ios")&&_4f9&&!_4f9.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_4f9.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_4f9.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _4f8;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_4fd,win,_4fe){var _4ff=_4fe._createWrapper;_4fe._createWrapper=function(_500){if(!_500.declaredClass){_500={_popupWrapper:(_500.parentNode&&_4fd.contains(_500.parentNode,"dijitPopup"))?_500.parentNode:null,domNode:_500,destroy:function(){},ownerDocument:_500.ownerDocument,ownerDocumentBody:win.body(_500.ownerDocument)};}return _4ff.call(this,_500);};var _501=_4fe.open;_4fe.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 _501.call(this,args);};return _4fe;});},"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","dojo/touch"],function(_502,_503,_504,dom,_505,_506,_507,_508,has,keys,lang,on,_509,_50a,_50b,_50c){function _50d(){if(this._popupWrapper){_506.destroy(this._popupWrapper);delete this._popupWrapper;}};var _50e=_504(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _50f=this._firstAroundPosition,_510=_507.position(this._firstAroundNode,true),dx=_510.x-_50f.x,dy=_510.y-_50f.y;if(dx||dy){this._firstAroundPosition=_510;for(var i=0;i<this._stack.length;i++){var _511=this._stack[i].wrapper.style;_511.top=(parseFloat(_511.top)+dy)+"px";if(_511.right=="auto"){_511.left=(parseFloat(_511.left)+dx)+"px";}else{_511.right=(parseFloat(_511.right)-dx)+"px";}}}this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),dx||dy?10:50);}},_createWrapper:function(_512){var _513=_512._popupWrapper,node=_512.domNode;if(!_513){_513=_506.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_512["aria-label"]||_512.label||_512.name||_512.id},_512.ownerDocumentBody);_513.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_512._popupWrapper=_513;_503.after(_512,"destroy",_50d,true);if("ontouchend" in document){on(_513,"touchend",function(evt){if(!/^(input|button|textarea)$/i.test(evt.target.tagName)){evt.preventDefault();}});}_513.dojoClick=true;}return _513;},moveOffScreen:function(_514){var _515=this._createWrapper(_514);var ltr=_507.isBodyLtr(_514.ownerDocument),_516={visibility:"hidden",top:"-9999px",display:""};_516[ltr?"left":"right"]="-9999px";_516[ltr?"right":"left"]="auto";_508.set(_515,_516);return _515;},hide:function(_517){var _518=this._createWrapper(_517);_508.set(_518,{display:"none",height:"auto",overflowY:"visible",border:""});var node=_517.domNode;if("_originalStyle" in node){node.style.cssText=node._originalStyle;}},getTopPopup:function(){var _519=this._stack;for(var pi=_519.length-1;pi>0&&_519[pi].parent===_519[pi-1].widget;pi--){}return _519[pi];},open:function(args){var _51a=this._stack,_51b=args.popup,node=_51b.domNode,_51c=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_507.isBodyLtr(_51b.ownerDocument),_51d=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_51a.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_51a[_51a.length-1].widget.domNode))){this.close(_51a[_51a.length-1].widget);}var _51e=this.moveOffScreen(_51b);if(_51b.startup&&!_51b._started){_51b.startup();}var _51f,_520=_507.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_51f=args.maxHeight||Infinity;}else{var _521=_50b.getEffectiveBox(this.ownerDocument),_522=_51d?_507.position(_51d,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_51f=Math.floor(Math.max(_522.y,_521.h-(_522.y+_522.h)));}if(_520.h>_51f){var cs=_508.getComputedStyle(node),_523=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_508.set(_51e,{overflowY:"scroll",height:_51f+"px",border:_523});node._originalStyle=node.style.cssText;node.style.border="none";}_505.set(_51e,{id:id,style:{zIndex:this._beginZIndex+_51a.length},"class":"dijitPopup "+(_51b.baseClass||_51b["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_51a.length==0&&_51d){this._firstAroundNode=_51d;this._firstAroundPosition=_507.position(_51d,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_51b.bgIframe){_51b.bgIframe=new _50a(_51e);}var _524=_51b.orient?lang.hitch(_51b,"orient"):null,best=_51d?_509.around(_51e,_51d,_51c,ltr,_524):_509.at(_51e,args,_51c=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_524);_51e.style.visibility="visible";node.style.visibility="visible";var _525=[];_525.push(on(_51e,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _526=this.getTopPopup();if(_526&&_526.onCancel){_526.onCancel();}}}})));if(_51b.onCancel&&args.onCancel){_525.push(_51b.on("cancel",args.onCancel));}_525.push(_51b.on(_51b.onExecute?"execute":"change",lang.hitch(this,function(){var _527=this.getTopPopup();if(_527&&_527.onExecute){_527.onExecute();}})));_51a.push({widget:_51b,wrapper:_51e,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_525});if(_51b.onOpen){_51b.onOpen(best);}return best;},close:function(_528){var _529=this._stack;while((_528&&_502.some(_529,function(elem){return elem.widget==_528;}))||(!_528&&_529.length)){var top=_529.pop(),_52a=top.widget,_52b=top.onClose;if(_52a.bgIframe){_52a.bgIframe.destroy();delete _52a.bgIframe;}if(_52a.onClose){_52a.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_52a&&_52a.domNode){this.hide(_52a);}if(_52b){_52b();}}if(_529.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_50c.popup=new _50e());});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_52c,_52d,_52e,_52f,_530,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _531=new function(){var _532=[];this.pop=function(){var _533;if(_532.length){_533=_532.pop();_533.style.display="";}else{if(has("ie")<9){var burl=_52e["dojoBlankHtmlUrl"]||_52c.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\");'>";_533=document.createElement(html);}else{_533=_52f.create("iframe");_533.src="javascript:\"\"";_533.className="dijitBackgroundIframe";_533.setAttribute("role","presentation");_530.set(_533,"opacity",0.1);}_533.tabIndex=-1;}return _533;};this.push=function(_534){_534.style.display="none";_532.push(_534);};}();_52d.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _535=(this.iframe=_531.pop());node.appendChild(_535);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_530.set(_535,{width:"100%",height:"100%"});}}};lang.extend(_52d.BackgroundIframe,{resize:function(node){if(this.iframe){_530.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){this.iframe.parentNode.removeChild(this.iframe);_531.push(this.iframe);delete this.iframe;}}});return _52d.BackgroundIframe;});},"dijit/_base/scroll":function(){define(["dojo/window","../main"],function(_536,_537){_537.scrollIntoView=function(node,pos){_536.scrollIntoView(node,pos);};});},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_538,_539,lang,on,has,_53a){var _53b=(_53a.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,_53c,node,_53d,obj,_53e,_53f,_540){if(obj!=this._obj){this.stop();this._initialDelay=_53f||500;this._subsequentDelay=_53e||0.9;this._minDelay=_540||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_53c,_53d);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,_541,_542,_543,_544,_545,_546){var type="keyCode" in _541?"keydown":"charCode" in _541?"keypress":_539._keypress,attr="keyCode" in _541?"keyCode":"charCode" in _541?"charCode":"charOrCode";var _547=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_541[attr]&&(_541.ctrlKey===undefined||_541.ctrlKey==evt.ctrlKey)&&(_541.altKey===undefined||_541.altKey==evt.altKey)&&(_541.metaKey===undefined||_541.metaKey==(evt.metaKey||false))&&(_541.shiftKey===undefined||_541.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_53b.trigger(evt,_542,node,_543,_541,_544,_545,_546);}else{if(_53b._obj==_541){_53b.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_53b._obj==_541){_53b.stop();}}))];return {remove:function(){_538.forEach(_547,function(h){h.remove();});}};},addMouseListener:function(node,_548,_549,_54a,_54b,_54c){var _54d=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_53b.trigger(evt,_548,node,_549,node,_54a,_54b,_54c);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_53b.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_53b.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_53b.trigger(evt,_548,node,_549,node,_54a,_54b,_54c);setTimeout(lang.hitch(this,_53b.stop),50);}}))];return {remove:function(){_538.forEach(_54d,function(h){h.remove();});}};},addListener:function(_54e,_54f,_550,_551,_552,_553,_554,_555){var _556=[this.addKeyListener(_54f,_550,_551,_552,_553,_554,_555),this.addMouseListener(_54e,_551,_552,_553,_554,_555)];return {remove:function(){_538.forEach(_556,function(h){h.remove();});}};}});return _53b;});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_557,lang,_558){var _559={hasWaiRole:function(elem,role){var _55a=this.getWaiRole(elem);return role?(_55a.indexOf(role)>-1):(_55a.length>0);},getWaiRole:function(elem){return lang.trim((_557.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_557.set(elem,"role",role);},removeWaiRole:function(elem,role){var _55b=_557.get(elem,"role");if(!_55b){return;}if(role){var t=lang.trim((" "+_55b+" ").replace(" "+role+" "," "));_557.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_55c){return elem.hasAttribute?elem.hasAttribute("aria-"+_55c):!!elem.getAttribute("aria-"+_55c);},getWaiState:function(elem,_55d){return elem.getAttribute("aria-"+_55d)||"";},setWaiState:function(elem,_55e,_55f){elem.setAttribute("aria-"+_55e,_55f);},removeWaiState:function(elem,_560){elem.removeAttribute("aria-"+_560);}};lang.mixin(_558,_559);return _558;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_561,has,_562,win){_562(function(){if(has("highcontrast")){_561.add(win.body(),"dijit_a11y");}});return has;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_563,_564,_565,_566,has,_567,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_564.blankGif||_563.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_566.getComputedStyle(div),_568=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_568&&(_568=="none"||_568=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_567(function(){if(has("highcontrast")){_565.add(win.body(),"dj_a11y");}});return has;});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_569,_56a){_56a.getDocumentWindow=function(doc){return _569.get(doc);};});},"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(_56b,_56c,_56d,_56e,has,_56f,lang,_570,_571,_572,_573,_574,_575){function _576(){};function _577(_578){return function(obj,_579,_57a,_57b){if(obj&&typeof _579=="string"&&obj[_579]==_576){return obj.on(_579.substring(2).toLowerCase(),lang.hitch(_57a,_57b));}return _578.apply(_56d,arguments);};};_56b.around(_56d,"connect",_577);if(_56f.connect){_56b.around(_56f,"connect",_577);}var _57c=_56e("dijit._Widget",[_573,_574,_575],{onClick:_576,onDblClick:_576,onKeyDown:_576,onKeyPress:_576,onKeyUp:_576,onMouseDown:_576,onMouseMove:_576,onMouseOut:_576,onMouseOver:_576,onMouseLeave:_576,onMouseEnter:_576,onMouseUp:_576,constructor:function(_57d){this._toConnect={};for(var name in _57d){if(this[name]===_576){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_57d[name];delete _57d[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)]===_576){return _56d.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_57e){_56f.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_57e);},attr:function(name,_57f){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_56f.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_570("[widgetId]",this.containerNode).map(_572.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_571(0,function(){var _580=["dijit/_base"];require(_580);});}return _57c;});},"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(_581,_582,_583,_584,_585,_586,dom,_587,_588,_589,_58a,_58b,has,_58c,lang,on,_58d,_58e,_58f,win,_590,_591,_592){has.add("dijit-legacy-requires",!_58c.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_58d(0,function(){var _593=["dijit/_base/manager"];_581(_593);});}var _594={};function _595(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _596(attr){return function(val){_587[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _597(a,b){return a===b||(a!==a&&b!==b);};var _598=_586("dijit._WidgetBase",[_58e,_590],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_596("lang"),dir:"",_setDirAttr:_596("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_584.blankGif||_581.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _599=ctor.prototype,_59a=ctor._setterAttrs=[],_59b=(ctor._onMap={});for(var name in _599.attributeMap){_59a.push(name);}for(name in _599){if(/^on/.test(name)){_59b[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_599.attributeMap||!(name in _599.attributeMap)){_59a.push(name);}}}}},postscript:function(_59c,_59d){this.create(_59c,_59d);},create:function(_59e,_59f){this._introspect();this.srcNodeRef=dom.byId(_59f);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&this.srcNodeRef.id&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_59e){this.params=_59e;lang.mixin(this,_59e);}this.postMixInProperties();if(!this.id){this.id=_592.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);_592.add(this);this.buildRendering();var _5a0;if(this.domNode){this._applyAttributes();var _5a1=this.srcNodeRef;if(_5a1&&_5a1.parentNode&&this.domNode!==_5a1){_5a1.parentNode.replaceChild(this.domNode,_5a1);_5a0=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_5a0){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _5a2={};for(var key in this.params||{}){_5a2[key]=this._get(key);}_582.forEach(this.constructor._setterAttrs,function(key){if(!(key in _5a2)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _5a2){this.set(key,_5a2[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _5a3=this.baseClass.split(" ");if(!this.isLeftToRight()){_5a3=_5a3.concat(_582.map(_5a3,function(name){return name+"Rtl";}));}_588.add(this.domNode,_5a3);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_582.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_5a4){this._beingDestroyed=true;this.destroyDescendants(_5a4);this.destroy(_5a4);},destroy:function(_5a5){this._beingDestroyed=true;this.uninitialize();function _5a6(w){if(w.destroyRecursive){w.destroyRecursive(_5a5);}else{if(w.destroy){w.destroy(_5a5);}}};_582.forEach(this._connects,lang.hitch(this,"disconnect"));_582.forEach(this._supportingWidgets,_5a6);if(this.domNode){_582.forEach(_592.findWidgets(this.domNode,this.containerNode),_5a6);}this.destroyRendering(_5a5);_592.remove(this.id);this._destroyed=true;},destroyRendering:function(_5a7){if(this.bgIframe){this.bgIframe.destroy(_5a7);delete this.bgIframe;}if(this.domNode){if(_5a7){_587.remove(this.domNode,"widgetId");}else{_589.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_5a7){_589.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_5a8){_582.forEach(this.getChildren(),function(_5a9){if(_5a9.destroyRecursive){_5a9.destroyRecursive(_5a8);}});},uninitialize:function(){return false;},_setStyleAttr:function(_5aa){var _5ab=this.domNode;if(lang.isObject(_5aa)){_58b.set(_5ab,_5aa);}else{if(_5ab.style.cssText){_5ab.style.cssText+="; "+_5aa;}else{_5ab.style.cssText=_5aa;}}this._set("style",_5aa);},_attrToDom:function(attr,_5ac,_5ad){_5ad=arguments.length>=3?_5ad:this.attributeMap[attr];_582.forEach(lang.isArray(_5ad)?_5ad:[_5ad],function(_5ae){var _5af=this[_5ae.node||_5ae||"domNode"];var type=_5ae.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_5ac)){_5ac=lang.hitch(this,_5ac);}var _5b0=_5ae.attribute?_5ae.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_5af.tagName){_587.set(_5af,_5b0,_5ac);}else{_5af.set(_5b0,_5ac);}break;case "innerText":_5af.innerHTML="";_5af.appendChild(this.ownerDocument.createTextNode(_5ac));break;case "textContent":_5af.textContent=_5ac;break;case "innerHTML":_5af.innerHTML=_5ac;break;case "class":_588.replace(_5af,_5ac,this[attr]);break;case "toggleClass":_588.toggle(_5af,_5ae.className||attr,_5ac);break;}},this);},get:function(name){var _5b1=this._getAttrNames(name);return this[_5b1.g]?this[_5b1.g]():this._get(name);},set:function(name,_5b2){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _5b3=this._getAttrNames(name),_5b4=this[_5b3.s];if(lang.isFunction(_5b4)){var _5b5=_5b4.apply(this,Array.prototype.slice.call(arguments,1));}else{var _5b6=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_5b6]&&this[_5b6].tagName,_5b7=tag&&(_594[tag]||(_594[tag]=_595(this[_5b6]))),map=name in this.attributeMap?this.attributeMap[name]:_5b3.s in this?this[_5b3.s]:((_5b7&&_5b3.l in _5b7&&typeof _5b2!="function")||/^aria-|^data-|^role$/.test(name))?_5b6:null;if(map!=null){this._attrToDom(name,_5b2,map);}this._set(name,_5b2);}return _5b5||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,_5b8){var _5b9=this[name];this[name]=_5b8;if(this._created&&!_597(_5b9,_5b8)){if(this._watchCallbacks){this._watchCallbacks(name,_5b9,_5b8);}this.emit("attrmodified-"+name,{detail:{prevValue:_5b9,newValue:_5b8}});}},_get:function(name){return this[name];},emit:function(type,_5ba,_5bb){_5ba=_5ba||{};if(_5ba.bubbles===undefined){_5ba.bubbles=true;}if(_5ba.cancelable===undefined){_5ba.cancelable=true;}if(!_5ba.detail){_5ba.detail={};}_5ba.detail.widget=this;var ret,_5bc=this["on"+type];if(_5bc){ret=_5bc.apply(this,_5bb?_5bb:[_5ba]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_5ba);}return ret;},on:function(type,func){var _5bd=this._onMap(type);if(_5bd){return _583.after(this,_5bd,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?_592.findWidgets(this.containerNode):[];},getParent:function(){return _592.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_5be,_5bf){return this.own(_585.connect(obj,_5be,this,_5bf))[0];},disconnect:function(_5c0){_5c0.remove();},subscribe:function(t,_5c1){return this.own(_58f.subscribe(t,lang.hitch(this,_5c1)))[0];},unsubscribe:function(_5c2){_5c2.remove();},isLeftToRight:function(){return this.dir?(this.dir.toLowerCase()=="ltr"):_58a.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_58b.get(this.domNode,"display")!="none");},placeAt:function(_5c3,_5c4){var _5c5=!_5c3.tagName&&_592.byId(_5c3);if(_5c5&&_5c5.addChild&&(!_5c4||typeof _5c4==="number")){_5c5.addChild(this,_5c4);}else{var ref=_5c5&&("domNode" in _5c5)?(_5c5.containerNode&&!/after|before|replace/.test(_5c4||"")?_5c5.containerNode:_5c5.domNode):dom.byId(_5c3,this.ownerDocument);_589.place(this.domNode,ref,_5c4);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_5c6){var _5c7=setTimeout(lang.hitch(this,function(){if(!_5c7){return;}_5c7=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_5c6||0);return {remove:function(){if(_5c7){clearTimeout(_5c7);_5c7=null;}return null;}};}});if(has("dojo-bidi")){_598.extend(_591);}return _598;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_5c8,_5c9,_5ca){return _5ca("dijit.Destroyable",null,{destroy:function(_5cb){this._destroyed=true;},own:function(){var _5cc=["destroyRecursive","destroy","remove"];_5c8.forEach(arguments,function(_5cd){var _5ce;var odh=_5c9.before(this,"destroy",function(_5cf){_5cd[_5ce](_5cf);});var hdhs=[];function _5d0(){odh.remove();_5c8.forEach(hdhs,function(hdh){hdh.remove();});};if(_5cd.then){_5ce="cancel";_5cd.then(_5d0,_5d0);}else{_5c8.forEach(_5cc,function(_5d1){if(typeof _5cd[_5d1]==="function"){if(!_5ce){_5ce=_5d1;}hdhs.push(_5c9.after(_5cd,_5d1,_5d0,true));}});}},this);return arguments;}});});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_5d2,keys,_5d3,has,_5d4){var ret=_5d3("dijit._OnDijitClickMixin",null,{connect:function(obj,_5d5,_5d6){return this.inherited(arguments,[obj,_5d5=="ondijitclick"?_5d4:_5d5,_5d6]);}});ret.a11yclick=_5d4;return ret;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(keys,_5d7,on,_5d8){function _5d9(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 _5da;on(document,"keydown",function(e){if(_5d9(e)){_5da=e.target;e.preventDefault();}else{_5da=null;}});on(document,"keyup",function(e){if(_5d9(e)&&e.target==_5da){_5da=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 _5db=function(node,_5dc){node.dojoClick=true;return on(node,"click",_5dc);};_5db.click=_5db;_5db.press=function(node,_5dd){var _5de=on(node,_5d8.press,function(evt){if(evt.type=="mousedown"&&!_5d7.isLeft(evt)){return;}_5dd(evt);}),_5df=on(node,"keydown",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_5dd(evt);}});return {remove:function(){_5de.remove();_5df.remove();}};};_5db.release=function(node,_5e0){var _5e1=on(node,_5d8.release,function(evt){if(evt.type=="mouseup"&&!_5d7.isLeft(evt)){return;}_5e0(evt);}),_5e2=on(node,"keyup",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_5e0(evt);}});return {remove:function(){_5e1.remove();_5e2.remove();}};};_5db.move=_5d8.move;return _5db;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_5e3,_5e4,_5e5,lang){lang.extend(_5e4,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _5e5("dijit._FocusMixin",null,{_focusManager:_5e3});});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_5e6,_5e7,_5e8,lang,on,has,_5e9,_5ea){var _5eb=_5e7("dijit._TemplatedMixin",_5ea,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(tmpl){var _5ec=this.declaredClass,_5ed=this;return _5e9.substitute(tmpl,this,function(_5ee,key){if(key.charAt(0)=="!"){_5ee=lang.getObject(key.substr(1),false,_5ed);}if(typeof _5ee=="undefined"){throw new Error(_5ec+" template:"+key);}if(_5ee==null){return "";}return key.charAt(0)=="!"?_5ee:this._escapeValue(""+_5ee);},this);},_escapeValue:function(val){return val.replace(/["'<>&]/g,function(val){return {"&":"&","<":"<",">":">","\"":""","'":"'"}[val];});},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_5e6(this.templatePath,{sanitize:true});}var _5ef=_5eb.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_5ef)){node=_5e8.toDom(this._stringRepl(_5ef),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_5ef);}}else{node=_5ef.cloneNode(true);}this.domNode=node;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_5f0){var dest=this.containerNode;if(_5f0&&dest){while(_5f0.hasChildNodes()){dest.appendChild(_5f0.firstChild);}}}});_5eb._templateCache={};_5eb.getCachedTemplate=function(_5f1,_5f2,doc){var _5f3=_5eb._templateCache;var key=_5f1;var _5f4=_5f3[key];if(_5f4){try{if(!_5f4.ownerDocument||_5f4.ownerDocument==(doc||document)){return _5f4;}}catch(e){}_5e8.destroy(_5f4);}_5f1=_5e9.trim(_5f1);if(_5f2||_5f1.match(/\$\{([^\}]+)\}/g)){return (_5f3[key]=_5f1);}else{var node=_5e8.toDom(_5f1,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_5f1);}return (_5f3[key]=node);}};if(has("ie")){on(window,"unload",function(){var _5f5=_5eb._templateCache;for(var key in _5f5){var _5f6=_5f5[key];if(typeof _5f6=="object"){_5e8.destroy(_5f6);}delete _5f5[key];}});}return _5eb;});},"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(_5f7,_5f8,_5f9,_5fa,lang,_5fb,on,_5fc,_5fd){var _5fe=lang.delegate(_5fc,{"mouseenter":_5fb.enter,"mouseleave":_5fb.leave,"keypress":_5f9._keypress});var _5ff;var _600=_5fa("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_601){var node=_601;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==_601){return;}while(!node.nextSibling){node=node.parentNode;if(node==_601){return;}}node=node.nextSibling;}}},_processTemplateNode:function(_602,_603,_604){var ret=true;var _605=this.attachScope||this,_606=_603(_602,"dojoAttachPoint")||_603(_602,"data-dojo-attach-point");if(_606){var _607,_608=_606.split(/\s*,\s*/);while((_607=_608.shift())){if(lang.isArray(_605[_607])){_605[_607].push(_602);}else{_605[_607]=_602;}ret=(_607!="containerNode");this._attachPoints.push(_607);}}var _609=_603(_602,"dojoAttachEvent")||_603(_602,"data-dojo-attach-event");if(_609){var _60a,_60b=_609.split(/\s*,\s*/);var trim=lang.trim;while((_60a=_60b.shift())){if(_60a){var _60c=null;if(_60a.indexOf(":")!=-1){var _60d=_60a.split(":");_60a=trim(_60d[0]);_60c=trim(_60d[1]);}else{_60a=trim(_60a);}if(!_60c){_60c=_60a;}this._attachEvents.push(_604(_602,_60a,lang.hitch(_605,_60c)));}}}return ret;},_attach:function(node,type,func){type=type.replace(/^on/,"").toLowerCase();if(type=="dijitclick"){type=_5ff||(_5ff=_5f7("./a11yclick"));}else{type=_5fe[type]||type;}return on(node,type,func);},_detachTemplateNodes:function(){var _60e=this.attachScope||this;_5f8.forEach(this._attachPoints,function(_60f){delete _60e[_60f];});this._attachPoints=[];_5f8.forEach(this._attachEvents,function(_610){_610.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});lang.extend(_5fd,{dojoAttachEvent:"",dojoAttachPoint:""});return _600;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_611,_612,_613,_614){return _612("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_615,_616){var _617=this.containerNode;if(_616>0){_617=_617.firstChild;while(_616>0){if(_617.nodeType==1){_616--;}_617=_617.nextSibling;}if(_617){_616="before";}else{_617=this.containerNode;_616="last";}}_613.place(_615.domNode,_617,_616);if(this._started&&!_615._started){_615.startup();}},removeChild:function(_618){if(typeof _618=="number"){_618=this.getChildren()[_618];}if(_618){var node=_618.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_619,dir){var _61a=this.getChildren(),idx=_611.indexOf(_61a,_619);return _61a[idx+dir];},getIndexOfChild:function(_61b){return _611.indexOf(this.getChildren(),_61b);}});});},"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,_61c,_61d,_61e,_61f,_620,_621,_622,_623){return _620("dijit.layout._LayoutWidget",[_61c,_61d,_61e],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);_621.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _624=this.getParent&&this.getParent();if(!(_624&&_624.isLayoutContainer)){this.resize();this.own(_61f.on("resize",lang.hitch(this,"resize")));}},resize:function(_625,_626){var node=this.domNode;if(_625){_622.setMarginBox(node,_625);}var mb=_626||{};lang.mixin(mb,_625||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_622.getMarginBox(node),mb);}var cs=_623.getComputedStyle(node);var me=_622.getMarginExtents(node,cs);var be=_622.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_622.getPadExtents(node,cs);this._contentBox={l:_623.toPixelValue(node,cs.paddingLeft),t:_623.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_627){var cls=this.baseClass+"-child "+(_627.baseClass?this.baseClass+"-"+_627.baseClass:"");_621.add(_627.domNode,cls);},addChild:function(_628,_629){this.inherited(arguments);if(this._started){this._setupChild(_628);}},removeChild:function(_62a){var cls=this.baseClass+"-child"+(_62a.baseClass?" "+this.baseClass+"-"+_62a.baseClass:"");_621.remove(_62a.domNode,cls);this.inherited(arguments);}});});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_62b,_62c){return _62b("dijit._Contained",null,{_getSibling:function(_62d){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_62d=="previous"?-1:1))||null;},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/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_62e,has,_62f,_630,_631,_632,_633,_634){if(has("dijit-legacy-requires")){_630(0,function(){var _635=["dijit/form/_FormValueWidget"];require(_635);});}return _62e("dijit.form._FormWidget",[_631,_633,_632,_634],{setDisabled:function(_636){_62f.deprecated("setDisabled("+_636+") is deprecated. Use set('disabled',"+_636+") instead.","","2.0");this.set("disabled",_636);},setValue:function(_637){_62f.deprecated("dijit.form._FormWidget:setValue("+_637+") is deprecated. Use set('value',"+_637+") instead.","","2.0");this.set("value",_637);},getValue:function(){_62f.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,""")+"\""):"";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(_638,_639,dom,_63a,has,lang,on,_63b,_63c,win,_63d,_63e){var _63f=_639("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_638.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(_640){if(!this.disabled){switch(_640.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 _641=this.baseClass.split(" ");function _642(_643){_641=_641.concat(_638.map(_641,function(c){return c+_643;}),"dijit"+_643);};if(!this.isLeftToRight()){_642("Rtl");}var _644=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_642(_644);}if(this.state){_642(this.state);}if(this.selected){_642("Selected");}if(this._opened){_642("Opened");}if(this.disabled){_642("Disabled");}else{if(this.readOnly){_642("ReadOnly");}else{if(this.active){_642("Active");}else{if(this.hovering){_642("Hover");}}}}if(this.focused){_642("Focused");}var tn=this.stateNode||this.domNode,_645={};_638.forEach(tn.className.split(" "),function(c){_645[c]=true;});if("_stateClasses" in this){_638.forEach(this._stateClasses,function(c){delete _645[c];});}_638.forEach(_641,function(c){_645[c]=true;});var _646=[];for(var c in _645){_646.push(c);}tn.className=_646.join(" ");this._stateClasses=_641;},_subnodeCssMouseEvent:function(node,_647,evt){if(this.disabled||this.readOnly){return;}function _648(_649){_63a.toggle(node,_647+"Hover",_649);};function _64a(_64b){_63a.toggle(node,_647+"Active",_64b);};function _64c(_64d){_63a.toggle(node,_647+"Focused",_64d);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_648(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_648(false);_64a(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_64a(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_64a(false);break;case "focus":case "focusin":_64c(true);break;case "blur":case "focusout":_64c(false);break;}},_trackMouseState:function(node,_64e){node._cssState=_64e;}});_63b(function(){function _64f(evt,_650,_651){if(_651&&dom.isDescendant(_651,_650)){return;}for(var node=_650;node&&node!=_651;node=node.parentNode){if(node._cssState){var _652=_63e.getEnclosingWidget(node);if(_652){if(node==_652.domNode){_652._cssMouseEvent(evt);}else{_652._subnodeCssMouseEvent(node,node._cssState,evt);}}}}};var body=win.body(),_653;on(body,_63c.over,function(evt){_64f(evt,evt.target,evt.relatedTarget);});on(body,_63c.out,function(evt){_64f(evt,evt.target,evt.relatedTarget);});on(body,_63d.press,function(evt){_653=evt.target;_64f(evt,_653);});on(body,_63d.release,function(evt){_64f(evt,_653);_653=null;});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _654=_63e.getEnclosingWidget(node);if(_654){_654._subnodeCssMouseEvent(node,node._cssState,evt);}}});});return _63f;});},"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(_655,_656,_657,_658,lang,_659,on,has,_65a,a11y){return _656("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(_65b){this._set("disabled",_65b);if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){_657.set(this.focusNode,"disabled",_65b);if(has("trident")&&"readOnly" in this){_657.set(this.focusNode,"readonly",_65b||this.readOnly);}}else{this.focusNode.setAttribute("aria-disabled",_65b?"true":"false");}if(this.valueNode){_657.set(this.valueNode,"disabled",_65b);}if(_65b){this._set("hovering",false);this._set("active",false);var _65c="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_655.forEach(lang.isArray(_65c)?_65c:[_65c],function(_65d){var node=this[_65d];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 _65e=this.own(on(this.focusNode,"focus",function(){_65f.remove();_65e.remove();}))[0];var _660=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _65f=this.own(on(this.ownerDocumentBody,_660,lang.hitch(this,function(evt){_65f.remove();_65e.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_65a.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_658.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(_661,_662){if(this._lastValueReported==undefined&&(_662===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_661;}this._pendingOnChange=this._pendingOnChange||(typeof _661!=typeof this._lastValueReported)||(this.compare(_661,this._lastValueReported)!=0);if((this.intermediateChanges||_662||_662===undefined)&&this._pendingOnChange){this._lastValueReported=_661;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_661);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_663,has,_664,_665){return _663("dijit.form._FormValueWidget",[_664,_665],{_layoutHackIE7:function(){if(has("ie")==7){var _666=this.domNode;var _667=_666.parentNode;var _668=_666.firstChild||_666;var _669=_668.style.filter;var _66a=this;while(_667&&_667.clientHeight==0){(function ping(){var _66b=_66a.connect(_667,"onscroll",function(){_66a.disconnect(_66b);_668.style.filter=(new Date()).getMilliseconds();_66a.defer(function(){_668.style.filter=_669;});});})();_667=_667.parentNode;}}}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_66c,_66d,keys,lang,on,has,_66e){return _66c("dijit.form._FormValueMixin",_66e,{readOnly:false,_setReadOnlyAttr:function(_66f){if(has("trident")&&"disabled" in this){_66d.set(this.focusNode,"readOnly",_66f||this.disabled);}else{_66d.set(this.focusNode,"readOnly",_66f);}this._set("readOnly",_66f);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_670,_671){this._handleOnChange(_670,_671);},_handleOnChange:function(_672,_673){this._set("value",_672);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"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(_674,_675,_676,_677,_678,has,i18n,_679,_67a,_67b,_67c){var _67d=_67a("dijit.ColorPalette",[_676,_677,_678],{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:_675,baseClass:"dijitColorPalette",_dyeFactory:function(_67e,row,col,_67f){return new this._dyeClass(_67e,row,col,_67f);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_67a(_67d._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_67d._Color=_67a("dijit._Color",_679,{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":_674.toUrl("./themes/a11y/colors7x10.png"),"3x4":_674.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_680,row,col,_681){this._title=_681;this._row=row;this._col=col;this.setColor(_679.named[_680]);},getValue:function(){return this.toHex();},fillCell:function(cell,_682){var html=_67c.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_682,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"});_67b.place(html,cell);}});return _67d;});},"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(_683,_684,_685,_686,keys,lang,on,_687,_688,_689,_68a){var _68b=_683("dijit._PaletteMixin",_687,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_68c){var _68d=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _68d(_68c);},_preparePalette:function(_68e,_68f){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_688,lang.hitch(this,"_onCellClick")));for(var row=0;row<_68e.length;row++){var _690=_686.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_68e[row].length;col++){var _691=_68e[row][col];if(_691){var _692=this._dyeFactory(_691,row,col,_68f[_691]);var _693=_686.create("td",{"class":this.cellClass,tabIndex:"-1",title:_68f[_691],role:"gridcell"},_690);_692.fillCell(_693,url);_693.idx=this._cells.length;this._cells.push({node:_693,dye:_692});}}}this._xDim=_68e[0].length;this._yDim=_68e.length;var _694={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _694){this.own(_68a.addKeyListener(this.domNode,{keyCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _695=_694[key];return function(_696){this._navigateByKey(_695,_696);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_689.focus(this._currentFocus);},_onCellClick:function(evt){var _697=evt.target;while(_697.tagName!="TD"){if(!_697.parentNode||_697==this.gridNode){return;}_697=_697.parentNode;}var _698=this._getDye(_697).getValue();this._setCurrent(_697);_689.focus(_697);this._setValueAttr(_698,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(node){if("_currentFocus" in this){_684.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_684.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_699,_69a){if(this._selectedCell>=0){_685.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_699){for(var i=0;i<this._cells.length;i++){if(_699==this._cells[i].dye.getValue()){this._selectedCell=i;_685.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_699:null);if(_69a||_69a===undefined){this.onChange(_699);}},onChange:function(){},_navigateByKey:function(_69b,_69c){if(_69c==-1){return;}var _69d=this._currentFocus.idx+_69b;if(_69d<this._cells.length&&_69d>-1){var _69e=this._cells[_69d].node;this._setCurrent(_69e);this.defer(lang.hitch(_689,"focus",_69e));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});return _68b;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_69f,_6a0){var _6a1={};lang.setObject("dojo.colors",_6a1);var _6a2=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=_69f.fromRgb=function(_6a3,obj){var m=_6a3.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=_6a0.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _69f.fromArray(a,obj);}return _69f.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=[_6a2(m1,m2,H+1/3)*256,_6a2(m1,m2,H)*256,_6a2(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _69f.fromArray(a,obj);}}return null;};var _6a4=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_69f.prototype.sanitize=function(){var t=this;t.r=Math.round(_6a4(t.r,0,255));t.g=Math.round(_6a4(t.g,0,255));t.b=Math.round(_6a4(t.b,0,255));t.a=_6a4(t.a,0,1);return this;};_6a1.makeGrey=_69f.makeGrey=function(g,a){return _69f.fromArray([g,g,g,a]);};lang.mixin(_69f.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 _69f;});},"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/touch","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_6a5,_6a6,_6a7,_6a8,_6a9,dom,_6aa,_6ab,_6ac,fx,i18n,keys,lang,on,_6ad,has,_6ae,_6af,_6b0,_6b1,_6b2,_6b3,_6b4,_6b5,_6b6,_6b7,_6b8,_6b9,_6ba,_6bb,_6bc){var _6bd=new _6a9();_6bd.resolve(true);function nop(){};var _6be=_6a8("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_6b5,_6b7,_6b8,_6b6],{templateString:_6bc,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_6b3.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,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 _6bf=i18n.getLocalization("dijit","common");lang.mixin(this,_6bf);this.inherited(arguments);},postCreate:function(){_6ac.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_6a7.after(this,"onExecute",lang.hitch(this,"hide"),true);_6a7.after(this,"onCancel",lang.hitch(this,"hide"),true);on(this.closeButtonNode,_6ae.press,function(e){e.stopPropagation();});this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_6c0.isTop(this)){this._getFocusItems();_6b2.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_6b2.focus(this._firstFocusItem);},_endDrag:function(){var _6c1=_6ab.position(this.domNode),_6c2=_6af.getBox(this.ownerDocument);_6c1.y=Math.min(Math.max(_6c1.y,0),(_6c2.h-_6c1.h));_6c1.x=Math.min(Math.max(_6c1.x,0),(_6c2.w-_6c1.w));this._relativePosition=_6c1;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_6b1:_6b0)(node,{handle:this.titleBar});_6a7.after(this._moveable,"onMoveStop",lang.hitch(this,"_endDrag"),true);}else{_6aa.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_6a6.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:lang.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_6aa.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_6c3=_6af.getBox(this.ownerDocument),p=this._relativePosition,bb=_6ab.position(node),l=Math.floor(_6c3.l+(p?Math.min(p.x,_6c3.w-bb.w):(_6c3.w-bb.w)/2)),t=Math.floor(_6c3.t+(p?Math.min(p.y,_6c3.h-bb.h):(_6c3.h-bb.h)/2));_6ac.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==keys.TAB){this._getFocusItems();var node=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_6b2.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_6b2.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==keys.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _6bd.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_6c0.hide(this);}var win=_6af.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));_6ac.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _6c4;this._fadeInDeferred=new _6a9(lang.hitch(this,function(){_6c4.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _6c5=this._fadeInDeferred.promise;_6c4=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_6c0.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_6c0.isTop(this)){this._getFocusItems();_6b2.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _6c5;},hide:function(){if(!this._alreadyInitialized||!this.open){return _6bd.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _6c6;this._fadeOutDeferred=new _6a9(lang.hitch(this,function(){_6c6.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(lang.hitch(this,"onHide"));var _6c7=this._fadeOutDeferred.promise;_6c6=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_6c0.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 _6c7;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_6a6.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(node){if(node){_6ac.set(node,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _6c8=_6af.getBox(this.ownerDocument);_6c8.w*=this.maxRatio;_6c8.h*=this.maxRatio;var bb=_6ab.position(this.domNode);this._shrunk=false;if(bb.w>=_6c8.w){dim={w:_6c8.w};_6ab.setMarginBox(this.domNode,dim);bb=_6ab.position(this.domNode);this._shrunk=true;}if(bb.h>=_6c8.h){if(!dim){dim={w:bb.w};}dim.h=_6c8.h;this._shrunk=true;}if(dim){if(!dim.w){dim.w=bb.w;}if(!dim.h){dim.h=bb.h;}}}if(dim){_6ab.setMarginBox(this.domNode,dim);var _6c9=[];if(this.titleBar){_6c9.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_6c9.push({domNode:this.actionBarNode,region:"bottom"});}var _6ca={domNode:this.containerNode,region:"center"};_6c9.push(_6ca);var _6cb=_6bb.marginBox2contentBox(this.domNode,dim);_6bb.layoutChildren(this.domNode,_6cb,_6c9);if(this._singleChild){var cb=_6bb.marginBox2contentBox(this.containerNode,_6ca);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_6a6.forEach(this.getChildren(),function(_6cc){if(_6cc.resize){_6cc.resize();}});},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();}_6c0.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_6be=_6a8("dijit._DialogBase",_6be,{_setTitleAttr:function(_6cd){this._set("title",_6cd);this.titleNode.innerHTML=_6cd;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_6ce){if(this._created&&this.textDir!=_6ce){this._set("textDir",_6ce);this.set("title",this.title);}}});}var _6cf=_6a8("dijit.Dialog",[_6ba,_6be],{});_6cf._DialogBase=_6be;var _6c0=_6cf._DialogLevelManager={_beginZIndex:950,show:function(_6d0,_6d1){ds[ds.length-1].focus=_6b2.curNode;var _6d2=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_6cf._DialogLevelManager._beginZIndex;_6ac.set(_6d0.domNode,"zIndex",_6d2);_6b9.show(_6d1,_6d2-1);ds.push({dialog:_6d0,underlayAttrs:_6d1,zIndex:_6d2});},hide:function(_6d3){if(ds[ds.length-1].dialog==_6d3){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_6b9.hide();}else{_6b9.show(pd.underlayAttrs,pd.zIndex-1);}if(_6d3.refocus){var _6d4=pd.focus;if(pd.dialog&&(!_6d4||!dom.isDescendant(_6d4,pd.dialog.domNode))){pd.dialog._getFocusItems();_6d4=pd.dialog._firstFocusItem;}if(_6d4){try{_6d4.focus();}catch(e){}}}}else{var idx=_6a6.indexOf(_6a6.map(ds,function(elem){return elem.dialog;}),_6d3);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_6d5){return ds[ds.length-1].dialog==_6d5;}};var ds=_6cf._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_6b2.watch("curNode",function(attr,_6d6,node){var _6d7=ds[ds.length-1].dialog;if(node&&_6d7&&!_6d7._fadeOutDeferred&&node.ownerDocument==_6d7.ownerDocument){do{if(node==_6d7.domNode||_6aa.contains(node,"dijitPopup")){return;}}while(node=node.parentNode);_6d7.focus();}});if(has("dijit-legacy-requires")){_6ad(0,function(){var _6d8=["dijit/TooltipDialog"];_6a5(_6d8);});}return _6cf;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_6d9,_6da,_6db,lang,on,_6dc){return _6da("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_6dd){var res=[];_6d9.forEach(_6dd||this.getChildren(),function(_6de){if("value" in _6de){res.push(_6de);}else{res=res.concat(this._getDescendantFormWidgets(_6de.getChildren()));}},this);return res;},reset:function(){_6d9.forEach(this._getDescendantFormWidgets(),function(_6df){if(_6df.reset){_6df.reset();}});},validate:function(){var _6e0=false;return _6d9.every(_6d9.map(this._getDescendantFormWidgets(),function(_6e1){_6e1._hasBeenBlurred=true;var _6e2=_6e1.disabled||!_6e1.validate||_6e1.validate();if(!_6e2&&!_6e0){_6dc.scrollIntoView(_6e1.containerNode||_6e1.domNode);_6e1.focus();_6e0=true;}return _6e2;}),function(item){return item;});},setValues:function(val){_6db.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_6d9.forEach(this._getDescendantFormWidgets(),function(_6e3){if(!_6e3.name){return;}var _6e4=map[_6e3.name]||(map[_6e3.name]=[]);_6e4.push(_6e3);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _6e5=map[name],_6e6=lang.getObject(name,false,obj);if(_6e6===undefined){continue;}_6e6=[].concat(_6e6);if(typeof _6e5[0].checked=="boolean"){_6d9.forEach(_6e5,function(w){w.set("value",_6d9.indexOf(_6e6,w._get("value"))!=-1);});}else{if(_6e5[0].multiple){_6e5[0].set("value",_6e6);}else{_6d9.forEach(_6e5,function(w,i){w.set("value",_6e6[i]);});}}}},getValues:function(){_6db.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_6d9.forEach(this._getDescendantFormWidgets(),function(_6e7){var name=_6e7.name;if(!name||_6e7.disabled){return;}var _6e8=_6e7.get("value");if(typeof _6e7.checked=="boolean"){if(/Radio/.test(_6e7.declaredClass)){if(_6e8!==false){lang.setObject(name,_6e8,obj);}else{_6e8=lang.getObject(name,false,obj);if(_6e8===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_6e8!==false){ary.push(_6e8);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_6e8);}else{lang.setObject(name,[prev,_6e8],obj);}}else{lang.setObject(name,_6e8,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _6e9=_6d9.map(this._descendants,function(w){return w.get("state")||"";});return _6d9.indexOf(_6e9,"Error")>=0?"Error":_6d9.indexOf(_6e9,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_6ea){this._descendants=this._getDescendantFormWidgets();_6d9.forEach(this._descendants,function(_6eb){if(!_6eb._started){_6eb.startup();}});if(!_6ea){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,_6ec,_6ed){this.onValidStateChange(_6ed=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_6ee,a11y){return _6ee("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _6ef=a11y._getTabNavigable(this.domNode);this._firstFocusItem=_6ef.lowest||_6ef.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_6ef.last||_6ef.highest||this._firstFocusItem;}});});},"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(_6f0,lang,_6f1,_6f2,_6f3,on,_6f4,_6f5,_6f6,_6f7,_6f8,_6f9){var _6fa=_6f0("dijit.DialogUnderlay",[_6f5,_6f6],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_6f2.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_6fb){this.node.className="dijitDialogUnderlay "+_6fb;this._set("class",_6fb);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _6fc=_6f4.getBox(this.ownerDocument);os.top=_6fc.t+"px";os.left=_6fc.l+"px";is.width=_6fc.w+"px";is.height=_6fc.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _6f7(this.domNode);var win=_6f4.get(this.ownerDocument);this._modalConnects=[_6f8.on("resize",lang.hitch(this,"layout")),on(win,"scroll",lang.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(){}});_6fa.show=function(_6fd,_6fe){var _6ff=_6fa._singleton;if(!_6ff||_6ff._destroyed){_6ff=_6f9._underlay=_6fa._singleton=new _6fa(_6fd);}else{if(_6fd){_6ff.set(_6fd);}}_6f3.set(_6ff.domNode,"zIndex",_6fe);if(!_6ff.open){_6ff.show();}};_6fa.hide=function(){var _700=_6fa._singleton;if(_700&&!_700._destroyed){_700.hide();}};return _6fa;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when","dojo/i18n!../nls/loading"],function(_701,lang,_702,_703,_704,_705,html,_706,_707,_708,dom,_709,_70a,xhr,i18n,when){return _707("dijit.layout.ContentPane",[_702,_703,_704],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_701._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(_70b,node,ctor){var self=new ctor(_70b,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_70c,_70d){if((!_70c||!_70c.template)&&_70d&&!("href" in _70c)&&!("content" in _70c)){_70d=dom.byId(_70d);var df=_70d.ownerDocument.createDocumentFragment();while(_70d.firstChild){df.appendChild(_70d.firstChild);}_70c=lang.delegate(_70c,{content:df});}this.inherited(arguments,[_70c,_70d]);},postMixInProperties:function(){this.inherited(arguments);var _70e=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_705.substitute(this.loadingMessage,_70e);this.errorMessage=_705.substitute(this.errorMessage,_70e);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_706.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_706.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_706.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_701.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _708(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_701.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _708(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_70f){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 _708(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _710={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_710,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_710)),_711;hand.then(function(html){_711=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _711;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+(this.widgetId||this.id)+" 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(_712){if(this.isLoaded){this._onUnloadHandler();}var _713=this._contentSetter;_706.forEach(this.getChildren(),function(_714){if(_714.destroyRecursive){_714.destroyRecursive(_712);}else{if(_714.destroy){_714.destroy(_712);}}_714._destroyed=true;});if(_713){_706.forEach(_713.parseResults,function(_715){if(!_715._destroyed){if(_715.destroyRecursive){_715.destroyRecursive(_712);}else{if(_715.destroy){_715.destroy(_712);}}_715._destroyed=true;}});delete _713.parseResults;}if(!_712){_70a.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_716){cont=this.preprocessContent(cont);this.destroyDescendants();var _717=this._contentSetter;if(!(_717&&_717 instanceof html._ContentSetter)){_717=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _718=this.onContentError(e);try{this.containerNode.innerHTML=_718;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _719=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_717.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_719);var self=this;return when(p&&p.then?p:_717.parseDeferred,function(){delete self._contentSetterParams;if(!_716){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_71a){return _71a;},_onError:function(type,err,_71b){this.onLoadDeferred.reject(err);var _71c=this["on"+type+"Error"].call(this,err);if(_71b){console.error(_71b,err);}else{if(_71c){this._setContent(_71c,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"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","../registry","../Viewport","./utils"],function(_71d,_71e,_71f,_720,_721,lang,_722,_723,_724,_725){return _71e("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _726=this.getParent();this._childOfLayoutWidget=_726&&_726.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_724.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){if(!this.doLayout){return;}var _727=[],_728=false;_722("> *",this.containerNode).some(function(node){var _729=_723.byNode(node);if(_729&&_729.resize){_727.push(_729);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_728=true;}}});this._singleChild=_727.length==1&&!_728?_727[0]:null;_71f.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_72a,_72b){this._resizeCalled=true;this._scheduleLayout(_72a,_72b);},_scheduleLayout:function(_72c,_72d){if(this._isShown()){this._layout(_72c,_72d);}else{this._needLayout=true;this._changeSize=_72c;this._resultSize=_72d;}},_layout:function(_72e,_72f){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_72e){_720.setMarginBox(this.domNode,_72e);}var cn=this.containerNode;if(cn===this.domNode){var mb=_72f||{};lang.mixin(mb,_72e||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_720.getMarginBox(cn),mb);}this._contentBox=_725.marginBox2contentBox(cn,mb);}else{this._contentBox=_720.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_720.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _730=this.getChildren(),_731,i=0;while(_731=_730[i++]){if(_731.resize){_731.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,_732=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_71f.contains(node,"dijitHidden")&&_732&&_732.style&&(_732.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_733,_734,_735,_736,lang){function _737(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_738,dim){var _739=_738.resize?_738.resize(dim):_735.setMarginBox(_738.domNode,dim);if(_739){lang.mixin(_738,_739);}else{lang.mixin(_738,_735.getMarginBox(_738.domNode));lang.mixin(_738,dim);}};var _73a={marginBox2contentBox:function(node,mb){var cs=_736.getComputedStyle(node);var me=_735.getMarginExtents(node,cs);var pb=_735.getPadBorderExtents(node,cs);return {l:_736.toPixelValue(node,cs.paddingLeft),t:_736.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_73b,dim,_73c,_73d,_73e){dim=lang.mixin({},dim);_734.add(_73b,"dijitLayoutContainer");_73c=_733.filter(_73c,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_733.filter(_73c,function(item){return item.region=="center"||item.layoutAlign=="client";}));_733.forEach(_73c,function(_73f){var elm=_73f.domNode,pos=(_73f.region||_73f.layoutAlign);if(!pos){throw new Error("No region setting for "+_73f.id);}var _740=elm.style;_740.left=dim.l+"px";_740.top=dim.t+"px";_740.position="absolute";_734.add(elm,"dijitAlign"+_737(pos));var _741={};if(_73d&&_73d==_73f.id){_741[_73f.region=="top"||_73f.region=="bottom"?"h":"w"]=_73e;}if(pos=="leading"){pos=_73f.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_73f.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_741.w=dim.w;size(_73f,_741);dim.h-=_73f.h;if(pos=="top"){dim.t+=_73f.h;}else{_740.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_741.h=dim.h;size(_73f,_741);dim.w-=_73f.w;if(pos=="left"){dim.l+=_73f.w;}else{_740.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_73f,dim);}}}});}};lang.setObject("dijit.layout.utils",_73a);return _73a;});},"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","../a11yclick"],function(_742,_743,_744,has,_745,lang,_746,_747,_748,_749){if(has("dijit-legacy-requires")){_746(0,function(){var _74a=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_742(_74a);});}var _74b=_743("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_747,_748],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_749,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer();},_setLabelFromContainer:function(){if(this.containerNode&&!this.label){this.label=lang.trim(this.containerNode.innerHTML);this.onLabelSet();}},_setShowLabelAttr:function(val){if(this.containerNode){_744.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_74c){_745.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_74c);},onLabelSet:function(){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")){_74b=_743("dijit.form.Button",_74b,{onLabelSet:function(){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_74d){if(this._created&&this.textDir!=_74d){this._set("textDir",_74d);this._setLabelAttr(this.label);}}});}return _74b;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_74e,dom,has,_74f){var _750=_74e("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 _751=e.defaultPrevented;if(!_751&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _752=_74f.byNode(node);if(_752&&typeof _752._onSubmit=="function"){_752._onSubmit(e);e.preventDefault();_751=true;break;}}}return !_751;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_753){this._set("label",_753);var _754=this.containerNode||this.focusNode;_754.innerHTML=_753;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_750=_74e("dijit.form._ButtonMixin",_750,{onLabelSet:function(){this.inherited(arguments);var _755=this.containerNode||this.focusNode;this.applyTextDir(_755);}});}return _750;});},"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(_756,_757,_758,has,_759,_75a,_75b,_75c,_75d){if(has("dijit-legacy-requires")){_75a(0,function(){var _75e=["dijit/form/RadioButton"];_756(_75e);});}return _757("dijit.form.CheckBox",[_75b,_75c],{templateString:_75d,baseClass:"dijitCheckBox",_setValueAttr:function(_75f,_760){if(typeof _75f=="string"){this.inherited(arguments);_75f=true;}if(this._created){this.set("checked",_75f,_760);}},_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){_759("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_759("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_761,_762,_763,_764){return _761("dijit.form.ToggleButton",[_763,_764],{baseClass:"dijitToggleButton",setChecked:function(_765){_762.deprecated("setChecked("+_765+") is deprecated. Use set('checked',"+_765+") instead.","","2.0");this.set("checked",_765);}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_766,_767){return _766("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _768=this.checked;this._set("checked",!_768);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_768);return ret;},_setCheckedAttr:function(_769,_76a){this._set("checked",_769);var node=this.focusNode||this.domNode;if(this._created){if(_767.get(node,"checked")!=!!_769){_767.set(node,"checked",!!_769);}}node.setAttribute(this._aria_attr,String(_769));this._handleOnChange(_769,_76a);},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/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_76b,_76c){return _76b("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_76d){this._set("readOnly",_76d);_76c.set(this.focusNode,"readOnly",_76d);},_setLabelAttr:undefined,_getSubmitValue:function(_76e){return (_76e==null||_76e==="")?"on":_76e;},_setValueAttr:function(_76f){_76f=this._getSubmitValue(_76f);this._set("value",_76f);_76c.set(this.focusNode,"value",_76f);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_76c.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_770,keys,_771,_772,_773){return _770("dijit.form.ComboButton",_772,{templateString:_773,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_771.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_771.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_774){if(!this.disabled){_771.focus(_774=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_775,_776,lang,_777,_778,_779,_77a,_77b,_77c,_77d){return _775("dijit.form.DropDownButton",[_77a,_77b,_77c],{baseClass:"dijitDropDownButton",templateString:_77d,_fillContent:function(){var _77e=this.srcNodeRef;var dest=this.containerNode;if(_77e&&dest){while(_77e.hasChildNodes()){var _77f=_77e.firstChild;if(_77f.hasAttribute&&(_77f.hasAttribute("data-dojo-type")||_77f.hasAttribute("dojoType")||_77f.hasAttribute("data-"+_776._scopeName+"-type")||_77f.hasAttribute(_776._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_77f);}else{dest.appendChild(_77f);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_778.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_779.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _780=this.dropDown;return (!!_780&&(!_780.href||_780.isLoaded));},loadDropDown:function(_781){var _782=this.dropDown;var _783=_782.on("load",lang.hitch(this,function(){_783.remove();_781();}));_782.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"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(_784,_785,dom,_786,_787,_788,_789,has,keys,lang,on,_78a,_78b,_78c,_78d,_78e){return _784("dijit._HasDropDown",_78e,{_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.preventDefault();}this.own(on.once(this.ownerDocument,_78a.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _78f=this.dropDown,_790=false;if(e&&this._opened){var c=_788.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&&!_790){if(_787.contains(t,"dijitPopup")){_790=true;}else{t=t.parentNode;}}if(_790){t=e.target;if(_78f.onItemClick){var _791;while(t&&!(_791=_78b.byNode(t))){t=t.parentNode;}if(_791&&_791.onClick&&_791.getParent){_791.getParent().onItemClick(_791,e);}}return;}}}if(this._opened){if(_78f.focus&&(_78f.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_78f.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 _792={"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";_787.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_792+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _793=this.focusNode||this.domNode;this.own(on(this._buttonNode,_78a.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_793,"keydown",lang.hitch(this,"_onKey")),on(_793,"keyup",lang.hitch(this,"_onKeyUp")));},destroy:function(){if(this._opened){this.closeDropDown(true);}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,_794=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))))&&((_794.tagName||"").toLowerCase()!=="input"||(_794.type&&_794.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(_795){_795();},loadAndOpenDropDown:function(){var d=new _785(),_796=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_796);}else{_796();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _797=this.dropDown,_798=_797.domNode,_799=this._aroundNode||this.domNode,self=this;var _79a=_78d.open({parent:this,popup:_797,around:_799,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_786.set(self._popupStateNode,"popupActive",false);_787.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_799.offsetWidth>_797._popupWrapper.offsetWidth)){var _79b=_799.offsetWidth-_797._popupWrapper.offsetWidth;var _79c={w:_797.domNode.offsetWidth+_79b};this._origStyle=_798.style.cssText;if(lang.isFunction(_797.resize)){_797.resize(_79c);}else{_788.setMarginBox(_798,_79c);}if(_79a.corner[1]=="R"){_797._popupWrapper.style.left=(_797._popupWrapper.style.left.replace("px","")-_79b)+"px";}}_786.set(this._popupStateNode,"popupActive","true");_787.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_797.id);if(_798.getAttribute("role")!=="presentation"&&!_798.getAttribute("aria-labelledby")){_798.setAttribute("aria-labelledby",this.id);}return _79a;},closeDropDown:function(_79d){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_79d&&this.focus){this.focus();}_78d.close(this.dropDown);this._opened=false;}if(this._origStyle){this.dropDown.domNode.style.cssText=this._origStyle;delete this._origStyle;}}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_79e,lang,when,_79f,_7a0){return _79e("dijit.form.FilteringSelect",[_79f,_7a0],{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(_7a1,_7a2,_7a3,_7a4){if((_7a2&&_7a2[this.searchAttr]!==this._lastQuery)||(!_7a2&&_7a1.length&&this.store.getIdentity(_7a1[0])!=this._lastQuery)){return;}if(!_7a1.length){this.set("value","",_7a4||(_7a4===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_7a1[0],_7a4);}},_openResultList:function(_7a5,_7a6,_7a7){if(_7a6[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(_7a8,_7a9,_7aa,item){if(!this._onChangeActive){_7a9=null;}if(item===undefined){if(_7a8===null||_7a8===""){_7a8="";if(!lang.isString(_7aa)){this._setDisplayedValueAttr(_7aa||"",_7a9);return;}}var self=this;this._lastQuery=_7a8;when(this.store.get(_7a8),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_7a9);});}else{this.valueNode.value=_7a8;this.inherited(arguments,[_7a8,_7a9,_7aa,item]);}},_setItemAttr:function(item,_7ab,_7ac){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_7ad,_7ae){if(_7ad==null){_7ad="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_7ae=false;}if(this.store){this.closeDropDown();var _7af=lang.clone(this.query);var qs=this._getDisplayQueryString(_7ad),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_7af[this.searchAttr]=q;this.textbox.value=_7ad;this._lastDisplayedValue=_7ad;this._set("displayedValue",_7ad);var _7b0=this;var _7b1={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_7b1,this.fetchProperties);this._fetchHandle=this.store.query(_7af,_7b1);when(this._fetchHandle,function(_7b2){_7b0._fetchHandle=null;_7b0._callbackSetLabel(_7b2||[],_7af,_7b1,_7ae);},function(err){_7b0._fetchHandle=null;if(!_7b0._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_7b3,has,_7b4,_7b5){return _7b3("dijit.form.MappedTextBox",_7b5,{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=_7b4.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,""")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_7b6,_7b7,lang,i18n,_7b8,_7b9,_7ba){var _7bb=_7b6("dijit.form.ValidationTextBox",_7b8,{templateString:_7ba,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_7bc){if(_7bc!=_7bb.prototype[attr]){_7b7.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_7bc);}},_setRegExpGenAttr:function(_7bd){this._deprecateRegExp("regExpGen",_7bd);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_7be){this._deprecateRegExp("regExp",_7be);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_7bf,_7c0){return (new RegExp("^(?:"+this._computeRegexp(_7c0)+")"+(this.required?"":"?")+"$")).test(_7bf)&&(!this.required||!this._isEmpty(_7bf))&&(this._isEmpty(_7bf)||this.parse(_7bf,_7c0)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_7c1){return (this.trim?/^\s*$/:/^$/).test(_7c1);},getErrorMessage:function(){var _7c2=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _7c3=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_7c2:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_7c3:_7c2;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_7c4){var _7c5="";var _7c6=this.disabled||this.isValid(_7c4);if(_7c6){this._maskValidSubsetError=true;}var _7c7=this._isEmpty(this.textbox.value);var _7c8=!_7c6&&_7c4&&this._isValidSubset();this._set("state",_7c6?"":(((((!this._hasBeenBlurred||_7c4)&&_7c7)||_7c8)&&(this._maskValidSubsetError||(_7c8&&!this._hasBeenBlurred&&_7c4)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_7c4&&_7c8;_7c5=this.getErrorMessage(_7c4);}else{if(this.state=="Incomplete"){_7c5=this.getPromptMessage(_7c4);this._maskValidSubsetError=!this._hasBeenBlurred||_7c4;}else{if(_7c7){_7c5=this.getPromptMessage(_7c4);}}}this.set("message",_7c5);return _7c6;},displayMessage:function(_7c9){if(_7c9&&this.focused){_7b9.show(_7c9,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_7b9.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_7ca){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_7cb){if(!_7cb.locale&&this.lang){_7cb.locale=this.lang;}this._set("constraints",_7cb);this._refreshState();},_setPatternAttr:function(_7cc){this._set("pattern",_7cc);this._refreshState();},_computeRegexp:function(_7cd){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_7cd);}if(p!=this._lastRegExp){var _7ce="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_7ce+=re;break;case ")":_7ce+="|$)";break;default:_7ce+="(?:"+re+"|$)";break;}});}try{"".search(_7ce);}catch(e){_7ce=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_7ce+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_7cf){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_7d0){this._set("required",_7d0);this.focusNode.setAttribute("aria-required",_7d0);this._refreshState();},_setMessageAttr:function(_7d1){this._set("message",_7d1);this.displayMessage(_7d1);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_7b9.hide(this.domNode);this.inherited(arguments);}});return _7bb;});},"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(_7d2,_7d3,_7d4,_7d5,lang,on,has,_7d6,_7d7,_7d8,_7d9){var _7da=_7d2("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_7d6,_7d7],{templateString:_7d8,_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=_7d4.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _7db=this.domNode.getElementsByTagName("INPUT");if(_7db){for(var i=0;i<_7db.length;i++){_7db[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_7d3.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(_7dc,_7dd,_7de){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_7d5.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_7df){_7d5.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_7df);},_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){_7da.prototype._isTextSelected=function(){var _7e0=this.ownerDocument.selection.createRange();var _7e1=_7e0.parentElement();return _7e1==this.textbox&&_7e0.text.length>0;};_7d9._setSelectionRange=_7d7._setSelectionRange=function(_7e2,_7e3,stop){if(_7e2.createTextRange){var r=_7e2.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_7e3);r.moveEnd("character",stop-_7e3);r.select();}};}if(has("dojo-bidi")){_7da=_7d2("dijit.form.TextBox",_7da,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _7da;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_7e4,_7e5,dom,has,keys,lang,on,_7e6){var _7e7=_7e5("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(_7e8,_7e9,_7ea){var _7eb;if(_7e8!==undefined){_7eb=this.filter(_7e8);if(typeof _7ea!="string"){if(_7eb!==null&&((typeof _7eb!="number")||!isNaN(_7eb))){_7ea=this.filter(this.format(_7eb,this.constraints));}else{_7ea="";}if(this.compare(_7eb,this.filter(this.parse(_7ea,this.constraints)))!=0){_7ea=null;}}}if(_7ea!=null&&((typeof _7ea)!="number"||!isNaN(_7ea))&&this.textbox.value!=_7ea){this.textbox.value=_7ea;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_7eb,_7e9]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_7ec){if(_7ec==null){_7ec="";}else{if(typeof _7ec!="string"){_7ec=String(_7ec);}}this.textbox.value=_7ec;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_7ed){return _7ed==null?"":(_7ed.toString?_7ed.toString():_7ed);},parse:function(_7ee){return _7ee;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _7ef(e){var _7f0;if(e.type=="keydown"&&e.keyCode!=229){_7f0=e.keyCode;switch(_7f0){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_7f0){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_7f0>=65&&_7f0<=90)||(_7f0>=48&&_7f0<=57)||_7f0==keys.SPACE){return;}var _7f1=false;for(var i in keys){if(keys[i]===e.keyCode){_7f1=true;break;}}if(!_7f1){return;}}}_7f0=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_7f0){_7f0=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_7f0){_7f0=229;}if(e.type=="keypress"){if(typeof _7f0!="string"){return;}if((_7f0>="a"&&_7f0<="z")||(_7f0>="A"&&_7f0<="Z")||(_7f0>="0"&&_7f0<="9")||(_7f0===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_7f0,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_7ef)),on(this.textbox,"input",lang.hitch(this,"_onInput")),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=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_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",lang.hitch(this,function(evt){if(!this._isTextSelected()){_7e7.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")){_7e7=_7e5("dijit.form._TextBoxMixin",_7e7,{_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);}});}_7e7._setSelectionRange=_7e6._setSelectionRange=function(_7f2,_7f3,stop){if(_7f2.setSelectionRange){_7f2.setSelectionRange(_7f3,stop);}};_7e7.selectInputText=_7e6.selectInputText=function(_7f4,_7f5,stop){_7f4=dom.byId(_7f4);if(isNaN(_7f5)){_7f5=0;}if(isNaN(stop)){stop=_7f4.value?_7f4.value.length:0;}try{_7f4.focus();_7e7._setSelectionRange(_7f4,_7f5,stop);}catch(e){}};return _7e7;});},"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(_7f6,_7f7,fx,dom,_7f8,_7f9,_7fa,lang,_7fb,on,has,_7fc,_7fd,_7fe,_7ff,_800,_801,_802){var _803=_7f7("dijit._MasterTooltip",[_7fe,_7ff],{duration:_7fc.defaultDuration,templateString:_801,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _800(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(_804,_805,_806,rtl,_807,_808,_809){if(this.aroundNode&&this.aroundNode===_805&&this.containerNode.innerHTML==_804){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_804;if(_807){this.set("textDir",_807);}this.containerNode.align=rtl?"right":"left";var pos=_7fd.around(this.domNode,_805,_806&&_806.length?_806:_80a.defaultPosition,!rtl,lang.hitch(this,"orient"));var _80b=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_80b.y+((_80b.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=_80b.x+((_80b.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_7fa.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_805;this.onMouseEnter=_808||noop;this.onMouseLeave=_809||noop;},orient:function(node,_80c,_80d,_80e,_80f){this.connectorNode.style.top="";var _810=_80e.h,_811=_80e.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"}[_80c+"-"+_80d];this.domNode.style.width="auto";var size=_7f9.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _812=Math.min((Math.max(_811,1)),size.w);_7f9.setMarginBox(this.domNode,{w:_812});if(_80d.charAt(0)=="B"&&_80c.charAt(0)=="B"){var bb=_7f9.position(node);var _813=this.connectorNode.offsetHeight;if(bb.h>_810){var _814=_810-((_80f.h+_813)>>1);this.connectorNode.style.top=_814+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_80f.h/2-_813/2,0),bb.h-_813)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_811);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_815){if(this._onDeck&&this._onDeck[1]==_815){this._onDeck=null;}else{if(this.aroundNode===_815){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_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")){_803.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_7f6.forEach(node.children,function(_816){this._setAutoTextDir(_816);},this);},_setTextDirAttr:function(_817){this._set("textDir",_817);if(_817=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_802.showTooltip=function(_818,_819,_81a,rtl,_81b,_81c,_81d){if(_81a){_81a=_7f6.map(_81a,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_80a._masterTT){_802._masterTT=_80a._masterTT=new _803();}return _80a._masterTT.show(_818,_819,_81a,rtl,_81b,_81c,_81d);};_802.hideTooltip=function(_81e){return _80a._masterTT&&_80a._masterTT.hide(_81e);};var _81f="DORMANT",_820="SHOW TIMER",_821="SHOWING",_822="HIDE TIMER";function noop(){};var _80a=_7f7("dijit.Tooltip",_7fe,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_823){_7f6.forEach(this._connections||[],function(_824){_7f6.forEach(_824,function(_825){_825.remove();});},this);this._connectIds=_7f6.filter(lang.isArrayLike(_823)?_823:(_823?[_823]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_7f6.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_826=this.selector,_827=_826?function(_828){return on.selector(_826,_828);}:function(_829){return _829;},self=this;return [on(node,_827(_7fb.enter),function(){self._onHover(this);}),on(node,_827("focusin"),function(){self._onHover(this);}),on(node,_827(_7fb.leave),lang.hitch(self,"_onUnHover")),on(node,_827("focusout"),lang.hitch(self,"set","state",_81f))];},this);this._set("connectId",_823);},addTarget:function(node){var id=node.id||node;if(_7f6.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_7f6.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_7f8.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_7f6.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_81f,_setStateAttr:function(val){if(this.state==val||(val==_820&&this.state==_821)||(val==_822&&this.state==_81f)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _81f:if(this._connectNode){_80a.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _820:if(this.state!=_821){this._showTimer=this.defer(function(){this.set("state",_821);},this.showDelay);}break;case _821:var _82a=this.getContent(this._connectNode);if(!_82a){this.set("state",_81f);return;}_80a.show(_82a,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_821),lang.hitch(this,"set","state",_822));this.onShow(this._connectNode,this.position);break;case _822:this._hideTimer=this.defer(function(){this.set("state",_81f);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_82b){if(this._connectNode&&_82b!=this._connectNode){this.set("state",_81f);}this._connectNode=_82b;this.set("state",_820);},_onUnHover:function(_82c){this.set("state",_822);},open:function(_82d){this.set("state",_81f);this._connectNode=_82d;this.set("state",_821);},close:function(){this.set("state",_81f);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_81f);_7f6.forEach(this._connections||[],function(_82e){_7f6.forEach(_82e,function(_82f){_82f.remove();});},this);this.inherited(arguments);}});_80a._MasterTooltip=_803;_80a.show=_802.showTooltip;_80a.hide=_802.hideTooltip;_80a.defaultPosition=["after-centered","before-centered"];return _80a;});},"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(_830,_831,_832,lang,_833,_834,_835,_836,_837){return _830("dijit.form.ComboBoxMixin",[_836,_834],{dropDownClass:_835,hasDownArrow:true,templateString:_837,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_838){if(!_838.get){lang.mixin(_838,{_oldAPI:true,get:function(id){var _839=new _831();this.fetchItemByIdentity({identity:id,onItem:function(_83a){_839.resolve(_83a);},onError:function(_83b){_839.reject(_83b);}});return _839.promise;},query:function(_83c,_83d){var _83e=new _831(function(){_83f.abort&&_83f.abort();});_83e.total=new _831();var _83f=this.fetch(lang.mixin({query:_83c,onBegin:function(_840){_83e.total.resolve(_840);},onComplete:function(_841){_83e.resolve(_841);},onError:function(_842){_83e.reject(_842);}},_83d));return _833(_83e);}});}this._set("store",_838);},postMixInProperties:function(){var _843=this.params.store||this.store;if(_843){this._setStoreAttr(_843);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _844=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_832.deprecated(_844+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_832.deprecated(_844+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_832.deprecated(_844+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_845){new _845({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_846,lang,when){var _847=function(_848){if(!_848){return _848;}var _849=!!_848.then;if(_849){_848=lang.delegate(_848);}function _84a(_84b){_848[_84b]=function(){var args=arguments;var _84c=when(_848,function(_84d){Array.prototype.unshift.call(args,_84d);return _847(_846[_84b].apply(_846,args));});if(_84b!=="forEach"||_849){return _84c;}};};_84a("forEach");_84a("filter");_84a("map");if(_848.total==null){_848.total=when(_848,function(_84e){return _84e.length;});}return _848;};lang.setObject("dojo.store.util.QueryResults",_847);return _847;});},"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(_84f,_850,_851,keys,lang,_852,_853,has,_854,_855,_856){var _857=_850("dijit.form._AutoCompleterMixin",_856,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_858){var pos=0;if(typeof (_858.selectionStart)=="number"){pos=_858.selectionStart;}else{if(has("ie")){var tr=_858.ownerDocument.selection.createRange().duplicate();var ntr=_858.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(_859,_85a){_85a=parseInt(_85a);_855.selectInputText(_859,_85a,_85a);},_setDisabledAttr:function(_85b){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_85b?"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 _85c=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_85c=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(_85c);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_85c){if(_85c==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_85c==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 _85d=this.get("displayedValue");if(pw&&(_85d==pw._messages["previousMessage"]||_85d==pw._messages["nextMessage"])){break;}if(_85c){this._selectOption(_85c);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_855.selectInputText(fn,fn.value.length);var _85e=this.ignoreCase?"toLowerCase":"substr";if(text[_85e](0).indexOf(this.focusNode.value[_85e](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_855.selectInputText(fn,cpos);}}else{fn.value=text;_855.selectInputText(fn);}},_openResultList:function(_85f,_860,_861){var _862=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_85f.length&&_861.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_863){_85f.nextPage(_863!==-1);this.focus();});this.dropDown.createOptions(_85f,_861,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _861){if(_861.direction){this.dropDown.highlightFirstOption();}else{if(!_861.direction){this.dropDown.highlightLastOption();}}if(_862){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_860[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 _864=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_864==pw._messages["previousMessage"]||_864==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_864);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_865,_866){var _867="";if(item){if(!_866){_866=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_867=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_866;}this.set("value",_867,_865,_866,item);},_announceOption:function(node){if(!node){return;}var _868;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_868=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_868=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_868);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_851.get(node,"id"));this._autoCompleteText(_868);},_selectOption:function(_869){this.closeDropDown();if(_869){this._announceOption(_869);}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 _86a=this.id+"_popup",_86b=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _86b({onChange:lang.hitch(this,this._selectOption),id:_86a,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&&this.srcNodeRef){var _86c=this.srcNodeRef;this.store=new _854({},_86c);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _86d=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_86d):item[_86d];}}}},postCreate:function(){var _86e=_852("label[for=\""+this.id+"\"]");if(_86e.length){if(!_86e[0].id){_86e[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_86e[0].id);}this.inherited(arguments);_84f.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _86f=this.labelFunc(item,this.store),_870=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_86f=this.doHighlight(_86f,this._lastInput);_870="html";}return {html:_870=="html",label:_86f};},doHighlight:function(_871,find){var _872=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_853.escapeString(find);return this._escapeHtml(_871.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_872),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_873){return (_873._oldAPI?_873.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_874,_875,_876,item){this._set("item",item||null);if(_874==null){_874="";}this.inherited(arguments);}});if(has("dojo-bidi")){_857.extend({_setTextDirAttr:function(_877){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_877);}}});}return _857;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _878={};lang.setObject("dojo.regexp",_878);_878.escapeString=function(str,_879){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_879&&_879.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_878.buildGroupRE=function(arr,re,_87a){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _878.group(b.join("|"),_87a);};_878.group=function(_87b,_87c){return "("+(_87c?"?:":"")+_87b+")";};return _878;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_87d,dom,lang,_87e,_87f,_880){function _881(_882){return {id:_882.value,value:_882.value,name:lang.trim(_882.innerText||_882.textContent||"")};};return _87d("dijit.form.DataList",_87f,{constructor:function(_883,_884){this.domNode=dom.byId(_884);lang.mixin(this,_883);if(this.id){_880.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_87e("option",this.domNode).map(_881)}]);},destroy:function(){_880.remove(this.id);},fetchSelectedItem:function(){var _885=_87e("> option[selected]",this.domNode)[0]||_87e("> option",this.domNode)[0];return _885&&_881(_885);}});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_886,_887,_888){var base=null;return _886("dojo.store.Memory",base,{constructor:function(_889){for(var i in _889){this[i]=_889[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_888,get:function(id){return this.data[this.index[id]];},getIdentity:function(_88a){return _88a[this.idProperty];},put:function(_88b,_88c){var data=this.data;var _88d=this.index;var _88e=this.idProperty;var id=_88b[_88e]=(_88c&&"id" in _88c)?_88c.id:_88e in _88b?_88b[_88e]:Math.random();var _88f=data.length;var _890;var _891;var _892=id in _88d?"update":"add";if(_892==="update"){if(_88c&&_88c.overwrite===false){throw new Error("Object already exists");}else{_891=_88d[id];_88f=_891;}}if(_88c&&"before" in _88c){if(_88c.before==null){_890=data.length;if(_892==="update"){--_890;}}else{_890=_88d[this.getIdentity(_88c.before)];if(_891<_890){--_890;}}}else{_890=_88f;}if(_890===_891){data[_890]=_88b;}else{if(_891!==undefined){data.splice(_891,1);}data.splice(_890,0,_88b);this._rebuildIndex(_891===undefined?_890:Math.min(_891,_890));}return id;},add:function(_893,_894){(_894=_894||{}).overwrite=false;return this.put(_893,_894);},remove:function(id){var _895=this.index;var data=this.data;if(id in _895){data.splice(_895[id],1);this.index={};this._rebuildIndex();return true;}},query:function(_896,_897){return _887(this.queryEngine(_896,_897)(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={};this._rebuildIndex();},_rebuildIndex:function(_898){var data=this.data;var _899=data.length;var i;_898=_898||0;for(i=_898;i<_899;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_89a){return function(_89b,_89c){switch(typeof _89b){default:throw new Error("Can not query with a "+typeof _89b);case "object":case "undefined":var _89d=_89b;_89b=function(_89e){for(var key in _89d){var _89f=_89d[key];if(_89f&&_89f.test){if(!_89f.test(_89e[key],_89e)){return false;}}else{if(_89f!=_89e[key]){return false;}}}return true;};break;case "string":if(!this[_89b]){throw new Error("No filter function "+_89b+" was found in store");}_89b=this[_89b];case "function":}function _8a0(_8a1){var _8a2=_89a.filter(_8a1,_89b);var _8a3=_89c&&_89c.sort;if(_8a3){_8a2.sort(typeof _8a3=="function"?_8a3:function(a,b){for(var sort,i=0;sort=_8a3[i];i++){var _8a4=a[sort.attribute];var _8a5=b[sort.attribute];_8a4=_8a4!=null?_8a4.valueOf():_8a4;_8a5=_8a5!=null?_8a5.valueOf():_8a5;if(_8a4!=_8a5){return !!sort.descending==(_8a4==null||_8a4>_8a5)?-1:1;}}return 0;});}if(_89c&&(_89c.start||_89c.count)){var _8a6=_8a2.length;_8a2=_8a2.slice(_89c.start||0,(_89c.start||0)+(_89c.count||Infinity));_8a2.total=_8a6;}return _8a2;};_8a0.matches=_89b;return _8a0;};});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_8a7,keys,lang,_8a8,_8a9,when,_8aa){return _8a7("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(_8ab){return new RegExp("^"+_8ab.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_8ac,star,_8ad){return star?".*":_8ad?".":_8ac?_8ac:"\\"+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;this._prev_key_backspace=false;if(key===keys.DELETE||key===keys.BACKSPACE){this._prev_key_backspace=true;this._maskValidSubsetError=true;}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 _8ae=this,_8a8=lang.clone(this.query),_8af={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_8a9.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_8b0=function(){var _8b1=_8ae._fetchHandle=_8ae.store.query(_8a8,_8af);if(_8ae.disabled||_8ae.readOnly||(q!==_8ae._lastQuery)){return;}when(_8b1,function(res){_8ae._fetchHandle=null;if(!_8ae.disabled&&!_8ae.readOnly&&(q===_8ae._lastQuery)){when(_8b1.total,function(_8b2){res.total=_8b2;var _8b3=_8ae.pageSize;if(isNaN(_8b3)||_8b3>res.total){_8b3=res.total;}res.nextPage=function(_8b4){_8af.direction=_8b4=_8b4!==false;_8af.count=_8b3;if(_8b4){_8af.start+=res.length;if(_8af.start>=res.total){_8af.count=0;}}else{_8af.start-=_8b3;if(_8af.start<0){_8af.count=Math.max(_8b3+_8af.start,0);_8af.start=0;}}if(_8af.count<=0){res.length=0;_8ae.onSearch(res,_8a8,_8af);}else{_8b0();}};_8ae.onSearch(res,_8a8,_8af);});}},function(err){_8ae._fetchHandle=null;if(!_8ae._cancelingQuery){console.error(_8ae.declaredClass+" "+err.toString());}});};lang.mixin(_8af,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_8a8[this.searchAttr]=q;this._queryDeferHandle=this.defer(_8b0,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_8aa.byId(list);}}this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_8b5,_8b6,_8b7,keys,_8b8,_8b9,_8ba,_8bb){return _8b5("dijit.form._ComboBoxMenu",[_8b8,_8b9,_8bb,_8ba],{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()){_8b6.add(this.previousButton,"dijitMenuItemRtl");_8b6.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){_8b6.add(node,"dijitMenuItemHover");},onUnhover:function(node){_8b6.remove(node,"dijitMenuItemHover");},onSelect:function(node){_8b6.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_8b6.remove(node,"dijitMenuItemSelected");},_page:function(up){var _8bc=0;var _8bd=this.domNode.scrollTop;var _8be=_8b7.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_8bc<_8be){var _8bf=this.getHighlightedOption();if(up){if(!_8bf.previousSibling||_8bf.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_8bf.nextSibling||_8bf.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _8c0=this.domNode.scrollTop;_8bc+=(_8c0-_8bd)*(up?-1:1);_8bd=_8c0;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_8c1,_8c2,_8c3,has,i18n){var _8c4=_8c2("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(_8c5){this._set("value",_8c5);this.onChange(_8c5);},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,_8c6){var _8c7=this._createMenuItem();var _8c8=_8c6(item);if(_8c8.html){_8c7.innerHTML=_8c8.label;}else{_8c7.appendChild(_8c7.ownerDocument.createTextNode(_8c8.label));}if(_8c7.innerHTML==""){_8c7.innerHTML=" ";}return _8c7;},createOptions:function(_8c9,_8ca,_8cb){this.items=_8c9;this.previousButton.style.display=(_8ca.start==0)?"none":"";_8c3.set(this.previousButton,"id",this.id+"_prev");_8c1.forEach(_8c9,function(item,i){var _8cc=this._createOption(item,_8cb);_8cc.setAttribute("item",i);_8c3.set(_8cc,"id",this.id+i);this.nextButton.parentNode.insertBefore(_8cc,this.nextButton);},this);var _8cd=false;if(_8c9.total&&!_8c9.total.then&&_8c9.total!=-1){if((_8ca.start+_8ca.count)<_8c9.total){_8cd=true;}else{if((_8ca.start+_8ca.count)>_8c9.total&&_8ca.count==_8c9.length){_8cd=true;}}}else{if(_8ca.count==_8c9.length){_8cd=true;}}this.nextButton.style.display=_8cd?"":"none";_8c3.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _8ce=this.containerNode;while(_8ce.childNodes.length>2){_8ce.removeChild(_8ce.childNodes[_8ce.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")){_8c4=_8c2("dijit.form._ComboBoxMenuMixin",_8c4,{_createOption:function(){var _8cf=this.inherited(arguments);this.applyTextDir(_8cf);return _8cf;}});}return _8c4;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_8d0,on,_8d1,_8d2){return _8d0("dijit.form._ListMouseMixin",_8d2,{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,_8d3){this._setSelectedAttr(_8d3,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_8d3);});},_onMouseDown:function(evt,_8d4){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_8d4,false);},_onMouseUp:function(evt,_8d5){this._isDragging=false;var _8d6=this.selected;var _8d7=this._hoveredNode;if(_8d6&&_8d5==_8d6){this.defer(function(){this._onClick(evt,_8d6);});}else{if(_8d7){this.defer(function(){this._onClick(evt,_8d7);});}}},_onMouseOut:function(evt,_8d8){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_8d9){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_8d9;this.onHover(_8d9);if(this._isDragging){this._setSelectedAttr(_8d9,false);}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_8da,on,_8db){return _8da("dijit.form._ListBase",null,{selected:null,_listConnect:function(_8dc,_8dd){var self=this;return self.own(on(self.containerNode,on.selector(function(_8de,_8df,_8e0){return _8de.parentNode==_8e0;},_8dc),function(evt){self[_8dd](evt,this);}));},selectFirstNode:function(){var _8e1=this.containerNode.firstChild;while(_8e1&&_8e1.style.display=="none"){_8e1=_8e1.nextSibling;}this._setSelectedAttr(_8e1,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _8e2=this.selected;if(!_8e2){this.selectFirstNode();}else{var next=_8e2.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _8e3=this.selected;if(!_8e3){this.selectLastNode();}else{var prev=_8e3.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_8e4){if(this.selected!=node){var _8e5=this.selected;if(_8e5){this.onDeselect(_8e5);}if(node){if(_8e4){_8db.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_8e6,_8e7,_8e8,has,_8e9,_8ea,_8eb,_8ec){return _8e6("dijit.form.Form",[_8e9,_8ea,_8eb,_8ec],{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(_8ed){_8e7.set(this.domNode,"encType",_8ed);if(has("ie")){this.domNode.encoding=_8ed;}this._set("encType",_8ed);},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){_8e8.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/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_8ee,_8ef,_8f0){return _8ee("dijit.form.RadioButton",[_8ef,_8f0],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_8f1,_8f2,_8f3,lang,_8f4,_8f5){return _8f2("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_8f4("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_8f6){if(_8f6.name==this.name&&_8f6.form==this.focusNode.form){var _8f7=_8f5.getEnclosingWidget(_8f6);if(_8f7){ary.push(_8f7);}}}));return ary;},_setCheckedAttr:function(_8f8){this.inherited(arguments);if(!this._created){return;}if(_8f8){_8f1.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_8f9){if(_8f9!=this&&_8f9.checked){_8f9.set("checked",false);}}));}},_getSubmitValue:function(_8fa){return _8fa==null?"on":_8fa;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_8f1.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_8fb){_8f3.set(this.focusNode||this.domNode,"checked",_8fb.checked);}));return false;}var _8fc=false;var _8fd;_8f1.some(this._getRelatedWidgets(),function(_8fe){if(_8fe.checked){_8fd=_8fe;return true;}return false;});this.checked=true;_8fd&&(_8fd.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_8fc=true;}this.checked=false;_8fd&&(_8fd.checked=true);if(_8fc){e.preventDefault();}else{this.set("checked",true);}return !_8fc;}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","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(_8ff,_900,_901,_902,_903,i18n,keys,lang,on,has,_904,_905,_906,_907,_908,_909,_90a,_90b,_90c){var _90d=_900("dijit.form._SelectMenu",_906,{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 _90e=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_8ff.forEach(this.parentWidget._getChildren(),function(_90f){if(_90f.option&&(val===_90f.option.value)){_90e=true;this.focusChild(_90f,false);}},this);}if(!_90e){this.inherited(arguments);}}});var _910=_900("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_904,_905,_90a],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_90c,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,labelType:"html",_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 _90d({id:this.id+"_menu",parentWidget:this});_902.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_911){if(!_911.value&&!_911.label){return new _908({ownerDocument:this.ownerDocument});}else{var _912=lang.hitch(this,"_setValueAttr",_911);var item=new _907({option:_911,label:(this.labelType==="text"?(_911.label||"").toString().replace(/&/g,"&").replace(/</g,"<"):_911.label)||this.emptyLabel,onClick:_912,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_911.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_913){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_913));}},_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(_914){if(_914){this.set("value",_914.option);}},_getFirst:function(){var _915=this._getChildren();return _915.length?_915[0]:null;},_getLast:function(){var _916=this._getChildren();return _916.length?_916[_916.length-1]:null;},childSelector:function(node){var node=_90b.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_917,_918){if(item){this.focusChild(item);}},_loadChildren:function(_919){if(_919===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_8ff.forEach(this._getChildren(),function(_91a){_91a.destroyRecursive();});var item=new _907({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(_91b){this.inherited(arguments);_901.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_91c){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_91d){this._set("required",_91d);this.focusNode.setAttribute("aria-required",_91d);this._refreshState();},_setOptionsAttr:function(_91e){this._isLoaded=false;this._set("options",_91e);},_setDisplay:function(_91f){var lbl=(this.labelType==="text"?(_91f||"").replace(/&/g,"&").replace(/</g,"<"):_91f)||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" aria-selected=\"true\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_920){var _921=this.disabled||this.isValid(_920);this._set("state",_921?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_921?"false":"true");var _922=_921?"":this._missingMsg;if(_922&&this.focused&&this._hasBeenBlurred){_909.show(_922,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_909.hide(this.domNode);}this._set("message",_922);return _921;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_909.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");var _923=this._keyNavCodes;delete _923[keys.LEFT_ARROW];delete _923[keys.RIGHT_ARROW];},_setStyleAttr:function(_924){this.inherited(arguments);_902.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_925){this._loadChildren(true);this._isLoaded=true;_925();},destroy:function(_926){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_926);delete this.dropDown;}_909.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_909.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_910=_900("dijit.form.Select",_910,{_setDisplay:function(_927){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_910._Menu=_90d;function _928(_929){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_929,evt));}else{this.inherited(_929,arguments);}};};_910.prototype._onContainerKeydown=_928("_onContainerKeydown");_910.prototype._onContainerKeypress=_928("_onContainerKeypress");return _910;});},"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(_92a,_92b,_92c,_92d,_92e,dom,_92f,_930,lang,_931,when,_932,_933){var _934=_92e("dijit.form._FormSelectWidget",_933,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_935){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_935});}},queryOptions:null,_setQueryOptionsAttr:function(_936){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_936});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_937){var opts=this.options||[];if(_937==null){return opts;}if(lang.isArrayLike(_937)){return _92a.map(_937,function(item){return this.getOptions(item);},this);}if(lang.isString(_937)){_937={value:_937};}if(lang.isObject(_937)){if(!_92a.some(opts,function(_938,idx){for(var a in _937){if(!(a in _938)||_938[a]!=_937[a]){return false;}}_937=idx;return true;})){_937=-1;}}if(_937>=0&&_937<opts.length){return opts[_937];}return null;},addOption:function(_939){_92a.forEach(lang.isArrayLike(_939)?_939:[_939],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_93a){var _93b=this.getOptions(lang.isArrayLike(_93a)?_93a:[_93a]);_92a.forEach(_93b,function(_93c){if(_93c){this.options=_92a.filter(this.options,function(node){return (node.value!==_93c.value||node.label!==_93c.label);});this._removeOptionItem(_93c);}},this);this._loadChildren();},updateOption:function(_93d){_92a.forEach(lang.isArrayLike(_93d)?_93d:[_93d],function(i){var _93e=this.getOptions({value:i.value}),k;if(_93e){for(k in i){_93e[k]=i[k];}}},this);this._loadChildren();},setStore:function(_93f,_940,_941){_930.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_93f,_940,_941);},_deprecatedSetStore:function(_942,_943,_944){var _945=this.store;_944=_944||{};if(_945!==_942){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_942.get){lang.mixin(_942,{_oldAPI:true,get:function(id){var _946=new _92b();this.fetchItemByIdentity({identity:id,onItem:function(_947){_946.resolve(_947);},onError:function(_948){_946.reject(_948);}});return _946.promise;},query:function(_949,_94a){var _94b=new _92b(function(){if(_94c.abort){_94c.abort();}});_94b.total=new _92b();var _94c=this.fetch(lang.mixin({query:_949,onBegin:function(_94d){_94b.total.resolve(_94d);},onComplete:function(_94e){_94b.resolve(_94e);},onError:function(_94f){_94b.reject(_94f);}},_94a));return new _932(_94b);}});if(_942.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_92c.after(_942,"onNew",lang.hitch(this,"_onNewItem"),true),_92c.after(_942,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_92c.after(_942,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_942);}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(_944.query){this._set("query",_944.query);}if(_944.queryOptions){this._set("queryOptions",_944.queryOptions);}if(_942&&_942.query){this._loadingStore=true;this.onLoadDeferred=new _92b();this._queryRes=_942.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_950){if(this.sortByLabel&&!_944.sort&&_950.length){if(_942.getValue){_950.sort(_92d.createSortFunction([{attribute:_942.getLabelAttributes(_950[0])[0]}],_942));}else{var _951=this.labelAttr;_950.sort(function(a,b){return a[_951]>b[_951]?1:b[_951]>a[_951]?-1:0;});}}if(_944.onFetch){_950=_944.onFetch.call(this,_950,_944);}_92a.forEach(_950,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_952,_953,_954){if(_953==_954){this._onSetItem(_952);}else{if(_953!=-1){this._onDeleteItem(_952);}if(_954!=-1){this._onNewItem(_952);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_943);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_950);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _945;},_setValueAttr:function(_955,_956){if(!this._onChangeActive){_956=null;}if(this._loadingStore){this._pendingValue=_955;return;}if(_955==null){return;}if(lang.isArrayLike(_955)){_955=_92a.map(_955,function(_957){return lang.isObject(_957)?_957:{value:_957};});}else{if(lang.isObject(_955)){_955=[_955];}else{_955=[{value:_955}];}}_955=_92a.filter(this.getOptions(_955),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_955[0]||!_955[0].value)&&!!opts.length){_955[0]=opts[0];}_92a.forEach(opts,function(opt){opt.selected=_92a.some(_955,function(v){return v.value===opt.value;});});var val=_92a.map(_955,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_92a.map(_955,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_956]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_92a.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(_958){this.set("value",this.getOptions(typeof _958=="string"?{label:_958}:_958));},_loadChildren:function(){if(this._loadingStore){return;}_92a.forEach(this._getChildren(),function(_959){_959.destroyRecursive();});_92a.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;_92a.forEach(this._getChildren(),function(_95a){var _95b=_92a.some(val,function(v){return _95a.option&&(v===_95a.option.value);});if(_95b&&!self.multiple){self.focusedChild=_95a;}_92f.toggle(_95a.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_95b);_95a.domNode.setAttribute("aria-selected",_95b?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_92a.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 _92a.map(_92a.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_95c){if(!_95c||!_95c.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _95d=this.store;this.removeOption({value:_95d.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _95e=this.store,_95f=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_95e.getLabel(item),_960=(_95f?_95e.getIdentity(item):null);return {value:_960,label:_95f,item:item};},_addOptionForItem:function(item){var _961=this.store;if(_961.isItemLoaded&&!_961.isItemLoaded(item)){_961.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _962=this._getOptionObjForItem(item);this.addOption(_962);},constructor:function(_963){this._oValue=(_963||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_931("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_930._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);_92c.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _964=this.store;if(_964&&(_964.getIdentity||_964.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_964,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},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 _934;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(_965,keys,_966,_967){return _965("dijit.DropDownMenu",_967,{templateString:_966,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();}}});});},"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(_968,_969,dom,_96a,_96b,lang,_96c,on,_96d,_96e,_96f,_970,_971,_972,_973){return _969("dijit._MenuBase",[_970,_973,_972,_971],{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){_96b.toggle(this.domNode,"dijitMenuActive",val);_96b.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _974=_96f.byNode(node);return node.parentNode==this.containerNode&&_974&&_974.focus;},postCreate:function(){var self=this,_975=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_975,_96c.enter),function(){self.onItemHover(_96f.byNode(this));}),on(this.containerNode,on.selector(_975,_96c.leave),function(){self.onItemUnhover(_96f.byNode(this));}),on(this.containerNode,on.selector(_975,_96e),function(evt){self.onItemClick(_96f.byNode(this),evt);evt.stopPropagation();}),on(this.containerNode,on.selector(_975,"focusin"),function(){self._onItemFocus(_96f.byNode(this));}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_976,_977){this.inherited(arguments);if(!!item&&(_977==-1||(!!item.popup&&_977==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_978){if(!!item.shortcutKey){return _978==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 _979=this._getTopMenu();if(_979&&_979._isMenuBar){_979.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 _97a=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_97a);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_97b,_97c){if(_97b==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _97d=_97b.popup;_97d.parentMenu=this;this.own(this._mouseoverHandle=on.once(_97d.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_97b._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_97c){self.focusChild(_97b);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_97c);this.currentPopupItem=_97b;},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){_96a.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(_97e){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_97e){this.set("selected",null);}}});});},"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(_97f,_980,_981,_982,keys,lang,_983,_984,_985,_986){return _980("dijit._KeyNavContainer",[_985,_986,_984],{connectKeyNavHandlers:function(_987,_988){var _989=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_97f.forEach(_987,function(code){_989[code]=prev;});_97f.forEach(_988,function(code){_989[code]=next;});_989[keys.HOME]=lang.hitch(this,"focusFirstChild");_989[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_982.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_97f.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_98a,_98b){this.inherited(arguments);this._startupChild(_98a);},_startupChild:function(_98c){_98c.set("tabIndex","-1");},_getFirst:function(){var _98d=this.getChildren();return _98d.length?_98d[0]:null;},_getLast:function(){var _98e=this.getChildren();return _98e.length?_98e[_98e.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_983.byNode(node);return node&&node.getParent()==this;}});});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_98f,_990,_991,keys,lang,on,_992,_993){return _990("dijit._KeyNavMixin",_993,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_991.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _994=this._keyNavCodes={};_994[keys.HOME]=lang.hitch(this,"focusFirstChild");_994[keys.END]=lang.hitch(this,"focusLastChild");_994[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_994[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_994[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_994[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_995=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_995,"focusin"),function(evt){self._onChildFocus(_992.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(_996,last){if(!_996){return;}if(this.focusedChild&&_996!==this.focusedChild){this._onChildBlur(this.focusedChild);}_996.set("tabIndex",this.tabIndex);_996.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_991.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_991.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(_997){if(_997&&_997!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_997.set("tabIndex",this.tabIndex);this.lastFocused=_997;this._set("focusedChild",_997);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_998,_999){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_99a){var _99b=item.domNode,text=item.label||(_99b.focusNode?_99b.focusNode.label:"")||_99b.innerText||_99b.textContent||"",_99c=text.replace(/^\s+/,"").substr(0,_99a.length).toLowerCase();return (!!_99a.length&&_99c==_99a)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_99d){var _99e=null,_99f,_9a0=0,_9a1=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_99d;var _9a2=/^(.)\1*$/.test(this._searchString);var _9a3=_9a2?1:this._searchString.length;_99f=this._searchString.substr(0,_9a3);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _9a4=this.focusedChild||null;if(_9a3==1||!_9a4){_9a4=this._getNextFocusableChild(_9a4,1);if(!_9a4){return;}}var stop=_9a4;do{var rc=this._keyboardSearchCompare(_9a4,_99f);if(!!rc&&_9a0++==0){_99e=_9a4;}if(rc==-1){_9a0=-1;break;}_9a4=this._getNextFocusableChild(_9a4,1);}while(_9a4&&_9a4!=stop);});_9a1();this.onKeyboardSearch(_99e,evt,_99f,_9a0);},_onChildBlur:function(){},_getNextFocusableChild:function(_9a5,dir){var _9a6=_9a5;do{if(!_9a5){_9a5=this[dir>0?"_getFirst":"_getLast"]();if(!_9a5){break;}}else{_9a5=this._getNext(_9a5,dir);}if(_9a5!=null&&_9a5!=_9a6&&_9a5.isFocusable()){return _9a5;}}while(_9a5!=_9a6);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_9a7,dir){if(_9a7){_9a7=_9a7.domNode;while(_9a7){_9a7=_9a7[dir<0?"previousSibling":"nextSibling"];if(_9a7&&"getAttribute" in _9a7){var w=_992.byNode(_9a7);if(w){return w;}}}}return null;}});});},"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(_9a8,dom,_9a9,_9aa,_9ab,has,lang,_9ac,_9ad,_9ae,_9af,_9b0){var _9b1=_9a8("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_9ac,_9ad,_9ae,_9af],{templateString:_9b0,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _9b2="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_9b2=val.charAt(ndx+1);var _9b3=val.substr(0,ndx);var _9b4=val.substr(ndx+3);text=_9b3+_9b2+_9b4;val=_9b3+"<span class=\"dijitMenuItemShortcutKey\">"+_9b2+"</span>"+_9b4;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_9b2);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_9b5){if(_9b5&&!("label" in this.params)){this._set("label",_9b5.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _9b6=this.id+"_text";_9a9.set(this.containerNode,"id",_9b6);if(this.accelKeyNode){_9a9.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){}},_setSelected:function(_9b7){_9aa.toggle(this.domNode,"dijitMenuItemSelected",_9b7);},setLabel:function(_9b8){_9ab.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_9b8);},setDisabled:function(_9b9){_9ab.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_9b9);},_setDisabledAttr:function(_9ba){this.focusNode.setAttribute("aria-disabled",_9ba?"true":"false");this._set("disabled",_9ba);},_setAccelKeyAttr:function(_9bb){if(this.accelKeyNode){this.accelKeyNode.style.display=_9bb?"":"none";this.accelKeyNode.innerHTML=_9bb;_9a9.set(this.containerNode,"colSpan",_9bb?"1":"2");}this._set("accelKey",_9bb);}});if(has("dojo-bidi")){_9b1=_9a8("dijit.MenuItem",_9b1,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _9b1;});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_9bc,dom,_9bd,_9be,_9bf,_9c0){return _9bc("dijit.MenuSeparator",[_9bd,_9be,_9bf],{templateString:_9c0,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_9c1,_9c2,has,_9c3){return _9c1("dijit.form.SimpleTextarea",_9c3,{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){_9c2.add(this.textbox,"dijitTextAreaCols");}},filter:function(_9c4){if(_9c4){_9c4=_9c4.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _9c5=parseInt(this.maxLength);var _9c6=this.textbox.value.replace(/\r/g,"");var _9c7=_9c6.length-_9c5;if(_9c7>0){var _9c8=this.textbox;if(_9c8.selectionStart){var pos=_9c8.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_9c6.substring(0,pos-_9c7-cr)+_9c6.substring(pos-cr);_9c8.setSelectionRange(pos-_9c7,pos-_9c7);}else{if(this.ownerDocument.selection){_9c8.focus();var _9c9=this.ownerDocument.selection.createRange();_9c9.moveStart("character",-_9c7);_9c9.text="";_9c9.select();}}}}this.inherited(arguments);}});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/sniff","dojo/query","./_FormValueWidget","dojo/NodeList-dom"],function(_9ca,_9cb,_9cc,has,_9cd,_9ce){var _9cf=_9cb("dijit.form.MultiSelect"+(has("dojo-bidi")?"_NoBidi":""),_9ce,{size:7,baseClass:"dijitMultiSelect",templateString:"<select multiple='multiple' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_9d0){_9d0.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _9d1=_9d0.domNode.scrollTop;_9d0.domNode.scrollTop=0;_9d0.domNode.scrollTop=_9d1;},this);this._set("value",this.get("value"));},getSelected:function(){return _9cd("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _9ca.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setMultipleAttr:function(val){},_setValueAttr:function(_9d2){if(has("android")){_9cd("option",this.containerNode).orphan().forEach(function(n){var _9d3=n.ownerDocument.createElement("option");_9d3.value=n.value;_9d3.selected=(_9ca.indexOf(_9d2,n.value)!=-1);_9d3.text=n.text;_9d3.originalText=n.originalText;this.containerNode.appendChild(_9d3);},this);}else{_9cd("option",this.containerNode).forEach(function(n){n.selected=(_9ca.indexOf(_9d2,n.value)!=-1);});}this.inherited(arguments);},invertSelection:function(_9d4){var val=[];_9cd("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_9d4===false||_9d4==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_9cc.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});if(has("dojo-bidi")){_9cf=_9cb("dijit.form.MultiSelect",_9cf,{addSelected:function(_9d5){_9d5.getSelected().forEach(function(n){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);},this);this.inherited(arguments);},_setTextDirAttr:function(_9d6){if((this.textDir!=_9d6||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_9d6);_9cd("option",this.containerNode).forEach(function(_9d7){if(!this._created&&_9d7.value===_9d7.text){_9d7.value=_9d7.text;}_9d7.text=this.enforceTextDirWithUcc(_9d7,_9d7.originalText||_9d7.text);},this);}}});}return _9cf;});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_9d8,_9d9,_9da){return _9d8("dijit.form.ComboBox",[_9d9,_9da],{});});},"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(_9db,_9dc,_9dd,_9de,_9df,_9e0,_9e1,_9e2,i18n,_9e3,keys,lang,on,has,when,_9e4,fm,_9e5,_9e6,_9e7,_9e8,_9e9,_9ea,_9eb,_9ec){var _9ed=_9de("dijit._InlineEditor",[_9e5,_9e6,_9e7],{templateString:_9ec,contextRequire:_9db,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_9dc.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)||_9db(this.editor)):this.editor;var _9ee=this.sourceStyle,_9ef="line-height:"+_9ee.lineHeight+";",_9f0=_9e2.getComputedStyle(this.domNode);_9dc.forEach(["Weight","Family","Size","Style"],function(prop){var _9f1=_9ee["font"+prop],_9f2=_9f0["font"+prop];if(_9f2!=_9f1){_9ef+="font-"+prop+":"+_9ee["font"+prop]+";";}},this);_9dc.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_9ee[prop];},this);var _9f3=this.inlineEditBox.width;if(_9f3=="100%"){_9ef+="width:100%;";this.domNode.style.display="block";}else{_9ef+="width:"+(_9f3+(Number(_9f3)==_9f3?"px":""))+";";}var _9f4=lang.delegate(this.inlineEditBox.editorParams,{style:_9ef,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_9f4,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_9e1.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_9dd.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(_9dd.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(){_9ea.selectInputText(this.editWidget.focusNode);});}}}});var _9f5=_9de("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_9e5,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_9eb,editorWrapper:_9ed,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>    ✍    </span>":"<span style='text-decoration: underline;'>    ✍    </span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_9e4,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;}_9e0.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_9f6){_9e3.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_9f6);},_setDisabledAttr:function(_9f7){this.domNode.setAttribute("aria-disabled",_9f7?"true":"false");if(_9f7){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_9e0.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_9f7);this._set("disabled",_9f7);},_onMouseOver:function(){if(!this.disabled){_9e0.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_9e0.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=_9df.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _9f8=_9e1.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:_9e2.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_9f8);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_9e0.add(this.displayNode,"dijitOffScreen");_9e0.remove(ww.domNode,"dijitOffScreen");_9e2.set(ww.domNode,{visibility:"visible"});_9df.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(_9f9){var ww=this.wrapperWidget;_9e2.set(ww.domNode,{visibility:"hidden"});_9e0.add(ww.domNode,"dijitOffScreen");_9e0.remove(this.displayNode,"dijitOffScreen");_9df.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_9f9){fm.focus(this.displayNode);}},save:function(_9fa){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _9fb=ww.getValue();this.set("value",_9fb);this._showText(_9fa);},setValue:function(val){_9e3.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 _9fc=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/\n/g,"<br>");if(this.editorParams&&this.editorParams.type==="password"){this.displayNode.innerHTML="********";}else{this.displayNode.innerHTML=_9fc||this.noValueIndicator;}this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_9e3.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_9fd){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_9fd);}});if(has("dojo-bidi")){_9f5=_9de("dijit.InlineEditBox",_9f5,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_9f5._InlineEditor=_9ed;return _9f5;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_9fe,_9ff,_a00,lang,_a01){return _a00("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_a01.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(_a02){this._startupWidgets=_a02;for(var i=0;i<_a02.length;i++){this._processTemplateNode(_a02[i],function(n,p){return n[p];},function(_a03,type,_a04){if(type in _a03){return _a03.connect(_a03,type,_a04);}else{return _a03.on(type,_a04,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(_a05,_a06,_a07){if(_a06(_a05,"dojoType")||_a06(_a05,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_9fe.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_a08,dom,_a09,_a0a){return _a08("dijit.ToolbarSeparator",[_a09,_a0a],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_a0b,_a0c,lang,_a0d,pm,_a0e,_a0f){return _a0b("dijit.PopupMenuItem",_a0f,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _a10=_a0d("*",this.srcNodeRef);this.inherited(arguments,[_a10[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_a11,_a12){var _a13=this.popup;pm.open(lang.delegate(_a11,{popup:this.popup,around:this.domNode}));if(_a12&&_a13.focus){_a13.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_a0d("[widgetId]",this.dropDownContainer)[0];this.popup=_a0e.byNode(node);}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){_a0c.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_a14){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_a14);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_a15,_a16,_a17,_a18){return _a15("dijit.CheckedMenuItem",_a17,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_a18,checked:false,_setCheckedAttr:function(_a19){this.domNode.setAttribute("aria-checked",_a19?"true":"false");this._set("checked",_a19);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"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(_a1a,_a1b,_a1c,fx,dom,_a1d,_a1e,_a1f,_a20,keys,lang,has,_a21,_a22,_a23,_a24,_a25,_a26,_a27,_a28,_a29,_a2a,_a2b){function size(_a2c,dim){_a2c.resize?_a2c.resize(dim):_a20.setMarginBox(_a2c.domNode,dim);};var _a2d=_a1c("dijit.layout._AccordionButton",[_a25,_a27,_a28],{templateString:_a2b,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 _a2e=this.id.replace(" ","_");_a1d.set(this.titleTextNode,"id",_a2e+"_title");this.focusNode.setAttribute("aria-labelledby",_a1d.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _a20.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _a2f=this.getParent();_a2f.selectChild(this.contentWidget,true);_a22.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_a30){this._set("selected",_a30);this.focusNode.setAttribute("aria-expanded",_a30?"true":"false");this.focusNode.setAttribute("aria-selected",_a30?"true":"false");this.focusNode.setAttribute("tabIndex",_a30?"0":"-1");}});if(has("dojo-bidi")){_a2d.extend({_setLabelAttr:function(_a31){this._set("label",_a31);_a1d.set(this.titleTextNode,"innerHTML",_a31);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_a32){this._set("title",_a32);_a1d.set(this.titleTextNode,"title",_a32);this.applyTextDir(this.titleTextNode);}});}var _a33=_a1c("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_a25,_a28],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_a1f.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _a34=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_a34._buttonWidget=(new cls({contentWidget:_a34,label:_a34.title,title:_a34.tooltip,dir:_a34.dir,lang:_a34.lang,textDir:_a34.textDir||this.textDir,iconClass:_a34.iconClass,id:_a34.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_a1f.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_a1f.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _a35=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_a36,_a37){_a35.set("label",_a37);})),cw.watch("tooltip",lang.hitch(this,function(name,_a38,_a39){_a35.set("title",_a39);})),cw.watch("iconClass",lang.hitch(this,function(name,_a3a,_a3b){_a35.set("iconClass",_a3b);}))];},_setSelectedAttr:function(_a3c){this._set("selected",_a3c);this.button.set("selected",_a3c);if(_a3c){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_a1b.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_a3d){this.contentWidget.destroyRecursive(_a3d);}});if(has("dojo-bidi")){_a33=_a1c("dijit.layout._AccordionInnerContainer",_a33,{postCreate:function(){this.inherited(arguments);var _a3e=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_a3f,_a40){_a3e.set("textDir",_a40);}));}});}var _a41=_a1c("dijit.layout.AccordionContainer",_a29,{duration:_a23.defaultDuration,buttonWidget:_a2d,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 _a42=this.selectedChildWidget;if(!_a42){return;}var _a43=_a42._wrapperWidget.domNode,_a44=_a20.getMarginExtents(_a43),_a45=_a20.getPadBorderExtents(_a43),_a46=_a42._wrapperWidget.containerNode,_a47=_a20.getMarginExtents(_a46),_a48=_a20.getPadBorderExtents(_a46),_a49=this._contentBox;var _a4a=0;_a1b.forEach(this.getChildren(),function(_a4b){if(_a4b!=_a42){_a4a+=_a20.getMarginSize(_a4b._wrapperWidget.domNode).h;}});this._verticalSpace=_a49.h-_a4a-_a44.h-_a45.h-_a47.h-_a48.h-_a42._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_a44.w-_a45.w-_a47.w-_a48.w};if(_a42){size(_a42,this._containerContentBox);}},_setupChild:function(_a4c){_a4c._wrapperWidget=_a33({contentWidget:_a4c,buttonWidget:this.buttonWidget,id:_a4c.id+"_wrapper",dir:_a4c.dir,lang:_a4c.lang,textDir:_a4c.textDir||this.textDir,parent:this});this.inherited(arguments);_a1f.place(_a4c.domNode,_a4c._wrapper,"replace");},removeChild:function(_a4d){if(_a4d._wrapperWidget){_a1f.place(_a4d.domNode,_a4d._wrapperWidget.domNode,"after");_a4d._wrapperWidget.destroy();delete _a4d._wrapperWidget;}_a1e.remove(_a4d.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _a1b.map(this.inherited(arguments),function(_a4e){return _a4e.declaredClass=="dijit.layout._AccordionInnerContainer"?_a4e.contentWidget:_a4e;},this);},destroy:function(){if(this._animation){this._animation.stop();}_a1b.forEach(this.getChildren(),function(_a4f){if(_a4f._wrapperWidget){_a4f._wrapperWidget.destroy();}else{_a4f.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_a50){_a50._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_a51){_a51._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_a52,_a53,_a54){if(has("ie")<8){_a54=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_a52){_a52._wrapperWidget.set("selected",true);var d=this._showChild(_a52);if(this.doLayout){size(_a52,this._containerContentBox);}}if(_a53){_a53._wrapperWidget.set("selected",false);if(!_a54){this._hideChild(_a53);}}if(_a54){var _a55=_a52._wrapperWidget.containerNode,_a56=_a53._wrapperWidget.containerNode;var _a57=_a52._wrapperWidget.containerNode,_a58=_a20.getMarginExtents(_a57),_a59=_a20.getPadBorderExtents(_a57),_a5a=_a58.h+_a59.h;_a56.style.height=(self._verticalSpace-_a5a)+"px";this._animation=new fx.Animation({node:_a55,duration:this.duration,curve:[1,this._verticalSpace-_a5a-1],onAnimate:function(_a5b){_a5b=Math.floor(_a5b);_a55.style.height=_a5b+"px";_a56.style.height=(self._verticalSpace-_a5a-_a5b)+"px";},onEnd:function(){delete self._animation;_a55.style.height="auto";_a53._wrapperWidget.containerNode.style.display="none";_a56.style.height="auto";self._hideChild(_a53);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_a5c){if(this.disabled||e.altKey||!(_a5c||e.ctrlKey)){return;}var c=e.keyCode;if((_a5c&&(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((_a5c&&(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")){_a24(0,function(){var _a5d=["dijit/layout/AccordionPane"];_a1a(_a5d);});}_a41._InnerContainer=_a33;_a41._Button=_a2d;return _a41;});},"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"],function(_a5e,_a5f,_a60,_a61,_a62,has,lang,on,_a63,_a64,when,_a65,_a66,_a67){if(has("dijit-legacy-requires")){_a63(0,function(){var _a68=["dijit/layout/StackController"];require(_a68);});}var _a69=_a60("dijit.layout.StackContainer",_a67,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_a61.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 _a6a=this.getChildren();_a5e.forEach(_a6a,this._setupChild,this);if(this.persist){this.selectedChildWidget=_a65.byId(_a5f(this.id+"_selectedChild"));}else{_a5e.some(_a6a,function(_a6b){if(_a6b.selected){this.selectedChildWidget=_a6b;}return _a6b.selected;},this);}var _a6c=this.selectedChildWidget;if(!_a6c&&_a6a[0]){_a6c=this.selectedChildWidget=_a6a[0];_a6c.selected=true;}_a64.publish(this.id+"-startup",{children:_a6a,selected:_a6c,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _a6d=this.selectedChildWidget;if(_a6d){this._showChild(_a6d);}}this.inherited(arguments);},_setupChild:function(_a6e){var _a6f=_a6e.domNode,_a70=_a62.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_a6e.domNode,"replace"),_a71=_a6e["aria-label"]||_a6e.title||_a6e.label;if(_a71){_a70.setAttribute("aria-label",_a71);}_a62.place(_a6f,_a70);_a6e._wrapper=_a70;this.inherited(arguments);if(_a6f.style.display=="none"){_a6f.style.display="block";}_a6e.domNode.removeAttribute("title");},addChild:function(_a72,_a73){this.inherited(arguments);if(this._started){_a64.publish(this.id+"-addChild",_a72,_a73);this.layout();if(!this.selectedChildWidget){this.selectChild(_a72);}}},removeChild:function(page){var idx=_a5e.indexOf(this.getChildren(),page);this.inherited(arguments);_a62.destroy(page._wrapper);delete page._wrapper;if(this._started){_a64.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _a74=this.getChildren();if(_a74.length){this.selectChild(_a74[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_a75){var d;page=_a65.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_a75);this._set("selectedChildWidget",page);_a64.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_a5f(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_a76,_a77){if(_a77){this._hideChild(_a77);}var d=this._showChild(_a76);if(_a76.resize){if(this.doLayout){_a76.resize(this._containerContentBox||this._contentBox);}else{_a76.resize();}}return d;},_adjacent:function(_a78){var _a79=this.getChildren();var _a7a=_a5e.indexOf(_a79,this.selectedChildWidget);_a7a+=_a78?1:_a79.length-1;return _a79[_a7a%_a79.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_a64.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _a7b=this.selectedChildWidget;if(_a7b&&_a7b.resize){if(this.doLayout){_a7b.resize(this._containerContentBox||this._contentBox);}else{_a7b.resize();}}},_showChild:function(page){var _a7c=this.getChildren();page.isFirstChild=(page==_a7c[0]);page.isLastChild=(page==_a7c[_a7c.length-1]);page._set("selected",true);if(page._wrapper){_a61.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_a61.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _a7d=!page.onClose||page.onClose(this,page);if(_a7d){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_a7e){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_a5e.forEach(this.getChildren(),function(_a7f){if(!_a7e){this.removeChild(_a7f);}_a7f.destroyRecursive(_a7e);},this);this._descendantsBeingDestroyed=false;}});_a69.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_a66,_a69.ChildWidgetProperties);return _a69;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_a80){dojo.cookie=function(name,_a81,_a82){var c=document.cookie,ret;if(arguments.length==1){var _a83=c.match(new RegExp("(?:^|; )"+_a80.escapeString(name)+"=([^;]*)"));ret=_a83?decodeURIComponent(_a83[1]):undefined;}else{_a82=_a82||{};var exp=_a82.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_a82.expires=d;}if(exp&&exp.toUTCString){_a82.expires=exp.toUTCString();}_a81=encodeURIComponent(_a81);var _a84=name+"="+_a81,_a85;for(_a85 in _a82){_a84+="; "+_a85;var _a86=_a82[_a85];if(_a86!==true){_a84+="="+_a86;}}document.cookie=_a84;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_a87,_a88,_a89){return _a87("dijit.layout.AccordionPane",_a89,{constructor:function(){_a88.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"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(_a8a,_a8b,_a8c,_a8d,_a8e,_a8f,_a90,keys,lang,on,_a91,_a92,_a93,_a94,_a95,_a96){var _a97=_a8c("dijit.layout._Splitter",[_a93,_a94],{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);_a8d.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _a98=this._getPersistentSplit();if(_a98){this.child.domNode.style[this.horizontal?"height":"width"]=_a98;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_a99=_a8f.getMarginBox(this.child.domNode)[dim],_a9a=_a8a.filter(this.container.getChildren(),function(_a9b){return _a9b.region=="center";})[0];var _a9c=_a8f.getContentBox(_a9a.domNode)[dim]-10;return Math.min(this.child.maxSize,_a99+_a9c);},_startDrag:function(e){if(!this.cover){this.cover=_a8e.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_a8d.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_a8e.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_a8d.add(this.domNode,"dijitSplitterShadow");_a8e.place(this.fake,this.domNode,"after");}_a8d.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_a8d.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _a9d=this._factor,_a9e=this.horizontal,axis=_a9e?"pageY":"pageX",_a9f=e[axis],_aa0=this.domNode.style,dim=_a9e?"h":"w",_aa1=_a90.getComputedStyle(this.child.domNode),_aa2=_a8f.getMarginBox(this.child.domNode,_aa1)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_a8f.getPadBorderExtents(this.child.domNode,_aa1)[dim]+10),_aa3=this.region,_aa4=_aa3=="top"||_aa3=="bottom"?"top":"left",_aa5=parseInt(_aa0[_aa4],10),_aa6=this._resize,_aa7=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_a91.move,this._drag=function(e,_aa8){var _aa9=e[axis]-_a9f,_aaa=_a9d*_aa9+_aa2,_aab=Math.max(Math.min(_aaa,max),min);if(_aa6||_aa8){_aa7(_aab);}_aa0[_aa4]=_aa9+_aa5+_a9d*(_aab-_aaa)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_a91.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_a8d.toggle(this.domNode,"dijitSplitterHover",o);_a8d.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_getPersistentSplit:function(){return _a8b(this._cookieName);},_setPersistentSplit:function(_aac){_a8b(this._cookieName,_aac,{expires:365});},_stopDrag:function(e){try{if(this.cover){_a8d.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_a8e.destroy(this.fake);}_a8d.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){this._setPersistentSplit(this.child.domNode.style[this.horizontal?"height":"width"]);}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _aad=this.horizontal;var tick=1;switch(e.keyCode){case _aad?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _aad?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _aae=_a8f.getMarginSize(this.child.domNode)[_aad?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_aae,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 _aaf=_a8c("dijit.layout._Gutter",[_a93,_a94],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_a8d.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _ab0=_a8c("dijit.layout.BorderContainer",_a95,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_a97,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_ab1){this.inherited(arguments);var _ab2=_ab1.region,ltr=_ab1.isLeftToRight();if(_ab2=="leading"){_ab2=ltr?"left":"right";}if(_ab2=="trailing"){_ab2=ltr?"right":"left";}if(_ab2){if(_ab2!="center"&&(_ab1.splitter||this.gutters)&&!_ab1._splitterWidget){var _ab3=_ab1.splitter?this._splitterClass:_aaf;if(lang.isString(_ab3)){_ab3=lang.getObject(_ab3);}var _ab4=new _ab3({id:_ab1.id+"_splitter",container:this,child:_ab1,region:_ab2,live:this.liveSplitters});_ab4.isSplitter=true;_ab1._splitterWidget=_ab4;var _ab5=_ab2=="bottom"||_ab2==(this.isLeftToRight()?"right":"left");_a8e.place(_ab4.domNode,_ab1.domNode,_ab5?"before":"after");_ab4.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_ab6){var _ab7=_ab6._splitterWidget;if(_ab7){_ab7.destroy();delete _ab6._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _a8a.filter(this.inherited(arguments),function(_ab8){return !_ab8.isSplitter;});},getSplitter:function(_ab9){return _a8a.filter(this.getChildren(),function(_aba){return _aba.region==_ab9;})[0]._splitterWidget;},resize:function(_abb,_abc){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_a90.getComputedStyle(node);this.pe=_a8f.getPadExtents(node,this.cs);this.pe.r=_a90.toPixelValue(node,this.cs.paddingRight);this.pe.b=_a90.toPixelValue(node,this.cs.paddingBottom);_a90.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_abd,_abe){if(!this._borderBox||!this._borderBox.h){return;}var _abf=[];_a8a.forEach(this._getOrderedChildren(),function(pane){_abf.push(pane);if(pane._splitterWidget){_abf.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};_a96.layoutChildren(this.domNode,dim,_abf,_abd,_abe);},destroyRecursive:function(){_a8a.forEach(this.getChildren(),function(_ac0){var _ac1=_ac0._splitterWidget;if(_ac1){_ac1.destroy();}delete _ac0._splitterWidget;});this.inherited(arguments);}});_ab0.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_ab0.ChildWidgetProperties,_a95.ChildWidgetProperties);lang.extend(_a92,_ab0.ChildWidgetProperties);_ab0._Splitter=_a97;_ab0._Gutter=_aaf;return _ab0;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_ac2,_ac3,_ac4,_ac5,lang,_ac6,_ac7,_ac8){var _ac9=_ac3("dijit.layout.LayoutContainer",_ac7,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_ac2.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_aca){this.inherited(arguments);var _acb=_aca.region;if(_acb){_ac4.add(_aca.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _acc=_ac2.map(this.getChildren(),function(_acd,idx){return {pane:_acd,weight:[_acd.region=="center"?Infinity:0,_acd.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_acd.region)?1:-1),idx]};},this);_acc.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 _ac2.map(_acc,function(w){return w.pane;});},layout:function(){_ac8.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_ace,_acf){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_ad0){this.inherited(arguments);if(this._started){this.layout();}_ac4.remove(_ad0.domNode,this.baseClass+"Pane");_ac5.set(_ad0.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_ac5.set(_ad0.domNode,/top|bottom/.test(_ad0.region)?"width":"height","auto");}});_ac9.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_ac6,_ac9.ChildWidgetProperties);return _ac9;});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_ad1,_ad2,_ad3,_ad4){return _ad1("dijit.layout.TabContainer",_ad2,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_ad5){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_ad3=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _ad3({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},_ad5);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_ad4:_ad3;}}});});},"dijit/layout/_TabContainerBase":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","./StackContainer","./utils","../_TemplatedMixin","dojo/text!./templates/TabContainer.html"],function(_ad6,_ad7,_ad8,_ad9,_ada,_adb,_adc,_add){return _ad6("dijit.layout._TabContainerBase",[_ada,_adc],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_add,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_ad9.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_ad7.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_ad7.add(this.domNode,"dijitTabContainerNested");_ad7.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_ad7.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_ad7.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_ad7.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_ad7.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},removeChild:function(_ade){_ad7.remove(_ade.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 _adf=this.tabPosition.replace(/-h/,"");this.tablist.region=_adf;var _ae0=[this.tablist,{domNode:this.tablistSpacer,region:_adf},{domNode:this.containerNode,region:"center"}];_adb.layoutChildren(this.domNode,this._contentBox,_ae0);this._containerContentBox=_adb.marginBox2contentBox(this.containerNode,_ae0[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _ae1=_ad8.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_ae1});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_ae2){if(this.tablist){this.tablist.destroy(_ae2);}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(_ae3,dom,_ae4,_ae5,has,i18n,lang,_ae6,_ae7,Menu,_ae8,_ae9){var _aea=_ae3("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_ae6.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_ae9,_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(disp){this._set("closeButton",disp);_ae5.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _aeb=i18n.getLocalization("dijit","common");if(this.closeNode){_ae4.set(this.closeNode,"title",_aeb.itemClose);}}},_setDisabledAttr:function(_aec){this.inherited(arguments);if(this.closeNode){if(_aec){_ae4.remove(this.closeNode,"title");}else{var _aed=i18n.getLocalization("dijit","common");_ae4.set(this.closeNode,"title",_aed.itemClose);}}},_setLabelAttr:function(_aee){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_aea=_ae3("dijit.layout._TabButton",_aea,{_setLabelAttr:function(_aef){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _af0=_ae3("dijit.layout.TabController",_ae6,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_aea,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _af1=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _ae5.contains(node,"dijitClosable")&&!_ae5.contains(node,"dijitTabDisabled");}});this.own(_af1);var _af2=i18n.getLocalization("dijit","common"),_af3=this;_af1.addChild(new _ae8({label:_af2.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _af4=_ae7.byNode(this.getParent().currentTarget);_af3.onCloseButtonClick(_af4.page);}}));}});_af0.TabButton=_aea;return _af0;});},"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"],function(_af5,_af6,_af7,_af8,keys,lang,on,_af9,_afa,_afb,_afc,_afd,_afe,_aff){var _b00=_af6("dijit.layout._StackButton",_aff,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _b01=_af6("dijit.layout.StackController",[_afc,_afd,_afe],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_b00,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _afb.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_af9.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_af9.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_af9.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_af9.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_af9.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _b02=_afb.getEnclosingWidget(evt.target);if(_b02!=this.containerNode&&!_b02.disabled&&_b02.page){for(var _b03=evt.target;_b03!==this.containerNode;_b03=_b03.parentNode){if(_af7.contains(_b03,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_b02.page);break;}else{if(_b03==_b02.domNode){this.onButtonClick(_b02.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_af5.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _b04=_afb.byId(this.containerId).containerNode,_b05=lang.hitch(this,"pane2button"),_b06={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_b07=function(attr,_b08){return on(_b04,"attrmodified-"+attr,function(evt){var _b09=_b05(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_b09){_b09.set(_b08,evt.detail.newValue);}});};for(var attr in _b06){this.own(_b07(attr,_b06[attr]));}},destroy:function(_b0a){this.destroyDescendants(_b0a);this.inherited(arguments);},onAddChild:function(page,_b0b){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _b0c=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(_b0c,_b0b);page.controlButton=_b0c;if(!this._currentChild){this.onSelectChild(page);}var _b0d=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_b0c.id:_b0c.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_b0d);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _b0e=this.pane2button(page.id);if(_b0e){this.removeChild(_b0e);_b0e.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _b0f=this.pane2button(this._currentChild.id);_b0f.set("checked",false);_b0f.focusNode.setAttribute("tabIndex","-1");}var _b10=this.pane2button(page.id);_b10.set("checked",true);this._currentChild=page;_b10.focusNode.setAttribute("tabIndex","0");var _b11=_afb.byId(this.containerId);},onButtonClick:function(page){var _b12=this.pane2button(page.id);_afa.focus(_b12.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_b12.set("checked",true);}var _b13=_afb.byId(this.containerId);_b13.selectChild(page);},onCloseButtonClick:function(page){var _b14=_afb.byId(this.containerId);_b14.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_afa.focus(b.focusNode||b.domNode);}}},adjacent:function(_b15){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_b15=!_b15;}var _b16=this.getChildren();var idx=_af5.indexOf(_b16,this.pane2button(this._currentChild.id)),_b17=_b16[idx];var _b18;do{idx=(idx+(_b15?1:_b16.length-1))%_b16.length;_b18=_b16[idx];}while(_b18.disabled&&_b18!=_b17);return _b18;},onkeydown:function(e,_b19){if(this.disabled||e.altKey){return;}var _b1a=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_b1a=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_b1a=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_b1a=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_b1a=true;}break;case keys.HOME:var _b1b=this.getChildren();for(var idx=0;idx<_b1b.length;idx++){var _b1c=_b1b[idx];if(!_b1c.disabled){this.onButtonClick(_b1c.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _b1b=this.getChildren();for(var idx=_b1b.length-1;idx>=0;idx--){var _b1c=_b1b[idx];if(!_b1c.disabled){this.onButtonClick(_b1c.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(_b1a!==null){this.onButtonClick(this.adjacent(_b1a).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_b01.StackButton=_b00;return _b01;});},"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(_b1d,_b1e,_b1f,dom,_b20,_b21,_b22,keys,lang,on,has,win,_b23,pm,_b24,_b25){if(has("dijit-legacy-requires")){_b25(0,function(){var _b26=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_b1d(_b26);});}return _b1f("dijit.Menu",_b24,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_b1e.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_b27){return _b23.get(this._iframeContentDocument(_b27))||this._iframeContentDocument(_b27)["__parent__"]||(_b27.name&&document.frames[_b27.name])||null;},_iframeContentDocument:function(_b28){return _b28.contentDocument||(_b28.contentWindow&&_b28.contentWindow.document)||(_b28.name&&document.frames[_b28.name]&&document.frames[_b28.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _b29=node,_b2a=this._iframeContentWindow(_b29);cn=win.body(_b2a.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _b2b={node:node,iframe:_b29};_b20.set(node,"_dijitMenu"+this.id,this._bindings.push(_b2b));var _b2c=lang.hitch(this,function(cn){var _b2d=this.selector,_b2e=_b2d?function(_b2f){return on.selector(_b2d,_b2f);}:function(_b30){return _b30;},self=this;return [on(cn,_b2e(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<self._lastKeyDown+500){return;}self._scheduleOpen(this,_b29,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_b2e("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==keys.F10)||(self.leftClickToOpen&&evt.keyCode==keys.SPACE)){evt.stopPropagation();evt.preventDefault();self._scheduleOpen(this,_b29,null,evt.target);self._lastKeyDown=(new Date()).getTime();}})];});_b2b.connects=cn?_b2c(cn):[];if(_b29){_b2b.onloadHandler=lang.hitch(this,function(){var _b31=this._iframeContentWindow(_b29),cn=win.body(_b31.document);_b2b.connects=_b2c(cn);});if(_b29.addEventListener){_b29.addEventListener("load",_b2b.onloadHandler,false);}else{_b29.attachEvent("onload",_b2b.onloadHandler);}}},unBindDomNode:function(_b32){var node;try{node=dom.byId(_b32,this.ownerDocument);}catch(e){return;}var _b33="_dijitMenu"+this.id;if(node&&_b20.has(node,_b33)){var bid=_b20.get(node,_b33)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _b34=b.iframe;if(_b34){if(_b34.removeEventListener){_b34.removeEventListener("load",b.onloadHandler,false);}else{_b34.detachEvent("onload",b.onloadHandler);}}_b20.remove(node,_b33);delete this._bindings[bid];}},_scheduleOpen:function(_b35,_b36,_b37,_b38){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_b38,delegatedTarget:_b35,iframe:_b36,coords:_b37});},1);}},_openMyself:function(args){var _b39=args.target,_b3a=args.iframe,_b3b=args.coords,_b3c=!_b3b;this.currentTarget=args.delegatedTarget;if(_b3b){if(_b3a){var ifc=_b21.position(_b3a,true),_b3d=this._iframeContentWindow(_b3a),_b3e=_b21.docScroll(_b3d.document);var cs=_b22.getComputedStyle(_b3a),tp=_b22.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_b3a,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_b3a,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_b3a,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_b3a,cs.borderTopWidth):0);_b3b.x+=ifc.x+left-_b3e.x;_b3b.y+=ifc.y+top-_b3e.y;}}else{_b3b=_b21.position(_b39,true);_b3b.x+=10;_b3b.y+=10;}var self=this;var _b3f=this._focusManager.get("prevNode");var _b40=this._focusManager.get("curNode");var _b41=!_b40||(dom.isDescendant(_b40,this.domNode))?_b3f:_b40;function _b42(){if(self.refocus&&_b41){_b41.focus();}pm.close(self);};pm.open({popup:this,x:_b3b.x,y:_b3b.y,onExecute:_b42,onCancel:_b42,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_b3c){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_b1e.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"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(_b43,_b44,_b45,_b46,_b47,fx,lang,on,_b48,has,_b49,_b4a,_b4b,_b4c,_b4d,_b4e,Menu,_b4f,_b50,_b51){var _b52=_b44("dijit.layout.ScrollingTabController",[_b4c,_b4e],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_b4a,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";_b45.add(n,"tabStrip-disabled");}_b45.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_b47.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",lang.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(page,_b53){this.inherited(arguments);_b47.set(this.containerNode,"width",(_b47.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_b54){var _b55=this.pane2button(page.id);if(this._selectedTab===_b55.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_b48("> .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+=_b46.getMarginSize(btn).w;return true;}else{_b47.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _b56=this.getChildren();if(_b56.length){var _b57=_b56[this.isLeftToRight()?0:_b56.length-1].domNode,_b58=_b56[this.isLeftToRight()?_b56.length-1:0].domNode;return _b58.offsetLeft+_b58.offsetWidth-_b57.offsetLeft;}else{return 0;}},_enableBtn:function(_b59){var _b5a=this._getTabsWidth();_b59=_b59||_b47.get(this.scrollNode,"width");return _b5a>0&&_b59<_b5a;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_b4d.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_b46.setContentSize(this.domNode,cb);var _b5b=this._enableBtn(this._contentBox.w);this._buttons.style("display",_b5b?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_b4d.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("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_b47.get(this.containerNode,"width")-_b47.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _b5c=_b47.get(this.containerNode,"width")-_b47.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_b5c);}},onSelectChild:function(page,_b5d){var tab=this.pane2button(page.id);if(!tab){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_b47.get(this.scrollNode,"width")<node.offsetLeft+_b47.get(node,"width")){var anim=this.createSmoothScroll();if(_b5d){anim.onEnd=function(){tab.focus();};}anim.play();}else{if(_b5d){tab.focus();}}}}this.inherited(arguments);},_getScrollBounds:function(){var _b5e=this.getChildren(),_b5f=_b47.get(this.scrollNode,"width"),_b60=_b47.get(this.containerNode,"width"),_b61=_b60-_b5f,_b62=this._getTabsWidth();if(_b5e.length&&_b62>_b5f){return {min:this.isLeftToRight()?0:_b5e[_b5e.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_b5e[_b5e.length-1].domNode.offsetLeft+_b5e[_b5e.length-1].domNode.offsetWidth)-_b5f:_b61};}else{var _b63=this.isLeftToRight()?0:_b61;return {min:_b63,max:_b63};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_b64=_b47.get(this.scrollNode,"width"),_b65=this._getScrollBounds();var pos=(n.offsetLeft+_b47.get(n,"width")/2)-_b64/2;pos=Math.min(Math.max(pos,_b65.min),_b65.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _b66=this._getScrollBounds();x=Math.min(Math.max(x,_b66.min),_b66.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new fx._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!_b45.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(_b67,node){if(node&&_b45.contains(node,"dijitTabDisabled")){return;}var _b68=_b47.get(this.scrollNode,"width");var d=(_b68*0.75)*_b67;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_b69){var _b6a=this._getScrollBounds();this._leftBtn.set("disabled",_b69<=_b6a.min);this._rightBtn.set("disabled",_b69>=_b6a.max);}});var _b6b=_b44("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_b4b,tabIndex:"",isFocusable:function(){return false;}});_b44("dijit.layout._ScrollingTabControllerButton",[_b50,_b6b]);_b44("dijit.layout._ScrollingTabControllerMenuButton",[_b50,_b51,_b6b],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_b6c){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _b6d=_b49.byId(this.containerId);_b43.forEach(_b6d.getChildren(),function(page){var _b6e=new _b4f({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||_b6d.textDir,onClick:function(){_b6d.selectChild(page);}});this.dropDown.addChild(_b6e);},this);_b6c();},closeDropDown:function(_b6f){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _b52;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_b70,_b71,_b72,lang,_b73,_b74,_b75,_b76){return _b71("dijit.ProgressBar",[_b74,_b75],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_b76,_indeterminateHighContrastImagePath:_b70.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){var rtl=val.toLowerCase()=="rtl";_b72.toggle(this.domNode,"dijitProgressBarRtl",rtl);_b72.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_b77){lang.mixin(this,_b77||{});var tip=this.internalProgress,ap=this.domNode;var _b78=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_b78=Math.min(parseFloat(this.progress)/100,1);this.progress=_b78*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_b78=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(_b78);_b72.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_b72.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_b78*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(_b79){this._set("label",_b79);this.update();},_setIndeterminateAttr:function(_b7a){this._set("indeterminate",_b7a);this.update();},report:function(_b7b){return this.label?this.label:(this.indeterminate?" ":_b73.format(_b7b,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_b7c,_b7d,_b7e){var _b7f={};lang.setObject("dojo.number",_b7f);_b7f.format=function(_b80,_b81){_b81=lang.mixin({},_b81||{});var _b82=i18n.normalizeLocale(_b81.locale),_b83=i18n.getLocalization("dojo.cldr","number",_b82);_b81.customs=_b83;var _b84=_b81.pattern||_b83[(_b81.type||"decimal")+"Format"];if(isNaN(_b80)||Math.abs(_b80)==Infinity){return null;}return _b7f._applyPattern(_b80,_b84,_b81);};_b7f._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_b7f._applyPattern=function(_b85,_b86,_b87){_b87=_b87||{};var _b88=_b87.customs.group,_b89=_b87.customs.decimal,_b8a=_b86.split(";"),_b8b=_b8a[0];_b86=_b8a[(_b85<0)?1:0]||("-"+_b8b);if(_b86.indexOf("%")!=-1){_b85*=100;}else{if(_b86.indexOf("‰")!=-1){_b85*=1000;}else{if(_b86.indexOf("¤")!=-1){_b88=_b87.customs.currencyGroup||_b88;_b89=_b87.customs.currencyDecimal||_b89;_b86=_b86.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/,function(_b8c,_b8d,_b8e,_b8f){var prop=["symbol","currency","displayName"][_b8e.length-1],_b90=_b87[prop]||_b87.currency||"";if(!_b90){return "";}return _b8d+_b90+_b8f;});}else{if(_b86.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _b91=_b7f._numberPatternRE;var _b92=_b8b.match(_b91);if(!_b92){throw new Error("unable to find a number expression in pattern: "+_b86);}if(_b87.fractional===false){_b87.places=0;}return _b86.replace(_b91,_b7f._formatAbsolute(_b85,_b92[0],{decimal:_b89,group:_b88,places:_b87.places,round:_b87.round}));};_b7f.round=function(_b93,_b94,_b95){var _b96=10/(_b95||10);return (_b96*+_b93).toFixed(_b94)/_b96;};if((0.9).toFixed()==0){var _b97=_b7f.round;_b7f.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 _b97(v,p,m)+(v>0?d:-d);};}_b7f._formatAbsolute=function(_b98,_b99,_b9a){_b9a=_b9a||{};if(_b9a.places===true){_b9a.places=0;}if(_b9a.places===Infinity){_b9a.places=6;}var _b9b=_b99.split("."),_b9c=typeof _b9a.places=="string"&&_b9a.places.indexOf(","),_b9d=_b9a.places;if(_b9c){_b9d=_b9a.places.substring(_b9c+1);}else{if(!(_b9d>=0)){_b9d=(_b9b[1]||[]).length;}}if(!(_b9a.round<0)){_b98=_b7f.round(_b98,_b9d,_b9a.round);}var _b9e=String(Math.abs(_b98)).split("."),_b9f=_b9e[1]||"";if(_b9b[1]||_b9a.places){if(_b9c){_b9a.places=_b9a.places.substring(0,_b9c);}var pad=_b9a.places!==undefined?_b9a.places:(_b9b[1]&&_b9b[1].lastIndexOf("0")+1);if(pad>_b9f.length){_b9e[1]=_b7d.pad(_b9f,pad,"0",true);}if(_b9d<_b9f.length){_b9e[1]=_b9f.substr(0,_b9d);}}else{if(_b9e[1]){_b9e.pop();}}var _ba0=_b9b[0].replace(",","");pad=_ba0.indexOf("0");if(pad!=-1){pad=_ba0.length-pad;if(pad>_b9e[0].length){_b9e[0]=_b7d.pad(_b9e[0],pad);}if(_ba0.indexOf("#")==-1){_b9e[0]=_b9e[0].substr(_b9e[0].length-pad);}}var _ba1=_b9b[0].lastIndexOf(","),_ba2,_ba3;if(_ba1!=-1){_ba2=_b9b[0].length-_ba1-1;var _ba4=_b9b[0].substr(0,_ba1);_ba1=_ba4.lastIndexOf(",");if(_ba1!=-1){_ba3=_ba4.length-_ba1-1;}}var _ba5=[];for(var _ba6=_b9e[0];_ba6;){var off=_ba6.length-_ba2;_ba5.push((off>0)?_ba6.substr(off):_ba6);_ba6=(off>0)?_ba6.slice(0,off):"";if(_ba3){_ba2=_ba3;_ba3=undefined;}}_b9e[0]=_ba5.reverse().join(_b9a.group||",");return _b9e.join(_b9a.decimal||".");};_b7f.regexp=function(_ba7){return _b7f._parseInfo(_ba7).regexp;};_b7f._parseInfo=function(_ba8){_ba8=_ba8||{};var _ba9=i18n.normalizeLocale(_ba8.locale),_baa=i18n.getLocalization("dojo.cldr","number",_ba9),_bab=_ba8.pattern||_baa[(_ba8.type||"decimal")+"Format"],_bac=_baa.group,_bad=_baa.decimal,_bae=1;if(_bab.indexOf("%")!=-1){_bae/=100;}else{if(_bab.indexOf("‰")!=-1){_bae/=1000;}else{var _baf=_bab.indexOf("¤")!=-1;if(_baf){_bac=_baa.currencyGroup||_bac;_bad=_baa.currencyDecimal||_bad;}}}var _bb0=_bab.split(";");if(_bb0.length==1){_bb0.push("-"+_bb0[0]);}var re=_b7e.buildGroupRE(_bb0,function(_bb1){_bb1="(?:"+_b7e.escapeString(_bb1,".")+")";return _bb1.replace(_b7f._numberPatternRE,function(_bb2){var _bb3={signed:false,separator:_ba8.strict?_bac:[_bac,""],fractional:_ba8.fractional,decimal:_bad,exponent:false},_bb4=_bb2.split("."),_bb5=_ba8.places;if(_bb4.length==1&&_bae!=1){_bb4[1]="###";}if(_bb4.length==1||_bb5===0){_bb3.fractional=false;}else{if(_bb5===undefined){_bb5=_ba8.pattern?_bb4[1].lastIndexOf("0")+1:Infinity;}if(_bb5&&_ba8.fractional==undefined){_bb3.fractional=true;}if(!_ba8.places&&(_bb5<_bb4[1].length)){_bb5+=","+_bb4[1].length;}_bb3.places=_bb5;}var _bb6=_bb4[0].split(",");if(_bb6.length>1){_bb3.groupSize=_bb6.pop().length;if(_bb6.length>1){_bb3.groupSize2=_bb6.pop().length;}}return "("+_b7f._realNumberRegexp(_bb3)+")";});},true);if(_baf){re=re.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/g,function(_bb7,_bb8,_bb9,_bba){var prop=["symbol","currency","displayName"][_bb9.length-1],_bbb=_b7e.escapeString(_ba8[prop]||_ba8.currency||"");if(!_bbb){return "";}_bb8=_bb8?"[\\s\\xa0\\u202f]":"";_bba=_bba?"[\\s\\xa0\\u202f]":"";if(!_ba8.strict){if(_bb8){_bb8+="*";}if(_bba){_bba+="*";}return "(?:"+_bb8+_bbb+_bba+")?";}return _bb8+_bbb+_bba;});}return {regexp:re.replace(/[\xa0\u202f ]/g,"[\\s\\xa0\\u202f]"),group:_bac,decimal:_bad,factor:_bae};};_b7f.parse=function(_bbc,_bbd){var info=_b7f._parseInfo(_bbd),_bbe=(new RegExp("^"+info.regexp+"$")).exec(_bbc);if(!_bbe){return NaN;}var _bbf=_bbe[1];if(!_bbe[1]){if(!_bbe[2]){return NaN;}_bbf=_bbe[2];info.factor*=-1;}_bbf=_bbf.replace(new RegExp("["+info.group+"\\s\\xa0\\u202f"+"]","g"),"").replace(info.decimal,".");return _bbf*info.factor;};_b7f._realNumberRegexp=function(_bc0){_bc0=_bc0||{};if(!("places" in _bc0)){_bc0.places=Infinity;}if(typeof _bc0.decimal!="string"){_bc0.decimal=".";}if(!("fractional" in _bc0)||/^0/.test(_bc0.places)){_bc0.fractional=[true,false];}if(!("exponent" in _bc0)){_bc0.exponent=[true,false];}if(!("eSigned" in _bc0)){_bc0.eSigned=[true,false];}var _bc1=_b7f._integerRegexp(_bc0),_bc2=_b7e.buildGroupRE(_bc0.fractional,function(q){var re="";if(q&&(_bc0.places!==0)){re="\\"+_bc0.decimal;if(_bc0.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_bc0.places+"}";}}return re;},true);var _bc3=_b7e.buildGroupRE(_bc0.exponent,function(q){if(q){return "([eE]"+_b7f._integerRegexp({signed:_bc0.eSigned})+")";}return "";});var _bc4=_bc1+_bc2;if(_bc2){_bc4="(?:(?:"+_bc4+")|(?:"+_bc2+"))";}return _bc4+_bc3;};_b7f._integerRegexp=function(_bc5){_bc5=_bc5||{};if(!("signed" in _bc5)){_bc5.signed=[true,false];}if(!("separator" in _bc5)){_bc5.separator="";}else{if(!("groupSize" in _bc5)){_bc5.groupSize=3;}}var _bc6=_b7e.buildGroupRE(_bc5.signed,function(q){return q?"[-+]":"";},true);var _bc7=_b7e.buildGroupRE(_bc5.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_b7e.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}else{if(sep==" "){sep="\\s\\u202f";}}}var grp=_bc5.groupSize,grp2=_bc5.groupSize2;if(grp2){var _bc8="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_bc8+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_bc8;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _bc6+_bc7;};return _b7f;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_bc9,_bca,has,keys,_bcb,_bcc,_bcd,_bce){if(has("dijit-legacy-requires")){_bcb(0,function(){var _bcf=["dijit/ToolbarSeparator"];_bc9(_bcf);});}return _bca("dijit.Toolbar",[_bcc,_bce,_bcd],{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/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(_bd0,_bd1,has,keys,lang,on,_bd2,_bd3,_bd4,_bd5,_bd6,_bd7,_bd8){var _bd9=_bd0("dijit.TooltipDialog",[_bd3,_bd6,_bd5,_bd4],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_bd7,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_bda,_bdb){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"}[_bda+"-"+_bdb];_bd1.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_bd2.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _bdc=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_bdc.y+((_bdc.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=_bdc.x+((_bdc.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();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_bd2.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_bd2.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_bd9.extend({_setTitleAttr:function(_bdd){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_bdd):_bdd;this._set("title",_bdd);},_setTextDirAttr:function(_bde){if(!this._created||this.textDir!=_bde){this._set("textDir",_bde);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _bd9;});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/aspect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/promise/all","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/errors/create","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./a11yclick","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","./_KeyNavMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector","dojo/query!css2"],function(_bdf,_be0,_be1,_be2,_be3,all,dom,_be4,_be5,_be6,_be7,_be8,has,_be9,keys,lang,on,_bea,_beb,when,_bec,_bed,_bee,_bef,_bf0,_bf1,_bf2,_bf3,_bf4,_bf5,_bf6,_bf7,_bf8,_bf9,_bfa){function _bfb(d){return lang.delegate(d.promise||d,{addCallback:function(_bfc){this.then(_bfc);},addErrback:function(_bfd){this.otherwise(_bfd);}});};var _bfe=_be2("dijit._TreeNode",[_bf0,_bf1,_bf2,_bf3,_bf4],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);if(has("dojo-bidi")){this.applyTextDir(this.labelNode);}},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_bf6,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_bff){var _c00=(Math.max(_bff,0)*this.tree._nodePixelIndent)+"px";_be6.set(this.domNode,"backgroundPosition",_c00+" 0px");_be6.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_c00);_bdf.forEach(this.getChildren(),function(_c01){_c01.set("indent",_bff+1);});this._set("indent",_bff);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_c02=tree.model;if(tree._v10Compat&&item===_c02.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_c03,_c04){var _c05="_"+_c03+"Class";var _c06=_c03+"Node";var _c07=this[_c05];this[_c05]=this.tree["get"+_c04+"Class"](item,this.isExpanded);_be4.replace(this[_c06],this[_c05]||"",_c07||"");_be6.set(this[_c06],this.tree["get"+_c04+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _c08=this.getParent(),_c09=!_c08||!_c08.rowNode||_c08.rowNode.style.display=="none";_be4.toggle(this.domNode,"dijitTreeIsRoot",_c09);_be4.toggle(this.domNode,"dijitTreeIsLast",!_c09&&!this.getNextSibling());},_setExpando:function(_c0a){var _c0b=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_c0c=["*","-","+","*"],idx=_c0a?0:(this.isExpandable?(this.isExpanded?1:2):3);_be4.replace(this.expandoNode,_c0b[idx],_c0b);this.expandoNodeText.innerHTML=_c0c[idx];},expand:function(){if(this._expandDeferred){return _bfb(this._expandDeferred);}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_be4.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var _c0d=_be8.wipeIn({node:this.containerNode,duration:_bef.defaultDuration});var def=(this._expandDeferred=new _be3(function(){_c0d.stop();}));_be0.after(_c0d,"onEnd",function(){def.resolve(true);},true);_c0d.play();return _bfb(def);},collapse:function(){if(this._collapseDeferred){return _bfb(this._collapseDeferred);}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_be4.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _c0e=_be8.wipeOut({node:this.containerNode,duration:_bef.defaultDuration});var def=(this._collapseDeferred=new _be3(function(){_c0e.stop();}));_be0.after(_c0e,"onEnd",function(){def.resolve(true);},true);_c0e.play();return _bfb(def);},indent:0,setChildItems:function(_c0f){var tree=this.tree,_c10=tree.model,defs=[];var _c11=tree.focusedChild;var _c12=this.getChildren();_bdf.forEach(_c12,function(_c13){_bf2.prototype.removeChild.call(this,_c13);},this);this.defer(function(){_bdf.forEach(_c12,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);var _c14=function _c14(node){var id=_c10.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _c15=_bdf.indexOf(ary,node);if(_c15!=-1){ary.splice(_c15,1);}}_bdf.forEach(node.getChildren(),_c14);};_c14(node);if(tree.persist){var _c16=_bdf.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_c16.length)==_c16){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild.domNode,tree.domNode)){delete tree.lastFocusedChild;}if(_c11&&!dom.isDescendant(_c11.domNode,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_c0f&&_c0f.length>0){this.isExpandable=true;_bdf.forEach(_c0f,function(item){var id=_c10.getIdentity(item),_c17=tree._itemNodesMap[id],node;if(_c17){for(var i=0;i<_c17.length;i++){if(_c17[i]&&!_c17[i].getParent()){node=_c17[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_c10.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_c17){_c17.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_bdf.forEach(this.getChildren(),function(_c18){_c18._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _bfb(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _c19=this.getChildren();if(_c19.length==0){this.isExpandable=false;this.collapse();}_bdf.forEach(_c19,function(_c1a){_c1a._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_c1b){this.labelNode.setAttribute("aria-selected",_c1b?"true":"false");_be4.toggle(this.rowNode,"dijitTreeRowSelected",_c1b);},focus:function(){_bed.focus(this.focusNode);}});if(has("dojo-bidi")){_bfe.extend({_setTextDirAttr:function(_c1c){if(_c1c&&((this.textDir!=_c1c)||!this._created)){this._set("textDir",_c1c);this.applyTextDir(this.labelNode);_bdf.forEach(this.getChildren(),function(_c1d){_c1d.set("textDir",_c1c);},this);}}});}var Tree=_be2("dijit.Tree",[_bf0,_bf5,_bf1,_bf4],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_bf7,persist:false,autoExpand:false,dndController:_bfa,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_c1e,_c1f){_bea.publish(this.id,lang.mixin({tree:this,event:_c1e},_c1f||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _be3();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_beb.enter),function(evt){self._onNodeMouseEnter(_bee.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_beb.leave),function(evt){self._onNodeMouseLeave(_bee.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bec.press),function(evt){self._onNodePress(_bee.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_bec),function(evt){self._onClick(_bee.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_bee.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_be0.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_be0.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_be0.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _c20={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_c20[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_c20);}this._load();this.onLoadDeferred=_bfb(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_be9.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _c21={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_c21.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_c21.getChildren=lang.hitch(this,function(item,_c22,_c23){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_c22,_c23);});}this.model=new _bf9(_c21);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.labelNode.removeAttribute("aria-selected");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);this.rootLoadingIndicator.style.display="none";}this.containerNode.appendChild(rn.domNode);var _c24=this.model.getIdentity(item);if(this._itemNodesMap[_c24]){this._itemNodesMap[_c24].push(rn);}else{this._itemNodesMap[_c24]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){if(!this._destroyed){this.rootLoadingIndicator.style.display="none";this.expandChildrenDeferred.resolve(true);}}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _c25=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_c25]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_c26){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _c27=_bdf.map(_c26,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _c28=[];_bdf.forEach(_c27,function(id){_c28=_c28.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_c28);}));},_setPathAttr:function(path){if(path.length){return _bfb(this.set("paths",[path]).then(function(_c29){return _c29[0];}));}else{return _bfb(this.set("paths",[]).then(function(_c2a){return _c2a[0];}));}},_setPathsAttr:function(_c2b){var tree=this;function _c2c(path,_c2d){var _c2e=path.shift();var _c2f=_bdf.filter(_c2d,function(node){return node.getIdentity()==_c2e;})[0];if(!!_c2f){if(path.length){return tree._expandNode(_c2f).then(function(){return _c2c(path,_c2f.getChildren());});}else{return _c2f;}}else{throw new Tree.PathError("Could not expand path at "+_c2e);}};return _bfb(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_bdf.map(_c2b,function(path){path=_bdf.map(path,function(item){return item&&lang.isObject(item)?tree.model.getIdentity(item):item;});if(path.length){return _c2c(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_c30){tree.set("selectedNodes",_c30);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_c31){this.dndController.setSelection(_c31);},expandAll:function(){var _c32=this;function _c33(node){return _c32._expandNode(node).then(function(){var _c34=_bdf.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_bdf.map(_c34,_c33));});};return _bfb(_c33(this.rootNode));},collapseAll:function(){var _c35=this;function _c36(node){var _c37=_bdf.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_bdf.map(_c37,_c36));if(!node.isExpanded||(node==_c35.rootNode&&!_c35.showRoot)){return defs;}else{return defs.then(function(){return _c35._collapseNode(node);});}};return _bfb(_c36(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_c38){return (!item||this.model.mayHaveChildren(item))?(_c38?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _c39=this._getNext(node);if(_c39&&_c39.isTreeNode){this.focusNode(_c39);}},_onUpArrow:function(evt,node){var _c3a=node.getPreviousSibling();if(_c3a){node=_c3a;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _c3b=node.getChildren();node=_c3b[_c3b.length-1];}}else{var _c3c=node.getParent();if(!(!this.showRoot&&_c3c===this.rootNode)){node=_c3c;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(evt,node){if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(evt,node){if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _c3d=node.getParent();if(_c3d&&_c3d.isTreeNode&&!(!this.showRoot&&_c3d===this.rootNode)){this.focusNode(_c3d);}}},focusLastChild:function(){var node=this._getLast();if(node&&node.isTreeNode){this.focusNode(node);}},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_getLast:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();if(!c.length){break;}node=c[c.length-1];}return node;},_getNext:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _c3e=node.getNextSibling();if(_c3e){return _c3e;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_c3f){return dom.isDescendant(node,_c3f.expandoNode)||dom.isDescendant(node,_c3f.expandoNodeText);},_onNodePress:function(_c40,e){this.focusNode(_c40);},__click:function(_c41,e,_c42,func){var _c43=e.target,_c44=this.isExpandoNode(_c43,_c41);if(_c41.isExpandable&&(_c42||_c44)){this._onExpandoClick({node:_c41});}else{this._publish("execute",{item:_c41.item,node:_c41,evt:e});this[func](_c41.item,_c41,e);this.focusNode(_c41);}e.stopPropagation();e.preventDefault();},_onClick:function(_c45,e){this.__click(_c45,e,this.openOnClick,"onClick");},_onDblClick:function(_c46,e){this.__click(_c46,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_c47){var node=_c47.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){_be9.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_be9.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst();},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="Loading"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _c48=this.model,item=node.item,_c49=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _be3();_c48.getChildren(item,function(_c4a){node.unmarkProcessing();node.setChildItems(_c4a).then(function(){node._loadDeferred.resolve(_c4a);});},function(err){console.error(_c49,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}var def=node._loadDeferred.then(lang.hitch(this,function(){var def2=node.expand();this.onOpen(node.item,node);this._state(node,true);return def2;}));this._startPaint(def);return def;},focusNode:function(node){var tmp=[];for(var _c4b=this.domNode;_c4b&&_c4b.tagName&&_c4b.tagName.toUpperCase()!=="IFRAME";_c4b=_c4b.parentNode){tmp.push({domNode:_c4b.contentWindow||_c4b,scrollLeft:_c4b.scrollLeft||0,scrollTop:_c4b.scrollTop||0});}this.focusChild(node);this.defer(function(){for(var i=0,max=tmp.length;i<max;i++){tmp[i].domNode.scrollLeft=tmp[i].scrollLeft;tmp[i].domNode.scrollTop=tmp[i].scrollTop;}},0);},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _c4c=this.model,_c4d=_c4c.getIdentity(item),_c4e=this._itemNodesMap[_c4d];if(_c4e){var _c4f=this.getLabel(item),_c50=this.getTooltip(item);_bdf.forEach(_c4e,function(node){node.set({item:item,label:_c4f,tooltip:_c50});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_c51,_c52){var _c53=this.model,_c54=_c53.getIdentity(_c51),_c55=this._itemNodesMap[_c54];if(_c55){_bdf.forEach(_c55,function(_c56){_c56.setChildItems(_c52);});}},_onItemDelete:function(item){var _c57=this.model,_c58=_c57.getIdentity(item),_c59=this._itemNodesMap[_c58];if(_c59){_bdf.forEach(_c59,function(node){this.dndController.removeTreeNode(node);var _c5a=node.getParent();if(_c5a){_c5a.removeChild(node);}if(this.lastFocusedChild&&!dom.isDescendant(this.lastFocusedChild.domNode,this.domNode)){delete this.lastFocusedChild;}if(this.focusedChild&&!dom.isDescendant(this.focusedChild.domNode,this.domNode)){this.focus();}node.destroyRecursive();},this);delete this._itemNodesMap[_c58];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_be1(this.cookieName);if(oreo){_bdf.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_c5b){if(!this.persist){return false;}var path=_bdf.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_c5b){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}this._saveExpandedNodes();}},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_be1(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_c5c){if(_c5c){_be5.setMarginBox(this.domNode,_c5c);}this._nodePixelIndent=_be5.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _bfe(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_c5d){if(_c5d&&this.textDir!=_c5d){this._set("textDir",_c5d);this.rootNode.set("textDir",_c5d);}}});}Tree.PathError=_be7("TreePathError");Tree._TreeNode=_bfe;return Tree;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_c5e,_c5f,_c60,lang){return _c60("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(args){lang.mixin(this,args);this.connects=[];var _c61=this.store;if(!_c61.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_c61.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_c5f.after(_c61,"onNew",lang.hitch(this,"onNewItem"),true),_c5f.after(_c61,"onDelete",lang.hitch(this,"onDeleteItem"),true),_c5f.after(_c61,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_c62,_c63){if(this.root){_c62(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_c64){if(_c64.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_c64.length+" items, but must return exactly one");}this.root=_c64[0];_c62(this.root);}),onError:_c63});}},mayHaveChildren:function(item){return _c5e.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_c65,_c66,_c67){var _c68=this.store;if(!_c68.isItemLoaded(_c65)){var _c69=lang.hitch(this,arguments.callee);_c68.loadItem({item:_c65,onItem:function(_c6a){_c69(_c6a,_c66,_c67);},onError:_c67});return;}var _c6b=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_c68.getValues(_c65,this.childrenAttrs[i]);_c6b=_c6b.concat(vals);}var _c6c=0;if(!this.deferItemLoadingUntilExpand){_c5e.forEach(_c6b,function(item){if(!_c68.isItemLoaded(item)){_c6c++;}});}if(_c6c==0){_c66(_c6b);}else{_c5e.forEach(_c6b,function(item,idx){if(!_c68.isItemLoaded(item)){_c68.loadItem({item:item,onItem:function(item){_c6b[idx]=item;if(--_c6c==0){_c66(_c6b);}},onError:_c67});}});}},isItem:function(_c6d){return this.store.isItem(_c6d);},fetchItemByIdentity:function(_c6e){this.store.fetchItemByIdentity(_c6e);},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_c6f,_c70){var _c71={parent:_c6f,attribute:this.childrenAttrs[0]},_c72;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_c6f,true,_c70);}else{_c72=this.store.newItem(args,_c71);if(_c72&&(_c70!=undefined)){this.pasteItem(_c72,_c6f,_c6f,false,_c70);}}}});}else{_c72=this.store.newItem(args,_c71);if(_c72&&(_c70!=undefined)){this.pasteItem(_c72,_c6f,_c6f,false,_c70);}}},pasteItem:function(_c73,_c74,_c75,_c76,_c77){var _c78=this.store,_c79=this.childrenAttrs[0];if(_c74){_c5e.forEach(this.childrenAttrs,function(attr){if(_c78.containsValue(_c74,attr,_c73)){if(!_c76){var _c7a=_c5e.filter(_c78.getValues(_c74,attr),function(x){return x!=_c73;});_c78.setValues(_c74,attr,_c7a);}_c79=attr;}});}if(_c75){if(typeof _c77=="number"){var _c7b=_c78.getValues(_c75,_c79).slice();_c7b.splice(_c77,0,_c73);_c78.setValues(_c75,_c79,_c7b);}else{_c78.setValues(_c75,_c79,_c78.getValues(_c75,_c79).concat(_c73));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_c7c){if(!_c7c){return;}this.getChildren(_c7c.item,lang.hitch(this,function(_c7d){this.onChildrenChange(_c7c.item,_c7d);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_c7e){if(_c5e.indexOf(this.childrenAttrs,_c7e)!=-1){this.getChildren(item,lang.hitch(this,function(_c7f){this.onChildrenChange(item,_c7f);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_c80,_c81,_c82,lang,_c83){return _c81("dijit.tree.ForestStoreModel",_c83,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_c84){this.root={store:this,root:true,id:_c84.rootId,label:_c84.rootLabel,children:_c84.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_c85,_c86,_c87){if(_c85===this.root){if(this.root.children){_c86(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_c88){this.root.children=_c88;_c86(_c88);}),onError:_c87});}}else{this.inherited(arguments);}},isItem:function(_c89){return (_c89===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_c8a){if(_c8a.identity==this.root.id){var _c8b=_c8a.scope||_c82.global;if(_c8a.onItem){_c8a.onItem.call(_c8b,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_c8c,_c8d){if(_c8c===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_c8e,_c8f,_c90,_c91,_c92){if(_c8f===this.root){if(!_c91){this.onLeaveRoot(_c8e);}}this.inherited(arguments,[_c8e,_c8f===this.root?null:_c8f,_c90===this.root?null:_c90,_c91,_c92]);if(_c90===this.root){this.onAddToRoot(_c8e);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _c93=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_c94){this.root.children=_c94;if(_c93.length!=_c94.length||_c80.some(_c93,function(item,idx){return _c94[idx]!=item;})){this.onChildrenChange(this.root,_c94);}})});},onNewItem:function(item,_c95){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_c80.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_c96,_c97,_c98){this._requeryTop();this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_c99,_c9a,_c9b,lang,_c9c,dom,_c9d,on,_c9e,_c9f,_ca0){return _c9a("dijit.tree._dndSelector",_ca0,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_c9e.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_c9e.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_c9e.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_c9f.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_c9f.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _ca1=[],sel=this.selection;for(var i in sel){_ca1.push(sel[i]);}return _ca1;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_ca2){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_ca2){this.anchor=node;}return node;},removeTreeNode:function(node){var _ca3=_c99.filter(this.getSelectedTreeNodes(),function(_ca4){return !dom.isDescendant(_ca4.domNode,node.domNode);});this.setSelection(_ca3);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_ca5){var _ca6=this.getSelectedTreeNodes();_c99.forEach(this._setDifference(_ca6,_ca5),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_c99.forEach(this._setDifference(_ca5,_ca6),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_c99.forEach(ys,function(y){y.__exclude__=true;});var ret=_c99.filter(xs,function(x){return !x.__exclude__;});_c99.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _ca7=this.getSelectedTreeNodes();var _ca8=[],_ca9=[];_c99.forEach(_ca7,function(node){var ary=node.getTreePath();_ca9.push(node);_ca8.push(ary);},this);var _caa=_c99.map(_ca9,function(node){return node.item;});this.tree._set("paths",_ca8);this.tree._set("path",_ca8[0]||[]);this.tree._set("selectedNodes",_ca9);this.tree._set("selectedNode",_ca9[0]||null);this.tree._set("selectedItems",_caa);this.tree._set("selectedItem",_caa[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_c9d.isLeft(e)){e.preventDefault();}var _cab=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_cab){return;}var copy=_c9c.getCopyKeyState(e),id=_cab.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_cab,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_c9c.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_cac,_cad){if(this.singular){if(this.anchor==node&&_cac){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_cad&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_cae,end,_caf=this.anchor;if(cr<0){_cae=_caf;end=node;}else{_cae=node;end=_caf;}var _cb0=[];while(_cae!=end){_cb0.push(_cae);_cae=this.tree._getNext(_cae);}_cb0.push(end);this.setSelection(_cb0);}else{if(this.selection[node.id]&&_cac){this.removeTreeNode(node);}else{if(_cac){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _cb1=this.selection[key];return {data:_cb1,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_c9b.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_cb2,_cb3,_cb4,lang,on,_cb5){return _cb3("dijit.tree._dndContainer",null,{constructor:function(tree,_cb6){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_cb6);this.containerState="";_cb4.add(this.node,"dojoDndContainer");this.events=[on(this.node,_cb5.enter,lang.hitch(this,"onOverEvent")),on(this.node,_cb5.leave,lang.hitch(this,"onOutEvent")),_cb2.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_cb2.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_cb7){this.current=_cb7;},onMouseOut:function(){this.current=null;},_changeState:function(type,_cb8){var _cb9="dojoDnd"+type;var _cba=type.toLowerCase()+"State";_cb4.replace(this.node,_cb9+_cb8,_cb9+this[_cba]);this[_cba]=_cb8;},_addItemClass:function(node,type){_cb4.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_cb4.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/common","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_cbb,_cbc,_cbd,_cbe,_cbf,lang,_cc0,on,_cc1,_cc2,_cc3,_cc4){var _cc5=_cbc("dijit.tree.dndSource",_cc4,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_cc6){if(!_cc6){_cc6={};}lang.mixin(this,_cc6);var type=_cc6.accept instanceof Array?_cc6.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i<type.length;++i){this.accept[type[i]]=1;}}this.isDragging=false;this.mouseDown=false;this.targetAnchor=null;this.targetBox=null;this.dropPosition="";this._lastX=0;this._lastY=0;this.sourceState="";if(this.isSource){_cbe.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_cbe.add(this.node,"dojoDndTarget");}this.topics=[_cc2.subscribe("/dnd/source/over",lang.hitch(this,"onDndSourceOver")),_cc2.subscribe("/dnd/start",lang.hitch(this,"onDndStart")),_cc2.subscribe("/dnd/drop",lang.hitch(this,"onDndDrop")),_cc2.subscribe("/dnd/cancel",lang.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_cc7){return this.copyOnly||_cc7;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_cc8){var m=_cc3.manager(),_cc9=this.targetAnchor,_cca=this.current,_ccb=this.dropPosition;var _ccc="Over";if(_cca&&this.betweenThreshold>0){if(!this.targetBox||_cc9!=_cca){this.targetBox=_cbf.position(_cca.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_ccc="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_ccc="After";}}}if(_cc8||_cca!=_cc9||_ccc!=_ccb){if(_cc9){this._removeItemClass(_cc9.rowNode,_ccb);}if(_cca){this._addItemClass(_cca.rowNode,_ccc);}if(!_cca){m.canDrop(false);}else{if(_cca==this.tree.rootNode&&_ccc!="Over"){m.canDrop(false);}else{var _ccd=false,_cce=false;if(m.source==this){_cce=(_ccc==="Over");for(var _ccf in this.selection){var _cd0=this.selection[_ccf];if(_cd0.item===_cca.item){_ccd=true;break;}if(_cd0.getParent().id!==_cca.id){_cce=false;}}}m.canDrop(!_ccd&&!_cce&&!this._isParentChildDrop(m.source,_cca.rowNode)&&this.checkItemAcceptance(_cca.rowNode,m.source,_ccc.toLowerCase()));}}this.targetAnchor=_cca;this.dropPosition=_ccc;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_cc3.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _cd1=this.getSelectedTreeNodes();if(_cd1.length){if(_cd1.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_cd1[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_cd1=r;}_cd1=_cbb.map(_cd1,function(n){return n.domNode;});m.startDrag(this,_cd1,this.copyState(_cbd.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_cc0.isLeft(e)){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;}this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_cd2){if(this!=_cd2){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_cc3.manager();m.canDrop(false);}}},onDndStart:function(_cd3,_cd4,copy){if(this.isSource){this._changeState("Source",this==_cd3?(copy?"Copied":"Moved"):"");}var _cd5=this.checkAcceptance(_cd3,_cd4);this._changeState("Target",_cd5?"":"Disabled");if(this==_cd3){_cc3.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_cd6){return _cbb.map(_cd6,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_cd7,_cd8,copy){if(this.containerState=="Over"){var tree=this.tree,_cd9=tree.model,_cda=this.targetAnchor,_cdb=false;this.isDragging=false;var _cdc;var _cdd;var _cde;_cdc=(_cda&&_cda.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_cdc=(_cda.getParent()&&_cda.getParent().item)||tree.item;_cdd=_cda.getIndexInParent();if(this.dropPosition=="After"){_cdd=_cda.getIndexInParent()+1;_cde=_cda.getNextSibling()&&_cda.getNextSibling().item;}else{_cde=_cda.item;}}else{_cdc=(_cda&&_cda.item)||tree.item;_cdb=true;}var _cdf;_cbb.forEach(_cd8,function(node,idx){var _ce0=_cd7.getItem(node.id);if(_cbb.indexOf(_ce0.type,"treeNode")!=-1){var _ce1=_ce0.data,_ce2=_ce1.item,_ce3=_ce1.getParent().item;}if(_cd7==this){if(typeof _cdd=="number"){if(_cdc==_ce3&&_ce1.getIndexInParent()<_cdd){_cdd-=1;}}_cd9.pasteItem(_ce2,_ce3,_cdc,copy,_cdd,_cde);}else{if(_cd9.isItem(_ce2)){_cd9.pasteItem(_ce2,_ce3,_cdc,copy,_cdd,_cde);}else{if(!_cdf){_cdf=this.itemCreator(_cd8,_cda.rowNode,_cd7);}_cd9.newItem(_cdf[idx],_cdc,_cdd,_cde);}}},this);if(_cdb){this.tree._expandNode(_cda);}}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_cc3.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_cc3.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_ce4,_ce5){if(!_ce4.tree||_ce4.tree!=this.tree){return false;}var root=_ce4.tree.domNode;var ids=_ce4.selection;var node=_ce5.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _cc5;});},"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(_ce6,_ce7,lang,win,_ce8,_ce9,has,keys,on,_cea,_ceb,dnd,_cec,_ced){var _cee=_ce7("dojo.dnd.Manager",[_ce9],{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")?4:16,OFFSET_Y:has("touch")?4:16,overSource:function(_cef){if(this.avatar){this.target=(_cef&&_cef.targetState!="Disabled")?_cef:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_cea.publish("/dnd/source/over",_cef);},outSource:function(_cf0){if(this.avatar){if(this.target==_cf0){this.target=null;this.canDropFlag=false;this.avatar.update();_cea.publish("/dnd/source/over",null);}}else{_cea.publish("/dnd/source/over",null);}},startDrag:function(_cf1,_cf2,copy){_cec.autoScrollStart(win.doc);this.source=_cf1;this.nodes=_cf2;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_cea.publish("/dnd/start",_cf1,_cf2,this.copy);function _cf3(e){e.preventDefault();e.stopPropagation();};this.events=[on(win.doc,_ceb.move,lang.hitch(this,"onMouseMove")),on(win.doc,_ceb.release,lang.hitch(this,"onMouseUp")),on(win.doc,"keydown",lang.hitch(this,"onKeyDown")),on(win.doc,"keyup",lang.hitch(this,"onKeyUp")),on(win.doc,"dragstart",_cf3),on(win.body(),"selectstart",_cf3)];var c="dojoDnd"+(copy?"Copy":"Move");_ce8.add(win.body(),c);},canDrop:function(flag){var _cf4=Boolean(this.target&&flag);if(this.canDropFlag!=_cf4){this.canDropFlag=_cf4;this.avatar.update();}},stopDrag:function(){_ce8.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_ce6.forEach(this.events,function(_cf5){_cf5.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _ced(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_cec.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));if(this.copy!=copy){this._setCopyStatus(copy);}}if(has("touch")){e.preventDefault();}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));_cea.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_cea.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_cea.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case keys.CTRL:var copy=Boolean(this.source.copyState(true));if(this.copy!=copy){this._setCopyStatus(copy);}break;case keys.ESCAPE:_cea.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==keys.CTRL){var copy=Boolean(this.source.copyState(false));if(this.copy!=copy){this._setCopyStatus(copy);}}},_setCopyStatus:function(copy){this.copy=copy;this.source._markDndStatus(this.copy);this.updateAvatar();_ce8.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_cee.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _cee();}return dnd._manager;};return _cee;});},"dojo/dnd/Avatar":function(){define(["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_cf6,win,dom,_cf7,_cf8,_cf9,has,_cfa){return _cf6("dojo.dnd.Avatar",null,{constructor:function(_cfb){this.manager=_cfb;this.construct();},construct:function(){var a=_cf9.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_cfc=this.manager.source,node,b=_cf9.create("tbody",null,a),tr=_cf9.create("tr",null,b),td=_cf9.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_cf9.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_cf9.create("span",{innerHTML:_cfc.generateText?this._generateText():""},td);_cf7.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_cfc.creator){node=_cfc._normalizedCreator(_cfc.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{node=this.manager.nodes[i].cloneNode(true);if(node.tagName.toLowerCase()=="tr"){var _cfd=_cf9.create("table"),_cfe=_cf9.create("tbody",null,_cfd);_cfe.appendChild(node);node=_cfd;}}node.id="";tr=_cf9.create("tr",null,b);td=_cf9.create("td",null,tr);td.appendChild(node);_cf7.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_cf9.destroy(this.node);this.node=false;},update:function(){_cf8.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(has("highcontrast")){var icon=dom.byId("a11yIcon");var text="+";if(this.manager.canDropFlag&&!this.manager.copy){text="< ";}else{if(!this.manager.canDropFlag&&!this.manager.copy){text="o";}else{if(!this.manager.canDropFlag){text="x";}}}icon.innerHTML=text;}_cfa(("tr.dojoDndAvatarHeader td span"+(has("highcontrast")?" span":"")),this.node).forEach(function(node){node.innerHTML=this.manager.source.generateText?this._generateText():"";},this);},_generateText:function(){return this.manager.nodes.length.toString();}});});},"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/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=\"-1\">\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\t${!actionBarTemplate}\n</div>\n\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\">●</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\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\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/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\">▼</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\" data-dojo-attach-point=\"valueNode\" aria-hidden=\"true\"\n/></span>\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\">▼</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\" aria-hidden=\"true\" data-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\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/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\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/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=\"Χ \" 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/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=\"▼ \" 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=\"Χ \" 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=\"${type}\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\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/MenuItem.html":"<tr class=\"dijitReset\" 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/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/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=\"Χ \" 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=\"▼ \" 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/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/templates/CheckedMenuItem.html":"<tr class=\"dijitReset\" 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\"> </td>\n</tr>\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/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/_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/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=\"\">▼</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\">◀</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\">▶</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>","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/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\"> </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/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"contentsNode\" class=\"dijitTooltipContents dijitTooltipFocusNode\">\n\t\t\t<div data-dojo-attach-point=\"containerNode\"></div>\n\t\t\t${!actionBarTemplate}\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\"\n\t\t><span data-dojo-attach-point=\"expandoNode\" class=\"dijitInline dijitTreeExpando\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTreeIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span data-dojo-attach-point=\"labelNode,focusNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t tabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeNodeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n\t<div class=\"dijitTreeExpando dijitTreeExpandoLoading\" data-dojo-attach-point=\"rootLoadingIndicator\"></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\">\n\t</div>\n</div>\n","*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1); |