camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r755893 [8/29] - in /camel/trunk/components/camel-web/src/main/webapp/js/dijit: ./ _base/ _editor/ _editor/nls/ _editor/nls/ar/ _editor/nls/ca/ _editor/nls/cs/ _editor/nls/da/ _editor/nls/de/ _editor/nls/el/ _editor/nls/es/ _editor/nls/fi/ ...
Date Thu, 19 Mar 2009 10:17:26 GMT
Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit-all.js.uncompressed.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,16 @@
+/*
+	Copyright (c) 2004-2009, 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 a compiled version of Dojo, built for deployment and not for
+	development. To get an editable version, please visit:
+
+		http://dojotoolkit.org
+
+	for documentation and information on getting the source.
+*/
+
+if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.doc;if(_1.selection){var s=_1.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _3=dojo.global;var _4=_3.getSelection();if(dojo.isString(_4)){return !_4;}else{return _4.isCollapsed||!_4.toString();}}},getBookmark:function(){var _5,_6=dojo.doc.selection;if(_6){var _7=_6.createRange();if(_6.type.toUpperCase()=="CONTROL"){if(_7.length){_5=[];var i=0,_9=_7.length;while(i<_9){_5.push(_7.item(i++));}}else{_5=null;}}else{_5=_7.getBookmark();}}else{if(window.getSelection){_6=dojo.global.getSelection();if(_6){_7=_6.getRangeAt(0);_5=_7.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _5;},moveToBookmark:function(_a){var _b=dojo.doc;if(_b.selection){var _c;if(do
 jo.isArray(_a)){_c=_b.body.createControlRange();dojo.forEach(_a,function(n){_c.addElement(n);});}else{_c=_b.selection.createRange();_c.moveToBookmark(_a);}_c.select();}else{var _e=dojo.global.getSelection&&dojo.global.getSelection();if(_e&&_e.removeAllRanges){_e.removeAllRanges();_e.addRange(_a);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_f,_10){return {node:_f&&dojo.isDescendant(dijit._curFocus,_f.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_10||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_10||dojo.global,dijit.getBookmark):null,openedForWindow:_10};},focus:function(_11){if(!_11){return;}var _12="node" in _11?_11.node:_11,_13=_11.bookmark,_14=_11.openedForWindow;if(_12){var _15=(_12.tagName.toLowerCase()=="iframe")?_12.contentWindow:_12;if(_15&&_15.focus){try{_15.focus();}catch(e){}}dijit._onFocusNode(_12);}if(_13&&dojo.withGlobal(_14||dojo.global,dijit.isCollapsed)){if(_14){_14.focus();}try{dojo
 .withGlobal(_14||dojo.global,dijit.moveToBookmark,null,[_13]);}catch(e){}}},_activeStack:[],registerIframe:function(_16){dijit.registerWin(_16.contentWindow,_16);},registerWin:function(_17,_18){dojo.connect(_17.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(_18||evt.target||evt.srcElement);});var doc=_17.document;if(doc){if(dojo.isIE){doc.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"){dijit._onFocusNode(_18||evt.srcElement);}});doc.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(_18||evt.srcElement);});}else{doc.addEventListener("focus",function(evt){dijit._onFocusNode(_18||evt.target);},true);doc.addEventListener("blur",function(evt){dijit._onBlurNode(_18||evt.target);},true);}}doc=null;},_onBlurNode:function(_1f){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidg
 etsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(_20){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _21=[];try{while(_20){if(_20.dijitPopupParent){_20=dijit.byId(_20.dijitPopupParent).domNode;}else{if(_20.tagName&&_20.tagName.toLowerCase()=="body"){if(_20===dojo.body()){break;}_20=dijit.getDocumentWindow(_20.ownerDocument).frameElement;}else{var id=_20.getAttribute&&_20.getAttribute("widgetId");if(id){_21.unshift(id);}_20=_20.parentNode;}}}}catch(e){}dijit._setStack(_21);},_onFocusNode:function(_23){if(!_23){return;}if(_23.nodeType==9){return;}dijit._onTouchNode(_23);if(_23==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_23;dojo.publish("focusNode",[_23]);},_setStack:function(_24){va
 r _25=dijit._activeStack;dijit._activeStack=_24;for(var _26=0;_26<Math.min(_25.length,_24.length);_26++){if(_25[_26]!=_24[_26]){break;}}for(var i=_25.length-1;i>=_26;i--){var _28=dijit.byId(_25[i]);if(_28){_28._focused=false;_28._hasBeenBlurred=true;if(_28._onBlur){_28._onBlur();}if(_28._setStateClass){_28._setStateClass();}dojo.publish("widgetBlur",[_28]);}}for(i=_26;i<_24.length;i++){_28=dijit.byId(_24[i]);if(_28){_28._focused=true;if(_28._onFocus){_28._onFocus();}if(_28._setStateClass){_28._setStateClass();}dojo.publish("widgetFocus",[_28]);}}}});dojo.addOnLoad(function(){dijit.registerWin(window);});}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_29){if(this._hash[_29.id]){throw new Error("Tried to register widget with id=="+_29.id+" but that id is already registered");}this._hash[_29.id]=_29;},remove:f
 unction(id){delete this._hash[id];},forEach:function(_2b){for(var id in this._hash){_2b(this._hash[id]);}},filter:function(_2d){var res=new dijit.WidgetSet();this.forEach(function(_2f){if(_2d(_2f)){res.add(_2f);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_32){return _32.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_33){var id;do{id=_33+"_"+(_33 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_33]:dijit._widgetTypeCtr[_33]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_35){_35.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_37){return dijit.registry.byId(_37.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_38){while(_38){if(_38.getAttribute&&_38.getAttribute("widgetId")){return dijit.regist
 ry.byId(_38.getAttribute("widgetId"));}_38=_38.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_39){var _3a=dojo.style(_39);return (_3a.visibility!="hidden")&&(_3a.visibility!="collapsed")&&(_3a.display!="none")&&(dojo.attr(_39,"type")!="hidden");};dijit.isTabNavigable=function(_3b){if(dojo.hasAttr(_3b,"disabled")){return false;}var _3c=dojo.hasAttr(_3b,"tabindex");var _3d=dojo.attr(_3b,"tabindex");if(_3c&&_3d>=0){return true;}var _3e=_3b.nodeName.toLowerCase();if(((_3e=="a"&&dojo.hasAttr(_3b,"href"))||dijit._tabElements[_3e])&&(!_3c||_3d>=0)){return true;}return false;};dijit._getTabNavigable=function(_3f){var _40,_41,_42,_43,_44,_45;var _46=function(_47){dojo.query("> *",_47).forEach(function(_48){var _49=dijit._isElementShown(_48);if(_49&&dijit.isTabNavigable(_48)){var _4a=dojo.attr(_48,"tabindex");if(!dojo.hasAttr(_48,"tabindex")||_4a==0){if(!_40){_40=_48;}_41=_48;}else{i
 f(_4a>0){if(!_42||_4a<_43){_43=_4a;_42=_48;}if(!_44||_4a>=_45){_45=_4a;_44=_48;}}}}if(_49&&_48.nodeName.toUpperCase()!="SELECT"){_46(_48);}});};if(dijit._isElementShown(_3f)){_46(_3f);}return {first:_40,last:_41,lowest:_42,highest:_44};};dijit.getFirstInTabbingOrder=function(_4b){var _4c=dijit._getTabNavigable(dojo.byId(_4b));return _4c.lowest?_4c.lowest:_4c.first;};dijit.getLastInTabbingOrder=function(_4d){var _4e=dijit._getTabNavigable(dojo.byId(_4d));return _4e.last?_4e.last:_4e.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_4f){this.pairs=[];this.returnWrappers=_4f||false;};dojo.extend(dojo.AdapterRegistry,{register:function(_50,_51,_52,_53,_54){this.pairs[((_54)?"unshift":"push")]([_50,_51,_52,_53]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _56=this.pairs[i];if(_56[1].app
 ly(this,arguments)){if((_56[3])||(this.returnWrappers)){return _56[2];}else{return _56[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_57){for(var i=0;i<this.pairs.length;i++){var _59=this.pairs[i];if(_59[0]==_57){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _5a=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _5b=dojo._docScroll();return {w:_5a.clientWidth,h:_5a.clientHeight,l:_5b.x,t:_5b.y};};dijit.placeOnScreen=function(_5c,pos,_5e,_5f){var _60=dojo.map(_5e,function(_61){var c={corner:_61,pos:{x:pos.x,y:pos.y}};if(_5f){c.pos.x+=_61.charAt(1)=="L"?_5f.x:-_5f.x;c.pos.y+=_61.charAt(0)=="T"?_5f.y:-_5f.y;}return c;});return dijit._place(_5c,_60);};dijit._place=function(_63,_64,_65){var _66=dijit.getViewport();if(!_63.parentNode||String(_63.parentNode.
 tagName).toLowerCase()!="body"){dojo.body().appendChild(_63);}var _67=null;dojo.some(_64,function(_68){var _69=_68.corner;var pos=_68.pos;if(_65){_65(_63,_68.aroundCorner,_69);}var _6b=_63.style;var _6c=_6b.display;var _6d=_6b.visibility;_6b.visibility="hidden";_6b.display="";var mb=dojo.marginBox(_63);_6b.display=_6c;_6b.visibility=_6d;var _6f=(_69.charAt(1)=="L"?pos.x:Math.max(_66.l,pos.x-mb.w)),_70=(_69.charAt(0)=="T"?pos.y:Math.max(_66.t,pos.y-mb.h)),_71=(_69.charAt(1)=="L"?Math.min(_66.l+_66.w,_6f+mb.w):pos.x),_72=(_69.charAt(0)=="T"?Math.min(_66.t+_66.h,_70+mb.h):pos.y),_73=_71-_6f,_74=_72-_70,_75=(mb.w-_73)+(mb.h-_74);if(_67==null||_75<_67.overflow){_67={corner:_69,aroundCorner:_68.aroundCorner,x:_6f,y:_70,w:_73,h:_74,overflow:_75};}return !_75;});_63.style.left=_67.x+"px";_63.style.top=_67.y+"px";if(_67.overflow&&_65){_65(_63,_67.aroundCorner,_67.corner);}return _67;};dijit.placeOnScreenAroundNode=function(_76,_77,_78,_79){_77=dojo.byId(_77);var _7a=_77.style.display
 ;_77.style.display="";var _7b=_77.offsetWidth;var _7c=_77.offsetHeight;var _7d=dojo.coords(_77,true);_77.style.display=_7a;return dijit._placeOnScreenAroundRect(_76,_7d.x,_7d.y,_7b,_7c,_78,_79);};dijit.placeOnScreenAroundRectangle=function(_7e,_7f,_80,_81){return dijit._placeOnScreenAroundRect(_7e,_7f.x,_7f.y,_7f.width,_7f.height,_80,_81);};dijit._placeOnScreenAroundRect=function(_82,x,y,_85,_86,_87,_88){var _89=[];for(var _8a in _87){_89.push({aroundCorner:_8a,corner:_87[_8a],pos:{x:x+(_8a.charAt(1)=="L"?0:_85),y:y+(_8a.charAt(0)=="T"?0:_86)}});}return dijit._place(_82,_89,_88);};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle)
 ;dijit.placeOnScreenAroundElement=function(_8f,_90,_91,_92){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _95=[],_96=1000,_97=1;this.prepare=function(_98){var s=_98.style;s.visibility="hidden";s.position="absolute";s.top="-9999px";if(s.display=="none"){s.display="";}dojo.body().appendChild(_98);};this.open=function(_9a){var _9b=_9a.popup,_9c=_9a.orient||{"BL":"TL","TL"
 :"BL"},_9d=_9a.around,id=(_9a.around&&_9a.around.id)?(_9a.around.id+"_dropdown"):("popup_"+_97++);var _9f=dojo.create("div",{id:id,"class":"dijitPopup",style:{zIndex:_96+_95.length,visibility:"hidden"}},dojo.body());dijit.setWaiRole(_9f,"presentation");_9f.style.left=_9f.style.top="0px";if(_9a.parent){_9f.dijitPopupParent=_9a.parent.id;}var s=_9b.domNode.style;s.display="";s.visibility="";s.position="";s.top="0px";_9f.appendChild(_9b.domNode);var _a1=new dijit.BackgroundIframe(_9f);var _a2=_9d?dijit.placeOnScreenAroundElement(_9f,_9d,_9c,_9b.orient?dojo.hitch(_9b,"orient"):null):dijit.placeOnScreen(_9f,_9a,_9c=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_9a.padding);_9f.style.visibility="visible";var _a3=[];var _a4=function(){for(var pi=_95.length-1;pi>0&&_95[pi].parent===_95[pi-1].widget;pi--){}return _95[pi];};_a3.push(dojo.connect(_9f,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&_9a.onCancel){dojo.stopEvent(evt);_9a.onCancel();}else{if(evt.cha
 rOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _a7=_a4();if(_a7&&_a7.onCancel){_a7.onCancel();}}}}));if(_9b.onCancel){_a3.push(dojo.connect(_9b,"onCancel",null,_9a.onCancel));}_a3.push(dojo.connect(_9b,_9b.onExecute?"onExecute":"onChange",null,function(){var _a8=_a4();if(_a8&&_a8.onExecute){_a8.onExecute();}}));_95.push({wrapper:_9f,iframe:_a1,widget:_9b,parent:_9a.parent,onExecute:_9a.onExecute,onCancel:_9a.onCancel,onClose:_9a.onClose,handlers:_a3});if(_9b.onOpen){_9b.onOpen(_a2);}return _a2;};this.close=function(_a9){while(dojo.some(_95,function(_aa){return _aa.widget==_a9;})){var top=_95.pop(),_ac=top.wrapper,_ad=top.iframe,_ae=top.widget,_af=top.onClose;if(_ae.onClose){_ae.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_ae||!_ae.domNode){return;}this.prepare(_ae.domNode);_ad.destroy();dojo.destroy(_ac);if(_af){_af();}}};}();dijit._frames=new function(){var _b0=[];this.pop=function(){var _b1;if(_b0.length){_b1=_b0.pop();_b1.style.display="";}else{if(dojo.isI
 E){var _b2=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var _b3="<iframe src='"+_b2+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_b1=dojo.doc.createElement(_b3);}else{_b1=dojo.create("iframe");_b1.src="javascript:\"\"";_b1.className="dijitBackgroundIframe";}_b1.tabIndex=-1;dojo.body().appendChild(_b1);}return _b1;};this.push=function(_b4){_b4.style.display="none";if(dojo.isIE){_b4.style.removeExpression("width");_b4.style.removeExpression("height");}_b0.push(_b4);};}();dijit.BackgroundIframe=function(_b5){if(!_b5.id){throw new Error("no id");}if(dojo.isIE<7||(dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _b6=dijit._frames.pop();_b5.appendChild(_b6);if(dojo.isIE){_b6.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_b5.id+"').offsetWidth");_b6.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_b5.id+"').offsetHeig
 ht");}this.iframe=_b6;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(_b7){try{_b7=dojo.byId(_b7);var doc=dojo.doc;var _b9=dojo.body();var _ba=_b9.parentNode;if((!(dojo.isFF>=3||dojo.isIE||dojo.isWebKit)||_b7==_b9||_b7==_ba)&&(typeof _b7.scrollIntoView=="function")){_b7.scrollIntoView(false);return;}var ltr=dojo._isBodyLtr();var rtl=!(ltr||(dojo.isIE>=8&&!_bd));var _be=_b9;var _bd=doc.compatMode=="BackCompat";if(_bd){_ba._offsetWidth=_ba._clientWidth=_b9._offsetWidth=_b9.clientWidth;_ba._offsetHeight=_ba._clientHeight=_b9._offsetHeight=_b9.clientHeight;}else{if(dojo.isWebKit){_b9._offsetWidth=_b9._clientWidth=_ba.clientWidth;_b9._offsetHeight=_b9._clientHeight=_ba.clientHeight;}else{_be=_ba;}_ba._offsetHeight=_ba.clientHeight;_ba._offsetWidt
 h=_ba.clientWidth;}function _bf(_c0){var ie=dojo.isIE;return ((ie<=6||(ie>=7&&_bd))?false:(dojo.style(_c0,"position").toLowerCase()=="fixed"));};function _c2(_c3){var _c4=_c3.parentNode;var _c5=_c3.offsetParent;if(_c5==null||_bf(_c3)){_c5=_ba;_c4=(_c3==_b9)?_ba:null;}_c3._offsetParent=_c5;_c3._parent=_c4;var bp=dojo._getBorderExtents(_c3);_c3._borderStart={H:(dojo.isIE>=8&&!ltr&&!_bd)?(bp.w-bp.l):bp.l,V:bp.t};_c3._borderSize={H:bp.w,V:bp.h};_c3._offsetStart={H:_c3.offsetLeft,V:_c3.offsetTop};_c3._scrolledAmount={H:_c3.scrollLeft,V:_c3.scrollTop};_c3._offsetSize={H:_c3._offsetWidth||_c3.offsetWidth,V:_c3._offsetHeight||_c3.offsetHeight};_c3._clientSize={H:_c3._clientWidth||_c3.clientWidth,V:_c3._clientHeight||_c3.clientHeight};if(_c3!=_b9&&_c3!=_ba&&_c3!=_b7){for(var dir in _c3._offsetSize){var _c8=_c3._offsetSize[dir]-_c3._clientSize[dir]-_c3._borderSize[dir];var _c9=_c3._clientSize[dir]>0&&_c8>0;if(_c9){_c3._offsetSize[dir]-=_c8;if(dojo.isIE&&rtl&&dir=="H"){_c3._offsetStart
 [dir]+=_c8;}}}}};var _ca=_b7;while(_ca!=null){if(_bf(_ca)){_b7.scrollIntoView(false);return;}_c2(_ca);_ca=_ca._parent;}if(dojo.isIE&&_b7._parent){var _cb=_b7._offsetParent;_b7._offsetStart.H+=_cb._borderStart.H;_b7._offsetStart.V+=_cb._borderStart.V;}if(dojo.isIE>=7&&_be==_ba&&rtl&&_b9._offsetStart&&_b9._offsetStart.H==0){var _cc=_ba.scrollWidth-_ba._offsetSize.H;if(_cc>0){_b9._offsetStart.H=-_cc;}}if(dojo.isIE<=6&&!_bd){_ba._offsetSize.H+=_ba._borderSize.H;_ba._offsetSize.V+=_ba._borderSize.V;}if(rtl&&_b9._offsetStart&&_be==_ba&&_ba._scrolledAmount){var ofs=_b9._offsetStart.H;if(ofs<0){_ba._scrolledAmount.H+=ofs;_b9._offsetStart.H=0;}}_ca=_b7;while(_ca){var _ce=_ca._parent;if(!_ce){break;}if(_ce.tagName=="TD"){var _cf=_ce._parent._parent._parent;if(_ce!=_ca._offsetParent&&_ce._offsetParent!=_ca._offsetParent){_ce=_cf;}}var _d0=_ca._offsetParent==_ce;for(var dir in _ca._offsetStart){if(dojo.isIE>=8&&!_d0&&!_bd){_ce._scrolledAmount[dir]=0;}var _d2=false;var _d3=dir=="H"?"V":"
 H";if(rtl&&dir=="H"&&(_ce!=_ba)&&(_ce!=_b9)&&(dojo.isIE||dojo.isWebKit)&&_ce._clientSize.H>0&&_ce.scrollWidth>_ce._clientSize.H){var _d4=_ce.scrollWidth-_ce._clientSize.H;if(_d4>0){_ce._scrolledAmount.H-=_d4;_d2=true;}}if(_ce._offsetParent.tagName=="TABLE"){if(dojo.isIE>=8&&!_bd){}else{if(dojo.isIE){_ce._offsetStart[dir]-=_ce._offsetParent._borderStart[dir];_ce._borderStart[dir]=_ce._borderSize[dir]=0;}else{_ce._offsetStart[dir]+=_ce._offsetParent._borderStart[dir];}}}if(dojo.isIE){_ce._offsetStart[dir]+=_ce._offsetParent._borderStart[dir];}var _d5=_ca._offsetStart[dir]-_ce._scrolledAmount[dir]-(_d0?0:_ce._offsetStart[dir])-_ce._borderStart[dir];var _d6=_d5+_ca._offsetSize[dir]-_ce._offsetSize[dir]+_ce._borderSize[dir];var _d7=(dir=="H")?"scrollLeft":"scrollTop";var _d8=dir=="H"&&rtl;var _d9=_d8?-_d6:_d5;var _da=_d8?-_d5:_d6;var _db=(_d9*_da<=0)?0:Math[(_d9<0)?"max":"min"](_d9,_da);if(_db!=0){var _dc=_ce[_d7];_ce[_d7]+=(_d8)?-_db:_db;var _dd=_ce[_d7]-_dc;}if(_d0){_ca._offset
 Start[dir]+=_ce._offsetStart[dir];}_ca._offsetStart[dir]-=_ce[_d7];}_ca._parent=_ce._parent;_ca._offsetParent=_ce._offsetParent;}_ce=_b7;while(_ce&&_ce.removeAttribute){next=_ce.parentNode;_ce.removeAttribute("_offsetParent");_ce.removeAttribute("_parent");_ce=next;}}catch(error){console.error("scrollIntoView: "+error);_b7.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo,_df=d.doc.documentElement,ie=d.isIE,_e1=d.isOpera,maj=Math.floor,ff=d.isFF,_e4=d.boxModel.replace(/-/,""),_e5={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_e1,dj_opera8:maj(_e1)==8,dj_opera9:maj(_e1)==9,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_e5["dj_"+_e4]=true;for(var p in _e5){if(_e5[p]){if(_df.className){_df.className+=" "+p;}else{_df.className=p;}}}dojo._loaders.unshift
 (function(){if(!dojo._isBodyLtr()){_df.className+=" dijitRtl";for(var p in _e5){if(_e5[p]){_df.className+=" "+p+"-rtl";}}}});})();}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_e9,_ea,_eb,obj,_ed,_ee){if(obj!=this._obj){this.stop();this._initialDelay=_ee||500;this._subsequentDelay=_ed||0.9;this._obj=obj;this._evt=evt;this._node=_ea;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_e9,_eb);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer
 =null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(_ef,_f0,_f1,_f2,_f3,_f4){if(_f0.keyCode){_f0.charOrCode=_f0.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_f0.charCode){_f0.charOrCode=String.fromCharCode(_f0.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(_ef,"onkeypress",this,function(evt){if(evt.charOrCode==_f0.charOrCode&&(_f0.ctrlKey===undefined||_f0.ctrlKey==evt.ctrlKey)&&(_f0.altKey===undefined||_f0.altKey==evt.ctrlKey)&&(_f0.shiftKey===undefined||_f0.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_f0,_f1,_ef,_f2,_f0,_f3,_f4);}else{if(dijit.typematic._obj==_f0){dijit.typematic.stop();}}}),dojo.connect(_ef,"onkeyup",this,function(evt){if(dijit.typematic._obj==_f0){dijit.typematic.sto
 p();}})];},addMouseListener:function(_f7,_f8,_f9,_fa,_fb){var dc=dojo.connect;return [dc(_f7,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_f8,_f7,_f9,_f7,_fa,_fb);}),dc(_f7,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_f7,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_f7,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_f7,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_f8,_f7,_f9,_f7,_fa,_fb);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_102,_103,_104,_105,_106,_107,_108){return this.addKeyListener(_103,_104,_105,_106,_107,_108).concat(this.addMouseListener(_102,_105,_106,_107,_108));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText
 :"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _10b=cs.backgroundImage;var _10c=(cs.borderTopColor==cs.borderRightColor)||(_10b!=null&&(_10b=="none"||_10b=="url(invalid-url:)"));dojo[_10c?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(elem,role){var _10f=this.getWaiRole(elem);return role?(_10f.indexOf(role)>-1):(_10f.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _113=dojo
 .attr(elem,"role")||"";if(dojo.isFF<3||!this._XhtmlRoles.test(_113)){dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);}else{if((" "+_113+" ").indexOf(" "+role+" ")<0){var _114=dojo.trim(_113.replace(this._XhtmlRoles,""));var _115=dojo.trim(_113.replace(_114,""));dojo.attr(elem,"role",_115+(_115?" ":"")+role);}}},removeWaiRole:function(elem,role){var _118=dojo.attr(elem,"role");if(!_118){return;}if(role){var _119=dojo.isFF<3?"wairole:"+role:role;var t=dojo.trim((" "+_118+" ").replace(" "+_119+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_11c){if(dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_11c);}return elem.hasAttribute?elem.hasAttribute("aria-"+_11c):!!elem.getAttribute("aria-"+_11c);},getWaiState:function(elem,_11e){if(dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_11e);}return elem.getAttribute("aria-"+_11e)||"";},setWaiState:function(elem,_120,_121){if(dojo.i
 sFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_120,_121);}else{elem.setAttribute("aria-"+_120,_121);}},removeWaiState:function(elem,_123){if(dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_123);}else{elem.removeAttribute("aria-"+_123);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_124,_125){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 _126=dojo.date.stamp._isoRegExp.exec(_124);var _127=null;if(_126){_126.shift();if(_126[1]){_126[1]--;}if(_126[6]){_126[6]*=1000;}if(_125){_125=new Date(_125);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return 
 _125["get"+prop]();}).forEach(function(_129,_12a){if(_126[_12a]===undefined){_126[_12a]=_129;}});}_127=new Date(_126[0]||1970,_126[1]||0,_126[2]||1,_126[3]||0,_126[4]||0,_126[5]||0,_126[6]||0);var _12b=0;var _12c=_126[7]&&_126[7].charAt(0);if(_12c!="Z"){_12b=((_126[8]||0)*60)+(Number(_126[9])||0);if(_12c!="-"){_12b*=-1;}}if(_12c){_12b-=_127.getTimezoneOffset();}if(_12b){_127.setTime(_127.getTime()+_12b*60000);}}return _127;};dojo.date.stamp.toISOString=function(_12d,_12e){var _=function(n){return (n<10)?"0"+n:n;};_12e=_12e||{};var _131=[];var _132=_12e.zulu?"getUTC":"get";var date="";if(_12e.selector!="time"){var year=_12d[_132+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_12d[_132+"Month"]()+1),_(_12d[_132+"Date"]())].join("-");}_131.push(date);if(_12e.selector!="date"){var time=[_(_12d[_132+"Hours"]()),_(_12d[_132+"Minutes"]()),_(_12d[_132+"Seconds"]())].join(":");var _136=_12d[_132+"Milliseconds"]();if(_12e.milliseconds){time+="."+(_136<100?"0":"")+_(_136);}
 if(_12e.zulu){time+="Z";}else{if(_12e.selector!="time"){var _137=_12d.getTimezoneOffset();var _138=Math.abs(_137);time+=(_137>0?"-":"+")+_(Math.floor(_138/60))+":"+_(_138%60);}}_131.push(time);}return _131.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _13a=d._scopeName+"Type";var qry="["+_13a+"]";var _13c=0,_13d={};var _13e=function(_13f,_140){var nso=_140||_13d;if(dojo.isIE){var cn=_13f["__dojoNameCache"];if(cn&&nso[cn]===_13f){return cn;}}var name;do{name="__"+_13c++;}while(name in nso);nso[name]=_13f;return name;};function _144(_145){if(d.isString(_145)){return "string";}if(typeof _145=="number"){return "number";}if(typeof _145=="boolean"){return "boolean";}if(d.isFunction(_145)){return "function";}if(d.isArray(_145)){return "array";}if(_145 instanceof Date){return "date";}if(_145 instanceof d._Url){return "url";}return "object";};function _146(_147,type){switc
 h(type){case "string":return _147;case "number":return _147.length?Number(_147):NaN;case "boolean":return typeof _147=="boolean"?_147:!(_147.toLowerCase()=="false");case "function":if(d.isFunction(_147)){_147=_147.toString();_147=d.trim(_147.substring(_147.indexOf("{")+1,_147.length-1));}try{if(_147.search(/[^\w\.]+/i)!=-1){_147=_13e(new Function(_147),this);}return d.getObject(_147,false);}catch(e){return new Function();}case "array":return _147?_147.split(/\s*,\s*/):[];case "date":switch(_147){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_147);}case "url":return d.baseUrl+_147;default:return d.fromJson(_147);}};var _149={};function _14a(_14b){if(!_149[_14b]){var cls=d.getObject(_14b);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_14b+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _14d=cls.prototype;var _14e={};for(var name in _14d){if(name.charAt(0)=="_"){con
 tinue;}var _150=_14d[name];_14e[name]=_144(_150);}_149[_14b]={cls:cls,params:_14e};}return _149[_14b];};this._functionFromScript=function(_151){var _152="";var _153="";var _154=_151.getAttribute("args");if(_154){d.forEach(_154.split(/\s*,\s*/),function(part,idx){_152+="var "+part+" = arguments["+idx+"]; ";});}var _157=_151.getAttribute("with");if(_157&&_157.length){d.forEach(_157.split(/\s*,\s*/),function(part){_152+="with("+part+"){";_153+="}";});}return new Function(_152+_151.innerHTML+_153);};this.instantiate=function(_159,_15a){var _15b=[];_15a=_15a||{};d.forEach(_159,function(node){if(!node){return;}var type=_13a in _15a?_15a[_13a]:node.getAttribute(_13a);if(!type||!type.length){return;}var _15e=_14a(type),_15f=_15e.cls,ps=_15f._noScript||_15f.prototype._noScript;var _161={},_162=node.attributes;for(var name in _15e.params){var item=name in _15a?{value:_15a[name],specified:true}:_162.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"
 ))){continue;}var _165=item.value;switch(name){case "class":_165="className" in _15a?_15a.className:node.className;break;case "style":_165="style" in _15a?_15a.style:(node.style&&node.style.cssText);}var _166=_15e.params[name];if(typeof _165=="string"){_161[name]=_146(_165,_166);}else{_161[name]=_165;}}if(!ps){var _167=[],_168=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_169){var _16a=_169.getAttribute("event"),type=_169.getAttribute("type"),nf=d.parser._functionFromScript(_169);if(_16a){if(type=="dojo/connect"){_167.push({event:_16a,func:nf});}else{_161[_16a]=nf;}}else{_168.push(nf);}});}var _16c=_15f["markupFactory"];if(!_16c&&_15f["prototype"]){_16c=_15f.prototype["markupFactory"];}var _16d=_16c?_16c(_161,node,_15f):new _15f(_161,node);_15b.push(_16d);var _16e=node.getAttribute("jsId");if(_16e){d.setObject(_16e,_16d);}if(!ps){d.forEach(_167,function(_16f){d.connect(_16d,_16f.event,null,_16f.func);});d.forEach(_168,function(func){func.call(_16d);})
 ;}});d.forEach(_15b,function(_171){if(_171&&_171.startup&&!_171._started&&(!_171.getParent||!_171.getParent())){_171.startup();}});return _15b;};this.parse=function(_172){var list=d.query(qry,_172);var _174=this.instantiate(list);return _174;};}();(function(){var _175=function(){if(dojo.config["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_175);}else{dojo._loaders.unshift(_175);}})();}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"connect",function(_176,_177){if(_176&&dojo.isFunction(_176._onConnect)){_176._onConnect(_177);}});dijit._connectOnUseEventHandler=function(_178){};(function(){var _179={};var _17a=function(dc){if(!_179[dc]){var r=[];var _17d;var _17e=dojo.getObject(dc).prototype;for(var _17f in _17e){if(dojo.isFunction(_17e[_17f])&&(_17d=_17f.match(/^_set([a-z
 A-Z]*)Attr$/))&&_17d[1]){r.push(_17d[1].charAt(0).toLowerCase()+_17d[1].substr(1));}}_179[dc]=r;}return _179[dc]||[];};dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:di
 jit._connectOnUseEventHandler,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")),postscript:function(_180,_181){this.create(_180,_181);},create:function(_182,_183){this.srcNodeRef=dojo.byId(_183);this._connects=[];this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_182){this.params=_182;dojo.mixin(this,_182);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _185=this.srcNodeRef;if(_185&&_185.parentNode){_185.parentNode.replaceChild(this.domNode,_185);}for(attr in this.params){this._onConnect(attr);}}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 _186=function(attr,_188){if((_188.params&&attr in _188.params)||_188[attr]){_188.attr(attr,_188[attr]);}};for(var attr in this.attributeMap){_186(attr,this);}dojo.forEach(_17a(this.declaredClass),function(a){if(!(a in this.attributeMap)){_186(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.create("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_18b){this.destroyDescendants(_18b);this.destroy(_18b);},destroy:function(_18c){this.uninitialize();dojo.forEach(this._connects,function(_18d){dojo.forEach(_18d,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_18c);dijit.registry.remove(this.id);},destroyRe
 ndering:function(_18f){if(this.bgIframe){this.bgIframe.destroy(_18f);delete this.bgIframe;}if(this.domNode){if(!_18f){dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_18f){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_190){dojo.forEach(this.getDescendants(true),function(_191){if(_191.destroyRecursive){_191.destroyRecursive(_190);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_193){if(_193 in this._deferredConnects){var _194=this[this._deferredConnects[_193]||"domNode"];this.connect(_194,_193.toLowerCase(),this[_193]);delete this._deferredConnects[_193];}},_setClassAttr:function(_195){var _196=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_196,this["class"]);this["class"]=_195;dojo.addClass(_196,_195);},_setStyleAttr:function(_197){var _198=this[this.attributeMap["sty
 le"]||"domNode"];if(dojo.isObject(_197)){dojo.style(_198,_197);}else{if(_198.style.cssText){_198.style.cssText+="; "+_197;}else{_198.style.cssText=_197;}}this["style"]=_197;},setAttribute:function(attr,_19a){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_19a);},_attrToDom:function(attr,_19c){var _19d=this.attributeMap[attr];dojo.forEach(dojo.isArray(_19d)?_19d:[_19d],function(_19e){var _19f=this[_19e.node||_19e||"domNode"];var type=_19e.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_19c)){_19c=dojo.hitch(this,_19c);}if(/^on[A-Z][a-zA-Z]*$/.test(attr)){attr=attr.toLowerCase();}dojo.attr(_19f,attr,_19c);break;case "innerHTML":_19f.innerHTML=_19c;break;case "class":dojo.removeClass(_19f,this[attr]);dojo.addClass(_19f,_19c);break;}},this);this[attr]=_19c;},attr:function(name,_1a2){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this
 ;}var _1a5=this._getAttrNames(name);if(args==2){if(this[_1a5.s]){return this[_1a5.s](_1a2)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_1a2);}this[name]=_1a2;}return this;}else{if(this[_1a5.g]){return this[_1a5.g]();}else{return this[name];}}},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"};},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(_1a9,_1aa){_1aa=_1aa||[];if(this.containerNode){this._getDescendantsHelper(_1a9,_1aa,this.containerNode);}return _1aa;},_getDescendantsHelper:function(_1ab,_1ac,root){var list=dojo.isIE?root.children:root.childNodes,i=0,node;while(node=list[i++]){if(node.nodeType!=1){continue;}var _1b1=node.getAttribute("widgetId");if(_1b1){var _1b2=dijit.byId(_1b1);_1ac.push(_1b2);if(!_1ab){_1b2.g
 etDescendants(_1ab,_1ac);}}else{this._getDescendantsHelper(_1ab,_1ac,node);}}},nodesWithKeyClick:["input","button"],connect:function(obj,_1b4,_1b5){var d=dojo;var dco=d.hitch(d,"connect",obj);var _1b8=[];if(_1b4=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_1b5);_1b8.push(dco("onkeydown",this,function(e){if(!d.isFF&&e.keyCode==d.keys.ENTER&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){return m(e);}else{if(e.keyCode==d.keys.SPACE){d.stopEvent(e);}}}),dco("onkeyup",this,function(e){if(e.keyCode==d.keys.SPACE&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){return m(e);}}));if(d.isFF){_1b8.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){return m(e);}}));}}_1b4="onclick";}_1b8.push(dco(_1b4,this,_1b5));this._connects.push(_1b8);return _1b8;},disconnect:function(_1bd){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_1bd){dojo.forEach(_1bd,dojo.disconnect);this._co
 nnects.splice(i,1);return;}}},isLeftToRight:function(){return dojo._isBodyLtr();},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},placeAt:function(_1bf,_1c0){if(_1bf["declaredClass"]&&_1bf["addChild"]){_1bf.addChild(this,_1c0);}else{dojo.place(this.domNode,_1bf,_1c0);}return this;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");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(_1ca,map,_1cc,_1cd){_1cd=_1cd||dojo.global;_1cc=(!_1cc)?function(v){return v;}:dojo.hitch(_1cd,_1cc);return _1ca.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1cf,key,_1d1){var
  _1d2=dojo.getObject(key,false,map);if(_1d1){_1d2=dojo.getObject(_1d1,false,_1cd).call(_1cd,_1d2,key);}return _1cc(_1d2,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.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;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_stringRepl:function(tmpl){var _1d6=this.declaredClass,_1d7=this;return dojo.string.substitute(tmpl,this,function(_1d8,key){if(key.charAt(0)=="!"){_1d8=dojo.getObject(key.substr(1),_1d7);}if(typeof _1d8=="undefined"){throw new Error(_1d6+" template:"+key);}if(_1d8==null){return "";}return key.charAt(0)=="!"?_1d8:_1d8.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _1da=dijit._Temp
 lated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_1da)){node=dojo._toDom(this._stringRepl(_1da));}else{node=_1da.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);if(this.widgetsInTemplate){var cw=(this._supportingWidgets=dojo.parser.parse(node));this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_1df){var dest=this.containerNode;if(_1df&&dest){while(_1df.hasChildNodes()){dest.appendChild(_1df.firstChild);}}},_attachTemplateNodes:function(_1e1,_1e2){_1e2=_1e2||function(n,p){return n.getAttribute(p);};var _1e5=dojo.isArray(_1e1)?_1e1:(_1e1.all||_1e1.getElementsByTagName("*"));var x=dojo.isArray(_1e1)?0:-1;for(;x<_1e5.length;x++){var _1e7=(x==-1)?_1e1:_1e5[x];if(this.widgetsInTemplate&&_1e2(_1e7,"dojoType")){continue;}var _1e8=_1e2(_1e7,"dojoAttachPoint");if(_1e8){var _1e9,_1ea=_1e8.split(/\s*,\s*/);while((_1e9=_1ea.shift())){if(dojo.i
 sArray(this[_1e9])){this[_1e9].push(_1e7);}else{this[_1e9]=_1e7;}}}var _1eb=_1e2(_1e7,"dojoAttachEvent");if(_1eb){var _1ec,_1ed=_1eb.split(/\s*,\s*/);var trim=dojo.trim;while((_1ec=_1ed.shift())){if(_1ec){var _1ef=null;if(_1ec.indexOf(":")!=-1){var _1f0=_1ec.split(":");_1ec=trim(_1f0[0]);_1ef=trim(_1f0[1]);}else{_1ec=trim(_1ec);}if(!_1ef){_1ef=_1ec;}this.connect(_1e7,_1ec,_1ef);}}}var role=_1e2(_1e7,"waiRole");if(role){dijit.setWaiRole(_1e7,role);}var _1f2=_1e2(_1e7,"waiState");if(_1f2){dojo.forEach(_1f2.split(/\s*,\s*/),function(_1f3){if(_1f3.indexOf("-")!=-1){var pair=_1f3.split("-");dijit.setWaiState(_1e7,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1f5,_1f6,_1f7){var _1f8=dijit._Templated._templateCache;var key=_1f6||_1f5;var _1fa=_1f8[key];if(_1fa){if(!_1fa.ownerDocument||_1fa.ownerDocument==dojo.doc){return _1fa;}dojo.destroy(_1fa);}if(!_1f6){_1f6=dijit._Templated._sanitizeTemplateString(dojo.trim(dojo._getT
 ext(_1f5)));}_1f6=dojo.string.trim(_1f6);if(_1f7||_1f6.match(/\$\{([^\}]+)\}/g)){return (_1f8[key]=_1f6);}else{return (_1f8[key]=dojo._toDom(_1f6));}};dijit._Templated._sanitizeTemplateString=function(_1fb){if(_1fb){_1fb=_1fb.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1fc=_1fb.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1fc){_1fb=_1fc[1];}}else{_1fb="";}return _1fb;};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1fd=dijit._Templated._templateCache;for(var key in _1fd){var _1ff=_1fd[key];if(!isNaN(_1ff.nodeType)){dojo.destroy(_1ff);}delete _1fd[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChil
 d:function(_200,_201){var _202=this.containerNode;if(_201&&typeof _201=="number"){var _203=this.getChildren();if(_203&&_203.length>=_201){_202=_203[_201-1].domNode;_201="after";}}dojo.place(_200.domNode,_202,_201);if(this._started&&!_200._started){_200.startup();}},removeChild:function(_204){if(typeof _204=="number"&&_204>0){_204=this.getChildren()[_204];}if(!_204||!_204.domNode){return;}var node=_204.domNode;node.parentNode.removeChild(node);},_nextElement:function(node){do{node=node.nextSibling;}while(node&&node.nodeType!=1);return node;},_firstElement:function(node){node=node.firstChild;if(node&&node.nodeType!=1){node=this._nextElement(node);}return node;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);},hasChildren:function(){return !!this._firstElement(this.containerNode);},destroyDescendants:function(_208){dojo.forEach(this.getChildren(),function(_209){_209.destroyRecursive(_208);});},_getSiblingOfChild:function(_20a,dir){
 var node=_20a.domNode;var _20d=(dir>0?"nextSibling":"previousSibling");do{node=node[_20d];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;},getIndexOfChild:function(_20e){var _20f=this.getChildren();for(var i=0,c;c=_20f[i];i++){if(c==_20e){return i;}}return -1;}});}if(!dojo._hasResource["dijit._Contained"]){dojo._hasResource["dijit._Contained"]=true;dojo.provide("dijit._Contained");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _214=dijit.byId(id);return _214.isContainer?_214:null;}}return null;},_getSibling:function(_215){var node=this.domNode;do{node=node[_215+"Sibling"];}while(node&&node.nodeType!=1);if(!node){return null;}var id=node.getAttribute("widgetId");return dijit.byId(id);},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);}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_219){_219.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(dojo.global,"onresize",dojo.hitch(this,"resize"));}this.inherited(arguments);},resize:function(_21a,_21b){var node=this.domNode;if(_21a){dojo.marginBox(node,_21a);if(_21a.t){node.style.top=_21a.t+"px";}if(_21a.l){node.style.left=_21a.l+"px";}}var mb=_21b||{};dojo.mixin(mb,_21a
 ||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)};var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_223){dojo.addClass(_223.domNode,this.baseClass+"-child");if(_223.baseClass){dojo.addClass(_223.domNode,this.baseClass+"-"+_223.baseClass);}},addChild:function(_224,_225){this.inherited(arguments);if(this._started){this._setupChild(_224);}},removeChild:function(_226){dojo.removeClass(_226.domNode,this.baseClass+"-child");if(_226.baseClass){dojo.removeClass(_226.domNode,this.baseClass+"-"+_226.baseClass);}this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyl
 e(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _22c=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_22f,dim){_22f.resize?_22f.resize(dim):dojo.marginBox(_22f.domNode,dim);dojo.mixin(_22f,dojo.marginBox(_22f.domNode));dojo.mixin(_22f,dim);};dijit.layout.layoutChildren=function(_231,dim,_233){dim=dojo.mixin({},dim);dojo.addClass(_231,"dijitLayoutContainer");_233=dojo.filter(_233,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_233,function(item){return item.layoutAlign=="client";}));dojo.forEach(_233,function(_236){var elm=_236.domNode,pos=_236.layoutAlign;var _239=elm.style;_239.left=dim.l+"px";_239.top=dim.t+"px";_239.bottom=_239.right="auto";dojo.addClass(elm,"dijitAlign"+_22c(pos));if(pos=="top"||pos=="bottom"){size(_
 236,{w:dim.w});dim.h-=_236.h;if(pos=="top"){dim.t+=_236.h;}else{_239.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_236,{h:dim.h});dim.w-=_236.w;if(pos=="left"){dim.l+=_236.w;}else{_239.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_236,dim);}}}});};})();}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},_setDisabledAttr:function(_23a){this.disabled=_23a;dojo.attr(this.f
 ocusNode,"disabled",_23a);dijit.setWaiState(this.focusNode,"disabled",_23a);if(_23a){this._hovering=false;this._active=false;this.focusNode.removeAttribute("tabIndex");}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}this._setStateClass();},setDisabled:function(_23b){dojo.deprecated("setDisabled("+_23b+") is deprecated. Use attr('disabled',"+_23b+") instead.","","2.0");this.attr("disabled",_23b);},_onFocus:function(e){if(this.scrollOnFocus){dijit.scrollIntoView(this.domNode);}this.inherited(arguments);},_onMouse:function(_23d){var _23e=_23d.currentTarget;if(_23e&&_23e.getAttribute){this.stateModifier=_23e.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_23d.type){case "mouseenter":case "mouseover":this._hovering=true;this._active=this._mouseDown;break;case "mouseout":case "mouseleave":this._hovering=false;this._active=false;break;case "mousedown":this._active=true;this._mouseDown=true;var _23f=this.connect(dojo.body(),"onmouseup",function(){if(this._
 mouseDown&&this.isFocusable()){this.focus();}this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_23f);});break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){dijit.focus(this.focusNode);},_setStateClass:function(){var _240=this.baseClass.split(" ");function _241(_242){_240=_240.concat(dojo.map(_240,function(c){return c+_242;}),"dijit"+_242);};if(this.checked){_241("Checked");}if(this.state){_241(this.state);}if(this.selected){_241("Selected");}if(this.disabled){_241("Disabled");}else{if(this.readOnly){_241("ReadOnly");}else{if(this._active){_241(this.stateModifier+"Active");}else{if(this._focused){_241("Focused");}if(this._hovering){_241(this.stateModifier+"Hover");}}}}var tn=this.stateNode||this.domNode,_245={};dojo.forEach(tn.className.split(" "),function(c){_245[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateC
 lasses,function(c){delete _245[c];});}dojo.forEach(_240,function(c){_245[c]=true;});var _249=[];for(var c in _245){_249.push(c);}tn.className=_249.join(" ");this._stateClasses=_240;},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(_24d){},_onChangeActive:false,_handleOnChange:function(_24e,_24f){this._lastValue=_24e;if(this._lastValueReported==undefined&&(_24f===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_24e;}if((this.intermediateChanges||_24f||_24f===undefined)&&((typeof _24e!=typeof this._lastValueReported)||this.compare(_24e,this._lastValueReported)!=0)){this._lastValueReported=_24e;if(this._onChangeActive){this.onChange(_24e);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){
 clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_250){dojo.deprecated("dijit.form._FormWidget:setValue("+_250+") is deprecated.  Use attr('value',"+_250+") instead.","","2.0");this.attr("value",_250);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use attr('value') instead.","","2.0");return this.attr("value");},_layoutHack:function(){if(dojo.isFF==2&&!this._layoutHackHandle){var node=this.domNode;var old=node.style.opacity;node.style.opacity="0.999";this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){this._layoutHackHandle=null;node.style.opacity=old;}),0);}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:""}),postCreate:function(){if(dojo.isIE||dojo.isWebKit){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._resetValue=this.value;}
 },_setValueAttr:function(_253,_254){this.value=_253;this._handleOnChange(_253,_254);},_getValueAttr:function(_255){return this._lastValue;},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.ctrlKey&&!e.altKey){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}else{if(dojo.isWebKit){te=document.createEvent("Events");te.initEvent("keypress",true,true);te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.target.dispatchEvent(te);}}}}});}if(!dojo._hasResource["dijit.dijit"]){dojo._hasResource["dijit.dijit"]=true;dojo.provide("dijit.dijit");}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit.js
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message