/usr/share/javascript/dijit/dijit.js is in libjs-dojo-dijit 1.7.2+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
/*
This is an optimized version of Dojo, built for deployment and not for
development. To get sources and documentation, please visit:
http://dojotoolkit.org
*/
//>>built
require({cache:{"dijit/main":function(){define(["dojo/_base/kernel"],function(_1){return _1.dijit;});},"dijit/_base":function(){define("dijit/_base",[".","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_2){return _2._base;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/sniff","./_base/manager","."],function(_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=(_b._isElementShown=function(_d){var s=_8.get(_d);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_7.get(_d,"type")!="hidden");});_b.hasDefaultTabStop=function(_e){switch(_e.nodeName.toLowerCase()){case "a":return _7.has(_e,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _f;try{var _10=_e.contentDocument;if("designMode" in _10&&_10.designMode=="on"){return true;}_f=_10.body;}catch(e1){try{_f=_e.contentWindow.document.body;}catch(e2){return false;}}return _f&&(_f.contentEditable=="true"||(_f.firstChild&&_f.firstChild.contentEditable=="true"));default:return _e.contentEditable=="true";}};var _11=(_b.isTabNavigable=function(_12){if(_7.get(_12,"disabled")){return false;}else{if(_7.has(_12,"tabIndex")){return _7.get(_12,"tabIndex")>=0;}else{return _b.hasDefaultTabStop(_12);}}});_b._getTabNavigable=function(_13){var _14,_15,_16,_17,_18,_19,_1a={};function _1b(_1c){return _1c&&_1c.tagName.toLowerCase()=="input"&&_1c.type&&_1c.type.toLowerCase()=="radio"&&_1c.name&&_1c.name.toLowerCase();};var _1d=function(_1e){for(var _1f=_1e.firstChild;_1f;_1f=_1f.nextSibling){if(_1f.nodeType!=1||(_9("ie")&&_1f.scopeName!=="HTML")||!_c(_1f)){continue;}if(_11(_1f)){var _20=_7.get(_1f,"tabIndex");if(!_7.has(_1f,"tabIndex")||_20==0){if(!_14){_14=_1f;}_15=_1f;}else{if(_20>0){if(!_16||_20<_17){_17=_20;_16=_1f;}if(!_18||_20>=_19){_19=_20;_18=_1f;}}}var rn=_1b(_1f);if(_7.get(_1f,"checked")&&rn){_1a[rn]=_1f;}}if(_1f.nodeName.toUpperCase()!="SELECT"){_1d(_1f);}}};if(_c(_13)){_1d(_13);}function rs(_21){return _1a[_1b(_21)]||_21;};return {first:rs(_14),last:rs(_15),lowest:rs(_16),highest:rs(_18)};};_b.getFirstInTabbingOrder=function(_22){var _23=_b._getTabNavigable(_6.byId(_22));return _23.lowest?_23.lowest:_23.first;};_b.getLastInTabbingOrder=function(_24){var _25=_b._getTabNavigable(_6.byId(_24));return _25.last?_25.last:_25.highest;};return {hasDefaultTabStop:_b.hasDefaultTabStop,isTabNavigable:_b.isTabNavigable,_getTabNavigable:_b._getTabNavigable,getFirstInTabbingOrder:_b.getFirstInTabbingOrder,getLastInTabbingOrder:_b.getLastInTabbingOrder};});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","../registry",".."],function(_26,_27,_28,_29){_26.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(_2a){_29[_2a]=_28[_2a];});_29.defaultDuration=_27["defaultDuration"]||200;return _29;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_2b,has,_2c,win,_2d){var _2e={},_2f={};var _30={length:0,add:function(_31){if(_2f[_31.id]){throw new Error("Tried to register widget with id=="+_31.id+" but that id is already registered");}_2f[_31.id]=_31;this.length++;},remove:function(id){if(_2f[id]){delete _2f[id];this.length--;}},byId:function(id){return typeof id=="string"?_2f[id]:id;},byNode:function(_32){return _2f[_32.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _2f){ar.push(_2f[id]);}return ar;},getUniqueId:function(_33){var id;do{id=_33+"_"+(_33 in _2e?++_2e[_33]:_2e[_33]=0);}while(_2f[id]);return _2d._scopeName=="dijit"?id:_2d._scopeName+"_"+id;},findWidgets:function(_34){var _35=[];function _36(_37){for(var _38=_37.firstChild;_38;_38=_38.nextSibling){if(_38.nodeType==1){var _39=_38.getAttribute("widgetId");if(_39){var _3a=_2f[_39];if(_3a){_35.push(_3a);}}else{_36(_38);}}}};_36(_34);return _35;},_destroyAll:function(){_2d._curFocus=null;_2d._prevFocus=null;_2d._activeStack=[];_2b.forEach(_30.findWidgets(win.body()),function(_3b){if(!_3b._destroyed){if(_3b.destroyRecursive){_3b.destroyRecursive();}else{if(_3b.destroy){_3b.destroy();}}}});},getEnclosingWidget:function(_3c){while(_3c){var id=_3c.getAttribute&&_3c.getAttribute("widgetId");if(id){return _2f[id];}_3c=_3c.parentNode;}return null;},_hash:_2f};if(has("ie")){_2c.addOnWindowUnload(function(){_30._destroyAll();});}_2d.registry=_30;return _30;});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/window","./registry"],function(_3d,_3e,win,_3f){var _40=_3e("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_41){if(this._hash[_41.id]){throw new Error("Tried to register widget with id=="+_41.id+" but that id is already registered");}this._hash[_41.id]=_41;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_42,_43){_43=_43||win.global;var i=0,id;for(id in this._hash){_42.call(_43,this._hash[id],i++,this._hash);}return this;},filter:function(_44,_45){_45=_45||win.global;var res=new _40(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_44.call(_45,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _40(),id,_46;for(id in this._hash){_46=this._hash[id];if(_46.declaredClass==cls){res.add(_46);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_47,_48){return _3d.map(this.toArray(),_47,_48);},every:function(_49,_4a){_4a=_4a||win.global;var x=0,i;for(i in this._hash){if(!_49.call(_4a,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_4b,_4c){_4c=_4c||win.global;var x=0,i;for(i in this._hash){if(_4b.call(_4c,this._hash[i],x++,this._hash)){return true;}}return false;}});_3d.forEach(["forEach","filter","byClass","map","every","some"],function(_4d){_3f[_4d]=_40.prototype[_4d];});return _40;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus",".."],function(_4e,dom,_4f,_50,win,_51,_52){_4f.mixin(_52,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return _52.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_51.curNode;if(win.global.getSelection){sel=win.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_53){var _54=win.doc,_55=_53.mark;if(_55){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(_55.pRange){var n=_55.node;n.selectionStart=_55.start;n.selectionEnd=_55.end;}else{sel.removeAllRanges();sel.addRange(_55);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_54.selection&&_55){var rg;if(_55.pRange){rg=_55.range;}else{if(_4f.isArray(_55)){rg=_54.body.createControlRange();_4e.forEach(_55,function(n){rg.addElement(n);});}else{rg=_54.body.createTextRange();rg.moveToBookmark(_55);}}rg.select();}}}},getFocus:function(_56,_57){var _58=!_51.curNode||(_56&&dom.isDescendant(_51.curNode,_56.domNode))?_52._prevFocus:_51.curNode;return {node:_58,bookmark:_58&&(_58==_51.curNode)&&win.withGlobal(_57||win.global,_52.getBookmark),openedForWindow:_57};},_activeStack:[],registerIframe:function(_59){return _51.registerIframe(_59);},unregisterIframe:function(_5a){_5a&&_5a.remove();},registerWin:function(_5b,_5c){return _51.registerWin(_5b,_5c);},unregisterWin:function(_5d){_5d&&_5d.remove();}});_51.focus=function(_5e){if(!_5e){return;}var _5f="node" in _5e?_5e.node:_5e,_60=_5e.bookmark,_61=_5e.openedForWindow,_62=_60?_60.isCollapsed:false;if(_5f){var _63=(_5f.tagName.toLowerCase()=="iframe")?_5f.contentWindow:_5f;if(_63&&_63.focus){try{_63.focus();}catch(e){}}_51._onFocusNode(_5f);}if(_60&&win.withGlobal(_61||win.global,_52.isCollapsed)&&!_62){if(_61){_61.focus();}try{win.withGlobal(_61||win.global,_52.moveToBookmark,null,[_60]);}catch(e2){}}};_51.watch("curNode",function(_64,_65,_66){_52._curFocus=_66;_52._prevFocus=_65;if(_66){_50.publish("focusNode",_66);}});_51.watch("activeStack",function(_67,_68,_69){_52._activeStack=_69;});_51.on("widget-blur",function(_6a,by){_50.publish("widgetBlur",_6a,by);});_51.on("widget-focus",function(_6b,by){_50.publish("widgetFocus",_6b,by);});return _52;});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","."],function(_6c,_6d,dom,_6e,_6f,_70,_71,on,_72,has,_73,_74,win,_75,_76,_77,_78){var _79=_6d([_73,_70],{curNode:null,activeStack:[],constructor:function(){var _7a=_71.hitch(this,function(_7b){if(dom.isDescendant(this.curNode,_7b)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,_7b)){this.set("prevNode",null);}});_6c.before(_6f,"empty",_7a);_6c.before(_6f,"destroy",_7a);},registerIframe:function(_7c){return this.registerWin(_7c.contentWindow,_7c);},registerWin:function(_7d,_7e){var _7f=this;var _80=function(evt){_7f._justMouseDowned=true;setTimeout(function(){_7f._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_7f._onTouchNode(_7e||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_7d.document.documentElement:_7d.document;if(doc){if(has("ie")){_7d.document.body.attachEvent("onmousedown",_80);var _81=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(_76.isTabNavigable(evt.srcElement)){_7f._onFocusNode(_7e||evt.srcElement);}else{_7f._onTouchNode(_7e||evt.srcElement);}};doc.attachEvent("onactivate",_81);var _82=function(evt){_7f._onBlurNode(_7e||evt.srcElement);};doc.attachEvent("ondeactivate",_82);return {remove:function(){_7d.document.detachEvent("onmousedown",_80);doc.detachEvent("onactivate",_81);doc.detachEvent("ondeactivate",_82);doc=null;}};}else{doc.body.addEventListener("mousedown",_80,true);doc.body.addEventListener("touchstart",_80,true);var _83=function(evt){_7f._onFocusNode(_7e||evt.target);};doc.addEventListener("focus",_83,true);var _84=function(evt){_7f._onBlurNode(_7e||evt.target);};doc.addEventListener("blur",_84,true);return {remove:function(){doc.body.removeEventListener("mousedown",_80,true);doc.body.removeEventListener("touchstart",_80,true);doc.removeEventListener("focus",_83,true);doc.removeEventListener("blur",_84,true);doc=null;}};}}},_onBlurNode:function(){this.set("prevNode",this.curNode);this.set("curNode",null);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(_71.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);this.prevNode=null;}),100);},_onTouchNode:function(_85,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _86=[];try{while(_85){var _87=_6e.get(_85,"dijitPopupParent");if(_87){_85=_77.byId(_87).domNode;}else{if(_85.tagName&&_85.tagName.toLowerCase()=="body"){if(_85===win.body()){break;}_85=_75.get(_85.ownerDocument).frameElement;}else{var id=_85.getAttribute&&_85.getAttribute("widgetId"),_88=id&&_77.byId(id);if(_88&&!(by=="mouse"&&_88.get("disabled"))){_86.unshift(id);}_85=_85.parentNode;}}}}catch(e){}this._setStack(_86,by);},_onFocusNode:function(_89){if(!_89){return;}if(_89.nodeType==9){return;}this._onTouchNode(_89);if(_89==this.curNode){return;}this.set("curNode",_89);},_setStack:function(_8a,by){var _8b=this.activeStack;this.set("activeStack",_8a);for(var _8c=0;_8c<Math.min(_8b.length,_8a.length);_8c++){if(_8b[_8c]!=_8a[_8c]){break;}}var _8d;for(var i=_8b.length-1;i>=_8c;i--){_8d=_77.byId(_8b[i]);if(_8d){_8d._hasBeenBlurred=true;_8d.set("focused",false);if(_8d._focusManager==this){_8d._onBlur(by);}this.emit("widget-blur",_8d,by);}}for(i=_8c;i<_8a.length;i++){_8d=_77.byId(_8a[i]);if(_8d){_8d.set("focused",true);if(_8d._focusManager==this){_8d._onFocus(by);}this.emit("widget-focus",_8d,by);}}},focus:function(_8e){if(_8e){try{_8e.focus();}catch(e){}}}});var _8f=new _79();_72(function(){var _90=_8f.registerWin(win.doc.parentWindow||win.doc.defaultView);if(has("ie")){_74.addOnWindowUnload(function(){_90.remove();_90=null;});}});_78.focus=function(_91){_8f.focus(_91);};for(var _92 in _8f){if(!/^_/.test(_92)){_78.focus[_92]=typeof _8f[_92]=="function"?_71.hitch(_8f,_92):_8f[_92];}}_8f.watch(function(_93,_94,_95){_78.focus[_93]=_95;});return _8f;});},"dojo/Stateful":function(){define(["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(_96,_97,_98,_99){return _96.declare("dojo.Stateful",null,{postscript:function(_9a){if(_9a){_98.mixin(this,_9a);}},get:function(_9b){return this[_9b];},set:function(_9c,_9d){if(typeof _9c==="object"){for(var x in _9c){this.set(x,_9c[x]);}return this;}var _9e=this[_9c];this[_9c]=_9d;if(this._watchCallbacks){this._watchCallbacks(_9c,_9e,_9d);}return this;},watch:function(_9f,_a0){var _a1=this._watchCallbacks;if(!_a1){var _a2=this;_a1=this._watchCallbacks=function(_a3,_a4,_a5,_a6){var _a7=function(_a8){if(_a8){_a8=_a8.slice();for(var i=0,l=_a8.length;i<l;i++){try{_a8[i].call(_a2,_a3,_a4,_a5);}catch(e){console.error(e);}}}};_a7(_a1["_"+_a3]);if(!_a6){_a7(_a1["*"]);}};}if(!_a0&&typeof _9f==="function"){_a0=_9f;_9f="*";}else{_9f="_"+_9f;}var _a9=_a1[_9f];if(typeof _a9!=="object"){_a9=_a1[_9f]=[];}_a9.push(_a0);return {unwatch:function(){_a9.splice(_99.indexOf(_a9,_a0),1);}};}});});},"dojo/window":function(){define(["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(_aa,has,_ab,dom,_ac,_ad){var _ae=_aa.getObject("dojo.window",true);_ae.getBox=function(){var _af=(_ab.doc.compatMode=="BackCompat")?_ab.body():_ab.doc.documentElement,_b0=_ac.docScroll(),w,h;if(has("touch")){var _b1=_ab.doc.parentWindow||_ab.doc.defaultView;w=_b1.innerWidth||_af.clientWidth;h=_b1.innerHeight||_af.clientHeight;}else{w=_af.clientWidth;h=_af.clientHeight;}return {l:_b0.x,t:_b0.y,w:w,h:h};};_ae.get=function(doc){if(has("ie")&&_ae!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_ae.scrollIntoView=function(_b2,pos){try{_b2=dom.byId(_b2);var doc=_b2.ownerDocument||_ab.doc,_b3=doc.body||_ab.body(),_b4=doc.documentElement||_b3.parentNode,_b5=has("ie"),_b6=has("webkit");if((!(has("mozilla")||_b5||_b6||has("opera"))||_b2==_b3||_b2==_b4)&&(typeof _b2.scrollIntoView!="undefined")){_b2.scrollIntoView(false);return;}var _b7=doc.compatMode=="BackCompat",_b8=(_b5>=9&&_b2.ownerDocument.parentWindow.frameElement)?((_b4.clientHeight>0&&_b4.clientWidth>0&&(_b3.clientHeight==0||_b3.clientWidth==0||_b3.clientHeight>_b4.clientHeight||_b3.clientWidth>_b4.clientWidth))?_b4:_b3):(_b7?_b3:_b4),_b9=_b6?_b3:_b8,_ba=_b8.clientWidth,_bb=_b8.clientHeight,rtl=!_ac.isBodyLtr(),_bc=pos||_ac.position(_b2),el=_b2.parentNode,_bd=function(el){return ((_b5<=6||(_b5&&_b7))?false:(_ad.get(el,"position").toLowerCase()=="fixed"));};if(_bd(_b2)){return;}while(el){if(el==_b3){el=_b9;}var _be=_ac.position(el),_bf=_bd(el);if(el==_b9){_be.w=_ba;_be.h=_bb;if(_b9==_b4&&_b5&&rtl){_be.x+=_b9.offsetWidth-_be.w;}if(_be.x<0||!_b5){_be.x=0;}if(_be.y<0||!_b5){_be.y=0;}}else{var pb=_ac.getPadBorderExtents(el);_be.w-=pb.w;_be.h-=pb.h;_be.x+=pb.l;_be.y+=pb.t;var _c0=el.clientWidth,_c1=_be.w-_c0;if(_c0>0&&_c1>0){_be.w=_c0;_be.x+=(rtl&&(_b5||el.clientLeft>pb.l))?_c1:0;}_c0=el.clientHeight;_c1=_be.h-_c0;if(_c0>0&&_c1>0){_be.h=_c0;}}if(_bf){if(_be.y<0){_be.h+=_be.y;_be.y=0;}if(_be.x<0){_be.w+=_be.x;_be.x=0;}if(_be.y+_be.h>_bb){_be.h=_bb-_be.y;}if(_be.x+_be.w>_ba){_be.w=_ba-_be.x;}}var l=_bc.x-_be.x,t=_bc.y-Math.max(_be.y,0),r=l+_bc.w-_be.w,bot=t+_bc.h-_be.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((_b5==8&&!_b7)||_b5>=9)){s=-s;}_bc.x+=el.scrollLeft;el.scrollLeft+=s;_bc.x-=el.scrollLeft;}if(bot*t>0){_bc.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_bc.y-=el.scrollTop;}el=(el!=_b9)&&!_bf&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_b2.scrollIntoView(false);}};return _ae;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place",".."],function(_c2,_c3,_c4,_c5,_c6){_c6.getViewport=function(){return _c4.getBox();};_c6.placeOnScreen=_c5.at;_c6.placeOnScreenAroundElement=function(_c7,_c8,_c9,_ca){var _cb;if(_c3.isArray(_c9)){_cb=_c9;}else{_cb=[];for(var key in _c9){_cb.push({aroundCorner:key,corner:_c9[key]});}}return _c5.around(_c7,_c8,_cb,true,_ca);};_c6.placeOnScreenAroundNode=_c6.placeOnScreenAroundElement;_c6.placeOnScreenAroundRectangle=_c6.placeOnScreenAroundElement;_c6.getPopupAroundAlignment=function(_cc,_cd){var _ce={};_c2.forEach(_cc,function(pos){var ltr=_cd;switch(pos){case "after":_ce[_cd?"BR":"BL"]=_cd?"BL":"BR";break;case "before":_ce[_cd?"BL":"BR"]=_cd?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_ce[ltr?"BL":"BR"]=ltr?"TL":"TR";_ce[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_ce[ltr?"TL":"TR"]=ltr?"BL":"BR";_ce[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _ce;};return _c6;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","."],function(_cf,_d0,_d1,_d2,win,_d3,_d4){function _d5(_d6,_d7,_d8,_d9){var _da=_d3.getBox();if(!_d6.parentNode||String(_d6.parentNode.tagName).toLowerCase()!="body"){win.body().appendChild(_d6);}var _db=null;_cf.some(_d7,function(_dc){var _dd=_dc.corner;var pos=_dc.pos;var _de=0;var _df={w:{"L":_da.l+_da.w-pos.x,"R":pos.x-_da.l,"M":_da.w}[_dd.charAt(1)],h:{"T":_da.t+_da.h-pos.y,"B":pos.y-_da.t,"M":_da.h}[_dd.charAt(0)]};if(_d8){var res=_d8(_d6,_dc.aroundCorner,_dd,_df,_d9);_de=typeof res=="undefined"?0:res;}var _e0=_d6.style;var _e1=_e0.display;var _e2=_e0.visibility;if(_e0.display=="none"){_e0.visibility="hidden";_e0.display="";}var mb=_d0.getMarginBox(_d6);_e0.display=_e1;_e0.visibility=_e2;var _e3={"L":pos.x,"R":pos.x-mb.w,"M":Math.max(_da.l,Math.min(_da.l+_da.w,pos.x+(mb.w>>1))-mb.w)}[_dd.charAt(1)],_e4={"T":pos.y,"B":pos.y-mb.h,"M":Math.max(_da.t,Math.min(_da.t+_da.h,pos.y+(mb.h>>1))-mb.h)}[_dd.charAt(0)],_e5=Math.max(_da.l,_e3),_e6=Math.max(_da.t,_e4),_e7=Math.min(_da.l+_da.w,_e3+mb.w),_e8=Math.min(_da.t+_da.h,_e4+mb.h),_e9=_e7-_e5,_ea=_e8-_e6;_de+=(mb.w-_e9)+(mb.h-_ea);if(_db==null||_de<_db.overflow){_db={corner:_dd,aroundCorner:_dc.aroundCorner,x:_e5,y:_e6,w:_e9,h:_ea,overflow:_de,spaceAvailable:_df};}return !_de;});if(_db.overflow&&_d8){_d8(_d6,_db.aroundCorner,_db.corner,_db.spaceAvailable,_d9);}var l=_d0.isBodyLtr(),s=_d6.style;s.top=_db.y+"px";s[l?"left":"right"]=(l?_db.x:_da.w-_db.x-_db.w)+"px";s[l?"right":"left"]="auto";return _db;};return (_d4.place={at:function(_eb,pos,_ec,_ed){var _ee=_cf.map(_ec,function(_ef){var c={corner:_ef,pos:{x:pos.x,y:pos.y}};if(_ed){c.pos.x+=_ef.charAt(1)=="L"?_ed.x:-_ed.x;c.pos.y+=_ef.charAt(0)=="T"?_ed.y:-_ed.y;}return c;});return _d5(_eb,_ee);},around:function(_f0,_f1,_f2,_f3,_f4){var _f5=(typeof _f1=="string"||"offsetWidth" in _f1)?_d0.position(_f1,true):_f1;if(_f1.parentNode){var _f6=_f1.parentNode;while(_f6&&_f6.nodeType==1&&_f6.nodeName!="BODY"){var _f7=_d0.position(_f6,true);var _f8=_d1.getComputedStyle(_f6).overflow;if(_f8=="hidden"||_f8=="auto"||_f8=="scroll"){var _f9=Math.min(_f5.y+_f5.h,_f7.y+_f7.h);var _fa=Math.min(_f5.x+_f5.w,_f7.x+_f7.w);_f5.x=Math.max(_f5.x,_f7.x);_f5.y=Math.max(_f5.y,_f7.y);_f5.h=_f9-_f5.y;_f5.w=_fa-_f5.x;}_f6=_f6.parentNode;}}var x=_f5.x,y=_f5.y,_fb="w" in _f5?_f5.w:(_f5.w=_f5.width),_fc="h" in _f5?_f5.h:(_d2.deprecated("place.around: dijit.place.__Rectangle: { x:"+x+", y:"+y+", height:"+_f5.height+", width:"+_fb+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_f5.height+", w:"+_fb+" }","","2.0"),_f5.h=_f5.height);var _fd=[];function _fe(_ff,_100){_fd.push({aroundCorner:_ff,corner:_100,pos:{x:{"L":x,"R":x+_fb,"M":x+(_fb>>1)}[_ff.charAt(1)],y:{"T":y,"B":y+_fc,"M":y+(_fc>>1)}[_ff.charAt(0)]}});};_cf.forEach(_f2,function(pos){var ltr=_f3;switch(pos){case "above-centered":_fe("TM","BM");break;case "below-centered":_fe("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_fe(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_fe(ltr?"TL":"TR",ltr?"TR":"TL");_fe(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_fe(ltr?"BL":"BR",ltr?"TL":"TR");_fe(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_fe(ltr?"TL":"TR",ltr?"BL":"BR");_fe(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_fe(pos.aroundCorner,pos.corner);}});var _101=_d5(_f0,_fd,_f4,{w:_fb,h:_fc});_101.aroundNodePos=_f5;return _101;}});});},"dijit/_base/popup":function(){define(["dojo/dom-class","../popup","../BackgroundIframe"],function(_102,_103){var _104=_103._createWrapper;_103._createWrapper=function(_105){if(!_105.declaredClass){_105={_popupWrapper:(_105.parentNode&&_102.contains(_105.parentNode,"dijitPopup"))?_105.parentNode:null,domNode:_105,destroy:function(){}};}return _104.call(this,_105);};var _106=_103.open;_103.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _106.call(this,args);};return _103;});},"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/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","./place","./BackgroundIframe","."],function(_107,_108,_109,_10a,dom,_10b,_10c,_10d,_10e,_10f,keys,lang,on,has,win,_110,_111,_112){var _113=_10a(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_114){var _115=_114._popupWrapper,node=_114.domNode;if(!_115){_115=_10c.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},win.body());_115.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_114._popupWrapper=_115;_108.after(_114,"destroy",function(){_10c.destroy(_115);delete _114._popupWrapper;});}return _115;},moveOffScreen:function(_116){var _117=this._createWrapper(_116);_10e.set(_117,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_118){var _119=this._createWrapper(_118);_10e.set(_119,"display","none");},getTopPopup:function(){var _11a=this._stack;for(var pi=_11a.length-1;pi>0&&_11a[pi].parent===_11a[pi-1].widget;pi--){}return _11a[pi];},open:function(args){var _11b=this._stack,_11c=args.popup,_11d=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_10d.isBodyLtr(),_11e=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_11b.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_11b[_11b.length-1].widget.domNode))){this.close(_11b[_11b.length-1].widget);}var _11f=this._createWrapper(_11c);_10b.set(_11f,{id:id,style:{zIndex:this._beginZIndex+_11b.length},"class":"dijitPopup "+(_11c.baseClass||_11c["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_11c.bgIframe){_11c.bgIframe=new _111(_11f);}}var best=_11e?_110.around(_11f,_11e,_11d,ltr,_11c.orient?lang.hitch(_11c,"orient"):null):_110.at(_11f,args,_11d=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_11f.style.display="";_11f.style.visibility="visible";_11c.domNode.style.visibility="visible";var _120=[];_120.push(on(_11f,_109._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_10f.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_10f.stop(evt);var _121=this.getTopPopup();if(_121&&_121.onCancel){_121.onCancel();}}}})));if(_11c.onCancel&&args.onCancel){_120.push(_11c.on("cancel",args.onCancel));}_120.push(_11c.on(_11c.onExecute?"execute":"change",lang.hitch(this,function(){var _122=this.getTopPopup();if(_122&&_122.onExecute){_122.onExecute();}})));_11b.push({widget:_11c,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_120});if(_11c.onOpen){_11c.onOpen(best);}return best;},close:function(_123){var _124=this._stack;while((_123&&_107.some(_124,function(elem){return elem.widget==_123;}))||(!_123&&_124.length)){var top=_124.pop(),_125=top.widget,_126=top.onClose;if(_125.onClose){_125.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_125&&_125.domNode){this.hide(_125);}if(_126){_126();}}}});return (_112.popup=new _113());});},"dijit/BackgroundIframe":function(){define(["require",".","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window"],function(_127,_128,_129,_12a,_12b,lang,on,has,win){var _12c=new function(){var _12d=[];this.pop=function(){var _12e;if(_12d.length){_12e=_12d.pop();_12e.style.display="";}else{if(has("ie")<9){var burl=_129["dojoBlankHtmlUrl"]||_127.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_12e=win.doc.createElement(html);}else{_12e=_12a.create("iframe");_12e.src="javascript:\"\"";_12e.className="dijitBackgroundIframe";_12e.setAttribute("role","presentation");_12b.set(_12e,"opacity",0.1);}_12e.tabIndex=-1;}return _12e;};this.push=function(_12f){_12f.style.display="none";_12d.push(_12f);};}();_128.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _130=(this.iframe=_12c.pop());node.appendChild(_130);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_12b.set(_130,{width:"100%",height:"100%"});}}};lang.extend(_128.BackgroundIframe,{resize:function(node){if(this.iframe){_12b.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_12c.push(this.iframe);delete this.iframe;}}});return _128.BackgroundIframe;});},"dijit/_base/scroll":function(){define(["dojo/window",".."],function(_131,_132){_132.scrollIntoView=function(node,pos){_131.scrollIntoView(node,pos);};});},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_133,lang,_134,has,_135){var html=_135.doc.documentElement,ie=has("ie"),_136=has("opera"),maj=Math.floor,ff=has("ff"),_137=_133.boxModel.replace(/-/,""),_138={"dj_ie":ie,"dj_ie6":maj(ie)==6,"dj_ie7":maj(ie)==7,"dj_ie8":maj(ie)==8,"dj_ie9":maj(ie)==9,"dj_quirks":has("quirks"),"dj_iequirks":ie&&has("quirks"),"dj_opera":_136,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ff3":maj(ff)==3};_138["dj_"+_137]=true;var _139="";for(var clz in _138){if(_138[clz]){_139+=clz+" ";}}html.className=lang.trim(html.className+" "+_139);_134(90,function(){if(!_133.isBodyLtr()){var _13a="dj_rtl dijitRtl "+_139.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_13a+"dj_rtl dijitRtl "+_139.replace(/ /g,"-rtl "));}});return has;});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/_base/sniff","."],function(_13b,_13c,_13d,_13e,lang,on,has,_13f){var _140=(_13f.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_141,node,_142,obj,_143,_144,_145){if(obj!=this._obj){this.stop();this._initialDelay=_144||500;this._subsequentDelay=_143||0.9;this._minDelay=_145||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_141,_142);this._fireEventAndReload();this._evt=lang.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_146,_147,_148,_149,_14a,_14b){if(_146.keyCode){_146.charOrCode=_146.keyCode;_13e.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_146.charCode){_146.charOrCode=String.fromCharCode(_146.charCode);_13e.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _14c=[on(node,_13c._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_146.charOrCode&&(_146.ctrlKey===undefined||_146.ctrlKey==evt.ctrlKey)&&(_146.altKey===undefined||_146.altKey==evt.altKey)&&(_146.metaKey===undefined||_146.metaKey==(evt.metaKey||false))&&(_146.shiftKey===undefined||_146.shiftKey==evt.shiftKey)){_13d.stop(evt);_140.trigger(evt,_147,node,_148,_146,_149,_14a,_14b);}else{if(_140._obj==_146){_140.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_140._obj==_146){_140.stop();}}))];return {remove:function(){_13b.forEach(_14c,function(h){h.remove();});}};},addMouseListener:function(node,_14d,_14e,_14f,_150,_151){var _152=[on(node,"mousedown",lang.hitch(this,function(evt){_13d.stop(evt);_140.trigger(evt,_14d,node,_14e,node,_14f,_150,_151);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){_13d.stop(evt);}_140.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){_13d.stop(evt);_140.stop();})),on(node,"mousemove",lang.hitch(this,function(evt){evt.preventDefault();})),on(node,"dblclick",lang.hitch(this,function(evt){_13d.stop(evt);if(has("ie")){_140.trigger(evt,_14d,node,_14e,node,_14f,_150,_151);setTimeout(lang.hitch(this,_140.stop),50);}}))];return {remove:function(){_13b.forEach(_152,function(h){h.remove();});}};},addListener:function(_153,_154,_155,_156,_157,_158,_159,_15a){var _15b=[this.addKeyListener(_154,_155,_156,_157,_158,_159,_15a),this.addMouseListener(_153,_156,_157,_158,_159,_15a)];return {remove:function(){_13b.forEach(_15b,function(h){h.remove();});}};}});return _140;});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","..","../hccss"],function(_15c,lang,_15d){lang.mixin(_15d,{hasWaiRole:function(elem,role){var _15e=this.getWaiRole(elem);return role?(_15e.indexOf(role)>-1):(_15e.length>0);},getWaiRole:function(elem){return lang.trim((_15c.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_15c.set(elem,"role",role);},removeWaiRole:function(elem,role){var _15f=_15c.get(elem,"role");if(!_15f){return;}if(role){var t=lang.trim((" "+_15f+" ").replace(" "+role+" "," "));_15c.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_160){return elem.hasAttribute?elem.hasAttribute("aria-"+_160):!!elem.getAttribute("aria-"+_160);},getWaiState:function(elem,_161){return elem.getAttribute("aria-"+_161)||"";},setWaiState:function(elem,_162,_163){elem.setAttribute("aria-"+_162,_163);},removeWaiState:function(elem,_164){elem.removeAttribute("aria-"+_164);}});return _15d;});},"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_165,_166,_167,_168,_169,_16a,has,win){if(has("ie")||has("mozilla")){_16a(90,function(){var div=_168.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_166.blankGif||_165.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body());var cs=_169.getComputedStyle(div);if(cs){var _16b=cs.backgroundImage;var _16c=(cs.borderTopColor==cs.borderRightColor)||(_16b!=null&&(_16b=="none"||_16b=="url(invalid-url:)"));if(_16c){_167.add(win.body(),"dijit_a11y");}if(has("ie")){div.outerHTML="";}else{win.body().removeChild(div);}}});}});},"dijit/_base/window":function(){define(["dojo/window",".."],function(_16d,_16e){_16e.getDocumentWindow=function(doc){return _16d.get(doc);};});},"dojo/parser":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./query","./on","./ready"],function(dojo,_16f,_170,_171,_172,_173,_174,_175,_176,_177,don){new Date("X");var _178={"dom-attributes-explicit":document.createElement("div").attributes.length<40};function has(_179){return _178[_179];};dojo.parser=new function(){var _17a={};function _17b(_17c){var map={};for(var name in _17c){if(name.charAt(0)=="_"){continue;}map[name.toLowerCase()]=name;}return map;};_175.after(_16f,"extend",function(){_17a={};},true);var _17d={};this._functionFromScript=function(_17e,_17f){var _180="";var _181="";var _182=(_17e.getAttribute(_17f+"args")||_17e.getAttribute("args"));if(_182){_170.forEach(_182.split(/\s*,\s*/),function(part,idx){_180+="var "+part+" = arguments["+idx+"]; ";});}var _183=_17e.getAttribute("with");if(_183&&_183.length){_170.forEach(_183.split(/\s*,\s*/),function(part){_180+="with("+part+"){";_181+="}";});}return new Function(_180+_17e.innerHTML+_181);};this.instantiate=function(_184,_185,args){var _186=[],_185=_185||{};args=args||{};var _187=(args.scope||dojo._scopeName)+"Type",_188="data-"+(args.scope||dojo._scopeName)+"-",_189=_188+"type",_18a=_188+"props",_18b=_188+"attach-point",_18c=_188+"attach-event",_18d=_188+"id";var _18e={};_170.forEach([_18a,_189,_187,_18d,"jsId",_18b,_18c,"dojoAttachPoint","dojoAttachEvent","class","style"],function(name){_18e[name.toLowerCase()]=name.replace(args.scope,"dojo");});_170.forEach(_184,function(obj){if(!obj){return;}var node=obj.node||obj,type=_187 in _185?_185[_187]:obj.node?obj.type:(node.getAttribute(_189)||node.getAttribute(_187)),ctor=_17d[type]||(_17d[type]=_16f.getObject(type)),_18f=ctor&&ctor.prototype;if(!ctor){throw new Error("Could not load class '"+type);}var _190={};if(args.defaults){_16f.mixin(_190,args.defaults);}if(obj.inherited){_16f.mixin(_190,obj.inherited);}var _191;if(has("dom-attributes-explicit")){_191=node.attributes;}else{var _192=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_193=_192.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*/,"").replace(/>.*$/,"");_191=_170.map(_193.split(/\s+/),function(name){var _194=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_194=="enctype"?node.getAttribute(_194):node.getAttributeNode(_194).value,specified:true};});}var i=0,item;while(item=_191[i++]){if(!item||!item.specified){continue;}var name=item.name,_195=name.toLowerCase(),_196=item.value;if(_195 in _18e){switch(_18e[_195]){case "data-dojo-props":var _197=_196;break;case "data-dojo-id":case "jsId":var _198=_196;break;case "data-dojo-attach-point":case "dojoAttachPoint":_190.dojoAttachPoint=_196;break;case "data-dojo-attach-event":case "dojoAttachEvent":_190.dojoAttachEvent=_196;break;case "class":_190["class"]=node.className;break;case "style":_190["style"]=node.style&&node.style.cssText;break;}}else{if(!(name in _18f)){var map=(_17a[type]||(_17a[type]=_17b(_18f)));name=map[_195]||name;}if(name in _18f){switch(typeof _18f[name]){case "string":_190[name]=_196;break;case "number":_190[name]=_196.length?Number(_196):NaN;break;case "boolean":_190[name]=_196.toLowerCase()!="false";break;case "function":if(_196===""||_196.search(/[^\w\.]+/i)!=-1){_190[name]=new Function(_196);}else{_190[name]=_16f.getObject(_196,false)||new Function(_196);}break;default:var pVal=_18f[name];_190[name]=(pVal&&"length" in pVal)?(_196?_196.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_196==""?new Date(""):_196=="now"?new Date():_176.fromISOString(_196)):(pVal instanceof dojo._Url)?(dojo.baseUrl+_196):_174.fromJson(_196);}}else{_190[name]=_196;}}}if(_197){try{_197=_174.fromJson.call(args.propsThis,"{"+_197+"}");_16f.mixin(_190,_197);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_197+"'");}}_16f.mixin(_190,_185);var _199=obj.node?obj.scripts:(ctor&&(ctor._noScript||_18f._noScript)?[]:_177("> script[type^='dojo/']",node));var _19a=[],_19b=[],_19c=[],on=[];if(_199){for(i=0;i<_199.length;i++){var _19d=_199[i];node.removeChild(_19d);var _19e=(_19d.getAttribute(_188+"event")||_19d.getAttribute("event")),prop=_19d.getAttribute(_188+"prop"),type=_19d.getAttribute("type"),nf=this._functionFromScript(_19d,_188);if(_19e){if(type=="dojo/connect"){_19a.push({event:_19e,func:nf});}else{if(type=="dojo/on"){on.push({event:_19e,func:nf});}else{_190[_19e]=nf;}}}else{if(type=="dojo/watch"){_19c.push({prop:prop,func:nf});}else{_19b.push(nf);}}}}var _19f=ctor.markupFactory||_18f.markupFactory;var _1a0=_19f?_19f(_190,node,ctor):new ctor(_190,node);_186.push(_1a0);if(_198){_16f.setObject(_198,_1a0);}for(i=0;i<_19a.length;i++){_175.after(_1a0,_19a[i].event,dojo.hitch(_1a0,_19a[i].func),true);}for(i=0;i<_19b.length;i++){_19b[i].call(_1a0);}for(i=0;i<_19c.length;i++){_1a0.watch(_19c[i].prop,_19c[i].func);}for(i=0;i<on.length;i++){don(_1a0,on[i].event,on[i].func);}},this);if(!_185._started){_170.forEach(_186,function(_1a1){if(!args.noStart&&_1a1&&_16f.isFunction(_1a1.startup)&&!_1a1._started){_1a1.startup();}});}return _186;};this.parse=function(_1a2,args){var root;if(!args&&_1a2&&_1a2.rootNode){args=_1a2;root=args.rootNode;}else{root=_1a2;}root=root?_171.byId(root):_172.body();args=args||{};var _1a3=(args.scope||dojo._scopeName)+"Type",_1a4="data-"+(args.scope||dojo._scopeName)+"-",_1a5=_1a4+"type",_1a6=_1a4+"textdir";var list=[];var node=root.firstChild;var _1a7=args&&args.inherited;if(!_1a7){function _1a8(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node!==_172.doc&&node!==_172.doc.documentElement&&node.parentNode?_1a8(node.parentNode,attr):null);};_1a7={dir:_1a8(root,"dir"),lang:_1a8(root,"lang"),textDir:_1a8(root,_1a6)};for(var key in _1a7){if(!_1a7[key]){delete _1a7[key];}}}var _1a9={inherited:_1a7};var _1aa;var _1ab;function _1ac(_1ad){if(!_1ad.inherited){_1ad.inherited={};var node=_1ad.node,_1ae=_1ac(_1ad.parent);var _1af={dir:node.getAttribute("dir")||_1ae.dir,lang:node.getAttribute("lang")||_1ae.lang,textDir:node.getAttribute(_1a6)||_1ae.textDir};for(var key in _1af){if(_1af[key]){_1ad.inherited[key]=_1af[key];}}}return _1ad.inherited;};while(true){if(!node){if(!_1a9||!_1a9.node){break;}node=_1a9.node.nextSibling;_1aa=_1a9.scripts;_1ab=false;_1a9=_1a9.parent;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_1aa&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_1aa.push(node);}node=node.nextSibling;continue;}if(_1ab){node=node.nextSibling;continue;}var type=node.getAttribute(_1a5)||node.getAttribute(_1a3);var _1b0=node.firstChild;if(!type&&(!_1b0||(_1b0.nodeType==3&&!_1b0.nextSibling))){node=node.nextSibling;continue;}var _1b1={node:node,scripts:_1aa,parent:_1a9};var ctor=type&&(_17d[type]||(_17d[type]=_16f.getObject(type))),_1b2=ctor&&!ctor.prototype._noScript?[]:null;if(type){list.push({"type":type,node:node,scripts:_1b2,inherited:_1ac(_1b1)});}node=_1b0;_1aa=_1b2;_1ab=ctor&&ctor.prototype.stopParser&&!(args&&args.template);_1a9=_1b1;}var _1b3=args&&args.template?{template:true}:null;return this.instantiate(list,_1b3,args);};}();if(dojo.config.parseOnLoad){dojo.ready(100,dojo.parser,"parse");}return dojo.parser;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_1b4=function(){var n=null,_1b5=arguments,uri=[_1b5[0]];for(var i=1;i<_1b5.length;i++){if(!_1b5[i]){continue;}var _1b6=new _1b4(_1b5[i]+""),_1b7=new _1b4(uri[0]+"");if(_1b6.path==""&&!_1b6.scheme&&!_1b6.authority&&!_1b6.query){if(_1b6.fragment!=n){_1b7.fragment=_1b6.fragment;}_1b6=_1b7;}else{if(!_1b6.scheme){_1b6.scheme=_1b7.scheme;if(!_1b6.authority){_1b6.authority=_1b7.authority;if(_1b6.path.charAt(0)!="/"){var path=_1b7.path.substring(0,_1b7.path.lastIndexOf("/")+1)+_1b6.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_1b6.path=segs.join("/");}}}}uri=[];if(_1b6.scheme){uri.push(_1b6.scheme,":");}if(_1b6.authority){uri.push("//",_1b6.authority);}uri.push(_1b6.path);if(_1b6.query){uri.push("?",_1b6.query);}if(_1b6.fragment){uri.push("#",_1b6.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_1b4.prototype.toString=function(){return this.uri;};return dojo._Url=_1b4;});},"dojo/date/stamp":function(){define(["../_base/kernel","../_base/lang","../_base/array"],function(dojo,lang,_1b8){lang.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_1b9,_1ba){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _1bb=dojo.date.stamp._isoRegExp.exec(_1b9),_1bc=null;if(_1bb){_1bb.shift();if(_1bb[1]){_1bb[1]--;}if(_1bb[6]){_1bb[6]*=1000;}if(_1ba){_1ba=new Date(_1ba);_1b8.forEach(_1b8.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1ba["get"+prop]();}),function(_1bd,_1be){_1bb[_1be]=_1bb[_1be]||_1bd;});}_1bc=new Date(_1bb[0]||1970,_1bb[1]||0,_1bb[2]||1,_1bb[3]||0,_1bb[4]||0,_1bb[5]||0,_1bb[6]||0);if(_1bb[0]<100){_1bc.setFullYear(_1bb[0]||1970);}var _1bf=0,_1c0=_1bb[7]&&_1bb[7].charAt(0);if(_1c0!="Z"){_1bf=((_1bb[8]||0)*60)+(Number(_1bb[9])||0);if(_1c0!="-"){_1bf*=-1;}}if(_1c0){_1bf-=_1bc.getTimezoneOffset();}if(_1bf){_1bc.setTime(_1bc.getTime()+_1bf*60000);}}return _1bc;};dojo.date.stamp.toISOString=function(_1c1,_1c2){var _1c3=function(n){return (n<10)?"0"+n:n;};_1c2=_1c2||{};var _1c4=[],_1c5=_1c2.zulu?"getUTC":"get",date="";if(_1c2.selector!="time"){var year=_1c1[_1c5+"FullYear"]();date=["0000".substr((year+"").length)+year,_1c3(_1c1[_1c5+"Month"]()+1),_1c3(_1c1[_1c5+"Date"]())].join("-");}_1c4.push(date);if(_1c2.selector!="date"){var time=[_1c3(_1c1[_1c5+"Hours"]()),_1c3(_1c1[_1c5+"Minutes"]()),_1c3(_1c1[_1c5+"Seconds"]())].join(":");var _1c6=_1c1[_1c5+"Milliseconds"]();if(_1c2.milliseconds){time+="."+(_1c6<100?"0":"")+_1c3(_1c6);}if(_1c2.zulu){time+="Z";}else{if(_1c2.selector!="time"){var _1c7=_1c1.getTimezoneOffset();var _1c8=Math.abs(_1c7);time+=(_1c7>0?"-":"+")+_1c3(Math.floor(_1c8/60))+":"+_1c3(_1c8%60);}}_1c4.push(time);}return _1c4.join("T");};return dojo.date.stamp;});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_1c9,_1ca,_1cb,_1cc,_1cd,lang,_1ce,_1cf,_1d0,_1d1,_1d2,_1d3){function _1d4(){};function _1d5(_1d6){return function(obj,_1d7,_1d8,_1d9){if(obj&&typeof _1d7=="string"&&obj[_1d7]==_1d4){return obj.on(_1d7.substring(2).toLowerCase(),lang.hitch(_1d8,_1d9));}return _1d6.apply(_1cb,arguments);};};_1c9.around(_1cb,"connect",_1d5);if(_1cd.connect){_1c9.around(_1cd,"connect",_1d5);}var _1da=_1cc("dijit._Widget",[_1d1,_1d2,_1d3],{onClick:_1d4,onDblClick:_1d4,onKeyDown:_1d4,onKeyPress:_1d4,onKeyUp:_1d4,onMouseDown:_1d4,onMouseMove:_1d4,onMouseOut:_1d4,onMouseOver:_1d4,onMouseLeave:_1d4,onMouseEnter:_1d4,onMouseUp:_1d4,constructor:function(_1db){this._toConnect={};for(var name in _1db){if(this[name]===_1d4){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_1db[name];delete _1db[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_1d4){return _1cb.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_1dc){_1cd.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_1dc);},attr:function(name,_1dd){if(_1ca.isDebug){var _1de=arguments.callee._ach||(arguments.callee._ach={}),_1df=(arguments.callee.caller||"unknown caller").toString();if(!_1de[_1df]){_1cd.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_1df,"","2.0");_1de[_1df]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_1cd.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_1ce("[widgetId]",this.containerNode).map(_1d0.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_1cd.isAsync){_1cf(0,function(){var _1e0=["dijit/_base"];require(_1e0);});}return _1da;});},"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/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_1e1,_1e2,_1e3,_1e4,_1e5,_1e6,dom,_1e7,_1e8,_1e9,_1ea,_1eb,_1ec,lang,on,_1ed,_1ee,_1ef,win,_1f0){if(!_1ec.isAsync){_1ed(0,function(){var _1f1=["dijit/_base/manager"];_1e1(_1f1);});}var _1f2={};function _1f3(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _1f4(attr){return function(val){_1e7[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _1e6("dijit._WidgetBase",_1ee,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_1f4("lang"),dir:"",_setDirAttr:_1f4("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_1e4.blankGif||_1e1.toUrl("dojo/resources/blank.gif"),postscript:function(_1f5,_1f6){this.create(_1f5,_1f6);},create:function(_1f7,_1f8){this.srcNodeRef=dom.byId(_1f8);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_1f7){this.params=_1f7;lang.mixin(this,_1f7);}this.postMixInProperties();if(!this.id){this.id=_1f0.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_1f0.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _1f9=this.srcNodeRef;if(_1f9&&_1f9.parentNode&&this.domNode!==_1f9){_1f9.parentNode.replaceChild(this.domNode,_1f9);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _1fa=ctor.prototype;for(var _1fb in _1fa){if(_1fb in this.attributeMap){continue;}var _1fc="_set"+_1fb.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_1fc in _1fa){list.push(_1fb);}}}_1e2.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _1fd in this.params){this.set(_1fd,this[_1fd]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_1e9.create("div");}if(this.baseClass){var _1fe=this.baseClass.split(" ");if(!this.isLeftToRight()){_1fe=_1fe.concat(_1e2.map(_1fe,function(name){return name+"Rtl";}));}_1e8.add(this.domNode,_1fe);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_1e2.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_1ff){this._beingDestroyed=true;this.destroyDescendants(_1ff);this.destroy(_1ff);},destroy:function(_200){this._beingDestroyed=true;this.uninitialize();var c;while(c=this._connects.pop()){c.remove();}var w;while(w=this._supportingWidgets.pop()){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_200);_1f0.remove(this.id);this._destroyed=true;},destroyRendering:function(_201){if(this.bgIframe){this.bgIframe.destroy(_201);delete this.bgIframe;}if(this.domNode){if(_201){_1e7.remove(this.domNode,"widgetId");}else{_1e9.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_201){_1e9.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_202){_1e2.forEach(this.getChildren(),function(_203){if(_203.destroyRecursive){_203.destroyRecursive(_202);}});},uninitialize:function(){return false;},_setStyleAttr:function(_204){var _205=this.domNode;if(lang.isObject(_204)){_1eb.set(_205,_204);}else{if(_205.style.cssText){_205.style.cssText+="; "+_204;}else{_205.style.cssText=_204;}}this._set("style",_204);},_attrToDom:function(attr,_206,_207){_207=arguments.length>=3?_207:this.attributeMap[attr];_1e2.forEach(lang.isArray(_207)?_207:[_207],function(_208){var _209=this[_208.node||_208||"domNode"];var type=_208.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_206)){_206=lang.hitch(this,_206);}var _20a=_208.attribute?_208.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_1e7.set(_209,_20a,_206);break;case "innerText":_209.innerHTML="";_209.appendChild(win.doc.createTextNode(_206));break;case "innerHTML":_209.innerHTML=_206;break;case "class":_1e8.replace(_209,_206,this[attr]);break;}},this);},get:function(name){var _20b=this._getAttrNames(name);return this[_20b.g]?this[_20b.g]():this[name];},set:function(name,_20c){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _20d=this._getAttrNames(name),_20e=this[_20d.s];if(lang.isFunction(_20e)){var _20f=_20e.apply(this,Array.prototype.slice.call(arguments,1));}else{var _210=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_210].tagName,_211=_1f2[tag]||(_1f2[tag]=_1f3(this[_210])),map=name in this.attributeMap?this.attributeMap[name]:_20d.s in this?this[_20d.s]:((_20d.l in _211&&typeof _20c!="function")||/^aria-|^data-|^role$/.test(name))?_210:null;if(map!=null){this._attrToDom(name,_20c,map);}this._set(name,_20c);}return _20f||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_212){var _213=this[name];this[name]=_212;if(this._watchCallbacks&&this._created&&_212!==_213){this._watchCallbacks(name,_213,_212);}},on:function(type,func){return _1e3.after(this,this._onMap(type),func,true);},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_1f0.findWidgets(this.containerNode):[];},getParent:function(){return _1f0.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_214,_215){var _216=_1e5.connect(obj,_214,this,_215);this._connects.push(_216);return _216;},disconnect:function(_217){var i=_1e2.indexOf(this._connects,_217);if(i!=-1){_217.remove();this._connects.splice(i,1);}},subscribe:function(t,_218){var _219=_1ef.subscribe(t,lang.hitch(this,_218));this._connects.push(_219);return _219;},unsubscribe:function(_21a){this.disconnect(_21a);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_1ea.isBodyLtr();},isFocusable:function(){return this.focus&&(_1eb.get(this.domNode,"display")!="none");},placeAt:function(_21b,_21c){if(_21b.declaredClass&&_21b.addChild){_21b.addChild(this,_21c);}else{_1e9.place(this.domNode,_21b,_21c);}return this;},getTextDir:function(text,_21d){return _21d;},applyTextDir:function(){}});});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_21e,keys,_21f,has,_220,win){var _221=null;if(has("ie")){(function(){var _222=function(evt){_221=evt.srcElement;};win.doc.attachEvent("onkeydown",_222);_220.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_222);});})();}else{win.doc.addEventListener("keydown",function(evt){_221=evt.target;},true);}var _223=function(node,_224){if(/input|button/i.test(node.nodeName)){return on(node,"click",_224);}else{function _225(e){return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _226=[on(node,"keypress",function(e){if(_225(e)){_221=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_225(e)&&e.target==_221){_221=null;_224.call(this,e);}}),on(node,"click",function(e){_224.call(this,e);})];return {remove:function(){_21e.forEach(_226,function(h){h.remove();});}};}};return _21f("dijit._OnDijitClickMixin",null,{connect:function(obj,_227,_228){return this.inherited(arguments,[obj,_227=="ondijitclick"?_223:_227,_228]);}});});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_229,_22a,_22b,lang){lang.extend(_22a,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _22b("dijit._FocusMixin",null,{_focusManager:_229});});},"dijit/_TemplatedMixin":function(){define(["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(lang,_22c,_22d,_22e,_22f,_230,_231,_232,has,_233,win){var _234=_231("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _235=this.declaredClass,_236=this;return _22e.substitute(tmpl,this,function(_237,key){if(key.charAt(0)=="!"){_237=lang.getObject(key.substr(1),false,_236);}if(typeof _237=="undefined"){throw new Error(_235+" template:"+key);}if(_237==null){return "";}return key.charAt(0)=="!"?_237:_237.toString().replace(/"/g,""");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_22f(this.templatePath,{sanitize:true});}var _238=_234.getCachedTemplate(this.templateString,this._skipNodeCache);var node;if(lang.isString(_238)){node=_232.toDom(this._stringRepl(_238));if(node.nodeType!=1){throw new Error("Invalid template: "+_238);}}else{node=_238.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_239){var dest=this.containerNode;if(_239&&dest){while(_239.hasChildNodes()){dest.appendChild(_239.firstChild);}}},_attachTemplateNodes:function(_23a,_23b){var _23c=lang.isArray(_23a)?_23a:(_23a.all||_23a.getElementsByTagName("*"));var x=lang.isArray(_23a)?0:-1;for(;x<_23c.length;x++){var _23d=(x==-1)?_23a:_23c[x];if(this.widgetsInTemplate&&(_23b(_23d,"dojoType")||_23b(_23d,"data-dojo-type"))){continue;}var _23e=_23b(_23d,"dojoAttachPoint")||_23b(_23d,"data-dojo-attach-point");if(_23e){var _23f,_240=_23e.split(/\s*,\s*/);while((_23f=_240.shift())){if(lang.isArray(this[_23f])){this[_23f].push(_23d);}else{this[_23f]=_23d;}this._attachPoints.push(_23f);}}var _241=_23b(_23d,"dojoAttachEvent")||_23b(_23d,"data-dojo-attach-event");if(_241){var _242,_243=_241.split(/\s*,\s*/);var trim=lang.trim;while((_242=_243.shift())){if(_242){var _244=null;if(_242.indexOf(":")!=-1){var _245=_242.split(":");_242=trim(_245[0]);_244=trim(_245[1]);}else{_242=trim(_242);}if(!_244){_244=_242;}this._attachEvents.push(this.connect(_23d,_22c[_242]||_242,_244));}}}}},destroyRendering:function(){_230.forEach(this._attachPoints,function(_246){delete this[_246];},this);this._attachPoints=[];_230.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_234._templateCache={};_234.getCachedTemplate=function(_247,_248){var _249=_234._templateCache;var key=_247;var _24a=_249[key];if(_24a){try{if(!_24a.ownerDocument||_24a.ownerDocument==win.doc){return _24a;}}catch(e){}_232.destroy(_24a);}_247=_22e.trim(_247);if(_248||_247.match(/\$\{([^\}]+)\}/g)){return (_249[key]=_247);}else{var node=_232.toDom(_247);if(node.nodeType!=1){throw new Error("Invalid template: "+_247);}return (_249[key]=node);}};if(has("ie")){_233.addOnWindowUnload(function(){var _24b=_234._templateCache;for(var key in _24b){var _24c=_24b[key];if(typeof _24c=="object"){_232.destroy(_24c);}delete _24b[key];}});}lang.extend(_22d,{dojoAttachEvent:"",dojoAttachPoint:""});return _234;});},"dojo/touch":function(){define(["./_base/kernel","./on","./has","./mouse"],function(dojo,on,has,_24d){function _24e(type){return function(node,_24f){return on(node,type,_24f);};};var _250=has("touch");dojo.touch={press:_24e(_250?"touchstart":"mousedown"),move:_24e(_250?"touchmove":"mousemove"),release:_24e(_250?"touchend":"mouseup"),cancel:_250?_24e("touchcancel"):_24d.leave};return dojo.touch;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("string",true,dojo);dojo.string.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("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_251,map,_252,_253){_253=_253||dojo.global;_252=_252?lang.hitch(_253,_252):function(v){return v;};return _251.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_254,key,_255){var _256=lang.getObject(key,false,map);if(_255){_256=lang.getObject(_255,false,_253).call(_253,_256,key);}return _252(_256,key).toString();});};dojo.string.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return dojo.string;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo,text){return dojo.cache;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","./registry"],function(_257,_258,_259,_25a){return _258("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_25b,_25c){var _25d=this.containerNode;if(_25c&&typeof _25c=="number"){var _25e=this.getChildren();if(_25e&&_25e.length>=_25c){_25d=_25e[_25c-1].domNode;_25c="after";}}_259.place(_25b.domNode,_25d,_25c);if(this._started&&!_25b._started){_25b.startup();}},removeChild:function(_25f){if(typeof _25f=="number"){_25f=this.getChildren()[_25f];}if(_25f){var node=_25f.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_260,dir){var node=_260.domNode,_261=(dir>0?"nextSibling":"previousSibling");do{node=node[_261];}while(node&&(node.nodeType!=1||!_25a.byNode(node)));return node&&_25a.byNode(node);},getIndexOfChild:function(_262){return _257.indexOf(this.getChildren(),_262);}});});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/sniff","dojo/_base/window"],function(lang,_263,_264,_265,_266,_267,_268,_269,has,win){return _266("dijit.layout._LayoutWidget",[_263,_264,_265],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_267.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _26a=this.getParent&&this.getParent();if(!(_26a&&_26a.isLayoutContainer)){this.resize();this.connect(win.global,"onresize",function(){this.resize();});}},resize:function(_26b,_26c){var node=this.domNode;if(_26b){_268.setMarginBox(node,_26b);}var mb=_26c||{};lang.mixin(mb,_26b||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_268.getMarginBox(node),mb);}var cs=_269.getComputedStyle(node);var me=_268.getMarginExtents(node,cs);var be=_268.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_268.getPadExtents(node,cs);this._contentBox={l:_269.toPixelValue(node,cs.paddingLeft),t:_269.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_26d){var cls=this.baseClass+"-child "+(_26d.baseClass?this.baseClass+"-"+_26d.baseClass:"");_267.add(_26d.domNode,cls);},addChild:function(_26e,_26f){this.inherited(arguments);if(this._started){this._setupChild(_26e);}},removeChild:function(_270){var cls=this.baseClass+"-child"+(_270.baseClass?" "+this.baseClass+"-"+_270.baseClass:"");_267.remove(_270.domNode,cls);this.inherited(arguments);}});});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_271,_272){return _271("dijit._Contained",null,{_getSibling:function(_273){var node=this.domNode;do{node=node[_273+"Sibling"];}while(node&&node.nodeType!=1);return node&&_272.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_274,_275,_276,_277,_278,_279,_27a){if(!_275.isAsync){_276(0,function(){var _27b=["dijit/form/_FormValueWidget"];require(_27b);});}return _274("dijit.form._FormWidget",[_277,_279,_278,_27a],{setDisabled:function(_27c){_275.deprecated("setDisabled("+_27c+") is deprecated. Use set('disabled',"+_27c+") instead.","","2.0");this.set("disabled",_27c);},setValue:function(_27d){_275.deprecated("dijit.form._FormWidget:setValue("+_27d+") is deprecated. Use set('value',"+_27d+") instead.","","2.0");this.set("value",_27d);},getValue:function(){_275.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,""")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_CssStateMixin":function(){define(["dojo/touch","dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/_base/window"],function(_27e,_27f,_280,_281,lang,win){return _280("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_27f.forEach(["onmouseenter","onmouseleave",_27e.press],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);_27f.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_282){if(!this.disabled){switch(_282.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchpress":this._set("active",true);this._mouseDown=true;var _283=this.connect(win.body(),_27e.release,function(){this._mouseDown=false;this._set("active",false);this.disconnect(_283);});break;}}},_setStateClass:function(){var _284=this.baseClass.split(" ");function _285(_286){_284=_284.concat(_27f.map(_284,function(c){return c+_286;}),"dijit"+_286);};if(!this.isLeftToRight()){_285("Rtl");}var _287=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_285(_287);}if(this.state){_285(this.state);}if(this.selected){_285("Selected");}if(this.disabled){_285("Disabled");}else{if(this.readOnly){_285("ReadOnly");}else{if(this.active){_285("Active");}else{if(this.hovering){_285("Hover");}}}}if(this.focused){_285("Focused");}var tn=this.stateNode||this.domNode,_288={};_27f.forEach(tn.className.split(" "),function(c){_288[c]=true;});if("_stateClasses" in this){_27f.forEach(this._stateClasses,function(c){delete _288[c];});}_27f.forEach(_284,function(c){_288[c]=true;});var _289=[];for(var c in _288){_289.push(c);}tn.className=_289.join(" ");this._stateClasses=_284;},_trackMouseState:function(node,_28a){var _28b=false,_28c=false,_28d=false;var self=this,cn=lang.hitch(this,"connect",node);function _28e(){var _28f=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);_281.toggle(node,_28a+"Hover",_28b&&!_28c&&!_28f);_281.toggle(node,_28a+"Active",_28c&&!_28f);_281.toggle(node,_28a+"Focused",_28d&&!_28f);};cn("onmouseenter",function(){_28b=true;_28e();});cn("onmouseleave",function(){_28b=false;_28c=false;_28e();});cn(_27e.press,function(){_28c=true;_28e();});cn(_27e.release,function(){_28c=false;_28e();});cn("onfocus",function(){_28d=true;_28e();});cn("onblur",function(){_28d=false;_28e();});this.watch("disabled",_28e);this.watch("readOnly",_28e);}});});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/_base/sniff","dojo/_base/window","dojo/window","../a11y"],function(_290,_291,_292,_293,lang,_294,has,win,_295,a11y){return _291("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_296){this._set("disabled",_296);_292.set(this.focusNode,"disabled",_296);if(this.valueNode){_292.set(this.valueNode,"disabled",_296);}this.focusNode.setAttribute("aria-disabled",_296);if(_296){this._set("hovering",false);this._set("active",false);var _297="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_290.forEach(lang.isArray(_297)?_297:[_297],function(_298){var node=this[_298];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(e){if(this.scrollOnFocus){_295.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_293.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_299,_29a){if(this._lastValueReported==undefined&&(_29a===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_299;}this._pendingOnChange=this._pendingOnChange||(typeof _299!=typeof this._lastValueReported)||(this.compare(_299,this._lastValueReported)!=0);if((this.intermediateChanges||_29a||_29a===undefined)&&this._pendingOnChange){this._lastValueReported=_299;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(lang.hitch(this,function(){this._onChangeHandle=null;this.onChange(_299);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},_onMouseDown:function(e){if((!this.focused||!has("ie"))&&!e.ctrlKey&&_294.isLeft(e)&&this.isFocusable()){var _29b=this.connect(win.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_29b);});}}});});},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/_base/sniff","./_FormWidget","./_FormValueMixin"],function(_29c,has,_29d,_29e){return _29c("dijit.form._FormValueWidget",[_29d,_29e],{_layoutHackIE7:function(){if(has("ie")==7){var _29f=this.domNode;var _2a0=_29f.parentNode;var _2a1=_29f.firstChild||_29f;var _2a2=_2a1.style.filter;var _2a3=this;while(_2a0&&_2a0.clientHeight==0){(function ping(){var _2a4=_2a3.connect(_2a0,"onscroll",function(){_2a3.disconnect(_2a4);_2a1.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_2a1.style.filter=_2a2;},0);});})();_2a0=_2a0.parentNode;}}}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/sniff","./_FormWidgetMixin"],function(_2a5,_2a6,keys,has,_2a7){return _2a5("dijit.form._FormValueMixin",_2a7,{readOnly:false,_setReadOnlyAttr:function(_2a8){_2a6.set(this.focusNode,"readOnly",_2a8);this.focusNode.setAttribute("aria-readonly",_2a8);this._set("readOnly",_2a8);},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(_2a9,_2aa){this._handleOnChange(_2a9,_2aa);},_handleOnChange:function(_2ab,_2ac){this._set("value",_2ab);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==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();te=document.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}}});});}}});require(["dojo/i18n"],function(i18n){i18n._preloadLocalizations("dijit/nls/dijit",[]);});define("dijit/dijit",[".","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_2ad){return _2ad;});
|