This file is indexed.

/usr/share/javascript/dijit/dijit-all.js is in libjs-dojo-dijit 1.10.4+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=_9("dijit.ColorPalette",[_3,_4,_5],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_2,baseClass:"dijitColorPalette",_dyeFactory:function(_d,_e,_f,_10){return new this._dyeClass(_d,_e,_f,_10);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_9(_c._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],_7.getLocalization("dojo","colors",this.lang));}});_c._Color=_9("dijit._Color",_8,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_1.toUrl("./themes/a11y/colors7x10.png"),"3x4":_1.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_11,row,col,_12){this._title=_12;this._row=row;this._col=col;this.setColor(_8.named[_11]);},getValue:function(){return this.toHex();},fillCell:function(_13,_14){var _15=_b.substitute(_6("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_14,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_a.place(_15,_13);}});return _c;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_16,_17,_18,_19,_1a,_1b,on,_1c,_1d,_1e,_1f){var _20=_16("dijit._PaletteMixin",_1c,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_21){var _22=typeof this.dyeClass=="string"?_1b.getObject(this.dyeClass):this.dyeClass;return new _22(_21);},_preparePalette:function(_23,_24){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_1d,_1b.hitch(this,"_onCellClick")));for(var row=0;row<_23.length;row++){var _25=_19.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_23[row].length;col++){var _26=_23[row][col];if(_26){var _27=this._dyeFactory(_26,row,col,_24[_26]);var _28=_19.create("td",{"class":this.cellClass,tabIndex:"-1",title:_24[_26],role:"gridcell"},_25);_27.fillCell(_28,url);_28.idx=this._cells.length;this._cells.push({node:_28,dye:_27});}}}this._xDim=_23[0].length;this._yDim=_23.length;var _29={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _29){this.own(_1f.addKeyListener(this.domNode,{keyCode:_1a[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _2a=_29[key];return function(_2b){this._navigateByKey(_2a,_2b);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_1e.focus(this._currentFocus);},_onCellClick:function(evt){var _2c=evt.target;while(_2c.tagName!="TD"){if(!_2c.parentNode||_2c==this.gridNode){return;}_2c=_2c.parentNode;}var _2d=this._getDye(_2c).getValue();this._setCurrent(_2c);_1e.focus(_2c);this._setValueAttr(_2d,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(_2e){if("_currentFocus" in this){_17.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=_2e;if(_2e){_17.set(_2e,"tabIndex",this.tabIndex);}},_setValueAttr:function(_2f,_30){if(this._selectedCell>=0){_18.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_2f){for(var i=0;i<this._cells.length;i++){if(_2f==this._cells[i].dye.getValue()){this._selectedCell=i;_18.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_2f:null);if(_30||_30===undefined){this.onChange(_2f);}},onChange:function(){},_navigateByKey:function(_31,_32){if(_32==-1){return;}var _33=this._currentFocus.idx+_31;if(_33<this._cells.length&&_33>-1){var _34=this._cells[_33].node;this._setCurrent(_34);this.defer(_1b.hitch(_1e,"focus",_34));}},_getDye:function(_35){return this._cells[_35.idx].dye;}});return _20;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(_36,_37,_38,_39){var _3a={};_37.setObject("dojo.colors",_3a);var _3b=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};_36.colorFromRgb=_38.fromRgb=function(_3c,obj){var m=_3c.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_39.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _38.fromArray(a,obj);}return _38.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_3b(m1,m2,H+1/3)*256,_3b(m1,m2,H)*256,_3b(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _38.fromArray(a,obj);}}return null;};var _3d=function(c,low,_3e){c=Number(c);return isNaN(c)?_3e:c<low?low:c>_3e?_3e:c;};_38.prototype.sanitize=function(){var t=this;t.r=Math.round(_3d(t.r,0,255));t.g=Math.round(_3d(t.g,0,255));t.b=Math.round(_3d(t.b,0,255));t.a=_3d(t.a,0,1);return this;};_3a.makeGrey=_38.makeGrey=function(g,a){return _38.fromArray([g,g,g,a]);};_37.mixin(_38.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _38;});},"dijit/Declaration":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser","dojo/query","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/NodeList-dom"],function(_3f,_40,_41,_42,_43,_44,_45,_46,_47){return _41("dijit.Declaration",_45,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_48=_44("> script[type='dojo/method']",src).orphan(),_49=_44("> script[type='dojo/connect']",src).orphan(),_4a=_44("> script[type='dojo/aspect']",src).orphan(),_4b=src.nodeName;var _4c=this.defaults||{};_3f.forEach(_48,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),_4d=_43._functionFromScript(s,"data-dojo-");if(evt){_4c[evt]=_4d;}else{_4a.push(s);}});if(this.mixins.length){this.mixins=_3f.map(this.mixins,function(_4e){return _42.getObject(_4e);});}else{this.mixins=[_45,_46,_47];}_4c._skipNodeCache=true;_4c.templateString="<"+_4b+" class='"+src.className+"'"+" data-dojo-attach-point='"+(src.getAttribute("data-dojo-attach-point")||src.getAttribute("dojoAttachPoint")||"")+"' data-dojo-attach-event='"+(src.getAttribute("data-dojo-attach-event")||src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"</"+_4b+">";var wc=_41(this.widgetClass,this.mixins,_4c);_3f.forEach(_4a,function(s){var _4f=s.getAttribute("data-dojo-advice")||"after",_50=s.getAttribute("data-dojo-method")||"postscript",_51=_43._functionFromScript(s);_40.after(wc.prototype,_50,_51,true);});_3f.forEach(_49,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),_52=_43._functionFromScript(s);_40.after(wc.prototype,evt,_52,true);});}});});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_53,_54,_55,_56,_57){return _55("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,contextRequire:null,_beforeFillContent:function(){if(this.widgetsInTemplate){var _58=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_57.parse(_58,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(_56.hitch(this,function(_59){this._startupWidgets=_59;for(var i=0;i<_59.length;i++){this._processTemplateNode(_59[i],function(n,p){return n[p];},function(_5a,_5b,_5c){if(_5b in _5a){return _5a.connect(_5a,_5b,_5c);}else{return _5a.on(_5b,_5c,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.");}}},_processTemplateNode:function(_5d,_5e,_5f){if(_5e(_5d,"dojoType")||_5e(_5d,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_53.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_60,_61,_62,_63,_64,dom,_65,_66,_67,fx,_68,_69,_6a,on,_6b,has,_6c,_6d,_6e,_6f,_70,_71,_72,_73,_74,_75,_76,_77,_78,_79){var _7a=new _64();_7a.resolve(true);var _7b=_63("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_72,_74,_75,_73],{templateString:_79,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_70.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _7c=_68.getLocalization("dijit","common");_6a.mixin(this,_7c);this.inherited(arguments);},postCreate:function(){_67.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_62.after(this,"onExecute",_6a.hitch(this,"hide"),true);_62.after(this,"onCancel",_6a.hitch(this,"hide"),true);this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_7d.isTop(this)){this._getFocusItems();_6f.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_6f.focus(this._firstFocusItem);},_endDrag:function(){var _7e=_66.position(this.domNode),_7f=_6c.getBox(this.ownerDocument);_7e.y=Math.min(Math.max(_7e.y,0),(_7f.h-_7e.h));_7e.x=Math.min(Math.max(_7e.x,0),(_7f.w-_7e.w));this._relativePosition=_7e;this._position();},_setup:function(){var _80=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_6e:_6d)(_80,{handle:this.titleBar});_62.after(this._moveable,"onMoveStop",_6a.hitch(this,"_endDrag"),true);}else{_65.add(_80,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_61.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:_6a.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_65.contains(this.ownerDocumentBody,"dojoMove")){var _81=this.domNode,_82=_6c.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_66.position(_81),l=Math.floor(_82.l+(p?p.x:(_82.w-bb.w)/2)),t=Math.floor(_82.t+(p?p.y:(_82.h-bb.h)/2));_67.set(_81,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==_69.TAB){this._getFocusItems();var _83=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(_83==this._firstFocusItem&&evt.shiftKey){_6f.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(_83==this._lastFocusItem&&!evt.shiftKey){_6f.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==_69.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _7a.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_7d.hide(this);}var win=_6c.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",_6a.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",_6a.hitch(this,"_onKey")));_67.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _84;this._fadeInDeferred=new _64(_6a.hitch(this,function(){_84.stop();delete this._fadeInDeferred;}));var _85=this._fadeInDeferred.promise;_84=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_6a.hitch(this,function(){_7d.show(this,this.underlayAttrs);}),onEnd:_6a.hitch(this,function(){if(this.autofocus&&_7d.isTop(this)){this._getFocusItems();_6f.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _85;},hide:function(){if(!this._alreadyInitialized||!this.open){return _7a.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _86;this._fadeOutDeferred=new _64(_6a.hitch(this,function(){_86.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(_6a.hitch(this,"onHide"));var _87=this._fadeOutDeferred.promise;_86=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_6a.hitch(this,function(){this.domNode.style.display="none";_7d.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return _87;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_61.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(_88){if(_88){_67.set(_88,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _89=_6c.getBox(this.ownerDocument);_89.w*=this.maxRatio;_89.h*=this.maxRatio;var bb=_66.position(this.domNode);if(bb.w>=_89.w||bb.h>=_89.h){dim={w:Math.min(bb.w,_89.w),h:Math.min(bb.h,_89.h)};this._shrunk=true;}else{this._shrunk=false;}}if(dim){_66.setMarginBox(this.domNode,dim);var _8a=[];if(this.titleBar){_8a.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_8a.push({domNode:this.actionBarNode,region:"bottom"});}var _8b={domNode:this.containerNode,region:"center"};_8a.push(_8b);var _8c=_78.marginBox2contentBox(this.domNode,dim);_78.layoutChildren(this.domNode,_8c,_8a);if(this._singleChild){var cb=_78.marginBox2contentBox(this.containerNode,_8b);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_61.forEach(this.getChildren(),function(_8d){if(_8d.resize){_8d.resize();}});},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_7d.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_7b=_63("dijit._DialogBase",_7b,{_setTitleAttr:function(_8e){this._set("title",_8e);this.titleNode.innerHTML=_8e;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_8f){if(this._created&&this.textDir!=_8f){this._set("textDir",_8f);this.set("title",this.title);}}});}var _90=_63("dijit.Dialog",[_77,_7b],{});_90._DialogBase=_7b;var _7d=_90._DialogLevelManager={_beginZIndex:950,show:function(_91,_92){ds[ds.length-1].focus=_6f.curNode;var _93=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_90._DialogLevelManager._beginZIndex;_67.set(_91.domNode,"zIndex",_93);_76.show(_92,_93-1);ds.push({dialog:_91,underlayAttrs:_92,zIndex:_93});},hide:function(_94){if(ds[ds.length-1].dialog==_94){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_76.hide();}else{_76.show(pd.underlayAttrs,pd.zIndex-1);}if(_94.refocus){var _95=pd.focus;if(pd.dialog&&(!_95||!dom.isDescendant(_95,pd.dialog.domNode))){pd.dialog._getFocusItems();_95=pd.dialog._firstFocusItem;}if(_95){try{_95.focus();}catch(e){}}}}else{var idx=_61.indexOf(_61.map(ds,function(_96){return _96.dialog;}),_94);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_97){return ds[ds.length-1].dialog==_97;}};var ds=_90._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_6f.watch("curNode",function(_98,_99,_9a){var _9b=ds[ds.length-1].dialog;if(_9a&&_9b&&!_9b._fadeOutDeferred&&_9a.ownerDocument==_9b.ownerDocument){do{if(_9a==_9b.domNode||_65.contains(_9a,"dijitPopup")){return;}}while(_9a=_9a.parentNode);_9b.focus();}});if(has("dijit-legacy-requires")){_6b(0,function(){var _9c=["dijit/TooltipDialog"];_60(_9c);});}return _90;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_9d,_9e,_9f,dom,_a0,_a1,on,_a2,_a3,dnd,_a4,win){var _a5=_9e("dojo.dnd.Moveable",[_a1],{handle:"",delay:0,skip:false,constructor:function(_a6,_a7){this.node=dom.byId(_a6);if(!_a7){_a7={};}this.handle=_a7.handle?dom.byId(_a7.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_a7.delay>0?_a7.delay:0;this.skip=_a7.skip;this.mover=_a7.mover?_a7.mover:_a4;this.events=[on(this.handle,_a3.press,_9f.hitch(this,"onMouseDown")),on(this.handle,"dragstart",_9f.hitch(this,"onSelectStart")),on(this.handle,"selectstart",_9f.hitch(this,"onSelectStart"))];},markupFactory:function(_a8,_a9,_aa){return new _aa(_a9,_a8);},destroy:function(){_9d.forEach(this.events,function(_ab){_ab.remove();});this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_a3.move,_9f.hitch(this,"onMouseMove")),on(this.handle,_a3.release,_9f.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_ac){_a2.publish("/dnd/move/start",_ac);_a0.add(win.body(),"dojoMove");_a0.add(this.node,"dojoMoveItem");},onMoveStop:function(_ad){_a2.publish("/dnd/move/stop",_ad);_a0.remove(win.body(),"dojoMove");_a0.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_ae,_af){this.onMoving(_ae,_af);var s=_ae.node.style;s.left=_af.l+"px";s.top=_af.t+"px";this.onMoved(_ae,_af);},onMoving:function(){},onMoved:function(){}});return _a5;});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_b0,_b1,dom){var _b2=_b1.getObject("dojo.dnd",true);_b2.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_b2._uniqueId=0;_b2.getUniqueId=function(){var id;do{id=_b0._scopeName+"Unique"+(++_b2._uniqueId);}while(dom.byId(id));return id;};_b2._empty={};_b2.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _b2;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_b3,_b4,_b5,has,win,dom,_b6,_b7,_b8,on,_b9,dnd,_ba){return _b4("dojo.dnd.Mover",[_b8],{constructor:function(_bb,e,_bc){this.node=dom.byId(_bb);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_bc),d=_bb.ownerDocument;function _bd(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_b9.move,_b5.hitch(this,"onFirstMove")),on(d,_b9.move,_b5.hitch(this,"onMouseMove")),on(d,_b9.release,_b5.hitch(this,"onMouseUp")),on(d,"dragstart",_bd),on(d.body,"selectstart",_bd)];_ba.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_ba.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_b6.getMarginBox(this.node);var b=win.doc.body;var bs=_b7.getComputedStyle(b);var bm=_b6.getMarginBox(b,bs);var bc=_b6.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_b3.forEach(this.events,function(_be){_be.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(_bf,has,win,_c0,_c1,_c2){var _c3={};_bf.setObject("dojo.dnd.autoscroll",_c3);_c3.getViewport=_c2.getBox;_c3.V_TRIGGER_AUTOSCROLL=32;_c3.H_TRIGGER_AUTOSCROLL=32;_c3.V_AUTOSCROLL_VALUE=16;_c3.H_AUTOSCROLL_VALUE=16;var _c4,doc=win.doc,_c5=Infinity,_c6=Infinity;_c3.autoScrollStart=function(d){doc=d;_c4=_c2.getBox(doc);var _c7=win.body(doc).parentNode;_c5=Math.max(_c7.scrollHeight-_c4.h,0);_c6=Math.max(_c7.scrollWidth-_c4.w,0);};_c3.autoScroll=function(e){var v=_c4||_c2.getBox(doc),_c8=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_c3.H_TRIGGER_AUTOSCROLL){dx=-_c3.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_c3.H_TRIGGER_AUTOSCROLL){dx=Math.min(_c3.H_AUTOSCROLL_VALUE,_c6-_c8.scrollLeft);}}if(e.clientY<_c3.V_TRIGGER_AUTOSCROLL){dy=-_c3.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_c3.V_TRIGGER_AUTOSCROLL){dy=Math.min(_c3.V_AUTOSCROLL_VALUE,_c5-_c8.scrollTop);}}window.scrollBy(dx,dy);};_c3._validNodes={"div":1,"p":1,"td":1};_c3._validOverflow={"auto":1,"scroll":1};_c3.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_c9,_ca;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _c3._validNodes)){var s=_c1.getComputedStyle(n),_cb=(s.overflow.toLowerCase() in _c3._validOverflow),_cc=(s.overflowX.toLowerCase() in _c3._validOverflow),_cd=(s.overflowY.toLowerCase() in _c3._validOverflow);if(_cb||_cc||_cd){b=_c0.getContentBox(n,s);t=_c0.position(n,true);}if(_cb||_cc){w=Math.min(_c3.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_c9=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_cb||_cd){h=Math.min(_c3.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_ca=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_c3.autoScroll(e);};return _c3;});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_ce,_cf){var _d0=_cf.prototype.onMove;return _ce("dojo.dnd.TimedMoveable",_cf,{timeout:40,constructor:function(_d1,_d2){if(!_d2){_d2={};}if(_d2.timeout&&typeof _d2.timeout=="number"&&_d2.timeout>=0){this.timeout=_d2.timeout;}},onMoveStop:function(_d3){if(_d3._timer){clearTimeout(_d3._timer);_d0.call(this,_d3,_d3._leftTop);}_cf.prototype.onMoveStop.apply(this,arguments);},onMove:function(_d4,_d5){_d4._leftTop=_d5;if(!_d4._timer){var _d6=this;_d4._timer=setTimeout(function(){_d4._timer=null;_d0.call(_d6,_d4,_d4._leftTop);},this.timeout);}}});});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_d7,_d8,_d9,_da,on,_db){return _d8("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_dc){var res=[];_d7.forEach(_dc||this.getChildren(),function(_dd){if("value" in _dd){res.push(_dd);}else{res=res.concat(this._getDescendantFormWidgets(_dd.getChildren()));}},this);return res;},reset:function(){_d7.forEach(this._getDescendantFormWidgets(),function(_de){if(_de.reset){_de.reset();}});},validate:function(){var _df=false;return _d7.every(_d7.map(this._getDescendantFormWidgets(),function(_e0){_e0._hasBeenBlurred=true;var _e1=_e0.disabled||!_e0.validate||_e0.validate();if(!_e1&&!_df){_db.scrollIntoView(_e0.containerNode||_e0.domNode);_e0.focus();_df=true;}return _e1;}),function(_e2){return _e2;});},setValues:function(val){_d9.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_d7.forEach(this._getDescendantFormWidgets(),function(_e3){if(!_e3.name){return;}var _e4=map[_e3.name]||(map[_e3.name]=[]);_e4.push(_e3);});for(var _e5 in map){if(!map.hasOwnProperty(_e5)){continue;}var _e6=map[_e5],_e7=_da.getObject(_e5,false,obj);if(_e7===undefined){continue;}_e7=[].concat(_e7);if(typeof _e6[0].checked=="boolean"){_d7.forEach(_e6,function(w){w.set("value",_d7.indexOf(_e7,w._get("value"))!=-1);});}else{if(_e6[0].multiple){_e6[0].set("value",_e7);}else{_d7.forEach(_e6,function(w,i){w.set("value",_e7[i]);});}}}},getValues:function(){_d9.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_d7.forEach(this._getDescendantFormWidgets(),function(_e8){var _e9=_e8.name;if(!_e9||_e8.disabled){return;}var _ea=_e8.get("value");if(typeof _e8.checked=="boolean"){if(/Radio/.test(_e8.declaredClass)){if(_ea!==false){_da.setObject(_e9,_ea,obj);}else{_ea=_da.getObject(_e9,false,obj);if(_ea===undefined){_da.setObject(_e9,null,obj);}}}else{var ary=_da.getObject(_e9,false,obj);if(!ary){ary=[];_da.setObject(_e9,ary,obj);}if(_ea!==false){ary.push(_ea);}}}else{var _eb=_da.getObject(_e9,false,obj);if(typeof _eb!="undefined"){if(_da.isArray(_eb)){_eb.push(_ea);}else{_da.setObject(_e9,[_eb,_ea],obj);}}else{_da.setObject(_e9,_ea,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _ec=_d7.map(this._descendants,function(w){return w.get("state")||"";});return _d7.indexOf(_ec,"Error")>=0?"Error":_d7.indexOf(_ec,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_ed){this._descendants=this._getDescendantFormWidgets();_d7.forEach(this._descendants,function(_ee){if(!_ee._started){_ee.startup();}});if(!_ed){this._onChildChange();}},_onChildChange:function(_ef){if(!_ef||_ef=="state"||_ef=="disabled"){this._set("state",this._getState());}if(!_ef||_ef=="value"||_ef=="disabled"||_ef=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var _f0=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==_f0.domNode){return;}_f0._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(_f1,_f2,_f3){this.onValidStateChange(_f3=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_f4,_f5){return _f4("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _f6=_f5._getTabNavigable(this.domNode);this._firstFocusItem=_f6.lowest||_f6.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_f6.last||_f6.highest||this._firstFocusItem;}});});},"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(_f7,_f8,_f9,_fa,_fb,on,_fc,_fd,_fe,_ff,_100,_101){var _102=_f7("dijit.DialogUnderlay",[_fd,_fe],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_fa.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_103){this.node.className="dijitDialogUnderlay "+_103;this._set("class",_103);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_f8.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _104=_fc.getBox(this.ownerDocument);os.top=_104.t+"px";os.left=_104.l+"px";is.width=_104.w+"px";is.height=_104.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _ff(this.domNode);var win=_fc.get(this.ownerDocument);this._modalConnects=[_100.on("resize",_f8.hitch(this,"layout")),on(win,"scroll",_f8.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(){}});_102.show=function(_105,_106){var _107=_102._singleton;if(!_107||_107._destroyed){_107=_101._underlay=_102._singleton=new _102(_105);}else{if(_105){_107.set(_105);}}_fb.set(_107.domNode,"zIndex",_106);if(!_107.open){_107.show();}};_102.hide=function(){var _108=_102._singleton;if(_108&&!_108._destroyed){_108.hide();}};return _102;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_109,lang,_10a,_10b,_10c,_10d,html,_10e,_10f,_110,_111,dom,_112,_113,xhr,i18n,when){return _110("dijit.layout.ContentPane",[_10a,_10b,_10c],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_109._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,markupFactory:function(_114,node,ctor){var self=new ctor(_114,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_115,_116){if((!_115||!_115.template)&&_116&&!("href" in _115)&&!("content" in _115)){_116=dom.byId(_116);var df=_116.ownerDocument.createDocumentFragment();while(_116.firstChild){df.appendChild(_116.firstChild);}_115=lang.delegate(_115,{content:df});}this.inherited(arguments,[_115,_116]);},postMixInProperties:function(){this.inherited(arguments);var _117=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_10d.substitute(this.loadingMessage,_117);this.errorMessage=_10d.substitute(this.errorMessage,_117);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_10f.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_10f.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_10f.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_109.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _111(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_109.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _111(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_118){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _111(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _119={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_119,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_119)),_11a;hand.then(function(html){_11a=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _11a;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_11b){if(this.isLoaded){this._onUnloadHandler();}var _11c=this._contentSetter;_10f.forEach(this.getChildren(),function(_11d){if(_11d.destroyRecursive){_11d.destroyRecursive(_11b);}else{if(_11d.destroy){_11d.destroy(_11b);}}_11d._destroyed=true;});if(_11c){_10f.forEach(_11c.parseResults,function(_11e){if(!_11e._destroyed){if(_11e.destroyRecursive){_11e.destroyRecursive(_11b);}else{if(_11e.destroy){_11e.destroy(_11b);}}_11e._destroyed=true;}});delete _11c.parseResults;}if(!_11b){_113.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_11f){this.destroyDescendants();var _120=this._contentSetter;if(!(_120&&_120 instanceof html._ContentSetter)){_120=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _121=this.onContentError(e);try{this.containerNode.innerHTML=_121;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _122=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_120.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_122);var self=this;return when(p&&p.then?p:_120.parseDeferred,function(){delete self._contentSetterParams;if(!_11f){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},_onError:function(type,err,_123){this.onLoadDeferred.reject(err);var _124=this["on"+type+"Error"].call(this,err);if(_123){console.error(_123,err);}else{if(_124){this._setContent(_124,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","../registry","../Viewport","./utils"],function(_125,_126,_127,_128,_129,lang,_12a,_12b,_12c,_12d){return _126("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _12e=this.getParent();this._childOfLayoutWidget=_12e&&_12e.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_12c.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){if(!this.doLayout){return;}var _12f=[],_130=false;_12a("> *",this.containerNode).some(function(node){var _131=_12b.byNode(node);if(_131&&_131.resize){_12f.push(_131);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_130=true;}}});this._singleChild=_12f.length==1&&!_130?_12f[0]:null;_127.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_132,_133){this._resizeCalled=true;this._scheduleLayout(_132,_133);},_scheduleLayout:function(_134,_135){if(this._isShown()){this._layout(_134,_135);}else{this._needLayout=true;this._changeSize=_134;this._resultSize=_135;}},_layout:function(_136,_137){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_136){_128.setMarginBox(this.domNode,_136);}var cn=this.containerNode;if(cn===this.domNode){var mb=_137||{};lang.mixin(mb,_136||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_128.getMarginBox(cn),mb);}this._contentBox=_12d.marginBox2contentBox(cn,mb);}else{this._contentBox=_128.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_128.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _138=this.getChildren(),_139,i=0;while(_139=_138[i++]){if(_139.resize){_139.resize();}}}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_13a=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_127.contains(node,"dijitHidden")&&_13a&&_13a.style&&(_13a.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_13b,_13c,_13d,_13e,lang){function _13f(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_140,dim){var _141=_140.resize?_140.resize(dim):_13d.setMarginBox(_140.domNode,dim);if(_141){lang.mixin(_140,_141);}else{lang.mixin(_140,_13d.getMarginBox(_140.domNode));lang.mixin(_140,dim);}};var _142={marginBox2contentBox:function(node,mb){var cs=_13e.getComputedStyle(node);var me=_13d.getMarginExtents(node,cs);var pb=_13d.getPadBorderExtents(node,cs);return {l:_13e.toPixelValue(node,cs.paddingLeft),t:_13e.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_143,dim,_144,_145,_146){dim=lang.mixin({},dim);_13c.add(_143,"dijitLayoutContainer");_144=_13b.filter(_144,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_13b.filter(_144,function(item){return item.region=="center"||item.layoutAlign=="client";}));_13b.forEach(_144,function(_147){var elm=_147.domNode,pos=(_147.region||_147.layoutAlign);if(!pos){throw new Error("No region setting for "+_147.id);}var _148=elm.style;_148.left=dim.l+"px";_148.top=dim.t+"px";_148.position="absolute";_13c.add(elm,"dijitAlign"+_13f(pos));var _149={};if(_145&&_145==_147.id){_149[_147.region=="top"||_147.region=="bottom"?"h":"w"]=_146;}if(pos=="leading"){pos=_147.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_147.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_149.w=dim.w;size(_147,_149);dim.h-=_147.h;if(pos=="top"){dim.t+=_147.h;}else{_148.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_149.h=dim.h;size(_147,_149);dim.w-=_147.w;if(pos=="left"){dim.l+=_147.w;}else{_148.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_147,dim);}}}});}};lang.setObject("dijit.layout.utils",_142);return _142;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_14a,lang,_14b,_14c,dom,_14d,_14e){var _14f=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_14d.empty,_setNodeContent:function(node,cont){_14d.empty(node);if(cont){if(typeof cont=="string"){cont=_14d.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _150=cont.length,i=0;i<cont.length;i=_150==cont.length?i+1:0){_14d.place(cont[i],node,"last");}}else{_14d.place(cont,node,"last");}}return node;},_ContentSetter:_14c("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_14a._scopeName,startup:true,constructor:function(_151,node){lang.mixin(this,_151||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_14f++].join("_");}},set:function(cont,_152){if(undefined!==cont){this.content=cont;}if(_152){this._mixin(_152);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _153=this.onContentError(e);try{node.innerHTML=_153;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_14b.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_14d.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _154=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_154){cont=_154[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_155){var _156={},key;for(key in _155){if(key in _156){continue;}this[key]=_155[key];}},_parse:function(){var _157=this.node;try{var _158={};_14b.forEach(["dir","lang","textDir"],function(name){if(this[name]){_158[name]=this[name];}},this);var self=this;this.parseDeferred=_14e.parse({rootNode:_157,noStart:!this.startup,inherited:_158,scope:this.parserScope}).then(function(_159){return self.parseResults=_159;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_15a){var _15b=this["on"+type+"Error"].call(this,err);if(_15a){console.error(_15a,err);}else{if(_15b){html._setNodeContent(this.node,_15b,true);}}}}),set:function(node,cont,_15c){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_15c){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_15c,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_15d,_15e,has,keys,lang,on,_15f,_160,_161,_162,_163,_164,_165){var _166=_15d("dijit.TooltipDialog",[_160,_163,_162,_161],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_164,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_167,_168){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_167+"-"+_168];_15e.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_15f.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _169=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_169.y+((_169.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_169.x+((_169.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_15f.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_15f.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_166.extend({_setTitleAttr:function(_16a){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_16a):_16a;this._set("title",_16a);},_setTextDirAttr:function(_16b){if(!this._created||this.textDir!=_16b){this._set("textDir",_16b);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _166;});},"dijit/Editor":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/Deferred","dojo/i18n","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/string","dojo/topic","./_Container","./Toolbar","./ToolbarSeparator","./layout/_LayoutWidget","./form/ToggleButton","./_editor/_Plugin","./_editor/plugins/EnterKeyHandling","./_editor/html","./_editor/range","./_editor/RichText","./main","dojo/i18n!./_editor/nls/commands"],function(_16c,_16d,_16e,_16f,i18n,_170,_171,_172,_173,keys,lang,has,_174,_175,_176,_177,_178,_179,_17a,_17b,_17c,html,_17d,_17e,_17f){var _180=_16e("dijit.Editor",_17e,{plugins:null,extraPlugins:null,constructor:function(){if(!lang.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",_17c];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")||has("trident")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _16f();this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);if(lang.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.commands=i18n.getLocalization("dijit._editor","commands",this.lang);if(has("webkit")){_173.set(this.domNode,"KhtmlUserSelect","none");}},startup:function(){this.inherited(arguments);if(!this.toolbar){this.toolbar=new _177({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id});this.header.appendChild(this.toolbar.domNode);}_16d.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(true);_171.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_171.add(this.iframe,"dijitEditorIFrame");_170.set(this.iframe,"allowTransparency",true);this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_16d.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_181,_182){var args=lang.isString(_181)?{name:_181}:lang.isFunction(_181)?{ctor:_181}:_181;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_17b.registry[args.name]){o.plugin=_17b.registry[args.name](args);}else{_175.publish(_17f._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){try{var pc=args.ctor||lang.getObject(args.name)||_16c(args.name);if(pc){o.plugin=new pc(args);}}catch(e){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}}if(!o.plugin){throw new Error(this.id+": cannot find plugin ["+args.name+"]");}_181=o.plugin;}if(arguments.length>1){this._plugins[_182]=_181;}else{this._plugins.push(_181);}_181.setEditor(this);if(lang.isFunction(_181.setToolbar)){_181.setToolbar(this.toolbar);}},resize:function(size){if(size){_179.prototype.resize.apply(this,arguments);}},layout:function(){var _183=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_172.getPadBorderExtents(this.iframe.parentNode).h+_172.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_183+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _184;var b=this.document.body;var _185=b.clientWidth;var _186=b.clientHeight;var _187=b.clientLeft;var _188=b.offsetWidth;var _189=b.offsetHeight;var _18a=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_185<_188&&e.x>_185&&e.x<_188){_184=true;}}else{if(e.x<_187&&e.x>_18a){_184=true;}}if(!_184){if(_186<_189&&e.y>_186&&e.y<_189){_184=true;}}if(!_184){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){this.defer("placeCursorAtEnd");}this.inherited(arguments);}},onBeforeActivate:function(){this._restoreSelection();},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}if(e.target.tagName!="BODY"){this._saveSelection();}},customUndo:true,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){this._editTimer.remove();}this._editTimer=this.defer("endEditing",this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited(arguments);if(this.customUndo){this._endEditing();}return r;}},_pasteImpl:function(){return this._clipboardCommand("paste");},_cutImpl:function(){return this._clipboardCommand("cut");},_copyImpl:function(){return this._clipboardCommand("copy");},_clipboardCommand:function(cmd){var r;try{r=this.document.execCommand(cmd,false,null);if(has("webkit")&&!r){throw {code:1011};}}catch(e){if(e.code==1011||(e.code==9&&has("opera"))){var sub=_174.substitute,_18b={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_18b[cmd]])]));}r=false;}return r;},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited(arguments);}},_moveToBookmark:function(b){var _18c=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_18d,_18e,sel;if(mark){if(has("ie")<9||(has("ie")===9&&has("quirks"))){if(lang.isArray(mark)){_18c=[];_16d.forEach(mark,function(n){_18c.push(_17d.getNode(n,this.editNode));},this);this.selection.moveToBookmark({mark:_18c,isCollapsed:col});}else{if(mark.startContainer&&mark.endContainer){sel=_17d.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_17d.create(this.window);_18d=_17d.getNode(mark.startContainer,this.editNode);_18e=_17d.getNode(mark.endContainer,this.editNode);if(_18d&&_18e){r.setStart(_18d,mark.startOffset);r.setEnd(_18e,mark.endOffset);sel.addRange(r);}}}}}else{sel=_17d.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_17d.create(this.window);_18d=_17d.getNode(mark.startContainer,this.editNode);_18e=_17d.getNode(mark.endContainer,this.editNode);if(_18d&&_18e){r.setStart(_18d,mark.startOffset);r.setEnd(_18e,mark.endOffset);sel.addRange(r);}}}}},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._steps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();delete this._undoRedoActive;ret=true;}delete this._undoRedoActive;}return ret;},redo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();ret=true;}delete this._undoRedoActive;}return ret;},endEditing:function(_18f){if(this._editTimer){this._editTimer=this._editTimer.remove();}if(this._inEditing){this._endEditing(_18f);this._inEditing=false;}},_getBookmark:function(){var b=this.selection.getBookmark();var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9||(has("ie")===9&&has("quirks"))){var sel=_17d.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _190;if(sel.rangeCount){_190=sel.getRangeAt(0);}if(_190){b.mark=_190.cloneRange();}else{b.mark=this.selection.getBookmark();}}}else{_16d.forEach(b.mark,function(n){tmp.push(_17d.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_17d.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_17d.getIndex(b.mark.endContainer,this.editNode).o,endOffset:b.mark.endOffset};}}catch(e){b.mark=null;}}return b;},_beginEditing:function(){if(this._steps.length===0){this._steps.push({"text":html.getChildrenHtml(this.editNode),"bookmark":this._getBookmark()});}},_endEditing:function(){var v=html.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!has("ie")&&!this.iframe&&e.keyCode==keys.TAB&&!this.tabIndent){this._saveSelection();}if(!this.customUndo){this.inherited(arguments);return;}var k=e.keyCode;if(e.ctrlKey&&!e.shiftKey&&!e.altKey){if(k==90||k==122){e.stopPropagation();e.preventDefault();this.undo();return;}else{if(k==89||k==121){e.stopPropagation();e.preventDefault();this.redo();return;}}}this.inherited(arguments);switch(k){case keys.ENTER:case keys.BACKSPACE:case keys.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");}else{this.beginEditing("paste");}this.defer("endEditing",1);break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<keys.F1||e.keyCode>keys.F15)){this.beginEditing();break;}case keys.ALT:this.endEditing();break;case keys.UP_ARROW:case keys.DOWN_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:case keys.HOME:case keys.END:case keys.PAGE_UP:case keys.PAGE_DOWN:this.endEditing(true);break;case keys.CTRL:case keys.SHIFT:case keys.TAB:break;}},_onBlur:function(){this.inherited(arguments);this.endEditing(true);},_saveSelection:function(){try{this._savedSelection=this._getBookmark();}catch(e){}},_restoreSelection:function(){if(this._savedSelection){delete this._cursorToStart;if(this.selection.isCollapsed()){this._moveToBookmark(this._savedSelection);}delete this._savedSelection;}},onClick:function(){this.endEditing(true);this.inherited(arguments);},replaceValue:function(html){if(!this.customUndo){this.inherited(arguments);}else{if(this.isClosed){this.setValue(html);}else{this.beginEditing();if(!html){html="&#160;";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_191){this.setValueDeferred.then(lang.hitch(this,function(){if((!this.disabled&&_191)||(!this._buttonEnabledPlugins&&_191)){_16d.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_191){_16d.forEach(this._plugins,function(p){p.set("disabled",false);});}}}));this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_173.set(this.document.body,"color",_173.get(this.iframe,"color"));}}catch(e){}}});function _192(args){return new _17b({command:args.name});};function _193(args){return new _17b({buttonClass:_17a,command:args.name});};lang.mixin(_17b.registry,{"undo":_192,"redo":_192,"cut":_192,"copy":_192,"paste":_192,"insertOrderedList":_192,"insertUnorderedList":_192,"indent":_192,"outdent":_192,"justifyCenter":_192,"justifyFull":_192,"justifyLeft":_192,"justifyRight":_192,"delete":_192,"selectAll":_192,"removeFormat":_192,"unlink":_192,"insertHorizontalRule":_192,"bold":_193,"italic":_193,"underline":_193,"strikethrough":_193,"subscript":_193,"superscript":_193,"|":function(){return new _17b({setEditor:function(_194){this.editor=_194;this.button=new _178({ownerDocument:_194.ownerDocument});}});}});return _180;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_195,_196,has,keys,_197,_198,_199,_19a){if(has("dijit-legacy-requires")){_197(0,function(){var _19b=["dijit/ToolbarSeparator"];_195(_19b);});}return _196("dijit.Toolbar",[_198,_19a,_199],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_19c,_19d,_19e,_19f,keys,lang,_1a0,_1a1,_1a2,_1a3){return _19d("dijit._KeyNavContainer",[_1a2,_1a3,_1a1],{connectKeyNavHandlers:function(_1a4,_1a5){var _1a6=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_19c.forEach(_1a4,function(code){_1a6[code]=prev;});_19c.forEach(_1a5,function(code){_1a6[code]=next;});_1a6[keys.HOME]=lang.hitch(this,"focusFirstChild");_1a6[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_19f.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_19c.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_1a7,_1a8){this.inherited(arguments);this._startupChild(_1a7);},_startupChild:function(_1a9){_1a9.set("tabIndex","-1");},_getFirst:function(){var _1aa=this.getChildren();return _1aa.length?_1aa[0]:null;},_getLast:function(){var _1ab=this.getChildren();return _1ab.length?_1ab[_1ab.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_1a0.byNode(node);return node&&node.getParent()==this;}});});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_1ac,_1ad,_1ae,keys,lang,on,_1af,_1b0){return _1ad("dijit._KeyNavMixin",_1b0,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_1ae.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _1b1=this._keyNavCodes={};_1b1[keys.HOME]=lang.hitch(this,"focusFirstChild");_1b1[keys.END]=lang.hitch(this,"focusLastChild");_1b1[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_1b1[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_1b1[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_1b1[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_1b2=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_1b2,"focusin"),function(evt){self._onChildFocus(_1af.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_1b3,last){if(!_1b3){return;}if(this.focusedChild&&_1b3!==this.focusedChild){this._onChildBlur(this.focusedChild);}_1b3.set("tabIndex",this.tabIndex);_1b3.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_1ae.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_1ae.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_1b4){if(_1b4&&_1b4!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_1b4.set("tabIndex",this.tabIndex);this.lastFocused=_1b4;this._set("focusedChild",_1b4);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_1b5,_1b6){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_1b7){var _1b8=item.domNode,text=item.label||(_1b8.focusNode?_1b8.focusNode.label:"")||_1b8.innerText||_1b8.textContent||"",_1b9=text.replace(/^\s+/,"").substr(0,_1b7.length).toLowerCase();return (!!_1b7.length&&_1b9==_1b7)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_1ba){var _1bb=null,_1bc,_1bd=0,_1be=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_1ba;var _1bf=/^(.)\1*$/.test(this._searchString);var _1c0=_1bf?1:this._searchString.length;_1bc=this._searchString.substr(0,_1c0);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _1c1=this.focusedChild||null;if(_1c0==1||!_1c1){_1c1=this._getNextFocusableChild(_1c1,1);if(!_1c1){return;}}var stop=_1c1;do{var rc=this._keyboardSearchCompare(_1c1,_1bc);if(!!rc&&_1bd++==0){_1bb=_1c1;}if(rc==-1){_1bd=-1;break;}_1c1=this._getNextFocusableChild(_1c1,1);}while(_1c1!=stop);});_1be();this.onKeyboardSearch(_1bb,evt,_1bc,_1bd);},_onChildBlur:function(){},_getNextFocusableChild:function(_1c2,dir){var _1c3=_1c2;do{if(!_1c2){_1c2=this[dir>0?"_getFirst":"_getLast"]();if(!_1c2){break;}}else{_1c2=this._getNext(_1c2,dir);}if(_1c2!=null&&_1c2!=_1c3&&_1c2.isFocusable()){return _1c2;}}while(_1c2!=_1c3);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_1c4,dir){if(_1c4){_1c4=_1c4.domNode;while(_1c4){_1c4=_1c4[dir<0?"previousSibling":"nextSibling"];if(_1c4&&"getAttribute" in _1c4){var w=_1af.byNode(_1c4);if(w){return w;}}}}return null;}});});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_1c5,dom,_1c6,_1c7){return _1c5("dijit.ToolbarSeparator",[_1c6,_1c7],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_1c8,_1c9,_1ca,_1cb){return _1c8("dijit.form.ToggleButton",[_1ca,_1cb],{baseClass:"dijitToggleButton",setChecked:function(_1cc){_1c9.deprecated("setChecked("+_1cc+") is deprecated. Use set('checked',"+_1cc+") instead.","","2.0");this.set("checked",_1cc);}});});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html","../a11yclick"],function(_1cd,_1ce,_1cf,has,_1d0,lang,_1d1,_1d2,_1d3,_1d4){if(has("dijit-legacy-requires")){_1d1(0,function(){var _1d5=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_1cd(_1d5);});}var _1d6=_1ce("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_1d2,_1d3],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_1d4,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},_fillContent:function(_1d7){if(_1d7&&(!this.params||!("label" in this.params))){var _1d8=lang.trim(_1d7.innerHTML);if(_1d8){this.label=_1d8;}}},_setShowLabelAttr:function(val){if(this.containerNode){_1cf.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_1d9){_1d0.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_1d9);},_setLabelAttr:function(_1da){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_1d6=_1ce("dijit.form.Button",_1d6,{_setLabelAttr:function(_1db){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_1dc){if(this._created&&this.textDir!=_1dc){this._set("textDir",_1dc);this._setLabelAttr(this.label);}}});}return _1d6;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_1dd,dom,has,_1de){var _1df=_1dd("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _1e0=e.defaultPrevented;if(!_1e0&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _1e1=_1de.byNode(node);if(_1e1&&typeof _1e1._onSubmit=="function"){_1e1._onSubmit(e);e.preventDefault();_1e0=true;break;}}}return !_1e0;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_1e2){this._set("label",_1e2);var _1e3=this.containerNode||this.focusNode;_1e3.innerHTML=_1e2;}});if(has("dojo-bidi")){_1df=_1dd("dijit.form._ButtonMixin",_1df,{_setLabelAttr:function(){this.inherited(arguments);var _1e4=this.containerNode||this.focusNode;this.applyTextDir(_1e4);}});}return _1df;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1e5,_1e6){return _1e5("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1e7=this.checked;this._set("checked",!_1e7);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1e7);return ret;},_setCheckedAttr:function(_1e8,_1e9){this._set("checked",_1e8);var node=this.focusNode||this.domNode;if(this._created){if(_1e6.get(node,"checked")!=!!_1e8){_1e6.set(node,"checked",!!_1e8);}}node.setAttribute(this._aria_attr,String(_1e8));this._handleOnChange(_1e8,_1e9);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../Destroyable","../form/Button"],function(_1ea,_1eb,lang,_1ec,_1ed){var _1ee=_1eb("dijit._editor._Plugin",_1ec,{constructor:function(args){this.params=args||{};lang.mixin(this,this.params);this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_1ed,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _1ef=this.getLabel(this.command),_1f0=this.editor,_1f1=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _1f2=lang.mixin({label:_1ef,ownerDocument:_1f0.ownerDocument,dir:_1f0.dir,lang:_1f0.lang,showLabel:false,iconClass:_1f1,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});delete _1f2.name;this.button=new this.buttonClass(_1f2);}}if(this.get("disabled")&&this.button){this.button.set("disabled",this.get("disabled"));}},destroy:function(){if(this.dropDown){this.dropDown.destroyRecursive();}this.inherited(arguments);},connect:function(o,f,tf){this.own(_1ea.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_1f3,_1f4;if(!e||!e.isLoaded||!c.length){return;}var _1f5=this.get("disabled");if(this.button){try{_1f4=!_1f5&&e.queryCommandEnabled(c);if(this.enabled!==_1f4){this.enabled=_1f4;this.button.set("disabled",!_1f4);}if(_1f4){if(typeof this.button.checked=="boolean"){_1f3=e.queryCommandState(c);if(this.checked!==_1f3){this.checked=_1f3;this.button.set("checked",e.queryCommandState(c));}}}}catch(e){}}},setEditor:function(_1f6){this.editor=_1f6;this._initButton();if(this.button&&this.useDefaultCommand){if(this.editor.queryCommandAvailable(this.command)){this.own(this.button.on("click",lang.hitch(this.editor,"execCommand",this.command,this.commandArg)));}else{this.button.domNode.style.display="none";}}this.own(this.editor.on("NormalizedDisplayChanged",lang.hitch(this,"updateState")));},setToolbar:function(_1f7){if(this.button){_1f7.addChild(this.button);}},set:function(name,_1f8){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1f9=this._getAttrNames(name);if(this[_1f9.s]){var _1fa=this[_1f9.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_1f8);}return _1fa||this;},get:function(name){var _1fb=this._getAttrNames(name);return this[_1fb.g]?this[_1fb.g]():this[name];},_setDisabledAttr:function(_1fc){this._set("disabled",_1fc);this.updateState();},_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]={s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_1fd){this[name]=_1fd;}});_1ee.registry={};return _1ee;});},"dijit/_editor/plugins/EnterKeyHandling":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range"],function(_1fe,_1ff,keys,lang,on,has,win,_200,_201,_202,_203){return _1fe("dijit._editor.plugins.EnterKeyHandling",_201,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_204){if(this.editor===_204){return;}this.editor=_204;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_204.onLoadDeferred.then(lang.hitch(this,function(d){this.own(on(_204.document,"keydown",lang.hitch(this,function(e){if(e.keyCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){e.stopPropagation();e.preventDefault();}}})));if(has("ie")>=9&&has("ie")<=10){this.own(on(_204.document,"paste",lang.hitch(this,function(e){setTimeout(lang.hitch(this,function(){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();r.move("character",1);r.select();}),0);})));}return d;}));}else{if(this.blockNodeForEnter){var h=lang.hitch(this,"handleEnterKey");_204.addKeyHandler(13,0,0,h);_204.addKeyHandler(13,0,1,h);this.own(this.editor.on("KeyPressed",lang.hitch(this,"onKeyPressed")));}}},onKeyPressed:function(){if(this._checkListLater){if(this.editor.selection.isCollapsed()){var _205=this.editor.selection.getAncestorElement("LI");if(!_205){_202.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _206=this.editor.selection.getAncestorElement(this.blockNodeForEnter);if(_206){_206.innerHTML=this.bogusHtmlContent;if(has("ie")<=9){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{console.error("onKeyPressed: Cannot find the new block node");}}else{if(has("mozilla")){if(_205.parentNode.parentNode.nodeName=="LI"){_205=_205.parentNode.parentNode;}}var fc=_205.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_205.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _207=_203.create(this.editor.window);_207.setStart(_205.firstChild,0);var _208=_203.getSelection(this.editor.window,true);_208.removeAllRanges();_208.addRange(_207);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:"&#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var _209,_20a,_20b,_20c,_20d,_20e,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _20f=this.editor.selection.getParentElement();var _210=_203.getAncestor(_20f,this.blockNodes);if(_210){if(_210.tagName=="LI"){return true;}_209=_203.getSelection(this.editor.window);_20a=_209.getRangeAt(0);if(!_20a.collapsed){_20a.deleteContents();_209=_203.getSelection(this.editor.window);_20a=_209.getRangeAt(0);}if(_203.atBeginningOfContainer(_210,_20a.startContainer,_20a.startOffset)){br=doc.createElement("br");_20b=_203.create(this.editor.window);_210.insertBefore(br,_210.firstChild);_20b.setStartAfter(br);_209.removeAllRanges();_209.addRange(_20b);}else{if(_203.atEndOfContainer(_210,_20a.startContainer,_20a.startOffset)){_20b=_203.create(this.editor.window);br=doc.createElement("br");_210.appendChild(br);_210.appendChild(doc.createTextNode(" "));_20b.setStart(_210.lastChild,0);_209.removeAllRanges();_209.addRange(_20b);}else{rs=_20a.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;_20c=doc.createTextNode(txt.substring(0,_20a.startOffset));_20d=doc.createTextNode(txt.substring(_20a.startOffset));_20e=doc.createElement("br");if(_20d.nodeValue==""&&has("webkit")){_20d=doc.createTextNode(" ");}_1ff.place(_20c,rs,"after");_1ff.place(_20e,_20c,"after");_1ff.place(_20d,_20e,"after");_1ff.destroy(rs);_20b=_203.create(this.editor.window);_20b.setStart(_20d,0);_209.removeAllRanges();_209.addRange(_20b);return false;}return true;}}}else{_209=_203.getSelection(this.editor.window);if(_209.rangeCount){_20a=_209.getRangeAt(0);if(_20a&&_20a.startContainer){if(!_20a.collapsed){_20a.deleteContents();_209=_203.getSelection(this.editor.window);_20a=_209.getRangeAt(0);}rs=_20a.startContainer;if(rs&&rs.nodeType==3){var _211=_20a.startOffset;if(rs.length<_211){ret=this._adjustNodeAndOffset(rs,_211);rs=ret.node;_211=ret.offset;}txt=rs.nodeValue;_20c=doc.createTextNode(txt.substring(0,_211));_20d=doc.createTextNode(txt.substring(_211));_20e=doc.createElement("br");if(!_20d.length){_20d=doc.createTextNode(" ");}if(_20c.length){_1ff.place(_20c,rs,"after");}else{_20c=rs;}_1ff.place(_20e,_20c,"after");_1ff.place(_20d,_20e,"after");_1ff.destroy(rs);_20b=_203.create(this.editor.window);_20b.setStart(_20d,0);_20b.setEnd(_20d,_20d.length);_209.removeAllRanges();_209.addRange(_20b);this.editor.selection.collapse(true);}else{var _212;if(_20a.startOffset>=0){_212=rs.childNodes[_20a.startOffset];}var _20e=doc.createElement("br");var _20d=doc.createTextNode(" ");if(!_212){rs.appendChild(_20e);rs.appendChild(_20d);}else{_1ff.place(_20e,_212,"before");_1ff.place(_20d,_20e,"after");}_20b=_203.create(this.editor.window);_20b.setStart(_20d,0);_20b.setEnd(_20d,_20d.length);_209.removeAllRanges();_209.addRange(_20b);this.editor.selection.collapse(true);}}}else{_202.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _213=true;_209=_203.getSelection(this.editor.window);_20a=_209.getRangeAt(0);if(!_20a.collapsed){_20a.deleteContents();_209=_203.getSelection(this.editor.window);_20a=_209.getRangeAt(0);}var _214=_203.getBlockAncestor(_20a.endContainer,null,this.editor.editNode);var _215=_214.blockNode;if((this._checkListLater=(_215&&(_215.nodeName=="LI"||_215.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_215;}if(/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(_215.innerHTML)){_215.innerHTML="";if(has("webkit")){_20b=_203.create(this.editor.window);_20b.setStart(_215,0);_209.removeAllRanges();_209.addRange(_20b);}this._checkListLater=false;}return true;}if(!_214.blockNode||_214.blockNode===this.editor.editNode){try{_202.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_214={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(_214.blockNode){if(_214.blockNode!=this.editor.editNode&&(!(_214.blockNode.textContent||_214.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_214.blockNode);return false;}}else{_214.blockNode=this.editor.editNode;}_209=_203.getSelection(this.editor.window);_20a=_209.getRangeAt(0);}var _216=doc.createElement(this.blockNodeForEnter);_216.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_214.blockNode);var _217=_20a.endOffset;var node=_20a.endContainer;if(node.length<_217){var ret=this._adjustNodeAndOffset(node,_217);node=ret.node;_217=ret.offset;}if(_203.atEndOfContainer(_214.blockNode,node,_217)){if(_214.blockNode===_214.blockContainer){_214.blockNode.appendChild(_216);}else{_1ff.place(_216,_214.blockNode,"after");}_213=false;_20b=_203.create(this.editor.window);_20b.setStart(_216,0);_209.removeAllRanges();_209.addRange(_20b);if(this.editor.height){_200.scrollIntoView(_216);}}else{if(_203.atBeginningOfContainer(_214.blockNode,_20a.startContainer,_20a.startOffset)){_1ff.place(_216,_214.blockNode,_214.blockNode===_214.blockContainer?"first":"before");if(_216.nextSibling&&this.editor.height){_20b=_203.create(this.editor.window);_20b.setStart(_216.nextSibling,0);_209.removeAllRanges();_209.addRange(_20b);_200.scrollIntoView(_216.nextSibling);}_213=false;}else{if(_214.blockNode===_214.blockContainer){_214.blockNode.appendChild(_216);}else{_1ff.place(_216,_214.blockNode,"after");}_213=false;if(_214.blockNode.style){if(_216.style){if(_214.blockNode.style.cssText){_216.style.cssText=_214.blockNode.style.cssText;}}}rs=_20a.startContainer;var _218;if(rs&&rs.nodeType==3){var _219,_21a;_217=_20a.endOffset;if(rs.length<_217){ret=this._adjustNodeAndOffset(rs,_217);rs=ret.node;_217=ret.offset;}txt=rs.nodeValue;_20c=doc.createTextNode(txt.substring(0,_217));_20d=doc.createTextNode(txt.substring(_217,txt.length));_1ff.place(_20c,rs,"before");_1ff.place(_20d,rs,"after");_1ff.destroy(rs);var _21b=_20c.parentNode;while(_21b!==_214.blockNode){var tg=_21b.tagName;var _21c=doc.createElement(tg);if(_21b.style){if(_21c.style){if(_21b.style.cssText){_21c.style.cssText=_21b.style.cssText;}}}if(_21b.tagName==="FONT"){if(_21b.color){_21c.color=_21b.color;}if(_21b.face){_21c.face=_21b.face;}if(_21b.size){_21c.size=_21b.size;}}_219=_20d;while(_219){_21a=_219.nextSibling;_21c.appendChild(_219);_219=_21a;}_1ff.place(_21c,_21b,"after");_20c=_21b;_20d=_21c;_21b=_21b.parentNode;}_219=_20d;if(_219.nodeType==1||(_219.nodeType==3&&_219.nodeValue)){_216.innerHTML="";}_218=_219;while(_219){_21a=_219.nextSibling;_216.appendChild(_219);_219=_21a;}}_20b=_203.create(this.editor.window);var _21d;var _21e=_218;if(this.blockNodeForEnter!=="BR"){while(_21e){_21d=_21e;_21a=_21e.firstChild;_21e=_21a;}if(_21d&&_21d.parentNode){_216=_21d.parentNode;_20b.setStart(_216,0);_209.removeAllRanges();_209.addRange(_20b);if(this.editor.height){_200.scrollIntoView(_216);}if(has("mozilla")){this._pressedEnterInBlock=_214.blockNode;}}else{_213=true;}}else{_20b.setStart(_216,0);_209.removeAllRanges();_209.addRange(_20b);if(this.editor.height){_200.scrollIntoView(_216);}if(has("mozilla")){this._pressedEnterInBlock=_214.blockNode;}}}}return _213;},_adjustNodeAndOffset:function(node,_21f){while(node.length<_21f&&node.nextSibling&&node.nextSibling.nodeType==3){_21f=_21f-node.length;node=node.nextSibling;}return {"node":node,"offset":_21f};},removeTrailingBr:function(_220){var para=/P|DIV|LI/i.test(_220.tagName)?_220:this.editor.selection.getParentOfType(_220,["P","DIV","LI"]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&&para.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||para.lastChild.tagName=="BR"){_1ff.destroy(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_editor/RichText":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/domReady","dojo/sniff","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/window","../_Widget","../_CssStateMixin","../selection","./range","./html","../focus","../main"],function(_221,_222,_223,_224,dom,_225,_226,_227,_228,_229,_22a,keys,lang,on,_22b,_22c,has,_22d,_22e,_22f,_230,_231,_232,_233,_234,_235,_236,_237){var _238=_223("dijit._editor.RichText",[_231,_232],{constructor:function(_239){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_239&&lang.isString(_239.value)){this.value=_239.value;}this.onLoadDeferred=new _224();},baseClass:"dijitEditor",inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:false,disableSpellCheck:false,postCreate:function(){if("textarea"===this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag.  See dijit._editor.RichText docs.");}this.contentPreFilters=[lang.trim,lang.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);if(has("mozilla")){this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters);this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters);}if(has("webkit")){this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters);this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters);}if(has("ie")||has("trident")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);}this.contentDomPostFilters=[lang.hitch(this,"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);_22d.publish(_237._scopeName+"._editor.RichText::init",this);},startup:function(){this.inherited(arguments);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=lang.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _23a={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},m:function(){this.isTabIndent=!this.isTabIndent;},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!has("ie")){_23a.Z=exec("redo");}var key;for(key in _23a){this.addKeyHandler(key,true,false,_23a[key]);}},events:["onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_238._editorCommandsLocalized){this._local2NativeFormatNames=_238._local2NativeFormatNames;this._native2LocalFormatNames=_238._native2LocalFormatNames;return;}_238._editorCommandsLocalized=true;_238._local2NativeFormatNames={};_238._native2LocalFormatNames={};this._local2NativeFormatNames=_238._local2NativeFormatNames;this._native2LocalFormatNames=_238._native2LocalFormatNames;var _23b=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _23c="",_23d,i=0;while((_23d=_23b[i++])){if(_23d.charAt(1)!=="l"){_23c+="<"+_23d+"><span>content</span></"+_23d+"><br/>";}else{_23c+="<"+_23d+"><li>content</li></"+_23d+"><br/>";}}var _23e={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_227.create("div",{style:_23e,innerHTML:_23c});this.ownerDocumentBody.appendChild(div);var _23f=lang.hitch(this,function(){var node=div.firstChild;while(node){try{this.selection.selectElement(node.firstChild);var _240=node.tagName.toLowerCase();this._local2NativeFormatNames[_240]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_240]]=_240;node=node.nextSibling.nextSibling;}catch(e){}}_227.destroy(div);});this.defer(_23f);},open:function(_241){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _224();}if(!this.isClosed){this.close();}_22d.publish(_237._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_241.nodeName){this.domNode=_241;}var dn=this.domNode;var html;if(lang.isString(this.value)){html=this.value;dn.innerHTML="";}else{if(dn.nodeName&&dn.nodeName.toLowerCase()=="textarea"){var ta=(this.textarea=dn);this.name=ta.name;html=ta.value;dn=this.domNode=this.ownerDocument.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_227.place(dn,ta,"before");var _242=lang.hitch(this,function(){_229.set(ta,{display:"block",position:"absolute",top:"-1000px"});if(has("ie")){var s=ta.style;this.__overflow=s.overflow;s.overflow="hidden";}});if(has("ie")){this.defer(_242,10);}else{_242();}if(ta.form){var _243=ta.value;this.reset=function(){var _244=this.getValue();if(_244!==_243){this.replaceValue(_243);}};on(ta.form,"submit",lang.hitch(this,function(){_225.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_235.getChildrenHtml(dn);dn.innerHTML="";}}this.value=html;if(dn.nodeName&&dn.nodeName==="LI"){dn.innerHTML=" <br>";}this.header=dn.ownerDocument.createElement("div");dn.appendChild(this.header);this.editingArea=dn.ownerDocument.createElement("div");dn.appendChild(this.editingArea);this.footer=dn.ownerDocument.createElement("div");dn.appendChild(this.footer);if(!this.name){this.name=this.id+"_AUTOGEN";}if(this.name!==""&&(!_222["useXDomain"]||_222["allowXdRichTextSave"])){var _245=dom.byId(_237._scopeName+"._editor.RichText.value");if(_245&&_245.value!==""){var _246=_245.value.split(this._SEPARATOR),i=0,dat;while((dat=_246[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){this.value=data[1];_246=_246.splice(i,1);_245.value=_246.join(this._SEPARATOR);break;}}}if(!_238._globalSaveHandler){_238._globalSaveHandler={};_22e.addOnUnload(function(){var id;for(id in _238._globalSaveHandler){var f=_238._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_238._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=this.ownerDocument.createElement("iframe"));ifr.id=this.id+"_iframe";ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=w.document;this.selection=new _233.SelectionManager(w);if(has("ie")){this._localizeEditorCommands();}this.onLoad(this.get("value"));});var src=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'"),s;if(has("ie")<11){s="javascript:document.open();try{parent.window;}catch(e){document.domain=\""+document.domain+"\";}"+"document.write('"+src+"');document.close()";}else{s="javascript: '"+src+"'";}if(has("ie")==9){this.editingArea.appendChild(ifr);ifr.src=s;}else{ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_226.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _247=_229.getComputedStyle(this.domNode);var html="<div id='dijitEditorBody'></div>";var font=[_247.fontWeight,_247.fontSize,_247.fontFamily].join(" ");var _248=_247.lineHeight;if(_248.indexOf("px")>=0){_248=parseFloat(_248)/parseFloat(_247.fontSize);}else{if(_248.indexOf("em")>=0){_248=parseFloat(_248);}else{_248="normal";}}var _249="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_24a){_24a=_24a.replace(/^;/ig,"")+";";var s=_24a.split(":")[0];if(s){s=lang.trim(s);s=s.toLowerCase();var i;var sC="";for(i=0;i<s.length;i++){var c=s.charAt(i);switch(c){case "-":i++;c=s.charAt(i).toUpperCase();default:sC+=c;}}_229.set(self.domNode,sC,"");}_249+=_24a+";";});var _24b=_22b("label[for=\""+this.id+"\"]");var _24c="";if(_24b.length){_24c=_24b[0].innerHTML;}else{if(this["aria-label"]){_24c=this["aria-label"];}else{if(this["aria-labelledby"]){_24c=dom.byId(this["aria-labelledby"]).innerHTML;}}}this.iframe.setAttribute("title",_24c);return ["<!DOCTYPE html>",this.isLeftToRight()?"<html lang='"+this.lang+"'>\n<head>\n":"<html dir='rtl' lang='"+this.lang+"'>\n<head>\n",_24c?"<title>"+_24c+"</title>":"","<meta http-equiv='Content-Type' content='text/html'>\n","<style>\n","\tbody,html {\n","\t\tbackground:transparent;\n","\t\tpadding: 1px 0 0 0;\n","\t\tmargin: -1px 0 0 0;\n","\t}\n","\tbody,html,#dijitEditorBody { outline: none; }","html { height: 100%; width: 100%; overflow: hidden; }\n",this.height?"\tbody,#dijitEditorBody { height: 100%; width: 100%; overflow: auto; }\n":"\tbody,#dijitEditorBody { min-height: "+this.minHeight+"; width: 100%; overflow-x: auto; overflow-y: hidden; }\n","\tbody{\n","\t\ttop:0px;\n","\t\tleft:0px;\n","\t\tright:0px;\n","\t\tfont:",font,";\n",((this.height||has("opera"))?"":"\t\tposition: fixed;\n"),"\t\tline-height:",_248,";\n","\t}\n","\tp{ margin: 1em 0; }\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(has("ie")||has("trident")?"":"\tli{ min-height:1.2em; }\n"),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body role='main' ","onload='try{frameElement && frameElement._loadFunc(window,document)}catch(e){document.domain=\""+document.domain+"\";frameElement._loadFunc(window,document)}' ","style='"+_249+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _24d=[];if(this.styleSheets){_24d=this.styleSheets.split(";");this.styleSheets="";}_24d=_24d.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url,_24e=_230.get(this.ownerDocument);while((url=_24d[i++])){var _24f=(new _22f(_24e.location,url)).toString();this.editingAreaStyleSheets.push(_24f);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_24f+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString(),_250=_230.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _22f(_250.location,url)).toString();}if(_221.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.then(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _251=this.document.createElement("link");_251.rel="stylesheet";_251.type="text/css";_251.href=url;head.appendChild(_251);}}));},removeStyleSheet:function(uri){var url=uri.toString(),_252=_230.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _22f(_252.location,url)).toString();}var _253=_221.indexOf(this.editingAreaStyleSheets,url);if(_253===-1){return;}delete this.editingAreaStyleSheets[_253];_22b("link[href=\""+url+"\"]",this.window.document).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_254){_254=!!_254;this._set("disabled",_254);if(!this.isLoaded){return;}var _255=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_255){this.editNode.unselectable="on";}this.editNode.contentEditable=!_254;this.editNode.tabIndex=_254?"-1":this.tabIndex;if(_255){this.defer(function(){if(this.editNode){this.editNode.unselectable="off";}});}if(has("mozilla")&&!_254&&this._mozSettingProps){var ps=this._mozSettingProps;var n;for(n in ps){if(ps.hasOwnProperty(n)){try{this.document.execCommand(n,false,ps[n]);}catch(e2){}}}}this._disabledOK=true;},onLoad:function(html){if(!this.window.__registeredWindow){this.window.__registeredWindow=true;this._iframeRegHandle=_236.registerIframe(this.iframe);}this.editNode=this.document.body.firstChild;var _256=this;this.beforeIframeNode=_227.place("<div tabIndex=-1></div>",this.iframe,"before");this.afterIframeNode=_227.place("<div tabIndex=-1></div>",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){_256.editNode.focus();};this.focusNode=this.editNode;var _257=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;this.own.apply(this,_221.map(_257,function(item){var type=item.toLowerCase().replace(/^on/,"");return on(ap,type,lang.hitch(this,item));},this));this.own(on(ap,"mouseup",lang.hitch(this,"onClick")));if(has("ie")){this.own(on(this.document,"mousedown",lang.hitch(this,"_onIEMouseDown")));this.editNode.style.zoom=1;}if(has("webkit")){this._webkitListener=this.own(on(this.document,"mouseup",lang.hitch(this,"onDisplayChanged")))[0];this.own(on(this.document,"mousedown",lang.hitch(this,function(e){var t=e.target;if(t&&(t===this.document.body||t===this.document)){this.defer("placeCursorAtEnd");}})));}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _258=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred&&!this.onLoadDeferred.isFulfilled()){this.onLoadDeferred.resolve(true);}this.onDisplayChanged();if(this.focusOnLoad){_22c(lang.hitch(this,"defer","focus",this.updateInterval));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.then(_258);}else{_258();}},onKeyDown:function(e){if(e.keyCode===keys.SHIFT||e.keyCode===keys.ALT||e.keyCode===keys.META||e.keyCode===keys.CTRL){return true;}if(e.keyCode===keys.TAB&&this.isTabIndent){e.stopPropagation();e.preventDefault();if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(e.keyCode==keys.TAB&&!this.isTabIndent&&!e.ctrlKey&&!e.altKey){if(e.shiftKey){this.beforeIframeNode.focus();}else{this.afterIframeNode.focus();}return true;}if(has("ie")<9&&e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){e.stopPropagation();e.preventDefault();this.execCommand("delete");}if(has("ff")){if(e.keyCode===keys.PAGE_UP||e.keyCode===keys.PAGE_DOWN){if(this.editNode.clientHeight>=this.editNode.scrollHeight){e.preventDefault();}}}var _259=this._keyHandlers[e.keyCode],args=arguments;if(_259&&!e.altKey){_221.some(_259,function(h){if(!(h.shift^e.shiftKey)&&!(h.ctrl^(e.ctrlKey||e.metaKey))){if(!h.handler.apply(this,args)){e.preventDefault();}return true;}},this);}this.defer("onKeyPressed",1);return true;},onKeyUp:function(){},setDisabled:function(_25a){_22a.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_25a);},_setValueAttr:function(_25b){this.setValue(_25b);},_setDisableSpellCheckAttr:function(_25c){if(this.document){_225.set(this.document.body,"spellcheck",!_25c);}else{this.onLoadDeferred.then(lang.hitch(this,function(){_225.set(this.document.body,"spellcheck",!_25c);}));}this._set("disableSpellCheck",_25c);},addKeyHandler:function(key,ctrl,_25d,_25e){if(typeof key=="string"){key=key.toUpperCase().charCodeAt(0);}if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_25d||false,ctrl:ctrl||false,handler:_25e});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){if(has("ie")||has("trident")){this.defer(function(){if(!_236.curNode){this.ownerDocumentBody.focus();}});}this.inherited(arguments);var _25f=this.getValue(true);if(_25f!==this.value){this.onChange(_25f);}this._set("value",_25f);},_onFocus:function(e){if(!this.disabled){if(!this._disabledOK){this.set("disabled",false);}this.inherited(arguments);}},blur:function(){if(!has("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(this.ownerDocumentBody.focus){this.ownerDocumentBody.focus();}}},focus:function(){if(!this.isLoaded){this.focusOnLoad=true;return;}if(has("ie")<9){this.iframe.fireEvent("onfocus",document.createEventObject());}else{this.editNode.focus();}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){this._updateTimer.remove();}this._updateTimer=this.defer("onNormalizedDisplayChanged",this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_260){var _261=cmd.toLowerCase();if(_261==="formatblock"){if(has("safari")&&_260===undefined){_261="heading";}}else{if(_261==="hilitecolor"&&!has("mozilla")){_261="backcolor";}}return _261;},_qcaCache:{},queryCommandAvailable:function(_262){var ca=this._qcaCache[_262];if(ca!==undefined){return ca;}return (this._qcaCache[_262]=this._queryCommandAvailable(_262));},_queryCommandAvailable:function(_263){var ie=1;var _264=1<<1;var _265=1<<2;var _266=1<<3;function _267(_268){return {ie:Boolean(_268&ie),mozilla:Boolean(_268&_264),webkit:Boolean(_268&_265),opera:Boolean(_268&_266)};};var _269=null;switch(_263.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_269=_267(_264|ie|_265|_266);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":_269=_267(_264|ie|_266|_265);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_269=_267(ie);break;case "cut":case "copy":case "paste":_269=_267(ie|_264|_265|_266);break;case "inserttable":_269=_267(_264|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_269=_267(ie|_264);break;default:return false;}return ((has("ie")||has("trident"))&&_269.ie)||(has("mozilla")&&_269.mozilla)||(has("webkit")&&_269.webkit)||(has("opera")&&_269.opera);},execCommand:function(_26a,_26b){var _26c;if(this.focused){this.focus();}_26a=this._normalizeCommand(_26a,_26b);if(_26b!==undefined){if(_26a==="heading"){throw new Error("unimplemented");}else{if(_26a==="formatblock"&&(has("ie")||has("trident"))){_26b="<"+_26b+">";}}}var _26d="_"+_26a+"Impl";if(this[_26d]){_26c=this[_26d](_26b);}else{_26b=arguments.length>1?_26b:null;if(_26b||_26a!=="createlink"){_26c=this.document.execCommand(_26a,false,_26b);}}this.onDisplayChanged();return _26c;},queryCommandEnabled:function(_26e){if(this.disabled||!this._disabledOK){return false;}_26e=this._normalizeCommand(_26e);var _26f="_"+_26e+"EnabledImpl";if(this[_26f]){return this[_26f](_26e);}else{return this._browserQueryCommandEnabled(_26e);}},queryCommandState:function(_270){if(this.disabled||!this._disabledOK){return false;}_270=this._normalizeCommand(_270);try{return this.document.queryCommandState(_270);}catch(e){return false;}},queryCommandValue:function(_271){if(this.disabled||!this._disabledOK){return false;}var r;_271=this._normalizeCommand(_271);if((has("ie")||has("trident"))&&_271==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_271)];}else{if(has("mozilla")&&_271==="hilitecolor"){var _272;try{_272=this.document.queryCommandValue("styleWithCSS");}catch(e){_272=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_271);this.document.execCommand("styleWithCSS",false,_272);}else{r=this.document.queryCommandValue(_271);}}return r;},_sCall:function(name,args){return this.selection[name].apply(this.selection,args);},placeCursorAtStart:function(){this.focus();var _273=false;if(has("mozilla")){var _274=this.editNode.firstChild;while(_274){if(_274.nodeType===3){if(_274.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_273=true;this.selection.selectElement(_274);break;}}else{if(_274.nodeType===1){_273=true;var tg=_274.tagName?_274.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this.selection.selectElement(_274);}else{this.selection.selectElementChildren(_274);}break;}}_274=_274.nextSibling;}}else{_273=true;this.selection.selectElementChildren(this.editNode);}if(_273){this.selection.collapse(true);}},placeCursorAtEnd:function(){this.focus();var _275=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_275=true;this.selection.selectElement(last);break;}}else{if(last.nodeType===1){_275=true;this.selection.selectElement(last.lastChild||last);break;}}last=last.previousSibling;}}else{_275=true;this.selection.selectElementChildren(this.editNode);}if(_275){this.selection.collapse(false);}},getValue:function(_276){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this.isLoaded?this._postFilterContent(null,_276):this.value;},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.then(lang.hitch(this,function(){this.setValue(html);}));return;}if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();this._set("value",this.getValue(true));},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!has("mozilla")){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}this._set("value",this.getValue(true));},_preFilterContent:function(html){var ec=html;_221.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_221.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_277){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_277){dom=lang.clone(dom);}_221.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_235.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_221.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _278=dom.byId(_237._scopeName+"._editor.RichText.value");if(_278){if(_278.value){_278.value+=this._SEPARATOR;}_278.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_279){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_279){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_22a.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _235.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_22a.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _235.getChildrenHtml(dom);},close:function(save){if(this.isClosed){return;}if(!arguments.length){save=true;}if(save){this._set("value",this.getValue(true));}if(this.interval){clearInterval(this.interval);}if(this._webkitListener){this._webkitListener.remove();delete this._webkitListener;}if(has("ie")){this.iframe.onfocus=null;}this.iframe._loadFunc=null;if(this._iframeRegHandle){this._iframeRegHandle.remove();delete this._iframeRegHandle;}if(this.textarea){var s=this.textarea.style;s.position="";s.left=s.top="";if(has("ie")){s.overflow=this.__overflow;this.__overflow=null;}this.textarea.value=this.value;_227.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_226.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){this._updateTimer.remove();}this.inherited(arguments);if(_238._globalSaveHandler){delete _238._globalSaveHandler[this.id];}},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"");},_removeWebkitBogus:function(html){html=html.replace(/\sclass="webkit-block-placeholder"/gi,"");html=html.replace(/\sclass="apple-style-span"/gi,"");html=html.replace(/<meta charset=\"utf-8\" \/>/gi,"");return html;},_normalizeFontStyle:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");},_browserQueryCommandEnabled:function(_27a){if(!_27a){return false;}var elem=has("ie")<9?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_27a);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _27b=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_27b=true;}else{_27b=this.document.queryCommandEnabled("createlink");}}else{_27b=this._browserQueryCommandEnabled("createlink");}return _27b;},_unlinkEnabledImpl:function(){var _27c=true;if(has("mozilla")||has("webkit")){_27c=this.selection.hasAncestorElement("a");}else{_27c=this._browserQueryCommandEnabled("unlink");}return _27c;},_inserttableEnabledImpl:function(){var _27d=true;if(has("mozilla")||has("webkit")){_27d=true;}else{_27d=this._browserQueryCommandEnabled("inserttable");}return _27d;},_cutEnabledImpl:function(){var _27e=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_27e=!!sel;}else{_27e=this._browserQueryCommandEnabled("cut");}return _27e;},_copyEnabledImpl:function(){var _27f=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_27f=!!sel;}else{_27f=this._browserQueryCommandEnabled("copy");}return _27f;},_pasteEnabledImpl:function(){var _280=true;if(has("webkit")){return true;}else{_280=this._browserQueryCommandEnabled("paste");}return _280;},_inserthorizontalruleImpl:function(_281){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_281);},_unlinkImpl:function(_282){if((this.queryCommandEnabled("unlink"))&&(has("mozilla")||has("webkit"))){var a=this.selection.getAncestorElement("a");this.selection.selectElement(a);return this.document.execCommand("unlink",false,null);}return this.document.execCommand("unlink",false,_282);},_hilitecolorImpl:function(_283){var _284;var _285=this._handleTextColorOrProperties("hilitecolor",_283);if(!_285){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_284=this.document.execCommand("hilitecolor",false,_283);this.document.execCommand("styleWithCSS",false,false);}else{_284=this.document.execCommand("hilitecolor",false,_283);}}return _284;},_backcolorImpl:function(_286){if(has("ie")){_286=_286?_286:null;}var _287=this._handleTextColorOrProperties("backcolor",_286);if(!_287){_287=this.document.execCommand("backcolor",false,_286);}return _287;},_forecolorImpl:function(_288){if(has("ie")){_288=_288?_288:null;}var _289=false;_289=this._handleTextColorOrProperties("forecolor",_288);if(!_289){_289=this.document.execCommand("forecolor",false,_288);}return _289;},_inserthtmlImpl:function(_28a){_28a=this._preFilterContent(_28a);var rv=true;if(has("ie")<9){var _28b=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_28b.item(0);while(_28b.length){_28b.remove(_28b.item(0));}n.outerHTML=_28a;}else{_28b.pasteHTML(_28a);}_28b.select();}else{if(has("trident")<8){var _28b;var _28c=_234.getSelection(this.window);if(_28c&&_28c.rangeCount&&_28c.getRangeAt){_28b=_28c.getRangeAt(0);_28b.deleteContents();var div=_227.create("div");div.innerHTML=_28a;var node,_28d;var n=this.document.createDocumentFragment();while((node=div.firstChild)){_28d=n.appendChild(node);}_28b.insertNode(n);if(_28d){_28b=_28b.cloneRange();_28b.setStartAfter(_28d);_28b.collapse(false);_28c.removeAllRanges();_28c.addRange(_28b);}}}else{if(has("mozilla")&&!_28a.length){this.selection.remove();}else{rv=this.document.execCommand("inserthtml",false,_28a);}}}return rv;},_boldImpl:function(_28e){var _28f=false;if(has("ie")||has("trident")){this._adaptIESelection();_28f=this._adaptIEFormatAreaAndExec("bold");}if(!_28f){_28f=this.document.execCommand("bold",false,_28e);}return _28f;},_italicImpl:function(_290){var _291=false;if(has("ie")||has("trident")){this._adaptIESelection();_291=this._adaptIEFormatAreaAndExec("italic");}if(!_291){_291=this.document.execCommand("italic",false,_290);}return _291;},_underlineImpl:function(_292){var _293=false;if(has("ie")||has("trident")){this._adaptIESelection();_293=this._adaptIEFormatAreaAndExec("underline");}if(!_293){_293=this.document.execCommand("underline",false,_292);}return _293;},_strikethroughImpl:function(_294){var _295=false;if(has("ie")||has("trident")){this._adaptIESelection();_295=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_295){_295=this.document.execCommand("strikethrough",false,_294);}return _295;},_superscriptImpl:function(_296){var _297=false;if(has("ie")||has("trident")){this._adaptIESelection();_297=this._adaptIEFormatAreaAndExec("superscript");}if(!_297){_297=this.document.execCommand("superscript",false,_296);}return _297;},_subscriptImpl:function(_298){var _299=false;if(has("ie")||has("trident")){this._adaptIESelection();_299=this._adaptIEFormatAreaAndExec("subscript");}if(!_299){_299=this.document.execCommand("subscript",false,_298);}return _299;},_fontnameImpl:function(_29a){var _29b;if(has("ie")||has("trident")){_29b=this._handleTextColorOrProperties("fontname",_29a);}if(!_29b){_29b=this.document.execCommand("fontname",false,_29a);}return _29b;},_fontsizeImpl:function(_29c){var _29d;if(has("ie")||has("trident")){_29d=this._handleTextColorOrProperties("fontsize",_29c);}if(!_29d){_29d=this.document.execCommand("fontsize",false,_29c);}return _29d;},_insertorderedlistImpl:function(_29e){var _29f=false;if(has("ie")||has("trident")){_29f=this._adaptIEList("insertorderedlist",_29e);}if(!_29f){_29f=this.document.execCommand("insertorderedlist",false,_29e);}return _29f;},_insertunorderedlistImpl:function(_2a0){var _2a1=false;if(has("ie")||has("trident")){_2a1=this._adaptIEList("insertunorderedlist",_2a0);}if(!_2a1){_2a1=this.document.execCommand("insertunorderedlist",false,_2a0);}return _2a1;},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header);},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer);},_getNodeChildrenHeight:function(node){var h=0;if(node&&node.childNodes){var i;for(i=0;i<node.childNodes.length;i++){var size=_228.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_2a2){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_2a2);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_2a2)==="");}}return false;},_removeStartingRangeFromRange:function(node,_2a3){if(node.nextSibling){_2a3.setStart(node.nextSibling,0);}else{var _2a4=node.parentNode;while(_2a4&&_2a4.nextSibling==null){_2a4=_2a4.parentNode;}if(_2a4){_2a3.setStart(_2a4.nextSibling,0);}}return _2a3;},_adaptIESelection:function(){var _2a5=_234.getSelection(this.window);if(_2a5&&_2a5.rangeCount&&!_2a5.isCollapsed){var _2a6=_2a5.getRangeAt(0);var _2a7=_2a6.startContainer;var _2a8=_2a6.startOffset;while(_2a7.nodeType===3&&_2a8>=_2a7.length&&_2a7.nextSibling){_2a8=_2a8-_2a7.length;_2a7=_2a7.nextSibling;}var _2a9=null;while(this._isNodeEmpty(_2a7,_2a8)&&_2a7!==_2a9){_2a9=_2a7;_2a6=this._removeStartingRangeFromRange(_2a7,_2a6);_2a7=_2a6.startContainer;_2a8=0;}_2a5.removeAllRanges();_2a5.addRange(_2a6);}},_adaptIEFormatAreaAndExec:function(_2aa){var _2ab=_234.getSelection(this.window);var doc=this.document;var rs,ret,_2ac,txt,_2ad,_2ae,_2af,_2b0;if(_2aa&&_2ab&&_2ab.isCollapsed){var _2b1=this.queryCommandValue(_2aa);if(_2b1){var _2b2=this._tagNamesForCommand(_2aa);_2ac=_2ab.getRangeAt(0);var fs=_2ac.startContainer;if(fs.nodeType===3){var _2b3=_2ac.endOffset;if(fs.length<_2b3){ret=this._adjustNodeAndOffset(rs,_2b3);fs=ret.node;_2b3=ret.offset;}}var _2b4;while(fs&&fs!==this.editNode){var _2b5=fs.tagName?fs.tagName.toLowerCase():"";if(_221.indexOf(_2b2,_2b5)>-1){_2b4=fs;break;}fs=fs.parentNode;}if(_2b4){rs=_2ac.startContainer;var _2b6=doc.createElement(_2b4.tagName);_227.place(_2b6,_2b4,"after");if(rs&&rs.nodeType===3){var _2b7,_2b8;var _2b9=_2ac.endOffset;if(rs.length<_2b9){ret=this._adjustNodeAndOffset(rs,_2b9);rs=ret.node;_2b9=ret.offset;}txt=rs.nodeValue;_2ad=doc.createTextNode(txt.substring(0,_2b9));var _2ba=txt.substring(_2b9,txt.length);if(_2ba){_2ae=doc.createTextNode(_2ba);}_227.place(_2ad,rs,"before");if(_2ae){_2af=doc.createElement("span");_2af.className="ieFormatBreakerSpan";_227.place(_2af,rs,"after");_227.place(_2ae,_2af,"after");_2ae=_2af;}_227.destroy(rs);var _2bb=_2ad.parentNode;var _2bc=[];var _2bd;while(_2bb!==_2b4){var tg=_2bb.tagName;_2bd={tagName:tg};_2bc.push(_2bd);var _2be=doc.createElement(tg);if(_2bb.style){if(_2be.style){if(_2bb.style.cssText){_2be.style.cssText=_2bb.style.cssText;_2bd.cssText=_2bb.style.cssText;}}}if(_2bb.tagName==="FONT"){if(_2bb.color){_2be.color=_2bb.color;_2bd.color=_2bb.color;}if(_2bb.face){_2be.face=_2bb.face;_2bd.face=_2bb.face;}if(_2bb.size){_2be.size=_2bb.size;_2bd.size=_2bb.size;}}if(_2bb.className){_2be.className=_2bb.className;_2bd.className=_2bb.className;}if(_2ae){_2b7=_2ae;while(_2b7){_2b8=_2b7.nextSibling;_2be.appendChild(_2b7);_2b7=_2b8;}}if(_2be.tagName==_2bb.tagName){_2af=doc.createElement("span");_2af.className="ieFormatBreakerSpan";_227.place(_2af,_2bb,"after");_227.place(_2be,_2af,"after");}else{_227.place(_2be,_2bb,"after");}_2ad=_2bb;_2ae=_2be;_2bb=_2bb.parentNode;}if(_2ae){_2b7=_2ae;if(_2b7.nodeType===1||(_2b7.nodeType===3&&_2b7.nodeValue)){_2b6.innerHTML="";}while(_2b7){_2b8=_2b7.nextSibling;_2b6.appendChild(_2b7);_2b7=_2b8;}}var _2bf;if(_2bc.length){_2bd=_2bc.pop();var _2c0=doc.createElement(_2bd.tagName);if(_2bd.cssText&&_2c0.style){_2c0.style.cssText=_2bd.cssText;}if(_2bd.className){_2c0.className=_2bd.className;}if(_2bd.tagName==="FONT"){if(_2bd.color){_2c0.color=_2bd.color;}if(_2bd.face){_2c0.face=_2bd.face;}if(_2bd.size){_2c0.size=_2bd.size;}}_227.place(_2c0,_2b6,"before");while(_2bc.length){_2bd=_2bc.pop();var _2c1=doc.createElement(_2bd.tagName);if(_2bd.cssText&&_2c1.style){_2c1.style.cssText=_2bd.cssText;}if(_2bd.className){_2c1.className=_2bd.className;}if(_2bd.tagName==="FONT"){if(_2bd.color){_2c1.color=_2bd.color;}if(_2bd.face){_2c1.face=_2bd.face;}if(_2bd.size){_2c1.size=_2bd.size;}}_2c0.appendChild(_2c1);_2c0=_2c1;}_2b0=doc.createTextNode(".");_2af.appendChild(_2b0);_2c0.appendChild(_2b0);_2bf=_234.create(this.window);_2bf.setStart(_2b0,0);_2bf.setEnd(_2b0,_2b0.length);_2ab.removeAllRanges();_2ab.addRange(_2bf);this.selection.collapse(false);_2b0.parentNode.innerHTML="";}else{_2af=doc.createElement("span");_2af.className="ieFormatBreakerSpan";_2b0=doc.createTextNode(".");_2af.appendChild(_2b0);_227.place(_2af,_2b6,"before");_2bf=_234.create(this.window);_2bf.setStart(_2b0,0);_2bf.setEnd(_2b0,_2b0.length);_2ab.removeAllRanges();_2ab.addRange(_2bf);this.selection.collapse(false);_2b0.parentNode.innerHTML="";}if(!_2b6.firstChild){_227.destroy(_2b6);}return true;}}return false;}else{_2ac=_2ab.getRangeAt(0);rs=_2ac.startContainer;if(rs&&rs.nodeType===3){var _2b3=_2ac.startOffset;if(rs.length<_2b3){ret=this._adjustNodeAndOffset(rs,_2b3);rs=ret.node;_2b3=ret.offset;}txt=rs.nodeValue;_2ad=doc.createTextNode(txt.substring(0,_2b3));var _2ba=txt.substring(_2b3);if(_2ba!==""){_2ae=doc.createTextNode(txt.substring(_2b3));}_2af=doc.createElement("span");_2b0=doc.createTextNode(".");_2af.appendChild(_2b0);if(_2ad.length){_227.place(_2ad,rs,"after");}else{_2ad=rs;}_227.place(_2af,_2ad,"after");if(_2ae){_227.place(_2ae,_2af,"after");}_227.destroy(rs);var _2bf=_234.create(this.window);_2bf.setStart(_2b0,0);_2bf.setEnd(_2b0,_2b0.length);_2ab.removeAllRanges();_2ab.addRange(_2bf);doc.execCommand(_2aa);_227.place(_2af.firstChild,_2af,"before");_227.destroy(_2af);_2bf.setStart(_2b0,0);_2bf.setEnd(_2b0,_2b0.length);_2ab.removeAllRanges();_2ab.addRange(_2bf);this.selection.collapse(false);_2b0.parentNode.innerHTML="";return true;}}}else{return false;}},_adaptIEList:function(_2c2){var _2c3=_234.getSelection(this.window);if(_2c3.isCollapsed){if(_2c3.rangeCount&&!this.queryCommandValue(_2c2)){var _2c4=_2c3.getRangeAt(0);var sc=_2c4.startContainer;if(sc&&sc.nodeType==3){if(!_2c4.startOffset){var _2c5="ul";if(_2c2==="insertorderedlist"){_2c5="ol";}var list=this.document.createElement(_2c5);var li=_227.create("li",null,list);_227.place(list,sc,"before");li.appendChild(sc);_227.create("br",null,list,"after");var _2c6=_234.create(this.window);_2c6.setStart(sc,0);_2c6.setEnd(sc,sc.length);_2c3.removeAllRanges();_2c3.addRange(_2c6);this.selection.collapse(true);return true;}}}}return false;},_handleTextColorOrProperties:function(_2c7,_2c8){var _2c9=_234.getSelection(this.window);var doc=this.document;var rs,ret,_2ca,txt,_2cb,_2cc,_2cd,_2ce;_2c8=_2c8||null;if(_2c7&&_2c9&&_2c9.isCollapsed){if(_2c9.rangeCount){_2ca=_2c9.getRangeAt(0);rs=_2ca.startContainer;if(rs&&rs.nodeType===3){var _2cf=_2ca.startOffset;if(rs.length<_2cf){ret=this._adjustNodeAndOffset(rs,_2cf);rs=ret.node;_2cf=ret.offset;}txt=rs.nodeValue;_2cb=doc.createTextNode(txt.substring(0,_2cf));var _2d0=txt.substring(_2cf);if(_2d0!==""){_2cc=doc.createTextNode(txt.substring(_2cf));}_2cd=doc.createElement("span");_2ce=doc.createTextNode(".");_2cd.appendChild(_2ce);var _2d1=doc.createElement("span");_2cd.appendChild(_2d1);if(_2cb.length){_227.place(_2cb,rs,"after");}else{_2cb=rs;}_227.place(_2cd,_2cb,"after");if(_2cc){_227.place(_2cc,_2cd,"after");}_227.destroy(rs);var _2d2=_234.create(this.window);_2d2.setStart(_2ce,0);_2d2.setEnd(_2ce,_2ce.length);_2c9.removeAllRanges();_2c9.addRange(_2d2);if(has("webkit")){var _2d3="color";if(_2c7==="hilitecolor"||_2c7==="backcolor"){_2d3="backgroundColor";}_229.set(_2cd,_2d3,_2c8);this.selection.remove();_227.destroy(_2d1);_2cd.innerHTML="&#160;";this.selection.selectElement(_2cd);this.focus();}else{this.execCommand(_2c7,_2c8);_227.place(_2cd.firstChild,_2cd,"before");_227.destroy(_2cd);_2d2.setStart(_2ce,0);_2d2.setEnd(_2ce,_2ce.length);_2c9.removeAllRanges();_2c9.addRange(_2d2);this.selection.collapse(false);_2ce.parentNode.removeChild(_2ce);}return true;}}}return false;},_adjustNodeAndOffset:function(node,_2d4){while(node.length<_2d4&&node.nextSibling&&node.nextSibling.nodeType===3){_2d4=_2d4-node.length;node=node.nextSibling;}return {"node":node,"offset":_2d4};},_tagNamesForCommand:function(_2d5){if(_2d5==="bold"){return ["b","strong"];}else{if(_2d5==="italic"){return ["i","em"];}else{if(_2d5==="strikethrough"){return ["s","strike"];}else{if(_2d5==="superscript"){return ["sup"];}else{if(_2d5==="subscript"){return ["sub"];}else{if(_2d5==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){if(!this.isLoaded){return;}_22b(".ieFormatBreakerSpan",node).forEach(function(b){while(b.firstChild){_227.place(b.firstChild,b,"before");}_227.destroy(b);});return node;},_stripTrailingEmptyNodes:function(node){function _2d6(node){return (/^(p|div|br)$/i.test(node.nodeName)&&node.children.length==0&&/^[\s\xA0]*$/.test(node.textContent||node.innerText||""))||(node.nodeType===3&&/^[\s\xA0]*$/.test(node.nodeValue));};while(node.lastChild&&_2d6(node.lastChild)){_227.destroy(node.lastChild);}return node;},_setTextDirAttr:function(_2d7){this._set("textDir",_2d7);this.onLoadDeferred.then(lang.hitch(this,function(){this.editNode.dir=_2d7;}));}});return _238;});},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang"],function(_2d8,_2d9,lang){var _2da={getIndex:function(node,_2db){var ret=[],retR=[];var _2dc=node;var _2dd,n;while(node!=_2db){var i=0;_2dd=node.parentNode;while((n=_2dd.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_2dd.childNodes.length);node=_2dd;}if(ret.length>0&&_2dc.nodeType==3){n=_2dc.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_2dc.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};},getNode:function(_2de,_2df){if(!lang.isArray(_2de)||_2de.length==0){return _2df;}var node=_2df;_2d8.every(_2de,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;},getCommonAncestor:function(n1,n2,root){root=root||n1.ownerDocument.body;var _2e0=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_2e0(n1);var n2as=_2e0(n2);var m=Math.min(n1as.length,n2as.length);var com=n1as[0];for(var i=1;i<m;i++){if(n1as[i]===n2as[i]){com=n1as[i];}else{break;}}return com;},getAncestor:function(node,_2e1,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_2e1.test(name)){return node;}node=node.parentNode;}return null;},BlockTagNames:/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/,getBlockAncestor:function(node,_2e2,root){root=root||node.ownerDocument.body;_2e2=_2e2||_2da.BlockTagNames;var _2e3=null,_2e4;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_2e3&&_2e2.test(name)){_2e3=node;}if(!_2e4&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_2e4=node;}node=node.parentNode;}return {blockNode:_2e3,blockContainer:_2e4||node.ownerDocument.body};},atBeginningOfContainer:function(_2e5,node,_2e6){var _2e7=false;var _2e8=(_2e6==0);if(!_2e8&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_2e6))){_2e8=true;}}if(_2e8){var _2e9=node;_2e7=true;while(_2e9&&_2e9!==_2e5){if(_2e9.previousSibling){_2e7=false;break;}_2e9=_2e9.parentNode;}}return _2e7;},atEndOfContainer:function(_2ea,node,_2eb){var _2ec=false;var _2ed=(_2eb==(node.length||node.childNodes.length));if(!_2ed&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_2eb))){_2ed=true;}}if(_2ed){var _2ee=node;_2ec=true;while(_2ee&&_2ee!==_2ea){if(_2ee.nextSibling){_2ec=false;break;}_2ee=_2ee.parentNode;}}return _2ec;},adjacentNoneTextNode:function(_2ef,next){var node=_2ef;var len=(0-_2ef.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];},create:function(win){win=win||window;if(win.getSelection){return win.document.createRange();}else{return new _2f0();}},getSelection:function(_2f1,_2f2){if(_2f1.getSelection){return _2f1.getSelection();}else{var s=new ie.selection(_2f1);if(!_2f2){s._getCurrentSelection();}return s;}}};if(!window.getSelection){var ie=_2da.ie={cachedSelection:{},selection:function(_2f3){this._ranges=[];this.addRange=function(r,_2f4){this._ranges.push(r);if(!_2f4){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _2f5=function(){var r=_2f3.document.selection.createRange();var type=_2f3.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _2f0(ie.decomposeControlRange(r));}else{return new _2f0(ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_2f5();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_2f6){var _2f7=_2f6.item(0),_2f8=_2f6.item(_2f6.length-1);var _2f9=_2f7.parentNode,_2fa=_2f8.parentNode;var _2fb=_2da.getIndex(_2f7,_2f9).o[0];var _2fc=_2da.getIndex(_2f8,_2fa).o[0]+1;return [_2f9,_2fb,_2fa,_2fc];},getEndPoint:function(_2fd,end){var _2fe=_2fd.duplicate();_2fe.collapse(!end);var _2ff="EndTo"+(end?"End":"Start");var _300=_2fe.parentElement();var _301,_302,_303;if(_300.childNodes.length>0){_2d8.every(_300.childNodes,function(node,i){var _304;if(node.nodeType!=3){_2fe.moveToElementText(node);if(_2fe.compareEndPoints(_2ff,_2fd)>0){if(_303&&_303.nodeType==3){_301=_303;_304=true;}else{_301=_300;_302=i;return false;}}else{if(i==_300.childNodes.length-1){_301=_300;_302=_300.childNodes.length;return false;}}}else{if(i==_300.childNodes.length-1){_301=node;_304=true;}}if(_304&&_301){var _305=_2da.adjacentNoneTextNode(_301)[0];if(_305){_301=_305.nextSibling;}else{_301=_300.firstChild;}var _306=_2da.adjacentNoneTextNode(_301);_305=_306[0];var _307=_306[1];if(_305){_2fe.moveToElementText(_305);_2fe.collapse(false);}else{_2fe.moveToElementText(_300);}_2fe.setEndPoint(_2ff,_2fd);_302=_2fe.text.length-_307;return false;}_303=node;return true;});}else{_301=_300;_302=0;}if(!end&&_301.nodeType==1&&_302==_301.childNodes.length){var _308=_301.nextSibling;if(_308&&_308.nodeType==3){_301=_308;_302=0;}}return [_301,_302];},setEndPoint:function(_309,_30a,_30b){var _30c=_309.duplicate(),node,len;if(_30a.nodeType!=3){if(_30b>0){node=_30a.childNodes[_30b-1];if(node){if(node.nodeType==3){_30a=node;_30b=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_30a=node.nextSibling;_30b=0;}else{_30c.moveToElementText(node.nextSibling?node:_30a);var _30d=node.parentNode;var _30e=_30d.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_30c.collapse(false);_30d.removeChild(_30e);}}}}else{_30c.moveToElementText(_30a);_30c.collapse(true);}}if(_30a.nodeType==3){var _30f=_2da.adjacentNoneTextNode(_30a);var _310=_30f[0];len=_30f[1];if(_310){_30c.moveToElementText(_310);_30c.collapse(false);if(_310.contentEditable!="inherit"){len++;}}else{_30c.moveToElementText(_30a.parentNode);_30c.collapse(true);_30c.move("character",1);_30c.move("character",-1);}_30b+=len;if(_30b>0){if(_30c.move("character",_30b)!=_30b){console.error("Error when moving!");}}}return _30c;},decomposeTextRange:function(_311){var _312=ie.getEndPoint(_311);var _313=_312[0],_314=_312[1];var _315=_312[0],_316=_312[1];if(_311.htmlText.length){if(_311.htmlText==_311.text){_316=_314+_311.text.length;}else{_312=ie.getEndPoint(_311,true);_315=_312[0],_316=_312[1];}}return [_313,_314,_315,_316];},setRange:function(_317,_318,_319,_31a,_31b,_31c){var _31d=ie.setEndPoint(_317,_318,_319);_317.setEndPoint("StartToStart",_31d);if(!_31c){var end=ie.setEndPoint(_317,_31a,_31b);}_317.setEndPoint("EndToEnd",end||_31d);return _317;}};var _2f0=_2da.W3CRange=_2d9(null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0],arguments[0][1]);this.setEnd(arguments[0][2],arguments[0][3]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_updateInternal:function(){if(this.startContainer!==this.endContainer){this.commonAncestorContainer=_2da.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_31e){_31e=parseInt(_31e);if(this.startContainer===node&&this.startOffset==_31e){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_31e;if(!this.endContainer){this.setEnd(node,_31e);}else{this._updateInternal();}},setEnd:function(node,_31f){_31f=parseInt(_31f);if(this.endContainer===node&&this.endOffset==_31f){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_31f;if(!this.startContainer){this.setStart(node,_31f);}else{this._updateInternal();}},setStartAfter:function(node,_320){this._setPoint("setStart",node,_320,1);},setStartBefore:function(node,_321){this._setPoint("setStart",node,_321,0);},setEndAfter:function(node,_322){this._setPoint("setEnd",node,_322,1);},setEndBefore:function(node,_323){this._setPoint("setEnd",node,_323,0);},_setPoint:function(what,node,_324,ext){var _325=_2da.getIndex(node,node.parentNode).o;this[what](node.parentNode,_325.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return r;},getBookmark:function(){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var s=this.startContainer,r=this._getIERange();if(s.nodeType===3&&!this.startOffset){this.setStartBefore(s);}r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new _2f0([this.startContainer,this.startOffset,this.endContainer,this.endOffset]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}lang.setObject("dijit.range",_2da);return _2da;});},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(_326,lang,has){var _327={};lang.setObject("dijit._editor.html",_327);var _328=_327.escapeXml=function(str,_329){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_329){str=str.replace(/'/gm,"&#39;");}return str;};_327.getNodeHtml=function(node){var _32a=[];_327.getNodeHtmlHelper(node,_32a);return _32a.join("");};_327.getNodeHtmlHelper=function(node,_32b){switch(node.nodeType){case 1:var _32c=node.nodeName.toLowerCase();if(!_32c||_32c.charAt(0)=="/"){return "";}_32b.push("<",_32c);var _32d=[],_32e={};var attr;if(has("dom-attributes-explicit")||has("dom-attributes-specified-flag")){var i=0;while((attr=node.attributes[i++])){var n=attr.name;if(n.substr(0,3)!=="_dj"&&(!has("dom-attributes-specified-flag")||attr.specified)&&!(n in _32e)){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}if(has("ie")===8&&n==="style"){v=v.replace("HEIGHT:","height:").replace("WIDTH:","width:");}_32d.push([n,v]);_32e[n]=v;}}}else{var _32f=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false);var s=_32f.outerHTML;var _330=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;var _331=s.match(_330);s=s.substr(0,s.indexOf(">"));_326.forEach(_331,function(attr){if(attr){var idx=attr.indexOf("=");if(idx>0){var key=attr.substring(0,idx);if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_32d.push([key,node.getAttribute("_djrealurl")]);return;}}var val,_332;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;case "width":if(_32c==="img"){_332=/width=(\S+)/i.exec(s);if(_332){val=_332[1];}break;}case "height":if(_32c==="img"){_332=/height=(\S+)/i.exec(s);if(_332){val=_332[1];}break;}default:val=node.getAttribute(key);}if(val!=null){_32d.push([key,val.toString()]);}}}}},this);}_32d.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_32d[j++])){_32b.push(" ",attr[0],"=\"",(typeof attr[1]==="string"?_328(attr[1],true):attr[1]),"\"");}switch(_32c){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_32b.push(" />");break;case "script":_32b.push(">",node.innerHTML,"</",_32c,">");break;default:_32b.push(">");if(node.hasChildNodes()){_327.getChildrenHtmlHelper(node,_32b);}_32b.push("</",_32c,">");}break;case 4:case 3:_32b.push(_328(node.nodeValue,true));break;case 8:_32b.push("<!--",_328(node.nodeValue,true),"-->");break;default:_32b.push("<!-- Element not recognized - Type: ",node.nodeType," Name: ",node.nodeName,"-->");}};_327.getChildrenHtml=function(node){var _333=[];_327.getChildrenHtmlHelper(node,_333);return _333.join("");};_327.getChildrenHtmlHelper=function(dom,_334){if(!dom){return;}var _335=dom["childNodes"]||dom;var _336=!has("ie")||_335!==dom;var node,i=0;while((node=_335[i++])){if(!_336||node.parentNode==dom){_327.getNodeHtmlHelper(node,_334);}}};return _327;});},"dijit/_editor/plugins/FontChoice":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/i18n","dojo/_base/lang","dojo/store/Memory","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","dojo/i18n!../nls/FontChoice"],function(_337,_338,_339,_33a,i18n,lang,_33b,_33c,_33d,_33e,_33f,_340,_341,_342){var _343=_339("dijit._editor.plugins._FontDropDown",[_33d,_33e,_33f],{label:"",plainText:false,templateString:"<span style='white-space: nowrap' class='dijit dijitReset dijitInline'>"+"<label class='dijitLeft dijitInline' for='${selectId}'>${label}</label>"+"<input data-dojo-type='../../form/FilteringSelect' required='false' "+"data-dojo-props='labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' "+"class='${comboClass}' "+"tabIndex='-1' id='${selectId}' data-dojo-attach-point='select' value=''/>"+"</span>",contextRequire:_337,postMixInProperties:function(){this.inherited(arguments);this.strings=i18n.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_33c.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _33b({idProperty:"value",data:_338.map(this.values,function(_344){var name=this.strings[_344]||_344;return {label:this.getLabel(_344,name),name:name,value:_344};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_345,_346){_346=_346!==false;this.select.set("value",_338.indexOf(this.values,_345)<0?"":_345,_346);if(!_346){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_347){this._set("disabled",_347);this.select.set("disabled",_347);}});var _348=_339("dijit._editor.plugins._FontNameDropDown",_343,{generic:false,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){if(!this.values){this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"];}this.inherited(arguments);},getLabel:function(_349,name){if(this.plainText){return name;}else{return "<div style='font-family: "+_349+"'>"+name+"</div>";}},_setValueAttr:function(_34a,_34b){_34b=_34b!==false;if(this.generic){var map={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy","Estrangelo Edessa":"cursive","Gabriola":"fantasy"};_34a=map[_34a]||_34a;}this.inherited(arguments,[_34a,_34b]);}});var _34c=_339("dijit._editor.plugins._FontSizeDropDown",_343,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(_34d,name){if(this.plainText){return name;}else{return "<font size="+_34d+"'>"+name+"</font>";}},_setValueAttr:function(_34e,_34f){_34f=_34f!==false;if(_34e.indexOf&&_34e.indexOf("px")!=-1){var _350=parseInt(_34e,10);_34e={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_350]||_34e;}this.inherited(arguments,[_34e,_34f]);}});var _351=_339("dijit._editor.plugins._FormatBlockDropDown",_343,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_352,name){if(this.plainText||_352=="noFormat"){return name;}else{return "<"+_352+">"+name+"</"+_352+">";}},_execCommand:function(_353,_354,_355){if(_355==="noFormat"){var _356;var end;var sel=_342.getSelection(_353.window);if(sel&&sel.rangeCount>0){var _357=sel.getRangeAt(0);var node,tag;if(_357){_356=_357.startContainer;end=_357.endContainer;while(_356&&_356!==_353.editNode&&_356!==_353.document.body&&_356.nodeType!==1){_356=_356.parentNode;}while(end&&end!==_353.editNode&&end!==_353.document.body&&end.nodeType!==1){end=end.parentNode;}var _358=lang.hitch(this,function(node,ary){if(node.childNodes&&node.childNodes.length){var i;for(i=0;i<node.childNodes.length;i++){var c=node.childNodes[i];if(c.nodeType==1){if(_353.selection.inSelection(c)){var tag=c.tagName?c.tagName.toLowerCase():"";if(_338.indexOf(this.values,tag)!==-1){ary.push(c);}_358(c,ary);}}}}});var _359=lang.hitch(this,function(_35a){if(_35a&&_35a.length){_353.beginEditing();while(_35a.length){this._removeFormat(_353,_35a.pop());}_353.endEditing();}});var _35b=[];if(_356==end){var _35c;node=_356;while(node&&node!==_353.editNode&&node!==_353.document.body){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_338.indexOf(this.values,tag)!==-1){_35c=node;break;}}node=node.parentNode;}_358(_356,_35b);if(_35c){_35b=[_35c].concat(_35b);}_359(_35b);}else{node=_356;while(_353.selection.inSelection(node)){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_338.indexOf(this.values,tag)!==-1){_35b.push(node);}_358(node,_35b);}node=node.nextSibling;}_359(_35b);}_353.onDisplayChanged();}}}else{_353.execCommand(_354,_355);}},_removeFormat:function(_35d,node){if(_35d.customUndo){while(node.firstChild){_33a.place(node.firstChild,node,"before");}node.parentNode.removeChild(node);}else{_35d.selection.selectElementChildren(node);var html=_35d.selection.getSelectedHtml();_35d.selection.selectElement(node);_35d.execCommand("inserthtml",html||"");}}});var _35e=_339("dijit._editor.plugins.FontChoice",_341,{useDefaultCommand:false,_initButton:function(){var _35f={fontName:_348,fontSize:_34c,formatBlock:_351}[this.command],_360=this.params;if(this.params.custom){_360.values=this.params.custom;}var _361=this.editor;this.button=new _35f(lang.delegate({dir:_361.dir,lang:_361.lang},_360));this.own(this.button.select.on("change",lang.hitch(this,function(_362){if(this.editor.focused){this.editor.focus();}if(this.command=="fontName"&&_362.indexOf(" ")!=-1){_362="'"+_362+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_362);}else{this.editor.execCommand(this.command,_362);}})));},updateState:function(){var _363=this.editor;var _364=this.command;if(!_363||!_363.isLoaded||!_364.length){return;}if(this.button){var _365=this.get("disabled");this.button.set("disabled",_365);if(_365){return;}var _366;try{_366=_363.queryCommandValue(_364)||"";}catch(e){_366="";}var _367=lang.isString(_366)&&(_366.match(/'([^']*)'/)||_366.match(/"([^"]*)"/));if(_367){_366=_367[1];}if(_364==="formatBlock"){if(!_366||_366=="p"){_366=null;var elem;var sel=_342.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _368=sel.getRangeAt(0);if(_368){elem=_368.endContainer;}}while(elem&&elem!==_363.editNode&&elem!==_363.document){var tg=elem.tagName?elem.tagName.toLowerCase():"";if(tg&&_338.indexOf(this.button.values,tg)>-1){_366=tg;break;}elem=elem.parentNode;}if(!_366){_366="noFormat";}}else{if(_338.indexOf(this.button.values,_366)<0){_366="noFormat";}}}if(_366!==this.button.get("value")){this.button.set("value",_366,false);}}}});_338.forEach(["fontName","fontSize","formatBlock"],function(name){_341.registry[name]=function(args){return new _35e({command:name,plainText:args.plainText});};});_35e._FontDropDown=_343;_35e._FontNameDropDown=_348;_35e._FontSizeDropDown=_34c;_35e._FormatBlockDropDown=_351;return _35e;});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_369,_36a,_36b){var base=null;return _369("dojo.store.Memory",base,{constructor:function(_36c){for(var i in _36c){this[i]=_36c[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_36b,get:function(id){return this.data[this.index[id]];},getIdentity:function(_36d){return _36d[this.idProperty];},put:function(_36e,_36f){var data=this.data,_370=this.index,_371=this.idProperty;var id=_36e[_371]=(_36f&&"id" in _36f)?_36f.id:_371 in _36e?_36e[_371]:Math.random();if(id in _370){if(_36f&&_36f.overwrite===false){throw new Error("Object already exists");}data[_370[id]]=_36e;}else{_370[id]=data.push(_36e)-1;}return id;},add:function(_372,_373){(_373=_373||{}).overwrite=false;return this.put(_372,_373);},remove:function(id){var _374=this.index;var data=this.data;if(id in _374){data.splice(_374[id],1);this.setData(data);return true;}},query:function(_375,_376){return _36a(this.queryEngine(_375,_376)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_377,lang,when){var _378=function(_379){if(!_379){return _379;}var _37a=!!_379.then;if(_37a){_379=lang.delegate(_379);}function _37b(_37c){_379[_37c]=function(){var args=arguments;var _37d=when(_379,function(_37e){Array.prototype.unshift.call(args,_37e);return _378(_377[_37c].apply(_377,args));});if(_37c!=="forEach"||_37a){return _37d;}};};_37b("forEach");_37b("filter");_37b("map");if(_379.total==null){_379.total=when(_379,function(_37f){return _37f.length;});}return _379;};lang.setObject("dojo.store.util.QueryResults",_378);return _378;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_380){return function(_381,_382){switch(typeof _381){default:throw new Error("Can not query with a "+typeof _381);case "object":case "undefined":var _383=_381;_381=function(_384){for(var key in _383){var _385=_383[key];if(_385&&_385.test){if(!_385.test(_384[key],_384)){return false;}}else{if(_385!=_384[key]){return false;}}}return true;};break;case "string":if(!this[_381]){throw new Error("No filter function "+_381+" was found in store");}_381=this[_381];case "function":}function _386(_387){var _388=_380.filter(_387,_381);var _389=_382&&_382.sort;if(_389){_388.sort(typeof _389=="function"?_389:function(a,b){for(var sort,i=0;sort=_389[i];i++){var _38a=a[sort.attribute];var _38b=b[sort.attribute];_38a=_38a!=null?_38a.valueOf():_38a;_38b=_38b!=null?_38b.valueOf():_38b;if(_38a!=_38b){return !!sort.descending==(_38a==null||_38a>_38b)?-1:1;}}return 0;});}if(_382&&(_382.start||_382.count)){var _38c=_388.length;_388=_388.slice(_382.start||0,(_382.start||0)+(_382.count||Infinity));_388.total=_38c;}return _388;};_386.matches=_381;return _386;};});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_38d,lang,when,_38e,_38f){return _38d("dijit.form.FilteringSelect",[_38e,_38f],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_390,_391,_392,_393){if((_391&&_391[this.searchAttr]!==this._lastQuery)||(!_391&&_390.length&&this.store.getIdentity(_390[0])!=this._lastQuery)){return;}if(!_390.length){this.set("value","",_393||(_393===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_390[0],_393);}},_openResultList:function(_394,_395,_396){if(_395[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_397,_398,_399,item){if(!this._onChangeActive){_398=null;}if(item===undefined){if(_397===null||_397===""){_397="";if(!lang.isString(_399)){this._setDisplayedValueAttr(_399||"",_398);return;}}var self=this;this._lastQuery=_397;when(this.store.get(_397),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_398);});}else{this.valueNode.value=_397;this.inherited(arguments,[_397,_398,_399,item]);}},_setItemAttr:function(item,_39a,_39b){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_39c,_39d){if(_39c==null){_39c="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_39d=false;}if(this.store){this.closeDropDown();var _39e=lang.clone(this.query);var qs=this._getDisplayQueryString(_39c),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_39e[this.searchAttr]=q;this.textbox.value=_39c;this._lastDisplayedValue=_39c;this._set("displayedValue",_39c);var _39f=this;var _3a0={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_3a0,this.fetchProperties);this._fetchHandle=this.store.query(_39e,_3a0);when(this._fetchHandle,function(_3a1){_39f._fetchHandle=null;_39f._callbackSetLabel(_3a1||[],_39e,_3a0,_39d);},function(err){_39f._fetchHandle=null;if(!_39f._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_3a2,has,_3a3,_3a4){return _3a2("dijit.form.MappedTextBox",_3a4,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_3a3.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_3a5,_3a6,lang,i18n,_3a7,_3a8,_3a9){var _3aa;return _3aa=_3a5("dijit.form.ValidationTextBox",_3a7,{templateString:_3a9,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_3ab){if(_3ab!=_3aa.prototype[attr]){_3a6.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0");this.set("pattern",_3ab);}},_setRegExpGenAttr:function(_3ac){this._deprecateRegExp("regExpGen",_3ac);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_3ad){this._deprecateRegExp("regExp",_3ad);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_3ae,_3af){return (new RegExp("^(?:"+this._computeRegexp(_3af)+")"+(this.required?"":"?")+"$")).test(_3ae)&&(!this.required||!this._isEmpty(_3ae))&&(this._isEmpty(_3ae)||this.parse(_3ae,_3af)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_3b0){return (this.trim?/^\s*$/:/^$/).test(_3b0);},getErrorMessage:function(){var _3b1=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _3b2=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_3b1:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_3b2:_3b1;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_3b3){var _3b4="";var _3b5=this.disabled||this.isValid(_3b3);if(_3b5){this._maskValidSubsetError=true;}var _3b6=this._isEmpty(this.textbox.value);var _3b7=!_3b5&&_3b3&&this._isValidSubset();this._set("state",_3b5?"":(((((!this._hasBeenBlurred||_3b3)&&_3b6)||_3b7)&&(this._maskValidSubsetError||(_3b7&&!this._hasBeenBlurred&&_3b3)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_3b3&&_3b7;_3b4=this.getErrorMessage(_3b3);}else{if(this.state=="Incomplete"){_3b4=this.getPromptMessage(_3b3);this._maskValidSubsetError=!this._hasBeenBlurred||_3b3;}else{if(_3b6){_3b4=this.getPromptMessage(_3b3);}}}this.set("message",_3b4);return _3b5;},displayMessage:function(_3b8){if(_3b8&&this.focused){_3a8.show(_3b8,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_3a8.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_3b9){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_3ba){if(!_3ba.locale&&this.lang){_3ba.locale=this.lang;}this._set("constraints",_3ba);this._refreshState();},_setPatternAttr:function(_3bb){this._set("pattern",_3bb);this._refreshState();},_computeRegexp:function(_3bc){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_3bc);}if(p!=this._lastRegExp){var _3bd="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_3bd+=re;break;case ")":_3bd+="|$)";break;default:_3bd+="(?:"+re+"|$)";break;}});}try{"".search(_3bd);}catch(e){_3bd=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_3bd+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_3be){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_3bf){this._set("required",_3bf);this.focusNode.setAttribute("aria-required",_3bf);this._refreshState();},_setMessageAttr:function(_3c0){this._set("message",_3c0);this.displayMessage(_3c0);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_3a8.hide(this.domNode);this.inherited(arguments);}});});},"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(_3c1,_3c2,_3c3,_3c4,lang,on,has,_3c5,_3c6,_3c7,_3c8){var _3c9=_3c1("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_3c5,_3c6],{templateString:_3c7,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(has("ie")<9){this.defer(function(){try{var s=_3c3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _3ca=this.domNode.getElementsByTagName("INPUT");if(_3ca){for(var i=0;i<_3ca.length;i++){_3ca[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_3c2.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(evt){evt.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",lang.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(evt){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_3cb,_3cc,_3cd){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_3c4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_3ce){_3c4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_3ce);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(has("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(has("ie")<9){_3c9.prototype._isTextSelected=function(){var _3cf=this.ownerDocument.selection.createRange();var _3d0=_3cf.parentElement();return _3d0==this.textbox&&_3cf.text.length>0;};_3c8._setSelectionRange=_3c6._setSelectionRange=function(_3d1,_3d2,stop){if(_3d1.createTextRange){var r=_3d1.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_3d2);r.moveEnd("character",stop-_3d2);r.select();}};}if(has("dojo-bidi")){_3c9=_3c1("dijit.form.TextBox",_3c9,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _3c9;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_3d3,_3d4,dom,has,keys,lang,on,_3d5){var _3d6=_3d4("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_3d7,_3d8,_3d9){var _3da;if(_3d7!==undefined){_3da=this.filter(_3d7);if(typeof _3d9!="string"){if(_3da!==null&&((typeof _3da!="number")||!isNaN(_3da))){_3d9=this.filter(this.format(_3da,this.constraints));}else{_3d9="";}if(this.compare(_3da,this.filter(this.parse(_3d9,this.constraints)))!=0){_3d9=null;}}}if(_3d9!=null&&((typeof _3d9)!="number"||!isNaN(_3d9))&&this.textbox.value!=_3d9){this.textbox.value=_3d9;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_3da,_3d8]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_3db){if(_3db==null){_3db="";}else{if(typeof _3db!="string"){_3db=String(_3db);}}this.textbox.value=_3db;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_3dc){return _3dc==null?"":(_3dc.toString?_3dc.toString():_3dc);},parse:function(_3dd){return _3dd;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){this._processInput(evt);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _3de(e){var _3df;if(e.type=="keydown"){_3df=e.keyCode;switch(_3df){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_3df){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_3df>=65&&_3df<=90)||(_3df>=48&&_3df<=57)||_3df==keys.SPACE){return;}var _3e0=false;for(var i in keys){if(keys[i]===e.keyCode){_3e0=true;break;}}if(!_3e0){return;}}}_3df=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_3df){_3df=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_3df){_3df=229;}if(e.type=="keypress"){if(typeof _3df!="string"){return;}if((_3df>="a"&&_3df<="z")||(_3df>="A"&&_3df<="Z")||(_3df>="0"&&_3df<="9")||(_3df===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_3df,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}this.defer(function(){this._onInput(faux);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",lang.hitch(this,_3de)),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_3d6.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_3d6=_3d4("dijit.form._TextBoxMixin",_3d6,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_3d6._setSelectionRange=_3d5._setSelectionRange=function(_3e1,_3e2,stop){if(_3e1.setSelectionRange){_3e1.setSelectionRange(_3e2,stop);}};_3d6.selectInputText=_3d5.selectInputText=function(_3e3,_3e4,stop){_3e3=dom.byId(_3e3);if(isNaN(_3e4)){_3e4=0;}if(isNaN(stop)){stop=_3e3.value?_3e3.value.length:0;}try{_3e3.focus();_3d6._setSelectionRange(_3e3,_3e4,stop);}catch(e){}};return _3d6;});},"dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_3e5,_3e6,fx,dom,_3e7,_3e8,_3e9,lang,_3ea,on,has,_3eb,_3ec,_3ed,_3ee,_3ef,_3f0,_3f1){var _3f2=_3e6("dijit._MasterTooltip",[_3ed,_3ee],{duration:_3eb.defaultDuration,templateString:_3f0,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _3ef(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_3f3,_3f4,_3f5,rtl,_3f6,_3f7,_3f8){if(this.aroundNode&&this.aroundNode===_3f4&&this.containerNode.innerHTML==_3f3){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_3f3;if(_3f6){this.set("textDir",_3f6);}this.containerNode.align=rtl?"right":"left";var pos=_3ec.around(this.domNode,_3f4,_3f5&&_3f5.length?_3f5:_3f9.defaultPosition,!rtl,lang.hitch(this,"orient"));var _3fa=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_3fa.y+((_3fa.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_3fa.x+((_3fa.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_3e9.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_3f4;this.onMouseEnter=_3f7||noop;this.onMouseLeave=_3f8||noop;},orient:function(node,_3fb,_3fc,_3fd,_3fe){this.connectorNode.style.top="";var _3ff=_3fd.h,_400=_3fd.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_3fb+"-"+_3fc];this.domNode.style.width="auto";var size=_3e8.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _401=Math.min((Math.max(_400,1)),size.w);_3e8.setMarginBox(this.domNode,{w:_401});if(_3fc.charAt(0)=="B"&&_3fb.charAt(0)=="B"){var bb=_3e8.position(node);var _402=this.connectorNode.offsetHeight;if(bb.h>_3ff){var _403=_3ff-((_3fe.h+_402)>>1);this.connectorNode.style.top=_403+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_3fe.h/2-_402/2,0),bb.h-_402)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_400);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_404){if(this._onDeck&&this._onDeck[1]==_404){this._onDeck=null;}else{if(this.aroundNode===_404){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_3f2.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_3e5.forEach(node.children,function(_405){this._setAutoTextDir(_405);},this);},_setTextDirAttr:function(_406){this._set("textDir",_406);if(_406=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_3f1.showTooltip=function(_407,_408,_409,rtl,_40a,_40b,_40c){if(_409){_409=_3e5.map(_409,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_3f9._masterTT){_3f1._masterTT=_3f9._masterTT=new _3f2();}return _3f9._masterTT.show(_407,_408,_409,rtl,_40a,_40b,_40c);};_3f1.hideTooltip=function(_40d){return _3f9._masterTT&&_3f9._masterTT.hide(_40d);};var _40e="DORMANT",_40f="SHOW TIMER",_410="SHOWING",_411="HIDE TIMER";function noop(){};var _3f9=_3e6("dijit.Tooltip",_3ed,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_412){_3e5.forEach(this._connections||[],function(_413){_3e5.forEach(_413,function(_414){_414.remove();});},this);this._connectIds=_3e5.filter(lang.isArrayLike(_412)?_412:(_412?[_412]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_3e5.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_415=this.selector,_416=_415?function(_417){return on.selector(_415,_417);}:function(_418){return _418;},self=this;return [on(node,_416(_3ea.enter),function(){self._onHover(this);}),on(node,_416("focusin"),function(){self._onHover(this);}),on(node,_416(_3ea.leave),lang.hitch(self,"_onUnHover")),on(node,_416("focusout"),lang.hitch(self,"set","state",_40e))];},this);this._set("connectId",_412);},addTarget:function(node){var id=node.id||node;if(_3e5.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_3e5.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_3e7.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_3e5.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_40e,_setStateAttr:function(val){if(this.state==val||(val==_40f&&this.state==_410)||(val==_411&&this.state==_40e)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _40e:if(this._connectNode){_3f9.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _40f:if(this.state!=_410){this._showTimer=this.defer(function(){this.set("state",_410);},this.showDelay);}break;case _410:var _419=this.getContent(this._connectNode);if(!_419){this.set("state",_40e);return;}_3f9.show(_419,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_410),lang.hitch(this,"set","state",_411));this.onShow(this._connectNode,this.position);break;case _411:this._hideTimer=this.defer(function(){this.set("state",_40e);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_41a){if(this._connectNode&&_41a!=this._connectNode){this.set("state",_40e);}this._connectNode=_41a;this.set("state",_40f);},_onUnHover:function(_41b){this.set("state",_411);},open:function(_41c){this.set("state",_40e);this._connectNode=_41c;this.set("state",_410);},close:function(){this.set("state",_40e);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_40e);_3e5.forEach(this._connections||[],function(_41d){_3e5.forEach(_41d,function(_41e){_41e.remove();});},this);this.inherited(arguments);}});_3f9._MasterTooltip=_3f2;_3f9.show=_3f1.showTooltip;_3f9.hide=_3f1.hideTooltip;_3f9.defaultPosition=["after-centered","before-centered"];return _3f9;});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_41f,_420,_421,lang,_422,_423,_424,_425,_426){return _41f("dijit.form.ComboBoxMixin",[_425,_423],{dropDownClass:_424,hasDownArrow:true,templateString:_426,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_427){if(!_427.get){lang.mixin(_427,{_oldAPI:true,get:function(id){var _428=new _420();this.fetchItemByIdentity({identity:id,onItem:function(_429){_428.resolve(_429);},onError:function(_42a){_428.reject(_42a);}});return _428.promise;},query:function(_42b,_42c){var _42d=new _420(function(){_42e.abort&&_42e.abort();});_42d.total=new _420();var _42e=this.fetch(lang.mixin({query:_42b,onBegin:function(_42f){_42d.total.resolve(_42f);},onComplete:function(_430){_42d.resolve(_430);},onError:function(_431){_42d.reject(_431);}},_42c));return _422(_42d);}});}this._set("store",_427);},postMixInProperties:function(){var _432=this.params.store||this.store;if(_432){this._setStoreAttr(_432);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _433=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_421.deprecated(_433+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_421.deprecated(_433+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_421.deprecated(_433+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_434){new _434({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_435,_436,_437,keys,lang,_438,_439,has,_43a,_43b,_43c){var _43d=_436("dijit.form._AutoCompleterMixin",_43c,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_43e){var pos=0;if(typeof (_43e.selectionStart)=="number"){pos=_43e.selectionStart;}else{if(has("ie")){var tr=_43e.ownerDocument.selection.createRange().duplicate();var ntr=_43e.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_43f,_440){_440=parseInt(_440);_43b.selectInputText(_43f,_440,_440);},_setDisabledAttr:function(_441){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_441?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _442=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_442=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_442);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_442){if(_442==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_442==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _443=this.get("displayedValue");if(pw&&(_443==pw._messages["previousMessage"]||_443==pw._messages["nextMessage"])){break;}if(_442){this._selectOption(_442);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_43b.selectInputText(fn,fn.value.length);var _444=this.ignoreCase?"toLowerCase":"substr";if(text[_444](0).indexOf(this.focusNode.value[_444](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_43b.selectInputText(fn,cpos);}}else{fn.value=text;_43b.selectInputText(fn);}},_openResultList:function(_445,_446,_447){var _448=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_445.length&&_447.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_449){_445.nextPage(_449!==-1);this.focus();});this.dropDown.createOptions(_445,_447,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _447){if(_447.direction){this.dropDown.highlightFirstOption();}else{if(!_447.direction){this.dropDown.highlightLastOption();}}if(_448){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_446[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");}},_setBlurValue:function(){var _44a=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_44a==pw._messages["previousMessage"]||_44a==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_44a);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_44b,_44c){var _44d="";if(item){if(!_44c){_44c=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_44d=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_44c;}this.set("value",_44d,_44b,_44c,item);},_announceOption:function(node){if(!node){return;}var _44e;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_44e=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_44e=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_44e);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_437.get(node,"id"));this._autoCompleteText(_44e);},_selectOption:function(_44f){this.closeDropDown();if(_44f){this._announceOption(_44f);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _450=this.id+"_popup",_451=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _451({onChange:lang.hitch(this,this._selectOption),id:_450,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _452=this.srcNodeRef;this.store=new _43a({},_452);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _453=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_453):item[_453];}}}},postCreate:function(){var _454=_438("label[for=\""+this.id+"\"]");if(_454.length){if(!_454[0].id){_454[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_454[0].id);}this.inherited(arguments);_435.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _455=this.labelFunc(item,this.store),_456=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_455=this.doHighlight(_455,this._lastInput);_456="html";}return {html:_456=="html",label:_455};},doHighlight:function(_457,find){var _458=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_439.escapeString(find);return this._escapeHtml(_457.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_458),"￿$1￿")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_459){return (_459._oldAPI?_459.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_45a,_45b,_45c,item){this._set("item",item||null);if(_45a==null){_45a="";}this.inherited(arguments);}});if(has("dojo-bidi")){_43d.extend({_setTextDirAttr:function(_45d){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_45d);}}});}return _43d;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _45e={};lang.setObject("dojo.regexp",_45e);_45e.escapeString=function(str,_45f){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_45f&&_45f.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_45e.buildGroupRE=function(arr,re,_460){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _45e.group(b.join("|"),_460);};_45e.group=function(_461,_462){return "("+(_462?"?:":"")+_461+")";};return _45e;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_463,dom,lang,_464,_465,_466){function _467(_468){return {id:_468.value,value:_468.value,name:lang.trim(_468.innerText||_468.textContent||"")};};return _463("dijit.form.DataList",_465,{constructor:function(_469,_46a){this.domNode=dom.byId(_46a);lang.mixin(this,_469);if(this.id){_466.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_464("option",this.domNode).map(_467)}]);},destroy:function(){_466.remove(this.id);},fetchSelectedItem:function(){var _46b=_464("> option[selected]",this.domNode)[0]||_464("> option",this.domNode)[0];return _46b&&_467(_46b);}});});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_46c,keys,lang,_46d,_46e,when,_46f){return _46c("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(_470){return new RegExp("^"+_470.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_471,star,_472){return star?".*":_472?".":_471?_471:"\\"+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;if("type" in evt&&evt.type.substring(0,3)=="key"&&(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT)){return;}var _473=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_473=true;break;default:_473=typeof key=="string"||key==229;}if(_473){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 _474=this,_46d=lang.clone(this.query),_475={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_46e.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_476=function(){var _477=_474._fetchHandle=_474.store.query(_46d,_475);if(_474.disabled||_474.readOnly||(q!==_474._lastQuery)){return;}when(_477,function(res){_474._fetchHandle=null;if(!_474.disabled&&!_474.readOnly&&(q===_474._lastQuery)){when(_477.total,function(_478){res.total=_478;var _479=_474.pageSize;if(isNaN(_479)||_479>res.total){_479=res.total;}res.nextPage=function(_47a){_475.direction=_47a=_47a!==false;_475.count=_479;if(_47a){_475.start+=res.length;if(_475.start>=res.total){_475.count=0;}}else{_475.start-=_479;if(_475.start<0){_475.count=Math.max(_479+_475.start,0);_475.start=0;}}if(_475.count<=0){res.length=0;_474.onSearch(res,_46d,_475);}else{_476();}};_474.onSearch(res,_46d,_475);});}},function(err){_474._fetchHandle=null;if(!_474._cancelingQuery){console.error(_474.declaredClass+" "+err.toString());}});};lang.mixin(_475,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_46d[this.searchAttr]=q;this._queryDeferHandle=this.defer(_476,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_46f.byId(list);}}this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_47b,_47c,_47d,keys,_47e,_47f,_480,_481){return _47b("dijit.form._ComboBoxMenu",[_47e,_47f,_481,_480],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_47c.add(this.previousButton,"dijitMenuItemRtl");_47c.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_47c.add(node,"dijitMenuItemHover");},onUnhover:function(node){_47c.remove(node,"dijitMenuItemHover");},onSelect:function(node){_47c.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_47c.remove(node,"dijitMenuItemSelected");},_page:function(up){var _482=0;var _483=this.domNode.scrollTop;var _484=_47d.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_482<_484){var _485=this.getHighlightedOption();if(up){if(!_485.previousSibling||_485.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_485.nextSibling||_485.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _486=this.domNode.scrollTop;_482+=(_486-_483)*(up?-1:1);_483=_486;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_487,_488,_489,has,i18n){var _48a=_488("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(_48b){this._set("value",_48b);this.onChange(_48b);},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,_48c){var _48d=this._createMenuItem();var _48e=_48c(item);if(_48e.html){_48d.innerHTML=_48e.label;}else{_48d.appendChild(_48d.ownerDocument.createTextNode(_48e.label));}if(_48d.innerHTML==""){_48d.innerHTML="&#160;";}return _48d;},createOptions:function(_48f,_490,_491){this.items=_48f;this.previousButton.style.display=(_490.start==0)?"none":"";_489.set(this.previousButton,"id",this.id+"_prev");_487.forEach(_48f,function(item,i){var _492=this._createOption(item,_491);_492.setAttribute("item",i);_489.set(_492,"id",this.id+i);this.nextButton.parentNode.insertBefore(_492,this.nextButton);},this);var _493=false;if(_48f.total&&!_48f.total.then&&_48f.total!=-1){if((_490.start+_490.count)<_48f.total){_493=true;}else{if((_490.start+_490.count)>_48f.total&&_490.count==_48f.length){_493=true;}}}else{if(_490.count==_48f.length){_493=true;}}this.nextButton.style.display=_493?"":"none";_489.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _494=this.containerNode;while(_494.childNodes.length>2){_494.removeChild(_494.childNodes[_494.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")){_48a=_488("dijit.form._ComboBoxMenuMixin",_48a,{_createOption:function(){var _495=this.inherited(arguments);this.applyTextDir(_495);return _495;}});}return _48a;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_496,on,_497,_498){return _496("dijit.form._ListMouseMixin",_498,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_499){this._setSelectedAttr(_499,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_499);});},_onMouseDown:function(evt,_49a){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_49a,false);},_onMouseUp:function(evt,_49b){this._isDragging=false;var _49c=this.selected;var _49d=this._hoveredNode;if(_49c&&_49b==_49c){this.defer(function(){this._onClick(evt,_49c);});}else{if(_49d){this.defer(function(){this._onClick(evt,_49d);});}}},_onMouseOut:function(evt,_49e){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_49f){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_49f;this.onHover(_49f);if(this._isDragging){this._setSelectedAttr(_49f,false);}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_4a0,on,_4a1){return _4a0("dijit.form._ListBase",null,{selected:null,_listConnect:function(_4a2,_4a3){var self=this;return self.own(on(self.containerNode,on.selector(function(_4a4,_4a5,_4a6){return _4a4.parentNode==_4a6;},_4a2),function(evt){self[_4a3](evt,this);}));},selectFirstNode:function(){var _4a7=this.containerNode.firstChild;while(_4a7&&_4a7.style.display=="none"){_4a7=_4a7.nextSibling;}this._setSelectedAttr(_4a7,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _4a8=this.selected;if(!_4a8){this.selectFirstNode();}else{var next=_4a8.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _4a9=this.selected;if(!_4a9){this.selectLastNode();}else{var prev=_4a9.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_4aa){if(this.selected!=node){var _4ab=this.selected;if(_4ab){this.onDeselect(_4ab);}if(node){if(_4aa){_4a1.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"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(_4ac,_4ad,dom,_4ae,_4af,_4b0,_4b1,has,keys,lang,on,_4b2,_4b3,_4b4,_4b5,_4b6){return _4ac("dijit._HasDropDown",_4b6,{_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.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_4b2.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _4b7=this.dropDown,_4b8=false;if(e&&this._opened){var c=_4b0.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&&!_4b8){if(_4af.contains(t,"dijitPopup")){_4b8=true;}else{t=t.parentNode;}}if(_4b8){t=e.target;if(_4b7.onItemClick){var _4b9;while(t&&!(_4b9=_4b3.byNode(t))){t=t.parentNode;}if(_4b9&&_4b9.onClick&&_4b9.getParent){_4b9.getParent().onItemClick(_4b9,e);}}return;}}}if(this._opened){if(_4b7.focus&&(_4b7.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_4b7.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 _4ba={"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";_4af.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_4ba+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _4bb=this.focusNode||this.domNode;this.own(on(this._buttonNode,_4b2.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_4bb,"keydown",lang.hitch(this,"_onKey")),on(_4bb,"keyup",lang.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,_4bc=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||(e.keyCode==keys.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_4bc.tagName||"").toLowerCase()!=="input"||(_4bc.type&&_4bc.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(lang.hitch(d,"focus"),1);}}},_onBlur:function(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_4bd){_4bd();},loadAndOpenDropDown:function(){var d=new _4ad(),_4be=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_4be);}else{_4be();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _4bf=this.dropDown,_4c0=_4bf.domNode,_4c1=this._aroundNode||this.domNode,self=this;var _4c2=_4b5.open({parent:this,popup:_4bf,around:_4c1,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_4ae.set(self._popupStateNode,"popupActive",false);_4af.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_4c1.offsetWidth>_4bf._popupWrapper.offsetWidth)){var _4c3=_4c1.offsetWidth-_4bf._popupWrapper.offsetWidth;var _4c4={w:_4bf.domNode.offsetWidth+_4c3};if(lang.isFunction(_4bf.resize)){_4bf.resize(_4c4);}else{_4b0.setMarginBox(_4c0,_4c4);}if(_4c2.corner[1]=="R"){_4bf._popupWrapper.style.left=(_4bf._popupWrapper.style.left.replace("px","")-_4c3)+"px";}}_4ae.set(this._popupStateNode,"popupActive","true");_4af.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_4bf.id);if(_4c0.getAttribute("role")!=="presentation"&&!_4c0.getAttribute("aria-labelledby")){_4c0.setAttribute("aria-labelledby",this.id);}return _4c2;},closeDropDown:function(_4c5){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_4c5&&this.focus){this.focus();}_4b5.close(this.dropDown);this._opened=false;}}});});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/query","dojo/string","../_Plugin","../../form/DropDownButton","../range"],function(_4c6,_4c7,_4c8,keys,lang,on,has,_4c9,_4ca,_4cb,_4cc,_4cd){var _4ce=_4c7("dijit._editor.plugins.LinkDialog",_4cb,{buttonClass:_4cc,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|../|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' "+"id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_targetSelect'>${target}</label>","</td><td>","<select id='${id}_targetSelect' name='targetSelect' data-dojo-type='dijit.form.Select'>","<option selected='selected' value='_self'>${currentWindow}</option>","<option value='_blank'>${newWindow}</option>","<option value='_top'>${topWindow}</option>","<option value='_parent'>${parentWindow}</option>","</select>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),_initButton:function(){this.inherited(arguments);this.button.loadDropDown=lang.hitch(this,"_loadDropDown");this._connectTagEvents();},_loadDropDown:function(_4cf){_4c6(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_4d0,_4d1){var _4d2=this;this.tag=this.command=="insertImage"?"img":"a";var _4d3=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _4d4=(this.dropDown=this.button.dropDown=new _4d0({title:_4d3[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:lang.hitch(this,"setValue"),onOpen:function(){_4d2._onOpenDialog();_4d0.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_4d2,"_onCloseDialog"),0);}}));_4d3.urlRegExp=this.urlRegExp;_4d3.id=_4d1.getUniqueId(this.editor.id);this._uniqueId=_4d3.id;this._setContent(_4d4.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_4ca.substitute(this.linkDialogTemplate,_4d3));_4d4.startup();this._urlInput=_4d1.byId(this._uniqueId+"_urlInput");this._textInput=_4d1.byId(this._uniqueId+"_textInput");this._setButton=_4d1.byId(this._uniqueId+"_setButton");this.own(_4d1.byId(this._uniqueId+"_cancelButton").on("click",lang.hitch(this.dropDown,"onCancel")));if(this._urlInput){this.own(this._urlInput.on("change",lang.hitch(this,"_checkAndFixInput")));}if(this._textInput){this.own(this._textInput.on("change",lang.hitch(this,"_checkAndFixInput")));}this._urlRegExp=new RegExp("^"+this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=lang.hitch(this,function(){var _4d5=this._urlInput.get("value");return this._urlRegExp.test(_4d5)||this._emailRegExp.test(_4d5);});this.own(on(_4d4.domNode,"keydown",lang.hitch(this,lang.hitch(this,function(e){if(e&&e.keyCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_4d4.onExecute();_4d4.execute(_4d4.get("value"));}}}))));_4cf();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _4d6=function(url){var _4d7=false;var _4d8=false;if(url&&url.length>1){url=lang.trim(url);if(url.indexOf("mailto:")!==0){if(url.indexOf("/")>0){if(url.indexOf("://")===-1){if(url.charAt(0)!=="/"&&url.indexOf("./")&&url.indexOf("../")!==0){if(self._hostRxp.test(url)){_4d7=true;}}}}else{if(self._userAtRxp.test(url)){_4d8=true;}}}}if(_4d7){self._urlInput.set("value","http://"+url);}if(_4d8){self._urlInput.set("value","mailto:"+url);}self._setButton.set("disabled",!self._isValid());};if(this._delayedCheck){clearTimeout(this._delayedCheck);this._delayedCheck=null;}this._delayedCheck=setTimeout(function(){_4d6(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.own(on(this.editor.editNode,"dblclick",lang.hitch(this,"_onDblClick")));}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_4d9){this.dropDown.set({parserScope:"dojo",content:_4d9});},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}return args;},setValue:function(args){this._onCloseDialog();if(has("ie")<9){var sel=_4cd.getSelection(this.editor.window);var _4da=sel.getRangeAt(0);var a=_4da.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor.selection.getSelectedElement(this.tag);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){this.editor.selection.selectElementChildren(a);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_4ca.substitute(this.htmlTemplate,args));_4c9("a",this.editor.document).forEach(function(a){if(!a.innerHTML&&!_4c8.has(a,"name")){a.parentNode.removeChild(a);}},this);},_onCloseDialog:function(){if(this.editor.focused){this.editor.focus();}},_getCurrentValues:function(a){var url,text,_4db;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_4db=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;this.editor.selection.selectElement(a,true);}else{text=this.editor.selection.getSelectedText();}return {urlInput:url||"",textInput:text||"",targetSelect:_4db||""};},_onOpenDialog:function(){var a,b,fc;if(has("ie")){var sel=_4cd.getSelection(this.editor.window);if(sel.rangeCount){var _4dc=sel.getRangeAt(0);a=_4dc.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=this.editor.selection.getSelectedElement(this.tag);}if(!a||(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){b=this.editor.selection.getAncestorElement(this.tag);if(b&&(b.nodeName&&b.nodeName.toLowerCase()==this.tag)){a=b;this.editor.selection.selectElement(a);}else{if(_4dc.startContainer===_4dc.endContainer){fc=_4dc.startContainer.firstChild;if(fc&&(fc.nodeName&&fc.nodeName.toLowerCase()==this.tag)){a=fc;this.editor.selection.selectElement(a);}}}}}}else{a=this.editor.selection.getAncestorElement(this.tag);}this.dropDown.reset();this._setButton.set("disabled",true);this.dropDown.set("value",this._getCurrentValues(a));},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_4c8.get(t,"href")){var _4dd=this.editor;this.editor.selection.selectElement(t);_4dd.onDisplayChanged();if(_4dd._updateTimer){_4dd._updateTimer.remove();delete _4dd._updateTimer;}_4dd.onNormalizedDisplayChanged();var _4de=this.button;setTimeout(function(){_4de.set("disabled",false);_4de.loadAndOpenDropDown().then(function(){if(_4de.dropDown.focus){_4de.dropDown.focus();}});},10);}}}});var _4df=_4c7("dijit._editor.plugins.ImgLinkDialog",[_4ce],{linkDialogTemplate:["<table role='presentation'><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' "+"required='true' id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='false' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","</td><td>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),htmlTemplate:"<img src=\"${urlInput}\" _djrealurl=\"${urlInput}\" alt=\"${textInput}\" />",tag:"img",_getCurrentValues:function(img){var url,text;if(img&&img.tagName.toLowerCase()===this.tag){url=img.getAttribute("_djrealurl")||img.getAttribute("src");text=img.getAttribute("alt");this.editor.selection.selectElement(img,true);}else{text=this.editor.selection.getSelectedText();}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.then(lang.hitch(this,function(){this.own(on(this.editor.editNode,"mousedown",lang.hitch(this,"_selectTag")));}));},_selectTag:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag){this.editor.selection.selectElement(t);}}},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,"&quot;");}return args;},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_4c8.get(t,"src")){var _4e0=this.editor;this.editor.selection.selectElement(t);_4e0.onDisplayChanged();if(_4e0._updateTimer){_4e0._updateTimer.remove();delete _4e0._updateTimer;}_4e0.onNormalizedDisplayChanged();var _4e1=this.button;setTimeout(function(){_4e1.set("disabled",false);_4e1.loadAndOpenDropDown().then(function(){if(_4e1.dropDown.focus){_4e1.dropDown.focus();}});},10);}}}});_4cb.registry["createLink"]=function(){return new _4ce({command:"createLink"});};_4cb.registry["insertImage"]=function(){return new _4df({command:"insertImage"});};_4ce.ImgLinkDialog=_4df;return _4ce;});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_4e2,lang,_4e3,_4e4,_4e5,_4e6,_4e7,_4e8,_4e9){return _4e2("dijit.form.DropDownButton",[_4e6,_4e7,_4e8],{baseClass:"dijitDropDownButton",templateString:_4e9,_fillContent:function(){if(this.srcNodeRef){var _4ea=_4e3("*",this.srcNodeRef);this.inherited(arguments,[_4ea[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _4eb=_4e3("[widgetId]",this.dropDownContainer)[0];if(_4eb){this.dropDown=_4e4.byNode(_4eb);}delete this.dropDownContainer;}if(this.dropDown){_4e5.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _4ec=this.dropDown;return (!!_4ec&&(!_4ec.href||_4ec.isLoaded));},loadDropDown:function(_4ed){var _4ee=this.dropDown;var _4ef=_4ee.on("load",lang.hitch(this,function(){_4ef.remove();_4ed();}));_4ee.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_4f0,_4f1,_4f2,dom,_4f3,_4f4,_4f5,keys,lang,on,has,win,_4f6,pm,_4f7,_4f8){if(has("dijit-legacy-requires")){_4f8(0,function(){var _4f9=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_4f0(_4f9);});}return _4f2("dijit.Menu",_4f7,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_4f1.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_4fa){return _4f6.get(this._iframeContentDocument(_4fa))||this._iframeContentDocument(_4fa)["__parent__"]||(_4fa.name&&document.frames[_4fa.name])||null;},_iframeContentDocument:function(_4fb){return _4fb.contentDocument||(_4fb.contentWindow&&_4fb.contentWindow.document)||(_4fb.name&&document.frames[_4fb.name]&&document.frames[_4fb.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _4fc=node,_4fd=this._iframeContentWindow(_4fc);cn=win.body(_4fd.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _4fe={node:node,iframe:_4fc};_4f3.set(node,"_dijitMenu"+this.id,this._bindings.push(_4fe));var _4ff=lang.hitch(this,function(cn){var _500=this.selector,_501=_500?function(_502){return on.selector(_500,_502);}:function(_503){return _503;},self=this;return [on(cn,_501(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<this._lastKeyDown+500){return;}self._scheduleOpen(this,_4fc,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_501("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==keys.F10)||(this.leftClickToOpen&&evt.keyCode==keys.SPACE)){evt.stopPropagation();evt.preventDefault();self._scheduleOpen(this,_4fc,null,evt.target);this._lastKeyDown=(new Date()).getTime();}})];});_4fe.connects=cn?_4ff(cn):[];if(_4fc){_4fe.onloadHandler=lang.hitch(this,function(){var _504=this._iframeContentWindow(_4fc),cn=win.body(_504.document);_4fe.connects=_4ff(cn);});if(_4fc.addEventListener){_4fc.addEventListener("load",_4fe.onloadHandler,false);}else{_4fc.attachEvent("onload",_4fe.onloadHandler);}}},unBindDomNode:function(_505){var node;try{node=dom.byId(_505,this.ownerDocument);}catch(e){return;}var _506="_dijitMenu"+this.id;if(node&&_4f3.has(node,_506)){var bid=_4f3.get(node,_506)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _507=b.iframe;if(_507){if(_507.removeEventListener){_507.removeEventListener("load",b.onloadHandler,false);}else{_507.detachEvent("onload",b.onloadHandler);}}_4f3.remove(node,_506);delete this._bindings[bid];}},_scheduleOpen:function(_508,_509,_50a,_50b){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_50b,delegatedTarget:_508,iframe:_509,coords:_50a});},1);}},_openMyself:function(args){var _50c=args.target,_50d=args.iframe,_50e=args.coords,_50f=!_50e;this.currentTarget=args.delegatedTarget;if(_50e){if(_50d){var ifc=_4f4.position(_50d,true),_510=this._iframeContentWindow(_50d),_511=_4f4.docScroll(_510.document);var cs=_4f5.getComputedStyle(_50d),tp=_4f5.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_50d,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_50d,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_50d,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_50d,cs.borderTopWidth):0);_50e.x+=ifc.x+left-_511.x;_50e.y+=ifc.y+top-_511.y;}}else{_50e=_4f4.position(_50c,true);_50e.x+=10;_50e.y+=10;}var self=this;var _512=this._focusManager.get("prevNode");var _513=this._focusManager.get("curNode");var _514=!_513||(dom.isDescendant(_513,this.domNode))?_512:_513;function _515(){if(self.refocus&&_514){_514.focus();}pm.close(self);};pm.open({popup:this,x:_50e.x,y:_50e.y,onExecute:_515,onCancel:_515,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_50f){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_4f1.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(_516,keys,_517,_518){return _516("dijit.DropDownMenu",_518,{templateString:_517,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev();},_onDownArrow:function(){this.focusNext();},_onRightArrow:function(evt){this._moveToPopup(evt);evt.stopPropagation();evt.preventDefault();},_onLeftArrow:function(evt){if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{evt.stopPropagation();evt.preventDefault();}}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./registry","./_Widget","./_CssStateMixin","./_KeyNavContainer","./_TemplatedMixin"],function(_519,_51a,dom,_51b,_51c,lang,_51d,on,_51e,_51f,_520,_521,_522,_523,_524){return _51a("dijit._MenuBase",[_521,_524,_523,_522],{selected:null,_setSelectedAttr:function(item){if(this.selected!=item){if(this.selected){this.selected._setSelected(false);this._onChildDeselect(this.selected);}if(item){item._setSelected(true);}this._set("selected",item);}},activated:false,_setActivatedAttr:function(val){_51c.toggle(this.domNode,"dijitMenuActive",val);_51c.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _525=_520.byNode(node);return node.parentNode==this.containerNode&&_525&&_525.focus;},postCreate:function(){var self=this,_526=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_526,_51d.enter),function(){self.onItemHover(_520.byNode(this));}),on(this.containerNode,on.selector(_526,_51d.leave),function(){self.onItemUnhover(_520.byNode(this));}),on(this.containerNode,on.selector(_526,_51f),function(evt){self.onItemClick(_520.byNode(this),evt);evt.stopPropagation();}),on(this.containerNode,on.selector(_526,"focusin"),function(){self._onItemFocus(_520.byNode(this));}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_527,_528){this.inherited(arguments);if(!!item&&(_528==-1||(!!item.popup&&_528==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_529){if(!!item.shortcutKey){return _529==item.shortcutKey.toLowerCase()?-1:0;}return this.inherited(arguments)?1:0;},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _52a=this._getTopMenu();if(_52a&&_52a._isMenuBar){_52a.focusNext();}}},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer();},onItemHover:function(item){if(this.activated){this.set("selected",item);if(item.popup&&!item.disabled&&!this.hover_timer){this.hover_timer=this.defer(function(){this._openItemPopup(item);},this.popupDelay);}}else{if(this.passivePopupDelay<Infinity){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.passive_hover_timer=this.defer(function(){this.onItemClick(item,{type:"click"});},this.passivePopupDelay);}}this._hoveredChild=item;item._set("hovering",true);},_onChildDeselect:function(item){this._stopPopupTimer();if(this.currentPopupItem==item){this._stopPendingCloseTimer();this._pendingClose_timer=this.defer(function(){this._pendingClose_timer=null;this.currentPopupItem=null;item._closePopup();},this.popupDelay);}},onItemUnhover:function(item){if(this._hoveredChild==item){this._hoveredChild=null;}if(this.passive_hover_timer){this.passive_hover_timer.remove();this.passive_hover_timer=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(){if(this._pendingClose_timer){this._pendingClose_timer=this._pendingClose_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this.set("selected",item);this.set("activated",true);var _52b=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_52b);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_52c,_52d){if(_52c==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _52e=_52c.popup;_52e.parentMenu=this;this.own(this._mouseoverHandle=on.once(_52e.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_52c._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_52d){self.focusChild(_52c);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_52d);this.currentPopupItem=_52c;},onOpen:function(){this.isShowingNow=true;this.set("activated",true);},onClose:function(){this.set("activated",false);this.set("selected",null);this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopupItem){if(this.focused){_51b.set(this.selected.focusNode,"tabIndex",this.tabIndex);this.selected.focusNode.focus();}this.currentPopupItem._closePopup();this.currentPopupItem=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}this.set("selected",item);},_onBlur:function(){this._cleanUp(true);this.inherited(arguments);},_cleanUp:function(_52f){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_52f){this.set("selected",null);}}});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_530,dom,_531,_532,_533,has,lang,_534,_535,_536,_537,_538){var _539=_530("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_534,_535,_536,_537],{templateString:_538,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _53a="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_53a=val.charAt(ndx+1);var _53b=val.substr(0,ndx);var _53c=val.substr(ndx+3);text=_53b+_53a+_53c;val=_53b+"<span class=\"dijitMenuItemShortcutKey\">"+_53a+"</span>"+_53c;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_53a);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_53d){if(_53d&&!("label" in this.params)){this._set("label",_53d.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _53e=this.id+"_text";_531.set(this.containerNode,"id",_53e);if(this.accelKeyNode){_531.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_53f){_532.toggle(this.domNode,"dijitMenuItemSelected",_53f);},setLabel:function(_540){_533.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_540);},setDisabled:function(_541){_533.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_541);},_setDisabledAttr:function(_542){this.focusNode.setAttribute("aria-disabled",_542?"true":"false");this._set("disabled",_542);},_setAccelKeyAttr:function(_543){if(this.accelKeyNode){this.accelKeyNode.style.display=_543?"":"none";this.accelKeyNode.innerHTML=_543;_531.set(this.containerNode,"colSpan",_543?"1":"2");}this._set("accelKey",_543);}});if(has("dojo-bidi")){_539=_530("dijit.MenuItem",_539,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _539;});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_544,_545,lang,_546,pm,_547,_548){return _544("dijit.PopupMenuItem",_548,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _549=_546("*",this.srcNodeRef);this.inherited(arguments,[_549[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_54a,_54b){var _54c=this.popup;pm.open(lang.delegate(_54a,{popup:this.popup,around:this.domNode}));if(_54b&&_54c.focus){_54c.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_546("[widgetId]",this.dropDownContainer)[0];this.popup=_547.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_545.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_54d){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_54d);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_54e,_54f,_550,_551){return _54e("dijit.CheckedMenuItem",_550,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_551,checked:false,_setCheckedAttr:function(_552){this.domNode.setAttribute("aria-checked",_552?"true":"false");this._set("checked",_552);},iconClass:"",role:"menuitemcheckbox",checkedChar:"&#10003;",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_553,keys,_554,_555){return _553("dijit.MenuBar",_554,{templateString:_555,baseClass:"dijitMenuBar",popupDelay:0,_isMenuBar:true,_orient:["below"],_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}},focusChild:function(item){this.inherited(arguments);if(this.activated&&item.popup&&!item.disabled){this._openItemPopup(item,true);}},_onChildDeselect:function(item){if(this.currentPopupItem==item){this.currentPopupItem=null;item._closePopup();}this.inherited(arguments);},_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();},_onDownArrow:function(evt){this._moveToPopup(evt);},_onUpArrow:function(){},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow&&(!/^key/.test(evt.type)||evt.keyCode!==keys.DOWN_ARROW)){item.focusNode.focus();this._cleanUp(true);}else{this.inherited(arguments);}}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_556,_557,_558){var _559=_556("dijit._MenuBarItemMixin",null,{templateString:_558,_setIconClassAttr:null});var _55a=_556("dijit.MenuBarItem",[_557,_559],{});_55a._MenuBarItemMixin=_559;return _55a;});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_55b,_55c,_55d){var _55e=_55d._MenuBarItemMixin;return _55b("dijit.PopupMenuBarItem",[_55c,_55e],{});});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_55f,dom,_560,_561,_562,_563){return _55f("dijit.MenuSeparator",[_560,_561,_562],{templateString:_563,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_564,_565,_566,lang,_567,_568,_569,_56a){return _565("dijit.ProgressBar",[_568,_569],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_56a,_indeterminateHighContrastImagePath:_564.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_566.toggle(this.domNode,"dijitProgressBarRtl",rtl);_566.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_56b){lang.mixin(this,_56b||{});var tip=this.internalProgress,ap=this.domNode;var _56c=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_56c=Math.min(parseFloat(this.progress)/100,1);this.progress=_56c*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_56c=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_56c);_566.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_566.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_56c*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_56d){this._set("label",_56d);this.update();},_setIndeterminateAttr:function(_56e){this._set("indeterminate",_56e);this.update();},report:function(_56f){return this.label?this.label:(this.indeterminate?"&#160;":_567.format(_56f,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_570,_571,_572){var _573={};lang.setObject("dojo.number",_573);_573.format=function(_574,_575){_575=lang.mixin({},_575||{});var _576=i18n.normalizeLocale(_575.locale),_577=i18n.getLocalization("dojo.cldr","number",_576);_575.customs=_577;var _578=_575.pattern||_577[(_575.type||"decimal")+"Format"];if(isNaN(_574)||Math.abs(_574)==Infinity){return null;}return _573._applyPattern(_574,_578,_575);};_573._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_573._applyPattern=function(_579,_57a,_57b){_57b=_57b||{};var _57c=_57b.customs.group,_57d=_57b.customs.decimal,_57e=_57a.split(";"),_57f=_57e[0];_57a=_57e[(_579<0)?1:0]||("-"+_57f);if(_57a.indexOf("%")!=-1){_579*=100;}else{if(_57a.indexOf("‰")!=-1){_579*=1000;}else{if(_57a.indexOf("¤")!=-1){_57c=_57b.customs.currencyGroup||_57c;_57d=_57b.customs.currencyDecimal||_57d;_57a=_57a.replace(/\u00a4{1,3}/,function(_580){var prop=["symbol","currency","displayName"][_580.length-1];return _57b[prop]||_57b.currency||"";});}else{if(_57a.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _581=_573._numberPatternRE;var _582=_57f.match(_581);if(!_582){throw new Error("unable to find a number expression in pattern: "+_57a);}if(_57b.fractional===false){_57b.places=0;}return _57a.replace(_581,_573._formatAbsolute(_579,_582[0],{decimal:_57d,group:_57c,places:_57b.places,round:_57b.round}));};_573.round=function(_583,_584,_585){var _586=10/(_585||10);return (_586*+_583).toFixed(_584)/_586;};if((0.9).toFixed()==0){var _587=_573.round;_573.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _587(v,p,m)+(v>0?d:-d);};}_573._formatAbsolute=function(_588,_589,_58a){_58a=_58a||{};if(_58a.places===true){_58a.places=0;}if(_58a.places===Infinity){_58a.places=6;}var _58b=_589.split("."),_58c=typeof _58a.places=="string"&&_58a.places.indexOf(","),_58d=_58a.places;if(_58c){_58d=_58a.places.substring(_58c+1);}else{if(!(_58d>=0)){_58d=(_58b[1]||[]).length;}}if(!(_58a.round<0)){_588=_573.round(_588,_58d,_58a.round);}var _58e=String(Math.abs(_588)).split("."),_58f=_58e[1]||"";if(_58b[1]||_58a.places){if(_58c){_58a.places=_58a.places.substring(0,_58c);}var pad=_58a.places!==undefined?_58a.places:(_58b[1]&&_58b[1].lastIndexOf("0")+1);if(pad>_58f.length){_58e[1]=_571.pad(_58f,pad,"0",true);}if(_58d<_58f.length){_58e[1]=_58f.substr(0,_58d);}}else{if(_58e[1]){_58e.pop();}}var _590=_58b[0].replace(",","");pad=_590.indexOf("0");if(pad!=-1){pad=_590.length-pad;if(pad>_58e[0].length){_58e[0]=_571.pad(_58e[0],pad);}if(_590.indexOf("#")==-1){_58e[0]=_58e[0].substr(_58e[0].length-pad);}}var _591=_58b[0].lastIndexOf(","),_592,_593;if(_591!=-1){_592=_58b[0].length-_591-1;var _594=_58b[0].substr(0,_591);_591=_594.lastIndexOf(",");if(_591!=-1){_593=_594.length-_591-1;}}var _595=[];for(var _596=_58e[0];_596;){var off=_596.length-_592;_595.push((off>0)?_596.substr(off):_596);_596=(off>0)?_596.slice(0,off):"";if(_593){_592=_593;delete _593;}}_58e[0]=_595.reverse().join(_58a.group||",");return _58e.join(_58a.decimal||".");};_573.regexp=function(_597){return _573._parseInfo(_597).regexp;};_573._parseInfo=function(_598){_598=_598||{};var _599=i18n.normalizeLocale(_598.locale),_59a=i18n.getLocalization("dojo.cldr","number",_599),_59b=_598.pattern||_59a[(_598.type||"decimal")+"Format"],_59c=_59a.group,_59d=_59a.decimal,_59e=1;if(_59b.indexOf("%")!=-1){_59e/=100;}else{if(_59b.indexOf("‰")!=-1){_59e/=1000;}else{var _59f=_59b.indexOf("¤")!=-1;if(_59f){_59c=_59a.currencyGroup||_59c;_59d=_59a.currencyDecimal||_59d;}}}var _5a0=_59b.split(";");if(_5a0.length==1){_5a0.push("-"+_5a0[0]);}var re=_572.buildGroupRE(_5a0,function(_5a1){_5a1="(?:"+_572.escapeString(_5a1,".")+")";return _5a1.replace(_573._numberPatternRE,function(_5a2){var _5a3={signed:false,separator:_598.strict?_59c:[_59c,""],fractional:_598.fractional,decimal:_59d,exponent:false},_5a4=_5a2.split("."),_5a5=_598.places;if(_5a4.length==1&&_59e!=1){_5a4[1]="###";}if(_5a4.length==1||_5a5===0){_5a3.fractional=false;}else{if(_5a5===undefined){_5a5=_598.pattern?_5a4[1].lastIndexOf("0")+1:Infinity;}if(_5a5&&_598.fractional==undefined){_5a3.fractional=true;}if(!_598.places&&(_5a5<_5a4[1].length)){_5a5+=","+_5a4[1].length;}_5a3.places=_5a5;}var _5a6=_5a4[0].split(",");if(_5a6.length>1){_5a3.groupSize=_5a6.pop().length;if(_5a6.length>1){_5a3.groupSize2=_5a6.pop().length;}}return "("+_573._realNumberRegexp(_5a3)+")";});},true);if(_59f){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_5a7,_5a8,_5a9,_5aa){var prop=["symbol","currency","displayName"][_5a9.length-1],_5ab=_572.escapeString(_598[prop]||_598.currency||"");_5a8=_5a8?"[\\s\\xa0]":"";_5aa=_5aa?"[\\s\\xa0]":"";if(!_598.strict){if(_5a8){_5a8+="*";}if(_5aa){_5aa+="*";}return "(?:"+_5a8+_5ab+_5aa+")?";}return _5a8+_5ab+_5aa;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_59c,decimal:_59d,factor:_59e};};_573.parse=function(_5ac,_5ad){var info=_573._parseInfo(_5ad),_5ae=(new RegExp("^"+info.regexp+"$")).exec(_5ac);if(!_5ae){return NaN;}var _5af=_5ae[1];if(!_5ae[1]){if(!_5ae[2]){return NaN;}_5af=_5ae[2];info.factor*=-1;}_5af=_5af.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _5af*info.factor;};_573._realNumberRegexp=function(_5b0){_5b0=_5b0||{};if(!("places" in _5b0)){_5b0.places=Infinity;}if(typeof _5b0.decimal!="string"){_5b0.decimal=".";}if(!("fractional" in _5b0)||/^0/.test(_5b0.places)){_5b0.fractional=[true,false];}if(!("exponent" in _5b0)){_5b0.exponent=[true,false];}if(!("eSigned" in _5b0)){_5b0.eSigned=[true,false];}var _5b1=_573._integerRegexp(_5b0),_5b2=_572.buildGroupRE(_5b0.fractional,function(q){var re="";if(q&&(_5b0.places!==0)){re="\\"+_5b0.decimal;if(_5b0.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_5b0.places+"}";}}return re;},true);var _5b3=_572.buildGroupRE(_5b0.exponent,function(q){if(q){return "([eE]"+_573._integerRegexp({signed:_5b0.eSigned})+")";}return "";});var _5b4=_5b1+_5b2;if(_5b2){_5b4="(?:(?:"+_5b4+")|(?:"+_5b2+"))";}return _5b4+_5b3;};_573._integerRegexp=function(_5b5){_5b5=_5b5||{};if(!("signed" in _5b5)){_5b5.signed=[true,false];}if(!("separator" in _5b5)){_5b5.separator="";}else{if(!("groupSize" in _5b5)){_5b5.groupSize=3;}}var _5b6=_572.buildGroupRE(_5b5.signed,function(q){return q?"[-+]":"";},true);var _5b7=_572.buildGroupRE(_5b5.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_572.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_5b5.groupSize,grp2=_5b5.groupSize2;if(grp2){var _5b8="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_5b8+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_5b8;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _5b6+_5b7;};return _573;});},"dijit/TitlePane":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager","./a11yclick"],function(_5b9,_5ba,dom,_5bb,_5bc,_5bd,_5be,has,_5bf,keys,_5c0,_5c1,_5c2,_5c3,_5c4){var _5c5=_5ba("dijit.TitlePane",[_5c2,_5c1,_5c0],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_5c4.defaultDuration,baseClass:"dijitTitlePane",templateString:_5c3,doLayout:false,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,this.baseClass+"Title");}var _5c6=this.hideNode,_5c7=this.wipeNode;this._wipeIn=_5be.wipeIn({node:_5c7,duration:this.duration,beforeBegin:function(){_5c6.style.display="";}});this._wipeOut=_5be.wipeOut({node:_5c7,duration:this.duration,onEnd:function(){_5c6.style.display="none";}});},_setOpenAttr:function(open,_5c8){_5b9.forEach([this._wipeIn,this._wipeOut],function(_5c9){if(_5c9&&_5c9.status()=="playing"){_5c9.stop();}});if(_5c8){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_5ca){this.focusNode.setAttribute("role",_5ca?"button":"heading");if(_5ca){this.focusNode.setAttribute("aria-controls",this.id+"_pane");this.focusNode.setAttribute("tabIndex",this.tabIndex);this.focusNode.setAttribute("aria-pressed",this.open);}else{_5bb.remove(this.focusNode,"aria-controls");_5bb.remove(this.focusNode,"tabIndex");_5bb.remove(this.focusNode,"aria-pressed");}this._set("toggleable",_5ca);this._setCss();},_setContentAttr:function(_5cb){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_5bd.setMarginBox(this.wipeNode,{h:_5bd.getMarginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){this._setOpenAttr(!this.open,true);},_setCss:function(){var node=this.titleBarNode||this.focusNode;var _5cc=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_5bc.replace(node,this._titleBarClass,_5cc||"");_5bc.replace(node,this._titleBarClass.replace("TitlePaneTitle",""),(_5cc||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_5cd){_5bf.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_5cd);}});if(has("dojo-bidi")){_5c5.extend({_setTitleAttr:function(_5ce){this._set("title",_5ce);this.titleNode.innerHTML=_5ce;this.applyTextDir(this.titleNode);},_setTooltipAttr:function(_5cf){this._set("tooltip",_5cf);if(this.textDir){_5cf=this.enforceTextDirWithUcc(null,_5cf);}_5bb.set(this.focusNode,"title",_5cf);},_setTextDirAttr:function(_5d0){if(this._created&&this.textDir!=_5d0){this._set("textDir",_5d0);this.set("title",this.title);this.set("tooltip",this.tooltip);}}});}return _5c5;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_5d1,dojo,_5d2,_5d3,_5d4,dom,_5d5,geom,_5d6,_5d7){if(!dojo.isAsync){_5d6(0,function(){var _5d8=["./fx/Toggler"];_5d7(_5d8);});}var _5d9=dojo.fx={};var _5da={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _5db=function(_5dc){this._index=-1;this._animations=_5dc||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_5d2.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_5db.prototype=new _5d1();lang.extend(_5db,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_5d3.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_5d3.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_5dd,_5de){if(!this._current){this._current=this._animations[this._index=0];}if(!_5de&&this._current.status()=="playing"){return this;}var _5df=_5d3.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_5e0=_5d3.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_5e1=_5d3.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_5df.remove();_5e0.remove();_5e1.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_5d3.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_5d3.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_5d3.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_5e2,_5e3){this.pause();var _5e4=this.duration*_5e2;this._current=null;_5d2.some(this._animations,function(a,_5e5){if(_5e4<=a.duration){this._current=a;this._index=_5e5;return true;}_5e4-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_5e4/this._current.duration);}if(_5e3){this.play();}return this;},stop:function(_5e6){if(this._current){if(_5e6){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_5d3.after(this._current,"onStop",lang.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){this.stop();if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_5db,_5da);_5d9.chain=function(_5e7){return new _5db(_5e7);};var _5e8=function(_5e9){this._animations=_5e9||[];this._connects=[];this._finished=0;this.duration=0;_5d2.forEach(_5e9,function(a){var _5ea=a.duration;if(a.delay){_5ea+=a.delay;}if(this.duration<_5ea){this.duration=_5ea;}this._connects.push(_5d3.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _5d4.Animation({curve:[0,1],duration:this.duration});var self=this;_5d2.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_5d3.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_5e8,{_doAction:function(_5eb,args){_5d2.forEach(this._animations,function(a){a[_5eb].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_5ec,args){var t=this._pseudoAnimation;t[_5ec].apply(t,args);},play:function(_5ed,_5ee){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_5ef,_5f0){var ms=this.duration*_5ef;_5d2.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_5f0);});this._call("gotoPercent",arguments);return this;},stop:function(_5f1){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){this.stop();_5d2.forEach(this._connects,function(_5f2){_5f2.remove();});}});lang.extend(_5e8,_5da);_5d9.combine=function(_5f3){return new _5e8(_5f3);};_5d9.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_5d4.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _5f4=_5d5.get(node,"height");return Math.max(_5f4,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_5d3.after(anim,"onStop",fini,true);_5d3.after(anim,"onEnd",fini,true);return anim;};_5d9.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_5d4.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_5d3.after(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_5d3.after(anim,"onStop",fini,true);_5d3.after(anim,"onEnd",fini,true);return anim;};_5d9.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_5d5.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_5d4.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_5d3.after(anim,"beforeBegin",init,true);return anim;};return _5d9;});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/aspect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/promise/all","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/errors/create","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./a11yclick","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","./_KeyNavMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector","dojo/query!css2"],function(_5f5,_5f6,_5f7,_5f8,_5f9,all,dom,_5fa,_5fb,_5fc,_5fd,_5fe,has,_5ff,keys,lang,on,_600,_601,when,_602,_603,_604,_605,_606,_607,_608,_609,_60a,_60b,_60c,_60d,_60e,_60f,_610){function _611(d){return lang.delegate(d.promise||d,{addCallback:function(_612){this.then(_612);},addErrback:function(_613){this.otherwise(_613);}});};var _614=_5f8("dijit._TreeNode",[_606,_607,_608,_609,_60a],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_60c,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_615){var _616=(Math.max(_615,0)*this.tree._nodePixelIndent)+"px";_5fc.set(this.domNode,"backgroundPosition",_616+" 0px");_5fc.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_616);_5f5.forEach(this.getChildren(),function(_617){_617.set("indent",_615+1);});this._set("indent",_615);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_618=tree.model;if(tree._v10Compat&&item===_618.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_619,_61a){var _61b="_"+_619+"Class";var _61c=_619+"Node";var _61d=this[_61b];this[_61b]=this.tree["get"+_61a+"Class"](item,this.isExpanded);_5fa.replace(this[_61c],this[_61b]||"",_61d||"");_5fc.set(this[_61c],this.tree["get"+_61a+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _61e=this.getParent(),_61f=!_61e||!_61e.rowNode||_61e.rowNode.style.display=="none";_5fa.toggle(this.domNode,"dijitTreeIsRoot",_61f);_5fa.toggle(this.domNode,"dijitTreeIsLast",!_61f&&!this.getNextSibling());},_setExpando:function(_620){var _621=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_622=["*","-","+","*"],idx=_620?0:(this.isExpandable?(this.isExpanded?1:2):3);_5fa.replace(this.expandoNode,_621[idx],_621);this.expandoNodeText.innerHTML=_622[idx];},expand:function(){if(this._expandDeferred){return _611(this._expandDeferred);}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_5fa.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var _623=_5fe.wipeIn({node:this.containerNode,duration:_605.defaultDuration});var def=(this._expandDeferred=new _5f9(function(){_623.stop();}));_5f6.after(_623,"onEnd",function(){def.resolve(true);},true);_623.play();return _611(def);},collapse:function(){if(this._collapseDeferred){return _611(this._collapseDeferred);}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_5fa.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _624=_5fe.wipeOut({node:this.containerNode,duration:_605.defaultDuration});var def=(this._collapseDeferred=new _5f9(function(){_624.stop();}));_5f6.after(_624,"onEnd",function(){def.resolve(true);},true);_624.play();return _611(def);},indent:0,setChildItems:function(_625){var tree=this.tree,_626=tree.model,defs=[];var _627=tree.focusedChild;var _628=this.getChildren();_5f5.forEach(_628,function(_629){_608.prototype.removeChild.call(this,_629);},this);this.defer(function(){_5f5.forEach(_628,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _62a(node){var id=_626.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _62b=_5f5.indexOf(ary,node);if(_62b!=-1){ary.splice(_62b,1);}}_5f5.forEach(node.getChildren(),_62a);};_62a(node);if(tree.persist){var _62c=_5f5.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_62c.length)==_62c){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild,tree.domNode)){delete tree.lastFocusedChild;}if(_627&&!dom.isDescendant(_627,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_625&&_625.length>0){this.isExpandable=true;_5f5.forEach(_625,function(item){var id=_626.getIdentity(item),_62d=tree._itemNodesMap[id],node;if(_62d){for(var i=0;i<_62d.length;i++){if(_62d[i]&&!_62d[i].getParent()){node=_62d[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_626.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_62d){_62d.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_5f5.forEach(this.getChildren(),function(_62e){_62e._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _611(def);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _62f=this.getChildren();if(_62f.length==0){this.isExpandable=false;this.collapse();}_5f5.forEach(_62f,function(_630){_630._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_631){this.labelNode.setAttribute("aria-selected",_631?"true":"false");_5fa.toggle(this.rowNode,"dijitTreeRowSelected",_631);},focus:function(){_603.focus(this.focusNode);}});if(has("dojo-bidi")){_614.extend({_setTextDirAttr:function(_632){if(_632&&((this.textDir!=_632)||!this._created)){this._set("textDir",_632);this.applyTextDir(this.labelNode);_5f5.forEach(this.getChildren(),function(_633){_633.set("textDir",_632);},this);}}});}var Tree=_5f8("dijit.Tree",[_606,_60b,_607,_60a],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_60d,persist:false,autoExpand:false,dndController:_610,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_634,_635){_600.publish(this.id,lang.mixin({tree:this,event:_634},_635||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _5f9();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_601.enter),function(evt){self._onNodeMouseEnter(_604.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_601.leave),function(evt){self._onNodeMouseLeave(_604.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_602.press),function(evt){self._onNodePress(_604.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_602),function(evt){self._onClick(_604.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_604.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_5f6.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_5f6.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_5f6.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _636={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_636[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_636);}this._load();this.onLoadDeferred=_611(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_5ff.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _637={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_637.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_637.getChildren=lang.hitch(this,function(item,_638,_639){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_638,_639);});}this.model=new _60f(_637);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);this.rootLoadingIndicator.style.display="none";}this.containerNode.appendChild(rn.domNode);var _63a=this.model.getIdentity(item);if(this._itemNodesMap[_63a]){this._itemNodesMap[_63a].push(rn);}else{this._itemNodesMap[_63a]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){if(!this._destroyed){this.rootLoadingIndicator.style.display="none";this.expandChildrenDeferred.resolve(true);}}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _63b=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_63b]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_63c){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _63d=_5f5.map(_63c,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _63e=[];_5f5.forEach(_63d,function(id){_63e=_63e.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_63e);}));},_setPathAttr:function(path){if(path.length){return _611(this.set("paths",[path]).then(function(_63f){return _63f[0];}));}else{return _611(this.set("paths",[]).then(function(_640){return _640[0];}));}},_setPathsAttr:function(_641){var tree=this;function _642(path,_643){var _644=path.shift();var _645=_5f5.filter(_643,function(node){return node.getIdentity()==_644;})[0];if(!!_645){if(path.length){return tree._expandNode(_645).then(function(){return _642(path,_645.getChildren());});}else{return _645;}}else{throw new Tree.PathError("Could not expand path at "+_644);}};return _611(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_5f5.map(_641,function(path){path=_5f5.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){return _642(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_646){tree.set("selectedNodes",_646);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_647){this.dndController.setSelection(_647);},expandAll:function(){var _648=this;function _649(node){return _648._expandNode(node).then(function(){var _64a=_5f5.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_5f5.map(_64a,_649));});};return _611(_649(this.rootNode));},collapseAll:function(){var _64b=this;function _64c(node){var _64d=_5f5.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_5f5.map(_64d,_64c));if(!node.isExpanded||(node==_64b.rootNode&&!_64b.showRoot)){return defs;}else{return defs.then(function(){return _64b._collapseNode(node);});}};return _611(_64c(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_64e){return (!item||this.model.mayHaveChildren(item))?(_64e?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _64f=this._getNext(node);if(_64f&&_64f.isTreeNode){this.focusNode(_64f);}},_onUpArrow:function(evt,node){var _650=node.getPreviousSibling();if(_650){node=_650;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _651=node.getChildren();node=_651[_651.length-1];}}else{var _652=node.getParent();if(!(!this.showRoot&&_652===this.rootNode)){node=_652;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(evt,node){if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(evt,node){if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _653=node.getParent();if(_653&&_653.isTreeNode&&!(!this.showRoot&&_653===this.rootNode)){this.focusNode(_653);}}},focusLastChild:function(){var node=this._getLast();if(node&&node.isTreeNode){this.focusNode(node);}},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_getLast:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();if(!c.length){break;}node=c[c.length-1];}return node;},_getNext:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _654=node.getNextSibling();if(_654){return _654;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_655){return dom.isDescendant(node,_655.expandoNode)||dom.isDescendant(node,_655.expandoNodeText);},_onNodePress:function(_656,e){this.focusNode(_656);},__click:function(_657,e,_658,func){var _659=e.target,_65a=this.isExpandoNode(_659,_657);if(_657.isExpandable&&(_658||_65a)){this._onExpandoClick({node:_657});}else{this._publish("execute",{item:_657.item,node:_657,evt:e});this[func](_657.item,_657,e);this.focusNode(_657);}e.stopPropagation();e.preventDefault();},_onClick:function(_65b,e){this.__click(_65b,e,this.openOnClick,"onClick");},_onDblClick:function(_65c,e){this.__click(_65c,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_65d){var node=_65d.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){_5ff.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_5ff.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst();},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="Loading"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _65e=this.model,item=node.item,_65f=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _5f9();_65e.getChildren(item,function(_660){node.unmarkProcessing();node.setChildItems(_660).then(function(){node._loadDeferred.resolve(_660);});},function(err){console.error(_65f,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}var def=node._loadDeferred.then(lang.hitch(this,function(){var def2=node.expand();this.onOpen(node.item,node);this._state(node,true);return def2;}));this._startPaint(def);return def;},focusNode:function(node){var _661=this.domNode.scrollLeft;this.focusChild(node);this.domNode.scrollLeft=_661;},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _662=this.model,_663=_662.getIdentity(item),_664=this._itemNodesMap[_663];if(_664){var _665=this.getLabel(item),_666=this.getTooltip(item);_5f5.forEach(_664,function(node){node.set({item:item,label:_665,tooltip:_666});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_667,_668){var _669=this.model,_66a=_669.getIdentity(_667),_66b=this._itemNodesMap[_66a];if(_66b){_5f5.forEach(_66b,function(_66c){_66c.setChildItems(_668);});}},_onItemDelete:function(item){var _66d=this.model,_66e=_66d.getIdentity(item),_66f=this._itemNodesMap[_66e];if(_66f){_5f5.forEach(_66f,function(node){this.dndController.removeTreeNode(node);var _670=node.getParent();if(_670){_670.removeChild(node);}if(this.lastFocusedChild&&!dom.isDescendant(this.lastFocusedChild,this.domNode)){delete this.lastFocusedChild;}if(this.focusedChild&&!dom.isDescendant(this.focusedChild,this.domNode)){this.focus();}node.destroyRecursive();},this);delete this._itemNodesMap[_66e];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_5f7(this.cookieName);if(oreo){_5f5.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_671){if(!this.persist){return false;}var path=_5f5.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_671){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}this._saveExpandedNodes();}},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_5f7(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_672){if(_672){_5fb.setMarginBox(this.domNode,_672);}this._nodePixelIndent=_5fb.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _614(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_673){if(_673&&this.textDir!=_673){this._set("textDir",_673);this.rootNode.set("textDir",_673);}}});}Tree.PathError=_5fd("TreePathError");Tree._TreeNode=_614;return Tree;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_674){dojo.cookie=function(name,_675,_676){var c=document.cookie,ret;if(arguments.length==1){var _677=c.match(new RegExp("(?:^|; )"+_674.escapeString(name)+"=([^;]*)"));ret=_677?decodeURIComponent(_677[1]):undefined;}else{_676=_676||{};var exp=_676.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_676.expires=d;}if(exp&&exp.toUTCString){_676.expires=exp.toUTCString();}_675=encodeURIComponent(_675);var _678=name+"="+_675,_679;for(_679 in _676){_678+="; "+_679;var _67a=_676[_679];if(_67a!==true){_678+="="+_67a;}}document.cookie=_678;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_67b,_67c,_67d,lang){return _67d("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(args){lang.mixin(this,args);this.connects=[];var _67e=this.store;if(!_67e.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_67e.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_67c.after(_67e,"onNew",lang.hitch(this,"onNewItem"),true),_67c.after(_67e,"onDelete",lang.hitch(this,"onDeleteItem"),true),_67c.after(_67e,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_67f,_680){if(this.root){_67f(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_681){if(_681.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_681.length+" items, but must return exactly one");}this.root=_681[0];_67f(this.root);}),onError:_680});}},mayHaveChildren:function(item){return _67b.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_682,_683,_684){var _685=this.store;if(!_685.isItemLoaded(_682)){var _686=lang.hitch(this,arguments.callee);_685.loadItem({item:_682,onItem:function(_687){_686(_687,_683,_684);},onError:_684});return;}var _688=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_685.getValues(_682,this.childrenAttrs[i]);_688=_688.concat(vals);}var _689=0;if(!this.deferItemLoadingUntilExpand){_67b.forEach(_688,function(item){if(!_685.isItemLoaded(item)){_689++;}});}if(_689==0){_683(_688);}else{_67b.forEach(_688,function(item,idx){if(!_685.isItemLoaded(item)){_685.loadItem({item:item,onItem:function(item){_688[idx]=item;if(--_689==0){_683(_688);}},onError:_684});}});}},isItem:function(_68a){return this.store.isItem(_68a);},fetchItemByIdentity:function(_68b){this.store.fetchItemByIdentity(_68b);},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_68c,_68d){var _68e={parent:_68c,attribute:this.childrenAttrs[0]},_68f;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_68c,true,_68d);}else{_68f=this.store.newItem(args,_68e);if(_68f&&(_68d!=undefined)){this.pasteItem(_68f,_68c,_68c,false,_68d);}}}});}else{_68f=this.store.newItem(args,_68e);if(_68f&&(_68d!=undefined)){this.pasteItem(_68f,_68c,_68c,false,_68d);}}},pasteItem:function(_690,_691,_692,_693,_694){var _695=this.store,_696=this.childrenAttrs[0];if(_691){_67b.forEach(this.childrenAttrs,function(attr){if(_695.containsValue(_691,attr,_690)){if(!_693){var _697=_67b.filter(_695.getValues(_691,attr),function(x){return x!=_690;});_695.setValues(_691,attr,_697);}_696=attr;}});}if(_692){if(typeof _694=="number"){var _698=_695.getValues(_692,_696).slice();_698.splice(_694,0,_690);_695.setValues(_692,_696,_698);}else{_695.setValues(_692,_696,_695.getValues(_692,_696).concat(_690));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_699){if(!_699){return;}this.getChildren(_699.item,lang.hitch(this,function(_69a){this.onChildrenChange(_699.item,_69a);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_69b){if(_67b.indexOf(this.childrenAttrs,_69b)!=-1){this.getChildren(item,lang.hitch(this,function(_69c){this.onChildrenChange(item,_69c);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_69d,_69e,_69f,lang,_6a0){return _69e("dijit.tree.ForestStoreModel",_6a0,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_6a1){this.root={store:this,root:true,id:_6a1.rootId,label:_6a1.rootLabel,children:_6a1.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_6a2,_6a3,_6a4){if(_6a2===this.root){if(this.root.children){_6a3(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_6a5){this.root.children=_6a5;_6a3(_6a5);}),onError:_6a4});}}else{this.inherited(arguments);}},isItem:function(_6a6){return (_6a6===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_6a7){if(_6a7.identity==this.root.id){var _6a8=_6a7.scope||_69f.global;if(_6a7.onItem){_6a7.onItem.call(_6a8,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,_6a9,_6aa){if(_6a9===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_6ab,_6ac,_6ad,_6ae,_6af){if(_6ac===this.root){if(!_6ae){this.onLeaveRoot(_6ab);}}this.inherited(arguments,[_6ab,_6ac===this.root?null:_6ac,_6ad===this.root?null:_6ad,_6ae,_6af]);if(_6ad===this.root){this.onAddToRoot(_6ab);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _6b0=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_6b1){this.root.children=_6b1;if(_6b0.length!=_6b1.length||_69d.some(_6b0,function(item,idx){return _6b1[idx]!=item;})){this.onChildrenChange(this.root,_6b1);}})});},onNewItem:function(item,_6b2){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_69d.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_6b3,_6b4,_6b5){this._requeryTop();this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_6b6,_6b7,_6b8,lang,_6b9,dom,_6ba,on,_6bb,_6bc,_6bd){return _6b7("dijit.tree._dndSelector",_6bd,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_6bb.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_6bb.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_6bb.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_6bc.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_6bc.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _6be=[],sel=this.selection;for(var i in sel){_6be.push(sel[i]);}return _6be;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_6bf){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_6bf){this.anchor=node;}return node;},removeTreeNode:function(node){var _6c0=_6b6.filter(this.getSelectedTreeNodes(),function(_6c1){return !dom.isDescendant(_6c1.domNode,node.domNode);});this.setSelection(_6c0);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_6c2){var _6c3=this.getSelectedTreeNodes();_6b6.forEach(this._setDifference(_6c3,_6c2),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_6b6.forEach(this._setDifference(_6c2,_6c3),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_6b6.forEach(ys,function(y){y.__exclude__=true;});var ret=_6b6.filter(xs,function(x){return !x.__exclude__;});_6b6.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _6c4=this.getSelectedTreeNodes();var _6c5=[],_6c6=[];_6b6.forEach(_6c4,function(node){var ary=node.getTreePath();_6c6.push(node);_6c5.push(ary);},this);var _6c7=_6b6.map(_6c6,function(node){return node.item;});this.tree._set("paths",_6c5);this.tree._set("path",_6c5[0]||[]);this.tree._set("selectedNodes",_6c6);this.tree._set("selectedNode",_6c6[0]||null);this.tree._set("selectedItems",_6c7);this.tree._set("selectedItem",_6c7[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_6ba.isLeft(e)){e.preventDefault();}var _6c8=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_6c8){return;}var copy=_6b9.getCopyKeyState(e),id=_6c8.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_6c8,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_6b9.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_6c9,_6ca){if(this.singular){if(this.anchor==node&&_6c9){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_6ca&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_6cb,end,_6cc=this.anchor;if(cr<0){_6cb=_6cc;end=node;}else{_6cb=node;end=_6cc;}var _6cd=[];while(_6cb!=end){_6cd.push(_6cb);_6cb=this.tree._getNext(_6cb);}_6cd.push(end);this.setSelection(_6cd);}else{if(this.selection[node.id]&&_6c9){this.removeTreeNode(node);}else{if(_6c9){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _6ce=this.selection[key];return {data:_6ce,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_6b8.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_6cf,_6d0,_6d1,lang,on,_6d2){return _6d0("dijit.tree._dndContainer",null,{constructor:function(tree,_6d3){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_6d3);this.containerState="";_6d1.add(this.node,"dojoDndContainer");this.events=[on(this.node,_6d2.enter,lang.hitch(this,"onOverEvent")),on(this.node,_6d2.leave,lang.hitch(this,"onOutEvent")),_6cf.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_6cf.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_6d4){this.current=_6d4;},onMouseOut:function(){this.current=null;},_changeState:function(type,_6d5){var _6d6="dojoDnd"+type;var _6d7=type.toLowerCase()+"State";_6d1.replace(this.node,_6d6+_6d5,_6d6+this[_6d7]);this[_6d7]=_6d5;},_addItemClass:function(node,type){_6d1.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_6d1.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_6d8,_6d9,_6da,_6db,_6dc,_6dd,_6de,_6df,i18n,_6e0,keys,lang,on,has,when,_6e1,fm,_6e2,_6e3,_6e4,_6e5,_6e6,_6e7,_6e8,_6e9){var _6ea=_6db("dijit._InlineEditor",[_6e2,_6e3,_6e4],{templateString:_6e9,contextRequire:_6d8,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_6d9.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_6d8(this.editor)):this.editor;var _6eb=this.sourceStyle,_6ec="line-height:"+_6eb.lineHeight+";",_6ed=_6df.getComputedStyle(this.domNode);_6d9.forEach(["Weight","Family","Size","Style"],function(prop){var _6ee=_6eb["font"+prop],_6ef=_6ed["font"+prop];if(_6ef!=_6ee){_6ec+="font-"+prop+":"+_6eb["font"+prop]+";";}},this);_6d9.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_6eb[prop];},this);var _6f0=this.inlineEditBox.width;if(_6f0=="100%"){_6ec+="width:100%;";this.domNode.style.display="block";}else{_6ec+="width:"+(_6f0+(Number(_6f0)==_6f0?"px":""))+";";}var _6f1=lang.delegate(this.inlineEditBox.editorParams,{style:_6ec,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_6f1,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_6de.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_6da.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_6da.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get(("displayedValue" in ew||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_6e7.selectInputText(this.editWidget.focusNode);});}}}});var _6f2=_6db("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_6e2,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_6e8,editorWrapper:_6ea,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_6e1,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_6dd.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_6f3){_6e0.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_6f3);},_setDisabledAttr:function(_6f4){this.domNode.setAttribute("aria-disabled",_6f4?"true":"false");if(_6f4){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_6dd.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_6f4);this._set("disabled",_6f4);},_onMouseOver:function(){if(!this.disabled){_6dd.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_6dd.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_6dc.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _6f5=_6de.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_6df.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_6f5);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_6dd.add(this.displayNode,"dijitOffScreen");_6dd.remove(ww.domNode,"dijitOffScreen");_6df.set(ww.domNode,{visibility:"visible"});_6dc.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_6f6){var ww=this.wrapperWidget;_6df.set(ww.domNode,{visibility:"hidden"});_6dd.add(ww.domNode,"dijitOffScreen");_6dd.remove(this.displayNode,"dijitOffScreen");_6dc.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_6f6){fm.focus(this.displayNode);}},save:function(_6f7){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _6f8=ww.getValue();this.set("value",_6f8);this._showText(_6f7);},setValue:function(val){_6e0.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _6f9=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_6f9||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_6e0.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_6fa){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_6fa);}});if(has("dojo-bidi")){_6f2=_6db("dijit.InlineEditBox",_6f2,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_6f2._InlineEditor=_6ea;return _6f2;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_6fb,_6fc,_6fd,has,_6fe,_6ff,_700,_701){return _6fb("dijit.form.Form",[_6fe,_6ff,_700,_701],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_702){_6fc.set(this.domNode,"encType",_702);if(has("ie")){this.domNode.encoding=_702;}this._set("encType",_702);},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);e.stopPropagation();e.preventDefault();return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_6fd.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){e.stopPropagation();e.preventDefault();}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_703,keys,_704,_705,_706){return _703("dijit.form.ComboButton",_705,{templateString:_706,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_704.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_704.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_707){if(!this.disabled){_704.focus(_707=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_708,_709,_70a,has,_70b,_70c,_70d,_70e,_70f){if(has("dijit-legacy-requires")){_70c(0,function(){var _710=["dijit/form/RadioButton"];_708(_710);});}return _709("dijit.form.CheckBox",[_70d,_70e],{templateString:_70f,baseClass:"dijitCheckBox",_setValueAttr:function(_711,_712){if(typeof _711=="string"){this.inherited(arguments);_711=true;}if(this._created){this.set("checked",_711,_712);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_70b("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_70b("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_713,_714){return _713("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_715){this._set("readOnly",_715);_714.set(this.focusNode,"readOnly",_715);},_setLabelAttr:undefined,_getSubmitValue:function(_716){return (_716==null||_716==="")?"on":_716;},_setValueAttr:function(_717){_717=this._getSubmitValue(_717);this._set("value",_717);_714.set(this.focusNode,"value",_717);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_714.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_718,_719,_71a){return _718("dijit.form.RadioButton",[_719,_71a],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_71b,_71c,_71d,lang,_71e,_71f){return _71c("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_71e("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_720){if(_720.name==this.name&&_720.form==this.focusNode.form){var _721=_71f.getEnclosingWidget(_720);if(_721){ary.push(_721);}}}));return ary;},_setCheckedAttr:function(_722){this.inherited(arguments);if(!this._created){return;}if(_722){_71b.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_723){if(_723!=this&&_723.checked){_723.set("checked",false);}}));}},_getSubmitValue:function(_724){return _724==null?"on":_724;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_71b.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_725){_71d.set(this.focusNode||this.domNode,"checked",_725.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_726,_727,lang,_728){return _727("dijit.form.CurrencyTextBox",_728,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:_726.format,_parser:_726.parse,_regExpGenerator:_726.regexp,parse:function(_729,_72a){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_729)){v=lang.hitch(lang.delegate(this,{_parser:_728.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_72b){if(!_72b.currency&&this.currency){_72b.currency=this.currency;}this.inherited(arguments,[_726._mixInDefaults(lang.mixin(_72b,{exponent:false}))]);}});});},"dojo/currency":function(){define(["./_base/array","./_base/lang","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_72c,lang,_72d,i18n,_72e,_72f){var _730={};lang.setObject("dojo.currency",_730);_730._mixInDefaults=function(_731){_731=_731||{};_731.type="currency";var _732=i18n.getLocalization("dojo.cldr","currency",_731.locale)||{};var iso=_731.currency;var data=_72f.getData(iso);_72c.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_732[iso+"_"+prop];});data.fractional=[true,false];return lang.mixin(data,_731);};_730.format=function(_733,_734){return _72d.format(_733,_730._mixInDefaults(_734));};_730.regexp=function(_735){return _72d.regexp(_730._mixInDefaults(_735));};_730.parse=function(_736,_737){return _72d.parse(_736,_730._mixInDefaults(_737));};return _730;});},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(dojo,lang){var _738={};lang.setObject("dojo.cldr.monetary",_738);_738.getData=function(code){var _739={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:0,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:0,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0};var _73a={};var _73b=_739[code],_73c=_73a[code];if(typeof _73b=="undefined"){_73b=2;}if(typeof _73c=="undefined"){_73c=0;}return {places:_73b,round:_73c};};return _738;});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/i18n","dojo/string","dojo/number","./RangeBoundTextBox"],function(_73d,lang,i18n,_73e,_73f,_740){var _741=function(_742){var _742=_742||{},_743=i18n.getLocalization("dojo.cldr","number",i18n.normalizeLocale(_742.locale)),_744=_742.pattern?_742.pattern:_743[(_742.type||"decimal")+"Format"];var _745;if(typeof _742.places=="number"){_745=_742.places;}else{if(typeof _742.places==="string"&&_742.places.length>0){_745=_742.places.replace(/.*,/,"");}else{_745=(_744.indexOf(".")!=-1?_744.split(".")[1].replace(/[^#0]/g,"").length:0);}}return {sep:_743.decimal,places:_745};};var _746=_73d("dijit.form.NumberTextBoxMixin",null,{pattern:function(_747){return "("+(this.focused&&this.editOptions?this._regExpGenerator(lang.delegate(_747,this.editOptions))+"|":"")+this._regExpGenerator(_747)+")";},value:NaN,editOptions:{pattern:"#.######"},_formatter:_73f.format,_regExpGenerator:_73f.regexp,_decimalInfo:_741(),postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_748){var _749=typeof _748.places=="number"?_748.places:0;if(_749){_749++;}if(typeof _748.max!="number"){_748.max=9*Math.pow(10,15-_749);}if(typeof _748.min!="number"){_748.min=-9*Math.pow(10,15-_749);}this.inherited(arguments,[_748]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}this._decimalInfo=_741(_748);},_onFocus:function(){if(this.disabled||this.readOnly){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _74a=this.format(val,this.constraints);if(_74a!==undefined){this.textbox.value=_74a;}}this.inherited(arguments);},format:function(_74b,_74c){var _74d=String(_74b);if(typeof _74b!="number"){return _74d;}if(isNaN(_74b)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_74b,_74c))&&_74c.exponent!==false&&/\de[-+]?\d/i.test(_74d)){return _74d;}if(this.editOptions&&this.focused){_74c=lang.mixin({},_74c,this.editOptions);}return this._formatter(_74b,_74c);},_parser:_73f.parse,parse:function(_74e,_74f){var v=this._parser(_74e,lang.mixin({},_74f,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_74e,_74f);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_750){if(_750==null||typeof _750=="string"&&_750==""){return NaN;}else{if(typeof _750=="number"&&!isNaN(_750)&&_750!=0){_750=_73f.round(_750,this._decimalInfo.places);}}return this.inherited(arguments,[_750]);},serialize:function(_751,_752){return (typeof _751!="number"||isNaN(_751))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.delegate(this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_753,_754,_755){if(_753!==undefined&&_755===undefined){_755=String(_753);if(typeof _753=="number"){if(isNaN(_753)){_755="";}else{if(("rangeCheck" in this&&this.rangeCheck(_753,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_755)){_755=undefined;}}}else{if(!_753){_755="";_753=NaN;}else{_753=undefined;}}}this.inherited(arguments,[_753,_754,_755]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+_73f._realNumberRegexp(lang.delegate(this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_756){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}},_isValidSubset:function(){var _757=(typeof this.constraints.min=="number"),_758=(typeof this.constraints.max=="number"),_759=this.get("value");if(isNaN(_759)||(!_757&&!_758)){return this.inherited(arguments);}var _75a=_759|0,_75b=_759<0,_75c=this.textbox.value.indexOf(this._decimalInfo.sep)!=-1,_75d=this.maxLength||20,_75e=_75d-this.textbox.value.length,_75f=_75c?this.textbox.value.split(this._decimalInfo.sep)[1].replace(/[^0-9]/g,""):"";var _760=_75c?_75a+"."+_75f:_75a+"";var _761=_73e.rep("9",_75e),_762=_759,_763=_759;if(_75b){_762=Number(_760+_761);}else{_763=Number(_760+_761);}return !((_757&&_763<this.constraints.min)||(_758&&_762>this.constraints.max));}});var _764=_73d("dijit.form.NumberTextBox",[_740,_746],{baseClass:"dijitTextBox dijitNumberTextBox"});_764.Mixin=_746;return _764;});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox","dojo/i18n!./nls/validate"],function(_765,i18n,_766){var _767=_765("dijit.form.RangeBoundTextBox",_766,{rangeMessage:"",rangeCheck:function(_768,_769){return ("min" in _769?(this.compare(_768,_769.min)>=0):true)&&("max" in _769?(this.compare(_768,_769.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");if(val==null){return false;}var _76a=false;if("min" in this.constraints){var min=this.constraints.min;_76a=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min)<0;}if(!_76a&&("max" in this.constraints)){var max=this.constraints.max;_76a=this.compare(val,((typeof max!="number")||max>0)?max:0)>0;}return _76a;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_76b){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_76b));},getErrorMessage:function(_76c){var v=this.get("value");if(v!=null&&v!==""&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_76c)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}}});return _767;});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_76d,_76e,_76f){return _76d("dijit.form.DateTextBox",_76f,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_76e,_selector:"date",maxHeight:Infinity,value:new Date("")});});},"dijit/Calendar":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton"],function(_770,date,_771,_772,_773,_774,_775,_776,keys,lang,on,has,_777,_778,_779,_77a,_77b){var _77c=_772("dijit.Calendar",[_777,_778,_779],{baseClass:"dijitCalendar",cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_77d){_776.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_77d);},_createMonthWidget:function(){return new _77c._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")),on(this.dateRowsNode,"mouseover",lang.hitch(this,"_onDayMouseOver")),on(this.dateRowsNode,"mouseout",lang.hitch(this,"_onDayMouseOut")),on(this.dateRowsNode,"mousedown",lang.hitch(this,"_onDayMouseDown")),on(this.dateRowsNode,"mouseup",lang.hitch(this,"_onDayMouseUp")));},_onMonthSelect:function(_77e){var date=new this.dateClassObj(this.currentFocus);date.setDate(1);date.setMonth(_77e);var _77f=this.dateModule.getDaysInMonth(date);var _780=this.currentFocus.getDate();date.setDate(Math.min(_780,_77f));this._setCurrentFocusAttr(date);},_onDayMouseOver:function(evt){var node=_774.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_774.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_774.add(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}if(evt.relatedTarget&&evt.relatedTarget.parentNode==this._currentNode){return;}var cls="dijitCalendarHoveredDate";if(_774.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_774.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_774.contains(node,"dijitCalendarDisabledDate")){_774.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_774.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _781=-1,_782,_783=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_781=1;case keys.LEFT_ARROW:_782="day";if(!this.isLeftToRight()){_781*=-1;}break;case keys.DOWN_ARROW:_781=1;case keys.UP_ARROW:_782="week";break;case keys.PAGE_DOWN:_781=1;case keys.PAGE_UP:_782=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_783=this.dateModule.add(_783,"month",1);_782="day";case keys.HOME:_783=new this.dateClassObj(_783);_783.setDate(1);break;default:return true;}if(_782){_783=this.dateModule.add(_783,_782,_781);}this._setCurrentFocusAttr(_783);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){evt.stopPropagation();evt.preventDefault();}},onValueSelected:function(){},onChange:function(_784){this.onValueSelected(_784);},getClassForDate:function(){}});_77c._MonthDropDownButton=_772("dijit.Calendar._MonthDropDownButton",_77b,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _77c._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_785){var _786=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_785);this.dropDown.set("months",_786);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_786[_785.getMonth()]+"</div>";}});_77c._MonthDropDown=_772("dijit.Calendar._MonthDropDown",[_778,_77a,_779],{months:[],baseClass:"dijitCalendarMonthMenu dijitMenu",templateString:"<div data-dojo-attach-event='ondijitclick:_onClick'></div>",_setMonthsAttr:function(_787){this.domNode.innerHTML="";_770.forEach(_787,function(_788,idx){var div=_775.create("div",{className:"dijitCalendarMonthLabel",month:idx,innerHTML:_788},this.domNode);div._cssState="dijitCalendarMonthLabel";},this);},_onClick:function(evt){this.onChange(_773.get(evt.target,"month"));},onChange:function(){}});return _77c;});},"dojo/date":function(){define(["./has","./_base/lang"],function(has,lang){var date={};date.getDaysInMonth=function(_789){var _78a=_789.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_78a==1&&date.isLeapYear(_789)){return 29;}return days[_78a];};date.isLeapYear=function(_78b){var year=_78b.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};date.getTimezoneName=function(_78c){var str=_78c.toString();var tz="";var _78d;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_78d=str.match(pat))){tz=_78d[1];}else{str=_78c.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_78d=str.match(pat))){tz=_78d[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};date.compare=function(_78e,_78f,_790){_78e=new Date(+_78e);_78f=new Date(+(_78f||new Date()));if(_790=="date"){_78e.setHours(0,0,0,0);_78f.setHours(0,0,0,0);}else{if(_790=="time"){_78e.setFullYear(0,0,0);_78f.setFullYear(0,0,0);}}if(_78e>_78f){return 1;}if(_78e<_78f){return -1;}return 0;};date.add=function(date,_791,_792){var sum=new Date(+date);var _793=false;var _794="Date";switch(_791){case "day":break;case "weekday":var days,_795;var mod=_792%5;if(!mod){days=(_792>0)?5:-5;_795=(_792>0)?((_792-5)/5):((_792+5)/5);}else{days=mod;_795=parseInt(_792/5);}var strt=date.getDay();var adj=0;if(strt==6&&_792>0){adj=1;}else{if(strt==0&&_792<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_792>0)?2:-2;}_792=(7*_795)+days+adj;break;case "year":_794="FullYear";_793=true;break;case "week":_792*=7;break;case "quarter":_792*=3;case "month":_793=true;_794="Month";break;default:_794="UTC"+_791.charAt(0).toUpperCase()+_791.substring(1)+"s";}if(_794){sum["set"+_794](sum["get"+_794]()+_792);}if(_793&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};date.difference=function(_796,_797,_798){_797=_797||new Date();_798=_798||"day";var _799=_797.getFullYear()-_796.getFullYear();var _79a=1;switch(_798){case "quarter":var m1=_796.getMonth();var m2=_797.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_799*4);_79a=q2-q1;break;case "weekday":var days=Math.round(date.difference(_796,_797,"day"));var _79b=parseInt(date.difference(_796,_797,"week"));var mod=days%7;if(mod==0){days=_79b*5;}else{var adj=0;var aDay=_796.getDay();var bDay=_797.getDay();_79b=parseInt(days/7);mod=days%7;var _79c=new Date(_796);_79c.setDate(_79c.getDate()+(_79b*7));var _79d=_79c.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_79d+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_79d+mod)<0:adj=2;}}}days+=adj;days-=(_79b*2);}_79a=days;break;case "year":_79a=_799;break;case "month":_79a=(_797.getMonth()-_796.getMonth())+(_799*12);break;case "week":_79a=parseInt(date.difference(_796,_797,"day")/7);break;case "day":_79a/=24;case "hour":_79a/=60;case "minute":_79a/=60;case "second":_79a/=1000;case "millisecond":_79a*=_797.getTime()-_796.getTime();}return Math.round(_79a);};1&&lang.mixin(lang.getObject("dojo.date",true),date);return date;});},"dojo/date/locale":function(){define(["../_base/lang","../_base/array","../date","../cldr/supplemental","../i18n","../regexp","../string","../i18n!../cldr/nls/gregorian","module"],function(lang,_79e,date,_79f,i18n,_7a0,_7a1,_7a2,_7a3){var _7a4={};lang.setObject(_7a3.id.replace(/\//g,"."),_7a4);function _7a5(_7a6,_7a7,_7a8,_7a9){return _7a9.replace(/([a-z])\1*/ig,function(_7aa){var s,pad,c=_7aa.charAt(0),l=_7aa.length,_7ab=["abbr","wide","narrow"];switch(c){case "G":s=_7a7[(l<4)?"eraAbbr":"eraNames"][_7a6.getFullYear()<0?0:1];break;case "y":s=_7a6.getFullYear();switch(l){case 1:break;case 2:if(!_7a8.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_7a6.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_7a6.getMonth();if(l<3){s=m+1;pad=true;}else{var _7ac=["months",c=="L"?"standAlone":"format",_7ab[l-3]].join("-");s=_7a7[_7ac][m];}break;case "w":var _7ad=0;s=_7a4._getWeekOfYear(_7a6,_7ad);pad=true;break;case "d":s=_7a6.getDate();pad=true;break;case "D":s=_7a4._getDayOfYear(_7a6);pad=true;break;case "e":case "c":var d=_7a6.getDay();if(l<2){s=(d-_79f.getFirstDayOfWeek(_7a8.locale)+8)%7;break;}case "E":d=_7a6.getDay();if(l<3){s=d+1;pad=true;}else{var _7ae=["days",c=="c"?"standAlone":"format",_7ab[l-3]].join("-");s=_7a7[_7ae][d];}break;case "a":var _7af=_7a6.getHours()<12?"am":"pm";s=_7a8[_7af]||_7a7["dayPeriods-format-wide-"+_7af];break;case "h":case "H":case "K":case "k":var h=_7a6.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_7a6.getMinutes();pad=true;break;case "s":s=_7a6.getSeconds();pad=true;break;case "S":s=Math.round(_7a6.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=_7a4._getZone(_7a6,true,_7a8);if(s){break;}l=4;case "Z":var _7b0=_7a4._getZone(_7a6,false,_7a8);var tz=[(_7b0<=0?"+":"-"),_7a1.pad(Math.floor(Math.abs(_7b0)/60),2),_7a1.pad(Math.abs(_7b0)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_7a9);}if(pad){s=_7a1.pad(s,l);}return s;});};_7a4._getZone=function(_7b1,_7b2,_7b3){if(_7b2){return date.getTimezoneName(_7b1);}else{return _7b1.getTimezoneOffset();}};_7a4.format=function(_7b4,_7b5){_7b5=_7b5||{};var _7b6=i18n.normalizeLocale(_7b5.locale),_7b7=_7b5.formatLength||"short",_7b8=_7a4._getGregorianBundle(_7b6),str=[],_7b9=lang.hitch(this,_7a5,_7b4,_7b8,_7b5);if(_7b5.selector=="year"){return _7ba(_7b8["dateFormatItem-yyyy"]||"yyyy",_7b9);}var _7bb;if(_7b5.selector!="date"){_7bb=_7b5.timePattern||_7b8["timeFormat-"+_7b7];if(_7bb){str.push(_7ba(_7bb,_7b9));}}if(_7b5.selector!="time"){_7bb=_7b5.datePattern||_7b8["dateFormat-"+_7b7];if(_7bb){str.push(_7ba(_7bb,_7b9));}}return str.length==1?str[0]:_7b8["dateTimeFormat-"+_7b7].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(_7bc,key){return str[key];});};_7a4.regexp=function(_7bd){return _7a4._parseInfo(_7bd).regexp;};_7a4._parseInfo=function(_7be){_7be=_7be||{};var _7bf=i18n.normalizeLocale(_7be.locale),_7c0=_7a4._getGregorianBundle(_7bf),_7c1=_7be.formatLength||"short",_7c2=_7be.datePattern||_7c0["dateFormat-"+_7c1],_7c3=_7be.timePattern||_7c0["timeFormat-"+_7c1],_7c4;if(_7be.selector=="date"){_7c4=_7c2;}else{if(_7be.selector=="time"){_7c4=_7c3;}else{_7c4=_7c0["dateTimeFormat-"+_7c1].replace(/\{(\d+)\}/g,function(_7c5,key){return [_7c3,_7c2][key];});}}var _7c6=[],re=_7ba(_7c4,lang.hitch(this,_7c7,_7c6,_7c0,_7be));return {regexp:re,tokens:_7c6,bundle:_7c0};};_7a4.parse=function(_7c8,_7c9){var _7ca=/[\u200E\u200F\u202A\u202E]/g,info=_7a4._parseInfo(_7c9),_7cb=info.tokens,_7cc=info.bundle,re=new RegExp("^"+info.regexp.replace(_7ca,"")+"$",info.strict?"":"i"),_7cd=re.exec(_7c8&&_7c8.replace(_7ca,""));if(!_7cd){return null;}var _7ce=["abbr","wide","narrow"],_7cf=[1970,0,1,0,0,0,0],amPm="",_7d0=_79e.every(_7cd,function(v,i){if(!i){return true;}var _7d1=_7cb[i-1],l=_7d1.length,c=_7d1.charAt(0);switch(c){case "y":if(l!=2&&_7c9.strict){_7cf[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_7d2=year.substring(0,2)*100,_7d3=Math.min(Number(year.substring(2,4))+20,99);_7cf[0]=(v<_7d3)?_7d2+v:_7d2-100+v;}else{if(_7c9.strict){return false;}_7cf[0]=v;}}break;case "M":case "L":if(l>2){var _7d4=_7cc["months-"+(c=="L"?"standAlone":"format")+"-"+_7ce[l-3]].concat();if(!_7c9.strict){v=v.replace(".","").toLowerCase();_7d4=_79e.map(_7d4,function(s){return s.replace(".","").toLowerCase();});}v=_79e.indexOf(_7d4,v);if(v==-1){return false;}}else{v--;}_7cf[1]=v;break;case "E":case "e":case "c":var days=_7cc["days-"+(c=="c"?"standAlone":"format")+"-"+_7ce[l-3]].concat();if(!_7c9.strict){v=v.toLowerCase();days=_79e.map(days,function(d){return d.toLowerCase();});}v=_79e.indexOf(days,v);if(v==-1){return false;}break;case "D":_7cf[1]=0;case "d":_7cf[2]=v;break;case "a":var am=_7c9.am||_7cc["dayPeriods-format-wide-am"],pm=_7c9.pm||_7cc["dayPeriods-format-wide-pm"];if(!_7c9.strict){var _7d5=/\./g;v=v.replace(_7d5,"").toLowerCase();am=am.replace(_7d5,"").toLowerCase();pm=pm.replace(_7d5,"").toLowerCase();}if(_7c9.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_7cf[3]=v;break;case "m":_7cf[4]=v;break;case "s":_7cf[5]=v;break;case "S":_7cf[6]=v;}return true;});var _7d6=+_7cf[3];if(amPm==="p"&&_7d6<12){_7cf[3]=_7d6+12;}else{if(amPm==="a"&&_7d6==12){_7cf[3]=0;}}var _7d7=new Date(_7cf[0],_7cf[1],_7cf[2],_7cf[3],_7cf[4],_7cf[5],_7cf[6]);if(_7c9.strict){_7d7.setFullYear(_7cf[0]);}var _7d8=_7cb.join(""),_7d9=_7d8.indexOf("d")!=-1,_7da=_7d8.indexOf("M")!=-1;if(!_7d0||(_7da&&_7d7.getMonth()>_7cf[1])||(_7d9&&_7d7.getDate()>_7cf[2])){return null;}if((_7da&&_7d7.getMonth()<_7cf[1])||(_7d9&&_7d7.getDate()<_7cf[2])){_7d7=date.add(_7d7,"hour",1);}return _7d7;};function _7ba(_7db,_7dc,_7dd,_7de){var _7df=function(x){return x;};_7dc=_7dc||_7df;_7dd=_7dd||_7df;_7de=_7de||_7df;var _7e0=_7db.match(/(''|[^'])+/g),_7e1=_7db.charAt(0)=="'";_79e.forEach(_7e0,function(_7e2,i){if(!_7e2){_7e0[i]="";}else{_7e0[i]=(_7e1?_7dd:_7dc)(_7e2.replace(/''/g,"'"));_7e1=!_7e1;}});return _7de(_7e0.join(""));};function _7c7(_7e3,_7e4,_7e5,_7e6){_7e6=_7a0.escapeString(_7e6);if(!_7e5.strict){_7e6=_7e6.replace(" a"," ?a");}return _7e6.replace(/([a-z])\1*/ig,function(_7e7){var s,c=_7e7.charAt(0),l=_7e7.length,p2="",p3="";if(_7e5.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":case "L":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":case "e":case "c":s=".+?";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_7e5.am||_7e4["dayPeriods-format-wide-am"],pm=_7e5.pm||_7e4["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_7e5.strict){if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_7e3){_7e3.push(_7e7);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _7e8=[];_7a4.addCustomFormats=function(_7e9,_7ea){_7e8.push({pkg:_7e9,name:_7ea});};_7a4._getGregorianBundle=function(_7eb){var _7ec={};_79e.forEach(_7e8,function(desc){var _7ed=i18n.getLocalization(desc.pkg,desc.name,_7eb);_7ec=lang.mixin(_7ec,_7ed);},this);return _7ec;};_7a4.addCustomFormats(_7a3.id.replace(/\/date\/locale$/,".cldr"),"gregorian");_7a4.getNames=function(item,type,_7ee,_7ef){var _7f0,_7f1=_7a4._getGregorianBundle(_7ef),_7f2=[item,_7ee,type];if(_7ee=="standAlone"){var key=_7f2.join("-");_7f0=_7f1[key];if(_7f0[0]==1){_7f0=undefined;}}_7f2[1]="format";return (_7f0||_7f1[_7f2.join("-")]).concat();};_7a4.isWeekend=function(_7f3,_7f4){var _7f5=_79f.getWeekend(_7f4),day=(_7f3||new Date()).getDay();if(_7f5.end<_7f5.start){_7f5.end+=7;if(day<_7f5.start){day+=7;}}return day>=_7f5.start&&day<=_7f5.end;};_7a4._getDayOfYear=function(_7f6){return date.difference(new Date(_7f6.getFullYear(),0,1,_7f6.getHours()),_7f6)+1;};_7a4._getWeekOfYear=function(_7f7,_7f8){if(arguments.length==1){_7f8=0;}var _7f9=new Date(_7f7.getFullYear(),0,1).getDay(),adj=(_7f9-_7f8+7)%7,week=Math.floor((_7a4._getDayOfYear(_7f7)+adj-1)/7);if(_7f9==_7f8){week++;}return week;};return _7a4;});},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(lang,i18n){var _7fa={};lang.setObject("dojo.cldr.supplemental",_7fa);_7fa.getFirstDayOfWeek=function(_7fb){var _7fc={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0};var _7fd=_7fa._region(_7fb);var dow=_7fc[_7fd];return (dow===undefined)?1:dow;};_7fa._region=function(_7fe){_7fe=i18n.normalizeLocale(_7fe);var tags=_7fe.split("-");var _7ff=tags[1];if(!_7ff){_7ff={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[tags[0]];}else{if(_7ff.length==4){_7ff=tags[2];}}return _7ff;};_7fa.getWeekend=function(_800){var _801={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5},_802={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6},_803=_7fa._region(_800),_804=_801[_803],end=_802[_803];if(_804===undefined){_804=6;}if(end===undefined){end=0;}return {start:_804,end:end};};return _7fa;});},"dijit/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/dom","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html","./a11yclick","./hccss"],function(_805,_806,_807,date,_808,_809,dom,_80a,lang,on,has,_80b,_80c,_80d,_80e){var _80f=_806("dijit.CalendarLite",[_80c,_80d],{templateString:_80e,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\" scope=\"col\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),_setSummaryAttr:"gridNode",baseClass:"dijitCalendar dijitCalendarLite",_isValidDate:function(_810){return _810&&!isNaN(_810)&&typeof _810=="object"&&_810.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){var _811=this._get("value");if(_811&&!isNaN(_811)){var _812=new this.dateClassObj(_811);_812.setHours(0,0,0,0);if(_812.getDate()<_811.getDate()){_812=this.dateModule.add(_812,"hour",1);}return _812;}else{return null;}},_setValueAttr:function(_813,_814){if(typeof _813=="string"){_813=_809.fromISOString(_813);}_813=this._patchDate(_813);if(this._isValidDate(_813)&&!this.isDisabledDate(_813,this.lang)){this._set("value",_813);this.set("currentFocus",_813);this._markSelectedDates([_813]);if(this._created&&(_814||typeof _814=="undefined")){this.onChange(this.get("value"));}}else{this._set("value",null);this._markSelectedDates([]);}},_patchDate:function(_815){if(_815){_815=new this.dateClassObj(_815);_815.setHours(1,0,0,0);}return _815;},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(node.ownerDocument.createTextNode(text));},_populateGrid:function(){var _816=new this.dateClassObj(this.currentFocus);_816.setDate(1);_816=this._patchDate(_816);var _817=_816.getDay(),_818=this.dateModule.getDaysInMonth(_816),_819=this.dateModule.getDaysInMonth(this.dateModule.add(_816,"month",-1)),_81a=new this.dateClassObj(),_81b=_807.getFirstDayOfWeek(this.lang);if(_81b>_817){_81b-=7;}if(!this.summary){var _81c=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_816);this.gridNode.setAttribute("summary",_81c[_816.getMonth()]);}this._date2cell={};_805.forEach(this.dateCells,function(_81d,idx){var i=idx+_81b;var date=new this.dateClassObj(_816),_81e,_81f="dijitCalendar",adj=0;if(i<_817){_81e=_819-_817+i+1;adj=-1;_81f+="Previous";}else{if(i>=(_817+_818)){_81e=i-_817-_818+1;adj=1;_81f+="Next";}else{_81e=i-_817+1;_81f+="Current";}}if(adj){date=this.dateModule.add(date,"month",adj);}date.setDate(_81e);if(!this.dateModule.compare(date,_81a,"date")){_81f="dijitCalendarCurrentDate "+_81f;}if(this.isDisabledDate(date,this.lang)){_81f="dijitCalendarDisabledDate "+_81f;_81d.setAttribute("aria-disabled","true");}else{_81f="dijitCalendarEnabledDate "+_81f;_81d.removeAttribute("aria-disabled");_81d.setAttribute("aria-selected","false");}var _820=this.getClassForDate(date,this.lang);if(_820){_81f=_820+" "+_81f;}_81d.className=_81f+"Month dijitCalendarDateTemplate";var _821=date.valueOf();this._date2cell[_821]=_81d;_81d.dijitDateValue=_821;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);},_populateControls:function(){var _822=new this.dateClassObj(this.currentFocus);_822.setDate(1);this.monthWidget.set("month",_822);var y=_822.getFullYear()-1;var d=new this.dateClassObj();_805.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(_823){this.dateModule=_823.datePackage?lang.getObject(_823.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=_823.datePackage?lang.getObject(_823.datePackage+".locale",false):_808;},_createMonthWidget:function(){return _80f._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_824=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_825=_807.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_80b.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _824[_825++%7];});var r=_80b.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[r,r,r,r,r,r].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);dom.setSelectable(this.domNode,false);var _826=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",_826,false);},postCreate:function(){this.inherited(arguments);this._connectControls();},_connectControls:function(){var _827=lang.hitch(this,function(_828,part,_829){this[_828].dojoClick=true;return on(this[_828],"click",lang.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,part,_829));}));});this.own(_827("incrementMonth","month",1),_827("decrementMonth","month",-1),_827("nextYearLabelNode","year",1),_827("previousYearLabelNode","year",-1));},_setCurrentFocusAttr:function(date,_82a){var _82b=this.currentFocus,_82c=this._getNodeByDate(_82b);date=this._patchDate(date);this._set("currentFocus",date);if(!this._date2cell||this.dateModule.difference(_82b,date,"month")!=0){this._populateGrid();this._populateControls();this._markSelectedDates([this.value]);}var _82d=this._getNodeByDate(date);_82d.setAttribute("tabIndex",this.tabIndex);if(this.focused||_82a){_82d.focus();}if(_82c&&_82c!=_82d){if(has("webkit")){_82c.setAttribute("tabIndex","-1");}else{_82c.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){evt.stopPropagation();evt.preventDefault();for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_80a.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_getNodeByDate:function(_82e){_82e=this._patchDate(_82e);return _82e&&this._date2cell?this._date2cell[_82e.valueOf()]:null;},_markSelectedDates:function(_82f){function mark(_830,cell){_80a.toggle(cell,"dijitCalendarSelectedDate",_830);cell.setAttribute("aria-selected",_830?"true":"false");};_805.forEach(this._selectedCells||[],lang.partial(mark,false));this._selectedCells=_805.filter(_805.map(_82f,this._getNodeByDate,this),function(n){return n;});_805.forEach(this._selectedCells,lang.partial(mark,true));},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});_80f._MonthWidget=_806("dijit.CalendarLite._MonthWidget",_80c,{_setMonthAttr:function(_831){var _832=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_831),_833=(has("ie")==6?"":"<div class='dijitSpacer'>"+_805.map(_832,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_833+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_832[_831.getMonth()]+"</div>";}});return _80f;});},"dijit/form/_DateTimeTextBox":function(){define(["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_834,_835,_836,lang,_837,_838,_839){new Date("X");var _83a=_836("dijit.form._DateTimeTextBox",[_837,_838],{templateString:_839,hasDownArrow:true,cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_unboundedConstraints:{},pattern:_834.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _83b=this._isInvalidDate(val1);var _83c=this._isInvalidDate(val2);if(_83b||_83c){return (_83b&&_83c)?0:(!_83b?1:-1);}var _83d=this.format(val1,this._unboundedConstraints),_83e=this.format(val2,this._unboundedConstraints),_83f=this.parse(_83d,this._unboundedConstraints),_840=this.parse(_83e,this._unboundedConstraints);return _83d==_83e?0:date.compare(_83f,_840,this._selector);},autoWidth:true,format:function(_841,_842){if(!_841){return "";}return this.dateLocaleModule.format(_841,_842);},"parse":function(_843,_844){return this.dateLocaleModule.parse(_843,_844)||(this._isEmpty(_843)?null:undefined);},serialize:function(val,_845){if(val.toGregorian){val=val.toGregorian();}return _835.toISOString(val,_845);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(_846){_846=_846||{};this.dateModule=_846.datePackage?lang.getObject(_846.datePackage,false):date;this.dateClassObj=this.dateModule.Date||Date;if(!(this.dateClassObj instanceof Date)){this.value=new this.dateClassObj(this.value);}this.dateLocaleModule=_846.datePackage?lang.getObject(_846.datePackage+".locale",false):_834;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_847){_847.selector=this._selector;_847.fullYear=true;var _848=_835.fromISOString;if(typeof _847.min=="string"){_847.min=_848(_847.min);if(!(this.dateClassObj instanceof Date)){_847.min=new this.dateClassObj(_847.min);}}if(typeof _847.max=="string"){_847.max=_848(_847.max);if(!(this.dateClassObj instanceof Date)){_847.max=new this.dateClassObj(_847.max);}}this.inherited(arguments);this._unboundedConstraints=lang.mixin({},this.constraints,{min:null,max:null});},_isInvalidDate:function(_849){return !_849||isNaN(_849)||typeof _849!="object"||_849.toString()==this._invalidDate;},_setValueAttr:function(_84a,_84b,_84c){if(_84a!==undefined){if(typeof _84a=="string"){_84a=_835.fromISOString(_84a);}if(this._isInvalidDate(_84a)){_84a=null;}if(_84a instanceof Date&&!(this.dateClassObj instanceof Date)){_84a=new this.dateClassObj(_84a);}}this.inherited(arguments,[_84a,_84b,_84c]);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_84a,false);}},_set:function(attr,_84d){if(attr=="value"){if(_84d instanceof Date&&!(this.dateClassObj instanceof Date)){_84d=new this.dateClassObj(_84d);}var _84e=this._get("value");if(_84e instanceof this.dateClassObj&&this.compare(_84d,_84e)==0){return;}}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this._set("dropDownDefaultValue",val);},openDropDown:function(_84f){if(this.dropDown){this.dropDown.destroy();}var _850=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_851=this,_852=this.get("value");this.dropDown=new _850({onChange:function(_853){_851.set("value",_853,true);},id:this.id+"_popup",dir:_851.dir,lang:_851.lang,value:_852,textDir:_851.textDir,currentFocus:!this._isInvalidDate(_852)?_852:this.dropDownDefaultValue,constraints:_851.constraints,filterString:_851.filterString,datePackage:_851.datePackage,isDisabledDate:function(date){return !_851.rangeCheck(date,_851.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_854,_855){this._setValueAttr(this.parse(_854,this.constraints),_855,_854);}});return _83a;});},"dijit/form/TimeTextBox":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_856,keys,lang,_857,_858){return _856("dijit.form.TimeTextBox",_858,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_857,_selector:"time",value:new Date(""),maxHeight:-1,_onKey:function(evt){if(this.disabled||this.readOnly){return;}this.inherited(arguments);switch(evt.keyCode){case keys.ENTER:case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:break;default:this.defer(function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();});}}});});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/query","dojo/mouse","dojo/on","./_WidgetBase","./form/_ListMouseMixin"],function(_859,_85a,_85b,_85c,_85d,_85e,_85f,_860,keys,lang,has,_861,_862,on,_863,_864){var _865=_85d("dijit._TimePicker",[_863,_864],{baseClass:"dijitTimePicker",pickerMin:"T00:00:00",pickerMax:"T23:59:59",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_85c.toISOString,buildRendering:function(){this.inherited(arguments);this.containerNode=this.domNode;this.timeMenu=this.domNode;},setValue:function(_866){_860.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_866);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_867,_868,_869,_86a){var _86b=[];for(var i=0;i<this._maxIncrement;i++){var n=this._createOption(i);if(n){_86b.push(n);}}return _86b;},_showText:function(){var _86c=_85c.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=_86c(this.clickableIncrement);this._visibleIncrementDate=_86c(this.visibleIncrement);var _86d=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_86e=_86d(this._clickableIncrementDate),_86f=_86d(this._visibleIncrementDate),time=(this.value||this.currentFocus).getTime();this._refDate=_86c(this.pickerMin);this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=_86f/_86e;var _870=_86c(this.pickerMax);_870.setFullYear(1970,0,1);var _871=(_870.getTime()-this._refDate.getTime())*0.001;this._maxIncrement=Math.ceil((_871+1)/_86e);var _872=this._getFilteredNodes();_859.forEach(_872,function(n){this.domNode.appendChild(n);},this);if(!_872.length&&this.filterString){this.filterString="";this._showText();}},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_873){for(var key in {clickableIncrement:1,visibleIncrement:1,pickerMin:1,pickerMax:1}){if(key in _873){this[key]=_873[key];}}if(!_873.locale){_873.locale=this.lang;}},_createOption:function(_874){var date=new Date(this._refDate);var _875=this._clickableIncrementDate;date.setHours(date.getHours()+_875.getHours()*_874,date.getMinutes()+_875.getMinutes()*_874,date.getSeconds()+_875.getSeconds()*_874);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _876=_85b.format(date,this.constraints);if(this.filterString&&_876.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=this.ownerDocument.createElement("div");div.className=this.baseClass+"Item";div.date=date;div.idx=_874;_85f.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_876},div);if(_874%this._visibleIncrement<1&&_874%this._visibleIncrement>-1){_85e.add(div,this.baseClass+"Marker");}else{if(!(_874%this._clickableIncrement)){_85e.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_85e.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_85a.compare(this.value,date,this.constraints.selector)){div.selected=true;_85e.add(div,this.baseClass+"ItemSelected");this._selectedDiv=div;if(_85e.contains(div,this.baseClass+"Marker")){_85e.add(div,this.baseClass+"MarkerSelected");}else{_85e.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},onOpen:function(){this.inherited(arguments);this.set("selected",this._selectedDiv);},_onOptionSelected:function(tgt){var _877=tgt.target.date||tgt.target.parentNode.date;if(!_877||this.isDisabledDate(_877)){return;}this._highlighted_option=null;this.set("value",_877);this.onChange(_877);},onChange:function(){},_highlightOption:function(node,_878){if(!node){return;}if(_878){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_85e.toggle(node,this.baseClass+"ItemHover",_878);if(_85e.contains(node,this.baseClass+"Marker")){_85e.toggle(node,this.baseClass+"MarkerHover",_878);}else{_85e.toggle(node,this.baseClass+"TickHover",_878);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW){this.selectNextNode();e.stopPropagation();e.preventDefault();return false;}else{if(e.keyCode==keys.UP_ARROW){this.selectPreviousNode();e.stopPropagation();e.preventDefault();return false;}else{if(e.keyCode==keys.ENTER||e.keyCode===keys.TAB){if(!this._keyboardSelected&&e.keyCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.keyCode===keys.TAB;}}}return undefined;},onHover:function(node){this._highlightOption(node,true);},onUnhover:function(node){this._highlightOption(node,false);},onSelect:function(node){this._highlightOption(node,true);},onDeselect:function(node){this._highlightOption(node,false);},onClick:function(node){this._onOptionSelected({target:node});}});return _865;});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/keys","./_Spinner","./NumberTextBox"],function(_879,keys,_87a,_87b){return _879("dijit.form.NumberSpinner",[_87a,_87b.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(val,_87c){var tc=this.constraints,v=isNaN(val),_87d=!isNaN(tc.max),_87e=!isNaN(tc.min);if(v&&_87c!=0){val=(_87c>0)?_87e?tc.min:_87d?tc.max:0:_87d?this.constraints.max:_87e?tc.min:0;}var _87f=val+_87c;if(v||isNaN(_87f)){return val;}if(_87d&&(_87f>tc.max)){_87f=tc.max;}if(_87e&&(_87f<tc.min)){_87f=tc.min;}return _87f;},_onKeyDown:function(e){if(this.disabled||this.readOnly){return;}if((e.keyCode==keys.HOME||e.keyCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _880=this.constraints[(e.keyCode==keys.HOME?"min":"max")];if(typeof _880=="number"){this._setValueAttr(_880,false);}e.stopPropagation();e.preventDefault();}}});});},"dijit/form/_Spinner":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/mouse","dojo/on","../typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_881,keys,lang,has,_882,on,_883,_884,_885,_886){return _881("dijit.form._Spinner",_884,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_885,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_887,_888,_889){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_888*_889),false);_886.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_88a,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.keyCode;inc=(key==keys.PAGE_UP||key==keys.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==keys.UP_ARROW||key==keys.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_88a==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){evt.stopPropagation();evt.preventDefault();var _88b=evt.wheelDelta/120;if(Math.floor(_88b)!=_88b){_88b=evt.wheelDelta>0?1:-1;}var _88c=evt.detail?(evt.detail*-1):_88b;if(_88c!==0){var node=this[(_88c>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_88c,this.smallDelta);if(this._wheelTimer){this._wheelTimer.remove();}this._wheelTimer=this.defer(function(){this._arrowReleased(node);},50);}},_setConstraintsAttr:function(_88d){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){this.focusNode.setAttribute("aria-valuemin",this.constraints.min);}else{this.focusNode.removeAttribute("aria-valuemin");}if(this.constraints.max!==undefined){this.focusNode.setAttribute("aria-valuemax",this.constraints.max);}else{this.focusNode.removeAttribute("aria-valuemax");}}},_setValueAttr:function(_88e,_88f){this.focusNode.setAttribute("aria-valuenow",_88e);this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_882.wheel,lang.hitch(this,"_mouseWheeled")),_883.addListener(this.upArrowNode,this.textbox,{keyCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_883.addListener(this.downArrowNode,this.textbox,{keyCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_883.addListener(this.upArrowNode,this.textbox,{keyCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),_883.addListener(this.downArrowNode,this.textbox,{keyCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_890,_891,_892){return _890("dijit.form.ComboBox",[_891,_892],{});});},"dijit/form/MultiSelect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/sniff","dojo/query","./_FormValueWidget","dojo/NodeList-dom"],function(_893,_894,_895,has,_896,_897){var _898=_894("dijit.form.MultiSelect"+(has("dojo-bidi")?"_NoBidi":""),_897,{size:7,baseClass:"dijitMultiSelect",templateString:"<select multiple='multiple' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_899){_899.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _89a=_899.domNode.scrollTop;_899.domNode.scrollTop=0;_899.domNode.scrollTop=_89a;},this);this._set("value",this.get("value"));},getSelected:function(){return _896("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _893.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setMultipleAttr:function(val){},_setValueAttr:function(_89b){if(has("android")){_896("option",this.containerNode).orphan().forEach(function(n){var _89c=n.ownerDocument.createElement("option");_89c.value=n.value;_89c.selected=(_893.indexOf(_89b,n.value)!=-1);_89c.text=n.text;_89c.originalText=n.originalText;this.containerNode.appendChild(_89c);},this);}else{_896("option",this.containerNode).forEach(function(n){n.selected=(_893.indexOf(_89b,n.value)!=-1);});}this.inherited(arguments);},invertSelection:function(_89d){var val=[];_896("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_89d===false||_89d==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_895.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});if(has("dojo-bidi")){_898=_894("dijit.form.MultiSelect",_898,{addSelected:function(_89e){_89e.getSelected().forEach(function(n){n.text=this.enforceTextDirWithUcc(this.restoreOriginalText(n),n.text);},this);this.inherited(arguments);},_setTextDirAttr:function(_89f){if((this.textDir!=_89f||!this._created)&&this.enforceTextDirWithUcc){this._set("textDir",_89f);_896("option",this.containerNode).forEach(function(_8a0){if(!this._created&&_8a0.value===_8a0.text){_8a0.value=_8a0.text;}_8a0.text=this.enforceTextDirWithUcc(_8a0,_8a0.originalText||_8a0.text);},this);}}});}return _898;});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_8a1,_8a2,_8a3,_8a4,_8a5,i18n,keys,lang,on,has,_8a6,_8a7,_8a8,_8a9,_8aa,_8ab,_8ac,_8ad,_8ae){var _8af=_8a2("dijit.form._SelectMenu",_8a8,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _8b0=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_8a1.forEach(this.parentWidget._getChildren(),function(_8b1){if(_8b1.option&&(val===_8b1.option.value)){_8b0=true;this.focusChild(_8b1,false);}},this);}if(!_8b0){this.inherited(arguments);}}});var _8b2=_8a2("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_8a6,_8a7,_8ac],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_8ae,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _8af({id:this.id+"_menu",parentWidget:this});_8a4.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_8b3){if(!_8b3.value&&!_8b3.label){return new _8aa({ownerDocument:this.ownerDocument});}else{var _8b4=lang.hitch(this,"_setValueAttr",_8b3);var item=new _8a9({option:_8b3,label:(this.labelType==="text"?(_8b3.label||"").toString().replace(/&/g,"&amp;").replace(/</g,"&lt;"):_8b3.label)||this.emptyLabel,onClick:_8b4,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_8b3.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_8b5){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_8b5));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},focusChild:function(_8b6){if(_8b6){this.set("value",_8b6.option);}},_getFirst:function(){var _8b7=this._getChildren();return _8b7.length?_8b7[0]:null;},_getLast:function(){var _8b8=this._getChildren();return _8b8.length?_8b8[_8b8.length-1]:null;},childSelector:function(node){var node=_8ad.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_8b9,_8ba){if(item){this.focusChild(item);}},_loadChildren:function(_8bb){if(_8bb===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_8a1.forEach(this._getChildren(),function(_8bc){_8bc.destroyRecursive();});var item=new _8a9({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_8bd){this.inherited(arguments);_8a3.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_8be){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_8bf){this._set("required",_8bf);this.focusNode.setAttribute("aria-required",_8bf);this._refreshState();},_setOptionsAttr:function(_8c0){this._isLoaded=false;this._set("options",_8c0);},_setDisplay:function(_8c1){var lbl=(this.labelType==="text"?(_8c1||"").replace(/&/g,"&amp;").replace(/</g,"&lt;"):_8c1)||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_8c2){var _8c3=this.disabled||this.isValid(_8c2);this._set("state",_8c3?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_8c3?"false":"true");var _8c4=_8c3?"":this._missingMsg;if(_8c4&&this.focused&&this._hasBeenBlurred){_8ab.show(_8c4,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_8ab.hide(this.domNode);}this._set("message",_8c4);return _8c3;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_8ab.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _8c5=this._keyNavCodes;delete _8c5[keys.LEFT_ARROW];delete _8c5[keys.RIGHT_ARROW];},_setStyleAttr:function(_8c6){this.inherited(arguments);_8a4.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_8c7){this._loadChildren(true);this._isLoaded=true;_8c7();},destroy:function(_8c8){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_8c8);delete this.dropDown;}_8ab.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_8ab.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_8b2=_8a2("dijit.form.Select",_8b2,{_setDisplay:function(_8c9){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_8b2._Menu=_8af;function _8ca(_8cb){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_8cb,evt));}else{this.inherited(_8cb,arguments);}};};_8b2.prototype._onContainerKeydown=_8ca("_onContainerKeydown");_8b2.prototype._onContainerKeypress=_8ca("_onContainerKeypress");return _8b2;});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_8cc,_8cd,_8ce,_8cf,_8d0,dom,_8d1,_8d2,lang,_8d3,when,_8d4,_8d5){var _8d6=_8d0("dijit.form._FormSelectWidget",_8d5,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_8d7){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_8d7});}},queryOptions:null,_setQueryOptionsAttr:function(_8d8){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_8d8});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_8d9){var opts=this.options||[];if(_8d9==null){return opts;}if(lang.isArray(_8d9)){return _8cc.map(_8d9,"return this.getOptions(item);",this);}if(lang.isString(_8d9)){_8d9={value:_8d9};}if(lang.isObject(_8d9)){if(!_8cc.some(opts,function(_8da,idx){for(var a in _8d9){if(!(a in _8da)||_8da[a]!=_8d9[a]){return false;}}_8d9=idx;return true;})){_8d9=-1;}}if(_8d9>=0&&_8d9<opts.length){return opts[_8d9];}return null;},addOption:function(_8db){_8cc.forEach(lang.isArray(_8db)?_8db:[_8db],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_8dc){var _8dd=this.getOptions(lang.isArray(_8dc)?_8dc:[_8dc]);_8cc.forEach(_8dd,function(_8de){if(_8de){this.options=_8cc.filter(this.options,function(node){return (node.value!==_8de.value||node.label!==_8de.label);});this._removeOptionItem(_8de);}},this);this._loadChildren();},updateOption:function(_8df){_8cc.forEach(lang.isArray(_8df)?_8df:[_8df],function(i){var _8e0=this.getOptions({value:i.value}),k;if(_8e0){for(k in i){_8e0[k]=i[k];}}},this);this._loadChildren();},setStore:function(_8e1,_8e2,_8e3){_8d2.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_8e1,_8e2,_8e3);},_deprecatedSetStore:function(_8e4,_8e5,_8e6){var _8e7=this.store;_8e6=_8e6||{};if(_8e7!==_8e4){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_8e4.get){lang.mixin(_8e4,{_oldAPI:true,get:function(id){var _8e8=new _8cd();this.fetchItemByIdentity({identity:id,onItem:function(_8e9){_8e8.resolve(_8e9);},onError:function(_8ea){_8e8.reject(_8ea);}});return _8e8.promise;},query:function(_8eb,_8ec){var _8ed=new _8cd(function(){if(_8ee.abort){_8ee.abort();}});_8ed.total=new _8cd();var _8ee=this.fetch(lang.mixin({query:_8eb,onBegin:function(_8ef){_8ed.total.resolve(_8ef);},onComplete:function(_8f0){_8ed.resolve(_8f0);},onError:function(_8f1){_8ed.reject(_8f1);}},_8ec));return new _8d4(_8ed);}});if(_8e4.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_8ce.after(_8e4,"onNew",lang.hitch(this,"_onNewItem"),true),_8ce.after(_8e4,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_8ce.after(_8e4,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_8e4);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_8e6.query){this._set("query",_8e6.query);}if(_8e6.queryOptions){this._set("queryOptions",_8e6.queryOptions);}if(_8e4&&_8e4.query){this._loadingStore=true;this.onLoadDeferred=new _8cd();this._queryRes=_8e4.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_8f2){if(this.sortByLabel&&!_8e6.sort&&_8f2.length){if(_8e4.getValue){_8f2.sort(_8cf.createSortFunction([{attribute:_8e4.getLabelAttributes(_8f2[0])[0]}],_8e4));}else{var _8f3=this.labelAttr;_8f2.sort(function(a,b){return a[_8f3]>b[_8f3]?1:b[_8f3]>a[_8f3]?-1:0;});}}if(_8e6.onFetch){_8f2=_8e6.onFetch.call(this,_8f2,_8e6);}_8cc.forEach(_8f2,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_8f4,_8f5,_8f6){if(_8f5==_8f6){this._onSetItem(_8f4);}else{if(_8f5!=-1){this._onDeleteItem(_8f4);}if(_8f6!=-1){this._onNewItem(_8f4);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_8e5);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_8f2);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _8e7;},_setValueAttr:function(_8f7,_8f8){if(!this._onChangeActive){_8f8=null;}if(this._loadingStore){this._pendingValue=_8f7;return;}if(_8f7==null){return;}if(lang.isArray(_8f7)){_8f7=_8cc.map(_8f7,function(_8f9){return lang.isObject(_8f9)?_8f9:{value:_8f9};});}else{if(lang.isObject(_8f7)){_8f7=[_8f7];}else{_8f7=[{value:_8f7}];}}_8f7=_8cc.filter(this.getOptions(_8f7),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_8f7[0]||!_8f7[0].value)&&!!opts.length){_8f7[0]=opts[0];}_8cc.forEach(opts,function(opt){opt.selected=_8cc.some(_8f7,function(v){return v.value===opt.value;});});var val=_8cc.map(_8f7,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_8cc.map(_8f7,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_8f8]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_8cc.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_8fa){this.set("value",this.getOptions(typeof _8fa=="string"?{label:_8fa}:_8fa));},_loadChildren:function(){if(this._loadingStore){return;}_8cc.forEach(this._getChildren(),function(_8fb){_8fb.destroyRecursive();});_8cc.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_8cc.forEach(this._getChildren(),function(_8fc){var _8fd=_8cc.some(val,function(v){return _8fc.option&&(v===_8fc.option.value);});if(_8fd&&!self.multiple){self.focusedChild=_8fc;}_8d1.toggle(_8fc.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_8fd);_8fc.domNode.setAttribute("aria-selected",_8fd?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_8cc.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _8cc.map(_8cc.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_8fe){if(!_8fe||!_8fe.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _8ff=this.store;this.removeOption({value:_8ff.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _900=this.store,_901=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_900.getLabel(item),_902=(_901?_900.getIdentity(item):null);return {value:_902,label:_901,item:item};},_addOptionForItem:function(item){var _903=this.store;if(_903.isItemLoaded&&!_903.isItemLoaded(item)){_903.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _904=this._getOptionObjForItem(item);this.addOption(_904);},constructor:function(_905){this._oValue=(_905||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_8d3("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_8d2._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_8ce.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _906=this.store;if(_906&&(_906.getIdentity||_906.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_906,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _8d6;});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _907={};lang.setObject("dojo.data.util.sorter",_907);_907.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_907.createSortFunction=function(_908,_909){var _90a=[];function _90b(attr,dir,comp,s){return function(_90c,_90d){var a=s.getValue(_90c,attr);var b=s.getValue(_90d,attr);return dir*comp(a,b);};};var _90e;var map=_909.comparatorMap;var bc=_907.basicComparator;for(var i=0;i<_908.length;i++){_90e=_908[i];var attr=_90e.attribute;if(attr){var dir=(_90e.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_90a.push(_90b(attr,dir,comp,_909));}}return function(rowA,rowB){var i=0;while(i<_90a.length){var ret=_90a[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _907;});},"dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","dojo/mouse","dojo/on","../_base/manager","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_90f,_910,move,fx,_911,_912,keys,lang,has,_913,_914,_915,_916,on,_917,_918,_919,_91a,_91b,_91c,_91d){var _91e=_910("dijit.form._SliderMover",_914,{onMouseMove:function(e){var _91f=this.widget;var _920=_91f._abspos;if(!_920){_920=_91f._abspos=_911.position(_91f.sliderBarContainer,true);_91f._setPixelValue_=lang.hitch(_91f,"_setPixelValue");_91f._isReversed_=_91f._isReversed();}var _921=e[_91f._mousePixelCoord]-_920[_91f._startingPixelCoord];_91f._setPixelValue_(_91f._isReversed_?(_920[_91f._pixelCount]-_921):_921,_920[_91f._pixelCount],false);},destroy:function(e){_914.prototype.destroy.apply(this,arguments);var _922=this.widget;_922._abspos=null;_922._setValueAttr(_922.value,true);}});var _923=_910("dijit.form.HorizontalSlider",[_91b,_91c],{templateString:_91d,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_917.defaultDuration,_setIdAttr:"",_setNameAttr:"valueNode",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}this._setValueAttr(this.value,true);},_onKeyDown:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.keyCode){case keys.HOME:this._setValueAttr(this.minimum,false);break;case keys.END:this._setValueAttr(this.maximum,false);break;case ((this._descending||this.isLeftToRight())?keys.RIGHT_ARROW:keys.LEFT_ARROW):case (this._descending===false?keys.DOWN_ARROW:keys.UP_ARROW):case (this._descending===false?keys.PAGE_DOWN:keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?keys.LEFT_ARROW:keys.RIGHT_ARROW):case (this._descending===false?keys.UP_ARROW:keys.DOWN_ARROW):case (this._descending===false?keys.PAGE_UP:keys.PAGE_DOWN):this.decrement(e);break;default:return;}e.stopPropagation();e.preventDefault();},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_918.focus(this.sliderHandle);}e.stopPropagation();e.preventDefault();},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_918.focus(this.sliderHandle);e.stopPropagation();e.preventDefault();var _924=_911.position(this.sliderBarContainer,true);var _925=e[this._mousePixelCoord]-_924[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_924[this._pixelCount]-_925):_925,_924[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_926,_927,_928){if(this.disabled||this.readOnly){return;}var _929=this.discreteValues;if(_929<=1||_929==Infinity){_929=_927;}_929--;var _92a=_927/_929;var _92b=Math.round(_926/_92a);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_92b/_929+this.minimum,this.maximum),this.minimum),_928);},_setValueAttr:function(_92c,_92d){this._set("value",_92c);this.valueNode.value=_92c;this.focusNode.setAttribute("aria-valuenow",_92c);this.inherited(arguments);var _92e=this.maximum>this.minimum?((_92c-this.minimum)/(this.maximum-this.minimum)):0;var _92f=(this._descending===false)?this.remainingBar:this.progressBar;var _930=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_92d&&this.slideDuration>0&&_92f.style[this._progressPixelSize]){var _931=this;var _932={};var _933=parseFloat(_92f.style[this._progressPixelSize]);var _934=this.slideDuration*(_92e-_933/100);if(_934==0){return;}if(_934<0){_934=0-_934;}_932[this._progressPixelSize]={start:_933,end:_92e*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_92f,duration:_934,onAnimate:function(v){_930.style[_931._progressPixelSize]=(100-parseFloat(v[_931._progressPixelSize]))+"%";},onEnd:function(){delete _931._inProgressAnim;},properties:_932});this._inProgressAnim.play();}else{_92f.style[this._progressPixelSize]=(_92e*100)+"%";_930.style[this._progressPixelSize]=((1-_92e)*100)+"%";}},_bumpValue:function(_935,_936){if(this.disabled||this.readOnly||(this.maximum<=this.minimum)){return;}var s=_912.getComputedStyle(this.sliderBarContainer);var c=_911.getContentBox(this.sliderBarContainer,s);var _937=this.discreteValues;if(_937<=1||_937==Infinity){_937=c[this._pixelCount];}_937--;var _938=(this.value-this.minimum)*_937/(this.maximum-this.minimum)+_935;if(_938<0){_938=0;}if(_938>_937){_938=_937;}_938=_938*(this.maximum-this.minimum)/_937+this.minimum;this._setValueAttr(_938,_936);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.keyCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.keyCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){evt.stopPropagation();evt.preventDefault();this._bumpValue(evt.wheelDelta<0?-1:1,true);},startup:function(){if(this._started){return;}_90f.forEach(this.getChildren(),function(_939){if(this[_939.container]!=this.containerNode){this[_939.container].appendChild(_939.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_93a,_93b,e){if(_93a==-1){this._setValueAttr(this.value,true);}else{this[(_93b==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);}},buildRendering:function(){this.inherited(arguments);if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}var _93c=_915("label[for=\""+this.id+"\"]");if(_93c.length){if(!_93c[0].id){_93c[0].id=this.id+"_label";}this.focusNode.setAttribute("aria-labelledby",_93c[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this.own(_919.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),_919.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.own(on(this.domNode,_916.wheel,lang.hitch(this,"_mouseWheeled")));var _93d=_910(_91e,{widget:this});this._movable=new _913(this.sliderHandle,{mover:_93d});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});_923._Mover=_91e;return _923;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_93e,_93f,_940,dnd,_941,_942){var _943=_93e("dojo.dnd.move.constrainedMoveable",_942,{constraints:function(){},within:false,constructor:function(node,_944){if(!_944){_944={};}this.constraints=_944.constraints;this.within=_944.within;},onFirstMove:function(_945){var c=this.constraintBox=this.constraints.call(this,_945);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_93f.getMarginSize(_945.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_946,_947){var c=this.constraintBox,s=_946.node.style;this.onMoving(_946,_947);_947.l=_947.l<c.l?c.l:c.r<_947.l?c.r:_947.l;_947.t=_947.t<c.t?c.t:c.b<_947.t?c.b:_947.t;s.left=_947.l+"px";s.top=_947.t+"px";this.onMoved(_946,_947);}});var _948=_93e("dojo.dnd.move.boxConstrainedMoveable",_943,{box:{},constructor:function(node,_949){var box=_949&&_949.box;this.constraints=function(){return box;};}});var _94a=_93e("dojo.dnd.move.parentConstrainedMoveable",_943,{area:"content",constructor:function(node,_94b){var area=_94b&&_94b.area;this.constraints=function(){var n=this.node.parentNode,s=_940.getComputedStyle(n),mb=_93f.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_93f.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=_93f.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=_93f.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_943,boxConstrainedMoveable:_948,parentConstrainedMoveable:_94a};});},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_94c,_94d,_94e){return _94c("dijit.form.VerticalSlider",_94d,{templateString:_94e,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_94f,_950,_951){return _94f("dijit.form.HorizontalRule",[_950,_951],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,buildRendering:function(){this.inherited(arguments);var _952;if(this.count==1){_952=this._genHTML(50,0);}else{var i;var _953=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_952=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_952+=this._genHTML(_953*i,i);}_952+=this._genHTML(100,this.count-1);}else{_952=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_952+=this._genHTML(100-_953*i,i);}_952+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_952;}});});},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_954,_955){return _954("dijit.form.VerticalRule",_955,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/has","dojo/number","dojo/query","dojo/_base/lang","./HorizontalRule"],function(_956,has,_957,_958,lang,_959){var _95a=_956("dijit.form.HorizontalRuleLabels",_959,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){var _95b=this.labels[ndx];return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._genDirectionHTML(_95b)+this._labelPrefix+_95b+this._suffix;},_genDirectionHTML:function(_95c){return "";},getLabels:function(){var _95d=this.labels;if(!_95d.length&&this.srcNodeRef){_95d=_958("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}if(!_95d.length&&this.count>1){var _95e=this.minimum;var inc=(this.maximum-_95e)/(this.count-1);for(var i=0;i<this.count;i++){_95d.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_957.format(_95e,this.constraints));_95e+=inc;}}return _95d;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});if(has("dojo-bidi")){_95a.extend({_setTextDirAttr:function(_95f){if(this.textDir!=_95f){this._set("textDir",_95f);_958(".dijitRuleLabelContainer",this.domNode).forEach(lang.hitch(this,function(_960){_960.style.direction=this.getTextDir(_960.innerText||_960.textContent||"");}));}},_genDirectionHTML:function(_961){return (this.textDir?("direction:"+this.getTextDir(_961)+";"):"");}});}return _95a;});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_962,_963){return _962("dijit.form.VerticalRuleLabels",_963,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_964,_965,has,_966){return _964("dijit.form.SimpleTextarea",_966,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_965.add(this.textbox,"dijitTextAreaCols");}},filter:function(_967){if(_967){_967=_967.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _968=parseInt(this.maxLength);var _969=this.textbox.value.replace(/\r/g,"");var _96a=_969.length-_968;if(_96a>0){var _96b=this.textbox;if(_96b.selectionStart){var pos=_96b.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_969.substring(0,pos-_96a-cr)+_969.substring(pos-cr);_96b.setSelectionRange(pos-_96a,pos-_96a);}else{if(this.ownerDocument.selection){_96b.focus();var _96c=this.ownerDocument.selection.createRange();_96c.moveStart("character",-_96a);_96c.text="";_96c.select();}}}}this.inherited(arguments);}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_96d,_96e,_96f,_970){return _96d("dijit.form.Textarea",[_970,_96f],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_96e.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/_base/window","../Viewport"],function(_971,_972,has,lang,on,win,_973){has.add("textarea-needs-help-shrinking",function(){var body=win.body(),te=_972.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},body,"last");var _974=te.scrollHeight>=te.clientHeight;body.removeChild(te);return _974;});return _971("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _975=this.textbox;_975.style.overflowY="hidden";this.own(on(_975,"focus, resize",lang.hitch(this,"_resizeLater")));},startup:function(){this.inherited(arguments);this.own(_973.on("resize",lang.hitch(this,"_resizeLater")));this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _976=this.textbox;_976.rows=(_976.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _977=this.textbox;function _978(){var _979=false;if(_977.value===""){_977.value=" ";_979=true;}var sh=_977.scrollHeight;if(_979){_977.value="";}return sh;};if(_977.style.overflowY=="hidden"){_977.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_978()||_977.offsetHeight){var newH=_978()+Math.max(_977.offsetHeight-_977.clientHeight,0);var _97a=newH+"px";if(_97a!=_977.style.height){_977.style.height=_97a;_977.rows=1;}if(has("textarea-needs-help-shrinking")){var _97b=_978(),_97c=_97b,_97d=_977.style.minHeight,_97e=4,_97f,_980=_977.scrollTop;_977.style.minHeight=_97a;_977.style.height="auto";while(newH>0){_977.style.minHeight=Math.max(newH-_97e,4)+"px";_97f=_978();var _981=_97c-_97f;newH-=_981;if(_981<_97e){break;}_97c=_97f;_97e<<=1;}_977.style.height=newH+"px";_977.style.minHeight=_97d;_977.scrollTop=_980;}_977.style.overflowY=_978()>_977.clientHeight?"auto":"hidden";if(_977.style.overflowY=="hidden"){_977.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"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(_982,_983,_984,fx,dom,_985,_986,_987,_988,keys,lang,has,_989,_98a,_98b,_98c,_98d,_98e,_98f,_990,_991,_992,_993){var _994=_984("dijit.layout._AccordionButton",[_98d,_98f,_990],{templateString:_993,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 _995=this.id.replace(" ","_");_985.set(this.titleTextNode,"id",_995+"_title");this.focusNode.setAttribute("aria-labelledby",_985.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _988.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _996=this.getParent();_996.selectChild(this.contentWidget,true);_98a.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_997){this._set("selected",_997);this.focusNode.setAttribute("aria-expanded",_997?"true":"false");this.focusNode.setAttribute("aria-selected",_997?"true":"false");this.focusNode.setAttribute("tabIndex",_997?"0":"-1");}});if(has("dojo-bidi")){_994.extend({_setLabelAttr:function(_998){this._set("label",_998);_985.set(this.titleTextNode,"innerHTML",_998);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_999){this._set("title",_999);_985.set(this.titleTextNode,"title",_999);this.applyTextDir(this.titleTextNode);}});}var _99a=_984("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_98d,_990],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_987.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _99b=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_99b._buttonWidget=(new cls({contentWidget:_99b,label:_99b.title,title:_99b.tooltip,dir:_99b.dir,lang:_99b.lang,textDir:_99b.textDir||this.textDir,iconClass:_99b.iconClass,id:_99b.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_987.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_987.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _99c=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_99d,_99e){_99c.set("label",_99e);})),cw.watch("tooltip",lang.hitch(this,function(name,_99f,_9a0){_99c.set("title",_9a0);})),cw.watch("iconClass",lang.hitch(this,function(name,_9a1,_9a2){_99c.set("iconClass",_9a2);}))];},_setSelectedAttr:function(_9a3){this._set("selected",_9a3);this.button.set("selected",_9a3);if(_9a3){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_983.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_9a4){this.contentWidget.destroyRecursive(_9a4);}});if(has("dojo-bidi")){_99a=_984("dijit.layout._AccordionInnerContainer",_99a,{postCreate:function(){this.inherited(arguments);var _9a5=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_9a6,_9a7){_9a5.set("textDir",_9a7);}));}});}var _9a8=_984("dijit.layout.AccordionContainer",_991,{duration:_98b.defaultDuration,buttonWidget:_994,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _9a9=this.selectedChildWidget;if(!_9a9){return;}var _9aa=_9a9._wrapperWidget.domNode,_9ab=_988.getMarginExtents(_9aa),_9ac=_988.getPadBorderExtents(_9aa),_9ad=_9a9._wrapperWidget.containerNode,_9ae=_988.getMarginExtents(_9ad),_9af=_988.getPadBorderExtents(_9ad),_9b0=this._contentBox;var _9b1=0;_983.forEach(this.getChildren(),function(_9b2){if(_9b2!=_9a9){_9b1+=_988.getMarginSize(_9b2._wrapperWidget.domNode).h;}});this._verticalSpace=_9b0.h-_9b1-_9ab.h-_9ac.h-_9ae.h-_9af.h-_9a9._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_9ab.w-_9ac.w-_9ae.w-_9af.w};if(_9a9){_9a9.resize(this._containerContentBox);}},_setupChild:function(_9b3){_9b3._wrapperWidget=_99a({contentWidget:_9b3,buttonWidget:this.buttonWidget,id:_9b3.id+"_wrapper",dir:_9b3.dir,lang:_9b3.lang,textDir:_9b3.textDir||this.textDir,parent:this});this.inherited(arguments);_987.place(_9b3.domNode,_9b3._wrapper,"replace");},removeChild:function(_9b4){if(_9b4._wrapperWidget){_987.place(_9b4.domNode,_9b4._wrapperWidget.domNode,"after");_9b4._wrapperWidget.destroy();delete _9b4._wrapperWidget;}_986.remove(_9b4.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _983.map(this.inherited(arguments),function(_9b5){return _9b5.declaredClass=="dijit.layout._AccordionInnerContainer"?_9b5.contentWidget:_9b5;},this);},destroy:function(){if(this._animation){this._animation.stop();}_983.forEach(this.getChildren(),function(_9b6){if(_9b6._wrapperWidget){_9b6._wrapperWidget.destroy();}else{_9b6.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_9b7){_9b7._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_9b8){_9b8._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_9b9,_9ba,_9bb){if(has("ie")<8){_9bb=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_9b9){_9b9._wrapperWidget.set("selected",true);var d=this._showChild(_9b9);if(this.doLayout&&_9b9.resize){_9b9.resize(this._containerContentBox);}}if(_9ba){_9ba._wrapperWidget.set("selected",false);if(!_9bb){this._hideChild(_9ba);}}if(_9bb){var _9bc=_9b9._wrapperWidget.containerNode,_9bd=_9ba._wrapperWidget.containerNode;var _9be=_9b9._wrapperWidget.containerNode,_9bf=_988.getMarginExtents(_9be),_9c0=_988.getPadBorderExtents(_9be),_9c1=_9bf.h+_9c0.h;_9bd.style.height=(self._verticalSpace-_9c1)+"px";this._animation=new fx.Animation({node:_9bc,duration:this.duration,curve:[1,this._verticalSpace-_9c1-1],onAnimate:function(_9c2){_9c2=Math.floor(_9c2);_9bc.style.height=_9c2+"px";_9bd.style.height=(self._verticalSpace-_9c1-_9c2)+"px";},onEnd:function(){delete self._animation;_9bc.style.height="auto";_9ba._wrapperWidget.containerNode.style.display="none";_9bd.style.height="auto";self._hideChild(_9ba);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_9c3){if(this.disabled||e.altKey||!(_9c3||e.ctrlKey)){return;}var c=e.keyCode;if((_9c3&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_9c3&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_98c(0,function(){var _9c4=["dijit/layout/AccordionPane"];_982(_9c4);});}_9a8._InnerContainer=_99a;_9a8._Button=_994;return _9a8;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_9c5,_9c6,_9c7,_9c8,_9c9,has,lang,on,_9ca,_9cb,when,_9cc,_9cd,_9ce){if(has("dijit-legacy-requires")){_9ca(0,function(){var _9cf=["dijit/layout/StackController"];require(_9cf);});}var _9d0=_9c7("dijit.layout.StackContainer",_9ce,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_9c8.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _9d1=this.getChildren();_9c5.forEach(_9d1,this._setupChild,this);if(this.persist){this.selectedChildWidget=_9cc.byId(_9c6(this.id+"_selectedChild"));}else{_9c5.some(_9d1,function(_9d2){if(_9d2.selected){this.selectedChildWidget=_9d2;}return _9d2.selected;},this);}var _9d3=this.selectedChildWidget;if(!_9d3&&_9d1[0]){_9d3=this.selectedChildWidget=_9d1[0];_9d3.selected=true;}_9cb.publish(this.id+"-startup",{children:_9d1,selected:_9d3,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _9d4=this.selectedChildWidget;if(_9d4){this._showChild(_9d4);}}this.inherited(arguments);},_setupChild:function(_9d5){var _9d6=_9d5.domNode,_9d7=_9c9.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_9d5.domNode,"replace"),_9d8=_9d5["aria-label"]||_9d5.title||_9d5.label;if(_9d8){_9d7.setAttribute("aria-label",_9d8);}_9c9.place(_9d6,_9d7);_9d5._wrapper=_9d7;this.inherited(arguments);if(_9d6.style.display=="none"){_9d6.style.display="block";}_9d5.domNode.removeAttribute("title");},addChild:function(_9d9,_9da){this.inherited(arguments);if(this._started){_9cb.publish(this.id+"-addChild",_9d9,_9da);this.layout();if(!this.selectedChildWidget){this.selectChild(_9d9);}}},removeChild:function(page){var idx=_9c5.indexOf(this.getChildren(),page);this.inherited(arguments);_9c9.destroy(page._wrapper);delete page._wrapper;if(this._started){_9cb.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _9db=this.getChildren();if(_9db.length){this.selectChild(_9db[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_9dc){var d;page=_9cc.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_9dc);this._set("selectedChildWidget",page);_9cb.publish(this.id+"-selectChild",page);if(this.persist){_9c6(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_9dd,_9de){if(_9de){this._hideChild(_9de);}var d=this._showChild(_9dd);if(_9dd.resize){if(this.doLayout){_9dd.resize(this._containerContentBox||this._contentBox);}else{_9dd.resize();}}return d;},_adjacent:function(_9df){var _9e0=this.getChildren();var _9e1=_9c5.indexOf(_9e0,this.selectedChildWidget);_9e1+=_9df?1:_9e0.length-1;return _9e0[_9e1%_9e0.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_9cb.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _9e2=this.selectedChildWidget;if(_9e2&&_9e2.resize){if(this.doLayout){_9e2.resize(this._containerContentBox||this._contentBox);}else{_9e2.resize();}}},_showChild:function(page){var _9e3=this.getChildren();page.isFirstChild=(page==_9e3[0]);page.isLastChild=(page==_9e3[_9e3.length-1]);page._set("selected",true);if(page._wrapper){_9c8.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_9c8.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _9e4=page.onClose&&page.onClose(this,page);if(_9e4){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_9e5){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_9c5.forEach(this.getChildren(),function(_9e6){if(!_9e5){this.removeChild(_9e6);}_9e6.destroyRecursive(_9e5);},this);this._descendantsBeingDestroyed=false;}});_9d0.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_9cd,_9d0.ChildWidgetProperties);return _9d0;});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_9e7,_9e8,_9e9,_9ea,_9eb,_9ec,_9ed,keys,lang,on,_9ee,_9ef,_9f0,_9f1,_9f2,_9f3){var _9f4=_9e9("dijit.layout._Splitter",[_9f0,_9f1],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_9ea.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _9f5=_9e8(this._cookieName);if(_9f5){this.child.domNode.style[this.horizontal?"height":"width"]=_9f5;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_9f6=_9ec.getMarginBox(this.child.domNode)[dim],_9f7=_9e7.filter(this.container.getChildren(),function(_9f8){return _9f8.region=="center";})[0];var _9f9=_9ec.getContentBox(_9f7.domNode)[dim]-10;return Math.min(this.child.maxSize,_9f6+_9f9);},_startDrag:function(e){if(!this.cover){this.cover=_9eb.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_9ea.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_9eb.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_9ea.add(this.domNode,"dijitSplitterShadow");_9eb.place(this.fake,this.domNode,"after");}_9ea.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_9ea.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _9fa=this._factor,_9fb=this.horizontal,axis=_9fb?"pageY":"pageX",_9fc=e[axis],_9fd=this.domNode.style,dim=_9fb?"h":"w",_9fe=_9ed.getComputedStyle(this.child.domNode),_9ff=_9ec.getMarginBox(this.child.domNode,_9fe)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_9ec.getPadBorderExtents(this.child.domNode,_9fe)[dim]+10),_a00=this.region,_a01=_a00=="top"||_a00=="bottom"?"top":"left",_a02=parseInt(_9fd[_a01],10),_a03=this._resize,_a04=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_9ee.move,this._drag=function(e,_a05){var _a06=e[axis]-_9fc,_a07=_9fa*_a06+_9ff,_a08=Math.max(Math.min(_a07,max),min);if(_a03||_a05){_a04(_a08);}_9fd[_a01]=_a06+_a02+_9fa*(_a08-_a07)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_9ee.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_9ea.toggle(this.domNode,"dijitSplitterHover",o);_9ea.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_9ea.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_9eb.destroy(this.fake);}_9ea.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_9e8(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _a09=this.horizontal;var tick=1;switch(e.keyCode){case _a09?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _a09?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _a0a=_9ec.getMarginSize(this.child.domNode)[_a09?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_a0a,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _a0b=_9e9("dijit.layout._Gutter",[_9f0,_9f1],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_9ea.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _a0c=_9e9("dijit.layout.BorderContainer",_9f2,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_9f4,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_a0d){this.inherited(arguments);var _a0e=_a0d.region,ltr=_a0d.isLeftToRight();if(_a0e=="leading"){_a0e=ltr?"left":"right";}if(_a0e=="trailing"){_a0e=ltr?"right":"left";}if(_a0e){if(_a0e!="center"&&(_a0d.splitter||this.gutters)&&!_a0d._splitterWidget){var _a0f=_a0d.splitter?this._splitterClass:_a0b;if(lang.isString(_a0f)){_a0f=lang.getObject(_a0f);}var _a10=new _a0f({id:_a0d.id+"_splitter",container:this,child:_a0d,region:_a0e,live:this.liveSplitters});_a10.isSplitter=true;_a0d._splitterWidget=_a10;var _a11=_a0e=="bottom"||_a0e==(this.isLeftToRight()?"right":"left");_9eb.place(_a10.domNode,_a0d.domNode,_a11?"before":"after");_a10.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_a12){var _a13=_a12._splitterWidget;if(_a13){_a13.destroy();delete _a12._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _9e7.filter(this.inherited(arguments),function(_a14){return !_a14.isSplitter;});},getSplitter:function(_a15){return _9e7.filter(this.getChildren(),function(_a16){return _a16.region==_a15;})[0]._splitterWidget;},resize:function(_a17,_a18){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_9ed.getComputedStyle(node);this.pe=_9ec.getPadExtents(node,this.cs);this.pe.r=_9ed.toPixelValue(node,this.cs.paddingRight);this.pe.b=_9ed.toPixelValue(node,this.cs.paddingBottom);_9ed.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_a19,_a1a){if(!this._borderBox||!this._borderBox.h){return;}var _a1b=[];_9e7.forEach(this._getOrderedChildren(),function(pane){_a1b.push(pane);if(pane._splitterWidget){_a1b.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_9f3.layoutChildren(this.domNode,dim,_a1b,_a19,_a1a);},destroyRecursive:function(){_9e7.forEach(this.getChildren(),function(_a1c){var _a1d=_a1c._splitterWidget;if(_a1d){_a1d.destroy();}delete _a1c._splitterWidget;});this.inherited(arguments);}});_a0c.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_a0c.ChildWidgetProperties,_9f2.ChildWidgetProperties);lang.extend(_9ef,_a0c.ChildWidgetProperties);_a0c._Splitter=_9f4;_a0c._Gutter=_a0b;return _a0c;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_a1e,_a1f,_a20,_a21,lang,_a22,_a23,_a24){var _a25=_a1f("dijit.layout.LayoutContainer",_a23,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_a1e.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_a26){this.inherited(arguments);var _a27=_a26.region;if(_a27){_a20.add(_a26.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _a28=_a1e.map(this.getChildren(),function(_a29,idx){return {pane:_a29,weight:[_a29.region=="center"?Infinity:0,_a29.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_a29.region)?1:-1),idx]};},this);_a28.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});return _a1e.map(_a28,function(w){return w.pane;});},layout:function(){_a24.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_a2a,_a2b){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_a2c){this.inherited(arguments);if(this._started){this.layout();}_a20.remove(_a2c.domNode,this.baseClass+"Pane");_a21.set(_a2c.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_a21.set(_a2c.domNode,/top|bottom/.test(_a2c.region)?"width":"height","auto");}});_a25.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_a22,_a25.ChildWidgetProperties);return _a25;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_a2d,_a2e,_a2f){return _a2f("dijit.layout.LinkPane",[_a2d,_a2e],{templateString:"<div class=\"dijitLinkPane\" data-dojo-attach-point=\"containerNode\"></div>",postMixInProperties:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited(arguments);},_fillContent:function(){}});});},"dijit/layout/SplitContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","../registry","../_WidgetBase","./_LayoutWidget"],function(_a30,_a31,_a32,dom,_a33,_a34,_a35,_a36,_a37,_a38,lang,on,has,_a39,_a3a,_a3b){var _a3c=_a32("dijit.layout.SplitContainer",_a3b,{constructor:function(){_a38.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2);},activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited(arguments);this.sizers=[];if(has("mozilla")){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _a3d=this.ownerDocument.createElement("div");this.virtualSizer=_a3d;_a3d.style.position="relative";_a3d.style.zIndex=10;_a3d.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_a3d);dom.setSelectable(_a3d,false);},destroy:function(){delete this.virtualSizer;if(this._ownconnects){var h;while(h=this._ownconnects.pop()){h.remove();}}this.inherited(arguments);},startup:function(){if(this._started){return;}_a30.forEach(this.getChildren(),function(_a3e,i,_a3f){this._setupChild(_a3e);if(i<_a3f.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_a40){this.inherited(arguments);_a40.domNode.style.position="absolute";_a33.add(_a40.domNode,"dijitSplitPane");},_onSizerMouseDown:function(e){if(e.target.id){for(var i=0;i<this.sizers.length;i++){if(this.sizers[i].id==e.target.id){break;}}if(i<this.sizers.length){this.beginSizing(e,i);}}},_addSizer:function(_a41){_a41=_a41===undefined?this.sizers.length:_a41;var _a42=this.ownerDocument.createElement("div");_a42.id=_a39.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_a41,0,_a42);this.domNode.appendChild(_a42);_a42.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _a43=this.ownerDocument.createElement("div");_a43.className="thumb";_a42.appendChild(_a43);this.connect(_a42,"onmousedown","_onSizerMouseDown");dom.setSelectable(_a42,false);},removeChild:function(_a44){if(this.sizers.length){var i=_a30.indexOf(this.getChildren(),_a44);if(i!=-1){if(i==this.sizers.length){i--;}_a34.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_a45,_a46){if(typeof _a46=="undefined"||_a46=="last"){_a46=this.getChildren().length;}this.inherited(arguments,[_a45,_a46]);if(this._started){var _a47=this.getChildren();if(_a47.length>1){this._addSizer(_a46);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _a48=this.getChildren();if(!_a48.length){return;}var _a49=this.isHorizontal?this.paneWidth:this.paneHeight;if(_a48.length>1){_a49-=this.sizerWidth*(_a48.length-1);}var _a4a=0;_a30.forEach(_a48,function(_a4b){_a4a+=_a4b.sizeShare;});var _a4c=_a49/_a4a;var _a4d=0;_a30.forEach(_a48.slice(0,_a48.length-1),function(_a4e){var size=Math.round(_a4c*_a4e.sizeShare);_a4e.sizeActual=size;_a4d+=size;});_a48[_a48.length-1].sizeActual=_a49-_a4d;this._checkSizes();var pos=0;var size=_a48[0].sizeActual;this._movePanel(_a48[0],pos,size);_a48[0].position=pos;pos+=size;if(!this.sizers){return;}_a30.some(_a48.slice(1),function(_a4f,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_a4f.sizeActual;this._movePanel(_a4f,pos,size);_a4f.position=pos;pos+=size;},this);},_movePanel:function(_a50,pos,size){var box;if(this.isHorizontal){_a50.domNode.style.left=pos+"px";_a50.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_a50.resize){_a50.resize(box);}else{_a35.setMarginBox(_a50.domNode,box);}}else{_a50.domNode.style.left=0;_a50.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_a50.resize){_a50.resize(box);}else{_a35.setMarginBox(_a50.domNode,box);}}},_moveSlider:function(_a51,pos,size){if(this.isHorizontal){_a51.style.left=pos+"px";_a51.style.top=0;_a35.setMarginBox(_a51,{w:size,h:this.paneHeight});}else{_a51.style.left=0;_a51.style.top=pos+"px";_a35.setMarginBox(_a51,{w:this.paneWidth,h:size});}},_growPane:function(_a52,pane){if(_a52>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_a52){pane.sizeActual=pane.sizeActual-_a52;_a52=0;}else{_a52-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _a52;},_checkSizes:function(){var _a53=0;var _a54=0;var _a55=this.getChildren();_a30.forEach(_a55,function(_a56){_a54+=_a56.sizeActual;_a53+=_a56.sizeMin;});if(_a53<=_a54){var _a57=0;_a30.forEach(_a55,function(_a58){if(_a58.sizeActual<_a58.sizeMin){_a57+=_a58.sizeMin-_a58.sizeActual;_a58.sizeActual=_a58.sizeMin;}});if(_a57>0){var list=this.isDraggingLeft?_a55.reverse():_a55;_a30.forEach(list,function(_a59){_a57=this._growPane(_a57,_a59);},this);}}else{_a30.forEach(_a55,function(_a5a){_a5a.sizeActual=Math.round(_a54*(_a5a.sizeMin/_a53));});}},beginSizing:function(e,i){var _a5b=this.getChildren();this.paneBefore=_a5b[i];this.paneAfter=_a5b[i+1];this.paneBefore.sizeBeforeDrag=this.paneBefore.sizeActual;this.paneAfter.sizeBeforeDrag=this.paneAfter.sizeActual;this.paneAfter.positionBeforeDrag=this.paneAfter.position;this.isSizing=true;this.sizingSplitter=this.sizers[i];this.sizingSplitter.positionBeforeDrag=_a36.get(this.sizingSplitter,(this.isHorizontal?"left":"top"));if(!this.cover){this.cover=_a34.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.startPoint=this.lastPoint=(this.isHorizontal?e.pageX:e.pageY);this.maxDelta=this.paneAfter.sizeActual-this.paneAfter.sizeMin;this.minDelta=-1*(this.paneBefore.sizeActual-this.paneBefore.sizeMin);if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(this.ownerDocument.documentElement,"mousemove",lang.hitch(this,"changeSizing")),on(this.ownerDocument.documentElement,"mouseup",lang.hitch(this,"endSizing"))];_a37.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;var _a5c=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);if(this.activeSizing){this._updateSize(_a5c);}else{this._moveSizingLine(_a5c);}_a37.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}var _a5d=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);this._updateSize(_a5d);this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},_updateSize:function(_a5e){this.paneBefore.sizeActual=this.paneBefore.sizeBeforeDrag+_a5e;this.paneAfter.position=this.paneAfter.positionBeforeDrag+_a5e;this.paneAfter.sizeActual=this.paneAfter.sizeBeforeDrag-_a5e;_a30.forEach(this.getChildren(),function(_a5f){_a5f.sizeShare=_a5f.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine(0);_a35.setMarginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(_a60){var pos=_a60+this.sizingSplitter.positionBeforeDrag;_a36.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_a30.forEach(this.getChildren(),function(_a61,i){var _a62=this._getCookieName(i);var _a63=_a31(_a62);if(_a63){var pos=parseInt(_a63);if(typeof pos=="number"){_a61.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_a30.forEach(this.getChildren(),function(_a64,i){_a31(this._getCookieName(i),_a64.sizeShare,{expires:365});},this);}});_a3c.ChildWidgetProperties={sizeMin:10,sizeShare:10};lang.extend(_a3a,_a3c.ChildWidgetProperties);return _a3c;});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_a65,_a66,_a67,_a68){return _a65("dijit.layout.TabContainer",_a66,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_a69){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_a67=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _a67({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_a69);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_a68:_a67;}}});});},"dijit/layout/_TabContainerBase":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","./StackContainer","./utils","../registry","../_TemplatedMixin","dojo/text!./templates/TabContainer.html"],function(_a6a,_a6b,_a6c,_a6d,_a6e,_a6f,_a70,_a71,_a72){return _a6a("dijit.layout._TabContainerBase",[_a6e,_a71],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_a72,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_a6d.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_a6b.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_a6b.add(this.domNode,"dijitTabContainerNested");_a6b.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_a6b.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_a6b.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_a6b.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_a6b.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _a73=this.tabPosition.replace(/-h/,"");this.tablist.region=_a73;var _a74=[this.tablist,{domNode:this.tablistSpacer,region:_a73},{domNode:this.containerNode,region:"center"}];_a6f.layoutChildren(this.domNode,this._contentBox,_a74);this._containerContentBox=_a6f.marginBox2contentBox(this.containerNode,_a74[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _a75=_a6c.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_a75});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_a76){if(this.tablist){this.tablist.destroy(_a76);}this.inherited(arguments);},selectChild:function(page,_a77){if(this._focused){page=_a70.byId(page);this.tablist.pane2button(page.id).focus();}return this.inherited(arguments);}});});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_a78,dom,_a79,_a7a,has,i18n,lang,_a7b,_a7c,Menu,_a7d,_a7e){var _a7f=_a78("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_a7b.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_a7e,_setNameAttr:"focusNode",scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_a7a.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _a80=i18n.getLocalization("dijit","common");if(this.closeNode){_a79.set(this.closeNode,"title",_a80.itemClose);}}},_setDisabledAttr:function(_a81){this.inherited(arguments);if(this.closeNode){if(_a81){_a79.remove(this.closeNode,"title");}else{var _a82=i18n.getLocalization("dijit","common");_a79.set(this.closeNode,"title",_a82.itemClose);}}},_setLabelAttr:function(_a83){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_a7f=_a78("dijit.layout._TabButton",_a7f,{_setLabelAttr:function(_a84){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _a85=_a78("dijit.layout.TabController",_a7b,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_a7f,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _a86=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _a7a.contains(node,"dijitClosable")&&!_a7a.contains(node,"dijitTabDisabled");}});this.own(_a86);var _a87=i18n.getLocalization("dijit","common"),_a88=this;_a86.addChild(new _a7d({label:_a87.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _a89=_a7c.byNode(this.getParent().currentTarget);_a88.onCloseButtonClick(_a89.page);}}));}});_a85.TabButton=_a7f;return _a85;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_a8a,_a8b,_a8c,_a8d,keys,lang,on,_a8e,_a8f,_a90,_a91,_a92,_a93,_a94){var _a95=_a8b("dijit.layout._StackButton",_a94,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _a96=_a8b("dijit.layout.StackController",[_a91,_a92,_a93],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_a95,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _a90.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_a8e.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_a8e.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_a8e.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_a8e.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_a8e.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _a97=_a90.getEnclosingWidget(evt.target);if(_a97!=this.containerNode&&!_a97.disabled&&_a97.page){for(var _a98=evt.target;_a98!==this.containerNode;_a98=_a98.parentNode){if(_a8c.contains(_a98,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_a97.page);break;}else{if(_a98==_a97.domNode){this.onButtonClick(_a97.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_a8a.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _a99=_a90.byId(this.containerId).containerNode,_a9a=lang.hitch(this,"pane2button"),_a9b={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_a9c=function(attr,_a9d){return on(_a99,"attrmodified-"+attr,function(evt){var _a9e=_a9a(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_a9e){_a9e.set(_a9d,evt.detail.newValue);}});};for(var attr in _a9b){this.own(_a9c(attr,_a9b[attr]));}},destroy:function(_a9f){this.destroyDescendants(_a9f);this.inherited(arguments);},onAddChild:function(page,_aa0){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _aa1=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_aa1,_aa0);page.controlButton=_aa1;if(!this._currentChild){this.onSelectChild(page);}var _aa2=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_aa1.id:_aa1.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_aa2);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _aa3=this.pane2button(page.id);if(_aa3){this.removeChild(_aa3);_aa3.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _aa4=this.pane2button(this._currentChild.id);_aa4.set("checked",false);_aa4.focusNode.setAttribute("tabIndex","-1");}var _aa5=this.pane2button(page.id);_aa5.set("checked",true);this._currentChild=page;_aa5.focusNode.setAttribute("tabIndex","0");var _aa6=_a90.byId(this.containerId);},onButtonClick:function(page){var _aa7=this.pane2button(page.id);_a8f.focus(_aa7.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_aa7.set("checked",true);}var _aa8=_a90.byId(this.containerId);_aa8.selectChild(page);},onCloseButtonClick:function(page){var _aa9=_a90.byId(this.containerId);_aa9.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_a8f.focus(b.focusNode||b.domNode);}}},adjacent:function(_aaa){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_aaa=!_aaa;}var _aab=this.getChildren();var idx=_a8a.indexOf(_aab,this.pane2button(this._currentChild.id)),_aac=_aab[idx];var _aad;do{idx=(idx+(_aaa?1:_aab.length-1))%_aab.length;_aad=_aab[idx];}while(_aad.disabled&&_aad!=_aac);return _aad;},onkeydown:function(e,_aae){if(this.disabled||e.altKey){return;}var _aaf=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_aaf=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_aaf=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_aaf=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_aaf=true;}break;case keys.HOME:var _ab0=this.getChildren();for(var idx=0;idx<_ab0.length;idx++){var _ab1=_ab0[idx];if(!_ab1.disabled){this.onButtonClick(_ab1.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _ab0=this.getChildren();for(var idx=_ab0.length-1;idx>=0;idx--){var _ab1=_ab0[idx];if(!_ab1.disabled){this.onButtonClick(_ab1.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_aaf!==null){this.onButtonClick(this.adjacent(_aaf).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_a96.StackButton=_a95;return _a96;});},"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(_ab2,_ab3,_ab4,_ab5,_ab6,fx,lang,on,_ab7,has,_ab8,_ab9,_aba,_abb,_abc,_abd,Menu,_abe,_abf,_ac0){var _ac1=_ab3("dijit.layout.ScrollingTabController",[_abb,_abd],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_ab9,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";_ab4.add(n,"tabStrip-disabled");}_ab4.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_ab6.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",lang.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(page,_ac2){this.inherited(arguments);_ab6.set(this.containerNode,"width",(_ab6.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_ac3){var _ac4=this.pane2button(page.id);if(this._selectedTab===_ac4.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_ab7("> .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+=_ab5.getMarginSize(btn).w;return true;}else{_ab6.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _ac5=this.getChildren();if(_ac5.length){var _ac6=_ac5[this.isLeftToRight()?0:_ac5.length-1].domNode,_ac7=_ac5[this.isLeftToRight()?_ac5.length-1:0].domNode;return _ac7.offsetLeft+_ac7.offsetWidth-_ac6.offsetLeft;}else{return 0;}},_enableBtn:function(_ac8){var _ac9=this._getTabsWidth();_ac8=_ac8||_ab6.get(this.scrollNode,"width");return _ac9>0&&_ac8<_ac9;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_abc.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_ab5.setContentSize(this.domNode,cb);var _aca=this._enableBtn(this._contentBox.w);this._buttons.style("display",_aca?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_abc.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("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_ab6.get(this.containerNode,"width")-_ab6.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _acb=_ab6.get(this.containerNode,"width")-_ab6.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_acb);}},onSelectChild:function(page){var tab=this.pane2button(page.id);if(!tab){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_ab6.get(this.scrollNode,"width")<node.offsetLeft+_ab6.get(node,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _acc=this.getChildren(),_acd=_ab6.get(this.scrollNode,"width"),_ace=_ab6.get(this.containerNode,"width"),_acf=_ace-_acd,_ad0=this._getTabsWidth();if(_acc.length&&_ad0>_acd){return {min:this.isLeftToRight()?0:_acc[_acc.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_acc[_acc.length-1].domNode.offsetLeft+_acc[_acc.length-1].domNode.offsetWidth)-_acd:_acf};}else{var _ad1=this.isLeftToRight()?0:_acf;return {min:_ad1,max:_ad1};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_ad2=_ab6.get(this.scrollNode,"width"),_ad3=this._getScrollBounds();var pos=(n.offsetLeft+_ab6.get(n,"width")/2)-_ad2/2;pos=Math.min(Math.max(pos,_ad3.min),_ad3.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _ad4=this._getScrollBounds();x=Math.min(Math.max(x,_ad4.min),_ad4.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new fx._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!_ab4.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(_ad5,node){if(node&&_ab4.contains(node,"dijitTabDisabled")){return;}var _ad6=_ab6.get(this.scrollNode,"width");var d=(_ad6*0.75)*_ad5;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_ad7){var _ad8=this._getScrollBounds();this._leftBtn.set("disabled",_ad7<=_ad8.min);this._rightBtn.set("disabled",_ad7>=_ad8.max);}});var _ad9=_ab3("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_aba,tabIndex:"",isFocusable:function(){return false;}});_ab3("dijit.layout._ScrollingTabControllerButton",[_abf,_ad9]);_ab3("dijit.layout._ScrollingTabControllerMenuButton",[_abf,_ac0,_ad9],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_ada){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _adb=_ab8.byId(this.containerId);_ab2.forEach(_adb.getChildren(),function(page){var _adc=new _abe({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir||_adb.textDir,onClick:function(){_adb.selectChild(page);}});this.dropDown.addChild(_adc);},this);_ada();},closeDropDown:function(_add){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _ac1;});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\" role=\"grid\">\n\t<table data-dojo-attach-point=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"presentation\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabindex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n\t${!actionBarTemplate}\n</div>\n\n","url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"contentsNode\" class=\"dijitTooltipContents dijitTooltipFocusNode\">\n\t\t\t<div data-dojo-attach-point=\"containerNode\"></div>\n\t\t\t${!actionBarTemplate}\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" role=\"presentation\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n></div>\n","url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\n","url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:__onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode,_popupStateNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\" aria-hidden=\"true\"\n/></span>\n","url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t   cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,textDirNode\"\n\t\trole=\"presentation\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<span data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<span class=\"dijitInline dijitIcon dijitMenuExpand\"></span>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</span>\n\t</td>\n</tr>\n","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"${role}\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span class=\"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span class=\"dijitMenuItemIconChar dijitCheckedMenuItemIconChar\">${!checkedChar}</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode,textDirNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\" role=\"menubar\" tabIndex=\"${tabIndex}\"\n\t ></div>\n","url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode,textDirNode\"></span>\n</div>\n","url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n","url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div  data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><span data-dojo-attach-point=\"indeterminateHighContrastImage\"\n\t\t   class=\"dijitInline dijitProgressBarIndeterminateHighContrastImage\"></span\n></div>\n","url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"ondijitclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\" id=\"${id}_titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<span data-dojo-attach-point=\"arrowNode\" class=\"dijitInline dijitArrowNode\" role=\"presentation\"></span\n\t\t\t><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\" aria-labelledby=\"${id}_titleBarNode\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\"\n\t\t><span data-dojo-attach-point=\"expandoNode\" class=\"dijitInline dijitTreeExpando\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTreeIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span data-dojo-attach-point=\"labelNode,focusNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t   tabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeNodeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n\t<div class=\"dijitTreeExpando dijitTreeExpandoLoading\" data-dojo-attach-point=\"rootLoadingIndicator\"></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\">\n\t</div>\n</div>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"./form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"./form/Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:__onClick,onkeydown:_onButtonKeyDown\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeydown:_onArrowKeyDown\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t\t\tclass=\"dijitOffScreen\"\n\t\t\t\trole=\"presentation\" aria-hidden=\"true\"\n\t\t\t\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\n></table>\n","url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"ondijitclick:_onClick\"\n/></div>\n","url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\" data-dojo-attach-point=\"gridNode\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\" scope=\"col\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"></span>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\" scope=\"col\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' scope=\"col\" data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"></span>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr role=\"row\">\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"ondijitclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n","url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdata-dojo-attach-point=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' data-dojo-attach-point=\"textbox,focusNode\" type=\"${type}\" data-dojo-attach-event=\"onkeydown:_onKeyDown\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\"  data-dojo-attach-point=\"containerNode,textDirNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown, onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeydown:_onKeyDown,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTabButtonIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t  role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_menuBtn\"\n\t\t data-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t data-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_leftBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_rightBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'\n\t\t\t data-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"ondijitclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\"  data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<span role=\"presentation\" class=\"dijitInline dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","*now":function(r){r(["dojo/i18n!*preload*dijit/nls/dijit-all*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dijit/dijit-all",["./main","./dijit","./ColorPalette","./Declaration","./Dialog","./DialogUnderlay","./TooltipDialog","./Editor","./_editor/plugins/FontChoice","./_editor/plugins/LinkDialog","./Menu","./MenuItem","./PopupMenuItem","./CheckedMenuItem","./MenuBar","./MenuBarItem","./PopupMenuBarItem","./MenuSeparator","./ProgressBar","./TitlePane","./Toolbar","./Tooltip","./Tree","./InlineEditBox","./form/Form","./form/Button","./form/DropDownButton","./form/ComboButton","./form/ToggleButton","./form/CheckBox","./form/RadioButton","./form/TextBox","./form/ValidationTextBox","./form/CurrencyTextBox","./form/DateTextBox","./form/TimeTextBox","./form/NumberSpinner","./form/NumberTextBox","./form/ComboBox","./form/FilteringSelect","./form/MultiSelect","./form/Select","./form/HorizontalSlider","./form/VerticalSlider","./form/HorizontalRule","./form/VerticalRule","./form/HorizontalRuleLabels","./form/VerticalRuleLabels","./form/SimpleTextarea","./form/Textarea","./layout/AccordionContainer","./layout/ContentPane","./layout/BorderContainer","./layout/LayoutContainer","./layout/LinkPane","./layout/SplitContainer","./layout/StackContainer","./layout/TabContainer"],function(_ade){console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");return _ade;});