/*
	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
(function(A,C){var B,x=function(){return"undefined"!==typeof m&&"function"!==typeof m?m:"undefined"!==typeof window?window:"undefined"!==typeof self?self:this}(),l=function(){},f=function(O){for(var V in O)return 0;return 1},g={}.toString,d=function(O){return"[object Function]"==g.call(O)},c=function(O){return"[object String]"==g.call(O)},a=function(O){return"[object Array]"==g.call(O)},b=function(O,V){if(O)for(var Y=0;Y<O.length;)V(O[Y++])},e=function(O,V){for(var Y in V)O[Y]=V[Y];return O},h=function(O,
V){return e(Error(O),{src:"dojoLoader",info:V})},n=1,r=function(){return"_"+n++},k=function(O,V,Y){return wa(O,V,Y,0,k)},m=x,y=m.document,p=y&&y.createElement("DiV"),u=k.has=function(O){return d(w[O])?w[O]=w[O](m,y,p):w[O]},w=u.cache=C.hasCache;d(A)&&(A=A(x));u.add=function(O,V,Y,Z){(void 0===w[O]||Z)&&(w[O]=V);return Y&&u(O)};u.add("host-webworker","undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);u("host-webworker")&&(e(C.hasCache,{"host-browser":0,dom:0,"dojo-dom-ready-api":0,
"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0}),C.loaderPatch={injectUrl:function(O,V){try{importScripts(O),V()}catch(Y){}}});for(var q in A.has)u.add(q,A.has[q],0,1);var t=0,z=[],D=0,v=l,E=l;k.isXdUrl=l;k.initSyncLoader=function(O,V,Y){D||(D=O,v=V,E=Y);return{sync:"sync",requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:z,modules:da,execQ:qa,getModule:Ca,injectModule:Sa,setArrived:Aa,signal:N,finishExec:La,execModule:Ma,dojoRequirePlugin:D,
getLegacyMode:function(){return t},guardCheckComplete:Na}};var F=location.protocol,H=location.host;k.isXdUrl=function(O){return/^\./.test(O)?!1:/^\/\//.test(O)?!0:(O=O.match(/^([^\/:]+:)\/+([^\/]+)/))&&(O[1]!=F||H&&O[2]!=H)};u.add("dojo-force-activex-xhr",!y.addEventListener&&"file:"==window.location.protocol);u.add("native-xhr","undefined"!=typeof XMLHttpRequest);if(u("native-xhr")&&!u("dojo-force-activex-xhr"))var J=function(){return new XMLHttpRequest};else{var G=["Msxml2.XMLHTTP","Microsoft.XMLHTTP",
"Msxml2.XMLHTTP.4.0"];for(B=0;3>B;)try{var I=G[B++];new ActiveXObject(I);break}catch(O){}J=function(){return new ActiveXObject(I)}}k.getXhr=J;u.add("dojo-gettext-api",1);k.getText=function(O,V,Y){var Z=J();Z.open("GET",Ta(O),!1);Z.send(null);if(200==Z.status||!location.host&&!Z.status)Y&&Y(Z.responseText,V);else throw h("xhrFailed",Z.status);return Z.responseText};var K=u("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");k.eval=function(O,V){return K(O+"\r\n//# sourceURL\x3d"+
V)};var M={},N=k.signal=function(O,V){var Y=M[O];b(Y&&Y.slice(0),function(Z){Z.apply(null,a(V)?V:[V])})},Q=k.on=function(O,V){var Y=M[O]||(M[O]=[]);Y.push(V);return{remove:function(){for(var Z=0;Z<Y.length;Z++)if(Y[Z]===V){Y.splice(Z,1);break}}}},P=[],S={},L=[],R={},T=k.map={},aa=[],da={},la="",ha={},oa={},ka={},ta=0;if(!u("foreign-loader"))var va=function(O,V){V=!1!==V;var Y,Z;for(Y in oa){var ca=oa[Y];if(Z=Y.match(/^url:(.+)/))ha["url:"+jb(Z[1],O)]=ca;else if("*now"==Y)var ea=ca;else"*noref"!=Y&&
(Z=Oa(Y,O,!0),ha[Z.mid]=ha["url:"+Z.url]=ca)}ea&&ea(Fa(O));V&&(oa={})};var W=function(O){return O.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(V){return"\\"+V})},U=function(O,V){V.splice(0,V.length);for(var Y in O)V.push([Y,O[Y],new RegExp("^"+W(Y)+"(/|$)"),Y.length]);V.sort(function(Z,ca){return ca[3]-Z[3]});return V},X=function(O,V){b(O,function(Y){V.push([c(Y[0])?new RegExp("^"+W(Y[0])+"$"):Y[0],Y[1]])})},ba=function(O){var V=O.name;V||(V=O,O={name:V});O=e({main:"main"},O);O.location=O.location?
O.location:V;O.packageMap&&(T[V]=O.packageMap);O.main.indexOf("./")||(O.main=O.main.substring(2));R[V]=O},fa=[],ia=function(O,V,Y){for(var Z in O){"waitSeconds"==Z&&(k.waitms=1E3*(O[Z]||0));"cacheBust"==Z&&(la=O[Z]?c(O[Z])?O[Z]:(new Date).getTime()+"":"");if("baseUrl"==Z||"combo"==Z)k[Z]=O[Z];if("async"==Z){var ca=O[Z];k.legacyMode=t=c(ca)&&/sync|legacyAsync/.test(ca)?ca:ca?!1:"sync";k.async=!t}O[Z]!==w&&(k.rawConfig[Z]=O[Z],"has"!=Z&&u.add("config-"+Z,O[Z],0,V))}k.baseUrl||(k.baseUrl="./");/\/$/.test(k.baseUrl)||
(k.baseUrl+="/");for(Z in O.has)u.add(Z,O.has[Z],0,V);b(O.packages,ba);for(var ea in O.packagePaths)b(O.packagePaths[ea],function(sa){var za=ea+"/"+sa;c(sa)&&(sa={name:sa});sa.location=za;ba(sa)});U(e(T,O.map),aa);b(aa,function(sa){sa[1]=U(sa[1],[]);"*"==sa[0]&&(aa.star=sa)});U(e(S,O.paths),L);X(O.aliases,P);if(!u("foreign-loader")){if(V)fa.push({config:O.config});else for(Z in O.config)V=Ca(Z,Y),V.config=e(V.config||{},O.config[Z]);O.cache&&(va(),oa=O.cache,va(0,!!O.cache["*noref"]))}N("config",
[O,k.rawConfig])};u("dojo-cdn");var ra=y.getElementsByTagName("script");B=0;for(var ja,ma,pa,ua;B<ra.length;)if(ja=ra[B++],(pa=ja.getAttribute("src"))&&(ua=pa.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))&&(ma=ua[3]||"",C.baseUrl=C.baseUrl||ma,ta=ja),pa=ja.getAttribute("data-dojo-config")||ja.getAttribute("djConfig"))ka=k.eval("({ "+pa+" })","data-dojo-config"),ta=ja;k.rawConfig={};ia(C,1);u("dojo-cdn")&&((R.dojo.location=ma)&&(ma+="/"),R.dijit.location=ma+"../dijit/",R.dojox.location=ma+"../dojox/");ia(A,
1);ia(ka,1);if(!u("foreign-loader"))var xa=function(O){Na(function(){b(O.deps,Sa)})},wa=function(O,V,Y,Z,ca){var ea;if(c(O)){if((ea=Ca(O,Z,!0))&&ea.executed)return ea.result;throw h("undefinedModule",O);}a(O)||(ia(O,0,Z),O=V,V=Y);if(a(O))if(O.length){Y="require*"+r();for(var sa,za=[],Da=0;Da<O.length;)sa=O[Da++],za.push(Ca(sa,Z));ea=e(Ua("",Y,0,""),{injected:2,deps:za,def:V||l,require:Z?Z.require:k,gc:1});da[ea.mid]=ea;xa(ea);var ab=Pa&&"sync"!=t;Na(function(){Ma(ea,ab)});ea.executed||qa.push(ea);
Ga()}else V&&V();return ca},Fa=function(O){if(!O)return k;var V=O.require;V||(V=function(Y,Z,ca){return wa(Y,Z,ca,O,V)},O.require=e(V,k),V.module=O,V.toUrl=function(Y){return jb(Y,O)},V.toAbsMid=function(Y){return bb(Y,O)},V.syncLoadNls=function(Y){Y=Oa(Y,O);var Z=da[Y.mid];if(!Z||!Z.executed)if(Ea=ha[Y.mid]||ha["url:"+Y.url])Va(Ea),Z=da[Y.mid];return Z&&Z.executed&&Z.result});return V},qa=[],Ha=[],na={},ya=function(O){O.injected=1;na[O.mid]=1;O.url&&(na[O.url]=O.pack||1);kb()},Aa=function(O){O.injected=
2;delete na[O.mid];O.url&&delete na[O.url];f(na)&&(Wa(),"xd"==t&&(t="sync"))},Ia=k.idle=function(){return!Ha.length&&f(na)&&!qa.length&&!Pa};var Ja=function(O,V){if(V)for(var Y=0;Y<V.length;Y++)if(V[Y][2].test(O))return V[Y];return 0},lb=function(O){var V=[];for(O=O.replace(/\\/g,"/").split("/");O.length;){var Y=O.shift();if(".."==Y&&V.length&&".."!=Z){V.pop();var Z=V[V.length-1]}else"."!=Y&&V.push(Z=Y)}return V.join("/")},Ua=function(O,V,Y,Z){var ca=k.isXdUrl(Z);return{pid:O,mid:V,pack:Y,url:Z,executed:0,
def:0,isXd:ca,isAmd:!!(ca||R[O]&&R[O].isAmd)}},ob=function(O,V,Y,Z,ca,ea,sa,za,Da,ab){var Ka,mb,Ba;var cb=/^\./.test(O);if(/(^\/)|(:)|(\.js$)/.test(O)||cb&&!V)return Ua(0,O,0,O);O=lb(cb?V.mid+"/../"+O:O);if(/^\./.test(O))throw h("irrationalPath",O);ab||cb||!ea.star||(Ba=Ja(O,ea.star[1]));!Ba&&V&&(Ba=(Ba=Ja(V.mid,ea))&&Ja(O,Ba[1]));Ba&&(O=Ba[1]+O.substring(Ba[3]));V=(ua=O.match(/^([^\/]+)(\/(.+))?$/))?ua[1]:"";(Ka=Y[V])?O=V+"/"+(mb=ua[3]||Ka.main):V="";var db=0;b(za,function(Qa){var nb=O.match(Qa[0]);
nb&&0<nb.length&&(db=d(Qa[1])?O.replace(Qa[0],Qa[1]):Qa[1])});if(db)return ob(db,0,Y,Z,ca,ea,sa,za,Da);if(Y=Z[O])return Da?Ua(Y.pid,Y.mid,Y.pack,Y.url):Z[O];Z=(Ba=Ja(O,sa))?Ba[1]+O.substring(Ba[3]):V?("/"===Ka.location.slice(-1)?Ka.location.slice(0,-1):Ka.location)+"/"+mb:u("config-tlmSiblingOfDojo")?"../"+O:O;/(^\/)|(:)/.test(Z)||(Z=ca+Z);return Ua(V,O,Ka,lb(Z+".js"))},Oa=function(O,V,Y){return ob(O,V,R,da,k.baseUrl,aa,L,P,void 0,Y)};if(!u("foreign-loader"))var pb=function(O,V,Y){return O.normalize?
O.normalize(V,function(Z){return bb(Z,Y)}):bb(V,Y)},qb=0,Ca=function(O,V,Y){var Z;if(Z=O.match(/^(.+?)!(.*)$/)){var ca=Ca(Z[1],V,Y);"sync"!=t||ca.executed||(Sa(ca),2!==ca.injected||ca.executed||Na(function(){Ma(ca)}),ca.executed?Xa(ca):qa.unshift(ca));5!==ca.executed||ca.load||Xa(ca);ca.load?(Z=pb(ca,Z[2],V),O=ca.mid+"!"+(ca.dynamic?++qb+"!":"")+Z):(Z=Z[2],O=ca.mid+"!"+ ++qb+"!waitingForPlugin");O={plugin:ca,mid:O,req:Fa(V),prid:Z}}else O=Oa(O,V);return da[O.mid]||!Y&&(da[O.mid]=O)};var bb=k.toAbsMid=
function(O,V){return Oa(O,V).mid},jb=k.toUrl=function(O,V){var Y=Oa(O+"/x",V),Z=Y.url;return Ta(0===Y.pid?O:Z.substring(0,Z.length-5))};if(!u("foreign-loader"))var rb={injected:2,executed:5,def:3,result:3},eb=function(O){return da[O]=e({mid:O},rb)},wb=eb("require"),xb=eb("exports"),yb=eb("module"),Ya={},fb=0,Xa=function(O){var V=O.result;O.dynamic=V.dynamic;O.normalize=V.normalize;O.load=V.load;return O},zb=function(O){var V={};b(O.loadQ,function(ca){var ea=pb(O,ca.prid,ca.req.module),sa=O.dynamic?
ca.mid.replace(/waitingForPlugin$/,ea):O.mid+"!"+ea;ea=e(e({},ca),{mid:sa,prid:ea,injected:0});da[sa]&&da[sa].injected||sb(da[sa]=ea);V[ca.mid]=da[sa];Aa(ca);delete da[ca.mid]});O.loadQ=0;var Y=function(ca){for(var ea=ca.deps||[],sa=0;sa<ea.length;sa++)(ca=V[ea[sa].mid])&&(ea[sa]=ca)},Z;for(Z in da)Y(da[Z]);b(qa,Y)},La=function(O){k.trace("loader-finish-exec",[O.mid]);O.executed=5;O.defOrder=fb++;b(O.provides,function(V){V()});O.loadQ&&(Xa(O),zb(O));for(B=0;B<qa.length;)qa[B]===O?qa.splice(B,1):B++;
/^require\*/.test(O.mid)&&delete da[O.mid]},Ab=[],Ma=function(O,V){if(4===O.executed)return k.trace("loader-circular-dependency",[Ab.concat(O.mid).join("-\x3e")]),!O.def||V?Ya:O.cjs&&O.cjs.exports;if(!O.executed){if(!O.def)return Ya;var Y=O.mid,Z=O.deps||[],ca,ea=[],sa=0;for(O.executed=4;ca=Z[sa++];){ca=ca===wb?Fa(O):ca===xb?O.cjs.exports:ca===yb?O.cjs:Ma(ca,V);if(ca===Ya)return O.executed=0,k.trace("loader-exec-module",["abort",Y]),Ya;ea.push(ca)}k.trace("loader-run-factory",[O.mid]);Y=O.def;z.unshift(O);
if(u("config-dojo-loader-catches"))try{var za=d(Y)?Y.apply(null,ea):Y}catch(Da){N("error",O.result=h("factoryThrew",[O,Da]))}else za=d(Y)?Y.apply(null,ea):Y;O.result=void 0===za&&O.cjs?O.cjs.exports:za;z.shift(O);La(O)}return O.result},Pa=0,Na=function(O){try{Pa++,O()}catch(V){throw V;}finally{Pa--}Ia()&&N("idle",[])},Ga=function(){Pa||Na(function(){v();for(var O,V,Y=0;Y<qa.length;)O=fb,V=qa[Y],Ma(V),O!=fb?(v(),Y=0):Y++})};var Ta="function"==typeof A.fixupUrl?A.fixupUrl:function(O){O+="";return O+
(la?(/\?/.test(O)?"\x26":"?")+la:"")};void 0===u("dojo-loader-eval-hint-url")&&u.add("dojo-loader-eval-hint-url",1);var sb=function(O){var V=O.plugin;5!==V.executed||V.load||Xa(V);var Y=function(Z){O.result=Z;Aa(O);La(O);Ga()};V.load?V.load(O.prid,O.req,Y):V.loadQ?V.loadQ.push(O):(V.loadQ=[O],qa.unshift(V),Sa(V))},Ea=0,Ra=0,gb=0,Va=function(O,V){u("config-stripStrict")&&(O=O.replace(/(["'])use strict\1/g,""));gb=1;if(u("config-dojo-loader-catches"))try{O===Ea?Ea.call(null):k.eval(O,u("dojo-loader-eval-hint-url")?
V.url:V.mid)}catch(Y){N("error",h("evalModuleThrew",V))}else O===Ea?Ea.call(null):k.eval(O,u("dojo-loader-eval-hint-url")?V.url:V.mid);gb=0},Sa=function(O){var V=O.mid,Y=O.url;if(!(O.executed||O.injected||na[V]||O.url&&(O.pack&&na[O.url]===O.pack||1==na[O.url])))if(ya(O),O.plugin)sb(O);else{var Z=function(){tb(O);if(2!==O.injected){if(u("dojo-enforceDefine")){N("error",h("noDefine",O));return}Aa(O);e(O,rb);k.trace("loader-define-nonmodule",[O.url])}t?!z.length&&Ga():Ga()};if(Ea=ha[V]||ha["url:"+O.url])k.trace("loader-inject",
["cache",O.mid,Y]),Va(Ea,O),Z();else{if(t)if(O.isXd)"sync"==t&&(t="xd");else if(!O.isAmd||"sync"==t){var ca=function(ea){if("sync"==t){z.unshift(O);Va(ea,O);z.shift();tb(O);O.cjs||(Aa(O),La(O));if(O.finish){ea=V+"*finish";var sa=O.finish;delete O.finish;Za(ea,["dojo",("dojo/require!"+sa.join(",")).replace(/\./g,"/")],function(za){b(sa,function(Da){za.require(Da)})});qa.unshift(Ca(ea))}Z()}else(ea=E(O,ea))?(Va(ea,O),Z()):(Ra=O,k.injectUrl(Ta(Y),Z,O),Ra=0)};k.trace("loader-inject",["xhr",O.mid,Y,"sync"!=
t]);if(u("config-dojo-loader-catches"))try{k.getText(Y,"sync"!=t,ca)}catch(ea){N("error",h("xhrInjectFailed",[O,ea]))}else k.getText(Y,"sync"!=t,ca);return}k.trace("loader-inject",["script",O.mid,Y]);Ra=O;k.injectUrl(Ta(Y),Z,O);Ra=0}}},hb=function(O,V,Y){k.trace("loader-define-module",[O.mid,V]);var Z=O.mid;if(2===O.injected)return N("error",h("multipleDefine",O)),O;e(O,{deps:V,def:Y,cjs:{id:O.mid,uri:O.url,exports:O.result={},setExports:function(ea){O.cjs.exports=ea},config:function(){return O.config}}});
for(var ca=0;V[ca];ca++)V[ca]=Ca(V[ca],O);t&&!na[Z]&&(xa(O),qa.push(O),Ga());Aa(O);d(Y)||V.length||(O.result=Y,La(O));return O},tb=function(O,V){for(var Y=[],Z,ca;Ha.length;)ca=Ha.shift(),V&&(ca[0]=V.shift()),Z=ca[0]&&Ca(ca[0])||O,Y.push([Z,ca[1],ca[2]]);va(O);b(Y,function(ea){xa(hb.apply(null,ea))})},$a=0,Wa=l,kb=l;Wa=function(){$a&&clearTimeout($a);$a=0};kb=function(){Wa();k.waitms&&($a=m.setTimeout(function(){Wa();N("error",h("timeout",na))},k.waitms))};u.add("ie-event-behavior",y.attachEvent&&
"undefined"===typeof Windows&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var ib=function(O,V,Y,Z){if(u("ie-event-behavior"))return O.attachEvent(Y,Z),function(){O.detachEvent(Y,Z)};O.addEventListener(V,Z,!1);return function(){O.removeEventListener(V,Z,!1)}},Bb=ib(window,"load","onload",function(){k.pageLoaded=1;try{"complete"!=y.readyState&&(y.readyState="complete")}catch(O){}Bb()});ra=y.getElementsByTagName("script");for(B=0;!ta;)/^dojo/.test((ja=ra[B++])&&ja.type)||(ta=ja);
k.injectUrl=function(O,V,Y){Y=Y.node=y.createElement("script");var Z=ib(Y,"load","onreadystatechange",function(ea){ea=ea||window.event;var sa=ea.target||ea.srcElement;if("load"===ea.type||/complete|loaded/.test(sa.readyState))Z(),ca(),V&&V()}),ca=ib(Y,"error","onerror",function(ea){Z();ca();N("error",h("scriptError: "+O,[O,ea]))});Y.type="text/javascript";Y.charset="utf-8";Y.src=O;ta.parentNode.insertBefore(Y,ta);return Y};k.log=function(){try{for(var O=0;O<arguments.length;O++);}catch(V){}};k.trace=
l;if(u("foreign-loader"))Za=l;else{var Za=function(O,V,Y){var Z=arguments.length,ca=["require","exports","module"],ea=[0,O,V];1==Z?ea=[0,d(O)?ca:[],O]:2==Z&&c(O)?ea=[O,d(V)?ca:[],V]:3==Z&&(ea=[O,V,Y]);k.trace("loader-define",ea.slice(0,2));if((Z=ea[0]&&Ca(ea[0]))&&!na[Z.mid])xa(hb(Z,ea[1],ea[2]));else if(!u("ie-event-behavior")||gb)Ha.push(ea);else{Z=Z||Ra;if(!Z)for(O in na)if((ca=da[O])&&ca.node&&"interactive"===ca.node.readyState){Z=ca;break}Z?(va(Z),xa(hb(Z,ea[1],ea[2]))):N("error",h("ieDefineFailed",
ea[0]));Ga()}};Za.amd={vendor:"dojotoolkit.org"}}e(e(k,C.loaderPatch),A.loaderPatch);Q("error",function(O){try{if(O instanceof Error)for(var V in O);}catch(Y){}});e(k,{uid:r,cache:ha,packs:R});if(m.define)N("error",h("defineAlreadyDefined",0));else if(m.define=Za,m.require=k,!u("foreign-loader")){b(fa,function(O){ia(O)});var ub=ka.deps||A.deps||C.deps,vb=ka.callback||A.callback||C.callback;k.boot=ub||vb?[ub||[],vb]:0}})(function(A){return A.dojoConfig||A.djConfig||A.require||{}},{async:0,hasCache:{"config-selectorEngine":"acme",
"config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:".",name:"dojo"}]});
require({cache:{"dojo/request/default":function(){define(["exports","require","../has"],function(A,C,B){var x=B("config-requestProvider");x||(x="./xhr");A.getPlatformDefaultId=function(){return"./xhr"};A.load=function(l,f,g,d){C(["platform"==l?"./xhr":x],function(c){g(c)})}})},"dojox/form/RangeSlider":function(){define(["dojo/_base/kernel","./_RangeSliderMixin","./HorizontalRangeSlider","./VerticalRangeSlider"],function(A,C){A.deprecated("Call require() for HorizontalRangeSlider / VerticalRangeSlider, explicitly rather than 'dojox.form.RangeSlider' itself",
"","2.0");return C})},"dojo/date":function(){define(["./has","./_base/lang"],function(A,C){var B={getDaysInMonth:function(x){var l=x.getMonth();return 1==l&&B.isLeapYear(x)?29:[31,28,31,30,31,30,31,31,30,31,30,31][l]},isLeapYear:function(x){x=x.getFullYear();return!(x%400)||!(x%4)&&!!(x%100)},getTimezoneName:function(x){var l=x.toString(),f="",g=l.indexOf("(");if(-1<g)f=l.substring(++g,l.indexOf(")"));else if(g=/([A-Z\/]+) \d{4}$/,l=l.match(g))f=l[1];else if(l=x.toLocaleString(),g=/ ([A-Z\/]+)$/,
l=l.match(g))f=l[1];return"AM"==f||"PM"==f?"":f},compare:function(x,l,f){x=new Date(+x);l=new Date(+(l||new Date));"date"==f?(x.setHours(0,0,0,0),l.setHours(0,0,0,0)):"time"==f&&(x.setFullYear(0,0,0),l.setFullYear(0,0,0));return x>l?1:x<l?-1:0},add:function(x,l,f){var g=new Date(+x),d=!1,c="Date";switch(l){case "day":break;case "weekday":if(l=f%5)var a=parseInt(f/5);else l=0<f?5:-5,a=0<f?(f-5)/5:(f+5)/5;var b=x.getDay(),e=0;6==b&&0<f?e=1:0==b&&0>f&&(e=-1);b+=l;if(0==b||6==b)e=0<f?2:-2;f=7*a+l+e;break;
case "year":c="FullYear";d=!0;break;case "week":f*=7;break;case "quarter":f*=3;case "month":d=!0;c="Month";break;default:c="UTC"+l.charAt(0).toUpperCase()+l.substring(1)+"s"}if(c)g["set"+c](g["get"+c]()+f);d&&g.getDate()<x.getDate()&&g.setDate(0);return g},difference:function(x,l,f){l=l||new Date;f=f||"day";var g=l.getFullYear()-x.getFullYear(),d=1;switch(f){case "quarter":x=x.getMonth();l=l.getMonth();d=Math.floor(l/3)+1+4*g-(Math.floor(x/3)+1);break;case "weekday":g=Math.round(B.difference(x,l,
"day"));f=parseInt(B.difference(x,l,"week"));if(0==g%7)g=5*f;else{d=0;var c=x.getDay(),a=l.getDay();f=parseInt(g/7);l=g%7;x=new Date(x);x.setDate(x.getDate()+7*f);x=x.getDay();if(0<g)switch(!0){case 6==c:d=-1;break;case 0==c:d=0;break;case 6==a:d=-1;break;case 0==a:d=-2;break;case 5<x+l:d=-2}else if(0>g)switch(!0){case 6==c:d=0;break;case 0==c:d=1;break;case 6==a:d=2;break;case 0==a:d=1;break;case 0>x+l:d=2}g=g+d-2*f}d=g;break;case "year":d=g;break;case "month":d=l.getMonth()-x.getMonth()+12*g;break;
case "week":d=parseInt(B.difference(x,l,"day")/7);break;case "day":d/=24;case "hour":d/=60;case "minute":d/=60;case "second":d/=1E3;case "millisecond":d*=l.getTime()-x.getTime()}return Math.round(d)}};C.mixin(C.getObject("dojo.date",!0),B);return B})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(A,C,B){function x(a){var b=!a;return function(e,h,n){var r=0,k=e&&e.length||0;k&&"string"==typeof e&&(e=e.split(""));if("string"==typeof h){if(C("csp-restrictions"))throw new TypeError("callback must be a function");
h=f[h]||d(h)}if(n)for(;r<k;++r){var m=!h.call(n,e[r],r,e);if(a^m)return!m}else for(;r<k;++r)if(m=!h(e[r],r,e),a^m)return!m;return b}}function l(a){var b=1,e=0,h=0;a||(b=e=h=-1);return function(n,r,k,m){if(m&&0<b)return c.lastIndexOf(n,r,k);m=n&&n.length||0;var y=a?m+h:e;k===g?k=a?e:m+h:0>k?(k=m+k,0>k&&(k=e)):k=k>=m?m+h:k;for(m&&"string"==typeof n&&(n=n.split(""));k!=y;k+=b)if(n[k]==r)return k;return-1}}var f={},g,d;C("csp-restrictions")||(d=function(a){return f[a]=new Function("item","index","array",
a)});var c={every:x(!1),some:x(!0),indexOf:l(!0),lastIndexOf:l(!1),forEach:function(a,b,e){var h=0,n=a&&a.length||0;n&&"string"==typeof a&&(a=a.split(""));if("string"==typeof b){if(C("csp-restrictions"))throw new TypeError("callback must be a function");b=f[b]||d(b)}if(e)for(;h<n;++h)b.call(e,a[h],h,a);else for(;h<n;++h)b(a[h],h,a)},map:function(a,b,e,h){var n=0,r=a&&a.length||0;h=new (h||Array)(r);r&&"string"==typeof a&&(a=a.split(""));if("string"==typeof b){if(C("csp-restrictions"))throw new TypeError("callback must be a function");
b=f[b]||d(b)}if(e)for(;n<r;++n)h[n]=b.call(e,a[n],n,a);else for(;n<r;++n)h[n]=b(a[n],n,a);return h},filter:function(a,b,e){var h=0,n=a&&a.length||0,r=[];n&&"string"==typeof a&&(a=a.split(""));if("string"==typeof b){if(C("csp-restrictions"))throw new TypeError("callback must be a function");b=f[b]||d(b)}if(e)for(;h<n;++h){var k=a[h];b.call(e,k,h,a)&&r.push(k)}else for(;h<n;++h)k=a[h],b(k,h,a)&&r.push(k);return r},clearCache:function(){f={}}};B.mixin(A,c);return c})},"dojo/currency":function(){define("./_base/array ./_base/lang ./number ./i18n ./i18n!./cldr/nls/currency ./cldr/monetary".split(" "),
function(A,C,B,x,l,f){var g={};C.setObject("dojo.currency",g);g._mixInDefaults=function(d){d=d||{};d.type="currency";var c=x.getLocalization("dojo.cldr","currency",d.locale)||{},a=d.currency,b=f.getData(a);A.forEach(["displayName","symbol","group","decimal"],function(e){b[e]=c[a+"_"+e]});b.fractional=[!0,!1];return C.mixin(b,d)};g.format=function(d,c){return B.format(d,g._mixInDefaults(c))};g.regexp=function(d){return B.regexp(g._mixInDefaults(d))};g.parse=function(d,c){return B.parse(d,g._mixInDefaults(c))};
return g})},"dijit/selection":function(){define("dojo/_base/array dojo/dom dojo/_base/lang dojo/sniff dojo/_base/window dijit/focus".split(" "),function(A,C,B,x,l,f){var g=function(c){var a=c.document;this.getType=function(){if(a.getSelection){var b="text";try{var e=c.getSelection()}catch(h){}e&&1==e.rangeCount&&(e=e.getRangeAt(0),e.startContainer==e.endContainer&&1==e.endOffset-e.startOffset&&3!=e.startContainer.nodeType&&(b="control"));return b}return a.selection.type.toLowerCase()};this.getSelectedText=
function(){if(a.getSelection){var b=c.getSelection();return b?b.toString():""}return"control"==this.getType()?null:a.selection.createRange().text};this.getSelectedHtml=function(){if(a.getSelection){var b=c.getSelection();if(b&&b.rangeCount){var e,h="";for(e=0;e<b.rangeCount;e++){var n=b.getRangeAt(e).cloneContents(),r=a.createElement("div");r.appendChild(n);h+=r.innerHTML}return h}return null}return"control"==this.getType()?null:a.selection.createRange().htmlText};this.getSelectedElement=function(){if("control"==
this.getType()){if(a.getSelection){var b=c.getSelection();return b.anchorNode.childNodes[b.anchorOffset]}if((b=a.selection.createRange())&&b.item)return a.selection.createRange().item(0)}return null};this.getParentElement=function(){if("control"==this.getType()){var b=this.getSelectedElement();if(b)return b.parentNode}else if(a.getSelection){if(b=a.getSelection()){for(b=b.anchorNode;b&&1!=b.nodeType;)b=b.parentNode;return b}}else return b=a.selection.createRange(),b.collapse(!0),b.parentElement();
return null};this.hasAncestorElement=function(b){return null!=this.getAncestorElement.apply(this,arguments)};this.getAncestorElement=function(b){var e=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(e,arguments)};this.isTag=function(b,e){if(b&&b.tagName)for(var h=b.tagName.toLowerCase(),n=0;n<e.length;n++){var r=String(e[n]).toLowerCase();if(h==r)return r}return""};this.getParentOfType=function(b,e){for(;b;){if(this.isTag(b,e).length)return b;b=b.parentNode}return null};
this.collapse=function(b){if(a.getSelection){var e=c.getSelection();e.removeAllRanges?b?e.collapseToStart():e.collapseToEnd():e.collapse(b)}else e=a.selection.createRange(),e.collapse(b),e.select()};this.remove=function(){var b=a.selection;a.getSelection?(b=c.getSelection(),b.deleteFromDocument()):"none"!=b.type.toLowerCase()&&b.clear();return b};this.selectElementChildren=function(b,e){b=C.byId(b);if(a.getSelection){var h=c.getSelection();if(x("opera")){var n=h.rangeCount?h.getRangeAt(0):a.createRange();
n.setStart(b,0);n.setEnd(b,3==b.nodeType?b.length:b.childNodes.length);h.addRange(n)}else h.selectAllChildren(b)}else if(n=b.ownerDocument.body.createTextRange(),n.moveToElementText(b),!e)try{n.select()}catch(r){}};this.selectElement=function(b,e){b=C.byId(b);if(a.getSelection){var h=a.getSelection();var n=a.createRange();h.removeAllRanges&&(x("opera")&&h.getRangeAt(0)&&(n=h.getRangeAt(0)),n.selectNode(b),h.removeAllRanges(),h.addRange(n))}else try{h=b.tagName?b.tagName.toLowerCase():"",n="img"===
h||"table"===h?l.body(a).createControlRange():l.body(a).createRange(),n.addElement(b),e||n.select()}catch(r){this.selectElementChildren(b,e)}};this.inSelection=function(b){if(b){var e;if(a.getSelection){var h=c.getSelection();h&&0<h.rangeCount&&(e=h.getRangeAt(0));if(e&&e.compareBoundaryPoints&&a.createRange)try{var n=a.createRange();n.setStart(b,0);if(1===e.compareBoundaryPoints(e.START_TO_END,n))return!0}catch(r){}}else{e=a.selection.createRange();try{n=b.ownerDocument.body.createTextRange(),n.moveToElementText(b)}catch(r){}if(e&&
n&&1===e.compareEndPoints("EndToStart",n))return!0}}return!1};this.getBookmark=function(){var b,e=a.selection,h=f.curNode;if(a.getSelection){if(e=c.getSelection())if(e.isCollapsed){if(b=h?h.tagName:"")if(b=b.toLowerCase(),"textarea"==b||"input"==b&&(!h.type||"text"==h.type.toLowerCase()))return e={start:h.selectionStart,end:h.selectionEnd,node:h,pRange:!0},{isCollapsed:e.end<=e.start,mark:e};b={isCollapsed:!0};e.rangeCount&&(b.mark=e.getRangeAt(0).cloneRange())}else{var n=e.getRangeAt(0);b={isCollapsed:!1,
mark:n.cloneRange()}}}else if(e){b=h?h.tagName:"";b=b.toLowerCase();if(h&&b&&("button"==b||"textarea"==b||"input"==b)){if(e.type&&"none"==e.type.toLowerCase())return{isCollapsed:!0,mark:null};n=e.createRange();return{isCollapsed:n.text&&n.text.length?!1:!0,mark:{range:n,pRange:!0}}}b={};try{n=e.createRange(),b.isCollapsed=!("Text"==e.type?n.htmlText.length:n.length)}catch(r){return b.isCollapsed=!0,b}if("CONTROL"==e.type.toUpperCase())if(n.length)for(b.mark=[],e=0,h=n.length;e<h;)b.mark.push(n.item(e++));
else b.isCollapsed=!0,b.mark=null;else b.mark=n.getBookmark()}return b};this.moveToBookmark=function(b){if(b=b.mark)if(a.getSelection){var e=c.getSelection();e&&e.removeAllRanges&&(b.pRange?(e=b.node,e.selectionStart=b.start,e.selectionEnd=b.end):(e.removeAllRanges(),e.addRange(b)))}else if(a.selection&&b){if(b.pRange)var h=b.range;else B.isArray(b)?(h=a.body.createControlRange(),A.forEach(b,function(n){h.addElement(n)})):(h=a.body.createTextRange(),h.moveToBookmark(b));h.select()}};this.isCollapsed=
function(){return this.getBookmark().isCollapsed}},d=new g(window);d.SelectionManager=g;return d})},"dojox/form/manager/_NodeMixin":function(){define("dojo/_base/lang dojo/_base/array dojo/on dojo/dom dojo/dom-attr dojo/query ./_Mixin dijit/form/_FormWidget dijit/_base/manager dojo/_base/declare".split(" "),function(A,C,B,x,l,f,g,d,c,a){g=A.getObject("dojox.form.manager",!0);var b=g.actionAdapter,e=g._keys,h=g.changeEvent=function(m){var y="click";switch(m.tagName.toLowerCase()){case "textarea":y=
"keyup";break;case "select":y="change";break;case "input":switch(m.type.toLowerCase()){case "text":case "password":y="keyup"}}return y},n=function(m,y){var p=l.get(m,"name");y=y||this.domNode;if(!p||p in this.formWidgets)p=null;else{for(var u=m;u&&u!==y;u=u.parentNode)if(l.get(u,"widgetId")&&c.byNode(u).isInstanceOf(d))return null;"input"==m.tagName.toLowerCase()&&"radio"==m.type.toLowerCase()?(u=(u=this.formNodes[p])&&u.node)&&A.isArray(u)?u.push(m):this.formNodes[p]={node:[m],connections:[]}:this.formNodes[p]=
{node:m,connections:[]}}return p},r=function(m){var y={};b(function(p,u){var w=l.get(u,"data-dojo-observer")||l.get(u,"observer");w&&"string"==typeof w&&C.forEach(w.split(","),function(q){(q=A.trim(q))&&A.isFunction(this[q])&&(y[q]=1)},this)}).call(this,null,this.formNodes[m].node);return e(y)},k=function(m,y){var p=this.formNodes[m],u=p.connections;u.length&&(C.forEach(u,function(w){w.remove()}),u=p.connections=[]);b(function(w,q){var t=h(q);C.forEach(y,function(z){u.push(B(q,t,A.hitch(this,function(D){if(this.watching)this[z](this.formNodeValue(m),
m,q,D)})))},this)}).call(this,null,p.node)};return a("dojox.form.manager._NodeMixin",null,{destroy:function(){for(var m in this.formNodes)C.forEach(this.formNodes[m].connections,function(y){y.remove()});this.formNodes={};this.inherited(arguments)},registerNode:function(m){"string"==typeof m&&(m=x.byId(m));(m=n.call(this,m))&&k.call(this,m,r.call(this,m));return this},unregisterNode:function(m){m in this.formNodes&&(C.forEach(this.formNodes[m].connections,function(y){y.remove()}),delete this.formNodes[m]);
return this},registerNodeDescendants:function(m){"string"==typeof m&&(m=x.byId(m));f("input, select, textarea, button",m).map(function(y){return n.call(this,y,m)},this).forEach(function(y){y&&k.call(this,y,r.call(this,y))},this);return this},unregisterNodeDescendants:function(m){"string"==typeof m&&(m=x.byId(m));f("input, select, textarea, button",m).map(function(y){return l.get(m,"name")||null}).forEach(function(y){y&&this.unregisterNode(y)},this);return this},formNodeValue:function(m,y){var p=2==
arguments.length&&void 0!==y;"string"==typeof m&&(m=this.formNodes[m])&&(m=m.node);if(!m)return null;if(A.isArray(m)){if(p)return C.forEach(m,function(q){q.checked=""}),C.forEach(m,function(q){q.checked=q.value===y?"checked":""}),this;C.some(m,function(q){return q.checked?(w=q,!0):!1});return w?w.value:""}switch(m.tagName.toLowerCase()){case "select":if(m.multiple){if(p){if(A.isArray(y)){var u={};C.forEach(y,function(q){u[q]=1});f("\x3e option",m).forEach(function(q){q.selected=q.value in u});return this}f("\x3e option",
m).forEach(function(q){q.selected=q.value===y});return this}var w=f("\x3e option",m).filter(function(q){return q.selected}).map(function(q){return q.value});return 1==w.length?w[0]:w}return p?(f("\x3e option",m).forEach(function(q){q.selected=q.value===y}),this):m.value||"";case "button":return p?(m.innerHTML=""+y,this):m.innerHTML;case "input":if("checkbox"==m.type.toLowerCase())return p?(m.checked=y?"checked":"",this):!!m.checked}return p?(m.value=""+y,this):m.value},inspectFormNodes:function(m,
y,p){var u,w={};if(y)if(A.isArray(y))C.forEach(y,function(q){q in this.formNodes&&(w[q]=m.call(this,q,this.formNodes[q].node,p))},this);else for(u in y)u in this.formNodes&&(w[u]=m.call(this,u,this.formNodes[u].node,y[u]));else for(u in this.formNodes)w[u]=m.call(this,u,this.formNodes[u].node,p);return w}})})},"dojox/form/manager/_ValueMixin":function(){define(["dojo/_base/lang","dojo/_base/kernel","dojo/_base/declare"],function(A,C,B){return B("dojox.form.manager._ValueMixin",null,{elementValue:function(x,
l){return x in this.formWidgets?this.formWidgetValue(x,l):this.formNodes&&x in this.formNodes?this.formNodeValue(x,l):this.formPointValue(x,l)},gatherFormValues:function(x){var l=this.inspectFormWidgets(function(f){return this.formWidgetValue(f)},x);this.inspectFormNodes&&A.mixin(l,this.inspectFormNodes(function(f){return this.formNodeValue(f)},x));A.mixin(l,this.inspectAttachedPoints(function(f){return this.formPointValue(f)},x));return l},setFormValues:function(x){x&&(this.inspectFormWidgets(function(l,
f,g){this.formWidgetValue(l,g)},x),this.inspectFormNodes&&this.inspectFormNodes(function(l,f,g){this.formNodeValue(l,g)},x),this.inspectAttachedPoints(function(l,f,g){this.formPointValue(l,g)},x));return this}})})},"dojox/form/uploader/_HTML5":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array dojo dojo/request dojo/has".split(" "),function(A,C,B,x,l,f){return A("dojox.form.uploader._HTML5",[],{errMsg:"Error uploading files. Try checking permissions",uploadType:"html5",postMixInProperties:function(){this.inherited(arguments)},
postCreate:function(){this.connectForm();this.inherited(arguments);this.uploadOnSelect&&this.connect(this,"onChange",function(g){this.upload(g[0])})},_drop:function(g){x.stopEvent(g);this._files=g.dataTransfer.files;this.onChange(this.getFileList())},upload:function(g){this.onBegin(this.getFileList());this.uploadWithFormData(g)},addDropTarget:function(g,d){d||(this.connect(g,"dragenter",x.stopEvent),this.connect(g,"dragover",x.stopEvent),this.connect(g,"dragleave",x.stopEvent));this.connect(g,"drop",
"_drop")},uploadWithFormData:function(g){function d(n){e._xhrProgress(n);"load"===n.type&&(e.onComplete(h.response.data),h.response.xhr.removeEventListener("load",d,!1),h.response.xhr.upload.removeEventListener("progress",d,!1),h=null)}if(this.getUrl()){var c=new FormData,a=this._getFileFieldName();B.forEach(this._files,function(n,r){c.append(a,n)},this);if(g){g.uploadType=this.uploadType;for(var b in g)c.append(b,g[b])}var e=this,h=l(this.getUrl(),{method:"POST",data:c,handleAs:"json",uploadProgress:!0,
headers:{Accept:"application/json"}},!0);h.promise.response.otherwise(function(n){e.onError(n)});f("native-xhr2")?(h.response.xhr.addEventListener("load",d,!1),h.response.xhr.upload.addEventListener("progress",d,!1)):h.promise.then(function(n){e.onComplete(n)})}},_xhrProgress:function(g){if(g.lengthComputable){var d={bytesLoaded:g.loaded,bytesTotal:g.total,type:g.type,timeStamp:g.timeStamp};"load"==g.type?(d.percent="100%",d.decimal=1):(d.decimal=g.loaded/g.total,d.percent=Math.ceil(g.loaded/g.total*
100)+"%");this.onProgress(d)}}})})},"dojox/grid/DataGrid":function(){define("../main dojo/_base/array dojo/_base/lang dojo/_base/json dojo/_base/sniff dojo/_base/declare ./_Grid ./DataSelection dojo/_base/html dojo/has dojo/has!dojo-bidi?./bidi/_BidiMixin".split(" "),function(A,C,B,x,l,f,g,d,c){var a=f("dojox.grid.DataGrid",g,{store:null,query:null,queryOptions:null,fetchText:"...",sortFields:null,updateDelay:1,items:null,_store_connects:null,_by_idty:null,_by_idx:null,_cache:null,_pages:null,_pending_requests:null,
_bop:-1,_eop:-1,_requests:0,rowCount:0,_isLoaded:!1,_isLoading:!1,keepSelection:!1,postCreate:function(){this._pages=[];this._store_connects=[];this._by_idty={};this._by_idx=[];this._cache=[];this._pending_requests={};this._setStore(this.store);this.inherited(arguments)},destroy:function(){this.selection.destroy();this.inherited(arguments)},createSelection:function(){this.selection=new d(this)},get:function(b,e){if(e&&"_item"==this.field&&!this.fields)return e;if(e&&this.fields){var h=[],n=this.grid.store;
C.forEach(this.fields,function(r){h=h.concat(n.getValues(e,r))});return h}return e||"string"!==typeof b?e?this.field?"_item"==this.field?e:this.grid.store.getValue(e,this.field):this.value:this.defaultValue:this.inherited(arguments)},_checkUpdateStatus:function(){if(0<this.updateDelay){var b=!1;this._endUpdateDelay&&(clearTimeout(this._endUpdateDelay),delete this._endUpdateDelay,b=!0);this.updating||(this.beginUpdate(),b=!0);if(b){var e=this;this._endUpdateDelay=setTimeout(function(){delete e._endUpdateDelay;
e.endUpdate()},this.updateDelay)}}},_onSet:function(b,e,h,n){this._checkUpdateStatus();b=this.getItemIndex(b);-1<b&&this.updateRow(b)},_createItem:function(b,e){var h=this._hasIdentity?this.store.getIdentity(b):x.toJson(this.query)+":idx:"+e+":sort:"+x.toJson(this.getSortProps());return this._by_idty[h]={idty:h,item:b}},_addItem:function(b,e,h){this._by_idx[e]=this._createItem(b,e);h||this.updateRow(e)},_onNew:function(b,e){this._checkUpdateStatus();var h=this.get("rowCount");this._addingItem=!0;
this.updateRowCount(h+1);this._addingItem=!1;this._addItem(b,h);this.showMessage()},_onDelete:function(b){this._checkUpdateStatus();b=this._getItemIndex(b,!0);if(0<=b){this._pages=[];this._eop=this._bop=-1;var e=this._by_idx[b];this._by_idx.splice(b,1);delete this._by_idty[e.idty];this.updateRowCount(this.get("rowCount")-1);0===this.get("rowCount")&&this.showMessage(this.noDataMessage)}this.selection.isSelected(b)&&(this.selection.deselect(b),this.selection.selected.splice(b,1))},_onRevert:function(){this._refresh()},
setStore:function(b,e,h){this._requestsPending(0)||(this._setQuery(e,h),this._setStore(b),this._refresh(!0))},setQuery:function(b,e){this._requestsPending(0)||(this._setQuery(b,e),this._refresh(!0))},setItems:function(b){this.items=b;this._setStore(this.store);this._refresh(!0)},_setQuery:function(b,e){this.query=b;this.queryOptions=e||this.queryOptions},_setStore:function(b){this.store&&this._store_connects&&C.forEach(this._store_connects,this.disconnect,this);if(this.store=b){b=this.store.getFeatures();
var e=[];this._canEdit=!!b["dojo.data.api.Write"]&&!!b["dojo.data.api.Identity"];this._hasIdentity=!!b["dojo.data.api.Identity"];b["dojo.data.api.Notification"]&&!this.items&&(e.push(this.connect(this.store,"onSet","_onSet")),e.push(this.connect(this.store,"onNew","_onNew")),e.push(this.connect(this.store,"onDelete","_onDelete")));this._canEdit&&e.push(this.connect(this.store,"revert","_onRevert"));this._store_connects=e}},_onFetchBegin:function(b,e){this.scroller&&(this.rowCount!=b&&(e.isRender?
(this.scroller.init(b,this.keepRows,this.rowsPerPage),this.rowCount=b,this._setAutoHeightAttr(this.autoHeight,!0),this._skipRowRenormalize=!0,this.prerender(),this._skipRowRenormalize=!1):this.updateRowCount(b)),b?this.showMessage():(this.views.render(),this._resize(),this.showMessage(this.noDataMessage),this.focus.initFocusView()))},_onFetchComplete:function(b,e){this.scroller&&(b&&0<b.length&&(C.forEach(b,function(h,n){this._addItem(h,e.start+n,!0)},this),this.updateRows(e.start,b.length),e.isRender?
(this.setScrollTop(0),this.postrender()):this._lastScrollTop&&this.setScrollTop(this._lastScrollTop),l("ie")&&c.setSelectable(this.domNode,this.selectable)),delete this._lastScrollTop,this._isLoaded||(this._isLoading=!1,this._isLoaded=!0),this._pending_requests[e.start]=!1)},_onFetchError:function(b,e){delete this._lastScrollTop;this._isLoaded||(this._isLoading=!1,this._isLoaded=!0,this.showMessage(this.errorMessage));this._pending_requests[e.start]=!1;this.onFetchError(b,e)},onFetchError:function(b,
e){},_fetch:function(b,e){b=b||0;if(this.store&&!this._pending_requests[b]){this._isLoaded||this._isLoading||(this._isLoading=!0,this.showMessage(this.loadingMessage));this._pending_requests[b]=!0;try{if(this.items){var h=this.items,n=this.store;this.rowsPerPage=h.length;var r={start:b,count:this.rowsPerPage,isRender:e};this._onFetchBegin(h.length,r);var k=0;C.forEach(h,function(y){n.isItemLoaded(y)||k++});if(0===k)this._onFetchComplete(h,r);else{var m=function(y){k--;0===k&&this._onFetchComplete(h,
r)};C.forEach(h,function(y){n.isItemLoaded(y)||n.loadItem({item:y,onItem:m,scope:this})},this)}}else this.store.fetch({start:b,count:this.rowsPerPage,query:this.query,sort:this.getSortProps(),queryOptions:this.queryOptions,isRender:e,onBegin:B.hitch(this,"_onFetchBegin"),onComplete:B.hitch(this,"_onFetchComplete"),onError:B.hitch(this,"_onFetchError")})}catch(y){this._onFetchError(y,{start:b,count:this.rowsPerPage})}}},_clearData:function(){this.updateRowCount(0);this._by_idty={};this._by_idx=[];
this._pages=[];this._bop=this._eop=-1;this._isLoading=this._isLoaded=!1},getItem:function(b){var e=this._by_idx[b];return!e||e&&!e.item?(this._preparePage(b),null):e.item},getItemIndex:function(b){return this._getItemIndex(b,!1)},_getItemIndex:function(b,e){if(!e&&!this.store.isItem(b))return-1;for(var h=this._hasIdentity?this.store.getIdentity(b):null,n=0,r=this._by_idx.length;n<r;n++){var k=this._by_idx[n];if(k&&(h&&k.idty==h||k.item===b))return n}return-1},filter:function(b,e){this.query=b;e&&
this._clearData();this._fetch()},_getItemAttr:function(b,e){var h=this.getItem(b);return h?this.store.getValue(h,e):this.fetchText},_render:function(){this.domNode.parentNode&&(this.scroller.init(this.get("rowCount"),this.keepRows,this.rowsPerPage),this.prerender(),this._fetch(0,!0))},_requestsPending:function(b){return this._pending_requests[b]},_rowToPage:function(b){return this.rowsPerPage?Math.floor(b/this.rowsPerPage):b},_pageToRow:function(b){return this.rowsPerPage?this.rowsPerPage*b:b},_preparePage:function(b){(b<
this._bop||b>=this._eop)&&!this._addingItem&&(b=this._rowToPage(b),this._needPage(b),this._bop=b*this.rowsPerPage,this._eop=this._bop+(this.rowsPerPage||this.get("rowCount")))},_needPage:function(b){this._pages[b]||(this._pages[b]=!0,this._requestPage(b))},_requestPage:function(b){b=this._pageToRow(b);0<Math.min(this.rowsPerPage,this.get("rowCount")-b)&&(this._requests++,this._requestsPending(b)||setTimeout(B.hitch(this,"_fetch",b,!1),1))},getCellName:function(b){return b.field},_refresh:function(b){this._clearData();
this._fetch(0,b)},sort:function(){this.edit.apply();this._lastScrollTop=this.scrollTop;this._refresh()},canSort:function(){return!this._isLoading},getSortProps:function(){var b=this.getCell(this.getSortIndex());if(b){var e=b.sortDesc,h=!(0<this.sortInfo);return[{attribute:b.field,descending:"undefined"==typeof e?h:h?!e:e}]}return this.sortFields?this.sortFields:null},styleRowState:function(b){if(this.store&&this.store.getState){for(var e=this.store.getState(b.index),h="",n=0,r=["inflight","error",
"inserting"],k;k=r[n];n++)if(e[k]){h=" dojoxGridRow-"+k;break}b.customClasses+=h}},onStyleRow:function(b){this.styleRowState(b);this.inherited(arguments)},canEdit:function(b,e){return this._canEdit},_copyAttr:function(b,e){var h=this.getItem(b);return this.store.getValue(h,e)},doStartEdit:function(b,e){this._cache[e]||(this._cache[e]=this._copyAttr(e,b.field));this.onStartEdit(b,e)},doApplyCellEdit:function(b,e,h){this.store.fetchItemByIdentity({identity:this._by_idx[e].idty,onItem:B.hitch(this,function(n){var r=
this.store.getValue(n,h);"number"==typeof r?b=isNaN(b)?b:parseFloat(b):"boolean"==typeof r?b="true"==b?!0:"false"==b?!1:b:r instanceof Date&&(r=new Date(b),b=isNaN(r.getTime())?b:r);this.store.setValue(n,h,b);this.onApplyCellEdit(b,e,h)})})},doCancelEdit:function(b){this._cache[b]&&(this.updateRow(b),delete this._cache[b]);this.onCancelEdit.apply(this,arguments)},doApplyEdit:function(b,e){this.onApplyEdit(b)},removeSelectedRows:function(){if(this._canEdit){this.edit.apply();var b=B.hitch(this,function(e){e.length&&
(C.forEach(e,this.store.deleteItem,this.store),this.selection.clear())});this.allItemsSelected?this.store.fetch({query:this.query,queryOptions:this.queryOptions,onComplete:b}):b(this.selection.getSelected())}}});a.cell_markupFactory=function(b,e,h){var n=B.trim(c.attr(e,"field")||"");n&&(h.field=n);h.field=h.field||h.name;if(n=B.trim(c.attr(e,"fields")||""))h.fields=n.split(",");b&&b(e,h)};a.markupFactory=function(b,e,h,n){return g.markupFactory(b,e,h,B.partial(a.cell_markupFactory,n))};return a})},
"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(A,C,B,x){var l={fieldToObject:function(f){var g=null;if(f=C.byId(f)){var d=f.name,c=(f.type||"").toLowerCase();if(d&&c&&!f.disabled)if("radio"==c||"checkbox"==c)f.checked&&(g=f.value);else if(f.multiple)for(g=[],f=[f.firstChild];f.length;)for(d=f.pop();d;d=d.nextSibling)if(1==d.nodeType&&"option"==d.tagName.toLowerCase())d.selected&&g.push(d.value);else{d.nextSibling&&f.push(d.nextSibling);d.firstChild&&f.push(d.firstChild);
break}else g=f.value}return g},toObject:function(f){var g={};f=C.byId(f).elements;for(var d=0,c=f.length;d<c;++d){var a=f[d],b=a.name,e=(a.type||"").toLowerCase();if(b&&e&&0>"file|submit|image|reset|button".indexOf(e)&&!a.disabled){var h=g,n=b;a=l.fieldToObject(a);if(null!==a){var r=h[n];"string"==typeof r?h[n]=[r,a]:A.isArray(r)?r.push(a):h[n]=a}"image"==e&&(g[b+".x"]=g[b+".y"]=g[b].x=g[b].y=0)}}return g},toQuery:function(f){return B.objectToQuery(l.toObject(f))},toJson:function(f,g){return x.stringify(l.toObject(f),
null,g?4:0)}};return l})},"dojo/_base/query":function(){define(["../query","./NodeList"],function(A){return A})},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(A,C,B,x,l){var f=new A,g;B(function(){var d=l.getBox();f._rlh=C(window,"resize",function(){var a=l.getBox();if(d.h!=a.h||d.w!=a.w)d=a,f.emit("resize")});if(8==x("ie")){var c=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=c&&(c=screen.deviceXDPI,f.emit("resize"))},
500)}x("ios")&&(C(document,"focusin",function(a){g=a.target}),C(document,"focusout",function(a){g=null}))});f.getEffectiveBox=function(d){d=l.getBox(d);var c=g&&g.tagName&&g.tagName.toLowerCase();x("ios")&&g&&!g.readOnly&&("textarea"==c||"input"==c&&/^(color|email|number|password|search|tel|text|url)$/.test(g.type))&&(d.h*=0==orientation||180==orientation?.66:.4,c=g.getBoundingClientRect(),d.h=Math.max(d.h,c.top+c.height));return d};return f})},"dojox/grid/enhanced/plugins/Selector":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/_base/event dojo/keys dojo/query dojo/_base/html dojo/_base/window dijit/focus ../../_RowSelector ../_Plugin ../../EnhancedGrid ../../cells/_base ./AutoScroll".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){var n={col:"row",row:"col"},r=function(p,u,w,q,t){return"cell"!==p?(u=u[p],w=w[p],q=q[p],"number"!==typeof u||"number"!==typeof w||"number"!==typeof q?!1:t?u>=w&&u<q||u>q&&u<=w:u>=w&&u<=q||u>=q&&u<=w):r("col",u,w,q,t)&&r("row",u,w,q,t)},k=function(p,u,w){try{if(u&&w)switch(p){case "col":case "row":return u[p]==w[p]&&"number"==typeof u[p]&&!(n[p]in u)&&!(n[p]in w);case "cell":return u.col==w.col&&u.row==w.row&&"number"==typeof u.col&&"number"==typeof u.row}}catch(q){}return!1},
m=function(p){try{p&&p.preventDefault&&l.stop(p)}catch(u){}},y=function(p,u,w){switch(p){case "col":return{col:"undefined"==typeof w?u:w,except:[]};case "row":return{row:u,except:[]};case "cell":return{row:u,col:w}}return null};A=B("dojox.grid.enhanced.plugins.Selector",e,{name:"selector",constructor:function(p,u){this.grid=p;this._config={row:2,col:2,cell:2};this.noClear=u&&u.noClear;this.setupConfig(u);"single"===p.selectionMode&&(this._config.row=1);this._enabled=!0;this._selecting={};this._selected=
{col:[],row:[],cell:[]};this._startPoint={};this._currentPoint={};this._lastAnchorPoint={};this._lastEndPoint={};this._lastSelectedAnchorPoint={};this._lastSelectedEndPoint={};this._keyboardSelect={};this._lastType=null;this._selectedRowModified={};this._hacks();this._initEvents();this._initAreas();this._mixinGrid()},destroy:function(){this.inherited(arguments)},setupConfig:function(p){if(p&&C.isObject(p)){var u=["row","col","cell"],w;for(w in p)0<=x.indexOf(u,w)&&(this._config[w]=p[w]&&"disabled"!=
p[w]?"single"==p[w]?1:2:0);this.grid.selection.setMode(["none","single","extended"][this._config.row])}},isSelected:function(p,u,w){return this._isSelected(p,y(p,u,w))},toggleSelect:function(p,u,w){this._startSelect(p,y(p,u,w),2===this._config[p],!1,!1,!this.isSelected(p,u,w));this._endSelect(p)},select:function(p,u,w){this.isSelected(p,u,w)||this.toggleSelect(p,u,w)},deselect:function(p,u,w){this.isSelected(p,u,w)&&this.toggleSelect(p,u,w)},selectRange:function(p,u,w,q){this.grid._selectingRange=
!0;u="cell"==p?y(p,u.row,u.col):y(p,u);w="cell"==p?y(p,w.row,w.col):y(p,w);this._startSelect(p,u,!1,!1,!1,q);this._highlight(p,w,void 0===q?!0:q);this._endSelect(p);this.grid._selectingRange=!1},clear:function(p){this._clearSelection(p||"all")},isSelecting:function(p){return"undefined"==typeof p?this._selecting.col||this._selecting.row||this._selecting.cell:this._selecting[p]},selectEnabled:function(p){"undefined"==typeof p||this.isSelecting()||(this._enabled=!!p);return this._enabled},getSelected:function(p,
u){switch(p){case "cell":return x.map(this._selected[p],function(w){return w});case "col":case "row":return x.map(u?this._selected[p]:x.filter(this._selected[p],function(w){return 0===w.except.length}),function(w){return u?w:w[p]})}return[]},getSelectedCount:function(p,u){switch(p){case "cell":return this._selected[p].length;case "col":case "row":return(u?this._selected[p]:x.filter(this._selected[p],function(w){return 0===w.except.length})).length}return 0},getSelectedType:function(){var p=this._selected;
return" cell row row|cell col col|cell col|row col|row|cell".split(" ")[!!p.cell.length|!!p.row.length<<1|!!p.col.length<<2]},getLastSelectedRange:function(p){return this._lastAnchorPoint[p]?{start:this._lastAnchorPoint[p],end:this._lastEndPoint[p]}:null},_hacks:function(){var p=this.grid,u=function(v){if(v.cellNode)p.onMouseUp(v);p.onMouseUpRow(v)},w=C.hitch(p,"onMouseUp"),q=C.hitch(p,"onMouseDown"),t=function(v){v.cellNode.style.border="solid 1px"};x.forEach(p.views.views,function(v){v.content.domouseup=
u;v.header.domouseup=w;"dojox.grid._RowSelector"==v.declaredClass&&(v.domousedown=q,v.domouseup=w,v.dofocus=t)});p.selection.clickSelect=function(){};this._oldDeselectAll=p.selection.deselectAll;var z=this;p.selection.selectRange=function(v,E){z.selectRange("row",v,E,!0);p.selection.preserver&&p.selection.preserver._updateMapping(!0,!0,!1,v,E);p.selection.onChanged()};p.selection.deselectRange=function(v,E){z.selectRange("row",v,E,!1);p.selection.preserver&&p.selection.preserver._updateMapping(!0,
!1,!1,v,E);p.selection.onChanged()};p.selection.deselectAll=function(){p._selectingRange=!0;z._oldDeselectAll.apply(p.selection,arguments);z._clearSelection("all");p._selectingRange=!1;p.selection.preserver&&p.selection.preserver._updateMapping(!0,!1,!0);p.selection.onChanged()};var D=p.views.views[0];D instanceof b&&(D.doStyleRowNode=function(v,E){d.removeClass(E,"dojoxGridRow");d.addClass(E,"dojoxGridRowbar");d.addClass(E,"dojoxGridNonNormalizedCell");d.toggleClass(E,"dojoxGridRowbarOver",p.rows.isOver(v));
d.toggleClass(E,"dojoxGridRowbarSelected",!!p.selection.isSelected(v))});this.connect(p,"updateRow",function(v){x.forEach(p.layout.cells,function(E){this.isSelected("cell",v,E.index)&&this._highlightNode(E.getNode(v),!0)},this)})},_mixinGrid:function(){var p=this.grid;p.setupSelectorConfig=C.hitch(this,this.setupConfig);p.onStartSelect=function(){};p.onEndSelect=function(){};p.onStartDeselect=function(){};p.onEndDeselect=function(){};p.onSelectCleared=function(){}},_initEvents:function(){var p=this.grid,
u=this,w=C.partial,q=function(z,D){"row"===z&&(u._isUsingRowSelector=!0);if(u.selectEnabled()&&u._config[z]&&2!=D.button){if(u._keyboardSelect.col||u._keyboardSelect.row||u._keyboardSelect.cell)u._endSelect("all"),u._keyboardSelect.col=u._keyboardSelect.row=u._keyboardSelect.cell=0;u._usingKeyboard&&(u._usingKeyboard=!1);var v=y(z,D.rowIndex,D.cell&&D.cell.index);u._startSelect(z,v,D.ctrlKey,D.shiftKey)}},t=C.hitch(this,"_endSelect");this.connect(p,"onHeaderCellMouseDown",w(q,"col"));this.connect(p,
"onHeaderCellMouseUp",w(t,"col"));this.connect(p,"onRowSelectorMouseDown",w(q,"row"));this.connect(p,"onRowSelectorMouseUp",w(t,"row"));this.connect(p,"onCellMouseDown",function(z){z.cell&&z.cell.isRowSelector||(p.singleClickEdit&&(u._singleClickEdit=!0,p.singleClickEdit=!1),q(0==u._config.cell?"row":"cell",z))});this.connect(p,"onCellMouseUp",function(z){u._singleClickEdit&&(delete u._singleClickEdit,p.singleClickEdit=!0);t("all",z)});this.connect(p,"onCellMouseOver",function(z){"row"!=u._curType&&
u._selecting[u._curType]&&2==u._config[u._curType]&&(u._highlight("col",y("col",z.cell.index),u._toSelect),u._keyboardSelect.cell||u._highlight("cell",y("cell",z.rowIndex,z.cell.index),u._toSelect))});this.connect(p,"onHeaderCellMouseOver",function(z){u._selecting.col&&2==u._config.col&&u._highlight("col",y("col",z.cell.index),u._toSelect)});this.connect(p,"onRowMouseOver",function(z){u._selecting.row&&2==u._config.row&&u._highlight("row",y("row",z.rowIndex),u._toSelect)});this.connect(p,"onSelectedById",
"_onSelectedById");this.connect(p,"_onFetchComplete",function(){p._notRefreshSelection||this._refreshSelected(!0)});this.connect(p.scroller,"buildPage",function(){p._notRefreshSelection||this._refreshSelected(!0)});this.connect(c.doc,"onmouseup",w(t,"all"));this.connect(p,"onEndAutoScroll",function(z,D,v,E){v=u._selecting.cell;D=D?1:-1;z&&(v||u._selecting.row)?(z=v?"cell":"row",v=u._currentPoint[z],u._highlight(z,y(z,v.row+D,v.col),u._toSelect)):z||!v&&!u._selecting.col||(z=v?"cell":"col",v=u._currentPoint[z],
u._highlight(z,y(z,v.row,E),u._toSelect))});this.subscribe("dojox/grid/rearrange/move/"+p.id,"_onInternalRearrange");this.subscribe("dojox/grid/rearrange/copy/"+p.id,"_onInternalRearrange");this.subscribe("dojox/grid/rearrange/change/"+p.id,"_onExternalChange");this.subscribe("dojox/grid/rearrange/insert/"+p.id,"_onExternalChange");this.subscribe("dojox/grid/rearrange/remove/"+p.id,"clear");this.connect(p,"onSelected",function(z){this._selectedRowModified&&this._isUsingRowSelector?delete this._selectedRowModified:
this.grid._selectingRange||this.select("row",z)});this.connect(p,"onDeselected",function(z){this._selectedRowModified&&this._isUsingRowSelector?delete this._selectedRowModified:this.grid._selectingRange||this.deselect("row",z)})},_onSelectedById:function(p,u,w){if(!this.grid._noInternalMapping){var q=[this._lastAnchorPoint.row,this._lastEndPoint.row,this._lastSelectedAnchorPoint.row,this._lastSelectedEndPoint.row];q=q.concat(this._selected.row);var t=!1;x.forEach(q,function(z){z&&(z.id===p?(t=!0,
z.row=u):z.row===u&&z.id&&(z.row=-1))});!t&&w&&x.some(this._selected.row,function(z){return!z||z.id||z.except.length?!1:(z.id=p,z.row=u,!0)});t=!1;q=[this._lastAnchorPoint.cell,this._lastEndPoint.cell,this._lastSelectedAnchorPoint.cell,this._lastSelectedEndPoint.cell];q=q.concat(this._selected.cell);x.forEach(q,function(z){z&&(z.id===p?(t=!0,z.row=u):z.row===u&&z.id&&(z.row=-1))})}},onSetStore:function(){this._clearSelection("all")},_onInternalRearrange:function(p,u){try{this._refresh("col",!1);x.forEach(this._selected.row,
function(t){x.forEach(this.grid.layout.cells,function(z){this._highlightNode(z.getNode(t.row),!1)},this)},this);g(".dojoxGridRowSelectorSelected").forEach(function(t){d.removeClass(t,"dojoxGridRowSelectorSelected");d.removeClass(t,"dojoxGridRowSelectorSelectedUp");d.removeClass(t,"dojoxGridRowSelectorSelectedDown")});var w=[this._lastAnchorPoint[p],this._lastEndPoint[p],this._lastSelectedAnchorPoint[p],this._lastSelectedEndPoint[p]];if("cell"===p){this.selectRange("cell",u.to.min,u.to.max);var q=
this.grid.layout.cells;x.forEach(w,function(t){if(!t.converted)for(var z=u.from.min.row,D=u.to.min.row;z<=u.from.max.row;++z,++D)for(var v=u.from.min.col,E=u.to.min.col;v<=u.from.max.col;++v,++E){for(;q[v].hidden;)++v;for(;q[E].hidden;)++E;if(t.row==z&&t.col==v){t.row=D;t.col=E;t.converted=!0;return}}})}else w=this._selected.cell.concat(this._selected[p]).concat(w).concat([this._lastAnchorPoint.cell,this._lastEndPoint.cell,this._lastSelectedAnchorPoint.cell,this._lastSelectedEndPoint.cell]),x.forEach(w,
function(t){if(t&&!t.converted){var z=t[p];z in u&&(t[p]=u[z]);t.converted=!0}}),x.forEach(this._selected[n[p]],function(t){for(var z=0,D=t.except.length;z<D;++z){var v=t.except[z];v in u&&(t.except[z]=u[v])}});x.forEach(w,function(t){t&&delete t.converted});this._refreshSelected(!0);this._focusPoint(p,this._lastEndPoint)}catch(t){}},_onExternalChange:function(p,u){this.selectRange(p,"cell"==p?u.min:u[0],"cell"==p?u.max:u[u.length-1])},_refresh:function(p,u){this._keyboardSelect[p]||x.forEach(this._selected[p],
function(w){this._highlightSingle(p,u,w,void 0,!0)},this)},_refreshSelected:function(){this._refresh("col",!0);this._refresh("row",!0);this._refresh("cell",!0)},_initAreas:function(){var p=this.grid,u=p.focus,w=this,q=function(D,v,E,F,H){var J=w._keyboardSelect;if(H.shiftKey&&J[D]){if(1===J[D]){if("cell"===D){var G=w._lastEndPoint[D];if(u.cell!=p.layout.cells[G.col+F]||u.rowIndex!=G.row+E){J[D]=0;return}}w._startSelect(D,w._lastAnchorPoint[D],!0,!1,!0);w._highlight(D,w._lastEndPoint[D],w._toSelect);
J[D]=2}v=v(D,E,F,H);w._isValid(D,v,p)&&w._highlight(D,v,w._toSelect);m(H)}},t=function(D,v,E,F){if(F&&w.selectEnabled()&&0!=w._config[D])switch(E.keyCode){case f.SPACE:w._startSelect(D,v(),E.ctrlKey,E.shiftKey);w._endSelect(D);break;case f.SHIFT:2==w._config[D]&&w._isValid(D,w._lastAnchorPoint[D],p)&&(w._endSelect(D),w._keyboardSelect[D]=1,w._usingKeyboard=!0)}},z=function(D,v,E){E&&v.keyCode==f.SHIFT&&w._keyboardSelect[D]&&(w._endSelect(D),w._keyboardSelect[D]=0)};p.views.views[0]instanceof b&&(this._lastFocusedRowBarIdx=
0,u.addArea({name:"rowHeader",onFocus:function(D,v){var E=p.views.views[0];if(E instanceof b){var F=E.getCellNode(w._lastFocusedRowBarIdx,0);F&&d.toggleClass(F,u.focusClass,!1);D&&"rowIndex"in D&&(0<=D.rowIndex?w._lastFocusedRowBarIdx=D.rowIndex:w._lastFocusedRowBarIdx||(w._lastFocusedRowBarIdx=0));if(F=E.getCellNode(w._lastFocusedRowBarIdx,0))a.focus(F),d.toggleClass(F,u.focusClass,!0);u.rowIndex=w._lastFocusedRowBarIdx;m(D);return!0}return!1},onBlur:function(D,v){var E=p.views.views[0];E instanceof
b&&((E=E.getCellNode(w._lastFocusedRowBarIdx,0))&&d.toggleClass(E,u.focusClass,!1),m(D));return!0},onMove:function(D,v,E){v=p.views.views[0];if(D&&v instanceof b&&(D=w._lastFocusedRowBarIdx+D,0<=D&&D<p.rowCount)){m(E);E=v.getCellNode(w._lastFocusedRowBarIdx,0);d.toggleClass(E,u.focusClass,!1);E=p.scroller;var F=E.getLastPageRow(E.page),H=Math.min(p.rowCount-1,D);D>F&&p.setScrollTop(p.scrollTop+E.findScrollTop(H)-E.findScrollTop(w._lastFocusedRowBarIdx));E=v.getCellNode(D,0);a.focus(E);d.toggleClass(E,
u.focusClass,!0);w._lastFocusedRowBarIdx=D;u.cell=E;u.cell.view=v;u.cell.getNode=function(J){return u.cell};u.rowIndex=w._lastFocusedRowBarIdx;u.scrollIntoView();u.cell=null}}}),u.placeArea("rowHeader","before","content"));u.addArea({name:"cellselect",onMove:C.partial(q,"cell",function(D,v,E,F){D=w._currentPoint[D];return y("cell",D.row+v,D.col+E)}),onKeyDown:C.partial(t,"cell",function(){return y("cell",u.rowIndex,u.cell.index)}),onKeyUp:C.partial(z,"cell")});u.placeArea("cellselect","below","content");
u.addArea({name:"colselect",onMove:C.partial(q,"col",function(D,v,E,F){return y("col",w._currentPoint[D].col+E)}),onKeyDown:C.partial(t,"col",function(){return y("col",u.getHeaderIndex())}),onKeyUp:C.partial(z,"col")});u.placeArea("colselect","below","header");u.addArea({name:"rowselect",onMove:C.partial(q,"row",function(D,v,E,F){return y("row",u.rowIndex)}),onKeyDown:C.partial(t,"row",function(){return y("row",u.rowIndex)}),onKeyUp:C.partial(z,"row")});u.placeArea("rowselect","below","rowHeader")},
_clearSelection:function(p,u){"all"==p?(this._clearSelection("cell",u),this._clearSelection("col",u),this._clearSelection("row",u)):(this._isUsingRowSelector=!0,x.forEach(this._selected[p],function(w){k(p,u,w)||this._highlightSingle(p,!1,w)},this),this._blurPoint(p,this._currentPoint),this._selecting[p]=!1,this._startPoint[p]=this._currentPoint[p]=null,this._selected[p]=[],"row"!=p||this.grid._selectingRange||(this._oldDeselectAll.call(this.grid.selection),this.grid.selection._selectedById={}),this.grid.onEndDeselect(p,
null,null,this._selected),this.grid.onSelectCleared(p))},_startSelect:function(p,u,w,q,t,z){if(this._isValid(p,u)){var D=this._isSelected(p,this._lastEndPoint[p]),v=this._isSelected(p,u);this._toSelect=this.noClear&&!w?void 0===z?!0:z:t?v:!v;if(!w||!v&&1==this._config[p])this._clearSelection("col",u),this._clearSelection("cell",u),(!this.noClear||"row"===p&&1==this._config[p])&&this._clearSelection("row",u),this._toSelect=void 0===z?!0:z;this._selecting[p]=!0;this._currentPoint[p]=null;q&&this._lastType==
p&&D==this._toSelect&&2==this._config[p]?("row"===p&&(this._isUsingRowSelector=!0),this._startPoint[p]=this._lastAnchorPoint[p],this._highlight(p,this._startPoint[p]),this._isUsingRowSelector=!1):this._startPoint[p]=u;this._curType=p;this._fireEvent("start",p);this._isUsingRowSelector=this._isStartFocus=!0;this._highlight(p,u,this._toSelect);this._isStartFocus=!1}},_endSelect:function(p){"row"===p&&delete this._isUsingRowSelector;"all"==p?(this._endSelect("col"),this._endSelect("row"),this._endSelect("cell")):
this._selecting[p]&&(this._addToSelected(p),this._lastAnchorPoint[p]=this._startPoint[p],this._lastEndPoint[p]=this._currentPoint[p],this._toSelect&&(this._lastSelectedAnchorPoint[p]=this._lastAnchorPoint[p],this._lastSelectedEndPoint[p]=this._lastEndPoint[p]),this._startPoint[p]=this._currentPoint[p]=null,this._selecting[p]=!1,this._lastType=p,this._fireEvent("end",p))},_fireEvent:function(p,u){switch(p){case "start":this.grid[this._toSelect?"onStartSelect":"onStartDeselect"](u,this._startPoint[u],
this._selected);break;case "end":this.grid[this._toSelect?"onEndSelect":"onEndDeselect"](u,this._lastAnchorPoint[u],this._lastEndPoint[u],this._selected)}},_calcToHighlight:function(p,u,w,q){if(void 0!==q){if(this._usingKeyboard&&!w&&this._isInLastRange(this._lastType,u)){var t=this._isSelected(p,u);if(q&&t)return!1;if(!q&&!t&&this._isInLastRange(this._lastType,u,!0))return!0}return w?q:t||this._isSelected(p,u)}return w},_highlightNode:function(p,u){p&&(d.toggleClass(p,"dojoxGridRowSelected",u),d.toggleClass(p,
"dojoxGridCellSelected",u))},_highlightHeader:function(p,u){var w=this.grid.layout.cells[p].getHeaderNode();d.toggleClass(w,"dojoxGridHeaderSelected",u)},_highlightRowSelector:function(p,u){var w=this.grid.views.views[0];w instanceof b&&(w=w.getRowNode(p))&&d.toggleClass(w,"dojoxGridRowSelectorSelected",u)},_highlightSingle:function(p,u,w,q,t){var z=this,D=z.grid,v=D.layout.cells;switch(p){case "cell":var E=this._calcToHighlight(p,w,u,q);p=v[w.col];p.hidden||p.notselectable||this._highlightNode(w.node||
p.getNode(w.row),E);break;case "col":E=this._calcToHighlight(p,w,u,q);this._highlightHeader(w.col,E);g("td[idx\x3d'"+w.col+"']",D.domNode).forEach(function(F){var H=v[w.col].view.content.findRowTarget(F);H&&z._highlightSingle("cell",E,{row:H[dojox.grid.util.rowIndexTag],col:w.col,node:F})});break;case "row":E=this._calcToHighlight(p,w,u,q),this._highlightRowSelector(w.row,E),this._config.cell&&x.forEach(v,function(F){z._highlightSingle("cell",E,{row:w.row,col:F.index,node:F.getNode(w.row)})}),this._selectedRowModified=
!0,t||D.selection.setSelected(w.row,E)}},_highlight:function(p,u,w){if(this._selecting[p]&&null!==u){var q=this._startPoint[p],t=this._currentPoint[p],z=this,D=function(v,E,F){z._forEach(p,v,E,function(H){z._highlightSingle(p,F,H,w)},!0)};switch(p){case "col":case "row":null!==t?r(p,u,q,t,!0)?D(t,u,!1):(r(p,q,u,t,!0)&&(D(t,q,!1),t=q),D(u,t,!0)):this._highlightSingle(p,!0,u,w);break;case "cell":null!==t&&(r("row",u,q,t,!0)||r("col",u,q,t,!0)||r("row",q,u,t,!0)||r("col",q,u,t,!0))&&D(q,t,!1),D(q,u,
!0)}this._currentPoint[p]=u;this._focusPoint(p,this._currentPoint)}},_focusPoint:function(p,u){if(!this._isStartFocus){var w=u[p],q=this.grid.focus;"col"==p?(q._colHeadFocusIdx=w.col,q.focusArea("header")):"row"==p?q.focusArea("rowHeader",{rowIndex:w.row}):"cell"==p&&q.setFocusIndex(w.row,w.col)}},_blurPoint:function(p,u){var w=this.grid.focus;"cell"==p&&w._blurContent()},_addToSelected:function(p){var u=this._toSelect,w=this,q=[],t=[],z=this._startPoint[p],D=this._currentPoint[p];this._usingKeyboard&&
this._forEach(p,this._lastAnchorPoint[p],this._lastEndPoint[p],function(v){r(p,v,z,D)||(u?t:q).push(v)});this._forEach(p,z,D,function(v){var E=w._isSelected(p,v);u&&!E?q.push(v):u||t.push(v)});this._add(p,q);this._remove(p,t);x.forEach(this._selected.row,function(v){0<v.except.length&&(this._selectedRowModified=!0,this.grid.selection.setSelected(v.row,!1))},this)},_forEach:function(p,u,w,q,t){if(this._isValid(p,u,!0)&&this._isValid(p,w,!0))switch(p){case "col":case "row":u=u[p];w=w[p];var z=w>u?1:
-1;for(t||(w+=z);u!=w;u+=z)q(y(p,u));break;case "cell":t=w.col>u.col?1:-1;z=w.row>u.row?1:-1;for(var D=u.row,v=w.row+z;D!=v;D+=z)for(var E=u.col,F=w.col+t;E!=F;E+=t)q(y(p,D,E))}},_makeupForExceptions:function(p,u){var w=[];x.forEach(this._selected[p],function(q){x.forEach(u,function(t){if(q[p]==t[p]){var z=x.indexOf(q.except,t[n[p]]);0<=z&&q.except.splice(z,1);w.push(t)}})});return w},_makeupForCells:function(p,u){var w=[];x.forEach(this._selected.cell,function(q){x.some(u,function(t){return q[p]==
t[p]?(w.push(q),!0):!1})});this._remove("cell",w);x.forEach(this._selected[n[p]],function(q){x.forEach(u,function(t){t=x.indexOf(q.except,t[p]);0<=t&&q.except.splice(t,1)})})},_addException:function(p,u){x.forEach(this._selected[p],function(w){x.forEach(u,function(q){w.except.push(q[n[p]])})})},_addCellException:function(p,u){x.forEach(this._selected[p],function(w){x.forEach(u,function(q){w[p]==q[p]&&w.except.push(q[n[p]])})})},_add:function(p,u){var w=this.grid.layout.cells;if("cell"==p){var q=this._makeupForExceptions("col",
u),t=this._makeupForExceptions("row",u);u=x.filter(u,function(z){return 0>x.indexOf(q,z)&&0>x.indexOf(t,z)&&!w[z.col].hidden&&!w[z.col].notselectable})}else"col"==p&&(u=x.filter(u,function(z){return!w[z.col].hidden&&!w[z.col].notselectable})),this._makeupForCells(p,u),this._selected[p]=x.filter(this._selected[p],function(z){return x.every(u,function(D){return z[p]!==D[p]})});"col"!=p&&this.grid._hasIdentity&&x.forEach(u,function(z){var D=this.grid._by_idx[z.row];D&&(z.id=D.idty)},this);this._selected[p]=
this._selected[p].concat(u)},_remove:function(p,u){var w=C.partial(k,p);this._selected[p]=x.filter(this._selected[p],function(q){return!x.some(u,function(t){return w(q,t)})});"cell"==p?(this._addCellException("col",u),this._addCellException("row",u)):this._config.cell&&this._addException(n[p],u)},_isCellNotInExcept:function(p,u){var w=u[p],q=u[n[p]];return x.some(this._selected[p],function(t){return t[p]==w&&0>x.indexOf(t.except,q)})},_isSelected:function(p,u){if(!u)return!1;var w=x.some(this._selected[p],
function(q){var t=k(p,u,q);return t&&"cell"!==p?0===q.except.length:t});w||"cell"!==p||(w=this._isCellNotInExcept("col",u)||this._isCellNotInExcept("row",u),"cell"===p&&(w=w&&!this.grid.layout.cells[u.col].notselectable));return w},_isInLastRange:function(p,u,w){var q=this[w?"_lastSelectedAnchorPoint":"_lastAnchorPoint"][p];w=this[w?"_lastSelectedEndPoint":"_lastEndPoint"][p];return u&&q&&w?r(p,u,q,w):!1},_isValid:function(p,u,w){if(!u)return!1;try{var q=this.grid,t=u[p];switch(p){case "col":return 0<=
t&&t<q.layout.cells.length&&C.isArray(u.except)&&(w||!q.layout.cells[t].notselectable);case "row":return 0<=t&&t<q.rowCount&&C.isArray(u.except);case "cell":return 0<=u.col&&u.col<q.layout.cells.length&&0<=u.row&&u.row<q.rowCount&&(w||!q.layout.cells[u.col].notselectable)}}catch(z){}return!1}});h.registerPlugin(A,{dependency:["autoScroll"]});return A})},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang"],function(A,C,B){var x={getIndex:function(g,d){for(var c=
[],a=[],b=g,e,h;g!=d;){var n=0;for(e=g.parentNode;h=e.childNodes[n++];)if(h===g){--n;break}c.unshift(n);a.unshift(n-e.childNodes.length);g=e}if(0<c.length&&3==b.nodeType){for(h=b.previousSibling;h&&3==h.nodeType;)c[c.length-1]--,h=h.previousSibling;for(h=b.nextSibling;h&&3==h.nodeType;)a[a.length-1]++,h=h.nextSibling}return{o:c,r:a}},getNode:function(g,d){if(!B.isArray(g)||0==g.length)return d;var c=d;A.every(g,function(a){if(0<=a&&a<c.childNodes.length)c=c.childNodes[a];else return c=null,!1;return!0});
return c},getCommonAncestor:function(g,d,c){c=c||g.ownerDocument.body;var a=function(h){for(var n=[];h;)if(n.unshift(h),h!==c)h=h.parentNode;else break;return n};g=a(g);d=a(d);a=Math.min(g.length,d.length);for(var b=g[0],e=1;e<a;e++)if(g[e]===d[e])b=g[e];else break;return b},getAncestor:function(g,d,c){for(c=c||g.ownerDocument.body;g&&g!==c;){var a=g.nodeName.toUpperCase();if(d.test(a))return g;g=g.parentNode}return null},BlockTagNames:/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/,getBlockAncestor:function(g,
d,c){c=c||g.ownerDocument.body;d=d||x.BlockTagNames;for(var a=null,b;g&&g!==c;){var e=g.nodeName.toUpperCase();!a&&d.test(e)&&(a=g);!b&&/^(?:BODY|TD|TH|CAPTION)$/.test(e)&&(b=g);g=g.parentNode}return{blockNode:a,blockContainer:b||g.ownerDocument.body}},atBeginningOfContainer:function(g,d,c){var a=!1,b=0==c;b||3!=d.nodeType||/^[\s\xA0]+$/.test(d.nodeValue.substr(0,c))&&(b=!0);if(b)for(a=!0;d&&d!==g;){if(d.previousSibling){a=!1;break}d=d.parentNode}return a},atEndOfContainer:function(g,d,c){var a=!1,
b=c==(d.length||d.childNodes.length);b||3!=d.nodeType||/^[\s\xA0]+$/.test(d.nodeValue.substr(c))&&(b=!0);if(b)for(a=!0;d&&d!==g;){if(d.nextSibling){a=!1;break}d=d.parentNode}return a},adjacentNoneTextNode:function(g,d){for(var c=g,a=0-g.length||0,b=d?"nextSibling":"previousSibling";c&&3==c.nodeType;)a+=c.length,c=c[b];return[c,a]},create:function(g){g=g||window;return g.getSelection?g.document.createRange():new f},getSelection:function(g,d){if(g.getSelection)return g.getSelection();var c=new l.selection(g);
d||c._getCurrentSelection();return c}};if(!window.getSelection)var l=x.ie={cachedSelection:{},selection:function(g){this._ranges=[];this.addRange=function(d,c){this._ranges.push(d);c||d._select();this.rangeCount=this._ranges.length};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0};this.getRangeAt=function(d){return this._ranges[d]};this._getCurrentSelection=function(){this.removeAllRanges();var d=g.document.selection.createRange();d="CONTROL"==g.document.selection.type.toUpperCase()?
new f(l.decomposeControlRange(d)):new f(l.decomposeTextRange(d));this.addRange(d,!0),this.isCollapsed=d.collapsed}},decomposeControlRange:function(g){var d=g.item(0),c=g.item(g.length-1);g=d.parentNode;var a=c.parentNode;d=x.getIndex(d,g).o[0];c=x.getIndex(c,a).o[0]+1;return[g,d,a,c]},getEndPoint:function(g,d){var c=g.duplicate();c.collapse(!d);var a="EndTo"+(d?"End":"Start"),b=c.parentElement(),e;if(0<b.childNodes.length)A.every(b.childNodes,function(k,m){if(3!=k.nodeType)if(c.moveToElementText(k),
0<c.compareEndPoints(a,g))if(e&&3==e.nodeType){h=e;var y=!0}else return h=b,n=m,!1;else{if(m==b.childNodes.length-1)return h=b,n=b.childNodes.length,!1}else m==b.childNodes.length-1&&(h=k,y=!0);if(y&&h){h=(y=x.adjacentNoneTextNode(h)[0])?y.nextSibling:b.firstChild;var p=x.adjacentNoneTextNode(h);y=p[0];p=p[1];y?(c.moveToElementText(y),c.collapse(!1)):c.moveToElementText(b);c.setEndPoint(a,g);n=c.text.length-p;return!1}e=k;return!0});else{var h=b;var n=0}if(!d&&1==h.nodeType&&n==h.childNodes.length){var r=
h.nextSibling;r&&3==r.nodeType&&(h=r,n=0)}return[h,n]},setEndPoint:function(g,d,c){g=g.duplicate();var a;if(3!=d.nodeType)if(0<c){if(a=d.childNodes[c-1])if(3==a.nodeType)d=a,c=a.length;else if(a.nextSibling&&3==a.nextSibling.nodeType)d=a.nextSibling,c=0;else{g.moveToElementText(a.nextSibling?a:d);var b=a.parentNode;a=b.insertBefore(a.ownerDocument.createTextNode(" "),a.nextSibling);g.collapse(!1);b.removeChild(a)}}else g.moveToElementText(d),g.collapse(!0);3==d.nodeType&&(a=x.adjacentNoneTextNode(d),
b=a[0],a=a[1],b?(g.moveToElementText(b),g.collapse(!1),"inherit"!=b.contentEditable&&a++):(g.moveToElementText(d.parentNode),g.collapse(!0),g.move("character",1),g.move("character",-1)),c+=a,0<c&&g.move("character",c));return g},decomposeTextRange:function(g){var d=l.getEndPoint(g),c=d[0],a=d[1],b=d[0];d=d[1];g.htmlText.length&&(g.htmlText==g.text?d=a+g.text.length:(d=l.getEndPoint(g,!0),b=d[0],d=d[1]));return[c,a,b,d]},setRange:function(g,d,c,a,b,e){d=l.setEndPoint(g,d,c);g.setEndPoint("StartToStart",
d);if(!e)var h=l.setEndPoint(g,a,b);g.setEndPoint("EndToEnd",h||d);return g}},f=x.W3CRange=C(null,{constructor:function(){0<arguments.length?(this.setStart(arguments[0][0],arguments[0][1]),this.setEnd(arguments[0][2],arguments[0][3])):(this.startContainer=this.commonAncestorContainer=null,this.startOffset=0,this.endContainer=null,this.endOffset=0,this.collapsed=!0)},_updateInternal:function(){this.commonAncestorContainer=this.startContainer!==this.endContainer?x.getCommonAncestor(this.startContainer,
this.endContainer):this.startContainer;this.collapsed=this.startContainer===this.endContainer&&this.startOffset==this.endOffset},setStart:function(g,d){d=parseInt(d);if(this.startContainer!==g||this.startOffset!=d)delete this._cachedBookmark,this.startContainer=g,this.startOffset=d,this.endContainer?this._updateInternal():this.setEnd(g,d)},setEnd:function(g,d){d=parseInt(d);if(this.endContainer!==g||this.endOffset!=d)delete this._cachedBookmark,this.endContainer=g,this.endOffset=d,this.startContainer?
this._updateInternal():this.setStart(g,d)},setStartAfter:function(g,d){this._setPoint("setStart",g,d,1)},setStartBefore:function(g,d){this._setPoint("setStart",g,d,0)},setEndAfter:function(g,d){this._setPoint("setEnd",g,d,1)},setEndBefore:function(g,d){this._setPoint("setEnd",g,d,0)},_setPoint:function(g,d,c,a){c=x.getIndex(d,d.parentNode).o;this[g](d.parentNode,c.pop()+a)},_getIERange:function(){var g=(this._body||this.endContainer.ownerDocument.body).createTextRange();l.setRange(g,this.startContainer,
this.startOffset,this.endContainer,this.endOffset,this.collapsed);return g},getBookmark:function(){this._getIERange();return this._cachedBookmark},_select:function(){this._getIERange().select()},deleteContents:function(){var g=this.startContainer,d=this._getIERange();3!==g.nodeType||this.startOffset||this.setStartBefore(g);d.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=!0},cloneRange:function(){var g=new f([this.startContainer,this.startOffset,
this.endContainer,this.endOffset]);g._body=this._body;return g},detach:function(){this.startContainer=this.commonAncestorContainer=this._body=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=!0}});B.setObject("dijit.range",x);return x})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t,z,D,v,E,F,H,J,G){function I(){}var K=new l;K.resolve(!0);q=x("dijit._DialogBase"+(k("dojo-bidi")?"_NoBidi":""),[z,v,E,D],{templateString:G,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:!1,duration:q.defaultDuration,refocus:!0,autofocus:!0,_firstFocusItem:null,_lastFocusItem:null,draggable:!0,_setDraggableAttr:function(P){this._set("draggable",P)},maxRatio:.9,
closable:!0,_setClosableAttr:function(P){this.closeButtonNode.style.display=P?"":"none";this._set("closable",P)},postMixInProperties:function(){var P=b.getLocalization("dijit","common");h.mixin(this,P);this.inherited(arguments)},postCreate:function(){c.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);B.after(this,"onExecute",h.hitch(this,"hide"),!0);B.after(this,"onCancel",h.hitch(this,"hide"),!0);n(this.closeButtonNode,
m.press,function(P){P.stopPropagation()});this._modalconnects=[]},onLoad:function(){this.resize();this._position();this.autofocus&&N.isTop(this)&&(this._getFocusItems(),w.focus(this._firstFocusItem));this.inherited(arguments)},focus:function(){this._getFocusItems();w.focus(this._firstFocusItem)},_endDrag:function(){var P=d.position(this.domNode),S=y.getBox(this.ownerDocument);P.y=Math.min(Math.max(P.y,0),S.h-P.h);P.x=Math.min(Math.max(P.x,0),S.w-P.w);this._relativePosition=P;this._position()},_setup:function(){var P=
this.domNode;this.titleBar&&this.draggable?(this._moveable=new (6==k("ie")?u:p)(P,{handle:this.titleBar}),B.after(this._moveable,"onMoveStop",h.hitch(this,"_endDrag"),!0)):g.add(P,"dijitDialogFixed");this.underlayAttrs={dialogId:this.id,"class":C.map(this["class"].split(/\s/),function(S){return S+"_underlay"}).join(" "),_onKeyDown:h.hitch(this,"_onKey"),ownerDocument:this.ownerDocument}},_size:function(){this.resize()},_position:function(){if(!g.contains(this.ownerDocumentBody,"dojoMove")){var P=
this.domNode,S=y.getBox(this.ownerDocument),L=this._relativePosition,R=d.position(P);c.set(P,{left:Math.floor(S.l+(L?Math.min(L.x,S.w-R.w):(S.w-R.w)/2))+"px",top:Math.floor(S.t+(L?Math.min(L.y,S.h-R.h):(S.h-R.h)/2))+"px"})}},_onKey:function(P){if(P.keyCode==e.TAB){this._getFocusItems();var S=P.target;this._firstFocusItem==this._lastFocusItem?(P.stopPropagation(),P.preventDefault()):S==this._firstFocusItem&&P.shiftKey?(w.focus(this._lastFocusItem),P.stopPropagation(),P.preventDefault()):S!=this._lastFocusItem||
P.shiftKey||(w.focus(this._firstFocusItem),P.stopPropagation(),P.preventDefault())}else this.closable&&P.keyCode==e.ESCAPE&&(this.onCancel(),P.stopPropagation(),P.preventDefault())},show:function(){if(this.open)return K.promise;this._started||this.startup();this._alreadyInitialized||(this._setup(),this._alreadyInitialized=!0);this._fadeOutDeferred&&(this._fadeOutDeferred.cancel(),N.hide(this));var P=y.get(this.ownerDocument);this._modalconnects.push(n(P,"scroll",h.hitch(this,"resize",null)));this._modalconnects.push(n(this.domNode,
"keydown",h.hitch(this,"_onKey")));c.set(this.domNode,{opacity:0,display:""});this._set("open",!0);this._onShow();this.resize();this._position();this._fadeInDeferred=new l(h.hitch(this,function(){S.stop();delete this._fadeInDeferred}));this._fadeInDeferred.then(void 0,I);P=this._fadeInDeferred.promise;var S=a.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:h.hitch(this,function(){N.show(this,this.underlayAttrs)}),onEnd:h.hitch(this,function(){this.autofocus&&N.isTop(this)&&(this._getFocusItems(),
w.focus(this._firstFocusItem));this._fadeInDeferred.resolve(!0);delete this._fadeInDeferred})}).play();return P},hide:function(){if(!this._alreadyInitialized||!this.open)return K.promise;this._fadeInDeferred&&this._fadeInDeferred.cancel();this._fadeOutDeferred=new l(h.hitch(this,function(){S.stop();delete this._fadeOutDeferred}));this._fadeOutDeferred.then(void 0,I);this._fadeOutDeferred.then(h.hitch(this,"onHide"));var P=this._fadeOutDeferred.promise;var S=a.fadeOut({node:this.domNode,duration:this.duration,
onEnd:h.hitch(this,function(){this.domNode.style.display="none";N.hide(this);this._fadeOutDeferred.resolve(!0);delete this._fadeOutDeferred})}).play();this._scrollConnected&&(this._scrollConnected=!1);for(var L;L=this._modalconnects.pop();)L.remove();this._relativePosition&&delete this._relativePosition;this._set("open",!1);return P},resize:function(P){if("none"!=this.domNode.style.display){this._checkIfSingleChild();if(!P){this._shrunk&&(this._singleChild&&"undefined"!=typeof this._singleChildOriginalStyle&&
(this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle,delete this._singleChildOriginalStyle),C.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(T){T&&c.set(T,{position:"static",width:"auto",height:"auto"})}),this.domNode.style.position="absolute");var S=y.getBox(this.ownerDocument);S.w*=this.maxRatio;S.h*=this.maxRatio;var L=d.position(this.domNode);this._shrunk=!1;L.w>=S.w&&(P={w:S.w},d.setMarginBox(this.domNode,P),L=d.position(this.domNode),this._shrunk=
!0);L.h>=S.h&&(P||(P={w:L.w}),P.h=S.h,this._shrunk=!0);P&&(P.w||(P.w=L.w),P.h||(P.h=L.h))}if(P){d.setMarginBox(this.domNode,P);S=[];this.titleBar&&S.push({domNode:this.titleBar,region:"top"});this.actionBarNode&&S.push({domNode:this.actionBarNode,region:"bottom"});L={domNode:this.containerNode,region:"center"};S.push(L);var R=J.marginBox2contentBox(this.domNode,P);J.layoutChildren(this.domNode,R,S);this._singleChild?(S=J.marginBox2contentBox(this.containerNode,L),this._singleChild.resize({w:S.w,h:S.h})):
(this.containerNode.style.overflow="auto",this._layoutChildren())}else this._layoutChildren();k("touch")||P||this._position()}},_layoutChildren:function(){C.forEach(this.getChildren(),function(P){P.resize&&P.resize()})},destroy:function(){this._fadeInDeferred&&this._fadeInDeferred.cancel();this._fadeOutDeferred&&this._fadeOutDeferred.cancel();this._moveable&&this._moveable.destroy();for(var P;P=this._modalconnects.pop();)P.remove();N.hide(this);this.inherited(arguments)}});k("dojo-bidi")&&(q=x("dijit._DialogBase",
q,{_setTitleAttr:function(P){this._set("title",P);this.titleNode.innerHTML=P;this.applyTextDir(this.titleNode)},_setTextDirAttr:function(P){this._created&&this.textDir!=P&&(this._set("textDir",P),this.set("title",this.title))}}));var M=x("dijit.Dialog",[H,q],{});M._DialogBase=q;var N=M._DialogLevelManager={_beginZIndex:950,show:function(P,S){Q[Q.length-1].focus=w.curNode;var L=Q[Q.length-1].dialog?Q[Q.length-1].zIndex+2:M._DialogLevelManager._beginZIndex;c.set(P.domNode,"zIndex",L);F.show(S,L-1);
Q.push({dialog:P,underlayAttrs:S,zIndex:L})},hide:function(P){if(Q[Q.length-1].dialog==P){Q.pop();var S=Q[Q.length-1];1==Q.length?F.hide():F.show(S.underlayAttrs,S.zIndex-1);if(P.refocus&&(P=S.focus,!S.dialog||P&&f.isDescendant(P,S.dialog.domNode)||(S.dialog._getFocusItems(),P=S.dialog._firstFocusItem),P))try{P.focus()}catch(L){}}else S=C.indexOf(C.map(Q,function(L){return L.dialog}),P),-1!=S&&Q.splice(S,1)},isTop:function(P){return Q[Q.length-1].dialog==P}},Q=M._dialogStack=[{dialog:null,focus:null,
underlayAttrs:null}];w.watch("curNode",function(P,S,L){P=Q[Q.length-1].dialog;if(L&&P&&!P._fadeOutDeferred&&L.ownerDocument==P.ownerDocument){do if(L==P.domNode||g.contains(L,"dijitPopup"))return;while(L=L.parentNode);P.focus()}});k("dijit-legacy-requires")&&r(0,function(){A(["dijit/TooltipDialog"])});return M})},"dojox/grid/TreeGrid":function(){define("dojo/_base/kernel ../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/event dojo/dom-attr dojo/dom-class dojo/query dojo/keys dijit/tree/ForestStoreModel ./DataGrid ./_Layout ./_FocusManager ./_RowManager ./_EditManager ./TreeSelection ./cells/tree ./_TreeView".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y){A.experimental("dojox.grid.TreeGrid");var p=B("dojox.grid._TreeAggregator",null,{cells:[],grid:null,childFields:[],constructor:function(q){this.cells=q.cells||[];this.childFields=q.childFields||[];this.grid=q.grid;this.store=this.grid.store},_cacheValue:function(q,t,z){return q[t]=z},clearSubtotalCache:function(){this.store&&delete this.store._cachedAggregates},cnt:function(q,t,z){var D=0,v=this.store,E=this.childFields;E[t]?(z=v.getValues(z,E[t]),q.index<=
t+1?D=z.length:x.forEach(z,function(F){D+=this.getForCell(q,t+1,F,"cnt")},this)):D=1;return D},sum:function(q,t,z){var D=0,v=this.store,E=this.childFields;E[t]?x.forEach(v.getValues(z,E[t]),function(F){D+=this.getForCell(q,t+1,F,"sum")},this):D+=v.getValue(z,q.field);return D},value:function(q,t,z){},getForCell:function(q,t,z,D){var v=this.store;if(!v||!z||!v.isItem(z))return"";var E=v._cachedAggregates=v._cachedAggregates||{},F=v.getIdentity(z);E=E[F]=E[F]||[];q.getOpenState||(q=this.grid.getCell(q.layoutIndex+
t+1));F=q.index;E=E[F]=E[F]||{};D=D||(q.parentCell?q.parentCell.aggregate:"sum")||"sum";q.field==v.getLabelAttributes()[0]&&(D="cnt");E=E[D]=E[D]||[];return void 0!=E[t]?E[t]:(F=(q.parentCell&&q.parentCell.itemAggregates?q.parentCell.itemAggregates[q.idxInParent]:"")||"")&&v.hasAttribute(z,F)?this._cacheValue(E,t,v.getValue(z,F)):F?this._cacheValue(E,t,0):this._cacheValue(E,t,this[D](q,t,z))}});A=B("dojox.grid._TreeLayout",h,{_isCollapsable:!1,_getInternalStructure:function(q){var t=this.grid,z={type:"dojox.grid._TreeView",
cells:[[]]},D=[],v=0,E=function(F,H){var J=[];x.forEach(F.children,function(G,I){if("children"in G)D.push(G.field),J[J.length-1].isCollapsable=!0,G.level=H,J=J.concat(E(G,H+1));else{var K=J,M=K.push,N,Q={};for(N in G)Q[N]=G[N];Q=l.mixin(Q,{level:H,idxInParent:0<H?I:-1,parentCell:0<H?F:null});M.call(K,Q)}});v=Math.max(v,H);return J};z.cells[0]=E({children:q[0].cells[0],itemAggregates:[]},0);t.aggregator=new p({cells:z.cells[0],grid:t,childFields:D});t.scroller&&t.defaultOpen&&(t.scroller.defaultRowHeight=
t.scroller._origDefaultRowHeight*(2*v+1));return[z]},setStructure:function(q){var t=q,z=this.grid;z&&z.treeModel&&!x.every(t,function(D){return"cells"in D})&&(t=arguments[0]=[{cells:[t]}]);1==t.length&&1==t[0].cells.length&&(z&&z.treeModel?(t[0].type="dojox.grid._TreeView",this._isCollapsable=!0,t[0].cells[0][this.grid.treeModel?this.grid.expandoCell:0].isCollapsable=!0):1===x.filter(t[0].cells[0],function(D){return"children"in D}).length&&(this._isCollapsable=!0));!this._isCollapsable||z&&z.treeModel||
(arguments[0]=this._getInternalStructure(t));this.inherited(arguments)},addCellDef:function(q,t,z){var D=this.inherited(arguments);return l.mixin(D,y)}});var u=B("dojox.grid.TreePath",null,{level:0,_str:"",_arr:null,grid:null,store:null,cell:null,constructor:function(q,t){l.isString(q)?(this._str=q,this._arr=x.map(q.split("/"),function(z){return parseInt(z,10)})):l.isArray(q)?(this._str=q.join("/"),this._arr=q.slice(0)):"number"==typeof q?(this._str=String(q),this._arr=[q]):(this._str=q._str,this._arr=
q._arr.slice(0));this.level=this._arr.length-1;this.grid=t;this.store=this.grid.store;this.cell=t.treeModel?t.layout.cells[t.expandoCell]:t.layout.cells[this.level]},item:function(){this._item||(this._item=this.grid.getItem(this._arr));return this._item},compare:function(q){if(l.isString(q)||l.isArray(q)){if(this._str==q||q.join&&this._str==q.join("/"))return 0;q=new u(q,this.grid)}else if(q instanceof u&&this._str==q._str)return 0;for(var t=0,z=this._arr.length<q._arr.length?this._arr.length:q._arr.length;t<
z;t++){if(this._arr[t]<q._arr[t])return-1;if(this._arr[t]>q._arr[t])return 1}return this._arr.length<q._arr.length?-1:this._arr.length>q._arr.length?1:0},isOpen:function(){return this.cell.openStates&&this.cell.getOpenState(this.item())},previous:function(){var q=this._arr.slice(0);if("0"==this._str)return null;var t=q.length-1;if(0===q[t])return q.pop(),new u(q,this.grid);q[t]--;return(new u(q,this.grid)).lastChild(!0)},next:function(){var q=this._arr.slice(0);if(this.isOpen())q.push(0);else{q[q.length-
1]++;for(var t=this.level;0<=t;t--){var z=this.grid.getItem(q.slice(0,t+1));if(0<t)z||(q.pop(),q[t-1]++);else if(!z)return null}}return new u(q,this.grid)},children:function(q){if(!this.isOpen()&&!q)return null;var t=[];if(q=this.grid.treeModel){var z=this.item(),D=q.store;if(!q.mayHaveChildren(z))return null;x.forEach(q.childrenAttrs,function(H){t=t.concat(D.getValues(z,H))})}else if(t=this.store.getValues(this.item(),this.grid.layout.cells[this.cell.level+1].parentCell.field),1<t.length&&this.grid.sortChildItems&&
(q=this.grid.getSortProps())&&q.length){var v=q[0].attribute,E=this.grid;if(v&&t[0][v]){var F=!!q[0].descending;t=t.slice(0);t.sort(function(H,J){return E._childItemSorter(H,J,v,F)})}}return t},childPaths:function(){var q=this.children();return q?x.map(q,function(t,z){return new u(this._str+"/"+z,this.grid)},this):[]},parent:function(){return 0===this.level?null:new u(this._arr.slice(0,this.level),this.grid)},lastChild:function(q){var t=this.children();if(!t||!t.length)return this;t=new u(this._str+
"/"+String(t.length-1),this.grid);return q?t.lastChild(!0):t},toString:function(){return this._str}}),w=B("dojox.grid._TreeFocusManager",n,{setFocusCell:function(q,t){q&&q.getNode(t)&&this.inherited(arguments)},isLastFocusCell:function(){if(this.cell&&this.cell.index==this.grid.layout.cellCount-1){var q=new u(this.grid.rowCount-1,this.grid);q=q.lastChild(!0);return this.rowIndex==q._str}return!1},next:function(){if(this.cell){var q=this.cell.index+1,t=this.grid.layout.cellCount-1,z=new u(this.rowIndex,
this.grid);q>t&&((t=z.next())?(q=0,z=t):q--);if(this.grid.edit.isEditing()&&(t=this.grid.getCell(q),!this.isLastFocusCell()&&!t.editable)){this._focusifyCellNode(!1);this.cell=t;this.rowIndex=z._str;this.next();return}this.setFocusIndex(z._str,q)}},previous:function(){if(this.cell){var q=(this.cell.index||0)-1,t=new u(this.rowIndex||0,this.grid);if(0>q){var z=t.previous();z?(q=this.grid.layout.cellCount-1,t=z):q=0}if(this.grid.edit.isEditing()&&(z=this.grid.getCell(q),!this.isFirstFocusCell()&&!z.editable)){this._focusifyCellNode(!1);
this.cell=z;this.rowIndex=t._str;this.previous();return}this.setFocusIndex(t._str,q)}},move:function(q,t){if(this.isNavHeader())this.inherited(arguments);else if(this.cell){var z=this.grid.scroller,D=this.rowIndex,v=new u(this.rowIndex,this.grid);if(q)if(0<q){v=v.next();var E=v._arr[0];E>z.getLastPageRow(z.page)&&this.grid.setScrollTop(this.grid.scrollTop+z.findScrollTop(E)-z.findScrollTop(D))}else 0>q&&(v=v.previous(),E=v._arr[0],E<=z.getPageRow(z.page)&&this.grid.setScrollTop(this.grid.scrollTop-
z.findScrollTop(D)-z.findScrollTop(E)));z=this.grid.layout.cellCount-1;E=this.cell.index;for(var F=Math.min(z,Math.max(0,E+t)),H=this.grid.getCell(F),J=0>t?-1:1;0<=F&&F<z&&H&&!0===H.hidden;)F+=J,H=this.grid.getCell(F);H&&!0!==H.hidden||(F=E);q&&this.grid.updateRow(D);this.setFocusIndex(v._str,F)}}});B=B("dojox.grid.TreeGrid",e,{defaultOpen:!0,sortChildItems:!1,openAtLevels:[],treeModel:null,expandoCell:0,aggregator:null,_layoutClass:A,createSelection:function(){this.selection=new m(this)},_childItemSorter:function(q,
t,z,D){q=this.store.getValue(q,z);t=this.store.getValue(t,z);return q!=t?q<t==D?1:-1:0},_onNew:function(q,t){if(t&&t.item){var z=this.getItemIndex(t.item);"string"==typeof z?this.updateRow(z.split("/")[0]):-1<z&&this.updateRow(z)}else this.inherited(arguments)},_onSet:function(q,t,z,D){this._checkUpdateStatus();this.aggregator&&this.aggregator.clearSubtotalCache();q=this.getItemIndex(q);"string"==typeof q?this.updateRow(q.split("/")[0]):-1<q&&this.updateRow(q)},_onDelete:function(q){this._cleanupExpandoCache(this._getItemIndex(q,
!0),this.store.getIdentity(q),q);this.inherited(arguments)},_clearData:function(){this.inherited(arguments);this._by_idty_paths={}},_cleanupExpandoCache:function(q,t,z){},_addItem:function(q,t,z,D){!D&&this.model&&-1==x.indexOf(this.model.root.children,q)&&(this.model.root.children[t]=q);this.inherited(arguments)},getItem:function(q){var t=l.isArray(q);l.isString(q)&&q.indexOf("/")&&(q=q.split("/"),t=!0);t&&1==q.length&&(q=q[0],t=!1);if(!t)return e.prototype.getItem.call(this,q);t=this.store;var z=
e.prototype.getItem.call(this,q[0]),D;if(this.aggregator){var v=this.aggregator.childFields||[];for(D=0;D<q.length-1&&z;D++)z=v[D]?(t.getValues(z,v[D])||[])[q[D+1]]:null}else if(this.treeModel&&(v=this.treeModel.childrenAttrs||[],z))for(D=1,il=q.length;D<il&&z;D++){var E=0;for(jl=v.length;E<jl&&!(z=v[E]?(t.getValues(z,v[E])||[])[q[D]]:null);E++);}return z||null},_getItemIndex:function(q,t){if(!t&&!this.store.isItem(q))return-1;var z=this.inherited(arguments);return-1==z?(z=this.store.getIdentity(q),
this._by_idty_paths[z]||-1):z},postMixInProperties:function(){!this.treeModel||"defaultOpen"in this.params||(this.defaultOpen=!1);var q=this.defaultOpen;this.openAtLevels=x.map(this.openAtLevels,function(t){if("string"==typeof t)switch(t.toLowerCase()){case "true":return!0;case "false":return!1;default:return t=parseInt(t,10),isNaN(t)?q:t}return t});this._by_idty_paths={};this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.treeModel&&this._setModel(this.treeModel)},setModel:function(q){this._setModel(q);
this._refresh(!0)},_setModel:function(q){if(q&&!(b&&q instanceof b))throw Error("dojox.grid.TreeGrid: treeModel must be an instance of dijit.tree.ForestStoreModel");this.treeModel=q;d.toggle(this.domNode,"dojoxGridTreeModel",this.treeModel?!0:!1);this._setQuery(q?q.query:null);this._setStore(q?q.store:null)},createScroller:function(){this.inherited(arguments);this.scroller._origDefaultRowHeight=this.scroller.defaultRowHeight},createManagers:function(){this.rows=new r(this);this.focus=new w(this);
this.edit=new k(this)},_setStore:function(q){this.inherited(arguments);this.treeModel&&!this.treeModel.root.children&&(this.treeModel.root.children=[]);this.aggregator&&(this.aggregator.store=q)},getDefaultOpenState:function(q,t){var z,D=this.store;if(this.treeModel||!(q&&D&&D.isItem(t)&&(z=this.aggregator.childFields[q.level])))return this.defaultOpen;if(this.openAtLevels.length>q.level){var v=this.openAtLevels[q.level];if("boolean"==typeof v)return v;if("number"==typeof v)return D.getValues(t,z).length<=
v}return this.defaultOpen},onStyleRow:function(q){if(this.layout._isCollapsable){var t=g.get(q.node,"dojoxTreeGridBaseClasses");t&&(q.customClasses=t);t=q;var z=t.node.tagName.toLowerCase();t.customClasses+=(t.odd?" dojoxGridRowOdd":"")+(t.selected&&"tr"==z?" dojoxGridRowSelected":"")+(t.over&&"tr"==z?" dojoxGridRowOver":"");this.focus.styleRow(t);this.edit.styleRow(t)}else this.inherited(arguments)},styleRowNode:function(q,t){t&&("div"==t.tagName.toLowerCase()&&this.aggregator&&c("tr[dojoxTreeGridPath]",
t).forEach(function(z){this.rows.styleRowNode(g.get(z,"dojoxTreeGridPath"),z)},this),this.rows.styleRowNode(q,t))},onCanSelect:function(q){var t=c("tr[dojoxTreeGridPath\x3d'"+q+"']",this.domNode);return t.length&&d.contains(t[0],"dojoxGridSummaryRow")?!1:this.inherited(arguments)},onKeyDown:function(q){if(!q.altKey&&!q.metaKey)switch(q.keyCode){case a.UP_ARROW:this.edit.isEditing()||"0"==this.focus.rowIndex||(f.stop(q),this.focus.move(-1,0));break;case a.DOWN_ARROW:var t=new u(this.focus.rowIndex,
this),z=new u(this.rowCount-1,this);z=z.lastChild(!0);this.edit.isEditing()||t.toString()==z.toString()||(f.stop(q),this.focus.move(1,0));break;default:this.inherited(arguments)}},canEdit:function(q,t){return q.getNode(t)&&this._canEdit},doApplyCellEdit:function(q,t,z){var D=this.getItem(t),v=this.store.getValue(D,z);"number"==typeof v?q=isNaN(q)?q:parseFloat(q):"boolean"==typeof v?q="true"==q?!0:"false"==q?!1:q:v instanceof Date&&(v=new Date(q),q=isNaN(v.getTime())?q:v);this.store.setValue(D,z,q);
this.onApplyCellEdit(q,t,z)}});B.markupFactory=function(q,t,z,D){var v=function(H){H=g.get(H,"width")||"auto";"auto"!=H&&"em"!=H.slice(-2)&&"%"!=H.slice(-1)&&(H=parseInt(H,10)+"px");return H},E=function(H){var J;return"table"==H.nodeName.toLowerCase()&&0===c("\x3e colgroup",H).length&&1==(J=c("\x3e thead \x3e tr",H)).length?c("\x3e th",J[0]).map(function(G){var I={type:l.trim(g.get(G,"cellType")||""),field:l.trim(g.get(G,"field")||"")};I.type&&(I.type=l.getObject(I.type));var K=c("\x3e table",G)[0];
K?(I.name="",I.children=E(K),g.has(G,"itemAggregates")?I.itemAggregates=x.map(g.get(G,"itemAggregates").split(","),function(M){return l.trim(M)}):I.itemAggregates=[],g.has(G,"aggregate")&&(I.aggregate=g.get(G,"aggregate")),I.type=I.type||C.grid.cells.SubtableCell):(I.name=l.trim(g.get(G,"name")||G.innerHTML),g.has(G,"width")&&(I.width=v(G)),g.has(G,"relWidth")&&(I.relWidth=window.parseInt(g.get(G,"relWidth"),10)),g.has(G,"hidden")&&(I.hidden="true"==g.get(G,"hidden")),I.field=I.field||I.name,e.cell_markupFactory(D,
G,I),I.type=I.type||C.grid.cells.Cell);I.type&&I.type.markupFactory&&I.type.markupFactory(G,I);return I}):[]};if(!q.structure){var F=E(t);F.length&&(q.structure=[{__span:Infinity,cells:[F]}])}return e.markupFactory(q,t,z,D)};return B})},"dojox/form/Uploader":function(){define("dojo/_base/kernel dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/_base/connect dojo/_base/window dojo/dom-style dojo/dom-class dojo/dom-geometry dojo/dom-attr dojo/dom-construct dojo/dom-form dijit dijit/form/Button ./uploader/_Base ./uploader/_HTML5 ./uploader/_IFrame ./uploader/_Flash dojo/i18n!./nls/Uploader dojo/text!./resources/Uploader.html".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u){return C("dojox.form.Uploader",[r,n,k,m,y],{uploadOnSelect:!1,tabIndex:0,multiple:!1,label:p.label,url:"",name:"uploadedfile",flashFieldName:"",force:"",uploadType:"",showInput:"",focusedClass:"dijitButtonHover",_nameIndex:0,templateString:u,baseClass:"dijitUploader "+n.prototype.baseClass,postMixInProperties:function(){this._inputs=[];this._cons=[];this.force=this.force.toLowerCase();this.supports("multiple")?this.uploadType="form"===this.force?"form":
"html5":this.uploadType="flash"===this.force?"flash":"iframe";this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);g.set(this.domNode,{overflow:"hidden",position:"relative"});this._buildDisplay();a.set(this.titleNode,"tabIndex",-1)},_buildDisplay:function(){this.showInput&&(this.displayInput=b.create("input",{"class":"dijitUploadDisplayInput",tabIndex:-1,autocomplete:"off",role:"presentation"},this.containerNode,this.showInput),this._attachPoints.push("displayInput"),this.connect(this,
"onChange",function(w){for(var q=0,t,z=[];t=w[q++];)t&&t.name&&z.push(t.name);this.displayInput.value=z.join(", ")}),this.connect(this,"reset",function(){this.displayInput.value=""}))},startup:function(){this._buildInitialized||(this._buildInitialized=!0,this._getButtonStyle(this.domNode),this._setButtonStyle(),this.inherited(arguments))},onChange:function(w){},onBegin:function(w){},onProgress:function(w){},onComplete:function(w){this.reset()},onCancel:function(){},onAbort:function(){},onError:function(w){},
upload:function(w){w=w||{};w.uploadType=this.uploadType;this.inherited(arguments)},submit:function(w){w=w?w.tagName?w:this.getForm():this.getForm();w=e.toObject(w);w.uploadType=this.uploadType;this.upload(w)},reset:function(){delete this._files;this._disconnectButton();x.forEach(this._inputs,b.destroy);this._inputs=[];this._nameIndex=0;this._createInput()},getFileList:function(){var w=[];this.supports("multiple")?x.forEach(this._files,function(q,t){w.push({index:t,name:q.name,size:q.size,type:q.type})},
this):x.forEach(this._inputs,function(q,t){q.value&&w.push({index:t,name:q.value.substring(q.value.lastIndexOf("\\")+1),size:0,type:q.value.substring(q.value.lastIndexOf(".")+1)})},this);return w},_getValueAttr:function(){return this.getFileList()},_setValueAttr:function(w){},_setDisabledAttr:function(w){this.disabled!=w&&this.inputNode&&(this.inherited(arguments),g.set(this.inputNode,"display",w?"none":""))},_getButtonStyle:function(w){this.btnSize={w:g.get(w,"width"),h:g.get(w,"height")}},_setButtonStyle:function(){this.inputNodeFontSize=
Math.max(2,Math.max(Math.ceil(this.btnSize.w/60),Math.ceil(this.btnSize.h/15)));this._createInput()},_getFileFieldName:function(){return this.supports("multiple")&&this.multiple?this.name+"s[]":this.name+(this.multiple?this._nameIndex:"")},_createInput:function(){this._inputs.length&&(g.set(this.inputNode,{top:"500px"}),this._disconnectButton(),this._nameIndex++);var w=this._getFileFieldName();this.focusNode=this.inputNode=b.create("input",{type:"file",name:w,"aria-labelledby":this.id+"_label"},this.domNode,
"first");this.supports("multiple")&&this.multiple&&a.set(this.inputNode,"multiple",!0);this._inputs.push(this.inputNode);g.set(this.inputNode,{position:"absolute",fontSize:this.inputNodeFontSize+"em",top:"-3px",right:"-3px",opacity:0});this._connectButton()},_connectButton:function(){this._cons.push(l.connect(this.inputNode,"change",this,function(w){this._files=this.inputNode.files;this.onChange(this.getFileList(w));!this.supports("multiple")&&this.multiple&&this._createInput()}));-1<this.tabIndex&&
(this.inputNode.tabIndex=this.tabIndex,this._cons.push(l.connect(this.inputNode,"focus",this,function(){d.add(this.domNode,this.focusedClass)})),this._cons.push(l.connect(this.inputNode,"blur",this,function(){d.remove(this.domNode,this.focusedClass)})))},_disconnectButton:function(){x.forEach(this._cons,l.disconnect);this._cons.splice(0,this._cons.length)}})})},"dojox/html/metrics":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/sniff dojo/ready dojo/_base/unload dojo/_base/window dojo/dom-geometry".split(" "),
function(A,C,B,x,l,f,g){var d=C.getObject("dojox.html.metrics",!0),c=C.getObject("dojox");d.getFontMeasurements=function(){var r={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,small:0,medium:0,large:0,"x-large":0,"xx-large":0};if(B("ie")){var k=f.doc.documentElement.style.fontSize||"";k||(f.doc.documentElement.style.fontSize="100%")}var m=f.doc.createElement("div"),y=m.style;y.position="absolute";y.left="-100px";y.top="0";y.width="30px";y.height="1000em";y.borderWidth="0";y.margin=
"0";y.padding="0";y.outline="0";y.lineHeight="1";y.overflow="hidden";f.body().appendChild(m);for(var p in r)y.fontSize=p,r[p]=16*Math.round(12*m.offsetHeight/16)/12/1E3;B("ie")&&(f.doc.documentElement.style.fontSize=k);f.body().removeChild(m);m=null;return r};var a=null;d.getCachedFontMeasurements=function(r){if(r||!a)a=d.getFontMeasurements();return a};var b=null,e={};d.getTextBox=function(r,k,m){if(b)var y=b;else{y=b=f.doc.createElement("div");y.style.whiteSpace="nowrap";var p=f.doc.createElement("div");
p.appendChild(y);var u=p.style;u.overflow="scroll";u.position="absolute";u.left="0px";u.top="-10000px";u.width="1px";u.height="1px";u.visibility="hidden";u.borderWidth="0";u.margin="0";u.padding="0";u.outline="0";f.body().appendChild(p)}y.className="";u=y.style;u.borderWidth="0";u.margin="0";u.padding="0";u.outline="0";if(1<arguments.length&&k)for(var w in k)w in e||(u[w]=k[w]);2<arguments.length&&m&&(y.className=m);y.innerHTML=r;u=g.position(y);u.w=y.parentNode.scrollWidth;return u};var h=16,n=16;
d.getScrollbar=function(){return{w:h,h:n}};d._fontResizeNode=null;d.initOnFontResize=function(r){var k=d._fontResizeNode=f.doc.createElement("iframe");r=k.style;r.position="absolute";r.width="5em";r.height="10em";r.top="-10000px";r.display="none";B("ie")?k.onreadystatechange=function(){"complete"==k.contentWindow.document.readyState&&(k.onresize=k.contentWindow.parent[c._scopeName].html.metrics._fontresize)}:k.onload=function(){k.contentWindow.onresize=k.contentWindow.parent[c._scopeName].html.metrics._fontresize};
k.setAttribute("src","javascript:'\x3chtml\x3e\x3chead\x3e\x3cscript\x3eif(\"loadFirebugConsole\" in window){window.loadFirebugConsole();}\x3c/script\x3e\x3c/head\x3e\x3cbody\x3e\x3c/body\x3e\x3c/html\x3e'");f.body().appendChild(k);d.initOnFontResize=function(){}};d.onFontResize=function(){};d._fontresize=function(){d.onFontResize()};l.addOnUnload(function(){var r=d._fontResizeNode;r&&(B("ie")&&r.onresize?r.onresize=null:r.contentWindow&&r.contentWindow.onresize&&(r.contentWindow.onresize=null),d._fontResizeNode=
null)});x(function(){try{var r=f.doc.createElement("div");r.style.cssText="top:0;left:0;width:100px;height:100px;overflow:scroll;position:absolute;visibility:hidden;";f.body().appendChild(r);h=r.offsetWidth-r.clientWidth;n=r.offsetHeight-r.clientHeight;f.body().removeChild(r);delete r}catch(k){}"fontSizeWatch"in A.config&&A.config.fontSizeWatch&&d.initOnFontResize()});return d})},"dojo/dom-construct":function(){define("exports ./_base/kernel ./sniff ./_base/window ./dom ./dom-attr".split(" "),function(A,
C,B,x,l,f){function g(y,p){var u=p.parentNode;u&&u.insertBefore(y,p)}function d(y){if("innerHTML"in y)try{y.innerHTML="";return}catch(u){}for(var p;p=y.lastChild;)y.removeChild(p)}var c={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},a=/<\s*([\w:]+)/,b={},e=0,h="__"+C._scopeName+"ToDomId",n;for(n in c)c.hasOwnProperty(n)&&
(C=c[n],C.pre="option"==n?'\x3cselect multiple\x3d"multiple"\x3e':"\x3c"+C.join("\x3e\x3c")+"\x3e",C.post="\x3c/"+C.reverse().join("\x3e\x3c/")+"\x3e");var r;8>=B("ie")&&(r=function(y){y.__dojo_html5_tested="yes";var p=k("div",{innerHTML:"\x3cnav\x3ea\x3c/nav\x3e",style:{visibility:"hidden"}},y.body);1!==p.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(u){y.createElement(u)});
m(p)});A.toDom=function(y,p){p=p||x.doc;var u=p[h];u||(p[h]=u=++e+"",b[u]=p.createElement("div"));8>=B("ie")&&!p.__dojo_html5_tested&&p.body&&r(p);y+="";var w=y.match(a),q=w?w[1].toLowerCase():"";u=b[u];if(w&&c[q])for(w=c[q],u.innerHTML=w.pre+y+w.post,w=w.length;w;--w)u=u.firstChild;else u.innerHTML=y;if(1==u.childNodes.length)return u.removeChild(u.firstChild);for(q=p.createDocumentFragment();w=u.firstChild;)q.appendChild(w);return q};A.place=function(y,p,u){p=l.byId(p);"string"==typeof y&&(y=/^\s*</.test(y)?
A.toDom(y,p.ownerDocument):l.byId(y));if("number"==typeof u){var w=p.childNodes;!w.length||w.length<=u?p.appendChild(y):g(y,w[0>u?0:u])}else switch(u){case "before":g(y,p);break;case "after":u=y;(w=p.parentNode)&&(w.lastChild==p?w.appendChild(u):w.insertBefore(u,p.nextSibling));break;case "replace":p.parentNode.replaceChild(y,p);break;case "only":A.empty(p);p.appendChild(y);break;case "first":if(p.firstChild){g(y,p.firstChild);break}default:p.appendChild(y)}return y};var k=A.create=function(y,p,u,
w){var q=x.doc;u&&(u=l.byId(u),q=u.ownerDocument);"string"==typeof y&&(y=q.createElement(y));p&&f.set(y,p);u&&A.place(y,u,w);return y};A.empty=function(y){d(l.byId(y))};var m=A.destroy=function(y){if(y=l.byId(y)){var p=y;y=y.parentNode;p.firstChild&&d(p);y&&(B("ie")&&y.canHaveChildren&&"removeNode"in p?p.removeNode(!1):y.removeChild(p))}}})},"dojo/date/locale":function(){define("../_base/lang ../_base/array ../date ../cldr/supplemental ../i18n ../regexp ../string ../i18n!../cldr/nls/gregorian module".split(" "),
function(A,C,B,x,l,f,g,d,c){function a(m,y,p,u){return u.replace(/([a-z])\1*/ig,function(w){var q=w.charAt(0);w=w.length;var t=["abbr","wide","narrow"];switch(q){case "G":var z=y[4>w?"eraAbbr":"eraNames"][0>m.getFullYear()?0:1];break;case "y":z=m.getFullYear();switch(w){case 1:break;case 2:if(!p.fullYear){z=String(z);z=z.substr(z.length-2);break}default:var D=!0}break;case "Q":case "q":z=Math.ceil((m.getMonth()+1)/3);D=!0;break;case "M":case "L":z=m.getMonth();3>w?(z+=1,D=!0):(q=["months","L"==q?
"standAlone":"format",t[w-3]].join("-"),z=y[q][z]);break;case "w":z=h._getWeekOfYear(m,0);D=!0;break;case "d":z=m.getDate();D=!0;break;case "D":z=h._getDayOfYear(m);D=!0;break;case "e":case "c":if(z=m.getDay(),2>w){z=(z-x.getFirstDayOfWeek(p.locale)+8)%7;break}case "E":z=m.getDay();3>w?(z+=1,D=!0):(q=["days","c"==q?"standAlone":"format",t[w-3]].join("-"),z=y[q][z]);break;case "a":q=12>m.getHours()?"am":"pm";z=p[q]||y["dayPeriods-format-wide-"+q];break;case "h":case "H":case "K":case "k":D=m.getHours();
switch(q){case "h":z=D%12||12;break;case "H":z=D;break;case "K":z=D%12;break;case "k":z=D||24}D=!0;break;case "m":z=m.getMinutes();D=!0;break;case "s":z=m.getSeconds();D=!0;break;case "S":z=Math.round(m.getMilliseconds()*Math.pow(10,w-3));D=!0;break;case "v":case "z":if(z=h._getZone(m,!0,p))break;w=4;case "Z":q=h._getZone(m,!1,p);q=[0>=q?"+":"-",g.pad(Math.floor(Math.abs(q)/60),2),g.pad(Math.abs(q)%60,2)];4==w&&(q.splice(0,0,"GMT"),q.splice(3,0,":"));z=q.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+
u);}D&&(z=g.pad(z,w));return z})}function b(m,y,p,u){var w=function(z){return z};y=y||w;p=p||w;u=u||w;var q=m.match(/(''|[^'])+/g),t="'"==m.charAt(0);C.forEach(q,function(z,D){z?(q[D]=(t?p:y)(z.replace(/''/g,"'")),t=!t):q[D]=""});return u(q.join(""))}function e(m,y,p,u){u=f.escapeString(u);p.strict||(u=u.replace(" a"," ?a"));return u.replace(/([a-z])\1*/ig,function(w){var q=w.charAt(0);var t=w.length,z="",D="";p.strict?(1<t&&(z="0{"+(t-1)+"}"),2<t&&(D="0{"+(t-2)+"}")):(z="0?",D="0{0,2}");switch(q){case "y":q=
"\\d{2,4}";break;case "M":case "L":2<t?(q=y["months-"+("L"==q?"standAlone":"format")+"-"+n[t-3]].slice(0).join("|"),p.strict||(q=q.replace(/\./g,""),q="(?:"+q+")\\.?")):q="1[0-2]|"+z+"[1-9]";break;case "D":q="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+z+"[1-9][0-9]|"+D+"[1-9]";break;case "d":q="3[01]|[12]\\d|"+z+"[1-9]";break;case "w":q="[1-4][0-9]|5[0-3]|"+z+"[1-9]";break;case "E":case "e":case "c":q=".+?";break;case "h":q="1[0-2]|"+z+"[1-9]";break;case "k":q="1[01]|"+z+"\\d";break;case "H":q="1\\d|2[0-3]|"+
z+"\\d";break;case "K":q="1\\d|2[0-4]|"+z+"[1-9]";break;case "m":case "s":q="[0-5]\\d";break;case "S":q="\\d{"+t+"}";break;case "a":t=p.am||y["dayPeriods-format-wide-am"];z=p.pm||y["dayPeriods-format-wide-pm"];q=t+"|"+z;p.strict||(t!=t.toLowerCase()&&(q+="|"+t.toLowerCase()),z!=z.toLowerCase()&&(q+="|"+z.toLowerCase()),-1!=q.indexOf(".")&&(q+="|"+q.replace(/\./g,"")));q=q.replace(/\./g,"\\.");break;default:q=".*"}m&&m.push(w);return"("+q+")"}).replace(/[\xa0 ]/g,"[\\s\\xa0]")}var h={};A.setObject(c.id.replace(/\//g,
"."),h);h._getZone=function(m,y,p){return y?B.getTimezoneName(m):m.getTimezoneOffset()};h.format=function(m,y){y=y||{};var p=l.normalizeLocale(y.locale),u=y.formatLength||"short";p=h._getGregorianBundle(p);var w=[],q=A.hitch(this,a,m,p,y);if("year"==y.selector)return b(p["dateFormatItem-yyyy"]||"yyyy",q);var t;"date"!=y.selector&&(t=y.timePattern||p["timeFormat-"+u])&&w.push(b(t,q));"time"!=y.selector&&(t=y.datePattern||p["dateFormat-"+u])&&w.push(b(t,q));return 1==w.length?w[0]:p["dateTimeFormat-"+
u].replace(/'/g,"").replace(/\{(\d+)\}/g,function(z,D){return w[D]})};h.regexp=function(m){return h._parseInfo(m).regexp};h._parseInfo=function(m){m=m||{};var y=l.normalizeLocale(m.locale);y=h._getGregorianBundle(y);var p=m.formatLength||"short",u=m.datePattern||y["dateFormat-"+p],w=m.timePattern||y["timeFormat-"+p];p="date"==m.selector?u:"time"==m.selector?w:y["dateTimeFormat-"+p].replace(/\{(\d+)\}/g,function(t,z){return[w,u][z]});var q=[];return{regexp:b(p,A.hitch(this,e,q,y,m)),tokens:q,bundle:y}};
h.parse=function(m,y){var p=/[\u200E\u200F\u202A\u202E]/g,u=h._parseInfo(y),w=u.tokens,q=u.bundle;p=(new RegExp("^"+u.regexp.replace(p,"")+"$",u.strict?"":"i")).exec(m&&m.replace(p,""));if(!p)return null;var t=["abbr","wide","narrow"],z=[1970,0,1,0,0,0,0],D="";p=C.every(p,function(F,H){if(!H)return!0;var J=w[H-1],G=J.length;J=J.charAt(0);switch(J){case "y":if(2!=G&&y.strict)z[0]=F;else if(100>F)F=Number(F),J=""+(new Date).getFullYear(),G=100*J.substring(0,2),J=Math.min(Number(J.substring(2,4))+20,
99),z[0]=F<J?G+F:G-100+F;else{if(y.strict)return!1;z[0]=F}break;case "M":case "L":if(2<G){if(G=q["months-"+("L"==J?"standAlone":"format")+"-"+t[G-3]].concat(),y.strict||(F=F.replace(".","").toLowerCase(),G=C.map(G,function(K){return K.replace(".","").toLowerCase()})),F=C.indexOf(G,F),-1==F)return!1}else F--;z[1]=F;break;case "E":case "e":case "c":G=q["days-"+("c"==J?"standAlone":"format")+"-"+t[G-3]].concat();y.strict||(F=F.toLowerCase(),G=C.map(G,function(K){return K.toLowerCase()}));F=C.indexOf(G,
F);if(-1==F)return!1;break;case "D":z[1]=0;case "d":z[2]=F;break;case "a":G=y.am||q["dayPeriods-format-wide-am"];J=y.pm||q["dayPeriods-format-wide-pm"];if(!y.strict){var I=/\./g;F=F.replace(I,"").toLowerCase();G=G.replace(I,"").toLowerCase();J=J.replace(I,"").toLowerCase()}if(y.strict&&F!=G&&F!=J)return!1;D=F==J?"p":F==G?"a":"";break;case "K":24==F&&(F=0);case "h":case "H":case "k":if(23<F)return!1;z[3]=F;break;case "m":z[4]=F;break;case "s":z[5]=F;break;case "S":z[6]=F}return!0});u=+z[3];"p"===D&&
12>u?z[3]=u+12:"a"===D&&12==u&&(z[3]=0);u=new Date(z[0],z[1],z[2],z[3],z[4],z[5],z[6]);y.strict&&u.setFullYear(z[0]);var v=w.join(""),E=-1!=v.indexOf("d");v=-1!=v.indexOf("M");if(!p||v&&u.getMonth()>z[1]||E&&u.getDate()>z[2])return null;if(v&&u.getMonth()<z[1]||E&&u.getDate()<z[2])u=B.add(u,"hour",1);return u};var n=["abbr","wide","narrow"],r=[],k={};h.addCustomFormats=function(m,y){r.push({pkg:m,name:y});k={}};h._getGregorianBundle=function(m){if(k[m])return k[m];var y={};C.forEach(r,function(p){p=
l.getLocalization(p.pkg,p.name,m);y=A.mixin(y,p)},this);return k[m]=y};h.addCustomFormats(c.id.replace(/\/date\/locale$/,".cldr"),"gregorian");h.getNames=function(m,y,p,u){u=h._getGregorianBundle(u);m=[m,p,y];if("standAlone"==p){p=m.join("-");var w=u[p];1==w[0]&&(w=void 0)}m[1]="format";return(w||u[m.join("-")]).concat()};h.isWeekend=function(m,y){var p=x.getWeekend(y),u=(m||new Date).getDay();p.end<p.start&&(p.end+=7,u<p.start&&(u+=7));return u>=p.start&&u<=p.end};h._getDayOfYear=function(m){return B.difference(new Date(m.getFullYear(),
0,1,m.getHours()),m)+1};h._getWeekOfYear=function(m,y){1==arguments.length&&(y=0);var p=(new Date(m.getFullYear(),0,1)).getDay(),u=(p-y+7)%7;u=Math.floor((h._getDayOfYear(m)+u-1)/7);p==y&&u++;return u};return h})},"dijit/_Templated":function(){define("./_WidgetBase ./_TemplatedMixin ./_WidgetsInTemplateMixin dojo/_base/array dojo/_base/declare dojo/_base/lang dojo/_base/kernel".split(" "),function(A,C,B,x,l,f,g){f.extend(A,{waiRole:"",waiState:""});return l("dijit._Templated",[C,B],{constructor:function(){g.deprecated(this.declaredClass+
": dijit._Templated deprecated, use dijit._TemplatedMixin and if necessary dijit._WidgetsInTemplateMixin","","2.0")},_processNode:function(d,c){var a=this.inherited(arguments),b=c(d,"waiRole");b&&d.setAttribute("role",b);(b=c(d,"waiState"))&&x.forEach(b.split(/\s*,\s*/),function(e){-1!=e.indexOf("-")&&(e=e.split("-"),d.setAttribute("aria-"+e[0],e[1]))});return a}})})},"dojo/require":function(){define(["./_base/loader"],function(A){return{dynamic:0,normalize:function(C){return C},load:A.require}})},
"dijit/_editor/RichText":function(){define("dojo/_base/array dojo/_base/config dojo/_base/declare dojo/_base/Deferred dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/query dojo/domReady dojo/sniff dojo/string dojo/topic dojo/_base/unload dojo/_base/url dojo/window ../_Widget ../_CssStateMixin ../selection ./range ./html ../focus ../main".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,
q,t,z,D,v,E,F,H){var J=B("dijit._editor.RichText",[t,z],{constructor:function(G){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};G&&h.isString(G.value)&&(this.value=G.value);this.onLoadDeferred=new x},baseClass:"dijitEditor",inheritWidth:!1,focusOnLoad:!1,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:!0,isLoaded:!1,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",
_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:!1,disableSpellCheck:!1,postCreate:function(){this.domNode.tagName.toLowerCase();this.contentPreFilters=[h.trim,h.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);m("mozilla")&&(this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters),this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters));m("webkit")&&(this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters),
this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters));if(m("ie")||m("trident"))this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters),this.contentDomPostFilters=[h.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);this.contentDomPostFilters=[h.hitch(this,"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);p.publish(H._scopeName+"._editor.RichText::init",this)},startup:function(){this.inherited(arguments);
this.open();this.setupDefaultShortcuts()},setupDefaultShortcuts:function(){var G=h.hitch(this,function(M,N){return function(){return!this.execCommand(M,N)}}),I={b:G("bold"),i:G("italic"),u:G("underline"),a:G("selectall"),s:function(){this.save(!0)},m:function(){this.isTabIndent=!this.isTabIndent},1:G("formatblock","h1"),2:G("formatblock","h2"),3:G("formatblock","h3"),4:G("formatblock","h4"),"\\":G("insertunorderedlist")};m("ie")||(I.Z=G("redo"));for(var K in I)this.addKeyHandler(K,!0,!1,I[K])},events:["onKeyDown",
"onKeyUp"],captureEvents:[],_editorCommandsLocalized:!1,_localizeEditorCommands:function(){if(J._editorCommandsLocalized)this._local2NativeFormatNames=J._local2NativeFormatNames,this._native2LocalFormatNames=J._native2LocalFormatNames;else{J._editorCommandsLocalized=!0;J._local2NativeFormatNames={};J._native2LocalFormatNames={};this._local2NativeFormatNames=J._local2NativeFormatNames;this._native2LocalFormatNames=J._native2LocalFormatNames;for(var G="div p pre h1 h2 h3 h4 h5 h6 ol ul address".split(" "),
I="",K,M=0;K=G[M++];)I="l"!==K.charAt(1)?I+("\x3c"+K+"\x3e\x3cspan\x3econtent\x3c/span\x3e\x3c/"+K+"\x3e\x3cbr/\x3e"):I+("\x3c"+K+"\x3e\x3cli\x3econtent\x3c/li\x3e\x3c/"+K+"\x3e\x3cbr/\x3e");var N=d.create("div",{style:{position:"absolute",top:"0px",zIndex:10,opacity:.01},innerHTML:I});this.ownerDocumentBody.appendChild(N);G=h.hitch(this,function(){for(var Q=N.firstChild;Q;)try{this.selection.selectElement(Q.firstChild);var P=Q.tagName.toLowerCase();this._local2NativeFormatNames[P]=document.queryCommandValue("formatblock");
this._native2LocalFormatNames[this._local2NativeFormatNames[P]]=P;Q=Q.nextSibling.nextSibling}catch(S){}d.destroy(N)});this.defer(G)}},open:function(G){if(!this.onLoadDeferred||0<=this.onLoadDeferred.fired)this.onLoadDeferred=new x;this.isClosed||this.close();p.publish(H._scopeName+"._editor.RichText::open",this);1===arguments.length&&G.nodeName&&(this.domNode=G);var I=this.domNode;if(h.isString(this.value)){var K=this.value;I.innerHTML=""}else if(I.nodeName&&"textarea"==I.nodeName.toLowerCase()){var M=
this.textarea=I;this.name=M.name;K=M.value;I=this.domNode=this.ownerDocument.createElement("div");I.setAttribute("widgetId",this.id);M.removeAttribute("widgetId");I.cssText=M.cssText;I.className+=" "+M.className;d.place(I,M,"before");var N=h.hitch(this,function(){a.set(M,{display:"block",position:"absolute",top:"-1000px"});if(m("ie")){var L=M.style;this.__overflow=L.overflow;L.overflow="hidden"}});m("ie")?this.defer(N,10):N();if(M.form){var Q=M.value;this.reset=function(){this.getValue()!==Q&&this.replaceValue(Q)};
n(M.form,"submit",h.hitch(this,function(){f.set(M,"disabled",this.disabled);M.value=this.getValue()}))}}else K=E.getChildrenHtml(I),I.innerHTML="";this.value=K;I.nodeName&&"LI"===I.nodeName&&(I.innerHTML=" \x3cbr\x3e");this.header=I.ownerDocument.createElement("div");I.appendChild(this.header);this.editingArea=I.ownerDocument.createElement("div");I.appendChild(this.editingArea);this.footer=I.ownerDocument.createElement("div");I.appendChild(this.footer);this.name||(this.name=this.id+"_AUTOGEN");if(""!==
this.name&&(!C.useXDomain||C.allowXdRichTextSave)){if((K=l.byId(H._scopeName+"._editor.RichText.value"))&&""!==K.value){N=K.value.split(this._SEPARATOR);for(var P=0,S;S=N[P++];)if(S=S.split(this._NAME_CONTENT_SEP),S[0]===this.name){this.value=S[1];N=N.splice(P,1);K.value=N.join(this._SEPARATOR);break}}J._globalSaveHandler||(J._globalSaveHandler={},u.addOnUnload(function(){for(var L in J._globalSaveHandler){var R=J._globalSaveHandler[L];h.isFunction(R)&&R()}}));J._globalSaveHandler[this.id]=h.hitch(this,
"_saveContent")}this.isClosed=!1;K=this.editorObject=this.iframe=this.ownerDocument.createElement("iframe");K.id=this.id+"_iframe";K.style.border="none";K.style.width="100%";this._layoutMode?K.style.height="100%":7<=m("ie")?(this.height&&(K.style.height=this.height),this.minHeight&&(K.style.minHeight=this.minHeight)):K.style.height=this.height?this.height:this.minHeight;K.frameBorder=0;K._loadFunc=h.hitch(this,function(L){this.window=L;this.document=L.document;this.selection=new D.SelectionManager(L);
m("ie")&&this._localizeEditorCommands();this.onLoad(this.get("value"))});N=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'");N=11>m("ie")?'javascript:document.open();try{parent.window;}catch(e){document.domain\x3d"'+document.domain+"\";}document.write('"+N+"');document.close()":"javascript: '"+N+"'";this.editingArea.appendChild(K);K.src=N;"LI"===I.nodeName&&(I.lastChild.style.marginTop="-1.2em");g.add(this.domNode,this.baseClass)},_local2NativeFormatNames:{},_native2LocalFormatNames:{},
_getIframeDocTxt:function(){var G=a.getComputedStyle(this.domNode);if(this["aria-label"])var I=this["aria-label"];else{var K=r('label[for\x3d"'+this.id+'"]',this.ownerDocument)[0]||l.byId(this["aria-labelledby"],this.ownerDocument);K&&(I=K.textContent||K.innerHTML||"")}K="\x3cdiv id\x3d'dijitEditorBody' role\x3d'textbox' aria-multiline\x3d'true' "+(I?" aria-label\x3d'"+y.escape(I)+"'":"")+"\x3e\x3c/div\x3e";var M=[G.fontWeight,G.fontSize,G.fontFamily].join(" "),N=G.lineHeight;N=0<=N.indexOf("px")?
parseFloat(N)/parseFloat(G.fontSize):0<=N.indexOf("em")?parseFloat(N):"normal";var Q="",P=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(S){S=S.replace(/^;/ig,"")+";";var L=S.split(":")[0];if(L){L=h.trim(L);L=L.toLowerCase();var R,T="";for(R=0;R<L.length;R++){var aa=L.charAt(R);switch(aa){case "-":R++,aa=L.charAt(R).toUpperCase();default:T+=aa}}a.set(P.domNode,T,"")}Q+=S+";"});this.iframe.setAttribute("title",I);return["\x3c!DOCTYPE html\x3e","\x3chtml lang\x3d'"+(this.lang||b.locale.replace(/-.*/,
""))+"'"+(this.isLeftToRight()?"":" dir\x3d'rtl'")+"\x3e\n","\x3chead\x3e\n\x3cmeta http-equiv\x3d'Content-Type' content\x3d'text/html'\x3e\n",I?"\x3ctitle\x3e"+y.escape(I)+"\x3c/title\x3e":"","\x3cstyle\x3e\n\tbody,html {\n\t\tbackground:transparent;\n\t\tpadding: 1px 0 0 0;\n\t\tmargin: -1px 0 0 0;\n\t}\n\tbody,html,#dijitEditorBody { outline: none; }html { height: 100%; width: 100%; overflow: hidden; }\n",this.height?"\tbody,#dijitEditorBody { height: 100%; width: 100%; overflow: auto; }\n":"\tbody,#dijitEditorBody { min-height: "+
this.minHeight+"; width: 100%; overflow-x: auto; overflow-y: hidden; }\n","\tbody{\n\t\ttop:0px;\n\t\tleft:0px;\n\t\tright:0px;\n\t\tfont:",M,";\n",this.height||m("opera")?"":"\t\tposition: fixed;\n","\t\tline-height:",N,";\n\t}\n\tp{ margin: 1em 0; }\n\tli \x3e ul:-moz-first-node, li \x3e ol:-moz-first-node{ padding-top: 1.2em; }\n",m("ie")||m("trident")||m("edge")?"":"\tli{ min-height:1.2em; }\n","\x3c/style\x3e\n",this._applyEditingAreaStyleSheets(),"\n\x3c/head\x3e\n\x3cbody role\x3d'application'",
I?" aria-label\x3d'"+y.escape(I)+"'":"","onload\x3d'try{frameElement \x26\x26 frameElement._loadFunc(window,document)}catch(e){document.domain\x3d\""+document.domain+"\";frameElement._loadFunc(window,document)}' ","style\x3d'"+Q+"'\x3e",K,"\x3c/body\x3e\n\x3c/html\x3e"].join("")},_applyEditingAreaStyleSheets:function(){var G=[];this.styleSheets&&(G=this.styleSheets.split(";"),this.styleSheets="");G=G.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];for(var I="",K=0,M,N=q.get(this.ownerDocument);M=
G[K++];)M=(new w(N.location,M)).toString(),this.editingAreaStyleSheets.push(M),I+='\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"'+M+'"/\x3e';return I},addStyleSheet:function(G){var I=G.toString(),K=q.get(this.ownerDocument);if("."===I.charAt(0)||"/"!==I.charAt(0)&&!G.host)I=(new w(K.location,I)).toString();-1<A.indexOf(this.editingAreaStyleSheets,I)||(this.editingAreaStyleSheets.push(I),this.onLoadDeferred.then(h.hitch(this,function(){if(this.document.createStyleSheet)this.document.createStyleSheet(I);
else{var M=this.document.getElementsByTagName("head")[0],N=this.document.createElement("link");N.rel="stylesheet";N.type="text/css";N.href=I;M.appendChild(N)}})))},removeStyleSheet:function(G){var I=G.toString(),K=q.get(this.ownerDocument);if("."===I.charAt(0)||"/"!==I.charAt(0)&&!G.host)I=(new w(K.location,I)).toString();G=A.indexOf(this.editingAreaStyleSheets,I);-1!==G&&(delete this.editingAreaStyleSheets[G],r('link[href\x3d"'+I+'"]',this.window.document).orphan())},disabled:!1,_mozSettingProps:{styleWithCSS:!1},
_setDisabledAttr:function(G){G=!!G;this._set("disabled",G);if(this.isLoaded){var I=m("ie")&&(this.isLoaded||!this.focusOnLoad);I&&(this.editNode.unselectable="on");this.editNode.contentEditable=!G;this.editNode.tabIndex=G?"-1":this.tabIndex;I&&this.defer(function(){this.editNode&&(this.editNode.unselectable="off")});if(m("mozilla")&&!G&&this._mozSettingProps){G=this._mozSettingProps;for(var K in G)if(G.hasOwnProperty(K))try{this.document.execCommand(K,!1,G[K])}catch(M){}}this._disabledOK=!0}},onLoad:function(G){this.window.__registeredWindow||
(this.window.__registeredWindow=!0,this._iframeRegHandle=F.registerIframe(this.iframe));this.editNode=this.document.body.firstChild;var I=this;this.beforeIframeNode=d.place("\x3cdiv tabIndex\x3d-1\x3e\x3c/div\x3e",this.iframe,"before");this.afterIframeNode=d.place("\x3cdiv tabIndex\x3d-1\x3e\x3c/div\x3e",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){I.editNode.focus()};this.focusNode=this.editNode;var K=this.events.concat(this.captureEvents),M=this.iframe?this.document:
this.editNode;this.own.apply(this,A.map(K,function(N){var Q=N.toLowerCase().replace(/^on/,"");return n(M,Q,h.hitch(this,N))},this));this.own(n(M,"mouseup",h.hitch(this,"onClick")));m("ie")&&(this.own(n(this.document,"mousedown",h.hitch(this,"_onIEMouseDown"))),this.editNode.style.zoom=1);m("webkit")&&(this._webkitListener=this.own(n(this.document,"mouseup",h.hitch(this,"onDisplayChanged")))[0],this.own(n(this.document,"mousedown",h.hitch(this,function(N){N=N.target;!N||N!==this.document.body&&N!==
this.document||this.defer("placeCursorAtEnd")}))));if(m("ie"))try{this.document.execCommand("RespectVisibilityInDesign",!0,null)}catch(N){}this.isLoaded=!0;this.set("disabled",this.disabled);K=h.hitch(this,function(){this.setValue(G);this.onLoadDeferred&&!this.onLoadDeferred.isFulfilled()&&this.onLoadDeferred.resolve(!0);this.onDisplayChanged();this.focusOnLoad&&k(h.hitch(this,"defer","focus",this.updateInterval));this.value=this.getValue(!0)});this.setValueDeferred?this.setValueDeferred.then(K):
K()},onKeyDown:function(G){if(G.keyCode===e.SHIFT||G.keyCode===e.ALT||G.keyCode===e.META||G.keyCode===e.CTRL)return!0;G.keyCode===e.TAB&&this.isTabIndent&&(G.stopPropagation(),G.preventDefault(),this.queryCommandEnabled(G.shiftKey?"outdent":"indent")&&this.execCommand(G.shiftKey?"outdent":"indent"));if(G.keyCode==e.TAB&&!this.isTabIndent&&!G.ctrlKey&&!G.altKey)return G.shiftKey?this.beforeIframeNode.focus():this.afterIframeNode.focus(),!0;9>m("ie")&&G.keyCode===e.BACKSPACE&&"Control"===this.document.selection.type&&
(G.stopPropagation(),G.preventDefault(),this.execCommand("delete"));m("ff")&&(G.keyCode===e.PAGE_UP||G.keyCode===e.PAGE_DOWN)&&this.editNode.clientHeight>=this.editNode.scrollHeight&&G.preventDefault();var I=this._keyHandlers[G.keyCode],K=arguments;I&&!G.altKey&&A.some(I,function(M){if(!(M.shift^G.shiftKey||M.ctrl^(G.ctrlKey||G.metaKey)))return M.handler.apply(this,K)||G.preventDefault(),!0},this);this.defer("onKeyPressed",1);return!0},onKeyUp:function(){},setDisabled:function(G){b.deprecated("dijit.Editor::setDisabled is deprecated",
'use dijit.Editor::attr("disabled",boolean) instead',2);this.set("disabled",G)},_setValueAttr:function(G){this.setValue(G)},_setDisableSpellCheckAttr:function(G){this.document?f.set(this.document.body,"spellcheck",!G):this.onLoadDeferred.then(h.hitch(this,function(){f.set(this.document.body,"spellcheck",!G)}));this._set("disableSpellCheck",G)},addKeyHandler:function(G,I,K,M){"string"==typeof G&&(G=G.toUpperCase().charCodeAt(0));h.isArray(this._keyHandlers[G])||(this._keyHandlers[G]=[]);this._keyHandlers[G].push({shift:K||
!1,ctrl:I||!1,handler:M})},onKeyPressed:function(){this.onDisplayChanged()},onClick:function(G){this.onDisplayChanged(G)},_onIEMouseDown:function(){this.focused||this.disabled||this.focus()},_onBlur:function(G){(m("ie")||m("trident"))&&this.defer(function(){F.curNode||this.ownerDocumentBody.focus()});this.inherited(arguments);var I=this.getValue(!0);if(I!==this.value)this.onChange(I);this._set("value",I)},_onFocus:function(G){this.disabled||(this._disabledOK||this.set("disabled",!1),this.inherited(arguments))},
blur:function(){!m("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus?this.window.document.documentElement.focus():this.ownerDocumentBody.focus&&this.ownerDocumentBody.focus()},focus:function(){this.isLoaded?9>m("ie")?this.iframe.fireEvent("onfocus",document.createEventObject()):this.editNode.focus():this.focusOnLoad=!0},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){this._updateTimer&&this._updateTimer.remove();this._updateTimer=this.defer("onNormalizedDisplayChanged",
this.updateInterval)},onNormalizedDisplayChanged:function(){delete this._updateTimer},onChange:function(){},_normalizeCommand:function(G,I){var K=G.toLowerCase();"formatblock"===K?m("safari")&&void 0===I&&(K="heading"):"hilitecolor"!==K||m("mozilla")||(K="backcolor");return K},_implCommand:function(G){return"_"+this._normalizeCommand(G)+"EnabledImpl"},_qcaCache:{},queryCommandAvailable:function(G){var I=this._qcaCache[G];return void 0!==I?I:this._qcaCache[G]=this._queryCommandAvailable(G)},_queryCommandAvailable:function(G){switch(G.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":case "cut":case "copy":case "paste":return!0;
case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":return m("ie")||m("trident")||m("edge");case "inserttable":case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":return!m("webkit");default:return!1}},execCommand:function(G,I){this.focused&&this.focus();G=this._normalizeCommand(G,I);if(void 0!==I){if("heading"===G)throw Error("unimplemented");"formatblock"===
G&&(m("ie")||m("trident"))&&(I="\x3c"+I+"\x3e")}var K="_"+G+"Impl";if(this[K])var M=this[K](I);else if((I=1<arguments.length?I:null)||"createlink"!==G)M=this.document.execCommand(G,!1,I);this.onDisplayChanged();return M},queryCommandEnabled:function(G){if(this.disabled||!this._disabledOK)return!1;G=this._normalizeCommand(G);var I=this._implCommand(G);return this[I]?this[I](G):this._browserQueryCommandEnabled(G)},queryCommandState:function(G){if(this.disabled||!this._disabledOK)return!1;G=this._normalizeCommand(G);
try{return this.document.queryCommandState(G)}catch(I){return!1}},queryCommandValue:function(G){if(this.disabled||!this._disabledOK)return!1;G=this._normalizeCommand(G);if(m("ie")&&"formatblock"===G)G=this._native2LocalFormatNames[this.document.queryCommandValue(G)];else if(m("mozilla")&&"hilitecolor"===G){try{var I=this.document.queryCommandValue("styleWithCSS")}catch(K){I=!1}this.document.execCommand("styleWithCSS",!1,!0);G=this.document.queryCommandValue(G);this.document.execCommand("styleWithCSS",
!1,I)}else G=this.document.queryCommandValue(G);return G},_sCall:function(G,I){return this.selection[G].apply(this.selection,I)},placeCursorAtStart:function(){this.focus();var G=!1;if(m("mozilla"))for(var I=this.editNode.firstChild;I;){if(3===I.nodeType){if(0<I.nodeValue.replace(/^\s+|\s+$/g,"").length){G=!0;this.selection.selectElement(I);break}}else if(1===I.nodeType){G=!0;var K=I.tagName?I.tagName.toLowerCase():"";/br|input|img|base|meta|area|basefont|hr|link/.test(K)?this.selection.selectElement(I):
this.selection.selectElementChildren(I);break}I=I.nextSibling}else G=!0,this.selection.selectElementChildren(this.editNode);G&&this.selection.collapse(!0)},placeCursorAtEnd:function(){this.focus();var G=!1;if(m("mozilla"))for(var I=this.editNode.lastChild;I;){if(3===I.nodeType){if(0<I.nodeValue.replace(/^\s+|\s+$/g,"").length){G=!0;this.selection.selectElement(I);break}}else if(1===I.nodeType){G=!0;this.selection.selectElement(I.lastChild||I);break}I=I.previousSibling}else G=!0,this.selection.selectElementChildren(this.editNode);
G&&this.selection.collapse(!1)},getValue:function(G){return!this.textarea||!this.isClosed&&this.isLoaded?this.isLoaded?this._postFilterContent(null,G):this.value:this.textarea.value},_getValueAttr:function(){return this.getValue(!0)},setValue:function(G){if(this.isLoaded){if(!this.textarea||!this.isClosed&&this.isLoaded){G=this._preFilterContent(G);var I=this.isClosed?this.domNode:this.editNode;I.innerHTML=G;this._preDomFilterContent(I)}else this.textarea.value=G;this.onDisplayChanged();this._set("value",
this.getValue(!0))}else this.onLoadDeferred.then(h.hitch(this,function(){this.setValue(G)}))},replaceValue:function(G){this.isClosed?this.setValue(G):this.window&&this.window.getSelection&&!m("mozilla")?this.setValue(G):this.window&&this.window.getSelection?(G=this._preFilterContent(G),this.execCommand("selectall"),this.execCommand("inserthtml",G),this._preDomFilterContent(this.editNode)):this.document&&this.document.selection&&this.setValue(G);this._set("value",this.getValue(!0))},_preFilterContent:function(G){var I=
G;A.forEach(this.contentPreFilters,function(K){K&&(I=K(I))});return I},_preDomFilterContent:function(G){G=G||this.editNode;A.forEach(this.contentDomPreFilters,function(I){I&&h.isFunction(I)&&I(G)},this)},_postFilterContent:function(G,I){if(h.isString(G))var K=G;else G=G||this.editNode,this.contentDomPostFilters.length&&(I&&(G=h.clone(G)),A.forEach(this.contentDomPostFilters,function(M){G=M(G)})),K=E.getChildrenHtml(G);h.trim(K.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length||(K="");A.forEach(this.contentPostFilters,
function(M){K=M(K)});return K},_saveContent:function(){var G=l.byId(H._scopeName+"._editor.RichText.value");G&&(G.value&&(G.value+=this._SEPARATOR),G.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(!0))},escapeXml:function(G,I){G=G.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;");I||(G=G.replace(/'/gm,"\x26#39;"));return G},getNodeHtml:function(G){b.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",
2);return E.getNodeHtml(G)},getNodeChildrenHtml:function(G){b.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return E.getChildrenHtml(G)},close:function(G){if(!this.isClosed){arguments.length||(G=!0);G&&this._set("value",this.getValue(!0));this.interval&&clearInterval(this.interval);this._webkitListener&&(this._webkitListener.remove(),delete this._webkitListener);m("ie")&&(this.iframe.onfocus=null);this.iframe._loadFunc=null;this._iframeRegHandle&&
(this._iframeRegHandle.remove(),delete this._iframeRegHandle);if(this.textarea){var I=this.textarea.style;I.position="";I.left=I.top="";m("ie")&&(I.overflow=this.__overflow,this.__overflow=null);this.textarea.value=this.value;d.destroy(this.domNode);this.domNode=this.textarea}else this.domNode.innerHTML=this.value;delete this.iframe;g.remove(this.domNode,this.baseClass);this.isClosed=!0;this.isLoaded=!1;delete this.editNode;delete this.focusNode;this.window&&this.window._frameElement&&(this.window._frameElement=
null);this.editorObject=this.editingArea=this.document=this.window=null}},destroy:function(){this.isClosed||this.close(!1);this._updateTimer&&this._updateTimer.remove();this.inherited(arguments);J._globalSaveHandler&&delete J._globalSaveHandler[this.id]},_removeMozBogus:function(G){return G.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"")},_removeWebkitBogus:function(G){G=G.replace(/\sclass="webkit-block-placeholder"/gi,"");G=G.replace(/\sclass="apple-style-span"/gi,
"");return G=G.replace(/<meta charset="utf-8" \/>/gi,"")},_normalizeFontStyle:function(G){return G.replace(/<(\/)?strong([ >])/gi,"\x3c$1b$2").replace(/<(\/)?em([ >])/gi,"\x3c$1i$2")},_preFixUrlAttributes:function(G){return G.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl\x3d$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl\x3d$2$3$5$2")},_browserQueryCommandEnabled:function(G){if(!G)return!1;
var I=9>m("ie")?this.document.selection.createRange():this.document;try{return I.queryCommandEnabled(G)}catch(K){return!1}},_createlinkEnabledImpl:function(){var G=!0;return G=m("opera")?this.window.getSelection().isCollapsed?!0:this.document.queryCommandEnabled("createlink"):this._browserQueryCommandEnabled("createlink")},_unlinkEnabledImpl:function(){var G=!0;return G=m("mozilla")||m("webkit")?this.selection.hasAncestorElement("a"):this._browserQueryCommandEnabled("unlink")},_inserttableEnabledImpl:function(){var G=
!0;return G=m("mozilla")||m("webkit")?!0:this._browserQueryCommandEnabled("inserttable")},_cutEnabledImpl:function(){var G=!0;m("webkit")?((G=this.window.getSelection())&&(G=G.toString()),G=!!G):G=this._browserQueryCommandEnabled("cut");return G},_copyEnabledImpl:function(){var G=!0;m("webkit")?((G=this.window.getSelection())&&(G=G.toString()),G=!!G):G=this._browserQueryCommandEnabled("copy");return G},_pasteEnabledImpl:function(){var G=!0;return m("webkit")?!0:G=this._browserQueryCommandEnabled("paste")},
_inserthorizontalruleImpl:function(G){return m("ie")?this._inserthtmlImpl("\x3chr\x3e"):this.document.execCommand("inserthorizontalrule",!1,G)},_unlinkImpl:function(G){return this.queryCommandEnabled("unlink")&&(m("mozilla")||m("webkit"))?(G=this.selection.getAncestorElement("a"),this.selection.selectElement(G),this.document.execCommand("unlink",!1,null)):this.document.execCommand("unlink",!1,G)},_hilitecolorImpl:function(G){if(!this._handleTextColorOrProperties("hilitecolor",G))if(m("mozilla")){this.document.execCommand("styleWithCSS",
!1,!0);var I=this.document.execCommand("hilitecolor",!1,G);this.document.execCommand("styleWithCSS",!1,!1)}else I=this.document.execCommand("hilitecolor",!1,G);return I},_backcolorImpl:function(G){m("ie")&&(G=G?G:null);var I=this._handleTextColorOrProperties("backcolor",G);I||(I=this.document.execCommand("backcolor",!1,G));return I},_forecolorImpl:function(G){m("ie")&&(G=G?G:null);var I=!1;(I=this._handleTextColorOrProperties("forecolor",G))||(I=this.document.execCommand("forecolor",!1,G));return I},
_inserthtmlImpl:function(G){G=this._preFilterContent(G);var I=!0;if(9>m("ie")){var K=this.document.selection.createRange();if("CONTROL"===this.document.selection.type.toUpperCase()){for(var M=K.item(0);K.length;)K.remove(K.item(0));M.outerHTML=G}else K.pasteHTML(G);K.select()}else if(8>m("trident")){var N=v.getSelection(this.window);if(N&&N.rangeCount&&N.getRangeAt){K=N.getRangeAt(0);K.deleteContents();var Q=d.create("div");Q.innerHTML=G;for(M=this.document.createDocumentFragment();G=Q.firstChild;)var P=
M.appendChild(G);K.insertNode(M);P&&(K=K.cloneRange(),K.setStartAfter(P),K.collapse(!1),N.removeAllRanges(),N.addRange(K))}}else m("mozilla")&&!G.length?this.selection.remove():I=this.document.execCommand("inserthtml",!1,G);return I},_boldImpl:function(G){var I=!1;if(m("ie")||m("trident"))this._adaptIESelection(),I=this._adaptIEFormatAreaAndExec("bold");I||(I=this.document.execCommand("bold",!1,G));return I},_italicImpl:function(G){var I=!1;if(m("ie")||m("trident"))this._adaptIESelection(),I=this._adaptIEFormatAreaAndExec("italic");
I||(I=this.document.execCommand("italic",!1,G));return I},_underlineImpl:function(G){var I=!1;if(m("ie")||m("trident"))this._adaptIESelection(),I=this._adaptIEFormatAreaAndExec("underline");I||(I=this.document.execCommand("underline",!1,G));return I},_strikethroughImpl:function(G){var I=!1;if(m("ie")||m("trident"))this._adaptIESelection(),I=this._adaptIEFormatAreaAndExec("strikethrough");I||(I=this.document.execCommand("strikethrough",!1,G));return I},_superscriptImpl:function(G){var I=!1;if(m("ie")||
m("trident"))this._adaptIESelection(),I=this._adaptIEFormatAreaAndExec("superscript");I||(I=this.document.execCommand("superscript",!1,G));return I},_subscriptImpl:function(G){var I=!1;if(m("ie")||m("trident"))this._adaptIESelection(),I=this._adaptIEFormatAreaAndExec("subscript");I||(I=this.document.execCommand("subscript",!1,G));return I},_fontnameImpl:function(G){if(m("ie")||m("trident"))var I=this._handleTextColorOrProperties("fontname",G);I||(I=this.document.execCommand("fontname",!1,G));return I},
_fontsizeImpl:function(G){if(m("ie")||m("trident"))var I=this._handleTextColorOrProperties("fontsize",G);I||(I=this.document.execCommand("fontsize",!1,G));return I},_insertorderedlistImpl:function(G){var I=!1;if(m("ie")||m("trident")||m("edge"))I=this._adaptIEList("insertorderedlist",G);I||(I=this.document.execCommand("insertorderedlist",!1,G));return I},_insertunorderedlistImpl:function(G){var I=!1;if(m("ie")||m("trident")||m("edge"))I=this._adaptIEList("insertunorderedlist",G);I||(I=this.document.execCommand("insertunorderedlist",
!1,G));return I},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header)},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer)},_getNodeChildrenHeight:function(G){var I=0;if(G&&G.childNodes){var K;for(K=0;K<G.childNodes.length;K++){var M=c.position(G.childNodes[K]);I+=M.h}}return I},_isNodeEmpty:function(G,I){return 1===G.nodeType?0<G.childNodes.length?this._isNodeEmpty(G.childNodes[0],I):!0:3===G.nodeType?""===G.nodeValue.substring(I):!1},_removeStartingRangeFromRange:function(G,
I){if(G.nextSibling)I.setStart(G.nextSibling,0);else{for(var K=G.parentNode;K&&null==K.nextSibling;)K=K.parentNode;K&&I.setStart(K.nextSibling,0)}return I},_adaptIESelection:function(){var G=v.getSelection(this.window);if(G&&G.rangeCount&&!G.isCollapsed){for(var I=G.getRangeAt(0),K=I.startContainer,M=I.startOffset;3===K.nodeType&&M>=K.length&&K.nextSibling;)M-=K.length,K=K.nextSibling;for(var N=null;this._isNodeEmpty(K,M)&&K!==N;)N=K,I=this._removeStartingRangeFromRange(K,I),K=I.startContainer,M=
0;G.removeAllRanges();G.addRange(I)}},_adaptIEFormatAreaAndExec:function(G){var I=v.getSelection(this.window),K=this.document,M;if(G&&I&&I.isCollapsed){if(this.queryCommandValue(G)){G=this._tagNamesForCommand(G);var N=I.getRangeAt(0);var Q=N.startContainer;if(3===Q.nodeType){var P=N.endOffset;Q.length<P&&(P=this._adjustNodeAndOffset(S,P),Q=P.node,P=P.offset)}for(;Q&&Q!==this.editNode;){var S=Q.tagName?Q.tagName.toLowerCase():"";if(-1<A.indexOf(G,S)){var L=Q;break}Q=Q.parentNode}if(L&&(S=N.startContainer,
G=K.createElement(L.tagName),d.place(G,L,"after"),S&&3===S.nodeType)){P=N.endOffset;S.length<P&&(P=this._adjustNodeAndOffset(S,P),S=P.node,P=P.offset);Q=S.nodeValue;N=K.createTextNode(Q.substring(0,P));var R=Q.substring(P,Q.length);R&&(M=K.createTextNode(R));d.place(N,S,"before");if(M){var T=K.createElement("span");T.className="ieFormatBreakerSpan";d.place(T,S,"after");d.place(M,T,"after");M=T}d.destroy(S);P=N.parentNode;for(S=[];P!==L;){Q=P.tagName;N={tagName:Q};S.push(N);Q=K.createElement(Q);P.style&&
Q.style&&P.style.cssText&&(Q.style.cssText=P.style.cssText,N.cssText=P.style.cssText);"FONT"===P.tagName&&(P.color&&(Q.color=P.color,N.color=P.color),P.face&&(Q.face=P.face,N.face=P.face),P.size&&(Q.size=P.size,N.size=P.size));P.className&&(Q.className=P.className,N.className=P.className);if(M)for(;M;)N=M.nextSibling,Q.appendChild(M),M=N;Q.tagName==P.tagName?(T=K.createElement("span"),T.className="ieFormatBreakerSpan",d.place(T,P,"after"),d.place(Q,T,"after")):d.place(Q,P,"after");N=P;M=Q;P=P.parentNode}if(M){if(1===
M.nodeType||3===M.nodeType&&M.nodeValue)G.innerHTML="";for(;M;)N=M.nextSibling,G.appendChild(M),M=N}if(S.length){N=S.pop();M=K.createElement(N.tagName);N.cssText&&M.style&&(M.style.cssText=N.cssText);N.className&&(M.className=N.className);"FONT"===N.tagName&&(N.color&&(M.color=N.color),N.face&&(M.face=N.face),N.size&&(M.size=N.size));for(d.place(M,G,"before");S.length;)N=S.pop(),L=K.createElement(N.tagName),N.cssText&&L.style&&(L.style.cssText=N.cssText),N.className&&(L.className=N.className),"FONT"===
N.tagName&&(N.color&&(L.color=N.color),N.face&&(L.face=N.face),N.size&&(L.size=N.size)),M.appendChild(L),M=L;L=K.createTextNode(".");T.appendChild(L);M.appendChild(L)}else T=K.createElement("span"),T.className="ieFormatBreakerSpan",L=K.createTextNode("."),T.appendChild(L),d.place(T,G,"before");M=v.create(this.window);M.setStart(L,0);M.setEnd(L,L.length);I.removeAllRanges();I.addRange(M);this.selection.collapse(!1);L.parentNode.innerHTML="";G.firstChild||d.destroy(G);return!0}return!1}N=I.getRangeAt(0);
if((S=N.startContainer)&&3===S.nodeType)return P=N.startOffset,S.length<P&&(P=this._adjustNodeAndOffset(S,P),S=P.node,P=P.offset),Q=S.nodeValue,N=K.createTextNode(Q.substring(0,P)),R=Q.substring(P),""!==R&&(M=K.createTextNode(Q.substring(P))),T=K.createElement("span"),L=K.createTextNode("."),T.appendChild(L),N.length?d.place(N,S,"after"):N=S,d.place(T,N,"after"),M&&d.place(M,T,"after"),d.destroy(S),M=v.create(this.window),M.setStart(L,0),M.setEnd(L,L.length),I.removeAllRanges(),I.addRange(M),K.execCommand(G),
d.place(T.firstChild,T,"before"),d.destroy(T),M.setStart(L,0),M.setEnd(L,L.length),I.removeAllRanges(),I.addRange(M),this.selection.collapse(!1),L.parentNode.innerHTML="",!0}else return!1},_adaptIEList:function(G){var I=v.getSelection(this.window);if(I.isCollapsed&&I.rangeCount&&!this.queryCommandValue(G)){var K=I.getRangeAt(0),M=K.startContainer;if(M&&3==M.nodeType&&!K.startOffset)return K="ul","insertorderedlist"===G&&(K="ol"),G=this.document.createElement(K),K=d.create("li",null,G),d.place(G,M,
"before"),K.appendChild(M),d.create("br",null,G,"after"),G=v.create(this.window),G.setStart(M,0),G.setEnd(M,M.length),I.removeAllRanges(),I.addRange(G),this.selection.collapse(!0),!0}return!1},_handleTextColorOrProperties:function(G,I){var K=v.getSelection(this.window),M=this.document,N,Q;I=I||null;if(G&&K&&K.isCollapsed&&K.rangeCount){var P=K.getRangeAt(0);if((N=P.startContainer)&&3===N.nodeType){var S=P.startOffset;N.length<S&&(P=this._adjustNodeAndOffset(N,S),N=P.node,S=P.offset);var L=N.nodeValue;
P=M.createTextNode(L.substring(0,S));""!==L.substring(S)&&(Q=M.createTextNode(L.substring(S)));L=M.createElement("span");S=M.createTextNode(".");L.appendChild(S);M=M.createElement("span");L.appendChild(M);P.length?d.place(P,N,"after"):P=N;d.place(L,P,"after");Q&&d.place(Q,L,"after");d.destroy(N);N=v.create(this.window);N.setStart(S,0);N.setEnd(S,S.length);K.removeAllRanges();K.addRange(N);if(m("webkit")){K="color";if("hilitecolor"===G||"backcolor"===G)K="backgroundColor";a.set(L,K,I);this.selection.remove();
d.destroy(M);L.innerHTML="\x26#160;";this.selection.selectElement(L);this.focus()}else this.execCommand(G,I),d.place(L.firstChild,L,"before"),d.destroy(L),N.setStart(S,0),N.setEnd(S,S.length),K.removeAllRanges(),K.addRange(N),this.selection.collapse(!1),S.parentNode.removeChild(S);return!0}}return!1},_adjustNodeAndOffset:function(G,I){for(;G.length<I&&G.nextSibling&&3===G.nextSibling.nodeType;)I-=G.length,G=G.nextSibling;return{node:G,offset:I}},_tagNamesForCommand:function(G){return"bold"===G?["b",
"strong"]:"italic"===G?["i","em"]:"strikethrough"===G?["s","strike"]:"superscript"===G?["sup"]:"subscript"===G?["sub"]:"underline"===G?["u"]:[]},_stripBreakerNodes:function(G){if(this.isLoaded)return r(".ieFormatBreakerSpan",G).forEach(function(I){for(;I.firstChild;)d.place(I.firstChild,I,"before");d.destroy(I)}),G},_stripTrailingEmptyNodes:function(G){function I(K){return/^(p|div|br)$/i.test(K.nodeName)&&0==K.children.length&&/^[\s\xA0]*$/.test(K.textContent||K.innerText||"")||3===K.nodeType&&/^[\s\xA0]*$/.test(K.nodeValue)}
for(;G.lastChild&&I(G.lastChild);)d.destroy(G.lastChild);return G},_setTextDirAttr:function(G){this._set("textDir",G);this.onLoadDeferred.then(h.hitch(this,function(){this.editNode.dir=G}))}});return J})},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(A,C,B,x){return A("dijit.ToolbarSeparator",[B,x],{templateString:'\x3cdiv class\x3d"dijitToolbarSeparator dijitInline" role\x3d"presentation"\x3e\x3c/div\x3e',buildRendering:function(){this.inherited(arguments);
C.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(A,C,B){return A("dijit.form.RadioButton",[C,B],{baseClass:"dijitRadio"})})},"dijit/MenuSeparator":function(){define("dojo/_base/declare dojo/dom ./_WidgetBase ./_TemplatedMixin ./_Contained dojo/text!./templates/MenuSeparator.html".split(" "),function(A,C,B,x,l,f){return A("dijit.MenuSeparator",[B,x,l],{templateString:f,
buildRendering:function(){this.inherited(arguments);C.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(A,C,B,x){return A("dijit.form.ToggleButton",[B,x],{baseClass:"dijitToggleButton",setChecked:function(l){C.deprecated("setChecked("+l+") is deprecated. Use set('checked',"+l+") instead.","","2.0");this.set("checked",l)}})})},"dojo/dom-prop":function(){define("exports ./_base/kernel ./sniff ./_base/lang ./dom ./dom-style ./dom-construct ./_base/connect".split(" "),
function(A,C,B,x,l,f,g,d){function c(h){var n="";h=h.childNodes;for(var r=0,k;k=h[r];r++)8!=k.nodeType&&(n=1==k.nodeType?n+c(k):n+k.nodeValue);return n}var a={},b=1,e=C._scopeName+"attrid";B.add("dom-textContent",function(h,n,r){return"textContent"in r});A.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};A.get=function(h,n){h=l.byId(h);var r=n.toLowerCase();
r=A.names[r]||n;return"textContent"!=r||B("dom-textContent")?h[r]:c(h)};A.set=function(h,n,r){h=l.byId(h);if(2==arguments.length&&"string"!=typeof n){for(var k in n)A.set(h,k,n[k]);return h}k=n.toLowerCase();k=A.names[k]||n;if("style"==k&&"string"!=typeof r)return f.set(h,r),h;if("innerHTML"==k)return B("ie")&&h.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(g.empty(h),h.appendChild(g.toDom(r,h.ownerDocument))):h[k]=r,h;if("textContent"==k&&!B("dom-textContent"))return g.empty(h),
h.appendChild(h.ownerDocument.createTextNode(r)),h;if(x.isFunction(r)){var m=h[e];m||(m=b++,h[e]=m);a[m]||(a[m]={});var y=a[m][k];if(y)d.disconnect(y);else try{delete h[k]}catch(p){}r?a[m][k]=d.connect(h,k,r):h[k]=null;return h}h[k]=r;return h}})},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(A,C,B,x){return A("dijit.CheckedMenuItem",B,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:x,
checked:!1,_setCheckedAttr:function(l){this.domNode.setAttribute("aria-checked",l?"true":"false");this._set("checked",l)},iconClass:"",role:"menuitemcheckbox",checkedChar:"\x26#10003;",onChange:function(){},_onClick:function(l){this.disabled||(this.set("checked",!this.checked),this.onChange(this.checked));this.onClick(l)}})})},"dojox/grid/enhanced/_Plugin":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/_base/connect ../EnhancedGrid".split(" "),function(A,
C,B,x,l){return B("dojox.grid.enhanced._Plugin",null,{name:"plugin",grid:null,option:{},_connects:[],_subscribes:[],privates:{},constructor:function(f,g){this.grid=f;this.option=g;this._connects=[];this._subscribes=[];this.privates=C.mixin({},dojox.grid.enhanced._Plugin.prototype);this.init()},init:function(){},onPreInit:function(){},onPostInit:function(){},onStartUp:function(){},connect:function(f,g,d){f=l.connect(f,g,this,d);this._connects.push(f);return f},disconnect:function(f){x.some(this._connects,
function(g,d,c){return g==f?(l.disconnect(f),c.splice(d,1),!0):!1})},subscribe:function(f,g){var d=l.subscribe(f,this,g);this._subscribes.push(d);return d},unsubscribe:function(f){x.some(this._subscribes,function(g,d,c){return g==f?(l.unsubscribe(f),c.splice(d,1),!0):!1})},onSetStore:function(f){},destroy:function(){x.forEach(this._connects,l.disconnect);x.forEach(this._subscribes,l.unsubscribe);delete this._connects;delete this._subscribes;delete this.option;delete this.privates}})})},"dijit/_DialogMixin":function(){define(["dojo/_base/declare",
"./a11y"],function(A,C){return A("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"))},_getFocusItems:function(){var B=C._getTabNavigable(this.domNode);this._firstFocusItem=B.lowest||B.first||this.closeButtonNode||this.domNode;this._lastFocusItem=B.last||B.highest||this._firstFocusItem}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){function n(){}function r(k){return function(m,y,p,u){return m&&"string"==typeof y&&m[y]==n?m.on(y.substring(2).toLowerCase(),g.hitch(p,u)):k.apply(B,arguments)}}A.around(B,"connect",r);f.connect&&A.around(f,"connect",r);A=x("dijit._Widget",[b,e,h],{onClick:n,onDblClick:n,onKeyDown:n,onKeyPress:n,onKeyUp:n,onMouseDown:n,onMouseMove:n,onMouseOut:n,onMouseOver:n,onMouseLeave:n,onMouseEnter:n,onMouseUp:n,constructor:function(k){this._toConnect={};for(var m in k)this[m]===
n&&(this._toConnect[m.replace(/^on/,"").toLowerCase()]=k[m],delete k[m])},postCreate:function(){this.inherited(arguments);for(var k in this._toConnect)this.on(k,this._toConnect[k]);delete this._toConnect},on:function(k,m){return this[this._onMap(k)]===n?B.connect(this.domNode,k.toLowerCase(),this,m):this.inherited(arguments)},_setFocusedAttr:function(k){this._focused=k;this._set("focused",k)},setAttribute:function(k,m){f.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.",
"","2.0");this.set(k,m)},attr:function(k,m){return 2<=arguments.length||"object"===typeof k?this.set.apply(this,arguments):this.get(k)},getDescendants:function(){f.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?d("[widgetId]",this.containerNode).map(a.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});l("dijit-legacy-requires")&&c(0,function(){require(["dijit/_base"])});
return A})},"dojox/fx":function(){define(["./fx/_base"],function(A){return A})},"dijit/form/_SearchMixin":function(){define("dojo/_base/declare dojo/keys dojo/_base/lang dojo/query dojo/string dojo/when ../registry".split(" "),function(A,C,B,x,l,f,g){return A("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(d){this._set("list",d)},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:!0,_patternToRegExp:function(d){return new RegExp("^"+
d.replace(/(\\.)|(\*)|(\?)|\W/g,function(c,a,b,e){return b?".*":e?".":a?a:"\\"+c})+"$",this.ignoreCase?"mi":"m")},_abortQuery:function(){this.searchTimer&&(this.searchTimer=this.searchTimer.remove());this._queryDeferHandle&&(this._queryDeferHandle=this._queryDeferHandle.remove());this._fetchHandle&&(this._fetchHandle.abort&&(this._cancelingQuery=!0,this._fetchHandle.abort(),this._cancelingQuery=!1),this._fetchHandle.cancel&&(this._cancelingQuery=!0,this._fetchHandle.cancel(),this._cancelingQuery=
!1),this._fetchHandle=null)},_processInput:function(d){if(!this.disabled&&!this.readOnly){d=d.charOrCode;this._prev_key_backspace=!1;if(d===C.DELETE||d===C.BACKSPACE)this._maskValidSubsetError=this._prev_key_backspace=!0;if(this.store)this.searchTimer=this.defer("_startSearchFromInput",1);else this.onSearch()}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value)},_startSearch:function(d){this._abortQuery();var c=this,a=B.clone(this.query),b={start:0,count:this.pageSize,
queryOptions:{ignoreCase:this.ignoreCase,deep:!0}},e=l.substitute(this.queryExpr,[d.replace(/([\\\*\?])/g,"\\$1")]),h=function(){var r=c._fetchHandle=c.store.query(a,b);c.disabled||c.readOnly||n!==c._lastQuery||f(r,function(k){c._fetchHandle=null;c.disabled||c.readOnly||n!==c._lastQuery||f(r.total,function(m){k.total=m;var y=c.pageSize;if(isNaN(y)||y>k.total)y=k.total;k.nextPage=function(p){b.direction=p=!1!==p;b.count=y;p?(b.start+=k.length,b.start>=k.total&&(b.count=0)):(b.start-=y,0>b.start&&(b.count=
Math.max(y+b.start,0),b.start=0));0>=b.count?(k.length=0,c.onSearch(k,a,b)):h()};c.onSearch(k,a,b)})},function(k){c._fetchHandle=null})};B.mixin(b,this.fetchProperties);if(this.store._oldAPI)var n=e;else n=this._patternToRegExp(e),n.toString=function(){return e};this._lastQuery=a[this.searchAttr]=n;this._queryDeferHandle=this.defer(h,this.searchDelay)},constructor:function(){this.query={};this.fetchProperties={}},postMixInProperties:function(){if(!this.store){var d=this.list;d&&(this.store=g.byId(d))}this.inherited(arguments)}})})},
"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t){function z(v,
E){v.resize?v.resize(E):c.setMarginBox(v.domNode,E)}h=B("dijit.layout._AccordionButton",[m,p,u],{templateString:t,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 v=this.id.replace(" ","_");f.set(this.titleTextNode,
"id",v+"_title");this.focusNode.setAttribute("aria-labelledby",f.get(this.titleTextNode,"id"));l.setSelectable(this.domNode,!1)},getTitleHeight:function(){return c.getMarginSize(this.domNode).h},_onTitleClick:function(){this.getParent().selectChild(this.contentWidget,!0);n.focus(this.focusNode)},_onTitleKeyDown:function(v){return this.getParent()._onKeyDown(v,this.contentWidget)},_setSelectedAttr:function(v){this._set("selected",v);this.focusNode.setAttribute("aria-expanded",v?"true":"false");this.focusNode.setAttribute("aria-selected",
v?"true":"false");this.focusNode.setAttribute("tabIndex",v?"0":"-1")}});e("dojo-bidi")&&h.extend({_setLabelAttr:function(v){this._set("label",v);f.set(this.titleTextNode,"innerHTML",v);this.applyTextDir(this.titleTextNode)},_setTitleAttr:function(v){this._set("title",v);f.set(this.titleTextNode,"title",v);this.applyTextDir(this.titleTextNode)}});var D=B("dijit.layout._AccordionInnerContainer"+(e("dojo-bidi")?"_NoBidi":""),[m,u],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:!0,buildRendering:function(){this.domNode=
d.place("\x3cdiv class\x3d'"+this.baseClass+"' role\x3d'presentation'\x3e",this.contentWidget.domNode,"after");var v=this.contentWidget,E=b.isString(this.buttonWidget)?b.getObject(this.buttonWidget):this.buttonWidget;this.button=v._buttonWidget=(new E({contentWidget:v,label:v.title,title:v.tooltip,dir:v.dir,lang:v.lang,textDir:v.textDir||this.textDir,iconClass:v.iconClass,id:v.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=d.place("\x3cdiv class\x3d'dijitAccordionChildWrapper' role\x3d'tabpanel' style\x3d'display:none'\x3e",
this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);d.place(this.contentWidget.domNode,this.containerNode)},postCreate:function(){this.inherited(arguments);var v=this.button,E=this.contentWidget;this._contentWidgetWatches=[E.watch("title",b.hitch(this,function(F,H,J){v.set("label",J)})),E.watch("tooltip",b.hitch(this,function(F,H,J){v.set("title",J)})),E.watch("iconClass",b.hitch(this,function(F,H,J){v.set("iconClass",J)}))]},_setSelectedAttr:function(v){this._set("selected",
v);this.button.set("selected",v);if(v&&(v=this.contentWidget,v.onSelected))v.onSelected()},startup:function(){this.contentWidget.startup()},destroy:function(){this.button.destroyRecursive();C.forEach(this._contentWidgetWatches||[],function(v){v.unwatch()});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments)},destroyDescendants:function(v){this.contentWidget.destroyRecursive(v)}});e("dojo-bidi")&&(D=B("dijit.layout._AccordionInnerContainer",D,
{postCreate:function(){this.inherited(arguments);var v=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(E,F,H){v.set("textDir",H)}))}}));B=B("dijit.layout.AccordionContainer",w,{duration:r.defaultDuration,buttonWidget:h,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist")},startup:function(){this._started||(this.inherited(arguments),this.selectedChildWidget&&
this.selectedChildWidget._wrapperWidget.set("selected",!0))},layout:function(){var v=this.selectedChildWidget;if(v){var E=v._wrapperWidget.domNode,F=c.getMarginExtents(E);E=c.getPadBorderExtents(E);var H=v._wrapperWidget.containerNode,J=c.getMarginExtents(H);H=c.getPadBorderExtents(H);var G=this._contentBox,I=0;C.forEach(this.getChildren(),function(K){K!=v&&(I+=c.getMarginSize(K._wrapperWidget.domNode).h)});this._verticalSpace=G.h-I-F.h-E.h-J.h-H.h-v._buttonWidget.getTitleHeight();this._containerContentBox=
{h:this._verticalSpace,w:this._contentBox.w-F.w-E.w-J.w-H.w};v&&z(v,this._containerContentBox)}},_setupChild:function(v){v._wrapperWidget=D({contentWidget:v,buttonWidget:this.buttonWidget,id:v.id+"_wrapper",dir:v.dir,lang:v.lang,textDir:v.textDir||this.textDir,parent:this});this.inherited(arguments);d.place(v.domNode,v._wrapper,"replace")},removeChild:function(v){v._wrapperWidget&&(d.place(v.domNode,v._wrapperWidget.domNode,"after"),v._wrapperWidget.destroy(),delete v._wrapperWidget);g.remove(v.domNode,
"dijitHidden");this.inherited(arguments)},getChildren:function(){return C.map(this.inherited(arguments),function(v){return"dijit.layout._AccordionInnerContainer"==v.declaredClass?v.contentWidget:v},this)},destroy:function(){this._animation&&this._animation.stop();C.forEach(this.getChildren(),function(v){v._wrapperWidget?v._wrapperWidget.destroy():v.destroyRecursive()});this.inherited(arguments)},_showChild:function(v){v._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments)},
_hideChild:function(v){v._wrapperWidget.containerNode.style.display="none";this.inherited(arguments)},_transition:function(v,E,F){8>e("ie")&&(F=!1);this._animation&&(this._animation.stop(!0),delete this._animation);var H=this;if(v){v._wrapperWidget.set("selected",!0);var J=this._showChild(v);this.doLayout&&z(v,this._containerContentBox)}E&&(E._wrapperWidget.set("selected",!1),F||this._hideChild(E));if(F){var G=v._wrapperWidget.containerNode,I=E._wrapperWidget.containerNode;F=v._wrapperWidget.containerNode;
v=c.getMarginExtents(F);F=c.getPadBorderExtents(F);var K=v.h+F.h;I.style.height=H._verticalSpace-K+"px";this._animation=new x.Animation({node:G,duration:this.duration,curve:[1,this._verticalSpace-K-1],onAnimate:function(M){M=Math.floor(M);G.style.height=M+"px";I.style.height=H._verticalSpace-K-M+"px"},onEnd:function(){delete H._animation;G.style.height="auto";E._wrapperWidget.containerNode.style.display="none";I.style.height="auto";H._hideChild(E)}});this._animation.onStop=this._animation.onEnd;this._animation.play()}return J},
_onKeyDown:function(v,E){if(!this.disabled&&!v.altKey&&(E||v.ctrlKey)){var F=v.keyCode;if(E&&(F==a.LEFT_ARROW||F==a.UP_ARROW)||v.ctrlKey&&F==a.PAGE_UP)this._adjacent(!1)._buttonWidget._onTitleClick(),v.stopPropagation(),v.preventDefault();else if(E&&(F==a.RIGHT_ARROW||F==a.DOWN_ARROW)||v.ctrlKey&&(F==a.PAGE_DOWN||F==a.TAB))this._adjacent(!0)._buttonWidget._onTitleClick(),v.stopPropagation(),v.preventDefault()}}});e("dijit-legacy-requires")&&k(0,function(){A(["dijit/layout/AccordionPane"])});B._InnerContainer=
D;B._Button=h;return B})},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme");define("../ready ./kernel ./connect ./unload ./window ./event ./html ./NodeList ../query ./xhr ./fx".split(" "),function(A){return A})},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(A,C,B,x){return A("dijit.form.SimpleTextarea",x,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"\x3ctextarea ${!nameAttrSetting} data-dojo-attach-point\x3d'focusNode,containerNode,textbox' autocomplete\x3d'off'\x3e\x3c/textarea\x3e",
postMixInProperties:function(){!this.value&&this.srcNodeRef&&(this.value=this.srcNodeRef.value);this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);B("ie")&&this.cols&&C.add(this.textbox,"dijitTextAreaCols")},filter:function(l){l&&(l=l.replace(/\r/g,""));return this.inherited(arguments)},_onInput:function(l){if(this.maxLength){var f=parseInt(this.maxLength),g=this.textbox.value.replace(/\r/g,"");f=g.length-f;if(0<f){var d=this.textbox;if(d.selectionStart){var c=d.selectionStart,
a=0;B("opera")&&(a=(this.textbox.value.substring(0,c).match(/\r/g)||[]).length);this.textbox.value=g.substring(0,c-f-a)+g.substring(c-a);d.setSelectionRange(c-f,c-f)}else this.ownerDocument.selection&&(d.focus(),g=this.ownerDocument.selection.createRange(),g.moveStart("character",-f),g.text="",g.select())}}this.inherited(arguments)}})})},"dojox/grid/enhanced/plugins/AutoScroll":function(){define("dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/html dojo/_base/window ../_Plugin ../../_RowSelector ../../EnhancedGrid".split(" "),
function(A,C,B,x,l,f,g,d){A=A("dojox.grid.enhanced.plugins.AutoScroll",f,{name:"autoScroll",autoScrollInterval:1E3,autoScrollMargin:30,constructor:function(c,a){this.grid=c;this._scrolling=this.readyForAutoScroll=!1;a=B.isObject(a)?a:{};"interval"in a&&(this.autoScrollInterval=a.interval);"margin"in a&&(this.autoScrollMargin=a.margin);this._initEvents();this._mixinGrid()},_initEvents:function(){var c=this.grid;this.connect(c,"onCellMouseDown",function(){this.readyForAutoScroll=!0});this.connect(c,
"onHeaderCellMouseDown",function(){this.readyForAutoScroll=!0});this.connect(c,"onRowSelectorMouseDown",function(){this.readyForAutoScroll=!0});this.connect(l.doc,"onmouseup",function(a){this._manageAutoScroll(!0);this.readyForAutoScroll=!1});this.connect(l.doc,"onmousemove",function(a){if(this.readyForAutoScroll){this._event=a;var b=x.position(c.domNode),e=c._getHeaderHeight(),h=this.autoScrollMargin,n=a.clientY,r=a.clientX;a=b.y;var k=b.x,m=b.h;b=b.w;if(r>=k&&r<=k+b){if(n>=a+e&&n<a+e+h){this._manageAutoScroll(!1,
!0,!1);return}if(n>a+m-h&&n<=a+m){this._manageAutoScroll(!1,!0,!0);return}if(n>=a&&n<=a+m&&C.some(c.views.views,function(y,p){if(y instanceof g)return!1;var u=x.position(y.domNode);return r<u.x+h&&r>=u.x?(this._manageAutoScroll(!1,!1,!1,y),!0):r>u.x+u.w-h&&r<u.x+u.w?(this._manageAutoScroll(!1,!1,!0,y),!0):!1},this))return}this._manageAutoScroll(!0)}})},_mixinGrid:function(){var c=this.grid;c.onStartAutoScroll=function(){};c.onEndAutoScroll=function(){}},_fireEvent:function(c,a){var b=this.grid;switch(c){case "start":b.onStartAutoScroll.apply(b,
a);break;case "end":b.onEndAutoScroll.apply(b,a)}},_manageAutoScroll:function(c,a,b,e){c?(this._scrolling=!1,clearInterval(this._handler)):this._scrolling||(this._scrolling=!0,this._fireEvent("start",[a,b,e]),this._autoScroll(a,b,e),this._handler=setInterval(B.hitch(this,"_autoScroll",a,b,e),this.autoScrollInterval))},_autoScroll:function(c,a,b){var e=this.grid,h=null;if(c){var n=e.scroller.firstVisibleRow+(a?1:-1);0<=n&&n<e.rowCount&&(e.scrollToRow(n),h=n)}else h=this._scrollColumn(a,b);null!==h&&
this._fireEvent("end",[c,a,b,h,this._event])},_scrollColumn:function(c,a){var b=a.scrollboxNode,e=null;if(b.clientWidth<b.scrollWidth){var h=C.filter(this.grid.layout.cells,function(y){return!y.hidden}),n=x.position(a.domNode),r;if(c){var k=b.clientWidth;for(r=0;r<h.length;++r){var m=x.position(h[r].getHeaderNode());m=m.x-n.x+m.w;if(m>k){e=h[r].index;b.scrollLeft+=m-k+10;break}}}else for(k=0,r=h.length-1;0<=r;--r)if(m=x.position(h[r].getHeaderNode()),m=m.x-n.x,m<k){e=h[r].index;b.scrollLeft+=m-k-
10;break}}return e}});d.registerPlugin(A);return A})},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(A,C,B){return B("dijit.Destroyable",null,{destroy:function(x){this._destroyed=!0},own:function(){var x=["destroyRecursive","destroy","remove"];A.forEach(arguments,function(l){function f(){g.remove();A.forEach(d,function(a){a.remove()})}var g=C.before(this,"destroy",function(a){l[c](a)}),d=[];if(l.then){var c="cancel";l.then(f,f)}else A.forEach(x,
function(a){"function"===typeof l[a]&&(c||(c=a),d.push(C.after(l,a,f,!0)))})},this);return arguments}})})},"dojo/request":function(){define(["./request/default!"],function(A){return A})},"dojox/form/manager/_ClassMixin":function(){define(["dojo/_base/lang","dojo/_base/kernel","dojo/dom-class","./_Mixin","dojo/_base/declare"],function(A,C,B,x,l){A=A.getObject("dojox.form.manager",!0);var f=A.actionAdapter,g=A.inspectorAdapter;return l("dojox.form.manager._ClassMixin",null,{gatherClassState:function(d,
c){return this.inspect(g(function(a,b){return B.contains(b,d)}),c)},addClass:function(d,c){this.inspect(f(function(a,b){B.add(b,d)}),c);return this},removeClass:function(d,c){this.inspect(f(function(a,b){B.remove(b,d)}),c);return this}})})},"dojo/_base/Deferred":function(){define("./kernel ../Deferred ../promise/Promise ../errors/CancelError ../has ./lang ../when".split(" "),function(A,C,B,x,l,f,g){var d=function(){},c=Object.freeze||function(){},a=A.Deferred=function(b){function e(t){if(r)throw Error("This deferred has already been resolved");
n=t;r=!0;h()}function h(){for(var t;!t&&u;){var z=u;u=u.next;if(t=z.progress==d)r=!1;var D=y?z.error:z.resolved;l("config-useDeferredInstrumentation")&&y&&C.instrumentRejected&&C.instrumentRejected(n,!!D);if(D)try{var v=D(n);v&&"function"===typeof v.then?v.then(f.hitch(z.deferred,"resolve"),f.hitch(z.deferred,"reject"),f.hitch(z.deferred,"progress")):(D=t&&void 0===v,t&&!D&&(y=v instanceof Error),z.deferred[D&&y?"reject":"resolve"](D?n:v))}catch(E){z.deferred.reject(E)}else y?z.deferred.reject(n):
z.deferred.resolve(n)}}var n,r,k,m,y,p,u,w=this.promise=new B;this.isResolved=w.isResolved=function(){return 0==m};this.isRejected=w.isRejected=function(){return 1==m};this.isFulfilled=w.isFulfilled=function(){return 0<=m};this.isCanceled=w.isCanceled=function(){return k};this.resolve=this.callback=function(t){this.fired=m=0;this.results=[t,null];e(t)};this.reject=this.errback=function(t){y=!0;this.fired=m=1;l("config-useDeferredInstrumentation")&&C.instrumentRejected&&C.instrumentRejected(t,!!u);
e(t);this.results=[null,t]};this.progress=function(t){for(var z=u;z;){var D=z.progress;D&&D(t);z=z.next}};this.addCallbacks=function(t,z){this.then(t,z,d);return this};w.then=this.then=function(t,z,D){var v=D==d?this:new a(w.cancel);t={resolved:t,error:z,progress:D,deferred:v};u?p=p.next=t:u=p=t;r&&h();return v.promise};var q=this;w.cancel=this.cancel=function(){if(!r){var t=b&&b(q);r||(t instanceof Error||(t=new x(t)),t.log=!1,q.reject(t))}k=!0};c(w)};f.extend(a,{addCallback:function(b){return this.addCallbacks(f.hitch.apply(A,
arguments))},addErrback:function(b){return this.addCallbacks(null,f.hitch.apply(A,arguments))},addBoth:function(b){var e=f.hitch.apply(A,arguments);return this.addCallbacks(e,e)},fired:-1});a.when=A.when=g;return a})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(A,C){return A.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:C("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,
DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,
copyKey:C("mac")&&!C("air")?C("safari")?91:224:17}})},"dojox/grid/_RowSelector":function(){define(["dojo/_base/declare","./_View"],function(A,C){return A("dojox.grid._RowSelector",C,{defaultWidth:"2em",noscroll:!0,padBorderWidth:2,buildRendering:function(){this.inherited("buildRendering",arguments);this.scrollboxNode.style.overflow="hidden";this.headerNode.style.visibility="hidden"},getWidth:function(){return this.viewWidth||this.defaultWidth},buildRowContent:function(B,x){x.innerHTML='\x3ctable class\x3d"dojoxGridRowbarTable" style\x3d"width:'+
(this.contentWidth||0)+'px;height:1px;" border\x3d"0" cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd class\x3d"dojoxGridRowbarInner"\x3e\x26nbsp;\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e'},renderHeader:function(){},updateRow:function(){},resize:function(){this.adaptHeight()},adaptWidth:function(){!("contentWidth"in this)&&this.contentNode&&0<this.contentNode.offsetWidth&&(this.contentWidth=this.contentNode.offsetWidth-this.padBorderWidth)},doStyleRowNode:function(B,x){var l=
["dojoxGridRowbar dojoxGridNonNormalizedCell"];this.grid.rows.isOver(B)&&l.push("dojoxGridRowbarOver");this.grid.selection.isSelected(B)&&l.push("dojoxGridRowbarSelected");x.className=l.join(" ")},domouseover:function(B){this.grid.onMouseOverRow(B)},domouseout:function(B){if(!this.isIntraRowEvent(B))this.grid.onMouseOutRow(B)}})})},"dojo/main":function(){define("./_base/kernel ./has require ./sniff ./_base/lang ./_base/array ./_base/config ./ready ./_base/declare ./_base/connect ./_base/Deferred ./_base/json ./_base/Color ./has!dojo-firebug?./_firebug/firebug ./_base/browser ./_base/loader".split(" "),
function(A,C,B,x,l,f,g,d){g.isDebug&&B(["./_firebug/firebug"]);var c=g.require;c&&(c=f.map(l.isArray(c)?c:[c],function(a){return a.replace(/\./g,"/")}),A.isAsync?B(c):d(1,function(){B(c)}));return A})},"dojo/json5":function(){define(["./json5/parse"],function(A){return{parse:A}})},"dojox/grid/_Layout":function(){define("dojo/_base/kernel ../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/dom-geometry ./cells ./_RowSelector".split(" "),function(A,C,B,x,l,f){return B("dojox.grid._Layout",
null,{constructor:function(g){this.grid=g},cells:[],structure:null,defaultWidth:"6em",moveColumn:function(g,d,c,a,b){var e=this.structure[g].cells[0],h=this.structure[d].cells[0],n=null,r=n=0;g=0;for(var k;k=e[g];g++)if(k.index==c){n=g;break}n=e.splice(n,1)[0];n.view=this.grid.views.views[d];g=0;for(k=null;k=h[g];g++)if(k.index==a){r=g;break}b||(r+=1);h.splice(r,0,n);if(c=this.grid.getCell(this.grid.getSortIndex()))c._currentlySorted=this.grid.getSortAsc();this.cells=[];for(g=c=0;d=this.structure[g];g++)for(a=
0;b=d.cells[a];a++)for(e=0;k=b[e];e++)k.index=c,this.cells.push(k),"_currentlySorted"in k&&(h=c+1,h*=k._currentlySorted?1:-1,this.grid.sortInfo=h,delete k._currentlySorted),c++;x.forEach(this.cells,function(m){var y=m.markup[2].split(" ");parseInt(y[1].substring(5))!=m.index&&(y[1]='idx\x3d"'+m.index+'"',m.markup[2]=y.join(" "))});this.grid.setupHeaderMenu()},setColumnVisibility:function(g,d){var c=this.cells[g];if(c.hidden==d){c.hidden=!d;var a=c.view,b=a.viewWidth;b&&"auto"!=b&&(a._togglingColumn=
f.getMarginBox(c.getHeaderNode()).w||0);a.update();return!0}return!1},addCellDef:function(g,d,c){var a=this,b=function(e){var h=0;1<e.colSpan?h=0:(h=e.width||a._defaultCellProps.width||a.defaultWidth,isNaN(h)||(h+="em"));return h};g={grid:this.grid,subrow:g,layoutIndex:d,index:this.cells.length};if(c&&c instanceof C.grid.cells._Base)return d=l.clone(c),g.unitWidth=b(d._props),d=l.mixin(d,this._defaultCellProps,c._props,g);d=c.type||c.cellType||this._defaultCellProps.type||this._defaultCellProps.cellType||
C.grid.cells.Cell;l.isString(d)&&(d=l.getObject(d));g.unitWidth=b(c);return new d(l.mixin({},this._defaultCellProps,c,g))},addRowDef:function(g,d){for(var c=[],a=0,b=0,e=!0,h=0,n;n=d[h];h++)n=this.addCellDef(g,h,n),c.push(n),this.cells.push(n),e&&n.relWidth?a+=n.relWidth:n.width&&(n=n.width,"string"==typeof n&&"%"==n.slice(-1)?b+=window.parseInt(n,10):"auto"==n&&(e=!1));a&&e&&x.forEach(c,function(r){r.relWidth&&(r.width=r.unitWidth=r.relWidth/a*(100-b)+"%")});return c},addRowsDef:function(g){var d=
[];if(l.isArray(g))if(l.isArrayLike(g[0]))for(var c=0,a;g&&(a=g[c]);c++)d.push(this.addRowDef(c,a));else d.push(this.addRowDef(0,g));return d},addViewDef:function(g){this._defaultCellProps=g.defaultCell||{};g.width&&"auto"==g.width&&delete g.width;return l.mixin({},g,{cells:this.addRowsDef(g.rows||g.cells)})},setStructure:function(g){this.fieldIndex=0;this.cells=[];var d=this.structure=[];if(this.grid.rowSelector){var c={type:C._scopeName+".grid._RowSelector"};if(l.isString(this.grid.rowSelector)){var a=
this.grid.rowSelector;"false"==a?c=null:"true"!=a&&(c.width=a)}else this.grid.rowSelector||(c=null);c&&d.push(this.addViewDef(c))}var b=function(r){return"name"in r||"field"in r||"get"in r};c=function(r){return l.isArray(r)&&(l.isArray(r[0])||b(r[0]))?!0:!1};a=function(r){return null!==r&&l.isObject(r)&&("cells"in r||"rows"in r||"type"in r&&!b(r))};if(l.isArrayLike(g)){for(var e=!1,h=0,n;n=g[h];h++)if(a(n)){e=!0;break}if(e)for(h=0;n=g[h];h++)c(n)?d.push(this.addViewDef({cells:n})):a(n)&&d.push(this.addViewDef(n));
else d.push(this.addViewDef({cells:g}))}else a(g)&&d.push(this.addViewDef(g));this.cellCount=this.cells.length;this.grid.setupHeaderMenu()}})})},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(A){var C={};A.setObject("dojo.data.util.filter",C);C.patternToRegExp=function(B,x){for(var l="^",f=null,g=0;g<B.length;g++)switch(f=B.charAt(g),f){case "\\":l+=f;g++;l+=B.charAt(g);break;case "*":l+=".*";break;case "?":l+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":l+=
"\\";default:l+=f}l+="$";return x?new RegExp(l,"mi"):new RegExp(l,"m")};return C})},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(A,C,B,x){var l=B.getObject("dojo.dnd",!0);l.getCopyKeyState=function(f){return f[A("mac")?"metaKey":"ctrlKey"]};l._uniqueId=0;l.getUniqueId=function(){do var f=C._scopeName+"Unique"+ ++l._uniqueId;while(x.byId(f));return f};l._empty={};l.isFormElement=function(f){f=f.target;3==f.nodeType&&(f=f.parentNode);return 0<=
" a button textarea input select option ".indexOf(" "+f.tagName.toLowerCase()+" ")};return l})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(A,C){return function(B,x,l,f){var g=B&&"function"===typeof B.then,d=g&&B instanceof C;if(!g)return 1<arguments.length?x?x(B):B:(new A).resolve(B);d||(g=new A(B.cancel),B.then(g.resolve,g.reject,g.progress),B=g.promise);return x||l||f?B.then(x,l,f):B}})},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare",
"dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(A,C,B,x,l){return C("dijit.tree.ForestStoreModel",l,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(f){this.root={store:this,root:!0,id:f.rootId,label:f.rootLabel,children:f.rootChildren}},mayHaveChildren:function(f){return f===this.root||this.inherited(arguments)},getChildren:function(f,g,d){f===this.root?this.root.children?g(this.root.children):this.store.fetch({query:this.query,onComplete:x.hitch(this,function(c){this.root.children=
c;g(c)}),onError:d}):this.inherited(arguments)},isItem:function(f){return f===this.root?!0:this.inherited(arguments)},fetchItemByIdentity:function(f){if(f.identity==this.root.id){var g=f.scope||B.global;f.onItem&&f.onItem.call(g,this.root)}else this.inherited(arguments)},getIdentity:function(f){return f===this.root?this.root.id:this.inherited(arguments)},getLabel:function(f){return f===this.root?this.root.label:this.inherited(arguments)},newItem:function(f,g,d){return g===this.root?(this.onNewRootItem(f),
this.store.newItem(f)):this.inherited(arguments)},onNewRootItem:function(){},pasteItem:function(f,g,d,c,a){if(g===this.root&&!c)this.onLeaveRoot(f);this.inherited(arguments,[f,g===this.root?null:g,d===this.root?null:d,c,a]);if(d===this.root)this.onAddToRoot(f)},onAddToRoot:function(f){},onLeaveRoot:function(f){},_requeryTop:function(){var f=this.root.children||[];this.store.fetch({query:this.query,onComplete:x.hitch(this,function(g){this.root.children=g;if(f.length!=g.length||A.some(f,function(d,
c){return g[c]!=d}))this.onChildrenChange(this.root,g)})})},onNewItem:function(f,g){this._requeryTop();this.inherited(arguments)},onDeleteItem:function(f){-1!=A.indexOf(this.root.children,f)&&this._requeryTop();this.inherited(arguments)},onSetItem:function(f,g,d,c){this._requeryTop();this.inherited(arguments)}})})},"dijit/form/TimeTextBox":function(){define("dojo/_base/declare dojo/keys dojo/query dojo/_base/lang ../_TimePicker ./_DateTimeTextBox".split(" "),function(A,C,B,x,l,f){return A("dijit.form.TimeTextBox",
f,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:l,_selector:"time",value:new Date(""),maxHeight:-1,openDropDown:function(g){this.inherited(arguments);var d=B(".dijitTimePickerItemSelected",this.dropDown.domNode),c=this.dropDown.domNode.parentNode;c.scrollTop=d[0]?d[0].offsetTop-(c.clientHeight-d[0].clientHeight)/2:(c.scrollHeight-c.clientHeight)/2;this.dropDown.on("input",x.hitch(this,function(){this.set("value",this.dropDown.get("value"),!1)}))},_onInput:function(){this.inherited(arguments);
var g=this.get("displayedValue");this.filterString=g&&!this.parse(g,this.constraints)?g.toLowerCase():"";this._opened&&this.closeDropDown();this.openDropDown()}})})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){b("dijit-legacy-requires")&&k(0,function(){A(["dijit/MenuItem",
"dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"])});return B("dijit.Menu",r,{constructor:function(){this._bindings=[]},targetNodeIds:[],selector:"",contextMenuForWindow:!1,leftClickToOpen:!1,refocus:!0,postCreate:function(){this.contextMenuForWindow?this.bindDomNode(this.ownerDocumentBody):C.forEach(this.targetNodeIds,this.bindDomNode,this);this.inherited(arguments)},_iframeContentWindow:function(m){return h.get(this._iframeContentDocument(m))||this._iframeContentDocument(m).__parent__||
m.name&&document.frames[m.name]||null},_iframeContentDocument:function(m){return m.contentDocument||m.contentWindow&&m.contentWindow.document||m.name&&document.frames[m.name]&&document.frames[m.name].document||null},bindDomNode:function(m){m=x.byId(m,this.ownerDocument);if("iframe"==m.tagName.toLowerCase()){var y=m;var p=this._iframeContentWindow(y);p=e.body(p.document)}else p=m==e.body(this.ownerDocument)?this.ownerDocument.documentElement:m;var u={node:m,iframe:y};l.set(m,"_dijitMenu"+this.id,this._bindings.push(u));
var w=c.hitch(this,function(q){var t=this.selector,z=t?function(v){return a.selector(t,v)}:function(v){return v},D=this;return[a(q,z(this.leftClickToOpen?"click":"contextmenu"),function(v){v.stopPropagation();v.preventDefault();(new Date).getTime()<D._lastKeyDown+500||D._scheduleOpen(this,y,{x:v.pageX,y:v.pageY},v.target)}),a(q,z("keydown"),function(v){if(93==v.keyCode||v.shiftKey&&v.keyCode==d.F10||D.leftClickToOpen&&v.keyCode==d.SPACE)v.stopPropagation(),v.preventDefault(),D._scheduleOpen(this,
y,null,v.target),D._lastKeyDown=(new Date).getTime()})]});u.connects=p?w(p):[];y&&(u.onloadHandler=c.hitch(this,function(){var q=this._iframeContentWindow(y);q=e.body(q.document);u.connects=w(q)}),y.addEventListener?y.addEventListener("load",u.onloadHandler,!1):y.attachEvent("onload",u.onloadHandler))},unBindDomNode:function(m){try{var y=x.byId(m,this.ownerDocument)}catch(q){return}m="_dijitMenu"+this.id;if(y&&l.has(y,m)){for(var p=l.get(y,m)-1,u=this._bindings[p],w;w=u.connects.pop();)w.remove();
(w=u.iframe)&&(w.removeEventListener?w.removeEventListener("load",u.onloadHandler,!1):w.detachEvent("onload",u.onloadHandler));l.remove(y,m);delete this._bindings[p]}},_scheduleOpen:function(m,y,p,u){this._openTimer||(this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:u,delegatedTarget:m,iframe:y,coords:p})},1))},_openMyself:function(m){function y(){v.refocus&&E&&E.focus();n.close(v)}var p=m.target,u=m.iframe,w=m.coords,q=!w;this.currentTarget=m.delegatedTarget;
if(w){if(u){m=f.position(u,!0);p=this._iframeContentWindow(u);p=f.docScroll(p.document);var t=g.getComputedStyle(u),z=g.toPixelValue,D=(b("ie")&&b("quirks")?0:z(u,t.paddingLeft))+(b("ie")&&b("quirks")?z(u,t.borderLeftWidth):0);u=(b("ie")&&b("quirks")?0:z(u,t.paddingTop))+(b("ie")&&b("quirks")?z(u,t.borderTopWidth):0);w.x+=m.x+D-p.x;w.y+=m.y+u-p.y}}else w=f.position(p,!0),w.x+=10,w.y+=10;var v=this;u=this._focusManager.get("prevNode");m=this._focusManager.get("curNode");var E=!m||x.isDescendant(m,
this.domNode)?u:m;n.open({popup:this,x:w.x,y:w.y,onExecute:y,onCancel:y,orient:this.isLeftToRight()?"L":"R"});this.focus();q||this.defer(function(){this._cleanUp(!0)});this._onBlur=function(){this.inherited("_onBlur",arguments);n.close(this)}},destroy:function(){C.forEach(this._bindings,function(m){m&&this.unBindDomNode(m.node)},this);this.inherited(arguments)}})})},"dojo/dom-attr":function(){define("exports ./sniff ./_base/lang ./dom ./dom-style ./dom-prop".split(" "),function(A,C,B,x,l,f){function g(a,
b){var e=a.getAttributeNode&&a.getAttributeNode(b);return!!e&&e.specified}var d={innerHTML:1,textContent:1,className:1,htmlFor:C("ie")?1:0,value:1},c={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};A.has=function(a,b){var e=b.toLowerCase();return!!d[f.names[e]||b]||g(x.byId(a),c[e]||b)};A.get=function(a,b){a=x.byId(a);var e=b.toLowerCase(),h=f.names[e]||b,n=a[h];if(d[h]&&"undefined"!=typeof n)return n;if("textContent"==h)return f.get(a,h);if("href"!=h&&("boolean"==typeof n||
B.isFunction(n)))return n;e=c[e]||b;return g(a,e)?a.getAttribute(e):null};A.set=function(a,b,e){a=x.byId(a);if(2==arguments.length){for(var h in b)A.set(a,h,b[h]);return a}h=b.toLowerCase();var n=f.names[h]||b,r=d[n];if("style"==n&&"string"!=typeof e)return l.set(a,e),a;if(r||"boolean"==typeof e||B.isFunction(e))return f.set(a,b,e);a.setAttribute(c[h]||b,e);return a};A.remove=function(a,b){x.byId(a).removeAttribute(c[b.toLowerCase()]||b)};A.getNodeProp=function(a,b){a=x.byId(a);var e=b.toLowerCase(),
h=f.names[e]||b;if(h in a&&"href"!=h)return a[h];e=c[e]||b;return g(a,e)?a.getAttribute(e):null}})},"dijit/_base/window":function(){define(["dojo/window","../main"],function(A,C){C.getDocumentWindow=function(B){return A.get(B)}})},"dojo/data/ObjectStore":function(){define("../_base/lang ../Evented ../_base/declare ../_base/Deferred ../promise/all ../_base/array ../_base/connect ../regexp".split(" "),function(A,C,B,x,l,f,g,d){function c(a){return"*"==a?".*":"?"==a?".":a}return B("dojo.data.ObjectStore",
[C],{objectStore:null,constructor:function(a){this._dirtyObjects=[];a.labelAttribute&&(a.labelProperty=a.labelAttribute);A.mixin(this,a)},labelProperty:"label",getValue:function(a,b,e){return"function"===typeof a.get?a.get(b):b in a?a[b]:e},getValues:function(a,b){var e=this.getValue(a,b);return e instanceof Array?e:void 0===e?[]:[e]},getAttributes:function(a){var b=[],e;for(e in a)!a.hasOwnProperty(e)||"_"==e.charAt(0)&&"_"==e.charAt(1)||b.push(e);return b},hasAttribute:function(a,b){return b in
a},containsValue:function(a,b,e){return-1<f.indexOf(this.getValues(a,b),e)},isItem:function(a){return"object"==typeof a&&a&&!(a instanceof Date)},isItemLoaded:function(a){return a&&"function"!==typeof a.load},loadItem:function(a){var b;"function"===typeof a.item.load?x.when(a.item.load(),function(e){b=e;var h=e instanceof Error?a.onError:a.onItem;h&&h.call(a.scope,e)}):a.onItem&&a.onItem.call(a.scope,a.item);return b},close:function(a){return a&&a.abort&&a.abort()},fetch:function(a){function b(y){a.onError&&
a.onError.call(h,y,a)}a=A.delegate(a,a&&a.queryOptions);var e=this,h=a.scope||e,n=a.query;if("object"==typeof n){n=A.delegate(n);for(var r in n){var k=n[r];"string"==typeof k&&(n[r]=RegExp("^"+d.escapeString(k,"*?\\").replace(/\\.|\*|\?/g,c)+"$",a.ignoreCase?"mi":"m"),n[r].toString=function(y){return function(){return y}}(k))}}var m=this.objectStore.query(n,a);x.when(m.total,function(y){x.when(m,function(p){a.onBegin&&a.onBegin.call(h,y||p.length,a);if(a.onItem)for(var u=0;u<p.length;u++)a.onItem.call(h,
p[u],a);a.onComplete&&a.onComplete.call(h,a.onItem?null:p,a);return p},b)},b);a.abort=function(){m.cancel&&m.cancel()};m.observe&&(this.observing&&this.observing.cancel(),this.observing=m.observe(function(y,p,u){if(-1==f.indexOf(e._dirtyObjects,y))if(-1==p)e.onNew(y);else if(-1==u)e.onDelete(y);else for(var w in y)if(w!=e.objectStore.idProperty)e.onSet(y,w,null,y[w])},!0));this.onFetch(m);a.store=this;return a},getFeatures:function(){return{"dojo.data.api.Read":!!this.objectStore.get,"dojo.data.api.Identity":!0,
"dojo.data.api.Write":!!this.objectStore.put,"dojo.data.api.Notification":!0}},getLabel:function(a){if(this.isItem(a))return this.getValue(a,this.labelProperty)},getLabelAttributes:function(a){return[this.labelProperty]},getIdentity:function(a){return this.objectStore.getIdentity?this.objectStore.getIdentity(a):a[this.objectStore.idProperty||"id"]},getIdentityAttributes:function(a){return[this.objectStore.idProperty]},fetchItemByIdentity:function(a){var b;x.when(this.objectStore.get(a.identity),function(e){b=
e;a.onItem.call(a.scope,e)},function(e){a.onError.call(a.scope,e)});return b},newItem:function(a,b){if(b){var e=this.getValue(b.parent,b.attribute,[]);e=e.concat([a]);a.__parent=e;this.setValue(b.parent,b.attribute,e)}this._dirtyObjects.push({object:a,save:!0});this.onNew(a);return a},deleteItem:function(a){this.changing(a,!0);this.onDelete(a)},setValue:function(a,b,e){var h=a[b];this.changing(a);a[b]=e;this.onSet(a,b,h,e)},setValues:function(a,b,e){if(!A.isArray(e))throw Error("setValues expects to be passed an Array object as its value");
this.setValue(a,b,e)},unsetAttribute:function(a,b){this.changing(a);var e=a[b];delete a[b];this.onSet(a,b,e,void 0)},changing:function(a,b){a.__isDirty=!0;for(var e=0;e<this._dirtyObjects.length;e++){var h=this._dirtyObjects[e];if(a==h.object){b&&(h.object=!1,this._saveNotNeeded||(h.save=!0));return}}h=a instanceof Array?[]:{};for(e in a)a.hasOwnProperty(e)&&(h[e]=a[e]);this._dirtyObjects.push({object:!b&&a,old:h,save:!this._saveNotNeeded})},save:function(a){a=a||{};var b=[],e=[],h=this,n=this._dirtyObjects;
try{g.connect(a,"onError",function(){if(!1!==a.revertOnError){var w=n;n=e;h.revert();h._dirtyObjects=w}else h._dirtyObjects=n.concat(e)});var r;this.objectStore.transaction&&(r=this.objectStore.transaction());for(var k=0;k<n.length;k++){var m=n[k],y=m.object,p=m.old;delete y.__isDirty;if(y){var u=this.objectStore.put(y,{overwrite:!!p});b.push(u)}else"undefined"!=typeof p&&(u=this.objectStore.remove(this.getIdentity(p)),b.push(u));e.push(m);n.splice(k--,1)}l(b).then(function(w){a.onComplete&&a.onComplete.call(a.scope,
w)},function(w){a.onError&&a.onError.call(a.scope,w)});r&&r.commit()}catch(w){a.onError.call(a.scope,value)}},revert:function(){for(var a=this._dirtyObjects,b=a.length;0<b;){b--;var e=a[b],h=e.object;e=e.old;if(h&&e){for(var n in e)e.hasOwnProperty(n)&&h[n]!==e[n]&&(this.onSet(h,n,h[n],e[n]),h[n]=e[n]);for(n in h)e.hasOwnProperty(n)||(this.onSet(h,n,h[n]),delete h[n])}else if(e)this.onNew(e);else this.onDelete(h);delete (h||e).__isDirty;a.splice(b,1)}},isDirty:function(a){return a?a.__isDirty:!!this._dirtyObjects.length},
onSet:function(){},onNew:function(){},onDelete:function(){},onFetch:function(a){}})})},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(A,C,B,x){return A("dijit.form.MappedTextBox",x,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting=""},_setNameAttr:"valueNode",serialize:function(l){return l.toString?l.toString():""},toString:function(){var l=this.filter(this.get("value"));return null!=
l?"string"==typeof l?l:this.serialize(l,this.constraints):""},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.valueNode=B.place("\x3cinput type\x3d'hidden'"+(this.name&&!C("msapp")?' name\x3d"'+this.name.replace(/"/g,"\x26quot;")+'"':"")+"/\x3e",this.textbox,"after")},reset:function(){this.valueNode.value="";this.inherited(arguments)}})})},"dojox/grid/util":function(){define(["../main","dojo/_base/lang",
"dojo/dom","dojo/_base/sniff"],function(A,C,B,x){var l=C.getObject("grid.util",!0,A);l.na="...";l.rowIndexTag="gridRowIndex";l.gridViewTag="gridView";l.fire=function(f,g,d){function c(r,k){if(null==r)return null;var m=k?"Width":"Height";return r["scroll"+m]>r["client"+m]?r:c(r.parentNode,k)}var a;if(x("webkit")&&"focus"==g){var b=f.domNode?f.domNode:f;if(a=c(b,!1))var e=a.scrollTop;if(b=c(b,!0))var h=b.scrollLeft}var n=f&&g&&f[g];f=n&&(d?n.apply(f,d):f[g]());x("webkit")&&"focus"==g&&(a&&(a.scrollTop=
e),b&&(b.scrollLeft=h));return f};l.setStyleHeightPx=function(f,g){if(0<=g){var d=f.style,c=g+"px";f&&d.height!=c&&(d.height=c)}};l.mouseEvents="mouseover mouseout mousedown mouseup click dblclick contextmenu".split(" ");l.keyEvents=["keyup","keydown","keypress"];l.funnelEvents=function(f,g,d,c){c=c?c:l.mouseEvents.concat(l.keyEvents);for(var a=0,b=c.length;a<b;a++)g.connect(f,"on"+c[a],d)};l.removeNode=function(f){(f=B.byId(f))&&f.parentNode&&f.parentNode.removeChild(f);return f};l.arrayCompare=
function(f,g){for(var d=0,c=f.length;d<c;d++)if(f[d]!=g[d])return!1;return f.length==g.length};l.arrayInsert=function(f,g,d){f.length<=g?f[g]=d:f.splice(g,0,d)};l.arrayRemove=function(f,g){f.splice(g,1)};l.arraySwap=function(f,g,d){var c=f[g];f[g]=f[d];f[d]=c};return l})},"dojox/gfx/arc":function(){define(["./_base","dojo/_base/lang","./matrix"],function(A,C,B){function x(a){var b=Math.cos(a);a=Math.sin(a);var e={x:b+4/3*(1-b),y:a-4/3*b*(1-b)/a};return{s:{x:b,y:-a},c1:{x:e.x,y:-e.y},c2:e,e:{x:b,y:a}}}
var l=2*Math.PI,f=Math.PI/4,g=Math.PI/8,d=f+g,c=x(g);return A.arc={unitArcAsBezier:x,curvePI4:c,arcAsBezier:function(a,b,e,h,n,r,k,m){n=!!n;r=!!r;var y=B._degToRad(h);h=b*b;var p=e*e,u=B.multiplyPoint(B.rotate(-y),{x:(a.x-k)/2,y:(a.y-m)/2}),w=u.x*u.x,q=u.y*u.y;h=Math.sqrt((h*p-h*q-p*w)/(h*q+p*w));isNaN(h)&&(h=0);h={x:h*b*u.y/e,y:-h*e*u.x/b};n==r&&(h={x:-h.x,y:-h.y});h=B.multiplyPoint([B.translate((a.x+k)/2,(a.y+m)/2),B.rotate(y)],h);b=B.normalize([B.translate(h.x,h.y),B.rotate(y),B.scale(b,e)]);h=
B.invert(b);a=B.multiplyPoint(h,a);m=B.multiplyPoint(h,k,m);k=Math.atan2(a.y,a.x);h=k-Math.atan2(m.y,m.x);r&&(h=-h);0>h?h+=l:h>l&&(h-=l);e=g;m=c;e=r?e:-e;a=[];for(n=h;0<n;n-=f)n<d&&(e=n/2,m=x(e),e=r?e:-e,n=0),u=B.normalize([b,B.rotate(k+e)]),r?(h=B.multiplyPoint(u,m.c1),y=B.multiplyPoint(u,m.c2),u=B.multiplyPoint(u,m.e)):(h=B.multiplyPoint(u,m.c2),y=B.multiplyPoint(u,m.c1),u=B.multiplyPoint(u,m.s)),a.push([h.x,h.y,y.x,y.y,u.x,u.y]),k+=2*e;return a}}})},"dojox/grid/_RowManager":function(){define(["dojo/_base/declare",
"dojo/_base/lang","dojo/dom-class"],function(A,C,B){return A("dojox.grid._RowManager",null,{constructor:function(x){this.grid=x},linesToEms:2,overRow:-2,prepareStylingRow:function(x,l){return{index:x,node:l,odd:!!(x&1),selected:!!this.grid.selection.isSelected(x),over:this.isOver(x),customStyles:"",customClasses:"dojoxGridRow"}},styleRowNode:function(x,l){var f=this.prepareStylingRow(x,l);this.grid.onStyleRow(f);this.applyStyles(f)},applyStyles:function(x){x.node.className=x.customClasses;var l=x.node.style.height,
f=x.node,g=x.customStyles+";"+(x.node._style||"");void 0==f.style.cssText?f.setAttribute("style",g):f.style.cssText=g;x.node.style.height=l},updateStyles:function(x){this.grid.updateRowStyles(x)},setOverRow:function(x){var l=this.overRow;this.overRow=x;l!=this.overRow&&(C.isString(l)||0<=l)&&this.updateStyles(l);this.updateStyles(this.overRow)},isOver:function(x){return this.overRow==x&&!B.contains(this.grid.domNode,"dojoxGridColumnResizing")}})})},"dojox/gfx/renderer":function(){define(["./_base",
"dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],function(A,C,B,x,l){var f=null;B.add("vml",function(g,d,c){c.innerHTML='\x3cv:shape adj\x3d"1"/\x3e';g="adj"in c.firstChild;c.innerHTML="";return g});return{load:function(g,d,c){function a(){d(["dojox/gfx/"+b],function(n){A.renderer=b;f=n;c(n)})}if(f&&"force"!=g)c(f);else{var b=l.forceGfxRenderer;g=!b&&(C.isString(l.gfxRenderer)?l.gfxRenderer:"svg,vml,canvas,silverlight").split(",");for(var e,h;!b&&g.length;)switch(g.shift()){case "svg":"SVGAngle"in
x.global&&(b="svg");break;case "vml":B("vml")&&(b="vml");break;case "silverlight":try{B("ie")?(e=new ActiveXObject("AgControl.AgControl"),e.IsVersionSupported("1.0"))&&(h=!0):navigator.plugins["Silverlight Plug-In"]&&(h=!0)}catch(n){h=!1}finally{e=null}h&&(b="silverlight");break;case "canvas":x.global.CanvasRenderingContext2D&&(b="canvas")}"canvas"===b&&!1!==l.canvasEvents&&(b="canvasWithEvents");"svg"==b&&"undefined"!=typeof window.svgweb?window.svgweb.addOnLoad(a):a()}}}})},"dojo/dnd/Moveable":function(){define("../_base/array ../_base/declare ../_base/lang ../dom ../dom-class ../Evented ../has ../on ../topic ../touch ./common ./Mover ../_base/window".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){function n(m,y){"touchAction"in document.body.style?r="touchAction":"msTouchAction"in document.body.style&&(r="msTouchAction");k=function(p,u){p.style[r]=u};k(m,y)}var r,k=function(){};g("touch-action")&&(k=n);return C("dojo.dnd.Moveable",[f],{handle:"",delay:0,skip:!1,constructor:function(m,y){this.node=x.byId(m);k(this.node,"none");y||(y={});this.handle=y.handle?x.byId(y.handle):null;this.handle||(this.handle=this.node);this.delay=0<y.delay?y.delay:0;this.skip=
y.skip;this.mover=y.mover?y.mover:e;this.events=[d(this.handle,a.press,B.hitch(this,"onMouseDown")),d(this.handle,"dragstart",B.hitch(this,"onSelectStart")),d(this.handle,"selectstart",B.hitch(this,"onSelectStart"))]},markupFactory:function(m,y,p){return new p(y,m)},destroy:function(){A.forEach(this.events,function(m){m.remove()});k(this.node,"");this.events=this.node=this.handle=null},onMouseDown:function(m){if(!this.skip||!b.isFormElement(m)){if(this.delay)this.events.push(d(this.handle,a.move,
B.hitch(this,"onMouseMove")),d(this.handle.ownerDocument,a.release,B.hitch(this,"onMouseUp"))),this._lastX=m.pageX,this._lastY=m.pageY;else this.onDragDetected(m);m.stopPropagation();m.preventDefault()}},onMouseMove:function(m){if(Math.abs(m.pageX-this._lastX)>this.delay||Math.abs(m.pageY-this._lastY)>this.delay)this.onMouseUp(m),this.onDragDetected(m);m.stopPropagation();m.preventDefault()},onMouseUp:function(m){for(var y=0;2>y;++y)this.events.pop().remove();m.stopPropagation();m.preventDefault()},
onSelectStart:function(m){this.skip&&b.isFormElement(m)||(m.stopPropagation(),m.preventDefault())},onDragDetected:function(m){new this.mover(this.node,m,this)},onMoveStart:function(m){c.publish("/dnd/move/start",m);l.add(h.body(),"dojoMove");l.add(this.node,"dojoMoveItem")},onMoveStop:function(m){c.publish("/dnd/move/stop",m);l.remove(h.body(),"dojoMove");l.remove(this.node,"dojoMoveItem")},onFirstMove:function(){},onMove:function(m,y){this.onMoving(m,y);var p=m.node.style;p.left=y.l+"px";p.top=y.t+
"px";this.onMoved(m,y)},onMoving:function(){},onMoved:function(){}})})},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(A,C,B){var x=function(l){function f(d){l[d]=function(){var c=arguments,a=B(l,function(b){Array.prototype.unshift.call(c,b);return x(A[d].apply(A,c))});if("forEach"!==d||g)return a}}if(!l)return l;var g=!!l.then;g&&(l=C.delegate(l));f("forEach");f("filter");f("map");null==l.total&&(l.total=B(l,function(d){return d.length}));
return l};C.setObject("dojo.store.util.QueryResults",x);return x})},"dojo/AdapterRegistry":function(){define(["./_base/kernel","./_base/lang"],function(A,C){var B=A.AdapterRegistry=function(x){this.pairs=[];this.returnWrappers=x||!1};C.extend(B,{register:function(x,l,f,g,d){this.pairs[d?"unshift":"push"]([x,l,f,g])},match:function(){for(var x=0;x<this.pairs.length;x++){var l=this.pairs[x];if(l[1].apply(this,arguments))return l[3]||this.returnWrappers?l[2]:l[2].apply(this,arguments)}throw Error("No match found");
},unregister:function(x){for(var l=0;l<this.pairs.length;l++)if(this.pairs[l][0]==x)return this.pairs.splice(l,1),!0;return!1}});return B})},"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".split(" "),function(A,C,B,x,l,f,g,d,c){x("dijit-legacy-requires")&&f(0,function(){A(["dijit/form/RadioButton"])});return C("dijit.form.CheckBox",[g,
d],{templateString:c,baseClass:"dijitCheckBox",_setValueAttr:function(a,b){"string"==typeof a&&(this.inherited(arguments),a=!0);this._created&&this.set("checked",a,b)},_getValueAttr:function(){return this.checked&&this._get("value")},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=""},_fillContent:function(){},_onFocus:function(){this.id&&l("label[for\x3d'"+this.id+"']").addClass("dijitFocusedLabel");this.inherited(arguments)},
_onBlur:function(){this.id&&l("label[for\x3d'"+this.id+"']").removeClass("dijitFocusedLabel");this.inherited(arguments)}})})},"dojox/gfx/shape":function(){define("./_base dojo/_base/lang dojo/_base/declare dojo/_base/kernel dojo/_base/sniff dojo/on dojo/_base/array dojo/dom-construct dojo/_base/Color ./matrix".split(" "),function(A,C,B,x,l,f,g,d,c,a){function b(h,n){for(var r=h.length-1;n<r;)h[n]=h[++n];h.length=r}var e=A.shape={};e.Shape=B("dojox.gfx.shape.Shape",null,{constructor:function(){this.parentMatrix=
this.parent=this.bbox=this.strokeStyle=this.fillStyle=this.matrix=this.shape=this.rawNode=null;if(l("gfxRegistry")){var h=e.register(this);this.getUID=function(){return h}}},destroy:function(){l("gfxRegistry")&&e.dispose(this);this.rawNode&&"__gfxObject__"in this.rawNode&&(this.rawNode.__gfxObject__=null);this.rawNode=null},getNode:function(){return this.rawNode},getShape:function(){return this.shape},getTransform:function(){return this.matrix},getFill:function(){return this.fillStyle},getStroke:function(){return this.strokeStyle},
getParent:function(){return this.parent},getBoundingBox:function(){return this.bbox},getTransformedBoundingBox:function(){var h=this.getBoundingBox();if(!h)return null;var n=this._getRealMatrix();return[a.multiplyPoint(n,h.x,h.y),a.multiplyPoint(n,h.x+h.width,h.y),a.multiplyPoint(n,h.x+h.width,h.y+h.height),a.multiplyPoint(n,h.x,h.y+h.height)]},getEventSource:function(){return this.rawNode},setClip:function(h){this.clip=h},getClip:function(){return this.clip},setShape:function(h){this.shape=A.makeParameters(this.shape,
h);this.bbox=null;return this},setFill:function(h){if(!h)return this.fillStyle=null,this;var n=null;if("object"==typeof h&&"type"in h)switch(h.type){case "linear":n=A.makeParameters(A.defaultLinearGradient,h);break;case "radial":n=A.makeParameters(A.defaultRadialGradient,h);break;case "pattern":n=A.makeParameters(A.defaultPattern,h)}else n=A.normalizeColor(h);this.fillStyle=n;return this},setStroke:function(h){if(!h)return this.strokeStyle=null,this;if("string"==typeof h||C.isArray(h)||h instanceof
c)h={color:h};h=this.strokeStyle=A.makeParameters(A.defaultStroke,h);h.color=A.normalizeColor(h.color);return this},setTransform:function(h){this.matrix=a.clone(h?a.normalize(h):a.identity);return this._applyTransform()},_applyTransform:function(){return this},moveToFront:function(){var h=this.getParent();h&&(h._moveChildToFront(this),this._moveToFront());return this},moveToBack:function(){var h=this.getParent();h&&(h._moveChildToBack(this),this._moveToBack());return this},_moveToFront:function(){},
_moveToBack:function(){},applyRightTransform:function(h){return h?this.setTransform([this.matrix,h]):this},applyLeftTransform:function(h){return h?this.setTransform([h,this.matrix]):this},applyTransform:function(h){return h?this.setTransform([this.matrix,h]):this},removeShape:function(h){this.parent&&this.parent.remove(this,h);return this},_setParent:function(h,n){this.parent=h;return this._updateParentMatrix(n)},_updateParentMatrix:function(h){this.parentMatrix=h?a.clone(h):null;return this._applyTransform()},
_getRealMatrix:function(){for(var h=this.matrix,n=this.parent;n;)n.matrix&&(h=a.multiply(n.matrix,h)),n=n.parent;return h}});e._eventsProcessing={on:function(h,n){return f(this.getEventSource(),h,e.fixCallback(this,A.fixTarget,n))},connect:function(h,n,r){"on"==h.substring(0,2)&&(h=h.substring(2));return this.on(h,r?C.hitch(n,r):n)},disconnect:function(h){return h.remove()}};e.fixCallback=function(h,n,r,k){k||(k=r,r=null);if(C.isString(k)){r=r||x.global;if(!r[k])throw['dojox.gfx.shape.fixCallback: scope["',
k,'"] is null (scope\x3d"',r,'")'].join("");return function(m){return n(m,h)?r[k].apply(r,arguments||[]):void 0}}return r?function(m){return n(m,h)?k.apply(r,arguments||[]):void 0}:function(m){return n(m,h)?k.apply(r,arguments):void 0}};C.extend(e.Shape,e._eventsProcessing);e.Container={_init:function(){this.children=[];this._batch=0},openBatch:function(){return this},closeBatch:function(){return this},add:function(h){var n=h.getParent();n&&n.remove(h,!0);this.children.push(h);return h._setParent(this,
this._getRealMatrix())},remove:function(h,n){for(var r=0;r<this.children.length;++r)if(this.children[r]==h){n||(h.parent=null,h.parentMatrix=null);b(this.children,r);break}return this},clear:function(h){for(var n,r=0;r<this.children.length;++r)n=this.children[r],n.parent=null,n.parentMatrix=null,h&&n.destroy();this.children=[];return this},getBoundingBox:function(){if(this.children){var h=null;g.forEach(this.children,function(n){var r=n.getBoundingBox();r&&((n=n.getTransform())&&(r=a.multiplyRectangle(n,
r)),h?(h.x=Math.min(h.x,r.x),h.y=Math.min(h.y,r.y),h.endX=Math.max(h.endX,r.x+r.width),h.endY=Math.max(h.endY,r.y+r.height)):h={x:r.x,y:r.y,endX:r.x+r.width,endY:r.y+r.height})});h&&(h.width=h.endX-h.x,h.height=h.endY-h.y);return h}return null},_moveChildToFront:function(h){for(var n=0;n<this.children.length;++n)if(this.children[n]==h){b(this.children,n);this.children.push(h);break}return this},_moveChildToBack:function(h){for(var n=0;n<this.children.length;++n)if(this.children[n]==h){b(this.children,
n);this.children.unshift(h);break}return this}};e.Surface=B("dojox.gfx.shape.Surface",null,{constructor:function(){this._parent=this.rawNode=null;this._nodes=[];this._events=[]},destroy:function(){g.forEach(this._nodes,d.destroy);this._nodes=[];g.forEach(this._events,function(h){h&&h.remove()});this._events=[];this.rawNode=null;if(l("ie"))for(;this._parent.lastChild;)d.destroy(this._parent.lastChild);else this._parent.innerHTML="";this._parent=null},getEventSource:function(){return this.rawNode},
_getRealMatrix:function(){return null},isLoaded:!0,onLoad:function(h){},whenLoaded:function(h,n){var r=C.hitch(h,n);if(this.isLoaded)r(this);else f.once(this,"load",function(k){r(k)})}});C.extend(e.Surface,e._eventsProcessing);e.Rect=B("dojox.gfx.shape.Rect",e.Shape,{constructor:function(h){this.shape=A.getDefault("Rect");this.rawNode=h},getBoundingBox:function(){return this.shape}});e.Ellipse=B("dojox.gfx.shape.Ellipse",e.Shape,{constructor:function(h){this.shape=A.getDefault("Ellipse");this.rawNode=
h},getBoundingBox:function(){if(!this.bbox){var h=this.shape;this.bbox={x:h.cx-h.rx,y:h.cy-h.ry,width:2*h.rx,height:2*h.ry}}return this.bbox}});e.Circle=B("dojox.gfx.shape.Circle",e.Shape,{constructor:function(h){this.shape=A.getDefault("Circle");this.rawNode=h},getBoundingBox:function(){if(!this.bbox){var h=this.shape;this.bbox={x:h.cx-h.r,y:h.cy-h.r,width:2*h.r,height:2*h.r}}return this.bbox}});e.Line=B("dojox.gfx.shape.Line",e.Shape,{constructor:function(h){this.shape=A.getDefault("Line");this.rawNode=
h},getBoundingBox:function(){if(!this.bbox){var h=this.shape;this.bbox={x:Math.min(h.x1,h.x2),y:Math.min(h.y1,h.y2),width:Math.abs(h.x2-h.x1),height:Math.abs(h.y2-h.y1)}}return this.bbox}});e.Polyline=B("dojox.gfx.shape.Polyline",e.Shape,{constructor:function(h){this.shape=A.getDefault("Polyline");this.rawNode=h},setShape:function(h,n){h&&h instanceof Array?(this.inherited(arguments,[{points:h}]),n&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.inherited(arguments,[h]);
return this},_normalizePoints:function(){var h=this.shape.points,n=h&&h.length;if(n&&"number"==typeof h[0]){for(var r=[],k=0;k<n;k+=2)r.push({x:h[k],y:h[k+1]});this.shape.points=r}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){for(var h=this.shape.points,n=h.length,r=h[0],k=r.x,m=r.y,y=r.x,p=r.y,u=1;u<n;++u)r=h[u],k>r.x&&(k=r.x),y<r.x&&(y=r.x),m>r.y&&(m=r.y),p<r.y&&(p=r.y);this.bbox={x:k,y:m,width:y-k,height:p-m}}return this.bbox}});e.Image=B("dojox.gfx.shape.Image",e.Shape,
{constructor:function(h){this.shape=A.getDefault("Image");this.rawNode=h},getBoundingBox:function(){return this.shape},setStroke:function(){return this},setFill:function(){return this}});e.Text=B(e.Shape,{constructor:function(h){this.fontStyle=null;this.shape=A.getDefault("Text");this.rawNode=h},getFont:function(){return this.fontStyle},setFont:function(h){this.fontStyle="string"==typeof h?A.splitFontString(h):A.makeParameters(A.defaultFont,h);this._setFont();return this},getBoundingBox:function(){var h=
null;this.getShape().text&&(h=A._base._computeTextBoundingBox(this));return h}});e.Creator={createShape:function(h){switch(h.type){case A.defaultPath.type:return this.createPath(h);case A.defaultRect.type:return this.createRect(h);case A.defaultCircle.type:return this.createCircle(h);case A.defaultEllipse.type:return this.createEllipse(h);case A.defaultLine.type:return this.createLine(h);case A.defaultPolyline.type:return this.createPolyline(h);case A.defaultImage.type:return this.createImage(h);
case A.defaultText.type:return this.createText(h);case A.defaultTextPath.type:return this.createTextPath(h)}return null},createGroup:function(){return this.createObject(A.Group)},createRect:function(h){return this.createObject(A.Rect,h)},createEllipse:function(h){return this.createObject(A.Ellipse,h)},createCircle:function(h){return this.createObject(A.Circle,h)},createLine:function(h){return this.createObject(A.Line,h)},createPolyline:function(h){return this.createObject(A.Polyline,h)},createImage:function(h){return this.createObject(A.Image,
h)},createText:function(h){return this.createObject(A.Text,h)},createPath:function(h){return this.createObject(A.Path,h)},createTextPath:function(h){return this.createObject(A.TextPath,{}).setText(h)},createObject:function(h,n){return null}};return e})},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(A,C,B,x){return A("dijit.form.Textarea",[x,B],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",
buildRendering:function(){this.inherited(arguments);C.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"})}})})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a){return A("dijit.form.DropDownButton",
[g,d,c],{baseClass:"dijitDropDownButton",templateString:a,_fillContent:function(){var b=this.srcNodeRef,e=this.containerNode;if(b&&e)for(;b.hasChildNodes();){var h=b.firstChild;h.hasAttribute&&(h.hasAttribute("data-dojo-type")||h.hasAttribute("dojoType")||h.hasAttribute("data-"+C._scopeName+"-type")||h.hasAttribute(C._scopeName+"Type"))?(this.dropDownContainer=this.ownerDocument.createElement("div"),this.dropDownContainer.appendChild(h)):e.appendChild(h)}},startup:function(){this._started||(!this.dropDown&&
this.dropDownContainer&&(this.dropDown=l.byNode(this.dropDownContainer.firstChild),delete this.dropDownContainer),this.dropDown&&f.hide(this.dropDown),this.inherited(arguments))},isLoaded:function(){var b=this.dropDown;return!!b&&(!b.href||b.isLoaded)},loadDropDown:function(b){var e=this.dropDown,h=e.on("load",B.hitch(this,function(){h.remove();b()}));e.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})})},"dijit/_base/scroll":function(){define(["dojo/window",
"../main"],function(A,C){C.scrollIntoView=function(B,x){A.scrollIntoView(B,x)}})},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(A,C){var B={};C.setObject("dojo.regexp",B);B.escapeString=function(x,l){return x.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(f){return l&&-1!=l.indexOf(f)?f:"\\"+f})};B.buildGroupRE=function(x,l,f){if(!(x instanceof Array))return l(x);for(var g=[],d=0;d<x.length;d++)g.push(l(x[d]));return B.group(g.join("|"),f)};B.group=function(x,l){return"("+
(l?"?:":"")+x+")"};return B})},"dojo/_base/config":function(){define(["../global","../has","require"],function(A,C,B){A={};B=B.rawConfig;for(var x in B)A[x]=B[x];!A.locale&&"undefined"!=typeof navigator&&(x=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage)&&(A.locale=x.toLowerCase());return A})},"dojox/grid/_FocusManager":function(){define("dojo/_base/array dojo/_base/lang dojo/_base/declare dojo/_base/connect dojo/_base/event dojo/_base/sniff dojo/query ./util dojo/_base/html".split(" "),
function(A,C,B,x,l,f,g,d,c){return B("dojox.grid._FocusManager",null,{constructor:function(a){this.grid=a;this.cell=null;this.rowIndex=-1;this._connects=[];this._headerConnects=[];this.headerMenu=this.grid.headerMenu;this._connects.push(x.connect(this.grid.domNode,"onfocus",this,"doFocus"));this._connects.push(x.connect(this.grid.domNode,"onblur",this,"doBlur"));this._connects.push(x.connect(this.grid.domNode,"mousedown",this,"_mouseDown"));this._connects.push(x.connect(this.grid.domNode,"mouseup",
this,"_mouseUp"));this._connects.push(x.connect(this.grid.domNode,"oncontextmenu",this,"doContextMenu"));this._connects.push(x.connect(this.grid.lastFocusNode,"onfocus",this,"doLastNodeFocus"));this._connects.push(x.connect(this.grid.lastFocusNode,"onblur",this,"doLastNodeBlur"));this._connects.push(x.connect(this.grid,"_onFetchComplete",this,"_delayedCellFocus"));this._connects.push(x.connect(this.grid,"postrender",this,"_delayedHeaderFocus"))},destroy:function(){A.forEach(this._connects,x.disconnect);
A.forEach(this._headerConnects,x.disconnect);delete this.grid;delete this.cell},_colHeadNode:null,_colHeadFocusIdx:null,_contextMenuBindNode:null,tabbingOut:!1,focusClass:"dojoxGridCellFocus",focusView:null,initFocusView:function(){this.focusView=this.grid.views.getFirstScrollingView()||this.focusView||this.grid.views.views[0];this._initColumnHeaders()},isFocusCell:function(a,b){return this.cell==a&&this.rowIndex==b},isLastFocusCell:function(){return this.cell?this.rowIndex==this.grid.rowCount-1&&
this.cell.index==this.grid.layout.cellCount-1:!1},isFirstFocusCell:function(){return this.cell?0===this.rowIndex&&0===this.cell.index:!1},isNoFocusCell:function(){return 0>this.rowIndex||!this.cell},isNavHeader:function(){return!!this._colHeadNode},getHeaderIndex:function(){return this._colHeadNode?A.indexOf(this._findHeaderCells(),this._colHeadNode):-1},_focusifyCellNode:function(a){var b=this.cell&&this.cell.getNode(this.rowIndex);if(b&&(c.toggleClass(b,this.focusClass,a),a)){a=this.scrollIntoView();
try{if(f("webkit")||!this.grid.edit.isEditing())d.fire(b,"focus"),a&&(this.cell.view.scrollboxNode.scrollLeft=a)}catch(e){}}},_delayedCellFocus:function(){if(!this.isNavHeader()&&this.grid.focused){var a=this.cell&&this.cell.getNode(this.rowIndex);if(a)try{this.grid.edit.isEditing()||(c.toggleClass(a,this.focusClass,!0),this._colHeadNode&&this.blurHeader(),d.fire(a,"focus"))}catch(b){}}},_delayedHeaderFocus:function(){this.isNavHeader()&&this.focusHeader()},_initColumnHeaders:function(){A.forEach(this._headerConnects,
x.disconnect);this._headerConnects=[];for(var a=this._findHeaderCells(),b=0;b<a.length;b++)this._headerConnects.push(x.connect(a[b],"onfocus",this,"doColHeaderFocus")),this._headerConnects.push(x.connect(a[b],"onblur",this,"doColHeaderBlur"))},_findHeaderCells:function(){for(var a=g("th",this.grid.viewsHeaderNode),b=[],e=0;e<a.length;e++){var h=a[e],n=c.hasAttr(h,"tabIndex"),r=c.attr(h,"tabIndex");n&&0>r&&b.push(h)}return b},_setActiveColHeader:function(a,b,e){this.grid.domNode.setAttribute("aria-activedescendant",
a.id);null!=e&&0<=e&&e!=b&&c.toggleClass(this._findHeaderCells()[e],this.focusClass,!1);c.toggleClass(a,this.focusClass,!0);this._colHeadNode=a;this._colHeadFocusIdx=b;this._scrollHeader(this._colHeadFocusIdx)},scrollIntoView:function(){var a=this.cell?this._scrollInfo(this.cell):null;if(!a||!a.s)return null;var b=this.grid.scroller.findScrollTop(this.rowIndex);a.n&&a.sr&&(a.n.offsetLeft+a.n.offsetWidth>a.sr.l+a.sr.w?a.s.scrollLeft=a.n.offsetLeft+a.n.offsetWidth-a.sr.w:a.n.offsetLeft<a.sr.l&&(a.s.scrollLeft=
a.n.offsetLeft));a.r&&a.sr&&(b+a.r.offsetHeight>a.sr.t+a.sr.h?this.grid.setScrollTop(b+a.r.offsetHeight-a.sr.h):b<a.sr.t&&this.grid.setScrollTop(b));return a.s.scrollLeft},_scrollInfo:function(a,b){if(a){var e=a.view.scrollboxNode,h={w:e.clientWidth,l:e.scrollLeft,t:e.scrollTop,h:e.clientHeight},n=a.view.getRowNode(this.rowIndex);return{c:a,s:e,sr:h,n:b?b:a.getNode(this.rowIndex),r:n}}return null},_scrollHeader:function(a){var b=null;if(this._colHeadNode){var e=this.grid.getCell(a);if(!e)return;b=
this._scrollInfo(e,e.getNode(0))}b&&b.s&&b.sr&&b.n&&(b.n.offsetLeft+b.n.offsetWidth>b.sr.l+b.sr.w?b.s.scrollLeft=b.n.offsetLeft+b.n.offsetWidth-b.sr.w:b.n.offsetLeft<b.sr.l?b.s.scrollLeft=b.n.offsetLeft:7>=f("ie")&&e&&e.view.headerNode&&(e.view.headerNode.scrollLeft=b.s.scrollLeft))},_isHeaderHidden:function(){var a=this.focusView;if(!a)for(var b=0,e;e=this.grid.views.views[b];b++)if(e.headerNode){a=e;break}return a&&"none"==c.getComputedStyle(a.headerNode).display},colSizeAdjust:function(a,b,e){var h=
this._findHeaderCells(),n=this.focusView;if(!n||!n.header.tableMap.map)for(var r=0,k;k=this.grid.views.views[r];r++)if(k.header.tableMap.map){n=k;break}r=h[b];!n||b==h.length-1&&0===b||(n.content.baseDecorateEvent(a),a.cellNode=r,a.cellIndex=n.content.getCellNodeIndex(a.cellNode),a.cell=0<=a.cellIndex?this.grid.getCell(a.cellIndex):null,n.header.canResize(a)&&(b={l:e},a=n.header.colResizeSetup(a,!1),n.header.doResizeColumn(a,null,b),n.update()))},styleRow:function(a){},setFocusIndex:function(a,b){this.setFocusCell(this.grid.getCell(b),
a)},setFocusCell:function(a,b){a&&!this.isFocusCell(a,b)&&(this.tabbingOut=!1,this._colHeadNode&&this.blurHeader(),this._colHeadNode=this._colHeadFocusIdx=null,this.focusGridView(),this._focusifyCellNode(!1),this.cell=a,this.rowIndex=b,this._focusifyCellNode(!0));if(f("opera"))setTimeout(C.hitch(this.grid,"onCellFocus",this.cell,this.rowIndex),1);else this.grid.onCellFocus(this.cell,this.rowIndex)},next:function(){if(this.cell){var a=this.rowIndex,b=this.cell.index+1,e=this.grid.layout.cellCount-
1,h=this.grid.rowCount-1;b>e&&(b=0,a++);a>h&&(b=e,a=h);if(this.grid.edit.isEditing()&&(e=this.grid.getCell(b),!this.isLastFocusCell()&&(!e.editable||this.grid.canEdit&&!this.grid.canEdit(e,a)))){this.cell=e;this.rowIndex=a;this.next();return}this.setFocusIndex(a,b)}},previous:function(){if(this.cell){var a=this.rowIndex||0,b=(this.cell.index||0)-1;0>b&&(b=this.grid.layout.cellCount-1,a--);0>a&&(b=a=0);if(this.grid.edit.isEditing()){var e=this.grid.getCell(b);if(!this.isFirstFocusCell()&&!e.editable){this.cell=
e;this.rowIndex=a;this.previous();return}}this.setFocusIndex(a,b)}},move:function(a,b){var e=0>b?-1:1;if(this.isNavHeader()){var h=this._findHeaderCells(),n=currentIdx=A.indexOf(h,this._colHeadNode);for(currentIdx+=b;0<=currentIdx&&currentIdx<h.length&&"none"==h[currentIdx].style.display;)currentIdx+=e;0<=currentIdx&&currentIdx<h.length&&this._setActiveColHeader(h[currentIdx],currentIdx,n)}else if(this.cell){var r=this.grid.scroller;h=this.rowIndex;n=this.grid.rowCount-1;var k=Math.min(n,Math.max(0,
h+a));a&&(0<a?k>r.getLastPageRow(r.page)&&this.grid.setScrollTop(this.grid.scrollTop+r.findScrollTop(k)-r.findScrollTop(h)):0>a&&k<=r.getPageRow(r.page)&&this.grid.setScrollTop(this.grid.scrollTop-r.findScrollTop(h)-r.findScrollTop(k)));r=this.grid.layout.cellCount-1;for(var m=this.cell.index,y=Math.min(r,Math.max(0,m+b)),p=this.grid.getCell(y);0<=y&&y<r&&p&&!0===p.hidden;)y+=e,p=this.grid.getCell(y);p&&!0!==p.hidden||(y=m);e=p.getNode(k);!e&&a?0<=k+a&&k+a<=n&&this.move(0<a?++a:--a,b):e&&"none"!==
c.style(e,"display")||!b?(this.setFocusIndex(k,y),a&&this.grid.updateRow(h)):0<=y+b&&y+b<=r&&this.move(a,0<b?++b:--b)}},previousKey:function(a){this.grid.edit.isEditing()?(l.stop(a),this.previous()):this.isNavHeader()||this._isHeaderHidden()?(this.tabOut(this.grid.domNode),null!=this._colHeadFocusIdx&&(c.toggleClass(this._findHeaderCells()[this._colHeadFocusIdx],this.focusClass,!1),this._colHeadFocusIdx=null),this._focusifyCellNode(!1)):(this.grid.domNode.focus(),l.stop(a))},nextKey:function(a){a.target===
this.grid.domNode&&null==this._colHeadFocusIdx?(this.focusHeader(),l.stop(a)):this.isNavHeader()?(this.blurHeader(),this.findAndFocusGridCell()||this.tabOut(this.grid.lastFocusNode),this._colHeadNode=this._colHeadFocusIdx=null):this.grid.edit.isEditing()?(l.stop(a),this.next()):this.tabOut(this.grid.lastFocusNode)},tabOut:function(a){this.tabbingOut=!0;a.focus()},focusGridView:function(){d.fire(this.focusView,"focus")},focusGrid:function(a){this.focusGridView();this._focusifyCellNode(!0)},findAndFocusGridCell:function(){var a=
!0,b=0===this.grid.rowCount;this.isNoFocusCell()&&!b?(b=0,this.grid.getCell(b).hidden&&(b=this.isNavHeader()?this._colHeadFocusIdx:0),this.setFocusIndex(0,b)):this.cell&&!b?(this.focusView&&!this.focusView.rowNodes[this.rowIndex]&&this.grid.scrollToRow(this.rowIndex),this.focusGrid()):a=!1;this._colHeadNode=this._colHeadFocusIdx=null;return a},focusHeader:function(){var a=this._findHeaderCells(),b=this._colHeadFocusIdx;this._isHeaderHidden()?this.findAndFocusGridCell():this._colHeadFocusIdx||(this.isNoFocusCell()?
this._colHeadFocusIdx=0:this._colHeadFocusIdx=this.cell.index);for(this._colHeadNode=a[this._colHeadFocusIdx];this._colHeadNode&&0<=this._colHeadFocusIdx&&this._colHeadFocusIdx<a.length&&"none"==this._colHeadNode.style.display;)this._colHeadFocusIdx++,this._colHeadNode=a[this._colHeadFocusIdx];this._colHeadNode&&"none"!=this._colHeadNode.style.display?(this.headerMenu&&this._contextMenuBindNode!=this.grid.domNode&&(this.headerMenu.unBindDomNode(this.grid.viewsHeaderNode),this.headerMenu.bindDomNode(this.grid.domNode),
this._contextMenuBindNode=this.grid.domNode),this._setActiveColHeader(this._colHeadNode,this._colHeadFocusIdx,b),this._scrollHeader(this._colHeadFocusIdx),this._focusifyCellNode(!1)):this.findAndFocusGridCell()},blurHeader:function(){c.removeClass(this._colHeadNode,this.focusClass);c.removeAttr(this.grid.domNode,"aria-activedescendant");if(this.headerMenu&&this._contextMenuBindNode==this.grid.domNode){var a=this.grid.viewsHeaderNode;this.headerMenu.unBindDomNode(this.grid.domNode);this.headerMenu.bindDomNode(a);
this._contextMenuBindNode=a}},doFocus:function(a){a&&a.target!=a.currentTarget?l.stop(a):this._clickFocus||(this.tabbingOut||this.focusHeader(),this.tabbingOut=!1,l.stop(a))},doBlur:function(a){l.stop(a)},doContextMenu:function(a){this.headerMenu||l.stop(a)},doLastNodeFocus:function(a){this.tabbingOut?this._focusifyCellNode(!1):0<this.grid.rowCount?(this.isNoFocusCell()&&this.setFocusIndex(0,0),this._focusifyCellNode(!0)):this.focusHeader();this.tabbingOut=!1;l.stop(a)},doLastNodeBlur:function(a){l.stop(a)},
doColHeaderFocus:function(a){this._setActiveColHeader(a.target,c.attr(a.target,"idx"),this._colHeadFocusIdx);this._scrollHeader(this.getHeaderIndex());l.stop(a)},doColHeaderBlur:function(a){c.toggleClass(a.target,this.focusClass,!1)},_mouseDown:function(a){this._clickFocus=dojo.some(this.grid.views.views,function(b){return b.scrollboxNode===a.target})},_mouseUp:function(a){this._clickFocus=!1}})})},"dijit/_TimePicker":function(){define("dojo/_base/array dojo/date dojo/date/locale dojo/date/stamp dojo/_base/declare dojo/dom-class dojo/dom-construct dojo/_base/kernel dojo/keys dojo/_base/lang dojo/sniff dojo/query dojo/mouse dojo/on ./_WidgetBase ./form/_ListMouseMixin".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){return l("dijit._TimePicker",[r,k],{baseClass:"dijitTimePicker",pickerMin:"T00:00:00",pickerMax:"T23:59:59",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",value:new Date,_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:x.toISOString,buildRendering:function(){this.inherited(arguments);this.timeMenu=this.containerNode=this.domNode},setValue:function(m){d.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.",
"","2.0");this.set("value",m)},_setValueAttr:function(m){this._set("value",m);this._showText()},_setFilterStringAttr:function(m){this._set("filterString",m);this._showText()},isDisabledDate:function(){return!1},_getFilteredNodes:function(m,y,p,u){m=this.ownerDocument.createDocumentFragment();for(y=0;y<this._maxIncrement;y++)(p=this._createOption(y))&&m.appendChild(p);return m},_showText:function(){var m=x.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=m(this.clickableIncrement);
this._visibleIncrementDate=m(this.visibleIncrement);var y=function(u){return 3600*u.getHours()+60*u.getMinutes()+u.getSeconds()},p=y(this._clickableIncrementDate);y=y(this._visibleIncrementDate);(this.value||this.currentFocus).getTime();this._refDate=m(this.pickerMin);this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=y/p;m=m(this.pickerMax);m.setFullYear(1970,0,1);m=.001*(m.getTime()-this._refDate.getTime());this._maxIncrement=Math.ceil((m+1)/p);p=this._getFilteredNodes();
!p.firstChild&&this.filterString?(this.filterString="",this._showText()):this.domNode.appendChild(p)},constructor:function(){this.constraints={}},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints)},_setConstraintsAttr:function(m){for(var y in{clickableIncrement:1,visibleIncrement:1,pickerMin:1,pickerMax:1})y in m&&(this[y]=m[y]);m.locale||(m.locale=this.lang)},_createOption:function(m){var y=new Date(this._refDate),p=this._clickableIncrementDate;y.setHours(y.getHours()+
p.getHours()*m,y.getMinutes()+p.getMinutes()*m,y.getSeconds()+p.getSeconds()*m);"time"==this.constraints.selector&&y.setFullYear(1970,0,1);var u=B.format(y,this.constraints);if(this.filterString&&0!==u.toLowerCase().indexOf(this.filterString))return null;p=this.ownerDocument.createElement("div");p.className=this.baseClass+"Item";p.date=y;p.idx=m;g.create("div",{"class":this.baseClass+"ItemInner",innerHTML:u},p);u=1>m%this._visibleIncrement&&-1<m%this._visibleIncrement;m=!u&&!(m%this._clickableIncrement);
u?p.className+=" "+this.baseClass+"Marker":m&&(p.className+=" "+this.baseClass+"Tick");this.isDisabledDate(y)&&(p.className+=" "+this.baseClass+"ItemDisabled");this.value&&!C.compare(this.value,y,this.constraints.selector)&&(p.selected=!0,p.className+=" "+this.baseClass+"ItemSelected",this._selectedDiv=p,u?p.className+=" "+this.baseClass+"MarkerSelected":m&&(p.className+=" "+this.baseClass+"TickSelected"),this._highlightOption(p,!0));return p},onOpen:function(){this.inherited(arguments);this.set("selected",
this._selectedDiv)},_onOptionSelected:function(m,y){var p=m.target.date||m.target.parentNode.date;p&&!this.isDisabledDate(p)&&(this._set("value",p),this.emit("input"),y&&(this._highlighted_option=null,this.set("value",p),this.onChange(p)))},onChange:function(){},_highlightOption:function(m,y){if(m){if(y)this._highlighted_option&&this._highlightOption(this._highlighted_option,!1),this._highlighted_option=m;else{if(this._highlighted_option!==m)return;this._highlighted_option=null}f.toggle(m,this.baseClass+
"ItemHover",y);f.contains(m,this.baseClass+"Marker")?f.toggle(m,this.baseClass+"MarkerHover",y):f.toggle(m,this.baseClass+"TickHover",y)}},handleKey:function(m){if(m.keyCode==c.DOWN_ARROW)return this.selectNextNode(),this._onOptionSelected({target:this._highlighted_option},!1),m.stopPropagation(),m.preventDefault(),!1;if(m.keyCode==c.UP_ARROW)return this.selectPreviousNode(),this._onOptionSelected({target:this._highlighted_option},!1),m.stopPropagation(),m.preventDefault(),!1;if(m.keyCode==c.ENTER||
m.keyCode===c.TAB){if(!this._keyboardSelected&&m.keyCode===c.TAB)return!0;this._highlighted_option&&this._onOptionSelected({target:this._highlighted_option},!0);return m.keyCode===c.TAB}},onHover:function(m){this._highlightOption(m,!0)},onUnhover:function(m){this._highlightOption(m,!1)},onSelect:function(m){this._highlightOption(m,!0)},onDeselect:function(m){this._highlightOption(m,!1)},onClick:function(m){this._onOptionSelected({target:m},!0)}})})},"dojo/Evented":function(){define(["./aspect","./on"],
function(A,C){function B(){}var x=A.after;B.prototype={on:function(l,f){return C.parse(this,l,f,function(g,d){return x(g,"on"+d,f,!0)})},emit:function(l,f){var g=[this];g.push.apply(g,arguments);return C.emit.apply(C,g)}};return B})},"dojo/dnd/Avatar":function(){define("../_base/declare ../_base/window ../dom ../dom-attr ../dom-class ../dom-construct ../hccss ../query".split(" "),function(A,C,B,x,l,f,g,d){return A("dojo.dnd.Avatar",null,{constructor:function(c){this.manager=c;this.construct()},construct:function(){var c=
f.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),a=this.manager.source,b=f.create("tbody",null,c),e=f.create("tr",null,b),h=f.create("td",null,e),n=Math.min(5,this.manager.nodes.length),r=0;g("highcontrast")&&f.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"\x3c"},h);f.create("span",{innerHTML:a.generateText?this._generateText():""},h);for(x.set(e,{"class":"dojoDndAvatarHeader",style:{opacity:.9}});r<n;++r){if(a.creator)var k=a._normalizedCreator(a.getItem(this.manager.nodes[r].id).data,
"avatar").node;else k=this.manager.nodes[r].cloneNode(!0),"tr"==k.tagName.toLowerCase()&&(e=f.create("table"),f.create("tbody",null,e).appendChild(k),k=e);k.id="";e=f.create("tr",null,b);h=f.create("td",null,e);h.appendChild(k);x.set(e,{"class":"dojoDndAvatarItem",style:{opacity:(9-r)/10}})}this.node=c},destroy:function(){f.destroy(this.node);this.node=!1},update:function(){l.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(g("highcontrast")){var c=B.byId("a11yIcon"),a="+";this.manager.canDropFlag&&
!this.manager.copy?a="\x3c ":this.manager.canDropFlag||this.manager.copy?this.manager.canDropFlag||(a="x"):a="o";c.innerHTML=a}d("tr.dojoDndAvatarHeader td span"+(g("highcontrast")?" span":""),this.node).forEach(function(b){b.innerHTML=this.manager.source.generateText?this._generateText():""},this)},_generateText:function(){return this.manager.nodes.length.toString()}})})},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(A,C){var B=/[&<>'"\/]/g,x={"\x26":"\x26amp;","\x3c":"\x26lt;",
"\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;","/":"\x26#x2F;"},l={};C.setObject("dojo.string",l);l.escape=function(f){return f?f.replace(B,function(g){return x[g]}):""};l.codePointAt=String.prototype.codePointAt?function(f,g){return String.prototype.codePointAt.call(f,g)}:function(f,g){if(null==f)throw new TypeError("codePointAt called on null or undefined");f=String(f);var d=f.length;var c=g?Number(g):0;c!=c&&(c=0);if(!(0>c||c>=d)){var a=f.charCodeAt(c);return 55296<=a&&56319>=a&&d>c+1&&(d=f.charCodeAt(c+
1),56320<=d&&57343>=d)?1024*(a-55296)+d-56320+65536:a}};l.fromCodePoint=String.fromCodePoint||function(){var f=[],g=0,d="";var c=0;for(len=arguments.length;c!==len;++c){g=+arguments[c];if(!(1114111>g&&g>>>0===g))throw RangeError("Invalid code point: "+g);65535>=g?g=f.push(g):(g-=65536,g=f.push((g>>10)+55296,g%1024+56320));16383<=g&&(d+=String.fromCharCode.apply(null,f),f.length=0)}return d+String.fromCharCode.apply(null,f)};l.rep=function(f,g){if(0>=g||!f)return"";for(var d=[];;){g&1&&d.push(f);if(!(g>>=
1))break;f+=f}return d.join("")};l.pad=function(f,g,d,c){d||(d="0");f=String(f);g=l.rep(d,Math.ceil((g-f.length)/d.length));return c?f+g:g+f};l.substitute=function(f,g,d,c){c=c||A.global;d=d?C.hitch(c,d):function(a){return a};return f.replace(/\$\{([^\s:\}]*)(?::([^\s:\}]+))?\}/g,function(a,b,e){if(""==b)return"$";a=C.getObject(b,!1,g);e&&(a=C.getObject(e,!1,c).call(c,a,b));e=d(a,b);if("undefined"===typeof e)throw Error('string.substitute could not find key "'+b+'" in template');return e.toString()})};
l.trim=String.prototype.trim?C.trim:function(f){f=f.replace(/^\s+/,"");for(var g=f.length-1;0<=g;g--)if(/\S/.test(f.charAt(g))){f=f.substring(0,g+1);break}return f};return l})},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(A,C){return A("dijit._Contained",null,{_getSibling:function(B){var x=this.getParent();return x&&x._getSiblingOfChild&&x._getSiblingOfChild(this,"previous"==B?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},
getIndexInParent:function(){var B=this.getParent();return B&&B.getIndexOfChild?B.getIndexOfChild(this):-1}})})},"dojox/grid/_Builder":function(){define("../main dojo/_base/array dojo/_base/lang dojo/_base/window dojo/_base/event dojo/_base/sniff dojo/_base/connect dojo/dnd/Moveable dojox/html/metrics ./util dojo/_base/html dojo/dom-geometry".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e){var h=A.grid,n=function(w,q){return w&&((w.rows||0)[q]||w.childNodes[q])},r=function(w){for(;w&&"TABLE"!=w.tagName;w=
w.parentNode);return w},k=function(w){var q=w.toUpperCase();return function(t){return t.tagName!=q}},m=a.rowIndexTag,y=a.gridViewTag,p=h._Builder=B.extend(function(w){w&&(this.view=w,this.grid=w.grid)},{view:null,_table:'\x3ctable class\x3d"dojoxGridRowTable" border\x3d"0" cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"presentation"',getTableArray:function(){var w=[this._table];this.view.viewWidth&&w.push([' style\x3d"width:',this.view.viewWidth,';"'].join(""));w.push("\x3e");return w},generateCellMarkup:function(w,
q,t,z){var D=[];if(z){var v=w.index!=w.grid.getSortIndex()?"":0<w.grid.sortInfo?'aria-sort\x3d"ascending"':'aria-sort\x3d"descending"';w.id||(w.id=this.grid.id+"Hdr"+w.index);v=['\x3cth tabIndex\x3d"-1" aria-readonly\x3d"true" role\x3d"columnheader"',v,' id\x3d"',w.id,'"']}else v=['\x3ctd tabIndex\x3d"-1" role\x3d"gridcell"',this.grid.editable&&!w.editable?'aria-readonly\x3d"true"':""];w.colSpan&&v.push(' colspan\x3d"',w.colSpan,'"');w.rowSpan&&v.push(' rowspan\x3d"',w.rowSpan,'"');v.push(' class\x3d"dojoxGridCell ');
w.classes&&v.push(w.classes," ");t&&v.push(t," ");D.push(v.join(""));D.push("");v=['" idx\x3d"',w.index,'" style\x3d"'];q&&";"!=q[q.length-1]&&(q+=";");v.push(w.styles,q||"",w.hidden?"display:none;":"");w.unitWidth&&v.push("width:",w.unitWidth,";");D.push(v.join(""));D.push("");v=['"'];w.attrs&&v.push(" ",w.attrs);v.push("\x3e");D.push(v.join(""));D.push("");D.push(z?"\x3c/th\x3e":"\x3c/td\x3e");return D},isCellNode:function(w){return!(!w||w==x.doc||!b.attr(w,"idx"))},getCellNodeIndex:function(w){return w?
Number(b.attr(w,"idx")):-1},getCellNode:function(w,q){for(var t=0,z;(z=n(w.firstChild,t))&&z.cells;t++)for(var D=0,v;v=z.cells[D];D++)if(this.getCellNodeIndex(v)==q)return v;return null},findCellTarget:function(w,q){for(var t=w;t&&(!this.isCellNode(t)||t.offsetParent&&y in t.offsetParent.parentNode&&t.offsetParent.parentNode[y]!=this.view.id)&&t!=q;)t=t.parentNode;return t!=q?t:null},baseDecorateEvent:function(w){w.dispatch="do"+w.type;w.grid=this.grid;w.sourceView=this.view;w.cellNode=this.findCellTarget(w.target,
w.rowNode);w.cellIndex=this.getCellNodeIndex(w.cellNode);w.cell=0<=w.cellIndex?this.grid.getCell(w.cellIndex):null},findTarget:function(w,q){for(var t=w;t&&t!=this.domNode&&(!(q in t)||y in t&&t[y]!=this.view.id);)t=t.parentNode;return t!=this.domNode?t:null},findRowTarget:function(w){return this.findTarget(w,m)},isIntraNodeEvent:function(w){try{return w.cellNode&&w.relatedTarget&&b.isDescendant(w.relatedTarget,w.cellNode)}catch(q){return!1}},isIntraRowEvent:function(w){try{var q=w.relatedTarget&&
this.findRowTarget(w.relatedTarget);return!q&&-1==w.rowIndex||q&&w.rowIndex==q.gridRowIndex}catch(t){return!1}},dispatchEvent:function(w){return w.dispatch in this?this[w.dispatch](w):!1},domouseover:function(w){w.cellNode&&w.cellNode!=this.lastOverCellNode&&(this.lastOverCellNode=w.cellNode,this.grid.onMouseOver(w));this.grid.onMouseOverRow(w)},domouseout:function(w){if(w.cellNode&&w.cellNode==this.lastOverCellNode&&!this.isIntraNodeEvent(w,this.lastOverCellNode)&&(this.lastOverCellNode=null,this.grid.onMouseOut(w),
!this.isIntraRowEvent(w)))this.grid.onMouseOutRow(w)},domousedown:function(w){if(w.cellNode)this.grid.onMouseDown(w);this.grid.onMouseDownRow(w)},_getTextDirStyle:function(w,q,t){return""}});A=h._ContentBuilder=B.extend(function(w){p.call(this,w)},p.prototype,{update:function(){this.prepareHtml()},prepareHtml:function(){for(var w=this.grid.get,q=this.view.structure.cells,t=0,z;z=q[t];t++)for(var D=0,v;v=z[D];D++)v.get=v.get||void 0==v.value&&w,v.markup=this.generateCellMarkup(v,v.cellStyles,v.cellClasses,
!1),!this.grid.editable&&v.editable&&(this.grid.editable=!0)},generateHtml:function(w,q){var t=this.getTableArray(),z=this.view.structure.cells,D=this.grid.getItem(q);a.fire(this.view,"onBeforeRow",[q,z]);for(var v=0,E;E=z[v];v++)if(!E.hidden&&!E.header){t.push(E.invisible?'\x3ctr class\x3d"dojoxGridInvisible"\x3e':"\x3ctr\x3e");for(var F=0,H,J,G;H=E[F];F++){J=H.markup;var I=H.customClasses=[];G=H.customStyles=[];J[5]=H.format(q,D);J[1]=I.join(" ");J[3]=G.join(";");(I=H.textDir||this.grid.textDir)&&
(J[3]+=this._getTextDirStyle(I,H,q));t.push.apply(t,J)}t.push("\x3c/tr\x3e")}t.push("\x3c/table\x3e");return t.join("")},decorateEvent:function(w){w.rowNode=this.findRowTarget(w.target);if(!w.rowNode)return!1;w.rowIndex=w.rowNode[m];this.baseDecorateEvent(w);w.cell=this.grid.getCell(w.cellIndex);return!0}});var u=h._HeaderBuilder=B.extend(function(w){this.moveable=null;p.call(this,w)},p.prototype,{_skipBogusClicks:!1,overResizeWidth:4,minColWidth:1,update:function(){this.tableMap?this.tableMap.mapRows(this.view.structure.cells):
this.tableMap=new h._TableMap(this.view.structure.cells)},generateHtml:function(w,q){var t,z=this.getTableArray(),D=this.view.structure.cells;a.fire(this.view,"onBeforeRow",[-1,D]);for(var v=0,E;E=D[v];v++)if(!E.hidden){z.push(E.invisible?'\x3ctr class\x3d"dojoxGridInvisible"\x3e':"\x3ctr\x3e");for(var F=0,H,J;H=E[F];F++)H.customClasses=[],H.customStyles=[],this.view.simpleStructure&&(H.draggable&&(H.headerClasses?-1==H.headerClasses.indexOf("dojoDndItem")&&(H.headerClasses+=" dojoDndItem"):H.headerClasses=
"dojoDndItem"),H.attrs?-1==H.attrs.indexOf("dndType\x3d'gridColumn_")&&(H.attrs+=" dndType\x3d'gridColumn_"+this.grid.id+"'"):H.attrs="dndType\x3d'gridColumn_"+this.grid.id+"'"),J=this.generateCellMarkup(H,H.headerStyles,H.headerClasses,!0),J[5]=void 0!=q?q:w(H),J[3]=H.customStyles.join(";"),(t=H.textDir||this.grid.textDir)&&(J[3]+=this._getTextDirStyle(t,H,q)),J[1]=H.customClasses.join(" "),z.push(J.join(""));z.push("\x3c/tr\x3e")}z.push("\x3c/table\x3e");return z.join("")},getCellX:function(w){var q=
k("th");for(var t=w.target;t&&q(t);t=t.parentNode);(q=t)?(q=e.position(q),w=w.clientX-q.x):w=w.layerX;return w},decorateEvent:function(w){this.baseDecorateEvent(w);w.rowIndex=-1;w.cellX=this.getCellX(w);return!0},prepareResize:function(w,q){do{var t=w.cellIndex;w.cellNode=t?w.cellNode.parentNode.cells[t+q]:null;w.cellIndex=w.cellNode?this.getCellNodeIndex(w.cellNode):-1}while(w.cellNode&&"none"==w.cellNode.style.display);return!!w.cellNode},canResize:function(w){if(!w.cellNode||1<w.cellNode.colSpan)return!1;
w=this.grid.getCell(w.cellIndex);return!w.noresize&&w.canResize()},overLeftResizeArea:function(w){if(b.hasClass(x.body(),"dojoDndMove"))return!1;if(f("ie")){var q=w.target;if(b.hasClass(q,"dojoxGridArrowButtonNode")||b.hasClass(q,"dojoxGridArrowButtonChar")||b.hasClass(q,"dojoxGridColCaption"))return!1}return this.grid.isLeftToRight()?0<w.cellIndex&&0<w.cellX&&w.cellX<this.overResizeWidth&&this.prepareResize(w,-1):w.cellNode&&0<w.cellX&&w.cellX<this.overResizeWidth},overRightResizeArea:function(w){if(b.hasClass(x.body(),
"dojoDndMove"))return!1;if(f("ie")){var q=w.target;if(b.hasClass(q,"dojoxGridArrowButtonNode")||b.hasClass(q,"dojoxGridArrowButtonChar")||b.hasClass(q,"dojoxGridColCaption"))return!1}return this.grid.isLeftToRight()?w.cellNode&&w.cellX>=w.cellNode.offsetWidth-this.overResizeWidth:0<w.cellIndex&&w.cellX>=w.cellNode.offsetWidth-this.overResizeWidth&&this.prepareResize(w,-1)},domousemove:function(w){if(!this.moveable){var q=this.overRightResizeArea(w)?"dojoxGridColResize":this.overLeftResizeArea(w)?
"dojoxGridColResize":"";q&&!this.canResize(w)&&(q="dojoxGridColNoResize");b.toggleClass(w.sourceView.headerNode,"dojoxGridColNoResize","dojoxGridColNoResize"==q);b.toggleClass(w.sourceView.headerNode,"dojoxGridColResize","dojoxGridColResize"==q);q&&l.stop(w)}},domousedown:function(w){this.moveable||((this.overRightResizeArea(w)||this.overLeftResizeArea(w))&&this.canResize(w)?this.beginColumnResize(w):(this.grid.onMouseDown(w),this.grid.onMouseOverRow(w)))},doclick:function(w){return this._skipBogusClicks?
(l.stop(w),!0):!1},colResizeSetup:function(w,q){var t=b.contentBox(w.sourceView.headerNode);if(q){this.lineDiv=document.createElement("div");var z=b.position(w.sourceView.headerNode,!0),D=b.contentBox(w.sourceView.domNode),v=w.pageX;!this.grid.isLeftToRight()&&8>f("ie")&&(v-=c.getScrollbar().w);b.style(this.lineDiv,{top:z.y+"px",left:v+"px",height:D.h+t.h+"px"});b.addClass(this.lineDiv,"dojoxGridResizeColLine");this.lineDiv._origLeft=v;x.body().appendChild(this.lineDiv)}z=[];D=this.tableMap.findOverlappingNodes(w.cellNode);
v=0;for(var E;E=D[v];v++)z.push({node:E,index:this.getCellNodeIndex(E),width:E.offsetWidth});D=w.sourceView;E=this.grid.isLeftToRight()?1:-1;var F=w.grid.views.views;v=[];for(var H=D.idx+E,J;J=F[H];H+=E)v.push({node:J.headerNode,left:window.parseInt(J.headerNode.style.left)});E=D.headerContentNode.firstChild;return{scrollLeft:w.sourceView.headerNode.scrollLeft,view:D,node:w.cellNode,index:w.cellIndex,w:b.contentBox(w.cellNode).w,vw:t.w,table:E,tw:b.contentBox(E).w,spanners:z,followers:v}},beginColumnResize:function(w){this.moverDiv=
document.createElement("div");b.style(this.moverDiv,{position:"absolute",left:0});x.body().appendChild(this.moverDiv);b.addClass(this.grid.domNode,"dojoxGridColumnResizing");var q=this.moveable=new d(this.moverDiv),t=this.colResizeSetup(w,!0);q.onMove=B.hitch(this,"doResizeColumn",t);g.connect(q,"onMoveStop",B.hitch(this,function(){this.endResizeColumn(t);t.node.releaseCapture&&t.node.releaseCapture();this.moveable.destroy();delete this.moveable;this.moveable=null;b.removeClass(this.grid.domNode,
"dojoxGridColumnResizing")}));w.cellNode.setCapture&&w.cellNode.setCapture();q.onMouseDown(w)},doResizeColumn:function(w,q,t){var z=t.l;z={deltaX:z,w:w.w+(this.grid.isLeftToRight()?z:-z),vw:w.vw+z,tw:w.tw+z};this.dragRecord={inDrag:w,mover:q,leftTop:t};z.w>=this.minColWidth&&(q?b.style(this.lineDiv,"left",this.lineDiv._origLeft+z.deltaX+"px"):this.doResizeNow(w,z))},endResizeColumn:function(w){if(this.dragRecord){var q=this.dragRecord.leftTop;q=this.grid.isLeftToRight()?q.l:-q.l;q+=Math.max(w.w+q,
this.minColWidth)-(w.w+q);f("webkit")&&w.spanners.length&&(q+=b._getPadBorderExtents(w.spanners[0].node).w);this.doResizeNow(w,{deltaX:q,w:w.w+q,vw:w.vw+q,tw:w.tw+q});delete this.dragRecord}b.destroy(this.lineDiv);b.destroy(this.moverDiv);b.destroy(this.moverDiv);delete this.moverDiv;this._skipBogusClicks=!0;w.view.update();this._skipBogusClicks=!1;this.grid.onResizeColumn(w.index)},doResizeNow:function(w,q){w.view.convertColPctToFixed();if(w.view.flexCells&&!w.view.testFlexCells()){var t=r(w.node);
t&&(t.style.width="")}var z;for(t=0;z=w.spanners[t];t++){var D=z.width+q.deltaX;0<D&&(z.node.style.width=D+"px",w.view.setColWidth(z.index,D))}if(this.grid.isLeftToRight()||!f("ie"))for(t=0;z=w.followers[t];t++)D=z.left+q.deltaX,z.node.style.left=D+"px";w.node.style.width=q.w+"px";w.view.setColWidth(w.index,q.w);w.view.headerNode.style.width=q.vw+"px";w.view.setColumnsWidth(q.tw);this.grid.isLeftToRight()||(w.view.headerNode.scrollLeft=w.scrollLeft+q.deltaX)}});h._TableMap=B.extend(function(w){this.mapRows(w)},
{map:null,mapRows:function(w){if(w.length){this.map=[];for(var q,t=0;q=w[t];t++)this.map[t]=[];for(t=0;q=w[t];t++)for(var z=0,D=0,v,E;v=q[z];z++){for(;this.map[t][D];)D++;this.map[t][D]={c:z,r:t};E=v.rowSpan||1;v=v.colSpan||1;for(var F=0;F<E;F++)for(var H=0;H<v;H++)this.map[t+F][D+H]=this.map[t][D];D+=v}}},dumpMap:function(){for(var w=0,q;q=this.map[w];w++)for(var t=0;q[t];t++);},getMapCoords:function(w,q){for(var t=0,z;z=this.map[t];t++)for(var D=0,v;v=z[D];D++)if(v.c==q&&v.r==w)return{j:t,i:D};
return{j:-1,i:-1}},getNode:function(w,q,t){return(w=w&&w.rows[q])&&w.cells[t]},_findOverlappingNodes:function(w,q,t){var z=[];q=this.getMapCoords(q,t);t=0;for(var D;D=this.map[t];t++)t!=q.j&&(D=(D=D[q.i])?this.getNode(w,D.r,D.c):null)&&z.push(D);return z},findOverlappingNodes:function(w){var q=this._findOverlappingNodes,t=r(w);var z=w.parentNode;z=0<=z.rowIndex?z.rowIndex:C.indexOf(z.parentNode.childNodes,z);return q.call(this,t,z,0<=w.cellIndex?w.cellIndex:C.indexOf(w.parentNode.cells,w))}});return{_Builder:p,
_HeaderBuilder:u,_ContentBuilder:A}})},"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".split(" "),function(A,
C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t,z,D){p=x("dijit._InlineEditor",[y,p,u],{templateString:D,contextRequire:A,postMixInProperties:function(){this.inherited(arguments);this.messages=c.getLocalization("dijit","common",this.lang);C.forEach(["buttonSave","buttonCancel"],function(v){this[v]||(this[v]=this.messages[v])},this)},buildRendering:function(){this.inherited(arguments);var v="string"==typeof this.editor?e.getObject(this.editor)||A(this.editor):this.editor,E=this.sourceStyle,F="line-height:"+
E.lineHeight+";",H=d.getComputedStyle(this.domNode);C.forEach(["Weight","Family","Size","Style"],function(G){H["font"+G]!=E["font"+G]&&(F+="font-"+G+":"+E["font"+G]+";")},this);C.forEach("marginTop marginBottom marginLeft marginRight position left top right bottom float clear display".split(" "),function(G){this.domNode.style[G]=E[G]},this);var J=this.inlineEditBox.width;"100%"==J?(F+="width:100%;",this.domNode.style.display="block"):F+="width:"+(J+(Number(J)==J?"px":""))+";";J=e.delegate(this.inlineEditBox.editorParams,
{style:F,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new v(J,this.editorPlaceholder);this.inlineEditBox.autoSave&&(this.saveButton.destroy(),this.cancelButton.destroy(),this.saveButton=this.cancelButton=null,g.destroy(this.buttonContainer))},postCreate:function(){this.inherited(arguments);var v=this.editWidget;this.inlineEditBox.autoSave?this.own(B.after(v,"onChange",e.hitch(this,"_onChange"),!0),h(v,"keydown",e.hitch(this,"_onKeyDown"))):"intermediateChanges"in v&&(v.set("intermediateChanges",
!0),this.own(B.after(v,"onChange",e.hitch(this,"_onIntermediateChange"),!0)),this.saveButton.set("disabled",!0))},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(!0);this.inherited(arguments)},getValue:function(){var v=this.editWidget;return String(v.get("displayedValue"in v||"_getDisplayedValueAttr"in v?"displayedValue":
"value"))},_onKeyDown:function(v){this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&!v.altKey&&!v.ctrlKey&&(v.keyCode==b.ESCAPE?(v.stopPropagation(),v.preventDefault(),this.cancel(!0)):v.keyCode==b.ENTER&&"INPUT"==v.target.tagName&&(v.stopPropagation(),v.preventDefault(),this._onChange()))},_onBlur:function(){this.inherited(arguments);this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&(this.getValue()==this._resetValue?this.cancel(!1):this.enableSave()&&this.save(!1))},_onChange:function(){this.inlineEditBox.autoSave&&
this.inlineEditBox.editing&&this.enableSave()&&m.focus(this.inlineEditBox.displayNode)},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():!0},focus:function(){this.editWidget.focus();this.editWidget.focusNode&&(m._onFocusNode(this.editWidget.focusNode),"INPUT"==this.editWidget.focusNode.tagName&&this.defer(function(){t.selectInputText(this.editWidget.focusNode)}))}});y=x("dijit.InlineEditBox"+(n("dojo-bidi")?"_NoBidi":""),y,{editing:!1,autoSave:!0,buttonSave:"",buttonCancel:"",
renderAsHtml:!1,editor:z,editorWrapper:p,editorParams:{},disabled:!1,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:6>=n("ie")?"\x3cspan style\x3d'font-family: wingdings; text-decoration: underline;'\x3e\x26#160;\x26#160;\x26#160;\x26#160;\x26#x270d;\x26#160;\x26#160;\x26#160;\x26#160;\x3c/span\x3e":"\x3cspan style\x3d'text-decoration: underline;'\x3e\x26#160;\x26#160;\x26#160;\x26#160;\x26#x270d;\x26#160;\x26#160;\x26#160;\x26#160;\x3c/span\x3e",constructor:function(){this.editorParams=
{}},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(h(this.displayNode,k,e.hitch(this,"_onClick")),h(this.displayNode,"mouseover, focus",e.hitch(this,"_onMouseOver")),h(this.displayNode,"mouseout, blur",e.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");this.displayNode.getAttribute("tabIndex")||this.displayNode.setAttribute("tabIndex",0);this.value||"value"in this.params||(this.value=e.trim(this.renderAsHtml?this.displayNode.innerHTML:
this.displayNode.innerText||this.displayNode.textContent||""));this.value||(this.displayNode.innerHTML=this.noValueIndicator);f.add(this.displayNode,"dijitInlineEditBoxDisplayMode")},setDisabled:function(v){a.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",v)},_setDisabledAttr:function(v){this.domNode.setAttribute("aria-disabled",v?"true":"false");v?this.displayNode.removeAttribute("tabIndex"):this.displayNode.setAttribute("tabIndex",
0);f.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",v);this._set("disabled",v)},_onMouseOver:function(){this.disabled||f.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover")},_onMouseOut:function(){f.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover")},_onClick:function(v){this.disabled||(v&&(v.stopPropagation(),v.preventDefault()),this._onMouseOut(),this.defer("edit"))},edit:function(){if(!this.disabled&&!this.editing){this._set("editing",!0);this._savedTabIndex=
l.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var v=g.create("span",null,this.domNode,"before");this.wrapperWidget=new ("string"==typeof this.editorWrapper?e.getObject(this.editorWrapper):this.editorWrapper)({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:d.getComputedStyle(this.displayNode),save:e.hitch(this,"save"),cancel:e.hitch(this,"cancel"),
textDir:this.textDir},v);this.wrapperWidget._started||this.wrapperWidget.startup();this._started||this.startup()}var E=this.wrapperWidget;f.add(this.displayNode,"dijitOffScreen");f.remove(E.domNode,"dijitOffScreen");d.set(E.domNode,{visibility:"visible"});l.set(this.displayNode,"tabIndex","-1");var F=E.editWidget,H=this;r(F.onLoadDeferred,e.hitch(E,function(){F.set("displayedValue"in F||"_setDisplayedValueAttr"in F?"displayedValue":"value",H.value);this.defer(function(){E.saveButton&&E.saveButton.set("disabled",
"intermediateChanges"in F);this.focus();this._resetValue=this.getValue()})}))}},_onBlur:function(){this.inherited(arguments)},destroy:function(){this.wrapperWidget&&!this.wrapperWidget._destroyed&&(this.wrapperWidget.destroy(),delete this.wrapperWidget);this.inherited(arguments)},_showText:function(v){var E=this.wrapperWidget;d.set(E.domNode,{visibility:"hidden"});f.add(E.domNode,"dijitOffScreen");f.remove(this.displayNode,"dijitOffScreen");l.set(this.displayNode,"tabIndex",this._savedTabIndex);v&&
m.focus(this.displayNode)},save:function(v){if(!this.disabled&&this.editing){this._set("editing",!1);var E=this.wrapperWidget.getValue();this.set("value",E);this._showText(v)}},setValue:function(v){a.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",v)},_setValueAttr:function(v){v=e.trim(v);var E=this.renderAsHtml?v:v.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;").replace(/\n/g,
"\x3cbr\x3e");this.displayNode.innerHTML=this.editorParams&&"password"===this.editorParams.type?"********":E||this.noValueIndicator;this._set("value",v);this._started&&this.defer(function(){this.onChange(v)})},getValue:function(){a.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value")},cancel:function(v){!this.disabled&&this.editing&&(this._set("editing",!1),this.defer("onCancel"),this._showText(v))}});n("dojo-bidi")&&(y=x("dijit.InlineEditBox",
y,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode)}}));y._InlineEditor=p;return y})},"dojox/fx/_base":function(){define("dojo/_base/array dojo/_base/lang dojo/_base/fx dojo/fx dojo/dom dojo/dom-style dojo/dom-geometry dojo/_base/connect dojo/_base/html".split(" "),function(A,C,B,x,l,f,g,d,c){A=C.getObject("dojox.fx",!0);C.mixin(A,{anim:B.anim,animateProperty:B.animateProperty,fadeTo:B._fade,fadeIn:B.fadeIn,fadeOut:B.fadeOut,combine:x.combine,chain:x.chain,slideTo:x.slideTo,
wipeIn:x.wipeIn,wipeOut:x.wipeOut});A.sizeTo=function(a){var b=a.node=l.byId(a.node),e=a.method||"chain";a.duration||(a.duration=500);"chain"==e&&(a.duration=Math.floor(a.duration/2));var h,n,r,k,m,y=null,p=function(u){return function(){var w=f.getComputedStyle(u),q=w.position,t=w.width,z=w.height;h="absolute"==q?u.offsetTop:parseInt(w.top)||0;r="absolute"==q?u.offsetLeft:parseInt(w.left)||0;m="auto"==t?0:parseInt(t);y="auto"==z?0:parseInt(z);k=r-Math.floor((a.width-m)/2);n=h-Math.floor((a.height-
y)/2);"absolute"!=q&&"relative"!=q&&(w=f.coords(u,!0),h=w.y,r=w.x,u.style.position="absolute",u.style.top=h+"px",u.style.left=r+"px")}}(b);b=B.animateProperty(C.mixin({properties:{height:function(){p();return{end:a.height||0,start:y}},top:function(){return{start:h,end:n}}}},a));e=B.animateProperty(C.mixin({properties:{width:function(){return{start:m,end:a.width||0}},left:function(){return{start:r,end:k}}}},a));return x["combine"==a.method?"combine":"chain"]([b,e])};A.slideBy=function(a){var b,e,h=
function(n){return function(){var r=f.getComputedStyle(n),k=r.position;b="absolute"==k?n.offsetTop:parseInt(r.top)||0;e="absolute"==k?n.offsetLeft:parseInt(r.left)||0;"absolute"!=k&&"relative"!=k&&(r=g.coords(n,!0),b=r.y,e=r.x,n.style.position="absolute",n.style.top=b+"px",n.style.left=e+"px")}}(a.node=l.byId(a.node));h();a=B.animateProperty(C.mixin({properties:{top:b+(a.top||0),left:e+(a.left||0)}},a));d.connect(a,"beforeBegin",a,h);return a};A.crossFade=function(a){var b=a.nodes[0]=l.byId(a.nodes[0]),
e=c.style(b,"opacity"),h=a.nodes[1]=l.byId(a.nodes[1]);c.style(h,"opacity");return x.combine([B[0==e?"fadeIn":"fadeOut"](C.mixin({node:b},a)),B[0==e?"fadeOut":"fadeIn"](C.mixin({node:h},a))])};A.highlight=function(a){var b=a.node=l.byId(a.node);a.duration=a.duration||400;var e=a.color||"#ffff99",h=c.style(b,"backgroundColor");"rgba(0, 0, 0, 0)"==h&&(h="transparent");a=B.animateProperty(C.mixin({properties:{backgroundColor:{start:e,end:h}}},a));"transparent"==h&&d.connect(a,"onEnd",a,function(){b.style.backgroundColor=
h});return a};A.wipeTo=function(a){a.node=l.byId(a.node);var b=a.node,e=b.style,h=a.width?"width":"height",n={};n[h]={start:function(){e.overflow="hidden";if("hidden"==e.visibility||"none"==e.display)return e[h]="1px",e.display="",e.visibility="",1;var r=c.style(b,h);return Math.max(r,1)},end:a[h]};return B.animateProperty(C.mixin({properties:n},a))};return A})},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(A,C,B,x){return C("dijit._Container",
null,{buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},addChild:function(l,f){var g=this.containerNode;if(0<f){for(g=g.firstChild;0<f;)1==g.nodeType&&f--,g=g.nextSibling;g?f="before":(g=this.containerNode,f="last")}B.place(l.domNode,g,f);this._started&&!l._started&&l.startup()},removeChild:function(l){"number"==typeof l&&(l=this.getChildren()[l]);l&&(l=l.domNode)&&l.parentNode&&l.parentNode.removeChild(l)},hasChildren:function(){return 0<this.getChildren().length},
_getSiblingOfChild:function(l,f){var g=this.getChildren(),d=A.indexOf(g,l);return g[d+f]},getIndexOfChild:function(l){return A.indexOf(this.getChildren(),l)}})})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){var m=
B("dijit.layout._Splitter",[h,n],{live:!0,templateString:'\x3cdiv class\x3d"dijitSplitter" data-dojo-attach-event\x3d"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex\x3d"0" role\x3d"separator"\x3e\x3cdiv class\x3d"dijitSplitterThumb"\x3e\x3c/div\x3e\x3c/div\x3e',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);x.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var p=this._getPersistentSplit();p&&(this.child.domNode.style[this.horizontal?"height":"width"]=p)}},_computeMaxSize:function(){var p=this.horizontal?"h":"w",u=f.getMarginBox(this.child.domNode)[p],w=A.filter(this.container.getChildren(),function(q){return"center"==q.region})[0];p=f.getContentBox(w.domNode)[p]-10;return Math.min(this.child.maxSize,
u+p)},_startDrag:function(p){this.cover||(this.cover=l.place("\x3cdiv class\x3ddijitSplitterCover\x3e\x3c/div\x3e",this.child.domNode,"after"));x.add(this.cover,"dijitSplitterCoverActive");this.fake&&l.destroy(this.fake);(this._resize=this.live)||((this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),x.add(this.domNode,"dijitSplitterShadow"),l.place(this.fake,this.domNode,"after"));x.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");this.fake&&x.remove(this.fake,
"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");var u=this._factor,w=this.horizontal,q=w?"pageY":"pageX",t=p[q],z=this.domNode.style;w=w?"h":"w";var D=g.getComputedStyle(this.child.domNode),v=f.getMarginBox(this.child.domNode,D)[w],E=this._computeMaxSize(),F=Math.max(this.child.minSize,f.getPadBorderExtents(this.child.domNode,D)[w]+10);w=this.region;var H="top"==w||"bottom"==w?"top":"left",J=parseInt(z[H],10),G=this._resize,I=c.hitch(this.container,"_layoutChildren",this.child.id);
w=this.ownerDocument;this._handlers=this._handlers.concat([a(w,b.move,this._drag=function(K,M){var N=K[q]-t,Q=u*N+v,P=Math.max(Math.min(Q,E),F);(G||M)&&I(P);z[H]=N+J+u*(P-Q)+"px"}),a(w,"dragstart",function(K){K.stopPropagation();K.preventDefault()}),a(this.ownerDocumentBody,"selectstart",function(K){K.stopPropagation();K.preventDefault()}),a(w,b.release,c.hitch(this,"_stopDrag"))]);p.stopPropagation();p.preventDefault()},_onMouse:function(p){p="mouseover"==p.type||"mouseenter"==p.type;x.toggle(this.domNode,
"dijitSplitterHover",p);x.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",p)},_getPersistentSplit:function(){return C(this._cookieName)},_setPersistentSplit:function(p){C(this._cookieName,p,{expires:365})},_stopDrag:function(p){try{this.cover&&x.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&l.destroy(this.fake),x.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),this._drag(p),this._drag(p,!0)}finally{this._cleanupHandlers(),
delete this._drag}this.container.persist&&this._setPersistentSplit(this.child.domNode.style[this.horizontal?"height":"width"])},_cleanupHandlers:function(){for(var p;p=this._handlers.pop();)p.remove()},_onKeyDown:function(p){this._resize=!0;var u=this.horizontal,w=1;switch(p.keyCode){case u?d.UP_ARROW:d.LEFT_ARROW:w*=-1;case u?d.DOWN_ARROW:d.RIGHT_ARROW:break;default:return}u=f.getMarginSize(this.child.domNode)[u?"h":"w"]+this._factor*w;this.container._layoutChildren(this.child.id,Math.max(Math.min(u,
this._computeMaxSize()),this.child.minSize));p.stopPropagation();p.preventDefault()},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments)}}),y=B("dijit.layout._Gutter",[h,n],{templateString:'\x3cdiv class\x3d"dijitGutter" role\x3d"presentation"\x3e\x3c/div\x3e',postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region)},buildRendering:function(){this.inherited(arguments);
x.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"))}});B=B("dijit.layout.BorderContainer",r,{gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:m,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter");this.inherited(arguments)},_setupChild:function(p){this.inherited(arguments);var u=p.region,w=p.isLeftToRight();"leading"==u&&(u=w?"left":"right");"trailing"==u&&(u=w?"right":"left");u&&"center"!=u&&(p.splitter||this.gutters)&&!p._splitterWidget&&
(w=p.splitter?this._splitterClass:y,c.isString(w)&&(w=c.getObject(w)),w=new w({id:p.id+"_splitter",container:this,child:p,region:u,live:this.liveSplitters}),w.isSplitter=!0,p._splitterWidget=w,u="bottom"==u||u==(this.isLeftToRight()?"right":"left"),l.place(w.domNode,p.domNode,u?"before":"after"),w.startup())},layout:function(){this._layoutChildren()},removeChild:function(p){var u=p._splitterWidget;u&&(u.destroy(),delete p._splitterWidget);this.inherited(arguments)},getChildren:function(){return A.filter(this.inherited(arguments),
function(p){return!p.isSplitter})},getSplitter:function(p){return A.filter(this.getChildren(),function(u){return u.region==p})[0]._splitterWidget},resize:function(p,u){if(!this.cs||!this.pe){var w=this.domNode;this.cs=g.getComputedStyle(w);this.pe=f.getPadExtents(w,this.cs);this.pe.r=g.toPixelValue(w,this.cs.paddingRight);this.pe.b=g.toPixelValue(w,this.cs.paddingBottom);g.set(w,"padding","0px")}this.inherited(arguments)},_layoutChildren:function(p,u){if(this._borderBox&&this._borderBox.h){var w=
[];A.forEach(this._getOrderedChildren(),function(q){w.push(q);q._splitterWidget&&w.push(q._splitterWidget)});k.layoutChildren(this.domNode,{l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h},w,p,u)}},destroyRecursive:function(){A.forEach(this.getChildren(),function(p){var u=p._splitterWidget;u&&u.destroy();delete p._splitterWidget});this.inherited(arguments)}});B.ChildWidgetProperties={splitter:!1,minSize:0,maxSize:Infinity};c.mixin(B.ChildWidgetProperties,r.ChildWidgetProperties);
c.extend(e,B.ChildWidgetProperties);B._Splitter=m;B._Gutter=y;return B})},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(A,C,B){C.mixin(B,{hasWaiRole:function(x,l){var f=this.getWaiRole(x);return l?-1<f.indexOf(l):0<f.length},getWaiRole:function(x){return C.trim((A.get(x,"role")||"").replace("wairole:",""))},setWaiRole:function(x,l){A.set(x,"role",l)},removeWaiRole:function(x,l){var f=A.get(x,"role");f&&(l?(f=C.trim((" "+f+" ").replace(" "+l+
" "," ")),A.set(x,"role",f)):x.removeAttribute("role"))},hasWaiState:function(x,l){return x.hasAttribute?x.hasAttribute("aria-"+l):!!x.getAttribute("aria-"+l)},getWaiState:function(x,l){return x.getAttribute("aria-"+l)||""},setWaiState:function(x,l,f){x.setAttribute("aria-"+l,f)},removeWaiState:function(x,l){x.removeAttribute("aria-"+l)}});return B})},"dojo/dnd/Mover":function(){define("../_base/array ../_base/declare ../_base/lang ../sniff ../_base/window ../dom ../dom-geometry ../dom-style ../Evented ../on ../touch ./common ./autoscroll".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){return C("dojo.dnd.Mover",[c],{constructor:function(n,r,k){function m(y){y.preventDefault();y.stopPropagation()}this.node=f.byId(n);this.marginBox={l:r.pageX,t:r.pageY};this.mouseButton=r.button;r=this.host=k;n=n.ownerDocument;this.events=[a(n,b.move,B.hitch(this,"onFirstMove")),a(n,b.move,B.hitch(this,"onMouseMove")),a(n,b.release,B.hitch(this,"onMouseUp")),a(n,"dragstart",m),a(n.body,"selectstart",m)];h.autoScrollStart(n);if(r&&r.onMoveStart)r.onMoveStart(this)},
onMouseMove:function(n){h.autoScroll(n);var r=this.marginBox;this.host.onMove(this,{l:r.l+n.pageX,t:r.t+n.pageY},n);n.preventDefault();n.stopPropagation()},onMouseUp:function(n){(x("webkit")&&x("mac")&&2==this.mouseButton?0==n.button:this.mouseButton==n.button)&&this.destroy();n.preventDefault();n.stopPropagation()},onFirstMove:function(n){var r=this.node.style,k=this.host;switch(r.position){case "relative":case "absolute":var m=Math.round(parseFloat(r.left))||0;r=Math.round(parseFloat(r.top))||0;
break;default:r.position="absolute";r=g.getMarginBox(this.node);m=l.doc.body;var y=d.getComputedStyle(m),p=g.getMarginBox(m,y);y=g.getContentBox(m,y);m=r.l-(y.l-p.l);r=r.t-(y.t-p.t)}this.marginBox.l=m-this.marginBox.l;this.marginBox.t=r-this.marginBox.t;if(k&&k.onFirstMove)k.onFirstMove(this,n);this.events.shift().remove()},destroy:function(){A.forEach(this.events,function(r){r.remove()});var n=this.host;if(n&&n.onMoveStop)n.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojox/grid/cells/tree":function(){define(["dojo/_base/kernel",
"../../main","dojo/_base/lang","../cells"],function(A,C,B){C.grid.cells.TreeCell={formatAggregate:function(x,l,f){var g=this.grid;x=g.aggregator?g.aggregator.getForCell(this,l,x,l===this.level?"cnt":this.parentCell.aggregate):this.value||this.defaultValue;l=this._defaultFormat(x,[x,l-this.level,f,this]);(f=this.textDir||this.grid.textDir)&&this._enforceTextDirWithUcc&&(l=this._enforceTextDirWithUcc(f,l));return l},formatIndexes:function(x,l){var f=this.grid.edit.info,g=this.get?this.get(x[0],l,x):
this.value||this.defaultValue;if(this.editable&&(this.alwaysEditing||f.rowIndex==x[0]&&f.cell==this))return this.formatEditing(g,x[0],x);f=this._defaultFormat(g,[g,x[0],x,this]);(g=this.textDir||this.grid.textDir)&&this._enforceTextDirWithUcc&&(f=this._enforceTextDirWithUcc(g,f));return f},getOpenState:function(x){var l=this.grid,f=l.store,g=null;f.isItem(x)&&(g=x,x=f.getIdentity(x));this.openStates||(this.openStates={});"string"==typeof x&&x in this.openStates||(this.openStates[x]=l.getDefaultOpenState(this,
g));return this.openStates[x]},formatAtLevel:function(x,l,f,g,d,c){B.isArray(x)||(x=[x]);var a="";f>this.level||f===this.level&&g?(c.push("dojoxGridSpacerCell"),f===this.level&&c.push("dojoxGridTotalCell"),a="\x3cspan\x3e\x3c/span\x3e"):f<this.level?(c.push("dojoxGridSummaryCell"),a='\x3cspan class\x3d"dojoxGridSummarySpan"\x3e'+this.formatAggregate(l,f,x)+"\x3c/span\x3e"):(g="",this.isCollapsable&&(g=this.grid.store,a="",g.isItem(l)&&(a=g.getIdentity(l)),c.push("dojoxGridExpandoCell"),g="\x3cspan "+
A._scopeName+'Type\x3d"dojox.grid._Expando" level\x3d"'+f+'" class\x3d"dojoxGridExpando"" toggleClass\x3d"'+d+'" itemId\x3d"'+a+'" cellIdx\x3d"'+this.index+'"\x3e\x3c/span\x3e'),a=g+this.formatIndexes(x,l));this.grid.focus.cell&&this.index==this.grid.focus.cell.index&&x.join("/")==this.grid.focus.rowIndex&&c.push(this.grid.focus.focusClass);return a}};return C.grid.cells.TreeCell})},"dojo/request/watch":function(){define("./util ../errors/RequestTimeoutError ../errors/CancelError ../_base/array ../_base/window ../has!host-browser?dom-addeventlistener?:../on:".split(" "),
function(A,C,B,x,l,f){function g(){for(var b=+new Date,e=0,h;e<a.length&&(h=a[e]);e++){var n=h.response,r=n.options;h.isCanceled&&h.isCanceled()||h.isValid&&!h.isValid(n)?(a.splice(e--,1),d._onAction&&d._onAction()):h.isReady&&h.isReady(n)?(a.splice(e--,1),h.handleResponse(n),d._onAction&&d._onAction()):h.startTime&&h.startTime+(r.timeout||0)<b&&(a.splice(e--,1),h.cancel(new C("Timeout exceeded",n)),d._onAction&&d._onAction())}d._onInFlight&&d._onInFlight(h);a.length||(clearInterval(c),c=null)}function d(b){b.response.options.timeout&&
(b.startTime=+new Date);b.isFulfilled()||(a.push(b),c||(c=setInterval(g,50)),b.response.options.sync&&g())}var c=null,a=[];d.cancelAll=function(){try{x.forEach(a,function(b){try{b.cancel(new B("All requests canceled."))}catch(e){}})}catch(b){}};l&&f&&l.doc.attachEvent&&f(l.global,"unload",function(){d.cancelAll()});return d})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c){return A("dijit.form.ComboBoxMixin",[d,f],{dropDownClass:g,hasDownArrow:!0,templateString:c,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{_buttonNode:"dijitDownArrowButton"},_setHasDownArrowAttr:function(a){this._set("hasDownArrow",a);this._buttonNode.style.display=a?"":"none"},_showResultList:function(){this.displayMessage("");this.inherited(arguments)},_setStoreAttr:function(a){a.get||x.mixin(a,{_oldAPI:!0,get:function(b){var e=new C;this.fetchItemByIdentity({identity:b,
onItem:function(h){e.resolve(h)},onError:function(h){e.reject(h)}});return e.promise},query:function(b,e){var h=new C(function(){n.abort&&n.abort()});h.total=new C;var n=this.fetch(x.mixin({query:b,onBegin:function(r){h.total.resolve(r)},onComplete:function(r){h.resolve(r)},onError:function(r){h.reject(r)}},e));return l(h)}});this._set("store",a)},postMixInProperties:function(){var a=this.params.store||this.store;a&&this._setStoreAttr(a);this.inherited(arguments);if(!this.params.store&&this.store&&
!this.store._oldAPI){var b=this.declaredClass;x.mixin(this.store,{getValue:function(e,h){B.deprecated(b+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return e[h]},getLabel:function(e){B.deprecated(b+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return e.name},fetch:function(e){B.deprecated(b+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");require(["dojo/data/ObjectStore"],
x.hitch(this,function(h){(new h({objectStore:this})).fetch(e)}))}})}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list")}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p){function u(q){return function(t){this._isLoaded?this.inherited(q,arguments):this.loadDropDown(d.hitch(this,q,t))}}var w=C("dijit.form._SelectMenu",h,{autoFocus:!0,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox")},postCreate:function(){this.inherited(arguments);this.own(c(this.domNode,"selectstart",function(q){q.preventDefault();q.stopPropagation()}))},focus:function(){var q=!1,t=this.parentWidget.value;
d.isArray(t)&&(t=t[t.length-1]);t&&A.forEach(this.parentWidget._getChildren(),function(z){z.option&&t===z.option.value&&(q=!0,this.focusChild(z,!1))},this);q||this.inherited(arguments)}});l=C("dijit.form.Select"+(a("dojo-bidi")?"_NoBidi":""),[b,e,m],{baseClass:"dijitSelect dijitValidationTextBox",templateString:p,_buttonInputDisabled:a("ie")?"disabled":"",required:!1,state:"",message:"",tooltipPosition:[],emptyLabel:"\x26#160;",_isLoaded:!1,_childrenLoaded:!1,labelType:"html",_fillContent:function(){this.inherited(arguments);
if(this.options.length&&!this.value&&this.srcNodeRef){var q=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[0<=q?q:0].value)}this.dropDown=new w({id:this.id+"_menu",parentWidget:this});x.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "))},_getMenuItemForOption:function(q){if(q.value||q.label){var t=d.hitch(this,"_setValueAttr",q);q=new n({option:q,label:("text"===this.labelType?(q.label||"").toString().replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):q.label)||this.emptyLabel,
onClick:t,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:q.disabled||!1});q.focusNode.setAttribute("role","option");return q}return new r({ownerDocument:this.ownerDocument})},_addOptionItem:function(q){this.dropDown&&this.dropDown.addChild(this._getMenuItemForOption(q))},_getChildren:function(){return this.dropDown?this.dropDown.getChildren():[]},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(q){}},focusChild:function(q){q&&this.set("value",
q.option)},_getFirst:function(){var q=this._getChildren();return q.length?q[0]:null},_getLast:function(){var q=this._getChildren();return q.length?q[q.length-1]:null},childSelector:function(q){return(q=y.byNode(q))&&q.getParent()==this.dropDown},onKeyboardSearch:function(q,t,z,D){q&&this.focusChild(q)},_loadChildren:function(q){if(!0===q)if(this.dropDown&&(delete this.dropDown.focusedChild,this.focusedChild=null),this.options.length)this.inherited(arguments);else{A.forEach(this._getChildren(),function(z){z.destroyRecursive()});
var t=new n({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(t)}else this._updateSelection();this._isLoaded=!1;this._childrenLoaded=!0;this._loadingStore||this._setValueAttr(this.value,!1)},_refreshState:function(){this._started&&this.validate(this.focused)},startup:function(){this.inherited(arguments);this._refreshState()},_setValueAttr:function(q){this.inherited(arguments);B.set(this.valueNode,"value",this.get("value"));this._refreshState()},_setNameAttr:"valueNode",
_setDisabledAttr:function(q){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(q){this._set("required",q);this.focusNode.setAttribute("aria-required",q);this._refreshState()},_setOptionsAttr:function(q){this._isLoaded=!1;this._set("options",q)},_setDisplay:function(q){q=("text"===this.labelType?(q||"").replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):q)||this.emptyLabel;this.containerNode.innerHTML='\x3cspan role\x3d"option" aria-selected\x3d"true" class\x3d"dijitReset dijitInline '+
this.baseClass.replace(/\s+|$/g,"Label ")+'"\x3e'+q+"\x3c/span\x3e"},validate:function(q){q=this.disabled||this.isValid(q);this._set("state",q?"":this._hasBeenBlurred?"Error":"Incomplete");this.focusNode.setAttribute("aria-invalid",q?"false":"true");var t=q?"":this._missingMsg;t&&this.focused&&this._hasBeenBlurred?k.show(t,this.domNode,this.tooltipPosition,!this.isLeftToRight()):k.hide(this.domNode);this._set("message",t);return q},isValid:function(){return!this.required||0===this.value||!/^\s*$/.test(this.value||
"")},reset:function(){this.inherited(arguments);k.hide(this.domNode);this._refreshState()},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=f.getLocalization("dijit.form","validate",this.lang).missingMessage},postCreate:function(){this.inherited(arguments);this.own(c(this.domNode,"selectstart",function(t){t.preventDefault();t.stopPropagation()}));this.domNode.setAttribute("aria-expanded","false");var q=this._keyNavCodes;delete q[g.LEFT_ARROW];delete q[g.RIGHT_ARROW]},_setStyleAttr:function(q){this.inherited(arguments);
x.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width)},isLoaded:function(){return this._isLoaded},loadDropDown:function(q){this._loadChildren(!0);this._isLoaded=!0;q()},destroy:function(q){this.dropDown&&!this.dropDown._destroyed&&(this.dropDown.destroyRecursive(q),delete this.dropDown);k.hide(this.domNode);this.inherited(arguments)},_onFocus:function(){this.validate(!0)},_onBlur:function(){k.hide(this.domNode);this.inherited(arguments);this.validate(!1)}});
a("dojo-bidi")&&(l=C("dijit.form.Select",l,{_setDisplay:function(q){this.inherited(arguments);this.applyTextDir(this.containerNode)}}));l._Menu=w;l.prototype._onContainerKeydown=u("_onContainerKeydown");l.prototype._onContainerKeypress=u("_onContainerKeypress");return l})},"dijit/Calendar":function(){define("dojo/_base/array dojo/date dojo/date/locale dojo/_base/declare dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/sniff ./CalendarLite ./_Widget ./_CssStateMixin ./_TemplatedMixin ./form/DropDownButton".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m){var y=x("dijit.Calendar",[h,n,r],{baseClass:"dijitCalendar",cssStateNodes:{decrementMonth:"dijitCalendarArrow",incrementMonth:"dijitCalendarArrow",previousYearLabelNode:"dijitCalendarPreviousYear",nextYearLabelNode:"dijitCalendarNextYear"},setValue:function(p){d.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",p)},_createMonthWidget:function(){return new y._MonthDropDownButton({id:this.id+"_mddb",
tabIndex:-1,onMonthSelect:a.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},postCreate:function(){this.inherited(arguments);this.own(b(this.domNode,"keydown",a.hitch(this,"_onKeyDown")),b(this.dateRowsNode,"mouseover",a.hitch(this,"_onDayMouseOver")),b(this.dateRowsNode,"mouseout",a.hitch(this,"_onDayMouseOut")),b(this.dateRowsNode,"mousedown",a.hitch(this,"_onDayMouseDown")),b(this.dateRowsNode,"mouseup",a.hitch(this,"_onDayMouseUp")))},_onMonthSelect:function(p){var u=
new this.dateClassObj(this.currentFocus);u.setDate(1);u.setMonth(p);p=this.dateModule.getDaysInMonth(u);var w=this.currentFocus.getDate();u.setDate(Math.min(w,p));this._setCurrentFocusAttr(u)},_onDayMouseOver:function(p){(p=f.contains(p.target,"dijitCalendarDateLabel")?p.target.parentNode:p.target)&&(p.dijitDateValue&&!f.contains(p,"dijitCalendarDisabledDate")||p==this.previousYearLabelNode||p==this.nextYearLabelNode)&&(f.add(p,"dijitCalendarHoveredDate"),this._currentNode=p)},_onDayMouseOut:function(p){!this._currentNode||
p.relatedTarget&&p.relatedTarget.parentNode==this._currentNode||(p="dijitCalendarHoveredDate",f.contains(this._currentNode,"dijitCalendarActiveDate")&&(p+=" dijitCalendarActiveDate"),f.remove(this._currentNode,p),this._currentNode=null)},_onDayMouseDown:function(p){(p=p.target.parentNode)&&p.dijitDateValue&&!f.contains(p,"dijitCalendarDisabledDate")&&(f.add(p,"dijitCalendarActiveDate"),this._currentNode=p)},_onDayMouseUp:function(p){(p=p.target.parentNode)&&p.dijitDateValue&&f.remove(p,"dijitCalendarActiveDate")},
handleKey:function(p){var u=-1,w=this.currentFocus;switch(p.keyCode){case c.RIGHT_ARROW:u=1;case c.LEFT_ARROW:var q="day";this.isLeftToRight()||(u*=-1);break;case c.DOWN_ARROW:u=1;case c.UP_ARROW:q="week";break;case c.PAGE_DOWN:u=1;case c.PAGE_UP:q=p.ctrlKey||p.altKey?"year":"month";break;case c.END:w=this.dateModule.add(w,"month",1),q="day";case c.HOME:w=new this.dateClassObj(w);w.setDate(1);break;default:return!0}q&&(w=this.dateModule.add(w,q,u));this._setCurrentFocusAttr(w);return!1},_onKeyDown:function(p){this.handleKey(p)||
(p.stopPropagation(),p.preventDefault())},onValueSelected:function(){},onChange:function(p){this.onValueSelected(p)},getClassForDate:function(){}});y._MonthDropDownButton=x("dijit.Calendar._MonthDropDownButton",m,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new y._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect})},_setMonthAttr:function(p){var u=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,p);this.dropDown.set("months",
u);this.containerNode.innerHTML=(6==e("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+this.dropDown.domNode.innerHTML+"\x3c/div\x3e")+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+u[p.getMonth()]+"\x3c/div\x3e"}});y._MonthDropDown=x("dijit.Calendar._MonthDropDown",[n,k,r],{months:[],baseClass:"dijitCalendarMonthMenu dijitMenu",templateString:"\x3cdiv data-dojo-attach-event\x3d'ondijitclick:_onClick'\x3e\x3c/div\x3e",_setMonthsAttr:function(p){this.domNode.innerHTML=
"";A.forEach(p,function(u,w){g.create("div",{className:"dijitCalendarMonthLabel",month:w,innerHTML:u},this.domNode)._cssState="dijitCalendarMonthLabel"},this)},_onClick:function(p){this.onChange(l.get(p.target,"month"))},onChange:function(){}});return y})},"dojox/grid/enhanced/_Events":function(){define("dojo/_base/kernel dojo/_base/declare dojo/keys dojo/_base/html dojo/_base/event dojox/grid/_Events".split(" "),function(A,C,B,x,l,f){return C("dojox.grid.enhanced._Events",null,{_events:null,headerCellActiveClass:"dojoxGridHeaderActive",
cellActiveClass:"dojoxGridCellActive",rowActiveClass:"dojoxGridRowActive",constructor:function(g){this._events=new f;g.mixin(g,this)},dokeyup:function(g){this.focus.currentArea().keyup(g)},onKeyDown:function(g){if(!g.altKey&&!g.metaKey){var d=this.focus,c=this.edit.isEditing();switch(g.keyCode){case B.TAB:if(g.ctrlKey)break;d.tab(g.shiftKey?-1:1,g);break;case B.UP_ARROW:case B.DOWN_ARROW:if(c)break;d.currentArea().move(g.keyCode==B.UP_ARROW?-1:1,0,g);break;case B.LEFT_ARROW:case B.RIGHT_ARROW:if(c)break;
c=g.keyCode==B.LEFT_ARROW?1:-1;x._isBodyLtr()&&(c*=-1);d.currentArea().move(0,c,g);break;case B.F10:if(this.menus&&g.shiftKey)this.onRowContextMenu(g);break;default:d.currentArea().keydown(g)}}},domouseup:function(g){if(g.cellNode)this.onMouseUp(g);else this.onRowSelectorMouseUp(g)},domousedown:function(g){if(!g.cellNode)this.onRowSelectorMouseDown(g)},onMouseUp:function(g){this[-1==g.rowIndex?"onHeaderCellMouseUp":"onCellMouseUp"](g)},onCellMouseDown:function(g){x.addClass(g.cellNode,this.cellActiveClass);
x.addClass(g.rowNode,this.rowActiveClass)},onCellMouseUp:function(g){x.removeClass(g.cellNode,this.cellActiveClass);x.removeClass(g.rowNode,this.rowActiveClass)},onCellClick:function(g){this._events.onCellClick.call(this,g);this.focus.contentMouseEvent(g)},onCellDblClick:function(g){this.pluginMgr.isFixedCell(g.cell)||(!(1<this._click.length)||this._click[0]&&this._click[1]||(this._click[0]=this._click[1]=g),this._events.onCellDblClick.call(this,g))},onRowClick:function(g){this.edit.rowClick(g);g.cell&&
this.plugin("indirectSelection")||this.selection.clickSelectEvent(g)},onRowContextMenu:function(g){!this.edit.isEditing()&&this.menus&&this.showMenu(g)},onSelectedRegionContextMenu:function(g){this.selectedRegionMenu&&(this.selectedRegionMenu._openMyself({target:g.target,coords:g.keyCode!==B.F10&&"pageX"in g?{x:g.pageX,y:g.pageY}:null}),l.stop(g))},onHeaderCellMouseOut:function(g){g.cellNode&&(x.removeClass(g.cellNode,this.cellOverClass),x.removeClass(g.cellNode,this.headerCellActiveClass))},onHeaderCellMouseDown:function(g){g.cellNode&&
x.addClass(g.cellNode,this.headerCellActiveClass)},onHeaderCellMouseUp:function(g){g.cellNode&&x.removeClass(g.cellNode,this.headerCellActiveClass)},onHeaderCellClick:function(g){this.focus.currentArea("header");g.cell.isRowSelector||this._events.onHeaderCellClick.call(this,g);this.focus.headerMouseEvent(g)},onRowSelectorMouseDown:function(g){this.focus.focusArea("rowHeader",g)},onRowSelectorMouseUp:function(g){},onMouseUpRow:function(g){if(-1!=g.rowIndex)this.onRowMouseUp(g)},onRowMouseUp:function(g){}})})},
"dojo/topic":function(){define(["./Evented"],function(A){var C=new A;return{publish:function(B,x){return C.emit.apply(C,arguments)},subscribe:function(B,x){return C.on.apply(C,arguments)}}})},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(A,C,B,x,l){var f={};A.forEach("byId getUniqueId findWidgets _destroyAll byNode getEnclosingWidget".split(" "),function(g){f[g]=x[g]});B.mixin(f,{defaultDuration:C.defaultDuration||
200});B.mixin(l,f);return l})},"dojo/data/ItemFileReadStore":function(){define("../_base/kernel ../_base/lang ../_base/declare ../_base/array ../_base/xhr ../Evented ./util/filter ./util/simpleFetch ../date/stamp".split(" "),function(A,C,B,x,l,f,g,d,c){B=B("dojo.data.ItemFileReadStore",[f],{constructor:function(a){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=!1;this.url=this._ccUrl=this._jsonFileUrl=a.url;this._jsonData=a.data;this.data=null;this._datatypeMap=a.typeMap||
{};this._datatypeMap.Date||(this._datatypeMap.Date={type:Date,deserialize:function(b){return c.fromISOString(b)}});this._features={"dojo.data.api.Read":!0,"dojo.data.api.Identity":!0};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=!1;this._queuedFetches=[];void 0!==a.urlPreventCache&&(this.urlPreventCache=a.urlPreventCache?!0:!1);void 0!==a.hierarchical&&(this.hierarchical=a.hierarchical?
!0:!1);a.clearOnClose&&(this.clearOnClose=!0);"failOk"in a&&(this.failOk=a.failOk?!0:!1)},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:!1,urlPreventCache:!1,failOk:!1,hierarchical:!0,_assertIsItem:function(a){if(!this.isItem(a))throw Error(this.declaredClass+": Invalid item argument.");},_assertIsAttribute:function(a){if("string"!==typeof a)throw Error(this.declaredClass+": Invalid attribute argument.");},getValue:function(a,b,e){a=this.getValues(a,b);return 0<a.length?a[0]:e},getValues:function(a,
b){this._assertIsItem(a);this._assertIsAttribute(b);return(a[b]||[]).slice(0)},getAttributes:function(a){this._assertIsItem(a);var b=[],e;for(e in a)e!==this._storeRefPropName&&e!==this._itemNumPropName&&e!==this._rootItemPropName&&e!==this._reverseRefMap&&b.push(e);return b},hasAttribute:function(a,b){this._assertIsItem(a);this._assertIsAttribute(b);return b in a},containsValue:function(a,b,e){var h=void 0;"string"===typeof e&&(h=g.patternToRegExp(e,!1));return this._containsValue(a,b,e,h)},_containsValue:function(a,
b,e,h){return x.some(this.getValues(a,b),function(n){if(null!==n&&!C.isObject(n)&&h){if(n.toString().match(h))return!0}else if(e===n)return!0})},isItem:function(a){return a&&a[this._storeRefPropName]===this&&this._arrayOfAllItems[a[this._itemNumPropName]]===a?!0:!1},isItemLoaded:function(a){return this.isItem(a)},loadItem:function(a){this._assertIsItem(a.item)},getFeatures:function(){return this._features},getLabel:function(a){if(this._labelAttr&&this.isItem(a))return this.getValue(a,this._labelAttr)},
getLabelAttributes:function(a){return this._labelAttr?[this._labelAttr]:null},filter:function(a,b,e){var h=[];if(a.query){var n=a.queryOptions?a.queryOptions.ignoreCase:!1;var r={};for(p in a.query){var k=a.query[p];"string"===typeof k?r[p]=g.patternToRegExp(k,n):k instanceof RegExp&&(r[p]=k)}for(n=0;n<b.length;++n){var m=!0,y=b[n];if(null===y)m=!1;else for(p in a.query)k=a.query[p],this._containsValue(y,p,k,r[p])||(m=!1);m&&h.push(y)}}else for(n=0;n<b.length;++n){var p=b[n];null!==p&&h.push(p)}e(h,
a)},_fetchItems:function(a,b,e){var h=this;if(this._loadFinished)this.filter(a,this._getItemsArray(a.queryOptions),b);else if(this._jsonFileUrl!==this._ccUrl?(A.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.url=this._ccUrl=this._jsonFileUrl):this.url!==this._ccUrl&&(this._ccUrl=this._jsonFileUrl=this.url),null!=this.data&&(this._jsonData=this.data,this.data=null),this._jsonFileUrl)if(this._loadInProgress)this._queuedFetches.push({args:a,
filter:C.hitch(h,"filter"),findCallback:C.hitch(h,b)});else{this._loadInProgress=!0;var n=l.get({url:h._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk});n.addCallback(function(k){try{h._getItemsFromLoadedData(k),h._loadFinished=!0,h._loadInProgress=!1,h.filter(a,h._getItemsArray(a.queryOptions),b),h._handleQueuedFetches()}catch(m){h._loadFinished=!0,h._loadInProgress=!1,e(m,a)}});n.addErrback(function(k){h._loadInProgress=!1;e(k,a)});var r=null;a.abort&&
(r=a.abort);a.abort=function(){var k=n;k&&-1===k.fired&&(k.cancel(),k=null);r&&r.call(a)}}else if(this._jsonData)try{this._loadFinished=!0,this._getItemsFromLoadedData(this._jsonData),this._jsonData=null,h.filter(a,this._getItemsArray(a.queryOptions),b)}catch(k){e(k,a)}else e(Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),a)},_handleQueuedFetches:function(){if(0<this._queuedFetches.length){for(var a=0;a<this._queuedFetches.length;a++){var b=
this._queuedFetches[a],e=b.args,h=b.filter;b=b.findCallback;h?h(e,this._getItemsArray(e.queryOptions),b):this.fetchItemByIdentity(e)}this._queuedFetches=[]}},_getItemsArray:function(a){return a&&a.deep?this._arrayOfAllItems:this._arrayOfTopLevelItems},close:function(a){this.clearOnClose&&this._loadFinished&&!this._loadInProgress&&(this._arrayOfAllItems=[],this._arrayOfTopLevelItems=[],this._loadFinished=!1,this._itemsByIdentity=null,this._loadInProgress=!1,this._queuedFetches=[])},_getItemsFromLoadedData:function(a){function b(z){return null!==
z&&"object"===typeof z&&(!C.isArray(z)||h)&&!C.isFunction(z)&&(z.constructor==Object||C.isArray(z))&&"undefined"===typeof z._reference&&"undefined"===typeof z._type&&"undefined"===typeof z._value&&n.hierarchical}function e(z){n._arrayOfAllItems.push(z);for(var D in z){var v=z[D];if(v)if(C.isArray(v))for(var E=0;E<v.length;++E){var F=v[E];b(F)&&e(F)}else b(v)&&e(v)}}var h=!1,n=this;this._labelAttr=a.label;var r;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=a.items;for(r=0;r<this._arrayOfTopLevelItems.length;++r){var k=
this._arrayOfTopLevelItems[r];C.isArray(k)&&(h=!0);e(k);k[this._rootItemPropName]=!0}var m={},y;for(r=0;r<this._arrayOfAllItems.length;++r)for(y in k=this._arrayOfAllItems[r],k){if(y!==this._rootItemPropName){var p=k[y];null!==p?C.isArray(p)||(k[y]=[p]):k[y]=[null]}m[y]=y}for(;m[this._storeRefPropName];)this._storeRefPropName+="_";for(;m[this._itemNumPropName];)this._itemNumPropName+="_";for(;m[this._reverseRefMap];)this._reverseRefMap+="_";if(m=a.identifier)for(this._itemsByIdentity={},this._features["dojo.data.api.Identity"]=
m,r=0;r<this._arrayOfAllItems.length;++r)if(k=this._arrayOfAllItems[r],a=k[m],a=a[0],Object.hasOwnProperty.call(this._itemsByIdentity,a)){if(this._jsonFileUrl)throw Error(this.declaredClass+":  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+m+"].  Value collided: ["+a+"]");if(this._jsonData)throw Error(this.declaredClass+":  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+m+"].  Value collided: ["+
a+"]");}else this._itemsByIdentity[a]=k;else this._features["dojo.data.api.Identity"]=Number;for(r=0;r<this._arrayOfAllItems.length;++r)k=this._arrayOfAllItems[r],k[this._storeRefPropName]=this,k[this._itemNumPropName]=r;for(r=0;r<this._arrayOfAllItems.length;++r)for(y in k=this._arrayOfAllItems[r],k)for(a=k[y],m=0;m<a.length;++m)if(p=a[m],null!==p&&"object"==typeof p){if("_type"in p&&"_value"in p){var u=p._type,w=this._datatypeMap[u];if(w)if(C.isFunction(w))a[m]=new w(p._value);else if(C.isFunction(w.deserialize))a[m]=
w.deserialize(p._value);else throw Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");else throw Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+u+"'");}if(p._reference){p=p._reference;if(C.isObject(p))for(u=0;u<this._arrayOfAllItems.length;++u){w=this._arrayOfAllItems[u];var q=!0,t;for(t in p)w[t]!=p[t]&&(q=!1);q&&(a[m]=w)}else a[m]=this._getItemByIdentity(p);
this.referenceIntegrity&&(p=a[m],this.isItem(p)&&this._addReferenceToMap(p,k,y))}else this.isItem(p)&&this.referenceIntegrity&&this._addReferenceToMap(p,k,y)}},_addReferenceToMap:function(a,b,e){},getIdentity:function(a){var b=this._features["dojo.data.api.Identity"];return b===Number?a[this._itemNumPropName]:(a=a[b])?a[0]:null},fetchItemByIdentity:function(a){if(this._loadFinished){var b=this._getItemByIdentity(a.identity);if(a.onItem){var e=a.scope?a.scope:A.global;a.onItem.call(e,b)}}else{var h=
this;this._jsonFileUrl!==this._ccUrl?(A.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.url=this._ccUrl=this._jsonFileUrl):this.url!==this._ccUrl&&(this._ccUrl=this._jsonFileUrl=this.url);null!=this.data&&null==this._jsonData&&(this._jsonData=this.data,this.data=null);this._jsonFileUrl?this._loadInProgress?this._queuedFetches.push({args:a}):(this._loadInProgress=!0,e=l.get({url:h._jsonFileUrl,
handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk}),e.addCallback(function(n){var r=a.scope?a.scope:A.global;try{h._getItemsFromLoadedData(n),h._loadFinished=!0,h._loadInProgress=!1,b=h._getItemByIdentity(a.identity),a.onItem&&a.onItem.call(r,b),h._handleQueuedFetches()}catch(k){h._loadInProgress=!1,a.onError&&a.onError.call(r,k)}}),e.addErrback(function(n){h._loadInProgress=!1;a.onError&&a.onError.call(a.scope?a.scope:A.global,n)})):this._jsonData&&(h._getItemsFromLoadedData(h._jsonData),
h._jsonData=null,h._loadFinished=!0,b=h._getItemByIdentity(a.identity),a.onItem&&(e=a.scope?a.scope:A.global,a.onItem.call(e,b)))}},_getItemByIdentity:function(a){var b=null;this._itemsByIdentity?Object.hasOwnProperty.call(this._itemsByIdentity,a)&&(b=this._itemsByIdentity[a]):Object.hasOwnProperty.call(this._arrayOfAllItems,a)&&(b=this._arrayOfAllItems[a]);void 0===b&&(b=null);return b},getIdentityAttributes:function(a){a=this._features["dojo.data.api.Identity"];return a===Number?null:[a]},_forceLoad:function(){var a=
this;this._jsonFileUrl!==this._ccUrl?(A.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.url=this._ccUrl=this._jsonFileUrl):this.url!==this._ccUrl&&(this._ccUrl=this._jsonFileUrl=this.url);null!=this.data&&(this._jsonData=this.data,this.data=null);if(this._jsonFileUrl){var b=l.get({url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,
sync:!0});b.addCallback(function(e){try{if(!0!==a._loadInProgress&&!a._loadFinished)a._getItemsFromLoadedData(e),a._loadFinished=!0;else if(a._loadInProgress)throw Error(this.declaredClass+":  Unable to perform a synchronous load, an async load is in progress.");}catch(h){throw h;}});b.addErrback(function(e){throw e;})}else this._jsonData&&(a._getItemsFromLoadedData(a._jsonData),a._jsonData=null,a._loadFinished=!0)}});C.extend(B,d);return B})},"dijit/_editor/plugins/AlwaysShowToolbar":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/_base/lang dojo/on dojo/sniff dojo/_base/window ../_Plugin".split(" "),
function(A,C,B,x,l,f,g,d,c){return A("dijit._editor.plugins.AlwaysShowToolbar",c,{_handleScroll:!0,setEditor:function(a){a.iframe&&(this.editor=a,a.onLoadDeferred.then(l.hitch(this,this.enable)))},enable:function(a){this._updateHeight();this.own(f(window,"scroll",l.hitch(this,"globalOnScrollHandler")),this.editor.on("NormalizedDisplayChanged",l.hitch(this,"_updateHeight")));return a},_updateHeight:function(){var a=this.editor;if(a.isLoaded&&!a.height){var b=x.getMarginSize(a.editNode).h;g("opera")&&
(b=a.editNode.scrollHeight);b||(b=x.getMarginSize(a.document.body).h);this._fixEnabled&&(b+=x.getMarginSize(this.editor.header).h);if(0!=b){if(7>=g("ie")&&this.editor.minHeight){var e=parseInt(this.editor.minHeight);b<e&&(b=e)}b!=this._lastHeight&&(this._lastHeight=b,x.setMarginBox(a.iframe,{h:this._lastHeight}))}}},_lastHeight:0,globalOnScrollHandler:function(){var a=7>g("ie");if(this._handleScroll){var b=this.editor.header;this._scrollSetUp||(this._scrollSetUp=!0,this._scrollThreshold=x.position(b,
!0).y);var e=x.docScroll(this.editor.ownerDocument).y,h=b.style;if(e>this._scrollThreshold&&e<this._scrollThreshold+this._lastHeight){if(!this._fixEnabled){var n=x.getMarginSize(b);this.editor.iframe.style.marginTop=n.h+"px";a?(h.left=x.position(b).x,this._IEOriginalPos=b.previousSibling?["after",b.previousSibling]:b.nextSibling?["before",b.nextSibling]:["last",b.parentNode],this.editor.ownerDocumentBody.appendChild(b),C.add(b,"dijitIEFixedToolbar")):(h.position="fixed",h.top="0px");x.setMarginBox(b,
{w:n.w});h.zIndex=2E3;this._fixEnabled=!0}a=this.height?parseInt(this.editor.height):this.editor._lastHeight;h.display=e>this._scrollThreshold+a?"none":""}else this._fixEnabled&&(this.editor.iframe.style.marginTop="",h.position="",h.top="",h.zIndex="",h.display="",a&&(h.left="",C.remove(b,"dijitIEFixedToolbar"),this._IEOriginalPos?(B.place(b,this._IEOriginalPos[1],this._IEOriginalPos[0]),this._IEOriginalPos=null):B.place(b,this.editor.iframe,"before")),h.width="",this._fixEnabled=!1)}},destroy:function(){this._IEOriginalPos=
null;this._handleScroll=!1;this.inherited(arguments);7>g("ie")&&C.remove(this.editor.header,"dijitIEFixedToolbar")}})})},"dijit/form/ComboButton":function(){define("dojo/_base/declare dojo/keys ../focus ./DropDownButton dojo/text!./templates/ComboButton.html ../a11yclick".split(" "),function(A,C,B,x,l){return A("dijit.form.ComboButton",x,{templateString:l,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{buttonNode:"dijitButtonNode",
titleNode:"dijitButtonContents",_popupStateNode:"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(f){f.keyCode==C[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]&&(B.focus(this._popupStateNode),f.stopPropagation(),f.preventDefault())},_onArrowKeyDown:function(f){f.keyCode==C[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]&&(B.focus(this.titleNode),f.stopPropagation(),f.preventDefault())},focus:function(f){this.disabled||B.focus("start"==f?this.titleNode:this._popupStateNode)}})})},
"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(A,C,B,x){var l=C("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0},add:function(f){if(this._hash[f.id])throw Error("Tried to register widget with id\x3d\x3d"+f.id+" but that id is already registered");this._hash[f.id]=f;this.length++},remove:function(f){this._hash[f]&&(delete this._hash[f],this.length--)},forEach:function(f,g){g=g||B.global;var d=0,c;for(c in this._hash)f.call(g,
this._hash[c],d++,this._hash);return this},filter:function(f,g){g=g||B.global;var d=new l,c=0,a;for(a in this._hash){var b=this._hash[a];f.call(g,b,c++,this._hash)&&d.add(b)}return d},byId:function(f){return this._hash[f]},byClass:function(f){var g=new l,d;for(d in this._hash){var c=this._hash[d];c.declaredClass==f&&g.add(c)}return g},toArray:function(){var f=[],g;for(g in this._hash)f.push(this._hash[g]);return f},map:function(f,g){return A.map(this.toArray(),f,g)},every:function(f,g){g=g||B.global;
var d=0,c;for(c in this._hash)if(!f.call(g,this._hash[c],d++,this._hash))return!1;return!0},some:function(f,g){g=g||B.global;var d=0,c;for(c in this._hash)if(f.call(g,this._hash[c],d++,this._hash))return!0;return!1}});A.forEach("forEach filter byClass map every some".split(" "),function(f){x[f]=l.prototype[f]});return l})},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox","dojo/i18n!./nls/validate"],function(A,C,B){return A("dijit.form.RangeBoundTextBox",
B,{rangeMessage:"",rangeCheck:function(x,l){return("min"in l?0<=this.compare(x,l.min):!0)&&("max"in l?0>=this.compare(x,l.max):!0)},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints)},_isDefinitelyOutOfRange:function(){var x=this.get("value");if(null==x)return!1;var l=!1;"min"in this.constraints&&(l=this.constraints.min,l=0>this.compare(x,"number"==typeof l&&0<=l&&0!=x?0:l));!l&&"max"in this.constraints&&(l=this.constraints.max,l=0<this.compare(x,"number"!=typeof l||0<
l?l:0));return l},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange()},isValid:function(x){return this.inherited(arguments)&&(this._isEmpty(this.textbox.value)&&!this.required||this.isInRange(x))},getErrorMessage:function(x){var l=this.get("value");return null==l||""===l||"number"==typeof l&&isNaN(l)||this.isInRange(x)?this.inherited(arguments):this.rangeMessage},postMixInProperties:function(){this.inherited(arguments);this.rangeMessage||(this.messages=C.getLocalization("dijit.form",
"validate",this.lang),this.rangeMessage=this.messages.rangeMessage)}})})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(A,C,B){function x(c){if("string"==typeof c||c instanceof String){if(c&&!f.test(c))return g[0]=c,g;c=c.split(f);c.length&&!c[0]&&c.shift();c.length&&!c[c.length-1]&&c.pop();return c}return c?C.filter(c,function(a){return a}):[]}var l,f=/\s+/,g=[""],d={};return l={contains:function(c,a){return 0<=(" "+B.byId(c).className+" ").indexOf(" "+a+" ")},
add:function(c,a){c=B.byId(c);a=x(a);var b=c.className;b=b?" "+b+" ":" ";var e=b.length;for(var h=0,n=a.length,r;h<n;++h)(r=a[h])&&0>b.indexOf(" "+r+" ")&&(b+=r+" ");e<b.length&&(c.className=b.substr(1,b.length-2))},remove:function(c,a){c=B.byId(c);if(void 0!==a){a=x(a);var b=" "+c.className+" ";for(var e=0,h=a.length;e<h;++e)b=b.replace(" "+a[e]+" "," ");b=A.trim(b)}else b="";c.className!=b&&(c.className=b)},replace:function(c,a,b){c=B.byId(c);d.className=c.className;l.remove(d,b);l.add(d,a);c.className!==
d.className&&(c.className=d.className)},toggle:function(c,a,b){c=B.byId(c);if(void 0===b){a=x(a);for(var e=0,h=a.length,n;e<h;++e)n=a[e],l[l.contains(c,n)?"remove":"add"](c,n)}else l[b?"add":"remove"](c,a);return b}}})},"dojox/gfx/vml":function(){define("dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/_base/Color dojo/_base/sniff dojo/_base/config dojo/dom dojo/dom-geometry dojo/_base/kernel ./_base ./shape ./path ./arc ./gradient ./matrix".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,
r){function k(q,t,z){z=z||c.global;t.call(z,q);(q instanceof a.Surface||q instanceof a.Group)&&B.forEach(q.children,function(D){k(D,t,z)})}var m=a.vml={};m.xmlns="urn:schemas-microsoft-com:vml";document.namespaces.add("v",m.xmlns);n="* group roundrect oval shape rect imagedata path textpath text".split(" ");var y=0,p=1,u=document.createStyleSheet();8<=l("ie")&&(y=1,p=n.length);for(;y<p;++y)u.addRule("v\\:"+n[y],"behavior:url(#default#VML); display:inline-block");m.text_alignment={start:"left",middle:"center",
end:"right"};m._parseFloat=function(q){return q.match(/^\d+f$/i)?parseInt(q)/65536:parseFloat(q)};m._bool={t:1,"true":1};m._reparentEvents=function(q,t){for(var z in t)"on"==z.substr(0,2).toLowerCase()&&(q[z]=t[z],t[z]=null)};m.Shape=C("dojox.gfx.vml.Shape",b.Shape,{setFill:function(q){if(!q)return this.fillStyle=null,this.rawNode.filled="f",this;var t;if("object"==typeof q&&"type"in q){switch(q.type){case "linear":var z=this._getRealMatrix(),D=this.getBoundingBox(),v=this._getRealBBox?this._getRealBBox():
this.getTransformedBoundingBox();var E=[];this.fillStyle!==q&&(this.fillStyle=a.makeParameters(a.defaultLinearGradient,q));q=a.gradient.project(z,this.fillStyle,{x:D.x,y:D.y},{x:D.x+D.width,y:D.y+D.height},v[0],v[2]);var F=q.colors;"0.00000"!=F[0].offset.toFixed(5)&&E.push("0 "+a.normalizeColor(F[0].color).toHex());for(t=0;t<F.length;++t)E.push(F[t].offset.toFixed(5)+" "+a.normalizeColor(F[t].color).toHex());t=F.length-1;"1.00000"!=F[t].offset.toFixed(5)&&E.push("1 "+a.normalizeColor(F[t].color).toHex());
t=this.rawNode.fill;t.colors.value=E.join(";");t.method="sigma";t.type="gradient";t.angle=(270-r._radToDeg(q.angle))%360;t.on=!0;break;case "radial":this.fillStyle=q=a.makeParameters(a.defaultRadialGradient,q);z=parseFloat(this.rawNode.style.left);D=parseFloat(this.rawNode.style.top);v=parseFloat(this.rawNode.style.width);var H=parseFloat(this.rawNode.style.height),J=isNaN(v)?1:2*q.r/v;F=[];0<q.colors[0].offset&&F.push({offset:1,color:a.normalizeColor(q.colors[0].color)});B.forEach(q.colors,function(I,
K){F.push({offset:1-I.offset*J,color:a.normalizeColor(I.color)})});for(t=F.length-1;0<=t&&0>F[t].offset;)--t;if(t<F.length-1){E=F[t];var G=F[t+1];G.color=x.blendColors(E.color,G.color,E.offset/(E.offset-G.offset));for(G.offset=0;2<F.length-t;)F.pop()}t=F.length-1;E=[];for(0<F[t].offset&&E.push("0 "+F[t].color.toHex());0<=t;--t)E.push(F[t].offset.toFixed(5)+" "+F[t].color.toHex());t=this.rawNode.fill;t.colors.value=E.join(";");t.method="sigma";t.type="gradientradial";isNaN(v)||isNaN(H)||isNaN(z)||
isNaN(D)?t.focusposition="0.5 0.5":t.focusposition=((q.cx-z)/v).toFixed(5)+" "+((q.cy-D)/H).toFixed(5);t.focussize="0 0";t.on=!0;break;case "pattern":this.fillStyle=q=a.makeParameters(a.defaultPattern,q),t=this.rawNode.fill,t.type="tile",t.src=q.src,q.width&&q.height&&(t.size.x=a.px2pt(q.width),t.size.y=a.px2pt(q.height)),t.alignShape="f",t.position.x=0,t.position.y=0,t.origin.x=q.width?q.x/q.width:0,t.origin.y=q.height?q.y/q.height:0,t.on=!0}this.rawNode.fill.opacity=1;return this}this.fillStyle=
a.normalizeColor(q);(t=this.rawNode.fill)||(t=this.rawNode.ownerDocument.createElement("v:fill"));t.method="any";t.type="solid";t.opacity=this.fillStyle.a;if(E=this.rawNode.filters["DXImageTransform.Microsoft.Alpha"])E.opacity=Math.round(100*this.fillStyle.a);this.rawNode.fillcolor=this.fillStyle.toHex();this.rawNode.filled=!0;return this},setStroke:function(q){if(!q)return this.strokeStyle=null,this.rawNode.stroked="f",this;if("string"==typeof q||A.isArray(q)||q instanceof x)q={color:q};q=this.strokeStyle=
a.makeParameters(a.defaultStroke,q);q.color=a.normalizeColor(q.color);var t=this.rawNode;t.stroked=!0;t.strokecolor=q.color.toCss();t.strokeweight=q.width+"px";t.stroke&&(t.stroke.opacity=q.color.a,t.stroke.endcap=this._translate(this._capMap,q.cap),"number"==typeof q.join?(t.stroke.joinstyle="miter",t.stroke.miterlimit=q.join):t.stroke.joinstyle=q.join,t.stroke.dashstyle="none"==q.style?"Solid":q.style);return this},_capMap:{butt:"flat"},_capMapReversed:{flat:"butt"},_translate:function(q,t){return t in
q?q[t]:t},_applyTransform:function(){var q=this._getRealMatrix();if(q){var t=this.rawNode.skew;if("undefined"==typeof t)for(var z=0;z<this.rawNode.childNodes.length;++z)if("skew"==this.rawNode.childNodes[z].tagName){t=this.rawNode.childNodes[z];break}if(t){t.on="f";z=q.xx.toFixed(8)+" "+q.xy.toFixed(8)+" "+q.yx.toFixed(8)+" "+q.yy.toFixed(8)+" 0 0";q=Math.floor(q.dx).toFixed()+"px "+Math.floor(q.dy).toFixed()+"px";var D=this.rawNode.style,v=parseFloat(D.left),E=parseFloat(D.top),F=parseFloat(D.width);
D=parseFloat(D.height);isNaN(v)&&(v=0);isNaN(E)&&(E=0);if(isNaN(F)||!F)F=1;if(isNaN(D)||!D)D=1;v=(-v/F-.5).toFixed(8)+" "+(-E/D-.5).toFixed(8);t.matrix=z;t.origin=v;t.offset=q;t.on=!0}}this.fillStyle&&"linear"==this.fillStyle.type&&this.setFill(this.fillStyle);this.clip&&this.setClip(this.clip);return this},_setDimensions:function(q,t){return this},setRawNode:function(q){q.stroked="f";q.filled="f";this.rawNode=q;this.rawNode.__gfxObject__=this},_moveToFront:function(){this.rawNode.parentNode.appendChild(this.rawNode);
return this},_moveToBack:function(){var q=this.rawNode,t=q.parentNode,z=t.firstChild;t.insertBefore(q,z);"rect"==z.tagName&&z.swapNode(q);return this},_getRealMatrix:function(){return this.parentMatrix?new r.Matrix2D([this.parentMatrix,this.matrix]):this.matrix},setClip:function(q){this.inherited(arguments);var t=this.rawNode.style;if(!q)t.position="absolute",t.clip="rect(0px "+t.width+" "+t.height+" 0px)";else if("width"in q){var z=this._getRealMatrix(),D=parseFloat(t.left),v=parseFloat(t.top);isNaN(D)&&
(D=0);isNaN(v)&&(v=0);var E=r.multiplyRectangle(z,q);z=r.multiplyPoint(z,{x:D,y:v});t.clip="rect("+Math.round(E.y-z.y)+"px "+Math.round(E.x-z.x+E.width)+"px "+Math.round(E.y-z.y+E.height)+"px "+Math.round(E.x-z.x)+"px)"}return this}});m.Group=C("dojox.gfx.vml.Group",m.Shape,{constructor:function(){b.Container._init.call(this)},_applyTransform:function(){for(var q=this._getRealMatrix(),t=0;t<this.children.length;++t)this.children[t]._updateParentMatrix(q);this.clip&&this.setClip(this.clip);return this},
_setDimensions:function(q,t){var z=this.rawNode,D=z.style,v=this.bgNode.style;D.width=q;D.height=t;z.coordsize=q+" "+t;v.width=q;v.height=t;for(z=0;z<this.children.length;++z)this.children[z]._setDimensions(q,t);return this},setClip:function(q){this.clip=q;var t=this.rawNode.style;if(!q)t.position="absolute",t.clip="rect(0px "+t.width+" "+t.height+" 0px)";else if("width"in q){var z=this._getRealMatrix();q=r.multiplyRectangle(z,q);var D=this.getBoundingBox();z=(D=D?r.multiplyRectangle(z,D):null)&&
0>D.x?D.x:0;D=D&&0>D.y?D.y:0;t.position="absolute";t.clip="rect("+Math.round(q.y-D)+"px "+Math.round(q.x+q.width-z)+"px "+Math.round(q.y+q.height-D)+"px "+Math.round(q.x-z)+"px)"}return this},destroy:function(){this.clear(!0);m.Shape.prototype.destroy.apply(this,arguments)}});m.Group.nodeType="group";m.Rect=C("dojox.gfx.vml.Rect",[m.Shape,b.Rect],{setShape:function(q){q=this.shape=a.makeParameters(this.shape,q);this.bbox=null;var t=Math.min(1,q.r/Math.min(parseFloat(q.width),parseFloat(q.height))).toFixed(8),
z=this.rawNode.parentNode,D=null;if(z){if(z.lastChild!==this.rawNode)for(var v=0;v<z.childNodes.length;++v)if(z.childNodes[v]===this.rawNode){D=z.childNodes[v+1];break}z.removeChild(this.rawNode)}7<l("ie")?(v=this.rawNode.ownerDocument.createElement("v:roundrect"),v.arcsize=t,v.style.display="inline-block",m._reparentEvents(v,this.rawNode),this.rawNode=v,this.rawNode.__gfxObject__=this):this.rawNode.arcsize=t;z&&(D?z.insertBefore(this.rawNode,D):z.appendChild(this.rawNode));t=this.rawNode.style;t.left=
q.x.toFixed();t.top=q.y.toFixed();t.width="string"==typeof q.width&&0<=q.width.indexOf("%")?q.width:Math.max(q.width.toFixed(),0);t.height="string"==typeof q.height&&0<=q.height.indexOf("%")?q.height:Math.max(q.height.toFixed(),0);return this.setTransform(this.matrix).setFill(this.fillStyle).setStroke(this.strokeStyle)}});m.Rect.nodeType="roundrect";m.Ellipse=C("dojox.gfx.vml.Ellipse",[m.Shape,b.Ellipse],{setShape:function(q){q=this.shape=a.makeParameters(this.shape,q);this.bbox=null;var t=this.rawNode.style;
t.left=(q.cx-q.rx).toFixed();t.top=(q.cy-q.ry).toFixed();t.width=(2*q.rx).toFixed();t.height=(2*q.ry).toFixed();return this.setTransform(this.matrix)}});m.Ellipse.nodeType="oval";m.Circle=C("dojox.gfx.vml.Circle",[m.Shape,b.Circle],{setShape:function(q){q=this.shape=a.makeParameters(this.shape,q);this.bbox=null;var t=this.rawNode.style;t.left=(q.cx-q.r).toFixed();t.top=(q.cy-q.r).toFixed();t.width=(2*q.r).toFixed();t.height=(2*q.r).toFixed();return this}});m.Circle.nodeType="oval";m.Line=C("dojox.gfx.vml.Line",
[m.Shape,b.Line],{constructor:function(q){q&&q.setAttribute("dojoGfxType","line")},setShape:function(q){q=this.shape=a.makeParameters(this.shape,q);this.bbox=null;this.rawNode.path.v="m"+q.x1.toFixed()+" "+q.y1.toFixed()+"l"+q.x2.toFixed()+" "+q.y2.toFixed()+"e";return this.setTransform(this.matrix)}});m.Line.nodeType="shape";m.Polyline=C("dojox.gfx.vml.Polyline",[m.Shape,b.Polyline],{constructor:function(q){q&&q.setAttribute("dojoGfxType","polyline")},setShape:function(q,t){q&&q instanceof Array?
(this.shape=a.makeParameters(this.shape,{points:q}),t&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=a.makeParameters(this.shape,q);this.bbox=null;this._normalizePoints();var z=[],D=this.shape.points;if(0<D.length&&(z.push("m"),z.push(D[0].x.toFixed(),D[0].y.toFixed()),1<D.length)){z.push("l");for(var v=1;v<D.length;++v)z.push(D[v].x.toFixed(),D[v].y.toFixed())}z.push("e");this.rawNode.path.v=z.join(" ");return this.setTransform(this.matrix)}});m.Polyline.nodeType=
"shape";m.Image=C("dojox.gfx.vml.Image",[m.Shape,b.Image],{setShape:function(q){q=this.shape=a.makeParameters(this.shape,q);this.bbox=null;this.rawNode.firstChild.src=q.src;return this.setTransform(this.matrix)},_applyTransform:function(){var q=this._getRealMatrix(),t=this.rawNode,z=t.style,D=this.shape;q=q?r.multiply(q,{dx:D.x,dy:D.y}):r.normalize({dx:D.x,dy:D.y});if(0==q.xy&&0==q.yx&&0<q.xx&&0<q.yy)z.filter="",z.width=Math.floor(q.xx*D.width),z.height=Math.floor(q.yy*D.height),z.left=Math.floor(q.dx),
z.top=Math.floor(q.dy);else{var v=t.parentNode.style;z.left="0px";z.top="0px";z.width=v.width;z.height=v.height;q=r.multiply(q,{xx:D.width/parseInt(z.width),yy:D.height/parseInt(z.height)});(t=t.filters["DXImageTransform.Microsoft.Matrix"])?(t.M11=q.xx,t.M12=q.xy,t.M21=q.yx,t.M22=q.yy,t.Dx=q.dx,t.Dy=q.dy):z.filter="progid:DXImageTransform.Microsoft.Matrix(M11\x3d"+q.xx+", M12\x3d"+q.xy+", M21\x3d"+q.yx+", M22\x3d"+q.yy+", Dx\x3d"+q.dx+", Dy\x3d"+q.dy+")"}return this},_setDimensions:function(q,t){var z=
this.rawNode;return z.filters["DXImageTransform.Microsoft.Matrix"]?(z=z.style,z.width=q,z.height=t,this._applyTransform()):this}});m.Image.nodeType="rect";m.Text=C("dojox.gfx.vml.Text",[m.Shape,b.Text],{constructor:function(q){q&&q.setAttribute("dojoGfxType","text");this.fontStyle=null},_alignment:{start:"left",middle:"center",end:"right"},setShape:function(q){this.shape=a.makeParameters(this.shape,q);this.bbox=null;var t=this.rawNode;q=this.shape;var z=q.x,D=q.y.toFixed();switch(q.align){case "middle":z-=
5;break;case "end":z-=10}D="m"+z.toFixed()+","+D+"l"+(z+10).toFixed()+","+D+"e";var v=null;z=null;for(var E=t.childNodes,F=0;F<E.length;++F){var H=E[F].tagName;if("path"==H){if(v=E[F],z)break}else if("textpath"==H&&(z=E[F],v))break}v||(v=t.ownerDocument.createElement("v:path"),t.appendChild(v));z||(z=t.ownerDocument.createElement("v:textpath"),t.appendChild(z));v.v=D;v.textPathOk=!0;z.on=!0;t=m.text_alignment[q.align];z.style["v-text-align"]=t?t:"left";z.style["text-decoration"]=q.decoration;z.style["v-rotate-letters"]=
q.rotated;z.style["v-text-kern"]=q.kerning;z.string=q.text;return this.setTransform(this.matrix)},_setFont:function(){for(var q=this.fontStyle,t=this.rawNode.childNodes,z=0;z<t.length;++z)if("textpath"==t[z].tagName){t[z].style.font=a.makeFontString(q);break}this.setTransform(this.matrix)},_getRealMatrix:function(){var q=this.inherited(arguments);q&&(q=r.multiply(q,{dy:.35*-a.normalizedLength(this.fontStyle?this.fontStyle.size:"10pt")}));return q},getTextWidth:function(){var q=this.rawNode,t=q.style.display;
q.style.display="inline";var z=a.pt2px(parseFloat(q.currentStyle.width));q.style.display=t;return z}});m.Text.nodeType="shape";m.Path=C("dojox.gfx.vml.Path",[m.Shape,e.Path],{constructor:function(q){q&&!q.getAttribute("dojoGfxType")&&q.setAttribute("dojoGfxType","path");this.vmlPath="";this.lastControl={}},_updateWithSegment:function(q){var t=A.clone(this.last);this.inherited(arguments);1<arguments.length||(t=this[this.renderers[q.action]](q,t),"string"==typeof this.vmlPath?(this.vmlPath+=t.join(""),
this.rawNode.path.v=this.vmlPath+" r0,0 e"):Array.prototype.push.apply(this.vmlPath,t))},setShape:function(q){this.vmlPath=[];this.lastControl.type="";this.inherited(arguments);this.vmlPath=this.vmlPath.join("");this.rawNode.path.v=this.vmlPath+" r0,0 e";return this},_pathVmlToSvgMap:{m:"M",l:"L",t:"m",r:"l",c:"C",v:"c",qb:"Q",x:"z",e:""},renderers:{M:"_moveToA",m:"_moveToR",L:"_lineToA",l:"_lineToR",H:"_hLineToA",h:"_hLineToR",V:"_vLineToA",v:"_vLineToR",C:"_curveToA",c:"_curveToR",S:"_smoothCurveToA",
s:"_smoothCurveToR",Q:"_qCurveToA",q:"_qCurveToR",T:"_qSmoothCurveToA",t:"_qSmoothCurveToR",A:"_arcTo",a:"_arcTo",Z:"_closePath",z:"_closePath"},_addArgs:function(q,t,z,D){for(t=t instanceof Array?t:t.args;z<D;++z)q.push(" ",t[z].toFixed())},_adjustRelCrd:function(q,t,z){t=t instanceof Array?t:t.args;var D=t.length,v=Array(D),E=0,F=q.x;q=q.y;"number"!=typeof F&&(v[0]=F=t[0],v[1]=q=t[1],E=2);if("number"==typeof z&&2!=z)for(var H=z;H<=D;){for(;E<H;E+=2)v[E]=F+t[E],v[E+1]=q+t[E+1];F=v[H-2];q=v[H-1];
H+=z}else for(;E<D;E+=2)v[E]=F+=t[E],v[E+1]=q+=t[E+1];return v},_adjustRelPos:function(q,t){for(var z=t instanceof Array?t:t.args,D=z.length,v=Array(D),E=0;E<D;++E)v[E]=q+=z[E];return v},_moveToA:function(q){var t=[" m"];q=q instanceof Array?q:q.args;var z=q.length;this._addArgs(t,q,0,2);2<z&&(t.push(" l"),this._addArgs(t,q,2,z));this.lastControl.type="";return t},_moveToR:function(q,t){return this._moveToA(this._adjustRelCrd(t,q))},_lineToA:function(q){var t=[" l"];q=q instanceof Array?q:q.args;
this._addArgs(t,q,0,q.length);this.lastControl.type="";return t},_lineToR:function(q,t){return this._lineToA(this._adjustRelCrd(t,q))},_hLineToA:function(q,t){for(var z=[" l"],D=" "+t.y.toFixed(),v=q instanceof Array?q:q.args,E=v.length,F=0;F<E;++F)z.push(" ",v[F].toFixed(),D);this.lastControl.type="";return z},_hLineToR:function(q,t){return this._hLineToA(this._adjustRelPos(t.x,q),t)},_vLineToA:function(q,t){for(var z=[" l"],D=" "+t.x.toFixed(),v=q instanceof Array?q:q.args,E=v.length,F=0;F<E;++F)z.push(D,
" ",v[F].toFixed());this.lastControl.type="";return z},_vLineToR:function(q,t){return this._vLineToA(this._adjustRelPos(t.y,q),t)},_curveToA:function(q){var t=[];q=q instanceof Array?q:q.args;for(var z=q.length,D=this.lastControl,v=0;v<z;v+=6)t.push(" c"),this._addArgs(t,q,v,v+6);D.x=q[z-4];D.y=q[z-3];D.type="C";return t},_curveToR:function(q,t){return this._curveToA(this._adjustRelCrd(t,q,6))},_smoothCurveToA:function(q,t){var z=[],D=q instanceof Array?q:q.args,v=D.length,E=this.lastControl,F=0;
"C"!=E.type&&(z.push(" c"),this._addArgs(z,[t.x,t.y],0,2),this._addArgs(z,D,0,4),E.x=D[0],E.y=D[1],E.type="C",F=4);for(;F<v;F+=4)z.push(" c"),this._addArgs(z,[2*t.x-E.x,2*t.y-E.y],0,2),this._addArgs(z,D,F,F+4),E.x=D[F],E.y=D[F+1];return z},_smoothCurveToR:function(q,t){return this._smoothCurveToA(this._adjustRelCrd(t,q,4),t)},_qCurveToA:function(q){var t=[];q=q instanceof Array?q:q.args;for(var z=q.length,D=this.lastControl,v=0;v<z;v+=4)t.push(" qb"),this._addArgs(t,q,v,v+4);D.x=q[z-4];D.y=q[z-3];
D.type="Q";return t},_qCurveToR:function(q,t){return this._qCurveToA(this._adjustRelCrd(t,q,4))},_qSmoothCurveToA:function(q,t){var z=[],D=q instanceof Array?q:q.args,v=D.length,E=this.lastControl,F=0;"Q"!=E.type&&(z.push(" qb"),this._addArgs(z,[E.x=t.x,E.y=t.y],0,2),E.type="Q",this._addArgs(z,D,0,2),F=2);for(;F<v;F+=2)z.push(" qb"),this._addArgs(z,[E.x=2*t.x-E.x,E.y=2*t.y-E.y],0,2),this._addArgs(z,D,F,F+2);return z},_qSmoothCurveToR:function(q,t){return this._qSmoothCurveToA(this._adjustRelCrd(t,
q,2),t)},_arcTo:function(q,t){for(var z=[],D=q.args,v=D.length,E="a"==q.action,F=0;F<v;F+=7){var H=D[F+5],J=D[F+6];E&&(H+=t.x,J+=t.y);for(var G=h.arcAsBezier(t,D[F],D[F+1],D[F+2],D[F+3]?1:0,D[F+4]?1:0,H,J),I=0;I<G.length;++I){z.push(" c");var K=G[I];this._addArgs(z,K,0,K.length);this._updateBBox(K[0],K[1]);this._updateBBox(K[2],K[3]);this._updateBBox(K[4],K[5])}t.x=H;t.y=J}this.lastControl.type="";return z},_closePath:function(){this.lastControl.type="";return["x"]},_getRealBBox:function(){this._confirmSegmented();
if(this.tbbox)return this.tbbox;"string"==typeof this.shape.path&&(this.shape.path="");return this.inherited(arguments)}});m.Path.nodeType="shape";m.TextPath=C("dojox.gfx.vml.TextPath",[m.Path,e.TextPath],{constructor:function(q){q&&q.setAttribute("dojoGfxType","textpath");this.fontStyle=null;"text"in this||(this.text=A.clone(a.defaultTextPath));"fontStyle"in this||(this.fontStyle=A.clone(a.defaultFont))},setText:function(q){this.text=a.makeParameters(this.text,"string"==typeof q?{text:q}:q);this._setText();
return this},setFont:function(q){this.fontStyle="string"==typeof q?a.splitFontString(q):a.makeParameters(a.defaultFont,q);this._setFont();return this},_setText:function(){this.bbox=null;for(var q=this.rawNode,t=this.text,z=null,D=null,v=q.childNodes,E=0;E<v.length;++E){var F=v[E].tagName;if("path"==F){if(z=v[E],D)break}else if("textpath"==F&&(D=v[E],z))break}z||(z=this.rawNode.ownerDocument.createElement("v:path"),q.appendChild(z));D||(D=this.rawNode.ownerDocument.createElement("v:textpath"),q.appendChild(D));
z.textPathOk=!0;D.on=!0;q=m.text_alignment[t.align];D.style["v-text-align"]=q?q:"left";D.style["text-decoration"]=t.decoration;D.style["v-rotate-letters"]=t.rotated;D.style["v-text-kern"]=t.kerning;D.string=t.text},_setFont:function(){for(var q=this.fontStyle,t=this.rawNode.childNodes,z=0;z<t.length;++z)if("textpath"==t[z].tagName){t[z].style.font=a.makeFontString(q);break}}});m.TextPath.nodeType="shape";m.Surface=C("dojox.gfx.vml.Surface",b.Surface,{constructor:function(){b.Container._init.call(this)},
destroy:function(){this.clear(!0);this.inherited(arguments)},setDimensions:function(q,t){this.width=a.normalizedLength(q);this.height=a.normalizedLength(t);if(!this.rawNode)return this;var z=this.clipNode.style,D=this.rawNode,v=D.style,E=this.bgNode.style,F=this._parent.style;F.width=q;F.height=t;z.width=q;z.height=t;z.clip="rect(0px "+q+"px "+t+"px 0px)";v.width=q;v.height=t;D.coordsize=q+" "+t;E.width=q;E.height=t;for(z=0;z<this.children.length;++z)this.children[z]._setDimensions(q,t);return this},
getDimensions:function(){var q=this.rawNode?{width:a.normalizedLength(this.rawNode.style.width),height:a.normalizedLength(this.rawNode.style.height)}:null;0>=q.width&&(q.width=this.width);0>=q.height&&(q.height=this.height);return q}});m.createSurface=function(q,t,z){if(!t&&!z){var D=d.position(q);t=t||D.w;z=z||D.h}"number"==typeof t&&(t+="px");"number"==typeof z&&(z+="px");D=new m.Surface;q=g.byId(q);var v=D.clipNode=q.ownerDocument.createElement("div"),E=D.rawNode=q.ownerDocument.createElement("v:group"),
F=v.style,H=E.style;7<l("ie")&&(H.display="inline-block");D._parent=q;D._nodes.push(v);q.style.width=t;q.style.height=z;F.position="absolute";F.width=t;F.height=z;F.clip="rect(0px "+t+" "+z+" 0px)";H.position="absolute";H.width=t;H.height=z;E.coordsize=("100%"===t?t:parseFloat(t))+" "+("100%"===z?z:parseFloat(z));E.coordorigin="0 0";F=D.bgNode=E.ownerDocument.createElement("v:rect");var J=F.style;J.left=J.top=0;J.width=H.width;J.height=H.height;F.filled=F.stroked="f";E.appendChild(F);v.appendChild(E);
q.appendChild(v);D.width=a.normalizedLength(t);D.height=a.normalizedLength(z);return D};C=function(q){if(this!=q.getParent()){var t=q.getParent();t&&t.remove(q);this.rawNode.appendChild(q.rawNode);w.add.apply(this,arguments);k(this,function(z){"function"==typeof z.getFont&&(z.setShape(z.getShape()),z.setFont(z.getFont()));"function"==typeof z.setFill&&(z.setFill(z.getFill()),z.setStroke(z.getStroke()))})}return this};e=function(q){this!=q.getParent()&&(this.rawNode.appendChild(q.rawNode),q.getParent()||
(q.setFill(q.getFill()),q.setStroke(q.getStroke())),w.add.apply(this,arguments));return this};var w=b.Container;f={add:!0===f.fixVmlAdd?C:e,remove:function(q,t){this==q.getParent()&&(this.rawNode==q.rawNode.parentNode&&this.rawNode.removeChild(q.rawNode),w.remove.apply(this,arguments));return this},clear:function(){for(var q=this.rawNode;q.firstChild!=q.lastChild;)q.firstChild!=this.bgNode&&q.removeChild(q.firstChild),q.lastChild!=this.bgNode&&q.removeChild(q.lastChild);return w.clear.apply(this,
arguments)},getBoundingBox:w.getBoundingBox,_moveChildToFront:w._moveChildToFront,_moveChildToBack:w._moveChildToBack};C={createGroup:function(){var q=this.createObject(m.Group,null),t=q.rawNode.ownerDocument.createElement("v:rect");t.style.left=t.style.top=0;t.style.width=q.rawNode.style.width;t.style.height=q.rawNode.style.height;t.filled=t.stroked="f";q.rawNode.appendChild(t);q.bgNode=t;return q},createImage:function(q){if(!this.rawNode)return null;var t=new m.Image,z=this.rawNode.ownerDocument,
D=z.createElement("v:rect");D.stroked="f";D.style.width=this.rawNode.style.width;D.style.height=this.rawNode.style.height;z=z.createElement("v:imagedata");D.appendChild(z);t.setRawNode(D);this.rawNode.appendChild(D);t.setShape(q);this.add(t);return t},createRect:function(q){if(!this.rawNode)return null;var t=new m.Rect,z=this.rawNode.ownerDocument.createElement("v:roundrect");7<l("ie")&&(z.style.display="inline-block");t.setRawNode(z);this.rawNode.appendChild(z);t.setShape(q);this.add(t);return t},
createObject:function(q,t){if(!this.rawNode)return null;var z=new q,D=this.rawNode.ownerDocument.createElement("v:"+q.nodeType);z.setRawNode(D);this.rawNode.appendChild(D);switch(q){case m.Group:case m.Line:case m.Polyline:case m.Image:case m.Text:case m.Path:case m.TextPath:this._overrideSize(D)}z.setShape(t);this.add(z);return z},_overrideSize:function(q){var t=this.rawNode.style,z=t.width;t=t.height;q.style.width=z;q.style.height=t;q.coordsize=parseInt(z)+" "+parseInt(t)}};A.extend(m.Group,f);
A.extend(m.Group,b.Creator);A.extend(m.Group,C);A.extend(m.Surface,f);A.extend(m.Surface,b.Creator);A.extend(m.Surface,C);m.fixTarget=function(q,t){q.gfxTarget||(q.gfxTarget=q.target.__gfxObject__);return!0};return m})},"dojox/html/entities":function(){define(["dojo/_base/lang"],function(A){var C=A.getObject("dojox.html.entities",!0),B=function(l,f){if(f._encCache&&f._encCache.regexp&&f._encCache.mapper&&f.length==f._encCache.length){var g=f._encCache.mapper;var d=f._encCache.regexp}else{g={};d=["["];
var c;for(c=0;c<f.length;c++)g[f[c][0]]="\x26"+f[c][1]+";",d.push(f[c][0]);d.push("]");d=new RegExp(d.join(""),"g");f._encCache={mapper:g,regexp:d,length:f.length}}return l=l.replace(d,function(a){return g[a]})},x=function(l,f){if(f._decCache&&f._decCache.regexp&&f._decCache.mapper&&f.length==f._decCache.length){var g=f._decCache.mapper;var d=f._decCache.regexp}else{g={};d=["("];var c;for(c=0;c<f.length;c++){var a="\x26"+f[c][1]+";";c&&d.push("|");g[a]=f[c][0];d.push(a)}d.push(")");d=new RegExp(d.join(""),
"g");f._decCache={mapper:g,regexp:d,length:f.length}}return l=l.replace(d,function(b){return g[b]})};C.html=[["\x26","amp"],['"',"quot"],["\x3c","lt"],["\x3e","gt"],["\u00a0","nbsp"]];C.latin=[["\u00a1","iexcl"],["\u00a2","cent"],["\u00a3","pound"],["\u20ac","euro"],["\u00a4","curren"],["\u00a5","yen"],["\u00a6","brvbar"],["\u00a7","sect"],["\u00a8","uml"],["\u00a9","copy"],["\u00aa","ordf"],["\u00ab","laquo"],["\u00ac","not"],["\u00ad","shy"],["\u00ae","reg"],["\u00af","macr"],["\u00b0","deg"],["\u00b1",
"plusmn"],["\u00b2","sup2"],["\u00b3","sup3"],["\u00b4","acute"],["\u00b5","micro"],["\u00b6","para"],["\u00b7","middot"],["\u00b8","cedil"],["\u00b9","sup1"],["\u00ba","ordm"],["\u00bb","raquo"],["\u00bc","frac14"],["\u00bd","frac12"],["\u00be","frac34"],["\u00bf","iquest"],["\u00c0","Agrave"],["\u00c1","Aacute"],["\u00c2","Acirc"],["\u00c3","Atilde"],["\u00c4","Auml"],["\u00c5","Aring"],["\u00c6","AElig"],["\u00c7","Ccedil"],["\u00c8","Egrave"],["\u00c9","Eacute"],["\u00ca","Ecirc"],["\u00cb","Euml"],
["\u00cc","Igrave"],["\u00cd","Iacute"],["\u00ce","Icirc"],["\u00cf","Iuml"],["\u00d0","ETH"],["\u00d1","Ntilde"],["\u00d2","Ograve"],["\u00d3","Oacute"],["\u00d4","Ocirc"],["\u00d5","Otilde"],["\u00d6","Ouml"],["\u00d7","times"],["\u00d8","Oslash"],["\u00d9","Ugrave"],["\u00da","Uacute"],["\u00db","Ucirc"],["\u00dc","Uuml"],["\u00dd","Yacute"],["\u00de","THORN"],["\u00df","szlig"],["\u00e0","agrave"],["\u00e1","aacute"],["\u00e2","acirc"],["\u00e3","atilde"],["\u00e4","auml"],["\u00e5","aring"],
["\u00e6","aelig"],["\u00e7","ccedil"],["\u00e8","egrave"],["\u00e9","eacute"],["\u00ea","ecirc"],["\u00eb","euml"],["\u00ec","igrave"],["\u00ed","iacute"],["\u00ee","icirc"],["\u00ef","iuml"],["\u00f0","eth"],["\u00f1","ntilde"],["\u00f2","ograve"],["\u00f3","oacute"],["\u00f4","ocirc"],["\u00f5","otilde"],["\u00f6","ouml"],["\u00f7","divide"],["\u00f8","oslash"],["\u00f9","ugrave"],["\u00fa","uacute"],["\u00fb","ucirc"],["\u00fc","uuml"],["\u00fd","yacute"],["\u00fe","thorn"],["\u00ff","yuml"],
["\u0192","fnof"],["\u0391","Alpha"],["\u0392","Beta"],["\u0393","Gamma"],["\u0394","Delta"],["\u0395","Epsilon"],["\u0396","Zeta"],["\u0397","Eta"],["\u0398","Theta"],["\u0399","Iota"],["\u039a","Kappa"],["\u039b","Lambda"],["\u039c","Mu"],["\u039d","Nu"],["\u039e","Xi"],["\u039f","Omicron"],["\u03a0","Pi"],["\u03a1","Rho"],["\u03a3","Sigma"],["\u03a4","Tau"],["\u03a5","Upsilon"],["\u03a6","Phi"],["\u03a7","Chi"],["\u03a8","Psi"],["\u03a9","Omega"],["\u03b1","alpha"],["\u03b2","beta"],["\u03b3",
"gamma"],["\u03b4","delta"],["\u03b5","epsilon"],["\u03b6","zeta"],["\u03b7","eta"],["\u03b8","theta"],["\u03b9","iota"],["\u03ba","kappa"],["\u03bb","lambda"],["\u03bc","mu"],["\u03bd","nu"],["\u03be","xi"],["\u03bf","omicron"],["\u03c0","pi"],["\u03c1","rho"],["\u03c2","sigmaf"],["\u03c3","sigma"],["\u03c4","tau"],["\u03c5","upsilon"],["\u03c6","phi"],["\u03c7","chi"],["\u03c8","psi"],["\u03c9","omega"],["\u03d1","thetasym"],["\u03d2","upsih"],["\u03d6","piv"],["\u2022","bull"],["\u2026","hellip"],
["\u2032","prime"],["\u2033","Prime"],["\u203e","oline"],["\u2044","frasl"],["\u2118","weierp"],["\u2111","image"],["\u211c","real"],["\u2122","trade"],["\u2135","alefsym"],["\u2190","larr"],["\u2191","uarr"],["\u2192","rarr"],["\u2193","darr"],["\u2194","harr"],["\u21b5","crarr"],["\u21d0","lArr"],["\u21d1","uArr"],["\u21d2","rArr"],["\u21d3","dArr"],["\u21d4","hArr"],["\u2200","forall"],["\u2202","part"],["\u2203","exist"],["\u2205","empty"],["\u2207","nabla"],["\u2208","isin"],["\u2209","notin"],
["\u220b","ni"],["\u220f","prod"],["\u2211","sum"],["\u2212","minus"],["\u2217","lowast"],["\u221a","radic"],["\u221d","prop"],["\u221e","infin"],["\u2220","ang"],["\u2227","and"],["\u2228","or"],["\u2229","cap"],["\u222a","cup"],["\u222b","int"],["\u2234","there4"],["\u223c","sim"],["\u2245","cong"],["\u2248","asymp"],["\u2260","ne"],["\u2261","equiv"],["\u2264","le"],["\u2265","ge"],["\u2282","sub"],["\u2283","sup"],["\u2284","nsub"],["\u2286","sube"],["\u2287","supe"],["\u2295","oplus"],["\u2297",
"otimes"],["\u22a5","perp"],["\u22c5","sdot"],["\u2308","lceil"],["\u2309","rceil"],["\u230a","lfloor"],["\u230b","rfloor"],["\u2329","lang"],["\u232a","rang"],["\u25ca","loz"],["\u2660","spades"],["\u2663","clubs"],["\u2665","hearts"],["\u2666","diams"],["\u0152","OElig"],["\u0153","oelig"],["\u0160","Scaron"],["\u0161","scaron"],["\u0178","Yuml"],["\u02c6","circ"],["\u02dc","tilde"],["\u2002","ensp"],["\u2003","emsp"],["\u2009","thinsp"],["\u200c","zwnj"],["\u200d","zwj"],["\u200e","lrm"],["\u200f",
"rlm"],["\u2013","ndash"],["\u2014","mdash"],["\u2018","lsquo"],["\u2019","rsquo"],["\u201a","sbquo"],["\u201c","ldquo"],["\u201d","rdquo"],["\u201e","bdquo"],["\u2020","dagger"],["\u2021","Dagger"],["\u2030","permil"],["\u2039","lsaquo"],["\u203a","rsaquo"]];C.encode=function(l,f){l&&(f?l=B(l,f):(l=B(l,C.html),l=B(l,C.latin)));return l};C.decode=function(l,f){l&&(f?l=x(l,f):(l=x(l,C.html),l=x(l,C.latin)));return l};return C})},"dojo/touch":function(){define("./_base/kernel ./aspect ./dom ./dom-class ./_base/lang ./on ./has ./mouse ./domReady ./_base/window".split(" "),
function(A,C,B,x,l,f,g,d,c,a){function b(H,J,G){return r&&G?function(I,K){return f(I,G,K)}:m?function(I,K){var M=f(I,J,function(Q){K.call(this,Q);E=(new Date).getTime()}),N=f(I,H,function(Q){(!E||(new Date).getTime()>E+1E3)&&K.call(this,Q)});return{remove:function(){M.remove();N.remove()}}}:function(I,K){return f(I,H,K)}}function e(H){do if(void 0!==H.dojoClick)return H;while(H=H.parentNode)}function h(H,J,G){if(!d.isRight(H)){var I=e(H.target);if(p=!H.target.disabled&&I&&I.dojoClick)if(w=(u="useTarget"==
p)?I:H.target,u&&H.preventDefault(),q=H.changedTouches?H.changedTouches[0].pageX-a.global.pageXOffset:H.clientX,t=H.changedTouches?H.changedTouches[0].pageY-a.global.pageYOffset:H.clientY,z=("object"==typeof p?p.x:"number"==typeof p?p:0)||4,D=("object"==typeof p?p.y:"number"==typeof p?p:0)||4,!y){y=!0;var K=function(M){p=u?B.isDescendant(a.doc.elementFromPoint(M.changedTouches?M.changedTouches[0].pageX-a.global.pageXOffset:M.clientX,M.changedTouches?M.changedTouches[0].pageY-a.global.pageYOffset:
M.clientY),w):p&&(M.changedTouches?M.changedTouches[0].target:M.target)==w&&Math.abs((M.changedTouches?M.changedTouches[0].pageX-a.global.pageXOffset:M.clientX)-q)<=z&&Math.abs((M.changedTouches?M.changedTouches[0].pageY-a.global.pageYOffset:M.clientY)-t)<=D};a.doc.addEventListener(J,function(M){d.isRight(M)||(K(M),u&&M.preventDefault())},!0);a.doc.addEventListener(G,function(M){if(!d.isRight(M)&&(K(M),p)){v=(new Date).getTime();var N=u?w:M.target;"LABEL"===N.tagName&&(N=B.byId(N.getAttribute("for"))||
N);var Q=M.changedTouches?M.changedTouches[0]:M,P=function(T){var aa=document.createEvent("MouseEvents");aa._dojo_click=!0;aa.initMouseEvent(T,!0,!0,M.view,M.detail,Q.screenX,Q.screenY,Q.clientX,Q.clientY,M.ctrlKey,M.altKey,M.shiftKey,M.metaKey,0,null);return aa},S=P("mousedown"),L=P("mouseup"),R=P("click");setTimeout(function(){f.emit(N,"mousedown",S);f.emit(N,"mouseup",L);f.emit(N,"click",R);v=(new Date).getTime()},0)}},!0);H=function(M){a.doc.addEventListener(M,function(N){var Q=N.target;p&&!N._dojo_click&&
(new Date).getTime()<=v+1E3&&("INPUT"!=Q.tagName||!x.contains(Q,"dijitOffScreen"))&&(N.stopPropagation(),N.stopImmediatePropagation&&N.stopImmediatePropagation(),"click"==M&&("INPUT"!=Q.tagName||"radio"==Q.type&&(x.contains(Q,"dijitCheckBoxInput")||x.contains(Q,"mblRadioButton"))||"checkbox"==Q.type&&(x.contains(Q,"dijitCheckBoxInput")||x.contains(Q,"mblCheckBox")))&&"TEXTAREA"!=Q.tagName&&"AUDIO"!=Q.tagName&&"VIDEO"!=Q.tagName&&N.preventDefault())},!0)};H("click");H("mousedown");H("mouseup")}}}var n=
5>g("ios"),r=g("pointer-events")||g("MSPointer"),k=function(){var H={},J;for(J in{down:1,move:1,up:1,cancel:1,over:1,out:1})H[J]=g("MSPointer")?"MSPointer"+J.charAt(0).toUpperCase()+J.slice(1):"pointer"+J;return H}(),m=g("touch-events"),y,p,u=!1,w,q,t,z,D,v,E,F;g("touch")&&(r?c(function(){a.doc.addEventListener(k.down,function(H){h(H,k.move,k.up)},!0)}):c(function(){function H(J){var G=l.delegate(J,{bubbles:!0});6<=g("ios")&&(G.touches=J.touches,G.altKey=J.altKey,G.changedTouches=J.changedTouches,
G.ctrlKey=J.ctrlKey,G.metaKey=J.metaKey,G.shiftKey=J.shiftKey,G.targetTouches=J.targetTouches);return G}F=a.body();a.doc.addEventListener("touchstart",function(J){E=(new Date).getTime();var G=F;F=J.target;f.emit(G,"dojotouchout",{relatedTarget:F,bubbles:!0});f.emit(F,"dojotouchover",{relatedTarget:G,bubbles:!0});h(J,"touchmove","touchend")},!0);f(a.doc,"touchmove",function(J){E=(new Date).getTime();var G=a.doc.elementFromPoint(J.pageX-(n?0:a.global.pageXOffset),J.pageY-(n?0:a.global.pageYOffset));
G&&(F!==G&&(f.emit(F,"dojotouchout",{relatedTarget:G,bubbles:!0}),f.emit(G,"dojotouchover",{relatedTarget:F,bubbles:!0}),F=G),f.emit(G,"dojotouchmove",H(J))||J.preventDefault())});f(a.doc,"touchend",function(J){E=(new Date).getTime();var G=a.doc.elementFromPoint(J.pageX-(n?0:a.global.pageXOffset),J.pageY-(n?0:a.global.pageYOffset))||a.body();f.emit(G,"dojotouchend",H(J))})}));C={press:b("mousedown","touchstart",k.down),move:b("mousemove","dojotouchmove",k.move),release:b("mouseup","dojotouchend",
k.up),cancel:b(d.leave,"touchcancel",r?k.cancel:null),over:b("mouseover","dojotouchover",k.over),out:b("mouseout","dojotouchout",k.out),enter:d._eventHandler(b("mouseover","dojotouchover",k.over)),leave:d._eventHandler(b("mouseout","dojotouchout",k.out))};return A.touch=C})},"dojo/cache":function(){define(["./_base/kernel","./text"],function(A){return A.cache})},"dojo/_base/xhr":function(){define("./kernel ./sniff require ../io-query ../dom ../dom-form ./Deferred ./config ./json ./lang ./array ../on ../aspect ../request/watch ../request/xhr ../request/util".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){A._xhrObj=r._create;var m=A.config;A.objectToQuery=x.objectToQuery;A.queryToObject=x.queryToObject;A.fieldToObject=f.fieldToObject;A.formToObject=f.toObject;A.formToQuery=f.toQuery;A.formToJson=f.toJson;A._blockAsync=!1;var y=A._contentHandlers=A.contentHandlers={text:function(t){return t.responseText},json:function(t){return c.fromJson(t.responseText||null)},"json-comment-filtered":function(t){t=t.responseText;var z=t.indexOf("/*"),D=t.lastIndexOf("*/");
if(-1==z||-1==D)throw Error("JSON was not comment filtered");return c.fromJson(t.substring(z+2,D))},javascript:function(t){return A.eval(t.responseText)},xml:function(t){var z=t.responseXML;z&&C("dom-qsa2.1")&&!z.querySelectorAll&&C("dom-parser")&&(z=(new DOMParser).parseFromString(t.responseText,"application/xml"));if(C("ie")&&(!z||!z.documentElement)){var D=function(v){return"MSXML"+v+".DOMDocument"};D=["Microsoft.XMLDOM",D(6),D(4),D(3),D(2)];b.some(D,function(v){try{var E=new ActiveXObject(v);
E.async=!1;E.loadXML(t.responseText);z=E}catch(F){return!1}return!0})}return z},"json-comment-optional":function(t){return t.responseText&&/^[^{\[]*\/\*/.test(t.responseText)?y["json-comment-filtered"](t):y.json(t)}};A._ioSetArgs=function(t,z,D,v){var E={args:t,url:t.url},F=null;if(t.form){F=l.byId(t.form);var H=F.getAttributeNode("action");E.url=E.url||(H?H.value:A.doc?A.doc.URL:null);F=f.toObject(F)}H={};F&&a.mixin(H,F);t.content&&a.mixin(H,t.content);t.preventCache&&(H["dojo.preventCache"]=(new Date).valueOf());
E.query=x.objectToQuery(H);E.handleAs=t.handleAs||"text";var J=new g(function(M){M.canceled=!0;z&&z(M);var N=M.ioArgs.error;N||(N=Error("request cancelled"),N.dojoType="cancel",M.ioArgs.error=N);return N});J.addCallback(D);var G=t.load;G&&a.isFunction(G)&&J.addCallback(function(M){return G.call(t,M,E)});var I=t.error;I&&a.isFunction(I)&&J.addErrback(function(M){return I.call(t,M,E)});var K=t.handle;K&&a.isFunction(K)&&J.addBoth(function(M){return K.call(t,M,E)});J.addErrback(function(M){return v(M,
J)});m.ioPublish&&A.publish&&!1!==E.args.ioPublish&&(J.addCallbacks(function(M){A.publish("/dojo/io/load",[J,M]);return M},function(M){A.publish("/dojo/io/error",[J,M]);return M}),J.addBoth(function(M){A.publish("/dojo/io/done",[J,M]);return M}));J.ioArgs=E;return J};var p=function(t){t=y[t.ioArgs.handleAs](t.ioArgs.xhr);return void 0===t?null:t},u=function(t,z){return t},w=function(t){0>=q&&(q=0,m.ioPublish&&A.publish&&(!t||t&&!1!==t.ioArgs.args.ioPublish)&&A.publish("/dojo/io/stop"))},q=0;h.after(n,
"_onAction",function(){--q});h.after(n,"_onInFlight",w);A._ioCancelAll=n.cancelAll;A._ioNotifyStart=function(t){m.ioPublish&&A.publish&&!1!==t.ioArgs.args.ioPublish&&(q||A.publish("/dojo/io/start"),q+=1,A.publish("/dojo/io/send",[t]))};A._ioWatch=function(t,z,D,v){t.ioArgs.options=t.ioArgs.args;a.mixin(t,{response:t.ioArgs,isValid:function(E){return z(t)},isReady:function(E){return D(t)},handleResponse:function(E){return v(t)}});n(t);w(t)};A._ioAddQueryToUrl=function(t){t.query.length&&(t.url+=(-1==
t.url.indexOf("?")?"?":"\x26")+t.query,t.query=null)};A.xhr=function(t,z,D){var v=A._ioSetArgs(z,function(J){H&&H.cancel()},p,u),E=v.ioArgs;"postData"in z?E.query=z.postData:"putData"in z?E.query=z.putData:"rawBody"in z?E.query=z.rawBody:(2<arguments.length&&!D||-1==="POST|PUT".indexOf(t.toUpperCase()))&&A._ioAddQueryToUrl(E);var F={method:t,handleAs:"text",timeout:z.timeout,withCredentials:z.withCredentials,ioArgs:E};"undefined"!==typeof z.headers&&(F.headers=z.headers);"undefined"!==typeof z.contentType&&
(F.headers||(F.headers={}),F.headers["Content-Type"]=z.contentType);"undefined"!==typeof E.query&&(F.data=E.query);"undefined"!==typeof z.sync&&(F.sync=z.sync);A._ioNotifyStart(v);try{var H=r(E.url,F,!0)}catch(J){return v.cancel(),v}v.ioArgs.xhr=H.response.xhr;H.then(function(){v.resolve(v)}).otherwise(function(J){E.error=J;J.response&&(J.status=J.response.status,J.responseText=J.response.text,J.xhr=J.response.xhr);v.reject(J)});return v};A.xhrGet=function(t){return A.xhr("GET",t)};A.rawXhrPost=A.xhrPost=
function(t){return A.xhr("POST",t,!0)};A.rawXhrPut=A.xhrPut=function(t){return A.xhr("PUT",t,!0)};A.xhrDelete=function(t){return A.xhr("DELETE",t)};A._isDocumentOk=function(t){return k.checkStatus(t.status)};A._getText=function(t){var z;A.xhrGet({url:t,sync:!0,load:function(D){z=D}});return z};a.mixin(A.xhr,{_xhrObj:A._xhrObj,fieldToObject:f.fieldToObject,formToObject:f.toObject,objectToQuery:x.objectToQuery,formToQuery:f.toQuery,formToJson:f.toJson,queryToObject:x.queryToObject,contentHandlers:y,
_ioSetArgs:A._ioSetArgs,_ioCancelAll:A._ioCancelAll,_ioNotifyStart:A._ioNotifyStart,_ioWatch:A._ioWatch,_ioAddQueryToUrl:A._ioAddQueryToUrl,_isDocumentOk:A._isDocumentOk,_getText:A._getText,get:A.xhrGet,post:A.xhrPost,put:A.xhrPut,del:A.xhrDelete});return A.xhr})},"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".split(" "),function(A,C,B,x,l,f,
g,d,c,a,b,e){var h=A("dijit.DialogUnderlay",[d,c],{templateString:"\x3cdiv class\x3d'dijitDialogUnderlayWrapper'\x3e\x3cdiv class\x3d'dijitDialogUnderlay' tabIndex\x3d'-1' data-dojo-attach-point\x3d'node'\x3e\x3c/div\x3e\x3c/div\x3e",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(n){x.set(this.node,"id",n+"_underlay");this._set("dialogId",n)},_setClassAttr:function(n){this.node.className="dijitDialogUnderlay "+n;this._set("class",n)},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);
this.own(f(this.domNode,"keydown",C.hitch(this,"_onKeyDown")));this.inherited(arguments)},layout:function(){var n=this.node.style,r=this.domNode.style;r.display="none";var k=g.getBox(this.ownerDocument);r.top=k.t+"px";r.left=k.l+"px";n.width=k.w+"px";n.height=k.h+"px";r.display="block"},show:function(){this.domNode.style.display="block";this.open=!0;this.layout();this.bgIframe=new a(this.domNode);var n=g.get(this.ownerDocument);this._modalConnects=[b.on("resize",C.hitch(this,"layout")),f(n,"scroll",
C.hitch(this,"layout"))]},hide:function(){this.bgIframe.destroy();delete this.bgIframe;for(this.domNode.style.display="none";this._modalConnects.length;)this._modalConnects.pop().remove();this.open=!1},destroy:function(){for(;this._modalConnects.length;)this._modalConnects.pop().remove();this.inherited(arguments)},_onKeyDown:function(){}});h.show=function(n,r){var k=h._singleton;!k||k._destroyed?k=e._underlay=h._singleton=new h(n):n&&k.set(n);l.set(k.domNode,"zIndex",r);k.open||k.show()};h.hide=function(){var n=
h._singleton;n&&!n._destroyed&&n.hide()};return h})},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(A,C){return A("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(B){var x=this.checked;this._set("checked",!x);var l=this.inherited(arguments);this.set("checked",l?this.checked:x);return l},_setCheckedAttr:function(B,x){this._set("checked",B);var l=this.focusNode||this.domNode;this._created&&C.get(l,"checked")!=
!!B&&C.set(l,"checked",!!B);l.setAttribute(this._aria_attr,String(B));this._handleOnChange(B,x)},postCreate:function(){this.inherited(arguments);var B=this.focusNode||this.domNode;this.checked&&B.setAttribute("checked","checked");void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.checked)},reset:function(){this._hasBeenBlurred=!1;this.set("checked",this.params.checked||!1)}})})},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],
function(A,C,B){return A("dijit.form.VerticalSlider",C,{templateString:B,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:!0,_isReversed:function(){return this._descending}})})},"dojo/hash":function(){define("./_base/kernel require ./_base/config ./aspect ./_base/lang ./topic ./domReady ./sniff".split(" "),function(A,C,B,x,l,f,g,d){function c(p,u){var w=p.indexOf(u);return 0<=w?p.substring(w+1):""}function a(){return c(location.href,
"#")}function b(){f.publish("/dojo/hashchange",a())}function e(){a()!==r&&(r=a(),b())}function h(p){if(k)if(k.isTransitioning())setTimeout(l.hitch(null,h,p),y);else{var u=k.iframe.location.href,w=u.indexOf("?");k.iframe.location.replace(u.substring(0,w)+"?"+p)}else u=location.href.replace(/#.*/,""),location.replace(u+"#"+p),!m&&e()}function n(){function p(){r=a();q=v?r:c(E.href,"?");t=!1;z=null}var u=document.createElement("iframe"),w=B.dojoBlankHtmlUrl||C.toUrl("./resources/blank.html");u.id="dojo-hash-iframe";
u.src=w+"?"+a();u.style.display="none";document.body.appendChild(u);this.iframe=A.global["dojo-hash-iframe"];var q,t,z,D,v,E=this.iframe.location;this.isTransitioning=function(){return t};this.pollLocation=function(){if(!v)try{var F=c(E.href,"?");document.title!=D&&(D=this.iframe.document.title=document.title)}catch(J){v=!0}var H=a();if(t&&r===H)if(v||F===z)p(),b();else{setTimeout(l.hitch(this,this.pollLocation),0);return}else if(r!==H||!v&&q!==F){if(r!==H){r=H;t=!0;z=H;u.src=w+"?"+z;v=!1;setTimeout(l.hitch(this,
this.pollLocation),0);return}v||(location.href="#"+E.search.substring(1),p(),b())}setTimeout(l.hitch(this,this.pollLocation),y)};p();setTimeout(l.hitch(this,this.pollLocation),y)}A.hash=function(p,u){if(!arguments.length)return a();"#"==p.charAt(0)&&(p=p.substring(1));u?h(p):location.hash="#"+p;return p};var r,k,m,y=B.hashPollFrequency||100;g(function(){"onhashchange"in A.global&&(!d("ie")||8<=d("ie")&&"BackCompat"!=document.compatMode)?m=x.after(A.global,"onhashchange",b,!0):document.addEventListener?
(r=a(),setInterval(e,y)):document.attachEvent&&(k=new n)});return A.hash})},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(A){return function(C,B){function x(f){f=A.filter(f,C);var g=B&&B.sort;g&&f.sort("function"==typeof g?g:function(c,a){for(var b,e=0;b=g[e];e++){var h=c[b.attribute],n=a[b.attribute];h=null!=h?h.valueOf():h;n=null!=n?n.valueOf():n;if(h!=n)return!!b.descending==(null==h||h>n)?-1:1}return 0});if(B&&(B.start||B.count)){var d=f.length;f=f.slice(B.start||
0,(B.start||0)+(B.count||Infinity));f.total=d}return f}switch(typeof C){default:throw Error("Can not query with a "+typeof C);case "object":case "undefined":var l=C;C=function(f){for(var g in l){var d=l[g];if(d&&d.test){if(!d.test(f[g],f))return!1}else if(d!=f[g])return!1}return!0};break;case "string":if(!this[C])throw Error("No filter function "+C+" was found in store");C=this[C];case "function":}x.matches=C;return x}})},"dijit/_TemplatedMixin":function(){define("dojo/cache dojo/_base/declare dojo/dom-construct dojo/_base/lang dojo/on dojo/sniff dojo/string ./_AttachMixin".split(" "),
function(A,C,B,x,l,f,g,d){var c=C("dijit._TemplatedMixin",d,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(a){var b=this.declaredClass,e=this;return g.substitute(a,this,function(h,n){"!"==n.charAt(0)&&(h=x.getObject(n.substr(1),!1,e));if("undefined"==typeof h)throw Error(b+" template:"+n);return null==h?"":"!"==n.charAt(0)?h:this._escapeValue(""+h)},this)},_escapeValue:function(a){return a.replace(/["'<>&]/g,function(b){return{"\x26":"\x26amp;",
"\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;","'":"\x26#x27;"}[b]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=A(this.templatePath,{sanitize:!0}));var a=c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(x.isString(a)){var b=B.toDom(this._stringRepl(a),this.ownerDocument);if(1!=b.nodeType)throw Error("Invalid template: "+a);}else b=a.cloneNode(!0);this.domNode=b}this.inherited(arguments);this._rendered||this._fillContent(this.srcNodeRef);
this._rendered=!0},_fillContent:function(a){var b=this.containerNode;if(a&&b)for(;a.hasChildNodes();)b.appendChild(a.firstChild)}});c._templateCache={};c.getCachedTemplate=function(a,b,e){var h=c._templateCache,n=a,r=h[n];if(r){try{if(!r.ownerDocument||r.ownerDocument==(e||document))return r}catch(k){}B.destroy(r)}a=g.trim(a);if(b||a.match(/\$\{([^\}]+)\}/g))return h[n]=a;b=B.toDom(a,e);if(1!=b.nodeType)throw Error("Invalid template: "+a);return h[n]=b};f("ie")&&l(window,"unload",function(){var a=
c._templateCache,b;for(b in a){var e=a[b];"object"==typeof e&&B.destroy(e);delete a[b]}});return c})},"dojo/dnd/AutoSource":function(){define(["../_base/declare","./Source"],function(A,C){return A("dojo.dnd.AutoSource",C,{constructor:function(){this.autoSync=!0}})})},"dijit/form/HorizontalSlider":function(){define("dojo/_base/array dojo/_base/declare dojo/dnd/move dojo/_base/fx dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/sniff dojo/dnd/Moveable dojo/dnd/Mover dojo/query dojo/mouse dojo/on ../_base/manager ../focus ../typematic ./Button ./_FormValueWidget ../_Container dojo/text!./templates/HorizontalSlider.html".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w){var q=C("dijit.form._SliderMover",b,{onMouseMove:function(t){var z=this.widget,D=z._abspos;D||(D=z._abspos=l.position(z.sliderBarContainer,!0),z._setPixelValue_=d.hitch(z,"_setPixelValue"),z._isReversed_=z._isReversed());t=t[z._mousePixelCoord]-D[z._startingPixelCoord];z._setPixelValue_(z._isReversed_?D[z._pixelCount]-t:t,D[z._pixelCount],!1)},destroy:function(t){b.prototype.destroy.apply(this,arguments);var z=this.widget;z._abspos=null;z._setValueAttr(z.value,
!0)}});B=C("dijit.form.HorizontalSlider",[p,u],{templateString:w,value:0,showButtons:!0,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:!0,slideDuration:r.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",
_onKeyUp:function(t){this.disabled||this.readOnly||t.altKey||t.ctrlKey||t.metaKey||this._setValueAttr(this.value,!0)},_onKeyDown:function(t){if(!(this.disabled||this.readOnly||t.altKey||t.ctrlKey||t.metaKey)){switch(t.keyCode){case g.HOME:this._setValueAttr(this.minimum,!1);break;case g.END:this._setValueAttr(this.maximum,!1);break;case this._descending||this.isLeftToRight()?g.RIGHT_ARROW:g.LEFT_ARROW:case !1===this._descending?g.DOWN_ARROW:g.UP_ARROW:case !1===this._descending?g.PAGE_DOWN:g.PAGE_UP:this.increment(t);
break;case this._descending||this.isLeftToRight()?g.LEFT_ARROW:g.RIGHT_ARROW:case !1===this._descending?g.UP_ARROW:g.DOWN_ARROW:case !1===this._descending?g.PAGE_UP:g.PAGE_DOWN:this.decrement(t);break;default:return}t.stopPropagation();t.preventDefault()}},_onHandleClick:function(t){this.disabled||this.readOnly||(c("ie")||k.focus(this.sliderHandle),t.stopPropagation(),t.preventDefault())},_isReversed:function(){return!this.isLeftToRight()},_onBarClick:function(t){if(!this.disabled&&!this.readOnly&&
this.clickSelect){k.focus(this.sliderHandle);t.stopPropagation();t.preventDefault();var z=l.position(this.sliderBarContainer,!0),D=t[this._mousePixelCoord]-z[this._startingPixelCoord];this._setPixelValue(this._isReversed()?z[this._pixelCount]-D:D,z[this._pixelCount],!0);this._movable.onMouseDown(t)}},_setPixelValue:function(t,z,D){if(!this.disabled&&!this.readOnly){var v=this.discreteValues;if(1>=v||Infinity==v)v=z;v--;this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*Math.round(t/
(z/v))/v+this.minimum,this.maximum),this.minimum),D)}},_setValueAttr:function(t,z){this._set("value",t);this.valueNode.value=t;this.focusNode.setAttribute("aria-valuenow",t);this.inherited(arguments);var D=this.maximum>this.minimum?(t-this.minimum)/(this.maximum-this.minimum):0,v=!1===this._descending?this.remainingBar:this.progressBar,E=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(z&&0<this.slideDuration&&
v.style[this._progressPixelSize]){var F=this,H={},J=parseFloat(v.style[this._progressPixelSize]),G=this.slideDuration*(D-J/100);0!=G&&(0>G&&(G=0-G),H[this._progressPixelSize]={start:J,end:100*D,units:"%"},this._inProgressAnim=x.animateProperty({node:v,duration:G,onAnimate:function(I){E.style[F._progressPixelSize]=100-parseFloat(I[F._progressPixelSize])+"%"},onEnd:function(){delete F._inProgressAnim},properties:H}),this._inProgressAnim.play())}else v.style[this._progressPixelSize]=100*D+"%",E.style[this._progressPixelSize]=
100*(1-D)+"%"},_bumpValue:function(t,z){if(!(this.disabled||this.readOnly||this.maximum<=this.minimum)){var D=f.getComputedStyle(this.sliderBarContainer),v=l.getContentBox(this.sliderBarContainer,D);D=this.discreteValues;if(1>=D||Infinity==D)D=v[this._pixelCount];D--;v=Math.round((this.value-this.minimum)*D/(this.maximum-this.minimum))+t;0>v&&(v=0);v>D&&(v=D);v=v*(this.maximum-this.minimum)/D+this.minimum;this._setValueAttr(v,z)}},_onClkBumper:function(t){this.disabled||this.readOnly||!this.clickSelect||
this._setValueAttr(t,!0)},_onClkIncBumper:function(){this._onClkBumper(!1===this._descending?this.minimum:this.maximum)},_onClkDecBumper:function(){this._onClkBumper(!1===this._descending?this.maximum:this.minimum)},decrement:function(t){this._bumpValue(t.keyCode==g.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(t){this._bumpValue(t.keyCode==g.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(t){this.focused&&(t.stopPropagation(),t.preventDefault(),this._bumpValue(0>t.wheelDelta?-1:1,!0))},
startup:function(){this._started||(A.forEach(this.getChildren(),function(t){this[t.container]!=this.containerNode&&this[t.container].appendChild(t.domNode)},this),this.inherited(arguments))},_typematicCallback:function(t,z,D){if(-1==t)this._setValueAttr(this.value,!0);else this[z==(this._descending?this.incrementButton:this.decrementButton)?"decrement":"increment"](D)},buildRendering:function(){this.inherited(arguments);this.showButtons&&(this.incrementButton.style.display="",this.decrementButton.style.display=
"");var t=e('label[for\x3d"'+this.id+'"]');t.length&&(t[0].id||(t[0].id=this.id+"_label"),this.focusNode.setAttribute("aria-labelledby",t[0].id));this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum)},postCreate:function(){this.inherited(arguments);this.showButtons&&this.own(m.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),m.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));this.own(n(this.domNode,
h.wheel,d.hitch(this,"_mouseWheeled")));var t=C(q,{widget:this});this._movable=new a(this.sliderHandle,{mover:t});this._layoutHackIE7()},destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});B._Mover=q;return B})},"dojo/dnd/Manager":function(){define("../_base/array ../_base/declare ../_base/lang ../_base/window ../dom-class ../Evented ../has ../keys ../on ../topic ../touch ./common ./autoscroll ./Avatar".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n){var r=C("dojo.dnd.Manager",[f],{constructor:function(){this.source=this.avatar=null;this.nodes=[];this.copy=!0;this.target=null;this.canDropFlag=!1;this.events=[]},OFFSET_X:g("touch")?4:16,OFFSET_Y:g("touch")?4:16,overSource:function(k){this.avatar&&(this.target=k&&"Disabled"!=k.targetState?k:null,this.canDropFlag=!!this.target,this.avatar.update());a.publish("/dnd/source/over",k)},outSource:function(k){this.avatar?this.target==k&&(this.target=null,this.canDropFlag=
!1,this.avatar.update(),a.publish("/dnd/source/over",null)):a.publish("/dnd/source/over",null)},startDrag:function(k,m,y){function p(u){u.preventDefault();u.stopPropagation()}h.autoScrollStart(x.doc);this.source=k;this.nodes=m;this.copy=!!y;this.avatar=this.makeAvatar();x.body().appendChild(this.avatar.node);a.publish("/dnd/start",k,m,this.copy);this.events=[c(x.doc,b.move,B.hitch(this,"onMouseMove")),c(x.doc,b.release,B.hitch(this,"onMouseUp")),c(x.doc,"keydown",B.hitch(this,"onKeyDown")),c(x.doc,
"keyup",B.hitch(this,"onKeyUp")),c(x.doc,"dragstart",p),c(x.body(),"selectstart",p)];k="dojoDnd"+(y?"Copy":"Move");l.add(x.body(),k)},canDrop:function(k){k=!(!this.target||!k);this.canDropFlag!=k&&(this.canDropFlag=k,this.avatar.update())},stopDrag:function(){l.remove(x.body(),["dojoDndCopy","dojoDndMove"]);A.forEach(this.events,function(k){k.remove()});this.events=[];this.avatar.destroy();this.source=this.target=this.avatar=null;this.nodes=[]},makeAvatar:function(){return new n(this)},updateAvatar:function(){this.avatar.update()},
onMouseMove:function(k){var m=this.avatar;m&&(h.autoScrollNodes(k),m=m.node.style,m.left=k.pageX+this.OFFSET_X+"px",m.top=k.pageY+this.OFFSET_Y+"px",m=!!this.source.copyState(e.getCopyKeyState(k)),this.copy!=m&&this._setCopyStatus(m));g("touch")&&k.preventDefault()},onMouseUp:function(k){if(this.avatar){if(this.target&&this.canDropFlag){var m=!!this.source.copyState(e.getCopyKeyState(k));a.publish("/dnd/drop/before",this.source,this.nodes,m,this.target,k);a.publish("/dnd/drop",this.source,this.nodes,
m,this.target,k)}else a.publish("/dnd/cancel");this.stopDrag()}},onKeyDown:function(k){if(this.avatar)switch(k.keyCode){case d.CTRL:k=!!this.source.copyState(!0);this.copy!=k&&this._setCopyStatus(k);break;case d.ESCAPE:a.publish("/dnd/cancel"),this.stopDrag()}},onKeyUp:function(k){this.avatar&&k.keyCode==d.CTRL&&(k=!!this.source.copyState(!1),this.copy!=k&&this._setCopyStatus(k))},_setCopyStatus:function(k){this.copy=k;this.source._markDndStatus(this.copy);this.updateAvatar();l.replace(x.body(),"dojoDnd"+
(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"))}});e._manager=null;r.manager=e.manager=function(){e._manager||(e._manager=new r);return e._manager};return r})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(A){function C(){throw new TypeError("abstract");}return A.extend(function(){},{then:function(B,x,l){C()},cancel:function(B,x){C()},isResolved:function(){C()},isRejected:function(){C()},isFulfilled:function(){C()},isCanceled:function(){C()},"finally":function(B){return this.then(function(x){var l=
B();return l&&"function"===typeof l.then?l.then(function(){return x}):x},function(x){var l=B();if(l&&"function"===typeof l.then)return l.then(function(){throw x;});throw x;})},always:function(B){return this.then(B,B)},"catch":function(B){return this.then(null,B)},otherwise:function(B){return this.then(null,B)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})})},"dojox/gfx/registry":function(){define(["dojo/has","./shape"],function(A,
C){A.add("gfxRegistry",1);var B={},x={},l={};B.register=C.register=function(f){var g=f.declaredClass.split(".").pop(),d=g in x?++x[g]:x[g]=0;g+=d;l[g]=f;return g};B.byId=C.byId=function(f){return l[f]};B.dispose=C.dispose=function(f,g){if(g&&f.children)for(var d=0;d<f.children.length;++d)B.dispose(f.children[d],!0);d=f.getUID();l[d]=null;delete l[d]};return B})},"dijit/_KeyNavMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on dijit/registry dijit/_FocusMixin".split(" "),
function(A,C,B,x,l,f,g,d){return C("dijit._KeyNavMixin",d,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);B.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var c=this._keyNavCodes={};c[x.HOME]=l.hitch(this,"focusFirstChild");c[x.END]=l.hitch(this,"focusLastChild");c[this.isLeftToRight()?x.LEFT_ARROW:x.RIGHT_ARROW]=l.hitch(this,"_onLeftArrow");c[this.isLeftToRight()?x.RIGHT_ARROW:x.LEFT_ARROW]=l.hitch(this,"_onRightArrow");c[x.UP_ARROW]=l.hitch(this,
"_onUpArrow");c[x.DOWN_ARROW]=l.hitch(this,"_onDownArrow")}var a=this;c="string"==typeof this.childSelector?this.childSelector:l.hitch(this,"childSelector");this.own(f(this.domNode,"keypress",l.hitch(this,"_onContainerKeypress")),f(this.domNode,"keydown",l.hitch(this,"_onContainerKeydown")),f(this.domNode,"focus",l.hitch(this,"_onContainerFocus")),f(this.containerNode,f.selector(c,"focusin"),function(b){a._onChildFocus(g.getEnclosingWidget(this),b)}))},_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(c,a){c&&(this.focusedChild&&c!==this.focusedChild&&this._onChildBlur(this.focusedChild),
c.set("tabIndex",this.tabIndex),c.focus(a?"end":"start"))},_onContainerFocus:function(c){c.target!==this.domNode||this.focusedChild||this.focus()},_onFocus:function(){B.set(this.domNode,"tabIndex","-1");this.inherited(arguments)},_onBlur:function(c){B.set(this.domNode,"tabIndex",this.tabIndex);this.focusedChild&&(this.focusedChild.set("tabIndex","-1"),this.lastFocusedChild=this.focusedChild,this._set("focusedChild",null));this.inherited(arguments)},_onChildFocus:function(c){c&&c!=this.focusedChild&&
(this.focusedChild&&!this.focusedChild._destroyed&&this.focusedChild.set("tabIndex","-1"),c.set("tabIndex",this.tabIndex),this.lastFocused=c,this._set("focusedChild",c))},_searchString:"",multiCharSearchDuration:1E3,onKeyboardSearch:function(c,a,b,e){c&&this.focusChild(c)},_keyboardSearchCompare:function(c,a){var b=c.domNode;b=(c.label||(b.focusNode?b.focusNode.label:"")||b.innerText||b.textContent||"").replace(/^\s+/,"").substr(0,a.length).toLowerCase();return a.length&&b==a?-1:0},_onContainerKeydown:function(c){var a=
this._keyNavCodes[c.keyCode];a?(a(c,this.focusedChild),c.stopPropagation(),c.preventDefault(),this._searchString=""):c.keyCode!=x.SPACE||!this._searchTimer||c.ctrlKey||c.altKey||c.metaKey||(c.stopImmediatePropagation(),c.preventDefault(),this._keyboardSearch(c," "))},_onContainerKeypress:function(c){c.charCode<=x.SPACE||c.ctrlKey||c.altKey||c.metaKey||(c.preventDefault(),c.stopPropagation(),this._keyboardSearch(c,String.fromCharCode(c.charCode).toLowerCase()))},_keyboardSearch:function(c,a){var b=
null,e,h=0;l.hitch(this,function(){this._searchTimer&&this._searchTimer.remove();this._searchString+=a;var n=/^(.)\1*$/.test(this._searchString)?1:this._searchString.length;e=this._searchString.substr(0,n);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString=""},this.multiCharSearchDuration);var r=this.focusedChild||null;if(1==n||!r)if(r=this._getNextFocusableChild(r,1),!r)return;n=r;do{var k=this._keyboardSearchCompare(r,e);k&&0==h++&&(b=r);if(-1==k){h=-1;break}r=this._getNextFocusableChild(r,
1)}while(r&&r!=n)})();this.onKeyboardSearch(b,c,e,h)},_onChildBlur:function(){},_getNextFocusableChild:function(c,a){var b=c;do{if(c)c=this._getNext(c,a);else if(c=this[0<a?"_getFirst":"_getLast"](),!c)break;if(null!=c&&c!=b&&c.isFocusable())return c}while(c!=b);return null},_getFirst:function(){return null},_getLast:function(){return null},_getNext:function(c,a){if(c)for(c=c.domNode;c;)if((c=c[0>a?"previousSibling":"nextSibling"])&&"getAttribute"in c){var b=g.byNode(c);if(b)return b}return null}})})},
"dojox/grid/DataSelection":function(){define(["dojo/_base/declare","./_SelectionPreserver","./Selection"],function(A,C,B){return A("dojox.grid.DataSelection",B,{constructor:function(x){x.keepSelection&&(this.preserver=new C(this))},destroy:function(){this.preserver&&this.preserver.destroy()},getFirstSelected:function(){var x=B.prototype.getFirstSelected.call(this);return-1==x?null:this.grid.getItem(x)},getNextSelected:function(x){x=this.grid.getItemIndex(x);x=B.prototype.getNextSelected.call(this,
x);return-1==x?null:this.grid.getItem(x)},getSelected:function(){for(var x=[],l=0,f=this.selected.length;l<f;l++)this.selected[l]&&x.push(this.grid.getItem(l));return x},addToSelection:function(x){if("none"!=this.mode){var l=null;l="number"==typeof x||"string"==typeof x?x:this.grid.getItemIndex(x);B.prototype.addToSelection.call(this,l)}},deselect:function(x){if("none"!=this.mode){var l=null;l="number"==typeof x||"string"==typeof x?x:this.grid.getItemIndex(x);B.prototype.deselect.call(this,l)}},deselectAll:function(x){var l=
null;x||"number"==typeof x?(l="number"==typeof x||"string"==typeof x?x:this.grid.getItemIndex(x),B.prototype.deselectAll.call(this,l)):this.inherited(arguments)}})})},"dijit/form/_TextBoxMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/sniff dojo/keys dojo/_base/lang dojo/on ../main".split(" "),function(A,C,B,x,l,f,g,d){var c=C("dijit.form._TextBoxMixin"+(x("dojo-bidi")?"_NoBidi":""),null,{trim:!1,uppercase:!1,lowercase:!1,propercase:!1,maxLength:"",selectOnClick:!1,placeHolder:"",
_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints)},_setValueAttr:function(a,b,e){if(void 0!==a){var h=this.filter(a);"string"!=typeof e&&(e=null===h||"number"==typeof h&&isNaN(h)?"":this.filter(this.format(h,this.constraints)),0!=this.compare(h,this.filter(this.parse(e,this.constraints)))&&(e=null))}null==e||"number"==typeof e&&isNaN(e)||this.textbox.value==e||(this.textbox.value=e,this._set("displayedValue",this.get("displayedValue")));this.inherited(arguments,
[h,b])},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value)},_setDisplayedValueAttr:function(a){null==a?a="":"string"!=typeof a&&(a=String(a));this.textbox.value=a;this._setValueAttr(this.get("value"),void 0);this._set("displayedValue",this.get("displayedValue"))},format:function(a){return null==a?"":a.toString?a.toString():a},parse:function(a){return a},_refreshState:function(){},onInput:function(){},_onInput:function(a){this._lastInputEventValue=this.textbox.value;
this._processInput(this._lastInputProducingEvent||a);delete this._lastInputProducingEvent;this.intermediateChanges&&this._handleOnChange(this.get("value"),!1)},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"))},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);this.own(g(this.textbox,"keydown, keypress, paste, cut, compositionend",f.hitch(this,function(a){if("keydown"==a.type&&229!=a.keyCode){var b=
a.keyCode;switch(b){case l.SHIFT:case l.ALT:case l.CTRL:case l.META:case l.CAPS_LOCK:case l.NUM_LOCK:case l.SCROLL_LOCK:return}if(!a.ctrlKey&&!a.metaKey&&!a.altKey){switch(b){case l.NUMPAD_0:case l.NUMPAD_1:case l.NUMPAD_2:case l.NUMPAD_3:case l.NUMPAD_4:case l.NUMPAD_5:case l.NUMPAD_6:case l.NUMPAD_7:case l.NUMPAD_8:case l.NUMPAD_9:case l.NUMPAD_MULTIPLY:case l.NUMPAD_PLUS:case l.NUMPAD_ENTER:case l.NUMPAD_MINUS:case l.NUMPAD_PERIOD:case l.NUMPAD_DIVIDE:return}if(65<=b&&90>=b||48<=b&&57>=b||b==l.SPACE)return;
b=!1;for(var e in l)if(l[e]===a.keyCode){b=!0;break}if(!b)return}}(b=32<=a.charCode?String.fromCharCode(a.charCode):a.charCode)||(b=65<=a.keyCode&&90>=a.keyCode||48<=a.keyCode&&57>=a.keyCode||a.keyCode==l.SPACE?String.fromCharCode(a.keyCode):a.keyCode);b||(b=229);if("keypress"==a.type){if("string"!=typeof b)return;if("a"<=b&&"z">=b||"A"<=b&&"Z">=b||"0"<=b&&"9">=b||" "===b)if(a.ctrlKey||a.metaKey||a.altKey)return}var h={faux:!0},n;for(n in a)/^(layer[XY]|returnValue|keyLocation)$/.test(n)||(e=a[n],
"function"!=typeof e&&"undefined"!=typeof e&&(h[n]=e));f.mixin(h,{charOrCode:b,_wasConsumed:!1,preventDefault:function(){h._wasConsumed=!0;a.preventDefault()},stopPropagation:function(){a.stopPropagation()}});this._lastInputProducingEvent=h;!1===this.onInput(h)&&(h.preventDefault(),h.stopPropagation());if(!h._wasConsumed&&9>=x("ie"))switch(a.keyCode){case l.TAB:case l.ESCAPE:case l.DOWN_ARROW:case l.UP_ARROW:case l.LEFT_ARROW:case l.RIGHT_ARROW:break;default:a.keyCode==l.ENTER&&"textarea"!=this.textbox.tagName.toLowerCase()||
this.defer(function(){this.textbox.value!==this._lastInputEventValue&&g.emit(this.textbox,"input",{bubbles:!0})})}})),g(this.textbox,"input",f.hitch(this,"_onInput")),g(this.domNode,"keypress",function(a){a.stopPropagation()}))},_blankValue:"",filter:function(a){if(null===a)return this._blankValue;if("string"!=typeof a)return a;this.trim&&(a=f.trim(a));this.uppercase&&(a=a.toUpperCase());this.lowercase&&(a=a.toLowerCase());this.propercase&&(a=a.replace(/[^\s]+/g,function(b){return b.substring(0,1).toUpperCase()+
b.substring(1)}));return a},_setBlurValue:function(){this._setValueAttr(this.get("value"),!0)},_onBlur:function(a){this.disabled||(this._setBlurValue(),this.inherited(arguments))},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd},_onFocus:function(a){this.disabled||this.readOnly||(this.selectOnClick&&"mouse"==a&&(this._selectOnClickHandle=g.once(this.domNode,"mouseup, touchend",f.hitch(this,function(b){this._isTextSelected()||c.selectInputText(this.textbox)})),
this.own(this._selectOnClickHandle),this.defer(function(){this._selectOnClickHandle&&(this._selectOnClickHandle.remove(),this._selectOnClickHandle=null)},500)),this.inherited(arguments),this._refreshState())},reset:function(){this.textbox.value="";this.inherited(arguments)}});x("dojo-bidi")&&(c=C("dijit.form._TextBoxMixin",c,{_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)}}));c._setSelectionRange=d._setSelectionRange=function(a,b,e){a.setSelectionRange&&a.setSelectionRange(b,e)};c.selectInputText=d.selectInputText=function(a,b,e){a=B.byId(a);isNaN(b)&&(b=0);isNaN(e)&&(e=a.value?a.value.length:0);try{a.focus(),c._setSelectionRange(a,b,e)}catch(h){}};return c})},"dojox/grid/enhanced/plugins/_SelectionPreserver":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/_base/connect",
"../../_SelectionPreserver"],function(A,C,B,x){return A("dojox.grid.enhanced.plugins._SelectionPreserver",x,{constructor:function(l){var f=this.grid;f.onSelectedById=this.onSelectedById;this._oldClearData=f._clearData;var g=this;f._clearData=function(){g._updateMapping(!f._noInternalMapping);g._trustSelection=[];g._oldClearData.apply(f,arguments)};this._connects.push(B.connect(l,"selectRange",C.hitch(this,"_updateMapping",!0,!0,!1)),B.connect(l,"deselectRange",C.hitch(this,"_updateMapping",!0,!1,
!1)),B.connect(l,"deselectAll",C.hitch(this,"_updateMapping",!0,!1,!0)))},destroy:function(){this.inherited(arguments);this.grid._clearData=this._oldClearData},reset:function(){this.inherited(arguments);this._idMap=[];this._trustSelection=[];this._defaultSelected=!1},_reSelectById:function(l,f){var g=this.selection,d=this.grid;if(l&&d._hasIdentity){var c=d.store.getIdentity(l);void 0===this._selectedById[c]?this._trustSelection[f]||(g.selected[f]=this._defaultSelected):g.selected[f]=this._selectedById[c];
this._idMap.push(c);d.onSelectedById(c,f,g.selected[f])}},_selectById:function(l,f){this.inherited(arguments)||(this._trustSelection[f]=!0)},onSelectedById:function(l,f,g){},_updateMapping:function(l,f,g,d,c){var a=this.selection,b=this.grid,e=0,h=0,n,r;for(n=b.rowCount-1;0<=n;--n)b._by_idx[n]?(r=b._by_idx[n].idty)&&(l||void 0===this._selectedById[r])&&(this._selectedById[r]=!!a.selected[n]):(++h,e+=a.selected[n]?1:-1);h&&(this._defaultSelected=0<e);g||void 0===d||void 0===c||(g=!b.usingPagination&&
Math.abs(c-d+1)===b.rowCount);if(g&&(!b.usingPagination||"single"===b.selectionMode))for(n=this._idMap.length-1;0<=n;--n)this._selectedById[this._idMap[n]]=f}})})},"dojox/form/VerticalRangeSlider":function(){define(["dojo/_base/declare","dojox/form/_RangeSliderMixin","dojo/text!./resources/VerticalRangeSlider.html","dijit/form/VerticalSlider"],function(A,C,B,x){return A("dojox.form.VerticalRangeSlider",[x,C],{templateString:B})})},"dijit/a11y":function(){define("dojo/_base/array dojo/dom dojo/dom-attr dojo/dom-style dojo/_base/lang dojo/sniff ./main".split(" "),
function(A,C,B,x,l,f,g){var d={_isElementShown:function(c){var a=x.get(c);return"hidden"!=a.visibility&&"collapsed"!=a.visibility&&"none"!=a.display&&"hidden"!=B.get(c,"type")},hasDefaultTabStop:function(c){switch(c.nodeName.toLowerCase()){case "a":return B.has(c,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return!0;case "iframe":try{var a=c.contentDocument;if("designMode"in a&&"on"==a.designMode)return!0;var b=a.body}catch(e){try{b=c.contentWindow.document.body}catch(h){return!1}}return b&&
("true"==b.contentEditable||b.firstChild&&"true"==b.firstChild.contentEditable);default:return"true"==c.contentEditable}},effectiveTabIndex:function(c){if(!B.get(c,"disabled"))return B.has(c,"tabIndex")?+B.get(c,"tabIndex"):d.hasDefaultTabStop(c)?0:void 0},isTabNavigable:function(c){return 0<=d.effectiveTabIndex(c)},isFocusable:function(c){return-1<=d.effectiveTabIndex(c)},_getTabNavigable:function(c){function a(q){return q&&"input"==q.tagName.toLowerCase()&&q.type&&"radio"==q.type.toLowerCase()&&
q.name&&q.name.toLowerCase()}function b(q){return y[a(q)]||q}var e,h,n,r,k,m,y={},p=d._isElementShown,u=d.effectiveTabIndex,w=function(q){for(q=q.firstChild;q;q=q.nextSibling)if(!(1!=q.nodeType||9>=f("ie")&&"HTML"!==q.scopeName)&&p(q)){var t=u(q);if(0<=t){if(0==t)e||(e=q),h=q;else if(0<t){if(!n||t<r)r=t,n=q;if(!k||t>=m)m=t,k=q}t=a(q);B.get(q,"checked")&&t&&(y[t]=q)}"SELECT"!=q.nodeName.toUpperCase()&&w(q)}};p(c)&&w(c);return{first:b(e),last:b(h),lowest:b(n),highest:b(k)}},getFirstInTabbingOrder:function(c,
a){var b=d._getTabNavigable(C.byId(c,a));return b.lowest?b.lowest:b.first},getLastInTabbingOrder:function(c,a){var b=d._getTabNavigable(C.byId(c,a));return b.last?b.last:b.highest}};l.mixin(g,d);return d})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b){d=A("dijit.form.TextBox"+(g("dojo-bidi")?
"_NoBidi":""),[d,c],{templateString:a,_singleNodeTemplate:'\x3cinput class\x3d"dijit dijitReset dijitLeft dijitInputField" data-dojo-attach-point\x3d"textbox,focusNode" autocomplete\x3d"off" type\x3d"${type}" ${!nameAttrSetting} /\x3e',_buttonInputDisabled:g("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var e=this.type.toLowerCase();if(this.templateString&&"input"==this.templateString.toLowerCase()||("hidden"==e||"file"==e)&&this.templateString==this.constructor.prototype.templateString)this.templateString=
this._singleNodeTemplate;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);9>g("ie")&&this.defer(function(){try{var e=B.getComputedStyle(this.domNode);if(e){var h=e.fontFamily;if(h){var n=this.domNode.getElementsByTagName("INPUT");if(n)for(e=0;e<n.length;e++)n[e].style.fontFamily=h}}}catch(r){}})},_setPlaceHolderAttr:function(e){this._set("placeHolder",e);this._phspan||(this._attachPoints.push("_phspan"),this._phspan=C.create("span",{className:"dijitPlaceHolder dijitInputField"},
this.textbox,"after"),this.own(f(this._phspan,"mousedown",function(h){h.preventDefault()}),f(this._phspan,"touchend, pointerup, MSPointerUp",l.hitch(this,function(){this.focus()}))));this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(e));this._updatePlaceHolder()},_onInput:function(e){this.inherited(arguments);this._updatePlaceHolder()},_updatePlaceHolder:function(){this._phspan&&(this._phspan.style.display=this.placeHolder&&!this.textbox.value?"":"none")},
_setValueAttr:function(e,h,n){this.inherited(arguments);this._updatePlaceHolder()},getDisplayedValue:function(){x.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue")},setDisplayedValue:function(e){x.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",e)},_onBlur:function(e){this.disabled||(this.inherited(arguments),
this._updatePlaceHolder(),g("mozilla")&&this.selectOnClick&&(this.textbox.selectionStart=this.textbox.selectionEnd=void 0))},_onFocus:function(e){this.disabled||this.readOnly||(this.inherited(arguments),this._updatePlaceHolder())}});9>g("ie")&&(d.prototype._isTextSelected=function(){var e=this.ownerDocument.selection.createRange();return e.parentElement()==this.textbox&&0<e.text.length},b._setSelectionRange=c._setSelectionRange=function(e,h,n){e.createTextRange&&(e=e.createTextRange(),e.collapse(!0),
e.moveStart("character",-99999),e.moveStart("character",h),e.moveEnd("character",n-h),e.select())});g("dojo-bidi")&&(d=A("dijit.form.TextBox",d,{_setPlaceHolderAttr:function(e){this.inherited(arguments);this.applyTextDir(this._phspan)}}));return d})},"dijit/form/_DateTimeTextBox":function(){define("dojo/date dojo/date/locale dojo/date/stamp dojo/_base/declare dojo/_base/lang ./RangeBoundTextBox ../_HasDropDown dojo/text!./templates/DropDownBox.html".split(" "),function(A,C,B,x,l,f,g,d){new Date("X");
return x("dijit.form._DateTimeTextBox",[f,g],{templateString:d,hasDownArrow:!0,cssStateNodes:{_buttonNode:"dijitDownArrowButton"},_unboundedConstraints:{},pattern:C.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},compare:function(c,a){var b=this._isInvalidDate(c),e=this._isInvalidDate(a);if(b||e)return b&&e?0:b?-1:1;b=this.format(c,this._unboundedConstraints);e=this.format(a,this._unboundedConstraints);var h=this.parse(b,this._unboundedConstraints),
n=this.parse(e,this._unboundedConstraints);return b==e?0:A.compare(h,n,this._selector)},autoWidth:!0,format:function(c,a){return c?this.dateLocaleModule.format(c,a):""},parse:function(c,a){return this.dateLocaleModule.parse(c,a)||(this._isEmpty(c)?null:void 0)},serialize:function(c,a){c.toGregorian&&(c=c.toGregorian());return B.toISOString(c,a)},dropDownDefaultValue:new Date,value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(c){c=c||{};this.dateModule=c.datePackage?
l.getObject(c.datePackage,!1):A;this.dateClassObj=this.dateModule.Date||Date;this.dateClassObj instanceof Date||(this.value=new this.dateClassObj(this.value));this.dateLocaleModule=c.datePackage?l.getObject(c.datePackage+".locale",!1):C;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString()},buildRendering:function(){this.inherited(arguments);this.hasDownArrow||(this._buttonNode.style.display="none");this.hasDownArrow||(this._buttonNode=this.domNode,
this.baseClass+=" dijitComboBoxOpenOnClick")},_setConstraintsAttr:function(c){c.selector=this._selector;c.fullYear=!0;var a=B.fromISOString;"string"==typeof c.min&&(c.min=a(c.min),this.dateClassObj instanceof Date||(c.min=new this.dateClassObj(c.min)));"string"==typeof c.max&&(c.max=a(c.max),this.dateClassObj instanceof Date||(c.max=new this.dateClassObj(c.max)));this.inherited(arguments);this._unboundedConstraints=l.mixin({},this.constraints,{min:null,max:null})},_isDefinitelyOutOfRange:function(){var c=
this.inherited(arguments),a=!1;if(c&&(this.constraints.min||this.constraints.max)){var b=(new RegExp(this._lastRegExp)).exec(this._lastInputEventValue);null!=b&&(c=b[3],this.constraints.min&&(a=this.constraints.min instanceof Date?this.constraints.min:new Date(String(this.constraints.min)),minYear=a.getFullYear(),a=parseInt((c+"9999").substr(0,4),10),a=a<minYear),!a&&this.constraints.max&&(a=this.constraints.max instanceof Date?this.constraints.max:new Date(String(this.constraints.max)),maxYear=a.getFullYear(),
c=parseInt((c+"0000").substr(0,4),10),a=c>maxYear),c=a)}return c},_isInvalidDate:function(c){return!c||isNaN(c)||"object"!=typeof c||c.toString()==this._invalidDate},_setValueAttr:function(c,a,b){void 0!==c&&("string"==typeof c&&(c=B.fromISOString(c)),this._isInvalidDate(c)&&(c=null),c instanceof Date&&!(this.dateClassObj instanceof Date)&&(c=new this.dateClassObj(c)));this.inherited(arguments,[c,a,b]);this.value instanceof Date&&(this.filterString="");!1!==a&&this.dropDown&&this.dropDown.set("value",
c,!1)},_set:function(c,a){if("value"==c){a instanceof Date&&!(this.dateClassObj instanceof Date)&&(a=new this.dateClassObj(a));var b=this._get("value");if(b instanceof this.dateClassObj&&0==this.compare(a,b))return}this.inherited(arguments)},_setDropDownDefaultValueAttr:function(c){this._isInvalidDate(c)&&(c=new this.dateClassObj);this._set("dropDownDefaultValue",c)},openDropDown:function(c){this.dropDown&&this.dropDown.destroy();var a=l.isString(this.popupClass)?l.getObject(this.popupClass,!1):this.popupClass,
b=this,e=this.get("value");this.dropDown=new a({onChange:function(h){b.set("value",h,!0)},id:this.id+"_popup",dir:b.dir,lang:b.lang,value:e,textDir:b.textDir,currentFocus:this._isInvalidDate(e)?this.dropDownDefaultValue:e,constraints:b.constraints,filterString:b.filterString,datePackage:b.datePackage,isDisabledDate:function(h){return!b.rangeCheck(h,b.constraints)}});this.inherited(arguments)},_getDisplayedValueAttr:function(){return this.textbox.value},_setDisplayedValueAttr:function(c,a){this._setValueAttr(this.parse(c,
this.constraints),a,c)}})})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n){f("dijit-legacy-requires")&&c(0,function(){require(["dijit/layout/StackController"])});B=B("dijit.layout.StackContainer",n,{doLayout:!0,persist:!1,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);
x.add(this.domNode,"dijitLayoutContainer")},postCreate:function(){this.inherited(arguments);this.own(d(this.domNode,"keydown",g.hitch(this,"_onKeyDown")))},startup:function(){if(!this._started){var r=this.getChildren();A.forEach(r,this._setupChild,this);this.persist?this.selectedChildWidget=e.byId(C(this.id+"_selectedChild")):A.some(r,function(m){m.selected&&(this.selectedChildWidget=m);return m.selected},this);var k=this.selectedChildWidget;!k&&r[0]&&(k=this.selectedChildWidget=r[0],k.selected=!0);
a.publish(this.id+"-startup",{children:r,selected:k,textDir:this.textDir});this.inherited(arguments)}},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=!0;var r=this.selectedChildWidget;r&&this._showChild(r)}this.inherited(arguments)},_setupChild:function(r){var k=r.domNode,m=l.place("\x3cdiv role\x3d'tabpanel' class\x3d'"+this.baseClass+"ChildWrapper dijitHidden'\x3e",r.domNode,"replace"),y=r["aria-label"]||r.title||r.label;y&&m.setAttribute("aria-label",y);l.place(k,m);r._wrapper=m;
this.inherited(arguments);"none"==k.style.display&&(k.style.display="block");r.domNode.removeAttribute("title")},addChild:function(r,k){this.inherited(arguments);this._started&&(a.publish(this.id+"-addChild",r,k),this.layout(),this.selectedChildWidget||this.selectChild(r))},removeChild:function(r){var k=A.indexOf(this.getChildren(),r);this.inherited(arguments);l.destroy(r._wrapper);delete r._wrapper;this._started&&a.publish(this.id+"-removeChild",r);if(!this._descendantsBeingDestroyed){if(this.selectedChildWidget===
r&&(this.selectedChildWidget=void 0,this._started)){var m=this.getChildren();m.length&&this.selectChild(m[Math.max(k-1,0)])}this._started&&this.layout()}},selectChild:function(r,k){r=e.byId(r);if(this.selectedChildWidget!=r){var m=this._transition(r,this.selectedChildWidget,k);this._set("selectedChildWidget",r);a.publish(this.id+"-selectChild",r,this._focused);this.persist&&C(this.id+"_selectedChild",this.selectedChildWidget.id)}return b(m||!0)},_transition:function(r,k){k&&this._hideChild(k);var m=
this._showChild(r);r.resize&&(this.doLayout?r.resize(this._containerContentBox||this._contentBox):r.resize());return m},_adjacent:function(r){var k=this.getChildren(),m=A.indexOf(k,this.selectedChildWidget);m+=r?1:k.length-1;return k[m%k.length]},forward:function(){return this.selectChild(this._adjacent(!0),!0)},back:function(){return this.selectChild(this._adjacent(!1),!0)},_onKeyDown:function(r){a.publish(this.id+"-containerKeyDown",{e:r,page:this})},layout:function(){var r=this.selectedChildWidget;
r&&r.resize&&(this.doLayout?r.resize(this._containerContentBox||this._contentBox):r.resize())},_showChild:function(r){var k=this.getChildren();r.isFirstChild=r==k[0];r.isLastChild=r==k[k.length-1];r._set("selected",!0);r._wrapper&&x.replace(r._wrapper,"dijitVisible","dijitHidden");return r._onShow&&r._onShow()||!0},_hideChild:function(r){r._set("selected",!1);r._wrapper&&x.replace(r._wrapper,"dijitHidden","dijitVisible");r.onHide&&r.onHide()},closeChild:function(r){if(!r.onClose||r.onClose(this,r))this.removeChild(r),
r.destroyRecursive()},destroyDescendants:function(r){this._descendantsBeingDestroyed=!0;this.selectedChildWidget=void 0;A.forEach(this.getChildren(),function(k){r||this.removeChild(k);k.destroyRecursive(r)},this);this._descendantsBeingDestroyed=!1}});B.ChildWidgetProperties={selected:!1,disabled:!1,closable:!1,iconClass:"dijitNoIcon",showTitle:!0};g.extend(h,B.ChildWidgetProperties);return B})},"dijit/form/_RadioButtonMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/_base/lang dojo/query!css2 ../registry".split(" "),
function(A,C,B,x,l,f){return C("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var g=[];l("input[type\x3dradio]",this.focusNode.form||this.ownerDocument).forEach(x.hitch(this,function(d){d.name==this.name&&d.form==this.focusNode.form&&(d=f.getEnclosingWidget(d))&&g.push(d)}));return g},_setCheckedAttr:function(g){this.inherited(arguments);this._created&&g&&A.forEach(this._getRelatedWidgets(),x.hitch(this,function(d){d!=this&&d.checked&&d.set("checked",!1)}))},_getSubmitValue:function(g){return null==
g?"on":g},_onClick:function(g){if(this.checked||this.disabled)return g.stopPropagation(),g.preventDefault(),!1;if(this.readOnly)return g.stopPropagation(),g.preventDefault(),A.forEach(this._getRelatedWidgets(),x.hitch(this,function(a){B.set(this.focusNode||this.domNode,"checked",a.checked)})),!1;var d=!1,c;A.some(this._getRelatedWidgets(),function(a){return a.checked?(c=a,!0):!1});this.checked=!0;c&&(c.checked=!1);if(!1===this.onClick(g)||g.defaultPrevented)d=!0;this.checked=!1;c&&(c.checked=!0);
d?g.preventDefault():this.set("checked",!0);return!d}})})},"dojox/grid/TreeSelection":function(){define("../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/dom-attr dojo/query ./DataSelection".split(" "),function(A,C,B,x,l,f,g){return C("dojox.grid.TreeSelection",g,{setMode:function(d){this.selected={};this.sorted_sel=[];this.sorted_ltos={};this.sorted_stol={};g.prototype.setMode.call(this,d)},addToSelection:function(d){if("none"!=this.mode){var c=null;c="number"==typeof d||"string"==
typeof d?d:this.grid.getItemIndex(d);this.selected[c]?this.selectedIndex=c:!1!==this.onCanSelect(c)&&(this.selectedIndex=c,d=f("tr[dojoxTreeGridPath\x3d'"+c+"']",this.grid.domNode),d.length&&l.set(d[0],"aria-selected","true"),this._beginUpdate(),this.selected[c]=!0,this._insertSortedSelection(c),this.onSelected(c),this._endUpdate())}},deselect:function(d){if("none"!=this.mode){var c=null;c="number"==typeof d||"string"==typeof d?d:this.grid.getItemIndex(d);this.selectedIndex==c&&(this.selectedIndex=
-1);this.selected[c]&&!1!==this.onCanDeselect(c)&&(d=f("tr[dojoxTreeGridPath\x3d'"+c+"']",this.grid.domNode),d.length&&l.set(d[0],"aria-selected","false"),this._beginUpdate(),delete this.selected[c],this._removeSortedSelection(c),this.onDeselected(c),this._endUpdate())}},getSelected:function(){var d=[],c;for(c in this.selected)this.selected[c]&&d.push(this.grid.getItem(c));return d},getSelectedCount:function(){var d=0,c;for(c in this.selected)this.selected[c]&&d++;return d},_bsearch:function(d){for(var c=
this.sorted_sel,a=c.length-1,b=0,e;b<=a;){var h=this._comparePaths(c[e=b+a>>1],d);if(0>h)b=e+1;else if(0<h)a=e-1;else return e}return 0>h?e-h:e},_comparePaths:function(d,c){for(var a=0,b=d.length<c.length?d.length:c.length;a<b;a++){if(d[a]<c[a])return-1;if(d[a]>c[a])return 1}return d.length<c.length?-1:d.length>c.length?1:0},_insertSortedSelection:function(d){d=String(d);var c=this.sorted_sel,a=this.sorted_ltos,b=this.sorted_stol,e=d.split("/");e=B.map(e,function(h){return parseInt(h,10)});a[e]=d;
b[d]=e;0===c.length?c.push(e):1==c.length?1==this._comparePaths(c[0],e)?c.unshift(e):c.push(e):(d=this._bsearch(e),this.sorted_sel.splice(d,0,e))},_removeSortedSelection:function(d){d=String(d);var c=this.sorted_sel,a=this.sorted_ltos,b=this.sorted_stol;if(0!==c.length){var e=b[d];if(e){var h=this._bsearch(e);-1<h&&(delete a[e],delete b[d],c.splice(h,1))}}},getFirstSelected:function(){if(!this.sorted_sel.length||"none"==this.mode)return-1;var d=this.sorted_sel[0];return d?(d=this.sorted_ltos[d])?
d:-1:-1},getNextSelected:function(d){if(!this.sorted_sel.length||"none"==this.mode)return-1;d=String(d);d=this.sorted_stol[d];if(!d)return-1;d=this._bsearch(d);return(d=this.sorted_sel[d+1])?this.sorted_ltos[d]:-1},_range:function(d,c,a){!x.isString(d)&&0>d&&(d=c);var b=this.grid;d=new A.grid.TreePath(String(d),b);c=new A.grid.TreePath(String(c),b);0<d.compare(c)&&(b=d,d=c,c=b);c=c._str;for(a(d._str);(d=d.next())&&d._str!=c;)a(d._str);a(c)}})})},"dojo/_base/window":function(){define(["./kernel","./lang",
"../sniff"],function(A,C,B){var x={global:A.global,doc:A.global.document||null,body:function(l){l=l||A.doc;return l.body||l.getElementsByTagName("body")[0]},setContext:function(l,f){A.global=x.global=l;A.doc=x.doc=f},withGlobal:function(l,f,g,d){var c=A.global;try{return A.global=x.global=l,x.withDoc.call(null,l.document,f,g,d)}finally{A.global=x.global=c}},withDoc:function(l,f,g,d){var c=x.doc,a=B("quirks"),b=B("ie"),e,h;try{A.doc=x.doc=l;A.isQuirks=B.add("quirks","BackCompat"==A.doc.compatMode,
!0,!0);if(B("ie")&&(h=l.parentWindow)&&h.navigator){var n=parseFloat(h.navigator.appVersion.split("MSIE ")[1])||void 0;(e=l.documentMode)&&5!=e&&Math.floor(n)!=e&&(n=e);A.isIE=B.add("ie",n,!0,!0)}g&&"string"==typeof f&&(f=g[f]);return f.apply(g,d||[])}finally{A.doc=x.doc=c,A.isQuirks=B.add("quirks",a,!0,!0),A.isIE=B.add("ie",b,!0,!0)}}};C.mixin(A,x);return x})},"dojo/_base/json":function(){define(["./kernel","../json"],function(A,C){A.fromJson=function(B){return eval("("+B+")")};A._escapeString=C.stringify;
A.toJsonIndentStr="\t";A.toJson=function(B,x){return C.stringify(B,function(l,f){if(f){var g=f.__json__||f.json;if("function"==typeof g)return g.call(f)}return f},x&&A.toJsonIndentStr)};return A})},"dijit/form/Form":function(){define("dojo/_base/declare dojo/dom-attr dojo/_base/kernel dojo/sniff ../_Widget ../_TemplatedMixin ./_FormMixin ../layout/_ContentPaneResizeMixin".split(" "),function(A,C,B,x,l,f,g,d){return A("dijit.form.Form",[l,f,g,d],{name:"",action:"",method:"",encType:"","accept-charset":"",
accept:"",target:"",templateString:"\x3cform data-dojo-attach-point\x3d'containerNode' data-dojo-attach-event\x3d'onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}\x3e\x3c/form\x3e",postMixInProperties:function(){this.nameAttrSetting=this.name?"name\x3d'"+this.name+"'":"";this.inherited(arguments)},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(c){C.set(this.domNode,"encType",c);x("ie")&&(this.domNode.encoding=c);this._set("encType",c)},reset:function(c){var a={returnValue:!0,
preventDefault:function(){this.returnValue=!1},stopPropagation:function(){},currentTarget:c?c.target:this.domNode,target:c?c.target:this.domNode};!1!==this.onReset(a)&&a.returnValue&&this.inherited(arguments,[])},onReset:function(){return!0},_onReset:function(c){this.reset(c);c.stopPropagation();c.preventDefault();return!1},_onSubmit:function(c){var a=this.constructor.prototype;if(this.execute!=a.execute||this.onExecute!=a.onExecute)B.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.",
"","2.0"),this.onExecute(),this.execute(this.getValues());!1===this.onSubmit(c)&&(c.stopPropagation(),c.preventDefault())},onSubmit:function(){return this.isValid()},submit:function(){!1!==this.onSubmit()&&this.containerNode.submit()}})})},"dojox/html/format":function(){define(["dojo/_base/kernel","./entities","dojo/_base/array","dojo/_base/window","dojo/_base/sniff"],function(A,C,B,x,l){var f=A.getObject("dojox.html.format",!0);f.prettyPrint=function(g,d,c,a,b){var e=[],h=0,n=[],r="\t",k="",m=[],
y,p=/[=]([^"']+?)(\s|>)/g,u=/style=("[^"]*"|'[^']*'|\S*)/gi,w=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;if(d&&0<d&&10>d)for(r="",y=0;y<d;y++)r+=" ";d=x.doc.createElement("div");d.innerHTML=g;var q=C.encode,t=C.decode,z=d.ownerDocument.createElement("div"),D=function(G){G=G.cloneNode(!1);z.appendChild(G);G=z.innerHTML;z.innerHTML="";return G},v=function(){var G;for(G=0;G<h;G++)e.push(r)},E=function(){e.push("\n")},F=function(G){var I;G=G.split("\n");for(I=0;I<G.length;I++)G[I]=A.trim(G[I]);G=G.join(" ");G=
A.trim(G);if(""!==G){var K=[];if(c&&0<c){var M="";for(I=0;I<h;I++)M+=r;I=M.length;M=c;for(c>I&&(M-=I);G;)if(G.length>c){for(I=M;0<I&&" "!==G.charAt(I);I--);if(!I)for(I=M;I<G.length&&" "!==G.charAt(I);I++);var N=G.substring(0,I);N=A.trim(N);G=A.trim(G.substring(I==G.length?G.length:I+1,G.length));if(N){var Q="";for(I=0;I<h;I++)Q+=r;N=Q+N+"\n"}K.push(N)}else{Q="";for(I=0;I<h;I++)Q+=r;G=Q+G+"\n";K.push(G);G=null}return K.join("")}Q="";for(I=0;I<h;I++)Q+=r;return G=Q+G+"\n"}return""},H=function(G){var I=
G.nodeName.toLowerCase(),K=A.trim(D(G));G=K.substring(0,K.indexOf("\x3e")+1);G=G.replace(p,'\x3d"$1"$2');G=G.replace(u,function(N){var Q=N.substring(0,6);N=N.substring(6,N.length);var P=N.charAt(0);N=A.trim(N.substring(1,N.length-1));N=N.split(";");var S=[];B.forEach(N,function(R){if(R=A.trim(R))R=R.substring(0,R.indexOf(":")).toLowerCase()+R.substring(R.indexOf(":"),R.length),S.push(R)});S=S.sort();N=S.join("; ");var L=A.trim(N);return L&&";"!==L?Q+P+(N+";")+P:""});var M=[];G=G.replace(w,function(N){M.push(A.trim(N));
return""});M=M.sort();G="\x3c"+I;M.length&&(G+=" "+M.join(" "));-1!=K.indexOf("\x3c/")?(n.push(I),G+="\x3e"):(G=b?G+" /\x3e":G+"\x3e",n.push(!1));a:switch(I){case "a":case "b":case "strong":case "s":case "strike":case "i":case "u":case "em":case "sup":case "sub":case "span":case "font":case "big":case "cite":case "q":case "small":I=!0;break a;default:I=!1}m.push(I);k&&!I&&(e.push(F(k)),k="");I?k+=G:(v(),e.push(G),E(),h++)},J=function(G){var I=G.childNodes;if(I){var K;for(K=0;K<I.length;K++){var M=
I[K];if(1===M.nodeType){var N=A.trim(M.tagName.toLowerCase());if(!l("ie")||M.parentNode==G)if(!N||"/"!==N.charAt(0)){H(M);if("script"===N){N=e;var Q=N.push,P=void 0,S=P=void 0,L=void 0;if(L=M.innerHTML){L&&(L=L.replace(/&quot;/gi,'"'),L=L.replace(/&gt;/gi,"\x3e"),L=L.replace(/&lt;/gi,"\x3c"),L=L.replace(/&amp;/gi,"\x26"));M=0;var R=L.split("\n"),T=[];for(L=0;L<R.length;L++){var aa=R[L],da=-1<aa.indexOf("\n");if(aa=A.trim(aa)){da=M;for(P=0;P<aa.length;P++)S=aa.charAt(P),"{"===S?M++:"}"===S&&(M--,da=
M);P="";for(S=0;S<h+da;S++)P+=r;T.push(P+aa+"\n")}else da&&0===L&&T.push("\n")}L=T.join("")}Q.call(N,L)}else"pre"===N?(N=M.innerHTML,l("mozilla")&&(N=N.replace("\x3cbr\x3e","\n"),N=N.replace("\x3cpre\x3e",""),N=N.replace("\x3c/pre\x3e","")),"\n"!==N.charAt(N.length-1)&&(N+="\n"),e.push(N)):J(M);N=m.pop();k&&!N&&(e.push(F(k)),k="");(Q=n.pop())?(Q="\x3c/"+Q+"\x3e",N?k+=Q:(h--,v(),e.push(Q),E())):h--}}else 3===M.nodeType||4===M.nodeType?k+=q(M.nodeValue,a):8===M.nodeType&&(N=t(M.nodeValue,a),v(),e.push("\x3c!--"),
E(),h++,e.push(F(N)),h--,v(),e.push("--\x3e"),E())}}};J(d);k&&(e.push(F(k)),k="");return e.join("")};return f})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a){return C("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,
scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(b){this._set("disabled",b);/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?(B.set(this.focusNode,"disabled",b),d("trident")&&"readOnly"in this&&B.set(this.focusNode,"readonly",b||this.readOnly)):this.focusNode.setAttribute("aria-disabled",b?"true":"false");this.valueNode&&B.set(this.valueNode,"disabled",b);b?(this._set("hovering",!1),this._set("active",!1),b="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:
"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode",A.forEach(l.isArray(b)?b:[b],function(e){e=this[e];d("webkit")||a.hasDefaultTabStop(e)?e.setAttribute("tabIndex","-1"):e.removeAttribute("tabIndex")},this)):""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(b){if("mouse"==b&&this.isFocusable())var e=this.own(g(this.focusNode,"focus",function(){n.remove();e.remove()}))[0],h=d("pointer-events")?"pointerup":d("MSPointer")?"MSPointerUp":d("touch-events")?"touchend, mouseup":
"mouseup",n=this.own(g(this.ownerDocumentBody,h,l.hitch(this,function(r){n.remove();e.remove();this.focused&&("touchend"==r.type?this.defer("focus"):this.focus())})))[0];this.scrollOnFocus&&this.defer(function(){c.scrollIntoView(this.domNode)});this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=x.get(this.domNode,"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(b){}},compare:function(b,e){return"number"==
typeof b&&"number"==typeof e?isNaN(b)&&isNaN(e)?0:b-e:b>e?1:b<e?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(b,e){void 0!=this._lastValueReported||null!==e&&this._onChangeActive||(this._resetValue=this._lastValueReported=b);this._pendingOnChange=this._pendingOnChange||typeof b!=typeof this._lastValueReported||0!=this.compare(b,this._lastValueReported);(this.intermediateChanges||e||void 0===e)&&this._pendingOnChange&&(this._lastValueReported=b,this._pendingOnChange=!1,this._onChangeActive&&
(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(b)})))},create:function(){this.inherited(arguments);this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported));this.inherited(arguments)}})})},"dojo/json":function(){define(["./has"],function(A){var C="undefined"!=typeof JSON;A.add("json-parse",C);A.add("json-stringify",C&&'{"a":1}'==JSON.stringify({a:0},
function(x,l){return l||1}));if(A("json-stringify"))return JSON;var B=function(x){return('"'+x.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:A("json-parse")?JSON.parse:function(x,l){if(l&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(x))throw new SyntaxError("Invalid characters in JSON");return eval("("+x+")")},stringify:function(x,
l,f){function g(c,a,b){l&&(c=l(b,c));var e=typeof c;if("number"==e)return isFinite(c)?c+"":"null";if("boolean"==e)return c+"";if(null===c)return"null";if("string"==typeof c)return B(c);if("function"==e||"undefined"==e)return d;if("function"==typeof c.toJSON)return g(c.toJSON(b),a,b);if(c instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(y,p,u){y=c["getUTC"+p]()+(u?1:0);return 10>y?"0"+y:y});if(c.valueOf()!==c)return g(c.valueOf(),
a,b);var h=f?a+f:"",n=f?" ":"",r=f?"\n":"";if(c instanceof Array){n=c.length;var k=[];for(b=0;b<n;b++)e=g(c[b],h,b),"string"!=typeof e&&(e="null"),k.push(r+h+e);return"["+k.join(",")+r+a+"]"}k=[];for(b in c)if(c.hasOwnProperty(b)){if("number"==typeof b)var m='"'+b+'"';else if("string"==typeof b)m=B(b);else continue;e=g(c[b],h,b);"string"==typeof e&&k.push(r+h+m+":"+n+e)}return"{"+k.join(",")+r+a+"}"}var d;"string"==typeof l&&(f=l,l=null);return g(x,"","")}}})},"dijit/_base/place":function(){define(["dojo/_base/array",
"dojo/_base/lang","dojo/window","../place","../main"],function(A,C,B,x,l){var f={getViewport:function(){return B.getBox()}};f.placeOnScreen=x.at;f.placeOnScreenAroundElement=function(g,d,c,a){if(C.isArray(c))var b=c;else{b=[];for(var e in c)b.push({aroundCorner:e,corner:c[e]})}return x.around(g,d,b,!0,a)};f.placeOnScreenAroundNode=f.placeOnScreenAroundElement;f.placeOnScreenAroundRectangle=f.placeOnScreenAroundElement;f.getPopupAroundAlignment=function(g,d){var c={};A.forEach(g,function(a){var b=
d;switch(a){case "after":c[d?"BR":"BL"]=d?"BL":"BR";break;case "before":c[d?"BL":"BR"]=d?"BR":"BL";break;case "below-alt":b=!b;case "below":c[b?"BL":"BR"]=b?"TL":"TR";c[b?"BR":"BL"]=b?"TR":"TL";break;case "above-alt":b=!b;default:c[b?"TL":"TR"]=b?"BL":"BR",c[b?"TR":"TL"]=b?"BR":"BL"}});return c};C.mixin(l,f);return l})},"dojox/main":function(){define(["dojo/_base/kernel"],function(A){return A.dojox})},"dojo/dnd/Selector":function(){define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../dom ../dom-construct ../mouse ../_base/NodeList ../on ../touch ./common ./Container".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){var h=C("dojo.dnd.Selector",e,{constructor:function(n,r){r||(r={});this.singular=r.singular;this.autoSync=r.autoSync;this.selection={};this.anchor=null;this.simpleSelection=!1;this.events.push(c(this.node,a.press,x.hitch(this,"onMouseDown")),c(this.node,a.release,x.hitch(this,"onMouseUp")))},singular:!1,getSelectedNodes:function(){var n=new d,r=b._empty,k;for(k in this.selection)k in r||n.push(l.byId(k));return n},selectNone:function(){return this._removeSelection()._removeAnchor()},
selectAll:function(){this.forInItems(function(n,r){this._addItemClass(l.byId(r),"Selected");this.selection[r]=1},this);return this._removeAnchor()},deleteSelectedNodes:function(){var n=b._empty,r;for(r in this.selection)if(!(r in n)){var k=l.byId(r);this.delItem(r);f.destroy(k)}this.anchor=null;this.selection={};return this},forInSelectedItems:function(n,r){r=r||B.global;var k=this.selection,m=b._empty,y;for(y in k)y in m||n.call(r,this.getItem(y),y,this)},sync:function(){h.superclass.sync.call(this);
this.anchor&&!this.getItem(this.anchor.id)&&(this.anchor=null);var n=[],r=b._empty,k;for(k in this.selection)k in r||this.getItem(k)||n.push(k);A.forEach(n,function(m){delete this.selection[m]},this);return this},insertNodes:function(n,r,k,m){var y=this._normalizedCreator;this._normalizedCreator=function(p,u){var w=y.call(this,p,u);n?(this.anchor?this.anchor!=w.node&&(this._removeItemClass(w.node,"Anchor"),this._addItemClass(w.node,"Selected")):(this.anchor=w.node,this._removeItemClass(w.node,"Selected"),
this._addItemClass(this.anchor,"Anchor")),this.selection[w.node.id]=1):(this._removeItemClass(w.node,"Selected"),this._removeItemClass(w.node,"Anchor"));return w};h.superclass.insertNodes.call(this,r,k,m);this._normalizedCreator=y;return this},destroy:function(){h.superclass.destroy.call(this);this.selection=this.anchor=null},onMouseDown:function(n){this.autoSync&&this.sync();if(this.current)if(!this.singular&&!b.getCopyKeyState(n)&&!n.shiftKey&&this.current.id in this.selection)this.simpleSelection=
!0,g.isLeft(n)&&(n.stopPropagation(),n.preventDefault());else{if(!this.singular&&n.shiftKey){b.getCopyKeyState(n)||this._removeSelection();var r=this.getAllNodes();if(r.length&&(this.anchor||(this.anchor=r[0],this._addItemClass(this.anchor,"Anchor")),this.selection[this.anchor.id]=1,this.anchor!=this.current)){for(var k=0,m;k<r.length&&(m=r[k],m!=this.anchor&&m!=this.current);++k);for(++k;k<r.length;++k){m=r[k];if(m==this.anchor||m==this.current)break;this._addItemClass(m,"Selected");this.selection[m.id]=
1}this._addItemClass(this.current,"Selected");this.selection[this.current.id]=1}}else this.singular?this.anchor==this.current?b.getCopyKeyState(n)&&this.selectNone():(this.selectNone(),this.anchor=this.current,this._addItemClass(this.anchor,"Anchor"),this.selection[this.current.id]=1):b.getCopyKeyState(n)?this.anchor==this.current?(delete this.selection[this.anchor.id],this._removeAnchor()):this.current.id in this.selection?(this._removeItemClass(this.current,"Selected"),delete this.selection[this.current.id]):
(this.anchor&&(this._removeItemClass(this.anchor,"Anchor"),this._addItemClass(this.anchor,"Selected")),this.anchor=this.current,this._addItemClass(this.current,"Anchor"),this.selection[this.current.id]=1):this.current.id in this.selection||(this.selectNone(),this.anchor=this.current,this._addItemClass(this.current,"Anchor"),this.selection[this.current.id]=1);n.stopPropagation();n.preventDefault()}},onMouseUp:function(){this.simpleSelection&&(this.simpleSelection=!1,this.selectNone(),this.current&&
(this.anchor=this.current,this._addItemClass(this.anchor,"Anchor"),this.selection[this.current.id]=1))},onMouseMove:function(){this.simpleSelection=!1},onOverEvent:function(){this.onmousemoveEvent=c(this.node,a.move,x.hitch(this,"onMouseMove"))},onOutEvent:function(){this.onmousemoveEvent&&(this.onmousemoveEvent.remove(),delete this.onmousemoveEvent)},_removeSelection:function(){var n=b._empty,r;for(r in this.selection)if(!(r in n)){var k=l.byId(r);k&&this._removeItemClass(k,"Selected")}this.selection=
{};return this},_removeAnchor:function(){this.anchor&&(this._removeItemClass(this.anchor,"Anchor"),this.anchor=null);return this}});return h})},"dojox/grid/_Scroller":function(){define(["dijit/registry","dojo/_base/declare","dojo/_base/lang","./util","dojo/_base/html"],function(A,C,B,x,l){var f=function(d){d&&dojo.forEach(A.toArray(),function(c){c.domNode&&l.isDescendant(c.domNode,d,!0)&&c.destroy()})},g=function(d,c){for(var a=[],b=0,e;e=d.childNodes[b];){b++;var h=l.byId(e);(h&&h.tagName?h.tagName.toLowerCase():
"")==c&&a.push(e)}return a};return C("dojox.grid._Scroller",null,{constructor:function(d){this.setContentNodes(d);this.pageHeights=[];this.pageNodes=[];this.stack=[]},rowCount:0,defaultRowHeight:32,keepRows:100,contentNode:null,scrollboxNode:null,defaultPageHeight:0,keepPages:10,pageCount:0,windowHeight:0,firstVisibleRow:0,lastVisibleRow:0,averageRowHeight:0,page:0,pageTop:0,init:function(d,c,a){switch(arguments.length){case 3:this.rowsPerPage=a;case 2:this.keepRows=c;case 1:this.rowCount=d}this.defaultPageHeight=
(0<this.grid.rowHeight?this.grid.rowHeight:this.defaultRowHeight)*this.rowsPerPage;this.pageCount=this._getPageCount(this.rowCount,this.rowsPerPage);this.setKeepInfo(this.keepRows);this.invalidate();this.scrollboxNode&&(this.scrollboxNode.scrollTop=0,this.scroll(0),this.scrollboxNode.onscroll=B.hitch(this,"onscroll"))},_getPageCount:function(d,c){return d?Math.ceil(d/c)||1:0},destroy:function(){this.invalidateNodes();delete this.contentNodes;delete this.contentNode;delete this.scrollboxNode},setKeepInfo:function(d){this.keepPages=
(this.keepRows=d)?Math.max(Math.ceil(this.keepRows/this.rowsPerPage),2):this.keepPages},setContentNodes:function(d){this.colCount=(this.contentNodes=d)?this.contentNodes.length:0;this.pageNodes=[];for(d=0;d<this.colCount;d++)this.pageNodes[d]=[]},getDefaultNodes:function(){return this.pageNodes[0]||[]},invalidate:function(){this._invalidating=!0;this.invalidateNodes();this.pageHeights=[];this.height=this.pageCount?(this.pageCount-1)*this.defaultPageHeight+this.calcLastPageHeight():0;this.resize();
this._invalidating=!1},updateRowCount:function(d){this.invalidateNodes();this.rowCount=d;d=this.pageCount;0===d&&(this.height=1);this.pageCount=this._getPageCount(this.rowCount,this.rowsPerPage);if(this.pageCount<d)for(--d;d>=this.pageCount;d--)this.height-=this.getPageHeight(d),delete this.pageHeights[d];else this.pageCount>d&&(this.height+=this.defaultPageHeight*(this.pageCount-d-1)+this.calcLastPageHeight());this.resize()},pageExists:function(d){return!!this.getDefaultPageNode(d)},measurePage:function(d){return this.grid.rowHeight?
((d+1)*this.rowsPerPage>this.rowCount?this.rowCount-d*this.rowsPerPage:this.rowsPerPage)*this.grid.rowHeight:(d=this.getDefaultPageNode(d))&&d.innerHTML?d.offsetHeight:void 0},positionPage:function(d,c){for(var a=0;a<this.colCount;a++)this.pageNodes[a][d].style.top=c+"px"},repositionPages:function(d){for(var c=this.getDefaultNodes(),a=0,b=0;b<this.stack.length;b++)a=Math.max(this.stack[b],a);var e=(b=c[d])?this.getPageNodePosition(b)+this.getPageHeight(d):0;for(d+=1;d<=a;d++){if(b=c[d]){if(this.getPageNodePosition(b)==
e)break;this.positionPage(d,e)}e+=this.getPageHeight(d)}},installPage:function(d){for(var c=0;c<this.colCount;c++)this.contentNodes[c].appendChild(this.pageNodes[c][d])},preparePage:function(d,c){for(var a=c?this.popPage():null,b=0;b<this.colCount;b++){var e=this.pageNodes[b],h=null===a?this.createPageNode():this.invalidatePageNode(a,e);h.pageIndex=d;e[d]=h}},renderPage:function(d){var c=[],a;for(a=0;a<this.colCount;a++)c[a]=this.pageNodes[a][d];a=0;for(d*=this.rowsPerPage;a<this.rowsPerPage&&d<this.rowCount;a++,
d++)this.renderRow(d,c)},removePage:function(d){var c=0;for(d*=this.rowsPerPage;c<this.rowsPerPage;c++,d++)this.removeRow(d)},destroyPage:function(d){for(var c=0;c<this.colCount;c++){var a=this.invalidatePageNode(d,this.pageNodes[c]);a&&l.destroy(a)}},pacify:function(d){},pacifying:!1,pacifyTicks:200,setPacifying:function(d){this.pacifying!=d&&(this.pacifying=d,this.pacify(this.pacifying))},startPacify:function(){this.startPacifyTicks=(new Date).getTime()},doPacify:function(){var d=(new Date).getTime()-
this.startPacifyTicks>this.pacifyTicks;this.setPacifying(!0);this.startPacify();return d},endPacify:function(){this.setPacifying(!1)},resize:function(){this.scrollboxNode&&(this.windowHeight=this.scrollboxNode.clientHeight);for(var d=0;d<this.colCount;d++)x.setStyleHeightPx(this.contentNodes[d],Math.max(1,this.height));d=!this._invalidating;if(!d){var c=this.grid.get("autoHeight");"number"==typeof c&&c<=Math.min(this.rowsPerPage,this.rowCount)&&(d=!0)}d&&this.needPage(this.page,this.pageTop);d=this.page<
this.pageCount-1?this.rowsPerPage:this.rowCount%this.rowsPerPage||this.rowsPerPage;c=this.getPageHeight(this.page);this.averageRowHeight=0<c&&0<d?c/d:0},calcLastPageHeight:function(){if(!this.pageCount)return 0;var d=(this.rowCount%this.rowsPerPage||this.rowsPerPage)*this.defaultRowHeight;return this.pageHeights[this.pageCount-1]=d},updateContentHeight:function(d){this.height+=d;this.resize()},updatePageHeight:function(d,c,a){if(this.pageExists(d)){var b=this.getPageHeight(d),e=this.measurePage(d);
void 0===e&&(e=b);this.pageHeights[d]=e;if(b!=e){this.updateContentHeight(e-b);var h=this.grid.get("autoHeight");"number"==typeof h&&h>this.rowCount||!0===h&&!c?a?(c=this.grid.viewsNode.style,c.height=parseInt(c.height)+e-b+"px",this.repositionPages(d)):this.grid.sizeChange():this.repositionPages(d)}return e}return 0},rowHeightChanged:function(d,c){this.updatePageHeight(Math.floor(d/this.rowsPerPage),!1,c)},invalidateNodes:function(){for(;this.stack.length;)this.destroyPage(this.popPage())},createPageNode:function(){var d=
document.createElement("div");l.attr(d,"role","presentation");d.style.position="absolute";d.style[this.grid.isLeftToRight()?"left":"right"]="0";return d},getPageHeight:function(d){d=this.pageHeights[d];return void 0!==d?d:this.defaultPageHeight},pushPage:function(d){return this.stack.push(d)},popPage:function(){return this.stack.shift()},findPage:function(d){for(var c=0,a=0,b=0;c<this.pageCount&&!(b=this.getPageHeight(c),a+b>=d);c++,a+=b);this.page=c;this.pageTop=a},buildPage:function(d,c,a){this.preparePage(d,
c);this.positionPage(d,a);this.installPage(d);this.renderPage(d);this.pushPage(d)},needPage:function(d,c){var a=this.getPageHeight(d);this.pageExists(d)?this.positionPage(d,c):(this.buildPage(d,!this.grid._autoHeight&&this.keepPages&&this.stack.length>=this.keepPages,c),a=this.updatePageHeight(d,!0));return a},onscroll:function(){this.scroll(this.scrollboxNode.scrollTop)},scroll:function(d){this.grid.scrollTop=d;if(this.colCount){this.startPacify();this.findPage(d);for(var c=this.height,a=this.getScrollBottom(d),
b=this.page,e=this.pageTop;b<this.pageCount&&(0>a||e<a);b++)e+=this.needPage(b,e);this.firstVisibleRow=this.getFirstVisibleRow(this.page,this.pageTop,d);this.lastVisibleRow=this.getLastVisibleRow(b-1,e,a);c!=this.height&&this.repositionPages(b-1);this.endPacify()}},getScrollBottom:function(d){return 0<=this.windowHeight?d+this.windowHeight:-1},processNodeEvent:function(d,c){for(var a=d.target;a&&a!=c&&a.parentNode&&a.parentNode.parentNode!=c;)a=a.parentNode;if(!a||!a.parentNode||a.parentNode.parentNode!=
c)return!1;d.topRowIndex=a.parentNode.pageIndex*this.rowsPerPage;var b=d.topRowIndex;a:{var e=0;for(var h,n=a.parentNode;h=n.childNodes[e++];)if(h==a){--e;break a}e=-1}d.rowIndex=b+e;d.rowTarget=a;return!0},processEvent:function(d){return this.processNodeEvent(d,this.contentNode)},renderRow:function(d,c){},removeRow:function(d){},getDefaultPageNode:function(d){return this.getDefaultNodes()[d]},positionPageNode:function(d,c){},getPageNodePosition:function(d){return d.offsetTop},invalidatePageNode:function(d,
c){var a=c[d];a&&(delete c[d],this.removePage(d,a),f(a),a.innerHTML="");return a},getPageRow:function(d){return d*this.rowsPerPage},getLastPageRow:function(d){return Math.min(this.rowCount,this.getPageRow(d+1))-1},getFirstVisibleRow:function(d,c,a){if(!this.pageExists(d))return 0;var b=this.getPageRow(d),e=this.getDefaultNodes();d=g(e[d],"div");e=0;for(var h=d.length;e<h&&c<a;e++,b++)c+=d[e].offsetHeight;return b?b-1:b},getLastVisibleRow:function(d,c,a){if(!this.pageExists(d))return 0;var b=this.getDefaultNodes(),
e=this.getLastPageRow(d);d=g(b[d],"div");for(b=d.length-1;0<=b&&c>a;b--,e--)c-=d[b].offsetHeight;return e+1},findTopRow:function(d){var c=this.getDefaultNodes();c=g(c[this.page],"div");for(var a=0,b=c.length,e=this.pageTop,h;a<b;a++)if(h=c[a].offsetHeight,e+=h,e>=d)return this.offset=h-(e-d),a+this.page*this.rowsPerPage;return-1},findScrollTop:function(d){var c=Math.floor(d/this.rowsPerPage),a=0,b;for(b=0;b<c;b++)a+=this.getPageHeight(b);this.pageTop=a;this.page=c;this.needPage(c,this.pageTop);b=
this.getDefaultNodes();var e=g(b[c],"div");c=d-this.rowsPerPage*c;b=0;for(d=e.length;b<d&&b<c;b++)a+=e[b].offsetHeight;return a},dummy:0})})},"dojox/form/manager/_Mixin":function(){define("dojo/_base/window dojo/_base/lang dojo/_base/array dojo/on dojo/dom-attr dojo/dom-class dijit/_base/manager dijit/_Widget dijit/form/_FormWidget dijit/form/Button dijit/form/CheckBox dojo/_base/declare".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e){A=C.getObject("dojox.form.manager",!0);var h=A.actionAdapter=function(p){return function(u,
w,q){C.isArray(w)?B.forEach(w,function(t){p.call(this,u,t,q)},this):p.apply(this,arguments)}};A.inspectorAdapter=function(p){return function(u,w,q){return p.call(this,u,C.isArray(w)?w[0]:w,q)}};var n={domNode:1,containerNode:1,srcNodeRef:1,bgIframe:1},r=A._keys=function(p){var u=[],w;for(w in p)p.hasOwnProperty(w)&&u.push(w);return u},k=function(p){var u=p.get("name");if(u&&p.isInstanceOf(c))if(u in this.formWidgets){var w=this.formWidgets[u].widget;C.isArray(w)?w.push(p):this.formWidgets[u].widget=
[w,p]}else this.formWidgets[u]={widget:p,connections:[]};else u=null;return u},m=function(p){var u={};h(function(w,q){var t=q.get("data-dojo-observer")||q.get("observer");t&&"string"==typeof t&&B.forEach(t.split(","),function(z){(z=C.trim(z))&&C.isFunction(this[z])&&(u[z]=1)},this)}).call(this,null,this.formWidgets[p].widget);return r(u)},y=function(p,u){var w=this.formWidgets[p],q=w.widget,t=w.connections;t.length&&(B.forEach(t,function(D){D.remove()}),t=w.connections=[]);if(C.isArray(q))B.forEach(q,
function(D){B.forEach(u,function(v){t.push(x(D,"change",C.hitch(this,function(E){if(this.watching&&l.get(D.focusNode,"checked"))this[v](D.get("value"),p,D,E)})))},this)},this);else{var z=q.isInstanceOf(a)?"click":"change";B.forEach(u,function(D){t.push(x(q,z,C.hitch(this,function(v){if(this.watching)this[D](q.get("value"),p,q,v)})))},this)}};e=e("dojox.form.manager._Mixin",null,{watching:!0,startup:function(){this._started||(this.formWidgets={},this.formNodes={},this.registerWidgetDescendants(this),
this.inherited(arguments))},destroy:function(){for(var p in this.formWidgets)B.forEach(this.formWidgets[p].connections,function(u){u.remove()});this.formWidgets={};this.inherited(arguments)},registerWidget:function(p){"string"==typeof p?p=g.byId(p):p.tagName&&p.cloneNode&&(p=g.byNode(p));(p=k.call(this,p))&&y.call(this,p,m.call(this,p));return this},unregisterWidget:function(p){p in this.formWidgets&&(B.forEach(this.formWidgets[p].connections,function(u){u.remove()}),delete this.formWidgets[p]);return this},
registerWidgetDescendants:function(p){"string"==typeof p?p=g.byId(p):p.tagName&&p.cloneNode&&(p=g.byNode(p));var u=B.map(p.getDescendants(),k,this);B.forEach(u,function(w){w&&y.call(this,w,m.call(this,w))},this);return this.registerNodeDescendants?this.registerNodeDescendants(p.domNode):this},unregisterWidgetDescendants:function(p){"string"==typeof p?p=g.byId(p):p.tagName&&p.cloneNode&&(p=g.byNode(p));B.forEach(B.map(p.getDescendants(),function(u){return u instanceof c&&u.get("name")||null}),function(u){u&&
this.unregisterWidget(u)},this);return this.unregisterNodeDescendants?this.unregisterNodeDescendants(p.domNode):this},formWidgetValue:function(p,u){var w=2==arguments.length&&void 0!==u,q;"string"==typeof p&&(p=this.formWidgets[p])&&(p=p.widget);if(!p)return null;if(C.isArray(p)){if(w)return B.forEach(p,function(t){t.set("checked",!1,!this.watching)},this),B.forEach(p,function(t){t.set("checked",t.value===u,!this.watching)},this),this;B.some(p,function(t){return l.get(t.focusNode,"checked")?(q=t,
!0):!1});return q?q.get("value"):""}return p.isInstanceOf&&p.isInstanceOf(b)?w?(p.set("value",!!u,!this.watching),this):!!p.get("value"):w?(p.set("value",u,!this.watching),this):p.get("value")},formPointValue:function(p,u){p&&"string"==typeof p&&(p=this[p]);return p&&p.tagName&&p.cloneNode&&f.contains(p,"dojoFormValue")?2==arguments.length&&void 0!==u?(p.innerHTML=u,this):p.innerHTML:null},inspectFormWidgets:function(p,u,w){var q,t={};if(u)if(C.isArray(u))B.forEach(u,function(z){z in this.formWidgets&&
(t[z]=p.call(this,z,this.formWidgets[z].widget,w))},this);else for(q in u)q in this.formWidgets&&(t[q]=p.call(this,q,this.formWidgets[q].widget,u[q]));else for(q in this.formWidgets)t[q]=p.call(this,q,this.formWidgets[q].widget,w);return t},inspectAttachedPoints:function(p,u,w){var q,t,z={};if(u)if(C.isArray(u))B.forEach(u,function(D){(t=this[D])&&t.tagName&&t.cloneNode&&(z[D]=p.call(this,D,t,w))},this);else for(q in u)(t=this[q])&&t.tagName&&t.cloneNode&&(z[q]=p.call(this,q,t,u[q]));else for(q in this)q in
n||(t=this[q])&&t.tagName&&t.cloneNode&&(z[q]=p.call(this,q,t,w));return z},inspect:function(p,u,w){var q=this.inspectFormWidgets(function(t,z,D){return C.isArray(z)?p.call(this,t,B.map(z,function(v){return v.domNode}),D):p.call(this,t,z.domNode,D)},u,w);this.inspectFormNodes&&C.mixin(q,this.inspectFormNodes(p,u,w));return C.mixin(q,this.inspectAttachedPoints(p,u,w))}});C.extend(d,{observer:""});return e})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(A,
C,B,x){var l=A.Color=function(f){f&&this.setColor(f)};l.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:x.transparentColor||[0,0,0,0]};C.extend(l,{r:255,g:255,b:255,a:1,_set:function(f,g,d,c){this.r=f;this.g=g;this.b=d;this.a=c},setColor:function(f){C.isString(f)?
l.fromString(f,this):C.isArray(f)?l.fromArray(f,this):(this._set(f.r,f.g,f.b,f.a),f instanceof l||this.sanitize());return this},sanitize:function(){return this},toRgb:function(){return[this.r,this.g,this.b]},toRgba:function(){return[this.r,this.g,this.b,this.a]},toHex:function(){return"#"+B.map(["r","g","b"],function(f){f=this[f].toString(16);return 2>f.length?"0"+f:f},this).join("")},toCss:function(f){var g=this.r+", "+this.g+", "+this.b;return(f?"rgba("+g+", "+this.a:"rgb("+g)+")"},toString:function(){return this.toCss(!0)}});
l.blendColors=A.blendColors=function(f,g,d,c){c=c||new l;c.r=Math.round(f.r+(g.r-f.r)*d);c.g=Math.round(f.g+(g.g-f.g)*d);c.b=Math.round(f.b+(g.b-f.b)*d);c.a=f.a+(g.a-f.a)*d;return c.sanitize()};l.fromRgb=A.colorFromRgb=function(f,g){var d=f.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return d&&l.fromArray(d[1].split(/\s*,\s*/),g)};l.fromHex=A.colorFromHex=function(f,g){var d=g||new l,c=4==f.length?4:8,a=(1<<c)-1;f=Number("0x"+f.substr(1));if(isNaN(f))return null;B.forEach(["b","g","r"],function(b){var e=
f&a;f>>=c;d[b]=4==c?17*e:e});d.a=1;return d};l.fromArray=A.colorFromArray=function(f,g){var d=g||new l;d._set(Number(f[0]),Number(f[1]),Number(f[2]),Number(f[3]));isNaN(d.a)&&(d.a=1);return d.sanitize()};l.fromString=A.colorFromString=function(f,g){var d=l.named[f];return d&&l.fromArray(d,g)||l.fromRgb(f,g)||l.fromHex(f,g)};return l})},"dojo/fx":function(){define("./_base/lang ./Evented ./_base/kernel ./_base/array ./aspect ./_base/fx ./dom ./dom-style ./dom-geometry ./ready require".split(" "),function(A,
C,B,x,l,f,g,d,c,a,b){B.isAsync||a(0,function(){b(["./fx/Toggler"])});B=B.fx={};a={_fire:function(n,r){this[n]&&this[n].apply(this,r||[]);return this}};var e=function(n){this._index=-1;this._animations=n||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;x.forEach(this._animations,function(r){r&&("undefined"!=typeof r.duration&&(this.duration+=r.duration),r.delay&&(this.duration+=r.delay))},this)};e.prototype=new C;A.extend(e,{_onAnimate:function(){this._fire("onAnimate",arguments)},
_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=l.after(this._current,"onAnimate",A.hitch(this,"_onAnimate"),!0),this._onEndCtx=l.after(this._current,"onEnd",A.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(n,r){this._current||(this._current=this._animations[this._index=0]);if(!r&&"playing"==this._current.status())return this;
var k=l.after(this._current,"beforeBegin",A.hitch(this,function(){this._fire("beforeBegin")}),!0),m=l.after(this._current,"onBegin",A.hitch(this,function(p){this._fire("onBegin",arguments)}),!0),y=l.after(this._current,"onPlay",A.hitch(this,function(p){this._fire("onPlay",arguments);k.remove();m.remove();y.remove()}));this._onAnimateCtx&&this._onAnimateCtx.remove();this._onAnimateCtx=l.after(this._current,"onAnimate",A.hitch(this,"_onAnimate"),!0);this._onEndCtx&&this._onEndCtx.remove();this._onEndCtx=
l.after(this._current,"onEnd",A.hitch(this,"_onEnd"),!0);this._current.play.apply(this._current,arguments);return this},pause:function(){if(this._current){var n=l.after(this._current,"onPause",A.hitch(this,function(r){this._fire("onPause",arguments);n.remove()}),!0);this._current.pause()}return this},gotoPercent:function(n,r){this.pause();var k=this.duration*n;this._current=null;x.some(this._animations,function(m,y){if(k<=m.duration)return this._current=m,this._index=y,!0;k-=m.duration;return!1},
this);this._current&&this._current.gotoPercent(k/this._current.duration);r&&this.play();return this},stop:function(n){if(this._current){if(n){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var r=l.after(this._current,"onStop",A.hitch(this,function(k){this._fire("onStop",arguments);r.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop();
this._onAnimateCtx&&this._onAnimateCtx.remove();this._onEndCtx&&this._onEndCtx.remove()}});A.extend(e,a);B.chain=function(n){return new e(A.isArray(n)?n:Array.prototype.slice.call(n,0))};var h=function(n){this._animations=n||[];this._connects=[];this.duration=this._finished=0;x.forEach(n,function(k){var m=k.duration;k.delay&&(m+=k.delay);this.duration<m&&(this.duration=m);this._connects.push(l.after(k,"onEnd",A.hitch(this,"_onEnd"),!0))},this);this._pseudoAnimation=new f.Animation({curve:[0,1],duration:this.duration});
var r=this;x.forEach("beforeBegin onBegin onPlay onAnimate onPause onStop onEnd".split(" "),function(k){r._connects.push(l.after(r._pseudoAnimation,k,function(){r._fire(k,arguments)},!0))})};A.extend(h,{_doAction:function(n,r){x.forEach(this._animations,function(k){k[n].apply(k,r)});return this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(n,r){var k=this._pseudoAnimation;k[n].apply(k,r)},play:function(n,r){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(n,r){var k=this.duration*n;x.forEach(this._animations,function(m){m.gotoPercent(m.duration<k?1:k/m.duration,r)});this._call("gotoPercent",arguments);return this},stop:function(n){this._doAction("stop",arguments);this._call("stop",arguments);return this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop();
x.forEach(this._connects,function(n){n.remove()})}});A.extend(h,a);B.combine=function(n){return new h(A.isArray(n)?n:Array.prototype.slice.call(n,0))};B.wipeIn=function(n){var r=n.node=g.byId(n.node),k=r.style,m;n=f.animateProperty(A.mixin({properties:{height:{start:function(){m=k.overflow;k.overflow="hidden";if("hidden"==k.visibility||"none"==k.display)return k.height="1px",k.display="",k.visibility="",1;var p=d.get(r,"height");return Math.max(p,1)},end:function(){return r.scrollHeight}}}},n));var y=
function(){k.height="auto";k.overflow=m};l.after(n,"onStop",y,!0);l.after(n,"onEnd",y,!0);return n};B.wipeOut=function(n){var r=(n.node=g.byId(n.node)).style,k;n=f.animateProperty(A.mixin({properties:{height:{end:1}}},n));l.after(n,"beforeBegin",function(){k=r.overflow;r.overflow="hidden";r.display=""},!0);var m=function(){r.overflow=k;r.height="auto";r.display="none"};l.after(n,"onStop",m,!0);l.after(n,"onEnd",m,!0);return n};B.slideTo=function(n){var r=null,k=null,m=function(y){return function(){var p=
d.getComputedStyle(y),u=p.position;r="absolute"==u?y.offsetTop:parseInt(p.top)||0;k="absolute"==u?y.offsetLeft:parseInt(p.left)||0;"absolute"!=u&&"relative"!=u&&(p=c.position(y,!0),r=p.y,k=p.x,y.style.position="absolute",y.style.top=r+"px",y.style.left=k+"px")}}(n.node=g.byId(n.node));m();n=f.animateProperty(A.mixin({properties:{top:n.top||0,left:n.left||0}},n));l.after(n,"beforeBegin",m,!0);return n};return B})},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){})},"dojo/Deferred":function(){define(["./has",
"./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(A,C,B,x,l){var f=Object.freeze||function(){},g=function(e,h,n,r,k){2===h&&b.instrumentRejected&&0===e.length&&b.instrumentRejected(n,!1,r,k);for(k=0;k<e.length;k++)d(e[k],h,n,r)},d=function(e,h,n,r){var k=e[h],m=e.deferred;if(k)try{var y=k(n);if(0===h)"undefined"!==typeof y&&a(m,h,y);else{if(y&&"function"===typeof y.then){e.cancel=y.cancel;y.then(c(m,1),c(m,2),c(m,0));return}a(m,1,y)}}catch(p){a(m,2,p)}else a(m,
h,n);2===h&&b.instrumentRejected&&b.instrumentRejected(n,!!k,r,m.promise)},c=function(e,h){return function(n){a(e,h,n)}},a=function(e,h,n){if(!e.isCanceled())switch(h){case 0:e.progress(n);break;case 1:e.resolve(n);break;case 2:e.reject(n)}},b=function(e){var h=this.promise=new x,n=this,r,k,m,y=!1,p=[];Error.captureStackTrace&&(Error.captureStackTrace(n,b),Error.captureStackTrace(h,b));this.isResolved=h.isResolved=function(){return 1===r};this.isRejected=h.isRejected=function(){return 2===r};this.isFulfilled=
h.isFulfilled=function(){return!!r};this.isCanceled=h.isCanceled=function(){return y};this.progress=function(w,q){if(r){if(!0===q)throw Error("This deferred has already been fulfilled.");return h}g(p,0,w,null,n);return h};this.resolve=function(w,q){if(r){if(!0===q)throw Error("This deferred has already been fulfilled.");return h}g(p,r=1,k=w,null,n);p=null;return h};var u=this.reject=function(w,q){if(r){if(!0===q)throw Error("This deferred has already been fulfilled.");return h}Error.captureStackTrace&&
Error.captureStackTrace(m={},u);g(p,r=2,k=w,m,n);p=null;return h};this.then=h.then=function(w,q,t){var z=[t,w,q];z.cancel=h.cancel;z.deferred=new b(function(D){return z.cancel&&z.cancel(D)});r&&!p?d(z,r,k,m):p.push(z);return z.deferred.promise};this.cancel=h.cancel=function(w,q){if(!r){if(e){var t=e(w);w="undefined"===typeof t?w:t}y=!0;if(!r)return"undefined"===typeof w&&(w=new B),u(w),w;if(2===r&&k===w)return w}else if(!0===q)throw Error("This deferred has already been fulfilled.");};f(h)};b.prototype.toString=
function(){return"[object Deferred]"};l&&l(b);return b})},"dojox/gfx":function(){define(["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],function(A,C,B){C.switchTo(B);return C})},"dojox/form/manager/_EnableMixin":function(){define(["dojo/_base/lang","dojo/_base/kernel","dojo/dom-attr","./_Mixin","dojo/_base/declare"],function(A,C,B,x,l){C=A.getObject("dojox.form.manager",!0);var f=C.actionAdapter,g=C.inspectorAdapter;return l("dojox.form.manager._EnableMixin",null,{gatherEnableState:function(d){var c=
this.inspectFormWidgets(g(function(a,b){return!b.get("disabled")}),d);this.inspectFormNodes&&A.mixin(c,this.inspectFormNodes(g(function(a,b){return!B.get(b,"disabled")}),d));return c},enable:function(d,c){if(2>arguments.length||void 0===c)c=!0;this.inspectFormWidgets(f(function(a,b,e){b.set("disabled",!e)}),d,c);this.inspectFormNodes&&this.inspectFormNodes(f(function(a,b,e){B.set(b,"disabled",!e)}),d,c);return this},disable:function(d){var c=this.gatherEnableState();this.enable(d,!1);return c}})})},
"dojo/global":function(){define(function(){return"undefined"!==typeof global&&"function"!==typeof global?global:"undefined"!==typeof window?window:"undefined"!==typeof self?self:this})},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(A){var C={};A.setObject("dojo.data.util.sorter",C);C.basicComparator=function(B,x){var l=-1;null===B&&(B=void 0);null===x&&(x=void 0);if(B==x)l=0;else if(B>x||null==B)l=1;return l};C.createSortFunction=function(B,x){function l(h,n,r,k){return function(m,
y){var p=k.getValue(m,h),u=k.getValue(y,h);return n*r(p,u)}}for(var f=[],g,d=x.comparatorMap,c=C.basicComparator,a=0;a<B.length;a++){g=B[a];var b=g.attribute;if(b){g=g.descending?-1:1;var e=c;d&&("string"!==typeof b&&"toString"in b&&(b=b.toString()),e=d[b]||c);f.push(l(b,g,e,x))}}return function(h,n){for(var r=0;r<f.length;){var k=f[r++](h,n);if(0!==k)return k}return 0}};return C})},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(A,C,B){if(7>=A("ie"))try{document.execCommand("BackgroundImageCache",
!1,!0)}catch(f){}var x={};A("ie")?x.byId=function(f,g){if("string"!=typeof f)return f||null;var d=g||C.doc,c=f&&d.getElementById(f);if(!c||c.attributes.id.value!=f&&c.id!=f){d=d.all[f];if(!d||d.nodeName)d=[d];for(var a=0;c=d[a++];)if(c.attributes&&c.attributes.id&&c.attributes.id.value==f||c.id==f)return c}else return c;return null}:x.byId=function(f,g){return("string"==typeof f?(g||C.doc).getElementById(f):f)||null};B=B.global.document||null;A.add("dom-contains",!(!B||!B.contains));x.isDescendant=
A("dom-contains")?function(f,g){return!(!(g=x.byId(g))||!g.contains(x.byId(f)))}:function(f,g){try{for(f=x.byId(f),g=x.byId(g);f;){if(f==g)return!0;f=f.parentNode}}catch(d){}return!1};A.add("css-user-select",function(f,g,d){if(!d)return!1;f=d.style;g=["Khtml","O","Moz","Webkit"];d=g.length;var c="userSelect";do if("undefined"!==typeof f[c])return c;while(d--&&(c=g[d]+"UserSelect"));return!1});var l=A("css-user-select");x.setSelectable=l?function(f,g){x.byId(f).style[l]=g?"":"none"}:function(f,g){f=
x.byId(f);var d=f.getElementsByTagName("*"),c=d.length;if(g)for(f.removeAttribute("unselectable");c--;)d[c].removeAttribute("unselectable");else for(f.setAttribute("unselectable","on");c--;)d[c].setAttribute("unselectable","on")};return x})},"dojox/form/manager/_DisplayMixin":function(){define(["dojo/_base/kernel","dojo/dom-style","dojo/_base/declare"],function(A,C,B){return B("dojox.form.manager._DisplayMixin",null,{gatherDisplayState:function(x){return this.inspectAttachedPoints(function(l,f){return"none"!=
C.get(f,"display")},x)},show:function(x,l){2>arguments.length&&(l=!0);this.inspectAttachedPoints(function(f,g,d){C.set(g,"display",d?"":"none")},x,l);return this},hide:function(x){return this.show(x,!1)}})})},"dojo/window":function(){define("./_base/lang ./sniff ./_base/window ./dom ./dom-geometry ./dom-style ./dom-construct".split(" "),function(A,C,B,x,l,f,g){C.add("rtl-adjust-position-for-verticalScrollBar",function(c,a){var b=B.body(a),e=g.create("div",{style:{overflow:"scroll",overflowX:"visible",
direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},b,"last"),h=g.create("div",{style:{overflow:"hidden",direction:"ltr"}},e,"last"),n=0!=l.position(h).x;e.removeChild(h);b.removeChild(e);return n});C.add("position-fixed-support",function(c,a){var b=B.body(a),e=g.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},b,"last"),h=g.create("span",{style:{position:"fixed",left:"0",top:"0"}},e,"last"),n=l.position(h).x!=l.position(e).x;
e.removeChild(h);b.removeChild(e);return n});var d={getBox:function(c){c=c||B.doc;var a="BackCompat"==c.compatMode?B.body(c):c.documentElement,b=l.docScroll(c);if(C("touch")){var e=d.get(c);c=e.innerWidth||a.clientWidth;a=e.innerHeight||a.clientHeight}else c=a.clientWidth,a=a.clientHeight;return{l:b.x,t:b.y,w:c,h:a}},get:function(c){if(C("ie")&&d!==document.parentWindow){c.parentWindow.execScript("document._parentWindow \x3d window;","Javascript");var a=c._parentWindow;c._parentWindow=null;return a}return c.parentWindow||
c.defaultView},scrollIntoView:function(c,a){try{c=x.byId(c);var b=c.ownerDocument||B.doc,e=B.body(b),h=b.documentElement||e.parentNode,n=C("ie")||C("trident"),r=C("webkit");if(c!=e&&c!=h)if(!(C("mozilla")||n||r||C("opera")||C("trident")||C("edge"))&&"scrollIntoView"in c)c.scrollIntoView(!1);else{var k="BackCompat"==b.compatMode,m=Math.min(e.clientWidth||h.clientWidth,h.clientWidth||e.clientWidth),y=Math.min(e.clientHeight||h.clientHeight,h.clientHeight||e.clientHeight);b=r||k?e:h;var p=a||l.position(c),
u=c.parentNode;r=function(N){return 6>=n||7==n&&k?!1:C("position-fixed-support")&&"fixed"==f.get(N,"position").toLowerCase()};var w=this,q=function(N,Q,P){"BODY"==N.tagName||"HTML"==N.tagName?w.get(N.ownerDocument).scrollBy(Q,P):(Q&&(N.scrollLeft+=Q),P&&(N.scrollTop+=P))};if(!r(c))for(;u;){u==e&&(u=b);var t=l.position(u),z=r(u),D="rtl"==f.getComputedStyle(u).direction.toLowerCase();if(u==b)t.w=m,t.h=y,b==h&&(n||C("trident"))&&D&&(t.x+=b.offsetWidth-t.w),t.x=0,t.y=0;else{var v=l.getPadBorderExtents(u);
t.w-=v.w;t.h-=v.h;t.x+=v.l;t.y+=v.t;var E=u.clientWidth,F=t.w-E;0<E&&0<F&&(D&&C("rtl-adjust-position-for-verticalScrollBar")&&(t.x+=F),t.w=E);E=u.clientHeight;F=t.h-E;0<E&&0<F&&(t.h=E)}z&&(0>t.y&&(t.h+=t.y,t.y=0),0>t.x&&(t.w+=t.x,t.x=0),t.y+t.h>y&&(t.h=y-t.y),t.x+t.w>m&&(t.w=m-t.x));var H=p.x-t.x,J=p.y-t.y,G=H+p.w-t.w,I=J+p.h-t.h;if(0<G*H&&(u.scrollLeft||u==b||u.scrollWidth>u.offsetHeight)){var K=Math[0>H?"max":"min"](H,G);D&&(8==n&&!k||5<=C("trident"))&&(K=-K);var M=u.scrollLeft;q(u,K,0);K=u.scrollLeft-
M;p.x-=K}0<I*J&&(u.scrollTop||u==b||u.scrollHeight>u.offsetHeight)&&(K=Math.ceil(Math[0>J?"max":"min"](J,I)),M=u.scrollTop,q(u,0,K),K=u.scrollTop-M,p.y-=K);u=u!=b&&!z&&u.parentNode}}}catch(N){c.scrollIntoView(!1)}}};A.setObject("dojo.window",d);return d})},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(A,C,B){var x=B._createWrapper;B._createWrapper=function(f){f.declaredClass||(f={_popupWrapper:f.parentNode&&A.contains(f.parentNode,
"dijitPopup")?f.parentNode:null,domNode:f,destroy:function(){},ownerDocument:f.ownerDocument,ownerDocumentBody:C.body(f.ownerDocument)});return x.call(this,f)};var l=B.open;B.open=function(f){if(f.orient&&"string"!=typeof f.orient&&!("length"in f.orient)){var g=[],d;for(d in f.orient)g.push({aroundCorner:d,corner:f.orient[d]});f.orient=g}return l.call(this,f)};return B})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(A,C){C.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;
return 1});var B=C("bug-for-in-skips-shadowed")?"hasOwnProperty valueOf isPrototypeOf propertyIsEnumerable toLocaleString toString constructor".split(" "):[],x=B.length,l=function(a,b,e){e||(e=a[0]&&A.scopeMap[a[0]]?A.scopeMap[a.shift()][1]:A.global);try{for(var h=0;h<a.length;h++){var n=a[h];if("__proto__"===n||"constructor"===n)return;if(!(n in e))if(b)e[n]={};else return;e=e[n]}return e}catch(r){}},f=Object.prototype.toString,g=function(a,b,e){return(e||[]).concat(Array.prototype.slice.call(a,
b||0))},d=/\{([^\}]+)\}/g,c={_extraNames:B,_mixin:function(a,b,e){var h,n={};for(k in b){var r=b[k];k in a&&(a[k]===r||k in n&&n[k]===r)||(a[k]=e?e(r):r)}if(C("bug-for-in-skips-shadowed")&&b)for(h=0;h<x;++h){var k=B[h];r=b[k];k in a&&(a[k]===r||k in n&&n[k]===r)||(a[k]=e?e(r):r)}return a},mixin:function(a,b){a||(a={});for(var e=1,h=arguments.length;e<h;e++)c._mixin(a,arguments[e]);return a},setObject:function(a,b,e){var h=a.split(".");a=h.pop();return(e=l(h,!0,e))&&a?e[a]=b:void 0},getObject:function(a,
b,e){return a?l(a.split("."),b,e):e},exists:function(a,b){return void 0!==c.getObject(a,!1,b)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:Array.isArray||function(a){return"[object Array]"==f.call(a)},isFunction:function(a){return"[object Function]"===f.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||c.isArray(a)||c.isFunction(a))},isArrayLike:function(a){return!!a&&!c.isString(a)&&!c.isFunction(a)&&!(a.tagName&&"form"==a.tagName.toLowerCase())&&
(c.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!c.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a,b){for(var e=1,h=arguments.length;e<h;e++)c._mixin(a.prototype,arguments[e]);return a},_hitchArgs:function(a,b){var e=c._toArray(arguments,2),h=c.isString(b);return function(){var n=c._toArray(arguments),r=h?(a||A.global)[b]:b;return r&&r.apply(a||this,e.concat(n))}},hitch:function(a,b){if(2<arguments.length)return c._hitchArgs.apply(A,arguments);b||(b=
a,a=null);if(c.isString(b)){a=a||A.global;if(!a[b])throw['lang.hitch: scope["',b,'"] is null (scope\x3d"',a,'")'].join("");return function(){return a[b].apply(a,arguments||[])}}return a?function(){return b.apply(a,arguments||[])}:b},delegate:function(){function a(){}return function(b,e){a.prototype=b;var h=new a;a.prototype=null;e&&c._mixin(h,e);return h}}(),_toArray:C("ie")?function(){function a(b,e,h){h=h||[];for(e=e||0;e<b.length;e++)h.push(b[e]);return h}return function(b){return(b.item?a:g).apply(this,
arguments)}}():g,partial:function(a){return c.hitch.apply(A,[null].concat(c._toArray(arguments)))},clone:function(a){if(!a||"object"!=typeof a||c.isFunction(a))return a;if(a.nodeType&&"cloneNode"in a)return a.cloneNode(!0);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return new RegExp(a);var b;if(c.isArray(a)){var e=[];var h=0;for(b=a.length;h<b;++h)h in a&&(e[h]=c.clone(a[h]))}else e=a.constructor?new a.constructor:{};return c._mixin(e,a,c.clone)},trim:String.prototype.trim?
function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,e){return a.replace(e||d,c.isFunction(b)?b:function(h,n){return c.getObject(n,!1,b)})}};c.mixin(A,c);return c})},"dojox/editor/plugins/PrettyPrint":function(){define("dojo dijit dojox dijit/_editor/_Plugin dojo/_base/connect dojo/_base/declare dojox/html/format".split(" "),function(A,C,B,x){var l=A.declare("dojox.editor.plugins.PrettyPrint",x,{indentBy:-1,lineLength:-1,useDefaultCommand:!1,
entityMap:null,_initButton:function(){delete this.command},setToolbar:function(f){},setEditor:function(f){this.inherited(arguments);var g=this;this.editor.onLoadDeferred.addCallback(function(){g.editor._prettyprint_getValue=g.editor.getValue;g.editor.getValue=function(){var d=g.editor._prettyprint_getValue(arguments);return B.html.format.prettyPrint(d,g.indentBy,g.lineLength,g.entityMap,g.xhtml)};g.editor._prettyprint_endEditing=g.editor._endEditing;g.editor._prettyprint_onBlur=g.editor._onBlur;g.editor._endEditing=
function(d){d=g.editor._prettyprint_getValue(!0);g.editor._undoedSteps=[];g.editor._steps.push({text:d,bookmark:g.editor._getBookmark()})};g.editor._onBlur=function(d){this.inherited("_onBlur",arguments);var c=g.editor._prettyprint_getValue(!0);c!=g.editor.savedContent&&(g.editor.onChange(c),g.editor.savedContent=c)}})}});A.subscribe(C._scopeName+".Editor.getPlugin",null,function(f){f.plugin||"prettyprint"!==f.args.name.toLowerCase()||(f.plugin=new l({indentBy:"indentBy"in f.args?f.args.indentBy:
-1,lineLength:"lineLength"in f.args?f.args.lineLength:-1,entityMap:"entityMap"in f.args?f.args.entityMap:B.html.entities.html.concat([["\u00a2","cent"],["\u00a3","pound"],["\u20ac","euro"],["\u00a5","yen"],["\u00a9","copy"],["\u00a7","sect"],["\u2026","hellip"],["\u00ae","reg"]]),xhtml:"xhtml"in f.args?f.args.xhtml:!1}))});return l})},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(A,C,B){A.DeferredList=function(x,l,f,g,d){var c=[];C.call(this);
var a=this;0!==x.length||l||this.resolve([0,[]]);var b=0;B.forEach(x,function(e,h){function n(r,k){c[h]=[r,k];b++;b===x.length&&a.resolve(c)}e.then(function(r){l?a.resolve([h,r]):n(!0,r)},function(r){f?a.reject(r):n(!1,r);if(g)return null;throw r;})})};A.DeferredList.prototype=new C;A.DeferredList.prototype.gatherResults=function(x){x=new A.DeferredList(x,!1,!0,!1);x.addCallback(function(l){var f=[];B.forEach(l,function(g){f.push(g[1])});return f});return x};return A.DeferredList})},"dojox/grid/enhanced/_FocusManager":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/_base/connect dojo/_base/event dojo/_base/sniff dojo/_base/html dojo/keys dijit/a11y dijit/focus ../_FocusManager".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){var h=B("dojox.grid.enhanced._FocusArea",null,{constructor:function(n,r){this._fm=r;this._evtStack=[n.name];var k=function(){return!0};n.onFocus=n.onFocus||k;n.onBlur=n.onBlur||k;n.onMove=n.onMove||k;n.onKeyUp=n.onKeyUp||k;n.onKeyDown=n.onKeyDown||k;C.mixin(this,n)},move:function(n,r,k){if(this.name){var m;for(m=this._evtStack.length-1;0<=m;--m)if(!1===this._fm._areas[this._evtStack[m]].onMove(n,r,k))return!1}return!0},_onKeyEvent:function(n,r){if(this.name){var k,
m=this._evtStack.length;for(k=m-1;0<=k;--k)if(!1===this._fm._areas[this._evtStack[k]][r](n,!1))return!1;for(k=0;k<m;++k)if(!1===this._fm._areas[this._evtStack[k]][r](n,!0))return!1}return!0},keydown:function(n){return this._onKeyEvent(n,"onKeyDown")},keyup:function(n){return this._onKeyEvent(n,"onKeyUp")},contentMouseEventPlanner:function(){return 0},headerMouseEventPlanner:function(){return 0}});return B("dojox.grid.enhanced._FocusManager",e,{_stopEvent:function(n){try{n&&n.preventDefault&&f.stop(n)}catch(r){}},
constructor:function(n){this.grid=n;this._areas={};this._areaQueue=[];this._contentMouseEventHandlers=[];this._headerMouseEventHandlers=[];this._currentAreaIdx=-1;this._gridBlured=!0;this._connects.push(l.connect(n,"onBlur",this,"_doBlur"));this._connects.push(l.connect(n.scroller,"renderPage",this,"_delayedCellFocus"));this.addArea({name:"header",onFocus:C.hitch(this,this.focusHeader),onBlur:C.hitch(this,this._blurHeader),onMove:C.hitch(this,this._navHeader),getRegions:C.hitch(this,this._findHeaderCells),
onRegionFocus:C.hitch(this,this.doColHeaderFocus),onRegionBlur:C.hitch(this,this.doColHeaderBlur),onKeyDown:C.hitch(this,this._onHeaderKeyDown)});this.addArea({name:"content",onFocus:C.hitch(this,this._focusContent),onBlur:C.hitch(this,this._blurContent),onMove:C.hitch(this,this._navContent),onKeyDown:C.hitch(this,this._onContentKeyDown)});this.addArea({name:"editableCell",onFocus:C.hitch(this,this._focusEditableCell),onBlur:C.hitch(this,this._blurEditableCell),onKeyDown:C.hitch(this,this._onEditableCellKeyDown),
onContentMouseEvent:C.hitch(this,this._onEditableCellMouseEvent),contentMouseEventPlanner:function(r,k){return-1}});this.placeArea("header");this.placeArea("content");this.placeArea("editableCell");this.placeArea("editableCell","above","content")},destroy:function(){for(var n in this._areas){var r=this._areas[n];x.forEach(r._connects,l.disconnect);r._connects=null;r.uninitialize&&r.uninitialize()}this.inherited(arguments)},addArea:function(n){n.name&&C.isString(n.name)&&(this._areas[n.name]&&x.forEach(n._connects,
l.disconnect),this._areas[n.name]=new h(n,this),n.onHeaderMouseEvent&&this._headerMouseEventHandlers.push(n.name),n.onContentMouseEvent&&this._contentMouseEventHandlers.push(n.name))},getArea:function(n){return this._areas[n]},_bindAreaEvents:function(){var n,r,k=this._areas;x.forEach(this._areaQueue,function(m){n=k[m];!n._initialized&&C.isFunction(n.initialize)&&(n.initialize(),n._initialized=!0);n.getRegions&&(n._regions=n.getRegions()||[],x.forEach(n._connects||[],l.disconnect),n._connects=[],
x.forEach(n._regions,function(y){n.onRegionFocus&&(r=l.connect(y,"onfocus",n.onRegionFocus),n._connects.push(r));n.onRegionBlur&&(r=l.connect(y,"onblur",n.onRegionBlur),n._connects.push(r))}))})},removeArea:function(n){var r=this._areas[n];if(r){this.ignoreArea(n);var k=x.indexOf(this._contentMouseEventHandlers,n);0<=k&&this._contentMouseEventHandlers.splice(k,1);k=x.indexOf(this._headerMouseEventHandlers,n);0<=k&&this._headerMouseEventHandlers.splice(k,1);x.forEach(r._connects,l.disconnect);r.uninitialize&&
r.uninitialize();delete this._areas[n]}},currentArea:function(n,r){var k,m=this._currentAreaIdx;if(C.isString(n)&&0<=(k=x.indexOf(this._areaQueue,n))){if(m!=k){this.tabbingOut=!1;if(r&&0<=m&&m<this._areaQueue.length)this._areas[this._areaQueue[m]].onBlur();this._currentAreaIdx=k}}else return 0>m||m>=this._areaQueue.length?new h({},this):this._areas[this._areaQueue[this._currentAreaIdx]];return null},placeArea:function(n,r,k){if(this._areas[n]){var m=x.indexOf(this._areaQueue,k);switch(r){case "after":0<=
m&&++m;case "before":if(0<=m){this._areaQueue.splice(m,0,n);break}default:this._areaQueue.push(n);break;case "above":var y=!0;case "below":(r=this._areas[k])&&(y?r._evtStack.push(n):r._evtStack.splice(0,0,n))}}},ignoreArea:function(n){this._areaQueue=x.filter(this._areaQueue,function(r){return r!=n})},focusArea:function(n,r){var k="number"==typeof n?0>n?this._areaQueue.length+n:n:x.indexOf(this._areaQueue,C.isString(n)?n:n&&n.name);0>k&&(k=0);k-=this._currentAreaIdx;this._gridBlured=!1;if(k)this.tab(k,
r);else this.currentArea().onFocus(r,k)},tab:function(n,r){this.tabbingOut=this._gridBlured=!1;if(0!==n){var k=this._currentAreaIdx,m=0<n?1:-1;if(0>k||k>=this._areaQueue.length)k=this._currentAreaIdx+=n;else{var y=this._areas[this._areaQueue[k]].onBlur(r,n);!0===y?k=this._currentAreaIdx+=n:C.isString(y)&&this._areas[y]&&(k=this._currentAreaIdx=x.indexOf(this._areaQueue,y))}for(;0<=k&&k<this._areaQueue.length;k+=m)if(this._currentAreaIdx=k,this._areaQueue[k]&&this._areas[this._areaQueue[k]].onFocus(r,
n))return;this.tabbingOut=!0;0>n?(this._currentAreaIdx=-1,b.focus(this.grid.domNode)):(this._currentAreaIdx=this._areaQueue.length,b.focus(this.grid.lastFocusNode))}},_onMouseEvent:function(n,r){for(var k=n.toLowerCase(),m=this["_"+k+"MouseEventHandlers"],y=x.map(m,function(w){return{area:w,idx:this._areas[w][k+"MouseEventPlanner"](r,m)}},this).sort(function(w,q){return q.idx-w.idx}),p=x.map(y,function(w){return y.area}),u=y.length;0<=--u&&!1!==this._areas[y[u].area]["on"+n+"MouseEvent"](r,p););},
contentMouseEvent:function(n){this._onMouseEvent("Content",n)},headerMouseEvent:function(n){this._onMouseEvent("Header",n)},initFocusView:function(){this.focusView=this.grid.views.getFirstScrollingView()||this.focusView||this.grid.views.views[0];this._bindAreaEvents()},isNavHeader:function(){return"header"==this._areaQueue[this._currentAreaIdx]},previousKey:function(n){this.tab(-1,n)},nextKey:function(n){this.tab(1,n)},setFocusCell:function(n,r){n&&(this.currentArea(this.grid.edit.isEditing()?"editableCell":
"content",!0),this._focusifyCellNode(!1),this.cell=n,this.rowIndex=r,this._focusifyCellNode(!0));this.grid.onCellFocus(this.cell,this.rowIndex)},doFocus:function(n){n&&n.target==n.currentTarget&&!this.tabbingOut?this._gridBlured&&(this._gridBlured=!1,0>this._currentAreaIdx||this._currentAreaIdx>=this._areaQueue.length?this.focusArea(0,n):this.focusArea(this._currentAreaIdx,n)):this.tabbingOut=!1;f.stop(n)},_doBlur:function(){this._gridBlured=!0},doLastNodeFocus:function(n){this.tabbingOut?this.tabbingOut=
!1:this.focusArea(-1,n)},_delayedHeaderFocus:function(){this.isNavHeader()&&!g("ie")&&this.focusHeader()},_delayedCellFocus:function(){},_changeMenuBindNode:function(n,r){var k=this.grid.headerMenu;k&&this._contextMenuBindNode==n&&(k.unBindDomNode(n),k.bindDomNode(r),this._contextMenuBindNode=r)},focusHeader:function(n,r){var k=!1;this.inherited(arguments);this._colHeadNode&&"none"!=d.style(this._colHeadNode,"display")&&(b.focus(this._colHeadNode),this._stopEvent(n),k=!0);return k},_blurHeader:function(n,
r){this._colHeadNode&&d.removeClass(this._colHeadNode,this.focusClass);d.removeAttr(this.grid.domNode,"aria-activedescendant");this._changeMenuBindNode(this.grid.domNode,this.grid.viewsHeaderNode);this._colHeadNode=this._colHeadFocusIdx=null;return!0},_navHeader:function(n,r,k){var m=0>r?-1:1,y=x.indexOf(this._findHeaderCells(),this._colHeadNode);0<=y&&k.shiftKey&&k.ctrlKey?this.colSizeAdjust(k,y,5*m):this.move(n,r)},_onHeaderKeyDown:function(n,r){if(r)switch(n.keyCode){case c.ENTER:case c.SPACE:var k=
this.getHeaderIndex();0<=k&&!this.grid.pluginMgr.isFixedCell(n.cell)&&(this.grid.setSortIndex(k,null,n),f.stop(n))}return!0},_setActiveColHeader:function(){this.inherited(arguments);b.focus(this._colHeadNode)},findAndFocusGridCell:function(){this._focusContent()},_focusContent:function(n,r){var k=!0,m=0===this.grid.rowCount;if(this.isNoFocusCell()&&!m){m=0;for(var y=this.grid.getCell(0);y&&y.hidden;y=this.grid.getCell(++m));this.setFocusIndex(0,y?m:0)}else this.cell&&!m?this.focusView&&!this.focusView.rowNodes[this.rowIndex]?
(this.grid.scrollToRow(this.rowIndex),this.focusGrid()):this.setFocusIndex(this.rowIndex,this.cell.index):k=!1;k&&this._stopEvent(n);return k},_blurContent:function(n,r){this._focusifyCellNode(!1);return!0},_navContent:function(n,r,k){0===this.rowIndex&&0>n||this.rowIndex===this.grid.rowCount-1&&0<n||(this._colHeadNode=null,this.move(n,r,k),k&&f.stop(k))},_onContentKeyDown:function(n,r){if(r){var k=this.grid.scroller;switch(n.keyCode){case c.ENTER:case c.SPACE:k=this.grid;if(k.indirectSelection)break;
k.selection.clickSelect(this.rowIndex,l.isCopyKey(n),n.shiftKey);k.onRowClick(n);f.stop(n);break;case c.PAGE_UP:0!==this.rowIndex&&(this.rowIndex!=k.firstVisibleRow+1?this._navContent(k.firstVisibleRow-this.rowIndex,0):(this.grid.setScrollTop(k.findScrollTop(this.rowIndex-1)),this._navContent(k.firstVisibleRow-k.lastVisibleRow+1,0)),f.stop(n));break;case c.PAGE_DOWN:this.rowIndex+1!=this.grid.rowCount&&(f.stop(n),this.rowIndex!=k.lastVisibleRow-1?this._navContent(k.lastVisibleRow-this.rowIndex-1,
0):(this.grid.setScrollTop(k.findScrollTop(this.rowIndex+1)),this._navContent(k.lastVisibleRow-k.firstVisibleRow-1,0)),f.stop(n))}}return!0},_blurFromEditableCell:!1,_isNavigating:!1,_navElems:null,_focusEditableCell:function(n,r){var k=!1;if(this._isNavigating)k=!0;else if(this.grid.edit.isEditing()&&this.cell){if(this._blurFromEditableCell||!this._blurEditableCell(n,r))this.setFocusIndex(this.rowIndex,this.cell.index),k=!0;this._stopEvent(n)}return k},_applyEditableCell:function(){try{this.grid.edit.apply()}catch(n){}},
_blurEditableCell:function(n,r){this._blurFromEditableCell=!1;if(this._isNavigating){var k=!0;if(n){var m=this._navElems;k=m.lowest||m.first;m=m.last||m.highest||k;k=(g("ie")?n.srcElement:n.target)==(0<r?m:k)}return k?(this._isNavigating=!1,d.setSelectable(this.cell.getNode(this.rowIndex),!1),"content"):!1}if(this.grid.edit.isEditing()&&this.cell){if(!r||"number"!=typeof r)return!1;k=0<r?1:-1;m=this.grid.layout.cellCount;for(var y,p=this.cell.index+k;0<=p&&p<m;p+=k)if(y=this.grid.getCell(p),y.editable)return this.cell=
y,this._blurFromEditableCell=!0,!1;if((0<this.rowIndex||1==k)&&(this.rowIndex<this.grid.rowCount||-1==k)){this.rowIndex+=k;for(p=0<k?0:m-1;0<=p&&p<m;p+=k)if(y=this.grid.getCell(p),y.editable){this.cell=y;break}this._applyEditableCell();return"content"}}return!0},_initNavigatableElems:function(){this._navElems=a._getTabNavigable(this.cell.getNode(this.rowIndex))},_onEditableCellKeyDown:function(n,r){var k=this.grid,m=k.edit,y=!1,p=!0;switch(n.keyCode){case c.ENTER:r&&m.isEditing()&&(this._applyEditableCell(),
y=!0,f.stop(n));case c.SPACE:if(!r&&this._isNavigating){p=!1;break}if(r){if(!this.cell.editable&&this.cell.navigatable){this._initNavigatableElems();var u=this._navElems.lowest||this._navElems.first;if(u){this._isNavigating=!0;d.setSelectable(this.cell.getNode(this.rowIndex),!0);b.focus(u);f.stop(n);this.currentArea("editableCell",!0);break}}y||m.isEditing()||k.pluginMgr.isFixedCell(this.cell)||m.setEditCell(this.cell,this.rowIndex);y?this.currentArea("content",!0):this.cell.editable&&k.canEdit()&&
this.currentArea("editableCell",!0)}break;case c.PAGE_UP:case c.PAGE_DOWN:!r&&m.isEditing()&&(p=!1);break;case c.ESCAPE:r||(m.cancel(),this.currentArea("content",!0))}return p},_onEditableCellMouseEvent:function(n){if("click"==n.type){var r=this.cell||n.cell;if(r&&!r.editable&&r.navigatable){if(this._initNavigatableElems(),this._navElems.lowest||this._navElems.first){var k=g("ie")?n.srcElement:n.target;if(k!=r.getNode(n.rowIndex))return this._isNavigating=!0,this.focusArea("editableCell",n),d.setSelectable(r.getNode(n.rowIndex),
!0),b.focus(k),!1}}else if(this.grid.singleClickEdit)return this.currentArea("editableCell"),!1}return!0}})})},"dojo/sniff":function(){define(["./has"],function(A){var C=navigator,B=C.userAgent;C=C.appVersion;var x=parseFloat(C);A.add("air",0<=B.indexOf("AdobeAIR"));A.add("wp",parseFloat(B.split("Windows Phone")[1])||void 0);A.add("msapp",parseFloat(B.split("MSAppHost/")[1])||void 0);A.add("khtml",0<=C.indexOf("Konqueror")?x:void 0);A.add("edge",parseFloat(B.split("Edge/")[1])||void 0);A.add("opr",
parseFloat(B.split("OPR/")[1])||void 0);A.add("webkit",!A("wp")&&!A("edge")&&parseFloat(B.split("WebKit/")[1])||void 0);A.add("chrome",!A("edge")&&!A("opr")&&parseFloat(B.split("Chrome/")[1])||void 0);A.add("android",!A("wp")&&parseFloat(B.split("Android ")[1])||void 0);A.add("safari",!(0<=C.indexOf("Safari"))||A("wp")||A("chrome")||A("android")||A("edge")||A("opr")?void 0:parseFloat(C.split("Version/")[1]));A.add("mac",0<=C.indexOf("Macintosh"));A.add("quirks","BackCompat"==document.compatMode);
if(!A("wp")&&B.match(/(iPhone|iPod|iPad)/)){var l=RegExp.$1.replace(/P/,"p"),f=B.match(/OS ([\d_]+)/)?RegExp.$1:"1";f=parseFloat(f.replace(/_/,".").replace(/_/g,""));A.add(l,f);A.add("ios",f)}A.add("bb",(0<=B.indexOf("BlackBerry")||0<=B.indexOf("BB10"))&&parseFloat(B.split("Version/")[1])||void 0);A.add("trident",parseFloat(C.split("Trident/")[1])||void 0);A.add("svg","undefined"!==typeof SVGAngle);A("webkit")||(0<=B.indexOf("Opera")&&A.add("opera",9.8<=x?parseFloat(B.split("Version/")[1])||x:x),
!(0<=B.indexOf("Gecko"))||A("wp")||A("khtml")||A("trident")||A("edge")||A.add("mozilla",x),A("mozilla")&&A.add("ff",parseFloat(B.split("Firefox/")[1]||B.split("Minefield/")[1])||void 0),document.all&&!A("opera")&&(B=parseFloat(C.split("MSIE ")[1])||void 0,(C=document.documentMode)&&5!=C&&Math.floor(B)!=C&&(B=C),A.add("ie",B)),A.add("wii","undefined"!=typeof opera&&opera.wiiremote));return A})},"dojox/form/CheckedMultiSelect":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/_base/event dojo/dom-geometry dojo/dom-class dojo/dom-construct dojo/i18n dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dijit/registry dijit/Menu dijit/MenuItem dijit/Tooltip dijit/form/_FormSelectWidget dijit/form/ComboButton dojo/text!dojox/form/resources/_CheckedMultiSelectMenuItem.html dojo/text!dojox/form/resources/_CheckedMultiSelectItem.html dojo/text!dojox/form/resources/CheckedMultiSelect.html dojo/i18n!dojox/form/nls/CheckedMultiSelect dijit/form/CheckBox".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w){var q=A("dojox.form._CheckedMultiSelectItem",[c,a,b],{templateString:p,baseClass:"dojoxMultiSelectItem",option:null,parent:null,disabled:!1,readOnly:!1,postMixInProperties:function(){this._type=this.parent.multiple?{type:"checkbox",baseClass:"dijitCheckBox"}:{type:"radio",baseClass:"dijitRadio"};this.disabled||(this.disabled=this.option.disabled=this.option.disabled||!1);this.readOnly||(this.readOnly=this.option.readOnly=this.option.readOnly||!1);
this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.labelNode.innerHTML=this.option.label},_changeBox:function(){this.get("disabled")||this.get("readOnly")||(this.parent.multiple?this.option.selected=this.checkBox.get("value")&&!0:this.parent.set("value",this.option.value),this.parent._updateSelection(),this.parent.focus())},_onClick:function(D){this.get("disabled")||this.get("readOnly")?x.stop(D):this.checkBox._onClick(D)},_updateBox:function(){this.checkBox.set("value",
this.option.selected)},_setDisabledAttr:function(D){this.disabled=D||this.option.disabled;this.checkBox.set("disabled",this.disabled);f.toggle(this.domNode,"dojoxMultiSelectDisabled",this.disabled)},_setReadOnlyAttr:function(D){this.checkBox.set("readOnly",D);this.readOnly=D}}),t=A("dojox.form._CheckedMultiSelectMenu",h,{multiple:!1,buildRendering:function(){this.inherited(arguments);var D=this.menuTableNode=this.domNode,v=this.domNode=g.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}});
D.parentNode&&D.parentNode.replaceChild(v,D);f.remove(D,"dijitMenuTable");v.className=D.className+" dojoxCheckedMultiSelectMenu";D.className="dijitReset dijitMenuTable";D.setAttribute("role","listbox");v.setAttribute("role","presentation");v.appendChild(D)},resize:function(D){D&&(l.setMarginBox(this.domNode,D),"w"in D&&(this.menuTableNode.style.width="100%"))},onClose:function(){this.inherited(arguments);this.menuTableNode&&(this.menuTableNode.style.width="")},onItemClick:function(D,v){"undefined"==
typeof this.isShowingNow&&this._markActive();this.focusChild(D);if(D.disabled||D.readOnly)return!1;if(!this.multiple)this.onExecute();D.onClick(v)}}),z=A("dojox.form._CheckedMultiSelectMenuItem",n,{templateString:y,option:null,parent:null,iconClass:"",postMixInProperties:function(){this.parent.multiple?(this._iconClass="dojoxCheckedMultiSelectMenuCheckBoxItemIcon",this._type={type:"checkbox"}):(this._iconClass="",this._type={type:"hidden"});this.disabled=this.option.disabled;this.checked=this.option.selected;
this.label=this.option.label;this.readOnly=this.option.readOnly;this.inherited(arguments)},onChange:function(D){},_updateBox:function(){f.toggle(this.domNode,"dojoxCheckedMultiSelectMenuItemChecked",!!this.option.selected);this.domNode.setAttribute("aria-checked",this.option.selected);this.inputNode.checked=this.option.selected;this.parent.multiple||f.toggle(this.domNode,"dijitSelectSelectedOption",!!this.option.selected)},_onClick:function(D){this.disabled||this.readOnly||(this.parent.multiple?(this.option.selected=
!this.option.selected,this.parent.onChange(),this.onChange(this.option.selected)):this.option.selected||(B.forEach(this.parent.getChildren(),function(v){v.option.selected=!1}),this.option.selected=!0,this.parent.onChange(),this.onChange(this.option.selected)));this.inherited(arguments)}});return A("dojox.form.CheckedMultiSelect",k,{templateString:u,baseClass:"dojoxCheckedMultiSelect",required:!1,invalidMessage:"$_unset_$",_message:"",dropDown:!1,labelText:"",tooltipPosition:[],postMixInProperties:function(){this.inherited(arguments);
this._nlsResources=d.getLocalization("dojox.form","CheckedMultiSelect",this.lang);"$_unset_$"==this.invalidMessage&&(this.invalidMessage=this._nlsResources.invalidMessage)},_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var D=this.srcNodeRef.selectedIndex||0;this.value=this.options[0<=D?D:0].value}this.dropDown&&(f.toggle(this.selectNode,"dojoxCheckedMultiSelectHidden"),this.dropDownMenu=new t({id:this.id+"_menu",style:"display: none;",multiple:this.multiple,
onChange:C.hitch(this,"_updateSelection")}))},startup:function(){this.dropDown&&(this.dropDownButton=new m({label:this.labelText,dropDown:this.dropDownMenu,baseClass:"dojoxCheckedMultiSelectButton",maxHeight:this.maxHeight},this.comboButtonNode));this.inherited(arguments)},_onMouseDown:function(D){D.preventDefault()},validator:function(){return this.required?B.some(this.getOptions(),function(D){return D.selected&&null!=D.value&&0!=D.value.toString().length}):!0},validate:function(D){r.hide(this.domNode);
(D=this.isValid(D))||this.displayMessage(this.invalidMessage);return D},isValid:function(D){return this.validator()},getErrorMessage:function(D){return this.invalidMessage},displayMessage:function(D){r.hide(this.domNode);D&&r.show(D,this.domNode,this.tooltipPosition)},onAfterAddOptionItem:function(D,v){},_addOptionItem:function(D){if(this.dropDown){var v=new z({option:D,parent:this.dropDownMenu});this.dropDownMenu.addChild(v)}else v=new q({option:D,parent:this,disabled:this.disabled,readOnly:this.readOnly}),
this.wrapperDiv.appendChild(v.domNode);this.onAfterAddOptionItem(v,D)},_refreshState:function(){this.validate(this.focused)},onChange:function(D){this._refreshState()},reset:function(){this.inherited(arguments);r.hide(this.domNode)},_updateSelection:function(){this.inherited(arguments);this._handleOnChange(this.value);B.forEach(this._getChildren(),function(F){F._updateBox()});g.empty(this.containerNode);var D=this;B.forEach(this.value,function(F){F=g.create("option",{value:F,label:F,selected:"selected"});
g.place(F,D.containerNode)});if(this.dropDown&&this.dropDownButton){var v=0,E="";B.forEach(this.options,function(F){F.selected&&(v++,E=F.label)});this.dropDownButton.set("label",this.multiple?C.replace(this._nlsResources.multiSelectLabelText,{num:v}):E)}},_getChildren:function(){return this.dropDown?this.dropDownMenu.getChildren():B.map(this.wrapperDiv.childNodes,function(D){return e.byNode(D)})},invertSelection:function(D){this.multiple&&(B.forEach(this.options,function(v){v.selected=!v.selected}),
this._updateSelection())},_setDisabledAttr:function(D){this.inherited(arguments);this.dropDown&&this.dropDownButton.set("disabled",D);B.forEach(this._getChildren(),function(v){v&&v.set&&v.set("disabled",D)})},_setReadOnlyAttr:function(D){this.inherited(arguments);"readOnly"in this.attributeMap&&this[this.attributeMap.readOnly].setAttribute("readonly",D);this.readOnly=D;B.forEach(this._getChildren(),function(v){v&&v.set&&v.set("readOnly",D)})},uninitialize:function(){r.hide(this.domNode);B.forEach(this._getChildren(),
function(D){D.destroyRecursive()});this.inherited(arguments)}})})},"dojox/grid/enhanced/_PluginManager":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/_base/connect ./_Events ./_FocusManager ../util".split(" "),function(A,C,B,x,l,f,g,d){var c=B("dojox.grid.enhanced._PluginManager",null,{_options:null,_plugins:null,_connects:null,constructor:function(a){this.grid=a;this._store=a.store;this._options={};this._plugins=[];this._connects=[];this._parseProps(this.grid.plugins);
a.connect(a,"_setStore",C.hitch(this,function(b){this._store!==b&&(this.forEach("onSetStore",[b,this._store]),this._store=b)}))},startup:function(){this.forEach("onStartUp")},preInit:function(){this.grid.focus.destroy();this.grid.focus=new g(this.grid);new f(this.grid);this._init(!0);this.forEach("onPreInit")},postInit:function(){this._init(!1);x.forEach(this.grid.views.views,this._initView,this);this._connects.push(l.connect(this.grid.views,"addView",C.hitch(this,this._initView)));if(0<this._plugins.length){var a=
this.grid.edit;a&&(a.styleRow=function(b){})}this.forEach("onPostInit")},forEach:function(a,b){x.forEach(this._plugins,function(e){e&&e[a]&&e[a].apply(e,b?b:[])})},_parseProps:function(a){if(a){var b,e={},h=this._options,n=this.grid,r=c.registry;for(b in a)a[b]&&this._normalize(b,a,r,e);h.dnd&&(h.columnReordering=!1);C.mixin(n,h)}},_normalize:function(a,b,e,h){if(!e[a])throw Error("Plugin "+a+" is required.");if(h[a])throw Error("Recursive cycle dependency is not supported.");var n=this._options;
if(n[a])return n[a];h[a]=!0;n[a]=C.mixin({},e[a],C.isObject(b[a])?b[a]:{});var r=n[a].dependency;r&&(C.isArray(r)||(r=n[a].dependency=[r]),x.forEach(r,function(k){if(!this._normalize(k,b,e,h))throw Error("Plugin "+k+" is required.");},this));delete h[a];return n[a]},_init:function(a){var b,e=this._options;for(b in e){var h=e[b].preInit;(a?h:!h)&&e[b]["class"]&&!this.pluginExisted(b)&&this.loadPlugin(b)}},loadPlugin:function(a){var b=this._options[a];if(!b)return null;if(a=this.getPlugin(a))return a;
x.forEach(b.dependency,function(e){if(!this.loadPlugin(e))throw Error("Plugin "+e+" is required.");},this);a=b["class"];delete b["class"];a=(new this.getPluginClazz(a))(this.grid,b);this._plugins.push(a);return a},_initView:function(a){a&&(d.funnelEvents(a.contentNode,a,"doContentEvent",["mouseup","mousemove"]),d.funnelEvents(a.headerNode,a,"doHeaderEvent",["mouseup"]))},pluginExisted:function(a){return!!this.getPlugin(a)},getPlugin:function(a){var b=this._plugins;a=a.toLowerCase();for(var e=0,h=
b.length;e<h;e++)if(a==b[e].name.toLowerCase())return b[e];return null},getPluginClazz:function(a){if(C.isFunction(a))return a;var b='Please make sure Plugin "'+a+'" is existed.';try{var e=C.getObject(a);if(!e)throw Error(b);return e}catch(h){throw Error(b);}},isFixedCell:function(a){return a&&(a.isRowSelector||a.fixedPos)},destroy:function(){x.forEach(this._connects,l.disconnect);this.forEach("destroy");this.grid.unwrap&&this.grid.unwrap();delete this._connects;delete this._plugins;delete this._options}});
c.registerPlugin=function(a,b){if(a){var e=c;e.registry=e.registry||{};e.registry[a.prototype.name]=C.mixin({"class":a},b?b:{})}};return c})},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(A,C,B){var x={},l={},f={length:0,add:function(g){if(l[g.id])throw Error("Tried to register widget with id\x3d\x3d"+g.id+" but that id is already registered");l[g.id]=g;this.length++},remove:function(g){l[g]&&(delete l[g],this.length--)},byId:function(g){return"string"==
typeof g?l[g]:g},byNode:function(g){return l[g.getAttribute("widgetId")]},toArray:function(){var g=[],d;for(d in l)g.push(l[d]);return g},getUniqueId:function(g){do var d=g+"_"+(g in x?++x[g]:x[g]=0);while(l[d]);return"dijit"==B._scopeName?d:B._scopeName+"_"+d},findWidgets:function(g,d){function c(b){for(b=b.firstChild;b;b=b.nextSibling)if(1==b.nodeType){var e=b.getAttribute("widgetId");e?(e=l[e])&&a.push(e):b!==d&&c(b)}}var a=[];c(g);return a},_destroyAll:function(){B._curFocus=null;B._prevFocus=
null;B._activeStack=[];A.forEach(f.findWidgets(C.body()),function(g){g._destroyed||(g.destroyRecursive?g.destroyRecursive():g.destroy&&g.destroy())})},getEnclosingWidget:function(g){for(;g;){var d=1==g.nodeType&&g.getAttribute("widgetId");if(d)return l[d];g=g.parentNode}return null},_hash:l};return B.registry=f})},"dijit/_base/focus":function(){define("dojo/_base/array dojo/dom dojo/_base/lang dojo/topic dojo/_base/window ../focus ../selection ../main".split(" "),function(A,C,B,x,l,f,g,d){f.focus=
function(c){if(c){var a="node"in c?c.node:c,b=c.bookmark;c=c.openedForWindow;var e=b?b.isCollapsed:!1;if(a){var h="iframe"==a.tagName.toLowerCase()?a.contentWindow:a;if(h&&h.focus)try{h.focus()}catch(n){}f._onFocusNode(a)}if(b&&l.withGlobal(c||l.global,d.isCollapsed)&&!e){c&&c.focus();try{l.withGlobal(c||l.global,d.moveToBookmark,null,[b])}catch(n){}}}};f.watch("curNode",function(c,a,b){d._curFocus=b;d._prevFocus=a;b&&x.publish("focusNode",b)});f.watch("activeStack",function(c,a,b){d._activeStack=
b});f.on("widget-blur",function(c,a){x.publish("widgetBlur",c,a)});f.on("widget-focus",function(c,a){x.publish("widgetFocus",c,a)});B.mixin(d,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return d.getBookmark().isCollapsed},getBookmark:function(){return(l.global==window?g:new g.SelectionManager(l.global)).getBookmark()},moveToBookmark:function(c){return(l.global==window?g:new g.SelectionManager(l.global)).moveToBookmark(c)},getFocus:function(c,a){var b=!f.curNode||c&&C.isDescendant(f.curNode,
c.domNode)?d._prevFocus:f.curNode;return{node:b,bookmark:b&&b==f.curNode&&l.withGlobal(a||l.global,d.getBookmark),openedForWindow:a}},_activeStack:[],registerIframe:function(c){return f.registerIframe(c)},unregisterIframe:function(c){c&&c.remove()},registerWin:function(c,a){return f.registerWin(c,a)},unregisterWin:function(c){c&&c.remove()}});return d})},"dijit/form/_FormMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/on dojo/window".split(" "),
function(A,C,B,x,l,f){return C("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(g){var d=[];A.forEach(g||this.getChildren(),function(c){"value"in c?d.push(c):d=d.concat(this._getDescendantFormWidgets(c.getChildren()))},this);return d},reset:function(){A.forEach(this._getDescendantFormWidgets(),function(g){g.reset&&g.reset()})},validate:function(){var g=!1;return A.every(A.map(this._getDescendantFormWidgets(),function(d){d._hasBeenBlurred=!0;var c=d.disabled||!d.validate||
d.validate();c||g||(f.scrollIntoView(d.containerNode||d.domNode),d.focus(),g=!0);return c}),function(d){return d})},setValues:function(g){B.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",g)},_setValueAttr:function(g){var d={};A.forEach(this._getDescendantFormWidgets(),function(e){e.name&&(d[e.name]||(d[e.name]=[])).push(e)});for(var c in d)if(d.hasOwnProperty(c)){var a=d[c],b=x.getObject(c,!1,g);void 0!==b&&(b=[].concat(b),
"boolean"==typeof a[0].checked?A.forEach(a,function(e){e.set("value",-1!=A.indexOf(b,e._get("value")))}):a[0].multiple?a[0].set("value",b):A.forEach(a,function(e,h){e.set("value",b[h])}))}},getValues:function(){B.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},_getValueAttr:function(){var g={};A.forEach(this._getDescendantFormWidgets(),function(d){var c=d.name;if(c&&!d.disabled){var a=d.get("value");"boolean"==typeof d.checked?
/Radio/.test(d.declaredClass)?!1!==a?x.setObject(c,a,g):(a=x.getObject(c,!1,g),void 0===a&&x.setObject(c,null,g)):(d=x.getObject(c,!1,g),d||(d=[],x.setObject(c,d,g)),!1!==a&&d.push(a)):(d=x.getObject(c,!1,g),"undefined"!=typeof d?x.isArray(d)?d.push(a):x.setObject(c,[d,a],g):x.setObject(c,a,g))}});return g},isValid:function(){return""==this.state},onValidStateChange:function(){},_getState:function(){var g=A.map(this._descendants,function(d){return d.get("state")||""});return 0<=A.indexOf(g,"Error")?
"Error":0<=A.indexOf(g,"Incomplete")?"Incomplete":""},disconnectChildren:function(){},connectChildren:function(g){this._descendants=this._getDescendantFormWidgets();A.forEach(this._descendants,function(d){d._started||d.startup()});g||this._onChildChange()},_onChildChange:function(g){g&&"state"!=g&&"disabled"!=g||this._set("state",this._getState());g&&"value"!=g&&"disabled"!=g&&"checked"!=g||(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 g=this;this.own(l(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(d){d.target!=g.domNode&&g._onChildChange(d.type.replace("attrmodified-",""))}));this.watch("state",function(d,c,a){this.onValidStateChange(""==a)})},destroy:function(){this.inherited(arguments)}})})},
"dijit/BackgroundIframe":function(){define("require ./main dojo/_base/config dojo/dom-construct dojo/dom-style dojo/_base/lang dojo/on dojo/sniff".split(" "),function(A,C,B,x,l,f,g,d){d.add("config-bgIframe",(d("ie")||d("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var c=new function(){var a=[];this.pop=function(){if(a.length){var b=a.pop();b.style.display=""}else 9>d("ie")?(b=B.dojoBlankHtmlUrl||A.toUrl("dojo/resources/blank.html")||'javascript:""',b=document.createElement("\x3ciframe src\x3d'"+
b+"' role\x3d'presentation' style\x3d'position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity\x3d\"0\");'\x3e")):(b=x.create("iframe"),b.src='javascript:""',b.className="dijitBackgroundIframe",b.setAttribute("role","presentation"),l.set(b,"opacity",.1)),b.tabIndex=-1;return b};this.push=function(b){b.style.display="none";a.push(b)}};C.BackgroundIframe=function(a){if(!a.id)throw Error("no id");if(d("config-bgIframe")){var b=this.iframe=c.pop();a.appendChild(b);7>d("ie")||d("quirks")?
(this.resize(a),this._conn=g(a,"resize",f.hitch(this,"resize",a))):l.set(b,{width:"100%",height:"100%"})}};f.extend(C.BackgroundIframe,{resize:function(a){this.iframe&&l.set(this.iframe,{width:a.offsetWidth+"px",height:a.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null);this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),c.push(this.iframe),delete this.iframe)}});return C.BackgroundIframe})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){e=A("dijit.layout._TabButton"+(l("dojo-bidi")?"_NoBidi":""),d.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:e,_setNameAttr:"focusNode",scrollOnFocus:!1,buildRendering:function(){this.inherited(arguments);C.setSelectable(this.containerNode,!1)},startup:function(){this.inherited(arguments);var h=this.domNode;this.defer(function(){h.className=h.className},1)},_setCloseButtonAttr:function(h){this._set("closeButton",h);
x.toggle(this.domNode,"dijitClosable",h);this.closeNode.style.display=h?"":"none";h&&(h=f.getLocalization("dijit","common"),this.closeNode&&B.set(this.closeNode,"title",h.itemClose))},_setDisabledAttr:function(h){this.inherited(arguments);if(this.closeNode)if(h)B.remove(this.closeNode,"title");else{var n=f.getLocalization("dijit","common");B.set(this.closeNode,"title",n.itemClose)}},_setLabelAttr:function(h){this.inherited(arguments);this.showLabel||this.params.title||(this.iconNode.alt=g.trim(this.containerNode.innerText||
this.containerNode.textContent||""))}});l("dojo-bidi")&&(e=A("dijit.layout._TabButton",e,{_setLabelAttr:function(h){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt)}}));A=A("dijit.layout.TabController",d,{baseClass:"dijitTabController",templateString:"\x3cdiv role\x3d'tablist' data-dojo-attach-event\x3d'onkeydown:onkeydown'\x3e\x3c/div\x3e",tabPosition:"top",buttonWidget:e,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var h=
new a({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(k){return x.contains(k,"dijitClosable")&&!x.contains(k,"dijitTabDisabled")}});this.own(h);var n=f.getLocalization("dijit","common"),r=this;h.addChild(new b({label:n.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(k){k=c.byNode(this.getParent().currentTarget);r.onCloseButtonClick(k.page)}}))}});
A.TabButton=e;return A})},"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r){return C("dijit._MenuBase",[e,r,n,h],{selected:null,_setSelectedAttr:function(k){this.selected!=k&&(this.selected&&(this.selected._setSelected(!1),this._onChildDeselect(this.selected)),
k&&k._setSelected(!0),this._set("selected",k))},activated:!1,_setActivatedAttr:function(k){l.toggle(this.domNode,"dijitMenuActive",k);l.toggle(this.domNode,"dijitMenuPassive",!k);this._set("activated",k)},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:!1,childSelector:function(k){var m=b.byNode(k);return k.parentNode==this.containerNode&&m&&m.focus},postCreate:function(){var k=this,m="string"==typeof this.childSelector?this.childSelector:f.hitch(this,"childSelector");this.own(d(this.containerNode,
d.selector(m,g.enter),function(){k.onItemHover(b.byNode(this))}),d(this.containerNode,d.selector(m,g.leave),function(){k.onItemUnhover(b.byNode(this))}),d(this.containerNode,d.selector(m,a),function(y){k.onItemClick(b.byNode(this),y);y.stopPropagation()}),d(this.containerNode,d.selector(m,"focusin"),function(){k._onItemFocus(b.byNode(this))}));this.inherited(arguments)},onKeyboardSearch:function(k,m,y,p){this.inherited(arguments);if(k&&(-1==p||k.popup&&1==p))this.onItemClick(k,m)},_keyboardSearchCompare:function(k,
m){return k.shortcutKey?m==k.shortcutKey.toLowerCase()?-1:0:this.inherited(arguments)?1:0},onExecute:function(){},onCancel:function(){},_moveToPopup:function(k){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,k);else(k=this._getTopMenu())&&k._isMenuBar&&k.focusNext()},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer()},onItemHover:function(k){this.activated?(this.set("selected",k),!k.popup||
k.disabled||this.hover_timer||(this.hover_timer=this.defer(function(){this._openItemPopup(k)},this.popupDelay))):Infinity>this.passivePopupDelay&&(this.passive_hover_timer&&this.passive_hover_timer.remove(),this.passive_hover_timer=this.defer(function(){this.onItemClick(k,{type:"click"})},this.passivePopupDelay));this._hoveredChild=k;k._set("hovering",!0)},_onChildDeselect:function(k){this._stopPopupTimer();this.currentPopupItem==k&&(this._stopPendingCloseTimer(),this._pendingClose_timer=this.defer(function(){this.currentPopupItem=
this._pendingClose_timer=null;k._closePopup()},this.popupDelay))},onItemUnhover:function(k){this._hoveredChild==k&&(this._hoveredChild=null);this.passive_hover_timer&&(this.passive_hover_timer.remove(),this.passive_hover_timer=null);k._set("hovering",!1)},_stopPopupTimer:function(){this.hover_timer&&(this.hover_timer=this.hover_timer.remove())},_stopPendingCloseTimer:function(){this._pendingClose_timer&&(this._pendingClose_timer=this._pendingClose_timer.remove())},_getTopMenu:function(){for(var k=
this;k.parentMenu;k=k.parentMenu);return k},onItemClick:function(k,m){this.passive_hover_timer&&this.passive_hover_timer.remove();this.focusChild(k);if(k.disabled)return!1;if(k.popup){this.set("selected",k);this.set("activated",!0);var y=/^key/.test(m._origType||m.type)||0==m.clientX&&0==m.clientY;this._openItemPopup(k,y)}else this.onExecute(),k._onClick?k._onClick(m):k.onClick(m)},_openItemPopup:function(k,m){if(k!=this.currentPopupItem){this.currentPopupItem&&(this._stopPendingCloseTimer(),this.currentPopupItem._closePopup());
this._stopPopupTimer();var y=k.popup;y.parentMenu=this;this.own(this._mouseoverHandle=d.once(y.domNode,"mouseover",f.hitch(this,"_onPopupHover")));var p=this;k._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){m&&p.focusChild(k);p._cleanUp()},onExecute:f.hitch(this,"_cleanUp",!0),onClose:function(){p._mouseoverHandle&&(p._mouseoverHandle.remove(),delete p._mouseoverHandle)}},m);this.currentPopupItem=k}},onOpen:function(){this.isShowingNow=!0;this.set("activated",
!0)},onClose:function(){this.set("activated",!1);this.set("selected",null);this.isShowingNow=!1;this.parentMenu=null},_closeChild:function(){this._stopPopupTimer();this.currentPopupItem&&(this.focused&&(x.set(this.selected.focusNode,"tabIndex",this.tabIndex),this.selected.focusNode.focus()),this.currentPopupItem._closePopup(),this.currentPopupItem=null)},_onItemFocus:function(k){if(this._hoveredChild&&this._hoveredChild!=k)this.onItemUnhover(this._hoveredChild);this.set("selected",k)},_onBlur:function(){this._cleanUp(!0);
this.inherited(arguments)},_cleanUp:function(k){this._closeChild();"undefined"==typeof this.isShowingNow&&this.set("activated",!1);k&&this.set("selected",null)}})})},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../Destroyable","../form/Button"],function(A,C,B,x,l){C=C("dijit._editor._Plugin",x,{constructor:function(f){this.params=f||{};B.mixin(this,this.params);this._attrPairNames={}},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,
command:"",useDefaultCommand:!0,buttonClass:l,disabled:!1,getLabel:function(f){return this.editor.commands[f]},_initButton:function(){if(this.command.length){var f=this.getLabel(this.command),g=this.editor,d=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);this.button||(f=B.mixin({label:f,ownerDocument:g.ownerDocument,dir:g.dir,lang:g.lang,showLabel:!1,iconClass:d,dropDown:this.dropDown,tabIndex:"-1"},this.params||{}),delete f.name,this.button=
new this.buttonClass(f))}this.get("disabled")&&this.button&&this.button.set("disabled",this.get("disabled"))},destroy:function(){this.dropDown&&this.dropDown.destroyRecursive();this.inherited(arguments)},connect:function(f,g,d){this.own(A.connect(f,g,this,d))},updateState:function(){var f=this.editor,g=this.command;if(f&&f.isLoaded&&g.length){var d=this.get("disabled");if(this.button)try{var c=f._implCommand(g);var a=!d&&(this[c]?this[c](g):f.queryCommandEnabled(g));this.enabled!==a&&(this.enabled=
a,this.button.set("disabled",!a));if(a&&"boolean"==typeof this.button.checked){var b=f.queryCommandState(g);this.checked!==b&&(this.checked=b,this.button.set("checked",f.queryCommandState(g)))}}catch(e){}}},setEditor:function(f){this.editor=f;this._initButton();this.button&&this.useDefaultCommand&&(this.editor.queryCommandAvailable(this.command)?this.own(this.button.on("click",B.hitch(this.editor,"execCommand",this.command,this.commandArg))):this.button.domNode.style.display="none");this.own(this.editor.on("NormalizedDisplayChanged",
B.hitch(this,"updateState")))},setToolbar:function(f){this.button&&f.addChild(this.button)},set:function(f,g){if("object"===typeof f){for(var d in f)this.set(d,f[d]);return this}d=this._getAttrNames(f);if(this[d.s])var c=this[d.s].apply(this,Array.prototype.slice.call(arguments,1));else this._set(f,g);return c||this},get:function(f){var g=this._getAttrNames(f);return this[g.g]?this[g.g]():this[f]},_setDisabledAttr:function(f){this._set("disabled",f);this.updateState()},_getAttrNames:function(f){var g=
this._attrPairNames;if(g[f])return g[f];var d=f.charAt(0).toUpperCase()+f.substr(1);return g[f]={s:"_set"+d+"Attr",g:"_get"+d+"Attr"}},_set:function(f,g){this[f]=g}});C.registry={};return C})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u){e=C("dijit.layout.ScrollingTabController",[n,k],{baseClass:"dijitTabController dijitScrollingTabController",templateString:e,useMenu:!0,useSlider:!0,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var w=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();this.tabStripClass||(this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+
this.tabPosition.substr(1).replace(/-.*/,"")+"None",B.add(w,"tabStrip-disabled"));B.add(this.tablistWrapper,this.tabStripClass)},onStartup:function(){this.inherited(arguments);l.set(this.domNode,"visibility","");this._postStartup=!0;this.own(d(this.containerNode,"attrmodified-label, attrmodified-iconclass",g.hitch(this,function(w){this._dim&&this.resize(this._dim)})))},onAddChild:function(w,q){this.inherited(arguments);l.set(this.containerNode,"width",l.get(this.containerNode,"width")+200+"px")},
onRemoveChild:function(w,q){var t=this.pane2button(w.id);this._selectedTab===t.domNode&&(this._selectedTab=null);this.inherited(arguments)},_initButtons:function(){this._btnWidth=0;this._buttons=c("\x3e .tabStripButton",this.domNode).filter(function(w){if(this.useMenu&&w==this._menuBtn.domNode||this.useSlider&&(w==this._rightBtn.domNode||w==this._leftBtn.domNode))return this._btnWidth+=x.getMarginSize(w).w,!0;l.set(w,"display","none");return!1},this)},_getTabsWidth:function(){var w=this.getChildren();
if(w.length){var q=w[this.isLeftToRight()?0:w.length-1].domNode;w=w[this.isLeftToRight()?w.length-1:0].domNode;return w.offsetLeft+w.offsetWidth-q.offsetLeft}return 0},_enableBtn:function(w){var q=this._getTabsWidth();w=w||l.get(this.scrollNode,"width");return 0<q&&w<q},resize:function(w){this._dim=w;this.scrollNode.style.height="auto";var q=this._contentBox=r.marginBox2contentBox(this.domNode,{h:0,w:w.w});q.h=this.scrollNode.offsetHeight;x.setContentSize(this.domNode,q);q=this._enableBtn(this._contentBox.w);
this._buttons.style("display",q?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";r.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);this._selectedTab&&(this._anim&&"playing"==this._anim.status()&&this._anim.stop(),this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab()));this._setButtonClass(this._getScroll());
this._postResize=!0;return{h:this._contentBox.h,w:w.w}},_getScroll:function(){return this.isLeftToRight()||8>a("ie")||a("trident")&&a("quirks")||a("webkit")?this.scrollNode.scrollLeft:l.get(this.containerNode,"width")-l.get(this.scrollNode,"width")+(a("trident")||a("edge")?-1:1)*this.scrollNode.scrollLeft},_convertToScrollLeft:function(w){if(this.isLeftToRight()||8>a("ie")||a("trident")&&a("quirks")||a("webkit"))return w;var q=l.get(this.containerNode,"width")-l.get(this.scrollNode,"width");return(a("trident")||
a("edge")?-1:1)*(w-q)},onSelectChild:function(w,q){var t=this.pane2button(w.id);if(t){var z=t.domNode;if(z!=this._selectedTab&&(this._selectedTab=z,this._postResize)){var D=this._getScroll();D>z.offsetLeft||D+l.get(this.scrollNode,"width")<z.offsetLeft+l.get(z,"width")?(z=this.createSmoothScroll(),q&&(z.onEnd=function(){t.focus()}),z.play()):q&&t.focus()}this.inherited(arguments)}},_getScrollBounds:function(){var w=this.getChildren(),q=l.get(this.scrollNode,"width"),t=l.get(this.containerNode,"width")-
q,z=this._getTabsWidth();if(w.length&&z>q)return{min:this.isLeftToRight()?0:w[w.length-1].domNode.offsetLeft,max:this.isLeftToRight()?w[w.length-1].domNode.offsetLeft+w[w.length-1].domNode.offsetWidth-q:t};w=this.isLeftToRight()?0:t;return{min:w,max:w}},_getScrollForSelectedTab:function(){var w=this._selectedTab,q=l.get(this.scrollNode,"width"),t=this._getScrollBounds();w=w.offsetLeft+l.get(w,"width")/2-q/2;return w=Math.min(Math.max(w,t.min),t.max)},createSmoothScroll:function(w){if(0<arguments.length){var q=
this._getScrollBounds();w=Math.min(Math.max(w,q.min),q.max)}else w=this._getScrollForSelectedTab();this._anim&&"playing"==this._anim.status()&&this._anim.stop();var t=this,z=this.scrollNode,D=new f.Animation({beforeBegin:function(){this.curve&&delete this.curve;var v=z.scrollLeft,E=t._convertToScrollLeft(w);D.curve=new f._Line(v,E)},onAnimate:function(v){z.scrollLeft=v}});this._anim=D;this._setButtonClass(w);return D},_getBtnNode:function(w){for(w=w.target;w&&!B.contains(w,"tabStripButton");)w=w.parentNode;
return w},doSlideRight:function(w){this.doSlide(1,this._getBtnNode(w))},doSlideLeft:function(w){this.doSlide(-1,this._getBtnNode(w))},doSlide:function(w,q){if(!q||!B.contains(q,"dijitTabDisabled")){var t=.75*l.get(this.scrollNode,"width")*w;t=this._getScroll()+t;this._setButtonClass(t);this.createSmoothScroll(t).play()}},_setButtonClass:function(w){var q=this._getScrollBounds();this._leftBtn.set("disabled",w<=q.min);this._rightBtn.set("disabled",w>=q.max)}});h=C("dijit.layout._ScrollingTabControllerButtonMixin",
null,{baseClass:"dijitTab tabStripButton",templateString:h,tabIndex:"",isFocusable:function(){return!1}});C("dijit.layout._ScrollingTabControllerButton",[p,h]);C("dijit.layout._ScrollingTabControllerMenuButton",[p,u,h],{containerId:"",tabIndex:"-1",isLoaded:function(){return!1},loadDropDown:function(w){this.dropDown=new m({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var q=b.byId(this.containerId);A.forEach(q.getChildren(),function(t){var z=
new y({id:t.id+"_stcMi",label:t.title,iconClass:t.iconClass,disabled:t.disabled,ownerDocument:this.ownerDocument,dir:t.dir,lang:t.lang,textDir:t.textDir||q.textDir,onClick:function(){q.selectChild(t)}});this.dropDown.addChild(z)},this);w()},closeDropDown:function(w){this.inherited(arguments);this.dropDown&&(this._popupStateNode.removeAttribute("aria-owns"),this.dropDown.destroyRecursive(),delete this.dropDown)}});return e})},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on",
"dojo/touch","./_ListBase"],function(A,C,B,x){return A("dijit.form._ListMouseMixin",x,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=!0;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut")},_onClick:function(l,f){this._setSelectedAttr(f,!1);this._deferredClick&&this._deferredClick.remove();this._deferredClick=this.defer(function(){this._deferredClick=
null;this.onClick(f)})},_onMouseDown:function(l,f){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging=!0;this._setSelectedAttr(f,!1)},_onMouseUp:function(l,f){this._isDragging=!1;var g=this.selected,d=this._hoveredNode;g&&f==g?this.defer(function(){this._onClick(l,g)}):d&&this.defer(function(){this._onClick(l,d)})},_onMouseOut:function(l,f){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging&&(this._cancelDrag=
(new Date).getTime()+1E3)},_onMouseOver:function(l,f){this._cancelDrag&&((new Date).getTime()>this._cancelDrag&&(this._isDragging=!1),this._cancelDrag=null);this._hoveredNode=f;this.onHover(f);this._isDragging&&this._setSelectedAttr(f,!1)}})})},"dojo/io-query":function(){define(["./_base/lang"],function(A){var C={};return{objectToQuery:function(B){var x=encodeURIComponent,l=[],f;for(f in B){var g=B[f];if(g!=C[f]){var d=x(f)+"\x3d";if(A.isArray(g))for(var c=0,a=g.length;c<a;++c)l.push(d+x(g[c]));else l.push(d+
x(g))}}return l.join("\x26")},queryToObject:function(B){var x=decodeURIComponent;B=B.split("\x26");for(var l={},f,g,d=0,c=B.length;d<c;++d)if(g=B[d],g.length){var a=g.indexOf("\x3d");0>a?(f=x(g),g=""):(f=x(g.slice(0,a)),g=x(g.slice(a+1)));"string"==typeof l[f]&&(l[f]=[l[f]]);A.isArray(l[f])?l[f].push(g):l[f]=g}return l}}})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b){return C("dijit.tree._dndSelector",b,{constructor:function(){this.selection={};this.anchor=null;this.events.push(d(this.tree.domNode,c.press,x.hitch(this,"onMouseDown")),d(this.tree.domNode,c.release,x.hitch(this,"onMouseUp")),d(this.tree.domNode,c.move,x.hitch(this,"onMouseMove")),d(this.tree.domNode,a.press,x.hitch(this,"onClickPress")),d(this.tree.domNode,a.release,x.hitch(this,"onClickRelease")))},singular:!1,getSelectedTreeNodes:function(){var e=[],h=this.selection,
n;for(n in h)e.push(h[n]);return e},selectNone:function(){this.setSelection([]);return this},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null},addTreeNode:function(e,h){this.setSelection(this.getSelectedTreeNodes().concat([e]));h&&(this.anchor=e);return e},removeTreeNode:function(e){var h=A.filter(this.getSelectedTreeNodes(),function(n){return!f.isDescendant(n.domNode,e.domNode)});this.setSelection(h);return e},isTreeNodeSelected:function(e){return e.id&&!!this.selection[e.id]},
setSelection:function(e){var h=this.getSelectedTreeNodes();A.forEach(this._setDifference(h,e),x.hitch(this,function(n){n.setSelected(!1);this.anchor==n&&delete this.anchor;delete this.selection[n.id]}));A.forEach(this._setDifference(e,h),x.hitch(this,function(n){n.setSelected(!0);this.selection[n.id]=n}));this._updateSelectionProperties()},_setDifference:function(e,h){A.forEach(h,function(r){r.__exclude__=!0});var n=A.filter(e,function(r){return!r.__exclude__});A.forEach(h,function(r){delete r.__exclude__});
return n},_updateSelectionProperties:function(){var e=this.getSelectedTreeNodes(),h=[],n=[];A.forEach(e,function(r){var k=r.getTreePath();n.push(r);h.push(k)},this);e=A.map(n,function(r){return r.item});this.tree._set("paths",h);this.tree._set("path",h[0]||[]);this.tree._set("selectedNodes",n);this.tree._set("selectedNode",n[0]||null);this.tree._set("selectedItems",e);this.tree._set("selectedItem",e[0]||null)},onClickPress:function(e){if(!(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,
this.current))){"mousedown"==e.type&&g.isLeft(e)&&e.preventDefault();var h="keydown"==e.type?this.tree.focusedChild:this.current;if(h){var n=l.getCopyKeyState(e),r=h.id;this.singular||e.shiftKey||!this.selection[r]?(this._doDeselect=!1,this.userSelect(h,n,e.shiftKey)):this._doDeselect=!0}}},onClickRelease:function(e){this._doDeselect&&(this._doDeselect=!1,this.userSelect("keyup"==e.type?this.tree.focusedChild:this.current,l.getCopyKeyState(e),e.shiftKey))},onMouseMove:function(){this._doDeselect=
!1},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(e,h){if(e===h)return 0;if("sourceIndex"in document.documentElement)return e.sourceIndex-h.sourceIndex;if("compareDocumentPosition"in document.documentElement)return e.compareDocumentPosition(h)&2?1:-1;if(document.createRange){var n=doc.createRange();n.setStartBefore(e);var r=doc.createRange();r.setStartBefore(h);return n.compareBoundaryPoints(n.END_TO_END,r)}throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");
},userSelect:function(e,h,n){if(this.singular)this.anchor==e&&h?this.selectNone():(this.setSelection([e]),this.anchor=e);else if(n&&this.anchor){h=this._compareNodes(this.anchor.rowNode,e.rowNode);n=this.anchor;0>h?h=n:(h=e,e=n);for(n=[];h!=e;)n.push(h),h=this.tree._getNext(h);n.push(e);this.setSelection(n)}else this.selection[e.id]&&h?this.removeTreeNode(e):h?this.addTreeNode(e,!0):(this.setSelection([e]),this.anchor=e)},getItem:function(e){return{data:this.selection[e],type:["treeNode"]}},forInSelectedItems:function(e,
h){h=h||B.global;for(var n in this.selection)e.call(h,this.getItem(n),n,this)}})})},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(A,C){var B={};C.setObject("dojo.cldr.monetary",B);B.getData=function(x){var l={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:2,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:2,PYG:0,RSD:0,RWF:0,SLL:0,
SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0}[x];x={}[x];"undefined"==typeof l&&(l=2);"undefined"==typeof x&&(x=0);return{places:l,round:x}};return B})},"dijit/_OnDijitClickMixin":function(){define("dojo/on dojo/_base/array dojo/keys dojo/_base/declare dojo/has ./a11yclick".split(" "),function(A,C,B,x,l,f){A=x("dijit._OnDijitClickMixin",null,{connect:function(g,d,c){return this.inherited(arguments,[g,"ondijitclick"==d?f:d,c])}});A.a11yclick=
f;return A})},"dojox/fx/scroll":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/fx dojo/_base/window dojox/fx/_base dojox/fx/_core dojo/dom-geometry dojo/_base/sniff".split(" "),function(A,C,B,x,l,f,g,d){A.experimental("dojox.fx.scroll");A=C.getObject("dojox.fx",!0);l.smoothScroll=function(c){c.target||(c.target=g.position(c.node));var a=c.win===x.global,b=c.target.x,e=c.target.y;if(!a){var h=g.position(c.win);b-=h.x;e-=h.y}var n=new B.Animation(C.mixin({beforeBegin:function(){this.curve&&
delete this.curve;var r=a?dojo._docScroll():{x:c.win.scrollLeft,y:c.win.scrollTop};n.curve=new f([r.x,r.y],[r.x+b,r.y+e])},onAnimate:a?function(r){c.win.scrollTo(r[0],r[1])}:function(r){c.win.scrollLeft=r[0];c.win.scrollTop=r[1]}},c));return n};return A.smoothScroll=l.smoothScroll})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n){x=C("dijit.layout._StackButton",n,{tabIndex:"-1",closeButton:!1,_aria_attr:"aria-selected",buildRendering:function(r){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab")}});C=C("dijit.layout.StackController",[b,e,h],{baseClass:"dijitStackController",templateString:"\x3cspan role\x3d'tablist' data-dojo-attach-event\x3d'onkeydown'\x3e\x3c/span\x3e",containerId:"",buttonWidget:x,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(r){return a.byId(this.id+
"_"+r)},postCreate:function(){this.inherited(arguments);this.own(d.subscribe(this.containerId+"-startup",f.hitch(this,"onStartup")),d.subscribe(this.containerId+"-addChild",f.hitch(this,"onAddChild")),d.subscribe(this.containerId+"-removeChild",f.hitch(this,"onRemoveChild")),d.subscribe(this.containerId+"-selectChild",f.hitch(this,"onSelectChild")),d.subscribe(this.containerId+"-containerKeyDown",f.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=!0;this.own(g(this.containerNode,"click",
f.hitch(this,function(r){var k=a.getEnclosingWidget(r.target);if(k!=this.containerNode&&!k.disabled&&k.page)for(r=r.target;r!==this.containerNode;r=r.parentNode)if(B.contains(r,this.buttonWidgetCloseClass)){this.onCloseButtonClick(k.page);break}else if(r==k.domNode){this.onButtonClick(k.page);break}})))},onStartup:function(r){this.textDir=r.textDir;A.forEach(r.children,this.onAddChild,this);if(r.selected)this.onSelectChild(r.selected);var k=a.byId(this.containerId).containerNode,m=f.hitch(this,"pane2button");
r={title:"label",showtitle:"showLabel",iconclass:"iconClass",closable:"closeButton",tooltip:"title",disabled:"disabled",textdir:"textdir"};var y=function(u,w){return g(k,"attrmodified-"+u,function(q){var t=m(q.detail&&q.detail.widget&&q.detail.widget.id);t&&t.set(w,q.detail.newValue)})},p;for(p in r)this.own(y(p,r[p]))},destroy:function(r){this.destroyDescendants(r);this.inherited(arguments)},onAddChild:function(r,k){var m=new (f.isString(this.buttonWidget)?f.getObject(this.buttonWidget):this.buttonWidget)({id:this.id+
"_"+r.id,name:this.id+"_"+r.id,label:r.title,disabled:r.disabled,ownerDocument:this.ownerDocument,dir:r.dir,lang:r.lang,textDir:r.textDir||this.textDir,showLabel:r.showTitle,iconClass:r.iconClass,closeButton:r.closable,title:r.tooltip,page:r});this.addChild(m,k);r.controlButton=m;if(!this._currentChild)this.onSelectChild(r);m=r._wrapper.getAttribute("aria-labelledby")?r._wrapper.getAttribute("aria-labelledby")+" "+m.id:m.id;r._wrapper.removeAttribute("aria-label");r._wrapper.setAttribute("aria-labelledby",
m)},onRemoveChild:function(r){this._currentChild===r&&(this._currentChild=null);var k=this.pane2button(r.id);k&&(this.removeChild(k),k.destroy());delete r.controlButton},onSelectChild:function(r){if(r){if(this._currentChild){var k=this.pane2button(this._currentChild.id);k.set("checked",!1);k.focusNode.setAttribute("tabIndex","-1")}k=this.pane2button(r.id);k.set("checked",!0);this._currentChild=r;k.focusNode.setAttribute("tabIndex","0");a.byId(this.containerId)}},onButtonClick:function(r){var k=this.pane2button(r.id);
c.focus(k.focusNode);this._currentChild&&this._currentChild.id===r.id&&k.set("checked",!0);a.byId(this.containerId).selectChild(r)},onCloseButtonClick:function(r){a.byId(this.containerId).closeChild(r);this._currentChild&&(r=this.pane2button(this._currentChild.id))&&c.focus(r.focusNode||r.domNode)},adjacent:function(r){this.isLeftToRight()||this.tabPosition&&!/top|bottom/.test(this.tabPosition)||(r=!r);var k=this.getChildren(),m=A.indexOf(k,this.pane2button(this._currentChild.id)),y=k[m];do{m=(m+
(r?1:k.length-1))%k.length;var p=k[m]}while(p.disabled&&p!=y);return p},onkeydown:function(r,k){if(!this.disabled&&!r.altKey){var m=null;if(r.ctrlKey||!r._djpage){switch(r.keyCode){case l.LEFT_ARROW:case l.UP_ARROW:r._djpage||(m=!1);break;case l.PAGE_UP:r.ctrlKey&&(m=!1);break;case l.RIGHT_ARROW:case l.DOWN_ARROW:r._djpage||(m=!0);break;case l.PAGE_DOWN:r.ctrlKey&&(m=!0);break;case l.HOME:for(var y=this.getChildren(),p=0;p<y.length;p++){var u=y[p];if(!u.disabled){this.onButtonClick(u.page);break}}r.stopPropagation();
r.preventDefault();break;case l.END:y=this.getChildren();for(p=y.length-1;0<=p;p--)if(u=y[p],!u.disabled){this.onButtonClick(u.page);break}r.stopPropagation();r.preventDefault();break;case l.DELETE:case 87:this._currentChild.closable&&(r.keyCode==l.DELETE||r.ctrlKey)&&(this.onCloseButtonClick(this._currentChild),r.stopPropagation(),r.preventDefault());break;case l.TAB:r.ctrlKey&&(this.onButtonClick(this.adjacent(!r.shiftKey).page),r.stopPropagation(),r.preventDefault())}null!==m&&(this.onButtonClick(this.adjacent(m).page),
r.stopPropagation(),r.preventDefault())}}},onContainerKeyDown:function(r){r.e._djpage=r.page;this.onkeydown(r.e)}});C.StackButton=x;return C})},"dojo/router/RouterBase":function(){define(["dojo/_base/declare","dojo/hash","dojo/topic"],function(A,C,B){function x(f,g,d){var c,a;var b=this.callbackQueue;var e=c=!1;g=[{stopImmediatePropagation:function(){c=!0},preventDefault:function(){e=!0},oldPath:g,newPath:d,params:f}];if(f instanceof Array)g=g.concat(f);else for(a in f)g.push(f[a]);f=0;for(a=b.length;f<
a;++f)c||b[f].apply(null,g);return!e}var l=String.prototype.trim?function(f){return f.trim()}:function(f){return f.replace(/^\s\s*/,"").replace(/\s\s*$/,"")};return A(null,{_routes:null,_routeIndex:null,_started:!1,_currentPath:"",idMatch:/:(\w[\w\d]*)/g,idReplacement:"([^\\/]+)",globMatch:/\*(\w[\w\d]*)/,globReplacement:"(.+)",constructor:function(f){this._routes=[];this._routeIndex={};for(var g in f)f.hasOwnProperty(g)&&(this[g]=f[g])},register:function(f,g){return this._registerRoute(f,g)},registerBefore:function(f,
g){return this._registerRoute(f,g,!0)},go:function(f,g){var d;if("string"!==typeof f)return!1;f=l(f);(d=this._handlePathChange(f))&&C(f,g);return d},startup:function(f){if(!this._started){var g=this,d=C();this._started=!0;this._hashchangeHandle=B.subscribe("/dojo/hashchange",function(){g._handlePathChange.apply(g,arguments)});d?this._handlePathChange(d):this.go(f,!0)}},destroy:function(){this._hashchangeHandle&&this._hashchangeHandle.remove();this._routeIndex=this._routes=null},_handlePathChange:function(f){var g,
d,c,a=this._routes,b=this._currentPath;if(!this._started||f===b)return e;var e=!0;var h=0;for(g=a.length;h<g;++h){var n=a[h];if(c=n.route.exec(f)){if(n.parameterNames){var r=n.parameterNames;var k={};e=0;for(d=r.length;e<d;++e)k[r[e]]=c[e+1]}else k=c.slice(1);e=n.fire(k,b,f)}}e&&(this._currentPath=f);return e},_convertRouteToRegExp:function(f){f=f.replace(this.idMatch,this.idReplacement);f=f.replace(this.globMatch,this.globReplacement);return new RegExp("^"+f+"$")},_getParameterNames:function(f){var g=
this.idMatch,d=this.globMatch,c=[],a;for(g.lastIndex=0;null!==(a=g.exec(f));)c.push(a[1]);null!==(a=d.exec(f))&&c.push(a[1]);return 0<c.length?c:null},_indexRoutes:function(){var f,g=this._routes;var d=this._routeIndex={};var c=0;for(f=g.length;c<f;++c){var a=g[c];d[a.route]=c}},_registerRoute:function(f,g,d){var c,a,b=this,e=this._routes,h=this._routeIndex;var n=this._routeIndex[f];(c="undefined"!==typeof n)&&(a=e[n]);a||(a={route:f,callbackQueue:[],fire:x});var r=a.callbackQueue;"string"==typeof f&&
(a.parameterNames=this._getParameterNames(f),a.route=this._convertRouteToRegExp(f));d?r.unshift(g):r.push(g);c||(n=e.length,h[f]=n,e.push(a));var k=!1;return{remove:function(){var m;if(!k){var y=0;for(m=r.length;y<m;++y)r[y]===g&&r.splice(y,1);0===r.length&&(e.splice(n,1),b._indexRoutes());k=!0}},register:function(m,y){return b.register(f,m,y)}}}})})},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(A,C,B){return A("dijit.form.DateTextBox",
B,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:C,_selector:"date",maxHeight:Infinity,value:new Date("")})})},"dojo/json5/util":function(){define(["./unicode"],function(A){return{isSpaceSeparator:function(C){return"string"===typeof C&&A.Space_Separator.test(C)},isIdStartChar:function(C){return"string"===typeof C&&("a"<=C&&"z">=C||"A"<=C&&"Z">=C||"$"===C||"_"===C||A.ID_Start.test(C))},isIdContinueChar:function(C){return"string"===typeof C&&("a"<=C&&"z">=C||"A"<=C&&"Z">=C||"0"<=
C&&"9">=C||"$"===C||"_"===C||"\u200c"===C||"\u200d"===C||A.ID_Continue.test(C))},isDigit:function(C){return"string"===typeof C&&/[0-9]/.test(C)},isHexDigit:function(C){return"string"===typeof C&&/[0-9A-Fa-f]/.test(C)}}})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(A,C,B,x){function l(b,e,h,n,r,k){k=k||"px";b=b.style;isNaN(e)||(b.left=e+k);isNaN(h)||(b.top=h+k);0<=n&&(b.width=n+k);0<=r&&(b.height=r+k)}function f(b){return"button"==b.tagName.toLowerCase()||
"input"==b.tagName.toLowerCase()&&"button"==(b.getAttribute("type")||"").toLowerCase()}function g(b){return"border-box"==c.boxModel||"table"==b.tagName.toLowerCase()||f(b)}function d(b){var e={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};try{var h=b.getBoundingClientRect()}catch(n){return e}return"undefined"===typeof h.left?e:h}var c={boxModel:"content-box"};A("ie")&&(c.boxModel="BackCompat"==document.compatMode?"border-box":"content-box");c.getPadExtents=function(b,e){b=B.byId(b);var h=
e||x.getComputedStyle(b),n=x.toPixelValue,r=n(b,h.paddingLeft),k=n(b,h.paddingTop),m=n(b,h.paddingRight);h=n(b,h.paddingBottom);return{l:r,t:k,r:m,b:h,w:r+m,h:k+h}};c.getBorderExtents=function(b,e){b=B.byId(b);var h=x.toPixelValue,n=e||x.getComputedStyle(b),r="none"!=n.borderLeftStyle?h(b,n.borderLeftWidth):0,k="none"!=n.borderTopStyle?h(b,n.borderTopWidth):0,m="none"!=n.borderRightStyle?h(b,n.borderRightWidth):0;h="none"!=n.borderBottomStyle?h(b,n.borderBottomWidth):0;return{l:r,t:k,r:m,b:h,w:r+
m,h:k+h}};c.getPadBorderExtents=function(b,e){b=B.byId(b);var h=e||x.getComputedStyle(b),n=c.getPadExtents(b,h);h=c.getBorderExtents(b,h);return{l:n.l+h.l,t:n.t+h.t,r:n.r+h.r,b:n.b+h.b,w:n.w+h.w,h:n.h+h.h}};c.getMarginExtents=function(b,e){b=B.byId(b);var h=e||x.getComputedStyle(b),n=x.toPixelValue,r=n(b,h.marginLeft),k=n(b,h.marginTop),m=n(b,h.marginRight);h=n(b,h.marginBottom);return{l:r,t:k,r:m,b:h,w:r+m,h:k+h}};c.getMarginBox=function(b,e){b=B.byId(b);var h=e||x.getComputedStyle(b);h=c.getMarginExtents(b,
h);var n=b.offsetLeft-h.l,r=b.offsetTop-h.t,k=b.parentNode,m=x.toPixelValue;8==A("ie")&&!A("quirks")&&k&&(k=x.getComputedStyle(k),n-="none"!=k.borderLeftStyle?m(b,k.borderLeftWidth):0,r-="none"!=k.borderTopStyle?m(b,k.borderTopWidth):0);return{l:n,t:r,w:b.offsetWidth+h.w,h:b.offsetHeight+h.h}};c.getContentBox=function(b,e){b=B.byId(b);var h=e||x.getComputedStyle(b),n=b.clientWidth,r=c.getPadExtents(b,h);var k=c.getBorderExtents(b,h);h=b.offsetLeft+r.l+k.l;var m=b.offsetTop+r.t+k.t;n?k=b.clientHeight:
(n=b.offsetWidth-k.w,k=b.offsetHeight-k.h);if(8==A("ie")&&!A("quirks")){var y=b.parentNode,p=x.toPixelValue;y&&(y=x.getComputedStyle(y),h-="none"!=y.borderLeftStyle?p(b,y.borderLeftWidth):0,m-="none"!=y.borderTopStyle?p(b,y.borderTopWidth):0)}return{l:h,t:m,w:n-r.w,h:k-r.h}};c.setContentSize=function(b,e,h){b=B.byId(b);var n=e.w;e=e.h;g(b)&&(h=c.getPadBorderExtents(b,h),0<=n&&(n+=h.w),0<=e&&(e+=h.h));l(b,NaN,NaN,n,e)};var a={l:0,t:0,w:0,h:0};c.setMarginBox=function(b,e,h){b=B.byId(b);var n=h||x.getComputedStyle(b);
h=e.w;var r=e.h,k=g(b)?a:c.getPadBorderExtents(b,n);n=c.getMarginExtents(b,n);if(A("webkit")&&f(b)){var m=b.style;0<=h&&!m.width&&(m.width="4px");0<=r&&!m.height&&(m.height="4px")}0<=h&&(h=Math.max(h-k.w-n.w,0));0<=r&&(r=Math.max(r-k.h-n.h,0));l(b,e.l,e.t,h,r)};c.isBodyLtr=function(b){b=b||C.doc;return"ltr"==(C.body(b).dir||b.documentElement.dir||"ltr").toLowerCase()};c.docScroll=function(b){b=b||C.doc;var e=b.parentWindow||b.defaultView;return"pageXOffset"in e?{x:e.pageXOffset,y:e.pageYOffset}:(e=
A("quirks")?C.body(b):b.documentElement)&&{x:c.fixIeBiDiScrollLeft(e.scrollLeft||0,b),y:e.scrollTop||0}};c.getIeDocumentElementOffset=function(b){return{x:0,y:0}};c.fixIeBiDiScrollLeft=function(b,e){e=e||C.doc;var h=A("ie");if(h&&!c.isBodyLtr(e)){var n=A("quirks"),r=n?C.body(e):e.documentElement,k=C.global;6==h&&!n&&k.frameElement&&r.scrollHeight>r.clientHeight&&(b+=r.clientLeft);return 8>h||n?b+r.clientWidth-r.scrollWidth:-b}return b};c.position=function(b,e){b=B.byId(b);var h=C.body(b.ownerDocument),
n=d(b);n={x:n.left,y:n.top,w:n.right-n.left,h:n.bottom-n.top};9>A("ie")&&(n.x-=A("quirks")?h.clientLeft+h.offsetLeft:0,n.y-=A("quirks")?h.clientTop+h.offsetTop:0);e&&(h=c.docScroll(b.ownerDocument),n.x+=h.x,n.y+=h.y);return n};c.getMarginSize=function(b,e){b=B.byId(b);var h=c.getMarginExtents(b,e||x.getComputedStyle(b)),n=d(b);return{w:n.right-n.left+h.w,h:n.bottom-n.top+h.h}};c.normalizeEvent=function(b){"layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY);if(!("pageX"in b)){var e=b.target;e=e&&
e.ownerDocument||document;var h=A("quirks")?e.body:e.documentElement;b.pageX=b.clientX+c.fixIeBiDiScrollLeft(h.scrollLeft||0,e);b.pageY=b.clientY+(h.scrollTop||0)}};return c})},"dijit/form/_FormValueMixin":function(){define("dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on dojo/sniff ./_FormWidgetMixin".split(" "),function(A,C,B,x,l,f,g){return A("dijit.form._FormValueMixin",g,{readOnly:!1,_setReadOnlyAttr:function(d){f("trident")&&"disabled"in this?C.set(this.focusNode,"readOnly",
d||this.disabled):C.set(this.focusNode,"readOnly",d);this._set("readOnly",d)},postCreate:function(){this.inherited(arguments);void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.value)},_setValueAttr:function(d,c){this._handleOnChange(d,c)},_handleOnChange:function(d,c){this._set("value",d);this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1;this._setValueAttr(this._resetValue,!0)}})})},"dojox/layout/ScrollPane":function(){define("dojo/_base/kernel dojo/_base/declare dojo/_base/html dojo/_base/fx dijit/_Templated dijit/layout/ContentPane dojo/dom-class dojo/text!./resources/ScrollPane.html".split(" "),
function(A,C,B,x,l,f,g,d){A.experimental("dojox.layout.ScrollPane");return C("dojox.layout.ScrollPane",[f,l],{_line:null,_lo:null,_offset:15,orientation:"vertical",autoHide:!0,templateString:d,resize:function(c){c&&(c.h&&B.style(this.domNode,"height",c.h+"px"),c.w&&B.style(this.domNode,"width",c.w+"px"));c=this._dir;var a=this._vertical,b=this.containerNode[a?"scrollHeight":"scrollWidth"];B.style(this.wrapper,this._dir,this.domNode.style[this._dir]);this._lo=B.coords(this.wrapper,!0);if(this._size=
Math.max(0,b-this._lo[a?"h":"w"])){this.helper.style.display="";this._line=new x._Line(0-this._offset,this._size+2*this._offset);a=this._lo[a?"h":"w"];b=Math.min(1,a/b);var e=a*b;this._helpLine=new x._Line(0,Math.floor(a-a*b));B.style(this.helper,c,Math.floor(e)+"px")}else this.helper.style.display="none",this.wrapper[this._scroll]=0},postCreate:function(){this.inherited(arguments);this.autoHide&&(this._showAnim=x._fade({node:this.helper,end:.5,duration:350}),this._hideAnim=x.fadeOut({node:this.helper,
duration:750}));(this._vertical="vertical"==this.orientation)?(this._dir="height",this._edge="top",this._scroll="scrollTop"):(g.add(this.containerNode,"dijitInline"),this._dir="width",this._edge="left",this._scroll="scrollLeft");this._hideAnim&&this._hideAnim.play();B.style(this.wrapper,"overflow","hidden")},_set:function(c){this._size&&"focused"!==c&&(this.wrapper[this._scroll]=Math.floor(this._line.getValue(c)),B.style(this.helper,this._edge,Math.floor(this._helpLine.getValue(c))+"px"))},_calc:function(c){this._lo||
this.resize();this._set(this._vertical?(c.pageY-this._lo.y)/this._lo.h:(c.pageX-this._lo.x)/this._lo.w)},_enter:function(c){this._hideAnim&&("playing"==this._hideAnim.status()&&this._hideAnim.stop(),this._showAnim.play())},_leave:function(c){this._hideAnim&&this._hideAnim.play()}})})},"dojox/form/HorizontalRangeSlider":function(){define(["dojo/_base/declare","dojox/form/_RangeSliderMixin","dojo/text!./resources/HorizontalRangeSlider.html","dijit/form/HorizontalSlider"],function(A,C,B,x){return A("dojox.form.HorizontalRangeSlider",
[x,C],{templateString:B})})},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(A,C){var B={};A.setObject("dojo.date.stamp",B);B.fromISOString=function(x,l){B._isoRegExp||(B._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var f=B._isoRegExp.exec(x),g=null;if(f){f.shift();f[1]&&f[1]--;f[6]&&(f[6]*=1E3);l&&(l=new Date(l),C.forEach(C.map("FullYear Month Date Hours Minutes Seconds Milliseconds".split(" "),
function(a){return l["get"+a]()}),function(a,b){f[b]=f[b]||a}));g=new Date(f[0]||1970,f[1]||0,f[2]||1,f[3]||0,f[4]||0,f[5]||0,f[6]||0);100>f[0]&&g.setFullYear(f[0]||1970);var d=0,c=f[7]&&f[7].charAt(0);"Z"!=c&&(d=60*(f[8]||0)+(Number(f[9])||0),"-"!=c&&(d*=-1));c&&(d-=g.getTimezoneOffset());d&&g.setTime(g.getTime()+6E4*d)}return g};B.toISOString=function(x,l){var f=function(b){return 10>b?"0"+b:b};l=l||{};var g=[],d=l.zulu?"getUTC":"get",c="";"time"!=l.selector&&(c=x[d+"FullYear"](),c=["0000".substr((c+
"").length)+c,f(x[d+"Month"]()+1),f(x[d+"Date"]())].join("-"));g.push(c);if("date"!=l.selector){c=[f(x[d+"Hours"]()),f(x[d+"Minutes"]()),f(x[d+"Seconds"]())].join(":");d=x[d+"Milliseconds"]();l.milliseconds&&(c+="."+(100>d?"0":"")+f(d));if(l.zulu)c+="Z";else if("time"!=l.selector){d=x.getTimezoneOffset();var a=Math.abs(d);c+=(0<d?"-":"+")+f(Math.floor(a/60))+":"+f(a%60)}g.push(c)}return g.join("T")};return B})},"dojox/grid/_TreeView":function(){define("dijit/registry ../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/event dojo/dom-attr dojo/dom-class dojo/dom-style dojo/dom-construct dojo/query dojo/parser dojo/text!./resources/Expando.html dijit/_Widget dijit/_TemplatedMixin ./_View ./_Builder ./util".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y){B("dojox.grid._Expando",[n,r],{open:!1,toggleClass:"",itemId:"",cellIdx:-1,view:null,rowNode:null,rowIdx:-1,expandoCell:null,level:0,templateString:h,_toggleRows:function(p,u){if(p&&this.rowNode)if(b("table.dojoxGridRowTableNeedsRowUpdate").length)this._initialized&&this.view.grid.updateRow(this.rowIdx);else{var w=this;if(this.view.grid.treeModel){var q=this._tableRow?g.get(this._tableRow,"dojoxTreeGridPath"):"";q&&b('tr[dojoxTreeGridPath^\x3d"'+q+'/"]',
this.rowNode).forEach(function(t){var z=b(".dojoxGridExpando",t)[0];z&&z.parentNode&&z.parentNode.parentNode&&!d.contains(z.parentNode.parentNode,"dojoxGridNoChildren")&&(z=A.byNode(z))&&z._toggleRows(p,z.open&&u);t.style.display=u?"":"none"})}else b("tr."+p,this.rowNode).forEach(function(t){if(d.contains(t,"dojoxGridExpandoRow")){var z=b(".dojoxGridExpando",t)[0];if(z){var D=A.byNode(z),v=D?D.toggleClass:z.getAttribute("toggleClass");z=D?D.open:w.expandoCell.getOpenState(z.getAttribute("itemId"));
w._toggleRows(v,z&&u)}}t.style.display=u?"":"none"})}},setOpen:function(p){p&&d.contains(this.domNode,"dojoxGridExpandoLoading")&&(p=!1);var u=this.view.grid,w=u.store,q=u.treeModel,t=this;if(u._by_idx[this.rowIdx])if(q&&!this._loadedChildren)if(p){var z=u.getItem(g.get(this._tableRow,"dojoxTreeGridPath"));z?(this.expandoInner.innerHTML="o",d.add(this.domNode,"dojoxGridExpandoLoading"),q.getChildren(z,function(D){t._loadedChildren=!0;t._setOpen(p)})):this._setOpen(p)}else this._setOpen(p);else!q&&
w?p?(q=u._by_idx[this.rowIdx])&&!w.isItemLoaded(q.item)?(this.expandoInner.innerHTML="o",d.add(this.domNode,"dojoxGridExpandoLoading"),w.loadItem({item:q.item,onItem:l.hitch(this,function(D){var v=w.getIdentity(D);u._by_idty[v]=u._by_idx[this.rowIdx]={idty:v,item:D};this._setOpen(p)})})):this._setOpen(p):this._setOpen(p):this._setOpen(p)},_setOpen:function(p){if(p&&this._tableRow&&d.contains(this._tableRow,"dojoxGridNoChildren"))this._setOpen(!1);else{this.expandoInner.innerHTML=p?"-":"+";d.remove(this.domNode,
"dojoxGridExpandoLoading");d.toggle(this.domNode,"dojoxGridExpandoOpened",p);if(this._tableRow){d.toggle(this._tableRow,"dojoxGridRowCollapsed",!p);var u=g.get(this._tableRow,"dojoxTreeGridBaseClasses"),w="";w=p?l.trim((" "+u+" ").replace(" dojoxGridRowCollapsed "," ")):0>(" "+u+" ").indexOf(" dojoxGridRowCollapsed ")?u+(u?" ":"")+"dojoxGridRowCollapsed":u;g.set(this._tableRow,"dojoxTreeGridBaseClasses",w)}u=this.open!==p;this.open=p;this.expandoCell&&this.itemId&&(this.expandoCell.openStates[this.itemId]=
p);w=this.view;var q=w.grid;this.toggleClass&&u&&(this._tableRow&&this._tableRow.style.display||this._toggleRows(this.toggleClass,p));w&&this._initialized&&0<=this.rowIdx&&(q.rowHeightChanged(this.rowIdx),q.postresize(),w.hasVScrollbar(!0));this._initialized=!0}},onToggle:function(p){this.setOpen(!this.open);f.stop(p)},setRowNode:function(p,u,w){if(0>this.cellIdx||!this.itemId)return!1;this._initialized=!1;this.view=w;this.rowNode=u;this.rowIdx=p;this.expandoCell=w.structure.cells[0][this.cellIdx];
(p=this.domNode)&&p.parentNode&&p.parentNode.parentNode&&(this._tableRow=p.parentNode.parentNode);this.open=this.expandoCell.getOpenState(this.itemId);w.grid.treeModel&&(c.set(this.domNode,"marginLeft",18*this.level+"px"),this.domNode.parentNode&&c.set(this.domNode.parentNode,"backgroundPosition",18*this.level+3+"px"));this.setOpen(this.open);return!0}});h=B("dojox.grid._TreeContentBuilder",m._ContentBuilder,{generateHtml:function(p,u){var w=this.getTableArray(),q=this.view,t=q.structure.cells[0],
z=this.grid.getItem(u),D=this.grid,v=this.grid.store;y.fire(this.view,"onBeforeRow",[u,[t]]);var E=function(F,H,J,G,I,K){if(K){var M=w.length;G=G||[];var N=G.join("|"),Q=G[G.length-1],P=Q+(J?" dojoxGridSummaryRow":"");D.treeModel&&H&&!D.treeModel.mayHaveChildren(H)&&(P+=" dojoxGridNoChildren");w.push('\x3ctr style\x3d"" class\x3d"'+P+'" dojoxTreeGridPath\x3d"'+I.join("/")+'" dojoxTreeGridBaseClasses\x3d"'+P+'"\x3e');var S=F+1;P=null;for(var L=0,R;R=t[L];L++){var T=R.markup,aa=R.customClasses=[],da=
R.customStyles=[];T[5]=R.formatAtLevel(I,H,F,J,Q,aa);T[1]=aa.join(" ");T[3]=da.join(";");w.push.apply(w,T);!P&&R.level===S&&R.parentCell&&(P=R.parentCell)}w.push("\x3c/tr\x3e");H&&v&&v.isItem(H)&&(L=v.getIdentity(H),"undefined"==typeof D._by_idty_paths[L]&&(D._by_idty_paths[L]=I.join("/")));var la=I.concat([]);if(D.treeModel&&H){if(D.treeModel.mayHaveChildren(H)){J=q.structure.cells[0][D.expandoCell||0];var ha=J.getOpenState(H)&&K;J=new C.grid.TreePath(I.join("/"),D);J=J.children(!0)||[];x.forEach(J,
function(oa,ka){var ta=N.split("|");ta.push(ta[ta.length-1]+"-"+ka);la.push(ka);E(S,oa,!1,ta,la,ha);la.pop()})}}else H&&P&&!J?(J=q.structure.cells[0][P.level],ha=J.getOpenState(H)&&K,v.hasAttribute(H,P.field)?(K=N.split("|"),K.pop(),J=new C.grid.TreePath(I.join("/"),D),J=J.children(!0)||[],J.length?(w[M]='\x3ctr class\x3d"'+K.join(" ")+' dojoxGridExpandoRow" dojoxTreeGridPath\x3d"'+I.join("/")+'"\x3e',x.forEach(J,function(oa,ka){var ta=N.split("|");ta.push(ta[ta.length-1]+"-"+ka);la.push(ka);E(S,
oa,!1,ta,la,ha);la.pop()}),la.push(J.length),E(F,H,!0,G,la,ha)):w[M]='\x3ctr class\x3d"'+Q+' dojoxGridNoChildren" dojoxTreeGridPath\x3d"'+I.join("/")+'"\x3e'):v.isItemLoaded(H)?w[M]='\x3ctr class\x3d"'+Q+' dojoxGridNoChildren" dojoxTreeGridPath\x3d"'+I.join("/")+'"\x3e':w[0]=w[0].replace("dojoxGridRowTable","dojoxGridRowTable dojoxGridRowTableNeedsRowUpdate")):H&&!J&&1<G.length&&(w[M]='\x3ctr class\x3d"'+G[G.length-2]+'" dojoxTreeGridPath\x3d"'+I.join("/")+'"\x3e')}else-1==w[0].indexOf("dojoxGridRowTableNeedsRowUpdate")&&
(w[0]=w[0].replace("dojoxGridRowTable","dojoxGridRowTable dojoxGridRowTableNeedsRowUpdate"))};E(0,z,!1,["dojoxGridRowToggle-"+u],[u],!0);w.push("\x3c/table\x3e");return w.join("")},findTarget:function(p,u){for(var w=p;w&&w!=this.domNode&&(!w.tagName||"tr"!=w.tagName.toLowerCase());)w=w.parentNode;return w!=this.domNode?w:null},getCellNode:function(p,u){var w=b("td[idx\x3d'"+u+"']",p)[0];if(w&&w.parentNode&&!d.contains(w.parentNode,"dojoxGridSummaryRow"))return w},decorateEvent:function(p){p.rowNode=
this.findRowTarget(p.target);if(!p.rowNode)return!1;p.rowIndex=g.get(p.rowNode,"dojoxTreeGridPath");this.baseDecorateEvent(p);p.cell=this.grid.getCell(p.cellIndex);return!0}});return B("dojox.grid._TreeView",k,{_contentBuilderClass:h,_onDndDrop:function(p,u,w){this.grid&&this.grid.aggregator&&this.grid.aggregator.clearSubtotalCache();this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.connect(this.grid,"_cleanupExpandoCache","_cleanupExpandoCache")},_cleanupExpandoCache:function(p,
u,w){if(-1!=p)if(x.forEach(this.grid.layout.cells,function(z){"undefined"!=typeof z.openStates&&u in z.openStates&&delete z.openStates[u]}),"string"==typeof p&&-1<p.indexOf("/")){var q=new C.grid.TreePath(p,this.grid);for(p=q.parent();p;)q=p,p=q.parent();if(q=q.item())if(q=this.grid.store.getIdentity(q),"undefined"!=typeof this._expandos[q]){for(var t in this._expandos[q])(p=this._expandos[q][t])&&p.destroy(),delete this._expandos[q][t];delete this._expandos[q]}}else{for(t in this._expandos)if("undefined"!=
typeof this._expandos[t])for(q in this._expandos[t])(p=this._expandos[t][q])&&p.destroy();this._expandos={}}},postMixInProperties:function(){this.inherited(arguments);this._expandos={}},onBeforeRow:function(p,u){var w=this.grid;w._by_idx&&w._by_idx[p]&&w._by_idx[p].idty&&(w=w._by_idx[p].idty,this._expandos[w]=this._expandos[w]||{});this.inherited(arguments)},onAfterRow:function(p,u,w){x.forEach(b("span.dojoxGridExpando",w),function(z){if(z&&z.parentNode){var D=z.getAttribute("toggleClass"),v=this.grid;
if(v._by_idx&&v._by_idx[p]&&v._by_idx[p].idty){var E=v._by_idx[p].idty;var F=this._expandos[E][D]}F?(a.place(F.domNode,z,"replace"),F.itemId=z.getAttribute("itemId"),F.cellIdx=parseInt(z.getAttribute("cellIdx"),10),isNaN(F.cellIdx)&&(F.cellIdx=-1)):E&&(F=e.parse(z.parentNode)[0],this._expandos[E][D]=F);F&&!F.setRowNode(p,w,this)&&F.domNode.parentNode.removeChild(F.domNode)}},this);var q=!1,t=this;b("tr[dojoxTreeGridPath]",w).forEach(function(z){d.toggle(z,"dojoxGridSubRowAlt",q);g.set(z,"dojoxTreeGridBaseClasses",
z.className);q=!q;t.grid.rows.styleRowNode(g.get(z,"dojoxTreeGridPath"),z)});this.inherited(arguments)},updateRowStyles:function(p){var u=b("tr[dojoxTreeGridPath\x3d'"+p+"']",this.domNode);u.length&&this.styleRowNode(p,u[0])},getCellNode:function(p,u){var w=b("tr[dojoxTreeGridPath\x3d'"+p+"']",this.domNode)[0];if(w)return this.content.getCellNode(w,u)},destroy:function(){this._cleanupExpandoCache();this.inherited(arguments)}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b){C=C("dijit.form._AutoCompleterMixin",b,{item:null,autoComplete:!0,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:!1,_getCaretPos:function(e){var h=0;if("number"==typeof e.selectionStart)h=e.selectionStart;else if(d("ie")){var n=e.ownerDocument.selection.createRange().duplicate();e=e.createTextRange();n.move("character",0);e.move("character",0);try{e.setEndPoint("EndToEnd",n),h=String(e.text).replace(/\r/g,"").length}catch(r){}}return h},
_setCaretPos:function(e,h){h=parseInt(h);a.selectInputText(e,h,h)},_setDisabledAttr:function(e){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",e?"true":"false")},_onKey:function(e){if(!(32<=e.charCode)){var h=e.charCode||e.keyCode;if(h!=x.ALT&&h!=x.CTRL&&h!=x.META&&h!=x.SHIFT){var n=this.dropDown,r=null;this._abortQuery();this.inherited(arguments);if(!(e.altKey||e.ctrlKey||e.metaKey))switch(this._opened&&(r=n.getHighlightedOption()),h){case x.PAGE_DOWN:case x.DOWN_ARROW:case x.PAGE_UP:case x.UP_ARROW:this._opened&&
this._announceOption(r);e.stopPropagation();e.preventDefault();break;case x.ENTER:if(r){if(r==n.nextButton){this._nextSearch(1);e.stopPropagation();e.preventDefault();break}else if(r==n.previousButton){this._nextSearch(-1);e.stopPropagation();e.preventDefault();break}e.stopPropagation();e.preventDefault()}else this._setBlurValue(),this._setCaretPos(this.focusNode,this.focusNode.value.length);case x.TAB:h=this.get("displayedValue");if(n&&(h==n._messages.previousMessage||h==n._messages.nextMessage))break;
r&&this._selectOption(r);case x.ESCAPE:this._opened&&(this._lastQuery=null,this.closeDropDown())}}}},_autoCompleteText:function(e){var h=this.focusNode;a.selectInputText(h,h.value.length);var n=this.ignoreCase?"toLowerCase":"substr";0==e[n](0).indexOf(this.focusNode.value[n](0))?(n=this.autoComplete?this._getCaretPos(h):h.value.length,n+1>h.value.length&&(h.value=e,a.selectInputText(h,n))):(h.value=e,a.selectInputText(h))},_openResultList:function(e,h,n){var r=this.dropDown.getHighlightedOption();
this.dropDown.clearResultList();e.length||0!=n.start?(this._nextSearch=this.dropDown.onPage=l.hitch(this,function(k){e.nextPage(-1!==k);this.focus()}),this.dropDown.createOptions(e,n,l.hitch(this,"_getMenuLabelFromItem")),this._showResultList(),"direction"in n?(n.direction?this.dropDown.highlightFirstOption():n.direction||this.dropDown.highlightLastOption(),r&&this._announceOption(this.dropDown.getHighlightedOption())):!this.autoComplete||this._prev_key_backspace||/^[*]+$/.test(h[this.searchAttr].toString())||
this._announceOption(this.dropDown.containerNode.firstChild.nextSibling)):this.closeDropDown()},_showResultList:function(){this.closeDropDown(!0);this.openDropDown();this.domNode.setAttribute("aria-expanded","true")},loadDropDown:function(){this._startSearchAll()},isLoaded:function(){return!1},closeDropDown:function(){this._abortQuery();this._opened&&(this.inherited(arguments),this.domNode.setAttribute("aria-expanded","false"))},_setBlurValue:function(){var e=this.get("displayedValue"),h=this.dropDown;
!h||e!=h._messages.previousMessage&&e!=h._messages.nextMessage?"undefined"==typeof this.item?(this.item=null,this.set("displayedValue",e)):(this.value!=this._lastValueReported&&this._handleOnChange(this.value,!0),this._refreshState()):this._setValueAttr(this._lastValueReported,!0);this.focusNode.removeAttribute("aria-activedescendant")},_setItemAttr:function(e,h,n){var r="";e&&(n||(n=this.store._oldAPI?this.store.getValue(e,this.searchAttr):e[this.searchAttr]),r=this._getValueField()!=this.searchAttr?
this.store.getIdentity(e):n);this.set("value",r,h,n,e)},_announceOption:function(e){if(e){if(e==this.dropDown.nextButton||e==this.dropDown.previousButton){var h=e.innerHTML;this.item=void 0;this.value=""}else{var n=this.dropDown.items[e.getAttribute("item")];h=(this.store._oldAPI?this.store.getValue(n,this.searchAttr):n[this.searchAttr]).toString();this.set("item",n,!1,h)}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",
B.get(e,"id"));this._autoCompleteText(h)}},_selectOption:function(e){this.closeDropDown();e&&this._announceOption(e);this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,!0);this.focusNode.removeAttribute("aria-activedescendant")},_startSearchAll:function(){this._startSearch("")},_startSearchFromInput:function(){this.item=void 0;this.inherited(arguments)},_startSearch:function(e){if(!this.dropDown){var h=this.id+"_popup";this.dropDown=new (l.isString(this.dropDownClass)?
l.getObject(this.dropDownClass,!1):this.dropDownClass)({onChange:l.hitch(this,this._selectOption),id:h,dir:this.dir,textDir:this.textDir})}this._lastInput=e;this.inherited(arguments)},_getValueField:function(){return this.searchAttr},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef&&(this.store=new c({},this.srcNodeRef),!("value"in this.params))){var e=this.item=this.store.fetchSelectedItem();if(e){var h=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(e,
h):e[h]}}},postCreate:function(){var e=f('label[for\x3d"'+this.id+'"]');e.length&&(e[0].id||(e[0].id=this.id+"_label"),this.domNode.setAttribute("aria-labelledby",e[0].id));this.inherited(arguments);A.after(this,"onSearch",l.hitch(this,"_openResultList"),!0)},_getMenuLabelFromItem:function(e){e=this.labelFunc(e,this.store);var h=this.labelType;"none"!=this.highlightMatch&&"text"==this.labelType&&this._lastInput&&(e=this.doHighlight(e,this._lastInput),h="html");return{html:"html"==h,label:e}},doHighlight:function(e,
h){var n=(this.ignoreCase?"i":"")+("all"==this.highlightMatch?"g":""),r=this.queryExpr.indexOf("${0}");h=g.escapeString(h);return this._escapeHtml(e.replace(new RegExp((0==r?"^":"")+"("+h+")"+(r==this.queryExpr.length-4?"$":""),n),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,'\x3cspan class\x3d"dijitComboBoxHighlightMatch"\x3e$1\x3c/span\x3e')},_escapeHtml:function(e){return e=String(e).replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;")},
reset:function(){this.item=null;this.inherited(arguments)},labelFunc:function(e,h){return(h._oldAPI?h.getValue(e,this.labelAttr||this.searchAttr):e[this.labelAttr||this.searchAttr]).toString()},_setValueAttr:function(e,h,n,r){this._set("item",r||null);null==e&&(e="");this.inherited(arguments)}});d("dojo-bidi")&&C.extend({_setTextDirAttr:function(e){this.inherited(arguments);this.dropDown&&this.dropDown._set("textDir",e)}});return C})},"dijit/TitlePane":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-geometry dojo/fx dojo/has dojo/_base/kernel dojo/keys ./_CssStateMixin ./_TemplatedMixin ./layout/ContentPane dojo/text!./templates/TitlePane.html ./_base/manager ./a11yclick".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r){C=C("dijit.TitlePane",[h,e,b],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:!0,toggleable:!0,tabIndex:"0",duration:r.defaultDuration,baseClass:"dijitTitlePane",templateString:n,doLayout:!1,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);B.setSelectable(this.titleNode,!1)},postCreate:function(){this.inherited(arguments);this.toggleable&&this._trackMouseState(this.titleBarNode,
this.baseClass+"Title");var k=this.hideNode,m=this.wipeNode;this._wipeIn=g.wipeIn({node:m,duration:this.duration,beforeBegin:function(){k.style.display=""}});this._wipeOut=g.wipeOut({node:m,duration:this.duration,onEnd:function(){k.style.display="none"}})},_setOpenAttr:function(k,m){A.forEach([this._wipeIn,this._wipeOut],function(y){y&&"playing"==y.status()&&y.stop()});m?this[k?"_wipeIn":"_wipeOut"].play():this.hideNode.style.display=this.wipeNode.style.display=k?"":"none";if(this._started)if(k)this._onShow();
else this.onHide();this.containerNode.setAttribute("aria-hidden",k?"false":"true");this.focusNode.setAttribute("aria-pressed",k?"true":"false");this._set("open",k);this._setCss()},_setToggleableAttr:function(k){this.focusNode.setAttribute("role",k?"button":"heading");k?(this.focusNode.setAttribute("aria-controls",this.id+"_pane"),this.focusNode.setAttribute("tabIndex",this.tabIndex),this.focusNode.setAttribute("aria-pressed",this.open)):(x.remove(this.focusNode,"aria-controls"),x.remove(this.focusNode,
"tabIndex"),x.remove(this.focusNode,"aria-pressed"));this._set("toggleable",k);this._setCss()},_setContentAttr:function(k){this.open&&this._wipeOut&&"playing"!=this._wipeOut.status()?(this._wipeIn&&"playing"==this._wipeIn.status()&&this._wipeIn.stop(),f.setMarginBox(this.wipeNode,{h:f.getMarginBox(this.wipeNode).h}),this.inherited(arguments),this._wipeIn?this._wipeIn.play():this.hideNode.style.display=""):this.inherited(arguments)},toggle:function(){this._setOpenAttr(!this.open,!0)},_setCss:function(){var k=
this.titleBarNode||this.focusNode,m=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");l.replace(k,this._titleBarClass,m||"");l.replace(k,this._titleBarClass.replace("TitlePaneTitle",""),(m||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+"},_onTitleKey:function(k){k.keyCode==a.DOWN_ARROW&&this.open&&(this.containerNode.focus(),k.preventDefault())},_onTitleClick:function(){this.toggleable&&this.toggle()},
setTitle:function(k){c.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",k)}});d("dojo-bidi")&&C.extend({_setTitleAttr:function(k){this._set("title",k);this.titleNode.innerHTML=k;this.applyTextDir(this.titleNode)},_setTooltipAttr:function(k){this._set("tooltip",k);this.textDir&&(k=this.enforceTextDirWithUcc(null,k));x.set(this.focusNode,"title",k)},_setTextDirAttr:function(k){this._created&&this.textDir!=k&&(this._set("textDir",k),this.set("title",
this.title),this.set("tooltip",this.tooltip))}});return C})},"dojo/dnd/Container":function(){define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../_base/window ../dom ../dom-class ../dom-construct ../Evented ../has ../on ../query ../touch ./common".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n){C=C("dojo.dnd.Container",c,{skipForm:!1,allowNested:!1,constructor:function(r,k){this.node=f.byId(r);k||(k={});this.creator=k.creator||null;this.skipForm=k.skipForm;this.parent=k.dropParent&&
f.byId(k.dropParent);this.map={};this.current=null;this.containerState="";g.add(this.node,"dojoDndContainer");k&&k._skipStartup||this.startup();this.events=[b(this.node,h.over,x.hitch(this,"onMouseOver")),b(this.node,h.out,x.hitch(this,"onMouseOut")),b(this.node,"dragstart",x.hitch(this,"onSelectStart")),b(this.node,"selectstart",x.hitch(this,"onSelectStart"))]},creator:function(){},getItem:function(r){return this.map[r]},setItem:function(r,k){this.map[r]=k},delItem:function(r){delete this.map[r]},
forInItems:function(r,k){k=k||B.global;var m=this.map,y=n._empty,p;for(p in m)p in y||r.call(k,m[p],p,this);return k},clearItems:function(){this.map={}},getAllNodes:function(){return e((this.allowNested?"":"\x3e ")+".dojoDndItem",this.parent)},sync:function(){var r={};this.getAllNodes().forEach(function(k){if(k.id){var m=this.getItem(k.id);if(m){r[k.id]=m;return}}else k.id=n.getUniqueId();m=k.getAttribute("dndType");var y=k.getAttribute("dndData");r[k.id]={data:y||k.innerHTML,type:m?m.split(/\s*,\s*/):
["text"]}},this);this.map=r;return this},insertNodes:function(r,k,m){this.parent.firstChild?k?m||(m=this.parent.firstChild):m&&(m=m.nextSibling):m=null;if(m)for(k=0;k<r.length;++k){var y=this._normalizedCreator(r[k]);this.setItem(y.node.id,{data:y.data,type:y.type});m.parentNode.insertBefore(y.node,m)}else for(k=0;k<r.length;++k)y=this._normalizedCreator(r[k]),this.setItem(y.node.id,{data:y.data,type:y.type}),this.parent.appendChild(y.node);return this},destroy:function(){A.forEach(this.events,function(r){r.remove()});
this.clearItems();this.node=this.parent=this.current=null},markupFactory:function(r,k,m){r._skipStartup=!0;return new m(k,r)},startup:function(){if(!this.parent&&(this.parent=this.node,"table"==this.parent.tagName.toLowerCase())){var r=this.parent.getElementsByTagName("tbody");r&&r.length&&(this.parent=r[0])}this.defaultCreator=n._defaultCreator(this.parent);this.sync()},onMouseOver:function(r){for(var k=r.relatedTarget;k&&k!=this.node;)try{k=k.parentNode}catch(m){k=null}k||(this._changeState("Container",
"Over"),this.onOverEvent());k=this._getChildByEvent(r);this.current!=k&&(this.current&&this._removeItemClass(this.current,"Over"),k&&this._addItemClass(k,"Over"),this.current=k)},onMouseOut:function(r){for(r=r.relatedTarget;r;){if(r==this.node)return;try{r=r.parentNode}catch(k){r=null}}this.current&&(this._removeItemClass(this.current,"Over"),this.current=null);this._changeState("Container","");this.onOutEvent()},onSelectStart:function(r){this.withHandles||this.skipForm&&n.isFormElement(r)||(r.stopPropagation(),
r.preventDefault())},onOverEvent:function(){},onOutEvent:function(){},_changeState:function(r,k){var m="dojoDnd"+r,y=r.toLowerCase()+"State";g.replace(this.node,m+k,m+this[y]);this[y]=k},_addItemClass:function(r,k){g.add(r,"dojoDndItem"+k)},_removeItemClass:function(r,k){g.remove(r,"dojoDndItem"+k)},_getChildByEvent:function(r){if(r=r.target)for(var k=r.parentNode;k;r=k,k=r.parentNode)if((k==this.parent||this.allowNested)&&g.contains(r,"dojoDndItem"))return r;return null},_normalizedCreator:function(r,
k){var m=(this.creator||this.defaultCreator).call(this,r,k);x.isArray(m.type)||(m.type=["text"]);m.node.id||(m.node.id=n.getUniqueId());g.add(m.node,"dojoDndItem");return m}});n._createNode=function(r){return r?function(k){return d.create(r,{innerHTML:k})}:n._createSpan};n._createTrTd=function(r){var k=d.create("tr");d.create("td",{innerHTML:r},k);return k};n._createSpan=function(r){return d.create("span",{innerHTML:r})};n._defaultCreatorNodes={ul:"li",ol:"li",div:"div",p:"div"};n._defaultCreator=
function(r){r=r.tagName.toLowerCase();var k="tbody"==r||"thead"==r?n._createTrTd:n._createNode(n._defaultCreatorNodes[r]);return function(m,y){var p=m&&x.isObject(m);if(p&&m.tagName&&m.nodeType&&m.getAttribute){var u=m.getAttribute("dndData")||m.innerHTML;p=(p=m.getAttribute("dndType"))?p.split(/\s*,\s*/):["text"];var w=m}else u=p&&m.data?m.data:m,p=p&&m.type?m.type:["text"],w=("avatar"==y?n._createSpan:k)(String(u));w.id||(w.id=n.getUniqueId());return{node:w,data:u,type:p}}};return C})},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency",
"dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(A,C,B,x){return C("dijit.form.CurrencyTextBox",x,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:A.format,_parser:A.parse,_regExpGenerator:A.regexp,parse:function(l,f){var g=this.inherited(arguments);isNaN(g)&&/\d+/.test(l)&&(g=B.hitch(B.delegate(this,{_parser:x.prototype._parser}),"inherited")(arguments));return g},_setConstraintsAttr:function(l){!l.currency&&this.currency&&(l.currency=this.currency);this.inherited(arguments,
[A._mixInDefaults(B.mixin(l,{exponent:!1}))])}})})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(A,C,B,x){function l(b){var e=a[b.options.handleAs];b.data=e?e(b):b.data||b.text;return b}x.add("activex","undefined"!==typeof ActiveXObject);x.add("dom-parser",function(b){return"DOMParser"in b});if(x("activex")){var f=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],g;var d=
function(b){function e(r){try{var k=new ActiveXObject(r);k.async=!1;k.loadXML(n);h=k;g=r}catch(m){return!1}return!0}var h=b.data,n=b.text;h&&x("dom-qsa2.1")&&!h.querySelectorAll&&x("dom-parser")&&(h=(new DOMParser).parseFromString(n,"application/xml"));h&&h.documentElement||g&&e(g)||B.some(f,e);return h}}var c=function(b){return x("native-xhr2-blob")||"blob"!==b.options.handleAs||"undefined"===typeof Blob?b.xhr.response:new Blob([b.xhr.response],{type:b.xhr.getResponseHeader("Content-Type")})},a=
{javascript:function(b){return C.eval(b.text||"")},json:function(b){return A.parse(b.text||null)},xml:d,blob:c,arraybuffer:c,document:c};l.register=function(b,e){a[b]=e};return l})},"dijit/place":function(){define("dojo/_base/array dojo/dom-geometry dojo/dom-style dojo/_base/kernel dojo/_base/window ./Viewport ./main".split(" "),function(A,C,B,x,l,f,g){function d(a,b,e,h){var n=f.getEffectiveBox(a.ownerDocument);a.parentNode&&"body"==String(a.parentNode.tagName).toLowerCase()||l.body(a.ownerDocument).appendChild(a);
var r=null;A.some(b,function(y){var p=y.corner,u=y.pos,w=0,q={w:{L:n.l+n.w-u.x,R:u.x-n.l,M:n.w}[p.charAt(1)],h:{T:n.t+n.h-u.y,B:u.y-n.t,M:n.h}[p.charAt(0)]},t=a.style;t.left=t.right="auto";e&&(w=e(a,y.aroundCorner,p,q,h),w="undefined"==typeof w?0:w);var z=a.style,D=z.display,v=z.visibility;"none"==z.display&&(z.visibility="hidden",z.display="");t=C.position(a);z.display=D;z.visibility=v;D={L:u.x,R:u.x-t.w,M:Math.max(n.l,Math.min(n.l+n.w,u.x+(t.w>>1))-t.w)}[p.charAt(1)];v={T:u.y,B:u.y-t.h,M:Math.max(n.t,
Math.min(n.t+n.h,u.y+(t.h>>1))-t.h)}[p.charAt(0)];u=Math.max(n.l,D);z=Math.max(n.t,v);D=Math.min(n.l+n.w,D+t.w)-u;v=Math.min(n.t+n.h,v+t.h)-z;w+=t.w-D+(t.h-v);if(null==r||w<r.overflow)r={corner:p,aroundCorner:y.aroundCorner,x:u,y:z,w:D,h:v,overflow:w,spaceAvailable:q};return!w});r.overflow&&e&&e(a,r.aroundCorner,r.corner,r.spaceAvailable,h);b=r.y;var k=r.x,m=l.body(a.ownerDocument);/relative|absolute/.test(B.get(m,"position"))&&(b-=B.get(m,"marginTop"),k-=B.get(m,"marginLeft"));m=a.style;m.top=b+
"px";m.left=k+"px";m.right="auto";return r}var c={TL:"BR",TR:"BL",BL:"TR",BR:"TL"};return g.place={at:function(a,b,e,h,n){e=A.map(e,function(r){var k={corner:r,aroundCorner:c[r],pos:{x:b.x,y:b.y}};h&&(k.pos.x+="L"==r.charAt(1)?h.x:-h.x,k.pos.y+="T"==r.charAt(0)?h.y:-h.y);return k});return d(a,e,n)},around:function(a,b,e,h,n){function r(E,F){v.push({aroundCorner:E,corner:F,pos:{x:{L:q,R:q+z,M:q+(z>>1)}[E.charAt(1)],y:{T:t,B:t+D,M:t+(D>>1)}[E.charAt(0)]}})}if("string"==typeof b||"offsetWidth"in b||
"ownerSVGElement"in b){var k=C.position(b,!0);if(/^(above|below)/.test(e[0])){var m=C.getBorderExtents(b),y=b.firstChild?C.getBorderExtents(b.firstChild):{t:0,l:0,b:0,r:0},p=C.getBorderExtents(a),u=a.firstChild?C.getBorderExtents(a.firstChild):{t:0,l:0,b:0,r:0};k.y+=Math.min(m.t+y.t,p.t+u.t);k.h-=Math.min(m.t+y.t,p.t+u.t)+Math.min(m.b+y.b,p.b+u.b)}}else k=b;if(b.parentNode)for(m="absolute"==B.getComputedStyle(b).position,b=b.parentNode;b&&1==b.nodeType&&"BODY"!=b.nodeName;){y=C.position(b,!0);p=B.getComputedStyle(b);
/relative|absolute/.test(p.position)&&(m=!1);if(!m&&/hidden|auto|scroll/.test(p.overflow)){u=Math.min(k.y+k.h,y.y+y.h);var w=Math.min(k.x+k.w,y.x+y.w);k.x=Math.max(k.x,y.x);k.y=Math.max(k.y,y.y);k.h=u-k.y;k.w=w-k.x}"absolute"==p.position&&(m=!0);b=b.parentNode}var q=k.x,t=k.y,z="w"in k?k.w:k.w=k.width,D="h"in k?k.h:(x.deprecated("place.around: dijit/place.__Rectangle: { x:"+q+", y:"+t+", height:"+k.height+", width:"+z+" } has been deprecated.  Please use { x:"+q+", y:"+t+", h:"+k.height+", w:"+z+
" }","","2.0"),k.h=k.height),v=[];A.forEach(e,function(E){var F=h;switch(E){case "above-centered":r("TM","BM");break;case "below-centered":r("BM","TM");break;case "after-centered":F=!F;case "before-centered":r(F?"ML":"MR",F?"MR":"ML");break;case "after":F=!F;case "before":r(F?"TL":"TR",F?"TR":"TL");r(F?"BL":"BR",F?"BR":"BL");break;case "below-alt":F=!F;case "below":r(F?"BL":"BR",F?"TL":"TR");r(F?"BR":"BL",F?"TR":"TL");break;case "above-alt":F=!F;case "above":r(F?"TL":"TR",F?"BL":"BR");r(F?"TR":"TL",
F?"BR":"BL");break;default:r(E.aroundCorner,E.corner)}});a=d(a,v,n,{w:z,h:D});a.aroundNodePos=k;return a}}})},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(A,C,B){return A("dijit.form.ComboBox",[C,B],{})})},"dijit/layout/_LayoutWidget":function(){define("dojo/_base/lang ../_Widget ../_Container ../_Contained ../Viewport dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style".split(" "),function(A,C,B,x,l,f,g,d,c){return f("dijit.layout._LayoutWidget",
[C,B,x],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);g.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent&&this.getParent();a&&a.isLayoutContainer||(this.resize(),this.own(l.on("resize",A.hitch(this,"resize"))))}},resize:function(a,b){var e=this.domNode;a&&d.setMarginBox(e,a);var h=b||{};A.mixin(h,a||{});"h"in h&&"w"in h||(h=A.mixin(d.getMarginBox(e),
h));var n=c.getComputedStyle(e),r=d.getMarginExtents(e,n),k=d.getBorderExtents(e,n);h=this._borderBox={w:h.w-(r.w+k.w),h:h.h-(r.h+k.h)};r=d.getPadExtents(e,n);this._contentBox={l:c.toPixelValue(e,n.paddingLeft),t:c.toPixelValue(e,n.paddingTop),w:h.w-r.w,h:h.h-r.h};this.layout()},layout:function(){},_setupChild:function(a){g.add(a.domNode,this.baseClass+"-child "+(a.baseClass?this.baseClass+"-"+a.baseClass:""))},addChild:function(a,b){this.inherited(arguments);this._started&&this._setupChild(a)},removeChild:function(a){g.remove(a.domNode,
this.baseClass+"-child"+(a.baseClass?" "+this.baseClass+"-"+a.baseClass:""));this.inherited(arguments)}})})},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(A,C,B,x){var l={};C.setObject("dojo.colors",l);var f=function(d,c,a){0>a&&++a;1<a&&--a;var b=6*a;return 1>b?d+(c-d)*b:1>2*a?c:2>3*a?d+(c-d)*(2/3-a)*6:d};A.colorFromRgb=B.fromRgb=function(d,c){var a=d.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(a){var b=a[2].split(/\s*,\s*/),
e=b.length;a=a[1];if("rgb"==a&&3==e||"rgba"==a&&4==e)return a=b[0],"%"==a.charAt(a.length-1)?(a=x.map(b,function(r){return 2.56*parseFloat(r)}),4==e&&(a[3]=b[3]),B.fromArray(a,c)):B.fromArray(b,c);if("hsl"==a&&3==e||"hsla"==a&&4==e){a=(parseFloat(b[0])%360+360)%360/360;var h=parseFloat(b[1])/100,n=parseFloat(b[2])/100;h=.5>=n?n*(h+1):n+h-n*h;n=2*n-h;a=[256*f(n,h,a+1/3),256*f(n,h,a),256*f(n,h,a-1/3),1];4==e&&(a[3]=b[3]);return B.fromArray(a,c)}}return null};var g=function(d,c,a){d=Number(d);return isNaN(d)?
a:d<c?c:d>a?a:d};B.prototype.sanitize=function(){this.r=Math.round(g(this.r,0,255));this.g=Math.round(g(this.g,0,255));this.b=Math.round(g(this.b,0,255));this.a=g(this.a,0,1);return this};l.makeGrey=B.makeGrey=function(d,c){return B.fromArray([d,d,d,c])};C.mixin(B.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 B})},"dojox/grid/cells/_base":function(){define("dojo/_base/kernel dojo/_base/declare dojo/_base/lang dojo/_base/event dojo/_base/connect dojo/_base/array dojo/_base/sniff dojo/dom dojo/dom-attr dojo/dom-construct dijit/_Widget ../util".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){var h=C("dojox.grid._DeferredTextWidget",b,{deferred:null,_destroyOnRemove:!0,postCreate:function(){this.deferred&&this.deferred.addBoth(B.hitch(this,function(y){this.domNode&&(this.domNode.innerHTML=y)}))}}),n=function(){setTimeout(B.hitch.apply(A,arguments),0)},r=C("dojox.grid.cells._Base",null,{styles:"",classes:"",editable:!1,alwaysEditing:!1,formatter:null,defaultValue:"...",value:null,hidden:!1,noresize:!1,draggable:!0,_valueProp:"value",_formatPending:!1,constructor:function(y){this._props=
y||{};B.mixin(this,y);void 0===this.draggable&&(this.draggable=!0)},_defaultFormat:function(y,p){var u=this.grid.formatterScope||this,w=this.formatter;w&&u&&"string"==typeof w&&(w=this.formatter=u[w]);u=y!=this.defaultValue&&w?w.apply(u,p):y;if("undefined"==typeof u)return this.defaultValue;u&&u.addBoth&&(u=new h({deferred:u},a.create("span",{innerHTML:this.defaultValue})));return u&&u.declaredClass&&u.startup?"\x3cdiv class\x3d'dojoxGridStubNode' linkWidget\x3d'"+u.id+"' cellIdx\x3d'"+this.index+
"'\x3e"+this.defaultValue+"\x3c/div\x3e":u},format:function(y,p){var u=this.grid.edit.info,w=this.get?this.get(y,p):this.value||this.defaultValue;w&&w.replace&&this.grid.escapeHTMLInData&&(w=w.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"));return this.editable&&(this.alwaysEditing||u.rowIndex==y&&u.cell==this)?this.formatEditing(u.value?u.value:w,y):this._defaultFormat(w,[w,y,this])},formatEditing:function(y,p){},getNode:function(y){return this.view.getCellNode(y,this.index)},getHeaderNode:function(){return this.view.getHeaderCellNode(this.index)},
getEditNode:function(y){return(this.getNode(y)||0).firstChild||0},canResize:function(){var y=this.unitWidth;return y&&"auto"!==y},isFlex:function(){var y=this.unitWidth;return y&&B.isString(y)&&("auto"==y||"%"==y.slice(-1))},applyEdit:function(y,p){this.getNode(p)&&this.grid.edit.applyCellEdit(y,this,p)},cancelEdit:function(y){this.grid.doCancelEdit(y)},_onEditBlur:function(y){this.grid.edit.isEditCell(y,this.index)&&this.grid.edit.apply()},registerOnBlur:function(y,p){this.commitOnBlur&&l.connect(y,
"onblur",function(u){setTimeout(B.hitch(this,"_onEditBlur",p),250)})},needFormatNode:function(y,p){this._formatPending=!0;n(this,"_formatNode",y,p)},cancelFormatNode:function(){this._formatPending=!1},_formatNode:function(y,p){this._formatPending&&(this._formatPending=!1,g("ie")||d.setSelectable(this.grid.domNode,!0),this.formatNode(this.getEditNode(p),y,p))},formatNode:function(y,p,u){g("ie")?n(this,"focus",u,y):this.focus(u,y)},dispatchEvent:function(y,p){if(y in this)return this[y](p)},getValue:function(y){return this.getEditNode(y)[this._valueProp]},
setValue:function(y,p){var u=this.getEditNode(y);u&&(u[this._valueProp]=p)},focus:function(y,p){var u=p||this.getEditNode(y);try{e.fire(u,"focus"),e.fire(u,"select")}catch(w){}},save:function(y){this.value=this.value||this.getValue(y)},restore:function(y){this.setValue(y,this.value)},_finish:function(y){d.setSelectable(this.grid.domNode,!1);this.cancelFormatNode()},apply:function(y){this.applyEdit(this.getValue(y),y);this._finish(y)},cancel:function(y){this.cancelEdit(y);this._finish(y)}});r.markupFactory=
function(y,p){var u=B.trim(c.get(y,"formatter")||"");u&&(p.formatter=B.getObject(u)||u);if(u=B.trim(c.get(y,"get")||""))p.get=B.getObject(u);u=function(w,q,t){var z=B.trim(c.get(y,w)||"");z&&(q[t||w]="false"!=z.toLowerCase())};u("sortDesc",p);u("editable",p);u("alwaysEditing",p);u("noresize",p);u("draggable",p);if(u=B.trim(c.get(y,"loadingText")||c.get(y,"defaultValue")||""))p.defaultValue=u;u=function(w,q,t){var z=B.trim(c.get(y,w)||"")||void 0;z&&(q[t||w]=z)};u("styles",p);u("headerStyles",p);u("cellStyles",
p);u("classes",p);u("headerClasses",p);u("cellClasses",p)};var k=r.Cell=C("dojox.grid.cells.Cell",r,{constructor:function(){this.keyFilter=this.keyFilter},keyFilter:null,formatEditing:function(y,p){this.needFormatNode(y,p);y&&y.replace&&(y=y.replace(/"/g,"\x26quot;"));return'\x3cinput class\x3d"dojoxGridInput" type\x3d"text" value\x3d"'+y+'"\x3e'},formatNode:function(y,p,u){this.inherited(arguments);this.registerOnBlur(y,u)},doKey:function(y){this.keyFilter&&-1==String.fromCharCode(y.charCode).search(this.keyFilter)&&
x.stop(y)},_finish:function(y){this.inherited(arguments);var p=this.getEditNode(y);try{e.fire(p,"blur")}catch(u){}}});k.markupFactory=function(y,p){r.markupFactory(y,p);var u=B.trim(c.get(y,"keyFilter")||"");u&&(p.keyFilter=new RegExp(u))};(r.RowIndex=C("dojox.grid.cells.RowIndex",k,{name:"Row",postscript:function(){this.editable=!1},get:function(y){return y+1}})).markupFactory=function(y,p){k.markupFactory(y,p)};(r.Select=C("dojox.grid.cells.Select",k,{options:null,values:null,returnIndex:-1,constructor:function(y){this.values=
this.values||this.options},formatEditing:function(y,p){this.needFormatNode(y,p);for(var u=['\x3cselect class\x3d"dojoxGridSelect"\x3e'],w=0,q,t;void 0!==(q=this.options[w])&&void 0!==(t=this.values[w]);w++)t=t.replace?t.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):t,q=q.replace?q.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):q,u.push("\x3coption",y==t?" selected":"",' value\x3d"'+t+'"',"\x3e",q,"\x3c/option\x3e");u.push("\x3c/select\x3e");return u.join("")},_defaultFormat:function(y,p){var u=
this.inherited(arguments);if(!this.formatter&&this.values&&this.options){var w=f.indexOf(this.values,u);0<=w&&(u=this.options[w])}return u},getValue:function(y){var p=this.getEditNode(y);if(p)return y=p.selectedIndex,p=p.options[y],-1<this.returnIndex?y:p.value||p.innerHTML}})).markupFactory=function(y,p){k.markupFactory(y,p);var u=B.trim(c.get(y,"options")||"");if(u){var w=u.split(",");w[0]!=u&&(p.options=w)}if(u=B.trim(c.get(y,"values")||""))w=u.split(","),w[0]!=u&&(p.values=w)};var m=r.AlwaysEdit=
C("dojox.grid.cells.AlwaysEdit",k,{alwaysEditing:!0,_formatNode:function(y,p){this.formatNode(this.getEditNode(p),y,p)},applyStaticValue:function(y){var p=this.grid.edit;p.applyCellEdit(this.getValue(y),this,y);p.start(this,y,!0)}});m.markupFactory=function(y,p){k.markupFactory(y,p)};(r.Bool=C("dojox.grid.cells.Bool",m,{_valueProp:"checked",formatEditing:function(y,p){return'\x3cinput class\x3d"dojoxGridInput" type\x3d"checkbox"'+(y?' checked\x3d"checked"':"")+' style\x3d"width: auto" /\x3e'},doclick:function(y){"INPUT"==
y.target.tagName&&this.applyStaticValue(y.rowIndex)}})).markupFactory=function(y,p){m.markupFactory(y,p)};return r})},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(A,C){var B={};A.setObject("dojo.cldr.supplemental",B);B.getFirstDayOfWeek=function(x){x={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,
"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0}[B._region(x)];return void 0===x?1:x};B._region=function(x){x=C.normalizeLocale(x);x=x.split("-");var l=x[1];l?4==l.length&&(l=x[2]):l={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",
cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",
lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",
tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",
cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",
kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",
mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",
ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[x[0]];return l};B.getWeekend=function(x){var l=B._region(x);x={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,
jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5}[l];l={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6}[l];void 0===x&&(x=6);void 0===l&&(l=0);return{start:x,end:l}};return B})},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(A,C,B,x,l){var f={};A.setObject("dojo.number",f);f.format=function(d,c){c=A.mixin({},c||{});var a=C.normalizeLocale(c.locale);a=C.getLocalization("dojo.cldr","number",a);
c.customs=a;a=c.pattern||a[(c.type||"decimal")+"Format"];return isNaN(d)||Infinity==Math.abs(d)?null:f._applyPattern(d,a,c)};f._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;f._applyPattern=function(d,c,a){a=a||{};var b=a.customs.group,e=a.customs.decimal;c=c.split(";");var h=c[0];c=c[0>d?1:0]||"-"+h;if(-1!=c.indexOf("%"))d*=100;else if(-1!=c.indexOf("\u2030"))d*=1E3;else if(-1!=c.indexOf("\u00a4"))b=a.customs.currencyGroup||b,e=a.customs.currencyDecimal||e,c=c.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/,
function(r,k,m,y){return(r=a[["symbol","currency","displayName"][m.length-1]]||a.currency||"")?k+r+y:""});else if(-1!=c.indexOf("E"))throw Error("exponential notation not supported");var n=f._numberPatternRE;h=h.match(n);if(!h)throw Error("unable to find a number expression in pattern: "+c);!1===a.fractional&&(a.places=0);return c.replace(n,f._formatAbsolute(d,h[0],{decimal:e,group:b,places:a.places,round:a.round}))};f.round=function(d,c,a){a=10/(a||10);return(a*+d).toFixed(c)/a};if(0==(.9).toFixed()){var g=
f.round;f.round=function(d,c,a){var b=Math.pow(10,-c||0),e=Math.abs(d);if(!d||e>=b)b=0;else if(e/=b,.5>e||.95<=e)b=0;return g(d,c,a)+(0<d?b:-b)}}f._formatAbsolute=function(d,c,a){a=a||{};!0===a.places&&(a.places=0);Infinity===a.places&&(a.places=6);c=c.split(".");var b="string"==typeof a.places&&a.places.indexOf(","),e=a.places;b?e=a.places.substring(b+1):0<=e||(e=(c[1]||[]).length);0>a.round||(d=f.round(d,e,a.round));d=String(Math.abs(d)).split(".");var h=d[1]||"";c[1]||a.places?(b&&(a.places=a.places.substring(0,
b)),b=void 0!==a.places?a.places:c[1]&&c[1].lastIndexOf("0")+1,b>h.length&&(d[1]=x.pad(h,b,"0",!0)),e<h.length&&(d[1]=h.substr(0,e))):d[1]&&d.pop();e=c[0].replace(",","");b=e.indexOf("0");-1!=b&&(b=e.length-b,b>d[0].length&&(d[0]=x.pad(d[0],b)),-1==e.indexOf("#")&&(d[0]=d[0].substr(d[0].length-b)));e=c[0].lastIndexOf(",");var n;if(-1!=e){var r=c[0].length-e-1;c=c[0].substr(0,e);e=c.lastIndexOf(",");-1!=e&&(n=c.length-e-1)}c=[];for(e=d[0];e;)b=e.length-r,c.push(0<b?e.substr(b):e),e=0<b?e.slice(0,b):
"",n&&(r=n,n=void 0);d[0]=c.reverse().join(a.group||",");return d.join(a.decimal||".")};f.regexp=function(d){return f._parseInfo(d).regexp};f._parseInfo=function(d){d=d||{};var c=C.normalizeLocale(d.locale);c=C.getLocalization("dojo.cldr","number",c);var a=d.pattern||c[(d.type||"decimal")+"Format"],b=c.group,e=c.decimal,h=1;if(-1!=a.indexOf("%"))h/=100;else if(-1!=a.indexOf("\u2030"))h/=1E3;else{var n=-1!=a.indexOf("\u00a4");n&&(b=c.currencyGroup||b,e=c.currencyDecimal||e)}c=a.split(";");1==c.length&&
c.push("-"+c[0]);c=l.buildGroupRE(c,function(r){r="(?:"+l.escapeString(r,".")+")";return r.replace(f._numberPatternRE,function(k){var m={signed:!1,separator:d.strict?b:[b,""],fractional:d.fractional,decimal:e,exponent:!1};k=k.split(".");var y=d.places;1==k.length&&1!=h&&(k[1]="###");1==k.length||0===y?m.fractional=!1:(void 0===y&&(y=d.pattern?k[1].lastIndexOf("0")+1:Infinity),y&&void 0==d.fractional&&(m.fractional=!0),!d.places&&y<k[1].length&&(y+=","+k[1].length),m.places=y);k=k[0].split(",");1<
k.length&&(m.groupSize=k.pop().length,1<k.length&&(m.groupSize2=k.pop().length));return"("+f._realNumberRegexp(m)+")"})},!0);n&&(c=c.replace(/([\s\xa0\u202f]*)(\u00a4{1,3})([\s\xa0\u202f]*)/g,function(r,k,m,y){r=l.escapeString(d[["symbol","currency","displayName"][m.length-1]]||d.currency||"");if(!r)return"";k=k?"[\\s\\xa0\\u202f]":"";y=y?"[\\s\\xa0\\u202f]":"";return d.strict?k+r+y:(k&&(k+="*"),y&&(y+="*"),"(?:"+k+r+y+")?")}));return{regexp:c.replace(/[\xa0\u202f ]/g,"[\\s\\xa0\\u202f]"),group:b,
decimal:e,factor:h}};f.parse=function(d,c){var a=f._parseInfo(c),b=(new RegExp("^"+a.regexp+"$")).exec(d);if(!b)return NaN;var e=b[1];if(!b[1]){if(!b[2])return NaN;e=b[2];a.factor*=-1}e=e.replace(new RegExp("["+a.group+"\\s\\xa0\\u202f]","g"),"").replace(a.decimal,".");return e*a.factor};f._realNumberRegexp=function(d){d=d||{};"places"in d||(d.places=Infinity);"string"!=typeof d.decimal&&(d.decimal=".");"fractional"in d&&!/^0/.test(d.places)||(d.fractional=[!0,!1]);"exponent"in d||(d.exponent=[!0,
!1]);"eSigned"in d||(d.eSigned=[!0,!1]);var c=f._integerRegexp(d),a=l.buildGroupRE(d.fractional,function(e){var h="";e&&0!==d.places&&(h="\\"+d.decimal,h=Infinity==d.places?"(?:"+h+"\\d+)?":h+("\\d{"+d.places+"}"));return h},!0),b=l.buildGroupRE(d.exponent,function(e){return e?"([eE]"+f._integerRegexp({signed:d.eSigned})+")":""});c+=a;a&&(c="(?:(?:"+c+")|(?:"+a+"))");return c+b};f._integerRegexp=function(d){d=d||{};"signed"in d||(d.signed=[!0,!1]);"separator"in d?"groupSize"in d||(d.groupSize=3):
d.separator="";var c=l.buildGroupRE(d.signed,function(b){return b?"[-+]":""},!0),a=l.buildGroupRE(d.separator,function(b){if(!b)return"(?:\\d+)";b=l.escapeString(b);" "==b?b="\\s":"\u00a0"==b?b="\\s\\xa0":"\u202f"==b&&(b="\\s\\u202f");var e=d.groupSize,h=d.groupSize2;return h?(b="(?:0|[1-9]\\d{0,"+(h-1)+"}(?:["+b+"]\\d{"+h+"})*["+b+"]\\d{"+e+"})",0<e-h?"(?:"+b+"|(?:0|[1-9]\\d{0,"+(e-1)+"}))":b):"(?:0|[1-9]\\d{0,"+(e-1)+"}(?:["+b+"]\\d{"+e+"})*)"},!0);return c+a};return f})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a){return C("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var b=this.getParent();this._childOfLayoutWidget=b&&b.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._isShown()&&this._onShow();this._childOfLayoutWidget||this.own(c.on("resize",f.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var b=[],e=!1;g("\x3e *",this.containerNode).some(function(h){var n=
d.byNode(h);n&&n.resize?b.push(n):!/script|link|style/i.test(h.nodeName)&&h.offsetHeight&&(e=!0)});this._singleChild=1!=b.length||e?null:b[0];B.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(b,e){this._resizeCalled=!0;this._scheduleLayout(b,e)},_scheduleLayout:function(b,e){this._isShown()?this._layout(b,e):(this._needLayout=!0,this._changeSize=b,this._resultSize=e)},_layout:function(b,e){delete this._needLayout;this._wasShown||!1===this.open||this._onShow();
b&&x.setMarginBox(this.domNode,b);var h=this.containerNode;if(h===this.domNode){var n=e||{};f.mixin(n,b||{});"h"in n&&"w"in n||(n=f.mixin(x.getMarginBox(h),n));this._contentBox=a.marginBox2contentBox(h,n)}else this._contentBox=x.getContentBox(h);this._layoutChildren()},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var b=this._contentBox||x.getContentBox(this.containerNode);this._singleChild.resize({w:b.w,h:b.h})}else{b=this.getChildren();for(var e,
h=0;e=b[h++];)e.resize&&e.resize()}},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var b=this.domNode,e=this.domNode.parentNode;return"none"!=b.style.display&&"hidden"!=b.style.visibility&&!B.contains(b,"dijitHidden")&&e&&e.style&&"none"!=e.style.display},_onShow:function(){this._wasShown=!0;this._needLayout&&this._layout(this._changeSize,this._resultSize);this.inherited(arguments)}})})},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare",
"dojo/dom","dojo/has","../registry"],function(A,C,B,x){var l=A("dijit.form._ButtonMixin"+(B("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(f){f.stopPropagation();f.preventDefault();this.disabled||this.valueNode.click(f);return!1},_onClick:function(f){if(this.disabled)return f.stopPropagation(),f.preventDefault(),!1;!1===this.onClick(f)&&f.preventDefault();var g=f.defaultPrevented;if(!g&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var d=this.domNode;d.parentNode;d=
d.parentNode){var c=x.byNode(d);if(c&&"function"==typeof c._onSubmit){c._onSubmit(f);f.preventDefault();g=!0;break}}return!g},postCreate:function(){this.inherited(arguments);C.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(f){this._set("label",f);(this.containerNode||this.focusNode).innerHTML=f;this.onLabelSet()},onLabelSet:function(){}});B("dojo-bidi")&&(l=A("dijit.form._ButtonMixin",l,{onLabelSet:function(){this.inherited(arguments);this.applyTextDir(this.containerNode||
this.focusNode)}}));return l})},"dojox/gfx/path":function(){define(["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],function(A,C,B,x,l){l=B("dojox.gfx.path.Path",l.Shape,{constructor:function(f){this.shape=C.clone(A.defaultPath);this.segments=[];this.tbbox=null;this.absolute=!0;this.last={};this.rawNode=f;this.segmented=!1},setAbsoluteMode:function(f){this._confirmSegmented();this.absolute="string"==typeof f?"absolute"==f:f;return this},getAbsoluteMode:function(){this._confirmSegmented();
return this.absolute},getBoundingBox:function(){this._confirmSegmented();return this.bbox&&"l"in this.bbox?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null},_getRealBBox:function(){this._confirmSegmented();if(this.tbbox)return this.tbbox;var f=this.bbox,g=this._getRealMatrix();this.bbox=null;for(var d=0,c=this.segments.length;d<c;++d)this._updateWithSegment(this.segments[d],g);g=this.bbox;this.bbox=f;return this.tbbox=g?[{x:g.l,y:g.t},{x:g.r,y:g.t},{x:g.r,
y:g.b},{x:g.l,y:g.b}]:null},getLastPosition:function(){this._confirmSegmented();return"x"in this.last?this.last:null},_applyTransform:function(){this.tbbox=null;return this.inherited(arguments)},_updateBBox:function(f,g,d){d&&(g=x.multiplyPoint(d,f,g),f=g.x,g=g.y);this.bbox&&"l"in this.bbox?(this.bbox.l>f&&(this.bbox.l=f),this.bbox.r<f&&(this.bbox.r=f),this.bbox.t>g&&(this.bbox.t=g),this.bbox.b<g&&(this.bbox.b=g)):this.bbox={l:f,b:g,r:f,t:g}},_updateWithSegment:function(f,g){var d=f.args,c=d.length,
a;switch(f.action){case "M":case "L":case "C":case "S":case "Q":case "T":for(a=0;a<c;a+=2)this._updateBBox(d[a],d[a+1],g);this.last.x=d[c-2];this.last.y=d[c-1];this.absolute=!0;break;case "H":for(a=0;a<c;++a)this._updateBBox(d[a],this.last.y,g);this.last.x=d[c-1];this.absolute=!0;break;case "V":for(a=0;a<c;++a)this._updateBBox(this.last.x,d[a],g);this.last.y=d[c-1];this.absolute=!0;break;case "m":a=0;"x"in this.last||(this._updateBBox(this.last.x=d[0],this.last.y=d[1],g),a=2);for(;a<c;a+=2)this._updateBBox(this.last.x+=
d[a],this.last.y+=d[a+1],g);this.absolute=!1;break;case "l":case "t":for(a=0;a<c;a+=2)this._updateBBox(this.last.x+=d[a],this.last.y+=d[a+1],g);this.absolute=!1;break;case "h":for(a=0;a<c;++a)this._updateBBox(this.last.x+=d[a],this.last.y,g);this.absolute=!1;break;case "v":for(a=0;a<c;++a)this._updateBBox(this.last.x,this.last.y+=d[a],g);this.absolute=!1;break;case "c":for(a=0;a<c;a+=6)this._updateBBox(this.last.x+d[a],this.last.y+d[a+1],g),this._updateBBox(this.last.x+d[a+2],this.last.y+d[a+3],g),
this._updateBBox(this.last.x+=d[a+4],this.last.y+=d[a+5],g);this.absolute=!1;break;case "s":case "q":for(a=0;a<c;a+=4)this._updateBBox(this.last.x+d[a],this.last.y+d[a+1],g),this._updateBBox(this.last.x+=d[a+2],this.last.y+=d[a+3],g);this.absolute=!1;break;case "A":for(a=0;a<c;a+=7)this._updateBBox(d[a+5],d[a+6],g);this.last.x=d[c-2];this.last.y=d[c-1];this.absolute=!0;break;case "a":for(a=0;a<c;a+=7)this._updateBBox(this.last.x+=d[a+5],this.last.y+=d[a+6],g);this.absolute=!1}var b=[f.action];for(a=
0;a<c;++a)b.push(A.formatNumber(d[a],!0));if("string"==typeof this.shape.path)this.shape.path+=b.join("");else for(a=0,c=b.length;a<c;++a)this.shape.path.push(b[a])},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(f,g){this.tbbox=null;var d=this._validSegments[f.toLowerCase()];"number"==typeof d&&(d?g.length>=d&&(d={action:f,args:g.slice(0,g.length-g.length%d)},this.segments.push(d),this._updateWithSegment(d)):(d={action:f,args:[]},this.segments.push(d),this._updateWithSegment(d)))},
_collectArgs:function(f,g){for(var d=0;d<g.length;++d){var c=g[d];"boolean"==typeof c?f.push(c?1:0):"number"==typeof c?f.push(c):c instanceof Array?this._collectArgs(f,c):"x"in c&&"y"in c&&f.push(c.x,c.y)}},moveTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"M":"m",f);return this},lineTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"L":"l",f);return this},hLineTo:function(){this._confirmSegmented();
var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"H":"h",f);return this},vLineTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"V":"v",f);return this},curveTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"C":"c",f);return this},smoothCurveTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"S":
"s",f);return this},qCurveTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"Q":"q",f);return this},qSmoothCurveTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"T":"t",f);return this},arcTo:function(){this._confirmSegmented();var f=[];this._collectArgs(f,arguments);this._pushSegment(this.absolute?"A":"a",f);return this},closePath:function(){this._confirmSegmented();this._pushSegment("Z",
[]);return this},_confirmSegmented:function(){if(!this.segmented){var f=this.shape.path;this.shape.path=[];this._setPath(f);this.shape.path=this.shape.path.join("");this.segmented=!0}},_setPath:function(f){f=C.isArray(f)?f:f.match(A.pathSvgRegExp);this.segments=[];this.absolute=!0;this.bbox={};this.last={};if(f){for(var g="",d=[],c=f.length,a=0;a<c;++a){var b=f[a],e=parseFloat(b);isNaN(e)?(g&&this._pushSegment(g,d),d=[],g=b):d.push(e)}this._pushSegment(g,d)}},setShape:function(f){this.inherited(arguments,
["string"==typeof f?{path:f}:f]);this.segmented=!1;this.segments=[];A.lazyPathSegmentation||this._confirmSegmented();return this},_2PI:2*Math.PI});B=B("dojox.gfx.path.TextPath",l,{constructor:function(f){"text"in this||(this.text=C.clone(A.defaultTextPath));"fontStyle"in this||(this.fontStyle=C.clone(A.defaultFont))},getText:function(){return this.text},setText:function(f){this.text=A.makeParameters(this.text,"string"==typeof f?{text:f}:f);this._setText();return this},getFont:function(){return this.fontStyle},
setFont:function(f){this.fontStyle="string"==typeof f?A.splitFontString(f):A.makeParameters(A.defaultFont,f);this._setFont();return this}});return A.path={Path:l,TextPath:B}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(A,C,B){function x(g){setTimeout(function(){f.apply(l,g)},0)}var l=new B,f=l.emit;l.emit=null;C.prototype.trace=function(){var g=A._toArray(arguments);this.then(function(d){x(["resolved",d].concat(g))},function(d){x(["rejected",d].concat(g))},
function(d){x(["progress",d].concat(g))});return this};C.prototype.traceRejected=function(){var g=A._toArray(arguments);this.otherwise(function(d){x(["rejected",d].concat(g))});return this};return l})},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(A,C,B,x){return B("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:!1,
constructor:function(l){x.mixin(this,l);this.connects=[];l=this.store;if(!l.getFeatures()["dojo.data.api.Identity"])throw Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");l.getFeatures()["dojo.data.api.Notification"]&&(this.connects=this.connects.concat([C.after(l,"onNew",x.hitch(this,"onNewItem"),!0),C.after(l,"onDelete",x.hitch(this,"onDeleteItem"),!0),C.after(l,"onSet",x.hitch(this,"onSetItem"),!0)]))},destroy:function(){for(var l;l=this.connects.pop();)l.remove()},getRoot:function(l,
f){this.root?l(this.root):this.store.fetch({query:this.query,onComplete:x.hitch(this,function(g){if(1!=g.length)throw Error("dijit.tree.TreeStoreModel: root query returned "+g.length+" items, but must return exactly one");this.root=g[0];l(this.root)}),onError:f})},mayHaveChildren:function(l){return A.some(this.childrenAttrs,function(f){return this.store.hasAttribute(l,f)},this)},getChildren:function(l,f,g){var d=this.store;if(d.isItemLoaded(l)){for(var c=[],a=0;a<this.childrenAttrs.length;a++){var b=
d.getValues(l,this.childrenAttrs[a]);c=c.concat(b)}var e=0;this.deferItemLoadingUntilExpand||A.forEach(c,function(n){d.isItemLoaded(n)||e++});0==e?f(c):A.forEach(c,function(n,r){d.isItemLoaded(n)||d.loadItem({item:n,onItem:function(k){c[r]=k;0==--e&&f(c)},onError:g})})}else{var h=x.hitch(this,arguments.callee);d.loadItem({item:l,onItem:function(n){h(n,f,g)},onError:g})}},isItem:function(l){return this.store.isItem(l)},fetchItemByIdentity:function(l){this.store.fetchItemByIdentity(l)},getIdentity:function(l){return this.store.getIdentity(l)},
getLabel:function(l){return this.labelAttr?this.store.getValue(l,this.labelAttr):this.store.getLabel(l)},newItem:function(l,f,g){var d={parent:f,attribute:this.childrenAttrs[0]},c;this.newItemIdAttr&&l[this.newItemIdAttr]?this.fetchItemByIdentity({identity:l[this.newItemIdAttr],scope:this,onItem:function(a){a?this.pasteItem(a,null,f,!0,g):(c=this.store.newItem(l,d))&&void 0!=g&&this.pasteItem(c,f,f,!1,g)}}):(c=this.store.newItem(l,d))&&void 0!=g&&this.pasteItem(c,f,f,!1,g)},pasteItem:function(l,f,
g,d,c){var a=this.store,b=this.childrenAttrs[0];f&&A.forEach(this.childrenAttrs,function(h){if(a.containsValue(f,h,l)){if(!d){var n=A.filter(a.getValues(f,h),function(r){return r!=l});a.setValues(f,h,n)}b=h}});if(g)if("number"==typeof c){var e=a.getValues(g,b).slice();e.splice(c,0,l);a.setValues(g,b,e)}else a.setValues(g,b,a.getValues(g,b).concat(l))},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(l,f){f&&this.getChildren(f.item,x.hitch(this,function(g){this.onChildrenChange(f.item,
g)}))},onDeleteItem:function(l){this.onDelete(l)},onSetItem:function(l,f){if(-1!=A.indexOf(this.childrenAttrs,f))this.getChildren(l,x.hitch(this,function(g){this.onChildrenChange(l,g)}));else this.onChange(l)}})})},"dojox/fx/_core":function(){define(["dojo/_base/lang","dojo/_base/array","./_base"],function(A,C,B){var x=function(l,f){this.start=l;this.end=f;var g=A.isArray(l),d=g?[]:f-l;g?(C.forEach(this.start,function(c,a){d[a]=this.end[a]-c},this),this.getValue=function(c){var a=[];C.forEach(this.start,
function(b,e){a[e]=d[e]*c+b},this);return a}):this.getValue=function(c){return d*c+this.start}};return B._Line=x})},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(A,C){var B=C.prototype.onMove;return A("dojo.dnd.TimedMoveable",C,{timeout:40,constructor:function(x,l){l||(l={});l.timeout&&"number"==typeof l.timeout&&0<=l.timeout&&(this.timeout=l.timeout)},onMoveStop:function(x){x._timer&&(clearTimeout(x._timer),B.call(this,x,x._leftTop));C.prototype.onMoveStop.apply(this,
arguments)},onMove:function(x,l){x._leftTop=l;if(!x._timer){var f=this;x._timer=setTimeout(function(){x._timer=null;B.call(f,x,x._leftTop)},this.timeout)}}})})},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(A,C,B,x){function l(d){if((d.keyCode===A.ENTER||d.keyCode===A.SPACE)&&!/input|button|textarea/i.test(d.target.nodeName))for(d=d.target;d;d=d.parentNode)if(d.dojoClick)return!0}var f;B(document,"keydown",function(d){l(d)?(f=d.target,d.preventDefault()):
f=null});B(document,"keyup",function(d){l(d)&&d.target==f&&(f=null,B.emit(d.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:d.ctrlKey,shiftKey:d.shiftKey,metaKey:d.metaKey,altKey:d.altKey,_origType:d.type}))});var g=function(d,c){d.dojoClick=!0;return B(d,"click",c)};g.click=g;g.press=function(d,c){var a=B(d,x.press,function(e){("mousedown"!=e.type||C.isLeft(e))&&c(e)}),b=B(d,"keydown",function(e){e.keyCode!==A.ENTER&&e.keyCode!==A.SPACE||c(e)});return{remove:function(){a.remove();b.remove()}}};
g.release=function(d,c){var a=B(d,x.release,function(e){("mouseup"!=e.type||C.isLeft(e))&&c(e)}),b=B(d,"keyup",function(e){e.keyCode!==A.ENTER&&e.keyCode!==A.SPACE||c(e)});return{remove:function(){a.remove();b.remove()}}};g.move=x.move;return g})},"dojox/gfx/matrix":function(){define(["./_base","dojo/_base/lang"],function(A,C){var B=A.matrix={},x={};B._degToRad=function(l){return x[l]||(x[l]=Math.PI*l/180)};B._radToDeg=function(l){return l/Math.PI*180};B.Matrix2D=function(l){if(l)if("number"==typeof l)this.xx=
this.yy=l;else if(l instanceof Array){if(0<l.length){for(var f=B.normalize(l[0]),g=1;g<l.length;++g){var d=f,c=B.normalize(l[g]);f=new B.Matrix2D;f.xx=d.xx*c.xx+d.xy*c.yx;f.xy=d.xx*c.xy+d.xy*c.yy;f.yx=d.yx*c.xx+d.yy*c.yx;f.yy=d.yx*c.xy+d.yy*c.yy;f.dx=d.xx*c.dx+d.xy*c.dy+d.dx;f.dy=d.yx*c.dx+d.yy*c.dy+d.dy}C.mixin(this,f)}}else C.mixin(this,l)};C.extend(B.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});C.mixin(B,{identity:new B.Matrix2D,flipX:new B.Matrix2D({xx:-1}),flipY:new B.Matrix2D({yy:-1}),flipXY:new B.Matrix2D({xx:-1,
yy:-1}),translate:function(l,f){return 1<arguments.length?new B.Matrix2D({dx:l,dy:f}):new B.Matrix2D({dx:l.x,dy:l.y})},scale:function(l,f){return 1<arguments.length?new B.Matrix2D({xx:l,yy:f}):"number"==typeof l?new B.Matrix2D({xx:l,yy:l}):new B.Matrix2D({xx:l.x,yy:l.y})},rotate:function(l){var f=Math.cos(l);l=Math.sin(l);return new B.Matrix2D({xx:f,xy:-l,yx:l,yy:f})},rotateg:function(l){return B.rotate(B._degToRad(l))},skewX:function(l){return new B.Matrix2D({xy:Math.tan(l)})},skewXg:function(l){return B.skewX(B._degToRad(l))},
skewY:function(l){return new B.Matrix2D({yx:Math.tan(l)})},skewYg:function(l){return B.skewY(B._degToRad(l))},reflect:function(l,f){1==arguments.length&&(f=l.y,l=l.x);var g=l*l,d=f*f,c=g+d,a=2*l*f/c;return new B.Matrix2D({xx:2*g/c-1,xy:a,yx:a,yy:2*d/c-1})},project:function(l,f){1==arguments.length&&(f=l.y,l=l.x);var g=l*l,d=f*f,c=g+d,a=l*f/c;return new B.Matrix2D({xx:g/c,xy:a,yx:a,yy:d/c})},normalize:function(l){return l instanceof B.Matrix2D?l:new B.Matrix2D(l)},isIdentity:function(l){return 1==
l.xx&&0==l.xy&&0==l.yx&&1==l.yy&&0==l.dx&&0==l.dy},clone:function(l){var f=new B.Matrix2D,g;for(g in l)"number"==typeof l[g]&&"number"==typeof f[g]&&f[g]!=l[g]&&(f[g]=l[g]);return f},invert:function(l){l=B.normalize(l);var f=l.xx*l.yy-l.xy*l.yx;return l=new B.Matrix2D({xx:l.yy/f,xy:-l.xy/f,yx:-l.yx/f,yy:l.xx/f,dx:(l.xy*l.dy-l.yy*l.dx)/f,dy:(l.yx*l.dx-l.xx*l.dy)/f})},_multiplyPoint:function(l,f,g){return{x:l.xx*f+l.xy*g+l.dx,y:l.yx*f+l.yy*g+l.dy}},multiplyPoint:function(l,f,g){l=B.normalize(l);return"number"==
typeof f&&"number"==typeof g?B._multiplyPoint(l,f,g):B._multiplyPoint(l,f.x,f.y)},multiplyRectangle:function(l,f){var g=B.normalize(l);f=f||{x:0,y:0,width:0,height:0};if(B.isIdentity(g))return{x:f.x,y:f.y,width:f.width,height:f.height};var d=B.multiplyPoint(g,f.x,f.y),c=B.multiplyPoint(g,f.x,f.y+f.height),a=B.multiplyPoint(g,f.x+f.width,f.y);g=B.multiplyPoint(g,f.x+f.width,f.y+f.height);var b=Math.min(d.x,c.x,a.x,g.x),e=Math.min(d.y,c.y,a.y,g.y);return{x:b,y:e,width:Math.max(d.x,c.x,a.x,g.x)-b,height:Math.max(d.y,
c.y,a.y,g.y)-e}},multiply:function(l){for(var f=B.normalize(l),g=1;g<arguments.length;++g){var d=f,c=B.normalize(arguments[g]);f=new B.Matrix2D;f.xx=d.xx*c.xx+d.xy*c.yx;f.xy=d.xx*c.xy+d.xy*c.yy;f.yx=d.yx*c.xx+d.yy*c.yx;f.yy=d.yx*c.xy+d.yy*c.yy;f.dx=d.xx*c.dx+d.xy*c.dy+d.dx;f.dy=d.yx*c.dx+d.yy*c.dy+d.dy}return f},_sandwich:function(l,f,g){return B.multiply(B.translate(f,g),l,B.translate(-f,-g))},scaleAt:function(l,f,g,d){switch(arguments.length){case 4:return B._sandwich(B.scale(l,f),g,d);case 3:return"number"==
typeof g?B._sandwich(B.scale(l),f,g):B._sandwich(B.scale(l,f),g.x,g.y)}return B._sandwich(B.scale(l),f.x,f.y)},rotateAt:function(l,f,g){return 2<arguments.length?B._sandwich(B.rotate(l),f,g):B._sandwich(B.rotate(l),f.x,f.y)},rotategAt:function(l,f,g){return 2<arguments.length?B._sandwich(B.rotateg(l),f,g):B._sandwich(B.rotateg(l),f.x,f.y)},skewXAt:function(l,f,g){return 2<arguments.length?B._sandwich(B.skewX(l),f,g):B._sandwich(B.skewX(l),f.x,f.y)},skewXgAt:function(l,f,g){return 2<arguments.length?
B._sandwich(B.skewXg(l),f,g):B._sandwich(B.skewXg(l),f.x,f.y)},skewYAt:function(l,f,g){return 2<arguments.length?B._sandwich(B.skewY(l),f,g):B._sandwich(B.skewY(l),f.x,f.y)},skewYgAt:function(l,f,g){return 2<arguments.length?B._sandwich(B.skewYg(l),f,g):B._sandwich(B.skewYg(l),f.x,f.y)}});A.Matrix2D=B.Matrix2D;return B})},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(A,C,B){return A("dijit.form.HorizontalRule",[C,B],{templateString:'\x3cdiv class\x3d"dijitRuleContainer dijitRuleContainerH"\x3e\x3c/div\x3e',
count:3,container:"containerNode",ruleStyle:"",_positionPrefix:'\x3cdiv class\x3d"dijitRuleMark dijitRuleMarkH" style\x3d"left:',_positionSuffix:"%;",_suffix:'"\x3e\x3c/div\x3e',_genHTML:function(x){return this._positionPrefix+x+this._positionSuffix+this.ruleStyle+this._suffix},_isHorizontal:!0,buildRendering:function(){this.inherited(arguments);if(1==this.count)var x=this._genHTML(50,0);else{var l,f=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){x=this._genHTML(0,0);for(l=1;l<this.count-
1;l++)x+=this._genHTML(f*l,l);x+=this._genHTML(100,this.count-1)}else{x=this._genHTML(100,0);for(l=1;l<this.count-1;l++)x+=this._genHTML(100-f*l,l);x+=this._genHTML(0,this.count-1)}}this.domNode.innerHTML=x}})})},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(A,C,B,x){B(function(){C("highcontrast")&&A.add(x.body(),"dijit_a11y")});return C})},"dijit/form/HorizontalRuleLabels":function(){define("dojo/_base/declare dojo/has dojo/number dojo/query dojo/_base/lang ./HorizontalRule".split(" "),
function(A,C,B,x,l,f){A=A("dijit.form.HorizontalRuleLabels",f,{templateString:'\x3cdiv class\x3d"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH"\x3e\x3c/div\x3e',labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:'\x3cdiv class\x3d"dijitRuleLabelContainer dijitRuleLabelContainerH" style\x3d"left:',_labelPrefix:'"\x3e\x3cdiv class\x3d"dijitRuleLabel dijitRuleLabelH"\x3e',_suffix:"\x3c/div\x3e\x3c/div\x3e",
_calcPosition:function(g){return g},_genHTML:function(g,d){var c=this.labels[d];return this._positionPrefix+this._calcPosition(g)+this._positionSuffix+this.labelStyle+this._genDirectionHTML(c)+this._labelPrefix+c+this._suffix},_genDirectionHTML:function(g){return""},getLabels:function(){var g=this.labels;!g.length&&this.srcNodeRef&&(g=x("\x3e li",this.srcNodeRef).map(function(b){return String(b.innerHTML)}));if(!g.length&&1<this.count){g=[];for(var d=this.minimum,c=(this.maximum-d)/(this.count-1),
a=0;a<this.count;a++)g.push(a<this.numericMargin||a>=this.count-this.numericMargin?"":B.format(d,this.constraints)),d+=c}return g},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length}});C("dojo-bidi")&&A.extend({_setTextDirAttr:function(g){this.textDir!=g&&(this._set("textDir",g),x(".dijitRuleLabelContainer",this.domNode).forEach(l.hitch(this,function(d){d.style.direction=this.getTextDir(d.innerText||d.textContent||"")})))},_genDirectionHTML:function(g){return this.textDir?
"direction:"+this.getTextDir(g)+";":""}});return A})},"dijit/Editor":function(){define("require dojo/_base/array dojo/_base/declare dojo/Deferred dojo/i18n dojo/dom-attr dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/keys dojo/_base/lang dojo/sniff dojo/string dojo/topic ./_Container ./Toolbar ./ToolbarSeparator ./layout/_LayoutWidget ./form/ToggleButton ./_editor/_Plugin ./_editor/plugins/EnterKeyHandling ./_editor/html ./_editor/range ./_editor/RichText ./main dojo/i18n!./_editor/nls/commands".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t,z,D){function v(F){return new u({command:F.name})}function E(F){return new u({buttonClass:p,command:F.name})}B=B("dijit.Editor",z,{plugins:null,extraPlugins:null,constructor:function(){b.isArray(this.plugins)||(this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",w]);this._plugins=
[];this._editInterval=1E3*this.editActionInterval;if(e("ie")||e("trident")||e("edge"))this.events.push("onBeforeDeactivate"),this.events.push("onBeforeActivate")},postMixInProperties:function(){this.setValueDeferred=new x;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);b.isArray(this.extraPlugins)&&(this.plugins=this.plugins.concat(this.extraPlugins));this.commands=l.getLocalization("dijit._editor",
"commands",this.lang);e("webkit")&&c.set(this.domNode,"KhtmlUserSelect","none")},startup:function(){this.inherited(arguments);this.toolbar||(this.toolbar=new k({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id}),this.header.appendChild(this.toolbar.domNode));C.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(!0);g.add(this.iframe.parentNode,"dijitEditorIFrameContainer");g.add(this.iframe,"dijitEditorIFrame");f.set(this.iframe,"allowTransparency",
!0);this.toolbar.startup();this.onNormalizedDisplayChanged()},destroy:function(){C.forEach(this._plugins,function(F){F&&F.destroy&&F.destroy()});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments)},addPlugin:function(F,H){var J=b.isString(F)?{name:F}:b.isFunction(F)?{ctor:F}:F;if(!J.setEditor){var G={args:J,plugin:null,editor:this};J.name&&(u.registry[J.name]?G.plugin=u.registry[J.name](J):n.publish(D._scopeName+".Editor.getPlugin",G));if(!G.plugin)try{var I=
J.ctor||b.getObject(J.name)||A(J.name);I&&(G.plugin=new I(J))}catch(K){throw Error(this.id+": cannot find plugin ["+J.name+"]");}if(!G.plugin)throw Error(this.id+": cannot find plugin ["+J.name+"]");F=G.plugin}1<arguments.length?this._plugins[H]=F:this._plugins.push(F);F.setEditor(this);b.isFunction(F.setToolbar)&&F.setToolbar(this.toolbar)},resize:function(F){F&&y.prototype.resize.apply(this,arguments)},layout:function(){var F=this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+d.getPadBorderExtents(this.iframe.parentNode).h+
d.getMarginExtents(this.iframe.parentNode).h);this.editingArea.style.height=F+"px";this.iframe&&(this.iframe.style.height="100%");this._layoutMode=!0},_onIEMouseDown:function(F){var H,J=this.document.body,G=J.clientWidth,I=J.clientHeight,K=J.clientLeft,M=J.offsetWidth,N=J.offsetHeight,Q=J.offsetLeft;/^rtl$/i.test(J.dir||"")?G<M&&F.x>G&&F.x<M&&(H=!0):F.x<K&&F.x>Q&&(H=!0);H||I<N&&F.y>I&&F.y<N&&(H=!0);H||(delete this._cursorToStart,delete this._savedSelection,"BODY"==F.target.tagName&&this.defer("placeCursorAtEnd"),
this.inherited(arguments))},onBeforeActivate:function(){this._restoreSelection()},onBeforeDeactivate:function(F){this.customUndo&&this.endEditing(!0);"BODY"!=F.target.tagName&&this._saveSelection()},customUndo:!0,editActionInterval:3,beginEditing:function(F){this._inEditing||(this._inEditing=!0,this._beginEditing(F));0<this.editActionInterval&&(this._editTimer&&this._editTimer.remove(),this._editTimer=this.defer("endEditing",this._editInterval))},_steps:[],_undoedSteps:[],execCommand:function(F){if(!this.customUndo||
"undo"!=F&&"redo"!=F){this.customUndo&&(this.endEditing(),this._beginEditing());var H=this.inherited(arguments);this.customUndo&&this._endEditing();return H}return this[F]()},_pasteImpl:function(){return this._clipboardCommand("paste")},_cutImpl:function(){return this._clipboardCommand("cut")},_copyImpl:function(){return this._clipboardCommand("copy")},_clipboardCommand:function(F){try{var H=this.document.execCommand(F,!1,null);if(e("webkit")&&!H)throw{};}catch(J){H=h.substitute,alert(H(this.commands.systemShortcut,
[this.commands[F],H(this.commands[e("mac")?"appleKey":"ctrlKey"],[{cut:"X",copy:"C",paste:"V"}[F]])])),H=!1}return H},queryCommandEnabled:function(F){return!this.customUndo||"undo"!=F&&"redo"!=F?this.inherited(arguments):"undo"==F?1<this._steps.length:0<this._undoedSteps.length},_moveToBookmark:function(F){var H=F.mark,J=F.mark;F=F.isCollapsed;var G;if(J)if(9>e("ie")||9===e("ie")&&e("quirks"))if(b.isArray(J))H=[],C.forEach(J,function(M){H.push(t.getNode(M,this.editNode))},this),this.selection.moveToBookmark({mark:H,
isCollapsed:F});else{if(J.startContainer&&J.endContainer&&(G=t.getSelection(this.window))&&G.removeAllRanges){G.removeAllRanges();F=t.create(this.window);var I=t.getNode(J.startContainer,this.editNode);var K=t.getNode(J.endContainer,this.editNode);I&&K&&(F.setStart(I,J.startOffset),F.setEnd(K,J.endOffset),G.addRange(F))}}else(G=t.getSelection(this.window))&&G.removeAllRanges&&(G.removeAllRanges(),F=t.create(this.window),I=t.getNode(J.startContainer,this.editNode),K=t.getNode(J.endContainer,this.editNode),
I&&K&&(F.setStart(I,J.startOffset),F.setEnd(K,J.endOffset),G.addRange(F)))},_changeToStep:function(F,H){this.setValue(H.text);var J=H.bookmark;J&&this._moveToBookmark(J)},undo:function(){var F=!1;if(!this._undoRedoActive){this._undoRedoActive=!0;this.endEditing(!0);var H=this._steps.pop();H&&0<this._steps.length&&(this.focus(),this._changeToStep(H,this._steps[this._steps.length-1]),this._undoedSteps.push(H),this.onDisplayChanged(),delete this._undoRedoActive,F=!0);delete this._undoRedoActive}return F},
redo:function(){var F=!1;if(!this._undoRedoActive){this._undoRedoActive=!0;this.endEditing(!0);var H=this._undoedSteps.pop();H&&0<this._steps.length&&(this.focus(),this._changeToStep(this._steps[this._steps.length-1],H),this._steps.push(H),this.onDisplayChanged(),F=!0);delete this._undoRedoActive}return F},endEditing:function(F){this._editTimer&&(this._editTimer=this._editTimer.remove());this._inEditing&&(this._endEditing(F),this._inEditing=!1)},_getBookmark:function(){var F=this.selection.getBookmark(),
H=[];if(F&&F.mark){var J=F.mark;if(9>e("ie")||9===e("ie")&&e("quirks")){var G=t.getSelection(this.window);if(b.isArray(J))C.forEach(F.mark,function(K){H.push(t.getIndex(K,this.editNode).o)},this),F.mark=H;else if(G){var I;G.rangeCount&&(I=G.getRangeAt(0));F.mark=I?I.cloneRange():this.selection.getBookmark()}}try{F.mark&&F.mark.startContainer&&(H=t.getIndex(F.mark.startContainer,this.editNode).o,F.mark={startContainer:H,startOffset:F.mark.startOffset,endContainer:F.mark.endContainer===F.mark.startContainer?
H:t.getIndex(F.mark.endContainer,this.editNode).o,endOffset:F.mark.endOffset})}catch(K){F.mark=null}}return F},_beginEditing:function(){0===this._steps.length&&this._steps.push({text:q.getChildrenHtml(this.editNode),bookmark:this._getBookmark()})},_endEditing:function(){var F=q.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:F,bookmark:this._getBookmark()})},onKeyDown:function(F){e("ie")||this.iframe||F.keyCode!=a.TAB||this.tabIndent||this._saveSelection();if(this.customUndo){var H=
F.keyCode;if(F.ctrlKey&&!F.shiftKey&&!F.altKey){if(90==H||122==H){F.stopPropagation();F.preventDefault();this.undo();return}if(89==H||121==H){F.stopPropagation();F.preventDefault();this.redo();return}}this.inherited(arguments);switch(H){case a.ENTER:case a.BACKSPACE:case a.DELETE:this.beginEditing();break;case 88:case 86:if(F.ctrlKey&&!F.altKey&&!F.metaKey){this.endEditing();88==F.keyCode?this.beginEditing("cut"):this.beginEditing("paste");this.defer("endEditing",1);break}default:if(!F.ctrlKey&&!F.altKey&&
!F.metaKey&&(F.keyCode<a.F1||F.keyCode>a.F15)){this.beginEditing();break}case a.ALT:this.endEditing();break;case a.UP_ARROW:case a.DOWN_ARROW:case a.LEFT_ARROW:case a.RIGHT_ARROW:case a.HOME:case a.END:case a.PAGE_UP:case a.PAGE_DOWN:this.endEditing(!0);case a.CTRL:case a.SHIFT:case a.TAB:}}else this.inherited(arguments)},_onBlur:function(){this.inherited(arguments);this.endEditing(!0)},_saveSelection:function(){try{this._savedSelection=this._getBookmark()}catch(F){}},_restoreSelection:function(){this._savedSelection&&
(delete this._cursorToStart,this.selection.isCollapsed()&&this._moveToBookmark(this._savedSelection),delete this._savedSelection)},onClick:function(){this.endEditing(!0);this.inherited(arguments)},replaceValue:function(F){this.customUndo?this.isClosed?this.setValue(F):(this.beginEditing(),F||(F="\x26#160;"),this.setValue(F),this.endEditing()):this.inherited(arguments)},_setDisabledAttr:function(F){this.setValueDeferred.then(b.hitch(this,function(){!this.disabled&&F||!this._buttonEnabledPlugins&&F?
C.forEach(this._plugins,function(H){H.set("disabled",!0)}):this.disabled&&!F&&C.forEach(this._plugins,function(H){H.set("disabled",!1)})}));this.inherited(arguments)},_setStateClass:function(){try{this.inherited(arguments),this.document&&this.document.body&&(c.set(this.document.body,"color",c.get(this.iframe,"color")),c.set(this.document.body,"background-color",c.get(this.iframe,"background-color")))}catch(F){}}});b.mixin(u.registry,{undo:v,redo:v,cut:v,copy:v,paste:v,insertOrderedList:v,insertUnorderedList:v,
indent:v,outdent:v,justifyCenter:v,justifyFull:v,justifyLeft:v,justifyRight:v,"delete":v,selectAll:v,removeFormat:v,unlink:v,insertHorizontalRule:v,bold:E,italic:E,underline:E,strikethrough:E,subscript:E,superscript:E,"|":function(){return new u({setEditor:function(F){this.editor=F;this.button=new m({ownerDocument:F.ownerDocument})}})}});return B})},"dojox/grid/Selection":function(){define(["dojo/_base/declare","dojo/_base/array","dojo/_base/lang","dojo/dom-attr"],function(A,C,B,x){return A("dojox.grid.Selection",
null,{constructor:function(l){this.grid=l;this.selected=[];this.setMode(l.selectionMode)},mode:"extended",selected:null,updating:0,selectedIndex:-1,rangeStartIndex:-1,setMode:function(l){this.selected.length&&this.deselectAll();this.mode="extended"!=l&&"multiple"!=l&&"single"!=l&&"none"!=l?"extended":l},onCanSelect:function(l){return this.grid.onCanSelect(l)},onCanDeselect:function(l){return this.grid.onCanDeselect(l)},onSelected:function(l){},onDeselected:function(l){},onChanging:function(){},onChanged:function(){},
isSelected:function(l){return"none"==this.mode?!1:this.selected[l]},getFirstSelected:function(){if(!this.selected.length||"none"==this.mode)return-1;for(var l=0,f=this.selected.length;l<f;l++)if(this.selected[l])return l;return-1},getNextSelected:function(l){if("none"==this.mode)return-1;l+=1;for(var f=this.selected.length;l<f;l++)if(this.selected[l])return l;return-1},getSelected:function(){for(var l=[],f=0,g=this.selected.length;f<g;f++)this.selected[f]&&l.push(f);return l},getSelectedCount:function(){for(var l=
0,f=0;f<this.selected.length;f++)this.selected[f]&&l++;return l},_beginUpdate:function(){if(0===this.updating)this.onChanging();this.updating++},_endUpdate:function(){this.updating--;if(0===this.updating)this.onChanged()},select:function(l){"none"!=this.mode&&("multiple"!=this.mode?(this.deselectAll(l),this.addToSelection(l)):this.toggleSelect(l))},addToSelection:function(l){if("none"!=this.mode)if(B.isArray(l))C.forEach(l,this.addToSelection,this);else if(l=Number(l),this.selected[l])this.selectedIndex=
l;else if(!1!==this.onCanSelect(l)){this.selectedIndex=l;var f=this.grid.getRowNode(l);f&&x.set(f,"aria-selected","true");this._beginUpdate();this.selected[l]=!0;this.onSelected(l);this._endUpdate()}},deselect:function(l){if("none"!=this.mode)if(B.isArray(l))C.forEach(l,this.deselect,this);else if(l=Number(l),this.selectedIndex==l&&(this.selectedIndex=-1),this.selected[l]&&!1!==this.onCanDeselect(l)){var f=this.grid.getRowNode(l);f&&x.set(f,"aria-selected","false");this._beginUpdate();delete this.selected[l];
this.onDeselected(l);this._endUpdate()}},setSelected:function(l,f){this[f?"addToSelection":"deselect"](l)},toggleSelect:function(l){B.isArray(l)?C.forEach(l,this.toggleSelect,this):this.setSelected(l,!this.selected[l])},_range:function(l,f,g){var d=0<=l?l:f;l=f;d>l&&(l=d,d=f);for(f=d;f<=l;f++)g(f)},selectRange:function(l,f){this._range(l,f,B.hitch(this,"addToSelection"))},deselectRange:function(l,f){this._range(l,f,B.hitch(this,"deselect"))},insert:function(l){this.selected.splice(l,0,!1);this.selectedIndex>=
l&&this.selectedIndex++},remove:function(l){this.selected.splice(l,1);this.selectedIndex>=l&&this.selectedIndex--},deselectAll:function(l){for(var f in this.selected)f!=l&&!0===this.selected[f]&&this.deselect(f)},clickSelect:function(l,f,g){if("none"!=this.mode){this._beginUpdate();if("extended"!=this.mode)this.select(l);else{if(!g||0>this.rangeStartIndex)this.rangeStartIndex=l;f||this.deselectAll(l);g?this.selectRange(this.rangeStartIndex,l):f?this.toggleSelect(l):this.addToSelection(l)}this._endUpdate()}},
clickSelectEvent:function(l){this.clickSelect(l.rowIndex,dojo.isCopyKey(l),l.shiftKey)},clear:function(){this._beginUpdate();this.deselectAll();this._endUpdate()}})})},"dojox/editor/plugins/StatusBar":function(){define("dojo dijit dojox dijit/_Widget dijit/_TemplatedMixin dijit/_editor/_Plugin dojo/_base/connect dojo/_base/declare dojox/layout/ResizeHandle".split(" "),function(A,C,B,x,l,f){A.experimental("dojox.editor.plugins.StatusBar");var g=A.declare("dojox.editor.plugins._StatusBar",[x,l],{templateString:'\x3cdiv class\x3d"dojoxEditorStatusBar"\x3e\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd class\x3d"dojoxEditorStatusBarText" tabindex\x3d"-1" aria-role\x3d"presentation" aria-live\x3d"aggressive"\x3e\x3cspan dojoAttachPoint\x3d"barContent"\x3e\x26nbsp;\x3c/span\x3e\x3c/td\x3e\x3ctd\x3e\x3cspan dojoAttachPoint\x3d"handle"\x3e\x3c/span\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3ctable\x3e\x3c/div\x3e',
_getValueAttr:function(){return this.barContent.innerHTML},_setValueAttr:function(c){c?(c=A.trim(c))||(c="\x26nbsp;"):c="\x26nbsp;";this.barContent.innerHTML=c}}),d=A.declare("dojox.editor.plugins.StatusBar",f,{statusBar:null,resizer:!0,setEditor:function(c){this.editor=c;this.statusBar=new g;this.resizer?(this.resizeHandle=new B.layout.ResizeHandle({targetId:this.editor,activeResize:!0},this.statusBar.handle),this.resizeHandle.startup()):A.style(this.statusBar.handle.parentNode,"display","none");
var a=null;c.footer.lastChild&&(a="after");A.place(this.statusBar.domNode,c.footer.lastChild||c.footer,a);this.statusBar.startup();this.editor.statusBar=this;this._msgListener=A.subscribe(this.editor.id+"_statusBar",A.hitch(this,this._setValueAttr))},_getValueAttr:function(){return this.statusBar.get("value")},_setValueAttr:function(c){this.statusBar.set("value",c)},set:function(c,a){if(c){var b="_set"+c.charAt(0).toUpperCase()+c.substring(1,c.length)+"Attr";if(A.isFunction(this[b]))this[b](a);else this[c]=
a}},get:function(c){if(c){var a="_get"+c.charAt(0).toUpperCase()+c.substring(1,c.length)+"Attr";return A.isFunction(this[a])?this[a]():this[c]}return null},destroy:function(){this.statusBar&&(this.statusBar.destroy(),delete this.statusBar);this.resizeHandle&&(this.resizeHandle.destroy(),delete this.resizeHandle);this._msgListener&&(A.unsubscribe(this._msgListener),delete this._msgListener);delete this.editor.statusBar}});d._StatusBar=g;A.subscribe(C._scopeName+".Editor.getPlugin",null,function(c){c.plugin||
"statusbar"!==c.args.name.toLowerCase()||(c.plugin=new d({resizer:"resizer"in c.args?c.args.resizer:!0}))});return d})},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(A,C,B,x){return C("dojo.fx.Toggler",null,{node:null,showFunc:B.fadeIn,hideFunc:B.fadeOut,showDuration:200,hideDuration:200,constructor:function(l){A.mixin(this,l);this.node=l.node;this._showArgs=A.mixin({},l);this._showArgs.node=this.node;this._showArgs.duration=this.showDuration;
this.showAnim=this.showFunc(this._showArgs);this._hideArgs=A.mixin({},l);this._hideArgs.node=this.node;this._hideArgs.duration=this.hideDuration;this.hideAnim=this.hideFunc(this._hideArgs);x.after(this.showAnim,"beforeBegin",A.hitch(this.hideAnim,"stop",!0),!0);x.after(this.hideAnim,"beforeBegin",A.hitch(this.showAnim,"stop",!0),!0)},show:function(l){return this.showAnim.play(l||0)},hide:function(l){return this.hideAnim.play(l||0)}})})},"dojox/gfx/decompose":function(){define(["./_base","dojo/_base/lang",
"./matrix"],function(A,C,B){function x(c,a){return Math.abs(c-a)<=1E-6*(Math.abs(c)+Math.abs(a))}function l(c,a,b,e){if(!isFinite(c))return b;if(!isFinite(b))return c;a=Math.abs(a);e=Math.abs(e);return(a*c+e*b)/(a+e)}function f(c){c=B.normalize(c);var a=-c.xx-c.yy,b=c.xx*c.yy-c.xy*c.yx,e=Math.sqrt(a*a-4*b);a=-(a+(0>a?-e:e))/2;b/=a;e=c.xy/(a-c.xx);var h=1,n=c.xy/(b-c.xx),r=1;x(a,b)&&(e=1,n=h=0,r=1);isFinite(e)||(e=1,h=(a-c.xx)/c.xy,isFinite(h)||(e=(a-c.yy)/c.yx,h=1,isFinite(e)||(e=1,h=c.yx/(a-c.yy))));
isFinite(n)||(n=1,r=(b-c.xx)/c.xy,isFinite(r)||(n=(b-c.yy)/c.yx,r=1,isFinite(n)||(n=1,r=c.yx/(b-c.yy))));c=Math.sqrt(e*e+h*h);var k=Math.sqrt(n*n+r*r);isFinite(e/=c)||(e=0);isFinite(h/=c)||(h=0);isFinite(n/=k)||(n=0);isFinite(r/=k)||(r=0);return{value1:a,value2:b,vector1:{x:e,y:h},vector2:{x:n,y:r}}}function g(c,a){var b=0>c.xx*c.yy||0<c.xy*c.yx?-1:1,e=a.angle1=(Math.atan2(c.yx,c.yy)+Math.atan2(-b*c.xy,b*c.xx))/2;b=Math.cos(e);e=Math.sin(e);a.sx=l(c.xx/b,b,-c.xy/e,e);a.sy=l(c.yy/b,b,c.yx/e,e);return a}
function d(c,a){var b=0>c.xx*c.yy||0<c.xy*c.yx?-1:1,e=a.angle2=(Math.atan2(b*c.yx,b*c.xx)+Math.atan2(-c.xy,c.yy))/2;b=Math.cos(e);e=Math.sin(e);a.sx=l(c.xx/b,b,c.yx/e,e);a.sy=l(c.yy/b,b,-c.xy/e,e);return a}return A.decompose=function(c){var a=B.normalize(c);c={dx:a.dx,dy:a.dy,sx:1,sy:1,angle1:0,angle2:0};if(x(a.xy,0)&&x(a.yx,0))return C.mixin(c,{sx:a.xx,sy:a.yy});if(x(a.xx*a.yx,-a.xy*a.yy))return g(a,c);if(x(a.xx*a.xy,-a.yx*a.yy))return d(a,c);var b=new B.Matrix2D(a);var e=C.mixin(b,{dx:0,dy:0,xy:b.yx,
yx:b.xy});b=f([a,e]);e=f([e,a]);b=new B.Matrix2D({xx:b.vector1.x,xy:b.vector2.x,yx:b.vector1.y,yy:b.vector2.y});e=new B.Matrix2D({xx:e.vector1.x,xy:e.vector1.y,yx:e.vector2.x,yy:e.vector2.y});a=new B.Matrix2D([B.invert(b),a,B.invert(e)]);g(e,c);a.xx*=c.sx;a.yy*=c.sy;d(b,c);a.xx*=c.sx;a.yy*=c.sy;return C.mixin(c,{sx:a.xx,sy:a.yy})}})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){function m(){this._popupWrapper&&(f.destroy(this._popupWrapper),delete this._popupWrapper)}B=B(null,{_stack:[],_beginZIndex:1E3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var y=this._firstAroundPosition,p=g.position(this._firstAroundNode,!0),u=p.x-y.x;y=p.y-y.y;if(u||y)for(this._firstAroundPosition=p,p=0;p<this._stack.length;p++){var w=this._stack[p].wrapper.style;w.top=parseFloat(w.top)+y+"px";"auto"==w.right?w.left=parseFloat(w.left)+u+
"px":w.right=parseFloat(w.right)-u+"px"}this._aroundMoveListener=setTimeout(b.hitch(this,"_repositionAll"),u||y?10:50)}},_createWrapper:function(y){var p=y._popupWrapper,u=y.domNode;p||(p=f.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":y["aria-label"]||y.label||y.name||y.id},y.ownerDocumentBody),p.appendChild(u),u=u.style,u.display="",u.visibility="",u.position="",u.top="0px",y._popupWrapper=p,C.after(y,"destroy",m,!0),"ontouchend"in document&&e(p,"touchend",
function(w){/^(input|button|textarea)$/i.test(w.target.tagName)||w.preventDefault()}),p.dojoClick=!0);return p},moveOffScreen:function(y){var p=this._createWrapper(y);y=g.isBodyLtr(y.ownerDocument);var u={visibility:"hidden",top:"-9999px",display:""};u[y?"left":"right"]="-9999px";u[y?"right":"left"]="auto";d.set(p,u);return p},hide:function(y){var p=this._createWrapper(y);d.set(p,{display:"none",height:"auto",overflowY:"visible",border:""});y=y.domNode;"_originalStyle"in y&&(y.style.cssText=y._originalStyle)},
getTopPopup:function(){for(var y=this._stack,p=y.length-1;0<p&&y[p].parent===y[p-1].widget;p--);return y[p]},open:function(y){for(var p=this._stack,u=y.popup,w=u.domNode,q=y.orient||["below","below-alt","above","above-alt"],t=y.parent?y.parent.isLeftToRight():g.isBodyLtr(u.ownerDocument),z=y.around,D=y.around&&y.around.id?y.around.id+"_dropdown":"popup_"+this._idGen++;p.length&&(!y.parent||!x.isDescendant(y.parent.domNode,p[p.length-1].widget.domNode));)this.close(p[p.length-1].widget);var v=this.moveOffScreen(u);
u.startup&&!u._started&&u.startup();var E=g.position(w);if("maxHeight"in y&&-1!=y.maxHeight)var F=y.maxHeight||Infinity;else{F=r.getEffectiveBox(this.ownerDocument);var H=z?g.position(z,!1):{y:y.y-(y.padding||0),h:2*(y.padding||0)};F=Math.floor(Math.max(H.y,F.h-(H.y+H.h)))}E.h>F&&(E=d.getComputedStyle(w),d.set(v,{overflowY:"scroll",height:F+"px",border:E.borderLeftWidth+" "+E.borderLeftStyle+" "+E.borderLeftColor}),w._originalStyle=w.style.cssText,w.style.border="none");l.set(v,{id:D,style:{zIndex:this._beginZIndex+
p.length},"class":"dijitPopup "+(u.baseClass||u["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:y.parent?y.parent.id:""});0==p.length&&z&&(this._firstAroundNode=z,this._firstAroundPosition=g.position(z,!0),this._aroundMoveListener=setTimeout(b.hitch(this,"_repositionAll"),50));c("config-bgIframe")&&!u.bgIframe&&(u.bgIframe=new n(v));D=u.orient?b.hitch(u,"orient"):null;q=z?h.around(v,z,q,t,D):h.at(v,y,"R"==q?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],y.padding,D);v.style.visibility="visible";
w.style.visibility="visible";w=[];w.push(e(v,"keydown",b.hitch(this,function(J){if(J.keyCode==a.ESCAPE&&y.onCancel)J.stopPropagation(),J.preventDefault(),y.onCancel();else if(J.keyCode==a.TAB&&(J.stopPropagation(),J.preventDefault(),(J=this.getTopPopup())&&J.onCancel))J.onCancel()})));u.onCancel&&y.onCancel&&w.push(u.on("cancel",y.onCancel));w.push(u.on(u.onExecute?"execute":"change",b.hitch(this,function(){var J=this.getTopPopup();if(J&&J.onExecute)J.onExecute()})));p.push({widget:u,wrapper:v,parent:y.parent,
onExecute:y.onExecute,onCancel:y.onCancel,onClose:y.onClose,handlers:w});if(u.onOpen)u.onOpen(q);return q},close:function(y){for(var p=this._stack;y&&A.some(p,function(z){return z.widget==y})||!y&&p.length;){var u=p.pop(),w=u.widget,q=u.onClose;w.bgIframe&&(w.bgIframe.destroy(),delete w.bgIframe);if(w.onClose)w.onClose();for(var t;t=u.handlers.pop();)t.remove();w&&w.domNode&&this.hide(w);q&&q()}0==p.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=
this._aroundMoveListener=null)}});return k.popup=new B})},"dojo/data/ItemFileWriteStore":function(){define("../_base/lang ../_base/declare ../_base/array ../_base/json ../_base/kernel ./ItemFileReadStore ../date/stamp".split(" "),function(A,C,B,x,l,f,g){return C("dojo.data.ItemFileWriteStore",f,{constructor:function(d){this._features["dojo.data.api.Write"]=!0;this._features["dojo.data.api.Notification"]=!0;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};this._datatypeMap.Date.serialize||
(this._datatypeMap.Date.serialize=function(c){return g.toISOString(c,{zulu:!0})});d&&!1===d.referenceIntegrity&&(this.referenceIntegrity=!1);this._saveInProgress=!1},referenceIntegrity:!0,_assert:function(d){if(!d)throw Error("assertion failed in ItemFileWriteStore");},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"]},newItem:function(d,c){this._assert(!this._saveInProgress);this._loadFinished||this._forceLoad();if("object"!=typeof d&&"undefined"!=typeof d)throw Error("newItem() was passed something other than an object");
var a=null,b=this._getIdentifierAttribute();if(b===Number)a=this._arrayOfAllItems.length;else{a=d[b];if("undefined"===typeof a)throw Error("newItem() was not passed an identity for the new item");if(A.isArray(a))throw Error("newItem() was not passed an single-valued identity");}this._itemsByIdentity&&this._assert("undefined"===typeof this._itemsByIdentity[a]);this._assert("undefined"===typeof this._pending._newItems[a]);this._assert("undefined"===typeof this._pending._deletedItems[a]);var e={};e[this._storeRefPropName]=
this;e[this._itemNumPropName]=this._arrayOfAllItems.length;this._itemsByIdentity&&(this._itemsByIdentity[a]=e,e[b]=[a]);this._arrayOfAllItems.push(e);b=null;if(c&&c.parent&&c.attribute){b={item:c.parent,attribute:c.attribute,oldValue:void 0};var h=this.getValues(c.parent,c.attribute);if(h&&0<h.length){var n=h.slice(0,h.length);b.oldValue=1===h.length?h[0]:h.slice(0,h.length);n.push(e);this._setValueOrValues(c.parent,c.attribute,n,!1);b.newValue=this.getValues(c.parent,c.attribute)}else this._setValueOrValues(c.parent,
c.attribute,e,!1),b.newValue=e}else e[this._rootItemPropName]=!0,this._arrayOfTopLevelItems.push(e);this._pending._newItems[a]=e;for(var r in d){if(r===this._storeRefPropName||r===this._itemNumPropName)throw Error("encountered bug in ItemFileWriteStore.newItem");a=d[r];A.isArray(a)||(a=[a]);e[r]=a;if(this.referenceIntegrity)for(h=0;h<a.length;h++)n=a[h],this.isItem(n)&&this._addReferenceToMap(n,e,r)}this.onNew(e,b);return e},_removeArrayElement:function(d,c){var a=B.indexOf(d,c);return-1!=a?(d.splice(a,
1),!0):!1},deleteItem:function(d){this._assert(!this._saveInProgress);this._assertIsItem(d);var c=d[this._itemNumPropName],a=this.getIdentity(d);if(this.referenceIntegrity){var b=this.getAttributes(d);d[this._reverseRefMap]&&(d["backup_"+this._reverseRefMap]=A.clone(d[this._reverseRefMap]));B.forEach(b,function(m){B.forEach(this.getValues(d,m),function(y){this.isItem(y)&&(d["backupRefs_"+this._reverseRefMap]||(d["backupRefs_"+this._reverseRefMap]=[]),d["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(y),
attr:m}),this._removeReferenceFromMap(y,d,m))},this)},this);if(b=d[this._reverseRefMap])for(var e in b){var h=null;if(h=this._itemsByIdentity?this._itemsByIdentity[e]:this._arrayOfAllItems[e])for(var n in b[e]){var r=this.getValues(h,n)||[],k=B.filter(r,function(m){return!(this.isItem(m)&&this.getIdentity(m)==a)},this);this._removeReferenceFromMap(d,h,n);k.length<r.length&&this._setValueOrValues(h,n,k,!0)}}}this._arrayOfAllItems[c]=null;d[this._storeRefPropName]=null;this._itemsByIdentity&&delete this._itemsByIdentity[a];
this._pending._deletedItems[a]=d;d[this._rootItemPropName]&&this._removeArrayElement(this._arrayOfTopLevelItems,d);this.onDelete(d);return!0},setValue:function(d,c,a){return this._setValueOrValues(d,c,a,!0)},setValues:function(d,c,a){return this._setValueOrValues(d,c,a,!0)},unsetAttribute:function(d,c){return this._setValueOrValues(d,c,[],!0)},_setValueOrValues:function(d,c,a,b){this._assert(!this._saveInProgress);this._assertIsItem(d);this._assert(A.isString(c));this._assert("undefined"!==typeof a);
var e=this._getIdentifierAttribute();if(c==e)throw Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");e=this._getValueOrValues(d,c);var h=this.getIdentity(d);if(!this._pending._modifiedItems[h]){var n={};for(r in d)n[r]=r===this._storeRefPropName||r===this._itemNumPropName||r===this._rootItemPropName?d[r]:r===this._reverseRefMap?A.clone(d[r]):d[r].slice(0,d[r].length);this._pending._modifiedItems[h]=n}h=!1;if(A.isArray(a)&&0===a.length){if(h=delete d[c],
a=void 0,this.referenceIntegrity&&e){var r=e;A.isArray(r)||(r=[r]);for(var k=0;k<r.length;k++)n=r[k],this.isItem(n)&&this._removeReferenceFromMap(n,d,c)}}else{h=A.isArray(a)?a.slice(0,a.length):[a];if(this.referenceIntegrity)if(e){r=e;A.isArray(r)||(r=[r]);var m={};B.forEach(r,function(y){this.isItem(y)&&(y=this.getIdentity(y),m[y.toString()]=!0)},this);B.forEach(h,function(y){if(this.isItem(y)){var p=this.getIdentity(y);m[p.toString()]?delete m[p.toString()]:this._addReferenceToMap(y,d,c)}},this);
for(k in m)this._removeReferenceFromMap(this._itemsByIdentity?this._itemsByIdentity[k]:this._arrayOfAllItems[k],d,c)}else for(k=0;k<h.length;k++)n=h[k],this.isItem(n)&&this._addReferenceToMap(n,d,c);d[c]=h;h=!0}if(b)this.onSet(d,c,e,a);return h},_addReferenceToMap:function(d,c,a){c=this.getIdentity(c);var b=d[this._reverseRefMap];b||(b=d[this._reverseRefMap]={});(d=b[c])||(d=b[c]={});d[a]=!0},_removeReferenceFromMap:function(d,c,a){c=this.getIdentity(c);var b=d[this._reverseRefMap],e;if(b){for(e in b)e==
c&&(delete b[e][a],this._isEmpty(b[e])&&delete b[e]);this._isEmpty(b)&&delete d[this._reverseRefMap]}},_dumpReferenceMap:function(){var d;for(d=0;d<this._arrayOfAllItems.length;d++);},_getValueOrValues:function(d,c){var a=void 0;this.hasAttribute(d,c)&&(a=this.getValues(d,c),a=1==a.length?a[0]:a);return a},_flatten:function(d){if(this.isItem(d))return{_reference:this.getIdentity(d)};if("object"===typeof d)for(var c in this._datatypeMap){var a=this._datatypeMap[c];if(A.isObject(a)&&!A.isFunction(a)){if(d instanceof
a.type){if(!a.serialize)throw Error("ItemFileWriteStore:  No serializer defined for type mapping: ["+c+"]");return{_type:c,_value:a.serialize(d)}}}else if(d instanceof a)return{_type:c,_value:d.toString()}}return d},_getNewFileContentString:function(){var d={},c=this._getIdentifierAttribute();c!==Number&&(d.identifier=c);this._labelAttr&&(d.label=this._labelAttr);d.items=[];for(c=0;c<this._arrayOfAllItems.length;++c){var a=this._arrayOfAllItems[c];if(null!==a){var b={},e;for(e in a)if(e!==this._storeRefPropName&&
e!==this._itemNumPropName&&e!==this._reverseRefMap&&e!==this._rootItemPropName){var h=this.getValues(a,e);if(1==h.length)b[e]=this._flatten(h[0]);else for(var n=[],r=0;r<h.length;++r)n.push(this._flatten(h[r])),b[e]=n}d.items.push(b)}}return x.toJson(d,!0)},_isEmpty:function(d){var c=!0;if(A.isObject(d))for(var a in d){c=!1;break}else A.isArray(d)&&0<d.length&&(c=!1);return c},save:function(d){this._assert(!this._saveInProgress);this._saveInProgress=!0;var c=this,a=function(){c._pending={_newItems:{},
_modifiedItems:{},_deletedItems:{}};c._saveInProgress=!1;d&&d.onComplete&&d.onComplete.call(d.scope||l.global)},b=function(h){c._saveInProgress=!1;d&&d.onError&&d.onError.call(d.scope||l.global,h)};if(this._saveEverything){var e=this._getNewFileContentString();this._saveEverything(a,b,e)}this._saveCustom&&this._saveCustom(a,b);this._saveEverything||this._saveCustom||a()},revert:function(){this._assert(!this._saveInProgress);for(var d in this._pending._modifiedItems){var c=this._pending._modifiedItems[d],
a=null;a=this._itemsByIdentity?this._itemsByIdentity[d]:this._arrayOfAllItems[d];c[this._storeRefPropName]=this;for(var b in a)delete a[b];A.mixin(a,c)}for(d in this._pending._deletedItems){var e=this._pending._deletedItems[d];e[this._storeRefPropName]=this;c=e[this._itemNumPropName];e["backup_"+this._reverseRefMap]&&(e[this._reverseRefMap]=e["backup_"+this._reverseRefMap],delete e["backup_"+this._reverseRefMap]);this._arrayOfAllItems[c]=e;this._itemsByIdentity&&(this._itemsByIdentity[d]=e);e[this._rootItemPropName]&&
this._arrayOfTopLevelItems.push(e)}for(d in this._pending._deletedItems)e=this._pending._deletedItems[d],e["backupRefs_"+this._reverseRefMap]&&(B.forEach(e["backupRefs_"+this._reverseRefMap],function(h){this._addReferenceToMap(this._itemsByIdentity?this._itemsByIdentity[h.id]:this._arrayOfAllItems[h.id],e,h.attr)},this),delete e["backupRefs_"+this._reverseRefMap]);for(d in this._pending._newItems)c=this._pending._newItems[d],c[this._storeRefPropName]=null,this._arrayOfAllItems[c[this._itemNumPropName]]=
null,c[this._rootItemPropName]&&this._removeArrayElement(this._arrayOfTopLevelItems,c),this._itemsByIdentity&&delete this._itemsByIdentity[d];this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return!0},isDirty:function(d){return d?(d=this.getIdentity(d),(new Boolean(this._pending._newItems[d]||this._pending._modifiedItems[d]||this._pending._deletedItems[d])).valueOf()):!this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems)},
onSet:function(d,c,a,b){},onNew:function(d,c){},onDelete:function(d){},close:function(d){if(this.clearOnClose){if(this.isDirty())throw Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store.  Please save or revert the changes before invoking close.");this.inherited(arguments)}}})})},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(A,C,B,x,l){return C("dijit.layout.TabContainer",
B,{useMenu:!0,useSlider:!0,controllerWidget:"",_makeController:function(f){var g=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout");return new ("string"==typeof this.controllerWidget?A.getObject(this.controllerWidget):this.controllerWidget)({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":g,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,
tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},f)},postMixInProperties:function(){this.inherited(arguments);this.controllerWidget||(this.controllerWidget="top"!=this.tabPosition&&"bottom"!=this.tabPosition||this.nested?x:l)}})})},"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".split(" "),function(A){return A._base})},"dijit/_editor/plugins/EnterKeyHandling":function(){define("dojo/_base/declare dojo/dom-construct dojo/keys dojo/_base/lang dojo/on dojo/sniff dojo/_base/window dojo/window ../_Plugin ../RichText ../range".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b){return A("dijit._editor.plugins.EnterKeyHandling",c,{blockNodeForEnter:"BR",constructor:function(e){e&&("blockNodeForEnter"in e&&(e.blockNodeForEnter=e.blockNodeForEnter.toUpperCase()),x.mixin(this,e))},setEditor:function(e){if(this.editor!==e)if(this.editor=e,"BR"==this.blockNodeForEnter)this.editor.customUndo=!0,e.onLoadDeferred.then(x.hitch(this,function(n){this.own(l(e.document,"keydown",x.hitch(this,function(r){if(r.keyCode==B.ENTER){var k=x.mixin({},r);k.shiftKey=
!0;this.handleEnterKey(k)||(r.stopPropagation(),r.preventDefault())}})));9<=f("ie")&&10>=f("ie")&&this.own(l(e.document,"paste",x.hitch(this,function(r){setTimeout(x.hitch(this,function(){var k=this.editor.document.selection.createRange();k.move("character",-1);k.select();k.move("character",1);k.select()}),0)})));return n}));else if(this.blockNodeForEnter){var h=x.hitch(this,"handleEnterKey");e.addKeyHandler(13,0,0,h);e.addKeyHandler(13,0,1,h);this.own(this.editor.on("KeyPressed",x.hitch(this,"onKeyPressed")))}},
onKeyPressed:function(){if(this._checkListLater){if(this.editor.selection.isCollapsed()){var e=this.editor.selection.getAncestorElement("LI");if(e){f("mozilla")&&"LI"==e.parentNode.parentNode.nodeName&&(e=e.parentNode.parentNode);var h=e.firstChild;!h||1!=h.nodeType||"UL"!=h.nodeName&&"OL"!=h.nodeName||(e.insertBefore(h.ownerDocument.createTextNode("\u00a0"),h),h=b.create(this.editor.window),h.setStart(e.firstChild,0),e=b.getSelection(this.editor.window,!0),e.removeAllRanges(),e.addRange(h))}else if(a.prototype.execCommand.call(this.editor,
"formatblock",this.blockNodeForEnter),e=this.editor.selection.getAncestorElement(this.blockNodeForEnter))e.innerHTML=this.bogusHtmlContent,9>=f("ie")&&(e=this.editor.document.selection.createRange(),e.move("character",-1),e.select())}this._checkListLater=!1}this._pressedEnterInBlock&&(this._pressedEnterInBlock.previousSibling&&this.removeTrailingBr(this._pressedEnterInBlock.previousSibling),delete this._pressedEnterInBlock)},bogusHtmlContent:"\x26#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var h,
n=this.editor.document,r;if(e.shiftKey){e=this.editor.selection.getParentElement();if(h=b.getAncestor(e,this.blockNodes)){if("LI"==h.tagName)return!0;e=b.getSelection(this.editor.window);var k=e.getRangeAt(0);k.collapsed||(k.deleteContents(),e=b.getSelection(this.editor.window),k=e.getRangeAt(0));if(b.atBeginningOfContainer(h,k.startContainer,k.startOffset)){var m=n.createElement("br");k=b.create(this.editor.window);h.insertBefore(m,h.firstChild);k.setStartAfter(m);e.removeAllRanges();e.addRange(k)}else if(b.atEndOfContainer(h,
k.startContainer,k.startOffset))k=b.create(this.editor.window),m=n.createElement("br"),h.appendChild(m),h.appendChild(n.createTextNode("\u00a0")),k.setStart(h.lastChild,0),e.removeAllRanges(),e.addRange(k);else{if((r=k.startContainer)&&3==r.nodeType){var y=r.nodeValue;var p=n.createTextNode(y.substring(0,k.startOffset));var u=n.createTextNode(y.substring(k.startOffset));h=n.createElement("br");""==u.nodeValue&&f("webkit")&&(u=n.createTextNode("\u00a0"));C.place(p,r,"after");C.place(h,p,"after");C.place(u,
h,"after");C.destroy(r);k=b.create(this.editor.window);k.setStart(u,0);e.removeAllRanges();e.addRange(k);return!1}return!0}}else e=b.getSelection(this.editor.window),e.rangeCount?(k=e.getRangeAt(0))&&k.startContainer&&(k.collapsed||(k.deleteContents(),e=b.getSelection(this.editor.window),k=e.getRangeAt(0)),(r=k.startContainer)&&3==r.nodeType?(h=k.startOffset,r.length<h&&(u=this._adjustNodeAndOffset(r,h),r=u.node,h=u.offset),y=r.nodeValue,p=n.createTextNode(y.substring(0,h)),u=n.createTextNode(y.substring(h)),
h=n.createElement("br"),u.length||(u=n.createTextNode("\u00a0")),p.length?C.place(p,r,"after"):p=r,C.place(h,p,"after"),C.place(u,h,"after"),C.destroy(r)):(0<=k.startOffset&&(m=r.childNodes[k.startOffset]),h=n.createElement("br"),u=n.createTextNode("\u00a0"),m?(C.place(h,m,"before"),C.place(u,h,"after")):(r.appendChild(h),r.appendChild(u))),k=b.create(this.editor.window),k.setStart(u,0),k.setEnd(u,u.length),e.removeAllRanges(),e.addRange(k),this.editor.selection.collapse(!0)):a.prototype.execCommand.call(this.editor,
"inserthtml","\x3cbr\x3e");return!1}var w=!0;e=b.getSelection(this.editor.window);k=e.getRangeAt(0);k.collapsed||(k.deleteContents(),e=b.getSelection(this.editor.window),k=e.getRangeAt(0));m=b.getBlockAncestor(k.endContainer,null,this.editor.editNode);var q=m.blockNode;if(this._checkListLater=q&&("LI"==q.nodeName||"LI"==q.parentNode.nodeName))return f("mozilla")&&(this._pressedEnterInBlock=q),/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(q.innerHTML)&&
(q.innerHTML="",f("webkit")&&(k=b.create(this.editor.window),k.setStart(q,0),e.removeAllRanges(),e.addRange(k)),this._checkListLater=!1),!0;if(!m.blockNode||m.blockNode===this.editor.editNode){try{a.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter)}catch(t){}m={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(m.blockNode){if(m.blockNode!=this.editor.editNode&&!(m.blockNode.textContent||m.blockNode.innerHTML).replace(/^\s+|\s+$/g,
"").length)return this.removeTrailingBr(m.blockNode),!1}else m.blockNode=this.editor.editNode;e=b.getSelection(this.editor.window);k=e.getRangeAt(0)}q=n.createElement(this.blockNodeForEnter);q.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(m.blockNode);u=k.endOffset;w=k.endContainer;w.length<u&&(u=this._adjustNodeAndOffset(w,u),w=u.node,u=u.offset);if(b.atEndOfContainer(m.blockNode,w,u))m.blockNode===m.blockContainer?m.blockNode.appendChild(q):C.place(q,m.blockNode,"after"),w=!1,k=b.create(this.editor.window),
k.setStart(q,0),e.removeAllRanges(),e.addRange(k),this.editor.height&&d.scrollIntoView(q);else if(b.atBeginningOfContainer(m.blockNode,k.startContainer,k.startOffset))C.place(q,m.blockNode,m.blockNode===m.blockContainer?"first":"before"),q.nextSibling&&this.editor.height&&(k=b.create(this.editor.window),k.setStart(q.nextSibling,0),e.removeAllRanges(),e.addRange(k),d.scrollIntoView(q.nextSibling)),w=!1;else{m.blockNode===m.blockContainer?m.blockNode.appendChild(q):C.place(q,m.blockNode,"after");w=
!1;m.blockNode.style&&q.style&&m.blockNode.style.cssText&&(q.style.cssText=m.blockNode.style.cssText);if((r=k.startContainer)&&3==r.nodeType){u=k.endOffset;r.length<u&&(u=this._adjustNodeAndOffset(r,u),r=u.node,u=u.offset);y=r.nodeValue;p=n.createTextNode(y.substring(0,u));u=n.createTextNode(y.substring(u,y.length));C.place(p,r,"before");C.place(u,r,"after");C.destroy(r);for(k=p.parentNode;k!==m.blockNode;){y=n.createElement(k.tagName);k.style&&y.style&&k.style.cssText&&(y.style.cssText=k.style.cssText);
"FONT"===k.tagName&&(k.color&&(y.color=k.color),k.face&&(y.face=k.face),k.size&&(y.size=k.size));for(;u;)r=u.nextSibling,y.appendChild(u),u=r;C.place(y,k,"after");p=k;u=y;k=k.parentNode}if(1==u.nodeType||3==u.nodeType&&u.nodeValue)q.innerHTML="";for(p=u;u;)r=u.nextSibling,q.appendChild(u),u=r}k=b.create(this.editor.window);n=p;if("BR"!==this.blockNodeForEnter){for(;n;)h=n,n=r=n.firstChild;h&&h.parentNode?(q=h.parentNode,k.setStart(q,0),e.removeAllRanges(),e.addRange(k),this.editor.height&&d.scrollIntoView(q),
f("mozilla")&&(this._pressedEnterInBlock=m.blockNode)):w=!0}else k.setStart(q,0),e.removeAllRanges(),e.addRange(k),this.editor.height&&d.scrollIntoView(q),f("mozilla")&&(this._pressedEnterInBlock=m.blockNode)}return w},_adjustNodeAndOffset:function(e,h){for(;e.length<h&&e.nextSibling&&3==e.nextSibling.nodeType;)h-=e.length,e=e.nextSibling;return{node:e,offset:h}},removeTrailingBr:function(e){if(e=/P|DIV|LI/i.test(e.tagName)?e:this.editor.selection.getParentOfType(e,["P","DIV","LI"]))e.lastChild&&
(1<e.childNodes.length&&3==e.lastChild.nodeType&&/^[\s\xAD]*$/.test(e.lastChild.nodeValue)||"BR"==e.lastChild.tagName)&&C.destroy(e.lastChild),e.childNodes.length||(e.innerHTML=this.bogusHtmlContent)}})})},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(A,C,B,x){return A("dijit.form._FormValueWidget",[B,x],{_layoutHackIE7:function(){if(7==C("ie"))for(var l=this.domNode,f=l.parentNode,g=l.firstChild||l,d=g.style.filter,
c=this;f&&0==f.clientHeight;)(function(){var a=c.connect(f,"onscroll",function(){c.disconnect(a);g.style.filter=(new Date).getMilliseconds();c.defer(function(){g.style.filter=d})})})(),f=f.parentNode}})})},"dojo/errors/RequestError":function(){define(["./create"],function(A){return A("RequestError",function(C,B){this.response=B})})},"dijit/tree/_dndContainer":function(){define("dojo/aspect dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/on dojo/touch".split(" "),function(A,C,B,x,l,f){return C("dijit.tree._dndContainer",
null,{constructor:function(g,d){this.tree=g;this.node=g.domNode;x.mixin(this,d);this.containerState="";B.add(this.node,"dojoDndContainer");this.events=[l(this.node,f.enter,x.hitch(this,"onOverEvent")),l(this.node,f.leave,x.hitch(this,"onOutEvent")),A.after(this.tree,"_onNodeMouseEnter",x.hitch(this,"onMouseOver"),!0),A.after(this.tree,"_onNodeMouseLeave",x.hitch(this,"onMouseOut"),!0),l(this.node,"dragstart, selectstart",function(c){c.preventDefault()})]},destroy:function(){for(var g;g=this.events.pop();)g.remove();
this.node=this.parent=null},onMouseOver:function(g){this.current=g},onMouseOut:function(){this.current=null},_changeState:function(g,d){var c="dojoDnd"+g,a=g.toLowerCase()+"State";B.replace(this.node,c+d,c+this[a]);this[a]=d},_addItemClass:function(g,d){B.add(g,"dojoDndItem"+d)},_removeItemClass:function(g,d){B.remove(g,"dojoDndItem"+d)},onOverEvent:function(){this._changeState("Container","Over")},onOutEvent:function(){this._changeState("Container","")}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m){var y,p,u=new (C([e,g],{curNode:null,activeStack:[],constructor:function(){var q=d.hitch(this,function(t){B.isDescendant(this.curNode,t)&&this.set("curNode",null);B.isDescendant(this.prevNode,t)&&this.set("prevNode",null)});A.before(f,"empty",q);A.before(f,"destroy",q)},registerIframe:function(q){return this.registerWin(q.contentWindow,q)},registerWin:function(q,t){var z=this,D=q.document&&q.document.body;if(D){var v=b("pointer-events")?"pointerdown":b("MSPointer")?
"MSPointerDown":b("touch-events")?"mousedown, touchstart":"mousedown",E=c(q.document,v,function(J){J&&J.target&&null==J.target.parentNode||z._onTouchNode(t||J.target,"mouse")}),F=c(D,"focusin",function(J){if(J.target.tagName){var G=J.target.tagName.toLowerCase();"#document"!=G&&"body"!=G&&(r.isFocusable(J.target)?z._onFocusNode(t||J.target):z._onTouchNode(t||J.target))}}),H=c(D,"focusout",function(J){z._onBlurNode(t||J.target)});return{remove:function(){E.remove();F.remove();H.remove();D=E=F=H=null}}}},
_onBlurNode:function(q){q=(new Date).getTime();q<y+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(d.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),q<p+100||(this._clearActiveWidgetsTimer=setTimeout(d.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([])}),0)))},_onTouchNode:function(q,t){p=(new Date).getTime();
this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);l.contains(q,"dijitPopup")&&(q=q.firstChild);var z=[];try{for(;q;){var D=x.get(q,"dijitPopupParent");if(D)q=k.byId(D).domNode;else if(q.tagName&&"body"==q.tagName.toLowerCase()){if(q===h.body())break;q=n.get(q.ownerDocument).frameElement}else{var v=q.getAttribute&&q.getAttribute("widgetId"),E=v&&k.byId(v);!E||"mouse"==t&&E.get("disabled")||z.unshift(v);q=q.parentNode}}}catch(F){}this._setStack(z,
t)},_onFocusNode:function(q){q&&9!=q.nodeType&&(y=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(q),q!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",q)))},_setStack:function(q,t){var z=this.activeStack,D=z.length-1,v=q.length-1;if(q[v]!=z[D]){this.set("activeStack",q);var E;for(E=D;0<=E&&z[E]!=q[E];E--)if(D=k.byId(z[E]))D._hasBeenBlurred=!0,D.set("focused",!1),D._focusManager==this&&D._onBlur(t),
this.emit("widget-blur",D,t);for(E++;E<=v;E++)if(D=k.byId(q[E]))D.set("focused",!0),D._focusManager==this&&D._onFocus(t),this.emit("widget-focus",D,t)}},focus:function(q){if(q)try{q.focus()}catch(t){}}}));a(function(){var q=u.registerWin(n.get(document));b("ie")&&c(window,"unload",function(){q&&(q.remove(),q=null)})});m.focus=function(q){u.focus(q)};for(var w in u)/^_/.test(w)||(m.focus[w]="function"==typeof u[w]?d.hitch(u,w):u[w]);u.watch(function(q,t,z){m.focus[q]=z});return u})},"dojo/_base/declare":function(){define(["./kernel",
"../has","./lang"],function(A,C,B){function x(v,E){throw Error("declare"+(E?" "+E:"")+": "+v);}function l(v,E){for(var F=[],H=[{cls:0,refs:[]}],J={},G=1,I=v.length,K=0,M,N,Q,P,S;K<I;++K){(M=v[K])?"[object Function]"!=q.call(M)&&x("mixin #"+K+" is not a callable constructor.",E):x("mixin #"+K+" is unknown. Did you use dojo.require to pull it in?",E);N=M._meta?M._meta.bases:[M];Q=0;for(M=N.length-1;0<=M;--M)P=N[M].prototype,P.hasOwnProperty("declaredClass")||(P.declaredClass="uniqName_"+t++),P=P.declaredClass,
J.hasOwnProperty(P)||(J[P]={count:0,refs:[],cls:N[M]},++G),P=J[P],Q&&Q!==P&&(P.refs.push(Q),++Q.count),Q=P;++Q.count;H[0].refs.push(Q)}for(;H.length;){Q=H.pop();F.push(Q.cls);for(--G;S=Q.refs,1==S.length;){Q=S[0];if(!Q||--Q.count){Q=0;break}F.push(Q.cls);--G}if(Q)for(K=0,I=S.length;K<I;++K)Q=S[K],--Q.count||H.push(Q)}G&&x("can't build consistent linearization",E);M=v[0];F[0]=M?M._meta&&M===F[F.length-M._meta.bases.length]?M._meta.bases.length:1:0;return F}function f(v,E,F,H){var J,G=this._inherited=
this._inherited||{};if("string"===typeof v){var I=v;v=E;E=F;F=H}if("function"===typeof v){var K=v;v=E;E=F}else try{K=v.callee}catch(P){if(P instanceof TypeError)x("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass);else throw P;}(I=I||K.nom)||x("can't deduce a name to call inherited()",this.declaredClass);F=H=0;var M=this.constructor._meta;H=M.bases;var N=G.p;if("constructor"!=I){if(G.c!==K){N=0;var Q=H[0];M=Q._meta;if(M.hidden[I]!==K){(J=M.chains)&&
"string"==typeof J[I]&&x("calling chained method with inherited: "+I,this.declaredClass);do if(M=Q._meta,J=Q.prototype,M&&(J[I]===K&&J.hasOwnProperty(I)||M.hidden[I]===K))break;while(Q=H[++N]);N=Q?N:-1}}if(Q=H[++N])if(J=Q.prototype,Q._meta&&J.hasOwnProperty(I))F=J[I];else{K=w[I];do if(J=Q.prototype,(F=J[I])&&(Q._meta?J.hasOwnProperty(I):F!==K))break;while(Q=H[++N])}F=Q&&F||w[I]}else{if(G.c!==K&&(N=0,(M=H[0]._meta)&&M.ctor!==K)){for((J=M.chains)&&"manual"===J.constructor||x("calling chained constructor with inherited",
this.declaredClass);(Q=H[++N])&&(!(M=Q._meta)||M.ctor!==K););N=Q?N:-1}for(;(Q=H[++N])&&!(F=(M=Q._meta)?M.ctor:Q););F=Q&&F}G.c=F;G.p=N;if(F)return!0===E?F:F.apply(this,E||v)}function g(v,E,F){return"string"===typeof v?"function"===typeof E?this.__inherited(v,E,F,!0):this.__inherited(v,E,!0):"function"===typeof v?this.__inherited(v,E,!0):this.__inherited(v,!0)}function d(v,E,F,H){var J=this.getInherited(v,E,F);if(J)return J.apply(this,H||F||E||v)}function c(v){for(var E=this.constructor._meta.bases,
F=0,H=E.length;F<H;++F)if(E[F]===v)return!0;return this instanceof v}function a(v,E){for(var F in E)"constructor"!=F&&E.hasOwnProperty(F)&&(v[F]=E[F]);if(C("bug-for-in-skips-shadowed"))for(var H=B._extraNames,J=H.length;J;)F=H[--J],"constructor"!=F&&E.hasOwnProperty(F)&&(v[F]=E[F])}function b(v){p.safeMixin(this.prototype,v);return this}function e(v,E){v instanceof Array||"function"===typeof v||(E=v,v=void 0);E=E||{};v=v||[];return p([this].concat(v),E)}function h(v,E){return function(){var F=arguments,
H=F,J=F[0],G;var I=v.length;if(!(this instanceof F.callee))return y(F);if(E&&(J&&J.preamble||this.preamble)){var K=Array(v.length);K[0]=F;for(G=0;;){(J=F[0])&&(J=J.preamble)&&(F=J.apply(this,F)||F);J=v[G].prototype;(J=J.hasOwnProperty("preamble")&&J.preamble)&&(F=J.apply(this,F)||F);if(++G==I)break;K[G]=F}}for(G=I-1;0<=G;--G)J=v[G],(J=(I=J._meta)?I.ctor:J)&&J.apply(this,K?K[G]:F);(J=this.postscript)&&J.apply(this,H)}}function n(v,E){return function(){var F=arguments,H=F,J=F[0];if(!(this instanceof
F.callee))return y(F);E&&(J&&(J=J.preamble)&&(H=J.apply(this,H)||H),(J=this.preamble)&&J.apply(this,H));v&&v.apply(this,F);(J=this.postscript)&&J.apply(this,F)}}function r(v){return function(){var E=arguments,F=0,H,J;if(!(this instanceof E.callee))return y(E);for(;H=v[F];++F)if(H=(J=H._meta)?J.ctor:H){H.apply(this,E);break}(H=this.postscript)&&H.apply(this,E)}}function k(v,E,F){return function(){var H,J=0,G=1;F&&(J=E.length-1,G=-1);for(;H=E[J];J+=G){var I=H._meta;(H=(I?I.hidden:H.prototype)[v])&&
H.apply(this,arguments)}}}function m(v){z.prototype=v.prototype;v=new z;z.prototype=null;return v}function y(v){var E=v.callee,F=m(E);E.apply(F,v);return F}function p(v,E,F){"string"!=typeof v&&(F=E,E=v,v="");F=F||{};var H,J,G,I=1,K=E;if("[object Array]"==q.call(E)){var M=l(E,v);var N=M[0];I=M.length-N;E=M[I]}else M=[0],E?"[object Function]"==q.call(E)?(N=E._meta,M=M.concat(N?N.bases:E)):x("base class is not a callable constructor.",v):null!==E&&x("unknown base class. Did you use dojo.require to pull it in?",
v);if(E)for(H=I-1;;--H){var Q=m(E);if(!H)break;N=M[H];(N._meta?a:u)(Q,N.prototype);var P=C("csp-restrictions")?function(){}:new Function;P.superclass=E;P.prototype=Q;E=Q.constructor=P}else Q={};p.safeMixin(Q,F);N=F.constructor;N!==w.constructor&&(N.nom="constructor",Q.constructor=N);for(H=I-1;H;--H)(N=M[H]._meta)&&N.chains&&(G=u(G||{},N.chains));Q["-chains-"]&&(G=u(G||{},Q["-chains-"]));E&&E.prototype&&E.prototype["-chains-"]&&(G=u(G||{},E.prototype["-chains-"]));N=!G||!G.hasOwnProperty("constructor");
M[0]=P=G&&"manual"===G.constructor?r(M):1==M.length?n(F.constructor,N):h(M,N);P._meta={bases:M,hidden:F,chains:G,parents:K,ctor:F.constructor};P.superclass=E&&E.prototype;P.extend=b;P.createSubclass=e;P.prototype=Q;Q.constructor=P;Q.getInherited=g;Q.isInstanceOf=c;Q.inherited=D;Q.__inherited=f;v&&(Q.declaredClass=v,B.setObject(v,P));if(G)for(J in G)Q[J]&&"string"==typeof G[J]&&"constructor"!=J&&(N=Q[J]=k(J,M,"after"===G[J]),N.nom=J);return P}var u=B.mixin,w=Object.prototype,q=w.toString,t=0;var z=
C("csp-restrictions")?function(){}:new Function;var D=A.config.isDebug?d:f;A.safeMixin=p.safeMixin=function(v,E){for(G in E){var F=E[G];F===w[G]&&G in w||"constructor"==G||("[object Function]"==q.call(F)&&(F.nom=G),v[G]=F)}if(C("bug-for-in-skips-shadowed")&&E)for(var H=B._extraNames,J=H.length;J;){var G=H[--J];F=E[G];F===w[G]&&G in w||"constructor"==G||("[object Function]"==q.call(F)&&(F.nom=G),v[G]=F)}return v};return A.declare=p})},"dojo/request/xhr":function(){define(["../errors/RequestError",
"./watch","./handlers","./util","../has"],function(A,C,B,x,l){function f(k,m){var y=k.xhr;k.status=k.xhr.status;try{k.text=y.responseText}catch(u){}"xml"===k.options.handleAs&&(k.data=y.responseXML);if(m)this.reject(m);else{try{B(k)}catch(u){var p=u}x.checkStatus(y.status)?p?this.reject(p):this.resolve(k):(m=p?new A("Unable to load "+k.url+" status: "+y.status+" and an error in handleAs: transformation of response",k):new A("Unable to load "+k.url+" status: "+y.status,k),this.reject(m))}}function g(k){return this.xhr.getResponseHeader(k)}
function d(k,m,y){var p=l("native-formdata")&&m&&m.data&&m.data instanceof FormData,u=x.parseArgs(k,x.deepCreate(r,m),p);k=u.url;m=u.options;var w=!m.data&&"POST"!==m.method&&"PUT"!==m.method;10>=l("ie")&&(k=k.split("#")[0]);var q,t=x.deferred(u,b,a,h,f,function(){q&&q()}),z=u.xhr=d._create();if(!z)return t.cancel(new A("XHR was not created")),y?t:t.promise;u.getHeader=g;e&&(q=e(z,t,u,m.uploadProgress));var D="undefined"===typeof m.data?null:m.data,v=!m.sync,E=m.method;try{z.open(E,k,v,m.user||n,
m.password||n);m.withCredentials&&(z.withCredentials=m.withCredentials);l("native-response-type")&&m.handleAs in c&&(z.responseType=c[m.handleAs]);var F=m.headers;k=p||w?!1:"application/x-www-form-urlencoded";if(F)for(var H in F)"content-type"===H.toLowerCase()?k=F[H]:F[H]&&z.setRequestHeader(H,F[H]);k&&!1!==k&&z.setRequestHeader("Content-Type",k);F&&"X-Requested-With"in F||z.setRequestHeader("X-Requested-With","XMLHttpRequest");x.notify&&x.notify.emit("send",u,t.promise.cancel);z.send(D)}catch(J){t.reject(J)}C(t);
z=null;return y?t:t.promise}l.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});l.add("dojo-force-activex-xhr",function(){return l("activex")&&"file:"===window.location.protocol});l.add("native-xhr2",function(){if(l("native-xhr")&&!l("dojo-force-activex-xhr")){var k=new XMLHttpRequest;return"undefined"!==typeof k.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof k.upload)}});l.add("native-formdata",function(){return"undefined"!==typeof FormData});l.add("native-blob",
function(){return"undefined"!==typeof Blob});l.add("native-arraybuffer",function(){return"undefined"!==typeof ArrayBuffer});l.add("native-response-type",function(){return l("native-xhr")&&"undefined"!==typeof(new XMLHttpRequest).responseType});l.add("native-xhr2-blob",function(){if(l("native-response-type")){var k=new XMLHttpRequest;k.open("GET","https://dojotoolkit.org/",!0);k.responseType="blob";var m=k.responseType;k.abort();return"blob"===m}});var c={blob:l("native-xhr2-blob")?"blob":"arraybuffer",
document:"document",arraybuffer:"arraybuffer"};if(l("native-xhr2")){var a=function(k){return!this.isFulfilled()};var b=function(k,m){m.xhr.abort()};var e=function(k,m,y,p){function u(D){m.handleResponse(y)}function w(D){D=new A("Unable to load "+y.url+" status: "+D.target.status,y);m.handleResponse(y,D)}function q(D,v){y.transferType=D;v.lengthComputable?(y.loaded=v.loaded,y.total=v.total,m.progress(y)):3===y.xhr.readyState&&(y.loaded="loaded"in v?v.loaded:v.position,m.progress(y))}function t(D){return q("download",
D)}function z(D){return q("upload",D)}k.addEventListener("load",u,!1);k.addEventListener("error",w,!1);k.addEventListener("progress",t,!1);p&&k.upload&&k.upload.addEventListener("progress",z,!1);return function(){k.removeEventListener("load",u,!1);k.removeEventListener("error",w,!1);k.removeEventListener("progress",t,!1);k.upload.removeEventListener("progress",z,!1);k=null}}}else{a=function(k){return k.xhr.readyState};var h=function(k){return 4===k.xhr.readyState};b=function(k,m){var y=m.xhr,p=typeof y.abort;
"function"!==p&&"object"!==p&&"unknown"!==p||y.abort()}}var n,r={data:null,query:null,sync:!1,method:"GET"};d._create=function(){throw Error("XMLHTTP not available");};if(l("native-xhr")&&!l("dojo-force-activex-xhr"))d._create=function(){return new XMLHttpRequest};else if(l("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),d._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(k){try{new ActiveXObject("Microsoft.XMLHTTP"),d._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(m){}}x.addCommonMethods(d);
return d})},"dojo/domReady":function(){define(["./global","./has"],function(A,C){function B(k){c.push(k);d&&x()}function x(){if(!a){for(a=!0;c.length;)try{c.shift()(l)}catch(k){}a=!1;B._onQEmpty()}}var l=document,f={loaded:1,complete:1},g="string"!=typeof l.readyState,d=!!f[l.readyState],c=[],a;B.load=function(k,m,y){B(y)};B._Q=c;B._onQEmpty=function(){};g&&(l.readyState="loading");if(!d){var b=[],e=function(k){k=k||A.event;d||"readystatechange"==k.type&&!f[l.readyState]||(g&&(l.readyState="complete"),
d=1,x())},h=function(k,m){k.addEventListener(m,e,!1);c.push(function(){k.removeEventListener(m,e,!1)})};if(!C("dom-addeventlistener")){h=function(k,m){m="on"+m;k.attachEvent(m,e);c.push(function(){k.detachEvent(m,e)})};var n=l.createElement("div");try{n.doScroll&&null===A.frameElement&&b.push(function(){try{return n.doScroll("left"),1}catch(k){}})}catch(k){}}h(l,"DOMContentLoaded");h(A,"load");"onreadystatechange"in l?h(l,"readystatechange"):g||b.push(function(){return f[l.readyState]});if(b.length){var r=
function(){if(!d){for(var k=b.length;k--;)if(b[k]()){e("poller");return}setTimeout(r,30)}};r()}}return B})},"dojo/dnd/Target":function(){define(["../_base/declare","../dom-class","./Source"],function(A,C,B){return A("dojo.dnd.Target",B,{constructor:function(){this.isSource=!1;C.remove(this.node,"dojoDndSource")}})})},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(A,C,B,x){var l=function(a,b,e){x(a,{sync:!!b,headers:{"X-Requested-With":null}}).then(e)};var f=
{},g=function(a){if(a){a=a.replace(/^\s*<\?xml(\s)+version=['"](\d)*.(\d)*['"](\s)*\?>/im,"");var b=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);b&&(a=b[1])}else a="";return a},d={},c={};A.cache=function(a,b,e){if("string"==typeof a)if(/\//.test(a)){var h=a;e=b}else h=C.toUrl(a.replace(/\./g,"/")+(b?"/"+b:""));else h=a+"",e=b;a=void 0!=e&&"string"!=typeof e?e.value:e;e=e&&e.sanitize;if("string"==typeof a)return f[h]=a,e?g(a):a;if(null===a)return delete f[h],null;h in f||l(h,!0,function(n){f[h]=
n});return e?g(f[h]):f[h]};return{dynamic:!0,normalize:function(a,b){var e=a.split("!"),h=e[0];return(/^\./.test(h)?b(h):h)+(e[1]?"!"+e[1]:"")},load:function(a,b,e){a=a.split("!");var h=1<a.length,n=a[0],r=b.toUrl(a[0]);a="url:"+r;var k=d,m=function(p){e(h?g(p):p)};n in f?k=f[n]:b.cache&&a in b.cache?k=b.cache[a]:r in f&&(k=f[r]);if(k===d)if(c[r])c[r].push(m);else{var y=c[r]=[m];l(r,!b.async,function(p){f[n]=f[r]=p;for(var u=0;u<y.length;)y[u++](p);delete c[r]})}else m(k)}}})},"dojo/i18n":function(){define("./_base/kernel require ./has ./_base/array ./_base/config ./_base/lang ./_base/xhr ./json module".split(" "),
function(A,C,B,x,l,f,g,d,c){B.add("dojo-preload-i18n-Api",1);var a=A.i18n={},b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,e=function(F,H,J,G){var I=[J+G];H=H.split("-");for(var K="",M=0;M<H.length;M++)if(K+=(K?"-":"")+H[M],!F||F[K])I.push(J+K+"/"+G),I.specificity=K;return I},h={},n=function(F,H,J){J=J?J.toLowerCase():A.locale;F=F.replace(/\./g,"/");H=H.replace(/\./g,"/");return/root/i.test(J)?F+"/nls/"+H:F+"/nls/"+J+"/"+H},r=A.getL10nName=function(F,H,J){return F=c.id+"!"+n(F,H,J)},k=function(F,H,
J,G,I,K){F([H],function(M){var N=f.clone(M.root||M.ROOT),Q=e(!M._v1x&&M,I,J,G);F(Q,function(){for(var P=1;P<Q.length;P++)N=f.mixin(f.clone(N),arguments[P]);h[H+"/"+I]=N;N.$locale=Q.specificity;K()})})},m=function(F){var H=l.extraLocale||[];H=f.isArray(H)?H:[H];H.push(F);return H},y=function(F,H,J){var G=b.exec(F),I=G[1]+"/",K=G[5]||G[4],M=I+K,N=(G=G[5]&&G[4])||A.locale||"",Q=M+"/"+N;G=G?[N]:m(N);var P=G.length,S=function(){--P||J(f.delegate(h[Q]))};N=F.split("*");var L="preload"==N[1];if(B("dojo-preload-i18n-Api")){if(L&&
(h[F]||(h[F]=1,q(N[2],d.parse(N[3]),1,H)),J(1)),(N=L)||(u&&w.push([F,H,J]),N=u&&!h[Q]),N)return}else if(L){J(1);return}x.forEach(G,function(R){var T=M+"/"+R;B("dojo-preload-i18n-Api")&&t(T);h[T]?S():k(H,M,I,K,R,S)})};B("dojo-preload-i18n-Api");var p=a.normalizeLocale=function(F){F=F?F.toLowerCase():A.locale;return"root"==F?"ROOT":F},u=0,w=[],q=a._preloadLocalizations=function(F,H,J,G){function I(Q,P){G.isXdUrl(C.toUrl(Q+".js"))||J?G([Q],P):E([Q],P,G)}function K(Q,P){for(var S=Q.split("-");S.length;){if(P(S.join("-")))return;
S.pop()}P("ROOT")}function M(){for(--u;!u&&w.length;)y.apply(null,w.shift())}function N(Q){Q=p(Q);K(Q,function(P){if(0<=x.indexOf(H,P)){var S=F.replace(/\./g,"/")+"_"+P;u++;I(S,function(L){for(var R in L){var T=L[R],aa=R.match(/(.+)\/([^\/]+)$/);if(aa){var da=aa[2];aa=aa[1]+"/";if(T._localized){var la;if("ROOT"===P){var ha=la=T._localized;delete T._localized;ha.root=T;h[C.toAbsMid(R)]=ha}else la=T._localized,h[C.toAbsMid(aa+da+"/"+P)]=T;P!==Q&&function(oa,ka,ta,va){var W=[],U=[];K(Q,function(X){va[X]&&
(W.push(C.toAbsMid(oa+X+"/"+ka)),U.push(C.toAbsMid(oa+ka+"/"+X)))});W.length?(u++,G(W,function(){for(var X=W.length-1;0<=X;X--)ta=f.mixin(f.clone(ta),arguments[X]),h[U[X]]=ta;h[C.toAbsMid(oa+ka+"/"+Q)]=f.clone(ta);M()})):h[C.toAbsMid(oa+ka+"/"+Q)]=ta}(aa,da,T,la)}}}M()});return!0}return!1})}G=G||C;N();x.forEach(A.config.extraLocale,N)},t=function(){},z={},D={},v,E=function(F,H,J){var G=[];x.forEach(F,function(I){function K(Q){v||(v=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue",
"var define \x3d function(mid, factory){define.called \x3d 1; __amdValue.result \x3d factory || mid;},\t   require \x3d function(){define.called \x3d 1;};try{define.called \x3d 0;eval(__bundle);if(define.called\x3d\x3d1)return __amdValue;if((__checkForLegacyModules \x3d __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"));Q=v(Q,t,I,z);Q===z?G.push(h[M]=z.result):(Q instanceof Error&&(Q={}),G.push(h[M]=/nls\/[^\/]+\/[^\/]+$/.test(M)?
Q:{root:Q,_v1x:1}))}var M=J.toUrl(I+".js");if(h[M])G.push(h[M]);else{var N=J.syncLoadNls(I);N||(N=t(I.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1")));if(N)G.push(N);else if(g)g.get({url:M,sync:!0,load:K,error:function(){G.push(h[M]={})}});else try{J.getText(M,!0,K)}catch(Q){G.push(h[M]={})}}});H&&H.apply(null,G)};t=function(F){for(var H,J=F.split("/"),G=A.global[J[0]],I=1;G&&I<J.length-1;G=G[J[I++]]);G&&((H=G[J[I]])||(H=G[J[I].replace(/-/g,"_")]),H&&(h[F]=H));return H};a.getLocalization=function(F,
H,J){var G,I=n(F,H,J);if(D[I])return D[I];y(I,C.isXdUrl(C.toUrl(I+".js"))?C:function(K,M){E(K,M,C)},function(K){G=D[I]=K});return G};return f.mixin(a,{dynamic:!0,normalize:function(F,H){return/^\./.test(F)?H(F):F},load:y,cache:h,getL10nName:r})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b){var e=c("dijit.ColorPalette",[B,x,l],{palette:"7x10",_palettes:{"7x10":["white seashell cornsilk lemonchiffon lightyellow palegreen paleturquoise lightcyan lavender plum".split(" "),"lightgray pink bisque moccasin khaki lightgreen lightseagreen lightskyblue cornflowerblue violet".split(" "),"silver lightcoral sandybrown orange palegoldenrod chartreuse mediumturquoise skyblue mediumslateblue orchid".split(" "),"gray red orangered darkorange yellow limegreen darkseagreen royalblue slateblue mediumorchid".split(" "),
"dimgray crimson chocolate coral gold forestgreen seagreen blue blueviolet darkorchid".split(" "),"darkslategray firebrick saddlebrown sienna olive green darkcyan mediumblue darkslateblue darkmagenta".split(" "),"black darkred maroon brown darkolivegreen darkgreen midnightblue navy indigo purple".split(" ")],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:C,baseClass:"dijitColorPalette",_dyeFactory:function(h,n,r,k){return new this._dyeClass(h,
n,r,k)},buildRendering:function(){this.inherited(arguments);this._dyeClass=c(e._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],g.getLocalization("dojo","colors",this.lang))}});e._Color=c("dijit._Color",d,{template:"\x3cspan class\x3d'dijitInline dijitPaletteImg'\x3e\x3cimg src\x3d'${blankGif}' alt\x3d'${alt}' title\x3d'${title}' class\x3d'dijitColorPaletteSwatch' style\x3d'background-color: ${color}'/\x3e\x3c/span\x3e",hcTemplate:"\x3cspan class\x3d'dijitInline dijitPaletteImg' style\x3d'position: relative; overflow: hidden; height: 12px; width: 14px;'\x3e\x3cimg src\x3d'${image}' alt\x3d'${alt}' title\x3d'${title}' style\x3d'position: absolute; left: ${left}px; top: ${top}px; ${size}'/\x3e\x3c/span\x3e",
_imagePaths:{"7x10":A.toUrl("./themes/a11y/colors7x10.png"),"3x4":A.toUrl("./themes/a11y/colors3x4.png")},constructor:function(h,n,r,k){this._title=k;this._row=n;this._col=r;this.setColor(d.named[h])},getValue:function(){return this.toHex()},fillCell:function(h,n){var r=b.substitute(f("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:n,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:-20*this._col-5,top:-20*this._row-5,size:"7x10"==this.palette?
"height: 145px; width: 206px":"height: 64px; width: 86px"});a.place(r,h)}});return e})},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(A,C,B){var x={};A.setObject("dojo.data.util.simpleFetch",x);x.errorHandler=function(l,f){f.onError&&f.onError.call(f.scope||C.global,l,f)};x.fetchHandler=function(l,f){var g=f.abort||null,d=!1,c=f.start?f.start:0,a=f.count&&Infinity!==f.count?c+f.count:l.length;f.abort=function(){d=!0;g&&g.call(f)};var b=
f.scope||C.global;f.store||(f.store=this);f.onBegin&&f.onBegin.call(b,l.length,f);f.sort&&l.sort(B.createSortFunction(f.sort,this));if(f.onItem)for(var e=c;e<l.length&&e<a;++e){var h=l[e];d||f.onItem.call(b,h,f)}f.onComplete&&!d&&(e=null,f.onItem||(e=l.slice(c,a)),f.onComplete.call(b,e,f))};x.fetch=function(l){l=l||{};l.store||(l.store=this);this._fetchItems(l,A.hitch(this,"fetchHandler"),A.hitch(this,"errorHandler"));return l};return x})},"dojox/editor/plugins/PasteFromWord":function(){define("dojo dijit dojox dijit/_editor/_Plugin dijit/_base/manager dijit/_editor/RichText dijit/form/Button dijit/Dialog dojox/html/format dojo/_base/connect dojo/_base/declare dojo/i18n dojo/string dojo/i18n!dojox/editor/plugins/nls/PasteFromWord dojo/i18n!dijit/nls/common dojo/i18n!dijit/_editor/nls/commands".split(" "),
function(A,C,B,x){var l=A.declare("dojox.editor.plugins.PasteFromWord",x,{iconClassPrefix:"dijitAdditionalEditorIcon",width:"400px",height:"300px",_template:"\x3cdiv class\x3d'dijitPasteFromWordEmbeddedRTE'\x3e\x3cdiv style\x3d'width: ${width}; padding-top: 5px; padding-bottom: 5px;'\x3e${instructions}\x3c/div\x3e\x3cdiv id\x3d'${uId}_rte' style\x3d'width: ${width}; height: ${height}'\x3e\x3c/div\x3e\x3ctable style\x3d'width: ${width}' tabindex\x3d'-1'\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd align\x3d'center'\x3e\x3cbutton type\x3d'button' dojoType\x3d'dijit.form.Button' id\x3d'${uId}_paste'\x3e${paste}\x3c/button\x3e\x26nbsp;\x3cbutton type\x3d'button' dojoType\x3d'dijit.form.Button' id\x3d'${uId}_cancel'\x3e${buttonCancel}\x3c/button\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e\x3c/div\x3e",
_filters:[{regexp:/(<meta\s*[^>]*\s*>)|(<\s*link\s* href="file:[^>]*\s*>)|(<\/?\s*\w+:[^>]*\s*>)/gi,handler:""},{regexp:/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,handler:""},{regexp:/(class="Mso[^"]*")|(\x3c!--(.|\s){1,}?--\x3e)/gi,handler:""},{regexp:/(<p[^>]*>\s*(&nbsp;|\u00A0)*\s*<\/p[^>]*>)|(<p[^>]*>\s*<font[^>]*>\s*(&nbsp;|\u00A0)*\s*<\/\s*font\s*>\s<\/p[^>]*>)/ig,handler:""},{regexp:/(style="[^"]*mso-[^;][^"]*")|(style="margin:\s*[^;"]*;")/gi,
handler:""},{regexp:/(<\s*script[^>]*>((.|\s)*?)<\\?\/\s*script\s*>)|(<\s*script\b([^<>]|\s)*>?)|(<[^>]*=(\s|)*[("|')]javascript:[^$1][(\s|.)]*[$1][^>]*>)/ig,handler:""},{regexp:/<(\/?)o:p[^>]*>/gi,handler:""}],_initButton:function(){this._filters=this._filters.slice(0);var f=A.i18n.getLocalization("dojox.editor.plugins","PasteFromWord");A.mixin(f,A.i18n.getLocalization("dijit","common"));A.mixin(f,A.i18n.getLocalization("dijit._editor","commands"));this.button=new C.form.Button({label:f.pasteFromWord,
showLabel:!1,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+"PasteFromWord",tabIndex:"-1",onClick:A.hitch(this,"_openDialog")});this._uId=C.getUniqueId(this.editor.id);f.uId=this._uId;f.width=this.width||"400px";f.height=this.height||"300px";this._dialog=(new C.Dialog({title:f.pasteFromWord})).placeAt(A.body());this._dialog.set("content",A.string.substitute(this._template,f));A.style(A.byId(this._uId+"_rte"),"opacity",.001);this.connect(C.byId(this._uId+"_paste"),"onClick","_paste");this.connect(C.byId(this._uId+
"_cancel"),"onClick","_cancel");this.connect(this._dialog,"onHide","_clearDialog")},updateState:function(){this.button.set("disabled",this.get("disabled"))},setEditor:function(f){this.editor=f;this._initButton()},_openDialog:function(){this._dialog.show();this._rte||setTimeout(A.hitch(this,function(){this._rte=new C._editor.RichText({height:this.height||"300px"},this._uId+"_rte");this._rte.startup();this._rte.onLoadDeferred.addCallback(A.hitch(this,function(){A.animateProperty({node:this._rte.domNode,
properties:{opacity:{start:.001,end:1}}}).play()}))}),100)},_paste:function(){var f=B.html.format.prettyPrint(this._rte.get("value"));this._dialog.hide();var g;for(g=0;g<this._filters.length;g++){var d=this._filters[g];f=f.replace(d.regexp,d.handler)}f=B.html.format.prettyPrint(f);this.editor.focus();this.editor.execCommand("inserthtml",f)},_cancel:function(){this._dialog.hide()},_clearDialog:function(){this._rte.set("value","")},destroy:function(){this._rte&&this._rte.destroy();this._dialog&&this._dialog.destroyRecursive();
delete this._dialog;delete this._rte;this.inherited(arguments)}});A.subscribe(C._scopeName+".Editor.getPlugin",null,function(f){f.plugin||"pastefromword"!==f.args.name.toLowerCase()||(f.plugin=new l({width:"width"in f.args?f.args.width:"400px",height:"height"in f.args?f.args.width:"300px"}))});return l})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){C=C("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);A.forEach("disabled readOnly checked selected focused state hovering active _opened".split(" "),function(n){this.watch(n,f.hitch(this,"_setStateClass"))},this);for(var h in this.cssStateNodes||{})this._trackMouseState(this[h],this.cssStateNodes[h]);this._trackMouseState(this.domNode,this.baseClass);this._setStateClass()},_cssMouseEvent:function(h){if(!this.disabled)switch(h.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",
!0);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",!1);this._set("active",!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",!0);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",!1)}},_setStateClass:function(){function h(p){n=n.concat(A.map(n,function(u){return u+p}),"dijit"+p)}var n=this.baseClass.split(" ");
this.isLeftToRight()||h("Rtl");var r="mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&h(r);this.state&&h(this.state);this.selected&&h("Selected");this._opened&&h("Opened");this.disabled?h("Disabled"):this.readOnly?h("ReadOnly"):this.active?h("Active"):this.hovering&&h("Hover");this.focused&&h("Focused");r=this.stateNode||this.domNode;var k={};A.forEach(r.className.split(" "),function(p){k[p]=!0});"_stateClasses"in this&&A.forEach(this._stateClasses,function(p){delete k[p]});A.forEach(n,
function(p){k[p]=!0});var m=[],y;for(y in k)m.push(y);r.className=m.join(" ");this._stateClasses=n},_subnodeCssMouseEvent:function(h,n,r){function k(m){x.toggle(h,n+"Active",m)}if(!this.disabled&&!this.readOnly)switch(r.type){case "mouseover":case "MSPointerOver":case "pointerover":x.toggle(h,n+"Hover",!0);break;case "mouseout":case "MSPointerOut":case "pointerout":x.toggle(h,n+"Hover",!1);k(!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":k(!0);
break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":k(!1);break;case "focus":case "focusin":x.toggle(h,n+"Focused",!0);break;case "blur":case "focusout":x.toggle(h,n+"Focused",!1)}},_trackMouseState:function(h,n){h._cssState=n}});d(function(){function h(k,m,y){if(!y||!B.isDescendant(y,m))for(;m&&m!=y;m=m.parentNode)if(m._cssState){var p=e.getEnclosingWidget(m);p&&(m==p.domNode?p._cssMouseEvent(k):p._subnodeCssMouseEvent(m,m._cssState,k))}}var n=a.body(),r;g(n,
c.over,function(k){h(k,k.target,k.relatedTarget)});g(n,c.out,function(k){h(k,k.target,k.relatedTarget)});g(n,b.press,function(k){r=k.target;h(k,r)});g(n,b.release,function(k){h(k,r);r=null});g(n,"focusin, focusout",function(k){var m=k.target;if(m._cssState&&!m.getAttribute("widgetId")){var y=e.getEnclosingWidget(m);y&&y._subnodeCssMouseEvent(m,m._cssState,k)}})});return C})},"dojo/dnd/Source":function(){define("../_base/array ../_base/declare ../_base/kernel ../_base/lang ../dom-class ../dom-geometry ../mouse ../ready ../topic ./common ./Selector ./Manager".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){B.isAsync||d(0,function(){require(["dojo/dnd/AutoSource","dojo/dnd/Target"])});var h=C("dojo.dnd.Source",b,{isSource:!0,horizontal:!1,copyOnly:!1,selfCopy:!1,selfAccept:!0,skipForm:!1,withHandles:!1,autoSync:!1,delay:0,accept:["text"],generateText:!0,constructor:function(n,r){x.mixin(this,x.mixin({},r));var k=this.accept;if(k.length){this.accept={};for(var m=0;m<k.length;++m)this.accept[k[m]]=1}this.mouseDown=this.isDragging=!1;this.targetBox=this.targetAnchor=null;
this.before=!0;this._lastY=this._lastX=0;this.sourceState="";this.isSource&&l.add(this.node,"dojoDndSource");this.targetState="";this.accept&&l.add(this.node,"dojoDndTarget");this.horizontal&&l.add(this.node,"dojoDndHorizontal");this.topics=[c.subscribe("/dnd/source/over",x.hitch(this,"onDndSourceOver")),c.subscribe("/dnd/start",x.hitch(this,"onDndStart")),c.subscribe("/dnd/drop",x.hitch(this,"onDndDrop")),c.subscribe("/dnd/cancel",x.hitch(this,"onDndCancel"))]},checkAcceptance:function(n,r){if(this==
n)return!this.copyOnly||this.selfAccept;for(var k=0;k<r.length;++k){for(var m=n.getItem(r[k].id).type,y=!1,p=0;p<m.length;++p)if(m[p]in this.accept){y=!0;break}if(!y)return!1}return!0},copyState:function(n,r){if(n)return!0;2>arguments.length&&(r=this==e.manager().target);if(r){if(this.copyOnly)return this.selfCopy}else return this.copyOnly;return!1},destroy:function(){h.superclass.destroy.call(this);A.forEach(this.topics,function(n){n.remove()});this.targetAnchor=null},onMouseMove:function(n){if(!this.isDragging||
"Disabled"!=this.targetState){h.superclass.onMouseMove.call(this,n);var r=e.manager();if(!this.isDragging&&this.mouseDown&&this.isSource&&(Math.abs(n.pageX-this._lastX)>this.delay||Math.abs(n.pageY-this._lastY)>this.delay)){var k=this.getSelectedNodes();k.length&&r.startDrag(this,k,this.copyState(a.getCopyKeyState(n),!0))}this.isDragging&&(k=!1,this.current&&(this.targetBox&&this.targetAnchor==this.current||(this.targetBox=f.position(this.current,!0)),k=this.horizontal?n.pageX-this.targetBox.x<this.targetBox.w/
2==f.isBodyLtr(this.current.ownerDocument):n.pageY-this.targetBox.y<this.targetBox.h/2),this.current!=this.targetAnchor||k!=this.before)&&(this._markTargetAnchor(k),r.canDrop(!this.current||r.source!=this||!(this.current.id in this.selection)))}},onMouseDown:function(n){this.mouseDown||!this._legalMouseDown(n)||this.skipForm&&a.isFormElement(n)||(this.mouseDown=!0,this._lastX=n.pageX,this._lastY=n.pageY,h.superclass.onMouseDown.call(this,n))},onMouseUp:function(n){this.mouseDown&&(this.mouseDown=
!1,h.superclass.onMouseUp.call(this,n))},onDndSourceOver:function(n){this!==n?(this.mouseDown=!1,this.targetAnchor&&this._unmarkTargetAnchor()):this.isDragging&&(n=e.manager(),n.canDrop("Disabled"!=this.targetState&&(!this.current||n.source!=this||!(this.current.id in this.selection))))},onDndStart:function(n,r,k){this.autoSync&&this.sync();this.isSource&&this._changeState("Source",this==n?k?"Copied":"Moved":"");r=this.accept&&this.checkAcceptance(n,r);this._changeState("Target",r?"":"Disabled");
this==n&&e.manager().overSource(this);this.isDragging=!0},onDndDrop:function(n,r,k,m){if(this==m)this.onDrop(n,r,k);this.onDndCancel()},onDndCancel:function(){this.targetAnchor&&(this._unmarkTargetAnchor(),this.targetAnchor=null);this.before=!0;this.mouseDown=this.isDragging=!1;this._changeState("Source","");this._changeState("Target","")},onDrop:function(n,r,k){if(this!=n)this.onDropExternal(n,r,k);else this.onDropInternal(r,k)},onDropExternal:function(n,r,k){var m=this._normalizedCreator;this._normalizedCreator=
this.creator?function(y,p){return m.call(this,n.getItem(y.id).data,p)}:k?function(y){var p=n.getItem(y.id);y=y.cloneNode(!0);y.id=a.getUniqueId();return{node:y,data:p.data,type:p.type}}:function(y){var p=n.getItem(y.id);n.delItem(y.id);return{node:y,data:p.data,type:p.type}};this.selectNone();k||this.creator||n.selectNone();this.insertNodes(!0,r,this.before,this.current);!k&&this.creator&&n.deleteSelectedNodes();this._normalizedCreator=m},onDropInternal:function(n,r){var k=this._normalizedCreator;
if(!(this.current&&this.current.id in this.selection)){if(r)this._normalizedCreator=this.creator?function(m,y){return k.call(this,this.getItem(m.id).data,y)}:function(m){var y=this.getItem(m.id);m=m.cloneNode(!0);m.id=a.getUniqueId();return{node:m,data:y.data,type:y.type}};else{if(!this.current)return;this._normalizedCreator=function(m){var y=this.getItem(m.id);return{node:m,data:y.data,type:y.type}}}this._removeSelection();this.insertNodes(!0,n,this.before,this.current);this._normalizedCreator=k}},
onDraggingOver:function(){},onDraggingOut:function(){},onOverEvent:function(){h.superclass.onOverEvent.call(this);e.manager().overSource(this);if(this.isDragging&&"Disabled"!=this.targetState)this.onDraggingOver()},onOutEvent:function(){h.superclass.onOutEvent.call(this);e.manager().outSource(this);if(this.isDragging&&"Disabled"!=this.targetState)this.onDraggingOut()},_markTargetAnchor:function(n){if(this.current!=this.targetAnchor||this.before!=n)this.targetAnchor&&this._removeItemClass(this.targetAnchor,
this.before?"Before":"After"),this.targetAnchor=this.current,this.targetBox=null,this.before=n,this.targetAnchor&&this._addItemClass(this.targetAnchor,this.before?"Before":"After")},_unmarkTargetAnchor:function(){this.targetAnchor&&(this._removeItemClass(this.targetAnchor,this.before?"Before":"After"),this.targetBox=this.targetAnchor=null,this.before=!0)},_markDndStatus:function(n){this._changeState("Source",n?"Copied":"Moved")},_legalMouseDown:function(n){if("touchstart"!=n.type&&!g.isLeft(n))return!1;
if(!this.withHandles)return!0;for(n=n.target;n&&n!==this.node;n=n.parentNode){if(l.contains(n,"dojoDndHandle"))return!0;if(l.contains(n,"dojoDndItem")||l.contains(n,"dojoDndIgnore"))break}return!1}});return h})},"dojo/json5/parse":function(){define(["../string","./util"],function(A,C){function B(I,K,M){var N=I[K];if(null!=N&&"object"===typeof N)for(var Q in N){var P=B(N,Q,M);void 0===P?delete N[Q]:N[Q]=P}return M.call(I,K,N)}function x(){if(k[p])return A.fromCodePoint(A.codePointAt(k,p))}function l(){var I=
x();"\n"===I?(u++,w=0):I?w+=I.length:w++;I&&(p+=I.length);return I}function f(I,K){return{type:I,value:K,line:u,column:w}}function g(I){for(var K=0;K<I.length;K++){var M=I[K];if(x()!==M)throw e(l());l()}}function d(){switch(x()){case "b":return l(),"\b";case "f":return l(),"\f";case "n":return l(),"\n";case "r":return l(),"\r";case "t":return l(),"\t";case "v":return l(),"\v";case "0":l();if(C.isDigit(x()))throw e(l());return"\x00";case "x":l();var I="",K=x();if(!C.isHexDigit(K))throw e(l());I+=l();
K=x();if(!C.isHexDigit(K))throw e(l());I+=l();return A.fromCodePoint(parseInt(I,16));case "u":return l(),c();case "\n":case "\u2028":case "\u2029":return l(),"";case "\r":return l(),"\n"===x()&&l(),"";case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":throw e(l());case void 0:throw e(l());}return l()}function c(){for(var I="",K=4;0<K--;){var M=x();if(!C.isHexDigit(M))throw e(l());I+=l()}return A.fromCodePoint(parseInt(I,16))}function a(){switch(q.type){case "punctuator":switch(q.value){case "{":var I=
{};break;case "[":I=[]}break;case "null":case "boolean":case "numeric":case "string":I=q.value}if(void 0===z)z=I;else{var K=y[y.length-1];Array.isArray(K)?K.push(I):K[t]=I}null!==I&&"object"===typeof I?(y.push(I),m=Array.isArray(I)?"beforeArrayValue":"beforePropertyName"):(I=y[y.length-1],m=null==I?"end":Array.isArray(I)?"afterArrayValue":"afterPropertyValue")}function b(){y.pop();var I=y[y.length-1];m=null==I?"end":Array.isArray(I)?"afterArrayValue":"afterPropertyValue"}function e(I){if(void 0===
I)I=r("JSON5: invalid end of input at "+u+":"+w);else{var K={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};K[I]?I=K[I]:" ">I&&(I=I.charCodeAt(0).toString(16),I="\\x"+("00"+I).substring(I.length));I=r("JSON5: invalid character '"+I+"' at "+u+":"+w)}return I}function h(){return r("JSON5: invalid end of input at "+u+":"+w)}function n(){w-=5;return r("JSON5: invalid identifier character at "+u+":"+
w)}function r(I){I=new SyntaxError(I);I.lineNumber=u;I.columnNumber=w;return I}var k,m,y,p,u,w,q,t,z,D,v,E,F,H,J={"default":function(){switch(H){case "\t":case "\v":case "\f":case " ":case "\u00a0":case "\ufeff":case "\n":case "\r":case "\u2028":case "\u2029":l();return;case "/":l();D="comment";return;case void 0:return l(),f("eof")}if(C.isSpaceSeparator(H))l();else return J[m]()},comment:function(){switch(H){case "*":l();D="multiLineComment";return;case "/":l();D="singleLineComment";return}throw e(l());
},multiLineComment:function(){switch(H){case "*":l();D="multiLineCommentAsterisk";return;case void 0:throw e(l());}l()},multiLineCommentAsterisk:function(){switch(H){case "*":l();return;case "/":l();D="default";return;case void 0:throw e(l());}l();D="multiLineComment"},singleLineComment:function(){switch(H){case "\n":case "\r":case "\u2028":case "\u2029":l();D="default";return;case void 0:return l(),f("eof")}l()},value:function(){switch(H){case "{":case "[":return f("punctuator",l());case "n":return l(),
g("ull"),f("null",null);case "t":return l(),g("rue"),f("boolean",!0);case "f":return l(),g("alse"),f("boolean",!1);case "-":case "+":"-"===l()&&(F=-1);D="sign";return;case ".":v=l();D="decimalPointLeading";return;case "0":v=l();D="zero";return;case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":v=l();D="decimalInteger";return;case "I":return l(),g("nfinity"),f("numeric",Infinity);case "N":return l(),g("aN"),f("numeric",NaN);case '"':case "'":E='"'===l();v="";D="string";
return}throw e(l());},identifierNameStartEscape:function(){if("u"!==H)throw e(l());l();var I=c();switch(I){case "$":case "_":break;default:if(!C.isIdStartChar(I))throw n();}v+=I;D="identifierName"},identifierName:function(){switch(H){case "$":case "_":case "\u200c":case "\u200d":v+=l();return;case "\\":l();D="identifierNameEscape";return}if(C.isIdContinueChar(H))v+=l();else return f("identifier",v)},identifierNameEscape:function(){if("u"!==H)throw e(l());l();var I=c();switch(I){case "$":case "_":case "\u200c":case "\u200d":break;
default:if(!C.isIdContinueChar(I))throw n();}v+=I;D="identifierName"},sign:function(){switch(H){case ".":v=l();D="decimalPointLeading";return;case "0":v=l();D="zero";return;case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":v=l();D="decimalInteger";return;case "I":return l(),g("nfinity"),f("numeric",Infinity*F);case "N":return l(),g("aN"),f("numeric",NaN)}throw e(l());},zero:function(){switch(H){case ".":v+=l();D="decimalPoint";return;case "e":case "E":v+=l();D="decimalExponent";
return;case "x":case "X":v+=l();D="hexadecimal";return}return f("numeric",0*F)},decimalInteger:function(){switch(H){case ".":v+=l();D="decimalPoint";return;case "e":case "E":v+=l();D="decimalExponent";return}if(C.isDigit(H))v+=l();else return f("numeric",F*Number(v))},decimalPointLeading:function(){if(C.isDigit(H))v+=l(),D="decimalFraction";else throw e(l());},decimalPoint:function(){switch(H){case "e":case "E":v+=l();D="decimalExponent";return}if(C.isDigit(H))v+=l(),D="decimalFraction";else return f("numeric",
F*Number(v))},decimalFraction:function(){switch(H){case "e":case "E":v+=l();D="decimalExponent";return}if(C.isDigit(H))v+=l();else return f("numeric",F*Number(v))},decimalExponent:function(){switch(H){case "+":case "-":v+=l();D="decimalExponentSign";return}if(C.isDigit(H))v+=l(),D="decimalExponentInteger";else throw e(l());},decimalExponentSign:function(){if(C.isDigit(H))v+=l(),D="decimalExponentInteger";else throw e(l());},decimalExponentInteger:function(){if(C.isDigit(H))v+=l();else return f("numeric",
F*Number(v))},hexadecimal:function(){if(C.isHexDigit(H))v+=l(),D="hexadecimalInteger";else throw e(l());},hexadecimalInteger:function(){if(C.isHexDigit(H))v+=l();else return f("numeric",F*Number(v))},string:function(){switch(H){case "\\":l();v+=d();return;case '"':if(E)return l(),f("string",v);v+=l();return;case "'":if(!E)return l(),f("string",v);v+=l();return;case "\n":case "\r":throw e(l());case void 0:throw e(l());}v+=l()},start:function(){switch(H){case "{":case "[":return f("punctuator",l())}D=
"value"},beforePropertyName:function(){switch(H){case "$":case "_":v=l();D="identifierName";return;case "\\":l();D="identifierNameStartEscape";return;case "}":return f("punctuator",l());case '"':case "'":E='"'===l();D="string";return}if(C.isIdStartChar(H))v+=l(),D="identifierName";else throw e(l());},afterPropertyName:function(){if(":"===H)return f("punctuator",l());throw e(l());},beforePropertyValue:function(){D="value"},afterPropertyValue:function(){switch(H){case ",":case "}":return f("punctuator",
l())}throw e(l());},beforeArrayValue:function(){if("]"===H)return f("punctuator",l());D="value"},afterArrayValue:function(){switch(H){case ",":case "]":return f("punctuator",l())}throw e(l());},end:function(){throw e(l());}},G={start:function(){if("eof"===q.type)throw h();a()},beforePropertyName:function(){switch(q.type){case "identifier":case "string":t=q.value;m="afterPropertyName";break;case "punctuator":b();break;case "eof":throw h();}},afterPropertyName:function(){if("eof"===q.type)throw h();
m="beforePropertyValue"},beforePropertyValue:function(){if("eof"===q.type)throw h();a()},beforeArrayValue:function(){if("eof"===q.type)throw h();"punctuator"===q.type&&"]"===q.value?b():a()},afterPropertyValue:function(){if("eof"===q.type)throw h();switch(q.value){case ",":m="beforePropertyName";break;case "}":b()}},afterArrayValue:function(){if("eof"===q.type)throw h();switch(q.value){case ",":m="beforeArrayValue";break;case "]":b()}},end:function(){}};return function(I,K){k=String(I);m="start";
y=[];p=0;u=1;w=0;z=t=q=void 0;do{a:for(D="default",v="",E=!1,F=1;;){H=x();var M=J[D]();if(M){q=M;break a}}G[m]()}while("eof"!==q.type);return"function"===typeof K?B({"":z},"",K):z}})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(A,C){return A("RequestTimeoutError",null,C,{dojoType:"timeout"})})},"dojox/embed/Flash":function(){define("dojo/_base/lang dojo/_base/unload dojo/_base/array dojo/query dojo/has dojo/dom dojo/on dojo/window dojo/string".split(" "),
function(A,C,B,x,l,f,g,d,c){function a(k){k=A.delegate(e,k);if(!("path"in k))return null;"id"in k||(k.id="dojox-embed-flash-"+b++);return k}var b=0,e={expressInstall:!1,width:320,height:240,swLiveConnect:"true",allowScriptAccess:"sameDomain",allowNetworking:"all",style:null,redirect:null};if(l("ie")){var h=function(k){k=a(k);if(!k)return null;var m,y=k.path;if(k.vars){var p=[];for(m in k.vars)p.push(encodeURIComponent(m)+"\x3d"+encodeURIComponent(k.vars[m]));k.params.FlashVars=p.join("\x26");delete k.vars}y=
'\x3cobject id\x3d"'+c.escape(String(k.id))+'" classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width\x3d"'+c.escape(String(k.width))+'" height\x3d"'+c.escape(String(k.height))+'"'+(k.style?' style\x3d"'+c.escape(String(k.style))+'"':"")+'\x3e\x3cparam name\x3d"movie" value\x3d"'+c.escape(String(y))+'" /\x3e';if(k.params)for(m in k.params)y+='\x3cparam name\x3d"'+c.escape(m)+'" value\x3d"'+c.escape(String(k.params[m]))+'" /\x3e';return{id:k.id,markup:y+"\x3c/object\x3e"}};var n=function(){for(var k=
10,m=null;!m&&7<k;)try{m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+k--)}catch(y){}return m?(k=m.GetVariable("$version").split(" ")[1].split(","),{major:null!=k[0]?parseInt(k[0]):0,minor:null!=k[1]?parseInt(k[1]):0,rev:null!=k[2]?parseInt(k[2]):0}):{major:0,minor:0,rev:0}}();C.addOnWindowUnload(function(){var k=function(){};x("object").reverse().style("display","none").forEach(function(m){for(var y in m)if("FlashVars"!=y&&"function"==typeof m[y])try{m[y]=k}catch(p){}})})}else h=function(k){k=
a(k);if(!k)return null;var m,y=k.path;if(k.vars){var p=[];for(m in k.vars)p.push(encodeURIComponent(m)+"\x3d"+encodeURIComponent(k.vars[m]));k.params.flashVars=p.join("\x26");delete k.vars}y='\x3cembed type\x3d"application/x-shockwave-flash" src\x3d"'+c.escape(String(y))+'" id\x3d"'+c.escape(String(k.id))+'" width\x3d"'+c.escape(String(k.width))+'" height\x3d"'+c.escape(String(k.height))+'"'+(k.style?' style\x3d"'+c.escape(String(k.style))+'" ':"")+'pluginspage\x3d"'+window.location.protocol+'//www.adobe.com/go/getflashplayer" ';
if(k.params)for(m in k.params)y+=" "+c.escape(m)+'\x3d"'+c.escape(String(k.params[m]))+'"';return{id:k.id,markup:y+" /\x3e"}},n=function(){var k=navigator.plugins["Shockwave Flash"];return k&&k.description?(k=k.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."),{major:null!=k[0]?parseInt(k[0]):0,minor:null!=k[1]?parseInt(k[1]):0,rev:null!=k[2]?parseInt(k[2]):0}):{major:0,minor:0,rev:0}}();var r=function(k,m){if(-1<location.href.toLowerCase().indexOf("file://"))throw Error("dojox.embed.Flash can't be run directly from a file. To instatiate the required SWF correctly it must be run from a server, like localHost.");
this.available=n.major;this.minimumVersion=k.minimumVersion||9;this.domNode=this.movie=this.id=null;m&&(m=f.byId(m));setTimeout(A.hitch(this,function(){if(k.expressInstall||this.available&&this.available>=this.minimumVersion)if(k&&m)this.init(k,m);else this.onError("embed.Flash was not provided with the proper arguments.");else if(this.available)this.onError("Flash version detected: "+this.available+" is out of date. Minimum required: "+this.minimumVersion);else this.onError("Flash is not installed.")}),
100)};A.extend(r,{onReady:function(k){},onLoad:function(k){},onError:function(k){},_onload:function(){clearInterval(this._poller);delete this._poller;delete this._pollCount;delete this._pollMax;this.onLoad(this.movie)},init:function(k,m){this.destroy();m=f.byId(m||this.domNode);if(!m)throw Error("dojox.embed.Flash: no domNode reference has been passed.");var y=0;this._poller=null;this._pollCount=0;this._pollMax=15;this.pollTime=100;r.initialized&&(this.id=r.place(k,m),this.domNode=m,setTimeout(A.hitch(this,
function(){this.movie=this.byId(this.id,k.doc);this.onReady(this.movie);this._poller=setInterval(A.hitch(this,function(){try{y=this.movie.PercentLoaded()}catch(p){}if(100==y)this._onload();else if(0==y&&this._pollCount++>this._pollMax)throw clearInterval(this._poller),Error("Building SWF failed.");}),this.pollTime)}),1))},_destroy:function(){try{this.domNode.removeChild(this.movie)}catch(k){}this.id=this.movie=this.domNode=null},destroy:function(){if(this.movie){var k=A.delegate({id:!0,movie:!0,domNode:!0,
onReady:!0,onLoad:!0}),m;for(m in this)k[m]||delete this[m];this._poller?g(this,"Load",this,"_destroy"):this._destroy()}},byId:function(k,m){m=m||document;return m.embeds[k]?m.embeds[k]:m[k]?m[k]:window[k]?window[k]:document[k]?document[k]:null}});A.mixin(r,{minSupported:8,available:n.major,supported:n.major>=n.required,minimumRequired:n.required,version:n,initialized:!1,onInitialize:function(){r.initialized=!0},__ie_markup__:function(k){return h(k)},proxy:function(k,m){B.forEach(m instanceof Array?
m:[m],function(y){this[y]=A.hitch(this,function(){return function(){return eval(this.movie.CallFunction('\x3cinvoke name\x3d"'+y+'" returntype\x3d"javascript"\x3e\x3carguments\x3e'+B.map(arguments,function(p){return __flash__toXML(p)}).join("")+"\x3c/arguments\x3e\x3c/invoke\x3e"))}.apply(this,arguments||[])})},k)}});r.place=function(k,m){var y=h(k);m=f.byId(m);m||(m=d.doc.createElement("div"),m.id=y.id+"-container",d.body().appendChild(m));return y?(m.innerHTML=y.markup,y.id):null};r.onInitialize();
A.setObject("dojox.embed.Flash",r);return r})},"dojox/form/manager/_FormMixin":function(){define("dojo/_base/lang dojo/_base/kernel dojo/_base/event dojo/window ./_Mixin dojo/_base/declare".split(" "),function(A,C,B,x,l,f){var g=A.getObject("dojox.form.manager",!0).actionAdapter;return f("dojox.form.manager._FormMixin",null,{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",startup:function(){if(this.isForm="form"==this.domNode.tagName.toLowerCase())this.connect(this.domNode,
"onreset","_onReset"),this.connect(this.domNode,"onsubmit","_onSubmit");this.inherited(arguments)},_onReset:function(d){var c={returnValue:!0,preventDefault:function(){this.returnValue=!1},stopPropagation:function(){},currentTarget:d.currentTarget,target:d.target};!1!==this.onReset(c)&&c.returnValue&&this.reset();B.stop(d);return!1},onReset:function(){return!0},reset:function(){this.inspectFormWidgets(g(function(d,c){c.reset&&c.reset()}));this.isForm&&this.domNode.reset();return this},_onSubmit:function(d){!1===
this.onSubmit(d)&&B.stop(d)},onSubmit:function(){return this.isValid()},submit:function(){this.isForm&&!1!==this.onSubmit()&&this.domNode.submit()},isValid:function(){for(var d in this.formWidgets){var c=!1;g(function(a,b){b.get("disabled")||!b.isValid||b.isValid()||(c=!0)}).call(this,null,this.formWidgets[d].widget);if(c)return!1}return!0},validate:function(){var d=!0,c=this.formWidgets,a=!1,b;for(b in c)g(function(e,h){h._hasBeenBlurred=!0;var n=h.disabled||!h.validate||h.validate();n||a||(x.scrollIntoView(h.containerNode||
h.domNode),h.focus(),a=!0);d=d&&n}).call(this,null,c[b].widget);return d}})})},"dojox/grid/cells/dijit":function(){define("dojo/_base/kernel ../../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/json dojo/_base/connect dojo/_base/sniff dojo/dom dojo/dom-attr dojo/dom-construct dojo/dom-style dojo/dom-geometry dojo/data/ItemFileReadStore dijit/form/DateTextBox dijit/form/TimeTextBox dijit/form/ComboBox dijit/form/CheckBox dijit/form/TextBox dijit/form/NumberSpinner dijit/form/NumberTextBox dijit/form/CurrencyTextBox dijit/form/HorizontalSlider dijit/form/_TextBoxMixin dijit/Editor ../util ./_base".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t,z,D,v,E){C={};var F=C._Widget=B("dojox.grid.cells._Widget",E,{widgetClass:p,constructor:function(H){this.widget=null;"string"==typeof this.widgetClass&&(A.deprecated("Passing a string to widgetClass is deprecated","pass the widget class object instead","2.0"),this.widgetClass=l.getObject(this.widgetClass))},formatEditing:function(H,J){this.needFormatNode(H,J);return"\x3cdiv\x3e\x3c/div\x3e"},getValue:function(H){return this.widget.get("value")},
_unescapeHTML:function(H){return H&&H.replace&&this.grid.escapeHTMLInData?H.replace(/&lt;/g,"\x3c").replace(/&amp;/g,"\x26"):H},setValue:function(H,J){if(this.widget&&this.widget.set)if(J=this._unescapeHTML(J),this.widget.onLoadDeferred){var G=this;this.widget.onLoadDeferred.addCallback(function(){G.widget.set("value",null===J?"":J)})}else this.widget.set("value",J);else this.inherited(arguments)},getWidgetProps:function(H){return l.mixin({dir:this.dir,lang:this.lang},this.widgetProps||{},{constraints:l.mixin({},
this.constraint)||{},required:(this.constraint||{}).required,value:this._unescapeHTML(H)})},createWidget:function(H,J,G){return new this.widgetClass(this.getWidgetProps(J),H)},attachWidget:function(H,J,G){H.appendChild(this.widget.domNode);this.setValue(G,J)},formatNode:function(H,J,G){if(!this.widgetClass)return J;this.widget?this.attachWidget.apply(this,arguments):this.widget=this.createWidget.apply(this,arguments);this.sizeWidget.apply(this,arguments);this.grid.views.renormalizeRow(G);this.grid.scroller.rowHeightChanged(G,
!0);this.focus()},sizeWidget:function(H,J,G){H=this.getNode(G);A.marginBox(this.widget.domNode,{w:e.get(H,"width")})},focus:function(H,J){this.widget&&setTimeout(l.hitch(this.widget,function(){v.fire(this,"focus");this.focusNode&&"INPUT"===this.focusNode.tagName&&z.selectInputText(this.focusNode)}),0)},_finish:function(H){this.inherited(arguments);v.removeNode(this.widget.domNode);d("ie")&&c.setSelectable(this.widget.domNode,!0)}});F.markupFactory=function(H,J){E.markupFactory(H,J);var G=l.trim(a.get(H,
"widgetProps")||""),I=l.trim(a.get(H,"constraint")||""),K=l.trim(a.get(H,"widgetClass")||"");G&&(J.widgetProps=f.fromJson(G));I&&(J.constraint=f.fromJson(I));K&&(J.widgetClass=l.getObject(K))};m=C.ComboBox=B("dojox.grid.cells.ComboBox",F,{widgetClass:m,getWidgetProps:function(H){var J=[];x.forEach(this.options,function(I){J.push({name:I,value:I})});var G=new n({data:{identifier:"name",items:J}});return l.mixin({},this.widgetProps||{},{value:H,store:G})},getValue:function(){var H=this.widget;H.set("displayedValue",
H.get("displayedValue"));return H.get("value")}});m.markupFactory=function(H,J){F.markupFactory(H,J);var G=l.trim(a.get(H,"options")||"");if(G){var I=G.split(",");I[0]!=G&&(J.options=I)}};r=C.DateTextBox=B("dojox.grid.cells.DateTextBox",F,{widgetClass:r,setValue:function(H,J){this.widget?this.widget.set("value",new Date(J)):this.inherited(arguments)},getWidgetProps:function(H){return l.mixin(this.inherited(arguments),{value:new Date(H)})}});r.markupFactory=function(H,J){F.markupFactory(H,J)};y=C.CheckBox=
B("dojox.grid.cells.CheckBox",F,{widgetClass:y,getValue:function(){return this.widget.checked},setValue:function(H,J){this.widget&&this.widget.attributeMap.checked?this.widget.set("checked",J):this.inherited(arguments)},sizeWidget:function(H,J,G){}});y.markupFactory=function(H,J){F.markupFactory(H,J)};D=C.Editor=B("dojox.grid.cells.Editor",F,{widgetClass:D,getWidgetProps:function(H){return l.mixin({},this.widgetProps||{},{height:this.widgetHeight||"100px"})},createWidget:function(H,J,G){H=new this.widgetClass(this.getWidgetProps(J),
H);H.onLoadDeferred.then(l.hitch(this,"populateEditor"));return H},formatNode:function(H,J,G){this.content=J;this.inherited(arguments);if(d("mozilla")){var I=this.widget;I.open();this.widgetToolbar&&b.place(I.toolbar.domNode,I.editingArea,"before")}},populateEditor:function(){this.widget.set("value",this.content);this.widget.placeCursorAtEnd()}});D.markupFactory=function(H,J){F.markupFactory(H,J);var G=l.trim(a.get(H,"widgetHeight")||"");G&&("auto"!=G&&"em"!=G.substr(-2)&&(G=parseInt(G,10)+"px"),
J.widgetHeight=G)};return C})},"dojo/NodeList-dom":function(){define("./_base/kernel ./query ./_base/array ./_base/lang ./dom-class ./dom-construct ./dom-geometry ./dom-attr ./dom-style".split(" "),function(A,C,B,x,l,f,g,d,c){function a(m){return function(y,p,u){return 2==arguments.length?m["string"==typeof p?"get":"set"](y,p):m.set(y,p,u)}}var b=function(m){return 1==m.length&&"string"==typeof m[0]},e=function(m){var y=m.parentNode;y&&y.removeChild(m)},h=C.NodeList,n=h._adaptWithCondition,r=h._adaptAsForEach,
k=h._adaptAsMap;x.extend(h,{_normalize:function(m,y){var p=!0===m.parse;if("string"==typeof m.template){var u=m.templateFunc||A.string&&A.string.substitute;m=u?u(m.template,m):m}u=typeof m;"string"==u||"number"==u?(m=f.toDom(m,y&&y.ownerDocument),m=11==m.nodeType?x._toArray(m.childNodes):[m]):x.isArrayLike(m)?x.isArray(m)||(m=x._toArray(m)):m=[m];p&&(m._runParse=!0);return m},_cloneNode:function(m){return m.cloneNode(!0)},_place:function(m,y,p,u){if(1==y.nodeType||"only"!=p)for(var w,q=m.length,t=
q-1;0<=t;t--){var z=u?this._cloneNode(m[t]):m[t];if(m._runParse&&A.parser&&A.parser.parse)for(w||(w=y.ownerDocument.createElement("div")),w.appendChild(z),A.parser.parse(w),z=w.firstChild;w.firstChild;)w.removeChild(w.firstChild);t==q-1?f.place(z,y,p):y.parentNode.insertBefore(z,y);y=z}},position:k(g.position),attr:n(a(d),b),style:n(a(c),b),addClass:r(l.add),removeClass:r(l.remove),toggleClass:r(l.toggle),replaceClass:r(l.replace),empty:r(f.empty),removeAttr:r(d.remove),marginBox:k(g.getMarginBox),
place:function(m,y){var p=C(m)[0];return this.forEach(function(u){f.place(u,p,y)})},orphan:function(m){return(m?C._filterResult(this,m):this).forEach(e)},adopt:function(m,y){return C(m).place(this[0],y)._stash(this)},query:function(m){if(!m)return this;var y=new h;this.map(function(p){C(m,p).forEach(function(u){void 0!==u&&y.push(u)})});return y._stash(this)},filter:function(m){var y=arguments,p=this,u=0;if("string"==typeof m){p=C._filterResult(this,y[0]);if(1==y.length)return p._stash(this);u=1}return this._wrap(B.filter(p,
y[u],y[u+1]),this)},addContent:function(m,y){m=this._normalize(m,this[0]);for(var p=0,u;u=this[p];p++)m.length?this._place(m,u,y,0<p):f.empty(u);return this}});return h})},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(A,C,B,x,l){return A("dijit.form.FilteringSelect",[x,l],{required:!0,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened},isValid:function(){return!!this.item||!this.required&&
""==this.get("displayedValue")},_refreshState:function(){this.searchTimer||this.inherited(arguments)},_callbackSetLabel:function(f,g,d,c){g&&g[this.searchAttr]!==this._lastQuery||!g&&f.length&&this.store.getIdentity(f[0])!=this._lastQuery||(f.length?this.set("item",f[0],c):this.set("value","",c||void 0===c&&!this.focused,this.textbox.value,null))},_openResultList:function(f,g,d){g[this.searchAttr]===this._lastQuery&&(this.inherited(arguments),void 0===this.item&&this.validate(!0))},_getValueAttr:function(){return this.valueNode.value},
_getValueField:function(){return"value"},_setValueAttr:function(f,g,d,c){this._onChangeActive||(g=null);if(void 0===c){if(null===f||""===f)if(f="",!C.isString(d)){this._setDisplayedValueAttr(d||"",g);return}var a=this;this._lastQuery=f;B(this.store.get(f),function(b){a._callbackSetLabel(b?[b]:[],void 0,void 0,g)})}else this.valueNode.value=f,this.inherited(arguments,[f,g,d,c])},_setItemAttr:function(f,g,d){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value},_getDisplayQueryString:function(f){return f.replace(/([\\\*\?])/g,
"\\$1")},_setDisplayedValueAttr:function(f,g){null==f&&(f="");if(!this._created){if(!("displayedValue"in this.params))return;g=!1}if(this.store){this.closeDropDown();var d=C.clone(this.query),c=this._getDisplayQueryString(f);if(this.store._oldAPI)var a=c;else a=this._patternToRegExp(c),a.toString=function(){return c};this._lastQuery=d[this.searchAttr]=a;this._lastDisplayedValue=this.textbox.value=f;this._set("displayedValue",f);var b=this,e={queryOptions:{ignoreCase:this.ignoreCase,deep:!0}};C.mixin(e,
this.fetchProperties);this._fetchHandle=this.store.query(d,e);B(this._fetchHandle,function(h){b._fetchHandle=null;b._callbackSetLabel(h||[],d,e,g)},function(h){b._fetchHandle=null})}},undo:function(){this.set("displayedValue",this._lastDisplayedValue)}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t){function z(v){return function(E){d[E?"set":"remove"](this.domNode,v,E);this._set(v,E)}}h.add("dijit-legacy-requires",!n.isAsync);h.add("dojo-bidi",!1);h("dijit-legacy-requires")&&m(0,function(){A(["dijit/_base/manager"])});var D={};x=f("dijit._WidgetBase",[y,w],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:z("lang"),dir:"",_setDirAttr:z("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",
baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(v){this._set("ownerDocument",v)},attributeMap:{},_blankGif:x.blankGif||A.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var v=this.constructor;if(!v._setterAttrs){var E=v.prototype,F=v._setterAttrs=[];v=v._onMap={};for(var H in E.attributeMap)F.push(H);for(H in E)/^on/.test(H)&&(v[H.substring(2).toLowerCase()]=H),/^_set[A-Z](.*)Attr$/.test(H)&&(H=H.charAt(4).toLowerCase()+
H.substr(5,H.length-9),E.attributeMap&&H in E.attributeMap||F.push(H))}},postscript:function(v,E){this.create(v,E)},create:function(v,E){this._introspect();this.srcNodeRef=g.byId(E);this._connects=[];this._supportingWidgets=[];this.srcNodeRef&&this.srcNodeRef.id&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id);v&&(this.params=v,r.mixin(this,v));this.postMixInProperties();this.id||(this.id=t.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id);this.ownerDocument=
this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=u.body(this.ownerDocument);t.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var F=this.srcNodeRef;if(F&&F.parentNode&&this.domNode!==F){F.parentNode.replaceChild(this.domNode,F);var H=!0}this.domNode.setAttribute("widgetId",this.id)}this.postCreate();H&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var v={},E;for(E in this.params||{})v[E]=this._get(E);
C.forEach(this.constructor._setterAttrs,function(F){if(!(F in v)){var H=this._get(F);H&&this.set(F,H)}},this);for(E in v)this.set(E,v[E])},postMixInProperties:function(){},buildRendering:function(){this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div"));if(this.baseClass){var v=this.baseClass.split(" ");this.isLeftToRight()||(v=v.concat(C.map(v,function(E){return E+"Rtl"})));c.add(this.domNode,v)}},postCreate:function(){},startup:function(){this._started||(this._started=
!0,C.forEach(this.getChildren(),function(v){v._started||v._destroyed||!r.isFunction(v.startup)||(v.startup(),v._started=!0)}))},destroyRecursive:function(v){this._beingDestroyed=!0;this.destroyDescendants(v);this.destroy(v)},destroy:function(v){function E(F){F.destroyRecursive?F.destroyRecursive(v):F.destroy&&F.destroy(v)}this._beingDestroyed=!0;this.uninitialize();C.forEach(this._connects,r.hitch(this,"disconnect"));C.forEach(this._supportingWidgets,E);this.domNode&&C.forEach(t.findWidgets(this.domNode,
this.containerNode),E);this.destroyRendering(v);t.remove(this.id);this._destroyed=!0},destroyRendering:function(v){this.bgIframe&&(this.bgIframe.destroy(v),delete this.bgIframe);this.domNode&&(v?d.remove(this.domNode,"widgetId"):a.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(v||a.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(v){C.forEach(this.getChildren(),function(E){E.destroyRecursive&&E.destroyRecursive(v)})},uninitialize:function(){return!1},_setStyleAttr:function(v){var E=
this.domNode;r.isObject(v)?e.set(E,v):E.style.cssText=E.style.cssText?E.style.cssText+("; "+v):v;this._set("style",v)},_attrToDom:function(v,E,F){F=3<=arguments.length?F:this.attributeMap[v];C.forEach(r.isArray(F)?F:[F],function(H){var J=this[H.node||H||"domNode"];switch(H.type||"attribute"){case "attribute":r.isFunction(E)&&(E=r.hitch(this,E));H=H.attribute?H.attribute:/^on[A-Z][a-zA-Z]*$/.test(v)?v.toLowerCase():v;J.tagName?d.set(J,H,E):J.set(H,E);break;case "innerText":J.innerHTML="";J.appendChild(this.ownerDocument.createTextNode(E));
break;case "textContent":J.textContent=E;break;case "innerHTML":J.innerHTML=E;break;case "class":c.replace(J,E,this[v]);break;case "toggleClass":c.toggle(J,H.className||v,E)}},this)},get:function(v){var E=this._getAttrNames(v);return this[E.g]?this[E.g]():this._get(v)},set:function(v,E){if("object"===typeof v){for(var F in v)this.set(F,v[F]);return this}F=this._getAttrNames(v);var H=this[F.s];if(r.isFunction(H))var J=H.apply(this,Array.prototype.slice.call(arguments,1));else{H=this.focusNode&&!r.isFunction(this.focusNode)?
"focusNode":"domNode";var G=this[H]&&this[H].tagName,I;if((I=G)&&!(I=D[G])){I=this[H];var K={};for(M in I)K[M.toLowerCase()]=!0;I=D[G]=K}var M=I;F=v in this.attributeMap?this.attributeMap[v]:F.s in this?this[F.s]:M&&F.l in M&&"function"!=typeof E||/^aria-|^data-|^role$/.test(v)?H:null;null!=F&&this._attrToDom(v,E,F);this._set(v,E)}return J||this},_attrPairNames:{},_getAttrNames:function(v){var E=this._attrPairNames;if(E[v])return E[v];var F=v.replace(/^[a-z]|-[a-zA-Z]/g,function(H){return H.charAt(H.length-
1).toUpperCase()});return E[v]={n:v+"Node",s:"_set"+F+"Attr",g:"_get"+F+"Attr",l:F.toLowerCase()}},_set:function(v,E){var F=this[v];this[v]=E;!this._created||F===E||F!==F&&E!==E||(this._watchCallbacks&&this._watchCallbacks(v,F,E),this.emit("attrmodified-"+v,{detail:{prevValue:F,newValue:E}}))},_get:function(v){return this[v]},emit:function(v,E,F){E=E||{};void 0===E.bubbles&&(E.bubbles=!0);void 0===E.cancelable&&(E.cancelable=!0);E.detail||(E.detail={});E.detail.widget=this;var H,J=this["on"+v];J&&
(H=J.apply(this,F?F:[E]));this._started&&!this._beingDestroyed&&k.emit(this.domNode,v.toLowerCase(),E);return H},on:function(v,E){var F=this._onMap(v);return F?B.after(this,F,E,!0):this.own(k(this.domNode,v,E))[0]},_onMap:function(v){var E=this.constructor,F=E._onMap;if(!F){F=E._onMap={};for(var H in E.prototype)/^on/.test(H)&&(F[H.replace(/^on/,"").toLowerCase()]=H)}return F["string"==typeof v&&v.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},
getChildren:function(){return this.containerNode?t.findWidgets(this.containerNode):[]},getParent:function(){return t.getEnclosingWidget(this.domNode.parentNode)},connect:function(v,E,F){return this.own(l.connect(v,E,this,F))[0]},disconnect:function(v){v.remove()},subscribe:function(v,E){return this.own(p.subscribe(v,r.hitch(this,E)))[0]},unsubscribe:function(v){v.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():b.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&
"none"!=e.get(this.domNode,"display")},placeAt:function(v,E){var F=!v.tagName&&t.byId(v);!F||!F.addChild||E&&"number"!==typeof E?(F=F&&"domNode"in F?F.containerNode&&!/after|before|replace/.test(E||"")?F.containerNode:F.domNode:g.byId(v,this.ownerDocument),a.place(this.domNode,F,E),!this._started&&(this.getParent()||{})._started&&this.startup()):F.addChild(this,E);return this},defer:function(v,E){var F=setTimeout(r.hitch(this,function(){F&&(F=null,this._destroyed||r.hitch(this,v)())}),E||0);return{remove:function(){F&&
(clearTimeout(F),F=null);return null}}}});h("dojo-bidi")&&x.extend(q);return x})},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(A,C){A.cookie=function(B,x,l){var f=document.cookie;if(1==arguments.length)var g=(g=f.match(new RegExp("(?:^|; )"+C.escapeString(B)+"\x3d([^;]*)")))?decodeURIComponent(g[1]):void 0;else{l=l||{};f=l.expires;if("number"==typeof f){var d=new Date;d.setTime(d.getTime()+864E5*f);f=l.expires=d}f&&f.toUTCString&&(l.expires=f.toUTCString());x=encodeURIComponent(x);
f=B+"\x3d"+x;for(var c in l)f+="; "+c,d=l[c],!0!==d&&(f+="\x3d"+d);document.cookie=f}return g};A.cookie.isSupported=function(){"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled="CookiesAllowed"==this("__djCookieTest__"),navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1}));return navigator.cookieEnabled};return A.cookie})},"dojo/router":function(){define(["./router/RouterBase"],function(A){return new A({})})},"dojo/_base/fx":function(){define("./kernel ./config ./lang ../Evented ./Color ../aspect ../sniff ../dom ../dom-style".split(" "),
function(A,C,B,x,l,f,g,d,c){var a=B.mixin,b={},e=b._Line=function(p,u){this.start=p;this.end=u};e.prototype.getValue=function(p){return(this.end-this.start)*p+this.start};var h=b.Animation=function(p){a(this,p);B.isArray(this.curve)&&(this.curve=new e(this.curve[0],this.curve[1]))};h.prototype=new x;B.extend(h,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var p=this._percent,u=this.easing;return u?u(p):p},_fire:function(p,u){var w=u||[];if(this[p])if(C.debugAtAllCosts)this[p].apply(this,
w);else try{this[p].apply(this,w)}catch(q){}return this},play:function(p,u){this._delayTimer&&this._clearTimer();if(u)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",[this.node]);var w=p||this.delay,q=B.hitch(this,"_play",u);if(0<w)return this._delayTimer=setTimeout(q,w),this;q();return this},_play:function(p){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=
this.duration*this._percent);this._active=!0;this._paused=!1;p=this.curve.getValue(this._getStep());this._percent||(this._startRepeatCount||(this._startRepeatCount=this.repeat),this._fire("onBegin",[p]));this._fire("onPlay",[p]);this._cycle();return this},pause:function(){this._delayTimer&&this._clearTimer();this._stopTimer();if(!this._active)return this;this._paused=!0;this._fire("onPause",[this.curve.getValue(this._getStep())]);return this},gotoPercent:function(p,u){this._stopTimer();this._active=
this._paused=!0;this._percent=p;u&&this.play();return this},stop:function(p){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();p&&(this._percent=1);this._fire("onStop",[this.curve.getValue(this._getStep())]);this._active=this._paused=!1;return this},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){if(this._active){var p=(new Date).valueOf();p=0===this.duration?1:(p-this._startTime)/this.duration;
1<=p&&(p=1);this._percent=p;this.easing&&(p=this.easing(p));this._fire("onAnimate",[this.curve.getValue(p)]);1>this._percent?this._startTimer():(this._active=!1,0<this.repeat?(this.repeat--,this.play(null,!0)):-1==this.repeat?this.play(null,!0):this._startRepeatCount&&(this.repeat=this._startRepeatCount,this._startRepeatCount=0),this._percent=0,this._fire("onEnd",[this.node]),!this.repeat&&this._stopTimer())}return this},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});
var n=0,r=null,k={run:function(){}};B.extend(h,{_startTimer:function(){this._timer||(this._timer=f.after(k,"run",B.hitch(this,"_cycle"),!0),n++);r||(r=setInterval(B.hitch(k,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,n--);0>=n&&(clearInterval(r),r=null,n=0)}});var m=g("ie")?function(p){var u=p.style;u.width.length||"auto"!=c.get(p,"width")||(u.width="auto")}:function(){};b._fade=function(p){p.node=d.byId(p.node);var u=a({properties:{}},p);p=u.properties.opacity=
{};p.start="start"in u?u.start:function(){return+c.get(u.node,"opacity")||0};p.end=u.end;p=b.animateProperty(u);f.after(p,"beforeBegin",B.partial(m,u.node),!0);return p};b.fadeIn=function(p){return b._fade(a({end:1},p))};b.fadeOut=function(p){return b._fade(a({end:0},p))};b._defaultEasing=function(p){return.5+Math.sin((p+1.5)*Math.PI)/2};var y=function(p){this._properties=p;for(var u in p){var w=p[u];w.start instanceof l&&(w.tempColor=new l)}};y.prototype.getValue=function(p){var u={},w;for(w in this._properties){var q=
this._properties[w],t=q.start;t instanceof l?u[w]=l.blendColors(t,q.end,p,q.tempColor).toCss():B.isArray(t)||(u[w]=(q.end-t)*p+t+("opacity"!=w?q.units||"px":0))}return u};b.animateProperty=function(p){var u=p.node=d.byId(p.node);p.easing||(p.easing=A._defaultEasing);p=new h(p);f.after(p,"beforeBegin",B.hitch(p,function(){var w={},q;for(q in this.properties){if("width"==q||"height"==q)this.node.display="block";var t=this.properties[q];B.isFunction(t)&&(t=t(u));t=w[q]=a({},B.isObject(t)?t:{end:t});
B.isFunction(t.start)&&(t.start=t.start(u));B.isFunction(t.end)&&(t.end=t.end(u));var z=0<=q.toLowerCase().indexOf("color"),D=function(v,E){var F={height:v.offsetHeight,width:v.offsetWidth}[E];if(void 0!==F)return F;F=c.get(v,E);return"opacity"==E?+F:z?F:parseFloat(F)};"end"in t?"start"in t||(t.start=D(u,q)):t.end=D(u,q);z?(t.start=new l(t.start),t.end=new l(t.end)):t.start="opacity"==q?+t.start:parseFloat(t.start)}this.curve=new y(w)}),!0);f.after(p,"onAnimate",B.hitch(c,"set",p.node),!0);return p};
b.anim=function(p,u,w,q,t,z){return b.animateProperty({node:p,duration:w||h.prototype.duration,properties:u,easing:q,onEnd:t}).play(z||0)};a(A,b);A._Animation=h;return b})},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(A,C,B){var x={};C.setObject("dijit._editor.html",x);var l=x.escapeXml=function(f,g){f=f.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;");g||(f=f.replace(/'/gm,"\x26#39;"));return f};
x.getNodeHtml=function(f){var g=[];x.getNodeHtmlHelper(f,g);return g.join("")};x.getNodeHtmlHelper=function(f,g){switch(f.nodeType){case 1:var d=f.nodeName.toLowerCase();if(!d||"/"==d.charAt(0))return"";g.push("\x3c",d);var c=[],a={},b;if(B("dom-attributes-explicit")||B("dom-attributes-specified-flag"))for(var e=0;b=f.attributes[e++];){var h=b.name;"_dj"===h.substr(0,3)||B("dom-attributes-specified-flag")&&!b.specified||h in a||(b=b.value,("src"==h||"href"==h)&&f.getAttribute("_djrealurl")&&(b=f.getAttribute("_djrealurl")),
8===B("ie")&&"style"===h&&(b=b.replace("HEIGHT:","height:").replace("WIDTH:","width:")),c.push([h,b]),a[h]=b)}else{var n=(/^input$|^img$/i.test(f.nodeName)?f:f.cloneNode(!1)).outerHTML;a=n.match(/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi);n=n.substr(0,n.indexOf("\x3e"));A.forEach(a,function(r){if(r){var k=r.indexOf("\x3d");if(0<k&&(r=r.substring(0,k),"_dj"!=r.substr(0,3)))if("src"!=r&&"href"!=r||!f.getAttribute("_djrealurl")){switch(r){case "style":var m=f.style.cssText.toLowerCase();break;case "class":m=f.className;
break;case "width":if("img"===d){(k=/width=(\S+)/i.exec(n))&&(m=k[1]);break}case "height":if("img"===d){(k=/height=(\S+)/i.exec(n))&&(m=k[1]);break}default:m=f.getAttribute(r)}null!=m&&c.push([r,m.toString()])}else c.push([r,f.getAttribute("_djrealurl")])}},this)}c.sort(function(r,k){return r[0]<k[0]?-1:r[0]==k[0]?0:1});for(a=0;b=c[a++];)g.push(" ",b[0],'\x3d"',"string"===typeof b[1]?l(b[1],!0):b[1],'"');switch(d){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":g.push(" /\x3e");
break;case "script":g.push("\x3e",f.innerHTML,"\x3c/",d,"\x3e");break;default:g.push("\x3e"),f.hasChildNodes()&&x.getChildrenHtmlHelper(f,g),g.push("\x3c/",d,"\x3e")}break;case 4:case 3:g.push(l(f.nodeValue,!0));break;case 8:g.push("\x3c!--",l(f.nodeValue,!0),"--\x3e");break;default:g.push("\x3c!-- Element not recognized - Type: ",f.nodeType," Name: ",f.nodeName,"--\x3e")}};x.getChildrenHtml=function(f){var g=[];x.getChildrenHtmlHelper(f,g);return g.join("")};x.getChildrenHtmlHelper=function(f,g){if(f)for(var d=
f.childNodes||f,c=!B("ie")||d!==f,a,b=0;a=d[b++];)c&&a.parentNode!=f||x.getNodeHtmlHelper(a,g)};return x})},"dojox/layout/ResizeHandle":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/connect dojo/_base/array dojo/_base/event dojo/_base/fx dojo/_base/window dojo/fx dojo/dom dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/_base/declare dojo/touch dijit/_base/manager dijit/_Widget dijit/_TemplatedMixin".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m){A.experimental("dojox.layout.ResizeHandle");
var y=h("dojox.layout._ResizeHelper",k,{show:function(){e.set(this.domNode,"display","")},hide:function(){e.set(this.domNode,"display","none")},resize:function(p){b.setMarginBox(this.domNode,p)}});return h("dojox.layout.ResizeHandle",[k,m],{targetId:"",targetContainer:null,resizeAxis:"xy",activeResize:!1,activeResizeClass:"dojoxResizeHandleClone",animateSizing:!0,animateMethod:"chain",animateDuration:225,minHeight:100,minWidth:100,constrainMax:!1,maxHeight:0,maxWidth:0,fixedAspect:!1,intermediateChanges:!1,
startTopic:"/dojo/resize/start",endTopic:"/dojo/resize/stop",templateString:'\x3cdiv dojoAttachPoint\x3d"resizeHandle" class\x3d"dojoxResizeHandle"\x3e\x3cdiv\x3e\x3c/div\x3e\x3c/div\x3e',postCreate:function(){this.connect(this.resizeHandle,n.press,"_beginSizing");this.activeResize?this.animateSizing=!1:(this._resizeHelper=r.byId("dojoxGlobalResizeHelper"),this._resizeHelper||(this._resizeHelper=(new y({id:"dojoxGlobalResizeHelper"})).placeAt(g.body()),a.add(this._resizeHelper.domNode,this.activeResizeClass)));
this.minSize||(this.minSize={w:this.minWidth,h:this.minHeight});this.constrainMax&&(this.maxSize={w:this.maxWidth,h:this.maxHeight});this._resizeX=this._resizeY=!1;var p=C.partial(a.add,this.resizeHandle);switch(this.resizeAxis.toLowerCase()){case "xy":this._resizeX=this._resizeY=!0;p("dojoxResizeNW");break;case "x":this._resizeX=!0;p("dojoxResizeW");break;case "y":this._resizeY=!0,p("dojoxResizeN")}},_beginSizing:function(p){if(!this._isSizing&&(B.publish(this.startTopic,[this]),this.targetDomNode=
(this.targetWidget=r.byId(this.targetId))?this.targetWidget.domNode:c.byId(this.targetId),this.targetContainer&&(this.targetDomNode=this.targetContainer),this.targetDomNode)){if(!this.activeResize){var u=b.position(this.targetDomNode,!0);this._resizeHelper.resize({l:u.x,t:u.y,w:u.w,h:u.h});this._resizeHelper.show();this.isLeftToRight()||(this._resizeHelper.startPosition={l:u.x,t:u.y})}this._isSizing=!0;this.startPoint={x:p.clientX,y:p.clientY};u=e.getComputedStyle(this.targetDomNode);var w="border-model"===
b.boxModel?{w:0,h:0}:b.getPadBorderExtents(this.targetDomNode,u),q=b.getMarginExtents(this.targetDomNode,u);this.startSize={w:e.get(this.targetDomNode,"width",u),h:e.get(this.targetDomNode,"height",u),pbw:w.w,pbh:w.h,mw:q.w,mh:q.h};this.isLeftToRight()||"absolute"!=e.get(this.targetDomNode,"position")||(u=b.position(this.targetDomNode,!0),this.startPosition={l:u.x,t:u.y});this._pconnects=[B.connect(g.doc,n.move,this,"_updateSizing"),B.connect(g.doc,n.release,this,"_endSizing")];l.stop(p)}},_updateSizing:function(p){if(this.activeResize)this._changeSizing(p);
else{var u=this._getNewCoords(p,"border",this._resizeHelper.startPosition);if(!1===u)return;this._resizeHelper.resize(u)}p.preventDefault()},_getNewCoords:function(p,u,w){try{if(!p.clientX||!p.clientY)return!1}catch(z){return!1}this._activeResizeLastEvent=p;var q=(this.isLeftToRight()?1:-1)*(this.startPoint.x-p.clientX),t=this.startPoint.y-p.clientY;p=this.startSize.w-(this._resizeX?q:0);t=this._checkConstraints(p,this.startSize.h-(this._resizeY?t:0));(w=w||this.startPosition)&&this._resizeX&&(t.l=
w.l+q,t.w!=p&&(t.l+=p-t.w),t.t=w.t);switch(u){case "margin":t.w+=this.startSize.mw,t.h+=this.startSize.mh;case "border":t.w+=this.startSize.pbw,t.h+=this.startSize.pbh}return t},_checkConstraints:function(p,u){if(this.minSize){var w=this.minSize;p<w.w&&(p=w.w);u<w.h&&(u=w.h)}this.constrainMax&&this.maxSize&&(w=this.maxSize,p>w.w&&(p=w.w),u>w.h&&(u=w.h));if(this.fixedAspect){w=this.startSize.w;var q=this.startSize.h,t=w*u-q*p;0>t?p=u*w/q:0<t&&(u=p*q/w)}return{w:p,h:u}},_changeSizing:function(p){var u=
this.targetWidget&&C.isFunction(this.targetWidget.resize),w=this._getNewCoords(p,u&&"margin");if(!1!==w&&(u?this.targetWidget.resize(w):this.animateSizing?d[this.animateMethod]([f.animateProperty({node:this.targetDomNode,properties:{width:{start:this.startSize.w,end:w.w}},duration:this.animateDuration}),f.animateProperty({node:this.targetDomNode,properties:{height:{start:this.startSize.h,end:w.h}},duration:this.animateDuration})]).play():e.set(this.targetDomNode,{width:w.w+"px",height:w.h+"px"}),
this.intermediateChanges))this.onResize(p)},_endSizing:function(p){x.forEach(this._pconnects,B.disconnect);var u=C.partial(B.publish,this.endTopic,[this]);this.activeResize?u():(this._resizeHelper.hide(),this._changeSizing(p),setTimeout(u,this.animateDuration+15));this._isSizing=!1;this.onResize(p)},onResize:function(p){}})})},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(A,C,B,x,l){var f=l.doc.documentElement;l=x("ie");var g=x("trident"),
d=x("opera"),c=Math.floor,a=x("ff"),b=A.boxModel.replace(/-/,"");d={dj_quirks:x("quirks"),dj_opera:d,dj_khtml:x("khtml"),dj_webkit:x("webkit"),dj_safari:x("safari"),dj_chrome:x("chrome"),dj_edge:x("edge"),dj_gecko:x("mozilla"),dj_ios:x("ios"),dj_android:x("android")};l&&(d.dj_ie=!0,d["dj_ie"+c(l)]=!0,d.dj_iequirks=x("quirks"));g&&(d.dj_trident=!0,d["dj_trident"+c(g)]=!0);a&&(d["dj_ff"+c(a)]=!0);d["dj_"+b]=!0;var e="",h;for(h in d)d[h]&&(e+=h+" ");f.className=C.trim(f.className+" "+e);B(function(){if(!A.isBodyLtr()){var n=
"dj_rtl dijitRtl "+e.replace(/ /g,"-rtl ");f.className=C.trim(f.className+" "+n+"dj_rtl dijitRtl "+e.replace(/ /g,"-rtl "))}});return x})},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(A,C,B){C=C.NodeList;var x=C.prototype;x.connect=C._adaptAsForEach(function(){return A.connect.apply(this,arguments)});x.coords=C._adaptAsMap(A.coords);C.events="blur focus change click error keydown keypress keyup load mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup submit".split(" ");
B.forEach(C.events,function(l){var f="on"+l;x[f]=function(g,d){return this.connect(f,g,d)}});return A.NodeList=C})},"dojox/grid/enhanced/plugins/IndirectSelection":function(){define("dojo/_base/declare dojo/_base/array dojo/_base/event dojo/_base/lang dojo/_base/html dojo/_base/window dojo/_base/connect dojo/_base/sniff dojo/query dojo/keys dojo/string ../_Plugin ../../EnhancedGrid ../../cells/dijit".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h){var n=x.getObject("dojox.grid.cells");n=A("dojox.grid.cells.RowSelector",
n._Widget,{inputType:"",map:null,disabledMap:null,isRowSelector:!0,_connects:null,_subscribes:null,checkedText:"\x26#10003;",unCheckedText:"O",constructor:function(){this.map={};this.disabledMap={};this.disabledCount=0;this._connects=[];this._subscribes=[];this.inA11YMode=l.hasClass(f.body(),"dijit_a11y");this.baseClass="dojoxGridRowSelector dijitReset dijitInline dijit"+this.inputType;this.checkedClass=" dijit"+this.inputType+"Checked";this.disabledClass=" dijit"+this.inputType+"Disabled";this.checkedDisabledClass=
" dijit"+this.inputType+"CheckedDisabled";this.statusTextClass=" dojoxGridRowSelectorStatusText";this._connects.push(g.connect(this.grid,"dokeyup",this,"_dokeyup"));this._connects.push(g.connect(this.grid.selection,"onSelected",this,"_onSelected"));this._connects.push(g.connect(this.grid.selection,"onDeselected",this,"_onDeselected"));this._connects.push(g.connect(this.grid.scroller,"invalidatePageNode",this,"_pageDestroyed"));this._connects.push(g.connect(this.grid,"onCellClick",this,"_onClick"));
this._connects.push(g.connect(this.grid,"updateRow",this,"_onUpdateRow"))},formatter:function(m,y,p){m=p.baseClass;var u=!!p.getValue(y),w=!!p.disabledMap[y];u?(m+=p.checkedClass,w&&(m+=p.checkedDisabledClass)):w&&(m+=p.disabledClass);return["\x3cdiv tabindex \x3d -1 ","id \x3d '"+p.grid.id+"_rowSelector_"+y+"' ","name \x3d '"+p.grid.id+"_rowSelector' class \x3d '"+m+"' ","role \x3d "+p.inputType.toLowerCase()+" aria-checked \x3d '"+u+"' aria-disabled \x3d '"+w+"' aria-label \x3d '"+b.substitute(p.grid._nls["indirectSelection"+
p.inputType],[y+1])+"'\x3e","\x3cspan class \x3d '"+p.statusTextClass+"'\x3e"+(u?p.checkedText:p.unCheckedText)+"\x3c/span\x3e","\x3c/div\x3e"].join("")},setValue:function(m,y){},getValue:function(m){return this.grid.selection.isSelected(m)},toggleRow:function(m,y){this._nativeSelect(m,y)},setDisabled:function(m,y){0>m||this._toggleDisabledStyle(m,y)},disabled:function(m){return!!this.disabledMap[m]},_onClick:function(m){m.cell===this&&this._selectRow(m)},_dokeyup:function(m){m.cellIndex==this.index&&
0<=m.rowIndex&&m.keyCode==a.SPACE&&this._selectRow(m)},focus:function(m){(m=this.map[m])&&m.focus()},_focusEndingCell:function(m,y){var p=this.grid.getCell(y);this.grid.focus.setFocusCell(p,m)},_nativeSelect:function(m,y){this.grid.selection[y?"select":"deselect"](m)},_onSelected:function(m){this._toggleCheckedStyle(m,!0)},_onDeselected:function(m){this._toggleCheckedStyle(m,!1)},_onUpdateRow:function(m){delete this.map[m]},_toggleCheckedStyle:function(m,y){var p=this._getSelector(m);p&&(l.toggleClass(p,
this.checkedClass,y),this.disabledMap[m]&&l.toggleClass(p,this.checkedDisabledClass,y),p.setAttribute("aria-checked",y),this.inA11YMode&&(p.firstChild.innerHTML=y?this.checkedText:this.unCheckedText))},_toggleDisabledStyle:function(m,y){var p=this._getSelector(m);p&&(l.toggleClass(p,this.disabledClass,y),this.getValue(m)&&l.toggleClass(p,this.checkedDisabledClass,y),p.setAttribute("aria-disabled",y));this.disabledMap[m]=y;0<=m&&(this.disabledCount+=y?1:-1)},_getSelector:function(m){var y=this.map[m];
if(!y){var p=this.view.rowNodes[m];p&&(y=c(".dojoxGridRowSelector",p)[0])&&(this.map[m]=y)}return y},_pageDestroyed:function(m){var y=this.grid.scroller.rowsPerPage;m*=y;for(y=m+y-1;m<=y;m++)this.map[m]&&(l.destroy(this.map[m]),delete this.map[m])},destroy:function(){for(var m in this.map)l.destroy(this.map[m]),delete this.map[m];for(m in this.disabledMap)delete this.disabledMap[m];C.forEach(this._connects,g.disconnect);C.forEach(this._subscribes,g.unsubscribe);delete this._connects;delete this._subscribes}});
var r=A("dojox.grid.cells.SingleRowSelector",n,{inputType:"Radio",_selectRow:function(m){var y=m.rowIndex;this.disabledMap[y]||(this._focusEndingCell(y,m.cellIndex),this._nativeSelect(y,!this.grid.selection.selected[y]))}}),k=A("dojox.grid.cells.MultipleRowSelector",n,{inputType:"CheckBox",swipeStartRowIndex:-1,swipeMinRowIndex:-1,swipeMaxRowIndex:-1,toSelect:!1,lastClickRowIdx:-1,unCheckedText:"\x26#9633;",constructor:function(){this._connects.push(g.connect(f.doc,"onmouseup",this,"_domouseup"));
this._connects.push(g.connect(this.grid,"onRowMouseOver",this,"_onRowMouseOver"));this._connects.push(g.connect(this.grid.focus,"move",this,"_swipeByKey"));this._connects.push(g.connect(this.grid,"onCellMouseDown",this,"_onMouseDown"));this.headerSelector&&(this._connects.push(g.connect(this.grid.views,"render",this,"_addHeaderSelector")),this._connects.push(g.connect(this.grid,"_onFetchComplete",this,"_addHeaderSelector")),this._connects.push(g.connect(this.grid,"onSelectionChanged",this,"_onSelectionChanged")),
this._connects.push(g.connect(this.grid,"onKeyDown",this,function(m){-1==m.rowIndex&&m.cellIndex==this.index&&m.keyCode==a.SPACE&&this._toggletHeader()})))},toggleAllSelection:function(m){var y=this.grid,p=y.selection;m?p.selectRange(0,y.rowCount-1):p.deselectAll()},_onMouseDown:function(m){m.cell==this&&(this._startSelection(m.rowIndex),B.stop(m))},_onRowMouseOver:function(m){this._updateSelection(m,0)},_domouseup:function(m){d("ie")&&this.view.content.decorateEvent(m);0<=m.cellIndex&&this.inSwipeSelection()&&
!this.grid.edit.isEditRow(m.rowIndex)&&this._focusEndingCell(m.rowIndex,m.cellIndex);this._finishSelect()},_dokeyup:function(m){this.inherited(arguments);m.shiftKey||this._finishSelect()},_startSelection:function(m){this.swipeStartRowIndex=this.swipeMinRowIndex=this.swipeMaxRowIndex=m;this.toSelect=!this.getValue(m)},_updateSelection:function(m,y){if(this.inSwipeSelection()){var p=0!==y,u=m.rowIndex,w=u-this.swipeStartRowIndex+y;0<w&&this.swipeMaxRowIndex<u+y&&(this.swipeMaxRowIndex=u+y);0>w&&this.swipeMinRowIndex>
u+y&&(this.swipeMinRowIndex=u+y);var q=0<w?this.swipeStartRowIndex:u+y;u=0<w?u+y:this.swipeStartRowIndex;for(w=this.swipeMinRowIndex;w<=this.swipeMaxRowIndex;w++)this.disabledMap[w]||0>w||(w>=q&&w<=u?this._nativeSelect(w,this.toSelect):p||this._nativeSelect(w,!this.toSelect))}},_swipeByKey:function(m,y,p){!p||0===m||!p.shiftKey||p.cellIndex!=this.index||0>this.grid.focus.rowIndex||(y=p.rowIndex,0>this.swipeStartRowIndex&&(this.swipeStartRowIndex=y,0<m?(this.swipeMaxRowIndex=y+m,this.swipeMinRowIndex=
y):(this.swipeMinRowIndex=y+m,this.swipeMaxRowIndex=y),this.toSelect=this.getValue(y)),this._updateSelection(p,m))},_finishSelect:function(){this.swipeMaxRowIndex=this.swipeMinRowIndex=this.swipeStartRowIndex=-1;this.toSelect=!1},inSwipeSelection:function(){return 0<=this.swipeStartRowIndex},_nativeSelect:function(m,y){this.grid.selection[y?"addToSelection":"deselect"](m)},_selectRow:function(m){var y=m.rowIndex;if(!this.disabledMap[y]){B.stop(m);this._focusEndingCell(y,m.cellIndex);var p=y-this.lastClickRowIdx,
u=!this.grid.selection.selected[y];if(0<=this.lastClickRowIdx&&!m.ctrlKey&&!m.altKey&&m.shiftKey)for(m=0<p?y:this.lastClickRowIdx,p=0<p?this.lastClickRowIdx:y;0<=p&&p<=m;p++)this._nativeSelect(p,u);else this._nativeSelect(y,u);this.lastClickRowIdx=y}},getValue:function(m){if(-1==m){var y=this.grid;return 0<y.rowCount&&y.rowCount<=y.selection.getSelectedCount()}return this.inherited(arguments)},_addHeaderSelector:function(){var m=this.view.getHeaderCellNode(this.index);if(m){l.empty(m);var y=this.grid;
m=m.appendChild(l.create("div",{"aria-label":y._nls.selectAll,tabindex:-1,id:y.id+"_rowSelector_-1","class":this.baseClass,role:"checkbox",innerHTML:"\x3cspan class \x3d '"+this.statusTextClass+"'\x3e\x3c/span\x3e\x3cspan style\x3d'height: 0; width: 0; overflow: hidden; display: block;'\x3e"+y._nls.selectAll+"\x3c/span\x3e"}));this.map[-1]=m;y=this._headerSelectorConnectIdx;void 0!==y&&(g.disconnect(this._connects[y]),this._connects.splice(y,1));this._headerSelectorConnectIdx=this._connects.length;
this._connects.push(g.connect(m,"onclick",this,"_toggletHeader"));this._onSelectionChanged()}},_toggletHeader:function(){this.disabledMap[-1]||(this.grid._selectingRange=!0,this.toggleAllSelection(!this.getValue(-1)),this._onSelectionChanged(),this.grid._selectingRange=!1)},_onSelectionChanged:function(){var m=this.grid;this.map[-1]&&!m._selectingRange&&(m.allItemsSelected=this.getValue(-1),this._toggleCheckedStyle(-1,m.allItemsSelected))},_toggleDisabledStyle:function(m,y){this.inherited(arguments);
if(this.headerSelector){var p=this.grid.rowCount==this.disabledCount;p!=!!this.disabledMap[-1]&&(arguments[0]=-1,arguments[1]=p,this.inherited(arguments))}}});A=A("dojox.grid.enhanced.plugins.IndirectSelection",e,{name:"indirectSelection",constructor:function(){var m=this.grid.layout;this.connect(m,"setStructure",x.hitch(m,this.addRowSelectCell,this.option))},addRowSelectCell:function(m){if(this.grid.indirectSelection&&"none"!=this.grid.selectionMode){var y=!1,p=["get","formatter","field","fields"],
u={type:k,name:"",width:"30px",styles:"text-align: center;"};m.headerSelector&&(m.name="");this.grid.rowSelectCell&&this.grid.rowSelectCell.destroy();C.forEach(this.structure,function(w){var q=w.cells;if(q&&0<q.length&&!y){w=q[0];if(!w[0]||!w[0].isRowSelector){var t=x.mixin(u,m,{type:"single"==this.grid.selectionMode?r:k,editable:!1,notselectable:!0,filterable:!1,navigatable:!0,nosort:!0});C.forEach(p,function(z){z in t&&delete t[z]});1<q.length&&(t.rowSpan=q.length);C.forEach(this.cells,function(z,
D){0<=z.index&&(z.index+=1)});q=this.addCellDef(0,0,t);q.index=0;w.unshift(q);this.cells.unshift(q);this.grid.rowSelectCell=q}y=!0}},this);this.cellCount=this.cells.length}},destroy:function(){this.grid.rowSelectCell.destroy();delete this.grid.rowSelectCell;this.inherited(arguments)}});h.registerPlugin(A,{preInit:!0});return A})},"dijit/form/_FormWidget":function(){define("dojo/_base/declare dojo/sniff dojo/_base/kernel dojo/ready ../_Widget ../_CssStateMixin ../_TemplatedMixin ./_FormWidgetMixin".split(" "),
function(A,C,B,x,l,f,g,d){C("dijit-legacy-requires")&&x(0,function(){require(["dijit/form/_FormValueWidget"])});return A("dijit.form._FormWidget",[l,g,f,d],{setDisabled:function(c){B.deprecated("setDisabled("+c+") is deprecated. Use set('disabled',"+c+") instead.","","2.0");this.set("disabled",c)},setValue:function(c){B.deprecated("dijit.form._FormWidget:setValue("+c+") is deprecated.  Use set('value',"+c+") instead.","","2.0");this.set("value",c)},getValue:function(){B.deprecated(this.declaredClass+
"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!C("msapp")?'name\x3d"'+this.name.replace(/"/g,"\x26quot;")+'"':"";this.inherited(arguments)}})})},"dojox/form/uploader/_Base":function(){define("dojo/dom-form dojo/dom-style dojo/dom-construct dojo/dom-attr dojo/has dojo/_base/declare dojo/_base/event dijit/_Widget dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin".split(" "),function(A,C,B,
x,l,f,g,d,c,a){l.add("FormData",function(){return!!window.FormData});l.add("xhr-sendAsBinary",function(){var b=window.XMLHttpRequest&&new window.XMLHttpRequest;return b&&!!b.sendAsBinary});l.add("file-multiple",function(){return!!{"true":1,"false":1}[x.get(document.createElement("input",{type:"file"}),"multiple")]});return f("dojox.form.uploader._Base",[d,c,a],{getForm:function(){if(!this.form)for(var b=this.domNode;b&&b.tagName&&b!==document.body;){if("form"==b.tagName.toLowerCase()){this.form=b;
break}b=b.parentNode}return this.form},getUrl:function(){this.uploadUrl&&(this.url=this.uploadUrl);if(this.url)return this.url;this.getForm()&&(this.url=this.form.action);return this.url},connectForm:function(){this.url=this.getUrl();!this._fcon&&this.getForm()&&(this._fcon=!0,this.connect(this.form,"onsubmit",function(b){g.stop(b);this.submit(this.form)}))},supports:function(b){switch(b){case "multiple":if("flash"==this.force||"iframe"==this.force)break;return l("file-multiple");case "FormData":return l(b);
case "sendAsBinary":return l("xhr-sendAsBinary")}return!1},getMimeType:function(){return"application/octet-stream"},getFileType:function(b){return b.substring(b.lastIndexOf(".")+1).toUpperCase()},convertBytes:function(b){var e=Math.round(b/1024*1E5)/1E5,h=Math.round(b/1048576*1E5)/1E5,n=Math.round(b/1073741824*1E5)/1E5,r=b;1<e&&(r=e.toFixed(1)+" kb");1<h&&(r=h.toFixed(1)+" mb");1<n&&(r=n.toFixed(1)+" gb");return{kb:e,mb:h,gb:n,bytes:b,value:r}}})})},"dojox/form/uploader/_IFrame":function(){define("dojo/query dojo/dom-construct dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/dom-form dojo/request/iframe".split(" "),
function(A,C,B,x,l,f,g){return B("dojox.form.uploader._IFrame",[],{postMixInProperties:function(){this.inherited(arguments);"iframe"===this.uploadType&&(this.uploadType="iframe",this.upload=this.uploadIFrame)},uploadIFrame:function(d){var c={};this.getForm();var a=this.getUrl(),b=this;d=d||{};d.uploadType=this.uploadType;var e=C.place('\x3cform enctype\x3d"multipart/form-data" method\x3d"post"\x3e\x3c/form\x3e',this.domNode);l.forEach(this._inputs,function(h,n){""!==h.value&&(e.appendChild(h),c[h.name]=
h.value)},this);if(d)for(nm in d)void 0===c[nm]&&C.create("input",{name:nm,value:d[nm],type:"hidden"},e);g.post(a,{form:e,handleAs:"json",content:d}).then(function(h){C.destroy(e);if(h.ERROR||h.error)b.onError(h);else b.onComplete(h)},function(h){C.destroy(e);b.onError(h)})}})})},"dojo/query":function(){define("./_base/kernel ./has ./dom ./on ./_base/array ./_base/lang ./selector/_loader ./selector/_loader!default".split(" "),function(A,C,B,x,l,f,g,d){function c(p,u){var w=function(t,z){if("string"==
typeof z&&(z=B.byId(z),!z))return new u([]);var D="string"==typeof t?p(t,z):t?t.end&&t.on?t:[t]:[];return D.end&&D.on?D:new u(D)};w.matches=p.match||function(t,z,D){return 0<w.filter([t],z,D).length};w.filter=p.filter||function(t,z,D){return w(z,D).filter(function(v){return-1<l.indexOf(t,v)})};if("function"!=typeof p){var q=p.search;p=function(t,z){return q(z||document,t)}}return w}C.add("array-extensible",function(){return 1==f.delegate([],{length:1}).length&&!C("bug-for-in-skips-shadowed")});var a=
Array.prototype,b=a.slice,e=a.concat,h=l.forEach,n=function(p,u,w){u=[0].concat(b.call(u,0));w=w||A.global;return function(q){u[0]=q;return p.apply(w,u)}},r=function(p){var u=this instanceof k&&C("array-extensible");"number"==typeof p&&(p=Array(p));var w=p&&"length"in p?p:arguments;if(u||!w.sort){for(var q=u?this:[],t=q.length=w.length,z=0;z<t;z++)q[z]=w[z];if(u)return q;w=q}f._mixin(w,m);w._NodeListCtor=function(D){return k(D)};return w},k=r,m=k.prototype=C("array-extensible")?[]:{};k._wrap=m._wrap=
function(p,u,w){p=new (w||this._NodeListCtor||k)(p);return u?p._stash(u):p};k._adaptAsMap=function(p,u){return function(){return this.map(n(p,arguments,u))}};k._adaptAsForEach=function(p,u){return function(){this.forEach(n(p,arguments,u));return this}};k._adaptAsFilter=function(p,u){return function(){return this.filter(n(p,arguments,u))}};k._adaptWithCondition=function(p,u,w){return function(){var q=arguments,t=n(p,q,w);if(u.call(w||A.global,q))return this.map(t);this.forEach(t);return this}};h(["slice",
"splice"],function(p){var u=a[p];m[p]=function(){return this._wrap(u.apply(this,arguments),"slice"==p?this:null)}});h(["indexOf","lastIndexOf","every","some"],function(p){var u=l[p];m[p]=function(){return u.apply(A,[this].concat(b.call(arguments,0)))}});f.extend(r,{constructor:k,_NodeListCtor:k,toString:function(){return this.join(",")},_stash:function(p){this._parent=p;return this},on:function(p,u){var w=this.map(function(q){return x(q,p,u)});w.remove=function(){for(var q=0;q<w.length;q++)w[q].remove()};
return w},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(p){var u=b.call(this,0),w=l.map(arguments,function(q){return b.call(q,0)});return this._wrap(e.apply(u,w),this)},map:function(p,u){return this._wrap(l.map(this,p,u),this)},forEach:function(p,u){h(this,p,u);return this},filter:function(p){var u=arguments,w=this,q=0;if("string"==typeof p){w=y._filterResult(this,u[0]);if(1==u.length)return w._stash(this);q=1}return this._wrap(l.filter(w,u[q],u[q+1]),
this)},instantiate:function(p,u){var w=f.isFunction(p)?p:f.getObject(p);u=u||{};return this.forEach(function(q){new w(u,q)})},at:function(){var p=new this._NodeListCtor(0);h(arguments,function(u){0>u&&(u=this.length+u);this[u]&&p.push(this[u])},this);return p._stash(this)}});var y=c(d,r);A.query=c(d,function(p){return r(p)});y.load=function(p,u,w){g.load(p,u,function(q){w(c(q,r))})};A._filterQueryResult=y._filterResult=function(p,u,w){return new r(y.filter(p,u,w))};A.NodeList=y.NodeList=r;return y})},
"dojo/request/util":function(){define("exports ../errors/RequestError ../errors/CancelError ../Deferred ../io-query ../_base/array ../_base/lang ../promise/Promise ../has".split(" "),function(A,C,B,x,l,f,g,d,c){function a(r){return c("native-arraybuffer")&&r instanceof ArrayBuffer}function b(r){return c("native-blob")&&r instanceof Blob}function e(r){return n(r)}function h(r){return void 0!==r.data?r.data:r.text}A.deepCopy=function(r,k){for(var m in k){var y=r[m],p=k[m];if("__proto__"!==m&&y!==p){var u=
p,w;if(w=u&&"object"===typeof u)w=u,w=!(c("native-formdata")&&w instanceof FormData);!w||("undefined"!==typeof Element?u instanceof Element:1===u.nodeType)||b(u)||a(u)?r[m]=p:"[object Date]"===Object.prototype.toString.call(p)?r[m]=new Date(p):g.isArray(p)?r[m]=A.deepCopyArray(p):y&&"object"===typeof y?A.deepCopy(y,p):r[m]=A.deepCopy({},p)}}return r};A.deepCopyArray=function(r){for(var k=[],m=0,y=r.length;m<y;m++){var p=r[m];"object"===typeof p?k.push(A.deepCopy({},p)):k.push(p)}return k};A.deepCreate=
function(r,k){k=k||{};var m=g.delegate(r),y,p;for(y in r)(p=r[y])&&"object"===typeof p&&(m[y]=A.deepCreate(p,k[y]));return A.deepCopy(m,k)};var n=Object.freeze||function(r){return r};A.deferred=function(r,k,m,y,p,u){var w=new x(function(t){k&&k(w,r);return t&&(t instanceof C||t instanceof B)?t:new B("Request canceled",r)});w.response=r;w.isValid=m;w.isReady=y;w.handleResponse=p;m=w.then(e).otherwise(function(t){t.response=r;throw t;});A.notify&&m.then(g.hitch(A.notify,"emit","load"),g.hitch(A.notify,
"emit","error"));y=m.then(h);p=new d;for(var q in y)y.hasOwnProperty(q)&&(p[q]=y[q]);p.response=m;n(p);u&&w.then(function(t){u.call(w,t)},function(t){u.call(w,r,t)});w.promise=p;w.then=p.then;return w};A.addCommonMethods=function(r,k){f.forEach(k||["GET","POST","PUT","DELETE"],function(m){r[("DELETE"===m?"DEL":m).toLowerCase()]=function(y,p){p=g.delegate(p||{});p.method=m;return r(y,p)}})};A.parseArgs=function(r,k,m){var y=k.data,p=k.query;!y||m||"object"!==typeof y||c("native-xhr2")&&(a(y)||b(y))||
(k.data=l.objectToQuery(y));p?("object"===typeof p&&(p=l.objectToQuery(p)),k.preventCache&&(p+=(p?"\x26":"")+"request.preventCache\x3d"+ +new Date)):k.preventCache&&(p="request.preventCache\x3d"+ +new Date);r&&p&&(r+=(~r.indexOf("?")?"\x26":"?")+p);return{url:r,options:k,getHeader:function(u){return null}}};A.checkStatus=function(r){r=r||0;return 200<=r&&300>r||304===r||1223===r||!r}})},"dijit/dijit":function(){define("./main ./_base dojo/parser ./_Widget ./_TemplatedMixin ./_Container ./layout/_LayoutWidget ./form/_FormWidget ./form/_FormValueWidget".split(" "),
function(A){return A})},"dojox/form/_RangeSliderMixin":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/_base/fx dojo/_base/event dojo/_base/sniff dojo/dom-style dojo/dom-geometry dojo/keys dijit dojo/dnd/Mover dojo/dnd/Moveable dijit/form/_FormValueWidget dijit/focus dojo/fx dojox/fx".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r){var k=function(p,u){return p-u};a=A("dojox.form._RangeSliderMixin",null,{_setTabIndexAttr:["sliderHandle","sliderHandleMax"],value:[0,100],
postMixInProperties:function(){this.inherited(arguments);this.value=B.map(this.value,function(p){return parseInt(p,10)})},postCreate:function(){this.inherited(arguments);this.value.sort(k);var p=this,u=A(m,{constructor:function(){this.widget=p}});this._movableMax=new e(this.sliderHandleMax,{mover:u});this.sliderHandle.setAttribute("aria-valuemin",this.minimum);this.sliderHandle.setAttribute("aria-valuemax",this.maximum);this.sliderHandleMax.setAttribute("aria-valuemin",this.minimum);this.sliderHandleMax.setAttribute("aria-valuemax",
this.maximum);u=A(y,{constructor:function(){this.widget=p}});this._movableBar=new e(this.progressBar,{mover:u});this.focusNode.removeAttribute("aria-valuemin");this.focusNode.removeAttribute("aria-valuemax");this.focusNode.removeAttribute("aria-valuenow")},destroy:function(){this.inherited(arguments);this._movableMax.destroy();this._movableBar.destroy()},_onKeyPress:function(p){if(!(this.disabled||this.readOnly||p.altKey||p.ctrlKey)){var u=p.target===this.sliderHandleMax,w=p.target===this.progressBar,
q=C.delegate(c,this.isLeftToRight()?{PREV_ARROW:c.LEFT_ARROW,NEXT_ARROW:c.RIGHT_ARROW}:{PREV_ARROW:c.RIGHT_ARROW,NEXT_ARROW:c.LEFT_ARROW}),t=0,z=!1;switch(p.keyCode){case q.HOME:this._setValueAttr(this.minimum,!0,u);l.stop(p);return;case q.END:this._setValueAttr(this.maximum,!0,u);l.stop(p);return;case q.PREV_ARROW:case q.DOWN_ARROW:z=!0;case q.NEXT_ARROW:case q.UP_ARROW:t=1;break;case q.PAGE_DOWN:z=!0;case q.PAGE_UP:t=this.pageIncrement;break;default:this.inherited(arguments);return}z&&(t=-t);t&&
(w?this._bumpValue([{change:t,useMaxValue:!1},{change:t,useMaxValue:!0}]):this._bumpValue(t,u),l.stop(p))}},_onHandleClickMax:function(p){this.disabled||this.readOnly||(f("ie")||n.focus(this.sliderHandleMax),l.stop(p))},_onClkIncBumper:function(){this._setValueAttr(!1===this._descending?this.minimum:this.maximum,!0,!0)},_bumpValue:function(p,u){var w=C.isArray(p)?[this._getBumpValue(p[0].change,p[0].useMaxValue),this._getBumpValue(p[1].change,p[1].useMaxValue)]:this._getBumpValue(p,u);this._setValueAttr(w,
!0,u)},_getBumpValue:function(p,u){var w=u?1:0,q=g.getComputedStyle(this.sliderBarContainer),t=d.getContentBox(this.sliderBarContainer,q);q=this.discreteValues;w=this.value[w];if(1>=q||Infinity==q)q=t[this._pixelCount];q--;w=this.maximum>this.minimum?(w-this.minimum)*q/(this.maximum-this.minimum)+p:0;0>w&&(w=0);w>q&&(w=q);return w*(this.maximum-this.minimum)/q+this.minimum},_onBarClick:function(p){this.disabled||this.readOnly||(f("ie")||n.focus(this.progressBar),l.stop(p))},_onRemainingBarClick:function(p){if(!this.disabled&&
!this.readOnly){f("ie")||n.focus(this.progressBar);var u=d.position(this.sliderBarContainer,!0),w=d.position(this.progressBar,!0),q=p[this._mousePixelCoord],t=w[this._startingPixelCoord];w=t+w[this._pixelCount];t=this._isReversed()?q<=t:q>=w;q=this._isReversed()?u[this._pixelCount]-q+u[this._startingPixelCoord]:q-u[this._startingPixelCoord];this._setPixelValue(q,u[this._pixelCount],!0,t);l.stop(p)}},_setPixelValue:function(p,u,w,q){this.disabled||this.readOnly||(p=this._getValueByPixelValue(p,u),
this._setValueAttr(p,w,q))},_getValueByPixelValue:function(p,u){var w=this.discreteValues;if(1>=w||Infinity==w)w=u;w--;return(this.maximum-this.minimum)*Math.round((0>p?0:u<p?u:p)/(u/w))/w+this.minimum},_setValueAttr:function(p,u,w){var q=C.clone(this.value);C.isArray(p)?q=p:q[w?1:0]=p;this._lastValueReported="";this.valueNode.value=p=q;q.sort(k);this.sliderHandle.setAttribute("aria-valuenow",q[0]);this.sliderHandleMax.setAttribute("aria-valuenow",q[1]);h.prototype._setValueAttr.apply(this,arguments);
this._printSliderBar(u,w)},_printSliderBar:function(p,u){var w=this.maximum>this.minimum?(this.value[0]-this.minimum)/(this.maximum-this.minimum):0,q=this.maximum>this.minimum?(this.value[1]-this.minimum)/(this.maximum-this.minimum):0,t=w;w>q&&(w=q,q=t);var z=this._isReversed()?100*(1-w):100*w,D=this._isReversed()?100*(1-q):100*q,v=this._isReversed()?100*(1-q):100*w;if(p&&0<this.slideDuration&&this.progressBar.style[this._progressPixelSize]){if(parseFloat(this.progressBar.style[this._handleOffsetCoord]),
t=this.slideDuration/10,0!==t){0>t&&(t=0-t);var E={},F={},H={};E[this._handleOffsetCoord]={start:this.sliderHandle.parentNode.style[this._handleOffsetCoord],end:z,units:"%"};F[this._handleOffsetCoord]={start:this.sliderHandleMax.parentNode.style[this._handleOffsetCoord],end:D,units:"%"};H[this._handleOffsetCoord]={start:this.progressBar.style[this._handleOffsetCoord],end:v,units:"%"};H[this._progressPixelSize]={start:this.progressBar.style[this._progressPixelSize],end:100*(q-w),units:"%"};w=x.animateProperty({node:this.sliderHandle.parentNode,
duration:t,properties:E});q=x.animateProperty({node:this.sliderHandleMax.parentNode,duration:t,properties:F});t=x.animateProperty({node:this.progressBar,duration:t,properties:H});r.combine([w,q,t]).play()}}else this.sliderHandle.parentNode.style[this._handleOffsetCoord]=z+"%",this.sliderHandleMax.parentNode.style[this._handleOffsetCoord]=D+"%",this.progressBar.style[this._handleOffsetCoord]=v+"%",this.progressBar.style[this._progressPixelSize]=100*(q-w)+"%"}});var m=A("dijit.form._SliderMoverMax",
b,{onMouseMove:function(p){var u=this.widget,w=u._abspos;w||(w=u._abspos=d.position(u.sliderBarContainer,!0),u._setPixelValue_=C.hitch(u,"_setPixelValue"),u._isReversed_=u._isReversed());p=p[u._mousePixelCoord]-w[u._startingPixelCoord];u._setPixelValue_(u._isReversed_?w[u._pixelCount]-p:p,w[u._pixelCount],!1,!0)},destroy:function(p){b.prototype.destroy.apply(this,arguments);var u=this.widget;u._abspos=null;u._setValueAttr(u.value,!0)}}),y=A("dijit.form._SliderBarMover",b,{onMouseMove:function(p){var u=
this.widget;if(!u.disabled&&!u.readOnly){var w=u._abspos,q=u._bar,t=u._mouseOffset;w||(w=u._abspos=d.position(u.sliderBarContainer,!0),u._setPixelValue_=C.hitch(u,"_setPixelValue"),u._getValueByPixelValue_=C.hitch(u,"_getValueByPixelValue"),u._isReversed_=u._isReversed());q||(q=u._bar=d.position(u.progressBar,!0));t||(t=u._mouseOffset=p[u._mousePixelCoord]-q[u._startingPixelCoord]);p=p[u._mousePixelCoord]-w[u._startingPixelCoord]-t;pixelValues=[p,p+q[u._pixelCount]];pixelValues.sort(k);0>=pixelValues[0]&&
(pixelValues[0]=0,pixelValues[1]=q[u._pixelCount]);pixelValues[1]>=w[u._pixelCount]&&(pixelValues[1]=w[u._pixelCount],pixelValues[0]=w[u._pixelCount]-q[u._pixelCount]);w=[u._getValueByPixelValue(u._isReversed_?w[u._pixelCount]-pixelValues[0]:pixelValues[0],w[u._pixelCount]),u._getValueByPixelValue(u._isReversed_?w[u._pixelCount]-pixelValues[1]:pixelValues[1],w[u._pixelCount])];u._setValueAttr(w,!1,!1)}},destroy:function(){b.prototype.destroy.apply(this,arguments);var p=this.widget;p._abspos=null;
p._bar=null;p._mouseOffset=null;p._setValueAttr(p.value,!0)}});return a})},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(A,C,B,x){return A("dijit.form.NumberSpinner",[B,x.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(l,f){var g=this.constraints,d=isNaN(l),c=!isNaN(g.max),a=!isNaN(g.min);d&&0!=f&&(l=0<f?a?g.min:c?g.max:0:c?this.constraints.max:a?g.min:0);var b=l+f;if(d||isNaN(b))return l;c&&
b>g.max&&(b=g.max);a&&b<g.min&&(b=g.min);return b},_onKeyDown:function(l){if(!(this.disabled||this.readOnly||l.keyCode!=C.HOME&&l.keyCode!=C.END||l.ctrlKey||l.altKey||l.metaKey||"undefined"==typeof this.get("value"))){var f=this.constraints[l.keyCode==C.HOME?"min":"max"];"number"==typeof f&&this._setValueAttr(f,!1);l.stopPropagation();l.preventDefault()}}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){g=A("dijit.MenuItem"+(f("dojo-bidi")?"_NoBidi":""),[d,c,a,b],{templateString:e,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(h){this._set("label",h);var n="";var r=h.search(/{\S}/);if(0<=r){n=h.charAt(r+1);var k=h.substr(0,r);h=h.substr(r+3);r=k+n+h;h=k+'\x3cspan class\x3d"dijitMenuItemShortcutKey"\x3e'+n+"\x3c/span\x3e"+h}else r=h;this.domNode.setAttribute("aria-label",r+" "+this.accelKey);this.containerNode.innerHTML=h;this._set("shortcutKey",n)},iconClass:"dijitNoIcon",
_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:!1,_fillContent:function(h){!h||"label"in this.params||this._set("label",h.innerHTML)},buildRendering:function(){this.inherited(arguments);B.set(this.containerNode,"id",this.id+"_text");this.accelKeyNode&&B.set(this.accelKeyNode,"id",this.id+"_accel");C.setSelectable(this.domNode,!1)},onClick:function(){},focus:function(){try{8==f("ie")&&this.containerNode.focus(),this.focusNode.focus()}catch(h){}},_setSelected:function(h){x.toggle(this.domNode,
"dijitMenuItemSelected",h)},setLabel:function(h){l.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",h)},setDisabled:function(h){l.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",h)},_setDisabledAttr:function(h){this.focusNode.setAttribute("aria-disabled",h?"true":"false");this._set("disabled",h)},_setAccelKeyAttr:function(h){this.accelKeyNode&&(this.accelKeyNode.style.display=
h?"":"none",this.accelKeyNode.innerHTML=h,B.set(this.containerNode,"colSpan",h?"1":"2"));this._set("accelKey",h)}});f("dojo-bidi")&&(g=A("dijit.MenuItem",g,{_setLabelAttr:function(h){this.inherited(arguments);"auto"===this.textDir&&this.applyTextDir(this.textDirNode)}}));return g})},"dijit/_AttachMixin":function(){define("require dojo/_base/array dojo/_base/connect dojo/_base/declare dojo/_base/lang dojo/mouse dojo/on dojo/touch ./_WidgetBase".split(" "),function(A,C,B,x,l,f,g,d,c){var a=l.delegate(d,
{mouseenter:f.enter,mouseleave:f.leave,keypress:B._keypress}),b;B=x("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[]},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(e){for(var h=e;;)if(1==h.nodeType&&(this._processTemplateNode(h,function(n,r){return n.getAttribute(r)},this._attach)||this.searchContainerNode)&&h.firstChild)h=
h.firstChild;else{if(h==e)break;for(;!h.nextSibling;)if(h=h.parentNode,h==e)return;h=h.nextSibling}},_processTemplateNode:function(e,h,n){var r=!0,k=this.attachScope||this,m=h(e,"dojoAttachPoint")||h(e,"data-dojo-attach-point");if(m)for(var y=m.split(/\s*,\s*/);m=y.shift();)l.isArray(k[m])?k[m].push(e):k[m]=e,r="containerNode"!=m,this._attachPoints.push(m);if(h=h(e,"dojoAttachEvent")||h(e,"data-dojo-attach-event"))for(m=h.split(/\s*,\s*/),y=l.trim;h=m.shift();)if(h){var p=null;-1!=h.indexOf(":")?
(p=h.split(":"),h=y(p[0]),p=y(p[1])):h=y(h);p||(p=h);this._attachEvents.push(n(e,h,l.hitch(k,p)))}return r},_attach:function(e,h,n){h=h.replace(/^on/,"").toLowerCase();h="dijitclick"==h?b||(b=A("./a11yclick")):a[h]||h;return g(e,h,n)},_detachTemplateNodes:function(){var e=this.attachScope||this;C.forEach(this._attachPoints,function(h){delete e[h]});this._attachPoints=[];C.forEach(this._attachEvents,function(h){h.remove()});this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes();
this.inherited(arguments)}});l.extend(c,{dojoAttachEvent:"",dojoAttachPoint:""});return B})},"dojox/grid/_EditManager":function(){define("dojo/_base/lang dojo/_base/array dojo/_base/declare dojo/_base/connect dojo/_base/sniff ./util".split(" "),function(A,C,B,x,l,f){return B("dojox.grid._EditManager",null,{constructor:function(g){this.grid=g;this.connections=l("ie")?[x.connect(document.body,"onfocus",A.hitch(this,"_boomerangFocus"))]:[];this.connections.push(x.connect(this.grid,"onBlur",this,"apply"));
this.connections.push(x.connect(this.grid,"prerender",this,"_onPreRender"))},info:{},destroy:function(){C.forEach(this.connections,x.disconnect)},cellFocus:function(g,d){this.grid.singleClickEdit||this.isEditRow(d)?this.setEditCell(g,d):this.apply();(this.isEditing()||g&&g.editable&&g.alwaysEditing)&&this._focusEditor(g,d)},rowClick:function(g){this.isEditing()&&!this.isEditRow(g.rowIndex)&&this.apply()},styleRow:function(g){g.index==this.info.rowIndex&&(g.customClasses+=" dojoxGridRowEditing")},
dispatchEvent:function(g){var d=g.cell;return(d=d&&d.editable?d:0)&&d.dispatchEvent(g.dispatch,g)},isEditing:function(){return void 0!==this.info.rowIndex},isEditCell:function(g,d){return this.info.rowIndex===g&&this.info.cell.index==d},isEditRow:function(g){return this.info.rowIndex===g},setEditCell:function(g,d){!this.isEditCell(d,g.index)&&this.grid.canEdit&&this.grid.canEdit(g,d)&&this.start(g,d,this.isEditRow(d)||g.editable)},_focusEditor:function(g,d){f.fire(g,"focus",[d])},focusEditor:function(){this.isEditing()&&
this._focusEditor(this.info.cell,this.info.rowIndex)},_boomerangWindow:500,_shouldCatchBoomerang:function(){return this._catchBoomerang>(new Date).getTime()},_boomerangFocus:function(){this._shouldCatchBoomerang()&&(this.grid.focus.focusGrid(),this.focusEditor(),this._catchBoomerang=0)},_doCatchBoomerang:function(){l("ie")&&(this._catchBoomerang=(new Date).getTime()+this._boomerangWindow)},start:function(g,d,c){this._isValidInput()&&(this.grid.beginUpdate(),this.editorApply(),this.isEditing()&&!this.isEditRow(d)&&
(this.applyRowEdit(),this.grid.updateRow(d)),c?(this.info={cell:g,rowIndex:d},this.grid.doStartEdit(g,d),this.grid.updateRow(d)):this.info={},this.grid.endUpdate(),this.grid.focus.focusGrid(),this._focusEditor(g,d),this._doCatchBoomerang())},_editorDo:function(g){var d=this.info.cell;if(d&&d.editable)d[g](this.info.rowIndex)},editorApply:function(){this._editorDo("apply")},editorCancel:function(){this._editorDo("cancel")},applyCellEdit:function(g,d,c){this.grid.canEdit(d,c)&&this.grid.doApplyCellEdit(g,
c,d.field)},applyRowEdit:function(){this.grid.doApplyEdit(this.info.rowIndex,this.info.cell.field)},apply:function(){this.isEditing()&&this._isValidInput()&&(this.grid.beginUpdate(),this.editorApply(),this.applyRowEdit(),this.info={},this.grid.endUpdate(),this.grid.focus.focusGrid(),this._doCatchBoomerang())},cancel:function(){this.isEditing()&&(this.grid.beginUpdate(),this.editorCancel(),this.info={},this.grid.endUpdate(),this.grid.focus.focusGrid(),this._doCatchBoomerang())},save:function(g,d){var c=
this.info.cell;!this.isEditRow(g)||d&&c.view!=d||!c.editable||c.save(c,this.info.rowIndex)},restore:function(g,d){var c=this.info.cell;this.isEditRow(d)&&c.view==g&&c.editable&&c.restore(this.info.rowIndex)},_isValidInput:function(){var g=(this.info.cell||{}).widget;if(!g||!g.isValid)return!0;g.focused=!0;return g.isValid(!0)},_onPreRender:function(){this.isEditing()&&(this.info.value=this.info.cell.getValue())}})})},"dojox/grid/_ViewManager":function(){define(["dojo/_base/declare","dojo/_base/sniff",
"dojo/dom-class"],function(A,C,B){return A("dojox.grid._ViewManager",null,{constructor:function(x){this.grid=x},defaultWidth:200,views:[],resize:function(){this.onEach("resize")},render:function(){this.onEach("render")},addView:function(x){x.idx=this.views.length;this.views.push(x)},destroyViews:function(){for(var x=0,l;l=this.views[x];x++)l.destroy();this.views=[]},getContentNodes:function(){for(var x=[],l=0,f;f=this.views[l];l++)x.push(f.contentNode);return x},forEach:function(x){for(var l=0,f;f=
this.views[l];l++)x(f,l)},onEach:function(x,l){l=l||[];for(var f=0,g;g=this.views[f];f++)x in g&&g[x].apply(g,l)},normalizeHeaderNodeHeight:function(){for(var x=[],l=0,f;f=this.views[l];l++)f.headerContentNode.firstChild&&x.push(f.headerContentNode);this.normalizeRowNodeHeights(x)},normalizeRowNodeHeights:function(x){var l=0,f=[];if(this.grid.rowHeight)l=this.grid.rowHeight;else{if(1>=x.length)return;for(var g=0,d;d=x[g];g++)B.contains(d,"dojoxGridNonNormalizedCell")||(f[g]=d.firstChild.offsetHeight,
l=Math.max(l,f[g]));l=0<=l?l:0;(C("mozilla")||8<C("ie"))&&l&&l++}for(g=0;d=x[g];g++)f[g]!=l&&(d.firstChild.style.height=l+"px")},resetHeaderNodeHeight:function(){for(var x=0,l;l=this.views[x];x++)if(l=l.headerContentNode.firstChild)l.style.height=""},renormalizeRow:function(x){for(var l=[],f=0,g,d;(g=this.views[f])&&(d=g.getRowNode(x));f++)d.firstChild.style.height="",l.push(d);this.normalizeRowNodeHeights(l)},getViewWidth:function(x){return this.views[x].getWidth()||this.defaultWidth},measureHeader:function(){this.resetHeaderNodeHeight();
this.forEach(function(l){l.headerContentNode.style.height=""});var x=0;this.forEach(function(l){x=Math.max(l.headerNode.offsetHeight,x)});return x},measureContent:function(){var x=0;this.forEach(function(l){x=Math.max(l.domNode.offsetHeight,x)});return x},findClient:function(x){x=this.grid.elasticView||-1;if(0>x)for(var l=1,f;f=this.views[l];l++)if(f.viewWidth){for(l=1;f=this.views[l];l++)if(!f.viewWidth){x=l;break}break}0>x&&(x=Math.floor(this.views.length/2));return x},arrange:function(x,l){var f,
g,d=this.views.length,c=this,a=0>=l?d:this.findClient(),b=function(r,k){var m=r.domNode.style,y=r.headerNode.style;c.grid.isLeftToRight()?(m.left=k+"px",y.left=k+"px"):(m.right=k+"px",4>C("ff")?y.right=k+r.getScrollbarWidth()+"px":y.right=k+"px",C("webkit")||"auto"==y.width||(y.width=parseInt(y.width,10)-r.getScrollbarWidth()+"px"));m.top="0px";y.top=0};for(f=0;(g=this.views[f])&&f<a;f++){var e=this.getViewWidth(f);g.setSize(e,0);b(g,x);e=g.headerContentNode&&g.headerContentNode.firstChild?g.getColumnsWidth()+
g.getScrollbarWidth():g.domNode.offsetWidth;x+=e}f++;for(var h=l,n=d-1;(g=this.views[n])&&f<=n;n--)e=this.getViewWidth(n),g.setSize(e,0),e=g.domNode.offsetWidth,h-=e,b(g,h);a<d&&(g=this.views[a],e=Math.max(1,h-x),g.setSize(e+"px",0),b(g,x));return x},renderRow:function(x,l,f){for(var g=[],d=0,c,a;(c=this.views[d])&&(a=l[d]);d++)c=c.renderRow(x),a.appendChild(c),g.push(c);f||this.normalizeRowNodeHeights(g)},rowRemoved:function(x){this.onEach("rowRemoved",[x])},updateRow:function(x,l){for(var f=0,g;g=
this.views[f];f++)g.updateRow(x);l||this.renormalizeRow(x)},updateRowStyles:function(x){this.onEach("updateRowStyles",[x])},setScrollTop:function(x){for(var l=x,f=0,g;g=this.views[f];f++)l=g.setScrollTop(x),C("ie")&&g.headerNode&&g.scrollboxNode&&(g.headerNode.scrollLeft=g.scrollboxNode.scrollLeft);return l},getFirstScrollingView:function(){for(var x=0,l;l=this.views[x];x++)if(l.hasHScrollbar()||l.hasVScrollbar())return l;return null}})})},"dojo/ready":function(){define(["./_base/kernel","./has",
"require","./domReady","./_base/lang"],function(A,C,B,x,l){var f=0,g=[],d=0;C=function(){f=1;A._postLoad=A.config.afterOnLoad=!0;c()};var c=function(){if(!d){for(d=1;f&&(!x||0==x._Q.length)&&(B.idle?B.idle():1)&&g.length;){var e=g.shift();try{e()}catch(h){if(h.info=h.message,B.signal)B.signal("error",h);else throw h;}}d=0}};B.on&&B.on("idle",c);x&&(x._onQEmpty=c);var a=A.ready=A.addOnLoad=function(e,h,n){var r=l._toArray(arguments);"number"!=typeof e?(n=h,h=e,e=1E3):r.shift();n=n?l.hitch.apply(A,
r):function(){h()};n.priority=e;for(r=0;r<g.length&&e>=g[r].priority;r++);g.splice(r,0,n);c()},b=A.config.addOnLoad;if(b)a[l.isArray(b)?"apply":"call"](A,b);A.config.parseOnLoad&&!A.isAsync&&a(99,function(){A.parser||(A.deprecated("Add explicit require(['dojo/parser']);","","2.0"),B(["dojo/parser"]))});x?x(C):C();return a})},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(A,C,B,x){return A("dijit.DropDownMenu",x,{templateString:B,
baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev()},_onDownArrow:function(){this.focusNext()},_onRightArrow:function(l){this._moveToPopup(l);l.stopPropagation();l.preventDefault()},_onLeftArrow:function(l){if(this.parentMenu)if(this.parentMenu._isMenuBar)this.parentMenu.focusPrev();else this.onCancel(!1);else l.stopPropagation(),l.preventDefault()}})})},"dojox/form/uploader/_Flash":function(){define("dojo/dom-form dojo/dom-style dojo/dom-construct dojo/dom-attr dojo/_base/declare dojo/_base/config dojo/_base/connect dojo/_base/lang dojo/_base/array dojox/embed/Flash".split(" "),
function(A,C,B,x,l,f,g,d,c,a){return l("dojox.form.uploader._Flash",[],{swfPath:f.uploaderPath||require.toUrl("dojox/form/resources/uploader.swf"),preventCache:!0,skipServerCheck:!0,serverTimeout:2E3,isDebug:!1,devMode:!1,deferredUploading:0,postMixInProperties:function(){"flash"===this.uploadType&&(this._files=[],this._fileMap={},this._createInput=this._createFlashUploader,this.getFileList=this.getFlashFileList,this.reset=this.flashReset,this.upload=this.uploadFlash,this.fieldname="flashUploadFiles");
this.inherited(arguments)},onReady:function(b){},onLoad:function(b){},onFileChange:function(b){},onFileProgress:function(b){},getFlashFileList:function(){return this._files},flashReset:function(){this.flashMovie.reset();this._files=[];this._fileMap={}},uploadFlash:function(b){this.onBegin(this.getFileList());b=b||{};b.returnType="F";b.uploadType=this.uploadType;this.flashMovie.doUpload(b)},_change:function(b){this._files=this._files.concat(b);c.forEach(b,function(e){e.bytesLoaded=0;e.bytesTotal=e.size;
this._fileMap[e.name+"_"+e.size]=e},this);this.onChange(this._files);this.onFileChange(b)},_complete:function(b){this._getCustomEvent().type="load";this.onComplete(b)},_progress:function(b){this._fileMap[b.name+"_"+b.bytesTotal].bytesLoaded=b.bytesLoaded;var e=this._getCustomEvent();this.onFileProgress(b);this.onProgress(e)},_error:function(b){this.onError(b)},_onFlashBlur:function(b){},_getCustomEvent:function(){var b={bytesLoaded:0,bytesTotal:0,type:"progress",timeStamp:(new Date).getTime()},e;
for(e in this._fileMap)b.bytesTotal+=this._fileMap[e].bytesTotal,b.bytesLoaded+=this._fileMap[e].bytesLoaded;b.decimal=b.bytesLoaded/b.bytesTotal;b.percent=Math.ceil(b.bytesLoaded/b.bytesTotal*100)+"%";return b},_connectFlash:function(){this._subs=[];this._cons=[];var b=d.hitch(this,function(e,h){this._subs.push(g.subscribe(this.id+e,this,h))});b("/filesSelected","_change");b("/filesUploaded","_complete");b("/filesProgress","_progress");b("/filesError","_error");b("/filesCanceled","onCancel");b("/stageBlur",
"_onFlashBlur");this.connect(this.domNode,"focus",function(){this.flashMovie.focus();this.flashMovie.doFocus()});0<=this.tabIndex&&x.set(this.domNode,"tabIndex",this.tabIndex)},_createFlashUploader:function(){var b=this.btnSize.w,e=this.btnSize.h;if(b){var h=this.getUrl();if(h&&0>h.toLowerCase().indexOf("http")&&0!=h.indexOf("/")){var n=window.location.href.split("/");n.pop();n=n.join("/")+"/";h=n+h}this.inputNode=B.create("div",{className:"dojoxFlashNode"},this.domNode,"first");C.set(this.inputNode,
{position:"absolute",top:"-2px",width:b+"px",height:e+"px",opacity:0});b={expressInstall:!0,path:(this.swfPath.uri||this.swfPath)+(this.preventCache?"?cb_"+(new Date).getTime():""),width:b,height:e,allowScriptAccess:"always",allowNetworking:"all",vars:{uploadDataFieldName:this.flashFieldName||this.name+"Flash",uploadUrl:h,uploadOnSelect:this.uploadOnSelect,deferredUploading:this.deferredUploading||0,selectMultipleFiles:this.multiple,id:this.id,isDebug:this.isDebug,noReturnCheck:this.skipServerCheck,
serverTimeout:this.serverTimeout},params:{scale:"noscale",wmode:"opaque",allowScriptAccess:"always",allowNetworking:"all"}};this.flashObject=new a(b,this.inputNode);this.flashObject.onError=d.hitch(function(r){});this.flashObject.onReady=d.hitch(this,function(){this.onReady(this)});this.flashObject.onLoad=d.hitch(this,function(r){this.flashMovie=r;this.flashReady=!0;this.onLoad(this)});this._connectFlash()}else setTimeout(dojo.hitch(this,function(){this._getButtonStyle(this.domNode);this._createFlashUploader()}),
200)}})})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(A,C,B,x,l){function f(g,d){var c=function(a,b){return C(a,g,function(e){if(d)return d(e,b);if(!x.isDescendant(e.relatedTarget,a))return b.call(this,e)})};c.bubble=function(a){return f(g,function(b,e){var h=a(b.target),n=b.relatedTarget;if(h&&h!=(n&&1==n.nodeType&&a(n)))return e.call(h,b)})};return c}B.add("dom-quirks",l.doc&&"BackCompat"==l.doc.compatMode);B.add("events-mouseenter",l.doc&&
"onmouseenter"in l.doc.createElement("div"));B.add("events-mousewheel",l.doc&&"onmousewheel"in l.doc);l=B("dom-quirks")&&B("ie")||!B("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(g,d){return g.button&d},isLeft:function(g){return g.button&1},isMiddle:function(g){return g.button&4},isRight:function(g){return g.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(g,d){return g.button==d},isLeft:function(g){return 0==g.button},isMiddle:function(g){return 1==g.button},isRight:function(g){return 2==
g.button}};A.mouseButtons=l;A=B("events-mousewheel")?"mousewheel":function(g,d){return C(g,"DOMMouseScroll",function(c){c.wheelDelta=-c.detail;d.call(this,c)})};return{_eventHandler:f,enter:f("mouseover"),leave:f("mouseout"),wheel:A,isLeft:l.isLeft,isMiddle:l.isMiddle,isRight:l.isRight}})},"dojox/form/uploader/FileList":function(){define("dojo/_base/fx dojo/dom-style dojo/dom-class dojo/_base/declare dojo/_base/lang dojo/_base/array dijit/_base/manager dojox/form/uploader/_Base dojo/text!../resources/UploaderFileList.html".split(" "),
function(A,C,B,x,l,f,g,d,c){return x("dojox.form.uploader.FileList",d,{uploaderId:"",uploader:null,headerIndex:"#",headerType:"Type",headerFilename:"File Name",headerFilesize:"Size",_upCheckCnt:0,rowAmt:0,templateString:c,postCreate:function(){this.setUploader();this.hideProgress()},reset:function(){for(var a=0;a<this.rowAmt;a++)this.listNode.deleteRow(0);this.rowAmt=0},setUploader:function(){if(this.uploaderId||this.uploader)if(this.uploaderId&&!this.uploader)this.uploader=g.byId(this.uploaderId);
else if(4<this._upCheckCnt)return;this.uploader?(this.connect(this.uploader,"onChange","_onUploaderChange"),this.connect(this.uploader,"reset","reset"),this.connect(this.uploader,"onBegin",function(){this.showProgress(!0)}),this.connect(this.uploader,"onProgress","_progress"),this.connect(this.uploader,"onComplete",function(){setTimeout(l.hitch(this,function(){this.hideProgress(!0)}),1250)}),(this._fileSizeAvail={html5:1,flash:1}[this.uploader.uploadType])||(this.sizeHeader.style.display="none")):
(this._upCheckCnt++,setTimeout(l.hitch(this,"setUploader"),250))},hideProgress:function(a){this._hideShowProgress(a?{ani:!0,endDisp:"none",beg:15,end:0}:{endDisp:"none",ani:!1})},showProgress:function(a){this._hideShowProgress(a?{ani:!0,endDisp:"block",beg:0,end:15}:{endDisp:"block",ani:!1})},_progress:function(a){this.percentTextNode.innerHTML=a.percent;C.set(this.percentBarNode,"width",a.percent)},_hideShowProgress:function(a){var b=this.progressNode,e=function(){C.set(b,"display",a.endDisp)};a.ani?
(C.set(b,"display","block"),A.animateProperty({node:b,properties:{height:{start:a.beg,end:a.end,units:"px"}},onEnd:e}).play()):e()},_onUploaderChange:function(a){this.reset();f.forEach(a,function(b,e){this._addRow(e+1,this.getFileType(b.name),b.name,b.size)},this)},_addRow:function(a,b,e,h){var n=this.listNode.insertRow(-1);var r=n.insertCell(-1);B.add(r,"dojoxUploaderIndex");r.innerHTML=a;r=n.insertCell(-1);B.add(r,"dojoxUploaderIcon");r.innerHTML=b;r=n.insertCell(-1);B.add(r,"dojoxUploaderFileName");
r.innerHTML=e;this._fileSizeAvail&&(r=n.insertCell(-1),B.add(r,"dojoxUploaderSize"),r.innerHTML=this.convertBytes(h).value);this.rowAmt++}})})},"dijit/_base/typematic":function(){define(["../typematic"],function(){})},"dojo/aspect":function(){define([],function(){function A(g,d,c,a){var b=g[d],e="around"==d;if(e){var h=c(function(){return b.advice(this,arguments)});var n={remove:function(){h&&(h=g=c=null)},advice:function(r,k){return h?h.apply(r,k):b.advice(r,k)}}}else n={remove:function(){if(n.advice){var r=
n.previous,k=n.next;k||r?(r?r.next=k:g[d]=k,k&&(k.previous=r)):delete g[d];g=c=n.advice=null}},id:g.nextId++,advice:c,receiveArguments:a};if(b&&!e)if("after"==d){for(;b.next&&(b=b.next););b.next=n;n.previous=b}else"before"==d&&(g[d]=n,n.next=b,b.previous=n);else g[d]=n;return n}function C(g){return function(d,c,a,b){var e=d[c],h;e&&e.target==d||(d[c]=h=function(){for(var n=h.nextId,r=arguments,k=h.before;k;)k.advice&&(r=k.advice.apply(this,r)||r),k=k.next;if(h.around)var m=h.around.advice(this,r);
for(k=h.after;k&&k.id<n;){if(k.advice)if(k.receiveArguments){var y=k.advice.apply(this,r);m=y===B?m:y}else m=k.advice.call(this,m,r);k=k.next}return m},e&&(h.around={advice:function(n,r){return e.apply(n,r)}}),h.target=d,h.nextId=h.nextId||0);d=A(h||e,g,a,b);a=null;return d}}var B,x=C("after"),l=C("before"),f=C("around");return{before:l,around:f,after:x}})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(A,C,B){A._name="browser";C.mixin(A,{isBrowser:!0,isFF:B("ff"),
isIE:B("ie"),isKhtml:B("khtml"),isWebKit:B("webkit"),isMozilla:B("mozilla"),isMoz:B("mozilla"),isOpera:B("opera"),isSafari:B("safari"),isChrome:B("chrome"),isMac:B("mac"),isIos:B("ios"),isAndroid:B("android"),isWii:B("wii"),isQuirks:B("quirks"),isAir:B("air")});return B})},"dijit/_editor/plugins/LinkDialog":function(){define("require dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/on dojo/sniff dojo/query dojo/string ../_Plugin ../../form/DropDownButton ../range".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){var n=B("dijit._editor.plugins.LinkDialog",b,{allowUnsafeHtml:!1,linkFilter:[[/</g,"\x26lt;"]],buttonClass:e,useDefaultCommand:!1,urlRegExp:"((https?|ftps?|file)\\://|./|../|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",
emailRegExp:"\x3c?(mailto\\:)([!#-'*+\\-\\/-9\x3d?A-Z^-~]+[.])*[!#-'*+\\-\\/-9\x3d?A-Z^-~]+@((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*\x3e?",htmlTemplate:'\x3ca href\x3d"${urlInput}" _djrealurl\x3d"${urlInput}" target\x3d"${targetSelect}"\x3e${textInput}\x3c/a\x3e',tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,
linkDialogTemplate:"\x3ctable role\x3d'presentation'\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_urlInput'\x3e${url}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput data-dojo-type\x3d'dijit.form.ValidationTextBox' required\x3d'true' id\x3d'${id}_urlInput' name\x3d'urlInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_textInput'\x3e${text}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput data-dojo-type\x3d'dijit.form.ValidationTextBox' required\x3d'true' id\x3d'${id}_textInput' name\x3d'textInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_targetSelect'\x3e${target}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cselect id\x3d'${id}_targetSelect' name\x3d'targetSelect' data-dojo-type\x3d'dijit.form.Select'\x3e\x3coption selected\x3d'selected' value\x3d'_self'\x3e${currentWindow}\x3c/option\x3e\x3coption value\x3d'_blank'\x3e${newWindow}\x3c/option\x3e\x3coption value\x3d'_top'\x3e${topWindow}\x3c/option\x3e\x3coption value\x3d'_parent'\x3e${parentWindow}\x3c/option\x3e\x3c/select\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d'2'\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'submit' id\x3d'${id}_setButton'\x3e${set}\x3c/button\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'button' id\x3d'${id}_cancelButton'\x3e${buttonCancel}\x3c/button\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",
_initButton:function(){this.inherited(arguments);this.button.loadDropDown=f.hitch(this,"_loadDropDown");this._connectTagEvents()},_loadDropDown:function(k){A("dojo/i18n ../../TooltipDialog ../../registry ../../form/Button ../../form/Select ../../form/ValidationTextBox dojo/i18n!../../nls/common dojo/i18n!../nls/LinkDialog".split(" "),f.hitch(this,function(m,y,p){var u=this;this.tag="insertImage"==this.command?"img":"a";m=f.delegate(m.getLocalization("dijit","common",this.lang),m.getLocalization("dijit._editor",
"LinkDialog",this.lang));var w=this.dropDown=this.button.dropDown=new y({title:m[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:f.hitch(this,"setValue"),onOpen:function(){u._onOpenDialog();y.prototype.onOpen.apply(this,arguments)},onCancel:function(){setTimeout(f.hitch(u,"_onCloseDialog"),0)}});m.urlRegExp=this.urlRegExp;m.id=p.getUniqueId(this.editor.id);this._uniqueId=m.id;this._setContent(w.title+"\x3cdiv style\x3d'border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'\x3e\x3c/div\x3e"+
a.substitute(this.linkDialogTemplate,m));w.startup();this._urlInput=p.byId(this._uniqueId+"_urlInput");this._textInput=p.byId(this._uniqueId+"_textInput");this._setButton=p.byId(this._uniqueId+"_setButton");this.own(p.byId(this._uniqueId+"_cancelButton").on("click",f.hitch(this.dropDown,"onCancel")));this._urlInput&&this.own(this._urlInput.on("change",f.hitch(this,"_checkAndFixInput")));this._textInput&&this.own(this._textInput.on("change",f.hitch(this,"_checkAndFixInput")));this._urlRegExp=new RegExp("^"+
this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=f.hitch(this,function(){var q=this._urlInput.get("value");return this._urlRegExp.test(q)||this._emailRegExp.test(q)});this.own(g(w.domNode,"keydown",f.hitch(this,f.hitch(this,function(q){!q||q.keyCode!=l.ENTER||q.shiftKey||q.metaKey||q.ctrlKey||q.altKey||this._setButton.get("disabled")||(w.onExecute(),w.execute(w.get("value")))}))));k()}))},_checkAndFixInput:function(){var k=this,m=this._urlInput.get("value");
this._delayedCheck&&(clearTimeout(this._delayedCheck),this._delayedCheck=null);this._delayedCheck=setTimeout(function(){var y=m,p=!1,u=!1;y&&1<y.length&&(y=f.trim(y),0!==y.indexOf("mailto:")&&(0<y.indexOf("/")?-1===y.indexOf("://")&&"/"!==y.charAt(0)&&y.indexOf("./")&&0!==y.indexOf("../")&&k._hostRxp.test(y)&&(p=!0):k._userAtRxp.test(y)&&(u=!0)));p&&k._urlInput.set("value","http://"+y);u&&k._urlInput.set("value","mailto:"+y);k._setButton.set("disabled",!k._isValid())},250)},_connectTagEvents:function(){this.editor.onLoadDeferred.then(f.hitch(this,
function(){this.own(g(this.editor.editNode,"mouseup",f.hitch(this,"_onMouseUp")));this.own(g(this.editor.editNode,"dblclick",f.hitch(this,"_onDblClick")))}))},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid()},_setContent:function(k){this.dropDown.set({parserScope:"dojo",content:k})},_checkValues:function(k){k&&k.urlInput&&(k.urlInput=k.urlInput.replace(/"/g,"\x26quot;"));!this.allowUnsafeHtml&&k&&k.textInput&&("function"===typeof this.linkFilter?k.textInput=this.linkFilter(k.textInput):
C.forEach(this.linkFilter,function(m){k.textInput=k.textInput.replace(m[0],m[1])}));return k},_createlinkEnabledImpl:function(){return!0},setValue:function(k){this._onCloseDialog();if(9>d("ie")){var m=h.getSelection(this.editor.window).getRangeAt(0).endContainer;3===m.nodeType&&(m=m.parentNode);m&&m.nodeName&&m.nodeName.toLowerCase()!==this.tag&&(m=this.editor.selection.getSelectedElement(this.tag));m&&m.nodeName&&m.nodeName.toLowerCase()===this.tag&&this.editor.queryCommandEnabled("unlink")&&(this.editor.selection.selectElementChildren(m),
this.editor.execCommand("unlink"))}k=this._checkValues(k);this.editor.execCommand("inserthtml",a.substitute(this.htmlTemplate,k));c("a",this.editor.document).forEach(function(y){y.innerHTML||x.has(y,"name")||y.parentNode.removeChild(y)},this)},_onCloseDialog:function(){this.editor.focused&&this.editor.focus()},_getCurrentValues:function(k){if(k&&k.tagName.toLowerCase()===this.tag){var m=k.getAttribute("_djrealurl")||k.getAttribute("href");var y=k.getAttribute("target")||"_self";var p=k.textContent||
k.innerText;this.editor.selection.selectElement(k,!0)}else p=this.editor.selection.getSelectedText();return{urlInput:m||"",textInput:p||"",targetSelect:y||""}},_onOpenDialog:function(){if(d("ie")){var k=h.getSelection(this.editor.window);if(k.rangeCount){var m=k.getRangeAt(0);var y=m.endContainer;3===y.nodeType&&(y=y.parentNode);y&&y.nodeName&&y.nodeName.toLowerCase()!==this.tag&&(y=this.editor.selection.getSelectedElement(this.tag));if(!y||y.nodeName&&y.nodeName.toLowerCase()!==this.tag)(k=this.editor.selection.getAncestorElement(this.tag))&&
k.nodeName&&k.nodeName.toLowerCase()==this.tag?(y=k,this.editor.selection.selectElement(y)):m.startContainer===m.endContainer&&(k=m.startContainer.firstChild)&&k.nodeName&&k.nodeName.toLowerCase()==this.tag&&(y=k,this.editor.selection.selectElement(y))}}else y=this.editor.selection.getAncestorElement(this.tag);this.dropDown.reset();this._setButton.set("disabled",!0);this.dropDown.set("value",this._getCurrentValues(y))},_onDblClick:function(k){if(k&&k.target&&(k=k.target,(k.tagName?k.tagName.toLowerCase():
"")===this.tag&&x.get(k,"href"))){var m=this.editor;this.editor.selection.selectElement(k);m.onDisplayChanged();m._updateTimer&&(m._updateTimer.remove(),delete m._updateTimer);m.onNormalizedDisplayChanged();var y=this.button;setTimeout(function(){y.set("disabled",!1);y.loadAndOpenDropDown().then(function(){y.dropDown.focus&&y.dropDown.focus()})},10)}},_onMouseUp:function(){if(d("ff")){var k=this.editor.selection.getAncestorElement(this.tag);if(k){var m=h.getSelection(this.editor.window).getRangeAt(0);
if(m.collapsed&&k.childNodes.length){var y=m.cloneRange();y.selectNodeContents(k.childNodes[k.childNodes.length-1]);y.setStart(k.childNodes[0],0);1!==m.compareBoundaryPoints(y.START_TO_START,y)?m.setStartBefore(k):-1!==m.compareBoundaryPoints(y.END_TO_START,y)&&m.setStartAfter(k)}}}}}),r=B("dijit._editor.plugins.ImgLinkDialog",[n],{linkDialogTemplate:"\x3ctable role\x3d'presentation'\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_urlInput'\x3e${url}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput dojoType\x3d'dijit.form.ValidationTextBox' regExp\x3d'${urlRegExp}' required\x3d'true' id\x3d'${id}_urlInput' name\x3d'urlInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_textInput'\x3e${text}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput data-dojo-type\x3d'dijit.form.ValidationTextBox' required\x3d'false' id\x3d'${id}_textInput' name\x3d'textInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d'2'\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'submit' id\x3d'${id}_setButton'\x3e${set}\x3c/button\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'button' id\x3d'${id}_cancelButton'\x3e${buttonCancel}\x3c/button\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",
htmlTemplate:'\x3cimg src\x3d"${urlInput}" _djrealurl\x3d"${urlInput}" alt\x3d"${textInput}" /\x3e',tag:"img",_getCurrentValues:function(k){if(k&&k.tagName.toLowerCase()===this.tag){var m=k.getAttribute("_djrealurl")||k.getAttribute("src");var y=k.getAttribute("alt");this.editor.selection.selectElement(k,!0)}else y=this.editor.selection.getSelectedText();return{urlInput:m||"",textInput:y||""}},_isValid:function(){return this._urlInput.isValid()},_connectTagEvents:function(){this.inherited(arguments);
this.editor.onLoadDeferred.then(f.hitch(this,function(){this.own(g(this.editor.editNode,"mousedown",f.hitch(this,"_selectTag")))}))},_selectTag:function(k){k&&k.target&&(k=k.target,(k.tagName?k.tagName.toLowerCase():"")===this.tag&&this.editor.selection.selectElement(k))},_checkValues:function(k){k&&k.urlInput&&(k.urlInput=k.urlInput.replace(/"/g,"\x26quot;"));k&&k.textInput&&(k.textInput=k.textInput.replace(/"/g,"\x26quot;"));return k},_onDblClick:function(k){if(k&&k.target&&(k=k.target,(k.tagName?
k.tagName.toLowerCase():"")===this.tag&&x.get(k,"src"))){var m=this.editor;this.editor.selection.selectElement(k);m.onDisplayChanged();m._updateTimer&&(m._updateTimer.remove(),delete m._updateTimer);m.onNormalizedDisplayChanged();var y=this.button;setTimeout(function(){y.set("disabled",!1);y.loadAndOpenDropDown().then(function(){y.dropDown.focus&&y.dropDown.focus()})},10)}}});b.registry.createLink=function(k){var m={command:"createLink",allowUnsafeHtml:"allowUnsafeHtml"in k?k.allowUnsafeHtml:!1};
"linkFilter"in k&&(m.linkFilter=k.linkFilter);return new n(m)};b.registry.insertImage=function(){return new r({command:"insertImage"})};n.ImgLinkDialog=r;return n})},"dojox/grid/_Grid":function(){define("dojo/_base/kernel ../main dojo/_base/declare ./_Events ./_Scroller ./_Layout ./_View ./_ViewManager ./_RowManager ./_FocusManager ./_EditManager ./Selection ./_RowSelector ./util dijit/_Widget dijit/_TemplatedMixin dijit/CheckedMenuItem dojo/text!./resources/_Grid.html dojo/string dojo/_base/array dojo/_base/lang dojo/_base/sniff dojox/html/metrics dojo/_base/html dojo/query dojo/dnd/common dojo/i18n!dijit/nls/loading".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t,z,D){A.isCopyKey||(A.isCopyKey=A.dnd.getCopyKeyState);B=B("dojox.grid._Grid",[r,k,x],{templateString:y,classTag:"dojoxGrid",rowCount:5,keepRows:75,rowsPerPage:25,autoWidth:!1,initialWidth:"",autoHeight:"",rowHeight:0,autoRender:!0,defaultHeight:"15em",height:"",structure:null,elasticView:-1,singleClickEdit:!1,selectionMode:"extended",rowSelector:"",columnReordering:!1,headerMenu:null,placeholderLabel:"GridColumns",selectable:!1,_click:null,loadingMessage:"\x3cspan class\x3d'dojoxGridLoading'\x3e${loadingState}\x3c/span\x3e",
errorMessage:"\x3cspan class\x3d'dojoxGridError'\x3e${errorState}\x3c/span\x3e",noDataMessage:"",escapeHTMLInData:!0,formatterScope:null,editable:!1,summary:"",_setSummaryAttr:"domNode",sortInfo:0,_placeholders:null,_layoutClass:f,buildRendering:function(){this.inherited(arguments);this.domNode.getAttribute("tabIndex")||(this.domNode.tabIndex="0");this.createScroller();this.createLayout();this.createViews();this.createManagers();this.createSelection();this.connect(this.selection,"onSelected","onSelected");
this.connect(this.selection,"onDeselected","onDeselected");this.connect(this.selection,"onChanged","onSelectionChanged");t.initOnFontResize();this.connect(t,"onFontResize","textSizeChanged");n.funnelEvents(this.domNode,this,"doKeyEvent",n.keyEvents);"none"!=this.selectionMode&&this.domNode.setAttribute("aria-multiselectable","single"==this.selectionMode?"false":"true");z.addClass(this.domNode,this.classTag);this.isLeftToRight()||z.addClass(this.domNode,this.classTag+"Rtl");0<this.rowHeight&&z.addClass(this.viewsNode,
this.classTag+"FixedRowHeight")},postMixInProperties:function(){this.inherited(arguments);var v=A.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=p.substitute(this.loadingMessage,v);this.errorMessage=p.substitute(this.errorMessage,v);this.srcNodeRef&&this.srcNodeRef.style.height&&(this.height=this.srcNodeRef.style.height);this._setAutoHeightAttr(this.autoHeight,!0);this.lastScrollTop=this.scrollTop=0},postCreate:function(){this._placeholders=[];this._setHeaderMenuAttr(this.headerMenu);
this._setStructureAttr(this.structure);this._click=[];this.inherited(arguments);this.domNode&&this.autoWidth&&this.initialWidth&&(this.domNode.style.width=this.initialWidth);this.domNode&&!this.editable&&z.attr(this.domNode,"aria-readonly","true")},destroy:function(){this.domNode.onReveal=null;this.domNode.onSizeChange=null;delete this._click;this.scroller&&(this.scroller.destroy(),delete this.scroller);this.edit.destroy();delete this.edit;this.views.destroyViews();this.focus&&(this.focus.destroy(),
delete this.focus);this.headerMenu&&this._placeholders.length&&(u.forEach(this._placeholders,function(v){v.unReplace(!0)}),this.headerMenu.unBindDomNode(this.viewsHeaderNode));this.inherited(arguments)},_setAutoHeightAttr:function(v,E){"string"==typeof v&&(v=v&&"false"!=v?"true"==v?!0:window.parseInt(v,10):!1);"number"==typeof v&&(isNaN(v)&&(v=!1),0>v?v=!0:0===v&&(v=!1));this.autoHeight=v;this._autoHeight="boolean"==typeof v?v:"number"==typeof v?v>=this.get("rowCount"):!1;this._started&&!E&&this.render()},
_getRowCountAttr:function(){return this.updating&&this.invalidated&&void 0!=this.invalidated.rowCount?this.invalidated.rowCount:this.rowCount},textSizeChanged:function(){this.render()},sizeChange:function(){this.update()},createManagers:function(){this.rows=new c(this);this.focus=new a(this);this.edit=new b(this)},createSelection:function(){this.selection=new e(this)},createScroller:function(){this.scroller=new l;this.scroller.grid=this;this.scroller.renderRow=w.hitch(this,"renderRow");this.scroller.removeRow=
w.hitch(this,"rowRemoved")},createLayout:function(){this.layout=new this._layoutClass(this);this.connect(this.layout,"moveColumn","onMoveColumn")},onMoveColumn:function(){this.update()},onResizeColumn:function(v){},createViews:function(){this.views=new d(this);this.views.createView=w.hitch(this,"createView")},createView:function(v,E){var F=new (w.getObject(v))({grid:this,index:E});this.viewsNode.appendChild(F.domNode);this.viewsHeaderNode.appendChild(F.headerNode);this.views.addView(F);z.attr(this.domNode,
"align",this.isLeftToRight()?"left":"right");return F},buildViews:function(){for(var v=0,E;E=this.layout.structure[v];v++)this.createView(E.type||C._scopeName+".grid._View",v).setStructure(E);this.scroller.setContentNodes(this.views.getContentNodes())},_setStructureAttr:function(v){v&&w.isString(v)&&(A.deprecated("dojox.grid._Grid.set('structure', 'objVar')","use dojox.grid._Grid.set('structure', objVar) instead","2.0"),v=w.getObject(v));this.structure=v;if(!v)if(this.layout.structure)v=this.layout.structure;
else return;this.views.destroyViews();this.focus.focusView=null;v!==this.layout.structure&&this.layout.setStructure(v);this._structureChanged()},setStructure:function(v){A.deprecated("dojox.grid._Grid.setStructure(obj)","use dojox.grid._Grid.set('structure', obj) instead.","2.0");this._setStructureAttr(v)},getColumnTogglingItems:function(){var v=[];var E=u.map(this.layout.cells,function(F){F.menuItems||(F.menuItems=[]);var H=this,J=new m({label:F.name,checked:!F.hidden,_gridCell:F,onChange:function(G){if(H.layout.setColumnVisibility(this._gridCell.index,
G)){var I=this._gridCell.menuItems;1<I.length&&u.forEach(I,function(K){K!==this&&K.setAttribute("checked",G)},this);G=u.filter(H.layout.cells,function(K){1<K.menuItems.length?u.forEach(K.menuItems,"item.set('disabled', false);"):K.menuItems[0].set("disabled",!1);return!K.hidden});1==G.length&&u.forEach(G[0].menuItems,"item.set('disabled', true);")}},destroy:function(){var G=u.indexOf(this._gridCell.menuItems,this);this._gridCell.menuItems.splice(G,1);delete this._gridCell;m.prototype.destroy.apply(this,
arguments)}});F.menuItems.push(J);F.hidden||v.push(J);return J},this);1==v.length&&v[0].set("disabled",!0);return E},_setHeaderMenuAttr:function(v){this._placeholders&&this._placeholders.length&&(u.forEach(this._placeholders,function(E){E.unReplace(!0)}),this._placeholders=[]);this.headerMenu&&this.headerMenu.unBindDomNode(this.viewsHeaderNode);if(this.headerMenu=v)this.headerMenu.bindDomNode(this.viewsHeaderNode),this.headerMenu.getPlaceholders&&(this._placeholders=this.headerMenu.getPlaceholders(this.placeholderLabel))},
setHeaderMenu:function(v){A.deprecated("dojox.grid._Grid.setHeaderMenu(obj)","use dojox.grid._Grid.set('headerMenu', obj) instead.","2.0");this._setHeaderMenuAttr(v)},setupHeaderMenu:function(){this._placeholders&&this._placeholders.length&&u.forEach(this._placeholders,function(v){v._replaced&&v.unReplace(!0);v.replace(this.getColumnTogglingItems())},this)},_fetch:function(v){this.setScrollTop(0)},getItem:function(v){return null},showMessage:function(v){v?(this.messagesNode.innerHTML=v,this.messagesNode.style.display=
""):(this.messagesNode.innerHTML="",this.messagesNode.style.display="none")},_structureChanged:function(){this.buildViews();this.autoRender&&this._started&&this.render()},hasLayout:function(){return this.layout.cells.length},resize:function(v,E){this._pendingChangeSize=v;this._pendingResultSize=E;this.sizeChange()},_getPadBorder:function(){return this._padBorder=this._padBorder||z._getPadBorderExtents(this.domNode)},_getHeaderHeight:function(){var v=this.viewsHeaderNode.style,E="none"==v.display?
0:this.views.measureHeader();v.height=E+"px";this.views.normalizeHeaderNodeHeight();return E},_resize:function(v,E){v=v||this._pendingChangeSize;E=E||this._pendingResultSize;delete this._pendingChangeSize;delete this._pendingResultSize;if(this.domNode){var F=this.domNode.parentNode;if(F&&1==F.nodeType&&this.hasLayout()&&"hidden"!=F.style.visibility&&"none"!=F.style.display){var H=this._getPadBorder(),J=void 0;if(this._autoHeight)this.domNode.style.height="auto";else if("number"==typeof this.autoHeight){var G=
J=this._getHeaderHeight();G+=this.scroller.averageRowHeight*this.autoHeight;this.domNode.style.height=G+"px"}else this.domNode.clientHeight<=H.h&&(F==document.body?this.domNode.style.height=this.defaultHeight:this.height?this.domNode.style.height=this.height:this.fitTo="parent");E&&(v=E);!this._autoHeight&&v?(z.marginBox(this.domNode,v),this.height=this.domNode.style.height,delete this.fitTo):"parent"==this.fitTo&&(G=this._parentContentBoxHeight=0<this._parentContentBoxHeight?this._parentContentBoxHeight:
z._getContentBox(F).h,this.domNode.style.height=Math.max(0,G)+"px");F=u.some(this.views.views,function(I){return I.flexCells});this._autoHeight||0!==(G||z._getContentBox(this.domNode).h)?(this.viewsHeaderNode.style.display="block",F||void 0!==J||(J=this._getHeaderHeight())):this.viewsHeaderNode.style.display="none";F&&(J=void 0);this.adaptWidth();this.adaptHeight(J);this.postresize()}}},adaptWidth:function(){var v=!this.initialWidth&&this.autoWidth,E=v?0:this.domNode.clientWidth||this.domNode.offsetWidth-
this._getPadBorder().w;E=this.views.arrange(1,E);this.views.onEach("adaptWidth");v&&(this.domNode.style.width=E+"px")},adaptHeight:function(v){v=void 0===v?this._getHeaderHeight():v;var E=this._autoHeight?-1:Math.max(this.domNode.clientHeight-v,0)||0;this.views.onEach("setSize",[0,E]);this.views.onEach("adaptHeight");if(!this._autoHeight){var F=0,H=0,J=u.filter(this.views.views,function(G){(G=G.hasHScrollbar())?F++:H++;return!G});0<F&&0<H&&u.forEach(J,function(G){G.adaptHeight(!0)})}!0===this.autoHeight||
-1!=E||"number"==typeof this.autoHeight&&this.autoHeight>=this.get("rowCount")?this.scroller.windowHeight=E:this.scroller.windowHeight=Math.max(this.domNode.clientHeight-v,0)},startup:function(){this._started||(this.inherited(arguments),this.autoRender&&this.render())},render:function(){this.domNode&&this._started&&(this.hasLayout()?(this.update=this.defaultUpdate,this._render()):this.scroller.init(0,this.keepRows,this.rowsPerPage))},_render:function(){this.scroller.init(this.get("rowCount"),this.keepRows,
this.rowsPerPage);this.prerender();this.setScrollTop(0);this.postrender()},prerender:function(){this.keepRows=this._autoHeight?0:this.keepRows;this.scroller.setKeepInfo(this.keepRows);this.views.render();this._resize()},postrender:function(){this.postresize();this.focus.initFocusView();z.setSelectable(this.domNode,this.selectable)},postresize:function(){if(this._autoHeight){var v=Math.max(this.views.measureContent())+"px";this.viewsNode.style.height=v}},renderRow:function(v,E){this.views.renderRow(v,
E,this._skipRowRenormalize)},rowRemoved:function(v){this.views.rowRemoved(v)},invalidated:null,updating:!1,beginUpdate:function(){this.invalidated=[];this.updating=!0},endUpdate:function(){this.updating=!1;var v=this.invalidated,E;if(v.all)this.update();else if(void 0!=v.rowCount)this.updateRowCount(v.rowCount);else for(E in v)this.updateRow(Number(E));this.invalidated=[]},defaultUpdate:function(){this.domNode&&(this.updating?this.invalidated.all=!0:(this.lastScrollTop=this.scrollTop,this.prerender(),
this.scroller.invalidateNodes(),this.setScrollTop(this.lastScrollTop),this.postrender()))},update:function(){this.render()},updateRow:function(v){v=Number(v);this.updating?this.invalidated[v]=!0:(this.views.updateRow(v),this.scroller.rowHeightChanged(v))},updateRows:function(v,E){v=Number(v);E=Number(E);var F;if(this.updating)for(F=0;F<E;F++)this.invalidated[F+v]=!0;else{for(F=0;F<E;F++)this.views.updateRow(F+v,this._skipRowRenormalize);this.scroller.rowHeightChanged(v)}},updateRowCount:function(v){this.updating?
this.invalidated.rowCount=v:(this.rowCount=v,this._setAutoHeightAttr(this.autoHeight,!0),this.layout.cells.length&&this.scroller.updateRowCount(v),this.layout.cells.length&&this.setScrollTop(this.scrollTop),this._resize())},updateRowStyles:function(v){this.views.updateRowStyles(v)},getRowNode:function(v){if(!this.focus.focusView||this.focus.focusView instanceof h)for(var E=0,F;F=this.views.views[E];E++){if(!(F instanceof h))return F.rowNodes[v]}else return this.focus.focusView.rowNodes[v];return null},
rowHeightChanged:function(v){this.views.renormalizeRow(v);this.scroller.rowHeightChanged(v)},fastScroll:!0,delayScroll:!1,scrollRedrawThreshold:q("ie")?100:50,scrollTo:function(v){if(this.fastScroll){var E=Math.abs(this.lastScrollTop-v);this.lastScrollTop=v;if(E>this.scrollRedrawThreshold||this.delayScroll){this.delayScroll=!0;this.scrollTop=v;this.views.setScrollTop(v);this._pendingScroll&&window.clearTimeout(this._pendingScroll);var F=this;this._pendingScroll=window.setTimeout(function(){delete F._pendingScroll;
F.finishScrollJob()},200)}else this.setScrollTop(v)}else this.setScrollTop(v)},finishScrollJob:function(){this.delayScroll=!1;this.setScrollTop(this.scrollTop)},setScrollTop:function(v){this.scroller.scroll(this.views.setScrollTop(v))},scrollToRow:function(v){this.setScrollTop(this.scroller.findScrollTop(v)+1)},styleRowNode:function(v,E){E&&this.rows.styleRowNode(v,E)},_mouseOut:function(v){this.rows.setOverRow(-2)},getCell:function(v){return this.layout.cells[v]},setCellWidth:function(v,E){this.getCell(v).unitWidth=
E},getCellName:function(v){return"Cell "+v.index},canSort:function(v){},sort:function(){},getSortAsc:function(v){v=void 0==v?this.sortInfo:v;return 0<v},getSortIndex:function(v){v=void 0==v?this.sortInfo:v;return Math.abs(v)-1},setSortIndex:function(v,E){var F=v+1;void 0!=E?F*=E?1:-1:this.getSortIndex()==v&&(F=-this.sortInfo);this.setSortInfo(F)},setSortInfo:function(v){this.canSort(v)&&(this.sortInfo=v,this.sort(),this.update())},doKeyEvent:function(v){v.dispatch="do"+v.type;this.onKeyEvent(v)},
_dispatch:function(v,E){return v in this?this[v](E):!1},dispatchKeyEvent:function(v){this._dispatch(v.dispatch,v)},dispatchContentEvent:function(v){this.edit.dispatchEvent(v)||v.sourceView.dispatchContentEvent(v)||this._dispatch(v.dispatch,v)},dispatchHeaderEvent:function(v){v.sourceView.dispatchHeaderEvent(v)||this._dispatch("doheader"+v.type,v)},dokeydown:function(v){this.onKeyDown(v)},doclick:function(v){if(v.cellNode)this.onCellClick(v);else this.onRowClick(v)},dodblclick:function(v){if(v.cellNode)this.onCellDblClick(v);
else this.onRowDblClick(v)},docontextmenu:function(v){if(v.cellNode)this.onCellContextMenu(v);else this.onRowContextMenu(v)},doheaderclick:function(v){if(v.cellNode)this.onHeaderCellClick(v);else this.onHeaderClick(v)},doheaderdblclick:function(v){if(v.cellNode)this.onHeaderCellDblClick(v);else this.onHeaderDblClick(v)},doheadercontextmenu:function(v){if(v.cellNode)this.onHeaderCellContextMenu(v);else this.onHeaderContextMenu(v)},doStartEdit:function(v,E){this.onStartEdit(v,E)},doApplyCellEdit:function(v,
E,F){this.onApplyCellEdit(v,E,F)},doCancelEdit:function(v){this.onCancelEdit(v)},doApplyEdit:function(v){this.onApplyEdit(v)},addRow:function(){this.updateRowCount(this.get("rowCount")+1)},removeSelectedRows:function(){this.allItemsSelected?this.updateRowCount(0):this.updateRowCount(Math.max(0,this.get("rowCount")-this.selection.getSelected().length));this.selection.clear()}});B.markupFactory=function(v,E,F,H){var J=function(G){G=z.attr(G,"width")||"auto";"auto"!=G&&"em"!=G.slice(-2)&&"%"!=G.slice(-1)&&
(G=parseInt(G,10)+"px");return G};v.structure||"table"!=E.nodeName.toLowerCase()||(v.structure=D("\x3e colgroup",E).map(function(G){var I=z.attr(G,"span");I={noscroll:"true"==z.attr(G,"noscroll")?!0:!1,__span:I?parseInt(I,10):1,cells:[]};z.hasAttr(G,"width")&&(I.width=J(G));return I}),v.structure.length||v.structure.push({__span:Infinity,cells:[]}),D("thead \x3e tr",E).forEach(function(G,I){var K=0,M=0,N,Q=null;D("\x3e th",G).map(function(P){Q?K>=N+Q.__span&&(M++,N+=Q.__span,Q=v.structure[M]):(N=
0,Q=v.structure[0]);var S={name:w.trim(z.attr(P,"name")||P.innerHTML),colSpan:parseInt(z.attr(P,"colspan")||1,10),type:w.trim(z.attr(P,"cellType")||""),id:w.trim(z.attr(P,"id")||"")};K+=S.colSpan;var L=z.attr(P,"rowspan");L&&(S.rowSpan=L);z.hasAttr(P,"width")&&(S.width=J(P));z.hasAttr(P,"relWidth")&&(S.relWidth=window.parseInt(z.attr(P,"relWidth"),10));z.hasAttr(P,"hidden")&&(S.hidden="true"==z.attr(P,"hidden")||!0===z.attr(P,"hidden"));H&&H(P,S);S.type=S.type?w.getObject(S.type):C.grid.cells.Cell;
S.type&&S.type.markupFactory&&S.type.markupFactory(P,S);Q.cells[I]||(Q.cells[I]=[]);Q.cells[I].push(S)})}));return new F(v,E)};return B})},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(A,C,B){return A("dojo.store.Memory",null,{constructor:function(x){for(var l in x)this[l]=x[l];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:B,get:function(x){return this.data[this.index[x]]},getIdentity:function(x){return x[this.idProperty]},
put:function(x,l){var f=this.data,g=this.index,d=this.idProperty;d=x[d]=l&&"id"in l?l.id:d in x?x[d]:Math.random();var c=f.length,a,b=d in g?"update":"add";if("update"===b){if(l&&!1===l.overwrite)throw Error("Object already exists");c=a=g[d]}l&&"before"in l?null==l.before?(g=f.length,"update"===b&&--g):(g=g[this.getIdentity(l.before)],a<g&&--g):g=c;g===a?f[g]=x:(void 0!==a&&f.splice(a,1),f.splice(g,0,x),this._rebuildIndex(void 0===a?g:Math.min(a,g)));return d},add:function(x,l){(l=l||{}).overwrite=
!1;return this.put(x,l)},remove:function(x){var l=this.index,f=this.data;if(x in l)return f.splice(l[x],1),this.index={},this._rebuildIndex(),!0},query:function(x,l){return C(this.queryEngine(x,l)(this.data))},setData:function(x){x.items?(this.idProperty=x.identifier||this.idProperty,x=this.data=x.items):this.data=x;this.index={};this._rebuildIndex()},_rebuildIndex:function(x){var l=this.data,f=l.length;for(x=x||0;x<f;x++)this.index[l[x][this.idProperty]]=x}})})},"dojo/hccss":function(){define("require ./_base/config ./dom-class ./dom-style ./has ./domReady ./_base/window".split(" "),
function(A,C,B,x,l,f,g){l.add("highcontrast",function(){var d=g.doc.createElement("div");try{d.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(C.blankGif||A.toUrl("./resources/blank.gif"))+'");';g.body().appendChild(d);var c=x.getComputedStyle(d),a=c.backgroundImage;return c.borderTopColor==c.borderRightColor||a&&("none"==a||"url(invalid-url:)"==a)}catch(b){return!1}finally{8>=l("ie")?d.outerHTML="":g.body().removeChild(d)}});
f(function(){l("highcontrast")&&B.add(g.body(),"dj_a11y")});return l})},"dojo/request/iframe":function(){define("module require ./watch ./util ./handlers ../_base/lang ../io-query ../query ../has ../dom ../dom-construct ../_base/window ../NodeList-dom ../NodeList-manipulate".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e){function h(w){return!this.isFulfilled()}function n(w){return!!this._finished}function r(w,q){if(!q)try{var t=w.options,z=m.doc(m._frame),D=t.handleAs;if("html"!==D){if("xml"===D)if("html"===
z.documentElement.tagName.toLowerCase()){d("a",z.documentElement).orphan();var v=z.documentElement.innerText||z.documentElement.textContent;v=v.replace(/>\s+</g,"\x3e\x3c");w.text=f.trim(v)}else w.data=z;else w.text=z.getElementsByTagName("textarea")[0].value;l(w)}else w.data=z}catch(E){q=E}q?this.reject(q):this._finished?this.resolve(w):this.reject(Error("Invalid dojo/request/iframe request state"))}function k(w){this._callNext()}function m(w,q,t){var z=x.parseArgs(w,x.deepCreate(u,q),!0);w=z.url;
q=z.options;if("GET"!==q.method&&"POST"!==q.method)throw Error(q.method+" not supported by dojo/request/iframe");m._frame||(m._frame=m.create(m._iframeName,p+"();"));w=x.deferred(z,null,h,n,r,k);w._callNext=function(){this._calledNext||(this._calledNext=!0,m._currentDfd=null,m._fireNextRequest())};w._legacy=t;m._dfdQueue.push(w);m._fireNextRequest();B(w);return t?w:w.promise}var y=A.id.replace(/[\/\.\-]/g,"_"),p=y+"_onload";e.global[p]||(e.global[p]=function(){var w=m._currentDfd;if(w){var q=a.byId(w.response.options.form)||
w._tmpForm;if(q){for(var t=w._contentToClean,z=0;z<t.length;z++)for(var D=t[z],v=0;v<q.childNodes.length;v++){var E=q.childNodes[v];if(E.name===D){b.destroy(E);break}}w._originalAction&&q.setAttribute("action",w._originalAction);w._originalMethod&&(q.setAttribute("method",w._originalMethod),q.method=w._originalMethod);w._originalTarget&&(q.setAttribute("target",w._originalTarget),q.target=w._originalTarget)}w._tmpForm&&(b.destroy(w._tmpForm),delete w._tmpForm);w._finished=!0}else m._fireNextRequest()});
var u={method:"POST"};m.create=function(w,q,t){if(e.global[w])return e.global[w];if(e.global.frames[w])return e.global.frames[w];t||(c("config-useXDomain")&&c("config-dojoBlankHtmlUrl"),t=c("config-dojoBlankHtmlUrl")||C.toUrl("dojo/resources/blank.html"));q=b.place('\x3ciframe id\x3d"'+w+'" name\x3d"'+w+'" src\x3d"'+t+'" onload\x3d"'+q+'" style\x3d"position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden"\x3e',e.body());return e.global[w]=q};m.doc=function(w){if(w.contentDocument)return w.contentDocument;
var q=w.name;if(q){var t=e.doc.getElementsByTagName("iframe");if(w.document&&t[q].contentWindow&&t[q].contentWindow.document)return t[q].contentWindow.document;if(e.doc.frames[q]&&e.doc.frames[q].document)return e.doc.frames[q].document}return null};m.setSrc=function(w,q,t){w=e.global.frames[w.name];w.contentWindow&&(w=w.contentWindow);try{t?w.location.replace(q):w.location=q}catch(z){}};m._iframeName=y+"_IoIframe";m._notifyStart=function(){};m._dfdQueue=[];m._currentDfd=null;m._fireNextRequest=function(){try{if(!m._currentDfd&&
m._dfdQueue.length){do var w=m._currentDfd=m._dfdQueue.shift();while(w&&(w.canceled||w.isCanceled&&w.isCanceled())&&m._dfdQueue.length);if(!w||w.canceled||w.isCanceled&&w.isCanceled())m._currentDfd=null;else{var q=w.response,t=q.options,z=w._contentToClean=[],D=a.byId(t.form),v=x.notify,E=t.data||null;if(!w._legacy&&"POST"===t.method&&!D)D=w._tmpForm=b.create("form",{name:y+"_form",style:{position:"absolute",top:"-1000px",left:"-1000px"}},e.body());else if("GET"===t.method&&D&&-1<q.url.indexOf("?")){var F=
q.url.slice(q.url.indexOf("?")+1);E=f.mixin(g.queryToObject(F),E)}if(D){if(!w._legacy){var H=D;do H=H.parentNode;while(H&&H!==e.doc.documentElement);H||(D.style.position="absolute",D.style.left="-1000px",D.style.top="-1000px",e.body().appendChild(D));D.name||(D.name=y+"_form")}if(E){H=function(Q,P){b.create("input",{type:"hidden",name:Q,value:P},D);z.push(Q)};for(var J in E){var G=E[J];if(f.isArray(G)&&1<G.length)for(F=0;F<G.length;F++)H(J,G[F]);else{var I=d("input[name\x3d'"+J+"']",D);-1==I.indexOf()?
H(J,G):I.val(G)}}}var K=D.getAttributeNode("action"),M=D.getAttributeNode("method"),N=D.getAttributeNode("target");q.url&&(w._originalAction=K?K.value:null,K?K.value=q.url:D.setAttribute("action",q.url));w._legacy?M&&M.value||(M?M.value=t.method:D.setAttribute("method",t.method)):(w._originalMethod=M?M.value:null,M?M.value=t.method:D.setAttribute("method",t.method));w._originalTarget=N?N.value:null;N?N.value=m._iframeName:D.setAttribute("target",m._iframeName);D.target=m._iframeName;v&&v.emit("send",
q,w.promise.cancel);m._notifyStart(q);D.submit()}else t="",q.options.data&&(t=q.options.data,"string"!==typeof t&&(t=g.objectToQuery(t))),H=q.url+(-1<q.url.indexOf("?")?"\x26":"?")+t,v&&v.emit("send",q,w.promise.cancel),m._notifyStart(q),m.setSrc(m._frame,H,!0)}}}catch(Q){w.reject(Q)}};x.addCommonMethods(m,["GET","POST"]);return m})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(A,C,B){function x(z,D,v,E,F){if(E=D.match(/(.*):(.*)/))return D=
E[2],E=E[1],d.selector(E,D).call(F,z,v);B("touch")&&(c.test(D)&&(v=t(v)),B("event-orientationchange")||"orientationchange"!=D||(D="resize",z=window,v=t(v)));n&&(v=n(v));if(z.addEventListener){var H=D in e,J=H?e[D]:D;z.addEventListener(J,v,H);return{remove:function(){z.removeEventListener(J,v,H)}}}if(y&&z.attachEvent)return y(z,"on"+D,v);throw Error("Target must be an event emitter");}function l(){this.cancelable=!1;this.defaultPrevented=!0}function f(){this.bubbles=!1}var g=window.ScriptEngineMajorVersion;
B.add("jscript",g&&g()+ScriptEngineMinorVersion()/10);B.add("event-orientationchange",B("touch")&&!B("android"));B.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);B.add("event-focusin",function(z,D,v){return"onfocusin"in v});B("touch")&&B.add("touch-can-modify-event-delegate",function(){var z=function(){};z.prototype=document.createEvent("MouseEvents");try{var D=new z;D.target=null;return null===D.target}catch(v){return!1}});
var d=function(z,D,v,E){return"function"!=typeof z.on||"function"==typeof D||z.nodeType?d.parse(z,D,v,x,E,this):z.on(D,v)};d.pausable=function(z,D,v,E){var F;z=d(z,D,function(){if(!F)return v.apply(this,arguments)},E);z.pause=function(){F=!0};z.resume=function(){F=!1};return z};d.once=function(z,D,v,E){var F=d(z,D,function(){F.remove();return v.apply(this,arguments)});return F};d.parse=function(z,D,v,E,F,H){var J;if(D.call)return D.call(H,z,v);D instanceof Array?J=D:-1<D.indexOf(",")&&(J=D.split(/\s*,\s*/));
if(J){var G=[];D=0;for(var I;I=J[D++];)G.push(d.parse(z,I,v,E,F,H));G.remove=function(){for(var K=0;K<G.length;K++)G[K].remove()};return G}return E(z,D,v,F,H)};var c=/^touch/;d.matches=function(z,D,v,E,F){F=F&&"function"==typeof F.matches?F:C.query;E=!1!==E;1!=z.nodeType&&(z=z.parentNode);for(;!F.matches(z,D,v);)if(z==v||!1===E||!(z=z.parentNode)||1!=z.nodeType)return!1;return z};d.selector=function(z,D,v){return function(E,F){function H(I){return d.matches(I,z,E,v,J)}var J="function"==typeof z?{matches:z}:
this,G=D.bubble;return G?d(E,G(H),F):d(E,D,function(I){var K=H(I.target);if(K)return I.selectorTarget=K,F.call(K,I)})}};var a=[].slice,b=d.emit=function(z,D,v){var E=a.call(arguments,2),F="on"+D;if("parentNode"in z){var H=E[0]={},J;for(J in v)H[J]=v[J];H.preventDefault=l;H.stopPropagation=f;H.target=z;H.type=D;v=H}do z[F]&&z[F].apply(z,E);while(v&&v.bubbles&&(z=z.parentNode));return v&&v.cancelable&&v},e=B("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!B("event-stopimmediatepropagation"))var h=
function(){this.modified=this.immediatelyStopped=!0},n=function(z){return function(D){if(!D.immediatelyStopped)return D.stopImmediatePropagation=h,z.apply(this,arguments)}};if(B("dom-addeventlistener"))d.emit=function(z,D,v){if(z.dispatchEvent&&document.createEvent){var E=(z.ownerDocument||document).createEvent("HTMLEvents");E.initEvent(D,!!v.bubbles,!!v.cancelable);for(var F in v)F in E||(E[F]=v[F]);return z.dispatchEvent(E)&&E}return b.apply(d,arguments)};else{d._fixEvent=function(z,D){z||(z=(D&&
(D.ownerDocument||D.document||D).parentWindow||window).event);if(!z)return z;try{r&&z.type==r.type&&z.srcElement==r.target&&(z=r)}catch(E){}if(!z.target)switch(z.target=z.srcElement,z.currentTarget=D||z.srcElement,"mouseover"==z.type&&(z.relatedTarget=z.fromElement),"mouseout"==z.type&&(z.relatedTarget=z.toElement),z.stopPropagation||(z.stopPropagation=p,z.preventDefault=u),z.type){case "keypress":var v="charCode"in z?z.charCode:z.keyCode;10==v?(v=0,z.keyCode=13):13==v||27==v?v=0:3==v&&(v=99);z.charCode=
v;v=z;v.keyChar=v.charCode?String.fromCharCode(v.charCode):"";v.charOrCode=v.keyChar||v.keyCode}return z};var r,k=function(z){this.handle=z};k.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var m=function(z){return function(D){D=d._fixEvent(D,this);var v=z.call(this,D);D.modified&&(r||setTimeout(function(){r=null}),r=D);return v}},y=function(z,D,v){v=m(v);if(((z.ownerDocument?z.ownerDocument.parentWindow:z.parentWindow||z.window||window)!=top||5.8>B("jscript"))&&!B("config-_allow_leaks")){"undefined"==
typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var E=z[D];if(!E||!E.listeners){var F=E;E=Function("event","var callee \x3d arguments.callee; for(var i \x3d 0; i\x3ccallee.listeners.length; i++){var listener \x3d _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");E.listeners=[];z[D]=E;E.global=this;F&&E.listeners.push(_dojoIEListeners_.push(F)-1)}E.listeners.push(z=E.global._dojoIEListeners_.push(v)-1);return new k(z)}return A.after(z,D,v,!0)},p=function(){this.cancelBubble=
!0},u=d._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(z){}this.defaultPrevented=!0;this.returnValue=!1;this.modified=!0}}if(B("touch"))var w=function(){},q=window.orientation,t=function(z){return function(D){var v=D.corrected;if(!v){var E=D.type;try{delete D.type}catch(J){}if(D.type){if(B("touch-can-modify-event-delegate"))w.prototype=D,v=new w;else{v={};for(var F in D)v[F]=D[F]}v.preventDefault=function(){D.preventDefault()};v.stopPropagation=
function(){D.stopPropagation()}}else v=D,v.type=E;D.corrected=v;if("resize"==E){if(q==window.orientation)return null;q=window.orientation;v.type="orientationchange";return z.call(this,v)}"rotation"in v||(v.rotation=0,v.scale=1);if(window.TouchEvent&&D instanceof TouchEvent){E=v.changedTouches[0];for(var H in E)delete v[H],v[H]=E[H]}}return z.call(this,v)}};return d})},"dojo/errors/create":function(){define(["../_base/lang"],function(A){return function(C,B,x,l){x=x||Error;var f=function(g){if(x===
Error){Error.captureStackTrace&&Error.captureStackTrace(this,f);var d=Error.call(this,g),c;for(c in d)d.hasOwnProperty(c)&&(this[c]=d[c]);this.message=g;this.stack=d.stack}else x.apply(this,arguments);B&&B.apply(this,arguments)};f.prototype=A.delegate(x.prototype,l);f.prototype.name=C;return f.prototype.constructor=f}})},"dojox/grid/_Events":function(){define(["dojo/keys","dojo/dom-class","dojo/_base/declare","dojo/_base/event","dojo/_base/sniff"],function(A,C,B,x,l){return B("dojox.grid._Events",
null,{cellOverClass:"dojoxGridCellOver",onKeyEvent:function(f){this.dispatchKeyEvent(f)},onContentEvent:function(f){this.dispatchContentEvent(f)},onHeaderEvent:function(f){this.dispatchHeaderEvent(f)},onStyleRow:function(f){f.customClasses+=(f.odd?" dojoxGridRowOdd":"")+(f.selected?" dojoxGridRowSelected":"")+(f.over?" dojoxGridRowOver":"");this.focus.styleRow(f);this.edit.styleRow(f)},onKeyDown:function(f){if(!f.altKey&&!f.metaKey)switch(f.keyCode){case A.ESCAPE:this.edit.cancel();break;case A.ENTER:if(!this.edit.isEditing()){var g=
this.focus.getHeaderIndex();if(0<=g){this.setSortIndex(g);break}else this.selection.clickSelect(this.focus.rowIndex,dojo.isCopyKey(f),f.shiftKey);x.stop(f)}f.shiftKey||(g=this.edit.isEditing(),this.edit.apply(),g||this.edit.setEditCell(this.focus.cell,this.focus.rowIndex));this.edit.isEditing()||((this.focus.focusView||this.views.views[0]).content.decorateEvent(f),this.onRowClick(f),x.stop(f));break;case A.SPACE:this.edit.isEditing()||(g=this.focus.getHeaderIndex(),0<=g?this.setSortIndex(g):(this.selection.clickSelect(this.focus.rowIndex,
dojo.isCopyKey(f),f.shiftKey),this.focus._focusifyCellNode(!0),this.focus.setFocusCell(this.focus.cell,this.focus.rowIndex),x.stop(f)));break;case A.TAB:this.focus[f.shiftKey?"previousKey":"nextKey"](f);break;case A.LEFT_ARROW:case A.RIGHT_ARROW:if(!this.edit.isEditing()){var d=f.keyCode;x.stop(f);g=this.focus.getHeaderIndex();0<=g&&f.shiftKey&&f.ctrlKey?this.focus.colSizeAdjust(f,g,5*(d==A.LEFT_ARROW?-1:1)):(f=d==A.LEFT_ARROW?1:-1,this.isLeftToRight()&&(f*=-1),this.focus.move(0,f))}break;case A.UP_ARROW:this.edit.isEditing()||
0===this.focus.rowIndex||(x.stop(f),this.focus.move(-1,0));break;case A.DOWN_ARROW:this.edit.isEditing()||this.focus.rowIndex+1==this.rowCount||(x.stop(f),this.focus.move(1,0));break;case A.PAGE_UP:this.edit.isEditing()||0===this.focus.rowIndex||(x.stop(f),this.focus.rowIndex!=this.scroller.firstVisibleRow+1?this.focus.move(this.scroller.firstVisibleRow-this.focus.rowIndex,0):(this.setScrollTop(this.scroller.findScrollTop(this.focus.rowIndex-1)),this.focus.move(this.scroller.firstVisibleRow-this.scroller.lastVisibleRow+
1,0)));break;case A.PAGE_DOWN:this.edit.isEditing()||this.focus.rowIndex+1==this.rowCount||(x.stop(f),this.focus.rowIndex!=this.scroller.lastVisibleRow-1?this.focus.move(this.scroller.lastVisibleRow-this.focus.rowIndex-1,0):(this.setScrollTop(this.scroller.findScrollTop(this.focus.rowIndex+1)),this.focus.move(this.scroller.lastVisibleRow-this.scroller.firstVisibleRow-1,0)))}},onMouseOver:function(f){-1==f.rowIndex?this.onHeaderCellMouseOver(f):this.onCellMouseOver(f)},onMouseOut:function(f){-1==f.rowIndex?
this.onHeaderCellMouseOut(f):this.onCellMouseOut(f)},onMouseDown:function(f){-1==f.rowIndex?this.onHeaderCellMouseDown(f):this.onCellMouseDown(f)},onMouseOverRow:function(f){this.rows.isOver(f.rowIndex)||(this.rows.setOverRow(f.rowIndex),-1==f.rowIndex?this.onHeaderMouseOver(f):this.onRowMouseOver(f))},onMouseOutRow:function(f){if(this.rows.isOver(-1))this.onHeaderMouseOut(f);else this.rows.isOver(-2)||(this.rows.setOverRow(-2),this.onRowMouseOut(f))},onMouseDownRow:function(f){if(-1!=f.rowIndex)this.onRowMouseDown(f)},
onCellMouseOver:function(f){f.cellNode&&C.add(f.cellNode,this.cellOverClass)},onCellMouseOut:function(f){f.cellNode&&C.remove(f.cellNode,this.cellOverClass)},onCellMouseDown:function(f){},onCellClick:function(f){this._click[0]=this._click[1];this._click[1]=f;this.edit.isEditCell(f.rowIndex,f.cellIndex)||this.focus.setFocusCell(f.cell,f.rowIndex);1<this._click.length&&null==this._click[0]&&this._click.shift();this.onRowClick(f)},onCellDblClick:function(f){var g=1<this._click.length&&l("ie")?this._click[1]:
1<this._click.length&&this._click[0].rowIndex!=this._click[1].rowIndex?this._click[0]:f;this.focus.setFocusCell(g.cell,g.rowIndex);this.edit.setEditCell(g.cell,g.rowIndex);this.onRowDblClick(f)},onCellContextMenu:function(f){this.onRowContextMenu(f)},onCellFocus:function(f,g){this.edit.cellFocus(f,g)},onRowClick:function(f){this.edit.rowClick(f);this.selection.clickSelectEvent(f)},onRowDblClick:function(f){},onRowMouseOver:function(f){},onRowMouseOut:function(f){},onRowMouseDown:function(f){},onRowContextMenu:function(f){x.stop(f)},
onHeaderMouseOver:function(f){},onHeaderMouseOut:function(f){},onHeaderCellMouseOver:function(f){f.cellNode&&C.add(f.cellNode,this.cellOverClass)},onHeaderCellMouseOut:function(f){f.cellNode&&C.remove(f.cellNode,this.cellOverClass)},onHeaderCellMouseDown:function(f){},onHeaderClick:function(f){},onHeaderCellClick:function(f){this.setSortIndex(f.cell.index);this.onHeaderClick(f)},onHeaderDblClick:function(f){},onHeaderCellDblClick:function(f){this.onHeaderDblClick(f)},onHeaderCellContextMenu:function(f){this.onHeaderContextMenu(f)},
onHeaderContextMenu:function(f){this.headerMenu||x.stop(f)},onStartEdit:function(f,g){},onApplyCellEdit:function(f,g,d){},onCancelEdit:function(f){},onApplyEdit:function(f){},onCanSelect:function(f){return!0},onCanDeselect:function(f){return!0},onSelected:function(f){this.updateRowStyles(f)},onDeselected:function(f){this.updateRowStyles(f)},onSelectionChanged:function(){}})})},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(A,C,B){return A("dijit.form._ListBase",
null,{selected:null,_listConnect:function(x,l){var f=this;return f.own(C(f.containerNode,C.selector(function(g,d,c){return g.parentNode==c},x),function(g){f[l](g,this)}))},selectFirstNode:function(){for(var x=this.containerNode.firstChild;x&&"none"==x.style.display;)x=x.nextSibling;this._setSelectedAttr(x,!0)},selectLastNode:function(){for(var x=this.containerNode.lastChild;x&&"none"==x.style.display;)x=x.previousSibling;this._setSelectedAttr(x,!0)},selectNextNode:function(){var x=this.selected;if(x){for(x=
x.nextSibling;x&&"none"==x.style.display;)x=x.nextSibling;x?this._setSelectedAttr(x,!0):this.selectFirstNode()}else this.selectFirstNode()},selectPreviousNode:function(){var x=this.selected;if(x){for(x=x.previousSibling;x&&"none"==x.style.display;)x=x.previousSibling;x?this._setSelectedAttr(x,!0):this.selectLastNode()}else this.selectLastNode()},_setSelectedAttr:function(x,l){if(this.selected!=x){var f=this.selected;if(f)this.onDeselect(f);x&&(l&&B.scrollIntoView(x),this.onSelect(x));this._set("selected",
x)}else if(x)this.onSelect(x)}})})},"dijit/typematic":function(){define("dojo/_base/array dojo/_base/connect dojo/_base/lang dojo/on dojo/sniff ./main".split(" "),function(A,C,B,x,l,f){var g=f.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(0>this._currentTimeout?this._initialDelay:1<this._subsequentDelay?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay);this._timer=
setTimeout(B.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(d,c,a,b,e,h,n,r){if(e!=this._obj){this.stop();this._initialDelay=n||500;this._subsequentDelay=h||.9;this._minDelay=r||10;this._obj=e;this._node=a;this._count=this._currentTimeout=-1;this._callback=B.hitch(c,b);this._evt={faux:!0};for(var k in d)"layerX"!=k&&"layerY"!=k&&(c=d[k],"function"!=typeof c&&"undefined"!=typeof c&&(this._evt[k]=c));this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),
this._timer=null);this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(d,c,a,b,e,h,n){var r="keyCode"in c?"keyCode":"charCode"in c?"charCode":"charOrCode",k=[x(d,"keyCode"in c?"keydown":"charCode"in c?"keypress":C._keypress,B.hitch(this,function(m){m[r]!=c[r]||void 0!==c.ctrlKey&&c.ctrlKey!=m.ctrlKey||void 0!==c.altKey&&c.altKey!=m.altKey||void 0!==c.metaKey&&c.metaKey!=(m.metaKey||!1)||void 0!==c.shiftKey&&c.shiftKey!=m.shiftKey?g._obj==c&&g.stop():(m.stopPropagation(),
m.preventDefault(),g.trigger(m,a,d,b,c,e,h,n))})),x(d,"keyup",B.hitch(this,function(){g._obj==c&&g.stop()}))];return{remove:function(){A.forEach(k,function(m){m.remove()})}}},addMouseListener:function(d,c,a,b,e,h){var n=[x(d,"mousedown",B.hitch(this,function(r){r.preventDefault();g.trigger(r,c,d,a,d,b,e,h)})),x(d,"mouseup",B.hitch(this,function(r){this._obj&&r.preventDefault();g.stop()})),x(d,"mouseout",B.hitch(this,function(r){this._obj&&r.preventDefault();g.stop()})),x(d,"dblclick",B.hitch(this,
function(r){r.preventDefault();9>l("ie")&&(g.trigger(r,c,d,a,d,b,e,h),setTimeout(B.hitch(this,g.stop),50))}))];return{remove:function(){A.forEach(n,function(r){r.remove()})}}},addListener:function(d,c,a,b,e,h,n,r){var k=[this.addKeyListener(c,a,b,e,h,n,r),this.addMouseListener(d,b,e,h,n,r)];return{remove:function(){A.forEach(k,function(m){m.remove()})}}}};return g})},"dijit/_editor/plugins/FontChoice":function(){define("require dojo/_base/array dojo/_base/declare dojo/dom-construct dojo/i18n dojo/_base/lang dojo/string dojo/store/Memory ../../registry ../../_Widget ../../_TemplatedMixin ../../_WidgetsInTemplateMixin ../../form/FilteringSelect ../_Plugin ../range dojo/i18n!../nls/FontChoice".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r){A=B("dijit._editor.plugins._FontDropDown",[a,b,e],{label:"",plainText:!1,templateString:"\x3cspan style\x3d'white-space: nowrap' class\x3d'dijit dijitReset dijitInline'\x3e\x3clabel class\x3d'dijitLeft dijitInline' for\x3d'${selectId}'\x3e${label}\x3c/label\x3e\x3cinput data-dojo-type\x3d'../../form/FilteringSelect' required\x3d'false' data-dojo-props\x3d'labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' class\x3d'${comboClass}' tabIndex\x3d'-1' id\x3d'${selectId}' data-dojo-attach-point\x3d'select' value\x3d''/\x3e\x3c/span\x3e",
contextRequire:A,postMixInProperties:function(){this.inherited(arguments);this.strings=l.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=c.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments)},postCreate:function(){this.select.set("store",new d({idProperty:"value",data:C.map(this.values,function(u){var w=this.strings[u]||u;return{label:this.getLabel(u,w),name:w,value:u}},this)}));this.select.set("value",
"",!1);this.disabled=this.select.get("disabled")},_setValueAttr:function(u,w){w=!1!==w;this.select.set("value",0>C.indexOf(this.values,u)?"":u,w);w||(this.select._lastValueReported=null)},_getValueAttr:function(){return this.select.get("value")},focus:function(){this.select.focus()},_setDisabledAttr:function(u){this._set("disabled",u);this.select.set("disabled",u)}});var k=B("dijit._editor.plugins._FontNameDropDown",A,{generic:!1,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){this.values||
(this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"]);this.inherited(arguments)},getLabel:function(u,w){return this.plainText?w:"\x3cdiv style\x3d'font-family: "+u+"'\x3e"+w+"\x3c/div\x3e"},_normalizeFontName:function(u){var w=this.values;if(!u||!w)return u;var q=u.split(",");if(1<q.length)for(var t=0,z=q.length;t<z;t++){var D=g.trim(q[t]);if(-1<C.indexOf(w,D))return D}return u},_setValueAttr:function(u,w){w=!1!==
w;u=this._normalizeFontName(u);this.generic&&(u={Arial:"sans-serif",Helvetica:"sans-serif",Myriad:"sans-serif",Times:"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive",Courier:"monospace","Courier New":"monospace",Papyrus:"fantasy","Estrangelo Edessa":"cursive",Gabriola:"fantasy"}[u]||u);this.inherited(arguments,[u,w])}}),m=B("dijit._editor.plugins._FontSizeDropDown",A,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(u,
w){return this.plainText?w:"\x3cfont size\x3d"+u+"'\x3e"+w+"\x3c/font\x3e"},_setValueAttr:function(u,w){w=!1!==w;u.indexOf&&-1!=u.indexOf("px")&&(u={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[parseInt(u,10)]||u);this.inherited(arguments,[u,w])}}),y=B("dijit._editor.plugins._FormatBlockDropDown",A,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:"noFormat p h1 h2 h3 pre".split(" "),postCreate:function(){this.inherited(arguments);this.set("value","noFormat",!1)},getLabel:function(u,w){return this.plainText||
"noFormat"==u?w:"\x3c"+u+"\x3e"+w+"\x3c/"+u+"\x3e"},_execCommand:function(u,w,q){if("noFormat"===q){var t;if((w=r.getSelection(u.window))&&0<w.rangeCount&&(q=w.getRangeAt(0),q)){w=q.startContainer;for(t=q.endContainer;w&&w!==u.editNode&&w!==u.document.body&&1!==w.nodeType;)w=w.parentNode;for(;t&&t!==u.editNode&&t!==u.document.body&&1!==t.nodeType;)t=t.parentNode;var z=f.hitch(this,function(F,H){if(F.childNodes&&F.childNodes.length){var J;for(J=0;J<F.childNodes.length;J++){var G=F.childNodes[J];if(1==
G.nodeType&&u.selection.inSelection(G)){var I=G.tagName?G.tagName.toLowerCase():"";-1!==C.indexOf(this.values,I)&&H.push(G);z(G,H)}}}});q=f.hitch(this,function(F){if(F&&F.length){for(u.beginEditing();F.length;)this._removeFormat(u,F.pop());u.endEditing()}});var D=[];if(w==t){for(t=w;t&&t!==u.editNode&&t!==u.document.body;){if(1==t.nodeType){var v=t.tagName?t.tagName.toLowerCase():"";if(-1!==C.indexOf(this.values,v)){var E=t;break}}t=t.parentNode}z(w,D);E&&(D=[E].concat(D))}else for(t=w;u.selection.inSelection(t);)1==
t.nodeType&&(v=t.tagName?t.tagName.toLowerCase():"",-1!==C.indexOf(this.values,v)&&D.push(t),z(t,D)),t=t.nextSibling;q(D);u.onDisplayChanged()}}else u.execCommand(w,q)},_removeFormat:function(u,w){if(u.customUndo){for(;w.firstChild;)x.place(w.firstChild,w,"before");w.parentNode.removeChild(w)}else{u.selection.selectElementChildren(w);var q=u.selection.getSelectedHtml();u.selection.selectElement(w);u.execCommand("inserthtml",q||"")}}}),p=B("dijit._editor.plugins.FontChoice",n,{useDefaultCommand:!1,
_initButton:function(){var u={fontName:k,fontSize:m,formatBlock:y}[this.command],w=this.params;this.params.custom&&(w.values=this.params.custom);var q=this.editor;this.button=new u(f.delegate({dir:q.dir,lang:q.lang},w));this.own(this.button.select.on("change",f.hitch(this,function(t){this.editor.focused&&this.editor.focus();"fontName"==this.command&&-1!=t.indexOf(" ")&&(t="'"+t+"'");this.button._execCommand?this.button._execCommand(this.editor,this.command,t):this.editor.execCommand(this.command,
t)})))},updateState:function(){var u=this.editor,w=this.command;if(u&&u.isLoaded&&w.length&&this.button){var q=this.get("disabled");this.button.set("disabled",q);if(!q){try{var t=u.queryCommandValue(w)||""}catch(D){t=""}(q=f.isString(t)&&(t.match(/'([^']*)'/)||t.match(/"([^"]*)"/)))&&(t=q[1]);"fontSize"!==w||t||(t=3);if("formatBlock"===w)if(t&&"p"!=t)0>C.indexOf(this.button.values,t)&&(t="noFormat");else{t=null;if((w=r.getSelection(this.editor.window))&&0<w.rangeCount&&(w=w.getRangeAt(0)))var z=w.endContainer;
for(;z&&z!==u.editNode&&z!==u.document;){if((w=z.tagName?z.tagName.toLowerCase():"")&&-1<C.indexOf(this.button.values,w)){t=w;break}z=z.parentNode}t||(t="noFormat")}t!==this.button.get("value")&&this.button.set("value",t,!1)}}}});C.forEach(["fontName","fontSize","formatBlock"],function(u){n.registry[u]=function(w){return new p({command:u,plainText:w.plainText})}});p._FontDropDown=A;p._FontNameDropDown=k;p._FontSizeDropDown=m;p._FormatBlockDropDown=y;return p})},"dojo/dnd/move":function(){define("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),
function(A,C,B,x,l,f){x=A("dojo.dnd.move.constrainedMoveable",f,{constraints:function(){},within:!1,constructor:function(g,d){d||(d={});this.constraints=d.constraints;this.within=d.within},onFirstMove:function(g){var d=this.constraintBox=this.constraints.call(this,g);d.r=d.l+d.w;d.b=d.t+d.h;this.within&&(g=C.getMarginSize(g.node),d.r-=g.w,d.b-=g.h)},onMove:function(g,d){var c=this.constraintBox,a=g.node.style;this.onMoving(g,d);d.l=d.l<c.l?c.l:c.r<d.l?c.r:d.l;d.t=d.t<c.t?c.t:c.b<d.t?c.b:d.t;a.left=
d.l+"px";a.top=d.t+"px";this.onMoved(g,d)}});l=A("dojo.dnd.move.boxConstrainedMoveable",x,{box:{},constructor:function(g,d){var c=d&&d.box;this.constraints=function(){return c}}});A=A("dojo.dnd.move.parentConstrainedMoveable",x,{area:"content",constructor:function(g,d){var c=d&&d.area;this.constraints=function(){var a=this.node.parentNode,b=B.getComputedStyle(a),e=C.getMarginBox(a,b);if("margin"==c)return e;var h=C.getMarginExtents(a,b);e.l+=h.l;e.t+=h.t;e.w-=h.w;e.h-=h.h;if("border"==c)return e;
h=C.getBorderExtents(a,b);e.l+=h.l;e.t+=h.t;e.w-=h.w;e.h-=h.h;if("padding"==c)return e;h=C.getPadExtents(a,b);e.l+=h.l;e.t+=h.t;e.w-=h.w;e.h-=h.h;return e}}});return{constrainedMoveable:x,boxConstrainedMoveable:l,parentConstrainedMoveable:A}})},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(A,C,B,x){function l(e,h,n){if(!e||!1!==e.log){var r="";e&&e.stack&&(r+=e.stack);h&&h.stack&&(r+="\n    ----------------------------------------\n    rejected"+
h.stack.split("\n").slice(1).join("\n").replace(/^\s+/," "));n&&n.stack&&(r+="\n    ----------------------------------------\n"+n.stack)}}function f(e,h,n,r){h||l(e,n,r)}function g(e,h,n,r){x.some(c,function(k){if(k.error===e)return h&&(k.handled=!0),!0})||c.push({error:e,rejection:n,handled:h,deferred:r,timestamp:(new Date).getTime()});a||(a=setTimeout(d,b))}function d(){var e=(new Date).getTime(),h=e-b;c=x.filter(c,function(n){return n.timestamp<h?(n.handled||l(n.error,n.rejection,n.deferred),!1):
!0});a=c.length?setTimeout(d,c[0].timestamp+b-e):!1}C.add("config-useDeferredInstrumentation","report-unhandled-rejections");var c=[],a=!1,b=1E3;return function(e){var h=C("config-useDeferredInstrumentation");if(h){A.on("resolved",B.hitch(console,"log","resolved"));A.on("rejected",B.hitch(console,"log","rejected"));A.on("progress",B.hitch(console,"log","progress"));var n=[];"string"===typeof h&&(n=h.split(","),h=n.shift());if("report-rejections"===h)e.instrumentRejected=f;else if("report-unhandled-rejections"===
h||!0===h||1===h)e.instrumentRejected=g,b=parseInt(n[0],10)||b;else throw Error("Unsupported instrumentation usage \x3c"+h+"\x3e");}}})},"dijit/_editor/plugins/ViewSource":function(){define("dojo/_base/array dojo/aspect dojo/_base/declare dojo/dom-attr dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/i18n dojo/keys dojo/_base/lang dojo/on dojo/sniff dojo/window ../../focus ../_Plugin ../../form/ToggleButton ../.. ../../registry dojo/i18n!../nls/commands".split(" "),function(A,C,B,x,l,f,g,
d,c,a,b,e,h,n,r,k,m,y){var p=B("dijit._editor.plugins.ViewSource",r,{stripScripts:!0,stripComments:!0,stripIFrames:!0,stripEventHandlers:!0,readOnly:!1,_fsPlugin:null,toggle:function(){e("webkit")&&(this._vsFocused=!0);this.button.set("checked",!this.button.get("checked"))},_initButton:function(){var u=d.getLocalization("dijit._editor","commands"),w=this.editor;this.button=new k({label:u.viewSource,ownerDocument:w.ownerDocument,dir:w.dir,lang:w.lang,showLabel:!1,iconClass:this.iconClassPrefix+" "+
this.iconClassPrefix+"ViewSource",tabIndex:"-1",onChange:a.hitch(this,"_showSource")});this.button.set("readOnly",!1)},setEditor:function(u){this.editor=u;this._initButton();this.removeValueFilterHandles();this._setValueFilterHandle=C.before(this.editor,"setValue",a.hitch(this,function(w){return[this._filter(w)]}));this._getValueFilterHandle=C.after(this.editor,"getValue",a.hitch(this,function(w){return this._filter(w)}));this.editor.addKeyHandler(c.F12,!0,!0,a.hitch(this,function(w){this.button.focus();
this.toggle();w.stopPropagation();w.preventDefault();setTimeout(a.hitch(this,function(){this.editor.focused&&this.editor.focus()}),100)}))},_showSource:function(u){var w=this.editor,q=w._plugins;this._sourceShown=u;var t=this;try{this.sourceArea||this._createSourceView();if(u)w._sourceQueryCommandEnabled=w.queryCommandEnabled,w.queryCommandEnabled=function(D){return"viewsource"===D.toLowerCase()},this.editor.onDisplayChanged(),A.forEach(q,function(D){!D||D instanceof p||!D.isInstanceOf(r)||D.set("disabled",
!0)}),this._fsPlugin&&(this._fsPlugin._getAltViewNode=function(){return t.sourceArea}),this.sourceArea.value=w.get("value"),this.sourceArea.style.height=w.iframe.style.height,this.sourceArea.style.width=w.iframe.style.width,w.iframe.parentNode.style.position="relative",g.set(w.iframe,{position:"absolute",top:0,visibility:"hidden"}),g.set(this.sourceArea,{display:"block"}),this._resizeHandle=b(window,"resize",a.hitch(this,function(){var D=h.getBox(w.ownerDocument);"_prevW"in this&&"_prevH"in this&&
D.w===this._prevW&&D.h===this._prevH||(this._prevW=D.w,this._prevH=D.h,this._resizer&&(clearTimeout(this._resizer),delete this._resizer),this._resizer=setTimeout(a.hitch(this,function(){delete this._resizer;this._resize()}),10))})),setTimeout(a.hitch(this,this._resize),100),this.editor.onNormalizedDisplayChanged(),this.editor.__oldGetValue=this.editor.getValue,this.editor.getValue=a.hitch(this,function(){var D=this.sourceArea.value;return D=this._filter(D)}),this._setListener=C.after(this.editor,
"setValue",a.hitch(this,function(D){this.sourceArea.value=D||""}),!0);else{if(!w._sourceQueryCommandEnabled)return;this._setListener.remove();delete this._setListener;this._resizeHandle.remove();delete this._resizeHandle;this.editor.__oldGetValue&&(this.editor.getValue=this.editor.__oldGetValue,delete this.editor.__oldGetValue);w.queryCommandEnabled=w._sourceQueryCommandEnabled;if(!this._readOnly){var z=this.sourceArea.value;w.beginEditing();w.set("value",z);w.endEditing()}A.forEach(q,function(D){D&&
D.isInstanceOf(r)&&D.set("disabled",!1)});g.set(this.sourceArea,"display","none");g.set(w.iframe,{position:"relative",visibility:"visible"});delete w._sourceQueryCommandEnabled;this.editor.onDisplayChanged()}setTimeout(a.hitch(this,function(){var D=w.domNode.parentNode;D&&(D=y.getEnclosingWidget(D))&&D.resize&&D.resize();w.resize()}),300)}catch(D){}},updateState:function(){this.button.set("disabled",this.get("disabled"))},_resize:function(){var u=this.editor,w=u.getHeaderHeight(),q=u.getFooterHeight(),
t=f.position(u.domNode),z=f.getPadBorderExtents(u.iframe.parentNode),D=f.getMarginExtents(u.iframe.parentNode),v=f.getPadBorderExtents(u.domNode),E=t.w-v.w;t=t.h-(w+v.h+q);this._fsPlugin&&this._fsPlugin.isFullscreen&&(u=h.getBox(u.ownerDocument),E=u.w-v.w,t=u.h-(w+v.h+q));f.setMarginBox(this.sourceArea,{w:Math.round(E-(z.w+D.w)),h:Math.round(t-(z.h+D.h))})},_createSourceView:function(){var u=this.editor,w=u._plugins;this.sourceArea=l.create("textarea");this.readOnly&&(x.set(this.sourceArea,"readOnly",
!0),this._readOnly=!0);g.set(this.sourceArea,{padding:"0px",margin:"0px",borderWidth:"0px",borderStyle:"none"});x.set(this.sourceArea,"aria-label",this.editor.id);l.place(this.sourceArea,u.iframe,"before");e("ie")&&u.iframe.parentNode.lastChild!==u.iframe&&g.set(u.iframe.parentNode.lastChild,{width:"0px",height:"0px",padding:"0px",margin:"0px",borderWidth:"0px",borderStyle:"none"});u._viewsource_oldFocus=u.focus;var q=this;u.focus=function(){if(q._sourceShown)q.setSourceAreaCaret();else try{this._vsFocused?
(delete this._vsFocused,n.focus(u.editNode)):u._viewsource_oldFocus()}catch(D){}};var t,z;for(t=0;t<w.length;t++)if((z=w[t])&&("dijit._editor.plugins.FullScreen"===z.declaredClass||z.declaredClass===m._scopeName+"._editor.plugins.FullScreen")){this._fsPlugin=z;break}this._fsPlugin&&(this._fsPlugin._viewsource_getAltViewNode=this._fsPlugin._getAltViewNode,this._fsPlugin._getAltViewNode=function(){return q._sourceShown?q.sourceArea:this._viewsource_getAltViewNode()});this.own(b(this.sourceArea,"keydown",
a.hitch(this,function(D){this._sourceShown&&D.keyCode==c.F12&&D.ctrlKey&&D.shiftKey&&(this.button.focus(),this.button.set("checked",!1),setTimeout(a.hitch(this,function(){u.focus()}),100),D.stopPropagation(),D.preventDefault())})))},_stripScripts:function(u){u&&(u=u.replace(/<\s*script[^>]*>((.|\s)*?)<\\?\/\s*script\s*>/ig,""),u=u.replace(/<\s*script\b([^<>]|\s)*>?/ig,""),u=u.replace(/<[^>]*=(\s|)*[("|')]javascript:[^$1][(\s|.)]*[$1][^>]*>/ig,""));return u},_stripComments:function(u){u&&(u=u.replace(/\x3c!--(.|\s){1,}?--\x3e/g,
""));return u},_stripIFrames:function(u){u&&(u=u.replace(/<\s*iframe[^>]*>((.|\s)*?)<\\?\/\s*iframe\s*>/ig,""));return u},_stripEventHandlers:function(u){if(u){var w=u.match(/<[a-z]+?\b(.*?on.*?(['"]).*?\2.*?)+>/gim);if(w)for(var q=0,t=w.length;q<t;q++){var z=w[q],D=z.replace(/\s+on[a-z]*\s*=\s*(['"])(.*?)\1/igm,"");u=u.replace(z,D)}}return u},_filter:function(u){u&&(this.stripScripts&&(u=this._stripScripts(u)),this.stripComments&&(u=this._stripComments(u)),this.stripIFrames&&(u=this._stripIFrames(u)),
this.stripEventHandlers&&(u=this._stripEventHandlers(u)));return u},removeValueFilterHandles:function(){this._setValueFilterHandle&&(this._setValueFilterHandle.remove(),delete this._setValueFilterHandle);this._getValueFilterHandle&&(this._getValueFilterHandle.remove(),delete this._getValueFilterHandle)},setSourceAreaCaret:function(){var u=this.sourceArea;n.focus(u);this._sourceShown&&!this.readOnly&&(u.setSelectionRange?u.setSelectionRange(0,0):this.sourceArea.createTextRange&&(u=u.createTextRange(),
u.collapse(!0),u.moveStart("character",-99999),u.moveStart("character",0),u.moveEnd("character",0),u.select()))},destroy:function(){this._resizer&&(clearTimeout(this._resizer),delete this._resizer);this._resizeHandle&&(this._resizeHandle.remove(),delete this._resizeHandle);this._setListener&&(this._setListener.remove(),delete this._setListener);this.removeValueFilterHandles();this.inherited(arguments)}});r.registry.viewSource=r.registry.viewsource=function(u){return new p({readOnly:"readOnly"in u?
u.readOnly:!1,stripComments:"stripComments"in u?u.stripComments:!0,stripScripts:"stripScripts"in u?u.stripScripts:!0,stripIFrames:"stripIFrames"in u?u.stripIFrames:!0,stripEventHandlers:"stripEventHandlers"in u?u.stripEventHandlers:!0})};return p})},"dojo/_base/connect":function(){define("./kernel ../on ../topic ../aspect ./event ../mouse ./sniff ./lang ../keys".split(" "),function(A,C,B,x,l,f,g,d){function c(k,m,y,p,u){p=d.hitch(y,p);if(!k||!k.addEventListener&&!k.attachEvent)return x.after(k||A.global,
m,p,!0);"string"==typeof m&&"on"==m.substring(0,2)&&(m=m.substring(2));k||(k=A.global);if(!u)switch(m){case "keypress":m=n;break;case "mouseenter":m=f.enter;break;case "mouseleave":m=f.leave}return C(k,m,p,u)}function a(k){k.keyChar=k.charCode?String.fromCharCode(k.charCode):"";k.charOrCode=k.keyChar||k.keyCode}g.add("events-keypress-typed",function(){var k={charCode:0};try{k=document.createEvent("KeyboardEvent"),(k.initKeyboardEvent||k.initKeyEvent).call(k,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(m){}return 0==
k.charCode&&!g("opera")});var b={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},e=g("mac")?"metaKey":"ctrlKey",h=function(k,m){var y=d.mixin({},k,m);a(y);y.preventDefault=function(){k.preventDefault()};y.stopPropagation=function(){k.stopPropagation()};return y};var n=g("events-keypress-typed")?function(k,m){var y=C(k,"keydown",function(u){var w=u.keyCode,q=13!=w&&32!=w&&(27!=w||!g("ie"))&&(48>w||90<w)&&(96>w||111<w)&&(186>w||192<w)&&(219>w||222<
w)&&229!=w;if(q||u.ctrlKey){q=q?0:w;if(u.ctrlKey){if(3==w||13==w)return m.call(u.currentTarget,u);q=95<q&&106>q?q-48:!u.shiftKey&&65<=q&&90>=q?q+32:b[q]||q}w=h(u,{type:"keypress",faux:!0,charCode:q});m.call(u.currentTarget,w);if(g("ie"))try{u.keyCode=w.keyCode}catch(t){}}}),p=C(k,"keypress",function(u){var w=u.charCode;u=h(u,{charCode:32<=w?w:0,faux:!0});return m.call(this,u)});return{remove:function(){y.remove();p.remove()}}}:g("opera")?function(k,m){return C(k,"keypress",function(y){var p=y.which;
3==p&&(p=99);p=32>p&&!y.shiftKey?0:p;y.ctrlKey&&!y.shiftKey&&65<=p&&90>=p&&(p+=32);return m.call(this,h(y,{charCode:p}))})}:function(k,m){return C(k,"keypress",function(y){a(y);return m.call(this,y)})};var r={_keypress:n,connect:function(k,m,y,p,u){var w=arguments,q=[],t=0;q.push("string"==typeof w[0]?null:w[t++],w[t++]);var z=w[t+1];q.push("string"==typeof z||"function"==typeof z?w[t++]:null,w[t++]);for(z=w.length;t<z;t++)q.push(w[t]);return c.apply(this,q)},disconnect:function(k){k&&k.remove()},
subscribe:function(k,m,y){return B.subscribe(k,d.hitch(m,y))},publish:function(k,m){return B.publish.apply(B,[k].concat(m))},connectPublisher:function(k,m,y){var p=function(){r.publish(k,arguments)};return y?r.connect(m,y,p):r.connect(m,p)},isCopyKey:function(k){return k[e]}};r.unsubscribe=r.disconnect;d.mixin(A,r);return r})},"dojo/io/iframe":function(){define("../_base/config ../_base/json ../_base/kernel ../_base/lang ../_base/xhr ../sniff ../_base/window ../dom ../dom-construct ../query require ../aspect ../request/iframe".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){B.deprecated("dojo/io/iframe","Use dojo/request/iframe.","2.0");f=h._iframeName;f=f.substring(0,f.lastIndexOf("_"));var n=x.delegate(h,{create:function(){return n._frame=h.create.apply(h,arguments)},get:null,post:null,send:function(r){var k=l._ioSetArgs(r,function(q){w&&w.cancel()},function(q){var t=null;q=q.ioArgs;try{var z=q.handleAs;"xml"===z||"html"===z?t=w.response.data:(t=w.response.text,"json"===z?t=C.fromJson(t):"javascript"===z&&(t=B.eval(t)))}catch(D){t=
D}return t},function(q,t){t.ioArgs._hasError=!0;return q}),m=k.ioArgs,y="GET",p=d.byId(r.form);r.method&&"POST"===r.method.toUpperCase()&&p&&(y="POST");r={method:y,handleAs:"json"===r.handleAs||"javascript"===r.handleAs?"text":r.handleAs,form:r.form,query:p?null:r.content,data:p?r.content:null,timeout:r.timeout,ioArgs:m};r.method&&(r.method=r.method.toUpperCase());if(A.ioPublish&&B.publish&&!1!==m.args.ioPublish)var u=e.after(h,"_notifyStart",function(q){q.options.ioArgs===m&&(u.remove(),l._ioNotifyStart(k))},
!0);var w=h(m.url,r,!0);m._callNext=w._callNext;w.then(function(){k.resolve(k)}).otherwise(function(q){k.ioArgs.error=q;k.reject(q)});return k},_iframeOnload:g.global[f+"_onload"]});x.setObject("dojo.io.iframe",n);return n})},"dojox/form/Manager":function(){define("dijit/_Widget dijit/_AttachMixin dijit/_WidgetsInTemplateMixin ./manager/_Mixin ./manager/_NodeMixin ./manager/_FormMixin ./manager/_ValueMixin ./manager/_EnableMixin ./manager/_DisplayMixin ./manager/_ClassMixin dojo/_base/declare".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b){return b("dojox.form.Manager",[A,B,C,x,l,f,g,d,c,a],{searchContainerNode:!0,buildRendering:function(){this.containerNode||(this.containerNode=this.srcNodeRef);this.inherited(arguments)}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){return l("dijit.form._FormSelectWidget",h,{multiple:!1,options:null,store:null,_setStoreAttr:function(n){this._created&&this._deprecatedSetStore(n)},query:null,_setQueryAttr:function(n){this._created&&this._deprecatedSetStore(this.store,this.selectedValue,{query:n})},queryOptions:null,_setQueryOptionsAttr:function(n){this._created&&this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:n})},labelAttr:"",onFetch:null,sortByLabel:!0,loadChildrenOnOpen:!1,
onLoadDeferred:null,getOptions:function(n){var r=this.options||[];if(null==n)return r;if(c.isArrayLike(n))return A.map(n,function(k){return this.getOptions(k)},this);c.isString(n)&&(n={value:n});c.isObject(n)&&(A.some(r,function(k,m){for(var y in n)if(!(y in k)||k[y]!=n[y])return!1;n=m;return!0})||(n=-1));return 0<=n&&n<r.length?r[n]:null},addOption:function(n){A.forEach(c.isArrayLike(n)?n:[n],function(r){r&&c.isObject(r)&&this.options.push(r)},this);this._loadChildren()},removeOption:function(n){n=
this.getOptions(c.isArrayLike(n)?n:[n]);A.forEach(n,function(r){r&&(this.options=A.filter(this.options,function(k){return k.value!==r.value||k.label!==r.label}),this._removeOptionItem(r))},this);this._loadChildren()},updateOption:function(n){A.forEach(c.isArrayLike(n)?n:[n],function(r){var k=this.getOptions({value:r.value}),m;if(k)for(m in r)k[m]=r[m]},this);this._loadChildren()},setStore:function(n,r,k){d.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(n,r,k)},_deprecatedSetStore:function(n,r,k){var m=this.store;k=k||{};if(m!==n){for(var y;y=this._notifyConnections.pop();)y.remove();n.get||(c.mixin(n,{_oldAPI:!0,get:function(p){var u=new C;this.fetchItemByIdentity({identity:p,onItem:function(w){u.resolve(w)},onError:function(w){u.reject(w)}});return u.promise},query:function(p,u){var w=new C(function(){q.abort&&q.abort()});w.total=new C;var q=this.fetch(c.mixin({query:p,onBegin:function(t){w.total.resolve(t)},
onComplete:function(t){w.resolve(t)},onError:function(t){w.reject(t)}},u));return new e(w)}}),n.getFeatures()["dojo.data.api.Notification"]&&(this._notifyConnections=[B.after(n,"onNew",c.hitch(this,"_onNewItem"),!0),B.after(n,"onDelete",c.hitch(this,"_onDeleteItem"),!0),B.after(n,"onSet",c.hitch(this,"_onSetItem"),!0)]));this._set("store",n)}this.options&&this.options.length&&this.removeOption(this.options);this._queryRes&&this._queryRes.close&&this._queryRes.close();this._observeHandle&&this._observeHandle.remove&&
(this._observeHandle.remove(),this._observeHandle=null);k.query&&this._set("query",k.query);k.queryOptions&&this._set("queryOptions",k.queryOptions);n&&n.query&&(this._loadingStore=!0,this.onLoadDeferred=new C,this._queryRes=n.query(this.query,this.queryOptions),b(this._queryRes,c.hitch(this,function(p){if(this.sortByLabel&&!k.sort&&p.length)if(n.getValue)p.sort(x.createSortFunction([{attribute:n.getLabelAttributes(p[0])[0]}],n));else{var u=this.labelAttr;p.sort(function(w,q){return w[u]>q[u]?1:q[u]>
w[u]?-1:0})}k.onFetch&&(p=k.onFetch.call(this,p,k));A.forEach(p,function(w){this._addOptionForItem(w)},this);this._queryRes.observe&&(this._observeHandle=this._queryRes.observe(c.hitch(this,function(w,q,t){q==t?this._onSetItem(w):(-1!=q&&this._onDeleteItem(w),-1!=t&&this._onNewItem(w))}),!0));this._loadingStore=!1;this.set("value","_pendingValue"in this?this._pendingValue:r);delete this._pendingValue;this.loadChildrenOnOpen?this._pseudoLoadChildren(p):this._loadChildren();this.onLoadDeferred.resolve(!0);
this.onSetStore()}),c.hitch(this,function(p){this.onLoadDeferred.reject(p)})));return m},_setValueAttr:function(n,r){this._onChangeActive||(r=null);if(this._loadingStore)this._pendingValue=n;else if(null!=n){n=c.isArrayLike(n)?A.map(n,function(y){return c.isObject(y)?y:{value:y}}):c.isObject(n)?[n]:[{value:n}];n=A.filter(this.getOptions(n),function(y){return y&&y.value});var k=this.getOptions()||[];this.multiple||n[0]&&n[0].value||!k.length||(n[0]=k[0]);A.forEach(k,function(y){y.selected=A.some(n,
function(p){return p.value===y.value})});k=A.map(n,function(y){return y.value});if("undefined"!=typeof k&&"undefined"!=typeof k[0]){var m=A.map(n,function(y){return y.label});this._setDisplay(this.multiple?m:m[0]);this.inherited(arguments,[this.multiple?k:k[0],r]);this._updateSelection()}}},_getDisplayedValueAttr:function(){var n=A.map([].concat(this.get("selectedOptions")),function(r){return r&&"label"in r?r.label:r?r.value:null},this);return this.multiple?n:n[0]},_setDisplayedValueAttr:function(n){this.set("value",
this.getOptions("string"==typeof n?{label:n}:n))},_loadChildren:function(){this._loadingStore||(A.forEach(this._getChildren(),function(n){n.destroyRecursive()}),A.forEach(this.options,this._addOptionItem,this),this._updateSelection())},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var n=[].concat(this.value);if(n&&n[0]){var r=this;A.forEach(this._getChildren(),function(k){var m=A.some(n,function(y){return k.option&&y===k.option.value});m&&!r.multiple&&
(r.focusedChild=k);g.toggle(k.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),m);k.domNode.setAttribute("aria-selected",m?"true":"false")},this)}},_getValueFromOpts:function(){var n=this.getOptions()||[];if(!this.multiple&&n.length){var r=A.filter(n,function(k){return k.selected})[0];if(r&&r.value)return r.value;n[0].selected=!0;return n[0].value}return this.multiple?A.map(A.filter(n,function(k){return k.selected}),function(k){return k.value})||[]:""},_onNewItem:function(n,r){r&&r.parent||
this._addOptionForItem(n)},_onDeleteItem:function(n){this.removeOption({value:this.store.getIdentity(n)})},_onSetItem:function(n){this.updateOption(this._getOptionObjForItem(n))},_getOptionObjForItem:function(n){var r=this.store,k=this.labelAttr&&this.labelAttr in n?n[this.labelAttr]:r.getLabel(n);return{value:k?r.getIdentity(n):null,label:k,item:n}},_addOptionForItem:function(n){var r=this.store;r.isItemLoaded&&!r.isItemLoaded(n)?r.loadItem({item:n,onItem:function(k){this._addOptionForItem(k)},scope:this}):
(n=this._getOptionObjForItem(n),this.addOption(n))},constructor:function(n){this._oValue=(n||{}).value||null;this._notifyConnections=[]},buildRendering:function(){this.inherited(arguments);f.setSelectable(this.focusNode,!1)},_fillContent:function(){this.options||(this.options=this.srcNodeRef?a("\x3e *",this.srcNodeRef).map(function(n){return"separator"===n.getAttribute("type")?{value:"",label:"",selected:!1,disabled:!1}:{value:n.getAttribute("data-"+d._scopeName+"-value")||n.getAttribute("value"),
label:String(n.innerHTML),selected:n.getAttribute("selected")||!1,disabled:n.getAttribute("disabled")||!1}},this):[]);this.value?this.multiple&&"string"==typeof this.value&&this._set("value",this.value.split(",")):this._set("value",this._getValueFromOpts())},postCreate:function(){this.inherited(arguments);B.after(this,"onChange",c.hitch(this,"_updateSelection"));var n=this.store;n&&(n.getIdentity||n.getFeatures()["dojo.data.api.Identity"])&&(this.store=null,this._deprecatedSetStore(n,this._oValue,
{query:this.query,queryOptions:this.queryOptions}));this._storeInitialized=!0},startup:function(){this._loadChildren();this.inherited(arguments)},destroy:function(){for(var n;n=this._notifyConnections.pop();)n.remove();this._queryRes&&this._queryRes.close&&this._queryRes.close();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:!0})},_pseudoLoadChildren:function(){},onSetStore:function(){}})})},"dijit/form/_ComboBoxMenu":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-style dojo/keys ../_WidgetBase ../_TemplatedMixin ./_ComboBoxMenuMixin ./_ListMouseMixin".split(" "),function(A,C,B,x,l,f,g,d){return A("dijit.form._ComboBoxMenu",[l,f,d,g],{templateString:"\x3cdiv class\x3d'dijitReset dijitMenu' data-dojo-attach-point\x3d'containerNode' style\x3d'overflow: auto; overflow-x: hidden;' role\x3d'listbox'\x3e\x3cdiv class\x3d'dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point\x3d'previousButton' role\x3d'option'\x3e\x3c/div\x3e\x3cdiv class\x3d'dijitMenuItem dijitMenuNextButton' data-dojo-attach-point\x3d'nextButton' role\x3d'option'\x3e\x3c/div\x3e\x3c/div\x3e",
baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);this.isLeftToRight()||(C.add(this.previousButton,"dijitMenuItemRtl"),C.add(this.nextButton,"dijitMenuItemRtl"));this.containerNode.setAttribute("role","listbox")},_createMenuItem:function(){var c=this.ownerDocument.createElement("div");c.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");c.setAttribute("role","option");return c},onHover:function(c){C.add(c,"dijitMenuItemHover")},onUnhover:function(c){C.remove(c,
"dijitMenuItemHover")},onSelect:function(c){C.add(c,"dijitMenuItemSelected")},onDeselect:function(c){C.remove(c,"dijitMenuItemSelected")},_page:function(c){var a=0,b=this.domNode.scrollTop,e=B.get(this.domNode,"height");for(this.getHighlightedOption()||this.selectNextNode();a<e;){var h=this.getHighlightedOption();if(c){if(!h.previousSibling||"none"==h.previousSibling.style.display)break;this.selectPreviousNode()}else{if(!h.nextSibling||"none"==h.nextSibling.style.display)break;this.selectNextNode()}h=
this.domNode.scrollTop;a+=(h-b)*(c?-1:1);b=h}},handleKey:function(c){switch(c.keyCode){case x.DOWN_ARROW:return this.selectNextNode(),!1;case x.PAGE_DOWN:return this._page(!1),!1;case x.UP_ARROW:return this.selectPreviousNode(),!1;case x.PAGE_UP:return this._page(!0),!1;default:return!0}}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d){return A("dijit.layout._TabContainerBase",[l,g],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:!1,nested:!1,templateString:d,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&x.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);this.doLayout||
C.add(this.domNode,"dijitTabContainerNoLayout");this.nested?(C.add(this.domNode,"dijitTabContainerNested"),C.add(this.tablist.containerNode,"dijitTabContainerTabListNested"),C.add(this.tablistSpacer,"dijitTabContainerSpacerNested"),C.add(this.containerNode,"dijitTabPaneWrapperNested")):C.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"))},_setupChild:function(c){C.add(c.domNode,"dijitTabPane");this.inherited(arguments)},removeChild:function(c){C.remove(c.domNode,"dijitTabPane");this.inherited(arguments)},
startup:function(){this._started||(this.tablist.startup(),this.inherited(arguments))},layout:function(){if(this._contentBox&&"undefined"!=typeof this._contentBox.l){var c=this.selectedChildWidget;if(this.doLayout){var a=this.tabPosition.replace(/-h/,"");this.tablist.region=a;a=[this.tablist,{domNode:this.tablistSpacer,region:a},{domNode:this.containerNode,region:"center"}];f.layoutChildren(this.domNode,this._contentBox,a);this._containerContentBox=f.marginBox2contentBox(this.containerNode,a[2]);c&&
c.resize&&c.resize(this._containerContentBox)}else{if(this.tablist.resize){a=this.tablist.domNode.style;a.width="0";var b=B.getContentBox(this.domNode).w;a.width="";this.tablist.resize({w:b})}c&&c.resize&&c.resize()}}},destroy:function(c){this.tablist&&this.tablist.destroy(c);this.inherited(arguments)}})})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a){return C("dijit._KeyNavContainer",[c,a,d],{connectKeyNavHandlers:function(b,e){var h=this._keyNavCodes={},n=f.hitch(this,"focusPrev"),r=f.hitch(this,"focusNext");A.forEach(b,function(k){h[k]=n});A.forEach(e,function(k){h[k]=r});h[l.HOME]=f.hitch(this,"focusFirstChild");h[l.END]=f.hitch(this,"focusLastChild")},startupKeyNavChildren:function(){x.deprecated("startupKeyNavChildren() call no longer needed","","2.0")},startup:function(){this.inherited(arguments);A.forEach(this.getChildren(),
f.hitch(this,"_startupChild"))},addChild:function(b,e){this.inherited(arguments);this._startupChild(b)},_startupChild:function(b){b.set("tabIndex","-1")},_getFirst:function(){var b=this.getChildren();return b.length?b[0]:null},_getLast:function(){var b=this.getChildren();return b.length?b[b.length-1]:null},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1))},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),!0)},childSelector:function(b){return(b=
g.byNode(b))&&b.getParent()==this}})})},"dijit/form/DataList":function(){define("dojo/_base/declare dojo/dom dojo/_base/lang dojo/query dojo/store/Memory ../registry".split(" "),function(A,C,B,x,l,f){function g(d){return{id:d.value,value:d.value,name:B.trim(d.innerText||d.textContent||"")}}return A("dijit.form.DataList",l,{constructor:function(d,c){this.domNode=C.byId(c);B.mixin(this,d);this.id&&f.add(this);this.domNode.style.display="none";this.inherited(arguments,[{data:x("option",this.domNode).map(g)}])},
destroy:function(){f.remove(this.id)},fetchSelectedItem:function(){var d=x("\x3e option[selected]",this.domNode)[0]||x("\x3e option",this.domNode)[0];return d&&g(d)}})})},"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".split(" "),function(A,C,B,x,
l,f,g,d,c,a,b,e,h,n,r,k,m,y){function p(){}var u=C("dijit._MasterTooltip",[n,r],{duration:e.defaultDuration,templateString:m,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new k(this.domNode);this.fadeIn=B.fadeIn({node:this.domNode,duration:this.duration,onEnd:d.hitch(this,"_onShow")});this.fadeOut=B.fadeOut({node:this.domNode,duration:this.duration,onEnd:d.hitch(this,"_onHide")})},show:function(q,t,z,D,v,E,F){if(!this.aroundNode||this.aroundNode!==t||this.containerNode.innerHTML!=
q)if("playing"==this.fadeOut.status())this._onDeck=arguments;else{this.containerNode.innerHTML=q;v&&this.set("textDir",v);this.containerNode.align=D?"right":"left";var H=h.around(this.domNode,t,z&&z.length?z:w.defaultPosition,!D,d.hitch(this,"orient")),J=H.aroundNodePos;"M"==H.corner.charAt(0)&&"M"==H.aroundCorner.charAt(0)?(this.connectorNode.style.top=J.y+(J.h-this.connectorNode.offsetHeight>>1)-H.y+"px",this.connectorNode.style.left=""):"M"==H.corner.charAt(1)&&"M"==H.aroundCorner.charAt(1)?this.connectorNode.style.left=
J.x+(J.w-this.connectorNode.offsetWidth>>1)-H.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top="");g.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=!0;this.aroundNode=t;this.onMouseEnter=E||p;this.onMouseLeave=F||p}},orient:function(q,t,z,D,v){this.connectorNode.style.top="";var E=D.h;D=D.w;q.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"}[t+"-"+z];this.domNode.style.width="auto";var F=f.position(this.domNode);if(b("ie")||b("trident"))F.w+=2;f.setMarginBox(this.domNode,{w:Math.min(Math.max(D,1),F.w)});"B"==z.charAt(0)&&"B"==t.charAt(0)?(q=f.position(q),t=this.connectorNode.offsetHeight,q.h>E?(this.connectorNode.style.top=E-(v.h+t>>1)+"px",
this.connectorNode.style.bottom=""):(this.connectorNode.style.bottom=Math.min(Math.max(v.h/2-t/2,0),q.h-t)+"px",this.connectorNode.style.top="")):(this.connectorNode.style.top="",this.connectorNode.style.bottom="");return Math.max(0,F.w-D)},_onShow:function(){b("ie")&&(this.domNode.style.filter="")},hide:function(q){this._onDeck&&this._onDeck[1]==q?this._onDeck=null:this.aroundNode===q&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play());this.onMouseEnter=this.onMouseLeave=
p},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});b("dojo-bidi")&&u.extend({_setAutoTextDir:function(q){this.applyTextDir(q);A.forEach(q.children,function(t){this._setAutoTextDir(t)},this)},_setTextDirAttr:function(q){this._set("textDir",q);"auto"==q?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}});y.showTooltip=function(q,t,z,D,v,E,F){z&&(z=A.map(z,function(H){return{after:"after-centered",
before:"before-centered"}[H]||H}));w._masterTT||(y._masterTT=w._masterTT=new u);return w._masterTT.show(q,t,z,D,v,E,F)};y.hideTooltip=function(q){return w._masterTT&&w._masterTT.hide(q)};var w=C("dijit.Tooltip",n,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(q){A.forEach(this._connections||[],function(t){A.forEach(t,function(z){z.remove()})},this);this._connectIds=A.filter(d.isArrayLike(q)?q:q?[q]:[],function(t){return x.byId(t,this.ownerDocument)},
this);this._connections=A.map(this._connectIds,function(t){t=x.byId(t,this.ownerDocument);var z=this.selector,D=z?function(E){return a.selector(z,E)}:function(E){return E},v=this;return[a(t,D(c.enter),function(){v._onHover(this)}),a(t,D("focusin"),function(){v._onHover(this)}),a(t,D(c.leave),d.hitch(v,"_onUnHover")),a(t,D("focusout"),d.hitch(v,"set","state","DORMANT"))]},this);this._set("connectId",q)},addTarget:function(q){q=q.id||q;-1==A.indexOf(this._connectIds,q)&&this.set("connectId",this._connectIds.concat(q))},
removeTarget:function(q){q=A.indexOf(this._connectIds,q.id||q);0<=q&&(this._connectIds.splice(q,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments);l.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var q=this.connectId;A.forEach(d.isArrayLike(q)?q:[q],this.addTarget,this)},getContent:function(q){return this.label||this.domNode.innerHTML},state:"DORMANT",_setStateAttr:function(q){if(!(this.state==q||"SHOW TIMER"==q&&"SHOWING"==
this.state||"HIDE TIMER"==q&&"DORMANT"==this.state)){this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer);this._showTimer&&(this._showTimer.remove(),delete this._showTimer);switch(q){case "DORMANT":this._connectNode&&(w.hide(this._connectNode),delete this._connectNode,this.onHide());break;case "SHOW TIMER":"SHOWING"!=this.state&&(this._showTimer=this.defer(function(){this.set("state","SHOWING")},this.showDelay));break;case "SHOWING":var t=this.getContent(this._connectNode);if(!t){this.set("state",
"DORMANT");return}w.show(t,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,d.hitch(this,"set","state","SHOWING"),d.hitch(this,"set","state","HIDE TIMER"));this.onShow(this._connectNode,this.position);break;case "HIDE TIMER":this._hideTimer=this.defer(function(){this.set("state","DORMANT")},this.hideDelay)}this._set("state",q)}},_onHover:function(q){this._connectNode&&q!=this._connectNode&&this.set("state","DORMANT");this._connectNode=q;this.set("state","SHOW TIMER")},_onUnHover:function(q){this.set("state",
"HIDE TIMER")},open:function(q){this.set("state","DORMANT");this._connectNode=q;this.set("state","SHOWING")},close:function(){this.set("state","DORMANT")},onShow:function(){},onHide:function(){},destroy:function(){this.set("state","DORMANT");A.forEach(this._connections||[],function(q){A.forEach(q,function(t){t.remove()})},this);this.inherited(arguments)}});w._MasterTooltip=u;w.show=y.showTooltip;w.hide=y.hideTooltip;w.defaultPosition=["after-centered","before-centered"];return w})},"dijit/PopupMenuItem":function(){define("dojo/_base/declare dojo/dom-style dojo/_base/lang dojo/query ./popup ./registry ./MenuItem ./hccss".split(" "),
function(A,C,B,x,l,f,g){return A("dijit.PopupMenuItem",g,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var d=x("*",this.srcNodeRef);this.inherited(arguments,[d[0]]);this.dropDownContainer=this.srcNodeRef}},_openPopup:function(d,c){var a=this.popup;l.open(B.delegate(d,{popup:this.popup,around:this.domNode}));c&&a.focus&&a.focus()},_closePopup:function(){l.close(this.popup);this.popup.parentMenu=null},startup:function(){if(!this._started){this.inherited(arguments);
if(!this.popup){var d=x("[widgetId]",this.dropDownContainer)[0];this.popup=f.byNode(d)}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";this.arrowWrapper&&C.set(this.arrowWrapper,"visibility","");this.focusNode.setAttribute("aria-haspopup","true")}},destroyDescendants:function(d){this.popup&&(this.popup._destroyed||this.popup.destroyRecursive(d),delete this.popup);
this.inherited(arguments)}})})},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(A,C,B,x,l){var f=x.trim,g=B.forEach,d="BackCompat"==l.doc.compatMode,c=!1,a=function(){return!0},b=function(W){W=0<="\x3e~+".indexOf(W.slice(-1))?W+" * ":W+" ";for(var U=function(Ia,Ja){return f(W.slice(Ia,Ja))},X=[],ba=-1,fa=-1,ia=-1,ra=-1,ja=-1,ma=-1,pa=-1,ua,xa="",wa="",Fa,qa=0,Ha=W.length,na=null,ya=null,Aa=function(){0<=ma&&(na.id=U(ma,qa).replace(/\\/g,
""),ma=-1);if(0<=pa){var Ia=pa==qa?null:U(pa,qa);na[0>"\x3e~+".indexOf(Ia)?"tag":"oper"]=Ia;pa=-1}0<=ja&&(na.classes.push(U(ja+1,qa).replace(/\\/g,"")),ja=-1)};xa=wa,wa=W.charAt(qa),qa<Ha;qa++)"\\"!=xa&&(na||(Fa=qa,na={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return c?this.otag:this.tag}},pa=qa),ua?wa==ua&&(ua=null):"'"==wa||'"'==wa?ua=wa:0<=ba?"]"==wa?(ya.attr?ya.matchFor=U(ia||ba+1,qa):ya.attr=U(ba+1,qa),!(ba=ya.matchFor)||'"'!=ba.charAt(0)&&"'"!=ba.charAt(0)||
(ya.matchFor=ba.slice(1,-1)),ya.matchFor&&(ya.matchFor=ya.matchFor.replace(/\\/g,"")),na.attrs.push(ya),ya=null,ba=ia=-1):"\x3d"==wa&&(ia=0<="|~^$*".indexOf(xa)?xa:"",ya.type=ia+wa,ya.attr=U(ba+1,qa-ia.length),ia=qa+1):0<=fa?")"==wa&&(0<=ra&&(ya.value=U(fa+1,qa)),ra=fa=-1):"#"==wa?(Aa(),ma=qa+1):"."==wa?(Aa(),ja=qa):":"==wa?(Aa(),ra=qa):"["==wa?(Aa(),ba=qa,ya={}):"("==wa?(0<=ra&&(ya={name:U(ra+1,qa),value:null},na.pseudos.push(ya)),fa=qa):" "==wa&&xa!=wa&&(Aa(),0<=ra&&na.pseudos.push({name:U(ra+1,
qa)}),na.loops=na.pseudos.length||na.attrs.length||na.classes.length,na.oquery=na.query=U(Fa,qa),na.otag=na.tag=na.oper?null:na.tag||"*",na.tag&&(na.tag=na.tag.toUpperCase()),X.length&&X[X.length-1].oper&&(na.infixOper=X.pop(),na.query=na.infixOper.query+" "+na.query),X.push(na),na=null));return X},e=function(W,U){return W?U?function(){return W.apply(window,arguments)&&U.apply(window,arguments)}:W:U},h=function(W,U){var X=U||[];W&&X.push(W);return X},n=function(W){return 1==W.nodeType},r=function(W,
U){return W?"class"==U?W.className||"":"for"==U?W.htmlFor||"":"style"==U?W.style.cssText||"":(c?W.getAttribute(U):W.getAttribute(U,2))||"":""},k={"*\x3d":function(W,U){return function(X){return 0<=r(X,W).indexOf(U)}},"^\x3d":function(W,U){return function(X){return 0==r(X,W).indexOf(U)}},"$\x3d":function(W,U){return function(X){X=" "+r(X,W);var ba=X.lastIndexOf(U);return-1<ba&&ba==X.length-U.length}},"~\x3d":function(W,U){var X=" "+U+" ";return function(ba){return 0<=(" "+r(ba,W)+" ").indexOf(X)}},
"|\x3d":function(W,U){var X=U+"-";return function(ba){ba=r(ba,W);return ba==U||0==ba.indexOf(X)}},"\x3d":function(W,U){return function(X){return r(X,W)==U}}};x=l.doc.documentElement;var m=!(x.nextElementSibling||"nextElementSibling"in x),y=m?"nextSibling":"nextElementSibling",p=m?"previousSibling":"previousElementSibling",u=m?n:a,w=function(W){for(;W=W[p];)if(u(W))return!1;return!0},q=function(W){for(;W=W[y];)if(u(W))return!1;return!0},t=function(W){var U=W.parentNode;U=7!=U.nodeType?U:U.nextSibling;
var X=0,ba=U.children||U.childNodes,fa=W._i||W.getAttribute("_i")||-1,ia=U._l||("undefined"!==typeof U.getAttribute?U.getAttribute("_l"):-1);if(!ba)return-1;ba=ba.length;if(ia==ba&&0<=fa&&0<=ia)return fa;C("ie")&&"undefined"!==typeof U.setAttribute?U.setAttribute("_l",ba):U._l=ba;fa=-1;for(U=U.firstElementChild||U.firstChild;U;U=U[y])u(U)&&(C("ie")?U.setAttribute("_i",++X):U._i=++X,W===U&&(fa=X));return fa},z=function(W){return!(t(W)%2)},D=function(W){return t(W)%2},v={checked:function(W,U){return function(X){return!("checked"in
X?!X.checked:!X.selected)}},disabled:function(W,U){return function(X){return X.disabled}},enabled:function(W,U){return function(X){return!X.disabled}},"first-child":function(){return w},"last-child":function(){return q},"only-child":function(W,U){return function(X){return w(X)&&q(X)}},empty:function(W,U){return function(X){var ba=X.childNodes;for(X=X.childNodes.length-1;0<=X;X--){var fa=ba[X].nodeType;if(1===fa||3==fa)return!1}return!0}},contains:function(W,U){var X=U.charAt(0);if('"'==X||"'"==X)U=
U.slice(1,-1);return function(ba){return 0<=ba.innerHTML.indexOf(U)}},not:function(W,U){var X=b(U)[0],ba={el:1};"*"!=X.tag&&(ba.tag=1);X.classes.length||(ba.classes=1);var fa=F(X,ba);return function(ia){return!fa(ia)}},"nth-child":function(W,U){var X=parseInt;if("odd"==U)return D;if("even"==U)return z;if(-1!=U.indexOf("n")){var ba=U.split("n",2),fa=ba[0]?"-"==ba[0]?-1:X(ba[0]):1,ia=ba[1]?X(ba[1]):0,ra=0,ja=-1;0<fa?0>ia?ia=ia%fa&&fa+ia%fa:0<ia&&(ia>=fa&&(ra=ia-ia%fa),ia%=fa):0>fa&&(fa*=-1,0<ia&&(ja=
ia,ia%=fa));if(0<fa)return function(pa){pa=t(pa);return pa>=ra&&(0>ja||pa<=ja)&&pa%fa==ia};U=ia}var ma=X(U);return function(pa){return t(pa)==ma}}},E=9>C("ie")||9==C("ie")&&C("quirks")?function(W){var U=W.toLowerCase();"class"==U&&(W="className");return function(X){return c?X.getAttribute(W):X[W]||X[U]}}:function(W){return function(U){return U&&U.getAttribute&&U.hasAttribute(W)}},F=function(W,U){if(!W)return a;U=U||{};var X=null;"el"in U||(X=e(X,n));"tag"in U||"*"!=W.tag&&(X=e(X,function(ba){return ba&&
(c?ba.tagName:ba.tagName.toUpperCase())==W.getTag()}));"classes"in U||g(W.classes,function(ba,fa,ia){var ra=new RegExp("(?:^|\\s)"+ba+"(?:\\s|$)");X=e(X,function(ja){return ra.test(ja.className)});X.count=fa});"pseudos"in U||g(W.pseudos,function(ba){var fa=ba.name;v[fa]&&(X=e(X,v[fa](fa,ba.value)))});"attrs"in U||g(W.attrs,function(ba){var fa,ia=ba.attr;ba.type&&k[ba.type]?fa=k[ba.type](ia,ba.matchFor):ia.length&&(fa=E(ia));fa&&(X=e(X,fa))});"id"in U||W.id&&(X=e(X,function(ba){return!!ba&&ba.id==
W.id}));X||"default"in U||(X=a);return X},H=function(W){return function(U,X,ba){for(;U=U[y];)if(!m||n(U)){ba&&!ka(U,ba)||!W(U)||X.push(U);break}return X}},J=function(W){return function(U,X,ba){for(U=U[y];U;){if(u(U)){if(ba&&!ka(U,ba))break;W(U)&&X.push(U)}U=U[y]}return X}},G=function(W,U){var X=function(ba){var fa=[];try{fa=Array.prototype.slice.call(ba)}catch(ja){for(var ia=0,ra=ba.length;ia<ra;ia++)fa.push(ba[ia])}return fa};W=W||a;return function(ba,fa,ia){var ra=0,ja=[];ja=X(ba.children||ba.childNodes);
for(U&&B.forEach(ja,function(ma){1===ma.nodeType&&(ja=ja.concat(X(ma.getElementsByTagName("*"))))});ba=ja[ra++];)u(ba)&&(!ia||ka(ba,ia))&&W(ba,ra)&&fa.push(ba);return fa}},I=function(W,U){for(var X=W.parentNode;X&&X!=U;)X=X.parentNode;return!!X},K={},M=function(W){var U=K[W.query];if(U)return U;var X=W.infixOper;X=X?X.oper:"";var ba=F(W,{el:1}),fa="*"==W.tag,ia=l.doc.getElementsByClassName;if(X)ia={el:1},fa&&(ia.tag=1),ba=F(W,ia),"+"==X?U=H(ba):"~"==X?U=J(ba):"\x3e"==X&&(U=G(ba));else if(W.id)ba=
!W.loops&&fa?a:F(W,{el:1,id:1}),U=function(ja,ma){var pa=A.byId(W.id,ja.ownerDocument||ja);ja.ownerDocument&&!I(ja,ja.ownerDocument)&&B.some(11===ja.nodeType?ja.childNodes:[ja],function(ua){ua=G(function(xa){return xa.id===W.id},!0)(ua,[]);if(ua.length)return pa=ua[0],!1});if(pa&&ba(pa)&&(9==ja.nodeType||I(pa,ja)))return h(pa,ma)};else if(ia&&/\{\s*\[native code\]\s*\}/.test(String(ia))&&W.classes.length&&!d){ba=F(W,{el:1,classes:1,id:1});var ra=W.classes.join(" ");U=function(ja,ma,pa){ma=h(0,ma);
for(var ua,xa=0,wa=ja.getElementsByClassName(ra);ua=wa[xa++];)ba(ua,ja)&&ka(ua,pa)&&ma.push(ua);return ma}}else fa||W.loops?(ba=F(W,{el:1,tag:1,id:1}),U=function(ja,ma,pa){ma=h(0,ma);for(var ua,xa=0,wa=(ua=W.getTag())?ja.getElementsByTagName(ua):[];ua=wa[xa++];)ba(ua,ja)&&ka(ua,pa)&&ma.push(ua);return ma}):U=function(ja,ma,pa){ma=h(0,ma);var ua=0,xa=W.getTag();for(xa=xa?ja.getElementsByTagName(xa):[];ja=xa[ua++];)ka(ja,pa)&&ma.push(ja);return ma};return K[W.query]=U},N={},Q={},P=function(W){var U=
b(f(W));if(1==U.length){var X=M(U[0]);return function(ba){if(ba=X(ba,[]))ba.nozip=!0;return ba}}return function(ba){ba=h(ba);for(var fa,ia,ra=U.length,ja,ma,pa=0;pa<ra;pa++){ma=[];fa=U[pa];ia=ba.length-1;0<ia&&(ja={},ma.nozip=!0);ia=M(fa);for(var ua=0;fa=ba[ua];ua++)ia(fa,ma,ja);if(!ma.length)break;ba=ma}return ma}},S=C("ie")?"commentStrip":"nozip",L=!!l.doc.querySelectorAll,R=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,T=function(W,U,X,ba){return X?(U?U+" ":"")+X+(ba?" "+ba:""):W},aa=/([^[]*)([^\]]*])?/g,
da=function(W,U,X){return U.replace(R,T)+(X||"")},la=function(W,U){W=W.replace(aa,da);if(L){var X=Q[W];if(X&&!U)return X}if(X=N[W])return X;X=W.charAt(0);var ba=-1==W.indexOf(" ");0<=W.indexOf("#")&&ba&&(U=!0);if(!L||U||-1!="\x3e~+".indexOf(X)||C("ie")&&-1!=W.indexOf(":")||d&&0<=W.indexOf(".")||-1!=W.indexOf(":contains")||-1!=W.indexOf(":checked")||-1!=W.indexOf("|\x3d")){var fa=W.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return N[W]=2>fa.length?P(W):function(ra){for(var ja=0,ma=
[],pa;pa=fa[ja++];)ma=ma.concat(P(pa)(ra));return ma}}var ia=0<="\x3e~+".indexOf(W.charAt(W.length-1))?W+" *":W;return Q[W]=function(ra){if(9==ra.nodeType||ba)try{var ja=ra.querySelectorAll(ia);ja[S]=!0;return ja}catch(ma){}return la(W,!0)(ra)}},ha=0,oa=C("ie")?function(W){return c?W.getAttribute("_uid")||W.setAttribute("_uid",++ha)||ha:W.uniqueID}:function(W){return W._uid||(W._uid=++ha)},ka=function(W,U){if(!U)return 1;var X=oa(W);return U[X]?0:U[X]=1},ta=function(W){if(W&&W.nozip)return W;if(!W||
!W.length)return[];if(2>W.length)return[W[0]];var U=[];ha++;var X,ba;if(C("ie")&&c){var fa=ha+"";for(X=0;X<W.length;X++)(ba=W[X])&&ba.getAttribute("_zipIdx")!=fa&&(U.push(ba),ba.setAttribute("_zipIdx",fa))}else if(C("ie")&&W.commentStrip)try{for(X=0;X<W.length;X++)(ba=W[X])&&n(ba)&&U.push(ba)}catch(ia){}else for(X=0;X<W.length;X++)(ba=W[X])&&ba._zipIdx!=ha&&(U.push(ba),ba._zipIdx=ha);return U},va=function(W,U){U=U||l.doc;c="div"===(U.ownerDocument||U).createElement("div").tagName;var X=la(W)(U);return X&&
X.nozip?X:ta(X)};va.filter=function(W,U,X){var ba=[],fa=b(U);fa=1!=fa.length||/[^\w#\.]/.test(U)?function(ja){return-1!=B.indexOf(va(U,A.byId(X)),ja)}:F(fa[0]);for(var ia=0,ra;ra=W[ia];ia++)fa(ra)&&ba.push(ra);return ba};return va})},"dijit/main":function(){define(["dojo/_base/kernel"],function(A){return A.dijit})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){return c("dijit.layout.ContentPane",[B,x,l],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:A._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"\x3cspan class\x3d'dijitContentPaneLoading'\x3e\x3cspan class\x3d'dijitInline dijitIconLoading'\x3e\x3c/span\x3e${loadingState}\x3c/span\x3e",errorMessage:"\x3cspan class\x3d'dijitContentPaneError'\x3e\x3cspan class\x3d'dijitInline dijitIconError'\x3e\x3c/span\x3e${errorState}\x3c/span\x3e",
isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(m,y,p){var u=new p(m,y);return!u.href&&u._contentSetter&&u._contentSetter.parseDeferred&&!u._contentSetter.parseDeferred.isFulfilled()?u._contentSetter.parseDeferred.then(function(){return u}):u},create:function(m,y){if(!(m&&m.template||!y||"href"in m||"content"in m)){y=b.byId(y);for(var p=y.ownerDocument.createDocumentFragment();y.firstChild;)p.appendChild(y.firstChild);
m=C.delegate(m,{content:p})}this.inherited(arguments,[m,y])},postMixInProperties:function(){this.inherited(arguments);var m=r.getLocalization("dijit","loading",this.lang);this.loadingMessage=f.substitute(this.loadingMessage,m);this.errorMessage=f.substitute(this.errorMessage,m)},buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode);this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments);this._contentSetter&&d.forEach(this._contentSetter.parseResults,
function(m){m._started||m._destroyed||!C.isFunction(m.startup)||(m.startup(),m._started=!0)},this)},_startChildren:function(){d.forEach(this.getChildren(),function(m){m._started||m._destroyed||!C.isFunction(m.startup)||(m.startup(),m._started=!0)});this._contentSetter&&d.forEach(this._contentSetter.parseResults,function(m){m._started||m._destroyed||!C.isFunction(m.startup)||(m.startup(),m._started=!0)},this)},setHref:function(m){A.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.",
"","2.0");return this.set("href",m)},_setHrefAttr:function(m){this.cancel();this.onLoadDeferred=new a(C.hitch(this,"cancel"));this.onLoadDeferred.then(C.hitch(this,"onLoad"));this._set("href",m);this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0;return this.onLoadDeferred},setContent:function(m){A.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",m)},_setContentAttr:function(m){this._set("href",
"");this.cancel();this.onLoadDeferred=new a(C.hitch(this,"cancel"));this._created&&this.onLoadDeferred.then(C.hitch(this,"onLoad"));this._setContent(m||"");this._isDownloaded=!1;return this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&-1==this._xhrDfd.fired&&this._xhrDfd.cancel();delete this._xhrDfd;this.onLoadDeferred=null},destroy:function(){this.cancel();this.inherited(arguments)},destroyRecursive:function(m){this._beingDestroyed||
this.inherited(arguments)},_onShow:function(){this.inherited(arguments);if(this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){this.cancel();this.onLoadDeferred=new a(C.hitch(this,"cancel"));this.onLoadDeferred.then(C.hitch(this,"onLoad"));this._load();return this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var m=this,y={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};
C.isObject(this.ioArgs)&&C.mixin(y,this.ioArgs);var p=this._xhrDfd=(this.ioMethod||n.get)(y),u;p.then(function(w){u=w;try{return m._isDownloaded=!0,m._setContent(w,!1)}catch(q){m._onError("Content",q)}},function(w){p.canceled||m._onError("Download",w);delete m._xhrDfd;return w}).then(function(){m.onDownloadEnd();delete m._xhrDfd;return u});delete this._hrefChanged},_onLoadHandler:function(m){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(m)}catch(y){}},_onUnloadHandler:function(){this._set("isLoaded",
!1);try{this.onUnload()}catch(m){}},destroyDescendants:function(m){this.isLoaded&&this._onUnloadHandler();var y=this._contentSetter;d.forEach(this.getChildren(),function(p){p.destroyRecursive?p.destroyRecursive(m):p.destroy&&p.destroy(m);p._destroyed=!0});y&&(d.forEach(y.parseResults,function(p){p._destroyed||(p.destroyRecursive?p.destroyRecursive(m):p.destroy&&p.destroy(m),p._destroyed=!0)}),delete y.parseResults);m||h.empty(this.containerNode);delete this._singleChild},_setContent:function(m,y){m=
this.preprocessContent(m);this.destroyDescendants();var p=this._contentSetter;p&&p instanceof g._ContentSetter||(p=this._contentSetter=new g._ContentSetter({node:this.containerNode,_onError:C.hitch(this,this._onError),onContentError:C.hitch(this,function(q){q=this.onContentError(q);try{this.containerNode.innerHTML=q}catch(t){}})}));var u=C.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!m.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,
lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});u=p.set(C.isObject(m)&&m.domNode?m.domNode:m,u);var w=this;return k(u&&u.then?u:p.parseDeferred,function(){delete w._contentSetterParams;y||(w._started&&(w._startChildren(),w._scheduleLayout()),w._onLoadHandler(m))})},preprocessContent:function(m){return m},_onError:function(m,y,p){this.onLoadDeferred.reject(y);m=this["on"+m+"Error"].call(this,y);p||m&&this._setContent(m,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},
onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})})},"dojox/grid/_SelectionPreserver":function(){define(["dojo/_base/declare","dojo/_base/connect","dojo/_base/lang","dojo/_base/array"],function(A,C,B,x){return A("dojox.grid._SelectionPreserver",null,{constructor:function(l){this.selection=l;var f=this.grid=l.grid;this.reset();this._connects=[C.connect(f,"_setStore",this,"reset"),C.connect(f,"_addItem",this,"_reSelectById"),C.connect(l,"onSelected",
B.hitch(this,"_selectById",!0)),C.connect(l,"onDeselected",B.hitch(this,"_selectById",!1)),C.connect(l,"deselectAll",this,"reset")]},destroy:function(){this.reset();x.forEach(this._connects,C.disconnect);delete this._connects},reset:function(){this._selectedById={}},_reSelectById:function(l,f){l&&this.grid._hasIdentity&&(this.selection.selected[f]=this._selectedById[this.grid.store.getIdentity(l)])},_selectById:function(l,f){if("none"!=this.selection.mode&&this.grid._hasIdentity){var g=f,d=this.grid;
if("number"==typeof f||"string"==typeof f)g=(g=d._by_idx[f])&&g.item;g&&(this._selectedById[d.store.getIdentity(g)]=!!l);return g}}})})},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(A,C,B,x,l){return B("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:!1,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var f=this.domNode;this.containerNode&&
!this.searchContainerNode&&(this.containerNode.stopParser=!0);l.parse(f,{noStart:!this._earlyTemplatedStartup,template:!0,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(x.hitch(this,function(g){this._startupWidgets=g;for(var d=0;d<g.length;d++)this._processTemplateNode(g[d],function(c,a){return c[a]},function(c,a,b){return a in c?c.connect(c,a,b):c.on(a,b,!0)});this.containerNode&&this.containerNode.stopParser&&delete this.containerNode.stopParser}));
if(!this._startupWidgets)throw 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(f,g,d){return g(f,"dojoType")||g(f,"data-dojo-type")?!0:this.inherited(arguments)},startup:function(){A.forEach(this._startupWidgets,function(f){f&&!f._started&&f.startup&&f.startup()});this._startupWidgets=null;this.inherited(arguments)}})})},
"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".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){return A("dijit._HasDropDown",k,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,
_onDropDownMouseDown:function(m){this.disabled||this.readOnly||("MSPointerDown"!=m.type&&m.preventDefault(),this.own(b.once(this.ownerDocument,e.release,a.hitch(this,"_onDropDownMouseUp"))),this.toggleDropDown())},_onDropDownMouseUp:function(m){var y=this.dropDown,p=!1;if(m&&this._opened){var u=f.position(this._buttonNode,!0);if(!(m.pageX>=u.x&&m.pageX<=u.x+u.w&&m.pageY>=u.y&&m.pageY<=u.y+u.h)){for(u=m.target;u&&!p;)l.contains(u,"dijitPopup")?p=!0:u=u.parentNode;if(p){u=m.target;if(y.onItemClick){for(var w;u&&
!(w=h.byNode(u));)u=u.parentNode;if(w&&w.onClick&&w.getParent)w.getParent().onItemClick(w,m)}return}}}this._opened?y.focus&&(!1!==y.autoFocus||"mouseup"==m.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer(function(){y.focus();delete this._focusDropDownTimer})):this.focus&&this.defer("focus")},_onDropDownClick:function(m){this._stopClickEvents&&(m.stopPropagation(),m.preventDefault())},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||
this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var m={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";l.add(this._arrowWrapperNode||this._buttonNode,"dijit"+m+"ArrowButton")},postCreate:function(){this.inherited(arguments);var m=this.focusNode||this.domNode;this.own(b(this._buttonNode,e.press,a.hitch(this,"_onDropDownMouseDown")),
b(this._buttonNode,"click",a.hitch(this,"_onDropDownClick")),b(m,"keydown",a.hitch(this,"_onKey")),b(m,"keyup",a.hitch(this,"_onKeyUp")))},destroy:function(){this._opened&&this.closeDropDown(!0);this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown);this.inherited(arguments)},_onKey:function(m){if(!this.disabled&&!this.readOnly){var y=this.dropDown,p=m.target;y&&this._opened&&y.handleKey&&!1===y.handleKey(m)?(m.stopPropagation(),m.preventDefault()):y&&this._opened&&
m.keyCode==c.ESCAPE?(this.closeDropDown(),m.stopPropagation(),m.preventDefault()):!this._opened&&(m.keyCode==c.DOWN_ARROW||(m.keyCode==c.ENTER||m.keyCode==c.SPACE&&(!this._searchTimer||m.ctrlKey||m.altKey||m.metaKey))&&("input"!==(p.tagName||"").toLowerCase()||p.type&&"text"!==p.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,m.stopPropagation(),m.preventDefault())}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var m=this.dropDown;m&&m.focus&&this.defer(a.hitch(m,
"focus"),1)}},_onBlur:function(){this.closeDropDown(!1);this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(m){m()},loadAndOpenDropDown:function(){var m=new C,y=a.hitch(this,function(){this.openDropDown();m.resolve(this.dropDown)});this.isLoaded()?y():this.loadDropDown(y);return m},toggleDropDown:function(){this.disabled||this.readOnly||(this._opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var m=this.dropDown,y=m.domNode,p=this._aroundNode||
this.domNode,u=this,w=r.open({parent:this,popup:m,around:p,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){u.closeDropDown(!0)},onCancel:function(){u.closeDropDown(!0)},onClose:function(){x.set(u._popupStateNode,"popupActive",!1);l.remove(u._popupStateNode,"dijitHasDropDownOpen");u._set("_opened",!1)}});if(this.forceWidth||this.autoWidth&&p.offsetWidth>m._popupWrapper.offsetWidth){p=p.offsetWidth-m._popupWrapper.offsetWidth;var q={w:m.domNode.offsetWidth+p};this._origStyle=
y.style.cssText;a.isFunction(m.resize)?m.resize(q):f.setMarginBox(y,q);"R"==w.corner[1]&&(m._popupWrapper.style.left=m._popupWrapper.style.left.replace("px","")-p+"px")}x.set(this._popupStateNode,"popupActive","true");l.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",!0);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",m.id);"presentation"===y.getAttribute("role")||y.getAttribute("aria-labelledby")||y.setAttribute("aria-labelledby",
this.id);return w},closeDropDown:function(m){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer);this._opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),m&&this.focus&&this.focus(),r.close(this.dropDown),this._opened=!1);this._origStyle&&(this.dropDown.domNode.style.cssText=this._origStyle,delete this._origStyle)}})})},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(A,C,B,x){if(C._fixEvent){var l=
C._fixEvent;C._fixEvent=function(g,d){(g=l(g,d))&&x.normalizeEvent(g);return g}}var f={fix:function(g,d){return C._fixEvent?C._fixEvent(g,d):g},stop:function(g){B("dom-addeventlistener")||g&&g.preventDefault?(g.preventDefault(),g.stopPropagation()):(g=g||window.event,g.cancelBubble=!0,C._preventDefault.call(g))}};A.fixEvent=f.fix;A.stopEvent=f.stop;return f})},"dojo/NodeList-manipulate":function(){define("./query ./_base/lang ./_base/array ./dom-construct ./dom-attr ./NodeList-dom".split(" "),function(A,
C,B,x,l){function f(c){for(;c.childNodes[0]&&1==c.childNodes[0].nodeType;)c=c.childNodes[0];return c}function g(c,a){"string"==typeof c?(c=x.toDom(c,a&&a.ownerDocument),11==c.nodeType&&(c=c.childNodes[0])):1==c.nodeType&&c.parentNode&&(c=c.cloneNode(!1));return c}var d=A.NodeList;C.extend(d,{_placeMultiple:function(c,a){for(var b="string"==typeof c||c.nodeType?A(c):c,e=[],h=0;h<b.length;h++)for(var n=b[h],r=this.length,k=r-1,m;m=this[k];k--)0<h&&(m=this._cloneNode(m),e.unshift(m)),k==r-1?x.place(m,
n,a):n.parentNode.insertBefore(m,n),n=m;e.length&&(e.unshift(0),e.unshift(this.length-1),Array.prototype.splice.apply(this,e));return this},innerHTML:function(c){return arguments.length?this.addContent(c,"only"):this[0].innerHTML},text:function(c){if(arguments.length){for(var a=0,b;b=this[a];a++)1==b.nodeType&&l.set(b,"textContent",c);return this}var e="";for(a=0;b=this[a];a++)e+=l.get(b,"textContent");return e},val:function(c){if(arguments.length){for(var a=C.isArray(c),b=0,e;e=this[b];b++){var h=
e.nodeName.toUpperCase(),n=e.type,r=a?c[b]:c;if("SELECT"==h)for(h=e.options,n=0;n<h.length;n++){var k=h[n];k.selected=e.multiple?-1!=B.indexOf(c,k.value):k.value==r}else"checkbox"==n||"radio"==n?e.checked=e.value==r:e.value=r}return this}if((e=this[0])&&1==e.nodeType){c=e.value||"";if("SELECT"==e.nodeName.toUpperCase()&&e.multiple){c=[];h=e.options;for(n=0;n<h.length;n++)k=h[n],k.selected&&c.push(k.value);c.length||(c=null)}return c}},append:function(c){return this.addContent(c,"last")},appendTo:function(c){return this._placeMultiple(c,
"last")},prepend:function(c){return this.addContent(c,"first")},prependTo:function(c){return this._placeMultiple(c,"first")},after:function(c){return this.addContent(c,"after")},insertAfter:function(c){return this._placeMultiple(c,"after")},before:function(c){return this.addContent(c,"before")},insertBefore:function(c){return this._placeMultiple(c,"before")},remove:d.prototype.orphan,wrap:function(c){if(this[0]){c=g(c,this[0]);for(var a=0,b;b=this[a];a++){var e=this._cloneNode(c);b.parentNode&&b.parentNode.replaceChild(e,
b);f(e).appendChild(b)}}return this},wrapAll:function(c){if(this[0]){c=g(c,this[0]);this[0].parentNode.replaceChild(c,this[0]);c=f(c);for(var a=0,b;b=this[a];a++)c.appendChild(b)}return this},wrapInner:function(c){if(this[0]){c=g(c,this[0]);for(var a=0;a<this.length;a++){var b=this._cloneNode(c);this._wrap(C._toArray(this[a].childNodes),null,this._NodeListCtor).wrapAll(b)}}return this},replaceWith:function(c){c=this._normalize(c,this[0]);for(var a=0,b;b=this[a];a++)this._place(c,b,"before",0<a),b.parentNode.removeChild(b);
return this},replaceAll:function(c){c=A(c);for(var a=this._normalize(this,this[0]),b=0,e;e=c[b];b++)this._place(a,e,"before",0<b),e.parentNode.removeChild(e);return this},clone:function(){for(var c=[],a=0;a<this.length;a++)c.push(this._cloneNode(this[a]));return this._wrap(c,this,this._NodeListCtor)}});d.prototype.html||(d.prototype.html=d.prototype.innerHTML);return d})},"dojo/_base/html":function(){define("./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),
function(A,C,B,x,l,f,g,d){A.byId=C.byId;A.isDescendant=C.isDescendant;A.setSelectable=C.setSelectable;A.getAttr=x.get;A.setAttr=x.set;A.hasAttr=x.has;A.removeAttr=x.remove;A.getNodeProp=x.getNodeProp;A.attr=function(c,a,b){return 2==arguments.length?x["string"==typeof a?"get":"set"](c,a):x.set(c,a,b)};A.hasClass=f.contains;A.addClass=f.add;A.removeClass=f.remove;A.toggleClass=f.toggle;A.replaceClass=f.replace;A._toDom=A.toDom=g.toDom;A.place=g.place;A.create=g.create;A.empty=function(c){g.empty(c)};
A._destroyElement=A.destroy=function(c){g.destroy(c)};A._getPadExtents=A.getPadExtents=d.getPadExtents;A._getBorderExtents=A.getBorderExtents=d.getBorderExtents;A._getPadBorderExtents=A.getPadBorderExtents=d.getPadBorderExtents;A._getMarginExtents=A.getMarginExtents=d.getMarginExtents;A._getMarginSize=A.getMarginSize=d.getMarginSize;A._getMarginBox=A.getMarginBox=d.getMarginBox;A.setMarginBox=d.setMarginBox;A._getContentBox=A.getContentBox=d.getContentBox;A.setContentSize=d.setContentSize;A._isBodyLtr=
A.isBodyLtr=d.isBodyLtr;A._docScroll=A.docScroll=d.docScroll;A._getIeDocumentElementOffset=A.getIeDocumentElementOffset=d.getIeDocumentElementOffset;A._fixIeBiDiScrollLeft=A.fixIeBiDiScrollLeft=d.fixIeBiDiScrollLeft;A.position=d.position;A.marginBox=function(c,a){return a?d.setMarginBox(c,a):d.getMarginBox(c)};A.contentBox=function(c,a){return a?d.setContentSize(c,a):d.getContentBox(c)};A.coords=function(c,a){A.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");c=C.byId(c);var b=
B.getComputedStyle(c);b=d.getMarginBox(c,b);var e=d.position(c,a);b.x=e.x;b.y=e.y;return b};A.getProp=l.get;A.setProp=l.set;A.prop=function(c,a,b){return 2==arguments.length?l["string"==typeof a?"get":"set"](c,a):l.set(c,a,b)};A.getStyle=B.get;A.setStyle=B.set;A.getComputedStyle=B.getComputedStyle;A.__toPixelValue=A.toPixelValue=B.toPixelValue;A.style=function(c,a,b){switch(arguments.length){case 1:return B.get(c);case 2:return B["string"==typeof a?"get":"set"](c,a)}return B.set(c,a,b)};return A})},
"dojo/_base/kernel":function(){define(["../global","../has","./config","require","module"],function(A,C,B,x,l){var f,g={},d={},c={config:B,global:A,dijit:g,dojox:d};g={dojo:["dojo",c],dijit:["dijit",g],dojox:["dojox",d]};l=x.map&&x.map[l.id.match(/[^\/]+/)[0]];for(f in l)g[f]?g[f][0]=l[f]:g[f]=[l[f],{}];for(f in g)l=g[f],l[1]._scopeName=l[0],B.noGlobals||(A[l[0]]=l[1]);c.scopeMap=g;c.baseUrl=c.config.baseUrl=x.baseUrl;c.isAsync=x.async;c.locale=B.locale;A="$Rev:$".match(/[0-9a-f]{7,}/);c.version=
{major:3,minor:2,patch:3,flag:".917",revision:A?A[0]:NaN,toString:function(){var b=c.version;return b.major+"."+b.minor+"."+b.patch+b.flag+" ("+b.revision+")"}};C("csp-restrictions")||Function("d","d.eval \x3d function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(c);c.exit=function(){};C("host-webworker");C.add("console-as-object",function(){return Function.prototype.bind&&console&&"object"===typeof console.log});"undefined"!=typeof console||(console={});l="assert count debug dir dirxml error group groupEnd info profile profileEnd time timeEnd trace warn log".split(" ");
var a;for(A=0;a=l[A++];)console[a]?C("console-as-object")&&(console[a]=Function.prototype.bind.call(console[a],console)):function(){var b=a+"";console[b]="log"in console?function(){var e=Array.prototype.slice.call(arguments);e.unshift(b+":");console.log(e.join(" "))}:function(){};console[b]._fake=!0}();C.add("dojo-debug-messages",!!B.isDebug);c.deprecated=c.experimental=function(){};C("dojo-debug-messages")&&(c.deprecated=function(b,e,h){},c.experimental=function(b,e){});if(B.modulePaths){c.deprecated("dojo.modulePaths",
"use paths configuration");C={};for(f in B.modulePaths)C[f.replace(/\./g,"/")]=B.modulePaths[f];x({paths:C})}c.moduleUrl=function(b,e){c.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var h=null;b&&(h=x.toUrl(b.replace(/\./g,"/")+(e?"/"+e:"")+"/*.*").replace(/\/\*\.\*/,"")+(e?"":"/"));return h};c._hasResource={};return c})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e){return C("dijit.tree.dndSource",e,{isSource:!0,accept:["text","treeNode"],copyOnly:!1,dragThreshold:5,betweenThreshold:0,generateText:!0,constructor:function(h,n){n||(n={});f.mixin(this,n);var r=n.accept instanceof Array?n.accept:["text","treeNode"];this.accept=null;if(r.length){this.accept={};for(var k=0;k<r.length;++k)this.accept[r[k]]=1}this.mouseDown=this.isDragging=!1;this.targetBox=this.targetAnchor=null;this.dropPosition="";this._lastY=this._lastX=0;this.sourceState=
"";this.isSource&&x.add(this.node,"dojoDndSource");this.targetState="";this.accept&&x.add(this.node,"dojoDndTarget");this.topics=[a.subscribe("/dnd/source/over",f.hitch(this,"onDndSourceOver")),a.subscribe("/dnd/start",f.hitch(this,"onDndStart")),a.subscribe("/dnd/drop",f.hitch(this,"onDndDrop")),a.subscribe("/dnd/cancel",f.hitch(this,"onDndCancel"))]},checkAcceptance:function(){return!0},copyState:function(h){return this.copyOnly||h},destroy:function(){this.inherited(arguments);for(var h;h=this.topics.pop();)h.remove();
this.targetAnchor=null},_onDragMouse:function(h,n){var r=b.manager(),k=this.targetAnchor,m=this.current,y=this.dropPosition,p="Over";m&&0<this.betweenThreshold&&(this.targetBox&&k==m||(this.targetBox=l.position(m.rowNode,!0)),h.pageY-this.targetBox.y<=this.betweenThreshold?p="Before":h.pageY-this.targetBox.y>=this.targetBox.h-this.betweenThreshold&&(p="After"));if(n||m!=k||p!=y){k&&this._removeItemClass(k.rowNode,y);m&&this._addItemClass(m.rowNode,p);if(m)if(m==this.tree.rootNode&&"Over"!=p)r.canDrop(!1);
else{y=k=!1;if(r.source==this){y="Over"===p;for(var u in this.selection){var w=this.selection[u];if(w.item===m.item){k=!0;break}w.getParent().id!==m.id&&(y=!1)}}r.canDrop(!k&&!y&&!this._isParentChildDrop(r.source,m.rowNode)&&this.checkItemAcceptance(m.rowNode,r.source,p.toLowerCase()))}else r.canDrop(!1);this.targetAnchor=m;this.dropPosition=p}},onMouseMove:function(h){if(!this.isDragging||"Disabled"!=this.targetState){this.inherited(arguments);var n=b.manager();if(this.isDragging)this._onDragMouse(h);
else if(this.mouseDown&&this.isSource&&(Math.abs(h.pageX-this._lastX)>=this.dragThreshold||Math.abs(h.pageY-this._lastY)>=this.dragThreshold)){var r=this.getSelectedTreeNodes();if(r.length){if(1<r.length){var k=this.selection,m=0,y=[],p,u;a:for(;p=r[m++];){for(u=p.getParent();u&&u!==this.tree;u=u.getParent())if(k[u.id])continue a;y.push(p)}r=y}r=A.map(r,function(w){return w.domNode});n.startDrag(this,r,this.copyState(B.getCopyKeyState(h)));this._onDragMouse(h,!0)}}}},onMouseDown:function(h){if("touchstart"==
h.type||g.isLeft(h))this.mouseDown=!0,this.mouseButton=h.button,this._lastX=h.pageX,this._lastY=h.pageY;this.inherited(arguments)},onMouseUp:function(h){this.mouseDown&&(this.mouseDown=!1,this.inherited(arguments))},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor()},checkItemAcceptance:function(){return!0},onDndSourceOver:function(h){this!=h?(this.mouseDown=!1,this._unmarkTargetAnchor()):this.isDragging&&b.manager().canDrop(!1)},onDndStart:function(h,n,r){this.isSource&&this._changeState("Source",
this==h?r?"Copied":"Moved":"");n=this.checkAcceptance(h,n);this._changeState("Target",n?"":"Disabled");this==h&&b.manager().overSource(this);this.isDragging=!0},itemCreator:function(h){return A.map(h,function(n){return{id:n.id,name:n.textContent||n.innerText||""}})},onDndDrop:function(h,n,r){if("Over"==this.containerState){var k=this.tree,m=k.model,y=this.targetAnchor,p=!1;this.isDragging=!1;var u=y&&y.item||k.item;if("Before"==this.dropPosition||"After"==this.dropPosition){u=y.getParent()&&y.getParent().item||
k.item;var w=y.getIndexInParent();if("After"==this.dropPosition){w=y.getIndexInParent()+1;var q=y.getNextSibling()&&y.getNextSibling().item}else q=y.item}else u=y&&y.item||k.item,p=!0;var t;A.forEach(n,function(z,D){var v=h.getItem(z.id);if(-1!=A.indexOf(v.type,"treeNode"))var E=v.data,F=E.item,H=E.getParent().item;h==this?("number"==typeof w&&u==H&&E.getIndexInParent()<w&&--w,m.pasteItem(F,H,u,r,w,q)):m.isItem(F)?m.pasteItem(F,H,u,r,w,q):(t||(t=this.itemCreator(n,y.rowNode,h)),m.newItem(t[D],u,w,
q))},this);p&&this.tree._expandNode(y)}this.onDndCancel()},onDndCancel:function(){this._unmarkTargetAnchor();this.mouseDown=this.isDragging=!1;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","")},onOverEvent:function(){this.inherited(arguments);b.manager().overSource(this)},onOutEvent:function(){this._unmarkTargetAnchor();var h=b.manager();this.isDragging&&h.canDrop(!1);h.outSource(this);this.inherited(arguments)},_isParentChildDrop:function(h,n){if(!h.tree||h.tree!=
this.tree)return!1;for(var r=h.tree.domNode,k=h.selection,m=n.parentNode;m!=r&&!k[m.id];)m=m.parentNode;return m.id&&k[m.id]},_unmarkTargetAnchor:function(){this.targetAnchor&&(this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition),this.dropPosition=this.targetBox=this.targetAnchor=null)},_markDndStatus:function(h){this._changeState("Source",h?"Copied":"Moved")}})})},"dojox/gfx/_base":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/Color dojo/_base/sniff dojo/_base/window dojo/_base/array dojo/dom dojo/dom-construct dojo/dom-geometry".split(" "),
function(A,C,B,x,l,f,g,d,c){var a=C.getObject("dojox.gfx",!0),b=a._base={};a._hasClass=function(m,y){var p=m.getAttribute("className");return p&&0<=(" "+p+" ").indexOf(" "+y+" ")};a._addClass=function(m,y){var p=m.getAttribute("className")||"";(!p||0>(" "+p+" ").indexOf(" "+y+" "))&&m.setAttribute("className",p+(p?" ":"")+y)};a._removeClass=function(m,y){var p=m.getAttribute("className");p&&m.setAttribute("className",p.replace(new RegExp("(^|\\s+)"+y+"(\\s+|$)"),"$1$2"))};b._getFontMeasurements=function(){var m=
{"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,small:0,medium:0,large:0,"x-large":0,"xx-large":0},y;if(x("ie")){var p=l.doc.documentElement.style.fontSize||"";p||(l.doc.documentElement.style.fontSize="100%")}var u=d.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em",borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},l.body());for(y in m)u.style.fontSize=y,m[y]=16*Math.round(12*u.offsetHeight/16)/12/
1E3;x("ie")&&(l.doc.documentElement.style.fontSize=p);l.body().removeChild(u);return m};var e=null;b._getCachedFontMeasurements=function(m){if(m||!e)e=b._getFontMeasurements();return e};var h=null,n={};b._getTextBox=function(m,y,p){var u=arguments.length,w;h||(h=d.create("div",{style:{position:"absolute",top:"-10000px",left:"0",visibility:"hidden"}},l.body()));var q=h;q.className="";var t=q.style;t.borderWidth="0";t.margin="0";t.padding="0";t.outline="0";if(1<u&&y)for(w in y)w in n||(t[w]=y[w]);2<
u&&p&&(q.className=p);q.innerHTML=m;q.getBoundingClientRect?(t=q.getBoundingClientRect(),t={l:t.left,t:t.top,w:t.width||t.right-t.left,h:t.height||t.bottom-t.top}):t=c.getMarginBox(q);q.innerHTML="";return t};b._computeTextLocation=function(m,y,p,u){var w={};switch(m.align){case "end":w.x=m.x-y;break;case "middle":w.x=m.x-y/2;break;default:w.x=m.x}w.y=m.y-p*(u?.75:1);return w};b._computeTextBoundingBox=function(m){if(!a._base._isRendered(m))return{x:0,y:0,width:0,height:0};var y=m.getShape();var p=
m.getFont()||a.defaultFont;m=m.getTextWidth();p=a.normalizedLength(p.size);y=b._computeTextLocation(y,m,p,!0);return{x:y.x,y:y.y,width:m,height:p}};b._isRendered=function(m){for(m=m.parent;m&&m.getParent;)m=m.parent;return null!==m};var r=0;b._getUniqueId=function(){do var m=A._scopeName+"xUnique"+ ++r;while(g.byId(m));return m};var k=x("pointer-events")?"touchAction":x("MSPointer")?"msTouchAction":null;b._fixMsTouchAction=k?function(m){m.rawNode.style[k]="none"}:function(){};C.mixin(a,{defaultPath:{type:"path",
path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:!1,kerning:!0},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:!1,
kerning:!0},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},getDefault:function(){var m=
{};return function(y){var p=m[y];if(p)return new p;p=m[y]=function(){};p.prototype=a["default"+y];return new p}}(),normalizeColor:function(m){return m instanceof B?m:new B(m)},normalizeParameters:function(m,y){var p;if(y){var u={};for(p in m)p in y&&!(p in u)&&(m[p]=y[p])}return m},makeParameters:function(m,y){var p=null;if(!y)return C.delegate(m);var u={};for(p in m)p in u||(u[p]=C.clone(p in y?y[p]:m[p]));return u},formatNumber:function(m,y){var p=m.toString();if(0<=p.indexOf("e"))p=m.toFixed(4);
else{var u=p.indexOf(".");0<=u&&5<p.length-u&&(p=m.toFixed(4))}return 0>m?p:y?" "+p:p},makeFontString:function(m){return m.style+" "+m.variant+" "+m.weight+" "+m.size+" "+m.family},splitFontString:function(m){var y=a.getDefault("Font");m=m.split(/\s+/);if(!(5>m.length)){y.style=m[0];y.variant=m[1];y.weight=m[2];var p=m[3].indexOf("/");y.size=0>p?m[3]:m[3].substring(0,p);var u=4;0>p&&("/"==m[4]?u=6:"/"==m[4].charAt(0)&&(u=5));u<m.length&&(y.family=m.slice(u).join(" "))}return y},cm_in_pt:72/2.54,mm_in_pt:7.2/
2.54,px_in_pt:function(){return a._base._getCachedFontMeasurements()["12pt"]/12},pt2px:function(m){return m*a.px_in_pt()},px2pt:function(m){return m/a.px_in_pt()},normalizedLength:function(m){if(0===m.length)return 0;if(2<m.length){var y=a.px_in_pt(),p=parseFloat(m);switch(m.slice(-2)){case "px":return p;case "pt":return p*y;case "in":return 72*p*y;case "pc":return 12*p*y;case "mm":return p*a.mm_in_pt*y;case "cm":return p*a.cm_in_pt*y}}return parseFloat(m)},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,
pathSvgRegExp:/([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,equalSources:function(m,y){return m&&y&&m===y},switchTo:function(m){var y="string"==typeof m?a[m]:m;y&&(f.forEach("Group Rect Ellipse Circle Line Polyline Image Text Path TextPath Surface createSurface fixTarget".split(" "),function(p){a[p]=y[p]}),"string"==typeof m?a.renderer=m:f.some(["svg","vml","canvas","canvasWithEvents","silverlight"],function(p){return a.renderer=a[p]&&a[p].Surface===a.Surface?p:null}))}});return a})},"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]/})},
"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(A,C){return A("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:!1,_aria_attr:"aria-checked",_setReadOnlyAttr:function(B){this._set("readOnly",B);C.set(this.focusNode,"readOnly",B)},_setLabelAttr:void 0,_getSubmitValue:function(B){return null==B||""===B?"on":B},_setValueAttr:function(B){B=this._getSubmitValue(B);this._set("value",B);C.set(this.focusNode,"value",B)},reset:function(){this.inherited(arguments);
this._set("value",this._getSubmitValue(this.params.value));C.set(this.focusNode,"value",this.value)},_onClick:function(B){return this.readOnly?(B.stopPropagation(),B.preventDefault(),!1):this.inherited(arguments)}})})},"dojo/html":function(){define("./_base/kernel ./_base/lang ./_base/array ./_base/declare ./dom ./dom-construct ./parser".split(" "),function(A,C,B,x,l,f,g){var d=0,c={_secureForInnerHtml:function(a){return a.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")},_emptyNode:f.empty,
_setNodeContent:function(a,b){f.empty(a);if(b)if("number"==typeof b&&(b=b.toString()),"string"==typeof b&&(b=f.toDom(b,a.ownerDocument)),!b.nodeType&&C.isArrayLike(b))for(var e=b.length,h=0;h<b.length;h=e==b.length?h+1:0)f.place(b[h],a,"last");else f.place(b,a,"last");return a},_ContentSetter:x("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:A._scopeName,startup:!0,constructor:function(a,b){C.mixin(this,a||{});b=this.node=l.byId(this.node||
b);this.id||(this.id=["Setter",b?b.id||b.tagName:"",d++].join("_"))},set:function(a,b){void 0!==a&&(this.content=a);"number"==typeof a&&(a=a.toString());b&&this._mixin(b);this.onBegin();this.setContent();var e=this.onEnd();return e&&e.then?e:this.node},setContent:function(){var a=this.node;if(!a)throw Error(this.declaredClass+": setContent given no node");try{a=c._setNodeContent(a,this.content)}catch(e){var b=this.onContentError(e);try{a.innerHTML=b}catch(h){}}this.node=a},empty:function(){this.parseDeferred&&
(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred);this.parseResults&&this.parseResults.length&&(B.forEach(this.parseResults,function(a){a.destroy&&a.destroy()}),delete this.parseResults);f.empty(this.node)},onBegin:function(){var a=this.content;if(C.isString(a)&&(this.cleanContent&&(a=c._secureForInnerHtml(a)),this.extractContent)){var b=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);b&&(a=b[1])}this.empty();this.content=a;return this.node},onEnd:function(){this.parseContent&&
this._parse();return this.node},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content},onContentError:function(a){return"Error occurred setting content: "+a},onExecError:function(a){return"Error occurred executing scripts: "+a},_mixin:function(a){var b={},e;for(e in a)e in b||(this[e]=a[e])},_parse:function(){var a=this.node;try{var b={};B.forEach(["dir","lang","textDir"],function(h){this[h]&&(b[h]=this[h])},this);var e=this;this.parseDeferred=
g.parse({rootNode:a,noStart:!this.startup,inherited:b,scope:this.parserScope}).then(function(h){return e.parseResults=h},function(h){e._onError("Content",h,"Error parsing in _ContentSetter#"+e.id)})}catch(h){this._onError("Content",h,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(a,b,e){a=this["on"+a+"Error"].call(this,b);e||a&&c._setNodeContent(this.node,a,!0)}}),set:function(a,b,e){void 0==b&&(b="");"number"==typeof b&&(b=b.toString());return e?(new c._ContentSetter(C.mixin(e,{content:b,
node:a}))).set():c._setNodeContent(a,b,!0)}};C.setObject("dojo.html",c);return c})},"dojo/_base/loader":function(){define("./kernel ../has require module ../json ./lang ./array".split(" "),function(A,C,B,x,l,f,g){var d=function(Q){return Q.replace(/\./g,"/")},c=/\/\/>>built/,a=[],b=[],e=function(Q,P,S){a.push(S);g.forEach(Q.split(","),function(L){L=F(L,P.module);b.push(L);H(L)});h()},h=function(){var Q;for(Q in v){var P=v[Q];void 0===P.noReqPluginCheck&&(P.noReqPluginCheck=/loadInit!/.test(Q)||/require!/.test(Q)?
1:0);if(!P.executed&&!P.noReqPluginCheck&&P.injected==u)return}N(function(){var S=a;a=[];g.forEach(S,function(L){L(1)})})},n=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/mg,r=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,k=/(^|\s)(require|define)\s*\(/m,m=function(Q,P){var S=[],L=[];var R=[];for(P=P||Q.replace(n,"$1");R=r.exec(P);){var T=r.lastIndex;var aa=T-R[0].length;var da=void 0,la=P,ha=/\(|\)/g,oa=1;
for(ha.lastIndex=T;(da=ha.exec(la))&&(oa=")"==da[0]?oa-1:oa+1,0!=oa););if(0!=oa)throw"unmatched paren around character "+ha.lastIndex+" in: "+la;T=[A.trim(la.substring(aa,ha.lastIndex))+";\n",ha.lastIndex];"loadInit"==R[2]?S.push(T[0]):L.push(T[0]);r.lastIndex=T[1]}R=S.concat(L);return R.length||!k.test(P)?[Q.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 \x26\x26 dojo.loadInit("),R.join(""),R]:0},y=B.initSyncLoader(e,h,function(Q,P){var S,L=[],R=[];if(c.test(P)||!(S=m(P)))return 0;var T=Q.mid+"-*loadInit";
for(var aa in F("dojo",Q).result.scopeMap)L.push(aa),R.push('"'+aa+'"');return"// xdomain rewrite of "+Q.mid+"\ndefine('"+T+"',{\n\tnames:"+l.stringify(L)+",\n\tdef:function("+L.join(",")+"){"+S[1]+"}});\n\ndefine("+l.stringify(L.concat(["dojo/loadInit!"+T]))+", function("+L.join(",")+"){\n"+S[0]+"});"}),p=y.sync,u=y.requested,w=y.arrived,q=y.nonmodule,t=y.executing,z=y.executed,D=y.syncExecStack,v=y.modules,E=y.execQ,F=y.getModule,H=y.injectModule,J=y.setArrived,G=y.signal,I=y.finishExec,K=y.execModule,
M=y.getLegacyMode,N=y.guardCheckComplete;e=y.dojoRequirePlugin;A.provide=function(Q){var P=D[0],S=f.mixin(F(d(Q),B.module),{executed:t,result:f.getObject(Q,!0)});J(S);P&&(P.provides||(P.provides=[])).push(function(){S.result=f.getObject(Q);delete S.provides;S.executed!==z&&I(S)});return S.result};C.add("config-publishRequireResult",1,0,0);A.require=function(Q,P){var S=function(L,R){var T=F(d(L),B.module);if(D.length&&D[0].finish)D[0].finish.push(L);else{if(T.executed)return T.result;R&&(T.result=
q);var aa=M();H(T);aa=M();T.executed!==z&&T.injected===w&&y.guardCheckComplete(function(){K(T)});if(T.executed)return T.result;aa==p?T.cjs?E.unshift(T):D.length&&(D[0].finish=[L]):E.push(T)}}(Q,P);C("config-publishRequireResult")&&!f.exists(Q)&&void 0!==S&&f.setObject(Q,S);return S};A.loadInit=function(Q){Q()};A.registerModulePath=function(Q,P){var S={};S[Q.replace(/\./g,"/")]=P;B({paths:S})};A.platformRequire=function(Q){Q=(Q.common||[]).concat(Q[A._name]||Q["default"]||[]);for(var P;Q.length;)f.isArray(P=
Q.shift())?A.require.apply(A,P):A.require(P)};A.requireIf=A.requireAfterIf=function(Q,P,S){Q&&A.require(P,S)};A.requireLocalization=function(Q,P,S){B(["../i18n"],function(L){L.getLocalization(Q,P,S)})};return{extractLegacyApiApplications:m,require:e,loadInit:function(Q,P,S){P([Q],function(L){P(L.names,function(){for(var R="",T=[],aa=0;aa<arguments.length;aa++)R+="var "+L.names[aa]+"\x3d arguments["+aa+"]; ",T.push(arguments[aa]);eval(R);var da=P.module,la=[],ha;R={provide:function(ka){ka=d(ka);ka=
F(ka,da);ka!==da&&J(ka)},require:function(ka,ta){ka=d(ka);ta&&(F(ka,da).result=q);la.push(ka)},requireLocalization:function(ka,ta,va){ha||(ha=["dojo/i18n"]);va=(va||A.locale).toLowerCase();ka=d(ka)+"/nls/"+(/root/i.test(va)?"":va+"/")+d(ta);F(ka,da).isXd&&ha.push("dojo/i18n!"+ka)},loadInit:function(ka){ka()}};aa={};var oa;try{for(oa in R)aa[oa]=A[oa],A[oa]=R[oa];L.def.apply(null,T)}catch(ka){G("error",[{src:x.id,id:"failedDojoLoadInit"},ka])}finally{for(oa in R)A[oa]=aa[oa]}ha&&(la=la.concat(ha));
la.length?e(la.join(","),P,S):S()})})}}})},"dojo/dom-style":function(){define(["./sniff","./dom","./_base/window"],function(A,C,B){function x(n,r,k){r=r.toLowerCase();if("auto"==k){if("height"==r)return n.offsetHeight;if("width"==r)return n.offsetWidth}if("fontweight"==r)switch(k){case 700:return"bold";default:return"normal"}r in b||(b[r]=e.test(r));return b[r]?g(n,k):k}var l={};var f=A("webkit")?function(n){if(1==n.nodeType){var r=n.ownerDocument.defaultView;var k=r.getComputedStyle(n,null);!k&&
n.style&&(n.style.display="",k=r.getComputedStyle(n,null))}return k||{}}:A("ie")&&(9>A("ie")||A("quirks"))?function(n){return 1==n.nodeType&&n.currentStyle?n.currentStyle:{}}:function(n){if(1===n.nodeType){var r=n.ownerDocument.defaultView;return(r.opener?r:B.global.window).getComputedStyle(n,null)}return{}};l.getComputedStyle=f;var g=A("ie")?function(n,r){if(!r)return 0;if("medium"==r)return 4;if(r.slice&&"px"==r.slice(-2))return parseFloat(r);var k=n.style,m=n.runtimeStyle,y=k.left,p=m.left;m.left=
n.currentStyle.left;try{k.left=r,r=k.pixelLeft}catch(u){r=0}k.left=y;m.left=p;return r}:function(n,r){return parseFloat(r)||0};l.toPixelValue=g;var d=function(n,r){try{return n.filters.item("DXImageTransform.Microsoft.Alpha")}catch(k){return r?{}:null}},c=9>A("ie")||10>A("ie")&&A("quirks")?function(n){try{return d(n).Opacity/100}catch(r){return 1}}:function(n){return f(n).opacity},a=9>A("ie")||10>A("ie")&&A("quirks")?function(n,r){""===r&&(r=1);var k=100*r;1===r?(n.style.zoom="",d(n)&&(n.style.filter=
n.style.filter.replace(RegExp("\\s*progid:DXImageTransform.Microsoft.Alpha\\([^\\)]+?\\)","i"),""))):(n.style.zoom=1,d(n)?d(n,1).Opacity=k:n.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity\x3d"+k+")",d(n,1).Enabled=!0);if("tr"==n.tagName.toLowerCase())for(k=n.firstChild;k;k=k.nextSibling)"td"==k.tagName.toLowerCase()&&a(k,r);return r}:function(n,r){return n.style.opacity=r},b={left:!0,top:!0},e=/margin|padding|width|height|max|min|offset/,h={cssFloat:1,styleFloat:1,"float":1};l.get=
function(n,r){var k=C.byId(n),m=arguments.length;if(2==m&&"opacity"==r)return c(k);r=h[r]?"cssFloat"in k.style?"cssFloat":"styleFloat":r;var y=l.getComputedStyle(k);return 1==m?y:x(k,r,y[r]||k.style[r])};l.set=function(n,r,k){var m=C.byId(n),y=arguments.length,p="opacity"==r;r=h[r]?"cssFloat"in m.style?"cssFloat":"styleFloat":r;if(3==y)return p?a(m,k):m.style[r]=k;for(var u in r)l.set(n,u,r[u]);return l.getComputedStyle(m)};return l})},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang",
"./_base/array","./when"],function(A,C,B,x){return A("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(l){var f=this._attrPairNames;return f[l]?f[l]:f[l]={s:"_"+l+"Setter",g:"_"+l+"Getter"}},postscript:function(l){l&&this.set(l)},_get:function(l,f){return"function"===typeof this[f.g]?this[f.g]():this[l]},get:function(l){return this._get(l,this._getAttrNames(l))},set:function(l,f){if("object"===typeof l){for(var g in l)l.hasOwnProperty(g)&&"_watchCallbacks"!=g&&this.set(g,l[g]);return this}g=
this._getAttrNames(l);var d=this._get(l,g);g=this[g.s];var c;"function"===typeof g?c=g.apply(this,Array.prototype.slice.call(arguments,1)):this[l]=f;if(this._watchCallbacks){var a=this;x(c,function(){a._watchCallbacks(l,d,f)})}return this},_changeAttrValue:function(l,f){var g=this.get(l);this[l]=f;this._watchCallbacks&&this._watchCallbacks(l,g,f);return this},watch:function(l,f){var g=this._watchCallbacks;if(!g){var d=this;g=this._watchCallbacks=function(b,e,h,n){var r=function(k){if(k){k=k.slice();
for(var m=0,y=k.length;m<y;m++)k[m].call(d,b,e,h)}};r(g["_"+b]);n||r(g["*"])}}f||"function"!==typeof l?l="_"+l:(f=l,l="*");var c=g[l];"object"!==typeof c&&(c=g[l]=[]);c.push(f);var a={};a.unwatch=a.remove=function(){var b=B.indexOf(c,f);-1<b&&c.splice(b,1)};return a}})})},"dojox/gfx/svg":function(){define("dojo/_base/lang dojo/_base/sniff dojo/_base/window dojo/dom dojo/_base/declare dojo/_base/array dojo/dom-geometry dojo/dom-attr dojo/_base/Color ./_base ./shape ./path".split(" "),function(A,C,
B,x,l,f,g,d,c,a,b,e){function h(z,D){return B.doc.createElementNS?B.doc.createElementNS(z,D):B.doc.createElement(D)}function n(z,D,v,E){return z.setAttributeNS?z.setAttributeNS(D,v,E):z.setAttribute(v,E)}function r(z){return k.useSvgWeb?B.doc.createTextNode(z,!0):B.doc.createTextNode(z)}var k=a.svg={};k.useSvgWeb="undefined"!=typeof window.svgweb;var m=navigator.userAgent,y=C("ios"),p=C("android"),u=C("chrome")||p&&4<=p?"auto":"optimizeLegibility";k.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"};
k.getRef=function(z){return z&&"none"!=z?z.match(/^url\(#.+\)$/)?x.byId(z.slice(5,-1)):z.match(/^#dojoUnique\d+$/)?x.byId(z.slice(1)):null:null};k.dasharray={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]};var w=0;k.Shape=l("dojox.gfx.svg.Shape",b.Shape,{destroy:function(){if(this.fillStyle&&"type"in this.fillStyle){var z=this.rawNode.getAttribute("fill");
(z=k.getRef(z))&&z.parentNode.removeChild(z)}this.clip&&(z=this.rawNode.getAttribute("clip-path"))&&(z=x.byId(z.match(/gfx_clip[\d]+/)[0]))&&z.parentNode.removeChild(z);b.Shape.prototype.destroy.apply(this,arguments)},setFill:function(z){if(!z)return this.fillStyle=null,this.rawNode.setAttribute("fill","none"),this.rawNode.setAttribute("fill-opacity",0),this;var D=function(E){this.setAttribute(E,v[E].toFixed(8))};if("object"==typeof z&&"type"in z){switch(z.type){case "linear":var v=a.makeParameters(a.defaultLinearGradient,
z);z=this._setFillObject(v,"linearGradient");f.forEach(["x1","y1","x2","y2"],D,z);break;case "radial":v=a.makeParameters(a.defaultRadialGradient,z);z=this._setFillObject(v,"radialGradient");f.forEach(["cx","cy","r"],D,z);break;case "pattern":v=a.makeParameters(a.defaultPattern,z),z=this._setFillObject(v,"pattern"),f.forEach(["x","y","width","height"],D,z)}this.fillStyle=v;return this}this.fillStyle=v=a.normalizeColor(z);this.rawNode.setAttribute("fill",v.toCss());this.rawNode.setAttribute("fill-opacity",
v.a);this.rawNode.setAttribute("fill-rule","evenodd");return this},setStroke:function(z){var D=this.rawNode;if(!z)return this.strokeStyle=null,D.setAttribute("stroke","none"),D.setAttribute("stroke-opacity",0),this;if("string"==typeof z||A.isArray(z)||z instanceof c)z={color:z};z=this.strokeStyle=a.makeParameters(a.defaultStroke,z);z.color=a.normalizeColor(z.color);if(z){var v=0>z.width?0:z.width;D.setAttribute("stroke",z.color.toCss());D.setAttribute("stroke-opacity",z.color.a);D.setAttribute("stroke-width",
v);D.setAttribute("stroke-linecap",z.cap);"number"==typeof z.join?(D.setAttribute("stroke-linejoin","miter"),D.setAttribute("stroke-miterlimit",z.join)):D.setAttribute("stroke-linejoin",z.join);var E=z.style.toLowerCase();E in k.dasharray&&(E=k.dasharray[E]);if(E instanceof Array){E=A._toArray(E);var F;for(F=0;F<E.length;++F)E[F]*=v;if("butt"!=z.cap){for(F=0;F<E.length;F+=2)E[F]-=v,1>E[F]&&(E[F]=1);for(F=1;F<E.length;F+=2)E[F]+=v}E=E.join(",")}D.setAttribute("stroke-dasharray",E);D.setAttribute("dojoGfxStrokeStyle",
z.style)}return this},_getParentSurface:function(){for(var z=this.parent;z&&!(z instanceof a.Surface);z=z.parent);return z},_setFillObject:function(z,D){var v=k.xmlns.svg;this.fillStyle=z;var E=this._getParentSurface().defNode,F=this.rawNode.getAttribute("fill");if(F=k.getRef(F))if(F.tagName.toLowerCase()!=D.toLowerCase()){var H=F.id;F.parentNode.removeChild(F);F=h(v,D);F.setAttribute("id",H);E.appendChild(F)}else for(;F.childNodes.length;)F.removeChild(F.lastChild);else F=h(v,D),F.setAttribute("id",
a._base._getUniqueId()),E.appendChild(F);if("pattern"==D)F.setAttribute("patternUnits","userSpaceOnUse"),v=h(v,"image"),v.setAttribute("x",0),v.setAttribute("y",0),v.setAttribute("width",(0>z.width?0:z.width).toFixed(8)),v.setAttribute("height",(0>z.height?0:z.height).toFixed(8)),n(v,k.xmlns.xlink,"xlink:href",z.src),F.appendChild(v);else for(F.setAttribute("gradientUnits","userSpaceOnUse"),E=0;E<z.colors.length;++E){H=z.colors[E];var J=h(v,"stop"),G=H.color=a.normalizeColor(H.color);J.setAttribute("offset",
H.offset.toFixed(8));J.setAttribute("stop-color",G.toCss());J.setAttribute("stop-opacity",G.a);F.appendChild(J)}this.rawNode.setAttribute("fill","url(#"+F.getAttribute("id")+")");this.rawNode.removeAttribute("fill-opacity");this.rawNode.setAttribute("fill-rule","evenodd");return F},_applyTransform:function(){if(this.matrix){var z=this.matrix;this.rawNode.setAttribute("transform","matrix("+z.xx.toFixed(8)+","+z.yx.toFixed(8)+","+z.xy.toFixed(8)+","+z.yy.toFixed(8)+","+z.dx.toFixed(8)+","+z.dy.toFixed(8)+
")")}else this.rawNode.removeAttribute("transform");return this},setRawNode:function(z){z=this.rawNode=z;"image"!=this.shape.type&&z.setAttribute("fill","none");z.setAttribute("fill-opacity",0);z.setAttribute("stroke","none");z.setAttribute("stroke-opacity",0);z.setAttribute("stroke-width",1);z.setAttribute("stroke-linecap","butt");z.setAttribute("stroke-linejoin","miter");z.setAttribute("stroke-miterlimit",4);z.__gfxObject__=this},setShape:function(z){this.shape=a.makeParameters(this.shape,z);for(var D in this.shape)if("type"!=
D){z=this.shape[D];if("width"===D||"height"===D)z=0>z?0:z;this.rawNode.setAttribute(D,z)}this.bbox=null;return this},_moveToFront:function(){this.rawNode.parentNode.appendChild(this.rawNode);return this},_moveToBack:function(){this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild);return this},setClip:function(z){this.inherited(arguments);var D=z?"width"in z?"rect":"cx"in z?"ellipse":"points"in z?"polyline":"d"in z?"path":null:null;if(z&&!D)return this;"polyline"===
D&&(z=A.clone(z),z.points=z.points.join(","));var v,E=d.get(this.rawNode,"clip-path");E&&(v=x.byId(E.match(/gfx_clip[\d]+/)[0]))&&v.removeChild(v.childNodes[0]);z?(v?(D=h(k.xmlns.svg,D),v.appendChild(D)):(E="gfx_clip"+ ++w,this.rawNode.setAttribute("clip-path","url(#"+E+")"),v=h(k.xmlns.svg,"clipPath"),D=h(k.xmlns.svg,D),v.appendChild(D),this.rawNode.parentNode.insertBefore(v,this.rawNode),d.set(v,"id",E)),d.set(D,z)):(this.rawNode.removeAttribute("clip-path"),v&&v.parentNode.removeChild(v));return this},
_removeClipNode:function(){var z,D=d.get(this.rawNode,"clip-path");D&&(z=x.byId(D.match(/gfx_clip[\d]+/)[0]))&&z.parentNode.removeChild(z);return z}});k.Group=l("dojox.gfx.svg.Group",k.Shape,{constructor:function(){b.Container._init.call(this)},setRawNode:function(z){this.rawNode=z;this.rawNode.__gfxObject__=this},destroy:function(){this.clear(!0);k.Shape.prototype.destroy.apply(this,arguments)}});k.Group.nodeType="g";k.Rect=l("dojox.gfx.svg.Rect",[k.Shape,b.Rect],{setShape:function(z){this.shape=
a.makeParameters(this.shape,z);this.bbox=null;for(var D in this.shape)if("type"!=D&&"r"!=D){z=this.shape[D];if("width"===D||"height"===D)z=0>z?0:z;this.rawNode.setAttribute(D,z)}null!=this.shape.r&&(this.rawNode.setAttribute("ry",this.shape.r),this.rawNode.setAttribute("rx",this.shape.r));return this}});k.Rect.nodeType="rect";k.Ellipse=l("dojox.gfx.svg.Ellipse",[k.Shape,b.Ellipse],{});k.Ellipse.nodeType="ellipse";k.Circle=l("dojox.gfx.svg.Circle",[k.Shape,b.Circle],{});k.Circle.nodeType="circle";
k.Line=l("dojox.gfx.svg.Line",[k.Shape,b.Line],{});k.Line.nodeType="line";k.Polyline=l("dojox.gfx.svg.Polyline",[k.Shape,b.Polyline],{setShape:function(z,D){z&&z instanceof Array?(this.shape=a.makeParameters(this.shape,{points:z}),D&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=a.makeParameters(this.shape,z);this.bbox=null;this._normalizePoints();for(var v=[],E=this.shape.points,F=0;F<E.length;++F)v.push(E[F].x.toFixed(8),E[F].y.toFixed(8));this.rawNode.setAttribute("points",
v.join(" "));return this}});k.Polyline.nodeType="polyline";k.Image=l("dojox.gfx.svg.Image",[k.Shape,b.Image],{setShape:function(z){this.shape=a.makeParameters(this.shape,z);this.bbox=null;z=this.rawNode;for(var D in this.shape)if("type"!=D&&"src"!=D){var v=this.shape[D];if("width"===D||"height"===D)v=0>v?0:v;z.setAttribute(D,v)}z.setAttribute("preserveAspectRatio","none");n(z,k.xmlns.xlink,"xlink:href",this.shape.src);z.__gfxObject__=this;return this}});k.Image.nodeType="image";k.Text=l("dojox.gfx.svg.Text",
[k.Shape,b.Text],{setShape:function(z){this.shape=a.makeParameters(this.shape,z);this.bbox=null;z=this.rawNode;var D=this.shape;z.setAttribute("x",D.x);z.setAttribute("y",D.y);z.setAttribute("text-anchor",D.align);z.setAttribute("text-decoration",D.decoration);z.setAttribute("rotate",D.rotated?90:0);z.setAttribute("kerning",D.kerning?"auto":0);z.setAttribute("text-rendering",u);z.firstChild?z.firstChild.nodeValue=D.text:z.appendChild(r(D.text));return this},getTextWidth:function(){var z=this.rawNode,
D=z.parentNode;z=z.cloneNode(!0);z.style.visibility="hidden";var v=0,E=z.firstChild.nodeValue;D.appendChild(z);if(""!=E)for(;!v;)v=z.getBBox?parseInt(z.getBBox().width):68;D.removeChild(z);return v},getBoundingBox:function(){var z=null;if(this.getShape().text)try{z=this.rawNode.getBBox()}catch(D){z={x:0,y:0,width:0,height:0}}return z}});k.Text.nodeType="text";k.Path=l("dojox.gfx.svg.Path",[k.Shape,e.Path],{_updateWithSegment:function(z){this.inherited(arguments);"string"==typeof this.shape.path&&
this.rawNode.setAttribute("d",this.shape.path)},setShape:function(z){this.inherited(arguments);this.shape.path?this.rawNode.setAttribute("d",this.shape.path):this.rawNode.removeAttribute("d");return this}});k.Path.nodeType="path";k.TextPath=l("dojox.gfx.svg.TextPath",[k.Shape,e.TextPath],{_updateWithSegment:function(z){this.inherited(arguments);this._setTextPath()},setShape:function(z){this.inherited(arguments);this._setTextPath();return this},_setTextPath:function(){if("string"==typeof this.shape.path){var z=
this.rawNode;if(!z.firstChild){var D=h(k.xmlns.svg,"textPath"),v=r("");D.appendChild(v);z.appendChild(D)}D=(D=z.firstChild.getAttributeNS(k.xmlns.xlink,"href"))&&k.getRef(D);if(!D&&(v=this._getParentSurface())){v=v.defNode;D=h(k.xmlns.svg,"path");var E=a._base._getUniqueId();D.setAttribute("id",E);v.appendChild(D);n(z.firstChild,k.xmlns.xlink,"xlink:href","#"+E)}D&&D.setAttribute("d",this.shape.path)}},_setText:function(){var z=this.rawNode;if(!z.firstChild){var D=h(k.xmlns.svg,"textPath"),v=r("");
D.appendChild(v);z.appendChild(D)}z=z.firstChild;D=this.text;z.setAttribute("alignment-baseline","middle");switch(D.align){case "middle":z.setAttribute("text-anchor","middle");z.setAttribute("startOffset","50%");break;case "end":z.setAttribute("text-anchor","end");z.setAttribute("startOffset","100%");break;default:z.setAttribute("text-anchor","start"),z.setAttribute("startOffset","0%")}z.setAttribute("baseline-shift","0.5ex");z.setAttribute("text-decoration",D.decoration);z.setAttribute("rotate",
D.rotated?90:0);z.setAttribute("kerning",D.kerning?"auto":0);z.firstChild.data=D.text}});k.TextPath.nodeType="text";var q=534<function(){var z=/WebKit\/(\d*)/.exec(m);return z?z[1]:0}();k.Surface=l("dojox.gfx.svg.Surface",b.Surface,{constructor:function(){b.Container._init.call(this)},destroy:function(){b.Container.clear.call(this,!0);this.defNode=null;this.inherited(arguments)},setDimensions:function(z,D){if(!this.rawNode)return this;var v=0>z?0:z,E=0>D?0:D;this.rawNode.setAttribute("width",v);this.rawNode.setAttribute("height",
E);q&&(this.rawNode.style.width=v,this.rawNode.style.height=E);return this},getDimensions:function(){return this.rawNode?{width:a.normalizedLength(this.rawNode.getAttribute("width")),height:a.normalizedLength(this.rawNode.getAttribute("height"))}:null}});k.createSurface=function(z,D,v){var E=new k.Surface;E.rawNode=h(k.xmlns.svg,"svg");E.rawNode.setAttribute("overflow","hidden");D&&E.rawNode.setAttribute("width",0>D?0:D);v&&E.rawNode.setAttribute("height",0>v?0:v);D=h(k.xmlns.svg,"defs");E.rawNode.appendChild(D);
E.defNode=D;E._parent=x.byId(z);E._parent.appendChild(E.rawNode);a._base._fixMsTouchAction(E);return E};C={_setFont:function(){var z=this.fontStyle;this.rawNode.setAttribute("font-style",z.style);this.rawNode.setAttribute("font-variant",z.variant);this.rawNode.setAttribute("font-weight",z.weight);this.rawNode.setAttribute("font-size",z.size);this.rawNode.setAttribute("font-family",z.family)}};var t=b.Container;l=k.Container={openBatch:function(){if(!this._batch){var z=k.useSvgWeb?B.doc.createDocumentFragment(!0):
B.doc.createDocumentFragment();this.fragment=z}++this._batch;return this},closeBatch:function(){this._batch=0<this._batch?--this._batch:0;this.fragment&&!this._batch&&(this.rawNode.appendChild(this.fragment),delete this.fragment);return this},add:function(z){this!=z.getParent()&&(this.fragment?this.fragment.appendChild(z.rawNode):this.rawNode.appendChild(z.rawNode),t.add.apply(this,arguments),z.setClip(z.clip));return this},remove:function(z,D){this==z.getParent()&&(this.rawNode==z.rawNode.parentNode&&
this.rawNode.removeChild(z.rawNode),this.fragment&&this.fragment==z.rawNode.parentNode&&this.fragment.removeChild(z.rawNode),z._removeClipNode(),t.remove.apply(this,arguments));return this},clear:function(){for(var z=this.rawNode;z.lastChild;)z.removeChild(z.lastChild);var D=this.defNode;if(D){for(;D.lastChild;)D.removeChild(D.lastChild);z.appendChild(D)}return t.clear.apply(this,arguments)},getBoundingBox:t.getBoundingBox,_moveChildToFront:t._moveChildToFront,_moveChildToBack:t._moveChildToBack};
e=k.Creator={createObject:function(z,D){if(!this.rawNode)return null;var v=new z,E=h(k.xmlns.svg,z.nodeType);v.setRawNode(E);v.setShape(D);this.add(v);return v}};A.extend(k.Text,C);A.extend(k.TextPath,C);A.extend(k.Group,l);A.extend(k.Group,b.Creator);A.extend(k.Group,e);A.extend(k.Surface,l);A.extend(k.Surface,b.Creator);A.extend(k.Surface,e);k.fixTarget=function(z,D){z.gfxTarget||(z.gfxTarget=y&&z.target.wholeText?z.target.parentElement.__gfxObject__:z.target.__gfxObject__);return!0};k.useSvgWeb&&
(k.createSurface=function(z,D,v){var E=new k.Surface;D=0>D?0:D;v=0>v?0:v;if(!D||!v){var F=g.position(z);D=D||F.w;v=v||F.h}z=x.byId(z);F=z.id?z.id+"_svgweb":a._base._getUniqueId();var H=h(k.xmlns.svg,"svg");H.id=F;H.setAttribute("width",D);H.setAttribute("height",v);svgweb.appendChild(H,z);H.addEventListener("SVGLoad",function(){E.rawNode=this;E.isLoaded=!0;var J=h(k.xmlns.svg,"defs");E.rawNode.appendChild(J);E.defNode=J;if(E.onLoad)E.onLoad(E)},!1);E.isLoaded=!1;return E},k.Surface.extend({destroy:function(){var z=
this.rawNode;svgweb.removeChild(z,z.parentNode)}}),C={connect:function(z,D,v){"on"===z.substring(0,2)&&(z=z.substring(2));v=2==arguments.length?D:A.hitch(D,v);this.getEventSource().addEventListener(z,v,!1);return[this,z,v]},disconnect:function(z){this.getEventSource().removeEventListener(z[1],z[2],!1);delete z[0]}},A.extend(k.Shape,C),A.extend(k.Surface,C));return k})},"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(A,C){var B=document.createElement("div"),x=B.matches||
B.webkitMatchesSelector||B.mozMatchesSelector||B.msMatchesSelector||B.oMatchesSelector,l=B.querySelectorAll,f=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;A.add("dom-matches-selector",!!x);A.add("dom-qsa",!!l);var g=function(b,e){if(a&&-1<b.indexOf(","))return a(b,e);var h=e?e.ownerDocument||e:C.doc||document,n=(l?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(b);e=e||h;if(n){var r=8===A("ie")&&A("quirks")?e.nodeType===
h.nodeType:null!==e.parentNode&&9!==e.nodeType&&e.parentNode===h;if(n[2]&&r){var k=C.byId?C.byId(n[2],h):h.getElementById(n[2]);if(!k||n[1]&&n[1]!=k.tagName.toLowerCase())return[];if(e!=h)for(h=k;h!=e;)if(h=h.parentNode,!h)return[];return n[3]?g(n[3],k):[k]}if(n[3]&&e.getElementsByClassName)return e.getElementsByClassName(n[4]);if(n[5])if(k=e.getElementsByTagName(n[5]),n[4]||n[6])b=(n[4]||"")+n[6];else return k}if(l)return 1===e.nodeType&&"object"!==e.nodeName.toLowerCase()?d(e,b,e.querySelectorAll):
e.querySelectorAll(b);k||(k=e.getElementsByTagName("*"));n=[];h=0;for(r=k.length;h<r;h++){var m=k[h];1==m.nodeType&&c(m,b,e)&&n.push(m)}return n},d=function(b,e,h){var n=b,r=b.getAttribute("id"),k=r||"__dojo__",m=b.parentNode,y=/^\s*[+~]/.test(e);if(y&&!m)return[];r?k=k.replace(/'/g,"\\$\x26"):b.setAttribute("id",k);y&&m&&(b=b.parentNode);e=e.match(f);for(m=0;m<e.length;m++)e[m]="[id\x3d'"+k+"'] "+e[m];e=e.join(",");try{return h.call(b,e)}finally{r||n.removeAttribute("id")}};if(!A("dom-matches-selector"))var c=
function(){function b(p,u,w){var q=u.charAt(0);if('"'==q||"'"==q)u=u.slice(1,-1);u=u.replace(/\\/g,"");var t=m[w||""];return function(z){return(z=z.getAttribute(p))&&t(z,u)}}function e(p){return function(u,w){for(;(u=u.parentNode)!=w;)if(p(u,w))return!0}}function h(p){return function(u,w){u=u.parentNode;return p?u!=w&&p(u,w):u==w}}function n(p,u){return p?function(w,q){return u(w)&&p(w,q)}:u}var r="div"==B.tagName?"toLowerCase":"toUpperCase",k={"":function(p){p=p[r]();return function(u){return u.tagName==
p}},".":function(p){var u=" "+p+" ";return function(w){return-1<w.className.indexOf(p)&&-1<(" "+w.className+" ").indexOf(u)}},"#":function(p){return function(u){return u.id==p}}},m={"^\x3d":function(p,u){return 0==p.indexOf(u)},"*\x3d":function(p,u){return-1<p.indexOf(u)},"$\x3d":function(p,u){return p.substring(p.length-u.length,p.length)==u},"~\x3d":function(p,u){return-1<(" "+p+" ").indexOf(" "+u+" ")},"|\x3d":function(p,u){return 0==(p+"-").indexOf(u+"-")},"\x3d":function(p,u){return p==u},"":function(p,
u){return!0}},y={};return function(p,u,w){var q=y[u];if(!q){if(u.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,z,D,v,E,F,H){v?q=n(q,k[D||""](v.replace(/\\/g,""))):z?q=(" "==z?e:h)(q):E&&(q=n(q,b(E,H,F)));return""}))throw Error("Syntax error in query");if(!q)return!0;y[u]=q}return q(p,w)}}();if(!A("dom-qsa"))var a=function(b,e){for(var h=b.match(f),n=[],r=0;r<h.length;r++){b=new String(h[r].replace(/\s*$/,
""));b.indexOf=escape;for(var k=g(b,e),m=0,y=k.length;m<y;m++){var p=k[m];n[p.sourceIndex]=p}}h=[];for(r in n)h.push(n[r]);return h};g.match=x?function(b,e,h){return h&&9!=h.nodeType?d(h,e,function(n){return x.call(b,n)}):x.call(b,e)}:c;return g})},"dijit/layout/LayoutContainer":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-class dojo/dom-style dojo/_base/lang ../_WidgetBase ./_LayoutWidget ./utils".split(" "),function(A,C,B,x,l,f,g,d){C=C("dijit.layout.LayoutContainer",g,{design:"headline",
baseClass:"dijitLayoutContainer",startup:function(){this._started||(A.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},_setupChild:function(c){this.inherited(arguments);c.region&&B.add(c.domNode,this.baseClass+"Pane")},_getOrderedChildren:function(){var c=A.map(this.getChildren(),function(a,b){return{pane:a,weight:["center"==a.region?Infinity:0,a.layoutPriority,("sidebar"==this.design?1:-1)*(/top|bottom/.test(a.region)?1:-1),b]}},this);c.sort(function(a,b){for(var e=a.weight,
h=b.weight,n=0;n<e.length;n++)if(e[n]!=h[n])return e[n]-h[n];return 0});return A.map(c,function(a){return a.pane})},layout:function(){d.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren())},addChild:function(c,a){this.inherited(arguments);this._started&&this.layout()},removeChild:function(c){this.inherited(arguments);this._started&&this.layout();B.remove(c.domNode,this.baseClass+"Pane");x.set(c.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});x.set(c.domNode,
/top|bottom/.test(c.region)?"width":"height","auto")}});C.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};l.extend(f,C.ChildWidgetProperties);return C})},"dojo/dnd/autoscroll":function(){define("../_base/lang ../sniff ../_base/window ../dom-geometry ../dom-style ../window".split(" "),function(A,C,B,x,l,f){var g={};A.setObject("dojo.dnd.autoscroll",g);g.getViewport=f.getBox;g.V_TRIGGER_AUTOSCROLL=32;g.H_TRIGGER_AUTOSCROLL=32;g.V_AUTOSCROLL_VALUE=16;g.H_AUTOSCROLL_VALUE=16;var d,c=
B.doc,a=Infinity,b=Infinity;g.autoScrollStart=function(e){c=e;d=f.getBox(c);e=B.body(c).parentNode;a=Math.max(e.scrollHeight-d.h,0);b=Math.max(e.scrollWidth-d.w,0)};g.autoScroll=function(e){var h=d||f.getBox(c),n=B.body(c).parentNode,r=0,k=0;e.clientX<g.H_TRIGGER_AUTOSCROLL?r=-g.H_AUTOSCROLL_VALUE:e.clientX>h.w-g.H_TRIGGER_AUTOSCROLL&&(r=Math.min(g.H_AUTOSCROLL_VALUE,b-n.scrollLeft));e.clientY<g.V_TRIGGER_AUTOSCROLL?k=-g.V_AUTOSCROLL_VALUE:e.clientY>h.h-g.V_TRIGGER_AUTOSCROLL&&(k=Math.min(g.V_AUTOSCROLL_VALUE,
a-n.scrollTop));window.scrollBy(r,k)};g._validNodes={div:1,p:1,td:1};g._validOverflow={auto:1,scroll:1};g.autoScrollNodes=function(e){for(var h,n,r,k,m,y=0,p=0,u=e.target;u;){if(1==u.nodeType&&u.tagName.toLowerCase()in g._validNodes){r=l.getComputedStyle(u);m=r.overflowX.toLowerCase()in g._validOverflow;k=r.overflowY.toLowerCase()in g._validOverflow;if(m||k)h=x.getContentBox(u,r),n=x.position(u,!0);if(m){r=Math.min(g.H_TRIGGER_AUTOSCROLL,h.w/2);m=e.pageX-n.x;if(C("webkit")||C("opera"))m+=B.body().scrollLeft;
y=0;0<m&&m<h.w&&(m<r?y=-r:m>h.w-r&&(y=r),u.scrollLeft+=y)}if(k){k=Math.min(g.V_TRIGGER_AUTOSCROLL,h.h/2);r=e.pageY-n.y;if(C("webkit")||C("opera"))r+=B.body().scrollTop;p=0;0<r&&r<h.h&&(r<k?p=-k:r>h.h-k&&(p=k),u.scrollTop+=p)}if(y||p)return}try{u=u.parentNode}catch(w){u=null}}g.autoScroll(e)};return g})},"dojox/grid/cells":function(){define(["../main","./cells/_base"],function(A){return A.grid.cells})},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry",
"dojo/dom-style","dojo/_base/lang"],function(A,C,B,x,l){function f(d,c){var a=d.resize?d.resize(c):B.setMarginBox(d.domNode,c);a?l.mixin(d,a):(l.mixin(d,B.getMarginBox(d.domNode)),l.mixin(d,c))}var g={marginBox2contentBox:function(d,c){var a=x.getComputedStyle(d),b=B.getMarginExtents(d,a),e=B.getPadBorderExtents(d,a);return{l:x.toPixelValue(d,a.paddingLeft),t:x.toPixelValue(d,a.paddingTop),w:c.w-(b.w+e.w),h:c.h-(b.h+e.h)}},layoutChildren:function(d,c,a,b,e){c=l.mixin({},c);C.add(d,"dijitLayoutContainer");
a=A.filter(a,function(h){return"center"!=h.region&&"client"!=h.layoutAlign}).concat(A.filter(a,function(h){return"center"==h.region||"client"==h.layoutAlign}));A.forEach(a,function(h){var n=h.domNode,r=h.region||h.layoutAlign;if(!r)throw Error("No region setting for "+h.id);var k=n.style;k.left=c.l+"px";k.top=c.t+"px";k.position="absolute";var m=C.add;var y=r;y=y.substring(0,1).toUpperCase()+y.substring(1);m.call(C,n,"dijitAlign"+y);n={};b&&b==h.id&&(n["top"==h.region||"bottom"==h.region?"h":"w"]=
e);"leading"==r&&(r=h.isLeftToRight()?"left":"right");"trailing"==r&&(r=h.isLeftToRight()?"right":"left");"top"==r||"bottom"==r?(n.w=c.w,f(h,n),c.h-=h.h,"top"==r?c.t+=h.h:k.top=c.t+c.h+"px"):"left"==r||"right"==r?(n.h=c.h,f(h,n),c.w-=h.w,"left"==r?c.l+=h.w:k.left=c.l+c.w+"px"):"client"!=r&&"center"!=r||f(h,c)})}};l.setObject("dijit.layout.utils",g);return g})},"dijit/ProgressBar":function(){define("require dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/number ./_Widget ./_TemplatedMixin dojo/text!./templates/ProgressBar.html".split(" "),
function(A,C,B,x,l,f,g,d){return C("dijit.ProgressBar",[f,g],{progress:"0",value:"",maximum:100,places:0,indeterminate:!1,label:"",name:"",templateString:d,_indeterminateHighContrastImagePath:A.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);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(c){var a="rtl"==c.toLowerCase();B.toggle(this.domNode,"dijitProgressBarRtl",a);B.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&a);this.inherited(arguments)},update:function(c){x.mixin(this,c||{});c=this.internalProgress;var a=this.domNode,b=1;this.indeterminate?a.removeAttribute("aria-valuenow"):(-1!=String(this.progress).indexOf("%")?(b=Math.min(parseFloat(this.progress)/100,1),this.progress=b*this.maximum):(this.progress=Math.min(this.progress,
this.maximum),b=this.maximum?this.progress/this.maximum:0),a.setAttribute("aria-valuenow",this.progress));a.setAttribute("aria-labelledby",this.labelNode.id);a.setAttribute("aria-valuemin",0);a.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(b);B.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);B.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());c.style.width=100*b+"%";this.onChange()},_setValueAttr:function(c){this._set("value",
c);Infinity==c?this.update({indeterminate:!0}):this.update({indeterminate:!1,progress:c})},_setLabelAttr:function(c){this._set("label",c);this.update()},_setIndeterminateAttr:function(c){this._set("indeterminate",c);this.update()},report:function(c){return this.label?this.label:this.indeterminate?"\x26#160;":l.format(c,{type:"percent",places:this.places,locale:this.lang})},onChange:function(){}})})},"dojo/has":function(){define(["./global","require","module"],function(A,C,B){var x=C.has||function(){};
x.add("dom-addeventlistener",!!document.addEventListener);x.add("touch","ontouchstart"in document||"onpointerdown"in document&&0<navigator.maxTouchPoints||window.navigator.msMaxTouchPoints);x.add("touch-events","ontouchstart"in document);x.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window);x.add("MSPointer",window.navigator.msPointerEnabled);x.add("touch-action",x("touch")&&x("pointer-events"));x.add("device-width",screen.availWidth||
innerWidth);A=document.createElement("form");x.add("dom-attributes-explicit",0==A.attributes.length);x.add("dom-attributes-specified-flag",0<A.attributes.length&&40>A.attributes.length);x.clearElement=function(l){l.innerHTML="";return l};x.normalize=function(l,f){var g=l.match(/[\?:]|[^:\?]*/g),d=0,c=function(a){var b=g[d++];if(":"==b)return 0;if("?"==g[d++]){if(!a&&x(b))return c();c(!0);return c(a)}return b||0};return(l=c())&&f(l)};x.load=function(l,f,g){l?f([l],g):g()};return x})},"dojox/gfx/gradient":function(){define(["dojo/_base/lang",
"./matrix","dojo/_base/Color"],function(A,C,B){function x(g,d,c,a,b,e){g=C.multiplyPoint(c,g,d);a=C.multiplyPoint(a,g);return{r:g,p:a,o:C.multiplyPoint(b,a).x/e}}function l(g,d){return g.o-d.o}var f=A.getObject("dojox.gfx.gradient",!0);f.rescale=function(g,d,c){var a=g.length,b=c<d;if(b){var e=d;d=c;c=e}if(!a)return[];if(c<=g[0].offset)e=[{offset:0,color:g[0].color},{offset:1,color:g[0].color}];else if(d>=g[a-1].offset)e=[{offset:0,color:g[a-1].color},{offset:1,color:g[a-1].color}];else{var h=c-d,
n;e=[];0>d&&e.push({offset:0,color:new B(g[0].color)});for(n=0;n<a;++n){var r=g[n];if(r.offset>=d)break}if(n){var k=g[n-1];e.push({offset:0,color:B.blendColors(new B(k.color),new B(r.color),(d-k.offset)/(r.offset-k.offset))})}else e.push({offset:0,color:new B(r.color)});for(;n<a;++n){r=g[n];if(r.offset>=c)break;e.push({offset:(r.offset-d)/h,color:new B(r.color)})}n<a?(k=g[n-1],e.push({offset:1,color:B.blendColors(new B(k.color),new B(r.color),(c-k.offset)/(r.offset-k.offset))})):e.push({offset:1,
color:new B(g[a-1].color)})}if(b)for(e.reverse(),n=0,a=e.length;n<a;++n)r=e[n],r.offset=1-r.offset;return e};f.project=function(g,d,c,a,b,e){g=g||C.identity;var h=C.multiplyPoint(g,d.x1,d.y1),n=C.multiplyPoint(g,d.x2,d.y2);b=Math.atan2(n.y-h.y,n.x-h.x);e=C.project(n.x-h.x,n.y-h.y);h=C.multiplyPoint(e,h);n=C.multiplyPoint(e,n);h=new C.Matrix2D([C.rotate(-b),{dx:-h.x,dy:-h.y}]);n=C.multiplyPoint(h,n).x;g=[x(c.x,c.y,g,e,h,n),x(a.x,a.y,g,e,h,n),x(c.x,a.y,g,e,h,n),x(a.x,c.y,g,e,h,n)].sort(l);d=f.rescale(d.colors,
g[0].o,g[3].o);return{type:"linear",x1:g[0].p.x,y1:g[0].p.y,x2:g[3].p.x,y2:g[3].p.y,colors:d,angle:b}};return f})},"dojox/gfx/silverlight":function(){define("dojo/_base/kernel dojo/_base/lang dojo/_base/declare dojo/_base/Color dojo/on dojo/_base/array dojo/dom-geometry dojo/dom dojo/_base/sniff ./_base ./shape ./path ./registry".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e){function h(v){var E=a.normalizeColor(v);v=E.toHex();E=Math.round(255*E.a);E=(0>E?0:255<E?255:E).toString(16);return"#"+(2>E.length?
"0"+E:E)+v.slice(1)}function n(v,E){var F={target:v,currentTarget:v,preventDefault:function(){},stopPropagation:function(){}};try{E.source&&(F.target=E.source,F.gfxTarget=b.byId(F.target.tag))}catch(I){}if(E)try{F.ctrlKey=E.ctrl;F.shiftKey=E.shift;var H=E.getPosition(null);F.x=F.offsetX=F.layerX=H.x;F.y=F.offsetY=F.layerY=H.y;var J=q[v.getHost().content.root.name],G=g.position(J);F.clientX=G.x+H.x;F.clientY=G.y+H.y}catch(I){}return F}function r(v,E){var F={keyCode:E.platformKeyCode,ctrlKey:E.ctrl,
shiftKey:E.shift};try{E.source&&(F.target=E.source,F.gfxTarget=b.byId(F.target.tag))}catch(H){}return F}var k=a.silverlight={};A.experimental("dojox.gfx.silverlight");var m={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]},y={normal:400,bold:700},p={butt:"Flat",round:"Round",square:"Square"},u={bevel:"Bevel",round:"Round"},w={serif:"Times New Roman",
times:"Times New Roman","sans-serif":"Arial",helvetica:"Arial",monotone:"Courier New",courier:"Courier New"};k.Shape=B("dojox.gfx.silverlight.Shape",b.Shape,{destroy:function(){c("gfxRegistry")&&b.dispose(this);this.rawNode=null},setFill:function(v){var E=this.rawNode.getHost().content;if(!v)return this.fillStyle=null,this._setFillAttr(null),this;if("object"==typeof v&&"type"in v){switch(v.type){case "linear":this.fillStyle=v=a.makeParameters(a.defaultLinearGradient,v);var F=E.createFromXaml("\x3cLinearGradientBrush/\x3e");
F.mappingMode="Absolute";F.startPoint=v.x1+","+v.y1;F.endPoint=v.x2+","+v.y2;f.forEach(v.colors,function(G){var I=E.createFromXaml("\x3cGradientStop/\x3e");I.offset=G.offset;I.color=h(G.color);F.gradientStops.add(I)});this._setFillAttr(F);break;case "radial":this.fillStyle=v=a.makeParameters(a.defaultRadialGradient,v);var H=E.createFromXaml("\x3cRadialGradientBrush/\x3e"),J=a.matrix.multiplyPoint(a.matrix.invert(this._getAdjustedMatrix()),v.cx,v.cy);J=J.x+","+J.y;H.mappingMode="Absolute";H.gradientOrigin=
J;H.center=J;H.radiusX=H.radiusY=v.r;f.forEach(v.colors,function(G){var I=E.createFromXaml("\x3cGradientStop/\x3e");I.offset=G.offset;I.color=h(G.color);H.gradientStops.add(I)});this._setFillAttr(H);break;case "pattern":this.fillStyle=null,this._setFillAttr(null)}return this}this.fillStyle=v=a.normalizeColor(v);J=E.createFromXaml("\x3cSolidColorBrush/\x3e");J.color=v.toHex();J.opacity=v.a;this._setFillAttr(J);return this},_setFillAttr:function(v){this.rawNode.fill=v},setStroke:function(v){var E=this.rawNode.getHost().content,
F=this.rawNode;if(!v)return this.strokeStyle=null,F.stroke=null,this;if("string"==typeof v||C.isArray(v)||v instanceof x)v={color:v};v=this.strokeStyle=a.makeParameters(a.defaultStroke,v);v.color=a.normalizeColor(v.color);if(v)if(E=E.createFromXaml("\x3cSolidColorBrush/\x3e"),E.color=v.color.toHex(),E.opacity=v.color.a,F.stroke=E,F.strokeThickness=v.width,F.strokeStartLineCap=F.strokeEndLineCap=F.strokeDashCap=p[v.cap],"number"==typeof v.join?(F.strokeLineJoin="Miter",F.strokeMiterLimit=v.join):F.strokeLineJoin=
u[v.join],E=v.style.toLowerCase(),E in m&&(E=m[E]),E instanceof Array){E=C.clone(E);if("butt"!=v.cap){for(v=0;v<E.length;v+=2)--E[v],1>E[v]&&(E[v]=1);for(v=1;v<E.length;v+=2)++E[v]}F.strokeDashArray=E.join(",")}else F.strokeDashArray=null;return this},_getParentSurface:function(){for(var v=this.parent;v&&!(v instanceof a.Surface);v=v.parent);return v},_applyTransform:function(){var v=this._getAdjustedMatrix(),E=this.rawNode;if(v){var F=this.rawNode.getHost().content,H=F.createFromXaml("\x3cMatrixTransform/\x3e");
F=F.createFromXaml("\x3cMatrix/\x3e");F.m11=v.xx;F.m21=v.xy;F.m12=v.yx;F.m22=v.yy;F.offsetX=v.dx;F.offsetY=v.dy;H.matrix=F;E.renderTransform=H}else E.renderTransform=null;return this},setRawNode:function(v){v.fill=null;v.stroke=null;this.rawNode=v;this.rawNode.tag=this.getUID()},_moveToFront:function(){var v=this.parent.rawNode.children,E=this.rawNode;v.remove(E);v.add(E);return this},_moveToBack:function(){var v=this.parent.rawNode.children,E=this.rawNode;v.remove(E);v.insert(0,E);return this},_getAdjustedMatrix:function(){return this.matrix},
setClip:function(v){this.inherited(arguments);var E=this.rawNode;if(v){var F=v?"width"in v?"rect":"cx"in v?"ellipse":"points"in v?"polyline":"d"in v?"path":null:null;if(v&&!F)return this;var H=this.getBoundingBox()||{x:0,y:0,width:0,height:0},J="1,0,0,1,"+-H.x+","+-H.y;switch(F){case "rect":E.clip=E.getHost().content.createFromXaml("\x3cRectangleGeometry/\x3e");E.clip.rect=v.x+","+v.y+","+v.width+","+v.height;E.clip.transform=J;break;case "ellipse":E.clip=E.getHost().content.createFromXaml("\x3cEllipseGeometry/\x3e");
E.clip.center=v.cx+","+v.cy;E.clip.radiusX=v.rx;E.clip.radiusY=v.ry;E.clip.transform="1,0,0,1,"+-H.x+","+-H.y;break;case "polyline":if(2<v.points.length){J=E.getHost().content.createFromXaml("\x3cPathGeometry/\x3e");var G=E.getHost().content.createFromXaml("\x3cPathFigure/\x3e");G.StartPoint=v.points[0]+","+v.points[1];for(var I=2;I<=v.points.length-2;I+=2)F=E.getHost().content.createFromXaml("\x3cLineSegment/\x3e"),F.Point=v.points[I]+","+v.points[I+1],G.segments.add(F);J.figures.add(G);J.transform=
"1,0,0,1,"+-H.x+","+-H.y;E.clip=J}}}else E.clip=null;return this}});k.Group=B("dojox.gfx.silverlight.Group",k.Shape,{constructor:function(){b.Container._init.call(this)},setRawNode:function(v){this.rawNode=v;this.rawNode.tag=this.getUID()},destroy:function(){this.clear(!0);k.Shape.prototype.destroy.apply(this,arguments)}});k.Group.nodeType="Canvas";k.Rect=B("dojox.gfx.silverlight.Rect",[k.Shape,b.Rect],{setShape:function(v){this.shape=a.makeParameters(this.shape,v);this.bbox=null;v=this.rawNode;var E=
this.shape;v.width=E.width;v.height=E.height;v.radiusX=v.radiusY=E.r;return this._applyTransform()},_getAdjustedMatrix:function(){var v=this.matrix,E=this.shape;E={dx:E.x,dy:E.y};return new a.Matrix2D(v?[v,E]:E)}});k.Rect.nodeType="Rectangle";k.Ellipse=B("dojox.gfx.silverlight.Ellipse",[k.Shape,b.Ellipse],{setShape:function(v){this.shape=a.makeParameters(this.shape,v);this.bbox=null;v=this.rawNode;var E=this.shape;v.width=2*E.rx;v.height=2*E.ry;return this._applyTransform()},_getAdjustedMatrix:function(){var v=
this.matrix,E=this.shape;E={dx:E.cx-E.rx,dy:E.cy-E.ry};return new a.Matrix2D(v?[v,E]:E)}});k.Ellipse.nodeType="Ellipse";k.Circle=B("dojox.gfx.silverlight.Circle",[k.Shape,b.Circle],{setShape:function(v){this.shape=a.makeParameters(this.shape,v);this.bbox=null;v=this.rawNode;v.width=v.height=2*this.shape.r;return this._applyTransform()},_getAdjustedMatrix:function(){var v=this.matrix,E=this.shape;E={dx:E.cx-E.r,dy:E.cy-E.r};return new a.Matrix2D(v?[v,E]:E)}});k.Circle.nodeType="Ellipse";k.Line=B("dojox.gfx.silverlight.Line",
[k.Shape,b.Line],{setShape:function(v){this.shape=a.makeParameters(this.shape,v);this.bbox=null;v=this.rawNode;var E=this.shape;v.x1=E.x1;v.y1=E.y1;v.x2=E.x2;v.y2=E.y2;return this}});k.Line.nodeType="Line";k.Polyline=B("dojox.gfx.silverlight.Polyline",[k.Shape,b.Polyline],{setShape:function(v,E){v&&v instanceof Array?(this.shape=a.makeParameters(this.shape,{points:v}),E&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=a.makeParameters(this.shape,v);this.bbox=null;
this._normalizePoints();for(var F=this.shape.points,H=[],J=0;J<F.length;++J)H.push(F[J].x,F[J].y);this.rawNode.points=H.join(",");return this}});k.Polyline.nodeType="Polyline";k.Image=B("dojox.gfx.silverlight.Image",[k.Shape,b.Image],{setShape:function(v){this.shape=a.makeParameters(this.shape,v);this.bbox=null;v=this.rawNode;var E=this.shape;v.width=E.width;v.height=E.height;v.source=E.src;return this._applyTransform()},_getAdjustedMatrix:function(){var v=this.matrix,E=this.shape;E={dx:E.x,dy:E.y};
return new a.Matrix2D(v?[v,E]:E)},setRawNode:function(v){this.rawNode=v;this.rawNode.tag=this.getUID()}});k.Image.nodeType="Image";k.Text=B("dojox.gfx.silverlight.Text",[k.Shape,b.Text],{setShape:function(v){this.shape=a.makeParameters(this.shape,v);this.bbox=null;v=this.rawNode;var E=this.shape;v.text=""+E.text;v.textDecorations="underline"===E.decoration?"Underline":"None";v["Canvas.Left"]=-1E4;v["Canvas.Top"]=-1E4;this._delay||(this._delay=window.setTimeout(C.hitch(this,"_delayAlignment"),10));
return this},_delayAlignment:function(){var v=this.rawNode,E=this.shape;try{var F=v.actualWidth;var H=v.actualHeight}catch(G){return}var J=E.x;H=E.y-.75*H;switch(E.align){case "middle":J-=F/2;break;case "end":J-=F}this._delta={dx:J,dy:H};v["Canvas.Left"]=0;v["Canvas.Top"]=0;this._applyTransform();delete this._delay},_getAdjustedMatrix:function(){var v=this.matrix,E=this._delta;return new a.Matrix2D(v?E?[v,E]:v:E?E:{})},setStroke:function(){return this},_setFillAttr:function(v){this.rawNode.foreground=
v},setRawNode:function(v){this.rawNode=v;this.rawNode.tag=this.getUID()},getTextWidth:function(){return this.rawNode.actualWidth},getBoundingBox:function(){var v=null,E=this.getShape().text,F=this.rawNode,H=0,J=0;if(!a._base._isRendered(this))return{x:0,y:0,width:0,height:0};if(E){try{H=F.actualWidth,J=F.actualHeight}catch(G){return null}v=a._base._computeTextLocation(this.getShape(),H,J,!0);v={x:v.x,y:v.y,width:H,height:J}}return v}});k.Text.nodeType="TextBlock";k.Path=B("dojox.gfx.silverlight.Path",
[k.Shape,e.Path],{_updateWithSegment:function(v){this.inherited(arguments);var E=this.shape.path;"string"==typeof E&&(this.rawNode.data=E?E:null)},setShape:function(v){this.inherited(arguments);var E=this.shape.path;this.rawNode.data=E?E:null;return this}});k.Path.nodeType="Path";k.TextPath=B("dojox.gfx.silverlight.TextPath",[k.Shape,e.TextPath],{_updateWithSegment:function(v){},setShape:function(v){},_setText:function(){}});k.TextPath.nodeType="text";var q={},t=function(){};k.Surface=B("dojox.gfx.silverlight.Surface",
b.Surface,{constructor:function(){b.Container._init.call(this)},destroy:function(){this.clear(!0);window[this._onLoadName]=t;delete q[this._nodeName];this.inherited(arguments)},setDimensions:function(v,E){this.width=a.normalizedLength(v);this.height=a.normalizedLength(E);var F=this.rawNode&&this.rawNode.getHost();F&&(F.width=v,F.height=E);return this},getDimensions:function(){var v=this.rawNode&&this.rawNode.getHost();v=v?{width:v.content.actualWidth,height:v.content.actualHeight}:null;0>=v.width&&
(v.width=this.width);0>=v.height&&(v.height=this.height);return v}});k.createSurface=function(v,E,F){if(!E&&!F){var H=g.position(v);E=E||H.w;F=F||H.h}"number"==typeof E&&(E+="px");"number"==typeof F&&(F+="px");var J=new k.Surface;v=d.byId(v);J._parent=v;J._nodeName=a._base._getUniqueId();H=v.ownerDocument.createElement("script");H.type="text/xaml";H.id=a._base._getUniqueId();H.text="\x3c?xml version\x3d'1.0'?\x3e\x3cCanvas xmlns\x3d'http://schemas.microsoft.com/client/2007' Name\x3d'"+J._nodeName+
"'/\x3e";v.parentNode.insertBefore(H,v);J._nodes.push(H);var G=a._base._getUniqueId(),I="__"+a._base._getUniqueId()+"_onLoad";J._onLoadName=I;window[I]=function(K){J.rawNode||(J.rawNode=d.byId(G,v.ownerDocument).content.root,q[J._nodeName]=v,J.onLoad(J))};H=c("safari")?"\x3cembed type\x3d'application/x-silverlight' id\x3d'"+G+"' width\x3d'"+E+"' height\x3d'"+F+" background\x3d'transparent' source\x3d'#"+H.id+"' windowless\x3d'true' maxFramerate\x3d'60' onLoad\x3d'"+I+"' onError\x3d'__dojoSilverlightError' /\x3e\x3ciframe style\x3d'visibility:hidden;height:0;width:0'/\x3e":
"\x3cobject type\x3d'application/x-silverlight' data\x3d'data:application/x-silverlight,' id\x3d'"+G+"' width\x3d'"+E+"' height\x3d'"+F+"'\x3e\x3cparam name\x3d'background' value\x3d'transparent' /\x3e\x3cparam name\x3d'source' value\x3d'#"+H.id+"' /\x3e\x3cparam name\x3d'windowless' value\x3d'true' /\x3e\x3cparam name\x3d'maxFramerate' value\x3d'60' /\x3e\x3cparam name\x3d'onLoad' value\x3d'"+I+"' /\x3e\x3cparam name\x3d'onError' value\x3d'__dojoSilverlightError' /\x3e\x3c/object\x3e";v.innerHTML=
H;H=d.byId(G,v.ownerDocument);H.content&&H.content.root?(J.rawNode=H.content.root,q[J._nodeName]=v):(J.rawNode=null,J.isLoaded=!1);J._nodes.push(H);J.width=a.normalizedLength(E);J.height=a.normalizedLength(F);return J};__dojoSilverlightError=function(v,E){};var z=b.Container;A={add:function(v){this!=v.getParent()&&(z.add.apply(this,arguments),this.rawNode.children.add(v.rawNode));return this},remove:function(v,E){if(this==v.getParent()){var F=v.rawNode.getParent();F&&F.children.remove(v.rawNode);
z.remove.apply(this,arguments)}return this},clear:function(){this.rawNode.children.clear();return z.clear.apply(this,arguments)},getBoundingBox:z.getBoundingBox,_moveChildToFront:z._moveChildToFront,_moveChildToBack:z._moveChildToBack};B={createObject:function(v,E){if(!this.rawNode)return null;var F=new v,H=this.rawNode.getHost().content.createFromXaml("\x3c"+v.nodeType+"/\x3e");F.setRawNode(H);F.setShape(E);this.add(F);return F}};C.extend(k.Text,{_setFont:function(){var v=this.fontStyle,E=this.rawNode,
F=v.family.toLowerCase();E.fontStyle="italic"==v.style?"Italic":"Normal";E.fontWeight=v.weight in y?y[v.weight]:v.weight;E.fontSize=a.normalizedLength(v.size);E.fontFamily=F in w?w[F]:v.family;this._delay||(this._delay=window.setTimeout(C.hitch(this,"_delayAlignment"),10))}});C.extend(k.Group,A);C.extend(k.Group,b.Creator);C.extend(k.Group,B);C.extend(k.Surface,A);C.extend(k.Surface,b.Creator);C.extend(k.Surface,B);var D={onclick:{name:"MouseLeftButtonUp",fix:n},onmouseenter:{name:"MouseEnter",fix:n},
onmouseleave:{name:"MouseLeave",fix:n},onmouseover:{name:"MouseEnter",fix:n},onmouseout:{name:"MouseLeave",fix:n},onmousedown:{name:"MouseLeftButtonDown",fix:n},onmouseup:{name:"MouseLeftButtonUp",fix:n},onmousemove:{name:"MouseMove",fix:n},onkeydown:{name:"KeyDown",fix:r},onkeyup:{name:"KeyUp",fix:r}};A={connect:function(v,E,F){return this.on(v,F?C.hitch(E,F):E)},on:function(v,E){if("string"===typeof v){0===v.indexOf("mouse")&&(v="on"+v);var F=v in D?D[v]:{name:v,fix:function(){return{}}};var H=
this.getEventSource().addEventListener(F.name,function(J,G){E(F.fix(J,G))});return{name:F.name,token:H,remove:C.hitch(this,function(){this.getEventSource().removeEventListener(F.name,H)})}}return l(this,v,E)},disconnect:function(v){return v.remove()}};C.extend(k.Shape,A);C.extend(k.Surface,A);a.equalSources=function(v,E){return v&&E&&v.equals(E)};return k})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b){return A("dijit._PaletteMixin",d,{defaultTimeout:500,timeoutChangeRate:.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(e){return new ("string"==typeof this.dyeClass?f.getObject(this.dyeClass):this.dyeClass)(e)},_preparePalette:function(e,h){this._cells=[];var n=this._blankGif;this.own(g(this.gridNode,c,f.hitch(this,"_onCellClick")));for(var r=0;r<e.length;r++)for(var k=x.create("tr",{tabIndex:"-1",role:"row"},
this.gridNode),m=0;m<e[r].length;m++){var y=e[r][m];if(y){var p=this._dyeFactory(y,r,m,h[y]);y=x.create("td",{"class":this.cellClass,tabIndex:"-1",title:h[y],role:"gridcell"},k);p.fillCell(y,n);y.idx=this._cells.length;this._cells.push({node:y,dye:p})}}this._xDim=e[0].length;this._yDim=e.length;var u={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1},w;for(w in u)this.own(b.addKeyListener(this.domNode,{keyCode:l[w],ctrlKey:!1,altKey:!1,
shiftKey:!1},this,function(){var q=u[w];return function(t){this._navigateByKey(q,t)}}(),this.timeoutChangeRate,this.defaultTimeout))},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node)},focus:function(){a.focus(this._currentFocus)},_onCellClick:function(e){for(var h=e.target;"TD"!=h.tagName;){if(!h.parentNode||h==this.gridNode)return;h=h.parentNode}var n=this._getDye(h).getValue();this._setCurrent(h);a.focus(h);this._setValueAttr(n,!0);e.stopPropagation();e.preventDefault()},
_setCurrent:function(e){"_currentFocus"in this&&C.set(this._currentFocus,"tabIndex","-1");(this._currentFocus=e)&&C.set(e,"tabIndex",this.tabIndex)},_setValueAttr:function(e,h){0<=this._selectedCell&&B.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");this._selectedCell=-1;if(e)for(var n=0;n<this._cells.length;n++)if(e==this._cells[n].dye.getValue()){this._selectedCell=n;B.add(this._cells[n].node,this.cellClass+"Selected");break}this._set("value",0<=this._selectedCell?e:null);
if(h||void 0===h)this.onChange(e)},onChange:function(){},_navigateByKey:function(e,h){if(-1!=h){var n=this._currentFocus.idx+e;n<this._cells.length&&-1<n&&(n=this._cells[n].node,this._setCurrent(n),this.defer(f.hitch(a,"focus",n)))}},_getDye:function(e){return this._cells[e.idx].dye}})})},"dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","../main"],function(A,C,B,x,l){var f={getType:function(){if(x.doc.getSelection){var g="text";try{var d=x.global.getSelection()}catch(c){}d&&
1==d.rangeCount&&(d=d.getRangeAt(0),d.startContainer==d.endContainer&&1==d.endOffset-d.startOffset&&3!=d.startContainer.nodeType&&(g="control"));return g}return x.doc.selection.type.toLowerCase()},getSelectedText:function(){if(x.doc.getSelection){var g=x.global.getSelection();return g?g.toString():""}return"control"==l._editor.selection.getType()?null:x.doc.selection.createRange().text},getSelectedHtml:function(){if(x.doc.getSelection){var g=x.global.getSelection();if(g&&g.rangeCount){var d,c="";
for(d=0;d<g.rangeCount;d++){var a=g.getRangeAt(d).cloneContents(),b=x.doc.createElement("div");b.appendChild(a);c+=b.innerHTML}return c}return null}return"control"==l._editor.selection.getType()?null:x.doc.selection.createRange().htmlText},getSelectedElement:function(){if("control"==l._editor.selection.getType()){if(x.doc.getSelection){var g=x.global.getSelection();return g.anchorNode.childNodes[g.anchorOffset]}if((g=x.doc.selection.createRange())&&g.item)return x.doc.selection.createRange().item(0)}return null},
getParentElement:function(){if("control"==l._editor.selection.getType()){var g=this.getSelectedElement();if(g)return g.parentNode}else if(x.doc.getSelection){if(g=x.global.getSelection()){for(g=g.anchorNode;g&&1!=g.nodeType;)g=g.parentNode;return g}}else return g=x.doc.selection.createRange(),g.collapse(!0),g.parentElement();return null},hasAncestorElement:function(g){return null!=this.getAncestorElement.apply(this,arguments)},getAncestorElement:function(g){var d=this.getSelectedElement()||this.getParentElement();
return this.getParentOfType(d,arguments)},isTag:function(g,d){if(g&&g.tagName)for(var c=g.tagName.toLowerCase(),a=0;a<d.length;a++){var b=String(d[a]).toLowerCase();if(c==b)return b}return""},getParentOfType:function(g,d){for(;g;){if(this.isTag(g,d).length)return g;g=g.parentNode}return null},collapse:function(g){if(x.doc.getSelection){var d=x.global.getSelection();d.removeAllRanges?g?d.collapseToStart():d.collapseToEnd():d.collapse(g)}else d=x.doc.selection.createRange(),d.collapse(g),d.select()},
remove:function(){var g=x.doc.selection;x.doc.getSelection?(g=x.global.getSelection(),g.deleteFromDocument()):"none"!=g.type.toLowerCase()&&g.clear();return g},selectElementChildren:function(g,d){var c=x.doc;g=A.byId(g);if(x.doc.getSelection){var a=x.global.getSelection();B("opera")?(c=a.rangeCount?a.getRangeAt(0):c.createRange(),c.setStart(g,0),c.setEnd(g,3==g.nodeType?g.length:g.childNodes.length),a.addRange(c)):a.selectAllChildren(g)}else if(c=g.ownerDocument.body.createTextRange(),c.moveToElementText(g),
!d)try{c.select()}catch(b){}},selectElement:function(g,d){g=A.byId(g);var c=g.ownerDocument,a=x.global;if(c.getSelection){a=a.getSelection();var b=c.createRange();a.removeAllRanges&&(B("opera")&&a.getRangeAt(0)&&(b=a.getRangeAt(0)),b.selectNode(g),a.removeAllRanges(),a.addRange(b))}else try{var e=g.tagName?g.tagName.toLowerCase():"";b="img"===e||"table"===e?x.body(c).createControlRange():x.body(c).createRange();b.addElement(g);d||b.select()}catch(h){this.selectElementChildren(g,d)}},inSelection:function(g){if(g){var d=
x.doc,c;if(x.doc.getSelection){var a=x.global.getSelection();a&&0<a.rangeCount&&(c=a.getRangeAt(0));if(c&&c.compareBoundaryPoints&&d.createRange)try{var b=d.createRange();b.setStart(g,0);if(1===c.compareBoundaryPoints(c.START_TO_END,b))return!0}catch(e){}}else{c=d.selection.createRange();try{(b=g.ownerDocument.body.createControlRange())&&b.addElement(g)}catch(e){try{b=g.ownerDocument.body.createTextRange(),b.moveToElementText(g)}catch(h){}}if(c&&b&&1===c.compareEndPoints("EndToStart",b))return!0}}return!1}};
C.setObject("dijit._editor.selection",f);return f})},"dijit/_editor/plugins/TextColor":function(){define("require dojo/colors dojo/_base/declare dojo/_base/lang ../_Plugin ../../form/DropDownButton".split(" "),function(A,C,B,x,l,f){var g=B("dijit._editor.plugins.TextColor",l,{buttonClass:f,colorPicker:"dijit/ColorPalette",useDefaultCommand:!1,_initButton:function(){this.command=this.name;this.inherited(arguments);var d=this;this.button.loadDropDown=function(c){function a(b){d.button.dropDown=new b({dir:d.editor.dir,
ownerDocument:d.editor.ownerDocument,value:d.value,onChange:function(e){d.editor.execCommand(d.command,e)},onExecute:function(){d.editor.execCommand(d.command,this.get("value"))}});c()}"string"==typeof d.colorPicker?A([d.colorPicker],a):a(d.colorPicker)}},updateState:function(){var d=this.editor,c=this.command;if(d&&d.isLoaded&&c.length){if(this.button){var a=this.get("disabled");this.button.set("disabled",a);if(a)return;try{var b=d.queryCommandValue(c)||""}catch(e){b=""}}""==b&&(b="#000000");"transparent"==
b&&(b="#ffffff");"string"==typeof b?-1<b.indexOf("rgb")&&(b=C.fromRgb(b).toHex()):(b=((b&255)<<16|b&65280|(b&16711680)>>>16).toString(16),b="#000000".slice(0,7-b.length)+b);this.value=b;(d=this.button.dropDown)&&d.get&&b!==d.get("value")&&d.set("value",b,!1)}}});l.registry.foreColor=function(d){return new g(d)};l.registry.hiliteColor=function(d){return new g(d)};return g})},"dojox/grid/EnhancedGrid":function(){define("dojo/_base/kernel ../main dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/_base/sniff dojo/dom dojo/dom-geometry ./DataGrid ./DataSelection ./enhanced/_PluginManager ./enhanced/plugins/_SelectionPreserver dojo/i18n!./enhanced/nls/EnhancedGrid".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){A.experimental("dojox.grid.EnhancedGrid");A=B("dojox.grid.EnhancedGrid",c,{plugins:null,pluginMgr:null,_pluginMgrClass:b,postMixInProperties:function(){this._nls=h;this.inherited(arguments)},postCreate:function(){this.pluginMgr=new this._pluginMgrClass(this);this.pluginMgr.preInit();this.inherited(arguments);this.pluginMgr.postInit()},plugin:function(n){return this.pluginMgr.getPlugin(n)},startup:function(){this.inherited(arguments);this.pluginMgr.startup()},createSelection:function(){this.selection=
new C.grid.enhanced.DataSelection(this)},canSort:function(n,r){return!0},doKeyEvent:function(n){try{var r=this.focus.focusView;r.content.decorateEvent(n);n.cell||r.header.decorateEvent(n)}catch(k){}this.inherited(arguments)},doApplyCellEdit:function(n,r,k){k?this.inherited(arguments):this.invalidated[r]=!0},mixin:function(n,r){var k={},m;for(m in r)"_inherited"==m||"declaredClass"==m||"constructor"==m||r.privates&&r.privates[m]||(k[m]=r[m]);x.mixin(n,k)},_copyAttr:function(n,r){if(r)return this.inherited(arguments)},
_getHeaderHeight:function(){this.inherited(arguments);return d.getMarginBox(this.viewsHeaderNode).h},_fetch:function(n,r){if(this.items)return this.inherited(arguments);n=n||0;if(this.store&&!this._pending_requests[n]){this._isLoaded||this._isLoading||(this._isLoading=!0,this.showMessage(this.loadingMessage));this._pending_requests[n]=!0;try{var k={start:n,count:this.rowsPerPage,query:this.query,sort:this.getSortProps(),queryOptions:this.queryOptions,isRender:r,onBegin:x.hitch(this,"_onFetchBegin"),
onComplete:x.hitch(this,"_onFetchComplete"),onError:x.hitch(this,"_onFetchError")};this._storeLayerFetch(k)}catch(m){this._onFetchError(m,{start:n,count:this.rowsPerPage})}}return 0},_storeLayerFetch:function(n){this.store.fetch(n)},getCellByField:function(n){return l.filter(this.layout.cells,function(r){return r.field==n})[0]},onMouseUp:function(n){},createView:function(){var n=this.inherited(arguments);if(f("mozilla")){var r=function(m){var y=m.toUpperCase();return function(p){return p.tagName!=
y}},k=n.header.getCellX;n.header.getCellX=function(m){var y=k.call(n.header,m);var p=r("th");for(var u=m.target;u&&p(u);u=u.parentNode);(p=u)&&p!==m.target&&g.isDescendant(m.target,p)&&(y+=p.firstChild.offsetLeft);return y}}return n},destroy:function(){delete this._nls;this.pluginMgr.destroy();this.inherited(arguments)}});B("dojox.grid.enhanced.DataSelection",a,{constructor:function(n){n.keepSelection&&(this.preserver&&this.preserver.destroy(),this.preserver=new e(this))},_range:function(n,r){this.grid._selectingRange=
!0;this.inherited(arguments);this.grid._selectingRange=!1;this.onChanged()},deselectAll:function(n){this.grid._selectingRange=!0;this.inherited(arguments);this.grid._selectingRange=!1;this.onChanged()}});A.markupFactory=function(n,r,k,m){return C.grid._Grid.markupFactory(n,r,k,x.partial(c.cell_markupFactory,m))};A.registerPlugin=function(n,r){b.registerPlugin(n,r)};return A})},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(A,C,B,x){x.extend(C,
{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return B("dijit._FocusMixin",null,{_focusManager:A})})},"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".split(" "),function(A,C,B,x,l,f,g){var d=A("dijit.form.ValidationTextBox",l,{templateString:g,required:!1,promptMessage:"",
invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(c,a){a!=d.prototype[c]&&(C.deprecated("ValidationTextBox id\x3d"+this.id+", set('"+c+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0"),this.set("pattern",a))},_setRegExpGenAttr:function(c){this._deprecateRegExp("regExpGen",c);this._set("regExpGen",this._computeRegexp)},_setRegExpAttr:function(c){this._deprecateRegExp("regExp",
c)},_setValueAttr:function(){this.inherited(arguments);this._refreshState()},validator:function(c,a){return(new RegExp("^(?:"+this._computeRegexp(a)+")"+(this.required?"":"?")+"$")).test(c)&&(!this.required||!this._isEmpty(c))&&(this._isEmpty(c)||void 0!==this.parse(c,a))},_isValidSubset:function(){return 0==this.textbox.value.search(this._partialre)},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"))},_isEmpty:function(c){return(this.trim?/^\s*$/:/^$/).test(c)},
getErrorMessage:function(){var c="$_unset_$"==this.invalidMessage?this.messages.invalidMessage:this.invalidMessage?this.invalidMessage:this.promptMessage,a="$_unset_$"==this.missingMessage?this.messages.missingMessage:this.missingMessage?this.missingMessage:c;return this.required&&this._isEmpty(this.textbox.value)?a:c},getPromptMessage:function(){return this.promptMessage},_maskValidSubsetError:!0,validate:function(c){var a="",b=this.disabled||this.isValid(c);b&&(this._maskValidSubsetError=!0);var e=
this._isEmpty(this.textbox.value),h=!b&&c&&this._isValidSubset();this._set("state",b?"":((!this._hasBeenBlurred||c)&&e||h)&&(this._maskValidSubsetError||h&&!this._hasBeenBlurred&&c)?"Incomplete":"Error");this.focusNode.setAttribute("aria-invalid","Error"==this.state?"true":"false");"Error"==this.state?(this._maskValidSubsetError=c&&h,a=this.getErrorMessage(c)):"Incomplete"==this.state?(a=this.getPromptMessage(c),this._maskValidSubsetError=!this._hasBeenBlurred||c):e&&(a=this.getPromptMessage(c));
this.set("message",a);return b},displayMessage:function(c){c&&this.focused?f.show(c,this.domNode,this.tooltipPosition,!this.isLeftToRight()):f.hide(this.domNode)},_refreshState:function(){this._created&&this.validate(this.focused);this.inherited(arguments)},constructor:function(c){this.constraints=B.clone(this.constraints);this.baseClass+=" dijitValidationTextBox"},startup:function(){this.inherited(arguments);this._refreshState()},_setConstraintsAttr:function(c){!c.locale&&this.lang&&(c.locale=this.lang);
this._set("constraints",c);this._refreshState()},_setPatternAttr:function(c){this._set("pattern",c);this._refreshState()},_computeRegexp:function(c){var a=this.pattern;"function"==typeof a&&(a=a.call(this,c));if(a!=this._lastRegExp){var b="";this._lastRegExp=a;".*"!=a&&a.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(e){switch(e.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":b+=e;break;case ")":b+="|$)";break;default:b+="(?:"+e+"|$)"}});try{"".search(b)}catch(e){b=
this.pattern}this._partialre="^(?:"+b+")$"}return a},postMixInProperties:function(){this.inherited(arguments);this.messages=x.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints)},_setDisabledAttr:function(c){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(c){this._set("required",c);this.focusNode.setAttribute("aria-required",c);this._refreshState()},_setMessageAttr:function(c){this._set("message",c);this.displayMessage(c)},reset:function(){this._maskValidSubsetError=
!0;this.inherited(arguments)},_onBlur:function(){this.displayMessage("");this.inherited(arguments)},destroy:function(){f.hide(this.domNode);this.inherited(arguments)}});return d})},"dojo/errors/CancelError":function(){define(["./create"],function(A){return A("CancelError",null,null,{dojoType:"cancel",log:!1})})},"dijit/form/NumberTextBox":function(){define("dojo/_base/declare dojo/_base/lang dojo/i18n dojo/string dojo/number ./RangeBoundTextBox".split(" "),function(A,C,B,x,l,f){var g=function(c){c=
c||{};var a=B.getLocalization("dojo.cldr","number",B.normalizeLocale(c.locale)),b=c.pattern?c.pattern:a[(c.type||"decimal")+"Format"];c="number"==typeof c.places?c.places:"string"===typeof c.places&&0<c.places.length?c.places.replace(/.*,/,""):-1!=b.indexOf(".")?b.split(".")[1].replace(/[^#0]/g,"").length:0;return{sep:a.decimal,places:c}},d=A("dijit.form.NumberTextBoxMixin",null,{pattern:function(c){return"("+(this.focused&&this.editOptions?this._regExpGenerator(C.delegate(c,this.editOptions))+"|":
"")+this._regExpGenerator(c)+")"},value:NaN,editOptions:{pattern:"#.######"},_formatter:l.format,_regExpGenerator:l.regexp,_decimalInfo:g(),postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},_setConstraintsAttr:function(c){var a="number"==typeof c.places?c.places:0;a&&a++;"number"!=typeof c.max&&(c.max=9*Math.pow(10,15-a));"number"!=typeof c.min&&(c.min=-9*Math.pow(10,15-a));this.inherited(arguments,[c]);this.focusNode&&this.focusNode.value&&!isNaN(this.value)&&this.set("value",
this.value);this._decimalInfo=g(c)},_onFocus:function(c){if(!this.disabled&&!this.readOnly){var a=this.get("value");"number"!=typeof a||isNaN(a)||(a=this.format(a,this.constraints),void 0!==a&&(this.textbox.value=a,"mouse"!==c&&this.textbox.select()));this.inherited(arguments)}},format:function(c,a){var b=String(c);if("number"!=typeof c)return b;if(isNaN(c))return"";if(!("rangeCheck"in this&&this.rangeCheck(c,a))&&!1!==a.exponent&&/\de[-+]?\d/i.test(b))return b;this.editOptions&&this.focused&&(a=
C.mixin({},a,this.editOptions));return this._formatter(c,a)},_parser:l.parse,parse:function(c,a){var b=C.mixin({},a,this.editOptions&&this.focused?this.editOptions:{});if(this.focused&&null!=b.places){var e=b.places;e="number"===typeof e?e:Number(e.split(",").pop());b.places="0,"+e}b=this._parser(c,b);this.editOptions&&this.focused&&isNaN(b)&&(b=this._parser(c,a));return b},_getDisplayedValueAttr:function(){var c=this.inherited(arguments);return isNaN(c)?this.textbox.value:c},filter:function(c){if(null==
c||"string"==typeof c&&""==c)return NaN;"number"!=typeof c||isNaN(c)||0==c||(c=l.round(c,this._decimalInfo.places));return this.inherited(arguments,[c])},serialize:function(c,a){return"number"!=typeof c||isNaN(c)?"":this.inherited(arguments)},_setBlurValue:function(){var c=C.hitch(C.delegate(this,{focused:!0}),"get")("value");this._setValueAttr(c,!0)},_setValueAttr:function(c,a,b){if(void 0!==c&&void 0===b)if(b=String(c),"number"==typeof c)if(isNaN(c))b="";else{if("rangeCheck"in this&&this.rangeCheck(c,
this.constraints)||!1===this.constraints.exponent||!/\de[-+]?\d/i.test(b))b=void 0}else c?c=void 0:(b="",c=NaN);this.inherited(arguments,[c,a,b])},_getValueAttr:function(){var c=this.inherited(arguments);if(isNaN(c)&&""!==this.textbox.value){if(!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+l._realNumberRegexp(C.delegate(this.constraints))+"$")).test(this.textbox.value))return c=Number(this.textbox.value),isNaN(c)?void 0:c}else return c},isValid:function(c){if(!this.focused||
this._isEmpty(this.textbox.value))return this.inherited(arguments);var a=this.get("value");return!isNaN(a)&&this.rangeCheck(a,this.constraints)?!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)?!0:this.inherited(arguments):!1},_isValidSubset:function(){var c="number"==typeof this.constraints.min,a="number"==typeof this.constraints.max,b=this.get("value");if(isNaN(b)||!c&&!a)return this.inherited(arguments);var e=b|0,h=0>b,n=-1!=this.textbox.value.indexOf(this._decimalInfo.sep),
r=(this.maxLength||20)-this.textbox.value.length,k=n?this.textbox.value.split(this._decimalInfo.sep)[1].replace(/[^0-9]/g,""):"";e=n?e+"."+k:e+"";r=x.rep("9",r);n=b;h?n=Number(e+r):b=Number(e+r);return!(c&&b<this.constraints.min||a&&n>this.constraints.max)}});A=A("dijit.form.NumberTextBox",[f,d],{baseClass:"dijitTextBox dijitNumberTextBox"});A.Mixin=d;return A})},"dojo/_base/url":function(){define(["./kernel"],function(A){var C=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),
B=RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),x=function(){for(var l=arguments,f=[l[0]],g=1;g<l.length;g++)if(l[g]){var d=new x(l[g]+"");f=new x(f[0]+"");if(""==d.path&&!d.scheme&&!d.authority&&!d.query)null!=d.fragment&&(f.fragment=d.fragment),d=f;else if(!d.scheme&&(d.scheme=f.scheme,!d.authority&&(d.authority=f.authority,"/"!=d.path.charAt(0)))){f=(f.path.substring(0,f.path.lastIndexOf("/")+1)+d.path).split("/");for(var c=0;c<f.length;c++)"."==f[c]?c==f.length-
1?f[c]="":(f.splice(c,1),c--):0<c&&(1!=c||""!=f[0])&&".."==f[c]&&".."!=f[c-1]&&(c==f.length-1?(f.splice(c,1),f[c-1]=""):(f.splice(c-1,2),c-=2));d.path=f.join("/")}f=[];d.scheme&&f.push(d.scheme,":");d.authority&&f.push("//",d.authority);f.push(d.path);d.query&&f.push("?",d.query);d.fragment&&f.push("#",d.fragment)}this.uri=f.join("");l=this.uri.match(C);this.scheme=l[2]||(l[1]?"":null);this.authority=l[4]||(l[3]?"":null);this.path=l[5];this.query=l[7]||(l[6]?"":null);this.fragment=l[9]||(l[8]?"":
null);null!=this.authority&&(l=this.authority.match(B),this.user=l[3]||null,this.password=l[4]||null,this.host=l[6]||l[7],this.port=l[9]||null)};x.prototype.toString=function(){return this.uri};return A._Url=x})},"dijit/form/_ComboBoxMenuMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/has dojo/i18n dojo/i18n!./nls/ComboBox".split(" "),function(A,C,B,x,l){var f=C("dijit.form._ComboBoxMenuMixin"+(x("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);
this._messages=l.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(g){this._set("value",g);this.onChange(g)},onClick:function(g){if(g==this.previousButton)this._setSelectedAttr(null),this.onPage(-1);else if(g==this.nextButton)this._setSelectedAttr(null),this.onPage(1);else this.onChange(g)},onChange:function(){},
onPage:function(){},onClose:function(){this._setSelectedAttr(null)},_createOption:function(g,d){var c=this._createMenuItem(),a=d(g);a.html?c.innerHTML=a.label:c.appendChild(c.ownerDocument.createTextNode(a.label));""==c.innerHTML&&(c.innerHTML="\x26#160;");return c},createOptions:function(g,d,c){this.items=g;this.previousButton.style.display=0==d.start?"none":"";B.set(this.previousButton,"id",this.id+"_prev");A.forEach(g,function(b,e){var h=this._createOption(b,c);h.setAttribute("item",e);B.set(h,
"id",this.id+e);this.nextButton.parentNode.insertBefore(h,this.nextButton)},this);var a=!1;g.total&&!g.total.then&&-1!=g.total?d.start+d.count<g.total?a=!0:d.start+d.count>g.total&&d.count==g.length&&(a=!0):d.count==g.length&&(a=!0);this.nextButton.style.display=a?"":"none";B.set(this.nextButton,"id",this.id+"_next")},clearResultList:function(){for(var g=this.containerNode;2<g.childNodes.length;)g.removeChild(g.childNodes[g.childNodes.length-2]);this._setSelectedAttr(null)},highlightFirstOption:function(){this.selectFirstNode()},
highlightLastOption:function(){this.selectLastNode()},selectFirstNode:function(){this.inherited(arguments);this.getHighlightedOption()==this.previousButton&&this.selectNextNode()},selectLastNode:function(){this.inherited(arguments);this.getHighlightedOption()==this.nextButton&&this.selectPreviousNode()},getHighlightedOption:function(){return this.selected}});x("dojo-bidi")&&(f=C("dijit.form._ComboBoxMenuMixin",f,{_createOption:function(){var g=this.inherited(arguments);this.applyTextDir(g);return g}}));
return f})},"dojo/selector/_loader":function(){define(["../has","require"],function(A,C){if("undefined"!==typeof document){var B=document.createElement("div");A.add("dom-qsa2.1",!!B.querySelectorAll);A.add("dom-qsa3",function(){try{return B.innerHTML="\x3cp class\x3d'TEST'\x3e\x3c/p\x3e",1==B.querySelectorAll(".TEST:empty").length}catch(l){}})}var x;return{load:function(l,f,g,d){if(d&&d.isBuild)g();else{d=C;l="default"==l?A("config-selectorEngine")||"css3":l;l="css2"==l||"lite"==l?"./lite":"css2.1"==
l?A("dom-qsa2.1")?"./lite":"./acme":"css3"==l?A("dom-qsa3")?"./lite":"./acme":"acme"==l?"./acme":(d=f)&&l;if("?"==l.charAt(l.length-1)){l=l.substring(0,l.length-1);var c=!0}if(c&&(A("dom-compliant-qsa")||x))return g(x);d([l],function(a){"./lite"!=l&&(x=a);g(a)})}}}})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u,w,q,t,z,D,v,E,F,H,J,G,I,K,M,N){function Q(L){return k.delegate(L.promise||L,{addCallback:function(R){this.then(R)},addErrback:function(R){this.otherwise(R)}})}var P=x("dijit._TreeNode",[D,v,E,F,H],{item:null,isTreeNode:!0,label:"",_setLabelAttr:function(L){this.labelNode["html"==this.labelType?"innerHTML":"innerText"in this.labelNode?"innerText":"textContent"]=L;this._set("label",L);h("dojo-bidi")&&this.applyTextDir(this.labelNode)},labelType:"text",
isExpandable:null,isExpanded:!1,state:"NotLoaded",templateString:G,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);this.isExpandable&&this.labelNode.setAttribute("aria-expanded",this.isExpanded);this.setSelected(!1)},_setIndentAttr:function(L){var R=Math.max(L,0)*this.tree._nodePixelIndent+"px";a.set(this.domNode,
"backgroundPosition",R+" 0px");a.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",R);A.forEach(this.getChildren(),function(T){T.set("indent",L+1)});this._set("indent",L)},markProcessing:function(){this.state="Loading";this._setExpando(!0)},unmarkProcessing:function(){this._setExpando(!1)},_updateItemClasses:function(L){var R=this.tree,T=R.model;R._v10Compat&&L===T.root&&(L=null);this._applyClassAndStyle(L,"icon","Icon");this._applyClassAndStyle(L,"label","Label");this._applyClassAndStyle(L,
"row","Row");this.tree._startPaint(!0)},_applyClassAndStyle:function(L,R,T){var aa="_"+R+"Class";R+="Node";var da=this[aa];this[aa]=this.tree["get"+T+"Class"](L,this.isExpanded);d.replace(this[R],this[aa]||"",da||"");a.set(this[R],this.tree["get"+T+"Style"](L,this.isExpanded)||{})},_updateLayout:function(){var L=this.getParent();L=!L||!L.rowNode||"none"==L.rowNode.style.display;d.toggle(this.domNode,"dijitTreeIsRoot",L);d.toggle(this.domNode,"dijitTreeIsLast",!L&&!this.getNextSibling())},_setExpando:function(L){var R=
["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];L=L?0:this.isExpandable?this.isExpanded?1:2:3;d.replace(this.expandoNode,R[L],R);this.expandoNodeText.innerHTML=["*","-","+","*"][L]},expand:function(){if(this._expandDeferred)return Q(this._expandDeferred);this._collapseDeferred&&(this._collapseDeferred.cancel(),delete this._collapseDeferred);this.isExpanded=!0;this.labelNode.setAttribute("aria-expanded","true");(this.tree.showRoot||this!==this.tree.rootNode)&&
this.containerNode.setAttribute("role","group");d.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","true");var L=e.wipeIn({node:this.containerNode,duration:z.defaultDuration}),R=this._expandDeferred=new l(function(){L.stop()});C.after(L,"onEnd",function(){R.resolve(!0)},!0);L.play();return Q(R)},collapse:function(){if(this._collapseDeferred)return Q(this._collapseDeferred);
this._expandDeferred&&(this._expandDeferred.cancel(),delete this._expandDeferred);this.isExpanded=!1;this.labelNode.setAttribute("aria-expanded","false");this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","false");d.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var L=e.wipeOut({node:this.containerNode,duration:z.defaultDuration}),R=this._collapseDeferred=new l(function(){L.stop()});C.after(L,"onEnd",
function(){R.resolve(!0)},!0);L.play();return Q(R)},indent:0,setChildItems:function(L){var R=this.tree,T=R.model,aa=[],da=R.focusedChild,la=this.getChildren();A.forEach(la,function(ha){E.prototype.removeChild.call(this,ha)},this);this.defer(function(){A.forEach(la,function(ha){if(!ha._destroyed&&!ha.getParent()){R.dndController.removeTreeNode(ha);(function W(va){var U=T.getIdentity(va.item),X=R._itemNodesMap[U];1==X.length?delete R._itemNodesMap[U]:(U=A.indexOf(X,va),-1!=U&&X.splice(U,1));A.forEach(va.getChildren(),
W)})(ha);if(R.persist){var oa=A.map(ha.getTreePath(),function(va){return R.model.getIdentity(va)}).join("/"),ka;for(ka in R._openedNodes)ka.substr(0,oa.length)==oa&&delete R._openedNodes[ka];R._saveExpandedNodes()}R.lastFocusedChild&&!g.isDescendant(R.lastFocusedChild.domNode,R.domNode)&&delete R.lastFocusedChild;da&&!g.isDescendant(da.domNode,R.domNode)&&R.focus();ha.destroyRecursive()}})});this.state="Loaded";L&&0<L.length?(this.isExpandable=!0,A.forEach(L,function(ha){var oa=T.getIdentity(ha),
ka=R._itemNodesMap[oa];if(ka)for(var ta=0;ta<ka.length;ta++)if(ka[ta]&&!ka[ta].getParent()){var va=ka[ta];va.set("indent",this.indent+1);break}va||(va=this.tree._createTreeNode({item:ha,tree:R,isExpandable:T.mayHaveChildren(ha),label:R.getLabel(ha),labelType:R.model&&R.model.labelType||"text",tooltip:R.getTooltip(ha),ownerDocument:R.ownerDocument,dir:R.dir,lang:R.lang,textDir:R.textDir,indent:this.indent+1}),ka?ka.push(va):R._itemNodesMap[oa]=[va]);this.addChild(va);(this.tree.autoExpand||this.tree._state(va))&&
aa.push(R._expandNode(va))},this),A.forEach(this.getChildren(),function(ha){ha._updateLayout()})):this.isExpandable=!1;this._setExpando&&this._setExpando(!1);this._updateItemClasses(this.item);L=f(aa);this.tree._startPaint(L);return Q(L)},getTreePath:function(){for(var L=this,R=[];L&&L!==this.tree.rootNode;)R.unshift(L.item),L=L.getParent();R.unshift(this.tree.rootNode.item);return R},getIdentity:function(){return this.tree.model.getIdentity(this.item)},removeChild:function(L){this.inherited(arguments);
var R=this.getChildren();0==R.length&&(this.isExpandable=!1,this.collapse());A.forEach(R,function(T){T._updateLayout()})},makeExpandable:function(){this.isExpandable=!0;this._setExpando(!1)},setSelected:function(L){this.labelNode.setAttribute("aria-selected",L?"true":"false");d.toggle(this.rowNode,"dijitTreeRowSelected",L)},focus:function(){q.focus(this.focusNode)}});h("dojo-bidi")&&P.extend({_setTextDirAttr:function(L){!L||this.textDir==L&&this._created||(this._set("textDir",L),this.applyTextDir(this.labelNode),
A.forEach(this.getChildren(),function(R){R.set("textDir",L)},this))}});var S=x("dijit.Tree",[D,J,v,H],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:!0,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:!1,openOnDblClick:!1,templateString:I,persist:!1,autoExpand:!1,dndController:N,dndParams:"onDndDrop itemCreator onDndCancel checkAcceptance checkItemAcceptance dragThreshold betweenThreshold".split(" "),onDndDrop:null,itemCreator:null,
onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(L,R){y.publish(this.id,k.mixin({tree:this,event:L},R||{}))},postMixInProperties:function(){this.tree=this;this.autoExpand&&(this.persist=!1);this._itemNodesMap={};!this.cookieName&&this.id&&(this.cookieName=this.id+"SaveStateCookie");this.expandChildrenDeferred=new l;this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments)},postCreate:function(){this._initState();
var L=this;this.own(m(this.containerNode,m.selector(".dijitTreeNode",p.enter),function(aa){L._onNodeMouseEnter(t.byNode(this),aa)}),m(this.containerNode,m.selector(".dijitTreeNode",p.leave),function(aa){L._onNodeMouseLeave(t.byNode(this),aa)}),m(this.containerNode,m.selector(".dijitTreeRow",w.press),function(aa){L._onNodePress(t.getEnclosingWidget(this),aa)}),m(this.containerNode,m.selector(".dijitTreeRow",w),function(aa){L._onClick(t.getEnclosingWidget(this),aa)}),m(this.containerNode,m.selector(".dijitTreeRow",
"dblclick"),function(aa){L._onDblClick(t.getEnclosingWidget(this),aa)}));this.model||this._store2model();this.own(C.after(this.model,"onChange",k.hitch(this,"_onItemChange"),!0),C.after(this.model,"onChildrenChange",k.hitch(this,"_onItemChildrenChange"),!0),C.after(this.model,"onDelete",k.hitch(this,"_onItemDelete"),!0));this.inherited(arguments);if(this.dndController){k.isString(this.dndController)&&(this.dndController=k.getObject(this.dndController));for(var R={},T=0;T<this.dndParams.length;T++)this[this.dndParams[T]]&&
(R[this.dndParams[T]]=this[this.dndParams[T]]);this.dndController=new this.dndController(this,R)}this._load();this.onLoadDeferred=Q(this.pendingCommandsPromise);this.onLoadDeferred.then(k.hitch(this,"onLoad"))},_store2model:function(){this._v10Compat=!0;n.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var L={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};this.params.mayHaveChildren&&(L.mayHaveChildren=
k.hitch(this,"mayHaveChildren"));this.params.getItemChildren&&(L.getChildren=k.hitch(this,function(R,T,aa){this.getItemChildren(this._v10Compat&&R===this.model.root?null:R,T,aa)}));this.model=new M(L);this.showRoot=!!this.label},onLoad:function(){},_load:function(){this.model.getRoot(k.hitch(this,function(L){var R=this.rootNode=this.tree._createTreeNode({item:L,tree:this,isExpandable:!0,label:this.label||this.getLabel(L),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?
0:-1});this.showRoot?(this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular),this.rootLoadingIndicator.style.display="none"):(R.rowNode.style.display="none",this.domNode.setAttribute("role","presentation"),this.domNode.removeAttribute("aria-expanded"),this.domNode.removeAttribute("aria-multiselectable"),this["aria-label"]?(R.containerNode.setAttribute("aria-label",this["aria-label"]),this.domNode.removeAttribute("aria-label")):this["aria-labelledby"]&&(R.containerNode.setAttribute("aria-labelledby",
this["aria-labelledby"]),this.domNode.removeAttribute("aria-labelledby")),R.labelNode.setAttribute("role","presentation"),R.labelNode.removeAttribute("aria-selected"),R.containerNode.setAttribute("role","tree"),R.containerNode.setAttribute("aria-expanded","true"),R.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular));this.containerNode.appendChild(R.domNode);L=this.model.getIdentity(L);this._itemNodesMap[L]?this._itemNodesMap[L].push(R):this._itemNodesMap[L]=[R];R._updateLayout();
this._expandNode(R).then(k.hitch(this,function(){this._destroyed||(this.rootLoadingIndicator.style.display="none",this.expandChildrenDeferred.resolve(!0))}))}),k.hitch(this,function(L){}))},getNodesByItem:function(L){if(!L)return[];L=k.isString(L)?L:this.model.getIdentity(L);return[].concat(this._itemNodesMap[L])},_setSelectedItemAttr:function(L){this.set("selectedItems",[L])},_setSelectedItemsAttr:function(L){var R=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(k.hitch(this,
function(){var T=A.map(L,function(da){return!da||k.isString(da)?da:R.model.getIdentity(da)}),aa=[];A.forEach(T,function(da){aa=aa.concat(R._itemNodesMap[da]||[])});this.set("selectedNodes",aa)}))},_setPathAttr:function(L){return L.length?Q(this.set("paths",[L]).then(function(R){return R[0]})):Q(this.set("paths",[]).then(function(R){return R[0]}))},_setPathsAttr:function(L){function R(aa,da){var la=aa.shift(),ha=A.filter(da,function(oa){return oa.getIdentity()==la})[0];if(ha)return aa.length?T._expandNode(ha).then(function(){return R(aa,
ha.getChildren())}):ha;throw new S.PathError("Could not expand path at "+la);}var T=this;return Q(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return f(A.map(L,function(aa){aa=A.map(aa,function(da){return da&&k.isObject(da)?T.model.getIdentity(da):da});if(aa.length)return R(aa,[T.rootNode]);throw new S.PathError("Empty path");}))}).then(function(aa){T.set("selectedNodes",aa);return T.paths}))},_setSelectedNodeAttr:function(L){this.set("selectedNodes",[L])},_setSelectedNodesAttr:function(L){this.dndController.setSelection(L)},
expandAll:function(){function L(T){return R._expandNode(T).then(function(){var aa=A.filter(T.getChildren()||[],function(da){return da.isExpandable});return f(A.map(aa,L))})}var R=this;return Q(L(this.rootNode))},collapseAll:function(){function L(T){var aa=A.filter(T.getChildren()||[],function(da){return da.isExpandable});aa=f(A.map(aa,L));return!T.isExpanded||T==R.rootNode&&!R.showRoot?aa:aa.then(function(){return R._collapseNode(T)})}var R=this;return Q(L(this.rootNode))},mayHaveChildren:function(){},
getItemChildren:function(){},getLabel:function(L){return this.model.getLabel(L)},getIconClass:function(L,R){return!L||this.model.mayHaveChildren(L)?R?"dijitFolderOpened":"dijitFolderClosed":"dijitLeaf"},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return""},_onDownArrow:function(L,R){var T=this._getNext(R);T&&T.isTreeNode&&this.focusNode(T)},_onUpArrow:function(L,R){var T=R.getPreviousSibling();
if(T)for(R=T;R.isExpandable&&R.isExpanded&&R.hasChildren();)T=R.getChildren(),R=T[T.length-1];else if(T=R.getParent(),this.showRoot||T!==this.rootNode)R=T;R&&R.isTreeNode&&this.focusNode(R)},_onRightArrow:function(L,R){R.isExpandable&&!R.isExpanded?this._expandNode(R):R.hasChildren()&&(R=R.getChildren()[0])&&R.isTreeNode&&this.focusNode(R)},_onLeftArrow:function(L,R){if(R.isExpandable&&R.isExpanded)this._collapseNode(R);else{var T=R.getParent();T&&T.isTreeNode&&(this.showRoot||T!==this.rootNode)&&
this.focusNode(T)}},focusLastChild:function(){var L=this._getLast();L&&L.isTreeNode&&this.focusNode(L)},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0]},_getLast:function(){for(var L=this.rootNode;L.isExpanded;){var R=L.getChildren();if(!R.length)break;L=R[R.length-1]}return L},_getNext:function(L){if(L.isExpandable&&L.isExpanded&&L.hasChildren())return L.getChildren()[0];for(;L&&L.isTreeNode;){var R=L.getNextSibling();if(R)return R;L=L.getParent()}return null},
childSelector:".dijitTreeRow",isExpandoNode:function(L,R){return g.isDescendant(L,R.expandoNode)||g.isDescendant(L,R.expandoNodeText)},_onNodePress:function(L,R){this.focusNode(L)},__click:function(L,R,T,aa){var da=this.isExpandoNode(R.target,L);L.isExpandable&&(T||da)?this._onExpandoClick({node:L}):(this._publish("execute",{item:L.item,node:L,evt:R}),this[aa](L.item,L,R),this.focusNode(L));R.stopPropagation();R.preventDefault()},_onClick:function(L,R){this.__click(L,R,this.openOnClick,"onClick")},
_onDblClick:function(L,R){this.__click(L,R,this.openOnDblClick,"onDblClick")},_onExpandoClick:function(L){L=L.node;this.focusNode(L);L.isExpanded?this._collapseNode(L):this._expandNode(L)},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(L){n.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(L)},_getRootOrFirstNode:function(){n.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.",
"","2.0");return this._getFirst()},_collapseNode:function(L){L._expandNodeDeferred&&delete L._expandNodeDeferred;if("Loading"!=L.state&&L.isExpanded){var R=L.collapse();this.onClose(L.item,L);this._state(L,!1);this._startPaint(R);return R}},_expandNode:function(L){if(L._expandNodeDeferred)return L._expandNodeDeferred;var R=this.model,T=L.item;L._loadDeferred||(L.markProcessing(),L._loadDeferred=new l,R.getChildren(T,function(aa){L.unmarkProcessing();L.setChildItems(aa).then(function(){L._loadDeferred.resolve(aa)})},
function(aa){L._loadDeferred.reject(aa)}));R=L._loadDeferred.then(k.hitch(this,function(){var aa=L.expand();this.onOpen(L.item,L);this._state(L,!0);return aa}));this._startPaint(R);return R},focusNode:function(L){for(var R=[],T=this.domNode;T&&T.tagName&&"IFRAME"!==T.tagName.toUpperCase();T=T.parentNode)R.push({domNode:T.contentWindow||T,scrollLeft:T.scrollLeft||0,scrollTop:T.scrollTop||0});this.focusChild(L);this.defer(function(){for(var aa=0,da=R.length;aa<da;aa++)R[aa].domNode.scrollLeft=R[aa].scrollLeft,
R[aa].domNode.scrollTop=R[aa].scrollTop},0)},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(L){var R=this.model.getIdentity(L);if(R=this._itemNodesMap[R]){var T=this.getLabel(L),aa=this.getTooltip(L);A.forEach(R,function(da){da.set({item:L,label:T,tooltip:aa});da._updateItemClasses(L)})}},_onItemChildrenChange:function(L,R){var T=this.model.getIdentity(L);(T=this._itemNodesMap[T])&&A.forEach(T,function(aa){aa.setChildItems(R)})},_onItemDelete:function(L){L=this.model.getIdentity(L);
var R=this._itemNodesMap[L];R&&(A.forEach(R,function(T){this.dndController.removeTreeNode(T);var aa=T.getParent();aa&&aa.removeChild(T);this.lastFocusedChild&&!g.isDescendant(this.lastFocusedChild.domNode,this.domNode)&&delete this.lastFocusedChild;this.focusedChild&&!g.isDescendant(this.focusedChild.domNode,this.domNode)&&this.focus();T.destroyRecursive()},this),delete this._itemNodesMap[L])},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var L=B(this.cookieName);L&&
A.forEach(L.split(","),function(R){this._openedNodes[R]=!0},this)}},_state:function(L,R){if(!this.persist)return!1;var T=A.map(L.getTreePath(),function(aa){return this.model.getIdentity(aa)},this).join("/");if(1===arguments.length)return this._openedNodes[T];R?this._openedNodes[T]=!0:delete this._openedNodes[T];this._saveExpandedNodes()},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var L=[],R;for(R in this._openedNodes)L.push(R);B(this.cookieName,L.join(","),{expires:365})}},destroy:function(){this._curSearch&&
(this._curSearch.timer.remove(),delete this._curSearch);this.rootNode&&this.rootNode.destroyRecursive();this.dndController&&!k.isString(this.dndController)&&this.dndController.destroy();this.rootNode=null;this.inherited(arguments)},destroyRecursive:function(){this.destroy()},resize:function(L){L&&c.setMarginBox(this.domNode,L);this._nodePixelIndent=c.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(k.hitch(this,function(){this.rootNode.set("indent",this.showRoot?
0:-1);this._adjustWidths()}))},_outstandingPaintOperations:0,_startPaint:function(L){this._outstandingPaintOperations++;this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);var R=k.hitch(this,function(){this._outstandingPaintOperations--;0>=this._outstandingPaintOperations&&!this._adjustWidthsTimer&&this._started&&(this._adjustWidthsTimer=this.defer("_adjustWidths"))});u(L,R,R)},_adjustWidths:function(){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(L){return new P(L)},focus:function(){this.lastFocusedChild?this.focusNode(this.lastFocusedChild):this.focusFirstChild()}});h("dojo-bidi")&&S.extend({_setTextDirAttr:function(L){L&&this.textDir!=L&&(this._set("textDir",L),this.rootNode.set("textDir",L))}});S.PathError=b("TreePathError");S._TreeNode=P;return S})},
"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".split(" "),function(A,C,B,x,l,f,g,d,c,a){x("dijit-legacy-requires")&&g(0,function(){A(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])});g=C("dijit.form.Button"+(x("dojo-bidi")?"_NoBidi":""),[d,c],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",
type:"class"},baseClass:"dijitButton",templateString:a,_setValueAttr:"valueNode",_setNameAttr:function(b){this.valueNode&&this.valueNode.setAttribute("name",b)},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=f.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(b){this.containerNode&&B.toggle(this.containerNode,"dijitDisplayNone",!b);this._set("showLabel",b)},
setLabel:function(b){l.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",b)},onLabelSet:function(){this.inherited(arguments);this.showLabel||"title"in this.params||(this.titleNode.title=f.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});x("dojo-bidi")&&(g=C("dijit.form.Button",g,{onLabelSet:function(){this.inherited(arguments);this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(b){this._created&&
this.textDir!=b&&(this._set("textDir",b),this._setLabelAttr(this.label))}}));return g})},"dijit/form/_ExpandingTextAreaMixin":function(){define("dojo/_base/declare dojo/dom-construct dojo/has dojo/_base/lang dojo/on dojo/_base/window ../Viewport".split(" "),function(A,C,B,x,l,f,g){B.add("textarea-needs-help-shrinking",function(){var d=f.body(),c=C.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",
margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},d,"last"),a=c.scrollHeight>=c.clientHeight;d.removeChild(c);return a});return A("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize()},postCreate:function(){this.inherited(arguments);var d=this.textbox;d.style.overflowY="hidden";this.own(l(d,"focus, resize",x.hitch(this,"_resizeLater")))},startup:function(){this.inherited(arguments);
this.own(g.on("resize",x.hitch(this,"_resizeLater")));this._resizeLater()},_onInput:function(d){this.inherited(arguments);this.resize()},_estimateHeight:function(){var d=this.textbox;d.rows=(d.value.match(/\n/g)||[]).length+1},_resizeLater:function(){this.defer("resize")},resize:function(){function d(){var k=!1;""===c.value&&(c.value=" ",k=!0);var m=c.scrollHeight;k&&(c.value="");return m}var c=this.textbox;"hidden"==c.style.overflowY&&(c.scrollTop=0);if(!this.busyResizing){this.busyResizing=!0;if(d()||
c.offsetHeight){var a=d()+Math.max(c.offsetHeight-c.clientHeight,0),b=a+"px";b!=c.style.height&&(c.style.height=b,c.rows=1);if(B("textarea-needs-help-shrinking")){var e=d(),h=c.style.minHeight,n=4,r=c.scrollTop;c.style.minHeight=b;for(c.style.height="auto";0<a;){c.style.minHeight=Math.max(a-n,4)+"px";b=d();e-=b;a-=e;if(e<n)break;e=b;n<<=1}c.style.height=a+"px";c.style.minHeight=h;c.scrollTop=r}c.style.overflowY=d()>c.clientHeight?"auto":"hidden";"hidden"==c.style.overflowY&&(c.scrollTop=0)}else this._estimateHeight();
this.busyResizing=!1}}})})},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(A,C,B){var x=window,l={addOnWindowUnload:function(f,g){A.windowUnloaded||B(x,"unload",A.windowUnloaded=function(){});B(x,"unload",C.hitch(f,g))},addOnUnload:function(f,g){B(x,"beforeunload",C.hitch(f,g))}};A.addOnWindowUnload=l.addOnWindowUnload;A.addOnUnload=l.addOnUnload;return l})},"dijit/CalendarLite":function(){define("dojo/_base/array dojo/_base/declare dojo/cldr/supplemental dojo/date dojo/date/locale dojo/date/stamp dojo/dom dojo/dom-class dojo/dom-attr dojo/_base/lang dojo/on dojo/sniff dojo/string ./_WidgetBase ./_TemplatedMixin dojo/text!./templates/Calendar.html ./a11yclick ./hccss".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k){var m=C("dijit.CalendarLite",[n,r],{templateString:k,dowTemplateString:'\x3cth class\x3d"dijitReset dijitCalendarDayLabelTemplate" role\x3d"columnheader" scope\x3d"col"\x3e\x3cspan class\x3d"dijitCalendarDayLabel"\x3e${d}\x3c/span\x3e\x3c/th\x3e',dateTemplateString:'\x3ctd class\x3d"dijitReset" role\x3d"gridcell" data-dojo-attach-point\x3d"dateCells"\x3e\x3cspan class\x3d"dijitCalendarDateLabel" data-dojo-attach-point\x3d"dateLabels"\x3e\x3c/span\x3e\x3c/td\x3e',
weekTemplateString:'\x3ctr class\x3d"dijitReset dijitCalendarWeekTemplate" role\x3d"row"\x3e${d}${d}${d}${d}${d}${d}${d}\x3c/tr\x3e',value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",dayOffset:-1,currentFocus:new Date,_setSummaryAttr:"gridNode",baseClass:"dijitCalendar dijitCalendarLite",_isValidDate:function(y){return y&&!isNaN(y)&&"object"==typeof y&&y.toString()!=this.constructor.prototype.value.toString()},_getValueAttr:function(){var y=this._get("value");if(y&&!isNaN(y)){var p=
new this.dateClassObj(y);p.setHours(0,0,0,0);p.getDate()<y.getDate()&&(p=this.dateModule.add(p,"hour",1));return p}return null},_setValueAttr:function(y,p){"string"==typeof y&&(y=f.fromISOString(y));y=this._patchDate(y);if(this._isValidDate(y)&&!this.isDisabledDate(y,this.lang)){if(this._set("value",y),this.set("currentFocus",y),this._markSelectedDates([y]),this._created&&(p||"undefined"==typeof p))this.onChange(this.get("value"))}else this._set("value",null),this._markSelectedDates([])},_patchDate:function(y){if(y||
0===y)y=new this.dateClassObj(y),y.setHours(1,0,0,0);return y},_setText:function(y,p){for(;y.firstChild;)y.removeChild(y.firstChild);y.appendChild(y.ownerDocument.createTextNode(p))},_populateGrid:function(){var y=new this.dateClassObj(this.currentFocus);y.setDate(1);y=this._patchDate(y);var p=y.getDay(),u=this.dateModule.getDaysInMonth(y),w=this.dateModule.getDaysInMonth(this.dateModule.add(y,"month",-1)),q=new this.dateClassObj,t=0<=this.dayOffset?this.dayOffset:B.getFirstDayOfWeek(this.lang);t>
p&&(t-=7);if(!this.summary){var z=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,y);this.gridNode.setAttribute("summary",z[y.getMonth()])}this._date2cell={};A.forEach(this.dateCells,function(D,v){var E=v+t,F=new this.dateClassObj(y),H="dijitCalendar",J=0;E<p?(E=w-p+E+1,J=-1,H+="Previous"):E>=p+u?(E=E-p-u+1,J=1,H+="Next"):(E=E-p+1,H+="Current");J&&(F=this.dateModule.add(F,"month",J));F.setDate(E);this.dateModule.compare(F,q,"date")||(H="dijitCalendarCurrentDate "+H);this.isDisabledDate(F,
this.lang)?(H="dijitCalendarDisabledDate "+H,D.setAttribute("aria-disabled","true")):(H="dijitCalendarEnabledDate "+H,D.removeAttribute("aria-disabled"),D.setAttribute("aria-selected","false"));(J=this.getClassForDate(F,this.lang))&&(H=J+" "+H);D.className=H+"Month dijitCalendarDateTemplate";H=F.valueOf();this._date2cell[H]=D;D.dijitDateValue=H;H=F.getDateLocalized?F.getDateLocalized(this.lang):F.getDate();this._setText(this.dateLabels[v],H);c.set(D,"aria-label",l.format(F,{selector:"date",formatLength:"long"}))},
this)},_populateControls:function(){var y=new this.dateClassObj(this.currentFocus);y.setDate(1);this.monthWidget.set("month",y);var p=y.getFullYear()-1,u=new this.dateClassObj;A.forEach(["previous","current","next"],function(w){u.setFullYear(p++);this._setText(this[w+"YearLabelNode"],this.dateLocaleModule.format(u,{selector:"year",locale:this.lang}))},this)},goToToday:function(){this.set("value",new this.dateClassObj)},constructor:function(y){this.dateModule=y.datePackage?a.getObject(y.datePackage,
!1):x;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=y.datePackage?a.getObject(y.datePackage+".locale",!1):l},_createMonthWidget:function(){return m._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},buildRendering:function(){var y=this.dowTemplateString,p=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),u=0<=this.dayOffset?this.dayOffset:B.getFirstDayOfWeek(this.lang);this.dayCellsHtml=h.substitute([y,
y,y,y,y,y,y].join(""),{d:""},function(){return p[u++%7]});y=h.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[y,y,y,y,y,y].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);g.setSelectable(this.domNode,!1);y=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",y,!1)},postCreate:function(){this.inherited(arguments);this._connectControls()},_connectControls:function(){var y=a.hitch(this,function(p,
u,w){this[p].dojoClick=!0;return b(this[p],"click",a.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,u,w))}))});this.own(y("incrementMonth","month",1),y("decrementMonth","month",-1),y("nextYearLabelNode","year",1),y("previousYearLabelNode","year",-1))},_setCurrentFocusAttr:function(y,p){var u=this.currentFocus,w=this._getNodeByDate(u);y=this._patchDate(y);this._set("currentFocus",y);this._date2cell&&0==this.dateModule.difference(u,y,"month")||(this._populateGrid(),
this._populateControls(),this._markSelectedDates([this.value]));u=this._getNodeByDate(y);u.setAttribute("tabIndex",this.tabIndex);(this.focused||p)&&u.focus();w&&w!=u&&(e("webkit")?w.setAttribute("tabIndex","-1"):w.removeAttribute("tabIndex"))},focus:function(){this._setCurrentFocusAttr(this.currentFocus,!0)},_onDayClick:function(y){y.stopPropagation();y.preventDefault();for(y=y.target;y&&!y.dijitDateValue&&0!==y.dijitDateValue;y=y.parentNode);y&&!d.contains(y,"dijitCalendarDisabledDate")&&this.set("value",
y.dijitDateValue)},_getNodeByDate:function(y){return(y=this._patchDate(y))&&this._date2cell?this._date2cell[y.valueOf()]:null},_markSelectedDates:function(y){function p(u,w){d.toggle(w,"dijitCalendarSelectedDate",u);w.setAttribute("aria-selected",u?"true":"false")}A.forEach(this._selectedCells||[],a.partial(p,!1));this._selectedCells=A.filter(A.map(y,this._getNodeByDate,this),function(u){return u});A.forEach(this._selectedCells,a.partial(p,!0))},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});
m._MonthWidget=C("dijit.CalendarLite._MonthWidget",n,{_setMonthAttr:function(y){var p=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,y),u=6==e("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+A.map(p,function(w){return"\x3cdiv\x3e"+w+"\x3c/div\x3e"}).join("")+"\x3c/div\x3e";this.domNode.innerHTML=u+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+p[y.getMonth()]+"\x3c/div\x3e"}});return m})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m){function y(q){var t=q._nameCaseMap,z=q.prototype;if(!t||t._extendCnt<w){t=q._nameCaseMap={};for(var D in z)"_"!==D.charAt(0)&&(t[D.toLowerCase()]=D);t._extendCnt=w}return t}function p(q,t){t||(t=A);var z=t._dojoParserCtorMap||(t._dojoParserCtorMap={}),D=q.join();if(!z[D]){for(var v=[],E=0,F=q.length;E<F;E++){var H=q[E];v[v.length]=z[H]=z[H]||B.getObject(H)||~H.indexOf("/")&&t(H)}E=v.shift();z[D]=v.length?E.createSubclass?E.createSubclass(v):E.extend.apply(E,
v):E}return z[D]}new Date("X");var u=h("csp-restrictions")?n.parse:function(q){return eval("("+q+")")};var w=0;c.after(B,"extend",function(){w++},!0);n={_clearCache:function(){w++;_ctorMap={}},_functionFromScript:function(q,t){var z="",D="",v=q.getAttribute(t+"args")||q.getAttribute("args"),E=q.getAttribute("with");v=(v||"").split(/\s*,\s*/);E&&E.length&&x.forEach(E.split(/\s*,\s*/),function(F){z+="with("+F+"){";D+="}"});return new Function(v,z+q.innerHTML+D)},instantiate:function(q,t,z){t=t||{};
z=z||{};var D=(z.scope||C._scopeName)+"Type",v="data-"+(z.scope||C._scopeName)+"-",E=v+"type",F=v+"mixins",H=[];x.forEach(q,function(J){var G=D in t?t[D]:J.getAttribute(E)||J.getAttribute(D);if(G){var I=J.getAttribute(F);G=I?[G].concat(I.split(/\s*,\s*/)):[G];H.push({node:J,types:G})}});return this._instantiate(H,t,z)},_instantiate:function(q,t,z,D){function v(E){t._started||z.noStart||x.forEach(E,function(F){"function"!==typeof F.startup||F._started||F.startup()});return E}q=x.map(q,function(E){var F=
E.ctor||p(E.types,z.contextRequire);if(!F)throw Error("Unable to resolve constructor for: '"+E.types.join()+"'");return this.construct(F,E.node,t,z,E.scripts,E.inherited)},this);return D?a(q).then(v):v(q)},construct:function(q,t,z,D,v,E){function F(la){Q&&B.setObject(Q,la);for(M=0;M<R.length;M++)c[R[M].advice||"after"](la,R[M].method,B.hitch(la,R[M].func),!0);for(M=0;M<T.length;M++)T[M].call(la);for(M=0;M<aa.length;M++)la.watch(aa[M].prop,aa[M].func);for(M=0;M<da.length;M++)k(la,da[M].event,da[M].func);
return la}var H=q&&q.prototype;D=D||{};var J={};D.defaults&&B.mixin(J,D.defaults);E&&B.mixin(J,E);if(h("dom-attributes-explicit"))var G=t.attributes;else h("dom-attributes-specified-flag")?G=x.filter(t.attributes,function(la){return la.specified}):(E=(/^input$|^img$/i.test(t.nodeName)?t:t.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""),G=x.map(E.split(/\s+/),function(la){var ha=la.toLowerCase();return{name:la,value:"LI"==
t.nodeName&&"value"==la||"enctype"==ha?t.getAttribute(ha):t.getAttributeNode(ha).value}}));var I=D.scope||C._scopeName;E="data-"+I+"-";var K={};"dojo"!==I&&(K[E+"props"]="data-dojo-props",K[E+"type"]="data-dojo-type",K[E+"mixins"]="data-dojo-mixins",K[I+"type"]="dojotype",K[E+"id"]="data-dojo-id");var M=0,N;I=[];for(var Q,P;N=G[M++];){var S=N.name,L=S.toLowerCase();N=N.value;switch(K[L]||L){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":P=N;break;case "data-dojo-id":case "jsid":Q=
N;break;case "data-dojo-attach-point":case "dojoattachpoint":J.dojoAttachPoint=N;break;case "data-dojo-attach-event":case "dojoattachevent":J.dojoAttachEvent=N;break;case "class":J["class"]=t.className;break;case "style":J.style=t.style&&t.style.cssText;break;default:if(S in H||(S=y(q)[L]||S),S in H)switch(typeof H[S]){case "string":J[S]=N;break;case "number":J[S]=N.length?Number(N):NaN;break;case "boolean":J[S]="false"!=N.toLowerCase();break;case "function":""===N||-1!=N.search(/[^\w\.]+/i)?J[S]=
new Function(N):J[S]=B.getObject(N,!1)||new Function(N);I.push(S);break;default:L=H[S];try{J[S]=L&&"length"in L?N?N.split(/\s*,\s*/):[]:L instanceof Date?""==N?new Date(""):"now"==N?new Date:b.fromISOString(N):L instanceof d?C.baseUrl+N:u(N)}catch(la){}}else J[S]=N}}for(G=0;G<I.length;G++)K=I[G].toLowerCase(),t.removeAttribute(K),t[K]=null;if(P)try{P=u.call(D.propsThis,"{"+P+"}"),B.mixin(J,P)}catch(la){throw Error(la.toString()+" in data-dojo-props\x3d'"+P+"'");}B.mixin(J,z);v||(v=q&&(q._noScript||
H._noScript)?[]:r("\x3e script[type^\x3d'dojo/']",t));var R=[],T=[],aa=[],da=[];if(v)for(M=0;M<v.length;M++)K=v[M],t.removeChild(K),z=K.getAttribute(E+"event")||K.getAttribute("event"),D=K.getAttribute(E+"prop"),P=K.getAttribute(E+"method"),I=K.getAttribute(E+"advice"),G=K.getAttribute("type"),K=this._functionFromScript(K,E),z?"dojo/connect"==G?R.push({method:z,func:K}):"dojo/on"==G?da.push({event:z,func:K}):J[z]=K:"dojo/aspect"==G?R.push({method:P,advice:I,func:K}):"dojo/watch"==G?aa.push({prop:D,
func:K}):T.push(K);q=(v=q.markupFactory||H.markupFactory)?v(J,t,q):new q(J,t);return q.then?q.then(F):F(q)},scan:function(q,t){function z(R){if(!R.inherited){R.inherited={};var T=R.node,aa=z(R.parent);T={dir:T.getAttribute("dir")||aa.dir,lang:T.getAttribute("lang")||aa.lang,textDir:T.getAttribute(G)||aa.textDir};for(var da in T)T[da]&&(R.inherited[da]=T[da])}return R.inherited}var D=[],v=[],E={},F=(t.scope||C._scopeName)+"Type",H="data-"+(t.scope||C._scopeName)+"-",J=H+"type",G=H+"textdir";H+="mixins";
var I=q.firstChild,K=t.inherited;if(!K){K=function da(T,aa){return T.getAttribute&&T.getAttribute(aa)||T.parentNode&&da(T.parentNode,aa)};K={dir:K(q,"dir"),lang:K(q,"lang"),textDir:K(q,G)};for(var M in K)K[M]||delete K[M]}K={inherited:K};for(var N,Q;;)if(I)if(1!=I.nodeType)I=I.nextSibling;else if(N&&"script"==I.nodeName.toLowerCase())(P=I.getAttribute("type"))&&/^dojo\/\w/i.test(P)&&N.push(I),I=I.nextSibling;else if(Q)I=I.nextSibling;else{var P=I.getAttribute(J)||I.getAttribute(F);M=I.firstChild;
if(P||M&&(3!=M.nodeType||M.nextSibling)){Q=null;if(P){var S=I.getAttribute(H);N=S?[P].concat(S.split(/\s*,\s*/)):[P];try{Q=p(N,t.contextRequire)}catch(R){}Q||x.forEach(N,function(R){~R.indexOf("/")&&!E[R]&&(E[R]=!0,v[v.length]=R)});S=Q&&!Q.prototype._noScript?[]:null;K={types:N,ctor:Q,parent:K,node:I,scripts:S};K.inherited=z(K);D.push(K)}else K={node:I,scripts:N,parent:K};N=S;Q=I.stopParser||Q&&Q.prototype.stopParser&&!t.template;I=M}else I=I.nextSibling}else{if(!K||!K.node)break;I=K.node.nextSibling;
Q=!1;K=K.parent;N=K.scripts}var L=new e;v.length?(h("dojo-debug-messages"),(t.contextRequire||A)(v,function(){L.resolve(x.filter(D,function(R){if(!R.ctor)try{R.ctor=p(R.types,t.contextRequire)}catch(da){}for(var T=R.parent;T&&!T.types;)T=T.parent;var aa=R.ctor&&R.ctor.prototype;R.instantiateChildren=!(aa&&aa.stopParser&&!t.template);R.instantiate=!T||T.instantiate&&T.instantiateChildren;return R.instantiate}))})):L.resolve(D);return L.promise},_require:function(q,t){var z=u("{"+q.innerHTML+"}"),D=
[],v=[],E=new e,F=t&&t.contextRequire||A,H;for(H in z)D.push(H),v.push(z[H]);F(v,function(){for(var J=0;J<D.length;J++)B.setObject(D[J],arguments[J]);E.resolve(arguments)});return E.promise},_scanAmd:function(q,t){var z=new e,D=z.promise;z.resolve(!0);var v=this;r("script[type\x3d'dojo/require']",q).forEach(function(E){D=D.then(function(){return v._require(E,t)});E.parentNode.removeChild(E)});return D},parse:function(q,t){!q||"string"==typeof q||"nodeType"in q||(t=q,q=t.rootNode);var z=q?f.byId(q):
g.body();t=t||{};var D=t.template?{template:!0}:{},v=[],E=this,F=this._scanAmd(z,t).then(function(){return E.scan(z,t)}).then(function(H){return E._instantiate(H,D,t,!0)}).then(function(H){return v=v.concat(H)}).otherwise(function(H){throw H;});B.mixin(v,F);return v}};C.parser=n;l.parseOnLoad&&m(100,n,"parse");return n})},"dijit/Toolbar":function(){define("require dojo/_base/declare dojo/has dojo/keys dojo/ready ./_Widget ./_KeyNavContainer ./_TemplatedMixin".split(" "),function(A,C,B,x,l,f,g,d){B("dijit-legacy-requires")&&
l(0,function(){A(["dijit/ToolbarSeparator"])});return C("dijit.Toolbar",[f,d,g],{templateString:'\x3cdiv class\x3d"dijit" role\x3d"toolbar" tabIndex\x3d"${tabIndex}" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e',baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev()},_onRightArrow:function(){this.focusNext()}})})},"dojo/promise/all":function(){define(["../_base/array","../_base/lang","../Deferred","../when"],function(A,C,B,x){var l=A.some;return function(f){var g,d;C.isArray(f)?
d=f:f&&"object"===typeof f&&(g=f);var c=[];if(g){d=[];for(var a in g)Object.hasOwnProperty.call(g,a)&&(c.push(a),d.push(g[a]));var b={}}else d&&(b=[]);if(!d||!d.length)return(new B).resolve(b);var e=new B;e.promise.always(function(){b=c=null});var h=d.length;l(d,function(n,r){g||c.push(r);x(n,function(k){e.isFulfilled()||(b[c[r]]=k,0===--h&&e.resolve(b))},e.reject);return e.isFulfilled()});return e.promise}})},"dijit/form/_Spinner":function(){define("dojo/_base/declare dojo/keys dojo/_base/lang dojo/sniff dojo/mouse dojo/on ../typematic ./RangeBoundTextBox dojo/text!./templates/Spinner.html ./_TextBoxMixin".split(" "),
function(A,C,B,x,l,f,g,d,c,a){return A("dijit.form._Spinner",d,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:.9,smallDelta:1,largeDelta:10,templateString:c,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{upArrowNode:"dijitUpArrowButton",downArrowNode:"dijitDownArrowButton"},adjust:function(b){return b},_arrowPressed:function(b,e,h){this.disabled||this.readOnly||(this._setValueAttr(this.adjust(this.get("value"),e*h),!1),a.selectInputText(this.textbox,this.textbox.value.length))},_arrowReleased:function(){this._wheelTimer=
null},_typematicCallback:function(b,e,h){var n=this.smallDelta;e==this.textbox&&(e=h.keyCode,n=e==C.PAGE_UP||e==C.PAGE_DOWN?this.largeDelta:this.smallDelta,e=e==C.UP_ARROW||e==C.PAGE_UP?this.upArrowNode:this.downArrowNode);-1==b?this._arrowReleased(e):this._arrowPressed(e,e==this.upArrowNode?1:-1,n)},_wheelTimer:null,_mouseWheeled:function(b){if(this.focused){b.stopPropagation();b.preventDefault();var e=b.wheelDelta/120;Math.floor(e)!=e&&(e=0<b.wheelDelta?1:-1);b=b.detail?-1*b.detail:e;if(0!==b){var h=
this[0<b?"upArrowNode":"downArrowNode"];this._arrowPressed(h,b,this.smallDelta);this._wheelTimer&&this._wheelTimer.remove();this._wheelTimer=this.defer(function(){this._arrowReleased(h)},50)}}},_setConstraintsAttr:function(b){this.inherited(arguments);this.focusNode&&(void 0!==this.constraints.min?this.focusNode.setAttribute("aria-valuemin",this.constraints.min):this.focusNode.removeAttribute("aria-valuemin"),void 0!==this.constraints.max?this.focusNode.setAttribute("aria-valuemax",this.constraints.max):
this.focusNode.removeAttribute("aria-valuemax"))},_setValueAttr:function(b,e){this.focusNode.setAttribute("aria-valuenow",b);this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.own(f(this.domNode,l.wheel,B.hitch(this,"_mouseWheeled")),g.addListener(this.upArrowNode,this.textbox,{keyCode:C.UP_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),g.addListener(this.downArrowNode,this.textbox,
{keyCode:C.DOWN_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),g.addListener(this.upArrowNode,this.textbox,{keyCode:C.PAGE_UP,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),g.addListener(this.downArrowNode,this.textbox,{keyCode:C.PAGE_DOWN,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,
this.defaultTimeout,this.minimumTimeout))}})})},"dojox/grid/_View":function(){define("dojo dijit/registry ../main dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/_base/connect dojo/_base/sniff dojo/query dojo/_base/window dojo/text!./resources/View.html dojo/dnd/Source dijit/_Widget dijit/_TemplatedMixin dojox/html/metrics ./util dojo/_base/html ./_Builder dojo/dnd/Avatar dojo/dnd/Manager".split(" "),function(A,C,B,x,l,f,g,d,c,a,b,e,h,n,r,k,m,y,p,u){b=x("dojox.grid._View",[h,n],{defaultWidth:"18em",
viewWidth:"",templateString:b,classTag:"dojoxGrid",marginBottom:0,rowPad:2,_togglingColumn:-1,_headerBuilderClass:y._HeaderBuilder,_contentBuilderClass:y._ContentBuilder,postMixInProperties:function(){this.rowNodes={}},postCreate:function(){this.connect(this.scrollboxNode,"onscroll","doscroll");k.funnelEvents(this.contentNode,this,"doContentEvent","mouseover mouseout click dblclick contextmenu mousedown".split(" "));k.funnelEvents(this.headerNode,this,"doHeaderEvent","dblclick mouseover mouseout mousemove mousedown click contextmenu".split(" "));
this.content=new this._contentBuilderClass(this);this.header=new this._headerBuilderClass(this);this.grid.isLeftToRight()||(this.headerNodeContainer.style.width="")},destroy:function(){m.destroy(this.headerNode);delete this.headerNode;for(var t in this.rowNodes)this._cleanupRowWidgets(this.rowNodes[t]),m.destroy(this.rowNodes[t]);this.rowNodes={};this.source&&this.source.destroy();this.inherited(arguments)},focus:function(){d("ie")||d("webkit")||d("opera")?this.hiddenFocusNode.focus():this.scrollboxNode.focus()},
setStructure:function(t){t=this.structure=t;t.width&&!isNaN(t.width)?this.viewWidth=t.width+"em":this.viewWidth=t.width||(t.noscroll?"auto":this.viewWidth);this._onBeforeRow=t.onBeforeRow||function(){};this._onAfterRow=t.onAfterRow||function(){};if(this.noscroll=t.noscroll)this.scrollboxNode.style.overflow="hidden";this.simpleStructure=1==t.cells.length;this.testFlexCells();this.updateStructure()},_cleanupRowWidgets:function(t){t&&l.forEach(c("[widgetId]",t).map(C.byNode),function(z){z._destroyOnRemove?
(z.destroy(),delete z):z.domNode&&z.domNode.parentNode&&z.domNode.parentNode.removeChild(z.domNode)})},onBeforeRow:function(t,z){this._onBeforeRow(t,z);0<=t&&this._cleanupRowWidgets(this.getRowNode(t))},onAfterRow:function(t,z,D){this._onAfterRow(t,z,D);var v=this.grid;l.forEach(c(".dojoxGridStubNode",D),function(E){if(E&&E.parentNode){var F=E.getAttribute("linkWidget"),H=window.parseInt(m.attr(E,"cellIdx"),10);v.getCell(H);(F=C.byId(F))?(E.parentNode.replaceChild(F.domNode,E),F._started||F.startup(),
A.destroy(E)):E.innerHTML=""}},this)},testFlexCells:function(){this.flexCells=!1;for(var t=0,z;z=this.structure.cells[t];t++)for(var D=0,v;v=z[D];D++)v.view=this,this.flexCells=this.flexCells||v.isFlex();return this.flexCells},updateStructure:function(){this.header.update();this.content.update()},getScrollbarWidth:function(){var t=this.hasVScrollbar(),z=m.style(this.scrollboxNode,"overflow");this.noscroll||!z||"hidden"==z?t=!1:"scroll"==z&&(t=!0);return t?r.getScrollbar().w:0},getColumnsWidth:function(){var t=
this.headerContentNode;return t&&t.firstChild?t.firstChild.offsetWidth||m.style(t.firstChild,"width"):0},setColumnsWidth:function(t){this.headerContentNode.firstChild.style.width=t+"px";this.viewWidth&&(this.viewWidth=t+"px")},getWidth:function(){return this.viewWidth||this.getColumnsWidth()+this.getScrollbarWidth()+"px"},getContentWidth:function(){return Math.max(0,m._getContentBox(this.domNode).w-this.getScrollbarWidth())+"px"},render:function(){this.scrollboxNode.style.height="";this.renderHeader();
0<=this._togglingColumn&&(this.setColumnsWidth(this.getColumnsWidth()-this._togglingColumn),this._togglingColumn=-1);var t=this.grid.layout.cells,z=f.hitch(this,function(v,E){!this.grid.isLeftToRight()&&(E=!E);for(var F=E?-1:1,H=this.header.getCellNodeIndex(v)+F,J=t[H];J&&J.getHeaderNode()&&"none"==J.getHeaderNode().style.display;)H+=F,J=t[H];return J?J.getHeaderNode():null});if(this.grid.columnReordering&&this.simpleStructure){this.source&&this.source.destroy();this.bottomMarker&&m.destroy(this.bottomMarker);
this.bottomMarker=m.byId("dojoxGrid_bottomMarker");this.topMarker&&m.destroy(this.topMarker);this.topMarker=m.byId("dojoxGrid_topMarker");this.bottomMarker||(this.bottomMarker=m.create("div",{id:"dojoxGrid_bottomMarker","class":"dojoxGridColPlaceBottom"},a.body()),this._hide(this.bottomMarker),this.topMarker=m.create("div",{id:"dojoxGrid_topMarker","class":"dojoxGridColPlaceTop"},a.body()),this._hide(this.topMarker));this.arrowDim=m.contentBox(this.bottomMarker);var D=m.contentBox(this.headerContentNode.firstChild.rows[0]).h;
this.source=new e(this.headerContentNode.firstChild.rows[0],{horizontal:!0,accept:["gridColumn_"+this.grid.id],viewIndex:this.index,generateText:!1,onMouseDown:f.hitch(this,function(v){this.header.decorateEvent(v);if((this.header.overRightResizeArea(v)||this.header.overLeftResizeArea(v))&&this.header.canResize(v)&&!this.header.moveable)this.header.beginColumnResize(v);else{if(this.grid.headerMenu)this.grid.headerMenu.onCancel(!0);v.button===(9>d("ie")?1:0)&&e.prototype.onMouseDown.call(this.source,
v)}}),onMouseOver:f.hitch(this,function(v){var E=this.source;E._getChildByEvent(v)&&e.prototype.onMouseOver.apply(E,arguments)}),_markTargetAnchor:f.hitch(this,function(v){var E=this.source;if(E.current!=E.targetAnchor||E.before!=v){E.targetAnchor&&z(E.targetAnchor,E.before)&&E._removeItemClass(z(E.targetAnchor,E.before),E.before?"After":"Before");e.prototype._markTargetAnchor.call(E,v);var F=v?E.targetAnchor:z(E.targetAnchor,E.before);v=0;F||(F=E.targetAnchor,v=m.contentBox(F).w+this.arrowDim.w/
2+2);F=m.position(F,!0);v=Math.floor(F.x-this.arrowDim.w/2+v);m.style(this.bottomMarker,"visibility","visible");m.style(this.topMarker,"visibility","visible");m.style(this.bottomMarker,{left:v+"px",top:D+F.y+"px"});m.style(this.topMarker,{left:v+"px",top:F.y-this.arrowDim.h+"px"});E.targetAnchor&&z(E.targetAnchor,E.before)&&E._addItemClass(z(E.targetAnchor,E.before),E.before?"After":"Before")}}),_unmarkTargetAnchor:f.hitch(this,function(){var v=this.source;v.targetAnchor&&(v.targetAnchor&&z(v.targetAnchor,
v.before)&&v._removeItemClass(z(v.targetAnchor,v.before),v.before?"After":"Before"),this._hide(this.bottomMarker),this._hide(this.topMarker),e.prototype._unmarkTargetAnchor.call(v))}),destroy:f.hitch(this,function(){g.disconnect(this._source_conn);g.unsubscribe(this._source_sub);e.prototype.destroy.call(this.source);this.bottomMarker&&(m.destroy(this.bottomMarker),delete this.bottomMarker);this.topMarker&&(m.destroy(this.topMarker),delete this.topMarker)}),onDndCancel:f.hitch(this,function(){e.prototype.onDndCancel.call(this.source);
this._hide(this.bottomMarker);this._hide(this.topMarker)})});this._source_conn=g.connect(this.source,"onDndDrop",this,"_onDndDrop");this._source_sub=g.subscribe("/dnd/drop/before",this,"_onDndDropBefore");this.source.startup()}},_hide:function(t){m.style(t,{top:"-10000px",visibility:"hidden"})},_onDndDropBefore:function(t,z,D){u.manager().target===this.source&&(this.source._targetNode=this.source.targetAnchor,this.source._beforeTarget=this.source.before,z=this.grid.views.views,t=z[t.viewIndex],z=
z[this.index],z!=t&&(t.convertColPctToFixed(),z.convertColPctToFixed()))},_onDndDrop:function(t,z,D){if(u.manager().target!==this.source)u.manager().source===this.source&&(this._removingColumn=!0);else{this._hide(this.bottomMarker);this._hide(this.topMarker);D=m.marginBox(z[0]).w;if(t.viewIndex!==this.index){var v=this.grid.views.views,E=v[t.viewIndex];v=v[this.index];E.viewWidth&&"auto"!=E.viewWidth&&E.setColumnsWidth(E.getColumnsWidth()-D);v.viewWidth&&"auto"!=v.viewWidth&&v.setColumnsWidth(v.getColumnsWidth())}D=
this.source._targetNode;E=this.source._beforeTarget;!this.grid.isLeftToRight()&&(E=!E);v=this.grid.layout;var F=this.index;delete this.source._targetNode;delete this.source._beforeTarget;var H=v.moveColumn;t=t.viewIndex;z=(z=z[0])?m.attr(z,"idx"):null;H.call(v,t,F,z,D?m.attr(D,"idx"):null,E)}},renderHeader:function(){this.headerContentNode.innerHTML=this.header.generateHtml(this._getHeaderContent);this.flexCells&&(this.contentWidth=this.getContentWidth(),this.headerContentNode.firstChild.style.width=
this.contentWidth);k.fire(this,"onAfterRow",[-1,this.structure.cells,this.headerContentNode])},_getHeaderContent:function(t){var z=t.name||t.grid.getCellName(t);/^\s+$/.test(z)&&(z="\x26nbsp;");var D=['\x3cdiv class\x3d"dojoxGridSortNode'];t.index!=t.grid.getSortIndex()?D.push('"\x3e'):D=D.concat([" ",0<t.grid.sortInfo?"dojoxGridSortUp":"dojoxGridSortDown",'"\x3e\x3cdiv class\x3d"dojoxGridArrowButtonChar"\x3e',0<t.grid.sortInfo?"\x26#9650;":"\x26#9660;",'\x3c/div\x3e\x3cdiv class\x3d"dojoxGridArrowButtonNode" role\x3d"presentation"\x3e\x3c/div\x3e',
'\x3cdiv class\x3d"dojoxGridColCaption"\x3e']);D=D.concat([z,"\x3c/div\x3e\x3c/div\x3e"]);return D.join("")},resize:function(){this.adaptHeight();this.adaptWidth()},hasHScrollbar:function(t){var z=this._hasHScroll||!1;if(void 0==this._hasHScroll||t)this.noscroll?this._hasHScroll=!1:(t=m.style(this.scrollboxNode,"overflow"),this._hasHScroll="hidden"==t?!1:"scroll"==t?!0:this.scrollboxNode.offsetWidth-this.getScrollbarWidth()<this.contentNode.offsetWidth);z!==this._hasHScroll&&this.grid.update();return this._hasHScroll},
hasVScrollbar:function(t){var z=this._hasVScroll||!1;if(void 0==this._hasVScroll||t)this.noscroll?this._hasVScroll=!1:(t=m.style(this.scrollboxNode,"overflow"),this._hasVScroll="hidden"==t?!1:"scroll"==t?!0:this.scrollboxNode.scrollHeight>this.scrollboxNode.clientHeight);z!==this._hasVScroll&&this.grid.update();return this._hasVScroll},convertColPctToFixed:function(){var t=!1;this.grid.initialWidth="";var z=c("th",this.headerContentNode),D=l.map(z,function(v,E){var F=v.style.width;m.attr(v,"vIdx",
E);if(F&&"%"==F.slice(-1))t=!0;else if(F&&"px"==F.slice(-2))return window.parseInt(F,10);return m.contentBox(v).w});return t?(l.forEach(this.grid.layout.cells,function(v,E){if(v.view==this){var F=v.view.getHeaderCellNode(v.index);if(F&&m.hasAttr(F,"vIdx")){var H=window.parseInt(m.attr(F,"vIdx"));this.setColWidth(E,D[H]);m.removeAttr(F,"vIdx")}}},this),!0):!1},adaptHeight:function(t){if(!this.grid._autoHeight){var z=this.domNode.style.height&&parseInt(this.domNode.style.height.replace(/px/,""),10)||
this.domNode.clientHeight;if(!t&&(t=this.noscroll))a:{for(var D=0;D<this.grid.views.views.length;++D)if(t=this.grid.views.views[D],t!==this&&t.hasHScrollbar()){t=!0;break a}t=!1}t&&(z-=r.getScrollbar().h);k.setStyleHeightPx(this.scrollboxNode,z)}this.hasVScrollbar(!0)},adaptWidth:function(){this.flexCells&&(this.contentWidth=this.getContentWidth(),this.headerContentNode.firstChild.style.width=this.contentWidth);var t=this.scrollboxNode.offsetWidth-this.getScrollbarWidth();this._removingColumn?(t=
Math.min(t,this.getColumnsWidth())+"px",this._removingColumn=!1):t=Math.max(t,this.getColumnsWidth())+"px";this.contentNode.style.width=t;this.hasHScrollbar(!0)},setSize:function(t,z){var D=this.domNode.style,v=this.headerNode.style;t&&(D.width=t,v.width=t);D.height=0<=z?z+"px":""},renderRow:function(t){var z=this.createRowNode(t);this.buildRow(t,z);return z},createRowNode:function(t){var z=document.createElement("div");z.className=this.classTag+"Row";this instanceof B.grid._RowSelector?m.attr(z,
"role","presentation"):(m.attr(z,"role","row"),"none"!=this.grid.selectionMode&&z.setAttribute("aria-selected","false"));z[k.gridViewTag]=this.id;z[k.rowIndexTag]=t;return this.rowNodes[t]=z},buildRow:function(t,z){this.buildRowContent(t,z);this.styleRow(t,z)},buildRowContent:function(t,z){z.innerHTML=this.content.generateHtml(t,t);this.flexCells&&this.contentWidth&&(z.firstChild.style.width=this.contentWidth);k.fire(this,"onAfterRow",[t,this.structure.cells,z])},rowRemoved:function(t){0<=t&&this._cleanupRowWidgets(this.getRowNode(t));
this.grid.edit.save(this,t);delete this.rowNodes[t]},getRowNode:function(t){return this.rowNodes[t]},getCellNode:function(t,z){var D=this.getRowNode(t);if(D)return this.content.getCellNode(D,z)},getHeaderCellNode:function(t){if(this.headerContentNode)return this.header.getCellNode(this.headerContentNode,t)},styleRow:function(t,z){var D=void 0==z.style.cssText?z.getAttribute("style"):z.style.cssText;z._style=D;this.styleRowNode(t,z)},styleRowNode:function(t,z){z&&this.doStyleRowNode(t,z)},doStyleRowNode:function(t,
z){this.grid.styleRowNode(t,z)},updateRow:function(t){var z=this.getRowNode(t);z&&(z.style.height="",this.buildRow(t,z));return z},updateRowStyles:function(t){this.styleRowNode(t,this.getRowNode(t))},lastTop:0,firstScroll:0,_nativeScroll:!1,doscroll:function(t){if(13<=d("ff")||d("chrome"))this._nativeScroll=!0;t=this.grid.isLeftToRight();if(2>this.firstScroll){if(!t&&1==this.firstScroll||t&&0===this.firstScroll){var z=m.marginBox(this.headerNodeContainer);d("ie")?this.headerNodeContainer.style.width=
z.w+this.getScrollbarWidth()+"px":d("mozilla")&&(this.headerNodeContainer.style.width=z.w-this.getScrollbarWidth()+"px",this.scrollboxNode.scrollLeft=t?this.scrollboxNode.clientWidth-this.scrollboxNode.scrollWidth:this.scrollboxNode.scrollWidth-this.scrollboxNode.clientWidth)}this.firstScroll++}this.headerNode.scrollLeft=this.scrollboxNode.scrollLeft;t=this.scrollboxNode.scrollTop;t!==this.lastTop&&this.grid.scrollTo(t);this._nativeScroll=!1},setScrollTop:function(t){this.lastTop=t;this._nativeScroll||
(this.scrollboxNode.scrollTop=t);return this.scrollboxNode.scrollTop},doContentEvent:function(t){if(this.content.decorateEvent(t))this.grid.onContentEvent(t)},doHeaderEvent:function(t){if(this.header.decorateEvent(t))this.grid.onHeaderEvent(t)},dispatchContentEvent:function(t){return this.content.dispatchEvent(t)},dispatchHeaderEvent:function(t){return this.header.dispatchEvent(t)},setColWidth:function(t,z){this.grid.setCellWidth(t,z+"px")},update:function(){if(this.domNode){this.content.update();
this.grid.update();var t=this.scrollboxNode.scrollLeft;this.scrollboxNode.scrollLeft=t;this.headerNode.scrollLeft=t}}});var w=x("dojox.grid._GridAvatar",p,{construct:function(){var t=a.doc,z=t.createElement("table");z.cellPadding=z.cellSpacing="0";z.className="dojoxGridDndAvatar";z.style.position="absolute";z.style.zIndex=1999;z.style.margin="0px";var D=t.createElement("tbody"),v=t.createElement("tr"),E=t.createElement("td"),F=t.createElement("td");v.className="dojoxGridDndAvatarItem";F.className=
"dojoxGridDndAvatarItemImage";F.style.width="16px";var H=this.manager.source;if(H.creator)H=H._normalizedCreator(H.getItem(this.manager.nodes[0].id).data,"avatar").node;else if(H=this.manager.nodes[0].cloneNode(!0),"tr"==H.tagName.toLowerCase()){var J=t.createElement("table");var G=t.createElement("tbody");G.appendChild(H);J.appendChild(G);H=J}else"th"==H.tagName.toLowerCase()&&(J=t.createElement("table"),G=t.createElement("tbody"),t=t.createElement("tr"),J.cellPadding=J.cellSpacing="0",t.appendChild(H),
G.appendChild(t),J.appendChild(G),H=J);H.id="";E.appendChild(H);v.appendChild(F);v.appendChild(E);m.style(v,"opacity",.9);D.appendChild(v);z.appendChild(D);this.node=z;z=u.manager();this.oldOffsetY=z.OFFSET_Y;z.OFFSET_Y=1},destroy:function(){u.manager().OFFSET_Y=this.oldOffsetY;this.inherited(arguments)}}),q=u.manager().makeAvatar;u.manager().makeAvatar=function(){return void 0===this.source.viewIndex||m.hasClass(a.body(),"dijit_a11y")?q.call(u.manager()):new w(this)};return b})},"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".split(" "),
function(A,C,B,x,l,f,g,d,c,a,b,e,h){A=A("dijit.TooltipDialog",[d,b,a,c],{title:"",doLayout:!1,autofocus:!0,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:e,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(f(this.domNode,"keydown",l.hitch(this,"_onKey")))},orient:function(n,r,k){n={"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"}[r+"-"+k];C.replace(this.domNode,n,this._currentOrientClass||"");this._currentOrientClass=n},focus:function(){this._getFocusItems();
g.focus(this._firstFocusItem)},onOpen:function(n){this.orient(this.domNode,n.aroundCorner,n.corner);var r=n.aroundNodePos;"M"==n.corner.charAt(0)&&"M"==n.aroundCorner.charAt(0)?(this.connectorNode.style.top=r.y+(r.h-this.connectorNode.offsetHeight>>1)-n.y+"px",this.connectorNode.style.left=""):"M"==n.corner.charAt(1)&&"M"==n.aroundCorner.charAt(1)&&(this.connectorNode.style.left=r.x+(r.w-this.connectorNode.offsetWidth>>1)-n.x+"px");this._onShow()},onClose:function(){this.onHide()},_onKey:function(n){if(n.keyCode==
x.ESCAPE)this.defer("onCancel"),n.stopPropagation(),n.preventDefault();else if(n.keyCode==x.TAB){var r=n.target;this._getFocusItems();this._firstFocusItem==this._lastFocusItem?(n.stopPropagation(),n.preventDefault()):r==this._firstFocusItem&&n.shiftKey?(g.focus(this._lastFocusItem),n.stopPropagation(),n.preventDefault()):r!=this._lastFocusItem||n.shiftKey?n.stopPropagation():(g.focus(this._firstFocusItem),n.stopPropagation(),n.preventDefault())}}});B("dojo-bidi")&&A.extend({_setTitleAttr:function(n){this.containerNode.title=
this.textDir&&this.enforceTextDirWithUcc?this.enforceTextDirWithUcc(null,n):n;this._set("title",n)},_setTextDirAttr:function(n){this._created&&this.textDir==n||(this._set("textDir",n),this.textDir&&this.title&&(this.containerNode.title=this.enforceTextDirWithUcc(null,this.title)))}});return A})},"url:dijit/form/templates/VerticalSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderV" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" data-dojo-attach-event\x3d"onkeydown:_onKeyDown,onkeyup:_onKeyUp"\n\trole\x3d"presentation"\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconV" style\x3d"display:none" data-dojo-attach-point\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper" data-dojo-attach-event\x3d"press:_onClkIncBumper"\x3e\x3c/div\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"leftDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderDecorationC" style\x3d"height:100%;"\n\t\t\t\x3e\x3cinput data-dojo-attach-point\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\n\t\t\t/\x3e\x3ccenter class\x3d"dijitReset dijitSliderBarContainerV" role\x3d"presentation" data-dojo-attach-point\x3d"sliderBarContainer"\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" data-dojo-attach-event\x3d"press:_onBarClick"\x3e\x3c!--#5629--\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" data-dojo-attach-event\x3d"press:_onBarClick"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableV" style\x3d"vertical-align:top;"\n\t\t\t\t\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"sliderHandle,focusNode" class\x3d"dijitSliderImageHandle dijitSliderImageHandleV" data-dojo-attach-event\x3d"press:_onHandleClick" role\x3d"slider"\x3e\x3c/div\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"containerNode,rightDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper" data-dojo-attach-event\x3d"press:_onClkDecBumper"\x3e\x3c/div\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconV" style\x3d"display:none" data-dojo-attach-point\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\x3e\x3c/table\x3e\n',
"url:dojox/grid/resources/View.html":'\x3cdiv class\x3d"dojoxGridView" role\x3d"presentation"\x3e\n\t\x3cdiv class\x3d"dojoxGridHeader" dojoAttachPoint\x3d"headerNode" role\x3d"presentation"\x3e\n\t\t\x3cdiv dojoAttachPoint\x3d"headerNodeContainer" style\x3d"width:9000em" role\x3d"presentation"\x3e\n\t\t\t\x3cdiv dojoAttachPoint\x3d"headerContentNode" role\x3d"row"\x3e\x3c/div\x3e\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3cinput type\x3d"checkbox" class\x3d"dojoxGridHiddenFocus" dojoAttachPoint\x3d"hiddenFocusNode" aria-hidden\x3d"true" /\x3e\n\t\x3cinput type\x3d"checkbox" class\x3d"dojoxGridHiddenFocus" aria-hidden\x3d"true" /\x3e\n\t\x3cdiv class\x3d"dojoxGridScrollbox" dojoAttachPoint\x3d"scrollboxNode" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d"dojoxGridContent" dojoAttachPoint\x3d"contentNode" hidefocus\x3d"hidefocus" role\x3d"presentation"\x3e\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/form/templates/Select.html":'\x3ctable class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tdata-dojo-attach-point\x3d"_buttonNode,tableNode,focusNode,_popupStateNode" cellspacing\x3d\'0\' cellpadding\x3d\'0\'\n\trole\x3d"listbox" aria-haspopup\x3d"true"\n\t\x3e\x3ctbody role\x3d"presentation"\x3e\x3ctr role\x3d"presentation"\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitStretch dijitButtonContents" role\x3d"presentation"\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitButtonText"  data-dojo-attach-point\x3d"containerNode,textDirNode" role\x3d"presentation"\x3e\x3c/div\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitValidationContainer"\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t/\x3e\x3c/div\n\t\t\t\x3e\x3cinput type\x3d"hidden" ${!nameAttrSetting} data-dojo-attach-point\x3d"valueNode" value\x3d"${value}" aria-hidden\x3d"true"\n\t\t/\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer"\n\t\t\tdata-dojo-attach-point\x3d"titleNode" role\x3d"presentation"\n\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitArrowButtonInner" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/\x3e\x3c/td\n\t\x3e\x3c/tr\x3e\x3c/tbody\n\x3e\x3c/table\x3e\n',
"url:dijit/form/templates/TextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft" id\x3d"widget_${id}" role\x3d"presentation"\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off"\n\t\t\t${!nameAttrSetting} type\x3d\'${type}\'\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',"url:dijit/layout/templates/AccordionButton.html":"\x3cdiv data-dojo-attach-event\x3d'ondijitclick:_onTitleClick' class\x3d'dijitAccordionTitle' role\x3d\"presentation\"\x3e\n\t\x3cdiv data-dojo-attach-point\x3d'titleNode,focusNode' data-dojo-attach-event\x3d'onkeydown:_onTitleKeyDown'\n\t\t\tclass\x3d'dijitAccordionTitleFocus' role\x3d\"tab\" aria-expanded\x3d\"false\"\n\t\t\x3e\x3cspan class\x3d'dijitInline dijitAccordionArrow' role\x3d\"presentation\"\x3e\x3c/span\n\t\t\x3e\x3cspan class\x3d'arrowTextUp' role\x3d\"presentation\"\x3e+\x3c/span\n\t\t\x3e\x3cspan class\x3d'arrowTextDown' role\x3d\"presentation\"\x3e-\x3c/span\n\t\t\x3e\x3cspan role\x3d\"presentation\" class\x3d\"dijitInline dijitIcon\" data-dojo-attach-point\x3d\"iconNode\"\x3e\x3c/span\x3e\n\t\t\x3cspan role\x3d\"presentation\" data-dojo-attach-point\x3d'titleTextNode, textDirNode' class\x3d'dijitAccordionText'\x3e\x3c/span\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n",
"url:dijit/templates/MenuSeparator.html":'\x3ctr class\x3d"dijitMenuSeparator" role\x3d"separator"\x3e\n\t\x3ctd class\x3d"dijitMenuSeparatorIconCell"\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorTop"\x3e\x3c/div\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorBottom"\x3e\x3c/div\x3e\n\t\x3c/td\x3e\n\t\x3ctd colspan\x3d"3" class\x3d"dijitMenuSeparatorLabelCell"\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorTop dijitMenuSeparatorLabel"\x3e\x3c/div\x3e\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorBottom"\x3e\x3c/div\x3e\n\t\x3c/td\x3e\n\x3c/tr\x3e\n',
"url:dijit/templates/Calendar.html":'\x3cdiv class\x3d"dijitCalendarContainer dijitInline" role\x3d"presentation" aria-labelledby\x3d"${id}_mddb ${id}_year"\x3e\n\t\x3cdiv class\x3d"dijitReset dijitCalendarMonthContainer" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d\'dijitReset dijitCalendarArrow dijitCalendarDecrementArrow\' data-dojo-attach-point\x3d"decrementMonth"\x3e\n\t\t\t\x3cimg src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitCalendarIncrementControl dijitCalendarDecrease" role\x3d"presentation"/\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"decreaseArrowNode" class\x3d"dijitA11ySideArrow"\x3e-\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\t\x3cdiv class\x3d\'dijitReset dijitCalendarArrow dijitCalendarIncrementArrow\' data-dojo-attach-point\x3d"incrementMonth"\x3e\n\t\t\t\x3cimg src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitCalendarIncrementControl dijitCalendarIncrease" role\x3d"presentation"/\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"increaseArrowNode" class\x3d"dijitA11ySideArrow"\x3e+\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"monthNode" class\x3d"dijitInline"\x3e\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3ctable cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"grid" data-dojo-attach-point\x3d"gridNode"\x3e\n\t\t\x3cthead\x3e\n\t\t\t\x3ctr role\x3d"row"\x3e\n\t\t\t\t${!dayCellsHtml}\n\t\t\t\x3c/tr\x3e\n\t\t\x3c/thead\x3e\n\t\t\x3ctbody data-dojo-attach-point\x3d"dateRowsNode" data-dojo-attach-event\x3d"ondijitclick: _onDayClick" class\x3d"dijitReset dijitCalendarBodyContainer"\x3e\n\t\t\t\t${!dateRowsHtml}\n\t\t\x3c/tbody\x3e\n\t\x3c/table\x3e\n\t\x3cdiv class\x3d"dijitReset dijitCalendarYearContainer" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d"dijitCalendarYearLabel"\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"previousYearLabelNode" class\x3d"dijitInline dijitCalendarPreviousYear" role\x3d"button"\x3e\x3c/span\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"currentYearLabelNode" class\x3d"dijitInline dijitCalendarSelectedYear" role\x3d"button" id\x3d"${id}_year"\x3e\x3c/span\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"nextYearLabelNode" class\x3d"dijitInline dijitCalendarNextYear" role\x3d"button"\x3e\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/templates/TitlePane.html":'\x3cdiv\x3e\n\t\x3cdiv data-dojo-attach-event\x3d"ondijitclick:_onTitleClick, onkeydown:_onTitleKey"\n\t\t\tclass\x3d"dijitTitlePaneTitle" data-dojo-attach-point\x3d"titleBarNode" id\x3d"${id}_titleBarNode"\x3e\n\t\t\x3cdiv class\x3d"dijitTitlePaneTitleFocus" data-dojo-attach-point\x3d"focusNode"\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"arrowNode" class\x3d"dijitInline dijitArrowNode" role\x3d"presentation"\x3e\x3c/span\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"arrowNodeInner" class\x3d"dijitArrowNodeInner"\x3e\x3c/span\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"titleNode" class\x3d"dijitTitlePaneTextNode"\x3e\x3c/span\x3e\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTitlePaneContentOuter" data-dojo-attach-point\x3d"hideNode" role\x3d"presentation"\x3e\n\t\t\x3cdiv class\x3d"dijitReset" data-dojo-attach-point\x3d"wipeNode" role\x3d"presentation"\x3e\n\t\t\t\x3cdiv class\x3d"dijitTitlePaneContentInner" data-dojo-attach-point\x3d"containerNode" role\x3d"region" id\x3d"${id}_pane" aria-labelledby\x3d"${id}_titleBarNode"\x3e\n\t\t\t\t\x3c!-- nested divs because wipeIn()/wipeOut() doesn\'t work right on node w/padding etc.  Put padding on inner div. --\x3e\n\t\t\t\x3c/div\x3e\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/templates/Tooltip.html":'\x3cdiv class\x3d"dijitTooltip dijitTooltipLeft" id\x3d"dojoTooltip" data-dojo-attach-event\x3d"mouseenter:onMouseEnter,mouseleave:onMouseLeave"\n\t\x3e\x3cdiv class\x3d"dijitTooltipConnector" data-dojo-attach-point\x3d"connectorNode"\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point\x3d"containerNode" role\x3d\'alert\'\x3e\x3c/div\n\x3e\x3c/div\x3e\n',"url:dijit/templates/ProgressBar.html":'\x3cdiv class\x3d"dijitProgressBar dijitProgressBarEmpty" role\x3d"progressbar"\n\t\x3e\x3cdiv  data-dojo-attach-point\x3d"internalProgress" class\x3d"dijitProgressBarFull"\n\t\t\x3e\x3cdiv class\x3d"dijitProgressBarTile" role\x3d"presentation"\x3e\x3c/div\n\t\t\x3e\x3cspan style\x3d"visibility:hidden"\x3e\x26#160;\x3c/span\n\t\x3e\x3c/div\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"labelNode" class\x3d"dijitProgressBarLabel" id\x3d"${id}_label"\x3e\x3c/div\n\t\x3e\x3cspan data-dojo-attach-point\x3d"indeterminateHighContrastImage"\n\t\t   class\x3d"dijitInline dijitProgressBarIndeterminateHighContrastImage"\x3e\x3c/span\n\x3e\x3c/div\x3e\n',
"url:dijit/form/templates/Spinner.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tid\x3d"widget_${id}" role\x3d"presentation"\n\t\x3e\x3cdiv class\x3d"dijitReset dijitButtonNode dijitSpinnerButtonContainer"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitSpinnerButtonInner" type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t/\x3e\x3cdiv class\x3d"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton"\n\t\t\tdata-dojo-attach-point\x3d"upArrowNode"\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField" value\x3d"\x26#9650; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/\x3e\x3c/div\n\t\t\x3e\x3c/div\n\t\t\x3e\x3cdiv class\x3d"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton"\n\t\t\tdata-dojo-attach-point\x3d"downArrowNode"\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/\x3e\x3c/div\n\t\t\x3e\x3c/div\n\t\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d\'dijitReset dijitInputInner\' data-dojo-attach-point\x3d"textbox,focusNode" type\x3d"${type}" data-dojo-attach-event\x3d"onkeydown:_onKeyDown"\n\t\t\trole\x3d"spinbutton" autocomplete\x3d"off" ${!nameAttrSetting}\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dojox/layout/resources/ScrollPane.html":'\x3cdiv class\x3d"dojoxScrollWindow" dojoAttachEvent\x3d"onmouseenter: _enter, onmouseleave: _leave"\x3e\n    \x3cdiv class\x3d"dojoxScrollWrapper" style\x3d"${style}" dojoAttachPoint\x3d"wrapper" dojoAttachEvent\x3d"onmousemove: _calc"\x3e\n\t\x3cdiv class\x3d"dojoxScrollPane" dojoAttachPoint\x3d"containerNode"\x3e\x3c/div\x3e\n    \x3c/div\x3e\n    \x3cdiv dojoAttachPoint\x3d"helper" class\x3d"dojoxScrollHelper"\x3e\x3cspan class\x3d"helperInner"\x3e|\x3c/span\x3e\x3c/div\x3e\n\x3c/div\x3e',
"url:dijit/form/templates/ComboButton.html":'\x3ctable class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tcellspacing\x3d\'0\' cellpadding\x3d\'0\' role\x3d"presentation"\n\t\x3e\x3ctbody role\x3d"presentation"\x3e\x3ctr role\x3d"presentation"\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point\x3d"buttonNode" data-dojo-attach-event\x3d"ondijitclick:__onClick,onkeydown:_onButtonKeyDown"\n\t\t\x3e\x3cdiv id\x3d"${id}_button" class\x3d"dijitReset dijitButtonContents"\n\t\t\tdata-dojo-attach-point\x3d"titleNode"\n\t\t\trole\x3d"button" aria-labelledby\x3d"${id}_label"\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInline dijitIcon" data-dojo-attach-point\x3d"iconNode" role\x3d"presentation"\x3e\x3c/div\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInline dijitButtonText" id\x3d"${id}_label" data-dojo-attach-point\x3d"containerNode" role\x3d"presentation"\x3e\x3c/div\n\t\t\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd id\x3d"${id}_arrow" class\x3d\'dijitReset dijitRight dijitButtonNode dijitArrowButton\'\n\t\t\tdata-dojo-attach-point\x3d"_popupStateNode,focusNode,_buttonNode"\n\t\t\tdata-dojo-attach-event\x3d"onkeydown:_onArrowKeyDown"\n\t\t\ttitle\x3d"${optionsTitle}"\n\t\t\trole\x3d"button" aria-haspopup\x3d"true"\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitArrowButtonInner" role\x3d"presentation"\x3e\x3c/div\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitArrowButtonChar" role\x3d"presentation"\x3e\x26#9660;\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd style\x3d"display:none !important;"\n\t\t\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" data-dojo-attach-point\x3d"valueNode"\n\t\t\t\tclass\x3d"dijitOffScreen" aria-hidden\x3d"true" data-dojo-attach-event\x3d"onclick:_onClick"\n\t\t/\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\n\x3e\x3c/table\x3e\n',
"url:dijit/form/templates/HorizontalSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderH" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" data-dojo-attach-event\x3d"onkeydown:_onKeyDown, onkeyup:_onKeyUp"\n\trole\x3d"presentation"\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"topDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconH" style\x3d"display:none" data-dojo-attach-point\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" data-dojo-attach-event\x3d"press:_onClkDecBumper"\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cinput data-dojo-attach-point\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\n\t\t\t/\x3e\x3cdiv class\x3d"dijitReset dijitSliderBarContainerH" role\x3d"presentation" data-dojo-attach-point\x3d"sliderBarContainer"\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" data-dojo-attach-event\x3d"press:_onBarClick"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableH"\n\t\t\t\t\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"sliderHandle,focusNode" class\x3d"dijitSliderImageHandle dijitSliderImageHandleH" data-dojo-attach-event\x3d"press:_onHandleClick" role\x3d"slider"\x3e\x3c/div\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" data-dojo-attach-event\x3d"press:_onBarClick"\x3e\x3c/div\n\t\t\t\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper" data-dojo-attach-event\x3d"press:_onClkIncBumper"\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconH" style\x3d"display:none" data-dojo-attach-point\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"containerNode,bottomDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\x3e\x3c/tr\n\x3e\x3c/table\x3e\n',
"url:dojox/grid/resources/_Grid.html":'\x3cdiv hidefocus\x3d"hidefocus" role\x3d"grid" dojoAttachEvent\x3d"onmouseout:_mouseOut"\x3e\n\t\x3cdiv class\x3d"dojoxGridMasterHeader" dojoAttachPoint\x3d"viewsHeaderNode" role\x3d"presentation"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dojoxGridMasterView" dojoAttachPoint\x3d"viewsNode" role\x3d"presentation"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dojoxGridMasterMessages" style\x3d"display: none;" dojoAttachPoint\x3d"messagesNode"\x3e\x3c/div\x3e\n\t\x3cspan dojoAttachPoint\x3d"lastFocusNode" tabindex\x3d"0"\x3e\x3c/span\x3e\n\x3c/div\x3e\n',
"url:dijit/templates/ColorPalette.html":'\x3cdiv class\x3d"dijitInline dijitColorPalette" role\x3d"grid"\x3e\n\t\x3ctable data-dojo-attach-point\x3d"paletteTableNode" class\x3d"dijitPaletteTable" cellSpacing\x3d"0" cellPadding\x3d"0" role\x3d"presentation"\x3e\n\t\t\x3ctbody data-dojo-attach-point\x3d"gridNode"\x3e\x3c/tbody\x3e\n\t\x3c/table\x3e\n\x3c/div\x3e\n',"url:dojox/form/resources/_CheckedMultiSelectItem.html":'\x3cdiv class\x3d"dijitReset ${baseClass}"\n\t\x3e\x3cinput class\x3d"${baseClass}Box" data-dojo-type\x3d"dijit.form.CheckBox" data-dojo-attach-point\x3d"checkBox" \n\t\tdata-dojo-attach-event\x3d"_onClick:_changeBox" type\x3d"${_type.type}" data-dojo-props\x3d\'disabled:${disabled}, readOnly:${readOnly}\' baseClass\x3d"${_type.baseClass}"\n\t/\x3e\x3cdiv class\x3d"dijitInline ${baseClass}Label" data-dojo-attach-point\x3d"labelNode" data-dojo-attach-event\x3d"onclick:_onClick"\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/templates/Menu.html":'\x3ctable class\x3d"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable" role\x3d"menu" tabIndex\x3d"${tabIndex}"\n\t   cellspacing\x3d"0"\x3e\n\t\x3ctbody class\x3d"dijitReset" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/tbody\x3e\n\x3c/table\x3e\n',"url:dojox/form/resources/HorizontalRangeSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderH dojoxRangeSlider" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" dojoAttachEvent\x3d"onkeypress:_onKeyPress,onkeyup:_onKeyUp" role\x3d"presentation"\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\t\x3e\x3ctd dojoAttachPoint\x3d"topDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconH" tabIndex\x3d"-1" style\x3d"display:none" dojoAttachPoint\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" dojoAttachEvent\x3d"onmousedown:_onClkDecBumper"\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cinput dojoAttachPoint\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\n\t\t\t/\x3e\x3cdiv role\x3d"presentation" class\x3d"dojoxRangeSliderBarContainer" dojoAttachPoint\x3d"sliderBarContainer"\n\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableH"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderImageHandle dijitSliderImageHandleH" dojoAttachPoint\x3d"sliderHandle,focusNode" tabIndex\x3d"${tabIndex}" dojoAttachEvent\x3d"onmousedown:_onHandleClick" role\x3d"slider"\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" dojoAttachPoint\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" dojoAttachEvent\x3d"onmousedown:_onBarClick"\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableH"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderImageHandle dijitSliderImageHandleH" dojoAttachPoint\x3d"sliderHandleMax" tabIndex\x3d"${tabIndex}" dojoAttachEvent\x3d"onmousedown:_onHandleClickMax" role\x3d"slider"\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" dojoAttachPoint\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" dojoAttachEvent\x3d"onmousedown:_onRemainingBarClick"\x3e\x3c/div\n\t\t\t\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper" dojoAttachEvent\x3d"onmousedown:_onClkIncBumper"\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconH" tabIndex\x3d"-1" style\x3d"display:none" dojoAttachPoint\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\t\x3e\x3ctd dojoAttachPoint\x3d"containerNode,bottomDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\n\t\x3e\x3c/tr\n\x3e\x3c/table\x3e\n',
"url:dijit/form/templates/CheckBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline" role\x3d"presentation"\n\t\x3e\x3cinput\n\t \t${!nameAttrSetting} type\x3d"${type}" role\x3d"${type}" aria-checked\x3d"false" ${checkedAttrSetting}\n\t\tclass\x3d"dijitReset dijitCheckBoxInput"\n\t\tdata-dojo-attach-point\x3d"focusNode"\n\t \tdata-dojo-attach-event\x3d"ondijitclick:_onClick"\n/\x3e\x3c/div\x3e\n',"url:dijit/form/templates/DropDownBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tid\x3d"widget_${id}"\n\trole\x3d"combobox"\n\taria-haspopup\x3d"true"\n\tdata-dojo-attach-point\x3d"_popupStateNode"\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\n\t\tdata-dojo-attach-point\x3d"_buttonNode" role\x3d"presentation"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitArrowButtonInner" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"button presentation" aria-hidden\x3d"true"\n\t\t\t${_buttonInputDisabled}\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d\'dijitReset dijitInputInner\' ${!nameAttrSetting} type\x3d"${type}" autocomplete\x3d"off"\n\t\t\tdata-dojo-attach-point\x3d"textbox,focusNode" role\x3d"textbox"\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/form/templates/ValidationTextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\n\tid\x3d"widget_${id}" role\x3d"presentation"\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\n\t/\x3e\x3c/div\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off"\n\t\t\t${!nameAttrSetting} type\x3d\'${type}\'\n\t/\x3e\x3c/div\n\x3e\x3c/div\x3e\n',
"url:dijit/templates/TreeNode.html":'\x3cdiv class\x3d"dijitTreeNode" role\x3d"presentation"\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"rowNode" class\x3d"dijitTreeRow" role\x3d"presentation"\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNode" class\x3d"dijitInline dijitTreeExpando" role\x3d"presentation"\x3e\x3c/span\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNodeText" class\x3d"dijitExpandoText" role\x3d"presentation"\x3e\x3c/span\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"contentNode"\n\t\t\tclass\x3d"dijitTreeContent" role\x3d"presentation"\x3e\n\t\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTreeIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"labelNode,focusNode" class\x3d"dijitTreeLabel" role\x3d"treeitem"\n\t\t\t\t   tabindex\x3d"-1" aria-selected\x3d"false" id\x3d"${id}_label"\x3e\x3c/span\x3e\n\t\t\x3c/span\n\t\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeNodeContainer" role\x3d"presentation"\n\t\t style\x3d"display: none;" aria-labelledby\x3d"${id}_label"\x3e\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/templates/TooltipDialog.html":'\x3cdiv role\x3d"alertdialog" tabIndex\x3d"-1"\x3e\n\t\x3cdiv class\x3d"dijitTooltipContainer" role\x3d"presentation"\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"contentsNode" class\x3d"dijitTooltipContents dijitTooltipFocusNode"\x3e\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e\n\t\t\t${!actionBarTemplate}\n\t\t\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTooltipConnector" role\x3d"presentation" data-dojo-attach-point\x3d"connectorNode"\x3e\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dijit/layout/templates/_TabButton.html":'\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"titleNode,innerDiv,tabContent" class\x3d"dijitTabInner dijitTabContent"\x3e\n\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTabButtonIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\x3cspan data-dojo-attach-point\x3d\'containerNode,focusNode\' class\x3d\'tabLabel\'\x3e\x3c/span\x3e\n\t\x3cspan class\x3d"dijitInline dijitTabCloseButton dijitTabCloseIcon" data-dojo-attach-point\x3d\'closeNode\'\n\t\t  role\x3d"presentation"\x3e\n\t\t\x3cspan data-dojo-attach-point\x3d\'closeText\' class\x3d\'dijitTabCloseText\'\x3e[x]\x3c/span\n\t\t\t\t\x3e\x3c/span\x3e\n\x3c/div\x3e\n',
"url:dijit/form/templates/Button.html":'\x3cspan class\x3d"dijit dijitReset dijitInline" role\x3d"presentation"\n\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event\x3d"ondijitclick:__onClick" role\x3d"presentation"\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point\x3d"titleNode,focusNode"\n\t\t\trole\x3d"button" aria-labelledby\x3d"${id}_label"\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitToggleButtonIconChar"\x3e\x26#x25CF;\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\n\t\t\t\tid\x3d"${id}_label"\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\n\t\t\t\x3e\x3c/span\n\t\t\x3e\x3c/span\n\t\x3e\x3c/span\n\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen"\n\t\tdata-dojo-attach-event\x3d"onclick:_onClick"\n\t\ttabIndex\x3d"-1" aria-hidden\x3d"true" data-dojo-attach-point\x3d"valueNode"\n/\x3e\x3c/span\x3e\n',
"url:dojox/form/resources/Uploader.html":'\x3cspan class\x3d"dijit dijitReset dijitInline"\n\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event\x3d"ondijitclick:_onClick"\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point\x3d"titleNode,focusNode"\n\t\t\trole\x3d"button" aria-labelledby\x3d"${id}_label"\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitToggleButtonIconChar"\x3e\x26#x25CF;\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\n\t\t\t\tid\x3d"${id}_label"\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\n\t\t\t\x3e\x3c/span\n\t\t\x3e\x3c/span\n\t\x3e\x3c/span\n\t\x3e \n\t\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen" tabIndex\x3d"-1" data-dojo-attach-point\x3d"valueNode" /\x3e\n\x3c/span\x3e\n',
"url:dojox/grid/resources/Expando.html":'\x3cdiv class\x3d"dojoxGridExpando"\n\t\x3e\x3cdiv class\x3d"dojoxGridExpandoNode" dojoAttachEvent\x3d"onclick:onToggle"\n\t\t\x3e\x3cdiv class\x3d"dojoxGridExpandoNodeInner" dojoAttachPoint\x3d"expandoInner"\x3e\x3c/div\n\t\x3e\x3c/div\n\x3e\x3c/div\x3e\n',"url:dojox/form/resources/UploaderFileList.html":'\x3cdiv class\x3d"dojoxUploaderFileList"\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"progressNode" class\x3d"dojoxUploaderFileListProgress"\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"percentBarNode" class\x3d"dojoxUploaderFileListProgressBar"\x3e\x3c/div\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"percentTextNode" class\x3d"dojoxUploaderFileListPercentText"\x3e0%\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3ctable class\x3d"dojoxUploaderFileListTable"\x3e\n\t\t\x3cthead\x3e\n\t\t\t\x3ctr class\x3d"dojoxUploaderFileListHeader"\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderIndex"\x3e${headerIndex}\x3c/th\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderIcon"\x3e${headerType}\x3c/th\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderFileName"\x3e${headerFilename}\x3c/th\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderFileSize" data-dojo-attach-point\x3d"sizeHeader"\x3e${headerFilesize}\x3c/th\x3e\n\t\t\t\x3c/tr\x3e\n\t\t\x3c/thead\x3e\n\t\t\x3ctbody class\x3d"dojoxUploaderFileListContent" data-dojo-attach-point\x3d"listNode"\x3e\x3c/tbody\x3e\n\t\x3c/table\x3e\n\x3cdiv\x3e',
"url:dijit/templates/Tree.html":'\x3cdiv role\x3d"tree"\x3e\n\t\x3cdiv class\x3d"dijitInline dijitTreeIndent" style\x3d"position: absolute; top: -9999px" data-dojo-attach-point\x3d"indentDetector"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTreeExpando dijitTreeExpandoLoading" data-dojo-attach-point\x3d"rootLoadingIndicator"\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeContainer" role\x3d"presentation"\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e\n',"url:dijit/layout/templates/ScrollingTabController.html":'\x3cdiv class\x3d"dijitTabListContainer-${tabPosition}" style\x3d"visibility:hidden"\x3e\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerMenuButton"\n\t\t class\x3d"tabStripButton-${tabPosition}"\n\t\t id\x3d"${id}_menuBtn"\n\t\t data-dojo-props\x3d"containerId: \'${containerId}\', iconClass: \'dijitTabStripMenuIcon\',\n\t\t\t\t\tdropDownPosition: [\'below-alt\', \'above-alt\']"\n\t\t data-dojo-attach-point\x3d"_menuBtn" showLabel\x3d"false" title\x3d""\x3e\x26#9660;\x3c/div\x3e\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerButton"\n\t\t class\x3d"tabStripButton-${tabPosition}"\n\t\t id\x3d"${id}_leftBtn"\n\t\t data-dojo-props\x3d"iconClass:\'dijitTabStripSlideLeftIcon\', showLabel:false, title:\'\'"\n\t\t data-dojo-attach-point\x3d"_leftBtn" data-dojo-attach-event\x3d"onClick: doSlideLeft"\x3e\x26#9664;\x3c/div\x3e\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerButton"\n\t\t class\x3d"tabStripButton-${tabPosition}"\n\t\t id\x3d"${id}_rightBtn"\n\t\t data-dojo-props\x3d"iconClass:\'dijitTabStripSlideRightIcon\', showLabel:false, title:\'\'"\n\t\t data-dojo-attach-point\x3d"_rightBtn" data-dojo-attach-event\x3d"onClick: doSlideRight"\x3e\x26#9654;\x3c/div\x3e\n\t\x3cdiv class\x3d\'dijitTabListWrapper\' data-dojo-attach-point\x3d\'tablistWrapper\'\x3e\n\t\t\x3cdiv role\x3d\'tablist\' data-dojo-attach-event\x3d\'onkeydown:onkeydown\'\n\t\t\t data-dojo-attach-point\x3d\'containerNode\' class\x3d\'nowrapTabStrip\'\x3e\x3c/div\x3e\n\t\x3c/div\x3e\n\x3c/div\x3e',
"url:dijit/templates/Dialog.html":'\x3cdiv class\x3d"dijitDialog" role\x3d"dialog" aria-labelledby\x3d"${id}_title"\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"titleBar" class\x3d"dijitDialogTitleBar"\x3e\n\t\t\x3cspan data-dojo-attach-point\x3d"titleNode" class\x3d"dijitDialogTitle" id\x3d"${id}_title"\n\t\t\t\trole\x3d"heading" level\x3d"1"\x3e\x3c/span\x3e\n\t\t\x3cspan data-dojo-attach-point\x3d"closeButtonNode" class\x3d"dijitDialogCloseIcon" data-dojo-attach-event\x3d"ondijitclick: onCancel" title\x3d"${buttonCancel}" role\x3d"button" tabindex\x3d"-1"\x3e\n\t\t\t\x3cspan data-dojo-attach-point\x3d"closeText" class\x3d"closeText" title\x3d"${buttonCancel}"\x3ex\x3c/span\x3e\n\t\t\x3c/span\x3e\n\t\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitDialogPaneContent"\x3e\x3c/div\x3e\n\t${!actionBarTemplate}\n\x3c/div\x3e\n\n',
"url:dojox/form/resources/_CheckedMultiSelectMenuItem.html":'\x3ctr class\x3d"dijitReset dijitMenuItem" dojoAttachPoint\x3d"focusNode" role\x3d"menuitemcheckbox" tabIndex\x3d"-1"\n\tdojoAttachEvent\x3d"ondijitclick:_onClick"\n\t\x3e\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\n\t\t\x3e\x3cdiv src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitMenuItemIcon ${_iconClass}" dojoAttachPoint\x3d"iconNode"\n\t\t\t\x3e\x3cinput class\x3d"dojoxCheckedMultiSelectCheckBoxInput" dojoAttachPoint\x3d"inputNode" type\x3d"${_type.type}"\n\t\t/\x3e\x3c/div\x3e\x3c/td\n\t\x3e\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" dojoAttachPoint\x3d"containerNode,labelNode"\x3e\x3c/td\n\t\x3e\x3ctd class\x3d"dijitReset dijitMenuItemAccelKey" style\x3d"display: none" dojoAttachPoint\x3d"accelKeyNode"\x3e\x3c/td\n\t\x3e\x3ctd class\x3d"dijitReset dijitMenuArrowCell" role\x3d"presentation"\x3e\x26nbsp;\x3c/td\n\x3e\x3c/tr\x3e',
"url:dijit/templates/InlineEditBox.html":'\x3cspan data-dojo-attach-point\x3d"editNode" role\x3d"presentation" class\x3d"dijitReset dijitInline dijitOffScreen"\n\t\x3e\x3cspan data-dojo-attach-point\x3d"editorPlaceholder"\x3e\x3c/span\n\t\x3e\x3cspan data-dojo-attach-point\x3d"buttonContainer"\n\t\t\x3e\x3cbutton data-dojo-type\x3d"./form/Button" data-dojo-props\x3d"label: \'${buttonSave}\', \'class\': \'saveButton\'"\n\t\t\tdata-dojo-attach-point\x3d"saveButton" data-dojo-attach-event\x3d"onClick:save"\x3e\x3c/button\n\t\t\x3e\x3cbutton data-dojo-type\x3d"./form/Button"  data-dojo-props\x3d"label: \'${buttonCancel}\', \'class\': \'cancelButton\'"\n\t\t\tdata-dojo-attach-point\x3d"cancelButton" data-dojo-attach-event\x3d"onClick:cancel"\x3e\x3c/button\n\t\x3e\x3c/span\n\x3e\x3c/span\x3e\n',
"url:dijit/templates/MenuItem.html":'\x3ctr class\x3d"dijitReset" data-dojo-attach-point\x3d"focusNode" role\x3d"menuitem" tabIndex\x3d"-1"\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\x3e\n\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitMenuItemIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" data-dojo-attach-point\x3d"containerNode,textDirNode"\n\t\trole\x3d"presentation"\x3e\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemAccelKey" style\x3d"display: none" data-dojo-attach-point\x3d"accelKeyNode"\x3e\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuArrowCell" role\x3d"presentation"\x3e\n\t\t\x3cspan data-dojo-attach-point\x3d"arrowWrapper" style\x3d"visibility: hidden"\x3e\n\t\t\t\x3cspan class\x3d"dijitInline dijitIcon dijitMenuExpand"\x3e\x3c/span\x3e\n\t\t\t\x3cspan class\x3d"dijitMenuExpandA11y"\x3e+\x3c/span\x3e\n\t\t\x3c/span\x3e\n\t\x3c/td\x3e\n\x3c/tr\x3e\n',
"url:dojox/form/resources/VerticalRangeSlider.html":'\x3ctable class\x3d"dijitReset dijitSlider dijitSliderV dojoxRangeSlider" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none"\n\trole\x3d"presentation"\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconV" tabIndex\x3d"-1" style\x3d"display:none" dojoAttachPoint\x3d"decrementButton" dojoAttachEvent\x3d"onclick: increment"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper" dojoAttachEvent\x3d"onclick:_onClkIncBumper"\x3e\x3c/div\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd dojoAttachPoint\x3d"leftDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV" style\x3d"text-align:center;height:100%;"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset" style\x3d"height:100%;"\n\t\t\t\x3e\x3cinput dojoAttachPoint\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\n\t\t\t/\x3e\x3ccenter role\x3d"presentation" style\x3d"position:relative;height:100%;" dojoAttachPoint\x3d"sliderBarContainer"\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" dojoAttachPoint\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" dojoAttachEvent\x3d"onmousedown:_onRemainingBarClick"\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableV" style\x3d"vertical-align:top;" role\x3d"slider"\n\t\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderImageHandle dijitSliderImageHandleV" dojoAttachPoint\x3d"sliderHandle,focusNode" tabIndex\x3d"${tabIndex}" dojoAttachEvent\x3d"onkeypress:_onKeyPress,onmousedown:_onHandleClick"\x3e\x3c/div\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\t\x3e\x3cdiv role\x3d"presentation" dojoAttachPoint\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" dojoAttachEvent\x3d"onkeypress:_onKeyPress,onmousedown:_onBarClick"\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableV" style\x3d"vertical-align:top;" role\x3d"slider"\n\t\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderImageHandle dijitSliderImageHandleV" dojoAttachPoint\x3d"sliderHandleMax" tabIndex\x3d"${tabIndex}" dojoAttachEvent\x3d"onkeypress:_onKeyPress,onmousedown:_onHandleClickMax"\x3e\x3c/div\n\t\t\t\t\t\x3e\x3c/div\n\t\t\t\t\x3e\x3c/div\n\t\t\t\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd dojoAttachPoint\x3d"containerNode,rightDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV" style\x3d"text-align:center;height:100%;"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper" dojoAttachEvent\x3d"onclick:_onClkDecBumper"\x3e\x3c/div\x3e\x3c/center\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\t\x3e\x3ctr class\x3d"dijitReset"\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconV" tabIndex\x3d"-1" style\x3d"display:none" dojoAttachPoint\x3d"incrementButton" dojoAttachEvent\x3d"onclick: decrement"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\n\t\t\x3e\x3c/td\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\n\t\x3e\x3c/tr\n\x3e\x3c/table\x3e\n',
"url:dijit/layout/templates/_ScrollingTabControllerButton.html":'\x3cdiv data-dojo-attach-event\x3d"ondijitclick:_onClick" class\x3d"dijitTabInnerDiv dijitTabContent dijitButtonContents"  data-dojo-attach-point\x3d"focusNode" role\x3d"button"\x3e\n\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitTabStripIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\x3cspan data-dojo-attach-point\x3d"containerNode,titleNode" class\x3d"dijitButtonText"\x3e\x3c/span\x3e\n\x3c/div\x3e',"url:dijit/layout/templates/TabContainer.html":'\x3cdiv class\x3d"dijitTabContainer"\x3e\n\t\x3cdiv class\x3d"dijitTabListWrapper" data-dojo-attach-point\x3d"tablistNode"\x3e\x3c/div\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"tablistSpacer" class\x3d"dijitTabSpacer ${baseClass}-spacer"\x3e\x3c/div\x3e\n\t\x3cdiv class\x3d"dijitTabPaneWrapper ${baseClass}-container" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e\n\x3c/div\x3e\n',
"url:dojox/form/resources/CheckedMultiSelect.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft" id\x3d"widget_${id}"\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"comboButtonNode"\n\t\x3e\x3c/div\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"selectNode" class\x3d"dijit dijitReset dijitInline ${baseClass}Wrapper" data-dojo-attach-event\x3d"onmousedown:_onMouseDown,onclick:focus"\n\t\t\x3e\x3cselect class\x3d"${baseClass}Select dojoxCheckedMultiSelectHidden" multiple\x3d"true" data-dojo-attach-point\x3d"containerNode,focusNode"\x3e\x3c/select\n\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"wrapperDiv"\x3e\x3c/div\n\t\x3e\x3c/div\n\x3e\x3c/div\x3e',
"url:dijit/templates/CheckedMenuItem.html":'\x3ctr class\x3d"dijitReset" data-dojo-attach-point\x3d"focusNode" role\x3d"${role}" tabIndex\x3d"-1" aria-checked\x3d"${checked}"\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\x3e\n\t\t\x3cspan class\x3d"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\n\t\t\x3cspan class\x3d"dijitMenuItemIconChar dijitCheckedMenuItemIconChar"\x3e${!checkedChar}\x3c/span\x3e\n\t\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" data-dojo-attach-point\x3d"containerNode,labelNode,textDirNode"\x3e\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuItemAccelKey" style\x3d"display: none" data-dojo-attach-point\x3d"accelKeyNode"\x3e\x3c/td\x3e\n\t\x3ctd class\x3d"dijitReset dijitMenuArrowCell" role\x3d"presentation"\x3e\x26#160;\x3c/td\x3e\n\x3c/tr\x3e\n',
"url:dijit/form/templates/DropDownButton.html":'\x3cspan class\x3d"dijit dijitReset dijitInline"\n\t\x3e\x3cspan class\x3d\'dijitReset dijitInline dijitButtonNode\'\n\t\tdata-dojo-attach-event\x3d"ondijitclick:__onClick" data-dojo-attach-point\x3d"_buttonNode"\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point\x3d"focusNode,titleNode,_arrowWrapperNode,_popupStateNode"\n\t\t\trole\x3d"button" aria-haspopup\x3d"true" aria-labelledby\x3d"${id}_label"\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon"\n\t\t\t\tdata-dojo-attach-point\x3d"iconNode"\n\t\t\t\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\n\t\t\t\tid\x3d"${id}_label"\n\t\t\t\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitArrowButtonInner"\x3e\x3c/span\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitArrowButtonChar"\x3e\x26#9660;\x3c/span\n\t\t\x3e\x3c/span\n\t\x3e\x3c/span\n\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen" tabIndex\x3d"-1"\n\t\tdata-dojo-attach-event\x3d"onclick:_onClick" data-dojo-attach-point\x3d"valueNode" aria-hidden\x3d"true"\n/\x3e\x3c/span\x3e\n',
"*now":function(A){A(['dojo/i18n!*preload*dojo/nls/dojo*["en-us","ru-ru","es-es","en","ru","es","ROOT"]'])}}});(function(){var A=this.require;A({cache:{}});!A.async&&A(["dojo"]);A.boot&&A.apply(null,A.boot)})();(function(){dojo.version.revision = "26.07.2026  0:59:42,57"})(); 

// SIG // Begin signature block
// SIG // MIIn2AYJKoZIhvcNAQcCoIInyTCCJ8UCAQExCzAJBgUr
// SIG // DgMCGgUAMGcGCisGAQQBgjcCAQSgWTBXMDIGCisGAQQB
// SIG // gjcCAR4wJAIBAQQQEODJBs441BGiowAQS9NQkAIBAAIB
// SIG // AAIBAAIBAAIBADAhMAkGBSsOAwIaBQAEFG8btwojd4Vy
// SIG // nvveUJi6xe8MCWC1oIIhATCCBY0wggR1oAMCAQICEA6b
// SIG // GI750C3n79tQ4ghAGFowDQYJKoZIhvcNAQEMBQAwZTEL
// SIG // MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IElu
// SIG // YzEZMBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNvbTEkMCIG
// SIG // A1UEAxMbRGlnaUNlcnQgQXNzdXJlZCBJRCBSb290IENB
// SIG // MB4XDTIyMDgwMTAwMDAwMFoXDTMxMTEwOTIzNTk1OVow
// SIG // YjELMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0
// SIG // IEluYzEZMBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNvbTEh
// SIG // MB8GA1UEAxMYRGlnaUNlcnQgVHJ1c3RlZCBSb290IEc0
// SIG // MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA
// SIG // v+aQc2jeu+RdSjwwIjBpM+zCpyUuySE98orYWcLhKac9
// SIG // WKt2ms2uexuEDcQwH/MbpDgW61bGl20dq7J58soR0uRf
// SIG // 1gU8Ug9SH8aeFaV+vp+pVxZZVXKvaJNwwrK6dZlqczKU
// SIG // 0RBEEC7fgvMHhOZ0O21x4i0MG+4g1ckgHWMpLc7sXk7I
// SIG // k/ghYZs06wXGXuxbGrzryc/NrDRAX7F6Zu53yEioZldX
// SIG // n1RYjgwrt0+nMNlW7sp7XeOtyU9e5TXnMcvak17cjo+A
// SIG // 2raRmECQecN4x7axxLVqGDgDEI3Y1DekLgV9iPWCPhCR
// SIG // cKtVgkEy19sEcypukQF8IUzUvK4bA3VdeGbZOjFEmjNA
// SIG // vwjXWkmkwuapoGfdpCe8oU85tRFYF/ckXEaPZPfBaYh2
// SIG // mHY9WV1CdoeJl2l6SPDgohIbZpp0yt5LHucOY67m1O+S
// SIG // kjqePdwA5EUlibaaRBkrfsCUtNJhbesz2cXfSwQAzH0c
// SIG // lcOP9yGyshG3u3/y1YxwLEFgqrFjGESVGnZifvaAsPvo
// SIG // ZKYz0YkH4b235kOkGLimdwHhD5QMIR2yVCkliWzlDlJR
// SIG // R3S+Jqy2QXXeeqxfjT/JvNNBERJb5RBQ6zHFynIWIgnf
// SIG // fEx1P2PsIV/EIFFrb7GrhotPwtZFX50g/KEexcCPorF+
// SIG // CiaZ9eRpL5gdLfXZqbId5RsCAwEAAaOCATowggE2MA8G
// SIG // A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFOzX44LScV1k
// SIG // TN8uZz/nupiuHA9PMB8GA1UdIwQYMBaAFEXroq/0ksuC
// SIG // MS1Ri6enIZ3zbcgPMA4GA1UdDwEB/wQEAwIBhjB5Bggr
// SIG // BgEFBQcBAQRtMGswJAYIKwYBBQUHMAGGGGh0dHA6Ly9v
// SIG // Y3NwLmRpZ2ljZXJ0LmNvbTBDBggrBgEFBQcwAoY3aHR0
// SIG // cDovL2NhY2VydHMuZGlnaWNlcnQuY29tL0RpZ2lDZXJ0
// SIG // QXNzdXJlZElEUm9vdENBLmNydDBFBgNVHR8EPjA8MDqg
// SIG // OKA2hjRodHRwOi8vY3JsMy5kaWdpY2VydC5jb20vRGln
// SIG // aUNlcnRBc3N1cmVkSURSb290Q0EuY3JsMBEGA1UdIAQK
// SIG // MAgwBgYEVR0gADANBgkqhkiG9w0BAQwFAAOCAQEAcKC/
// SIG // Q1xV5zhfoKN0Gz22Ftf3v1cHvZqsoYcs7IVeqRq7IviH
// SIG // GmlUIu2kiHdtvRoU9BNKei8ttzjv9P+Aufih9/Jy3iS8
// SIG // UgPITtAq3votVs/59PesMHqai7Je1M/RQ0SbQyHrlnKh
// SIG // SLSZy51PpwYDE3cnRNTnf+hZqPC/Lwum6fI0POz3A8eH
// SIG // qNJMQBk1RmppVLC4oVaO7KTVPeix3P0c2PR3WlxUjG/v
// SIG // oVA9/HYJaISfb8rbII01YBwCA8sgsKxYoA5AY8WYIsGy
// SIG // WfVVa88nq2x2zm8jLfR+cWojayL/ErhULSd+2DrZ8LaH
// SIG // lv1b0VysGMNNn3O3AamfV6peKOK5lDCCBrQwggScoAMC
// SIG // AQICEA3HrFcF/yGZLkBDIgw6SYYwDQYJKoZIhvcNAQEL
// SIG // BQAwYjELMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lD
// SIG // ZXJ0IEluYzEZMBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNv
// SIG // bTEhMB8GA1UEAxMYRGlnaUNlcnQgVHJ1c3RlZCBSb290
// SIG // IEc0MB4XDTI1MDUwNzAwMDAwMFoXDTM4MDExNDIzNTk1
// SIG // OVowaTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkRpZ2lD
// SIG // ZXJ0LCBJbmMuMUEwPwYDVQQDEzhEaWdpQ2VydCBUcnVz
// SIG // dGVkIEc0IFRpbWVTdGFtcGluZyBSU0E0MDk2IFNIQTI1
// SIG // NiAyMDI1IENBMTCCAiIwDQYJKoZIhvcNAQEBBQADggIP
// SIG // ADCCAgoCggIBALR4MdMKmEFyvjxGwBysddujRmh0tFEX
// SIG // nU2tjQ2UtZmWgyxU7UNqEY81FzJsQqr5G7A6c+Gh/qm8
// SIG // Xi4aPCOo2N8S9SLrC6Kbltqn7SWCWgzbNfiR+2fkHUil
// SIG // jNOqnIVD/gG3SYDEAd4dg2dDGpeZGKe+42DFUF0mR/vt
// SIG // La4+gKPsYfwEu7EEbkC9+0F2w4QJLVSTEG8yAR2CQWIM
// SIG // 1iI5PHg62IVwxKSpO0XaF9DPfNBKS7Zazch8NF5vp7ea
// SIG // Z2CVNxpqumzTCNSOxm+SAWSuIr21Qomb+zzQWKhxKTVV
// SIG // gtmUPAW35xUUFREmDrMxSNlr/NsJyUXzdtFUUt4aS4CE
// SIG // eIY8y9IaaGBpPNXKFifinT7zL2gdFpBP9qh8SdLnEut/
// SIG // GcalNeJQ55IuwnKCgs+nrpuQNfVmUB5KlCX3ZA4x5HHK
// SIG // S+rqBvKWxdCyQEEGcbLe1b8Aw4wJkhU1JrPsFfxW1gao
// SIG // u30yZ46t4Y9F20HHfIY4/6vHespYMQmUiote8ladjS/n
// SIG // J0+k6MvqzfpzPDOy5y6gqztiT96Fv/9bH7mQyogxG9QE
// SIG // PHrPV6/7umw052AkyiLA6tQbZl1KhBtTasySkuJDpsZG
// SIG // Kdlsjg4u70EwgWbVRSX1Wd4+zoFpp4Ra+MlKM2baoD6x
// SIG // 0VR4RjSpWM8o5a6D8bpfm4CLKczsG7ZrIGNTAgMBAAGj
// SIG // ggFdMIIBWTASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1Ud
// SIG // DgQWBBTvb1NK6eQGfHrK4pBW9i/USezLTjAfBgNVHSME
// SIG // GDAWgBTs1+OC0nFdZEzfLmc/57qYrhwPTzAOBgNVHQ8B
// SIG // Af8EBAMCAYYwEwYDVR0lBAwwCgYIKwYBBQUHAwgwdwYI
// SIG // KwYBBQUHAQEEazBpMCQGCCsGAQUFBzABhhhodHRwOi8v
// SIG // b2NzcC5kaWdpY2VydC5jb20wQQYIKwYBBQUHMAKGNWh0
// SIG // dHA6Ly9jYWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2Vy
// SIG // dFRydXN0ZWRSb290RzQuY3J0MEMGA1UdHwQ8MDowOKA2
// SIG // oDSGMmh0dHA6Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9EaWdp
// SIG // Q2VydFRydXN0ZWRSb290RzQuY3JsMCAGA1UdIAQZMBcw
// SIG // CAYGZ4EMAQQCMAsGCWCGSAGG/WwHATANBgkqhkiG9w0B
// SIG // AQsFAAOCAgEAF877FoAc/gc9EXZxML2+C8i1NKZ/zdCH
// SIG // xYgaMH9Pw5tcBnPw6O6FTGNpoV2V4wzSUGvI9NAzaoQk
// SIG // 97frPBtIj+ZLzdp+yXdhOP4hCFATuNT+ReOPK0mCefSG
// SIG // +tXqGpYZ3essBS3q8nL2UwM+NMvEuBd/2vmdYxDCvwzJ
// SIG // v2sRUoKEfJ+nN57mQfQXwcAEGCvRR2qKtntujB71WPYA
// SIG // gwPyWLKu6RnaID/B0ba2H3LUiwDRAXx1Neq9ydOal95C
// SIG // HfmTnM4I+ZI2rVQfjXQA1WSjjf4J2a7jLzWGNqNX+DF0
// SIG // SQzHU0pTi4dBwp9nEC8EAqoxW6q17r0z0noDjs6+BFo+
// SIG // z7bKSBwZXTRNivYuve3L2oiKNqetRHdqfMTCW/NmKLJ9
// SIG // M+MtucVGyOxiDf06VXxyKkOirv6o02OoXN4bFzK0vlNM
// SIG // svhlqgF2puE6FndlENSmE+9JGYxOGLS/D284NHNboDGc
// SIG // mWXfwXRy4kbu4QFhOm0xJuF2EZAOk5eCkhSxZON3rGlH
// SIG // qhpB/8MluDezooIs8CVnrpHMiD2wL40mm53+/j7tFaxY
// SIG // KIqL0Q4ssd8xHZnIn/7GELH3IdvG2XlM9q7WP/UwgOkw
// SIG // /HQtyRN62JK4S1C8uw3PdBunvAZapsiI5YKdvlarEvf8
// SIG // EA+8hcpSM9LHJmyrxaFtoza2zNaQ9k+5t1wwgga/MIIE
// SIG // p6ADAgECAhEAgU5CF6Epf+1azNQX+JGtdTANBgkqhkiG
// SIG // 9w0BAQsFADBTMQswCQYDVQQGEwJCRTEZMBcGA1UEChMQ
// SIG // R2xvYmFsU2lnbiBudi1zYTEpMCcGA1UEAxMgR2xvYmFs
// SIG // U2lnbiBDb2RlIFNpZ25pbmcgUm9vdCBSNDUwHhcNMjQw
// SIG // NjE5MDMyNTExWhcNMzgwNzI4MDAwMDAwWjBZMQswCQYD
// SIG // VQQGEwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1z
// SIG // YTEvMC0GA1UEAxMmR2xvYmFsU2lnbiBHQ0MgUjQ1IENv
// SIG // ZGVTaWduaW5nIENBIDIwMjAwggIiMA0GCSqGSIb3DQEB
// SIG // AQUAA4ICDwAwggIKAoICAQDWQk3540/GI/RsHYGmMPdI
// SIG // Pc/Q5Y3lICKWB0Q1XQbPDx1wYOYmVPpTI2ACqF8CAveO
// SIG // yW49qXgFvY71TxkkmXzPERabH3tr0qN7aGV3q9ixLD/T
// SIG // cgYyXFusUGcsJU1WBjb8wWJMfX2GFpWaXVS6UNCwf6JE
// SIG // GenWbmw+E8KfEdRfNFtRaDFjCvhb0N66WV8xr4loOEA+
// SIG // COhTZ05jtiGO792NhUFVnhy8N9yVoMRxpx8bpUluCiBZ
// SIG // fomjWBWXACVp397CalBlTlP7a6GfGB6KDl9UXr3gW8/y
// SIG // DATS3gihECb3svN6LsKOlsE/zqXa9FkojDdloTGWC46k
// SIG // dncVSYRmgiXnQwp3UrGZUUL/obLdnNLcGNnBhqlAHUGX
// SIG // Yoa8qP+ix2MXBv1mejaUASCJeB+Q9HupUk5qT1QGKoCv
// SIG // nsdQQvplCuMB9LFurA6o44EZqDjIngMohqR0p0eVfnJa
// SIG // KnsVahzEaeawvkAZmcvSfVVOIpwQ4KFbw7MueovE3vFL
// SIG // H4woeTBFf2wTtj0s/y1KiirsKA8tytScmIpKbVo2LC/f
// SIG // usviQUoIdxiIrTVhlBLzpHLr7jaep1EnkTz3ohrM/Ifl
// SIG // l+FRh2npIsyDwLcPRWwH4UNP1IxKzs9jsbWkEHr5DQwo
// SIG // sGs0/iFoJ2/s+PomhFt1Qs2JJnlZnWurY3FikCUNCCDx
// SIG // /wIDAQABo4IBhjCCAYIwDgYDVR0PAQH/BAQDAgGGMBMG
// SIG // A1UdJQQMMAoGCCsGAQUFBwMDMBIGA1UdEwEB/wQIMAYB
// SIG // Af8CAQAwHQYDVR0OBBYEFNqzjcAkkKNrd9MMoFndIWdk
// SIG // dgt4MB8GA1UdIwQYMBaAFB8Av0aACvx4ObeltEPZVlC7
// SIG // zpY7MIGTBggrBgEFBQcBAQSBhjCBgzA5BggrBgEFBQcw
// SIG // AYYtaHR0cDovL29jc3AuZ2xvYmFsc2lnbi5jb20vY29k
// SIG // ZXNpZ25pbmdyb290cjQ1MEYGCCsGAQUFBzAChjpodHRw
// SIG // Oi8vc2VjdXJlLmdsb2JhbHNpZ24uY29tL2NhY2VydC9j
// SIG // b2Rlc2lnbmluZ3Jvb3RyNDUuY3J0MEEGA1UdHwQ6MDgw
// SIG // NqA0oDKGMGh0dHA6Ly9jcmwuZ2xvYmFsc2lnbi5jb20v
// SIG // Y29kZXNpZ25pbmdyb290cjQ1LmNybDAuBgNVHSAEJzAl
// SIG // MAgGBmeBDAEEATALBgkrBgEEAaAyATIwDAYKKwYBBAGg
// SIG // MgoEAjANBgkqhkiG9w0BAQsFAAOCAgEAMhDkvBelgxBA
// SIG // ndOp/SfPRXKpxR9LM1lvLDIxeXGE1jZn1at0/NTyBjpu
// SIG // tdbL8UKDlr193pUsGu1q40EcpsiJMcJZbIm8KiMDWVBH
// SIG // Sf1vUw4qKMxIVO/zIxhbkjZOvKNj1MP7AA+A0SDCyuWW
// SIG // uvCaW6qkJXoZ2/rbe1NP+baj2WPVdV8BpSjbthgpFGV5
// SIG // nNu064iYFFNQYDEMZrNR427JKSZk8BTRc3jEhI0+FKWS
// SIG // Wat5QUbqNM+BdkY6kXgZc77+BvXXwYQ5oHBMCjUAXtgq
// SIG // MCQfMne24Xzfs0ZB4fptjePjC58vQNmlOg1kyb6M0RrJ
// SIG // ZSA64gD6TnohN0FwmZ1QH5l7dZB0c01FpU5Yf912apBY
// SIG // iWaTZKP+VPdNquvlIO5114iyHQw8vKGSoFbkR/xnD+p4
// SIG // Kd+Po8fZ4zF4pwsplGscJ10hJ4fio+/IQJAuXBcoJdMB
// SIG // RBergNp8lKhbI/wgnpuRoZD/sw3lckQsRxXz1JFyJvny
// SIG // BeMBZ/dptd4Ftv4okIx/oSk7tyzaZCJplsT001cNKoXG
// SIG // u2horIvxUktkbqq4t+xNFBz6qBQ4zuwl6+Ri3TX5uHsH
// SIG // XRtDZwIIaz2/JSODgZZzB+7+WFo8N9qg21/SnDpGkpzE
// SIG // JhwJMNol5A4dkHPUHodOaYSBkc1lfuc1+oOAatM0HUan
// SIG // eAimeDIlZnowggbtMIIE1aADAgECAhAKgO8YS43xBYLR
// SIG // xHanlXRoMA0GCSqGSIb3DQEBCwUAMGkxCzAJBgNVBAYT
// SIG // AlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwgSW5jLjFBMD8G
// SIG // A1UEAxM4RGlnaUNlcnQgVHJ1c3RlZCBHNCBUaW1lU3Rh
// SIG // bXBpbmcgUlNBNDA5NiBTSEEyNTYgMjAyNSBDQTEwHhcN
// SIG // MjUwNjA0MDAwMDAwWhcNMzYwOTAzMjM1OTU5WjBjMQsw
// SIG // CQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIElu
// SIG // Yy4xOzA5BgNVBAMTMkRpZ2lDZXJ0IFNIQTI1NiBSU0E0
// SIG // MDk2IFRpbWVzdGFtcCBSZXNwb25kZXIgMjAyNSAxMIIC
// SIG // IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0Eas
// SIG // LRLGntDqrmBWsytXum9R/4ZwCgHfyjfMGUIwYzKomd8U
// SIG // 1nH7C8Dr0cVMF3BsfAFI54um8+dnxk36+jx0Tb+k+87H
// SIG // 9WPxNyFPJIDZHhAqlUPt281mHrBbZHqRK71Em3/hCGC5
// SIG // KyyneqiZ7syvFXJ9A72wzHpkBaMUNg7MOLxI6E9RaUue
// SIG // HTQKWXymOtRwJXcrcTTPPT2V1D/+cFllESviH8YjoPFv
// SIG // ZSjKs3SKO1QNUdFd2adw44wDcKgH+JRJE5Qg0NP3yiSy
// SIG // i5MxgU6cehGHr7zou1znOM8odbkqoK+lJ25LCHBSai25
// SIG // CFyD23DZgPfDrJJJK77epTwMP6eKA0kWa3osAe8fcpK4
// SIG // 0uhktzUd/Yk0xUvhDU6lvJukx7jphx40DQt82yepyekl
// SIG // 4i0r8OEps/FNO4ahfvAk12hE5FVs9HVVWcO5J4dVmVzi
// SIG // x4A77p3awLbr89A90/nWGjXMGn7FQhmSlIUDy9Z2hSgc
// SIG // taepZTd0ILIUbWuhKuAeNIeWrzHKYueMJtItnj2Q+aTy
// SIG // LLKLM0MheP/9w6CtjuuVHJOVoIJ/DtpJRE7Ce7vMRHoR
// SIG // on4CWIvuiNN1Lk9Y+xZ66lazs2kKFSTnnkrT3pXWETTJ
// SIG // khd76CIDBbTRofOsNyEhzZtCGmnQigpFHti58CSmvEyJ
// SIG // cAlDVcKacJ+A9/z7eacCAwEAAaOCAZUwggGRMAwGA1Ud
// SIG // EwEB/wQCMAAwHQYDVR0OBBYEFOQ7/PIx7f391/ORcWMZ
// SIG // UEPPYYzoMB8GA1UdIwQYMBaAFO9vU0rp5AZ8esrikFb2
// SIG // L9RJ7MtOMA4GA1UdDwEB/wQEAwIHgDAWBgNVHSUBAf8E
// SIG // DDAKBggrBgEFBQcDCDCBlQYIKwYBBQUHAQEEgYgwgYUw
// SIG // JAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0
// SIG // LmNvbTBdBggrBgEFBQcwAoZRaHR0cDovL2NhY2VydHMu
// SIG // ZGlnaWNlcnQuY29tL0RpZ2lDZXJ0VHJ1c3RlZEc0VGlt
// SIG // ZVN0YW1waW5nUlNBNDA5NlNIQTI1NjIwMjVDQTEuY3J0
// SIG // MF8GA1UdHwRYMFYwVKBSoFCGTmh0dHA6Ly9jcmwzLmRp
// SIG // Z2ljZXJ0LmNvbS9EaWdpQ2VydFRydXN0ZWRHNFRpbWVT
// SIG // dGFtcGluZ1JTQTQwOTZTSEEyNTYyMDI1Q0ExLmNybDAg
// SIG // BgNVHSAEGTAXMAgGBmeBDAEEAjALBglghkgBhv1sBwEw
// SIG // DQYJKoZIhvcNAQELBQADggIBAGUqrfEcJwS5rmBB7NEI
// SIG // RJ5jQHIh+OT2Ik/bNYulCrVvhREafBYF0RkP2AGr181o
// SIG // 2YWPoSHz9iZEN/FPsLSTwVQWo2H62yGBvg7ouCODwrx6
// SIG // ULj6hYKqdT8wv2UV+Kbz/3ImZlJ7YXwBD9R0oU62Ptgx
// SIG // Oao872bOySCILdBghQ/ZLcdC8cbUUO75ZSpbh1oipOhc
// SIG // UT8lD8QAGB9lctZTTOJM3pHfKBAEcxQFoHlt2s9sXoxF
// SIG // izTeHihsQyfFg5fxUFEp7W42fNBVN4ueLaceRf9Cq9ec
// SIG // 1v5iQMWTFQa0xNqItH3CPFTG7aEQJmmrJTV3Qhtfparz
// SIG // +BW60OiMEgV5GWoBy4RVPRwqxv7Mk0Sy4QHs7v9y69NB
// SIG // qycz0BZwhB9WOfOu/CIJnzkQTwtSSpGGhLdjnQ4eBpjt
// SIG // P+XB3pQCtv4E5UCSDag6+iX8MmB10nfldPF9SVD7weCC
// SIG // 3yXZi/uuhqdwkgVxuiMFzGVFwYbQsiGnoa9F5AaAyBjF
// SIG // BtXVLcKtapnMG3VH3EmAp/jsJ3FVF3+d1SVDTmjFjLbN
// SIG // FZUWMXuZyvgLfgyPehwJVxwC+UpX2MSey2ueIu9THFVk
// SIG // T+um1vshETaWyQo8gmBto/m3acaP9QsuLj3FNwFlTxq2
// SIG // 5+T4QwX9xa6ILs84ZPvmpovq90K8eWyG2N01c4IhSOxq
// SIG // t81nMIIHADCCBOigAwIBAgIMFPHZ2Zi5UkBqr23/MA0G
// SIG // CSqGSIb3DQEBCwUAMFkxCzAJBgNVBAYTAkJFMRkwFwYD
// SIG // VQQKExBHbG9iYWxTaWduIG52LXNhMS8wLQYDVQQDEyZH
// SIG // bG9iYWxTaWduIEdDQyBSNDUgQ29kZVNpZ25pbmcgQ0Eg
// SIG // MjAyMDAeFw0yNDA1MDgxMzAyMDdaFw0yNzA4MDUxMzAy
// SIG // MDdaMG4xCzAJBgNVBAYTAlJVMRYwFAYDVQQIEw1Nb3Nj
// SIG // b3cgT2JsYXN0MQ8wDQYDVQQHEwZLaGlta2kxGjAYBgNV
// SIG // BAoTEVRFQ0hOT0xPR0lBRSBNSUxMMRowGAYDVQQDExFU
// SIG // RUNITk9MT0dJQUUgTUlMTDCCAiIwDQYJKoZIhvcNAQEB
// SIG // BQADggIPADCCAgoCggIBAMTRdq/ocQ+wNVWIsw48n264
// SIG // pIT6f8KxXtEF0g1CxrTYF2NimLIK7Zv0salquXnsOdPC
// SIG // DwxJsSzGwCiI3nHYYjVg/Q5UQ73waG0jsnPmZssyYNFl
// SIG // brFJuuVIsf3cVSzsnedwNr3bDpfIEF0sXzL0Ji1nwoSJ
// SIG // fWycEmNPIc+6ANZTCViPwPYn8XAvdHRJDPcwADhlD8HY
// SIG // rjnuV/R6jliWXe5TRSItGQKqA0Djv+d266VoXBWm7FTf
// SIG // VkCSOr7HbOiol7Qi6GKOz4h4knYh9wKWf7QHAEivq2Ob
// SIG // JuSL8GDndBPlKRiC/jtVBFJrBL7sz+lzKIm0TWSKLDlN
// SIG // gZsjOJZkoLSTBC8GI9N17kocmpx4cO4SA1Sd2DHrlgdW
// SIG // 1QDxpwB6BHti8T9Pi/sjBrpQ5h1Sn3hQ3Y2cNLfK3TqU
// SIG // IvzDPoTV6/NMRbCI8881UZZLHnjroG/mamERJ2rTE0cc
// SIG // EUVajgea+ODHqogd389u4md0ZPNXGzqfaptzJmvBUTwp
// SIG // Ox7XhFaiKT9XrdObhVr9k0CCwWH65QbZxPFEFEEi8Wj9
// SIG // T3i5BXjJSad1R9hkb64m8mB9r2jvIHlTJMwMLrPFqd2j
// SIG // IBbgZb5fw1HSj6GZQQK92ZuzzexpQ3a6VL6Fi34wtDeB
// SIG // ggHDy4drdG3CR+tbLu/lGeMl1C6l2uPep1vOc7tGYOIt
// SIG // AgMBAAGjggGxMIIBrTAOBgNVHQ8BAf8EBAMCB4AwgZsG
// SIG // CCsGAQUFBwEBBIGOMIGLMEoGCCsGAQUFBzAChj5odHRw
// SIG // Oi8vc2VjdXJlLmdsb2JhbHNpZ24uY29tL2NhY2VydC9n
// SIG // c2djY3I0NWNvZGVzaWduY2EyMDIwLmNydDA9BggrBgEF
// SIG // BQcwAYYxaHR0cDovL29jc3AuZ2xvYmFsc2lnbi5jb20v
// SIG // Z3NnY2NyNDVjb2Rlc2lnbmNhMjAyMDBWBgNVHSAETzBN
// SIG // MEEGCSsGAQQBoDIBMjA0MDIGCCsGAQUFBwIBFiZodHRw
// SIG // czovL3d3dy5nbG9iYWxzaWduLmNvbS9yZXBvc2l0b3J5
// SIG // LzAIBgZngQwBBAEwCQYDVR0TBAIwADBFBgNVHR8EPjA8
// SIG // MDqgOKA2hjRodHRwOi8vY3JsLmdsb2JhbHNpZ24uY29t
// SIG // L2dzZ2NjcjQ1Y29kZXNpZ25jYTIwMjAuY3JsMBMGA1Ud
// SIG // JQQMMAoGCCsGAQUFBwMDMB8GA1UdIwQYMBaAFNqzjcAk
// SIG // kKNrd9MMoFndIWdkdgt4MB0GA1UdDgQWBBToMms2YkG6
// SIG // 3TzCnwI/BzYwiRB4NTANBgkqhkiG9w0BAQsFAAOCAgEA
// SIG // nLeHG08y6cgrnh9G1/PJse7mpbEZ2o+B6NDHqYKKcIA+
// SIG // ekdf9CnRDzaBvscwh53ZS06qqPugDhInUQeUjWzJvMGO
// SIG // wmtlp0WC/J1SVLc70NlAQXOoFR9c+1tFBRn07eIZONW6
// SIG // kx79TAdXdS/EWbU5UUrNSCLZQ+15/fcGLWW36+uEmCXA
// SIG // O5odyDdPhv6ckxgMWbMgUyqxUC+4CIaubl5BCd3pUfAO
// SIG // DdfPteb+/oWQIJkCCrVYndO0SOiLSFDNCC/wkxa0TnAU
// SIG // lv7mzhytYYhpv8npk+8QKUXbHDzHL1M8H1B2FOiEJ7y5
// SIG // +41VOR0VRon4f0XWa4mceZ5IpztNl3s6yKQMu7617OTW
// SIG // /BWyHUdGxr1GwfVHGhVS9lb8TDiHNNWEVdtzDYHsB6We
// SIG // aSFxmKk8vLaRmbL54y1d9hIypfSdSLcXwFse9kTF7N1R
// SIG // oKl8XioJLbWqhPypVT8OdAOPwfpL+v3ITXOhy5mxnCEQ
// SIG // F1355KWukMMk3GFLDYTZx8CaPcaq6gwxJl3YibZr6d9E
// SIG // /KHV1P4f9rqzjqOCe0TV51dY5jKRzRh55mu3f6aIDI6L
// SIG // B4lZCeSLyt+BJ/JgpOX5oclHaB3F4jkhj4rIvGzIGBeE
// SIG // EkqndlaI8e9Thmix7+gfKpVcedIlA3lN0ewibUQ7dqUE
// SIG // hRkwPV2bmtgF2DaRUJx7+3QxggZDMIIGPwIBATBpMFkx
// SIG // CzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWdu
// SIG // IG52LXNhMS8wLQYDVQQDEyZHbG9iYWxTaWduIEdDQyBS
// SIG // NDUgQ29kZVNpZ25pbmcgQ0EgMjAyMAIMFPHZ2Zi5UkBq
// SIG // r23/MAkGBSsOAwIaBQCggYYwGQYJKoZIhvcNAQkDMQwG
// SIG // CisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG
// SIG // AQQBgjcCARUwIwYJKoZIhvcNAQkEMRYEFF8gJ0PfevaM
// SIG // wcZsDwdVPKEswz5bMCYGCisGAQQBgjcCAQwxGDAWoRSA
// SIG // Emh0dHA6Ly90ZWNobWlsbC5ydTANBgkqhkiG9w0BAQEF
// SIG // AASCAgBnfUmhLR/1walYy1zNuoHEYU9rClKkS6rveQCI
// SIG // QEmmQMrJNFXJR8cVO/q1F9/7XcwCEBb94CoGrFuwBlMb
// SIG // eyqL143Z9PcbHW59gZHP9acH9+ZpcEaE28RGmR/yD0RY
// SIG // 3oFamFFG0eMD6Eiq23oLbsaqNSz4d/tugPEYB6ZF8x2O
// SIG // lAzLoPQU1i1LkdHEIxbbSc0WLrp8zazEhvOZ8tSbGJkD
// SIG // JtBOBXXKOPp19bQob8HawEi2UlATTCsyQH+o0RiZln4m
// SIG // 8CIgWifAN3JrOZ/WRcPWQsQkoAzhenzj6YOBvIF7/bxf
// SIG // v3yLPNmC3BBg0kkFN5lyn6APg52P+Rc+cpNH2DmS5GyR
// SIG // YeD24UG6ABY4mYVhD/2HEQOfaj/QchtnKu2kimW7IsAi
// SIG // +tUSqx0DsusZZnES6ThiumPKR9t8lmVFb5yreCXWFrum
// SIG // 9o5NZfavcghoe+hWBKGb8o0AiV0aDKjF+x2AWoB+SDUr
// SIG // sqHRGv/3BzyEU31ThUi23iXdisGWnmBrzhOQun6GvhjX
// SIG // nl8MJtrLkVcDI4AfIAoDGUGU7s40gMiGlPF/0W3L6dSp
// SIG // lLnmbdLJuNCLA827+Dt7g6wSzcKo6zspEagNVKzDDkRF
// SIG // XjlBYQTJejppVufNZHzV0aQJx7fZ6aebtJ2KrQFTRQih
// SIG // 0FGhLBwtOEmRcwFIUb1siJt/HWOVfqGCAyYwggMiBgkq
// SIG // hkiG9w0BCQYxggMTMIIDDwIBATB9MGkxCzAJBgNVBAYT
// SIG // AlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwgSW5jLjFBMD8G
// SIG // A1UEAxM4RGlnaUNlcnQgVHJ1c3RlZCBHNCBUaW1lU3Rh
// SIG // bXBpbmcgUlNBNDA5NiBTSEEyNTYgMjAyNSBDQTECEAqA
// SIG // 7xhLjfEFgtHEdqeVdGgwDQYJYIZIAWUDBAIBBQCgaTAY
// SIG // BgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3
// SIG // DQEJBTEPFw0yNjA3MjUyMjEyNDFaMC8GCSqGSIb3DQEJ
// SIG // BDEiBCCfMQEiJANFqHKgaPN96bJT+go05DuAQGkdfrcp
// SIG // 5r1vLjANBgkqhkiG9w0BAQEFAASCAgAe1eEiwNU3Pt2S
// SIG // 0/qsofnkbRGzAesdaEeHHnfiTVzdT/DHrWc/tL14GKA7
// SIG // Pdl34ttjh5uuss7GijCBDheTfIQR6kxKiTytVVhu6wHx
// SIG // /bwS5JZZjzil+IpHHWdsExl/hYjF4/SAvQbjxFHomF5o
// SIG // eQ5RNHwCpuvFu6q4WFF/PUVJn3AJWgF+37dKnTZUOFgL
// SIG // lqR5bRsQXu9NRaX/yAEvW01zczwaIxew2hQP/IiRGagV
// SIG // geGop/LWohOBeOrFBDWnwSN+f8uD0f6Paaf/8HPLbeFB
// SIG // pQc14L4gbmkyfWU3w6InS6eAqszNKUPHJhoLPYAiWOks
// SIG // EkL+nNwD3N9nabDDvAC8WPXgiFXkGUnesSRL8OaHkjIF
// SIG // 4hIru+RnT2rZk4Bnq6Uy5cjH0ciI97M5+IzoKwEuvTlY
// SIG // mMsdggZyKEtTtDqH+6vBccKDNOFxjkqe7wYjD218c5ZG
// SIG // aVTooDF2pvfKrezYPSTw9jGMdc7Zlnn6rNDD8+d+V8Ol
// SIG // U2CU/roVOncxsx7rCYQb68C58KyTTR1wHx7Fc5bMyY7K
// SIG // 71o/wYIJyjZVUB9zXhgYVYePuvQIZvlLwNWGfFgstl8K
// SIG // uVzocvPoHbhPciYYZjeosFtEMlEeuZmmfGBqlC/Xd3/k
// SIG // 6b1tu0gTl0pBOJEWGQuxQPFEjpcv8sGYSsk95jO8fFcD
// SIG // 6UlCUkOGZA==
// SIG // End signature block
