From 6976cf867947c5ad4a739a55c6ac9182dd9366de Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 4 Dec 2018 16:40:26 +0300 Subject: [PATCH] update tt-rss dojo layer with new dependencies --- lib/dojo-src/tt-rss.profile.js | 5 +++++ lib/dojo/tt-rss-layer.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/dojo-src/tt-rss.profile.js b/lib/dojo-src/tt-rss.profile.js index 7041c31cf..970f06dae 100644 --- a/lib/dojo-src/tt-rss.profile.js +++ b/lib/dojo-src/tt-rss.profile.js @@ -8,8 +8,11 @@ dependencies = { "dojo.dojo", "dojo.dom-construct", "dojo.parser", + "dojo.query", + "dojo.node", "dojo.data.ItemFileWriteStore", "dojo.selector.acme", + "dojo.selector.lite", "dojo.Stateful", "dojo.string", "dojo.text", @@ -40,6 +43,8 @@ dependencies = { "dijit.form.SimpleTextarea", "dijit.form.TextBox", "dijit.form.ValidationTextBox", + "dijit.form.MultiSelect", + "dijit.form.ComboBox", "dijit.Viewport", "dijit.InlineEditBox", "dijit.ToolbarSeparator", diff --git a/lib/dojo/tt-rss-layer.js b/lib/dojo/tt-rss-layer.js index 83169b7aa..567323944 100644 --- a/lib/dojo/tt-rss-layer.js +++ b/lib/dojo/tt-rss-layer.js @@ -5,4 +5,4 @@ */ //>>built -require({cache:{"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9,_a){var _b=_1("dijit.form.TextBox"+(_6("dojo-bidi")?"_NoBidi":""),[_7,_8],{templateString:_9,_singleNodeTemplate:"",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _c=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_c=="hidden"||_c=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(_6("ie")<9){this.defer(function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _d=this.domNode.getElementsByTagName("INPUT");if(_d){for(var i=0;i<_d.length;i++){_d[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(_e){_e.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",_5.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(_f){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_10,_11,_12){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_13){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_13);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(_6("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")<9){_b.prototype._isTextSelected=function(){var _14=this.ownerDocument.selection.createRange();var _15=_14.parentElement();return _15==this.textbox&&_14.text.length>0;};_a._setSelectionRange=_8._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}if(_6("dojo-bidi")){_b=_1("dijit.form.TextBox",_b,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _b;});},"dijit/_base/scroll":function(){define(["dojo/window","../main"],function(_19,_1a){_1a.scrollIntoView=function(_1b,pos){_19.scrollIntoView(_1b,pos);};});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_1c,_1d,_1e,_1f,on,has,_20,_21){var _22=_1d("dijit._TemplatedMixin",_21,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(_23){var _24=this.declaredClass,_25=this;return _20.substitute(_23,this,function(_26,key){if(key.charAt(0)=="!"){_26=_1f.getObject(key.substr(1),false,_25);}if(typeof _26=="undefined"){throw new Error(_24+" template:"+key);}if(_26==null){return "";}return key.charAt(0)=="!"?_26:this._escapeValue(""+_26);},this);},_escapeValue:function(val){return val.replace(/["'<>&]/g,function(val){return {"&":"&","<":"<",">":">","\"":""","'":"'"}[val];});},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_1c(this.templatePath,{sanitize:true});}var _27=_22.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _28;if(_1f.isString(_27)){_28=_1e.toDom(this._stringRepl(_27),this.ownerDocument);if(_28.nodeType!=1){throw new Error("Invalid template: "+_27);}}else{_28=_27.cloneNode(true);}this.domNode=_28;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_29){var _2a=this.containerNode;if(_29&&_2a){while(_29.hasChildNodes()){_2a.appendChild(_29.firstChild);}}}});_22._templateCache={};_22.getCachedTemplate=function(_2b,_2c,doc){var _2d=_22._templateCache;var key=_2b;var _2e=_2d[key];if(_2e){try{if(!_2e.ownerDocument||_2e.ownerDocument==(doc||document)){return _2e;}}catch(e){}_1e.destroy(_2e);}_2b=_20.trim(_2b);if(_2c||_2b.match(/\$\{([^\}]+)\}/g)){return (_2d[key]=_2b);}else{var _2f=_1e.toDom(_2b,doc);if(_2f.nodeType!=1){throw new Error("Invalid template: "+_2b);}return (_2d[key]=_2f);}};if(has("ie")){on(window,"unload",function(){var _30=_22._templateCache;for(var key in _30){var _31=_30[key];if(typeof _31=="object"){_1e.destroy(_31);}delete _30[key];}});}return _22;});},"dijit/_CssStateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_32,_33,dom,_34,has,_35,on,_36,_37,win,_38,_39){var _3a=_33("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_32.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(_3b){this.watch(_3b,_35.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes||{}){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_3c){if(!this.disabled){switch(_3c.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",true);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",false);break;}}},_setStateClass:function(){var _3d=this.baseClass.split(" ");function _3e(_3f){_3d=_3d.concat(_32.map(_3d,function(c){return c+_3f;}),"dijit"+_3f);};if(!this.isLeftToRight()){_3e("Rtl");}var _40=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_3e(_40);}if(this.state){_3e(this.state);}if(this.selected){_3e("Selected");}if(this._opened){_3e("Opened");}if(this.disabled){_3e("Disabled");}else{if(this.readOnly){_3e("ReadOnly");}else{if(this.active){_3e("Active");}else{if(this.hovering){_3e("Hover");}}}}if(this.focused){_3e("Focused");}var tn=this.stateNode||this.domNode,_41={};_32.forEach(tn.className.split(" "),function(c){_41[c]=true;});if("_stateClasses" in this){_32.forEach(this._stateClasses,function(c){delete _41[c];});}_32.forEach(_3d,function(c){_41[c]=true;});var _42=[];for(var c in _41){_42.push(c);}tn.className=_42.join(" ");this._stateClasses=_3d;},_subnodeCssMouseEvent:function(_43,_44,evt){if(this.disabled||this.readOnly){return;}function _45(_46){_34.toggle(_43,_44+"Hover",_46);};function _47(_48){_34.toggle(_43,_44+"Active",_48);};function _49(_4a){_34.toggle(_43,_44+"Focused",_4a);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_45(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_45(false);_47(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_47(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_47(false);break;case "focus":case "focusin":_49(true);break;case "blur":case "focusout":_49(false);break;}},_trackMouseState:function(_4b,_4c){_4b._cssState=_4c;}});_36(function(){function _4d(evt,_4e,_4f){if(_4f&&dom.isDescendant(_4f,_4e)){return;}for(var _50=_4e;_50&&_50!=_4f;_50=_50.parentNode){if(_50._cssState){var _51=_39.getEnclosingWidget(_50);if(_51){if(_50==_51.domNode){_51._cssMouseEvent(evt);}else{_51._subnodeCssMouseEvent(_50,_50._cssState,evt);}}}}};var _52=win.body(),_53;on(_52,_37.over,function(evt){_4d(evt,evt.target,evt.relatedTarget);});on(_52,_37.out,function(evt){_4d(evt,evt.target,evt.relatedTarget);});on(_52,_38.press,function(evt){_53=evt.target;_4d(evt,_53);});on(_52,_38.release,function(evt){_4d(evt,_53);_53=null;});on(_52,"focusin, focusout",function(evt){var _54=evt.target;if(_54._cssState&&!_54.getAttribute("widgetId")){var _55=_39.getEnclosingWidget(_54);if(_55){_55._subnodeCssMouseEvent(_54,_54._cssState,evt);}}});});return _3a;});},"dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom","../a11yclick"],function(_56,_57,_58,_59,_5a,fx,_5b,on,_5c,has,_5d,_5e,_5f,_60,_61,_62,_63,_64,_65,_66){var _67=_57("dijit.layout.ScrollingTabController",[_60,_62],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_5e,useMenu:true,useSlider:true,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_58.add(n,"tabStrip-disabled");}_58.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_5a.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",_5b.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(_68,_69){this.inherited(arguments);_5a.set(this.containerNode,"width",(_5a.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_6a,_6b){var _6c=this.pane2button(_6a.id);if(this._selectedTab===_6c.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_5c("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_59.getMarginSize(btn).w;return true;}else{_5a.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _6d=this.getChildren();if(_6d.length){var _6e=_6d[this.isLeftToRight()?0:_6d.length-1].domNode,_6f=_6d[this.isLeftToRight()?_6d.length-1:0].domNode;return _6f.offsetLeft+_6f.offsetWidth-_6e.offsetLeft;}else{return 0;}},_enableBtn:function(_70){var _71=this._getTabsWidth();_70=_70||_5a.get(this.scrollNode,"width");return _71>0&&_70<_71;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_61.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_59.setContentSize(this.domNode,cb);var _72=this._enableBtn(this._contentBox.w);this._buttons.style("display",_72?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_61.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_5a.get(this.containerNode,"width")-_5a.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _73=_5a.get(this.containerNode,"width")-_5a.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_73);}},onSelectChild:function(_74,_75){var tab=this.pane2button(_74.id);if(!tab){return;}var _76=tab.domNode;if(_76!=this._selectedTab){this._selectedTab=_76;if(this._postResize){var sl=this._getScroll();if(sl>_76.offsetLeft||sl+_5a.get(this.scrollNode,"width")<_76.offsetLeft+_5a.get(_76,"width")){var _77=this.createSmoothScroll();if(_75){_77.onEnd=function(){tab.focus();};}_77.play();}else{if(_75){tab.focus();}}}}this.inherited(arguments);},_getScrollBounds:function(){var _78=this.getChildren(),_79=_5a.get(this.scrollNode,"width"),_7a=_5a.get(this.containerNode,"width"),_7b=_7a-_79,_7c=this._getTabsWidth();if(_78.length&&_7c>_79){return {min:this.isLeftToRight()?0:_78[_78.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_78[_78.length-1].domNode.offsetLeft+_78[_78.length-1].domNode.offsetWidth)-_79:_7b};}else{var _7d=this.isLeftToRight()?0:_7b;return {min:_7d,max:_7d};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_7e=_5a.get(this.scrollNode,"width"),_7f=this._getScrollBounds();var pos=(n.offsetLeft+_5a.get(n,"width")/2)-_7e/2;pos=Math.min(Math.max(pos,_7f.min),_7f.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _80=this._getScrollBounds();x=Math.min(Math.max(x,_80.min),_80.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _81=this,w=this.scrollNode,_82=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _83=w.scrollLeft,_84=_81._convertToScrollLeft(x);_82.curve=new fx._Line(_83,_84);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_82;this._setButtonClass(x);return _82;},_getBtnNode:function(e){var n=e.target;while(n&&!_58.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_85,_86){if(_86&&_58.contains(_86,"dijitTabDisabled")){return;}var _87=_5a.get(this.scrollNode,"width");var d=(_87*0.75)*_85;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_88){var _89=this._getScrollBounds();this._leftBtn.set("disabled",_88<=_89.min);this._rightBtn.set("disabled",_88>=_89.max);}});var _8a=_57("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_5f,tabIndex:"",isFocusable:function(){return false;}});_57("dijit.layout._ScrollingTabControllerButton",[_65,_8a]);_57("dijit.layout._ScrollingTabControllerMenuButton",[_65,_66,_8a],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_8b){this.dropDown=new _63({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _8c=_5d.byId(this.containerId);_56.forEach(_8c.getChildren(),function(_8d){var _8e=new _64({id:_8d.id+"_stcMi",label:_8d.title,iconClass:_8d.iconClass,disabled:_8d.disabled,ownerDocument:this.ownerDocument,dir:_8d.dir,lang:_8d.lang,textDir:_8d.textDir||_8c.textDir,onClick:function(){_8c.selectChild(_8d);}});this.dropDown.addChild(_8e);},this);_8b();},closeDropDown:function(_8f){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _67;});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_90,_91,_92,_93,_94,on,_95,_96,_97,_98,_99,_9a){var _9b=_90("dijit.DialogUnderlay",[_96,_97],{templateString:"
",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_93.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_9c){this.node.className="dijitDialogUnderlay "+_9c;this._set("class",_9c);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_91.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _9d=_95.getBox(this.ownerDocument);os.top=_9d.t+"px";os.left=_9d.l+"px";is.width=_9d.w+"px";is.height=_9d.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _98(this.domNode);var win=_95.get(this.ownerDocument);this._modalConnects=[_99.on("resize",_91.hitch(this,"layout")),on(win,"scroll",_91.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_9b.show=function(_9e,_9f){var _a0=_9b._singleton;if(!_a0||_a0._destroyed){_a0=_9a._underlay=_9b._singleton=new _9b(_9e);}else{if(_9e){_a0.set(_9e);}}_94.set(_a0.domNode,"zIndex",_9f);if(!_a0.open){_a0.show();}};_9b.hide=function(){var _a1=_9b._singleton;if(_a1&&!_a1._destroyed){_a1.hide();}};return _9b;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_a2,_a3,_a4,_a5,win,_a6,_a7){function _a8(_a9,_aa,_ab,_ac){var _ad=_a6.getEffectiveBox(_a9.ownerDocument);if(!_a9.parentNode||String(_a9.parentNode.tagName).toLowerCase()!="body"){win.body(_a9.ownerDocument).appendChild(_a9);}var _ae=null;_a2.some(_aa,function(_af){var _b0=_af.corner;var pos=_af.pos;var _b1=0;var _b2={w:{"L":_ad.l+_ad.w-pos.x,"R":pos.x-_ad.l,"M":_ad.w}[_b0.charAt(1)],h:{"T":_ad.t+_ad.h-pos.y,"B":pos.y-_ad.t,"M":_ad.h}[_b0.charAt(0)]};var s=_a9.style;s.left=s.right="auto";if(_ab){var res=_ab(_a9,_af.aroundCorner,_b0,_b2,_ac);_b1=typeof res=="undefined"?0:res;}var _b3=_a9.style;var _b4=_b3.display;var _b5=_b3.visibility;if(_b3.display=="none"){_b3.visibility="hidden";_b3.display="";}var bb=_a3.position(_a9);_b3.display=_b4;_b3.visibility=_b5;var _b6={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(_ad.l,Math.min(_ad.l+_ad.w,pos.x+(bb.w>>1))-bb.w)}[_b0.charAt(1)],_b7={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(_ad.t,Math.min(_ad.t+_ad.h,pos.y+(bb.h>>1))-bb.h)}[_b0.charAt(0)],_b8=Math.max(_ad.l,_b6),_b9=Math.max(_ad.t,_b7),_ba=Math.min(_ad.l+_ad.w,_b6+bb.w),_bb=Math.min(_ad.t+_ad.h,_b7+bb.h),_bc=_ba-_b8,_bd=_bb-_b9;_b1+=(bb.w-_bc)+(bb.h-_bd);if(_ae==null||_b1<_ae.overflow){_ae={corner:_b0,aroundCorner:_af.aroundCorner,x:_b8,y:_b9,w:_bc,h:_bd,overflow:_b1,spaceAvailable:_b2};}return !_b1;});if(_ae.overflow&&_ab){_ab(_a9,_ae.aroundCorner,_ae.corner,_ae.spaceAvailable,_ac);}var top=_ae.y,_be=_ae.x,_bf=win.body(_a9.ownerDocument);if(/relative|absolute/.test(_a4.get(_bf,"position"))){top-=_a4.get(_bf,"marginTop");_be-=_a4.get(_bf,"marginLeft");}var s=_a9.style;s.top=top+"px";s.left=_be+"px";s.right="auto";return _ae;};var _c0={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _c1={at:function(_c2,pos,_c3,_c4,_c5){var _c6=_a2.map(_c3,function(_c7){var c={corner:_c7,aroundCorner:_c0[_c7],pos:{x:pos.x,y:pos.y}};if(_c4){c.pos.x+=_c7.charAt(1)=="L"?_c4.x:-_c4.x;c.pos.y+=_c7.charAt(0)=="T"?_c4.y:-_c4.y;}return c;});return _a8(_c2,_c6,_c5);},around:function(_c8,_c9,_ca,_cb,_cc){var _cd;if(typeof _c9=="string"||"offsetWidth" in _c9||"ownerSVGElement" in _c9){_cd=_a3.position(_c9,true);if(/^(above|below)/.test(_ca[0])){var _ce=_a3.getBorderExtents(_c9),_cf=_c9.firstChild?_a3.getBorderExtents(_c9.firstChild):{t:0,l:0,b:0,r:0},_d0=_a3.getBorderExtents(_c8),_d1=_c8.firstChild?_a3.getBorderExtents(_c8.firstChild):{t:0,l:0,b:0,r:0};_cd.y+=Math.min(_ce.t+_cf.t,_d0.t+_d1.t);_cd.h-=Math.min(_ce.t+_cf.t,_d0.t+_d1.t)+Math.min(_ce.b+_cf.b,_d0.b+_d1.b);}}else{_cd=_c9;}if(_c9.parentNode){var _d2=_a4.getComputedStyle(_c9).position=="absolute";var _d3=_c9.parentNode;while(_d3&&_d3.nodeType==1&&_d3.nodeName!="BODY"){var _d4=_a3.position(_d3,true),pcs=_a4.getComputedStyle(_d3);if(/relative|absolute/.test(pcs.position)){_d2=false;}if(!_d2&&/hidden|auto|scroll/.test(pcs.overflow)){var _d5=Math.min(_cd.y+_cd.h,_d4.y+_d4.h);var _d6=Math.min(_cd.x+_cd.w,_d4.x+_d4.w);_cd.x=Math.max(_cd.x,_d4.x);_cd.y=Math.max(_cd.y,_d4.y);_cd.h=_d5-_cd.y;_cd.w=_d6-_cd.x;}if(pcs.position=="absolute"){_d2=true;}_d3=_d3.parentNode;}}var x=_cd.x,y=_cd.y,_d7="w" in _cd?_cd.w:(_cd.w=_cd.width),_d8="h" in _cd?_cd.h:(_a5.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_cd.height+", width:"+_d7+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_cd.height+", w:"+_d7+" }","","2.0"),_cd.h=_cd.height);var _d9=[];function _da(_db,_dc){_d9.push({aroundCorner:_db,corner:_dc,pos:{x:{"L":x,"R":x+_d7,"M":x+(_d7>>1)}[_db.charAt(1)],y:{"T":y,"B":y+_d8,"M":y+(_d8>>1)}[_db.charAt(0)]}});};_a2.forEach(_ca,function(pos){var ltr=_cb;switch(pos){case "above-centered":_da("TM","BM");break;case "below-centered":_da("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":_da(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":_da(ltr?"TL":"TR",ltr?"TR":"TL");_da(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":_da(ltr?"BL":"BR",ltr?"TL":"TR");_da(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":_da(ltr?"TL":"TR",ltr?"BL":"BR");_da(ltr?"TR":"TL",ltr?"BR":"BL");break;default:_da(pos.aroundCorner,pos.corner);}});var _dd=_a8(_c8,_d9,_cc,{w:_d7,h:_d8});_dd.aroundNodePos=_cd;return _dd;}};return _a7.place=_c1;});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_de,_df,dom,_e0,_e1,_e2,_e3,has,_e4,_e5,on,_e6,_e7,_e8,_e9,_ea){return _de("dijit._HasDropDown",_ea,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_e6.release,_e5.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _eb=this.dropDown,_ec=false;if(e&&this._opened){var c=_e2.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_ec){if(_e1.contains(t,"dijitPopup")){_ec=true;}else{t=t.parentNode;}}if(_ec){t=e.target;if(_eb.onItemClick){var _ed;while(t&&!(_ed=_e7.byNode(t))){t=t.parentNode;}if(_ed&&_ed.onClick&&_ed.getParent){_ed.getParent().onItemClick(_ed,e);}}return;}}}if(this._opened){if(_eb.focus&&(_eb.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_eb.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _ee={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_e1.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_ee+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _ef=this.focusNode||this.domNode;this.own(on(this._buttonNode,_e6.press,_e5.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",_e5.hitch(this,"_onDropDownClick")),on(_ef,"keydown",_e5.hitch(this,"_onKey")),on(_ef,"keyup",_e5.hitch(this,"_onKeyUp")));},destroy:function(){if(this._opened){this.closeDropDown(true);}if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_f0=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==_e4.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==_e4.DOWN_ARROW||((e.keyCode==_e4.ENTER||(e.keyCode==_e4.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_f0.tagName||"").toLowerCase()!=="input"||(_f0.type&&_f0.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(_e5.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_f1){_f1();},loadAndOpenDropDown:function(){var d=new _df(),_f2=_e5.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_f2);}else{_f2();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _f3=this.dropDown,_f4=_f3.domNode,_f5=this._aroundNode||this.domNode,_f6=this;var _f7=_e9.open({parent:this,popup:_f3,around:_f5,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){_f6.closeDropDown(true);},onCancel:function(){_f6.closeDropDown(true);},onClose:function(){_e0.set(_f6._popupStateNode,"popupActive",false);_e1.remove(_f6._popupStateNode,"dijitHasDropDownOpen");_f6._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_f5.offsetWidth>_f3._popupWrapper.offsetWidth)){var _f8=_f5.offsetWidth-_f3._popupWrapper.offsetWidth;var _f9={w:_f3.domNode.offsetWidth+_f8};this._origStyle=_f4.style.cssText;if(_e5.isFunction(_f3.resize)){_f3.resize(_f9);}else{_e2.setMarginBox(_f4,_f9);}if(_f7.corner[1]=="R"){_f3._popupWrapper.style.left=(_f3._popupWrapper.style.left.replace("px","")-_f8)+"px";}}_e0.set(this._popupStateNode,"popupActive","true");_e1.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_f3.id);if(_f4.getAttribute("role")!=="presentation"&&!_f4.getAttribute("aria-labelledby")){_f4.setAttribute("aria-labelledby",this.id);}return _f7;},closeDropDown:function(_fa){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_fa&&this.focus){this.focus();}_e9.close(this.dropDown);this._opened=false;}if(this._origStyle){this.dropDown.domNode.style.cssText=this._origStyle;delete this._origStyle;}}});});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_fb,_fc,_fd,_fe){return _fd("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_ff){_fe.mixin(this,_ff);this.connects=[];var _100=this.store;if(!_100.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_100.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_fc.after(_100,"onNew",_fe.hitch(this,"onNewItem"),true),_fc.after(_100,"onDelete",_fe.hitch(this,"onDeleteItem"),true),_fc.after(_100,"onSet",_fe.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_101,_102){if(this.root){_101(this.root);}else{this.store.fetch({query:this.query,onComplete:_fe.hitch(this,function(_103){if(_103.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_103.length+" items, but must return exactly one");}this.root=_103[0];_101(this.root);}),onError:_102});}},mayHaveChildren:function(item){return _fb.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_104,_105,_106){var _107=this.store;if(!_107.isItemLoaded(_104)){var _108=_fe.hitch(this,arguments.callee);_107.loadItem({item:_104,onItem:function(_109){_108(_109,_105,_106);},onError:_106});return;}var _10a=[];for(var i=0;i=0&&_14e[i]!=_14d[i];i--){_151=_13f.byId(_14e[i]);if(_151){_151._hasBeenBlurred=true;_151.set("focused",false);if(_151._focusManager==this){_151._onBlur(by);}this.emit("widget-blur",_151,by);}}for(i++;i<=_150;i++){_151=_13f.byId(_14d[i]);if(_151){_151.set("focused",true);if(_151._focusManager==this){_151._onFocus(by);}this.emit("widget-focus",_151,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _152=new _143();_13c(function(){var _153=_152.registerWin(_13e.get(document));if(has("ie")){on(window,"unload",function(){if(_153){_153.remove();_153=null;}});}});_140.focus=function(node){_152.focus(node);};for(var attr in _152){if(!/^_/.test(attr)){_140.focus[attr]=typeof _152[attr]=="function"?lang.hitch(_152,attr):_152[attr];}}_152.watch(function(attr,_154,_155){_140.focus[attr]=_155;});return _152;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_156,has,_157,_158,lang,xhr,json,_159){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _15a=dojo.i18n={},_15b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_15c=function(root,_15d,_15e,_15f){for(var _160=[_15e+_15f],_161=_15d.split("-"),_162="",i=0;i<_161.length;i++){_162+=(_162?"-":"")+_161[i];if(!root||root[_162]){_160.push(_15e+_162+"/"+_15f);_160.specificity=_162;}}return _160;},_163={},_164=function(_165,_166,_167){_167=_167?_167.toLowerCase():dojo.locale;_165=_165.replace(/\./g,"/");_166=_166.replace(/\./g,"/");return (/root/i.test(_167))?(_165+"/nls/"+_166):(_165+"/nls/"+_167+"/"+_166);},_168=dojo.getL10nName=function(_169,_16a,_16b){return _169=_159.id+"!"+_164(_169,_16a,_16b);},_16c=function(_16d,_16e,_16f,_170,_171,load){_16d([_16e],function(root){var _172=lang.clone(root.root||root.ROOT),_173=_15c(!root._v1x&&root,_171,_16f,_170);_16d(_173,function(){for(var i=1;i<_173.length;i++){_172=lang.mixin(lang.clone(_172),arguments[i]);}var _174=_16e+"/"+_171;_163[_174]=_172;_172.$locale=_173.specificity;load();});});},_175=function(id,_176){return /^\./.test(id)?_176(id):id;},_177=function(_178){var list=_158.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_178);return list;},load=function(id,_179,load){var _17a=_15b.exec(id),_17b=_17a[1]+"/",_17c=_17a[5]||_17a[4],_17d=_17b+_17c,_17e=(_17a[5]&&_17a[4]),_17f=_17e||dojo.locale||"",_180=_17d+"/"+_17f,_181=_17e?[_17f]:_177(_17f),_182=_181.length,_183=function(){if(!--_182){load(lang.delegate(_163[_180]));}},_184=id.split("*"),_185=_184[1]=="preload";if(has("dojo-preload-i18n-Api")){if(_185){if(!_163[id]){_163[id]=1;_18f(_184[2],json.parse(_184[3]),1,_179);}load(1);}if(_185||(_1ac(id,_179,load)&&!_163[_180])){return;}}else{if(_185){load(1);return;}}_157.forEach(_181,function(_186){var _187=_17d+"/"+_186;if(has("dojo-preload-i18n-Api")){_188(_187);}if(!_163[_187]){_16c(_179,_17d,_17b,_17c,_186,_183);}else{_183();}});};if(has("dojo-preload-i18n-Api")||1){var _189=_15a.normalizeLocale=function(_18a){var _18b=_18a?_18a.toLowerCase():dojo.locale;return _18b=="root"?"ROOT":_18b;},isXd=function(mid,_18c){return (1&&1)?_18c.isXdUrl(_156.toUrl(mid+".js")):true;},_18d=0,_18e=[],_18f=_15a._preloadLocalizations=function(_190,_191,_192,_193){_193=_193||_156;function _194(mid,_195){if(isXd(mid,_193)||_192){_193([mid],_195);}else{_1b0([mid],_195,_193);}};function _196(_197,func){var _198=_197.split("-");while(_198.length){if(func(_198.join("-"))){return;}_198.pop();}func("ROOT");};function _199(){_18d++;};function _19a(){--_18d;while(!_18d&&_18e.length){load.apply(null,_18e.shift());}};function _19b(path,name,loc,_19c){return _19c.toAbsMid(path+name+"/"+loc);};function _19d(_19e){_19e=_189(_19e);_196(_19e,function(loc){if(_157.indexOf(_191,loc)>=0){var mid=_190.replace(/\./g,"/")+"_"+loc;_199();_194(mid,function(_19f){for(var p in _19f){var _1a0=_19f[p],_1a1=p.match(/(.+)\/([^\/]+)$/),_1a2,_1a3;if(!_1a1){continue;}_1a2=_1a1[2];_1a3=_1a1[1]+"/";if(!_1a0._localized){continue;}var _1a4;if(loc==="ROOT"){var root=_1a4=_1a0._localized;delete _1a0._localized;root.root=_1a0;_163[_156.toAbsMid(p)]=root;}else{_1a4=_1a0._localized;_163[_19b(_1a3,_1a2,loc,_156)]=_1a0;}if(loc!==_19e){function _1a5(_1a6,_1a7,_1a8,_1a9){var _1aa=[],_1ab=[];_196(_19e,function(loc){if(_1a9[loc]){_1aa.push(_156.toAbsMid(_1a6+loc+"/"+_1a7));_1ab.push(_19b(_1a6,_1a7,loc,_156));}});if(_1aa.length){_199();_193(_1aa,function(){for(var i=_1aa.length-1;i>=0;i--){_1a8=lang.mixin(lang.clone(_1a8),arguments[i]);_163[_1ab[i]]=_1a8;}_163[_19b(_1a6,_1a7,_19e,_156)]=lang.clone(_1a8);_19a();});}else{_163[_19b(_1a6,_1a7,_19e,_156)]=_1a8;}};_1a5(_1a3,_1a2,_1a0,_1a4);}}_19a();});return true;}return false;});};_19d();_157.forEach(dojo.config.extraLocale,_19d);},_1ac=function(id,_1ad,load){if(_18d){_18e.push([id,_1ad,load]);}return _18d;},_188=function(){};}if(1){var _1ae={},_1af,_1b0=function(deps,_1b1,_1b2){var _1b3=[];_157.forEach(deps,function(mid){var url=_1b2.toUrl(mid+".js");function load(text){if(!_1af){_1af=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}");}var _1b4=_1af(text,_188,mid,_1ae);if(_1b4===_1ae){_1b3.push(_163[url]=_1ae.result);}else{if(_1b4 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_1b4);_1b4={};}_1b3.push(_163[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1b4:{root:_1b4,_v1x:1}));}};if(_163[url]){_1b3.push(_163[url]);}else{var _1b5=_1b2.syncLoadNls(mid);if(!_1b5){_1b5=_188(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_1b5){_1b3.push(_1b5);}else{if(!xhr){try{_1b2.getText(url,true,load);}catch(e){_1b3.push(_163[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_1b3.push(_163[url]={});}});}}}});_1b1&&_1b1.apply(null,_1b3);};_188=function(_1b6){for(var _1b7,_1b8=_1b6.split("/"),_1b9=dojo.global[_1b8[0]],i=1;_1b9&&i<_1b8.length-1;_1b9=_1b9[_1b8[i++]]){}if(_1b9){_1b7=_1b9[_1b8[i]];if(!_1b7){_1b7=_1b9[_1b8[i].replace(/-/g,"_")];}if(_1b7){_163[_1b6]=_1b7;}}return _1b7;};_15a.getLocalization=function(_1ba,_1bb,_1bc){var _1bd,_1be=_164(_1ba,_1bb,_1bc);load(_1be,(!isXd(_1be,_156)?function(deps,_1bf){_1b0(deps,_1bf,_156);}:_156),function(_1c0){_1bd=_1c0;});return _1bd;};}return lang.mixin(_15a,{dynamic:true,normalize:_175,load:load,cache:_163,getL10nName:_168});});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_1c1,has,_1c2,win){_1c2(function(){if(has("highcontrast")){_1c1.add(win.body(),"dijit_a11y");}});return has;});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_1c3,_1c4,_1c5,lang,_1c6){return _1c4("dijit.tree.ForestStoreModel",_1c6,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_1c7){this.root={store:this,root:true,id:_1c7.rootId,label:_1c7.rootLabel,children:_1c7.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_1c8,_1c9,_1ca){if(_1c8===this.root){if(this.root.children){_1c9(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1cb){this.root.children=_1cb;_1c9(_1cb);}),onError:_1ca});}}else{this.inherited(arguments);}},isItem:function(_1cc){return (_1cc===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_1cd){if(_1cd.identity==this.root.id){var _1ce=_1cd.scope||_1c5.global;if(_1cd.onItem){_1cd.onItem.call(_1ce,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_1cf,_1d0){if(_1cf===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_1d1,_1d2,_1d3,_1d4,_1d5){if(_1d2===this.root){if(!_1d4){this.onLeaveRoot(_1d1);}}this.inherited(arguments,[_1d1,_1d2===this.root?null:_1d2,_1d3===this.root?null:_1d3,_1d4,_1d5]);if(_1d3===this.root){this.onAddToRoot(_1d1);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _1d6=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_1d7){this.root.children=_1d7;if(_1d6.length!=_1d7.length||_1c3.some(_1d6,function(item,idx){return _1d7[idx]!=item;})){this.onChildrenChange(this.root,_1d7);}})});},onNewItem:function(item,_1d8){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_1c3.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_1d9,_1da,_1db){this._requeryTop();this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_1dc,_1dd,_1de,has,i18n){var _1df=_1dd("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_1e0){this._set("value",_1e0);this.onChange(_1e0);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_1e1){var _1e2=this._createMenuItem();var _1e3=_1e1(item);if(_1e3.html){_1e2.innerHTML=_1e3.label;}else{_1e2.appendChild(_1e2.ownerDocument.createTextNode(_1e3.label));}if(_1e2.innerHTML==""){_1e2.innerHTML=" ";}return _1e2;},createOptions:function(_1e4,_1e5,_1e6){this.items=_1e4;this.previousButton.style.display=(_1e5.start==0)?"none":"";_1de.set(this.previousButton,"id",this.id+"_prev");_1dc.forEach(_1e4,function(item,i){var _1e7=this._createOption(item,_1e6);_1e7.setAttribute("item",i);_1de.set(_1e7,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1e7,this.nextButton);},this);var _1e8=false;if(_1e4.total&&!_1e4.total.then&&_1e4.total!=-1){if((_1e5.start+_1e5.count)<_1e4.total){_1e8=true;}else{if((_1e5.start+_1e5.count)>_1e4.total&&_1e5.count==_1e4.length){_1e8=true;}}}else{if(_1e5.count==_1e4.length){_1e8=true;}}this.nextButton.style.display=_1e8?"":"none";_1de.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _1e9=this.containerNode;while(_1e9.childNodes.length>2){_1e9.removeChild(_1e9.childNodes[_1e9.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});if(has("dojo-bidi")){_1df=_1dd("dijit.form._ComboBoxMenuMixin",_1df,{_createOption:function(){var _1ea=this.inherited(arguments);this.applyTextDir(_1ea);return _1ea;}});}return _1df;});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_1eb,keys,lang,_1ec,_1ed,when,_1ee){return _1eb("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_1ef){return new RegExp("^"+_1ef.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_1f0,star,_1f1){return star?".*":_1f1?".":_1f0?_1f0:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;this._prev_key_backspace=false;if(key==keys.DELETE||key==keys.BACKSPACE){this._prev_key_backspace=true;this._maskValidSubsetError=true;}if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _1f2=this,_1ec=lang.clone(this.query),_1f3={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_1ed.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_1f4=function(){var _1f5=_1f2._fetchHandle=_1f2.store.query(_1ec,_1f3);if(_1f2.disabled||_1f2.readOnly||(q!==_1f2._lastQuery)){return;}when(_1f5,function(res){_1f2._fetchHandle=null;if(!_1f2.disabled&&!_1f2.readOnly&&(q===_1f2._lastQuery)){when(_1f5.total,function(_1f6){res.total=_1f6;var _1f7=_1f2.pageSize;if(isNaN(_1f7)||_1f7>res.total){_1f7=res.total;}res.nextPage=function(_1f8){_1f3.direction=_1f8=_1f8!==false;_1f3.count=_1f7;if(_1f8){_1f3.start+=res.length;if(_1f3.start>=res.total){_1f3.count=0;}}else{_1f3.start-=_1f7;if(_1f3.start<0){_1f3.count=Math.max(_1f7+_1f3.start,0);_1f3.start=0;}}if(_1f3.count<=0){res.length=0;_1f2.onSearch(res,_1ec,_1f3);}else{_1f4();}};_1f2.onSearch(res,_1ec,_1f3);});}},function(err){_1f2._fetchHandle=null;if(!_1f2._cancelingQuery){console.error(_1f2.declaredClass+" "+err.toString());}});};lang.mixin(_1f3,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_1ec[this.searchAttr]=q;this._queryDeferHandle=this.defer(_1f4,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_1ee.byId(list);}}this.inherited(arguments);}});});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_1f9,dojo,_1fa,_1fb,_1fc,dom,_1fd,_1fe,_1ff,all,_200,_201,has,_202,don,_203){new Date("X");function _204(text){return eval("("+text+")");};var _205=0;_1ff.after(_1fa,"extend",function(){_205++;},true);function _206(ctor){var map=ctor._nameCaseMap,_207=ctor.prototype;if(!map||map._extendCnt<_205){map=ctor._nameCaseMap={};for(var name in _207){if(name.charAt(0)==="_"){continue;}map[name.toLowerCase()]=name;}map._extendCnt=_205;}return map;};function _208(_209,_20a){if(!_20a){_20a=_1f9;}var _20b=_20a._dojoParserCtorMap||(_20a._dojoParserCtorMap={});var ts=_209.join();if(!_20b[ts]){var _20c=[];for(var i=0,l=_209.length;i.*$/,"");_22c=_1fb.map(_22e.split(/\s+/),function(name){var _22f=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_22f=="enctype"?node.getAttribute(_22f):node.getAttributeNode(_22f).value};});}}var _230=_227.scope||dojo._scopeName,_231="data-"+_230+"-",hash={};if(_230!=="dojo"){hash[_231+"props"]="data-dojo-props";hash[_231+"type"]="data-dojo-type";hash[_231+"mixins"]="data-dojo-mixins";hash[_230+"type"]="dojotype";hash[_231+"id"]="data-dojo-id";}var i=0,item,_232=[],_233,_234;while(item=_22c[i++]){var name=item.name,_235=name.toLowerCase(),_236=item.value;switch(hash[_235]||_235){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_234=_236;break;case "data-dojo-id":case "jsid":_233=_236;break;case "data-dojo-attach-point":case "dojoattachpoint":_22b.dojoAttachPoint=_236;break;case "data-dojo-attach-event":case "dojoattachevent":_22b.dojoAttachEvent=_236;break;case "class":_22b["class"]=node.className;break;case "style":_22b["style"]=node.style&&node.style.cssText;break;default:if(!(name in _22a)){var map=_206(ctor);name=map[_235]||name;}if(name in _22a){switch(typeof _22a[name]){case "string":_22b[name]=_236;break;case "number":_22b[name]=_236.length?Number(_236):NaN;break;case "boolean":_22b[name]=_236.toLowerCase()!="false";break;case "function":if(_236===""||_236.search(/[^\w\.]+/i)!=-1){_22b[name]=new Function(_236);}else{_22b[name]=_1fa.getObject(_236,false)||new Function(_236);}_232.push(name);break;default:var pVal=_22a[name];_22b[name]=(pVal&&"length" in pVal)?(_236?_236.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_236==""?new Date(""):_236=="now"?new Date():_200.fromISOString(_236)):(pVal instanceof _1fe)?(dojo.baseUrl+_236):_204(_236);}}else{_22b[name]=_236;}}}for(var j=0;j<_232.length;j++){var _237=_232[j].toLowerCase();node.removeAttribute(_237);node[_237]=null;}if(_234){try{_234=_204.call(_227.propsThis,"{"+_234+"}");_1fa.mixin(_22b,_234);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_234+"'");}}_1fa.mixin(_22b,_226);if(!_228){_228=(ctor&&(ctor._noScript||_22a._noScript)?[]:_202("> script[type^='dojo/']",node));}var _238=[],_239=[],_23a=[],ons=[];if(_228){for(i=0;i<_228.length;i++){var _23b=_228[i];node.removeChild(_23b);var _23c=(_23b.getAttribute(_231+"event")||_23b.getAttribute("event")),prop=_23b.getAttribute(_231+"prop"),_23d=_23b.getAttribute(_231+"method"),_23e=_23b.getAttribute(_231+"advice"),_23f=_23b.getAttribute("type"),nf=this._functionFromScript(_23b,_231);if(_23c){if(_23f=="dojo/connect"){_238.push({method:_23c,func:nf});}else{if(_23f=="dojo/on"){ons.push({event:_23c,func:nf});}else{_22b[_23c]=nf;}}}else{if(_23f=="dojo/aspect"){_238.push({method:_23d,advice:_23e,func:nf});}else{if(_23f=="dojo/watch"){_23a.push({prop:prop,func:nf});}else{_239.push(nf);}}}}}var _240=ctor.markupFactory||_22a.markupFactory;var _241=_240?_240(_22b,node,ctor):new ctor(_22b,node);function _242(_243){if(_233){_1fa.setObject(_233,_243);}for(i=0;i<_238.length;i++){_1ff[_238[i].advice||"after"](_243,_238[i].method,_1fa.hitch(_243,_238[i].func),true);}for(i=0;i<_239.length;i++){_239[i].call(_243);}for(i=0;i<_23a.length;i++){_243.watch(_23a[i].prop,_23a[i].func);}for(i=0;i0?"-":"+")+_289(Math.floor(_28e/60))+":"+_289(_28e%60);}}_28a.push(time);}return _28a.join("T");};return _27e;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_28f,lang,_290,when){return _28f("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_291){if(_291){this.set(_291);}},_get:function(name,_292){return typeof this[_292.g]==="function"?this[_292.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_293){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _294=this._getAttrNames(name),_295=this._get(name,_294),_296=this[_294.s],_297;if(typeof _296==="function"){_297=_296.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_293;}if(this._watchCallbacks){var self=this;when(_297,function(){self._watchCallbacks(name,_295,_293);});}return this;},_changeAttrValue:function(name,_298){var _299=this.get(name);this[name]=_298;if(this._watchCallbacks){this._watchCallbacks(name,_299,_298);}return this;},watch:function(name,_29a){var _29b=this._watchCallbacks;if(!_29b){var self=this;_29b=this._watchCallbacks=function(name,_29c,_29d,_29e){var _29f=function(_2a0){if(_2a0){_2a0=_2a0.slice();for(var i=0,l=_2a0.length;i-1){_2a1.splice(_2a3,1);}};return _2a2;}});});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_2a4,_2a5,_2a6,fx,dom,_2a7,_2a8,_2a9,_2aa,keys,lang,has,_2ab,_2ac,_2ad,_2ae,_2af,_2b0,_2b1,_2b2,_2b3,_2b4,_2b5){function size(_2b6,dim){_2b6.resize?_2b6.resize(dim):_2aa.setMarginBox(_2b6.domNode,dim);};var _2b7=_2a6("dijit.layout._AccordionButton",[_2af,_2b1,_2b2],{templateString:_2b5,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _2b8=this.id.replace(" ","_");_2a7.set(this.titleTextNode,"id",_2b8+"_title");this.focusNode.setAttribute("aria-labelledby",_2a7.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _2aa.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _2b9=this.getParent();_2b9.selectChild(this.contentWidget,true);_2ac.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_2ba){this._set("selected",_2ba);this.focusNode.setAttribute("aria-expanded",_2ba?"true":"false");this.focusNode.setAttribute("aria-selected",_2ba?"true":"false");this.focusNode.setAttribute("tabIndex",_2ba?"0":"-1");}});if(has("dojo-bidi")){_2b7.extend({_setLabelAttr:function(_2bb){this._set("label",_2bb);_2a7.set(this.titleTextNode,"innerHTML",_2bb);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_2bc){this._set("title",_2bc);_2a7.set(this.titleTextNode,"title",_2bc);this.applyTextDir(this.titleTextNode);}});}var _2bd=_2a6("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_2af,_2b2],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_2a9.place("