/usr/share/javascript/dijit/dijit-all.js is in libjs-dojo-dijit 1.10.2+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
/*
This is an optimized version of Dojo, built for deployment and not for
development. To get sources and documentation, please visit:
http://dojotoolkit.org
*/
//>>built
require({cache:{"dijit/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],function(_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=_78.marginBox2contentBox(this.domNode,dim),_8b={domNode:this.containerNode,region:"center"};_78.layoutChildren(this.domNode,_8a,[{domNode:this.titleBar,region:"top"},_8b]);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(_8c){if(_8c.resize){_8c.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(_8d){this._set("title",_8d);this.titleNode.innerHTML=_8d;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_8e){if(this._created&&this.textDir!=_8e){this._set("textDir",_8e);this.set("title",this.title);}}});}var _8f=_63("dijit.Dialog",[_77,_7b],{});_8f._DialogBase=_7b;var _7d=_8f._DialogLevelManager={_beginZIndex:950,show:function(_90,_91){ds[ds.length-1].focus=_6f.curNode;var _92=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_8f._DialogLevelManager._beginZIndex;_67.set(_90.domNode,"zIndex",_92);_76.show(_91,_92-1);ds.push({dialog:_90,underlayAttrs:_91,zIndex:_92});},hide:function(_93){if(ds[ds.length-1].dialog==_93){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_76.hide();}else{_76.show(pd.underlayAttrs,pd.zIndex-1);}if(_93.refocus){var _94=pd.focus;if(pd.dialog&&(!_94||!dom.isDescendant(_94,pd.dialog.domNode))){pd.dialog._getFocusItems();_94=pd.dialog._firstFocusItem;}if(_94){try{_94.focus();}catch(e){}}}}else{var idx=_61.indexOf(_61.map(ds,function(_95){return _95.dialog;}),_93);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_96){return ds[ds.length-1].dialog==_96;}};var ds=_8f._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_6f.watch("curNode",function(_97,_98,_99){var _9a=ds[ds.length-1].dialog;if(_99&&_9a&&!_9a._fadeOutDeferred&&_99.ownerDocument==_9a.ownerDocument){do{if(_99==_9a.domNode||_65.contains(_99,"dijitPopup")){return;}}while(_99=_99.parentNode);_9a.focus();}});if(has("dijit-legacy-requires")){_6b(0,function(){var _9b=["dijit/TooltipDialog"];_60(_9b);});}return _8f;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_9c,_9d,_9e,dom,_9f,_a0,on,_a1,_a2,dnd,_a3,win){var _a4=_9d("dojo.dnd.Moveable",[_a0],{handle:"",delay:0,skip:false,constructor:function(_a5,_a6){this.node=dom.byId(_a5);if(!_a6){_a6={};}this.handle=_a6.handle?dom.byId(_a6.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_a6.delay>0?_a6.delay:0;this.skip=_a6.skip;this.mover=_a6.mover?_a6.mover:_a3;this.events=[on(this.handle,_a2.press,_9e.hitch(this,"onMouseDown")),on(this.handle,"dragstart",_9e.hitch(this,"onSelectStart")),on(this.handle,"selectstart",_9e.hitch(this,"onSelectStart"))];},markupFactory:function(_a7,_a8,_a9){return new _a9(_a8,_a7);},destroy:function(){_9c.forEach(this.events,function(_aa){_aa.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,_a2.move,_9e.hitch(this,"onMouseMove")),on(this.handle,_a2.release,_9e.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(_ab){_a1.publish("/dnd/move/start",_ab);_9f.add(win.body(),"dojoMove");_9f.add(this.node,"dojoMoveItem");},onMoveStop:function(_ac){_a1.publish("/dnd/move/stop",_ac);_9f.remove(win.body(),"dojoMove");_9f.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_ad,_ae){this.onMoving(_ad,_ae);var s=_ad.node.style;s.left=_ae.l+"px";s.top=_ae.t+"px";this.onMoved(_ad,_ae);},onMoving:function(){},onMoved:function(){}});return _a4;});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_af,_b0,dom){var _b1=_b0.getObject("dojo.dnd",true);_b1.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_b1._uniqueId=0;_b1.getUniqueId=function(){var id;do{id=_af._scopeName+"Unique"+(++_b1._uniqueId);}while(dom.byId(id));return id;};_b1._empty={};_b1.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 _b1;});},"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(_b2,_b3,_b4,has,win,dom,_b5,_b6,_b7,on,_b8,dnd,_b9){return _b3("dojo.dnd.Mover",[_b7],{constructor:function(_ba,e,_bb){this.node=dom.byId(_ba);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_bb),d=_ba.ownerDocument;function _bc(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_b8.move,_b4.hitch(this,"onFirstMove")),on(d,_b8.move,_b4.hitch(this,"onMouseMove")),on(d,_b8.release,_b4.hitch(this,"onMouseUp")),on(d,"dragstart",_bc),on(d.body,"selectstart",_bc)];_b9.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_b9.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=_b5.getMarginBox(this.node);var b=win.doc.body;var bs=_b6.getComputedStyle(b);var bm=_b5.getMarginBox(b,bs);var bc=_b5.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(){_b2.forEach(this.events,function(_bd){_bd.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(_be,has,win,_bf,_c0,_c1){var _c2={};_be.setObject("dojo.dnd.autoscroll",_c2);_c2.getViewport=_c1.getBox;_c2.V_TRIGGER_AUTOSCROLL=32;_c2.H_TRIGGER_AUTOSCROLL=32;_c2.V_AUTOSCROLL_VALUE=16;_c2.H_AUTOSCROLL_VALUE=16;var _c3,doc=win.doc,_c4=Infinity,_c5=Infinity;_c2.autoScrollStart=function(d){doc=d;_c3=_c1.getBox(doc);var _c6=win.body(doc).parentNode;_c4=Math.max(_c6.scrollHeight-_c3.h,0);_c5=Math.max(_c6.scrollWidth-_c3.w,0);};_c2.autoScroll=function(e){var v=_c3||_c1.getBox(doc),_c7=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_c2.H_TRIGGER_AUTOSCROLL){dx=-_c2.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_c2.H_TRIGGER_AUTOSCROLL){dx=Math.min(_c2.H_AUTOSCROLL_VALUE,_c5-_c7.scrollLeft);}}if(e.clientY<_c2.V_TRIGGER_AUTOSCROLL){dy=-_c2.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_c2.V_TRIGGER_AUTOSCROLL){dy=Math.min(_c2.V_AUTOSCROLL_VALUE,_c4-_c7.scrollTop);}}window.scrollBy(dx,dy);};_c2._validNodes={"div":1,"p":1,"td":1};_c2._validOverflow={"auto":1,"scroll":1};_c2.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_c8,_c9;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _c2._validNodes)){var s=_c0.getComputedStyle(n),_ca=(s.overflow.toLowerCase() in _c2._validOverflow),_cb=(s.overflowX.toLowerCase() in _c2._validOverflow),_cc=(s.overflowY.toLowerCase() in _c2._validOverflow);if(_ca||_cb||_cc){b=_bf.getContentBox(n,s);t=_bf.position(n,true);}if(_ca||_cb){w=Math.min(_c2.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;}}_c8=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_ca||_cc){h=Math.min(_c2.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;}}_c9=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_c2.autoScroll(e);};return _c2;});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_cd,_ce){var _cf=_ce.prototype.onMove;return _cd("dojo.dnd.TimedMoveable",_ce,{timeout:40,constructor:function(_d0,_d1){if(!_d1){_d1={};}if(_d1.timeout&&typeof _d1.timeout=="number"&&_d1.timeout>=0){this.timeout=_d1.timeout;}},onMoveStop:function(_d2){if(_d2._timer){clearTimeout(_d2._timer);_cf.call(this,_d2,_d2._leftTop);}_ce.prototype.onMoveStop.apply(this,arguments);},onMove:function(_d3,_d4){_d3._leftTop=_d4;if(!_d3._timer){var _d5=this;_d3._timer=setTimeout(function(){_d3._timer=null;_cf.call(_d5,_d3,_d3._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(_d6,_d7,_d8,_d9,on,_da){return _d7("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_db){var res=[];_d6.forEach(_db||this.getChildren(),function(_dc){if("value" in _dc){res.push(_dc);}else{res=res.concat(this._getDescendantFormWidgets(_dc.getChildren()));}},this);return res;},reset:function(){_d6.forEach(this._getDescendantFormWidgets(),function(_dd){if(_dd.reset){_dd.reset();}});},validate:function(){var _de=false;return _d6.every(_d6.map(this._getDescendantFormWidgets(),function(_df){_df._hasBeenBlurred=true;var _e0=_df.disabled||!_df.validate||_df.validate();if(!_e0&&!_de){_da.scrollIntoView(_df.containerNode||_df.domNode);_df.focus();_de=true;}return _e0;}),function(_e1){return _e1;});},setValues:function(val){_d8.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_d6.forEach(this._getDescendantFormWidgets(),function(_e2){if(!_e2.name){return;}var _e3=map[_e2.name]||(map[_e2.name]=[]);_e3.push(_e2);});for(var _e4 in map){if(!map.hasOwnProperty(_e4)){continue;}var _e5=map[_e4],_e6=_d9.getObject(_e4,false,obj);if(_e6===undefined){continue;}_e6=[].concat(_e6);if(typeof _e5[0].checked=="boolean"){_d6.forEach(_e5,function(w){w.set("value",_d6.indexOf(_e6,w._get("value"))!=-1);});}else{if(_e5[0].multiple){_e5[0].set("value",_e6);}else{_d6.forEach(_e5,function(w,i){w.set("value",_e6[i]);});}}}},getValues:function(){_d8.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_d6.forEach(this._getDescendantFormWidgets(),function(_e7){var _e8=_e7.name;if(!_e8||_e7.disabled){return;}var _e9=_e7.get("value");if(typeof _e7.checked=="boolean"){if(/Radio/.test(_e7.declaredClass)){if(_e9!==false){_d9.setObject(_e8,_e9,obj);}else{_e9=_d9.getObject(_e8,false,obj);if(_e9===undefined){_d9.setObject(_e8,null,obj);}}}else{var ary=_d9.getObject(_e8,false,obj);if(!ary){ary=[];_d9.setObject(_e8,ary,obj);}if(_e9!==false){ary.push(_e9);}}}else{var _ea=_d9.getObject(_e8,false,obj);if(typeof _ea!="undefined"){if(_d9.isArray(_ea)){_ea.push(_e9);}else{_d9.setObject(_e8,[_ea,_e9],obj);}}else{_d9.setObject(_e8,_e9,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _eb=_d6.map(this._descendants,function(w){return w.get("state")||"";});return _d6.indexOf(_eb,"Error")>=0?"Error":_d6.indexOf(_eb,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_ec){this._descendants=this._getDescendantFormWidgets();_d6.forEach(this._descendants,function(_ed){if(!_ed._started){_ed.startup();}});if(!_ec){this._onChildChange();}},_onChildChange:function(_ee){if(!_ee||_ee=="state"||_ee=="disabled"){this._set("state",this._getState());}if(!_ee||_ee=="value"||_ee=="disabled"||_ee=="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 _ef=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==_ef.domNode){return;}_ef._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(_f0,_f1,_f2){this.onValidStateChange(_f2=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_f3,_f4){return _f3("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _f5=_f4._getTabNavigable(this.domNode);this._firstFocusItem=_f5.lowest||_f5.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_f5.last||_f5.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(_f6,_f7,_f8,_f9,_fa,on,_fb,_fc,_fd,_fe,_ff,_100){var _101=_f6("dijit.DialogUnderlay",[_fc,_fd],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_f9.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_102){this.node.className="dijitDialogUnderlay "+_102;this._set("class",_102);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",_f7.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _103=_fb.getBox(this.ownerDocument);os.top=_103.t+"px";os.left=_103.l+"px";is.width=_103.w+"px";is.height=_103.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _fe(this.domNode);var win=_fb.get(this.ownerDocument);this._modalConnects=[_ff.on("resize",_f7.hitch(this,"layout")),on(win,"scroll",_f7.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(){}});_101.show=function(_104,_105){var _106=_101._singleton;if(!_106||_106._destroyed){_106=_100._underlay=_101._singleton=new _101(_104);}else{if(_104){_106.set(_104);}}_fa.set(_106.domNode,"zIndex",_105);if(!_106.open){_106.show();}};_101.hide=function(){var _107=_101._singleton;if(_107&&!_107._destroyed){_107.hide();}};return _101;});},"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(_108,lang,_109,_10a,_10b,_10c,html,_10d,_10e,_10f,_110,dom,_111,_112,xhr,i18n,when){return _10f("dijit.layout.ContentPane",[_109,_10a,_10b],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_108._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(_113,node,ctor){var self=new ctor(_113,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_114,_115){if((!_114||!_114.template)&&_115&&!("href" in _114)&&!("content" in _114)){_115=dom.byId(_115);var df=_115.ownerDocument.createDocumentFragment();while(_115.firstChild){df.appendChild(_115.firstChild);}_114=lang.delegate(_114,{content:df});}this.inherited(arguments,[_114,_115]);},postMixInProperties:function(){this.inherited(arguments);var _116=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_10c.substitute(this.loadingMessage,_116);this.errorMessage=_10c.substitute(this.errorMessage,_116);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_10e.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_10e.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_10e.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_108.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 _110(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){_108.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 _110(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(_117){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 _110(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 _118={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_118,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_118)),_119;hand.then(function(html){_119=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 _119;});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(_11a){if(this.isLoaded){this._onUnloadHandler();}var _11b=this._contentSetter;_10e.forEach(this.getChildren(),function(_11c){if(_11c.destroyRecursive){_11c.destroyRecursive(_11a);}else{if(_11c.destroy){_11c.destroy(_11a);}}_11c._destroyed=true;});if(_11b){_10e.forEach(_11b.parseResults,function(_11d){if(!_11d._destroyed){if(_11d.destroyRecursive){_11d.destroyRecursive(_11a);}else{if(_11d.destroy){_11d.destroy(_11a);}}_11d._destroyed=true;}});delete _11b.parseResults;}if(!_11a){_112.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_11e){this.destroyDescendants();var _11f=this._contentSetter;if(!(_11f&&_11f instanceof html._ContentSetter)){_11f=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _120=this.onContentError(e);try{this.containerNode.innerHTML=_120;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _121=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=_11f.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_121);var self=this;return when(p&&p.then?p:_11f.parseDeferred,function(){delete self._contentSetterParams;if(!_11e){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},_onError:function(type,err,_122){this.onLoadDeferred.reject(err);var _123=this["on"+type+"Error"].call(this,err);if(_122){console.error(_122,err);}else{if(_123){this._setContent(_123,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(_124,_125,_126,_127,_128,lang,_129,_12a,_12b,_12c){return _125("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _12d=this.getParent();this._childOfLayoutWidget=_12d&&_12d.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_12b.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){if(!this.doLayout){return;}var _12e=[],_12f=false;_129("> *",this.containerNode).some(function(node){var _130=_12a.byNode(node);if(_130&&_130.resize){_12e.push(_130);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_12f=true;}}});this._singleChild=_12e.length==1&&!_12f?_12e[0]:null;_126.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_131,_132){this._resizeCalled=true;this._scheduleLayout(_131,_132);},_scheduleLayout:function(_133,_134){if(this._isShown()){this._layout(_133,_134);}else{this._needLayout=true;this._changeSize=_133;this._resultSize=_134;}},_layout:function(_135,_136){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_135){_127.setMarginBox(this.domNode,_135);}var cn=this.containerNode;if(cn===this.domNode){var mb=_136||{};lang.mixin(mb,_135||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_127.getMarginBox(cn),mb);}this._contentBox=_12c.marginBox2contentBox(cn,mb);}else{this._contentBox=_127.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_127.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _137=this.getChildren(),_138,i=0;while(_138=_137[i++]){if(_138.resize){_138.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,_139=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_126.contains(node,"dijitHidden")&&_139&&_139.style&&(_139.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(_13a,_13b,_13c,_13d,lang){function _13e(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_13f,dim){var _140=_13f.resize?_13f.resize(dim):_13c.setMarginBox(_13f.domNode,dim);if(_140){lang.mixin(_13f,_140);}else{lang.mixin(_13f,_13c.getMarginBox(_13f.domNode));lang.mixin(_13f,dim);}};var _141={marginBox2contentBox:function(node,mb){var cs=_13d.getComputedStyle(node);var me=_13c.getMarginExtents(node,cs);var pb=_13c.getPadBorderExtents(node,cs);return {l:_13d.toPixelValue(node,cs.paddingLeft),t:_13d.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_142,dim,_143,_144,_145){dim=lang.mixin({},dim);_13b.add(_142,"dijitLayoutContainer");_143=_13a.filter(_143,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_13a.filter(_143,function(item){return item.region=="center"||item.layoutAlign=="client";}));_13a.forEach(_143,function(_146){var elm=_146.domNode,pos=(_146.region||_146.layoutAlign);if(!pos){throw new Error("No region setting for "+_146.id);}var _147=elm.style;_147.left=dim.l+"px";_147.top=dim.t+"px";_147.position="absolute";_13b.add(elm,"dijitAlign"+_13e(pos));var _148={};if(_144&&_144==_146.id){_148[_146.region=="top"||_146.region=="bottom"?"h":"w"]=_145;}if(pos=="leading"){pos=_146.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_146.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_148.w=dim.w;size(_146,_148);dim.h-=_146.h;if(pos=="top"){dim.t+=_146.h;}else{_147.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_148.h=dim.h;size(_146,_148);dim.w-=_146.w;if(pos=="left"){dim.l+=_146.w;}else{_147.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_146,dim);}}}});}};lang.setObject("dijit.layout.utils",_141);return _141;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_149,lang,_14a,_14b,dom,_14c,_14d){var _14e=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_14c.empty,_setNodeContent:function(node,cont){_14c.empty(node);if(cont){if(typeof cont=="string"){cont=_14c.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _14f=cont.length,i=0;i<cont.length;i=_14f==cont.length?i+1:0){_14c.place(cont[i],node,"last");}}else{_14c.place(cont,node,"last");}}return node;},_ContentSetter:_14b("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_149._scopeName,startup:true,constructor:function(_150,node){lang.mixin(this,_150||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_14e++].join("_");}},set:function(cont,_151){if(undefined!==cont){this.content=cont;}if(_151){this._mixin(_151);}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 _152=this.onContentError(e);try{node.innerHTML=_152;}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){_14a.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_14c.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _153=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_153){cont=_153[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(_154){var _155={},key;for(key in _154){if(key in _155){continue;}this[key]=_154[key];}},_parse:function(){var _156=this.node;try{var _157={};_14a.forEach(["dir","lang","textDir"],function(name){if(this[name]){_157[name]=this[name];}},this);var self=this;this.parseDeferred=_14d.parse({rootNode:_156,noStart:!this.startup,inherited:_157,scope:this.parserScope}).then(function(_158){return self.parseResults=_158;},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,_159){var _15a=this["on"+type+"Error"].call(this,err);if(_159){console.error(_159,err);}else{if(_15a){html._setNodeContent(this.node,_15a,true);}}}}),set:function(node,cont,_15b){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_15b){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_15b,{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(_15c,_15d,has,keys,lang,on,_15e,_15f,_160,_161,_162,_163,_164){var _165=_15c("dijit.TooltipDialog",[_15f,_162,_161,_160],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_163,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_166,_167){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"}[_166+"-"+_167];_15d.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_15e.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _168=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_168.y+((_168.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=_168.x+((_168.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){_15e.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_15e.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_165.extend({_setTitleAttr:function(_169){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_169):_169;this._set("title",_169);},_setTextDirAttr:function(_16a){if(!this._created||this.textDir!=_16a){this._set("textDir",_16a);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _165;});},"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(_16b,_16c,_16d,_16e,i18n,_16f,_170,_171,_172,keys,lang,has,_173,_174,_175,_176,_177,_178,_179,_17a,_17b,html,_17c,_17d,_17e){var _17f=_16d("dijit.Editor",_17d,{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",_17b];}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 _16e();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")){_172.set(this.domNode,"KhtmlUserSelect","none");}},startup:function(){this.inherited(arguments);if(!this.toolbar){this.toolbar=new _176({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id});this.header.appendChild(this.toolbar.domNode);}_16c.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(true);_170.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_170.add(this.iframe,"dijitEditorIFrame");_16f.set(this.iframe,"allowTransparency",true);this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_16c.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_180,_181){var args=lang.isString(_180)?{name:_180}:lang.isFunction(_180)?{ctor:_180}:_180;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_17a.registry[args.name]){o.plugin=_17a.registry[args.name](args);}else{_174.publish(_17e._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){try{var pc=args.ctor||lang.getObject(args.name)||_16b(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+"]");}_180=o.plugin;}if(arguments.length>1){this._plugins[_181]=_180;}else{this._plugins.push(_180);}_180.setEditor(this);if(lang.isFunction(_180.setToolbar)){_180.setToolbar(this.toolbar);}},resize:function(size){if(size){_178.prototype.resize.apply(this,arguments);}},layout:function(){var _182=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_171.getPadBorderExtents(this.iframe.parentNode).h+_171.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_182+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _183;var b=this.document.body;var _184=b.clientWidth;var _185=b.clientHeight;var _186=b.clientLeft;var _187=b.offsetWidth;var _188=b.offsetHeight;var _189=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_184<_187&&e.x>_184&&e.x<_187){_183=true;}}else{if(e.x<_186&&e.x>_189){_183=true;}}if(!_183){if(_185<_188&&e.y>_185&&e.y<_188){_183=true;}}if(!_183){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=_173.substitute,_18a={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_18a[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 _18b=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_18c,_18d,sel;if(mark){if(has("ie")<9||(has("ie")===9&&has("quirks"))){if(lang.isArray(mark)){_18b=[];_16c.forEach(mark,function(n){_18b.push(_17c.getNode(n,this.editNode));},this);this.selection.moveToBookmark({mark:_18b,isCollapsed:col});}else{if(mark.startContainer&&mark.endContainer){sel=_17c.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_17c.create(this.window);_18c=_17c.getNode(mark.startContainer,this.editNode);_18d=_17c.getNode(mark.endContainer,this.editNode);if(_18c&&_18d){r.setStart(_18c,mark.startOffset);r.setEnd(_18d,mark.endOffset);sel.addRange(r);}}}}}else{sel=_17c.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_17c.create(this.window);_18c=_17c.getNode(mark.startContainer,this.editNode);_18d=_17c.getNode(mark.endContainer,this.editNode);if(_18c&&_18d){r.setStart(_18c,mark.startOffset);r.setEnd(_18d,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(_18e){if(this._editTimer){this._editTimer=this._editTimer.remove();}if(this._inEditing){this._endEditing(_18e);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=_17c.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _18f;if(sel.rangeCount){_18f=sel.getRangeAt(0);}if(_18f){b.mark=_18f.cloneRange();}else{b.mark=this.selection.getBookmark();}}}else{_16c.forEach(b.mark,function(n){tmp.push(_17c.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_17c.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_17c.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=" ";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_190){this.setValueDeferred.then(lang.hitch(this,function(){if((!this.disabled&&_190)||(!this._buttonEnabledPlugins&&_190)){_16c.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_190){_16c.forEach(this._plugins,function(p){p.set("disabled",false);});}}}));this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_172.set(this.document.body,"color",_172.get(this.iframe,"color"));}}catch(e){}}});function _191(args){return new _17a({command:args.name});};function _192(args){return new _17a({buttonClass:_179,command:args.name});};lang.mixin(_17a.registry,{"undo":_191,"redo":_191,"cut":_191,"copy":_191,"paste":_191,"insertOrderedList":_191,"insertUnorderedList":_191,"indent":_191,"outdent":_191,"justifyCenter":_191,"justifyFull":_191,"justifyLeft":_191,"justifyRight":_191,"delete":_191,"selectAll":_191,"removeFormat":_191,"unlink":_191,"insertHorizontalRule":_191,"bold":_192,"italic":_192,"underline":_192,"strikethrough":_192,"subscript":_192,"superscript":_192,"|":function(){return new _17a({setEditor:function(_193){this.editor=_193;this.button=new _177({ownerDocument:_193.ownerDocument});}});}});return _17f;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_194,_195,has,keys,_196,_197,_198,_199){if(has("dijit-legacy-requires")){_196(0,function(){var _19a=["dijit/ToolbarSeparator"];_194(_19a);});}return _195("dijit.Toolbar",[_197,_199,_198],{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(_19b,_19c,_19d,_19e,keys,lang,_19f,_1a0,_1a1,_1a2){return _19c("dijit._KeyNavContainer",[_1a1,_1a2,_1a0],{connectKeyNavHandlers:function(_1a3,_1a4){var _1a5=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_19b.forEach(_1a3,function(code){_1a5[code]=prev;});_19b.forEach(_1a4,function(code){_1a5[code]=next;});_1a5[keys.HOME]=lang.hitch(this,"focusFirstChild");_1a5[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_19e.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_19b.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_1a6,_1a7){this.inherited(arguments);this._startupChild(_1a6);},_startupChild:function(_1a8){_1a8.set("tabIndex","-1");},_getFirst:function(){var _1a9=this.getChildren();return _1a9.length?_1a9[0]:null;},_getLast:function(){var _1aa=this.getChildren();return _1aa.length?_1aa[_1aa.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=_19f.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(_1ab,_1ac,_1ad,keys,lang,on,_1ae,_1af){return _1ac("dijit._KeyNavMixin",_1af,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_1ad.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _1b0=this._keyNavCodes={};_1b0[keys.HOME]=lang.hitch(this,"focusFirstChild");_1b0[keys.END]=lang.hitch(this,"focusLastChild");_1b0[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_1b0[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_1b0[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_1b0[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_1b1=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(_1b1,"focusin"),function(evt){self._onChildFocus(_1ae.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(_1b2,last){if(!_1b2){return;}if(this.focusedChild&&_1b2!==this.focusedChild){this._onChildBlur(this.focusedChild);}_1b2.set("tabIndex",this.tabIndex);_1b2.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_1ad.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_1ad.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(_1b3){if(_1b3&&_1b3!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_1b3.set("tabIndex",this.tabIndex);this.lastFocused=_1b3;this._set("focusedChild",_1b3);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_1b4,_1b5){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_1b6){var _1b7=item.domNode,text=item.label||(_1b7.focusNode?_1b7.focusNode.label:"")||_1b7.innerText||_1b7.textContent||"",_1b8=text.replace(/^\s+/,"").substr(0,_1b6.length).toLowerCase();return (!!_1b6.length&&_1b8==_1b6)?-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,_1b9){var _1ba=null,_1bb,_1bc=0,_1bd=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_1b9;var _1be=/^(.)\1*$/.test(this._searchString);var _1bf=_1be?1:this._searchString.length;_1bb=this._searchString.substr(0,_1bf);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _1c0=this.focusedChild||null;if(_1bf==1||!_1c0){_1c0=this._getNextFocusableChild(_1c0,1);if(!_1c0){return;}}var stop=_1c0;do{var rc=this._keyboardSearchCompare(_1c0,_1bb);if(!!rc&&_1bc++==0){_1ba=_1c0;}if(rc==-1){_1bc=-1;break;}_1c0=this._getNextFocusableChild(_1c0,1);}while(_1c0!=stop);});_1bd();this.onKeyboardSearch(_1ba,evt,_1bb,_1bc);},_onChildBlur:function(){},_getNextFocusableChild:function(_1c1,dir){var _1c2=_1c1;do{if(!_1c1){_1c1=this[dir>0?"_getFirst":"_getLast"]();if(!_1c1){break;}}else{_1c1=this._getNext(_1c1,dir);}if(_1c1!=null&&_1c1!=_1c2&&_1c1.isFocusable()){return _1c1;}}while(_1c1!=_1c2);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_1c3,dir){if(_1c3){_1c3=_1c3.domNode;while(_1c3){_1c3=_1c3[dir<0?"previousSibling":"nextSibling"];if(_1c3&&"getAttribute" in _1c3){var w=_1ae.byNode(_1c3);if(w){return w;}}}}return null;}});});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_1c4,dom,_1c5,_1c6){return _1c4("dijit.ToolbarSeparator",[_1c5,_1c6],{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(_1c7,_1c8,_1c9,_1ca){return _1c7("dijit.form.ToggleButton",[_1c9,_1ca],{baseClass:"dijitToggleButton",setChecked:function(_1cb){_1c8.deprecated("setChecked("+_1cb+") is deprecated. Use set('checked',"+_1cb+") instead.","","2.0");this.set("checked",_1cb);}});});},"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(_1cc,_1cd,_1ce,has,_1cf,lang,_1d0,_1d1,_1d2,_1d3){if(has("dijit-legacy-requires")){_1d0(0,function(){var _1d4=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_1cc(_1d4);});}var _1d5=_1cd("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_1d1,_1d2],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_1d3,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},_fillContent:function(_1d6){if(_1d6&&(!this.params||!("label" in this.params))){var _1d7=lang.trim(_1d6.innerHTML);if(_1d7){this.label=_1d7;}}},_setShowLabelAttr:function(val){if(this.containerNode){_1ce.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_1d8){_1cf.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_1d8);},_setLabelAttr:function(_1d9){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")){_1d5=_1cd("dijit.form.Button",_1d5,{_setLabelAttr:function(_1da){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_1db){if(this._created&&this.textDir!=_1db){this._set("textDir",_1db);this._setLabelAttr(this.label);}}});}return _1d5;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_1dc,dom,has,_1dd){var _1de=_1dc("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 _1df=e.defaultPrevented;if(!_1df&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _1e0=_1dd.byNode(node);if(_1e0&&typeof _1e0._onSubmit=="function"){_1e0._onSubmit(e);e.preventDefault();_1df=true;break;}}}return !_1df;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_1e1){this._set("label",_1e1);var _1e2=this.containerNode||this.focusNode;_1e2.innerHTML=_1e1;}});if(has("dojo-bidi")){_1de=_1dc("dijit.form._ButtonMixin",_1de,{_setLabelAttr:function(){this.inherited(arguments);var _1e3=this.containerNode||this.focusNode;this.applyTextDir(_1e3);}});}return _1de;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_1e4,_1e5){return _1e4("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _1e6=this.checked;this._set("checked",!_1e6);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_1e6);return ret;},_setCheckedAttr:function(_1e7,_1e8){this._set("checked",_1e7);var node=this.focusNode||this.domNode;if(this._created){if(_1e5.get(node,"checked")!=!!_1e7){_1e5.set(node,"checked",!!_1e7);}}node.setAttribute(this._aria_attr,String(_1e7));this._handleOnChange(_1e7,_1e8);},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(_1e9,_1ea,lang,_1eb,_1ec){var _1ed=_1ea("dijit._editor._Plugin",_1eb,{constructor:function(args){this.params=args||{};lang.mixin(this,this.params);this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_1ec,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _1ee=this.getLabel(this.command),_1ef=this.editor,_1f0=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _1f1=lang.mixin({label:_1ee,ownerDocument:_1ef.ownerDocument,dir:_1ef.dir,lang:_1ef.lang,showLabel:false,iconClass:_1f0,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});delete _1f1.name;this.button=new this.buttonClass(_1f1);}}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(_1e9.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_1f2,_1f3;if(!e||!e.isLoaded||!c.length){return;}var _1f4=this.get("disabled");if(this.button){try{_1f3=!_1f4&&e.queryCommandEnabled(c);if(this.enabled!==_1f3){this.enabled=_1f3;this.button.set("disabled",!_1f3);}if(_1f3){if(typeof this.button.checked=="boolean"){_1f2=e.queryCommandState(c);if(this.checked!==_1f2){this.checked=_1f2;this.button.set("checked",e.queryCommandState(c));}}}}catch(e){}}},setEditor:function(_1f5){this.editor=_1f5;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(_1f6){if(this.button){_1f6.addChild(this.button);}},set:function(name,_1f7){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1f8=this._getAttrNames(name);if(this[_1f8.s]){var _1f9=this[_1f8.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_1f7);}return _1f9||this;},get:function(name){var _1fa=this._getAttrNames(name);return this[_1fa.g]?this[_1fa.g]():this[name];},_setDisabledAttr:function(_1fb){this._set("disabled",_1fb);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,_1fc){this[name]=_1fc;}});_1ed.registry={};return _1ed;});},"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(_1fd,_1fe,keys,lang,on,has,win,_1ff,_200,_201,_202){return _1fd("dijit._editor.plugins.EnterKeyHandling",_200,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_203){if(this.editor===_203){return;}this.editor=_203;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_203.onLoadDeferred.then(lang.hitch(this,function(d){this.own(on(_203.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(_203.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");_203.addKeyHandler(13,0,0,h);_203.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 _204=this.editor.selection.getAncestorElement("LI");if(!_204){_201.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _205=this.editor.selection.getAncestorElement(this.blockNodeForEnter);if(_205){_205.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(_204.parentNode.parentNode.nodeName=="LI"){_204=_204.parentNode.parentNode;}}var fc=_204.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_204.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _206=_202.create(this.editor.window);_206.setStart(_204.firstChild,0);var _207=_202.getSelection(this.editor.window,true);_207.removeAllRanges();_207.addRange(_206);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:" ",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var _208,_209,_20a,_20b,_20c,_20d,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _20e=this.editor.selection.getParentElement();var _20f=_202.getAncestor(_20e,this.blockNodes);if(_20f){if(_20f.tagName=="LI"){return true;}_208=_202.getSelection(this.editor.window);_209=_208.getRangeAt(0);if(!_209.collapsed){_209.deleteContents();_208=_202.getSelection(this.editor.window);_209=_208.getRangeAt(0);}if(_202.atBeginningOfContainer(_20f,_209.startContainer,_209.startOffset)){br=doc.createElement("br");_20a=_202.create(this.editor.window);_20f.insertBefore(br,_20f.firstChild);_20a.setStartAfter(br);_208.removeAllRanges();_208.addRange(_20a);}else{if(_202.atEndOfContainer(_20f,_209.startContainer,_209.startOffset)){_20a=_202.create(this.editor.window);br=doc.createElement("br");_20f.appendChild(br);_20f.appendChild(doc.createTextNode(" "));_20a.setStart(_20f.lastChild,0);_208.removeAllRanges();_208.addRange(_20a);}else{rs=_209.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;_20b=doc.createTextNode(txt.substring(0,_209.startOffset));_20c=doc.createTextNode(txt.substring(_209.startOffset));_20d=doc.createElement("br");if(_20c.nodeValue==""&&has("webkit")){_20c=doc.createTextNode(" ");}_1fe.place(_20b,rs,"after");_1fe.place(_20d,_20b,"after");_1fe.place(_20c,_20d,"after");_1fe.destroy(rs);_20a=_202.create(this.editor.window);_20a.setStart(_20c,0);_208.removeAllRanges();_208.addRange(_20a);return false;}return true;}}}else{_208=_202.getSelection(this.editor.window);if(_208.rangeCount){_209=_208.getRangeAt(0);if(_209&&_209.startContainer){if(!_209.collapsed){_209.deleteContents();_208=_202.getSelection(this.editor.window);_209=_208.getRangeAt(0);}rs=_209.startContainer;if(rs&&rs.nodeType==3){var _210=_209.startOffset;if(rs.length<_210){ret=this._adjustNodeAndOffset(rs,_210);rs=ret.node;_210=ret.offset;}txt=rs.nodeValue;_20b=doc.createTextNode(txt.substring(0,_210));_20c=doc.createTextNode(txt.substring(_210));_20d=doc.createElement("br");if(!_20c.length){_20c=doc.createTextNode(" ");}if(_20b.length){_1fe.place(_20b,rs,"after");}else{_20b=rs;}_1fe.place(_20d,_20b,"after");_1fe.place(_20c,_20d,"after");_1fe.destroy(rs);_20a=_202.create(this.editor.window);_20a.setStart(_20c,0);_20a.setEnd(_20c,_20c.length);_208.removeAllRanges();_208.addRange(_20a);this.editor.selection.collapse(true);}else{var _211;if(_209.startOffset>=0){_211=rs.childNodes[_209.startOffset];}var _20d=doc.createElement("br");var _20c=doc.createTextNode(" ");if(!_211){rs.appendChild(_20d);rs.appendChild(_20c);}else{_1fe.place(_20d,_211,"before");_1fe.place(_20c,_20d,"after");}_20a=_202.create(this.editor.window);_20a.setStart(_20c,0);_20a.setEnd(_20c,_20c.length);_208.removeAllRanges();_208.addRange(_20a);this.editor.selection.collapse(true);}}}else{_201.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _212=true;_208=_202.getSelection(this.editor.window);_209=_208.getRangeAt(0);if(!_209.collapsed){_209.deleteContents();_208=_202.getSelection(this.editor.window);_209=_208.getRangeAt(0);}var _213=_202.getBlockAncestor(_209.endContainer,null,this.editor.editNode);var _214=_213.blockNode;if((this._checkListLater=(_214&&(_214.nodeName=="LI"||_214.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_214;}if(/^(\s| | |\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s| | |\xA0)<\/span>)?(<br>)?$/.test(_214.innerHTML)){_214.innerHTML="";if(has("webkit")){_20a=_202.create(this.editor.window);_20a.setStart(_214,0);_208.removeAllRanges();_208.addRange(_20a);}this._checkListLater=false;}return true;}if(!_213.blockNode||_213.blockNode===this.editor.editNode){try{_201.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_213={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(_213.blockNode){if(_213.blockNode!=this.editor.editNode&&(!(_213.blockNode.textContent||_213.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_213.blockNode);return false;}}else{_213.blockNode=this.editor.editNode;}_208=_202.getSelection(this.editor.window);_209=_208.getRangeAt(0);}var _215=doc.createElement(this.blockNodeForEnter);_215.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_213.blockNode);var _216=_209.endOffset;var node=_209.endContainer;if(node.length<_216){var ret=this._adjustNodeAndOffset(node,_216);node=ret.node;_216=ret.offset;}if(_202.atEndOfContainer(_213.blockNode,node,_216)){if(_213.blockNode===_213.blockContainer){_213.blockNode.appendChild(_215);}else{_1fe.place(_215,_213.blockNode,"after");}_212=false;_20a=_202.create(this.editor.window);_20a.setStart(_215,0);_208.removeAllRanges();_208.addRange(_20a);if(this.editor.height){_1ff.scrollIntoView(_215);}}else{if(_202.atBeginningOfContainer(_213.blockNode,_209.startContainer,_209.startOffset)){_1fe.place(_215,_213.blockNode,_213.blockNode===_213.blockContainer?"first":"before");if(_215.nextSibling&&this.editor.height){_20a=_202.create(this.editor.window);_20a.setStart(_215.nextSibling,0);_208.removeAllRanges();_208.addRange(_20a);_1ff.scrollIntoView(_215.nextSibling);}_212=false;}else{if(_213.blockNode===_213.blockContainer){_213.blockNode.appendChild(_215);}else{_1fe.place(_215,_213.blockNode,"after");}_212=false;if(_213.blockNode.style){if(_215.style){if(_213.blockNode.style.cssText){_215.style.cssText=_213.blockNode.style.cssText;}}}rs=_209.startContainer;var _217;if(rs&&rs.nodeType==3){var _218,_219;_216=_209.endOffset;if(rs.length<_216){ret=this._adjustNodeAndOffset(rs,_216);rs=ret.node;_216=ret.offset;}txt=rs.nodeValue;_20b=doc.createTextNode(txt.substring(0,_216));_20c=doc.createTextNode(txt.substring(_216,txt.length));_1fe.place(_20b,rs,"before");_1fe.place(_20c,rs,"after");_1fe.destroy(rs);var _21a=_20b.parentNode;while(_21a!==_213.blockNode){var tg=_21a.tagName;var _21b=doc.createElement(tg);if(_21a.style){if(_21b.style){if(_21a.style.cssText){_21b.style.cssText=_21a.style.cssText;}}}if(_21a.tagName==="FONT"){if(_21a.color){_21b.color=_21a.color;}if(_21a.face){_21b.face=_21a.face;}if(_21a.size){_21b.size=_21a.size;}}_218=_20c;while(_218){_219=_218.nextSibling;_21b.appendChild(_218);_218=_219;}_1fe.place(_21b,_21a,"after");_20b=_21a;_20c=_21b;_21a=_21a.parentNode;}_218=_20c;if(_218.nodeType==1||(_218.nodeType==3&&_218.nodeValue)){_215.innerHTML="";}_217=_218;while(_218){_219=_218.nextSibling;_215.appendChild(_218);_218=_219;}}_20a=_202.create(this.editor.window);var _21c;var _21d=_217;if(this.blockNodeForEnter!=="BR"){while(_21d){_21c=_21d;_219=_21d.firstChild;_21d=_219;}if(_21c&&_21c.parentNode){_215=_21c.parentNode;_20a.setStart(_215,0);_208.removeAllRanges();_208.addRange(_20a);if(this.editor.height){_1ff.scrollIntoView(_215);}if(has("mozilla")){this._pressedEnterInBlock=_213.blockNode;}}else{_212=true;}}else{_20a.setStart(_215,0);_208.removeAllRanges();_208.addRange(_20a);if(this.editor.height){_1ff.scrollIntoView(_215);}if(has("mozilla")){this._pressedEnterInBlock=_213.blockNode;}}}}return _212;},_adjustNodeAndOffset:function(node,_21e){while(node.length<_21e&&node.nextSibling&&node.nextSibling.nodeType==3){_21e=_21e-node.length;node=node.nextSibling;}return {"node":node,"offset":_21e};},removeTrailingBr:function(_21f){var para=/P|DIV|LI/i.test(_21f.tagName)?_21f:this.editor.selection.getParentOfType(_21f,["P","DIV","LI"]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&¶.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||para.lastChild.tagName=="BR"){_1fe.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(_220,_221,_222,_223,dom,_224,_225,_226,_227,_228,_229,keys,lang,on,_22a,_22b,has,_22c,_22d,_22e,_22f,_230,_231,_232,_233,_234,_235,_236){var _237=_222("dijit._editor.RichText",[_230,_231],{constructor:function(_238){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_238&&lang.isString(_238.value)){this.value=_238.value;}this.onLoadDeferred=new _223();},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);_22c.publish(_236._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 _239={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")){_239.Z=exec("redo");}var key;for(key in _239){this.addKeyHandler(key,true,false,_239[key]);}},events:["onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_237._editorCommandsLocalized){this._local2NativeFormatNames=_237._local2NativeFormatNames;this._native2LocalFormatNames=_237._native2LocalFormatNames;return;}_237._editorCommandsLocalized=true;_237._local2NativeFormatNames={};_237._native2LocalFormatNames={};this._local2NativeFormatNames=_237._local2NativeFormatNames;this._native2LocalFormatNames=_237._native2LocalFormatNames;var _23a=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _23b="",_23c,i=0;while((_23c=_23a[i++])){if(_23c.charAt(1)!=="l"){_23b+="<"+_23c+"><span>content</span></"+_23c+"><br/>";}else{_23b+="<"+_23c+"><li>content</li></"+_23c+"><br/>";}}var _23d={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_226.create("div",{style:_23d,innerHTML:_23b});this.ownerDocumentBody.appendChild(div);var _23e=lang.hitch(this,function(){var node=div.firstChild;while(node){try{this.selection.selectElement(node.firstChild);var _23f=node.tagName.toLowerCase();this._local2NativeFormatNames[_23f]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_23f]]=_23f;node=node.nextSibling.nextSibling;}catch(e){}}_226.destroy(div);});this.defer(_23e);},open:function(_240){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _223();}if(!this.isClosed){this.close();}_22c.publish(_236._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_240.nodeName){this.domNode=_240;}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;_226.place(dn,ta,"before");var _241=lang.hitch(this,function(){_228.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(_241,10);}else{_241();}if(ta.form){var _242=ta.value;this.reset=function(){var _243=this.getValue();if(_243!==_242){this.replaceValue(_242);}};on(ta.form,"submit",lang.hitch(this,function(){_224.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_234.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!==""&&(!_221["useXDomain"]||_221["allowXdRichTextSave"])){var _244=dom.byId(_236._scopeName+"._editor.RichText.value");if(_244&&_244.value!==""){var _245=_244.value.split(this._SEPARATOR),i=0,dat;while((dat=_245[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){this.value=data[1];_245=_245.splice(i,1);_244.value=_245.join(this._SEPARATOR);break;}}}if(!_237._globalSaveHandler){_237._globalSaveHandler={};_22d.addOnUnload(function(){var id;for(id in _237._globalSaveHandler){var f=_237._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_237._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 _232.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";}_225.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _246=_228.getComputedStyle(this.domNode);var html="<div id='dijitEditorBody'></div>";var font=[_246.fontWeight,_246.fontSize,_246.fontFamily].join(" ");var _247=_246.lineHeight;if(_247.indexOf("px")>=0){_247=parseFloat(_247)/parseFloat(_246.fontSize);}else{if(_247.indexOf("em")>=0){_247=parseFloat(_247);}else{_247="normal";}}var _248="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_249){_249=_249.replace(/^;/ig,"")+";";var s=_249.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;}}_228.set(self.domNode,sC,"");}_248+=_249+";";});var _24a=_22a("label[for=\""+this.id+"\"]");var _24b="";if(_24a.length){_24b=_24a[0].innerHTML;}else{if(this["aria-label"]){_24b=this["aria-label"];}else{if(this["aria-labelledby"]){_24b=dom.byId(this["aria-labelledby"]).innerHTML;}}}this.iframe.setAttribute("title",_24b);return ["<!DOCTYPE html>",this.isLeftToRight()?"<html lang='"+this.lang+"'>\n<head>\n":"<html dir='rtl' lang='"+this.lang+"'>\n<head>\n",_24b?"<title>"+_24b+"</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:",_247,";\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='"+_248+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _24c=[];if(this.styleSheets){_24c=this.styleSheets.split(";");this.styleSheets="";}_24c=_24c.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url,_24d=_22f.get(this.ownerDocument);while((url=_24c[i++])){var _24e=(new _22e(_24d.location,url)).toString();this.editingAreaStyleSheets.push(_24e);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_24e+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString(),_24f=_22f.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _22e(_24f.location,url)).toString();}if(_220.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 _250=this.document.createElement("link");_250.rel="stylesheet";_250.type="text/css";_250.href=url;head.appendChild(_250);}}));},removeStyleSheet:function(uri){var url=uri.toString(),_251=_22f.get(this.ownerDocument);if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _22e(_251.location,url)).toString();}var _252=_220.indexOf(this.editingAreaStyleSheets,url);if(_252===-1){return;}delete this.editingAreaStyleSheets[_252];_22a("link[href=\""+url+"\"]",this.window.document).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_253){_253=!!_253;this._set("disabled",_253);if(!this.isLoaded){return;}var _254=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_254){this.editNode.unselectable="on";}this.editNode.contentEditable=!_253;this.editNode.tabIndex=_253?"-1":this.tabIndex;if(_254){this.defer(function(){if(this.editNode){this.editNode.unselectable="off";}});}if(has("mozilla")&&!_253&&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=_235.registerIframe(this.iframe);}this.editNode=this.document.body.firstChild;var _255=this;this.beforeIframeNode=_226.place("<div tabIndex=-1></div>",this.iframe,"before");this.afterIframeNode=_226.place("<div tabIndex=-1></div>",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){_255.editNode.focus();};this.focusNode=this.editNode;var _256=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;this.own.apply(this,_220.map(_256,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 _257=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred&&!this.onLoadDeferred.isFulfilled()){this.onLoadDeferred.resolve(true);}this.onDisplayChanged();if(this.focusOnLoad){_22b(lang.hitch(this,"defer","focus",this.updateInterval));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.then(_257);}else{_257();}},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 _258=this._keyHandlers[e.keyCode],args=arguments;if(_258&&!e.altKey){_220.some(_258,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(_259){_229.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_259);},_setValueAttr:function(_25a){this.setValue(_25a);},_setDisableSpellCheckAttr:function(_25b){if(this.document){_224.set(this.document.body,"spellcheck",!_25b);}else{this.onLoadDeferred.then(lang.hitch(this,function(){_224.set(this.document.body,"spellcheck",!_25b);}));}this._set("disableSpellCheck",_25b);},addKeyHandler:function(key,ctrl,_25c,_25d){if(typeof key=="string"){key=key.toUpperCase().charCodeAt(0);}if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_25c||false,ctrl:ctrl||false,handler:_25d});},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(!_235.curNode){this.ownerDocumentBody.focus();}});}this.inherited(arguments);var _25e=this.getValue(true);if(_25e!==this.value){this.onChange(_25e);}this._set("value",_25e);},_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,_25f){var _260=cmd.toLowerCase();if(_260==="formatblock"){if(has("safari")&&_25f===undefined){_260="heading";}}else{if(_260==="hilitecolor"&&!has("mozilla")){_260="backcolor";}}return _260;},_qcaCache:{},queryCommandAvailable:function(_261){var ca=this._qcaCache[_261];if(ca!==undefined){return ca;}return (this._qcaCache[_261]=this._queryCommandAvailable(_261));},_queryCommandAvailable:function(_262){var ie=1;var _263=1<<1;var _264=1<<2;var _265=1<<3;function _266(_267){return {ie:Boolean(_267&ie),mozilla:Boolean(_267&_263),webkit:Boolean(_267&_264),opera:Boolean(_267&_265)};};var _268=null;switch(_262.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":_268=_266(_263|ie|_264|_265);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":_268=_266(_263|ie|_265|_264);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_268=_266(ie);break;case "cut":case "copy":case "paste":_268=_266(ie|_263|_264|_265);break;case "inserttable":_268=_266(_263|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_268=_266(ie|_263);break;default:return false;}return ((has("ie")||has("trident"))&&_268.ie)||(has("mozilla")&&_268.mozilla)||(has("webkit")&&_268.webkit)||(has("opera")&&_268.opera);},execCommand:function(_269,_26a){var _26b;if(this.focused){this.focus();}_269=this._normalizeCommand(_269,_26a);if(_26a!==undefined){if(_269==="heading"){throw new Error("unimplemented");}else{if(_269==="formatblock"&&(has("ie")||has("trident"))){_26a="<"+_26a+">";}}}var _26c="_"+_269+"Impl";if(this[_26c]){_26b=this[_26c](_26a);}else{_26a=arguments.length>1?_26a:null;if(_26a||_269!=="createlink"){_26b=this.document.execCommand(_269,false,_26a);}}this.onDisplayChanged();return _26b;},queryCommandEnabled:function(_26d){if(this.disabled||!this._disabledOK){return false;}_26d=this._normalizeCommand(_26d);var _26e="_"+_26d+"EnabledImpl";if(this[_26e]){return this[_26e](_26d);}else{return this._browserQueryCommandEnabled(_26d);}},queryCommandState:function(_26f){if(this.disabled||!this._disabledOK){return false;}_26f=this._normalizeCommand(_26f);try{return this.document.queryCommandState(_26f);}catch(e){return false;}},queryCommandValue:function(_270){if(this.disabled||!this._disabledOK){return false;}var r;_270=this._normalizeCommand(_270);if((has("ie")||has("trident"))&&_270==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_270)];}else{if(has("mozilla")&&_270==="hilitecolor"){var _271;try{_271=this.document.queryCommandValue("styleWithCSS");}catch(e){_271=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_270);this.document.execCommand("styleWithCSS",false,_271);}else{r=this.document.queryCommandValue(_270);}}return r;},_sCall:function(name,args){return this.selection[name].apply(this.selection,args);},placeCursorAtStart:function(){this.focus();var _272=false;if(has("mozilla")){var _273=this.editNode.firstChild;while(_273){if(_273.nodeType===3){if(_273.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_272=true;this.selection.selectElement(_273);break;}}else{if(_273.nodeType===1){_272=true;var tg=_273.tagName?_273.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this.selection.selectElement(_273);}else{this.selection.selectElementChildren(_273);}break;}}_273=_273.nextSibling;}}else{_272=true;this.selection.selectElementChildren(this.editNode);}if(_272){this.selection.collapse(true);}},placeCursorAtEnd:function(){this.focus();var _274=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_274=true;this.selection.selectElement(last);break;}}else{if(last.nodeType===1){_274=true;this.selection.selectElement(last.lastChild||last);break;}}last=last.previousSibling;}}else{_274=true;this.selection.selectElementChildren(this.editNode);}if(_274){this.selection.collapse(false);}},getValue:function(_275){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this.isLoaded?this._postFilterContent(null,_275):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;_220.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_220.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_276){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_276){dom=lang.clone(dom);}_220.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_234.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_220.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _277=dom.byId(_236._scopeName+"._editor.RichText.value");if(_277){if(_277.value){_277.value+=this._SEPARATOR;}_277.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_278){str=str.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");if(!_278){str=str.replace(/'/gm,"'");}return str;},getNodeHtml:function(node){_229.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _234.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_229.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _234.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;_226.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_225.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(_237._globalSaveHandler){delete _237._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(_279){if(!_279){return false;}var elem=has("ie")<9?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_279);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _27a=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_27a=true;}else{_27a=this.document.queryCommandEnabled("createlink");}}else{_27a=this._browserQueryCommandEnabled("createlink");}return _27a;},_unlinkEnabledImpl:function(){var _27b=true;if(has("mozilla")||has("webkit")){_27b=this.selection.hasAncestorElement("a");}else{_27b=this._browserQueryCommandEnabled("unlink");}return _27b;},_inserttableEnabledImpl:function(){var _27c=true;if(has("mozilla")||has("webkit")){_27c=true;}else{_27c=this._browserQueryCommandEnabled("inserttable");}return _27c;},_cutEnabledImpl:function(){var _27d=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_27d=!!sel;}else{_27d=this._browserQueryCommandEnabled("cut");}return _27d;},_copyEnabledImpl:function(){var _27e=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_27e=!!sel;}else{_27e=this._browserQueryCommandEnabled("copy");}return _27e;},_pasteEnabledImpl:function(){var _27f=true;if(has("webkit")){return true;}else{_27f=this._browserQueryCommandEnabled("paste");}return _27f;},_inserthorizontalruleImpl:function(_280){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_280);},_unlinkImpl:function(_281){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,_281);},_hilitecolorImpl:function(_282){var _283;var _284=this._handleTextColorOrProperties("hilitecolor",_282);if(!_284){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_283=this.document.execCommand("hilitecolor",false,_282);this.document.execCommand("styleWithCSS",false,false);}else{_283=this.document.execCommand("hilitecolor",false,_282);}}return _283;},_backcolorImpl:function(_285){if(has("ie")){_285=_285?_285:null;}var _286=this._handleTextColorOrProperties("backcolor",_285);if(!_286){_286=this.document.execCommand("backcolor",false,_285);}return _286;},_forecolorImpl:function(_287){if(has("ie")){_287=_287?_287:null;}var _288=false;_288=this._handleTextColorOrProperties("forecolor",_287);if(!_288){_288=this.document.execCommand("forecolor",false,_287);}return _288;},_inserthtmlImpl:function(_289){_289=this._preFilterContent(_289);var rv=true;if(has("ie")<9){var _28a=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_28a.item(0);while(_28a.length){_28a.remove(_28a.item(0));}n.outerHTML=_289;}else{_28a.pasteHTML(_289);}_28a.select();}else{if(has("trident")<8){var _28a;var _28b=_233.getSelection(this.window);if(_28b&&_28b.rangeCount&&_28b.getRangeAt){_28a=_28b.getRangeAt(0);_28a.deleteContents();var div=_226.create("div");div.innerHTML=_289;var node,_28c;var n=this.document.createDocumentFragment();while((node=div.firstChild)){_28c=n.appendChild(node);}_28a.insertNode(n);if(_28c){_28a=_28a.cloneRange();_28a.setStartAfter(_28c);_28a.collapse(false);_28b.removeAllRanges();_28b.addRange(_28a);}}}else{if(has("mozilla")&&!_289.length){this.selection.remove();}else{rv=this.document.execCommand("inserthtml",false,_289);}}}return rv;},_boldImpl:function(_28d){var _28e=false;if(has("ie")||has("trident")){this._adaptIESelection();_28e=this._adaptIEFormatAreaAndExec("bold");}if(!_28e){_28e=this.document.execCommand("bold",false,_28d);}return _28e;},_italicImpl:function(_28f){var _290=false;if(has("ie")||has("trident")){this._adaptIESelection();_290=this._adaptIEFormatAreaAndExec("italic");}if(!_290){_290=this.document.execCommand("italic",false,_28f);}return _290;},_underlineImpl:function(_291){var _292=false;if(has("ie")||has("trident")){this._adaptIESelection();_292=this._adaptIEFormatAreaAndExec("underline");}if(!_292){_292=this.document.execCommand("underline",false,_291);}return _292;},_strikethroughImpl:function(_293){var _294=false;if(has("ie")||has("trident")){this._adaptIESelection();_294=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_294){_294=this.document.execCommand("strikethrough",false,_293);}return _294;},_superscriptImpl:function(_295){var _296=false;if(has("ie")||has("trident")){this._adaptIESelection();_296=this._adaptIEFormatAreaAndExec("superscript");}if(!_296){_296=this.document.execCommand("superscript",false,_295);}return _296;},_subscriptImpl:function(_297){var _298=false;if(has("ie")||has("trident")){this._adaptIESelection();_298=this._adaptIEFormatAreaAndExec("subscript");}if(!_298){_298=this.document.execCommand("subscript",false,_297);}return _298;},_fontnameImpl:function(_299){var _29a;if(has("ie")||has("trident")){_29a=this._handleTextColorOrProperties("fontname",_299);}if(!_29a){_29a=this.document.execCommand("fontname",false,_299);}return _29a;},_fontsizeImpl:function(_29b){var _29c;if(has("ie")||has("trident")){_29c=this._handleTextColorOrProperties("fontsize",_29b);}if(!_29c){_29c=this.document.execCommand("fontsize",false,_29b);}return _29c;},_insertorderedlistImpl:function(_29d){var _29e=false;if(has("ie")||has("trident")){_29e=this._adaptIEList("insertorderedlist",_29d);}if(!_29e){_29e=this.document.execCommand("insertorderedlist",false,_29d);}return _29e;},_insertunorderedlistImpl:function(_29f){var _2a0=false;if(has("ie")||has("trident")){_2a0=this._adaptIEList("insertunorderedlist",_29f);}if(!_2a0){_2a0=this.document.execCommand("insertunorderedlist",false,_29f);}return _2a0;},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=_227.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_2a1){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_2a1);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_2a1)==="");}}return false;},_removeStartingRangeFromRange:function(node,_2a2){if(node.nextSibling){_2a2.setStart(node.nextSibling,0);}else{var _2a3=node.parentNode;while(_2a3&&_2a3.nextSibling==null){_2a3=_2a3.parentNode;}if(_2a3){_2a2.setStart(_2a3.nextSibling,0);}}return _2a2;},_adaptIESelection:function(){var _2a4=_233.getSelection(this.window);if(_2a4&&_2a4.rangeCount&&!_2a4.isCollapsed){var _2a5=_2a4.getRangeAt(0);var _2a6=_2a5.startContainer;var _2a7=_2a5.startOffset;while(_2a6.nodeType===3&&_2a7>=_2a6.length&&_2a6.nextSibling){_2a7=_2a7-_2a6.length;_2a6=_2a6.nextSibling;}var _2a8=null;while(this._isNodeEmpty(_2a6,_2a7)&&_2a6!==_2a8){_2a8=_2a6;_2a5=this._removeStartingRangeFromRange(_2a6,_2a5);_2a6=_2a5.startContainer;_2a7=0;}_2a4.removeAllRanges();_2a4.addRange(_2a5);}},_adaptIEFormatAreaAndExec:function(_2a9){var _2aa=_233.getSelection(this.window);var doc=this.document;var rs,ret,_2ab,txt,_2ac,_2ad,_2ae,_2af;if(_2a9&&_2aa&&_2aa.isCollapsed){var _2b0=this.queryCommandValue(_2a9);if(_2b0){var _2b1=this._tagNamesForCommand(_2a9);_2ab=_2aa.getRangeAt(0);var fs=_2ab.startContainer;if(fs.nodeType===3){var _2b2=_2ab.endOffset;if(fs.length<_2b2){ret=this._adjustNodeAndOffset(rs,_2b2);fs=ret.node;_2b2=ret.offset;}}var _2b3;while(fs&&fs!==this.editNode){var _2b4=fs.tagName?fs.tagName.toLowerCase():"";if(_220.indexOf(_2b1,_2b4)>-1){_2b3=fs;break;}fs=fs.parentNode;}if(_2b3){rs=_2ab.startContainer;var _2b5=doc.createElement(_2b3.tagName);_226.place(_2b5,_2b3,"after");if(rs&&rs.nodeType===3){var _2b6,_2b7;var _2b8=_2ab.endOffset;if(rs.length<_2b8){ret=this._adjustNodeAndOffset(rs,_2b8);rs=ret.node;_2b8=ret.offset;}txt=rs.nodeValue;_2ac=doc.createTextNode(txt.substring(0,_2b8));var _2b9=txt.substring(_2b8,txt.length);if(_2b9){_2ad=doc.createTextNode(_2b9);}_226.place(_2ac,rs,"before");if(_2ad){_2ae=doc.createElement("span");_2ae.className="ieFormatBreakerSpan";_226.place(_2ae,rs,"after");_226.place(_2ad,_2ae,"after");_2ad=_2ae;}_226.destroy(rs);var _2ba=_2ac.parentNode;var _2bb=[];var _2bc;while(_2ba!==_2b3){var tg=_2ba.tagName;_2bc={tagName:tg};_2bb.push(_2bc);var _2bd=doc.createElement(tg);if(_2ba.style){if(_2bd.style){if(_2ba.style.cssText){_2bd.style.cssText=_2ba.style.cssText;_2bc.cssText=_2ba.style.cssText;}}}if(_2ba.tagName==="FONT"){if(_2ba.color){_2bd.color=_2ba.color;_2bc.color=_2ba.color;}if(_2ba.face){_2bd.face=_2ba.face;_2bc.face=_2ba.face;}if(_2ba.size){_2bd.size=_2ba.size;_2bc.size=_2ba.size;}}if(_2ba.className){_2bd.className=_2ba.className;_2bc.className=_2ba.className;}if(_2ad){_2b6=_2ad;while(_2b6){_2b7=_2b6.nextSibling;_2bd.appendChild(_2b6);_2b6=_2b7;}}if(_2bd.tagName==_2ba.tagName){_2ae=doc.createElement("span");_2ae.className="ieFormatBreakerSpan";_226.place(_2ae,_2ba,"after");_226.place(_2bd,_2ae,"after");}else{_226.place(_2bd,_2ba,"after");}_2ac=_2ba;_2ad=_2bd;_2ba=_2ba.parentNode;}if(_2ad){_2b6=_2ad;if(_2b6.nodeType===1||(_2b6.nodeType===3&&_2b6.nodeValue)){_2b5.innerHTML="";}while(_2b6){_2b7=_2b6.nextSibling;_2b5.appendChild(_2b6);_2b6=_2b7;}}var _2be;if(_2bb.length){_2bc=_2bb.pop();var _2bf=doc.createElement(_2bc.tagName);if(_2bc.cssText&&_2bf.style){_2bf.style.cssText=_2bc.cssText;}if(_2bc.className){_2bf.className=_2bc.className;}if(_2bc.tagName==="FONT"){if(_2bc.color){_2bf.color=_2bc.color;}if(_2bc.face){_2bf.face=_2bc.face;}if(_2bc.size){_2bf.size=_2bc.size;}}_226.place(_2bf,_2b5,"before");while(_2bb.length){_2bc=_2bb.pop();var _2c0=doc.createElement(_2bc.tagName);if(_2bc.cssText&&_2c0.style){_2c0.style.cssText=_2bc.cssText;}if(_2bc.className){_2c0.className=_2bc.className;}if(_2bc.tagName==="FONT"){if(_2bc.color){_2c0.color=_2bc.color;}if(_2bc.face){_2c0.face=_2bc.face;}if(_2bc.size){_2c0.size=_2bc.size;}}_2bf.appendChild(_2c0);_2bf=_2c0;}_2af=doc.createTextNode(".");_2ae.appendChild(_2af);_2bf.appendChild(_2af);_2be=_233.create(this.window);_2be.setStart(_2af,0);_2be.setEnd(_2af,_2af.length);_2aa.removeAllRanges();_2aa.addRange(_2be);this.selection.collapse(false);_2af.parentNode.innerHTML="";}else{_2ae=doc.createElement("span");_2ae.className="ieFormatBreakerSpan";_2af=doc.createTextNode(".");_2ae.appendChild(_2af);_226.place(_2ae,_2b5,"before");_2be=_233.create(this.window);_2be.setStart(_2af,0);_2be.setEnd(_2af,_2af.length);_2aa.removeAllRanges();_2aa.addRange(_2be);this.selection.collapse(false);_2af.parentNode.innerHTML="";}if(!_2b5.firstChild){_226.destroy(_2b5);}return true;}}return false;}else{_2ab=_2aa.getRangeAt(0);rs=_2ab.startContainer;if(rs&&rs.nodeType===3){var _2b2=_2ab.startOffset;if(rs.length<_2b2){ret=this._adjustNodeAndOffset(rs,_2b2);rs=ret.node;_2b2=ret.offset;}txt=rs.nodeValue;_2ac=doc.createTextNode(txt.substring(0,_2b2));var _2b9=txt.substring(_2b2);if(_2b9!==""){_2ad=doc.createTextNode(txt.substring(_2b2));}_2ae=doc.createElement("span");_2af=doc.createTextNode(".");_2ae.appendChild(_2af);if(_2ac.length){_226.place(_2ac,rs,"after");}else{_2ac=rs;}_226.place(_2ae,_2ac,"after");if(_2ad){_226.place(_2ad,_2ae,"after");}_226.destroy(rs);var _2be=_233.create(this.window);_2be.setStart(_2af,0);_2be.setEnd(_2af,_2af.length);_2aa.removeAllRanges();_2aa.addRange(_2be);doc.execCommand(_2a9);_226.place(_2ae.firstChild,_2ae,"before");_226.destroy(_2ae);_2be.setStart(_2af,0);_2be.setEnd(_2af,_2af.length);_2aa.removeAllRanges();_2aa.addRange(_2be);this.selection.collapse(false);_2af.parentNode.innerHTML="";return true;}}}else{return false;}},_adaptIEList:function(_2c1){var _2c2=_233.getSelection(this.window);if(_2c2.isCollapsed){if(_2c2.rangeCount&&!this.queryCommandValue(_2c1)){var _2c3=_2c2.getRangeAt(0);var sc=_2c3.startContainer;if(sc&&sc.nodeType==3){if(!_2c3.startOffset){var _2c4="ul";if(_2c1==="insertorderedlist"){_2c4="ol";}var list=this.document.createElement(_2c4);var li=_226.create("li",null,list);_226.place(list,sc,"before");li.appendChild(sc);_226.create("br",null,list,"after");var _2c5=_233.create(this.window);_2c5.setStart(sc,0);_2c5.setEnd(sc,sc.length);_2c2.removeAllRanges();_2c2.addRange(_2c5);this.selection.collapse(true);return true;}}}}return false;},_handleTextColorOrProperties:function(_2c6,_2c7){var _2c8=_233.getSelection(this.window);var doc=this.document;var rs,ret,_2c9,txt,_2ca,_2cb,_2cc,_2cd;_2c7=_2c7||null;if(_2c6&&_2c8&&_2c8.isCollapsed){if(_2c8.rangeCount){_2c9=_2c8.getRangeAt(0);rs=_2c9.startContainer;if(rs&&rs.nodeType===3){var _2ce=_2c9.startOffset;if(rs.length<_2ce){ret=this._adjustNodeAndOffset(rs,_2ce);rs=ret.node;_2ce=ret.offset;}txt=rs.nodeValue;_2ca=doc.createTextNode(txt.substring(0,_2ce));var _2cf=txt.substring(_2ce);if(_2cf!==""){_2cb=doc.createTextNode(txt.substring(_2ce));}_2cc=doc.createElement("span");_2cd=doc.createTextNode(".");_2cc.appendChild(_2cd);var _2d0=doc.createElement("span");_2cc.appendChild(_2d0);if(_2ca.length){_226.place(_2ca,rs,"after");}else{_2ca=rs;}_226.place(_2cc,_2ca,"after");if(_2cb){_226.place(_2cb,_2cc,"after");}_226.destroy(rs);var _2d1=_233.create(this.window);_2d1.setStart(_2cd,0);_2d1.setEnd(_2cd,_2cd.length);_2c8.removeAllRanges();_2c8.addRange(_2d1);if(has("webkit")){var _2d2="color";if(_2c6==="hilitecolor"||_2c6==="backcolor"){_2d2="backgroundColor";}_228.set(_2cc,_2d2,_2c7);this.selection.remove();_226.destroy(_2d0);_2cc.innerHTML=" ";this.selection.selectElement(_2cc);this.focus();}else{this.execCommand(_2c6,_2c7);_226.place(_2cc.firstChild,_2cc,"before");_226.destroy(_2cc);_2d1.setStart(_2cd,0);_2d1.setEnd(_2cd,_2cd.length);_2c8.removeAllRanges();_2c8.addRange(_2d1);this.selection.collapse(false);_2cd.parentNode.removeChild(_2cd);}return true;}}}return false;},_adjustNodeAndOffset:function(node,_2d3){while(node.length<_2d3&&node.nextSibling&&node.nextSibling.nodeType===3){_2d3=_2d3-node.length;node=node.nextSibling;}return {"node":node,"offset":_2d3};},_tagNamesForCommand:function(_2d4){if(_2d4==="bold"){return ["b","strong"];}else{if(_2d4==="italic"){return ["i","em"];}else{if(_2d4==="strikethrough"){return ["s","strike"];}else{if(_2d4==="superscript"){return ["sup"];}else{if(_2d4==="subscript"){return ["sub"];}else{if(_2d4==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){if(!this.isLoaded){return;}_22a(".ieFormatBreakerSpan",node).forEach(function(b){while(b.firstChild){_226.place(b.firstChild,b,"before");}_226.destroy(b);});return node;},_stripTrailingEmptyNodes:function(node){function _2d5(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&&_2d5(node.lastChild)){_226.destroy(node.lastChild);}return node;},_setTextDirAttr:function(_2d6){this._set("textDir",_2d6);this.onLoadDeferred.then(lang.hitch(this,function(){this.editNode.dir=_2d6;}));}});return _237;});},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang"],function(_2d7,_2d8,lang){var _2d9={getIndex:function(node,_2da){var ret=[],retR=[];var _2db=node;var _2dc,n;while(node!=_2da){var i=0;_2dc=node.parentNode;while((n=_2dc.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_2dc.childNodes.length);node=_2dc;}if(ret.length>0&&_2db.nodeType==3){n=_2db.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_2db.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};},getNode:function(_2dd,_2de){if(!lang.isArray(_2dd)||_2dd.length==0){return _2de;}var node=_2de;_2d7.every(_2dd,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 _2df=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_2df(n1);var n2as=_2df(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,_2e0,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_2e0.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,_2e1,root){root=root||node.ownerDocument.body;_2e1=_2e1||_2d9.BlockTagNames;var _2e2=null,_2e3;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_2e2&&_2e1.test(name)){_2e2=node;}if(!_2e3&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_2e3=node;}node=node.parentNode;}return {blockNode:_2e2,blockContainer:_2e3||node.ownerDocument.body};},atBeginningOfContainer:function(_2e4,node,_2e5){var _2e6=false;var _2e7=(_2e5==0);if(!_2e7&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_2e5))){_2e7=true;}}if(_2e7){var _2e8=node;_2e6=true;while(_2e8&&_2e8!==_2e4){if(_2e8.previousSibling){_2e6=false;break;}_2e8=_2e8.parentNode;}}return _2e6;},atEndOfContainer:function(_2e9,node,_2ea){var _2eb=false;var _2ec=(_2ea==(node.length||node.childNodes.length));if(!_2ec&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_2ea))){_2ec=true;}}if(_2ec){var _2ed=node;_2eb=true;while(_2ed&&_2ed!==_2e9){if(_2ed.nextSibling){_2eb=false;break;}_2ed=_2ed.parentNode;}}return _2eb;},adjacentNoneTextNode:function(_2ee,next){var node=_2ee;var len=(0-_2ee.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 _2ef();}},getSelection:function(_2f0,_2f1){if(_2f0.getSelection){return _2f0.getSelection();}else{var s=new ie.selection(_2f0);if(!_2f1){s._getCurrentSelection();}return s;}}};if(!window.getSelection){var ie=_2d9.ie={cachedSelection:{},selection:function(_2f2){this._ranges=[];this.addRange=function(r,_2f3){this._ranges.push(r);if(!_2f3){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _2f4=function(){var r=_2f2.document.selection.createRange();var type=_2f2.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _2ef(ie.decomposeControlRange(r));}else{return new _2ef(ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_2f4();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_2f5){var _2f6=_2f5.item(0),_2f7=_2f5.item(_2f5.length-1);var _2f8=_2f6.parentNode,_2f9=_2f7.parentNode;var _2fa=_2d9.getIndex(_2f6,_2f8).o[0];var _2fb=_2d9.getIndex(_2f7,_2f9).o[0]+1;return [_2f8,_2fa,_2f9,_2fb];},getEndPoint:function(_2fc,end){var _2fd=_2fc.duplicate();_2fd.collapse(!end);var _2fe="EndTo"+(end?"End":"Start");var _2ff=_2fd.parentElement();var _300,_301,_302;if(_2ff.childNodes.length>0){_2d7.every(_2ff.childNodes,function(node,i){var _303;if(node.nodeType!=3){_2fd.moveToElementText(node);if(_2fd.compareEndPoints(_2fe,_2fc)>0){if(_302&&_302.nodeType==3){_300=_302;_303=true;}else{_300=_2ff;_301=i;return false;}}else{if(i==_2ff.childNodes.length-1){_300=_2ff;_301=_2ff.childNodes.length;return false;}}}else{if(i==_2ff.childNodes.length-1){_300=node;_303=true;}}if(_303&&_300){var _304=_2d9.adjacentNoneTextNode(_300)[0];if(_304){_300=_304.nextSibling;}else{_300=_2ff.firstChild;}var _305=_2d9.adjacentNoneTextNode(_300);_304=_305[0];var _306=_305[1];if(_304){_2fd.moveToElementText(_304);_2fd.collapse(false);}else{_2fd.moveToElementText(_2ff);}_2fd.setEndPoint(_2fe,_2fc);_301=_2fd.text.length-_306;return false;}_302=node;return true;});}else{_300=_2ff;_301=0;}if(!end&&_300.nodeType==1&&_301==_300.childNodes.length){var _307=_300.nextSibling;if(_307&&_307.nodeType==3){_300=_307;_301=0;}}return [_300,_301];},setEndPoint:function(_308,_309,_30a){var _30b=_308.duplicate(),node,len;if(_309.nodeType!=3){if(_30a>0){node=_309.childNodes[_30a-1];if(node){if(node.nodeType==3){_309=node;_30a=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_309=node.nextSibling;_30a=0;}else{_30b.moveToElementText(node.nextSibling?node:_309);var _30c=node.parentNode;var _30d=_30c.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_30b.collapse(false);_30c.removeChild(_30d);}}}}else{_30b.moveToElementText(_309);_30b.collapse(true);}}if(_309.nodeType==3){var _30e=_2d9.adjacentNoneTextNode(_309);var _30f=_30e[0];len=_30e[1];if(_30f){_30b.moveToElementText(_30f);_30b.collapse(false);if(_30f.contentEditable!="inherit"){len++;}}else{_30b.moveToElementText(_309.parentNode);_30b.collapse(true);_30b.move("character",1);_30b.move("character",-1);}_30a+=len;if(_30a>0){if(_30b.move("character",_30a)!=_30a){console.error("Error when moving!");}}}return _30b;},decomposeTextRange:function(_310){var _311=ie.getEndPoint(_310);var _312=_311[0],_313=_311[1];var _314=_311[0],_315=_311[1];if(_310.htmlText.length){if(_310.htmlText==_310.text){_315=_313+_310.text.length;}else{_311=ie.getEndPoint(_310,true);_314=_311[0],_315=_311[1];}}return [_312,_313,_314,_315];},setRange:function(_316,_317,_318,_319,_31a,_31b){var _31c=ie.setEndPoint(_316,_317,_318);_316.setEndPoint("StartToStart",_31c);if(!_31b){var end=ie.setEndPoint(_316,_319,_31a);}_316.setEndPoint("EndToEnd",end||_31c);return _316;}};var _2ef=_2d9.W3CRange=_2d8(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=_2d9.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_31d){_31d=parseInt(_31d);if(this.startContainer===node&&this.startOffset==_31d){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_31d;if(!this.endContainer){this.setEnd(node,_31d);}else{this._updateInternal();}},setEnd:function(node,_31e){_31e=parseInt(_31e);if(this.endContainer===node&&this.endOffset==_31e){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_31e;if(!this.startContainer){this.setStart(node,_31e);}else{this._updateInternal();}},setStartAfter:function(node,_31f){this._setPoint("setStart",node,_31f,1);},setStartBefore:function(node,_320){this._setPoint("setStart",node,_320,0);},setEndAfter:function(node,_321){this._setPoint("setEnd",node,_321,1);},setEndBefore:function(node,_322){this._setPoint("setEnd",node,_322,0);},_setPoint:function(what,node,_323,ext){var _324=_2d9.getIndex(node,node.parentNode).o;this[what](node.parentNode,_324.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 _2ef([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",_2d9);return _2d9;});},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(_325,lang,has){var _326={};lang.setObject("dijit._editor.html",_326);var _327=_326.escapeXml=function(str,_328){str=str.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");if(!_328){str=str.replace(/'/gm,"'");}return str;};_326.getNodeHtml=function(node){var _329=[];_326.getNodeHtmlHelper(node,_329);return _329.join("");};_326.getNodeHtmlHelper=function(node,_32a){switch(node.nodeType){case 1:var _32b=node.nodeName.toLowerCase();if(!_32b||_32b.charAt(0)=="/"){return "";}_32a.push("<",_32b);var _32c=[],_32d={};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 _32d)){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:");}_32c.push([n,v]);_32d[n]=v;}}}else{var _32e=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false);var s=_32e.outerHTML;var _32f=/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi;var _330=s.match(_32f);s=s.substr(0,s.indexOf(">"));_325.forEach(_330,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")){_32c.push([key,node.getAttribute("_djrealurl")]);return;}}var val,_331;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;case "width":if(_32b==="img"){_331=/width=(\S+)/i.exec(s);if(_331){val=_331[1];}break;}case "height":if(_32b==="img"){_331=/height=(\S+)/i.exec(s);if(_331){val=_331[1];}break;}default:val=node.getAttribute(key);}if(val!=null){_32c.push([key,val.toString()]);}}}}},this);}_32c.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_32c[j++])){_32a.push(" ",attr[0],"=\"",(typeof attr[1]==="string"?_327(attr[1],true):attr[1]),"\"");}switch(_32b){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_32a.push(" />");break;case "script":_32a.push(">",node.innerHTML,"</",_32b,">");break;default:_32a.push(">");if(node.hasChildNodes()){_326.getChildrenHtmlHelper(node,_32a);}_32a.push("</",_32b,">");}break;case 4:case 3:_32a.push(_327(node.nodeValue,true));break;case 8:_32a.push("<!--",_327(node.nodeValue,true),"-->");break;default:_32a.push("<!-- Element not recognized - Type: ",node.nodeType," Name: ",node.nodeName,"-->");}};_326.getChildrenHtml=function(node){var _332=[];_326.getChildrenHtmlHelper(node,_332);return _332.join("");};_326.getChildrenHtmlHelper=function(dom,_333){if(!dom){return;}var _334=dom["childNodes"]||dom;var _335=!has("ie")||_334!==dom;var node,i=0;while((node=_334[i++])){if(!_335||node.parentNode==dom){_326.getNodeHtmlHelper(node,_333);}}};return _326;});},"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(_336,_337,_338,_339,i18n,lang,_33a,_33b,_33c,_33d,_33e,_33f,_340,_341){var _342=_338("dijit._editor.plugins._FontDropDown",[_33c,_33d,_33e],{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:_336,postMixInProperties:function(){this.inherited(arguments);this.strings=i18n.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_33b.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _33a({idProperty:"value",data:_337.map(this.values,function(_343){var name=this.strings[_343]||_343;return {label:this.getLabel(_343,name),name:name,value:_343};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_344,_345){_345=_345!==false;this.select.set("value",_337.indexOf(this.values,_344)<0?"":_344,_345);if(!_345){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_346){this._set("disabled",_346);this.select.set("disabled",_346);}});var _347=_338("dijit._editor.plugins._FontNameDropDown",_342,{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(_348,name){if(this.plainText){return name;}else{return "<div style='font-family: "+_348+"'>"+name+"</div>";}},_setValueAttr:function(_349,_34a){_34a=_34a!==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"};_349=map[_349]||_349;}this.inherited(arguments,[_349,_34a]);}});var _34b=_338("dijit._editor.plugins._FontSizeDropDown",_342,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(_34c,name){if(this.plainText){return name;}else{return "<font size="+_34c+"'>"+name+"</font>";}},_setValueAttr:function(_34d,_34e){_34e=_34e!==false;if(_34d.indexOf&&_34d.indexOf("px")!=-1){var _34f=parseInt(_34d,10);_34d={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_34f]||_34d;}this.inherited(arguments,[_34d,_34e]);}});var _350=_338("dijit._editor.plugins._FormatBlockDropDown",_342,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_351,name){if(this.plainText||_351=="noFormat"){return name;}else{return "<"+_351+">"+name+"</"+_351+">";}},_execCommand:function(_352,_353,_354){if(_354==="noFormat"){var _355;var end;var sel=_341.getSelection(_352.window);if(sel&&sel.rangeCount>0){var _356=sel.getRangeAt(0);var node,tag;if(_356){_355=_356.startContainer;end=_356.endContainer;while(_355&&_355!==_352.editNode&&_355!==_352.document.body&&_355.nodeType!==1){_355=_355.parentNode;}while(end&&end!==_352.editNode&&end!==_352.document.body&&end.nodeType!==1){end=end.parentNode;}var _357=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(_352.selection.inSelection(c)){var tag=c.tagName?c.tagName.toLowerCase():"";if(_337.indexOf(this.values,tag)!==-1){ary.push(c);}_357(c,ary);}}}}});var _358=lang.hitch(this,function(_359){if(_359&&_359.length){_352.beginEditing();while(_359.length){this._removeFormat(_352,_359.pop());}_352.endEditing();}});var _35a=[];if(_355==end){var _35b;node=_355;while(node&&node!==_352.editNode&&node!==_352.document.body){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_337.indexOf(this.values,tag)!==-1){_35b=node;break;}}node=node.parentNode;}_357(_355,_35a);if(_35b){_35a=[_35b].concat(_35a);}_358(_35a);}else{node=_355;while(_352.selection.inSelection(node)){if(node.nodeType==1){tag=node.tagName?node.tagName.toLowerCase():"";if(_337.indexOf(this.values,tag)!==-1){_35a.push(node);}_357(node,_35a);}node=node.nextSibling;}_358(_35a);}_352.onDisplayChanged();}}}else{_352.execCommand(_353,_354);}},_removeFormat:function(_35c,node){if(_35c.customUndo){while(node.firstChild){_339.place(node.firstChild,node,"before");}node.parentNode.removeChild(node);}else{_35c.selection.selectElementChildren(node);var html=_35c.selection.getSelectedHtml();_35c.selection.selectElement(node);_35c.execCommand("inserthtml",html||"");}}});var _35d=_338("dijit._editor.plugins.FontChoice",_340,{useDefaultCommand:false,_initButton:function(){var _35e={fontName:_347,fontSize:_34b,formatBlock:_350}[this.command],_35f=this.params;if(this.params.custom){_35f.values=this.params.custom;}var _360=this.editor;this.button=new _35e(lang.delegate({dir:_360.dir,lang:_360.lang},_35f));this.own(this.button.select.on("change",lang.hitch(this,function(_361){if(this.editor.focused){this.editor.focus();}if(this.command=="fontName"&&_361.indexOf(" ")!=-1){_361="'"+_361+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_361);}else{this.editor.execCommand(this.command,_361);}})));},updateState:function(){var _362=this.editor;var _363=this.command;if(!_362||!_362.isLoaded||!_363.length){return;}if(this.button){var _364=this.get("disabled");this.button.set("disabled",_364);if(_364){return;}var _365;try{_365=_362.queryCommandValue(_363)||"";}catch(e){_365="";}var _366=lang.isString(_365)&&_365.match(/'([^']*)'/);if(_366){_365=_366[1];}if(_363==="formatBlock"){if(!_365||_365=="p"){_365=null;var elem;var sel=_341.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _367=sel.getRangeAt(0);if(_367){elem=_367.endContainer;}}while(elem&&elem!==_362.editNode&&elem!==_362.document){var tg=elem.tagName?elem.tagName.toLowerCase():"";if(tg&&_337.indexOf(this.button.values,tg)>-1){_365=tg;break;}elem=elem.parentNode;}if(!_365){_365="noFormat";}}else{if(_337.indexOf(this.button.values,_365)<0){_365="noFormat";}}}if(_365!==this.button.get("value")){this.button.set("value",_365,false);}}}});_337.forEach(["fontName","fontSize","formatBlock"],function(name){_340.registry[name]=function(args){return new _35d({command:name,plainText:args.plainText});};});_35d._FontDropDown=_342;_35d._FontNameDropDown=_347;_35d._FontSizeDropDown=_34b;_35d._FormatBlockDropDown=_350;return _35d;});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_368,_369,_36a){var base=null;return _368("dojo.store.Memory",base,{constructor:function(_36b){for(var i in _36b){this[i]=_36b[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_36a,get:function(id){return this.data[this.index[id]];},getIdentity:function(_36c){return _36c[this.idProperty];},put:function(_36d,_36e){var data=this.data,_36f=this.index,_370=this.idProperty;var id=_36d[_370]=(_36e&&"id" in _36e)?_36e.id:_370 in _36d?_36d[_370]:Math.random();if(id in _36f){if(_36e&&_36e.overwrite===false){throw new Error("Object already exists");}data[_36f[id]]=_36d;}else{_36f[id]=data.push(_36d)-1;}return id;},add:function(_371,_372){(_372=_372||{}).overwrite=false;return this.put(_371,_372);},remove:function(id){var _373=this.index;var data=this.data;if(id in _373){data.splice(_373[id],1);this.setData(data);return true;}},query:function(_374,_375){return _369(this.queryEngine(_374,_375)(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(_376,lang,when){var _377=function(_378){if(!_378){return _378;}var _379=!!_378.then;if(_379){_378=lang.delegate(_378);}function _37a(_37b){_378[_37b]=function(){var args=arguments;var _37c=when(_378,function(_37d){Array.prototype.unshift.call(args,_37d);return _377(_376[_37b].apply(_376,args));});if(_37b!=="forEach"||_379){return _37c;}};};_37a("forEach");_37a("filter");_37a("map");if(_378.total==null){_378.total=when(_378,function(_37e){return _37e.length;});}return _378;};lang.setObject("dojo.store.util.QueryResults",_377);return _377;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_37f){return function(_380,_381){switch(typeof _380){default:throw new Error("Can not query with a "+typeof _380);case "object":case "undefined":var _382=_380;_380=function(_383){for(var key in _382){var _384=_382[key];if(_384&&_384.test){if(!_384.test(_383[key],_383)){return false;}}else{if(_384!=_383[key]){return false;}}}return true;};break;case "string":if(!this[_380]){throw new Error("No filter function "+_380+" was found in store");}_380=this[_380];case "function":}function _385(_386){var _387=_37f.filter(_386,_380);var _388=_381&&_381.sort;if(_388){_387.sort(typeof _388=="function"?_388:function(a,b){for(var sort,i=0;sort=_388[i];i++){var _389=a[sort.attribute];var _38a=b[sort.attribute];_389=_389!=null?_389.valueOf():_389;_38a=_38a!=null?_38a.valueOf():_38a;if(_389!=_38a){return !!sort.descending==(_389==null||_389>_38a)?-1:1;}}return 0;});}if(_381&&(_381.start||_381.count)){var _38b=_387.length;_387=_387.slice(_381.start||0,(_381.start||0)+(_381.count||Infinity));_387.total=_38b;}return _387;};_385.matches=_380;return _385;};});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_38c,lang,when,_38d,_38e){return _38c("dijit.form.FilteringSelect",[_38d,_38e],{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(_38f,_390,_391,_392){if((_390&&_390[this.searchAttr]!==this._lastQuery)||(!_390&&_38f.length&&this.store.getIdentity(_38f[0])!=this._lastQuery)){return;}if(!_38f.length){this.set("value","",_392||(_392===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_38f[0],_392);}},_openResultList:function(_393,_394,_395){if(_394[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(_396,_397,_398,item){if(!this._onChangeActive){_397=null;}if(item===undefined){if(_396===null||_396===""){_396="";if(!lang.isString(_398)){this._setDisplayedValueAttr(_398||"",_397);return;}}var self=this;this._lastQuery=_396;when(this.store.get(_396),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_397);});}else{this.valueNode.value=_396;this.inherited(arguments,[_396,_397,_398,item]);}},_setItemAttr:function(item,_399,_39a){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_39b,_39c){if(_39b==null){_39b="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_39c=false;}if(this.store){this.closeDropDown();var _39d=lang.clone(this.query);var qs=this._getDisplayQueryString(_39b),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_39d[this.searchAttr]=q;this.textbox.value=_39b;this._lastDisplayedValue=_39b;this._set("displayedValue",_39b);var _39e=this;var _39f={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_39f,this.fetchProperties);this._fetchHandle=this.store.query(_39d,_39f);when(this._fetchHandle,function(_3a0){_39e._fetchHandle=null;_39e._callbackSetLabel(_3a0||[],_39d,_39f,_39c);},function(err){_39e._fetchHandle=null;if(!_39e._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(_3a1,has,_3a2,_3a3){return _3a1("dijit.form.MappedTextBox",_3a3,{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=_3a2.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,""")+"\"":"")+"/>",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(_3a4,_3a5,lang,i18n,_3a6,_3a7,_3a8){var _3a9;return _3a9=_3a4("dijit.form.ValidationTextBox",_3a6,{templateString:_3a8,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_3aa){if(_3aa!=_3a9.prototype[attr]){_3a5.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_3aa);}},_setRegExpGenAttr:function(_3ab){this._deprecateRegExp("regExpGen",_3ab);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_3ac){this._deprecateRegExp("regExp",_3ac);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_3ad,_3ae){return (new RegExp("^(?:"+this._computeRegexp(_3ae)+")"+(this.required?"":"?")+"$")).test(_3ad)&&(!this.required||!this._isEmpty(_3ad))&&(this._isEmpty(_3ad)||this.parse(_3ad,_3ae)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_3af){return (this.trim?/^\s*$/:/^$/).test(_3af);},getErrorMessage:function(){var _3b0=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _3b1=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_3b0:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_3b1:_3b0;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_3b2){var _3b3="";var _3b4=this.disabled||this.isValid(_3b2);if(_3b4){this._maskValidSubsetError=true;}var _3b5=this._isEmpty(this.textbox.value);var _3b6=!_3b4&&_3b2&&this._isValidSubset();this._set("state",_3b4?"":(((((!this._hasBeenBlurred||_3b2)&&_3b5)||_3b6)&&(this._maskValidSubsetError||(_3b6&&!this._hasBeenBlurred&&_3b2)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_3b2&&_3b6;_3b3=this.getErrorMessage(_3b2);}else{if(this.state=="Incomplete"){_3b3=this.getPromptMessage(_3b2);this._maskValidSubsetError=!this._hasBeenBlurred||_3b2;}else{if(_3b5){_3b3=this.getPromptMessage(_3b2);}}}this.set("message",_3b3);return _3b4;},displayMessage:function(_3b7){if(_3b7&&this.focused){_3a7.show(_3b7,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_3a7.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_3b8){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_3b9){if(!_3b9.locale&&this.lang){_3b9.locale=this.lang;}this._set("constraints",_3b9);this._refreshState();},_setPatternAttr:function(_3ba){this._set("pattern",_3ba);this._refreshState();},_computeRegexp:function(_3bb){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_3bb);}if(p!=this._lastRegExp){var _3bc="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_3bc+=re;break;case ")":_3bc+="|$)";break;default:_3bc+="(?:"+re+"|$)";break;}});}try{"".search(_3bc);}catch(e){_3bc=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_3bc+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_3bd){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_3be){this._set("required",_3be);this.focusNode.setAttribute("aria-required",_3be);this._refreshState();},_setMessageAttr:function(_3bf){this._set("message",_3bf);this.displayMessage(_3bf);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_3a7.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(_3c0,_3c1,_3c2,_3c3,lang,on,has,_3c4,_3c5,_3c6,_3c7){var _3c8=_3c0("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_3c4,_3c5],{templateString:_3c6,_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=_3c2.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _3c9=this.domNode.getElementsByTagName("INPUT");if(_3c9){for(var i=0;i<_3c9.length;i++){_3c9[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_3c1.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(_3ca,_3cb,_3cc){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_3c3.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_3cd){_3c3.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_3cd);},_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){_3c8.prototype._isTextSelected=function(){var _3ce=this.ownerDocument.selection.createRange();var _3cf=_3ce.parentElement();return _3cf==this.textbox&&_3ce.text.length>0;};_3c7._setSelectionRange=_3c5._setSelectionRange=function(_3d0,_3d1,stop){if(_3d0.createTextRange){var r=_3d0.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_3d1);r.moveEnd("character",stop-_3d1);r.select();}};}if(has("dojo-bidi")){_3c8=_3c0("dijit.form.TextBox",_3c8,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _3c8;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_3d2,_3d3,dom,has,keys,lang,on,_3d4){var _3d5=_3d3("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(_3d6,_3d7,_3d8){var _3d9;if(_3d6!==undefined){_3d9=this.filter(_3d6);if(typeof _3d8!="string"){if(_3d9!==null&&((typeof _3d9!="number")||!isNaN(_3d9))){_3d8=this.filter(this.format(_3d9,this.constraints));}else{_3d8="";}if(this.compare(_3d9,this.filter(this.parse(_3d8,this.constraints)))!=0){_3d8=null;}}}if(_3d8!=null&&((typeof _3d8)!="number"||!isNaN(_3d8))&&this.textbox.value!=_3d8){this.textbox.value=_3d8;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_3d9,_3d7]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_3da){if(_3da==null){_3da="";}else{if(typeof _3da!="string"){_3da=String(_3da);}}this.textbox.value=_3da;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_3db){return _3db==null?"":(_3db.toString?_3db.toString():_3db);},parse:function(_3dc){return _3dc;},_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 _3dd(e){var _3de;if(e.type=="keydown"){_3de=e.keyCode;switch(_3de){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(_3de){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((_3de>=65&&_3de<=90)||(_3de>=48&&_3de<=57)||_3de==keys.SPACE){return;}var _3df=false;for(var i in keys){if(keys[i]===e.keyCode){_3df=true;break;}}if(!_3df){return;}}}_3de=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_3de){_3de=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_3de){_3de=229;}if(e.type=="keypress"){if(typeof _3de!="string"){return;}if((_3de>="a"&&_3de<="z")||(_3de>="A"&&_3de<="Z")||(_3de>="0"&&_3de<="9")||(_3de===" ")){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:_3de,_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,_3dd)),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()){_3d5.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")){_3d5=_3d3("dijit.form._TextBoxMixin",_3d5,{_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);}});}_3d5._setSelectionRange=_3d4._setSelectionRange=function(_3e0,_3e1,stop){if(_3e0.setSelectionRange){_3e0.setSelectionRange(_3e1,stop);}};_3d5.selectInputText=_3d4.selectInputText=function(_3e2,_3e3,stop){_3e2=dom.byId(_3e2);if(isNaN(_3e3)){_3e3=0;}if(isNaN(stop)){stop=_3e2.value?_3e2.value.length:0;}try{_3e2.focus();_3d5._setSelectionRange(_3e2,_3e3,stop);}catch(e){}};return _3d5;});},"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(_3e4,_3e5,fx,dom,_3e6,_3e7,_3e8,lang,_3e9,on,has,_3ea,_3eb,_3ec,_3ed,_3ee,_3ef,_3f0){var _3f1=_3e5("dijit._MasterTooltip",[_3ec,_3ed],{duration:_3ea.defaultDuration,templateString:_3ef,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _3ee(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(_3f2,_3f3,_3f4,rtl,_3f5,_3f6,_3f7){if(this.aroundNode&&this.aroundNode===_3f3&&this.containerNode.innerHTML==_3f2){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_3f2;if(_3f5){this.set("textDir",_3f5);}this.containerNode.align=rtl?"right":"left";var pos=_3eb.around(this.domNode,_3f3,_3f4&&_3f4.length?_3f4:_3f8.defaultPosition,!rtl,lang.hitch(this,"orient"));var _3f9=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_3f9.y+((_3f9.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=_3f9.x+((_3f9.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_3e8.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_3f3;this.onMouseEnter=_3f6||noop;this.onMouseLeave=_3f7||noop;},orient:function(node,_3fa,_3fb,_3fc,_3fd){this.connectorNode.style.top="";var _3fe=_3fc.h,_3ff=_3fc.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"}[_3fa+"-"+_3fb];this.domNode.style.width="auto";var size=_3e7.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _400=Math.min((Math.max(_3ff,1)),size.w);_3e7.setMarginBox(this.domNode,{w:_400});if(_3fb.charAt(0)=="B"&&_3fa.charAt(0)=="B"){var bb=_3e7.position(node);var _401=this.connectorNode.offsetHeight;if(bb.h>_3fe){var _402=_3fe-((_3fd.h+_401)>>1);this.connectorNode.style.top=_402+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_3fd.h/2-_401/2,0),bb.h-_401)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_3ff);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_403){if(this._onDeck&&this._onDeck[1]==_403){this._onDeck=null;}else{if(this.aroundNode===_403){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")){_3f1.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_3e4.forEach(node.children,function(_404){this._setAutoTextDir(_404);},this);},_setTextDirAttr:function(_405){this._set("textDir",_405);if(_405=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_3f0.showTooltip=function(_406,_407,_408,rtl,_409,_40a,_40b){if(_408){_408=_3e4.map(_408,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_3f8._masterTT){_3f0._masterTT=_3f8._masterTT=new _3f1();}return _3f8._masterTT.show(_406,_407,_408,rtl,_409,_40a,_40b);};_3f0.hideTooltip=function(_40c){return _3f8._masterTT&&_3f8._masterTT.hide(_40c);};var _40d="DORMANT",_40e="SHOW TIMER",_40f="SHOWING",_410="HIDE TIMER";function noop(){};var _3f8=_3e5("dijit.Tooltip",_3ec,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_411){_3e4.forEach(this._connections||[],function(_412){_3e4.forEach(_412,function(_413){_413.remove();});},this);this._connectIds=_3e4.filter(lang.isArrayLike(_411)?_411:(_411?[_411]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_3e4.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_414=this.selector,_415=_414?function(_416){return on.selector(_414,_416);}:function(_417){return _417;},self=this;return [on(node,_415(_3e9.enter),function(){self._onHover(this);}),on(node,_415("focusin"),function(){self._onHover(this);}),on(node,_415(_3e9.leave),lang.hitch(self,"_onUnHover")),on(node,_415("focusout"),lang.hitch(self,"set","state",_40d))];},this);this._set("connectId",_411);},addTarget:function(node){var id=node.id||node;if(_3e4.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_3e4.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_3e6.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_3e4.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_40d,_setStateAttr:function(val){if(this.state==val||(val==_40e&&this.state==_40f)||(val==_410&&this.state==_40d)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _40d:if(this._connectNode){_3f8.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _40e:if(this.state!=_40f){this._showTimer=this.defer(function(){this.set("state",_40f);},this.showDelay);}break;case _40f:var _418=this.getContent(this._connectNode);if(!_418){this.set("state",_40d);return;}_3f8.show(_418,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_40f),lang.hitch(this,"set","state",_410));this.onShow(this._connectNode,this.position);break;case _410:this._hideTimer=this.defer(function(){this.set("state",_40d);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_419){if(this._connectNode&&_419!=this._connectNode){this.set("state",_40d);}this._connectNode=_419;this.set("state",_40e);},_onUnHover:function(_41a){this.set("state",_410);},open:function(_41b){this.set("state",_40d);this._connectNode=_41b;this.set("state",_40f);},close:function(){this.set("state",_40d);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_40d);_3e4.forEach(this._connections||[],function(_41c){_3e4.forEach(_41c,function(_41d){_41d.remove();});},this);this.inherited(arguments);}});_3f8._MasterTooltip=_3f1;_3f8.show=_3f0.showTooltip;_3f8.hide=_3f0.hideTooltip;_3f8.defaultPosition=["after-centered","before-centered"];return _3f8;});},"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(_41e,_41f,_420,lang,_421,_422,_423,_424,_425){return _41e("dijit.form.ComboBoxMixin",[_424,_422],{dropDownClass:_423,hasDownArrow:true,templateString:_425,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(_426){if(!_426.get){lang.mixin(_426,{_oldAPI:true,get:function(id){var _427=new _41f();this.fetchItemByIdentity({identity:id,onItem:function(_428){_427.resolve(_428);},onError:function(_429){_427.reject(_429);}});return _427.promise;},query:function(_42a,_42b){var _42c=new _41f(function(){_42d.abort&&_42d.abort();});_42c.total=new _41f();var _42d=this.fetch(lang.mixin({query:_42a,onBegin:function(_42e){_42c.total.resolve(_42e);},onComplete:function(_42f){_42c.resolve(_42f);},onError:function(_430){_42c.reject(_430);}},_42b));return _421(_42c);}});}this._set("store",_426);},postMixInProperties:function(){var _431=this.params.store||this.store;if(_431){this._setStoreAttr(_431);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _432=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_420.deprecated(_432+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_420.deprecated(_432+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_420.deprecated(_432+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_433){new _433({objectStore:this}).fetch(args);}));}});}}});});},"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(_434,_435,_436,keys,lang,_437,_438,has,_439,_43a,_43b){var _43c=_435("dijit.form._AutoCompleterMixin",_43b,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_43d){var pos=0;if(typeof (_43d.selectionStart)=="number"){pos=_43d.selectionStart;}else{if(has("ie")){var tr=_43d.ownerDocument.selection.createRange().duplicate();var ntr=_43d.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(_43e,_43f){_43f=parseInt(_43f);_43a.selectInputText(_43e,_43f,_43f);},_setDisabledAttr:function(_440){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_440?"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 _441=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_441=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(_441);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_441){if(_441==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_441==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 _442=this.get("displayedValue");if(pw&&(_442==pw._messages["previousMessage"]||_442==pw._messages["nextMessage"])){break;}if(_441){this._selectOption(_441);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_43a.selectInputText(fn,fn.value.length);var _443=this.ignoreCase?"toLowerCase":"substr";if(text[_443](0).indexOf(this.focusNode.value[_443](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_43a.selectInputText(fn,cpos);}}else{fn.value=text;_43a.selectInputText(fn);}},_openResultList:function(_444,_445,_446){var _447=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_444.length&&_446.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_448){_444.nextPage(_448!==-1);this.focus();});this.dropDown.createOptions(_444,_446,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _446){if(_446.direction){this.dropDown.highlightFirstOption();}else{if(!_446.direction){this.dropDown.highlightLastOption();}}if(_447){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_445[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 _449=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_449==pw._messages["previousMessage"]||_449==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_449);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_44a,_44b){var _44c="";if(item){if(!_44b){_44b=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_44c=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_44b;}this.set("value",_44c,_44a,_44b,item);},_announceOption:function(node){if(!node){return;}var _44d;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_44d=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_44d=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_44d);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_436.get(node,"id"));this._autoCompleteText(_44d);},_selectOption:function(_44e){this.closeDropDown();if(_44e){this._announceOption(_44e);}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 _44f=this.id+"_popup",_450=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _450({onChange:lang.hitch(this,this._selectOption),id:_44f,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 _451=this.srcNodeRef;this.store=new _439({},_451);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _452=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_452):item[_452];}}}},postCreate:function(){var _453=_437("label[for=\""+this.id+"\"]");if(_453.length){if(!_453[0].id){_453[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_453[0].id);}this.inherited(arguments);_434.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _454=this.labelFunc(item,this.store),_455=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_454=this.doHighlight(_454,this._lastInput);_455="html";}return {html:_455=="html",label:_454};},doHighlight:function(_456,find){var _457=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_438.escapeString(find);return this._escapeHtml(_456.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_457),"ï¿¿$1ï¿¿")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_458){return (_458._oldAPI?_458.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_459,_45a,_45b,item){this._set("item",item||null);if(_459==null){_459="";}this.inherited(arguments);}});if(has("dojo-bidi")){_43c.extend({_setTextDirAttr:function(_45c){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_45c);}}});}return _43c;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _45d={};lang.setObject("dojo.regexp",_45d);_45d.escapeString=function(str,_45e){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_45e&&_45e.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_45d.buildGroupRE=function(arr,re,_45f){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _45d.group(b.join("|"),_45f);};_45d.group=function(_460,_461){return "("+(_461?"?:":"")+_460+")";};return _45d;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_462,dom,lang,_463,_464,_465){function _466(_467){return {id:_467.value,value:_467.value,name:lang.trim(_467.innerText||_467.textContent||"")};};return _462("dijit.form.DataList",_464,{constructor:function(_468,_469){this.domNode=dom.byId(_469);lang.mixin(this,_468);if(this.id){_465.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_463("option",this.domNode).map(_466)}]);},destroy:function(){_465.remove(this.id);},fetchSelectedItem:function(){var _46a=_463("> option[selected]",this.domNode)[0]||_463("> option",this.domNode)[0];return _46a&&_466(_46a);}});});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_46b,keys,lang,_46c,_46d,when,_46e){return _46b("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(_46f){return new RegExp("^"+_46f.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_470,star,_471){return star?".*":_471?".":_470?_470:"\\"+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 _472=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_472=true;break;default:_472=typeof key=="string"||key==229;}if(_472){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 _473=this,_46c=lang.clone(this.query),_474={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_46d.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_475=function(){var _476=_473._fetchHandle=_473.store.query(_46c,_474);if(_473.disabled||_473.readOnly||(q!==_473._lastQuery)){return;}when(_476,function(res){_473._fetchHandle=null;if(!_473.disabled&&!_473.readOnly&&(q===_473._lastQuery)){when(_476.total,function(_477){res.total=_477;var _478=_473.pageSize;if(isNaN(_478)||_478>res.total){_478=res.total;}res.nextPage=function(_479){_474.direction=_479=_479!==false;_474.count=_478;if(_479){_474.start+=res.length;if(_474.start>=res.total){_474.count=0;}}else{_474.start-=_478;if(_474.start<0){_474.count=Math.max(_478+_474.start,0);_474.start=0;}}if(_474.count<=0){res.length=0;_473.onSearch(res,_46c,_474);}else{_475();}};_473.onSearch(res,_46c,_474);});}},function(err){_473._fetchHandle=null;if(!_473._cancelingQuery){console.error(_473.declaredClass+" "+err.toString());}});};lang.mixin(_474,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_46c[this.searchAttr]=q;this._queryDeferHandle=this.defer(_475,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_46e.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(_47a,_47b,_47c,keys,_47d,_47e,_47f,_480){return _47a("dijit.form._ComboBoxMenu",[_47d,_47e,_480,_47f],{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()){_47b.add(this.previousButton,"dijitMenuItemRtl");_47b.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){_47b.add(node,"dijitMenuItemHover");},onUnhover:function(node){_47b.remove(node,"dijitMenuItemHover");},onSelect:function(node){_47b.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_47b.remove(node,"dijitMenuItemSelected");},_page:function(up){var _481=0;var _482=this.domNode.scrollTop;var _483=_47c.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_481<_483){var _484=this.getHighlightedOption();if(up){if(!_484.previousSibling||_484.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_484.nextSibling||_484.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _485=this.domNode.scrollTop;_481+=(_485-_482)*(up?-1:1);_482=_485;}},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(_486,_487,_488,has,i18n){var _489=_487("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(_48a){this._set("value",_48a);this.onChange(_48a);},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,_48b){var _48c=this._createMenuItem();var _48d=_48b(item);if(_48d.html){_48c.innerHTML=_48d.label;}else{_48c.appendChild(_48c.ownerDocument.createTextNode(_48d.label));}if(_48c.innerHTML==""){_48c.innerHTML=" ";}return _48c;},createOptions:function(_48e,_48f,_490){this.items=_48e;this.previousButton.style.display=(_48f.start==0)?"none":"";_488.set(this.previousButton,"id",this.id+"_prev");_486.forEach(_48e,function(item,i){var _491=this._createOption(item,_490);_491.setAttribute("item",i);_488.set(_491,"id",this.id+i);this.nextButton.parentNode.insertBefore(_491,this.nextButton);},this);var _492=false;if(_48e.total&&!_48e.total.then&&_48e.total!=-1){if((_48f.start+_48f.count)<_48e.total){_492=true;}else{if((_48f.start+_48f.count)>_48e.total&&_48f.count==_48e.length){_492=true;}}}else{if(_48f.count==_48e.length){_492=true;}}this.nextButton.style.display=_492?"":"none";_488.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _493=this.containerNode;while(_493.childNodes.length>2){_493.removeChild(_493.childNodes[_493.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")){_489=_487("dijit.form._ComboBoxMenuMixin",_489,{_createOption:function(){var _494=this.inherited(arguments);this.applyTextDir(_494);return _494;}});}return _489;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_495,on,_496,_497){return _495("dijit.form._ListMouseMixin",_497,{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,_498){this._setSelectedAttr(_498,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_498);});},_onMouseDown:function(evt,_499){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_499,false);},_onMouseUp:function(evt,_49a){this._isDragging=false;var _49b=this.selected;var _49c=this._hoveredNode;if(_49b&&_49a==_49b){this.defer(function(){this._onClick(evt,_49b);});}else{if(_49c){this.defer(function(){this._onClick(evt,_49c);});}}},_onMouseOut:function(evt,_49d){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_49e){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_49e;this.onHover(_49e);if(this._isDragging){this._setSelectedAttr(_49e,false);}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_49f,on,_4a0){return _49f("dijit.form._ListBase",null,{selected:null,_listConnect:function(_4a1,_4a2){var self=this;return self.own(on(self.containerNode,on.selector(function(_4a3,_4a4,_4a5){return _4a3.parentNode==_4a5;},_4a1),function(evt){self[_4a2](evt,this);}));},selectFirstNode:function(){var _4a6=this.containerNode.firstChild;while(_4a6&&_4a6.style.display=="none"){_4a6=_4a6.nextSibling;}this._setSelectedAttr(_4a6,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _4a7=this.selected;if(!_4a7){this.selectFirstNode();}else{var next=_4a7.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _4a8=this.selected;if(!_4a8){this.selectLastNode();}else{var prev=_4a8.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_4a9){if(this.selected!=node){var _4aa=this.selected;if(_4aa){this.onDeselect(_4aa);}if(node){if(_4a9){_4a0.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(_4ab,_4ac,dom,_4ad,_4ae,_4af,_4b0,has,keys,lang,on,_4b1,_4b2,_4b3,_4b4,_4b5){return _4ab("dijit._HasDropDown",_4b5,{_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,_4b1.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _4b6=this.dropDown,_4b7=false;if(e&&this._opened){var c=_4af.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&&!_4b7){if(_4ae.contains(t,"dijitPopup")){_4b7=true;}else{t=t.parentNode;}}if(_4b7){t=e.target;if(_4b6.onItemClick){var _4b8;while(t&&!(_4b8=_4b2.byNode(t))){t=t.parentNode;}if(_4b8&&_4b8.onClick&&_4b8.getParent){_4b8.getParent().onItemClick(_4b8,e);}}return;}}}if(this._opened){if(_4b6.focus&&(_4b6.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_4b6.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 _4b9={"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";_4ae.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_4b9+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _4ba=this.focusNode||this.domNode;this.own(on(this._buttonNode,_4b1.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_4ba,"keydown",lang.hitch(this,"_onKey")),on(_4ba,"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,_4bb=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))))&&((_4bb.tagName||"").toLowerCase()!=="input"||(_4bb.type&&_4bb.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(_4bc){_4bc();},loadAndOpenDropDown:function(){var d=new _4ac(),_4bd=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_4bd);}else{_4bd();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _4be=this.dropDown,_4bf=_4be.domNode,_4c0=this._aroundNode||this.domNode,self=this;var _4c1=_4b4.open({parent:this,popup:_4be,around:_4c0,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_4ad.set(self._popupStateNode,"popupActive",false);_4ae.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_4c0.offsetWidth>_4be._popupWrapper.offsetWidth)){var _4c2=_4c0.offsetWidth-_4be._popupWrapper.offsetWidth;var _4c3={w:_4be.domNode.offsetWidth+_4c2};if(lang.isFunction(_4be.resize)){_4be.resize(_4c3);}else{_4af.setMarginBox(_4bf,_4c3);}if(_4c1.corner[1]=="R"){_4be._popupWrapper.style.left=(_4be._popupWrapper.style.left.replace("px","")-_4c2)+"px";}}_4ad.set(this._popupStateNode,"popupActive","true");_4ae.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_4be.id);if(_4bf.getAttribute("role")!=="presentation"&&!_4bf.getAttribute("aria-labelledby")){_4bf.setAttribute("aria-labelledby",this.id);}return _4c1;},closeDropDown:function(_4c4){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_4c4&&this.focus){this.focus();}_4b4.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(_4c5,_4c6,_4c7,keys,lang,on,has,_4c8,_4c9,_4ca,_4cb,_4cc){var _4cd=_4c6("dijit._editor.plugins.LinkDialog",_4ca,{buttonClass:_4cb,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(_4ce){_4c5(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_4cf,_4d0){var _4d1=this;this.tag=this.command=="insertImage"?"img":"a";var _4d2=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _4d3=(this.dropDown=this.button.dropDown=new _4cf({title:_4d2[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:lang.hitch(this,"setValue"),onOpen:function(){_4d1._onOpenDialog();_4cf.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_4d1,"_onCloseDialog"),0);}}));_4d2.urlRegExp=this.urlRegExp;_4d2.id=_4d0.getUniqueId(this.editor.id);this._uniqueId=_4d2.id;this._setContent(_4d3.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_4c9.substitute(this.linkDialogTemplate,_4d2));_4d3.startup();this._urlInput=_4d0.byId(this._uniqueId+"_urlInput");this._textInput=_4d0.byId(this._uniqueId+"_textInput");this._setButton=_4d0.byId(this._uniqueId+"_setButton");this.own(_4d0.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 _4d4=this._urlInput.get("value");return this._urlRegExp.test(_4d4)||this._emailRegExp.test(_4d4);});this.own(on(_4d3.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")){_4d3.onExecute();_4d3.execute(_4d3.get("value"));}}}))));_4ce();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _4d5=function(url){var _4d6=false;var _4d7=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)){_4d6=true;}}}}else{if(self._userAtRxp.test(url)){_4d7=true;}}}}if(_4d6){self._urlInput.set("value","http://"+url);}if(_4d7){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(){_4d5(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(_4d8){this.dropDown.set({parserScope:"dojo",content:_4d8});},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,""");}return args;},setValue:function(args){this._onCloseDialog();if(has("ie")<9){var sel=_4cc.getSelection(this.editor.window);var _4d9=sel.getRangeAt(0);var a=_4d9.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",_4c9.substitute(this.htmlTemplate,args));_4c8("a",this.editor.document).forEach(function(a){if(!a.innerHTML&&!_4c7.has(a,"name")){a.parentNode.removeChild(a);}},this);},_onCloseDialog:function(){if(this.editor.focused){this.editor.focus();}},_getCurrentValues:function(a){var url,text,_4da;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_4da=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:_4da||""};},_onOpenDialog:function(){var a,b,fc;if(has("ie")){var sel=_4cc.getSelection(this.editor.window);if(sel.rangeCount){var _4db=sel.getRangeAt(0);a=_4db.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(_4db.startContainer===_4db.endContainer){fc=_4db.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&&_4c7.get(t,"href")){var _4dc=this.editor;this.editor.selection.selectElement(t);_4dc.onDisplayChanged();if(_4dc._updateTimer){_4dc._updateTimer.remove();delete _4dc._updateTimer;}_4dc.onNormalizedDisplayChanged();var _4dd=this.button;setTimeout(function(){_4dd.set("disabled",false);_4dd.loadAndOpenDropDown().then(function(){if(_4dd.dropDown.focus){_4dd.dropDown.focus();}});},10);}}}});var _4de=_4c6("dijit._editor.plugins.ImgLinkDialog",[_4cd],{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,""");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,""");}return args;},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_4c7.get(t,"src")){var _4df=this.editor;this.editor.selection.selectElement(t);_4df.onDisplayChanged();if(_4df._updateTimer){_4df._updateTimer.remove();delete _4df._updateTimer;}_4df.onNormalizedDisplayChanged();var _4e0=this.button;setTimeout(function(){_4e0.set("disabled",false);_4e0.loadAndOpenDropDown().then(function(){if(_4e0.dropDown.focus){_4e0.dropDown.focus();}});},10);}}}});_4ca.registry["createLink"]=function(){return new _4cd({command:"createLink"});};_4ca.registry["insertImage"]=function(){return new _4de({command:"insertImage"});};_4cd.ImgLinkDialog=_4de;return _4cd;});},"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(_4e1,lang,_4e2,_4e3,_4e4,_4e5,_4e6,_4e7,_4e8){return _4e1("dijit.form.DropDownButton",[_4e5,_4e6,_4e7],{baseClass:"dijitDropDownButton",templateString:_4e8,_fillContent:function(){if(this.srcNodeRef){var _4e9=_4e2("*",this.srcNodeRef);this.inherited(arguments,[_4e9[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _4ea=_4e2("[widgetId]",this.dropDownContainer)[0];if(_4ea){this.dropDown=_4e3.byNode(_4ea);}delete this.dropDownContainer;}if(this.dropDown){_4e4.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _4eb=this.dropDown;return (!!_4eb&&(!_4eb.href||_4eb.isLoaded));},loadDropDown:function(_4ec){var _4ed=this.dropDown;var _4ee=_4ed.on("load",lang.hitch(this,function(){_4ee.remove();_4ec();}));_4ed.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(_4ef,_4f0,_4f1,dom,_4f2,_4f3,_4f4,keys,lang,on,has,win,_4f5,pm,_4f6,_4f7){if(has("dijit-legacy-requires")){_4f7(0,function(){var _4f8=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_4ef(_4f8);});}return _4f1("dijit.Menu",_4f6,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_4f0.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_4f9){return _4f5.get(this._iframeContentDocument(_4f9))||this._iframeContentDocument(_4f9)["__parent__"]||(_4f9.name&&document.frames[_4f9.name])||null;},_iframeContentDocument:function(_4fa){return _4fa.contentDocument||(_4fa.contentWindow&&_4fa.contentWindow.document)||(_4fa.name&&document.frames[_4fa.name]&&document.frames[_4fa.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _4fb=node,_4fc=this._iframeContentWindow(_4fb);cn=win.body(_4fc.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _4fd={node:node,iframe:_4fb};_4f2.set(node,"_dijitMenu"+this.id,this._bindings.push(_4fd));var _4fe=lang.hitch(this,function(cn){var _4ff=this.selector,_500=_4ff?function(_501){return on.selector(_4ff,_501);}:function(_502){return _502;},self=this;return [on(cn,_500(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<this._lastKeyDown+500){return;}self._scheduleOpen(this,_4fb,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_500("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,_4fb,null,evt.target);this._lastKeyDown=(new Date()).getTime();}})];});_4fd.connects=cn?_4fe(cn):[];if(_4fb){_4fd.onloadHandler=lang.hitch(this,function(){var _503=this._iframeContentWindow(_4fb),cn=win.body(_503.document);_4fd.connects=_4fe(cn);});if(_4fb.addEventListener){_4fb.addEventListener("load",_4fd.onloadHandler,false);}else{_4fb.attachEvent("onload",_4fd.onloadHandler);}}},unBindDomNode:function(_504){var node;try{node=dom.byId(_504,this.ownerDocument);}catch(e){return;}var _505="_dijitMenu"+this.id;if(node&&_4f2.has(node,_505)){var bid=_4f2.get(node,_505)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _506=b.iframe;if(_506){if(_506.removeEventListener){_506.removeEventListener("load",b.onloadHandler,false);}else{_506.detachEvent("onload",b.onloadHandler);}}_4f2.remove(node,_505);delete this._bindings[bid];}},_scheduleOpen:function(_507,_508,_509,_50a){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_50a,delegatedTarget:_507,iframe:_508,coords:_509});},1);}},_openMyself:function(args){var _50b=args.target,_50c=args.iframe,_50d=args.coords,_50e=!_50d;this.currentTarget=args.delegatedTarget;if(_50d){if(_50c){var ifc=_4f3.position(_50c,true),_50f=this._iframeContentWindow(_50c),_510=_4f3.docScroll(_50f.document);var cs=_4f4.getComputedStyle(_50c),tp=_4f4.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_50c,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_50c,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_50c,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_50c,cs.borderTopWidth):0);_50d.x+=ifc.x+left-_510.x;_50d.y+=ifc.y+top-_510.y;}}else{_50d=_4f3.position(_50b,true);_50d.x+=10;_50d.y+=10;}var self=this;var _511=this._focusManager.get("prevNode");var _512=this._focusManager.get("curNode");var _513=!_512||(dom.isDescendant(_512,this.domNode))?_511:_512;function _514(){if(self.refocus&&_513){_513.focus();}pm.close(self);};pm.open({popup:this,x:_50d.x,y:_50d.y,onExecute:_514,onCancel:_514,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_50e){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_4f0.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(_515,keys,_516,_517){return _515("dijit.DropDownMenu",_517,{templateString:_516,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(_518,_519,dom,_51a,_51b,lang,_51c,on,_51d,_51e,_51f,_520,_521,_522,_523){return _519("dijit._MenuBase",[_520,_523,_522,_521],{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){_51b.toggle(this.domNode,"dijitMenuActive",val);_51b.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _524=_51f.byNode(node);return node.parentNode==this.containerNode&&_524&&_524.focus;},postCreate:function(){var self=this,_525=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_525,_51c.enter),function(){self.onItemHover(_51f.byNode(this));}),on(this.containerNode,on.selector(_525,_51c.leave),function(){self.onItemUnhover(_51f.byNode(this));}),on(this.containerNode,on.selector(_525,_51e),function(evt){self.onItemClick(_51f.byNode(this),evt);evt.stopPropagation();}),on(this.containerNode,on.selector(_525,"focusin"),function(){self._onItemFocus(_51f.byNode(this));}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_526,_527){this.inherited(arguments);if(!!item&&(_527==-1||(!!item.popup&&_527==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_528){if(!!item.shortcutKey){return _528==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 _529=this._getTopMenu();if(_529&&_529._isMenuBar){_529.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 _52a=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_52a);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_52b,_52c){if(_52b==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _52d=_52b.popup;_52d.parentMenu=this;this.own(this._mouseoverHandle=on.once(_52d.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_52b._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_52c){self.focusChild(_52b);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_52c);this.currentPopupItem=_52b;},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){_51a.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(_52e){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_52e){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(_52f,dom,_530,_531,_532,has,lang,_533,_534,_535,_536,_537){var _538=_52f("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_533,_534,_535,_536],{templateString:_537,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _539="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_539=val.charAt(ndx+1);var _53a=val.substr(0,ndx);var _53b=val.substr(ndx+3);text=_53a+_539+_53b;val=_53a+"<span class=\"dijitMenuItemShortcutKey\">"+_539+"</span>"+_53b;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_539);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_53c){if(_53c&&!("label" in this.params)){this._set("label",_53c.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _53d=this.id+"_text";_530.set(this.containerNode,"id",_53d);if(this.accelKeyNode){_530.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(_53e){_531.toggle(this.domNode,"dijitMenuItemSelected",_53e);},setLabel:function(_53f){_532.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_53f);},setDisabled:function(_540){_532.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_540);},_setDisabledAttr:function(_541){this.focusNode.setAttribute("aria-disabled",_541?"true":"false");this._set("disabled",_541);},_setAccelKeyAttr:function(_542){if(this.accelKeyNode){this.accelKeyNode.style.display=_542?"":"none";this.accelKeyNode.innerHTML=_542;_530.set(this.containerNode,"colSpan",_542?"1":"2");}this._set("accelKey",_542);}});if(has("dojo-bidi")){_538=_52f("dijit.MenuItem",_538,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _538;});},"dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_543,_544,lang,_545,pm,_546,_547){return _543("dijit.PopupMenuItem",_547,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _548=_545("*",this.srcNodeRef);this.inherited(arguments,[_548[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_549,_54a){var _54b=this.popup;pm.open(lang.delegate(_549,{popup:this.popup,around:this.domNode}));if(_54a&&_54b.focus){_54b.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=_545("[widgetId]",this.dropDownContainer)[0];this.popup=_546.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){_544.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_54c){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_54c);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_54d,_54e,_54f,_550){return _54d("dijit.CheckedMenuItem",_54f,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_550,checked:false,_setCheckedAttr:function(_551){this.domNode.setAttribute("aria-checked",_551?"true":"false");this._set("checked",_551);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",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(_552,keys,_553,_554){return _552("dijit.MenuBar",_553,{templateString:_554,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(_555,_556,_557){var _558=_555("dijit._MenuBarItemMixin",null,{templateString:_557,_setIconClassAttr:null});var _559=_555("dijit.MenuBarItem",[_556,_558],{});_559._MenuBarItemMixin=_558;return _559;});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_55a,_55b,_55c){var _55d=_55c._MenuBarItemMixin;return _55a("dijit.PopupMenuBarItem",[_55b,_55d],{});});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_55e,dom,_55f,_560,_561,_562){return _55e("dijit.MenuSeparator",[_55f,_560,_561],{templateString:_562,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(_563,_564,_565,lang,_566,_567,_568,_569){return _564("dijit.ProgressBar",[_567,_568],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_569,_indeterminateHighContrastImagePath:_563.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){_565.toggle(this.domNode,"dijitProgressBarRtl",val=="rtl");_565.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&val=="rtl");this.inherited(arguments);},update:function(_56a){lang.mixin(this,_56a||{});var tip=this.internalProgress,ap=this.domNode;var _56b=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_56b=Math.min(parseFloat(this.progress)/100,1);this.progress=_56b*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_56b=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(_56b);_565.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_565.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_56b*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(_56c){this._set("label",_56c);this.update();},_setIndeterminateAttr:function(_56d){this._set("indeterminate",_56d);this.update();},report:function(_56e){return this.label?this.label:(this.indeterminate?" ":_566.format(_56e,{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,_56f,_570,_571){var _572={};lang.setObject("dojo.number",_572);_572.format=function(_573,_574){_574=lang.mixin({},_574||{});var _575=i18n.normalizeLocale(_574.locale),_576=i18n.getLocalization("dojo.cldr","number",_575);_574.customs=_576;var _577=_574.pattern||_576[(_574.type||"decimal")+"Format"];if(isNaN(_573)||Math.abs(_573)==Infinity){return null;}return _572._applyPattern(_573,_577,_574);};_572._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_572._applyPattern=function(_578,_579,_57a){_57a=_57a||{};var _57b=_57a.customs.group,_57c=_57a.customs.decimal,_57d=_579.split(";"),_57e=_57d[0];_579=_57d[(_578<0)?1:0]||("-"+_57e);if(_579.indexOf("%")!=-1){_578*=100;}else{if(_579.indexOf("‰")!=-1){_578*=1000;}else{if(_579.indexOf("¤")!=-1){_57b=_57a.customs.currencyGroup||_57b;_57c=_57a.customs.currencyDecimal||_57c;_579=_579.replace(/\u00a4{1,3}/,function(_57f){var prop=["symbol","currency","displayName"][_57f.length-1];return _57a[prop]||_57a.currency||"";});}else{if(_579.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _580=_572._numberPatternRE;var _581=_57e.match(_580);if(!_581){throw new Error("unable to find a number expression in pattern: "+_579);}if(_57a.fractional===false){_57a.places=0;}return _579.replace(_580,_572._formatAbsolute(_578,_581[0],{decimal:_57c,group:_57b,places:_57a.places,round:_57a.round}));};_572.round=function(_582,_583,_584){var _585=10/(_584||10);return (_585*+_582).toFixed(_583)/_585;};if((0.9).toFixed()==0){var _586=_572.round;_572.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 _586(v,p,m)+(v>0?d:-d);};}_572._formatAbsolute=function(_587,_588,_589){_589=_589||{};if(_589.places===true){_589.places=0;}if(_589.places===Infinity){_589.places=6;}var _58a=_588.split("."),_58b=typeof _589.places=="string"&&_589.places.indexOf(","),_58c=_589.places;if(_58b){_58c=_589.places.substring(_58b+1);}else{if(!(_58c>=0)){_58c=(_58a[1]||[]).length;}}if(!(_589.round<0)){_587=_572.round(_587,_58c,_589.round);}var _58d=String(Math.abs(_587)).split("."),_58e=_58d[1]||"";if(_58a[1]||_589.places){if(_58b){_589.places=_589.places.substring(0,_58b);}var pad=_589.places!==undefined?_589.places:(_58a[1]&&_58a[1].lastIndexOf("0")+1);if(pad>_58e.length){_58d[1]=_570.pad(_58e,pad,"0",true);}if(_58c<_58e.length){_58d[1]=_58e.substr(0,_58c);}}else{if(_58d[1]){_58d.pop();}}var _58f=_58a[0].replace(",","");pad=_58f.indexOf("0");if(pad!=-1){pad=_58f.length-pad;if(pad>_58d[0].length){_58d[0]=_570.pad(_58d[0],pad);}if(_58f.indexOf("#")==-1){_58d[0]=_58d[0].substr(_58d[0].length-pad);}}var _590=_58a[0].lastIndexOf(","),_591,_592;if(_590!=-1){_591=_58a[0].length-_590-1;var _593=_58a[0].substr(0,_590);_590=_593.lastIndexOf(",");if(_590!=-1){_592=_593.length-_590-1;}}var _594=[];for(var _595=_58d[0];_595;){var off=_595.length-_591;_594.push((off>0)?_595.substr(off):_595);_595=(off>0)?_595.slice(0,off):"";if(_592){_591=_592;delete _592;}}_58d[0]=_594.reverse().join(_589.group||",");return _58d.join(_589.decimal||".");};_572.regexp=function(_596){return _572._parseInfo(_596).regexp;};_572._parseInfo=function(_597){_597=_597||{};var _598=i18n.normalizeLocale(_597.locale),_599=i18n.getLocalization("dojo.cldr","number",_598),_59a=_597.pattern||_599[(_597.type||"decimal")+"Format"],_59b=_599.group,_59c=_599.decimal,_59d=1;if(_59a.indexOf("%")!=-1){_59d/=100;}else{if(_59a.indexOf("‰")!=-1){_59d/=1000;}else{var _59e=_59a.indexOf("¤")!=-1;if(_59e){_59b=_599.currencyGroup||_59b;_59c=_599.currencyDecimal||_59c;}}}var _59f=_59a.split(";");if(_59f.length==1){_59f.push("-"+_59f[0]);}var re=_571.buildGroupRE(_59f,function(_5a0){_5a0="(?:"+_571.escapeString(_5a0,".")+")";return _5a0.replace(_572._numberPatternRE,function(_5a1){var _5a2={signed:false,separator:_597.strict?_59b:[_59b,""],fractional:_597.fractional,decimal:_59c,exponent:false},_5a3=_5a1.split("."),_5a4=_597.places;if(_5a3.length==1&&_59d!=1){_5a3[1]="###";}if(_5a3.length==1||_5a4===0){_5a2.fractional=false;}else{if(_5a4===undefined){_5a4=_597.pattern?_5a3[1].lastIndexOf("0")+1:Infinity;}if(_5a4&&_597.fractional==undefined){_5a2.fractional=true;}if(!_597.places&&(_5a4<_5a3[1].length)){_5a4+=","+_5a3[1].length;}_5a2.places=_5a4;}var _5a5=_5a3[0].split(",");if(_5a5.length>1){_5a2.groupSize=_5a5.pop().length;if(_5a5.length>1){_5a2.groupSize2=_5a5.pop().length;}}return "("+_572._realNumberRegexp(_5a2)+")";});},true);if(_59e){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_5a6,_5a7,_5a8,_5a9){var prop=["symbol","currency","displayName"][_5a8.length-1],_5aa=_571.escapeString(_597[prop]||_597.currency||"");_5a7=_5a7?"[\\s\\xa0]":"";_5a9=_5a9?"[\\s\\xa0]":"";if(!_597.strict){if(_5a7){_5a7+="*";}if(_5a9){_5a9+="*";}return "(?:"+_5a7+_5aa+_5a9+")?";}return _5a7+_5aa+_5a9;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_59b,decimal:_59c,factor:_59d};};_572.parse=function(_5ab,_5ac){var info=_572._parseInfo(_5ac),_5ad=(new RegExp("^"+info.regexp+"$")).exec(_5ab);if(!_5ad){return NaN;}var _5ae=_5ad[1];if(!_5ad[1]){if(!_5ad[2]){return NaN;}_5ae=_5ad[2];info.factor*=-1;}_5ae=_5ae.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _5ae*info.factor;};_572._realNumberRegexp=function(_5af){_5af=_5af||{};if(!("places" in _5af)){_5af.places=Infinity;}if(typeof _5af.decimal!="string"){_5af.decimal=".";}if(!("fractional" in _5af)||/^0/.test(_5af.places)){_5af.fractional=[true,false];}if(!("exponent" in _5af)){_5af.exponent=[true,false];}if(!("eSigned" in _5af)){_5af.eSigned=[true,false];}var _5b0=_572._integerRegexp(_5af),_5b1=_571.buildGroupRE(_5af.fractional,function(q){var re="";if(q&&(_5af.places!==0)){re="\\"+_5af.decimal;if(_5af.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_5af.places+"}";}}return re;},true);var _5b2=_571.buildGroupRE(_5af.exponent,function(q){if(q){return "([eE]"+_572._integerRegexp({signed:_5af.eSigned})+")";}return "";});var _5b3=_5b0+_5b1;if(_5b1){_5b3="(?:(?:"+_5b3+")|(?:"+_5b1+"))";}return _5b3+_5b2;};_572._integerRegexp=function(_5b4){_5b4=_5b4||{};if(!("signed" in _5b4)){_5b4.signed=[true,false];}if(!("separator" in _5b4)){_5b4.separator="";}else{if(!("groupSize" in _5b4)){_5b4.groupSize=3;}}var _5b5=_571.buildGroupRE(_5b4.signed,function(q){return q?"[-+]":"";},true);var _5b6=_571.buildGroupRE(_5b4.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_571.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_5b4.groupSize,grp2=_5b4.groupSize2;if(grp2){var _5b7="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_5b7+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_5b7;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _5b5+_5b6;};return _572;});},"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(_5b8,_5b9,dom,_5ba,_5bb,_5bc,_5bd,has,_5be,keys,_5bf,_5c0,_5c1,_5c2,_5c3){var _5c4=_5b9("dijit.TitlePane",[_5c1,_5c0,_5bf],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_5c3.defaultDuration,baseClass:"dijitTitlePane",templateString:_5c2,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 _5c5=this.hideNode,_5c6=this.wipeNode;this._wipeIn=_5bd.wipeIn({node:_5c6,duration:this.duration,beforeBegin:function(){_5c5.style.display="";}});this._wipeOut=_5bd.wipeOut({node:_5c6,duration:this.duration,onEnd:function(){_5c5.style.display="none";}});},_setOpenAttr:function(open,_5c7){_5b8.forEach([this._wipeIn,this._wipeOut],function(_5c8){if(_5c8&&_5c8.status()=="playing"){_5c8.stop();}});if(_5c7){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(_5c9){this.focusNode.setAttribute("role",_5c9?"button":"heading");if(_5c9){this.focusNode.setAttribute("aria-controls",this.id+"_pane");this.focusNode.setAttribute("tabIndex",this.tabIndex);this.focusNode.setAttribute("aria-pressed",this.open);}else{_5ba.remove(this.focusNode,"aria-controls");_5ba.remove(this.focusNode,"tabIndex");_5ba.remove(this.focusNode,"aria-pressed");}this._set("toggleable",_5c9);this._setCss();},_setContentAttr:function(_5ca){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_5bc.setMarginBox(this.wipeNode,{h:_5bc.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 _5cb=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_5bb.replace(node,this._titleBarClass,_5cb||"");_5bb.replace(node,this._titleBarClass.replace("TitlePaneTitle",""),(_5cb||"").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(_5cc){_5be.deprecated("dijit.TitlePane.setTitle() is deprecated. Use set('title', ...) instead.","","2.0");this.set("title",_5cc);}});if(has("dojo-bidi")){_5c4.extend({_setTitleAttr:function(_5cd){this._set("title",_5cd);this.titleNode.innerHTML=_5cd;this.applyTextDir(this.titleNode);},_setTooltipAttr:function(_5ce){this._set("tooltip",_5ce);if(this.textDir){_5ce=this.enforceTextDirWithUcc(null,_5ce);}_5ba.set(this.focusNode,"title",_5ce);},_setTextDirAttr:function(_5cf){if(this._created&&this.textDir!=_5cf){this._set("textDir",_5cf);this.set("title",this.title);this.set("tooltip",this.tooltip);}}});}return _5c4;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_5d0,dojo,_5d1,_5d2,_5d3,dom,_5d4,geom,_5d5,_5d6){if(!dojo.isAsync){_5d5(0,function(){var _5d7=["./fx/Toggler"];_5d6(_5d7);});}var _5d8=dojo.fx={};var _5d9={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _5da=function(_5db){this._index=-1;this._animations=_5db||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_5d1.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_5da.prototype=new _5d0();lang.extend(_5da,{_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=_5d2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_5d2.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_5dc,_5dd){if(!this._current){this._current=this._animations[this._index=0];}if(!_5dd&&this._current.status()=="playing"){return this;}var _5de=_5d2.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_5df=_5d2.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_5e0=_5d2.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_5de.remove();_5df.remove();_5e0.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_5d2.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_5d2.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=_5d2.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_5e1,_5e2){this.pause();var _5e3=this.duration*_5e1;this._current=null;_5d1.some(this._animations,function(a,_5e4){if(_5e3<=a.duration){this._current=a;this._index=_5e4;return true;}_5e3-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_5e3/this._current.duration);}if(_5e2){this.play();}return this;},stop:function(_5e5){if(this._current){if(_5e5){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_5d2.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(_5da,_5d9);_5d8.chain=function(_5e6){return new _5da(_5e6);};var _5e7=function(_5e8){this._animations=_5e8||[];this._connects=[];this._finished=0;this.duration=0;_5d1.forEach(_5e8,function(a){var _5e9=a.duration;if(a.delay){_5e9+=a.delay;}if(this.duration<_5e9){this.duration=_5e9;}this._connects.push(_5d2.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _5d3.Animation({curve:[0,1],duration:this.duration});var self=this;_5d1.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_5d2.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_5e7,{_doAction:function(_5ea,args){_5d1.forEach(this._animations,function(a){a[_5ea].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_5eb,args){var t=this._pseudoAnimation;t[_5eb].apply(t,args);},play:function(_5ec,_5ed){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(_5ee,_5ef){var ms=this.duration*_5ee;_5d1.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_5ef);});this._call("gotoPercent",arguments);return this;},stop:function(_5f0){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){this.stop();_5d1.forEach(this._connects,function(_5f1){_5f1.remove();});}});lang.extend(_5e7,_5d9);_5d8.combine=function(_5f2){return new _5e7(_5f2);};_5d8.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_5d3.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 _5f3=_5d4.get(node,"height");return Math.max(_5f3,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_5d2.after(anim,"onStop",fini,true);_5d2.after(anim,"onEnd",fini,true);return anim;};_5d8.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_5d3.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_5d2.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";};_5d2.after(anim,"onStop",fini,true);_5d2.after(anim,"onEnd",fini,true);return anim;};_5d8.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_5d4.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=_5d3.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_5d2.after(anim,"beforeBegin",init,true);return anim;};return _5d8;});},"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(_5f4,_5f5,_5f6,_5f7,_5f8,all,dom,_5f9,_5fa,_5fb,_5fc,_5fd,has,_5fe,keys,lang,on,_5ff,_600,when,_601,_602,_603,_604,_605,_606,_607,_608,_609,_60a,_60b,_60c,_60d,_60e,_60f){function _610(d){return lang.delegate(d.promise||d,{addCallback:function(_611){this.then(_611);},addErrback:function(_612){this.otherwise(_612);}});};var _613=_5f7("dijit._TreeNode",[_605,_606,_607,_608,_609],{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:_60b,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(_614){var _615=(Math.max(_614,0)*this.tree._nodePixelIndent)+"px";_5fb.set(this.domNode,"backgroundPosition",_615+" 0px");_5fb.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_615);_5f4.forEach(this.getChildren(),function(_616){_616.set("indent",_614+1);});this._set("indent",_614);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_617=tree.model;if(tree._v10Compat&&item===_617.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,_618,_619){var _61a="_"+_618+"Class";var _61b=_618+"Node";var _61c=this[_61a];this[_61a]=this.tree["get"+_619+"Class"](item,this.isExpanded);_5f9.replace(this[_61b],this[_61a]||"",_61c||"");_5fb.set(this[_61b],this.tree["get"+_619+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _61d=this.getParent(),_61e=!_61d||!_61d.rowNode||_61d.rowNode.style.display=="none";_5f9.toggle(this.domNode,"dijitTreeIsRoot",_61e);_5f9.toggle(this.domNode,"dijitTreeIsLast",!_61e&&!this.getNextSibling());},_setExpando:function(_61f){var _620=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_621=["*","-","+","*"],idx=_61f?0:(this.isExpandable?(this.isExpanded?1:2):3);_5f9.replace(this.expandoNode,_620[idx],_620);this.expandoNodeText.innerHTML=_621[idx];},expand:function(){if(this._expandDeferred){return _610(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");}_5f9.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 _622=_5fd.wipeIn({node:this.containerNode,duration:_604.defaultDuration});var def=(this._expandDeferred=new _5f8(function(){_622.stop();}));_5f5.after(_622,"onEnd",function(){def.resolve(true);},true);_622.play();return _610(def);},collapse:function(){if(this._collapseDeferred){return _610(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");}_5f9.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _623=_5fd.wipeOut({node:this.containerNode,duration:_604.defaultDuration});var def=(this._collapseDeferred=new _5f8(function(){_623.stop();}));_5f5.after(_623,"onEnd",function(){def.resolve(true);},true);_623.play();return _610(def);},indent:0,setChildItems:function(_624){var tree=this.tree,_625=tree.model,defs=[];var _626=tree.focusedChild;var _627=this.getChildren();_5f4.forEach(_627,function(_628){_607.prototype.removeChild.call(this,_628);},this);this.defer(function(){_5f4.forEach(_627,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _629(node){var id=_625.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _62a=_5f4.indexOf(ary,node);if(_62a!=-1){ary.splice(_62a,1);}}_5f4.forEach(node.getChildren(),_629);};_629(node);if(tree.persist){var _62b=_5f4.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_62b.length)==_62b){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild,tree.domNode)){delete tree.lastFocusedChild;}if(_626&&!dom.isDescendant(_626,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_624&&_624.length>0){this.isExpandable=true;_5f4.forEach(_624,function(item){var id=_625.getIdentity(item),_62c=tree._itemNodesMap[id],node;if(_62c){for(var i=0;i<_62c.length;i++){if(_62c[i]&&!_62c[i].getParent()){node=_62c[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_625.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(_62c){_62c.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_5f4.forEach(this.getChildren(),function(_62d){_62d._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _610(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 _62e=this.getChildren();if(_62e.length==0){this.isExpandable=false;this.collapse();}_5f4.forEach(_62e,function(_62f){_62f._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_630){this.labelNode.setAttribute("aria-selected",_630?"true":"false");_5f9.toggle(this.rowNode,"dijitTreeRowSelected",_630);},focus:function(){_602.focus(this.focusNode);}});if(has("dojo-bidi")){_613.extend({_setTextDirAttr:function(_631){if(_631&&((this.textDir!=_631)||!this._created)){this._set("textDir",_631);this.applyTextDir(this.labelNode);_5f4.forEach(this.getChildren(),function(_632){_632.set("textDir",_631);},this);}}});}var Tree=_5f7("dijit.Tree",[_605,_60a,_606,_609],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_60c,persist:false,autoExpand:false,dndController:_60f,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(_633,_634){_5ff.publish(this.id,lang.mixin({tree:this,event:_633},_634||{}));},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 _5f8();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_600.enter),function(evt){self._onNodeMouseEnter(_603.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_600.leave),function(evt){self._onNodeMouseLeave(_603.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_601.press),function(evt){self._onNodePress(_603.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_601),function(evt){self._onClick(_603.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_603.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_5f5.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_5f5.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_5f5.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 _635={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_635[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_635);}this._load();this.onLoadDeferred=_610(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_5fe.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _636={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_636.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_636.getChildren=lang.hitch(this,function(item,_637,_638){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_637,_638);});}this.model=new _60e(_636);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 _639=this.model.getIdentity(item);if(this._itemNodesMap[_639]){this._itemNodesMap[_639].push(rn);}else{this._itemNodesMap[_639]=[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 _63a=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_63a]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_63b){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _63c=_5f4.map(_63b,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _63d=[];_5f4.forEach(_63c,function(id){_63d=_63d.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_63d);}));},_setPathAttr:function(path){if(path.length){return _610(this.set("paths",[path]).then(function(_63e){return _63e[0];}));}else{return _610(this.set("paths",[]).then(function(_63f){return _63f[0];}));}},_setPathsAttr:function(_640){var tree=this;function _641(path,_642){var _643=path.shift();var _644=_5f4.filter(_642,function(node){return node.getIdentity()==_643;})[0];if(!!_644){if(path.length){return tree._expandNode(_644).then(function(){return _641(path,_644.getChildren());});}else{return _644;}}else{throw new Tree.PathError("Could not expand path at "+_643);}};return _610(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_5f4.map(_640,function(path){path=_5f4.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){return _641(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_645){tree.set("selectedNodes",_645);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_646){this.dndController.setSelection(_646);},expandAll:function(){var _647=this;function _648(node){return _647._expandNode(node).then(function(){var _649=_5f4.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_5f4.map(_649,_648));});};return _610(_648(this.rootNode));},collapseAll:function(){var _64a=this;function _64b(node){var _64c=_5f4.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_5f4.map(_64c,_64b));if(!node.isExpanded||(node==_64a.rootNode&&!_64a.showRoot)){return defs;}else{return defs.then(function(){return _64a._collapseNode(node);});}};return _610(_64b(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_64d){return (!item||this.model.mayHaveChildren(item))?(_64d?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _64e=this._getNext(node);if(_64e&&_64e.isTreeNode){this.focusNode(_64e);}},_onUpArrow:function(evt,node){var _64f=node.getPreviousSibling();if(_64f){node=_64f;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _650=node.getChildren();node=_650[_650.length-1];}}else{var _651=node.getParent();if(!(!this.showRoot&&_651===this.rootNode)){node=_651;}}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 _652=node.getParent();if(_652&&_652.isTreeNode&&!(!this.showRoot&&_652===this.rootNode)){this.focusNode(_652);}}},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 _653=node.getNextSibling();if(_653){return _653;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_654){return dom.isDescendant(node,_654.expandoNode)||dom.isDescendant(node,_654.expandoNodeText);},_onNodePress:function(_655,e){this.focusNode(_655);},__click:function(_656,e,_657,func){var _658=e.target,_659=this.isExpandoNode(_658,_656);if(_656.isExpandable&&(_657||_659)){this._onExpandoClick({node:_656});}else{this._publish("execute",{item:_656.item,node:_656,evt:e});this[func](_656.item,_656,e);this.focusNode(_656);}e.stopPropagation();e.preventDefault();},_onClick:function(_65a,e){this.__click(_65a,e,this.openOnClick,"onClick");},_onDblClick:function(_65b,e){this.__click(_65b,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_65c){var node=_65c.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){_5fe.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_5fe.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 _65d=this.model,item=node.item,_65e=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _5f8();_65d.getChildren(item,function(_65f){node.unmarkProcessing();node.setChildItems(_65f).then(function(){node._loadDeferred.resolve(_65f);});},function(err){console.error(_65e,": 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 _660=this.domNode.scrollLeft;this.focusChild(node);this.domNode.scrollLeft=_660;},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _661=this.model,_662=_661.getIdentity(item),_663=this._itemNodesMap[_662];if(_663){var _664=this.getLabel(item),_665=this.getTooltip(item);_5f4.forEach(_663,function(node){node.set({item:item,label:_664,tooltip:_665});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_666,_667){var _668=this.model,_669=_668.getIdentity(_666),_66a=this._itemNodesMap[_669];if(_66a){_5f4.forEach(_66a,function(_66b){_66b.setChildItems(_667);});}},_onItemDelete:function(item){var _66c=this.model,_66d=_66c.getIdentity(item),_66e=this._itemNodesMap[_66d];if(_66e){_5f4.forEach(_66e,function(node){this.dndController.removeTreeNode(node);var _66f=node.getParent();if(_66f){_66f.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[_66d];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_5f6(this.cookieName);if(oreo){_5f4.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_670){if(!this.persist){return false;}var path=_5f4.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_670){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);}_5f6(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(_671){if(_671){_5fa.setMarginBox(this.domNode,_671);}this._nodePixelIndent=_5fa.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 _613(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_672){if(_672&&this.textDir!=_672){this._set("textDir",_672);this.rootNode.set("textDir",_672);}}});}Tree.PathError=_5fc("TreePathError");Tree._TreeNode=_613;return Tree;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_673){dojo.cookie=function(name,_674,_675){var c=document.cookie,ret;if(arguments.length==1){var _676=c.match(new RegExp("(?:^|; )"+_673.escapeString(name)+"=([^;]*)"));ret=_676?decodeURIComponent(_676[1]):undefined;}else{_675=_675||{};var exp=_675.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_675.expires=d;}if(exp&&exp.toUTCString){_675.expires=exp.toUTCString();}_674=encodeURIComponent(_674);var _677=name+"="+_674,_678;for(_678 in _675){_677+="; "+_678;var _679=_675[_678];if(_679!==true){_677+="="+_679;}}document.cookie=_677;}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(_67a,_67b,_67c,lang){return _67c("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 _67d=this.store;if(!_67d.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_67d.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_67b.after(_67d,"onNew",lang.hitch(this,"onNewItem"),true),_67b.after(_67d,"onDelete",lang.hitch(this,"onDeleteItem"),true),_67b.after(_67d,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_67e,_67f){if(this.root){_67e(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_680){if(_680.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_680.length+" items, but must return exactly one");}this.root=_680[0];_67e(this.root);}),onError:_67f});}},mayHaveChildren:function(item){return _67a.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_681,_682,_683){var _684=this.store;if(!_684.isItemLoaded(_681)){var _685=lang.hitch(this,arguments.callee);_684.loadItem({item:_681,onItem:function(_686){_685(_686,_682,_683);},onError:_683});return;}var _687=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_684.getValues(_681,this.childrenAttrs[i]);_687=_687.concat(vals);}var _688=0;if(!this.deferItemLoadingUntilExpand){_67a.forEach(_687,function(item){if(!_684.isItemLoaded(item)){_688++;}});}if(_688==0){_682(_687);}else{_67a.forEach(_687,function(item,idx){if(!_684.isItemLoaded(item)){_684.loadItem({item:item,onItem:function(item){_687[idx]=item;if(--_688==0){_682(_687);}},onError:_683});}});}},isItem:function(_689){return this.store.isItem(_689);},fetchItemByIdentity:function(_68a){this.store.fetchItemByIdentity(_68a);},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,_68b,_68c){var _68d={parent:_68b,attribute:this.childrenAttrs[0]},_68e;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_68b,true,_68c);}else{_68e=this.store.newItem(args,_68d);if(_68e&&(_68c!=undefined)){this.pasteItem(_68e,_68b,_68b,false,_68c);}}}});}else{_68e=this.store.newItem(args,_68d);if(_68e&&(_68c!=undefined)){this.pasteItem(_68e,_68b,_68b,false,_68c);}}},pasteItem:function(_68f,_690,_691,_692,_693){var _694=this.store,_695=this.childrenAttrs[0];if(_690){_67a.forEach(this.childrenAttrs,function(attr){if(_694.containsValue(_690,attr,_68f)){if(!_692){var _696=_67a.filter(_694.getValues(_690,attr),function(x){return x!=_68f;});_694.setValues(_690,attr,_696);}_695=attr;}});}if(_691){if(typeof _693=="number"){var _697=_694.getValues(_691,_695).slice();_697.splice(_693,0,_68f);_694.setValues(_691,_695,_697);}else{_694.setValues(_691,_695,_694.getValues(_691,_695).concat(_68f));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_698){if(!_698){return;}this.getChildren(_698.item,lang.hitch(this,function(_699){this.onChildrenChange(_698.item,_699);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_69a){if(_67a.indexOf(this.childrenAttrs,_69a)!=-1){this.getChildren(item,lang.hitch(this,function(_69b){this.onChildrenChange(item,_69b);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_69c,_69d,_69e,lang,_69f){return _69d("dijit.tree.ForestStoreModel",_69f,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_6a0){this.root={store:this,root:true,id:_6a0.rootId,label:_6a0.rootLabel,children:_6a0.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_6a1,_6a2,_6a3){if(_6a1===this.root){if(this.root.children){_6a2(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_6a4){this.root.children=_6a4;_6a2(_6a4);}),onError:_6a3});}}else{this.inherited(arguments);}},isItem:function(_6a5){return (_6a5===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_6a6){if(_6a6.identity==this.root.id){var _6a7=_6a6.scope||_69e.global;if(_6a6.onItem){_6a6.onItem.call(_6a7,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,_6a8,_6a9){if(_6a8===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_6aa,_6ab,_6ac,_6ad,_6ae){if(_6ab===this.root){if(!_6ad){this.onLeaveRoot(_6aa);}}this.inherited(arguments,[_6aa,_6ab===this.root?null:_6ab,_6ac===this.root?null:_6ac,_6ad,_6ae]);if(_6ac===this.root){this.onAddToRoot(_6aa);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _6af=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_6b0){this.root.children=_6b0;if(_6af.length!=_6b0.length||_69c.some(_6af,function(item,idx){return _6b0[idx]!=item;})){this.onChildrenChange(this.root,_6b0);}})});},onNewItem:function(item,_6b1){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_69c.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_6b2,_6b3,_6b4){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(_6b5,_6b6,_6b7,lang,_6b8,dom,_6b9,on,_6ba,_6bb,_6bc){return _6b6("dijit.tree._dndSelector",_6bc,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_6ba.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_6ba.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_6ba.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_6bb.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_6bb.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _6bd=[],sel=this.selection;for(var i in sel){_6bd.push(sel[i]);}return _6bd;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_6be){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_6be){this.anchor=node;}return node;},removeTreeNode:function(node){var _6bf=_6b5.filter(this.getSelectedTreeNodes(),function(_6c0){return !dom.isDescendant(_6c0.domNode,node.domNode);});this.setSelection(_6bf);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_6c1){var _6c2=this.getSelectedTreeNodes();_6b5.forEach(this._setDifference(_6c2,_6c1),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_6b5.forEach(this._setDifference(_6c1,_6c2),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_6b5.forEach(ys,function(y){y.__exclude__=true;});var ret=_6b5.filter(xs,function(x){return !x.__exclude__;});_6b5.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _6c3=this.getSelectedTreeNodes();var _6c4=[],_6c5=[];_6b5.forEach(_6c3,function(node){var ary=node.getTreePath();_6c5.push(node);_6c4.push(ary);},this);var _6c6=_6b5.map(_6c5,function(node){return node.item;});this.tree._set("paths",_6c4);this.tree._set("path",_6c4[0]||[]);this.tree._set("selectedNodes",_6c5);this.tree._set("selectedNode",_6c5[0]||null);this.tree._set("selectedItems",_6c6);this.tree._set("selectedItem",_6c6[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_6b9.isLeft(e)){e.preventDefault();}var _6c7=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_6c7){return;}var copy=_6b8.getCopyKeyState(e),id=_6c7.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_6c7,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_6b8.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,_6c8,_6c9){if(this.singular){if(this.anchor==node&&_6c8){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_6c9&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_6ca,end,_6cb=this.anchor;if(cr<0){_6ca=_6cb;end=node;}else{_6ca=node;end=_6cb;}var _6cc=[];while(_6ca!=end){_6cc.push(_6ca);_6ca=this.tree._getNext(_6ca);}_6cc.push(end);this.setSelection(_6cc);}else{if(this.selection[node.id]&&_6c8){this.removeTreeNode(node);}else{if(_6c8){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _6cd=this.selection[key];return {data:_6cd,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_6b7.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(_6ce,_6cf,_6d0,lang,on,_6d1){return _6cf("dijit.tree._dndContainer",null,{constructor:function(tree,_6d2){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_6d2);this.containerState="";_6d0.add(this.node,"dojoDndContainer");this.events=[on(this.node,_6d1.enter,lang.hitch(this,"onOverEvent")),on(this.node,_6d1.leave,lang.hitch(this,"onOutEvent")),_6ce.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_6ce.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(_6d3){this.current=_6d3;},onMouseOut:function(){this.current=null;},_changeState:function(type,_6d4){var _6d5="dojoDnd"+type;var _6d6=type.toLowerCase()+"State";_6d0.replace(this.node,_6d5+_6d4,_6d5+this[_6d6]);this[_6d6]=_6d4;},_addItemClass:function(node,type){_6d0.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_6d0.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(_6d7,_6d8,_6d9,_6da,_6db,_6dc,_6dd,_6de,i18n,_6df,keys,lang,on,has,when,_6e0,fm,_6e1,_6e2,_6e3,_6e4,_6e5,_6e6,_6e7,_6e8){var _6e9=_6da("dijit._InlineEditor",[_6e1,_6e2,_6e3],{templateString:_6e8,contextRequire:_6d7,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_6d8.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)||_6d7(this.editor)):this.editor;var _6ea=this.sourceStyle,_6eb="line-height:"+_6ea.lineHeight+";",_6ec=_6de.getComputedStyle(this.domNode);_6d8.forEach(["Weight","Family","Size","Style"],function(prop){var _6ed=_6ea["font"+prop],_6ee=_6ec["font"+prop];if(_6ee!=_6ed){_6eb+="font-"+prop+":"+_6ea["font"+prop]+";";}},this);_6d8.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_6ea[prop];},this);var _6ef=this.inlineEditBox.width;if(_6ef=="100%"){_6eb+="width:100%;";this.domNode.style.display="block";}else{_6eb+="width:"+(_6ef+(Number(_6ef)==_6ef?"px":""))+";";}var _6f0=lang.delegate(this.inlineEditBox.editorParams,{style:_6eb,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_6f0,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_6dd.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_6d9.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(_6d9.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(){_6e6.selectInputText(this.editWidget.focusNode);});}}}});var _6f1=_6da("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_6e1,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_6e7,editorWrapper:_6e9,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>    ✍    </span>":"<span style='text-decoration: underline;'>    ✍    </span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_6e0,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;}_6dc.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_6f2){_6df.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_6f2);},_setDisabledAttr:function(_6f3){this.domNode.setAttribute("aria-disabled",_6f3?"true":"false");if(_6f3){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_6dc.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_6f3);this._set("disabled",_6f3);},_onMouseOver:function(){if(!this.disabled){_6dc.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_6dc.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=_6db.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _6f4=_6dd.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:_6de.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_6f4);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_6dc.add(this.displayNode,"dijitOffScreen");_6dc.remove(ww.domNode,"dijitOffScreen");_6de.set(ww.domNode,{visibility:"visible"});_6db.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(_6f5){var ww=this.wrapperWidget;_6de.set(ww.domNode,{visibility:"hidden"});_6dc.add(ww.domNode,"dijitOffScreen");_6dc.remove(this.displayNode,"dijitOffScreen");_6db.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_6f5){fm.focus(this.displayNode);}},save:function(_6f6){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _6f7=ww.getValue();this.set("value",_6f7);this._showText(_6f6);},setValue:function(val){_6df.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 _6f8=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/\n/g,"<br>");this.displayNode.innerHTML=_6f8||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_6df.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_6f9){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_6f9);}});if(has("dojo-bidi")){_6f1=_6da("dijit.InlineEditBox",_6f1,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_6f1._InlineEditor=_6e9;return _6f1;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_6fa,_6fb,_6fc,has,_6fd,_6fe,_6ff,_700){return _6fa("dijit.form.Form",[_6fd,_6fe,_6ff,_700],{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(_701){_6fb.set(this.domNode,"encType",_701);if(has("ie")){this.domNode.encoding=_701;}this._set("encType",_701);},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){_6fc.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(_702,keys,_703,_704,_705){return _702("dijit.form.ComboButton",_704,{templateString:_705,_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"]){_703.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_703.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_706){if(!this.disabled){_703.focus(_706=="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(_707,_708,_709,has,_70a,_70b,_70c,_70d,_70e){if(has("dijit-legacy-requires")){_70b(0,function(){var _70f=["dijit/form/RadioButton"];_707(_70f);});}return _708("dijit.form.CheckBox",[_70c,_70d],{templateString:_70e,baseClass:"dijitCheckBox",_setValueAttr:function(_710,_711){if(typeof _710=="string"){this.inherited(arguments);_710=true;}if(this._created){this.set("checked",_710,_711);}},_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){_70a("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_70a("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_712,_713){return _712("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_714){this._set("readOnly",_714);_713.set(this.focusNode,"readOnly",_714);},_setLabelAttr:undefined,_getSubmitValue:function(_715){return (_715==null||_715==="")?"on":_715;},_setValueAttr:function(_716){_716=this._getSubmitValue(_716);this._set("value",_716);_713.set(this.focusNode,"value",_716);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_713.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(_717,_718,_719){return _717("dijit.form.RadioButton",[_718,_719],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_71a,_71b,_71c,lang,_71d,_71e){return _71b("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_71d("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_71f){if(_71f.name==this.name&&_71f.form==this.focusNode.form){var _720=_71e.getEnclosingWidget(_71f);if(_720){ary.push(_720);}}}));return ary;},_setCheckedAttr:function(_721){this.inherited(arguments);if(!this._created){return;}if(_721){_71a.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_722){if(_722!=this&&_722.checked){_722.set("checked",false);}}));}},_getSubmitValue:function(_723){return _723==null?"on":_723;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_71a.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_724){_71c.set(this.focusNode||this.domNode,"checked",_724.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_725,_726,lang,_727){return _726("dijit.form.CurrencyTextBox",_727,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:_725.format,_parser:_725.parse,_regExpGenerator:_725.regexp,parse:function(_728,_729){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_728)){v=lang.hitch(lang.delegate(this,{_parser:_727.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_72a){if(!_72a.currency&&this.currency){_72a.currency=this.currency;}this.inherited(arguments,[_725._mixInDefaults(lang.mixin(_72a,{exponent:false}))]);}});});},"dojo/currency":function(){define(["./_base/array","./_base/lang","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_72b,lang,_72c,i18n,_72d,_72e){var _72f={};lang.setObject("dojo.currency",_72f);_72f._mixInDefaults=function(_730){_730=_730||{};_730.type="currency";var _731=i18n.getLocalization("dojo.cldr","currency",_730.locale)||{};var iso=_730.currency;var data=_72e.getData(iso);_72b.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_731[iso+"_"+prop];});data.fractional=[true,false];return lang.mixin(data,_730);};_72f.format=function(_732,_733){return _72c.format(_732,_72f._mixInDefaults(_733));};_72f.regexp=function(_734){return _72c.regexp(_72f._mixInDefaults(_734));};_72f.parse=function(_735,_736){return _72c.parse(_735,_72f._mixInDefaults(_736));};return _72f;});},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(dojo,lang){var _737={};lang.setObject("dojo.cldr.monetary",_737);_737.getData=function(code){var _738={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 _739={};var _73a=_738[code],_73b=_739[code];if(typeof _73a=="undefined"){_73a=2;}if(typeof _73b=="undefined"){_73b=0;}return {places:_73a,round:_73b};};return _737;});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/i18n","dojo/string","dojo/number","./RangeBoundTextBox"],function(_73c,lang,i18n,_73d,_73e,_73f){var _740=function(_741){var _741=_741||{},_742=i18n.getLocalization("dojo.cldr","number",i18n.normalizeLocale(_741.locale)),_743=_741.pattern?_741.pattern:_742[(_741.type||"decimal")+"Format"],_744=typeof _741.places=="number",_745=_744?_741.places:(_743.indexOf(".")!=-1?_743.split(".")[1].replace(/[^#0]/g,"").length:0);return {sep:_742.decimal,places:_745};};var _746=_73c("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:_73e.format,_regExpGenerator:_73e.regexp,_decimalInfo:_740(),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=_740(_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:_73e.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=_73e.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("^"+_73e._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=_73d.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=_73c("dijit.form.NumberTextBox",[_73f,_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;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(typeof _847.max=="string"){_847.max=_848(_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);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_84a,false);}},_set:function(attr,_84d){var _84e=this._get("value");if(attr=="value"&&_84e instanceof Date&&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:" ",_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,"&").replace(/</g,"<"):_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,"&").replace(/</g,"<"):_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\">●</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=\"Χ \" 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=\"▼ \" 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=\"Χ \" 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\">▼</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\"> </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\"> </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\">▼</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=\"▲ \" 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=\"▼ \" 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=\"Χ \" 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=\"Χ \" 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=\"▼ \" 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=\"\">▼</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\">◀</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\">▶</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;});
|