diff --git a/dotCMS/src/main/webapp/html/js/dojo/custom-build/build/build.js b/dotCMS/src/main/webapp/html/js/dojo/custom-build/build/build.js index cc667e2461ca..0df1ef6f5262 100644 --- a/dotCMS/src/main/webapp/html/js/dojo/custom-build/build/build.js +++ b/dotCMS/src/main/webapp/html/js/dojo/custom-build/build/build.js @@ -1,2 +1,2 @@ //>>built -require({cache:{"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_1){return _1._base;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(_2){return _2.dijit;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_3,_4,_5,_6,_7,_8,_9){var _a;var _b={_isElementShown:function(_c){var s=_6.get(_c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_5.get(_c,"type")!="hidden");},hasDefaultTabStop:function(_d){switch(_d.nodeName.toLowerCase()){case "a":return _5.has(_d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _e;try{var _f=_d.contentDocument;if("designMode" in _f&&_f.designMode=="on"){return true;}_e=_f.body;}catch(e1){try{_e=_d.contentWindow.document.body;}catch(e2){return false;}}return _e&&(_e.contentEditable=="true"||(_e.firstChild&&_e.firstChild.contentEditable=="true"));default:return _d.contentEditable=="true";}},effectiveTabIndex:function(_10){if(_5.get(_10,"disabled")){return _a;}else{if(_5.has(_10,"tabIndex")){return +_5.get(_10,"tabIndex");}else{return _b.hasDefaultTabStop(_10)?0:_a;}}},isTabNavigable:function(_11){return _b.effectiveTabIndex(_11)>=0;},isFocusable:function(_12){return _b.effectiveTabIndex(_12)>=-1;},_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=_b._isElementShown,_1e=_b.effectiveTabIndex;var _1f=function(_20){for(var _21=_20.firstChild;_21;_21=_21.nextSibling){if(_21.nodeType!=1||(_8("ie")<=9&&_21.scopeName!=="HTML")||!_1d(_21)){continue;}var _22=_1e(_21);if(_22>=0){if(_22==0){if(!_14){_14=_21;}_15=_21;}else{if(_22>0){if(!_16||_22<_17){_17=_22;_16=_21;}if(!_18||_22>=_19){_19=_22;_18=_21;}}}var rn=_1b(_21);if(_5.get(_21,"checked")&&rn){_1a[rn]=_21;}}if(_21.nodeName.toUpperCase()!="SELECT"){_1f(_21);}}};if(_1d(_13)){_1f(_13);}function rs(_23){return _1a[_1b(_23)]||_23;};return {first:rs(_14),last:rs(_15),lowest:rs(_16),highest:rs(_18)};},getFirstInTabbingOrder:function(_24,doc){var _25=_b._getTabNavigable(_4.byId(_24,doc));return _25.lowest?_25.lowest:_25.first;},getLastInTabbingOrder:function(_26,doc){var _27=_b._getTabNavigable(_4.byId(_26,doc));return _27.last?_27.last:_27.highest;}};1&&_7.mixin(_9,_b);return _b;});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_28,_29,_2a,_2b){var _2c=_29("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_2d){if(this._hash[_2d.id]){throw new Error("Tried to register widget with id=="+_2d.id+" but that id is already registered");}this._hash[_2d.id]=_2d;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_2e,_2f){_2f=_2f||_2a.global;var i=0,id;for(id in this._hash){_2e.call(_2f,this._hash[id],i++,this._hash);}return this;},filter:function(_30,_31){_31=_31||_2a.global;var res=new _2c(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_30.call(_31,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _2c(),id,_32;for(id in this._hash){_32=this._hash[id];if(_32.declaredClass==cls){res.add(_32);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_33,_34){return _28.map(this.toArray(),_33,_34);},every:function(_35,_36){_36=_36||_2a.global;var x=0,i;for(i in this._hash){if(!_35.call(_36,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_37,_38){_38=_38||_2a.global;var x=0,i;for(i in this._hash){if(_37.call(_38,this._hash[i],x++,this._hash)){return true;}}return false;}});_28.forEach(["forEach","filter","byClass","map","every","some"],function(_39){_2b[_39]=_2c.prototype[_39];});return _2c;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_3a,win,_3b){var _3c={},_3d={};var _3e={length:0,add:function(_3f){if(_3d[_3f.id]){throw new Error("Tried to register widget with id=="+_3f.id+" but that id is already registered");}_3d[_3f.id]=_3f;this.length++;},remove:function(id){if(_3d[id]){delete _3d[id];this.length--;}},byId:function(id){return typeof id=="string"?_3d[id]:id;},byNode:function(_40){return _3d[_40.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _3d){ar.push(_3d[id]);}return ar;},getUniqueId:function(_41){var id;do{id=_41+"_"+(_41 in _3c?++_3c[_41]:_3c[_41]=0);}while(_3d[id]);return _3b._scopeName=="dijit"?id:_3b._scopeName+"_"+id;},findWidgets:function(_42,_43){var _44=[];function _45(_46){for(var _47=_46.firstChild;_47;_47=_47.nextSibling){if(_47.nodeType==1){var _48=_47.getAttribute("widgetId");if(_48){var _49=_3d[_48];if(_49){_44.push(_49);}}else{if(_47!==_43){_45(_47);}}}}};_45(_42);return _44;},_destroyAll:function(){_3b._curFocus=null;_3b._prevFocus=null;_3b._activeStack=[];_3a.forEach(_3e.findWidgets(win.body()),function(_4a){if(!_4a._destroyed){if(_4a.destroyRecursive){_4a.destroyRecursive();}else{if(_4a.destroy){_4a.destroy();}}}});},getEnclosingWidget:function(_4b){while(_4b){var id=_4b.nodeType==1&&_4b.getAttribute("widgetId");if(id){return _3d[id];}_4b=_4b.parentNode;}return null;},_hash:_3d};_3b.registry=_3e;return _3e;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_4c,dom,_4d,_4e,win,_4f,_50,_51){var _52={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _51.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_50:new _50.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_53){var sel=win.global==window?_50:new _50.SelectionManager(win.global);return sel.moveToBookmark(_53);},getFocus:function(_54,_55){var _56=!_4f.curNode||(_54&&dom.isDescendant(_4f.curNode,_54.domNode))?_51._prevFocus:_4f.curNode;return {node:_56,bookmark:_56&&(_56==_4f.curNode)&&win.withGlobal(_55||win.global,_51.getBookmark),openedForWindow:_55};},_activeStack:[],registerIframe:function(_57){return _4f.registerIframe(_57);},unregisterIframe:function(_58){_58&&_58.remove();},registerWin:function(_59,_5a){return _4f.registerWin(_59,_5a);},unregisterWin:function(_5b){_5b&&_5b.remove();}};_4f.focus=function(_5c){if(!_5c){return;}var _5d="node" in _5c?_5c.node:_5c,_5e=_5c.bookmark,_5f=_5c.openedForWindow,_60=_5e?_5e.isCollapsed:false;if(_5d){var _61=(_5d.tagName.toLowerCase()=="iframe")?_5d.contentWindow:_5d;if(_61&&_61.focus){try{_61.focus();}catch(e){}}_4f._onFocusNode(_5d);}if(_5e&&win.withGlobal(_5f||win.global,_51.isCollapsed)&&!_60){if(_5f){_5f.focus();}try{win.withGlobal(_5f||win.global,_51.moveToBookmark,null,[_5e]);}catch(e2){}}};_4f.watch("curNode",function(_62,_63,_64){_51._curFocus=_64;_51._prevFocus=_63;if(_64){_4e.publish("focusNode",_64);}});_4f.watch("activeStack",function(_65,_66,_67){_51._activeStack=_67;});_4f.on("widget-blur",function(_68,by){_4e.publish("widgetBlur",_68,by);});_4f.on("widget-focus",function(_69,by){_4e.publish("widgetFocus",_69,by);});_4d.mixin(_51,_52);return _51;});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_6a,_6b,dom,_6c,_6d,_6e,_6f,_70,on,_71,has,_72,win,_73,_74,_75,_76){var _77;var _78;var _79=_6b([_72,_6f],{curNode:null,activeStack:[],constructor:function(){var _7a=_70.hitch(this,function(_7b){if(dom.isDescendant(this.curNode,_7b)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,_7b)){this.set("prevNode",null);}});_6a.before(_6e,"empty",_7a);_6a.before(_6e,"destroy",_7a);},registerIframe:function(_7c){return this.registerWin(_7c.contentWindow,_7c);},registerWin:function(_7d,_7e){var _7f=this,_80=_7d.document&&_7d.document.body;if(_80){var _81=has("pointer-events")?"pointerdown":has("MSPointer")?"MSPointerDown":has("touch-events")?"mousedown, touchstart":"mousedown";var mdh=on(_7d.document,_81,function(evt){if(evt&&evt.target&&evt.target.parentNode==null){return;}_7f._onTouchNode(_7e||evt.target,"mouse");});var fih=on(_80,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(_74.isFocusable(evt.target)){_7f._onFocusNode(_7e||evt.target);}else{_7f._onTouchNode(_7e||evt.target);}});var foh=on(_80,"focusout",function(evt){_7f._onBlurNode(_7e||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;_80=null;}};}},_onBlurNode:function(_82){var now=(new Date()).getTime();if(now<_77+100){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(_70.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}if(now<_78+100){return;}this._clearActiveWidgetsTimer=setTimeout(_70.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(_83,by){_78=(new Date()).getTime();if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_6d.contains(_83,"dijitPopup")){_83=_83.firstChild;}var _84=[];try{while(_83){var _85=_6c.get(_83,"dijitPopupParent");if(_85){_83=_75.byId(_85).domNode;}else{if(_83.tagName&&_83.tagName.toLowerCase()=="body"){if(_83===win.body()){break;}_83=_73.get(_83.ownerDocument).frameElement;}else{var id=_83.getAttribute&&_83.getAttribute("widgetId"),_86=id&&_75.byId(id);if(_86&&!(by=="mouse"&&_86.get("disabled"))){_84.unshift(id);}_83=_83.parentNode;}}}}catch(e){}this._setStack(_84,by);},_onFocusNode:function(_87){if(!_87){return;}if(_87.nodeType==9){return;}_77=(new Date()).getTime();if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(_87);if(_87==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",_87);},_setStack:function(_88,by){var _89=this.activeStack,_8a=_89.length-1,_8b=_88.length-1;if(_88[_8b]==_89[_8a]){return;}this.set("activeStack",_88);var _8c,i;for(i=_8a;i>=0&&_89[i]!=_88[i];i--){_8c=_75.byId(_89[i]);if(_8c){_8c._hasBeenBlurred=true;_8c.set("focused",false);if(_8c._focusManager==this){_8c._onBlur(by);}this.emit("widget-blur",_8c,by);}}for(i++;i<=_8b;i++){_8c=_75.byId(_88[i]);if(_8c){_8c.set("focused",true);if(_8c._focusManager==this){_8c._onFocus(by);}this.emit("widget-focus",_8c,by);}}},focus:function(_8d){if(_8d){try{_8d.focus();}catch(e){}}}});var _8e=new _79();_71(function(){var _8f=_8e.registerWin(_73.get(document));if(has("ie")){on(window,"unload",function(){if(_8f){_8f.remove();_8f=null;}});}});_76.focus=function(_90){_8e.focus(_90);};for(var _91 in _8e){if(!/^_/.test(_91)){_76.focus[_91]=typeof _8e[_91]=="function"?_70.hitch(_8e,_91):_8e[_91];}}_8e.watch(function(_92,_93,_94){_76.focus[_92]=_94;});return _8e;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_95,_96,_97,_98){return _95("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(_99){var apn=this._attrPairNames;if(apn[_99]){return apn[_99];}return (apn[_99]={s:"_"+_99+"Setter",g:"_"+_99+"Getter"});},postscript:function(_9a){if(_9a){this.set(_9a);}},_get:function(_9b,_9c){return typeof this[_9c.g]==="function"?this[_9c.g]():this[_9b];},get:function(_9d){return this._get(_9d,this._getAttrNames(_9d));},set:function(_9e,_9f){if(typeof _9e==="object"){for(var x in _9e){if(_9e.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,_9e[x]);}}return this;}var _a0=this._getAttrNames(_9e),_a1=this._get(_9e,_a0),_a2=this[_a0.s],_a3;if(typeof _a2==="function"){_a3=_a2.apply(this,Array.prototype.slice.call(arguments,1));}else{this[_9e]=_9f;}if(this._watchCallbacks){var _a4=this;_98(_a3,function(){_a4._watchCallbacks(_9e,_a1,_9f);});}return this;},_changeAttrValue:function(_a5,_a6){var _a7=this.get(_a5);this[_a5]=_a6;if(this._watchCallbacks){this._watchCallbacks(_a5,_a7,_a6);}return this;},watch:function(_a8,_a9){var _aa=this._watchCallbacks;if(!_aa){var _ab=this;_aa=this._watchCallbacks=function(_ac,_ad,_ae,_af){var _b0=function(_b1){if(_b1){_b1=_b1.slice();for(var i=0,l=_b1.length;i-1){_b2.splice(_b4,1);}};return _b3;}});});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_b5,has,_b6,dom,_b7,_b8,_b9){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _ba=_b6.body(doc),_bb=_b9.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_ba,"last"),div=_b9.create("div",{style:{overflow:"hidden",direction:"ltr"}},_bb,"last"),ret=_b7.position(div).x!=0;_bb.removeChild(div);_ba.removeChild(_bb);return ret;});has.add("position-fixed-support",function(win,doc){var _bc=_b6.body(doc),_bd=_b9.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_bc,"last"),_be=_b9.create("span",{style:{position:"fixed",left:"0",top:"0"}},_bd,"last"),ret=_b7.position(_be).x!=_b7.position(_bd).x;_bd.removeChild(_be);_bc.removeChild(_bd);return ret;});var _bf={getBox:function(doc){doc=doc||_b6.doc;var _c0=(doc.compatMode=="BackCompat")?_b6.body(doc):doc.documentElement,_c1=_b7.docScroll(doc),w,h;if(has("touch")){var _c2=_bf.get(doc);w=_c2.innerWidth||_c0.clientWidth;h=_c2.innerHeight||_c0.clientHeight;}else{w=_c0.clientWidth;h=_c0.clientHeight;}return {l:_c1.x,t:_c1.y,w:w,h:h};},get:function(doc){if(has("ie")&&_bf!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(_c3,pos){try{_c3=dom.byId(_c3);var doc=_c3.ownerDocument||_b6.doc,_c4=_b6.body(doc),_c5=doc.documentElement||_c4.parentNode,_c6=has("ie")||has("trident"),_c7=has("webkit");if(_c3==_c4||_c3==_c5){return;}if(!(has("mozilla")||_c6||_c7||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in _c3)){_c3.scrollIntoView(false);return;}var _c8=doc.compatMode=="BackCompat",_c9=Math.min(_c4.clientWidth||_c5.clientWidth,_c5.clientWidth||_c4.clientWidth),_ca=Math.min(_c4.clientHeight||_c5.clientHeight,_c5.clientHeight||_c4.clientHeight),_cb=(_c7||_c8)?_c4:_c5,_cc=pos||_b7.position(_c3),el=_c3.parentNode,_cd=function(el){return (_c6<=6||(_c6==7&&_c8))?false:(has("position-fixed-support")&&(_b8.get(el,"position").toLowerCase()=="fixed"));},_ce=this,_cf=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_ce.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_cd(_c3)){return;}while(el){if(el==_c4){el=_cb;}var _d0=_b7.position(el),_d1=_cd(el),rtl=_b8.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_cb){_d0.w=_c9;_d0.h=_ca;if(_cb==_c5&&(_c6||has("trident"))&&rtl){_d0.x+=_cb.offsetWidth-_d0.w;}_d0.x=0;_d0.y=0;}else{var pb=_b7.getPadBorderExtents(el);_d0.w-=pb.w;_d0.h-=pb.h;_d0.x+=pb.l;_d0.y+=pb.t;var _d2=el.clientWidth,_d3=_d0.w-_d2;if(_d2>0&&_d3>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_d0.x+=_d3;}_d0.w=_d2;}_d2=el.clientHeight;_d3=_d0.h-_d2;if(_d2>0&&_d3>0){_d0.h=_d2;}}if(_d1){if(_d0.y<0){_d0.h+=_d0.y;_d0.y=0;}if(_d0.x<0){_d0.w+=_d0.x;_d0.x=0;}if(_d0.y+_d0.h>_ca){_d0.h=_ca-_d0.y;}if(_d0.x+_d0.w>_c9){_d0.w=_c9-_d0.x;}}var l=_cc.x-_d0.x,t=_cc.y-_d0.y,r=l+_cc.w-_d0.w,bot=t+_cc.h-_d0.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_cb||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_c6==8&&!_c8)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_cf(el,s,0);s=el.scrollLeft-old;_cc.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_cb||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_cf(el,0,s);s=el.scrollTop-old;_cc.y-=s;}el=(el!=_cb)&&!_d1&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_c3.scrollIntoView(false);}}};1&&_b5.setObject("dojo.window",_bf);return _bf;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_d4,dom,_d5,has,_d6,_d7){var _d8=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _d9="text";var _da;try{_da=win.getSelection();}catch(e){}if(_da&&_da.rangeCount==1){var _db=_da.getRangeAt(0);if((_db.startContainer==_db.endContainer)&&((_db.endOffset-_db.startOffset)==1)&&(_db.startContainer.nodeType!=3)){_d9="control";}}return _d9;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _dc=win.getSelection();return _dc?_dc.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _dd=win.getSelection();if(_dd&&_dd.rangeCount){var i;var _de="";for(i=0;i<_dd.rangeCount;i++){var _df=_dd.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(_df);_de+=div.innerHTML;}return _de;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _e0=win.getSelection();return _e0.anchorNode.childNodes[_e0.anchorOffset];}else{var _e1=doc.selection.createRange();if(_e1&&_e1.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _e2=doc.getSelection();if(_e2){var _e3=_e2.anchorNode;while(_e3&&(_e3.nodeType!=1)){_e3=_e3.parentNode;}return _e3;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_e4){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_e5){var _e6=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(_e6,arguments);};this.isTag=function(_e7,_e8){if(_e7&&_e7.tagName){var _e9=_e7.tagName.toLowerCase();for(var i=0;i<_e8.length;i++){var _ea=String(_e8[i]).toLowerCase();if(_e9==_ea){return _ea;}}}return "";};this.getParentOfType=function(_eb,_ec){while(_eb){if(this.isTag(_eb,_ec).length){return _eb;}_eb=_eb.parentNode;}return null;};this.collapse=function(_ed){if(doc.getSelection){var _ee=win.getSelection();if(_ee.removeAllRanges){if(_ed){_ee.collapseToStart();}else{_ee.collapseToEnd();}}else{_ee.collapse(_ed);}}else{var _ef=doc.selection.createRange();_ef.collapse(_ed);_ef.select();}};this.remove=function(){var sel=doc.selection;if(doc.getSelection){sel=win.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}};this.selectElementChildren=function(_f0,_f1){var _f2;_f0=dom.byId(_f0);if(doc.getSelection){var _f3=win.getSelection();if(has("opera")){if(_f3.rangeCount){_f2=_f3.getRangeAt(0);}else{_f2=doc.createRange();}_f2.setStart(_f0,0);_f2.setEnd(_f0,(_f0.nodeType==3)?_f0.length:_f0.childNodes.length);_f3.addRange(_f2);}else{_f3.selectAllChildren(_f0);}}else{_f2=_f0.ownerDocument.body.createTextRange();_f2.moveToElementText(_f0);if(!_f1){try{_f2.select();}catch(e){}}}};this.selectElement=function(_f4,_f5){var _f6;_f4=dom.byId(_f4);if(doc.getSelection){var _f7=doc.getSelection();_f6=doc.createRange();if(_f7.removeAllRanges){if(has("opera")){if(_f7.getRangeAt(0)){_f6=_f7.getRangeAt(0);}}_f6.selectNode(_f4);_f7.removeAllRanges();_f7.addRange(_f6);}}else{try{var tg=_f4.tagName?_f4.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_f6=_d6.body(doc).createControlRange();}else{_f6=_d6.body(doc).createRange();}_f6.addElement(_f4);if(!_f5){_f6.select();}}catch(e){this.selectElementChildren(_f4,_f5);}}};this.inSelection=function(_f8){if(_f8){var _f9;var _fa;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_fa=sel.getRangeAt(0);}if(_fa&&_fa.compareBoundaryPoints&&doc.createRange){try{_f9=doc.createRange();_f9.setStart(_f8,0);if(_fa.compareBoundaryPoints(_fa.START_TO_END,_f9)===1){return true;}}catch(e){}}}else{_fa=doc.selection.createRange();try{_f9=_f8.ownerDocument.body.createTextRange();_f9.moveToElementText(_f8);}catch(e2){}if(_fa&&_f9){if(_fa.compareEndPoints("EndToStart",_f9)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_d7.curNode;if(doc.getSelection){sel=win.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i>1))-bb.w)}[_11a.charAt(1)],_121={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_11a.charAt(0)],_122=Math.max(view.l,_120),_123=Math.max(view.t,_121),endX=Math.min(view.l+view.w,_120+bb.w),endY=Math.min(view.t+view.h,_121+bb.h),_124=endX-_122,_125=endY-_123;_11b+=(bb.w-_124)+(bb.h-_125);if(best==null||_11b>1)}[_13e.charAt(1)],y:{"T":y,"B":y+_13c,"M":y+(_13c>>1)}[_13e.charAt(0)]}});};_10f.forEach(_12e,function(pos){var ltr=_12f;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _140=_115(node,_13d,_130,{w:_13b,h:_13c});_140.aroundNodePos=_131;return _140;}};return _114.place=_127;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_141,on,_142,has,_143){var _144=new _141();var _145;_142(function(){var _146=_143.getBox();_144._rlh=on(window,"resize",function(){var _147=_143.getBox();if(_146.h==_147.h&&_146.w==_147.w){return;}_146=_147;_144.emit("resize");});if(has("ie")==8){var _148=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_148){_148=screen.deviceXDPI;_144.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_145=evt.target;});on(document,"focusout",function(evt){_145=null;});}});_144.getEffectiveBox=function(doc){var box=_143.getBox(doc);var tag=_145&&_145.tagName&&_145.tagName.toLowerCase();if(has("ios")&&_145&&!_145.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_145.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_145.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _144;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_149,win,_14a){var _14b=_14a._createWrapper;_14a._createWrapper=function(_14c){if(!_14c.declaredClass){_14c={_popupWrapper:(_14c.parentNode&&_149.contains(_14c.parentNode,"dijitPopup"))?_14c.parentNode:null,domNode:_14c,destroy:function(){},ownerDocument:_14c.ownerDocument,ownerDocumentBody:win.body(_14c.ownerDocument)};}return _14b.call(this,_14c);};var _14d=_14a.open;_14a.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 _14d.call(this,args);};return _14a;});},"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_14e,_14f,_150,dom,_151,_152,_153,_154,has,keys,lang,on,_155,_156,_157,_158){function _159(){if(this._popupWrapper){_152.destroy(this._popupWrapper);delete this._popupWrapper;}};var _15a=_150(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _15b=this._firstAroundPosition,_15c=_153.position(this._firstAroundNode,true),dx=_15c.x-_15b.x,dy=_15c.y-_15b.y;if(dx||dy){this._firstAroundPosition=_15c;for(var i=0;i0&&_165[pi].parent===_165[pi-1].widget;pi--){}return _165[pi];},open:function(args){var _166=this._stack,_167=args.popup,node=_167.domNode,_168=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_153.isBodyLtr(_167.ownerDocument),_169=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_166.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_166[_166.length-1].widget.domNode))){this.close(_166[_166.length-1].widget);}var _16a=this.moveOffScreen(_167);if(_167.startup&&!_167._started){_167.startup();}var _16b,_16c=_153.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_16b=args.maxHeight||Infinity;}else{var _16d=_157.getEffectiveBox(this.ownerDocument),_16e=_169?_153.position(_169,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_16b=Math.floor(Math.max(_16e.y,_16d.h-(_16e.y+_16e.h)));}if(_16c.h>_16b){var cs=_154.getComputedStyle(node),_16f=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_154.set(_16a,{overflowY:"scroll",height:_16b+"px",border:_16f});node._originalStyle=node.style.cssText;node.style.border="none";}_151.set(_16a,{id:id,style:{zIndex:this._beginZIndex+_166.length},"class":"dijitPopup "+(_167.baseClass||_167["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_166.length==0&&_169){this._firstAroundNode=_169;this._firstAroundPosition=_153.position(_169,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_167.bgIframe){_167.bgIframe=new _156(_16a);}var _170=_167.orient?lang.hitch(_167,"orient"):null,best=_169?_155.around(_16a,_169,_168,ltr,_170):_155.at(_16a,args,_168=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_170);_16a.style.visibility="visible";node.style.visibility="visible";var _171=[];_171.push(on(_16a,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _172=this.getTopPopup();if(_172&&_172.onCancel){_172.onCancel();}}}})));if(_167.onCancel&&args.onCancel){_171.push(_167.on("cancel",args.onCancel));}_171.push(_167.on(_167.onExecute?"execute":"change",lang.hitch(this,function(){var _173=this.getTopPopup();if(_173&&_173.onExecute){_173.onExecute();}})));_166.push({widget:_167,wrapper:_16a,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_171});if(_167.onOpen){_167.onOpen(best);}return best;},close:function(_174){var _175=this._stack;while((_174&&_14e.some(_175,function(elem){return elem.widget==_174;}))||(!_174&&_175.length)){var top=_175.pop(),_176=top.widget,_177=top.onClose;if(_176.bgIframe){_176.bgIframe.destroy();delete _176.bgIframe;}if(_176.onClose){_176.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_176&&_176.domNode){this.hide(_176);}if(_177){_177();}}if(_175.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_158.popup=new _15a());});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_178,_179,_17a,_17b,_17c,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _17d=new function(){var _17e=[];this.pop=function(){var _17f;if(_17e.length){_17f=_17e.pop();_17f.style.display="";}else{if(has("ie")<9){var burl=_17a["dojoBlankHtmlUrl"]||_178.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="