/* Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, please visit: http://dojotoolkit.org */ //>>built require({cache:{"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./main"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,on,_e,_f,_10){function _11(){if(this._popupWrapper){_7.destroy(this._popupWrapper);delete this._popupWrapper;}};var _12=_4(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_13){var _14=_13._popupWrapper,_15=_13.domNode;if(!_14){_14=_7.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_13["aria-label"]||_13.label||_13.name||_13.id},_13.ownerDocumentBody);_14.appendChild(_15);var s=_15.style;s.display="";s.visibility="";s.position="";s.top="0px";_13._popupWrapper=_14;_2.after(_13,"destroy",_11,true);}return _14;},moveOffScreen:function(_16){var _17=this._createWrapper(_16);_9.set(_17,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_18){var _19=this._createWrapper(_18);_9.set(_19,"display","none");},getTopPopup:function(){var _1a=this._stack;for(var pi=_1a.length-1;pi>0&&_1a[pi].parent===_1a[pi-1].widget;pi--){}return _1a[pi];},open:function(_1b){var _1c=this._stack,_1d=_1b.popup,_1e=_1b.orient||["below","below-alt","above","above-alt"],ltr=_1b.parent?_1b.parent.isLeftToRight():_8.isBodyLtr(_1d.ownerDocument),_1f=_1b.around,id=(_1b.around&&_1b.around.id)?(_1b.around.id+"_dropdown"):("popup_"+this._idGen++);while(_1c.length&&(!_1b.parent||!_5.isDescendant(_1b.parent.domNode,_1c[_1c.length-1].widget.domNode))){this.close(_1c[_1c.length-1].widget);}var _20=this._createWrapper(_1d);_6.set(_20,{id:id,style:{zIndex:this._beginZIndex+_1c.length},"class":"dijitPopup "+(_1d.baseClass||_1d["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1b.parent?_1b.parent.id:""});if(_b("bgIframe")&&!_1d.bgIframe){_1d.bgIframe=new _f(_20);}var _21=_1f?_e.around(_20,_1f,_1e,ltr,_1d.orient?_d.hitch(_1d,"orient"):null):_e.at(_20,_1b,_1e=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1b.padding);_20.style.display="";_20.style.visibility="visible";_1d.domNode.style.visibility="visible";var _22=[];_22.push(on(_20,_3._keypress,_d.hitch(this,function(evt){if(evt.charOrCode==_c.ESCAPE&&_1b.onCancel){_a.stop(evt);_1b.onCancel();}else{if(evt.charOrCode===_c.TAB){_a.stop(evt);var _23=this.getTopPopup();if(_23&&_23.onCancel){_23.onCancel();}}}})));if(_1d.onCancel&&_1b.onCancel){_22.push(_1d.on("cancel",_1b.onCancel));}_22.push(_1d.on(_1d.onExecute?"execute":"change",_d.hitch(this,function(){var _24=this.getTopPopup();if(_24&&_24.onExecute){_24.onExecute();}})));_1c.push({widget:_1d,parent:_1b.parent,onExecute:_1b.onExecute,onCancel:_1b.onCancel,onClose:_1b.onClose,handlers:_22});if(_1d.onOpen){_1d.onOpen(_21);}return _21;},close:function(_25){var _26=this._stack;while((_25&&_1.some(_26,function(_27){return _27.widget==_25;}))||(!_25&&_26.length)){var top=_26.pop(),_28=top.widget,_29=top.onClose;if(_28.onClose){_28.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_28&&_28.domNode){this.hide(_28);}if(_29){_29();}}}});return (_10.popup=new _12());});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_2a,_2b){var _2c={};_2b.setObject("dojo.string",_2c);_2c.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_2c.pad=function(_2d,_2e,ch,end){if(!ch){ch="0";}var out=String(_2d),pad=_2c.rep(ch,Math.ceil((_2e-out.length)/ch.length));return end?out+pad:pad+out;};_2c.substitute=function(_2f,map,_30,_31){_31=_31||_2a.global;_30=_30?_2b.hitch(_31,_30):function(v){return v;};return _2f.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_32,key,_33){var _34=_2b.getObject(key,false,map);if(_33){_34=_2b.getObject(_33,false,_31).call(_31,_34,key);}return _30(_34,key).toString();});};_2c.trim=String.prototype.trim?_2b.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _2c;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_35,_36,_37,dom,_38,_39,has,_3a){var _3b=(_3a._isElementShown=function(_3c){var s=_39.get(_3c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_38.get(_3c,"type")!="hidden");});_3a.hasDefaultTabStop=function(_3d){switch(_3d.nodeName.toLowerCase()){case "a":return _38.has(_3d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _3e;try{var _3f=_3d.contentDocument;if("designMode" in _3f&&_3f.designMode=="on"){return true;}_3e=_3f.body;}catch(e1){try{_3e=_3d.contentWindow.document.body;}catch(e2){return false;}}return _3e&&(_3e.contentEditable=="true"||(_3e.firstChild&&_3e.firstChild.contentEditable=="true"));default:return _3d.contentEditable=="true";}};var _40=(_3a.isTabNavigable=function(_41){if(_38.get(_41,"disabled")){return false;}else{if(_38.has(_41,"tabIndex")){return _38.get(_41,"tabIndex")>=0;}else{return _3a.hasDefaultTabStop(_41);}}});_3a._getTabNavigable=function(_42){var _43,_44,_45,_46,_47,_48,_49={};function _4a(_4b){return _4b&&_4b.tagName.toLowerCase()=="input"&&_4b.type&&_4b.type.toLowerCase()=="radio"&&_4b.name&&_4b.name.toLowerCase();};var _4c=function(_4d){for(var _4e=_4d.firstChild;_4e;_4e=_4e.nextSibling){if(_4e.nodeType!=1||(has("ie")<=9&&_4e.scopeName!=="HTML")||!_3b(_4e)){continue;}if(_40(_4e)){var _4f=+_38.get(_4e,"tabIndex");if(!_38.has(_4e,"tabIndex")||_4f==0){if(!_43){_43=_4e;}_44=_4e;}else{if(_4f>0){if(!_45||_4f<_46){_46=_4f;_45=_4e;}if(!_47||_4f>=_48){_48=_4f;_47=_4e;}}}var rn=_4a(_4e);if(_38.get(_4e,"checked")&&rn){_49[rn]=_4e;}}if(_4e.nodeName.toUpperCase()!="SELECT"){_4c(_4e);}}};if(_3b(_42)){_4c(_42);}function rs(_50){return _49[_4a(_50)]||_50;};return {first:rs(_43),last:rs(_44),lowest:rs(_45),highest:rs(_47)};};_3a.getFirstInTabbingOrder=function(_51,doc){var _52=_3a._getTabNavigable(dom.byId(_51,doc));return _52.lowest?_52.lowest:_52.first;};_3a.getLastInTabbingOrder=function(_53,doc){var _54=_3a._getTabNavigable(dom.byId(_53,doc));return _54.last?_54.last:_54.highest;};return {hasDefaultTabStop:_3a.hasDefaultTabStop,isTabNavigable:_3a.isTabNavigable,_getTabNavigable:_3a._getTabNavigable,getFirstInTabbingOrder:_3a.getFirstInTabbingOrder,getLastInTabbingOrder:_3a.getLastInTabbingOrder};});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_55,_56,_57,_58){var _59=_56("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5a){if(this._hash[_5a.id]){throw new Error("Tried to register widget with id=="+_5a.id+" but that id is already registered");}this._hash[_5a.id]=_5a;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_5b,_5c){_5c=_5c||_57.global;var i=0,id;for(id in this._hash){_5b.call(_5c,this._hash[id],i++,this._hash);}return this;},filter:function(_5d,_5e){_5e=_5e||_57.global;var res=new _59(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_5d.call(_5e,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _59(),id,_5f;for(id in this._hash){_5f=this._hash[id];if(_5f.declaredClass==cls){res.add(_5f);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_60,_61){return _55.map(this.toArray(),_60,_61);},every:function(_62,_63){_63=_63||_57.global;var x=0,i;for(i in this._hash){if(!_62.call(_63,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_64,_65){_65=_65||_57.global;var x=0,i;for(i in this._hash){if(_64.call(_65,this._hash[i],x++,this._hash)){return true;}}return false;}});_55.forEach(["forEach","filter","byClass","map","every","some"],function(_66){_58[_66]=_59.prototype[_66];});return _59;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_67,_68,_69){var _6a={hasWaiRole:function(_6b,_6c){var _6d=this.getWaiRole(_6b);return _6c?(_6d.indexOf(_6c)>-1):(_6d.length>0);},getWaiRole:function(_6e){return _68.trim((_67.get(_6e,"role")||"").replace("wairole:",""));},setWaiRole:function(_6f,_70){_67.set(_6f,"role",_70);},removeWaiRole:function(_71,_72){var _73=_67.get(_71,"role");if(!_73){return;}if(_72){var t=_68.trim((" "+_73+" ").replace(" "+_72+" "," "));_67.set(_71,"role",t);}else{_71.removeAttribute("role");}},hasWaiState:function(_74,_75){return _74.hasAttribute?_74.hasAttribute("aria-"+_75):!!_74.getAttribute("aria-"+_75);},getWaiState:function(_76,_77){return _76.getAttribute("aria-"+_77)||"";},setWaiState:function(_78,_79,_7a){_78.setAttribute("aria-"+_79,_7a);},removeWaiState:function(_7b,_7c){_7b.removeAttribute("aria-"+_7c);}};_68.mixin(_69,_6a);return _69;});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_7d,on,_7e,has,win,_7f){var _80=new _7d();_7e(200,function(){var _81=_7f.getBox();_80._rlh=on(win.global,"resize",function(){var _82=_7f.getBox();if(_81.h==_82.h&&_81.w==_82.w){return;}_81=_82;_80.emit("resize");});if(has("ie")==8){var _83=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_83){_83=screen.deviceXDPI;_80.emit("resize");}},500);}});return _80;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_84,_85,_86,_87,has,_88,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_85.blankGif||_84.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_87.getComputedStyle(div),_89=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_89&&(_89=="none"||_89=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_88(90,function(){if(has("highcontrast")){_86.add(win.body(),"dj_a11y");}});return has;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["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","./registry"],function(_8a,_8b,_8c,_8d,_8e,_8f,dom,_90,_91,_92,_93,_94,has,_95,_96,on,_97,_98,_99,win,_9a,_9b){has.add("dijit-legacy-requires",!_95.isAsync);if(has("dijit-legacy-requires")){_97(0,function(){var _9c=["dijit/_base/manager"];_8a(_9c);});}var _9d={};function _9e(obj){var ret={};for(var _9f in obj){ret[_9f.toLowerCase()]=true;}return ret;};function _a0(_a1){return function(val){_90[val?"set":"remove"](this.domNode,_a1,val);this._set(_a1,val);};};return _8f("dijit._WidgetBase",[_98,_9a],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_a0("lang"),dir:"",_setDirAttr:_a0("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_8d.blankGif||_8a.toUrl("dojo/resources/blank.gif"),postscript:function(_a2,_a3){this.create(_a2,_a3);},create:function(_a4,_a5){this.srcNodeRef=dom.byId(_a5);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_a4){this.params=_a4;_96.mixin(this,_a4);}this.postMixInProperties();if(!this.id){this.id=_9b.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_9b.add(this);this.buildRendering();var _a6;if(this.domNode){this._applyAttributes();var _a7=this.srcNodeRef;if(_a7&&_a7.parentNode&&this.domNode!==_a7){_a7.parentNode.replaceChild(this.domNode,_a7);_a6=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_a6){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _a8=this.constructor,_a9=_a8._setterAttrs;if(!_a9){_a9=(_a8._setterAttrs=[]);for(var _aa in this.attributeMap){_a9.push(_aa);}var _ab=_a8.prototype;for(var _ac in _ab){if(_ac in this.attributeMap){continue;}var _ad="_set"+_ac.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_ad in _ab){_a9.push(_ac);}}}var _ae={};for(var key in this.params||{}){_ae[key]=this[key];}_8b.forEach(_a9,function(_af){if(_af in _ae){}else{if(this[_af]){this.set(_af,this[_af]);}}},this);for(key in _ae){this.set(key,_ae[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _b0=this.baseClass.split(" ");if(!this.isLeftToRight()){_b0=_b0.concat(_8b.map(_b0,function(_b1){return _b1+"Rtl";}));}_91.add(this.domNode,_b0);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_8b.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_96.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_b2){this._beingDestroyed=true;this.destroyDescendants(_b2);this.destroy(_b2);},destroy:function(_b3){this._beingDestroyed=true;this.uninitialize();function _b4(w){if(w.destroyRecursive){w.destroyRecursive(_b3);}else{if(w.destroy){w.destroy(_b3);}}};_8b.forEach(this._connects,_96.hitch(this,"disconnect"));_8b.forEach(this._supportingWidgets,_b4);if(this.domNode){_8b.forEach(_9b.findWidgets(this.domNode,this.containerNode),_b4);}this.destroyRendering(_b3);_9b.remove(this.id);this._destroyed=true;},destroyRendering:function(_b5){if(this.bgIframe){this.bgIframe.destroy(_b5);delete this.bgIframe;}if(this.domNode){if(_b5){_90.remove(this.domNode,"widgetId");}else{_92.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_b5){_92.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_b6){_8b.forEach(this.getChildren(),function(_b7){if(_b7.destroyRecursive){_b7.destroyRecursive(_b6);}});},uninitialize:function(){return false;},_setStyleAttr:function(_b8){var _b9=this.domNode;if(_96.isObject(_b8)){_94.set(_b9,_b8);}else{if(_b9.style.cssText){_b9.style.cssText+="; "+_b8;}else{_b9.style.cssText=_b8;}}this._set("style",_b8);},_attrToDom:function(_ba,_bb,_bc){_bc=arguments.length>=3?_bc:this.attributeMap[_ba];_8b.forEach(_96.isArray(_bc)?_bc:[_bc],function(_bd){var _be=this[_bd.node||_bd||"domNode"];var _bf=_bd.type||"attribute";switch(_bf){case "attribute":if(_96.isFunction(_bb)){_bb=_96.hitch(this,_bb);}var _c0=_bd.attribute?_bd.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_ba)?_ba.toLowerCase():_ba);if(_be.tagName){_90.set(_be,_c0,_bb);}else{_be.set(_c0,_bb);}break;case "innerText":_be.innerHTML="";_be.appendChild(this.ownerDocument.createTextNode(_bb));break;case "innerHTML":_be.innerHTML=_bb;break;case "class":_91.replace(_be,_bb,this[_ba]);break;}},this);},get:function(_c1){var _c2=this._getAttrNames(_c1);return this[_c2.g]?this[_c2.g]():this[_c1];},set:function(_c3,_c4){if(typeof _c3==="object"){for(var x in _c3){this.set(x,_c3[x]);}return this;}var _c5=this._getAttrNames(_c3),_c6=this[_c5.s];if(_96.isFunction(_c6)){var _c7=_c6.apply(this,Array.prototype.slice.call(arguments,1));}else{var _c8=this.focusNode&&!_96.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_c8].tagName,_c9=_9d[tag]||(_9d[tag]=_9e(this[_c8])),map=_c3 in this.attributeMap?this.attributeMap[_c3]:_c5.s in this?this[_c5.s]:((_c5.l in _c9&&typeof _c4!="function")||/^aria-|^data-|^role$/.test(_c3))?_c8:null;if(map!=null){this._attrToDom(_c3,_c4,map);}this._set(_c3,_c4);}return _c7||this;},_attrPairNames:{},_getAttrNames:function(_ca){var apn=this._attrPairNames;if(apn[_ca]){return apn[_ca];}var uc=_ca.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_ca]={n:_ca+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_cb,_cc){var _cd=this[_cb];this[_cb]=_cc;if(this._created&&_cc!==_cd){if(this._watchCallbacks){this._watchCallbacks(_cb,_cd,_cc);}this.emit("attrmodified-"+_cb,{detail:{prevValue:_cd,newValue:_cc}});}},emit:function(_ce,_cf,_d0){_cf=_cf||{};if(_cf.bubbles===undefined){_cf.bubbles=true;}if(_cf.cancelable===undefined){_cf.cancelable=true;}if(!_cf.detail){_cf.detail={};}_cf.detail.widget=this;var ret,_d1=this["on"+_ce];if(_d1){ret=_d1.apply(this,_d0?_d0:[_cf]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,_ce.toLowerCase(),_cf);}return ret;},on:function(_d2,_d3){var _d4=this._onMap(_d2);if(_d4){return _8c.after(this,_d4,_d3,true);}return this.own(on(this.domNode,_d2,_d3))[0];},_onMap:function(_d5){var _d6=this.constructor,map=_d6._onMap;if(!map){map=(_d6._onMap={});for(var _d7 in _d6.prototype){if(/^on/.test(_d7)){map[_d7.replace(/^on/,"").toLowerCase()]=_d7;}}}return map[typeof _d5=="string"&&_d5.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_9b.findWidgets(this.containerNode):[];},getParent:function(){return _9b.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_d8,_d9){return this.own(_8e.connect(obj,_d8,this,_d9))[0];},disconnect:function(_da){_da.remove();},subscribe:function(t,_db){return this.own(_99.subscribe(t,_96.hitch(this,_db)))[0];},unsubscribe:function(_dc){_dc.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_93.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_94.get(this.domNode,"display")!="none");},placeAt:function(_dd,_de){var _df=!_dd.tagName&&_9b.byId(_dd);if(_df&&_df.addChild&&(!_de||typeof _de==="number")){_df.addChild(this,_de);}else{var ref=_df?(_df.containerNode&&!/after|before|replace/.test(_de||"")?_df.containerNode:_df.domNode):dom.byId(_dd,this.ownerDocument);_92.place(this.domNode,ref,_de);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(_e0,_e1){return _e1;},applyTextDir:function(){},defer:function(fcn,_e2){var _e3=setTimeout(_96.hitch(this,function(){_e3=null;if(!this._destroyed){_96.hitch(this,fcn)();}}),_e2||0);return {remove:function(){if(_e3){clearTimeout(_e3);_e3=null;}return null;}};}});});},"dijit/_base":function(){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_e4){return _e4._base;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(_e5,_e6,dom,on,has,_e7,_e8,win){var _e9=has("touch");var _ea=false;if(has("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));_ea=os<5;}var _eb;function _ec(_ed,_ee){if(_e9){return function(_ef,_f0){var _f1=on(_ef,_ee,_f0),_f2=on(_ef,_ed,function(evt){if(!_eb||(new Date()).getTime()>_eb+1000){_f0.call(this,evt);}});return {remove:function(){_f1.remove();_f2.remove();}};};}else{return function(_f3,_f4){return on(_f3,_ed,_f4);};}};var _f5,_f6;if(_e9){_e8(function(){_f6=win.body();win.doc.addEventListener("touchstart",function(evt){_eb=(new Date()).getTime();var _f7=_f6;_f6=evt.target;on.emit(_f7,"dojotouchout",{target:_f7,relatedTarget:_f6,bubbles:true});on.emit(_f6,"dojotouchover",{target:_f6,relatedTarget:_f7,bubbles:true});},true);on(win.doc,"touchmove",function(evt){_eb=(new Date()).getTime();var _f8=win.doc.elementFromPoint(evt.pageX-(_ea?0:win.global.pageXOffset),evt.pageY-(_ea?0:win.global.pageYOffset));if(_f8&&_f6!==_f8){on.emit(_f6,"dojotouchout",{target:_f6,relatedTarget:_f8,bubbles:true});on.emit(_f8,"dojotouchover",{target:_f8,relatedTarget:_f6,bubbles:true});_f6=_f8;}});});_f5=function(_f9,_fa){return on(win.doc,"touchmove",function(evt){if(_f9===win.doc||dom.isDescendant(_f6,_f9)){evt.target=_f6;_fa.call(this,evt);}});};}var _fb={press:_ec("mousedown","touchstart"),move:_ec("mousemove",_f5),release:_ec("mouseup","touchend"),cancel:_ec(_e7.leave,"touchcancel"),over:_ec("mouseover","dojotouchover"),out:_ec("mouseout","dojotouchout"),enter:_e7._eventHandler(_ec("mouseover","dojotouchover")),leave:_e7._eventHandler(_ec("mouseout","dojotouchout"))};1&&(_e5.touch=_fb);return _fb;});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_fc,_fd,_fe,has,_ff){return _fc("dijit.form._FormValueMixin",_ff,{readOnly:false,_setReadOnlyAttr:function(_100){_fd.set(this.focusNode,"readOnly",_100);this._set("readOnly",_100);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_101,_102){this._handleOnChange(_101,_102);},_handleOnChange:function(_103,_104){this._set("value",_103);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==_fe.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var node=e.srcElement,te=node.ownerDocument.createEventObject();te.keyCode=_fe.ESCAPE;te.shiftKey=e.shiftKey;node.fireEvent("onkeypress",te);}}}});});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_105,lang,_106,when){return _105("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_107){if(_107){this.set(_107);}},_get:function(name,_108){return typeof this[_108.g]==="function"?this[_108.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_109){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _10a=this._getAttrNames(name),_10b=this._get(name,_10a),_10c=this[_10a.s],_10d;if(typeof _10c==="function"){_10d=_10c.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_109;}if(this._watchCallbacks){var self=this;when(_10d,function(){self._watchCallbacks(name,_10b,_109);});}return this;},_changeAttrValue:function(name,_10e){var _10f=this.get(name);this[name]=_10e;if(this._watchCallbacks){this._watchCallbacks(name,_10f,_10e);}return this;},watch:function(name,_110){var _111=this._watchCallbacks;if(!_111){var self=this;_111=this._watchCallbacks=function(name,_112,_113,_114){var _115=function(_116){if(_116){_116=_116.slice();for(var i=0,l=_116.length;i-1){_117.splice(_119,1);}};return _118;}});});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_11a,_11b,dom,_11c,has,lang,on,_11d,win,_11e){var _11f=_11b("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_11a.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_120){if(!this.disabled){switch(_120.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _121=this.baseClass.split(" ");function _122(_123){_121=_121.concat(_11a.map(_121,function(c){return c+_123;}),"dijit"+_123);};if(!this.isLeftToRight()){_122("Rtl");}var _124=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_122(_124);}if(this.state){_122(this.state);}if(this.selected){_122("Selected");}if(this._opened){_122("Opened");}if(this.disabled){_122("Disabled");}else{if(this.readOnly){_122("ReadOnly");}else{if(this.active){_122("Active");}else{if(this.hovering){_122("Hover");}}}}if(this.focused){_122("Focused");}var tn=this.stateNode||this.domNode,_125={};_11a.forEach(tn.className.split(" "),function(c){_125[c]=true;});if("_stateClasses" in this){_11a.forEach(this._stateClasses,function(c){delete _125[c];});}_11a.forEach(_121,function(c){_125[c]=true;});var _126=[];for(var c in _125){_126.push(c);}tn.className=_126.join(" ");this._stateClasses=_121;},_subnodeCssMouseEvent:function(node,_127,evt){if(this.disabled||this.readOnly){return;}function _128(_129){_11c.toggle(node,_127+"Hover",_129);};function _12a(_12b){_11c.toggle(node,_127+"Active",_12b);};function _12c(_12d){_11c.toggle(node,_127+"Focused",_12d);};switch(evt.type){case "mouseover":_128(true);break;case "mouseout":_128(false);_12a(false);break;case "mousedown":case "touchstart":_12a(true);break;case "mouseup":case "touchend":_12a(false);break;case "focus":case "focusin":_12c(true);break;case "blur":case "focusout":_12c(false);break;}},_trackMouseState:function(node,_12e){node._cssState=_12e;}});_11d(function(){function _12f(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var node=evt.target;node&&node!=evt.relatedTarget;node=node.parentNode){if(node._cssState){var _130=_11e.getEnclosingWidget(node);if(_130){if(node==_130.domNode){_130._cssMouseEvent(evt);}else{_130._subnodeCssMouseEvent(node,node._cssState,evt);}}}}}};function _131(evt){evt.target=evt.srcElement;_12f(evt);};var body=win.body(),_132=(has("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);_11a.forEach(_132,function(type){if(body.addEventListener){body.addEventListener(type,_12f,true);}else{body.attachEvent("on"+type,_131);}});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _133=_11e.getEnclosingWidget(node);_133._subnodeCssMouseEvent(node,node._cssState,evt);}});});return _11f;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_134,_135,lang,_136,_137){var _138={};_134.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_138[name]=_136[name];});lang.mixin(_138,{defaultDuration:_135["defaultDuration"]||200});lang.mixin(_137,_138);return _137;});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_139,_13a,_13b,_13c,_13d,lang,on,has,win){has.add("bgIframe",has("ie")||has("mozilla"));var _13e=new function(){var _13f=[];this.pop=function(){var _140;if(_13f.length){_140=_13f.pop();_140.style.display="";}else{if(has("ie")<9){var burl=_13b["dojoBlankHtmlUrl"]||_139.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="