//>>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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p){var k=a("dijit.ColorPalette",[n,f,d],{palette:"7x10",_palettes:{"7x10":["white seashell cornsilk lemonchiffon lightyellow palegreen paleturquoise lightcyan lavender plum".split(" "),"lightgray pink bisque moccasin khaki lightgreen lightseagreen lightskyblue cornflowerblue violet".split(" "),
"silver lightcoral sandybrown orange palegoldenrod chartreuse mediumturquoise skyblue mediumslateblue orchid".split(" "),"gray red orangered darkorange yellow limegreen darkseagreen royalblue slateblue mediumorchid".split(" "),"dimgray crimson chocolate coral gold forestgreen seagreen blue blueviolet darkorchid".split(" "),"darkslategray firebrick saddlebrown sienna olive green darkcyan mediumblue darkslateblue darkmagenta".split(" "),"black darkred maroon brown darkolivegreen darkgreen midnightblue navy indigo purple".split(" ")],
"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:l,baseClass:"dijitColorPalette",_dyeFactory:function(a,b,e,k){return new this._dyeClass(a,b,e,k)},buildRendering:function(){this.inherited(arguments);this._dyeClass=a(k._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],c.getLocalization("dojo","colors",this.lang))}});k._Color=a("dijit._Color",b,{template:"\x3cspan class\x3d'dijitInline dijitPaletteImg'\x3e\x3cimg src\x3d'${blankGif}' alt\x3d'${alt}' title\x3d'${title}' class\x3d'dijitColorPaletteSwatch' style\x3d'background-color: ${color}'/\x3e\x3c/span\x3e",
hcTemplate:"\x3cspan class\x3d'dijitInline dijitPaletteImg' style\x3d'position: relative; overflow: hidden; height: 12px; width: 14px;'\x3e\x3cimg src\x3d'${image}' alt\x3d'${alt}' title\x3d'${title}' style\x3d'position: absolute; left: ${left}px; top: ${top}px; ${size}'/\x3e\x3c/span\x3e",_imagePaths:{"7x10":g.toUrl("./themes/a11y/colors7x10.png"),"3x4":g.toUrl("./themes/a11y/colors3x4.png")},constructor:function(a,e,k,c){this._title=c;this._row=e;this._col=k;this.setColor(b.named[a])},getValue:function(){return this.toHex()},
fillCell:function(a,b){var k=p.substitute(h("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:b,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:-20*this._col-5,top:-20*this._row-5,size:"7x10"==this.palette?"height: 145px; width: 206px":"height: 64px; width: 86px"});e.place(k,a)}});return k})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p){return g("dijit._PaletteMixin",b,{defaultTimeout:500,timeoutChangeRate:.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(a){return new ("string"==typeof this.dyeClass?h.getObject(this.dyeClass):this.dyeClass)(a)},_preparePalette:function(b,e){this._cells=[];var k=this._blankGif;this.own(c(this.gridNode,a,h.hitch(this,"_onCellClick")));for(var q=0;q<b.length;q++)for(var t=f.create("tr",{tabIndex:"-1",role:"row"},
this.gridNode),m=0;m<b[q].length;m++){var r=b[q][m];if(r){var w=this._dyeFactory(r,q,m,e[r]),r=f.create("td",{"class":this.cellClass,tabIndex:"-1",title:e[r],role:"gridcell"},t);w.fillCell(r,k);r.idx=this._cells.length;this._cells.push({node:r,dye:w})}}this._xDim=b[0].length;this._yDim=b.length;var g={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1},l;for(l in g)this.own(p.addKeyListener(this.domNode,{keyCode:d[l],ctrlKey:!1,altKey:!1,
shiftKey:!1},this,function(){var a=g[l];return function(b){this._navigateByKey(a,b)}}(),this.timeoutChangeRate,this.defaultTimeout))},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node)},focus:function(){e.focus(this._currentFocus)},_onCellClick:function(a){for(var b=a.target;"TD"!=b.tagName;){if(!b.parentNode||b==this.gridNode)return;b=b.parentNode}var k=this._getDye(b).getValue();this._setCurrent(b);e.focus(b);this._setValueAttr(k,!0);a.stopPropagation();a.preventDefault()},
_setCurrent:function(a){"_currentFocus"in this&&l.set(this._currentFocus,"tabIndex","-1");(this._currentFocus=a)&&l.set(a,"tabIndex",this.tabIndex)},_setValueAttr:function(a,b){0<=this._selectedCell&&n.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");this._selectedCell=-1;if(a)for(var e=0;e<this._cells.length;e++)if(a==this._cells[e].dye.getValue()){this._selectedCell=e;n.add(this._cells[e].node,this.cellClass+"Selected");break}this._set("value",0<=this._selectedCell?a:null);
if(b||void 0===b)this.onChange(a)},onChange:function(){},_navigateByKey:function(a,b){if(-1!=b){var k=this._currentFocus.idx+a;k<this._cells.length&&-1<k&&(k=this._cells[k].node,this._setCurrent(k),this.defer(h.hitch(e,"focus",k)))}},_getDye:function(a){return this._cells[a.idx].dye}})})},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(g,l,n,f){var d={};l.setObject("dojo.colors",d);var h=function(b,a,e){0>e&&++e;1<e&&--e;var c=6*e;return 1>
c?b+(a-b)*c:1>2*e?a:2>3*e?b+(a-b)*(2/3-e)*6:b};g.colorFromRgb=n.fromRgb=function(b,a){var e=b.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(e){var c=e[2].split(/\s*,\s*/),k=c.length,e=e[1];if("rgb"==e&&3==k||"rgba"==e&&4==k)return e=c[0],"%"==e.charAt(e.length-1)?(e=f.map(c,function(a){return 2.56*parseFloat(a)}),4==k&&(e[3]=c[3]),n.fromArray(e,a)):n.fromArray(c,a);if("hsl"==e&&3==k||"hsla"==e&&4==k){var e=(parseFloat(c[0])%360+360)%360/360,q=parseFloat(c[1])/100,d=parseFloat(c[2])/
100,q=.5>=d?d*(q+1):d+q-d*q,d=2*d-q,e=[256*h(d,q,e+1/3),256*h(d,q,e),256*h(d,q,e-1/3),1];4==k&&(e[3]=c[3]);return n.fromArray(e,a)}}return null};var c=function(b,a,e){b=Number(b);return isNaN(b)?e:b<a?a:b>e?e:b};n.prototype.sanitize=function(){this.r=Math.round(c(this.r,0,255));this.g=Math.round(c(this.g,0,255));this.b=Math.round(c(this.b,0,255));this.a=c(this.a,0,1);return this};d.makeGrey=n.makeGrey=function(b,a){return n.fromArray([b,b,b,a])};l.mixin(n.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 n})},"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".split(" "),function(g,l,n,f,d,h,c,b,a){return n("dijit.Declaration",c,{_noScript:!0,stopParser:!0,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var e=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),p=h("\x3e script[type\x3d'dojo/method']",e).orphan(),k=
h("\x3e script[type\x3d'dojo/connect']",e).orphan(),q=h("\x3e script[type\x3d'dojo/aspect']",e).orphan(),v=e.nodeName,u=this.defaults||{};g.forEach(p,function(a){var b=a.getAttribute("event")||a.getAttribute("data-dojo-event"),m=d._functionFromScript(a,"data-dojo-");b?u[b]=m:q.push(a)});this.mixins=this.mixins.length?g.map(this.mixins,function(a){return f.getObject(a)}):[c,b,a];u._skipNodeCache=!0;u.templateString="\x3c"+v+" class\x3d'"+e.className+"' data-dojo-attach-point\x3d'"+(e.getAttribute("data-dojo-attach-point")||
e.getAttribute("dojoAttachPoint")||"")+"' data-dojo-attach-event\x3d'"+(e.getAttribute("data-dojo-attach-event")||e.getAttribute("dojoAttachEvent")||"")+"' \x3e"+e.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"\x3c/"+v+"\x3e";var t=n(this.widgetClass,this.mixins,u);g.forEach(q,function(a){a.getAttribute("data-dojo-advice");var b=a.getAttribute("data-dojo-method")||"postscript";a=d._functionFromScript(a);l.after(t.prototype,b,a,!0)});g.forEach(k,function(a){var b=a.getAttribute("event")||a.getAttribute("data-dojo-event");
a=d._functionFromScript(a);l.after(t.prototype,b,a,!0)})}})})},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(g,l,n,f,d){return n("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:!1,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var h=this.domNode;this.containerNode&&!this.searchContainerNode&&(this.containerNode.stopParser=
!0);d.parse(h,{noStart:!this._earlyTemplatedStartup,template:!0,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(f.hitch(this,function(c){this._startupWidgets=c;for(var b=0;b<c.length;b++)this._processTemplateNode(c[b],function(a,b){return a[b]},function(a,b,c){return b in a?a.connect(a,b,c):a.on(b,c,!0)});this.containerNode&&this.containerNode.stopParser&&delete this.containerNode.stopParser}));if(!this._startupWidgets)throw 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(d,c,b){return c(d,"dojoType")||c(d,"data-dojo-type")?!0:this.inherited(arguments)},startup:function(){g.forEach(this._startupWidgets,function(d){d&&!d._started&&d.startup&&d.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/touch 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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y,x,B,G,F,z,E,H,I,D,O){function M(){}var K=new d;K.resolve(!0);x=f("dijit._DialogBase"+(t("dojo-bidi")?"_NoBidi":""),[G,z,E,F],{templateString:O,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:!1,duration:x.defaultDuration,refocus:!0,autofocus:!0,_firstFocusItem:null,_lastFocusItem:null,draggable:!0,_setDraggableAttr:function(a){this._set("draggable",a)},maxRatio:.9,
closable:!0,_setClosableAttr:function(a){this.closeButtonNode.style.display=a?"":"none";this._set("closable",a)},postMixInProperties:function(){var a=p.getLocalization("dijit","common");q.mixin(this,a);this.inherited(arguments)},postCreate:function(){a.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);n.after(this,"onExecute",q.hitch(this,"hide"),!0);n.after(this,"onCancel",q.hitch(this,"hide"),!0);v(this.closeButtonNode,
m.press,function(a){a.stopPropagation()});this._modalconnects=[]},onLoad:function(){this.resize();this._position();this.autofocus&&J.isTop(this)&&(this._getFocusItems(),y.focus(this._firstFocusItem));this.inherited(arguments)},focus:function(){this._getFocusItems();y.focus(this._firstFocusItem)},_endDrag:function(){var a=b.position(this.domNode),m=r.getBox(this.ownerDocument);a.y=Math.min(Math.max(a.y,0),m.h-a.h);a.x=Math.min(Math.max(a.x,0),m.w-a.w);this._relativePosition=a;this._position()},_setup:function(){var a=
this.domNode;this.titleBar&&this.draggable?(this._moveable=new (6==t("ie")?C:w)(a,{handle:this.titleBar}),n.after(this._moveable,"onMoveStop",q.hitch(this,"_endDrag"),!0)):c.add(a,"dijitDialogFixed");this.underlayAttrs={dialogId:this.id,"class":l.map(this["class"].split(/\s/),function(a){return a+"_underlay"}).join(" "),_onKeyDown:q.hitch(this,"_onKey"),ownerDocument:this.ownerDocument}},_size:function(){this.resize()},_position:function(){if(!c.contains(this.ownerDocumentBody,"dojoMove")){var m=
this.domNode,e=r.getBox(this.ownerDocument),k=this._relativePosition,d=b.position(m);a.set(m,{left:Math.floor(e.l+(k?Math.min(k.x,e.w-d.w):(e.w-d.w)/2))+"px",top:Math.floor(e.t+(k?Math.min(k.y,e.h-d.h):(e.h-d.h)/2))+"px"})}},_onKey:function(a){if(a.keyCode==k.TAB){this._getFocusItems();var b=a.target;this._firstFocusItem==this._lastFocusItem?(a.stopPropagation(),a.preventDefault()):b==this._firstFocusItem&&a.shiftKey?(y.focus(this._lastFocusItem),a.stopPropagation(),a.preventDefault()):b!=this._lastFocusItem||
a.shiftKey||(y.focus(this._firstFocusItem),a.stopPropagation(),a.preventDefault())}else this.closable&&a.keyCode==k.ESCAPE&&(this.onCancel(),a.stopPropagation(),a.preventDefault())},show:function(){if(this.open)return K.promise;this._started||this.startup();this._alreadyInitialized||(this._setup(),this._alreadyInitialized=!0);this._fadeOutDeferred&&(this._fadeOutDeferred.cancel(),J.hide(this));var b=r.get(this.ownerDocument);this._modalconnects.push(v(b,"scroll",q.hitch(this,"resize",null)));this._modalconnects.push(v(this.domNode,
"keydown",q.hitch(this,"_onKey")));a.set(this.domNode,{opacity:0,display:""});this._set("open",!0);this._onShow();this.resize();this._position();var m;this._fadeInDeferred=new d(q.hitch(this,function(){m.stop();delete this._fadeInDeferred}));this._fadeInDeferred.then(void 0,M);b=this._fadeInDeferred.promise;m=e.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:q.hitch(this,function(){J.show(this,this.underlayAttrs)}),onEnd:q.hitch(this,function(){this.autofocus&&J.isTop(this)&&(this._getFocusItems(),
y.focus(this._firstFocusItem));this._fadeInDeferred.resolve(!0);delete this._fadeInDeferred})}).play();return b},hide:function(){if(!this._alreadyInitialized||!this.open)return K.promise;this._fadeInDeferred&&this._fadeInDeferred.cancel();var a;this._fadeOutDeferred=new d(q.hitch(this,function(){a.stop();delete this._fadeOutDeferred}));this._fadeOutDeferred.then(void 0,M);this._fadeOutDeferred.then(q.hitch(this,"onHide"));var b=this._fadeOutDeferred.promise;a=e.fadeOut({node:this.domNode,duration:this.duration,
onEnd:q.hitch(this,function(){this.domNode.style.display="none";J.hide(this);this._fadeOutDeferred.resolve(!0);delete this._fadeOutDeferred})}).play();this._scrollConnected&&(this._scrollConnected=!1);for(var m;m=this._modalconnects.pop();)m.remove();this._relativePosition&&delete this._relativePosition;this._set("open",!1);return b},resize:function(m){if("none"!=this.domNode.style.display){this._checkIfSingleChild();if(!m){this._shrunk&&(this._singleChild&&"undefined"!=typeof this._singleChildOriginalStyle&&
(this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle,delete this._singleChildOriginalStyle),l.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(b){b&&a.set(b,{position:"static",width:"auto",height:"auto"})}),this.domNode.style.position="absolute");var e=r.getBox(this.ownerDocument);e.w*=this.maxRatio;e.h*=this.maxRatio;var k=b.position(this.domNode);k.w>=e.w||k.h>=e.h?(m={w:Math.min(k.w,e.w),h:Math.min(k.h,e.h)},this._shrunk=!0):this._shrunk=!1}if(m){b.setMarginBox(this.domNode,
m);e=[];this.titleBar&&e.push({domNode:this.titleBar,region:"top"});this.actionBarNode&&e.push({domNode:this.actionBarNode,region:"bottom"});k={domNode:this.containerNode,region:"center"};e.push(k);var c=D.marginBox2contentBox(this.domNode,m);D.layoutChildren(this.domNode,c,e);this._singleChild?(e=D.marginBox2contentBox(this.containerNode,k),this._singleChild.resize({w:e.w,h:e.h})):(this.containerNode.style.overflow="auto",this._layoutChildren())}else this._layoutChildren();t("touch")||m||this._position()}},
_layoutChildren:function(){l.forEach(this.getChildren(),function(a){a.resize&&a.resize()})},destroy:function(){this._fadeInDeferred&&this._fadeInDeferred.cancel();this._fadeOutDeferred&&this._fadeOutDeferred.cancel();this._moveable&&this._moveable.destroy();for(var a;a=this._modalconnects.pop();)a.remove();J.hide(this);this.inherited(arguments)}});t("dojo-bidi")&&(x=f("dijit._DialogBase",x,{_setTitleAttr:function(a){this._set("title",a);this.titleNode.innerHTML=a;this.applyTextDir(this.titleNode)},
_setTextDirAttr:function(a){this._created&&this.textDir!=a&&(this._set("textDir",a),this.set("title",this.title))}}));var L=f("dijit.Dialog",[I,x],{});L._DialogBase=x;var J=L._DialogLevelManager={_beginZIndex:950,show:function(b,m){A[A.length-1].focus=y.curNode;var e=A[A.length-1].dialog?A[A.length-1].zIndex+2:L._DialogLevelManager._beginZIndex;a.set(b.domNode,"zIndex",e);H.show(m,e-1);A.push({dialog:b,underlayAttrs:m,zIndex:e})},hide:function(a){if(A[A.length-1].dialog==a){A.pop();var b=A[A.length-
1];1==A.length?H.hide():H.show(b.underlayAttrs,b.zIndex-1);if(a.refocus&&(a=b.focus,!b.dialog||a&&h.isDescendant(a,b.dialog.domNode)||(b.dialog._getFocusItems(),a=b.dialog._firstFocusItem),a))try{a.focus()}catch(Q){}}else b=l.indexOf(l.map(A,function(a){return a.dialog}),a),-1!=b&&A.splice(b,1)},isTop:function(a){return A[A.length-1].dialog==a}},A=L._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];y.watch("curNode",function(a,b,e){a=A[A.length-1].dialog;if(e&&a&&!a._fadeOutDeferred&&e.ownerDocument==
a.ownerDocument){do if(e==a.domNode||c.contains(e,"dijitPopup"))return;while(e=e.parentNode);a.focus()}});t("dijit-legacy-requires")&&u(0,function(){g(["dijit/TooltipDialog"])});return L})},"dojo/dnd/Moveable":function(){define("../_base/array ../_base/declare ../_base/lang ../dom ../dom-class ../Evented ../has ../on ../topic ../touch ./common ./Mover ../_base/window".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k,q){function v(a,b){"touchAction"in document.body.style?u="touchAction":"msTouchAction"in
document.body.style&&(u="msTouchAction");t=function(a,b){a.style[u]=b};t(a,b)}var u,t=function(){};c("touch-action")&&(t=v);return l("dojo.dnd.Moveable",[h],{handle:"",delay:0,skip:!1,constructor:function(a,c){this.node=f.byId(a);t(this.node,"none");c||(c={});this.handle=c.handle?f.byId(c.handle):null;this.handle||(this.handle=this.node);this.delay=0<c.delay?c.delay:0;this.skip=c.skip;this.mover=c.mover?c.mover:k;this.events=[b(this.handle,e.press,n.hitch(this,"onMouseDown")),b(this.handle,"dragstart",
n.hitch(this,"onSelectStart")),b(this.handle,"selectstart",n.hitch(this,"onSelectStart"))]},markupFactory:function(a,b,e){return new e(b,a)},destroy:function(){g.forEach(this.events,function(a){a.remove()});t(this.node,"");this.events=this.node=this.handle=null},onMouseDown:function(a){if(!this.skip||!p.isFormElement(a)){if(this.delay)this.events.push(b(this.handle,e.move,n.hitch(this,"onMouseMove")),b(this.handle.ownerDocument,e.release,n.hitch(this,"onMouseUp"))),this._lastX=a.pageX,this._lastY=
a.pageY;else this.onDragDetected(a);a.stopPropagation();a.preventDefault()}},onMouseMove:function(a){if(Math.abs(a.pageX-this._lastX)>this.delay||Math.abs(a.pageY-this._lastY)>this.delay)this.onMouseUp(a),this.onDragDetected(a);a.stopPropagation();a.preventDefault()},onMouseUp:function(a){for(var b=0;2>b;++b)this.events.pop().remove();a.stopPropagation();a.preventDefault()},onSelectStart:function(a){this.skip&&p.isFormElement(a)||(a.stopPropagation(),a.preventDefault())},onDragDetected:function(a){new this.mover(this.node,
a,this)},onMoveStart:function(b){a.publish("/dnd/move/start",b);d.add(q.body(),"dojoMove");d.add(this.node,"dojoMoveItem")},onMoveStop:function(b){a.publish("/dnd/move/stop",b);d.remove(q.body(),"dojoMove");d.remove(this.node,"dojoMoveItem")},onFirstMove:function(){},onMove:function(a,b){this.onMoving(a,b);var e=a.node.style;e.left=b.l+"px";e.top=b.t+"px";this.onMoved(a,b)},onMoving:function(){},onMoved:function(){}})})},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang",
"../dom"],function(g,l,n,f){var d=n.getObject("dojo.dnd",!0);d.getCopyKeyState=function(d){return d[g("mac")?"metaKey":"ctrlKey"]};d._uniqueId=0;d.getUniqueId=function(){var h;do h=l._scopeName+"Unique"+ ++d._uniqueId;while(f.byId(h));return h};d._empty={};d.isFormElement=function(d){d=d.target;3==d.nodeType&&(d=d.parentNode);return 0<=" a button textarea input select option ".indexOf(" "+d.tagName.toLowerCase()+" ")};return d})},"dojo/dnd/Mover":function(){define("../_base/array ../_base/declare ../_base/lang ../sniff ../_base/window ../dom ../dom-geometry ../dom-style ../Evented ../on ../touch ./common ./autoscroll".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q){return l("dojo.dnd.Mover",[a],{constructor:function(a,b,k){function m(a){a.preventDefault();a.stopPropagation()}this.node=h.byId(a);this.marginBox={l:b.pageX,t:b.pageY};this.mouseButton=b.button;b=this.host=k;a=a.ownerDocument;this.events=[e(a,p.move,n.hitch(this,"onFirstMove")),e(a,p.move,n.hitch(this,"onMouseMove")),e(a,p.release,n.hitch(this,"onMouseUp")),e(a,"dragstart",m),e(a.body,"selectstart",m)];q.autoScrollStart(a);if(b&&b.onMoveStart)b.onMoveStart(this)},
onMouseMove:function(a){q.autoScroll(a);var b=this.marginBox;this.host.onMove(this,{l:b.l+a.pageX,t:b.t+a.pageY},a);a.preventDefault();a.stopPropagation()},onMouseUp:function(a){(f("webkit")&&f("mac")&&2==this.mouseButton?0==a.button:this.mouseButton==a.button)&&this.destroy();a.preventDefault();a.stopPropagation()},onFirstMove:function(a){var e=this.node.style,k,m=this.host;switch(e.position){case "relative":case "absolute":k=Math.round(parseFloat(e.left))||0;e=Math.round(parseFloat(e.top))||0;break;
default:e.position="absolute";e=c.getMarginBox(this.node);k=d.doc.body;var q=b.getComputedStyle(k),p=c.getMarginBox(k,q),q=c.getContentBox(k,q);k=e.l-(q.l-p.l);e=e.t-(q.t-p.t)}this.marginBox.l=k-this.marginBox.l;this.marginBox.t=e-this.marginBox.t;if(m&&m.onFirstMove)m.onFirstMove(this,a);this.events.shift().remove()},destroy:function(){g.forEach(this.events,function(a){a.remove()});var a=this.host;if(a&&a.onMoveStop)a.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojo/dnd/autoscroll":function(){define("../_base/lang ../sniff ../_base/window ../dom-geometry ../dom-style ../window".split(" "),
function(g,l,n,f,d,h){var c={};g.setObject("dojo.dnd.autoscroll",c);c.getViewport=h.getBox;c.V_TRIGGER_AUTOSCROLL=32;c.H_TRIGGER_AUTOSCROLL=32;c.V_AUTOSCROLL_VALUE=16;c.H_AUTOSCROLL_VALUE=16;var b,a=n.doc,e=Infinity,p=Infinity;c.autoScrollStart=function(k){a=k;b=h.getBox(a);k=n.body(a).parentNode;e=Math.max(k.scrollHeight-b.h,0);p=Math.max(k.scrollWidth-b.w,0)};c.autoScroll=function(k){var d=b||h.getBox(a),f=n.body(a).parentNode,u=0,t=0;k.clientX<c.H_TRIGGER_AUTOSCROLL?u=-c.H_AUTOSCROLL_VALUE:k.clientX>
d.w-c.H_TRIGGER_AUTOSCROLL&&(u=Math.min(c.H_AUTOSCROLL_VALUE,p-f.scrollLeft));k.clientY<c.V_TRIGGER_AUTOSCROLL?t=-c.V_AUTOSCROLL_VALUE:k.clientY>d.h-c.V_TRIGGER_AUTOSCROLL&&(t=Math.min(c.V_AUTOSCROLL_VALUE,e-f.scrollTop));window.scrollBy(u,t)};c._validNodes={div:1,p:1,td:1};c._validOverflow={auto:1,scroll:1};c.autoScrollNodes=function(a){for(var b,e,k,p,m,h=0,w=0,g=a.target;g;){if(1==g.nodeType&&g.tagName.toLowerCase()in c._validNodes){k=d.getComputedStyle(g);m=k.overflowX.toLowerCase()in c._validOverflow;
p=k.overflowY.toLowerCase()in c._validOverflow;if(m||p)b=f.getContentBox(g,k),e=f.position(g,!0);if(m){k=Math.min(c.H_TRIGGER_AUTOSCROLL,b.w/2);m=a.pageX-e.x;if(l("webkit")||l("opera"))m+=n.body().scrollLeft;h=0;0<m&&m<b.w&&(m<k?h=-k:m>b.w-k&&(h=k),g.scrollLeft+=h)}if(p){p=Math.min(c.V_TRIGGER_AUTOSCROLL,b.h/2);k=a.pageY-e.y;if(l("webkit")||l("opera"))k+=n.body().scrollTop;w=0;0<k&&k<b.h&&(k<p?w=-p:k>b.h-p&&(w=p),g.scrollTop+=w)}if(h||w)return}try{g=g.parentNode}catch(y){g=null}}c.autoScroll(a)};
return c})},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(g,l){var n=l.prototype.onMove;return g("dojo.dnd.TimedMoveable",l,{timeout:40,constructor:function(f,d){d||(d={});d.timeout&&"number"==typeof d.timeout&&0<=d.timeout&&(this.timeout=d.timeout)},onMoveStop:function(f){f._timer&&(clearTimeout(f._timer),n.call(this,f,f._leftTop));l.prototype.onMoveStop.apply(this,arguments)},onMove:function(f,d){f._leftTop=d;if(!f._timer){var h=this;f._timer=setTimeout(function(){f._timer=
null;n.call(h,f,f._leftTop)},this.timeout)}}})})},"dijit/form/_FormMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/on dojo/window".split(" "),function(g,l,n,f,d,h){return l("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(c){var b=[];g.forEach(c||this.getChildren(),function(a){"value"in a?b.push(a):b=b.concat(this._getDescendantFormWidgets(a.getChildren()))},this);return b},reset:function(){g.forEach(this._getDescendantFormWidgets(),
function(c){c.reset&&c.reset()})},validate:function(){var c=!1;return g.every(g.map(this._getDescendantFormWidgets(),function(b){b._hasBeenBlurred=!0;var a=b.disabled||!b.validate||b.validate();a||c||(h.scrollIntoView(b.containerNode||b.domNode),b.focus(),c=!0);return a}),function(b){return b})},setValues:function(c){n.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",c)},_setValueAttr:function(c){var b={};g.forEach(this._getDescendantFormWidgets(),
function(a){a.name&&(b[a.name]||(b[a.name]=[])).push(a)});for(var a in b)if(b.hasOwnProperty(a)){var e=b[a],d=f.getObject(a,!1,c);void 0!==d&&(d=[].concat(d),"boolean"==typeof e[0].checked?g.forEach(e,function(a){a.set("value",-1!=g.indexOf(d,a._get("value")))}):e[0].multiple?e[0].set("value",d):g.forEach(e,function(a,b){a.set("value",d[b])}))}},getValues:function(){n.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},_getValueAttr:function(){var c=
{};g.forEach(this._getDescendantFormWidgets(),function(b){var a=b.name;if(a&&!b.disabled){var e=b.get("value");"boolean"==typeof b.checked?/Radio/.test(b.declaredClass)?!1!==e?f.setObject(a,e,c):(e=f.getObject(a,!1,c),void 0===e&&f.setObject(a,null,c)):(b=f.getObject(a,!1,c),b||(b=[],f.setObject(a,b,c)),!1!==e&&b.push(e)):(b=f.getObject(a,!1,c),"undefined"!=typeof b?f.isArray(b)?b.push(e):f.setObject(a,[b,e],c):f.setObject(a,e,c))}});return c},isValid:function(){return""==this.state},onValidStateChange:function(){},
_getState:function(){var c=g.map(this._descendants,function(b){return b.get("state")||""});return 0<=g.indexOf(c,"Error")?"Error":0<=g.indexOf(c,"Incomplete")?"Incomplete":""},disconnectChildren:function(){},connectChildren:function(c){this._descendants=this._getDescendantFormWidgets();g.forEach(this._descendants,function(b){b._started||b.startup()});c||this._onChildChange()},_onChildChange:function(c){c&&"state"!=c&&"disabled"!=c||this._set("state",this._getState());c&&"value"!=c&&"disabled"!=c&&
"checked"!=c||(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 c=this;this.own(d(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(b){b.target!=c.domNode&&
c._onChildChange(b.type.replace("attrmodified-",""))}));this.watch("state",function(b,a,e){this.onValidStateChange(""==e)})},destroy:function(){this.inherited(arguments)}})})},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(g,l){return g("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"))},_getFocusItems:function(){var g=l._getTabNavigable(this.domNode);
this._firstFocusItem=g.lowest||g.first||this.closeButtonNode||this.domNode;this._lastFocusItem=g.last||g.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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k){var q=g("dijit.DialogUnderlay",[b,a],{templateString:"\x3cdiv class\x3d'dijitDialogUnderlayWrapper'\x3e\x3cdiv class\x3d'dijitDialogUnderlay' tabIndex\x3d'-1' data-dojo-attach-point\x3d'node'\x3e\x3c/div\x3e\x3c/div\x3e",
dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(a){f.set(this.node,"id",a+"_underlay");this._set("dialogId",a)},_setClassAttr:function(a){this.node.className="dijitDialogUnderlay "+a;this._set("class",a)},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(h(this.domNode,"keydown",l.hitch(this,"_onKeyDown")));this.inherited(arguments)},layout:function(){var a=this.node.style,b=this.domNode.style;b.display="none";var e=c.getBox(this.ownerDocument);b.top=
e.t+"px";b.left=e.l+"px";a.width=e.w+"px";a.height=e.h+"px";b.display="block"},show:function(){this.domNode.style.display="block";this.open=!0;this.layout();this.bgIframe=new e(this.domNode);var a=c.get(this.ownerDocument);this._modalConnects=[p.on("resize",l.hitch(this,"layout")),h(a,"scroll",l.hitch(this,"layout"))]},hide:function(){this.bgIframe.destroy();delete this.bgIframe;for(this.domNode.style.display="none";this._modalConnects.length;)this._modalConnects.pop().remove();this.open=!1},destroy:function(){for(;this._modalConnects.length;)this._modalConnects.pop().remove();
this.inherited(arguments)},_onKeyDown:function(){}});q.show=function(a,b){var e=q._singleton;!e||e._destroyed?e=k._underlay=q._singleton=new q(a):a&&e.set(a);d.set(e.domNode,"zIndex",b);e.open||e.show()};q.hide=function(){var a=q._singleton;a&&!a._destroyed&&a.hide()};return q})},"dijit/layout/ContentPane":function(){define("dojo/_base/kernel dojo/_base/lang ../_Widget ../_Container ./_ContentPaneResizeMixin dojo/string dojo/html dojo/_base/array dojo/_base/declare dojo/_base/Deferred dojo/dom dojo/dom-attr dojo/dom-construct dojo/_base/xhr dojo/i18n dojo/when dojo/i18n!../nls/loading".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t){return a("dijit.layout.ContentPane",[n,f,d],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:g._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"\x3cspan class\x3d'dijitContentPaneLoading'\x3e\x3cspan class\x3d'dijitInline dijitIconLoading'\x3e\x3c/span\x3e${loadingState}\x3c/span\x3e",errorMessage:"\x3cspan class\x3d'dijitContentPaneError'\x3e\x3cspan class\x3d'dijitInline dijitIconError'\x3e\x3c/span\x3e${errorState}\x3c/span\x3e",
isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(a,b,e){var m=new e(a,b);return!m.href&&m._contentSetter&&m._contentSetter.parseDeferred&&!m._contentSetter.parseDeferred.isFulfilled()?m._contentSetter.parseDeferred.then(function(){return m}):m},create:function(a,b){if(!(a&&a.template||!b||"href"in a||"content"in a)){b=p.byId(b);for(var e=b.ownerDocument.createDocumentFragment();b.firstChild;)e.appendChild(b.firstChild);
a=l.delegate(a,{content:e})}this.inherited(arguments,[a,b])},postMixInProperties:function(){this.inherited(arguments);var a=u.getLocalization("dijit","loading",this.lang);this.loadingMessage=h.substitute(this.loadingMessage,a);this.errorMessage=h.substitute(this.errorMessage,a)},buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode);this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments);this._contentSetter&&b.forEach(this._contentSetter.parseResults,
function(a){a._started||a._destroyed||!l.isFunction(a.startup)||(a.startup(),a._started=!0)},this)},_startChildren:function(){b.forEach(this.getChildren(),function(a){a._started||a._destroyed||!l.isFunction(a.startup)||(a.startup(),a._started=!0)});this._contentSetter&&b.forEach(this._contentSetter.parseResults,function(a){a._started||a._destroyed||!l.isFunction(a.startup)||(a.startup(),a._started=!0)},this)},setHref:function(a){g.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.",
"","2.0");return this.set("href",a)},_setHrefAttr:function(a){this.cancel();this.onLoadDeferred=new e(l.hitch(this,"cancel"));this.onLoadDeferred.then(l.hitch(this,"onLoad"));this._set("href",a);this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0;return this.onLoadDeferred},setContent:function(a){g.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",a)},_setContentAttr:function(a){this._set("href",
"");this.cancel();this.onLoadDeferred=new e(l.hitch(this,"cancel"));this._created&&this.onLoadDeferred.then(l.hitch(this,"onLoad"));this._setContent(a||"");this._isDownloaded=!1;return this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&-1==this._xhrDfd.fired&&this._xhrDfd.cancel();delete this._xhrDfd;this.onLoadDeferred=null},destroy:function(){this.cancel();this.inherited(arguments)},destroyRecursive:function(a){this._beingDestroyed||
this.inherited(arguments)},_onShow:function(){this.inherited(arguments);if(this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){this.cancel();this.onLoadDeferred=new e(l.hitch(this,"cancel"));this.onLoadDeferred.then(l.hitch(this,"onLoad"));this._load();return this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var a=this,b={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};
l.isObject(this.ioArgs)&&l.mixin(b,this.ioArgs);var e=this._xhrDfd=(this.ioMethod||v.get)(b),k;e.then(function(b){k=b;try{return a._isDownloaded=!0,a._setContent(b,!1)}catch(x){a._onError("Content",x)}},function(b){e.canceled||a._onError("Download",b);delete a._xhrDfd;return b}).then(function(){a.onDownloadEnd();delete a._xhrDfd;return k});delete this._hrefChanged},_onLoadHandler:function(a){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(a)}catch(r){console.error("Error "+this.widgetId+
" running custom onLoad code: "+r.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(m){console.error("Error "+this.widgetId+" running custom onUnload code: "+m.message)}},destroyDescendants:function(a){this.isLoaded&&this._onUnloadHandler();var e=this._contentSetter;b.forEach(this.getChildren(),function(b){b.destroyRecursive?b.destroyRecursive(a):b.destroy&&b.destroy(a);b._destroyed=!0});e&&(b.forEach(e.parseResults,function(b){b._destroyed||(b.destroyRecursive?
b.destroyRecursive(a):b.destroy&&b.destroy(a),b._destroyed=!0)}),delete e.parseResults);a||q.empty(this.containerNode);delete this._singleChild},_setContent:function(a,b){a=this.preprocessContent(a);this.destroyDescendants();var e=this._contentSetter;e&&e instanceof c._ContentSetter||(e=this._contentSetter=new c._ContentSetter({node:this.containerNode,_onError:l.hitch(this,this._onError),onContentError:l.hitch(this,function(a){a=this.onContentError(a);try{this.containerNode.innerHTML=a}catch(B){console.error("Fatal "+
this.id+" could not change content due to "+B.message,B)}})}));var k=l.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!a.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),k=e.set(l.isObject(a)&&a.domNode?a.domNode:a,k),m=this;return t(k&&k.then?k:e.parseDeferred,function(){delete m._contentSetterParams;b||(m._started&&(m._startChildren(),m._scheduleLayout()),m._onLoadHandler(a))})},
preprocessContent:function(a){return a},_onError:function(a,b,e){this.onLoadDeferred.reject(b);a=this["on"+a+"Error"].call(this,b);e?console.error(e,b):a&&this._setContent(a,!0)},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".split(" "),
function(g,l,n,f,d,h,c,b,a,e){return l("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var b=this.getParent();this._childOfLayoutWidget=b&&b.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._isShown()&&this._onShow();this._childOfLayoutWidget||this.own(a.on("resize",h.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var a=[],e=!1;c("\x3e *",this.containerNode).some(function(k){var c=
b.byNode(k);c&&c.resize?a.push(c):!/script|link|style/i.test(k.nodeName)&&k.offsetHeight&&(e=!0)});this._singleChild=1!=a.length||e?null:a[0];n.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(a,b){this._resizeCalled=!0;this._scheduleLayout(a,b)},_scheduleLayout:function(a,b){this._isShown()?this._layout(a,b):(this._needLayout=!0,this._changeSize=a,this._resultSize=b)},_layout:function(a,b){delete this._needLayout;this._wasShown||!1===this.open||this._onShow();
a&&f.setMarginBox(this.domNode,a);var k=this.containerNode;if(k===this.domNode){var c=b||{};h.mixin(c,a||{});"h"in c&&"w"in c||(c=h.mixin(f.getMarginBox(k),c));this._contentBox=e.marginBox2contentBox(k,c)}else this._contentBox=f.getContentBox(k);this._layoutChildren()},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var a=this._contentBox||f.getContentBox(this.containerNode);this._singleChild.resize({w:a.w,h:a.h})}else for(var a=this.getChildren(),
b,e=0;b=a[e++];)b.resize&&b.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var a=this.domNode,b=this.domNode.parentNode;return"none"!=a.style.display&&"hidden"!=a.style.visibility&&!n.contains(a,"dijitHidden")&&b&&b.style&&"none"!=b.style.display},_onShow:function(){this._wasShown=!0;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(g,l,n,f,d){function h(a){return a.substring(0,1).toUpperCase()+a.substring(1)}function c(a,b){var e=a.resize?a.resize(b):n.setMarginBox(a.domNode,b);e?d.mixin(a,e):(d.mixin(a,n.getMarginBox(a.domNode)),d.mixin(a,b))}var b={marginBox2contentBox:function(a,b){var e=f.getComputedStyle(a),k=n.getMarginExtents(a,e),c=n.getPadBorderExtents(a,e);return{l:f.toPixelValue(a,e.paddingLeft),t:f.toPixelValue(a,e.paddingTop),w:b.w-
(k.w+c.w),h:b.h-(k.h+c.h)}},layoutChildren:function(a,b,p,k,q){b=d.mixin({},b);l.add(a,"dijitLayoutContainer");p=g.filter(p,function(a){return"center"!=a.region&&"client"!=a.layoutAlign}).concat(g.filter(p,function(a){return"center"==a.region||"client"==a.layoutAlign}));g.forEach(p,function(a){var e=a.domNode,d=a.region||a.layoutAlign;if(!d)throw Error("No region setting for "+a.id);var m=e.style;m.left=b.l+"px";m.top=b.t+"px";m.position="absolute";l.add(e,"dijitAlign"+h(d));e={};k&&k==a.id&&(e["top"==
a.region||"bottom"==a.region?"h":"w"]=q);"leading"==d&&(d=a.isLeftToRight()?"left":"right");"trailing"==d&&(d=a.isLeftToRight()?"right":"left");"top"==d||"bottom"==d?(e.w=b.w,c(a,e),b.h-=a.h,"top"==d?b.t+=a.h:m.top=b.t+b.h+"px"):"left"==d||"right"==d?(e.h=b.h,c(a,e),b.w-=a.w,"left"==d?b.l+=a.w:m.left=b.l+b.w+"px"):"client"!=d&&"center"!=d||c(a,b)})}};d.setObject("dijit.layout.utils",b);return b})},"dojo/html":function(){define("./_base/kernel ./_base/lang ./_base/array ./_base/declare ./dom ./dom-construct ./parser".split(" "),
function(g,l,n,f,d,h,c){var b=0,a={_secureForInnerHtml:function(a){return a.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")},_emptyNode:h.empty,_setNodeContent:function(a,b){h.empty(a);if(b)if("number"==typeof b&&(b=b.toString()),"string"==typeof b&&(b=h.toDom(b,a.ownerDocument)),!b.nodeType&&l.isArrayLike(b))for(var e=b.length,c=0;c<b.length;c=e==b.length?c+1:0)h.place(b[c],a,"last");else h.place(b,a,"last");return a},_ContentSetter:f("dojo.html._ContentSetter",null,{node:"",
content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:g._scopeName,startup:!0,constructor:function(a,c){l.mixin(this,a||{});c=this.node=d.byId(this.node||c);this.id||(this.id=["Setter",c?c.id||c.tagName:"",b++].join("_"))},set:function(a,b){void 0!==a&&(this.content=a);"number"==typeof a&&(a=a.toString());b&&this._mixin(b);this.onBegin();this.setContent();var e=this.onEnd();return e&&e.then?e:this.node},setContent:function(){var b=this.node;if(!b)throw Error(this.declaredClass+
": setContent given no node");try{b=a._setNodeContent(b,this.content)}catch(k){var c=this.onContentError(k);try{b.innerHTML=c}catch(q){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+q.message,q)}}this.node=b},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred);this.parseResults&&this.parseResults.length&&(n.forEach(this.parseResults,function(a){a.destroy&&a.destroy()}),delete this.parseResults);
h.empty(this.node)},onBegin:function(){var b=this.content;if(l.isString(b)&&(this.cleanContent&&(b=a._secureForInnerHtml(b)),this.extractContent)){var c=b.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);c&&(b=c[1])}this.empty();this.content=b;return this.node},onEnd:function(){this.parseContent&&this._parse();return this.node},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content},onContentError:function(a){return"Error occurred setting content: "+
a},onExecError:function(a){return"Error occurred executing scripts: "+a},_mixin:function(a){var b={},e;for(e in a)e in b||(this[e]=a[e])},_parse:function(){var a=this.node;try{var b={};n.forEach(["dir","lang","textDir"],function(a){this[a]&&(b[a]=this[a])},this);var k=this;this.parseDeferred=c.parse({rootNode:a,noStart:!this.startup,inherited:b,scope:this.parserScope}).then(function(a){return k.parseResults=a},function(a){k._onError("Content",a,"Error parsing in _ContentSetter#"+this.id)})}catch(q){this._onError("Content",
q,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(b,c,k){b=this["on"+b+"Error"].call(this,c);k?console.error(k,c):b&&a._setNodeContent(this.node,b,!0)}}),set:function(b,c,k){void 0==c&&(console.warn("dojo.html.set: no cont argument provided, using empty string"),c="");"number"==typeof c&&(c=c.toString());return k?(new a._ContentSetter(l.mixin(k,{content:c,node:b}))).set():a._setNodeContent(b,c,!0)}};l.setObject("dojo.html",a);return a})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q){g=g("dijit.TooltipDialog",[b,p,e,a],{title:"",doLayout:!1,autofocus:!0,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:k,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(h(this.domNode,"keydown",d.hitch(this,"_onKey")))},orient:function(a,b,e){a={"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"}[b+"-"+e];l.replace(this.domNode,a,this._currentOrientClass||"");this._currentOrientClass=a},focus:function(){this._getFocusItems();
c.focus(this._firstFocusItem)},onOpen:function(a){this.orient(this.domNode,a.aroundCorner,a.corner);var b=a.aroundNodePos;"M"==a.corner.charAt(0)&&"M"==a.aroundCorner.charAt(0)?(this.connectorNode.style.top=b.y+(b.h-this.connectorNode.offsetHeight>>1)-a.y+"px",this.connectorNode.style.left=""):"M"==a.corner.charAt(1)&&"M"==a.aroundCorner.charAt(1)&&(this.connectorNode.style.left=b.x+(b.w-this.connectorNode.offsetWidth>>1)-a.x+"px");this._onShow()},onClose:function(){this.onHide()},_onKey:function(a){if(a.keyCode==
f.ESCAPE)this.defer("onCancel"),a.stopPropagation(),a.preventDefault();else if(a.keyCode==f.TAB){var b=a.target;this._getFocusItems();this._firstFocusItem==this._lastFocusItem?(a.stopPropagation(),a.preventDefault()):b==this._firstFocusItem&&a.shiftKey?(c.focus(this._lastFocusItem),a.stopPropagation(),a.preventDefault()):b!=this._lastFocusItem||a.shiftKey?a.stopPropagation():(c.focus(this._firstFocusItem),a.stopPropagation(),a.preventDefault())}}});n("dojo-bidi")&&g.extend({_setTitleAttr:function(a){this.containerNode.title=
this.textDir&&this.enforceTextDirWithUcc?this.enforceTextDirWithUcc(null,a):a;this._set("title",a)},_setTextDirAttr:function(a){this._created&&this.textDir==a||(this._set("textDir",a),this.textDir&&this.title&&(this.containerNode.title=this.enforceTextDirWithUcc(null,this.title)))}});return g})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y,x,B,G,F){function z(a){return new C({command:a.name})}function E(a){return new C({buttonClass:w,command:a.name})}n=n("dijit.Editor",G,{plugins:null,extraPlugins:null,constructor:function(){p.isArray(this.plugins)||(this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",y]);this._plugins=
[];this._editInterval=1E3*this.editActionInterval;if(k("ie")||k("trident")||k("edge"))this.events.push("onBeforeDeactivate"),this.events.push("onBeforeActivate")},postMixInProperties:function(){this.setValueDeferred=new f;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);p.isArray(this.extraPlugins)&&(this.plugins=this.plugins.concat(this.extraPlugins));this.commands=d.getLocalization("dijit._editor",
"commands",this.lang);k("webkit")&&a.set(this.domNode,"KhtmlUserSelect","none")},startup:function(){this.inherited(arguments);this.toolbar||(this.toolbar=new t({ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,"aria-label":this.id}),this.header.appendChild(this.toolbar.domNode));l.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.resolve(!0);c.add(this.iframe.parentNode,"dijitEditorIFrameContainer");c.add(this.iframe,"dijitEditorIFrame");h.set(this.iframe,"allowTransparency",
!0);this.toolbar.startup();this.onNormalizedDisplayChanged()},destroy:function(){l.forEach(this._plugins,function(a){a&&a.destroy&&a.destroy()});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments)},addPlugin:function(a,b){var e=p.isString(a)?{name:a}:p.isFunction(a)?{ctor:a}:a;if(!e.setEditor){var c={args:e,plugin:null,editor:this};e.name&&(C.registry[e.name]?c.plugin=C.registry[e.name](e):v.publish(F._scopeName+".Editor.getPlugin",c));if(!c.plugin)try{var k=
e.ctor||p.getObject(e.name)||g(e.name);k&&(c.plugin=new k(e))}catch(K){throw Error(this.id+": cannot find plugin ["+e.name+"]");}if(!c.plugin)throw Error(this.id+": cannot find plugin ["+e.name+"]");a=c.plugin}1<arguments.length?this._plugins[b]=a:this._plugins.push(a);a.setEditor(this);p.isFunction(a.setToolbar)&&a.setToolbar(this.toolbar)},resize:function(a){a&&r.prototype.resize.apply(this,arguments)},layout:function(){var a=this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+b.getPadBorderExtents(this.iframe.parentNode).h+
b.getMarginExtents(this.iframe.parentNode).h);this.editingArea.style.height=a+"px";this.iframe&&(this.iframe.style.height="100%");this._layoutMode=!0},_onIEMouseDown:function(a){var b,e=this.document.body,c=e.clientWidth,k=e.clientHeight,m=e.clientLeft,d=e.offsetWidth,q=e.offsetHeight,h=e.offsetLeft;/^rtl$/i.test(e.dir||"")?c<d&&a.x>c&&a.x<d&&(b=!0):a.x<m&&a.x>h&&(b=!0);b||k<q&&a.y>k&&a.y<q&&(b=!0);b||(delete this._cursorToStart,delete this._savedSelection,"BODY"==a.target.tagName&&this.defer("placeCursorAtEnd"),
this.inherited(arguments))},onBeforeActivate:function(){this._restoreSelection()},onBeforeDeactivate:function(a){this.customUndo&&this.endEditing(!0);"BODY"!=a.target.tagName&&this._saveSelection()},customUndo:!0,editActionInterval:3,beginEditing:function(a){this._inEditing||(this._inEditing=!0,this._beginEditing(a));0<this.editActionInterval&&(this._editTimer&&this._editTimer.remove(),this._editTimer=this.defer("endEditing",this._editInterval))},_steps:[],_undoedSteps:[],execCommand:function(a){if(!this.customUndo||
"undo"!=a&&"redo"!=a){this.customUndo&&(this.endEditing(),this._beginEditing());var b=this.inherited(arguments);this.customUndo&&this._endEditing();return b}return this[a]()},_pasteImpl:function(){return this._clipboardCommand("paste")},_cutImpl:function(){return this._clipboardCommand("cut")},_copyImpl:function(){return this._clipboardCommand("copy")},_clipboardCommand:function(a){var b;try{if(b=this.document.execCommand(a,!1,null),k("webkit")&&!b)throw{};}catch(D){b=q.substitute,alert(b(this.commands.systemShortcut,
[this.commands[a],b(this.commands[k("mac")?"appleKey":"ctrlKey"],[{cut:"X",copy:"C",paste:"V"}[a]])])),b=!1}return b},queryCommandEnabled:function(a){return!this.customUndo||"undo"!=a&&"redo"!=a?this.inherited(arguments):"undo"==a?1<this._steps.length:0<this._undoedSteps.length},_moveToBookmark:function(a){var b=a.mark,e=a.mark;a=a.isCollapsed;var c,m,d;e&&(9>k("ie")||9===k("ie")&&k("quirks")?p.isArray(e)?(b=[],l.forEach(e,function(a){b.push(B.getNode(a,this.editNode))},this),this.selection.moveToBookmark({mark:b,
isCollapsed:a})):e.startContainer&&e.endContainer&&(d=B.getSelection(this.window))&&d.removeAllRanges&&(d.removeAllRanges(),a=B.create(this.window),c=B.getNode(e.startContainer,this.editNode),m=B.getNode(e.endContainer,this.editNode),c&&m&&(a.setStart(c,e.startOffset),a.setEnd(m,e.endOffset),d.addRange(a))):(d=B.getSelection(this.window))&&d.removeAllRanges&&(d.removeAllRanges(),a=B.create(this.window),c=B.getNode(e.startContainer,this.editNode),m=B.getNode(e.endContainer,this.editNode),c&&m&&(a.setStart(c,
e.startOffset),a.setEnd(m,e.endOffset),d.addRange(a))))},_changeToStep:function(a,b){this.setValue(b.text);var e=b.bookmark;e&&this._moveToBookmark(e)},undo:function(){var a=!1;if(!this._undoRedoActive){this._undoRedoActive=!0;this.endEditing(!0);var b=this._steps.pop();b&&0<this._steps.length&&(this.focus(),this._changeToStep(b,this._steps[this._steps.length-1]),this._undoedSteps.push(b),this.onDisplayChanged(),delete this._undoRedoActive,a=!0);delete this._undoRedoActive}return a},redo:function(){var a=
!1;if(!this._undoRedoActive){this._undoRedoActive=!0;this.endEditing(!0);var b=this._undoedSteps.pop();b&&0<this._steps.length&&(this.focus(),this._changeToStep(this._steps[this._steps.length-1],b),this._steps.push(b),this.onDisplayChanged(),a=!0);delete this._undoRedoActive}return a},endEditing:function(a){this._editTimer&&(this._editTimer=this._editTimer.remove());this._inEditing&&(this._endEditing(a),this._inEditing=!1)},_getBookmark:function(){var a=this.selection.getBookmark(),b=[];if(a&&a.mark){var e=
a.mark;if(9>k("ie")||9===k("ie")&&k("quirks")){var c=B.getSelection(this.window);if(p.isArray(e))l.forEach(a.mark,function(a){b.push(B.getIndex(a,this.editNode).o)},this),a.mark=b;else if(c){var m;c.rangeCount&&(m=c.getRangeAt(0));a.mark=m?m.cloneRange():this.selection.getBookmark()}}try{a.mark&&a.mark.startContainer&&(b=B.getIndex(a.mark.startContainer,this.editNode).o,a.mark={startContainer:b,startOffset:a.mark.startOffset,endContainer:a.mark.endContainer===a.mark.startContainer?b:B.getIndex(a.mark.endContainer,
this.editNode).o,endOffset:a.mark.endOffset})}catch(K){a.mark=null}}return a},_beginEditing:function(){0===this._steps.length&&this._steps.push({text:x.getChildrenHtml(this.editNode),bookmark:this._getBookmark()})},_endEditing:function(){var a=x.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:a,bookmark:this._getBookmark()})},onKeyDown:function(a){k("ie")||this.iframe||a.keyCode!=e.TAB||this.tabIndent||this._saveSelection();if(this.customUndo){var b=a.keyCode;if(a.ctrlKey&&
!a.shiftKey&&!a.altKey){if(90==b||122==b){a.stopPropagation();a.preventDefault();this.undo();return}if(89==b||121==b){a.stopPropagation();a.preventDefault();this.redo();return}}this.inherited(arguments);switch(b){case e.ENTER:case e.BACKSPACE:case e.DELETE:this.beginEditing();break;case 88:case 86:if(a.ctrlKey&&!a.altKey&&!a.metaKey){this.endEditing();88==a.keyCode?this.beginEditing("cut"):this.beginEditing("paste");this.defer("endEditing",1);break}default:if(!a.ctrlKey&&!a.altKey&&!a.metaKey&&(a.keyCode<
e.F1||a.keyCode>e.F15)){this.beginEditing();break}case e.ALT:this.endEditing();break;case e.UP_ARROW:case e.DOWN_ARROW:case e.LEFT_ARROW:case e.RIGHT_ARROW:case e.HOME:case e.END:case e.PAGE_UP:case e.PAGE_DOWN:this.endEditing(!0);case e.CTRL:case e.SHIFT:case e.TAB:}}else this.inherited(arguments)},_onBlur:function(){this.inherited(arguments);this.endEditing(!0)},_saveSelection:function(){try{this._savedSelection=this._getBookmark()}catch(H){}},_restoreSelection:function(){this._savedSelection&&
(delete this._cursorToStart,this.selection.isCollapsed()&&this._moveToBookmark(this._savedSelection),delete this._savedSelection)},onClick:function(){this.endEditing(!0);this.inherited(arguments)},replaceValue:function(a){this.customUndo?this.isClosed?this.setValue(a):(this.beginEditing(),a||(a="\x26#160;"),this.setValue(a),this.endEditing()):this.inherited(arguments)},_setDisabledAttr:function(a){this.setValueDeferred.then(p.hitch(this,function(){!this.disabled&&a||!this._buttonEnabledPlugins&&a?
l.forEach(this._plugins,function(a){a.set("disabled",!0)}):this.disabled&&!a&&l.forEach(this._plugins,function(a){a.set("disabled",!1)})}));this.inherited(arguments)},_setStateClass:function(){try{this.inherited(arguments),this.document&&this.document.body&&a.set(this.document.body,"color",a.get(this.iframe,"color"))}catch(H){}}});p.mixin(C.registry,{undo:z,redo:z,cut:z,copy:z,paste:z,insertOrderedList:z,insertUnorderedList:z,indent:z,outdent:z,justifyCenter:z,justifyFull:z,justifyLeft:z,justifyRight:z,
"delete":z,selectAll:z,removeFormat:z,unlink:z,insertHorizontalRule:z,bold:E,italic:E,underline:E,strikethrough:E,subscript:E,superscript:E,"|":function(){return new C({setEditor:function(a){this.editor=a;this.button=new m({ownerDocument:a.ownerDocument})}})}});return n})},"dijit/Toolbar":function(){define("require dojo/_base/declare dojo/has dojo/keys dojo/ready ./_Widget ./_KeyNavContainer ./_TemplatedMixin".split(" "),function(g,l,n,f,d,h,c,b){n("dijit-legacy-requires")&&d(0,function(){g(["dijit/ToolbarSeparator"])});
return l("dijit.Toolbar",[h,b,c],{templateString:'\x3cdiv class\x3d"dijit" role\x3d"toolbar" tabIndex\x3d"${tabIndex}" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e',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".split(" "),function(g,
l,n,f,d,h,c,b,a,e){return l("dijit._KeyNavContainer",[a,e,b],{connectKeyNavHandlers:function(a,b){var e=this._keyNavCodes={},c=h.hitch(this,"focusPrev"),k=h.hitch(this,"focusNext");g.forEach(a,function(a){e[a]=c});g.forEach(b,function(a){e[a]=k});e[d.HOME]=h.hitch(this,"focusFirstChild");e[d.END]=h.hitch(this,"focusLastChild")},startupKeyNavChildren:function(){f.deprecated("startupKeyNavChildren() call no longer needed","","2.0")},startup:function(){this.inherited(arguments);g.forEach(this.getChildren(),
h.hitch(this,"_startupChild"))},addChild:function(a,b){this.inherited(arguments);this._startupChild(a)},_startupChild:function(a){a.set("tabIndex","-1")},_getFirst:function(){var a=this.getChildren();return a.length?a[0]:null},_getLast:function(){var a=this.getChildren();return a.length?a[a.length-1]:null},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1))},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),!0)},childSelector:function(a){return(a=
c.byNode(a))&&a.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".split(" "),function(g,l,n,f,d,h,c,b){return l("dijit._KeyNavMixin",b,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);n.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var a=this._keyNavCodes={};a[f.HOME]=d.hitch(this,"focusFirstChild");a[f.END]=d.hitch(this,
"focusLastChild");a[this.isLeftToRight()?f.LEFT_ARROW:f.RIGHT_ARROW]=d.hitch(this,"_onLeftArrow");a[this.isLeftToRight()?f.RIGHT_ARROW:f.LEFT_ARROW]=d.hitch(this,"_onRightArrow");a[f.UP_ARROW]=d.hitch(this,"_onUpArrow");a[f.DOWN_ARROW]=d.hitch(this,"_onDownArrow")}var b=this,a="string"==typeof this.childSelector?this.childSelector:d.hitch(this,"childSelector");this.own(h(this.domNode,"keypress",d.hitch(this,"_onContainerKeypress")),h(this.domNode,"keydown",d.hitch(this,"_onContainerKeydown")),h(this.domNode,
"focus",d.hitch(this,"_onContainerFocus")),h(this.containerNode,h.selector(a,"focusin"),function(a){b._onChildFocus(c.getEnclosingWidget(this),a)}))},_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(a,b){a&&(this.focusedChild&&a!==this.focusedChild&&this._onChildBlur(this.focusedChild),a.set("tabIndex",this.tabIndex),a.focus(b?"end":"start"))},_onContainerFocus:function(a){a.target!==this.domNode||this.focusedChild||this.focus()},_onFocus:function(){n.set(this.domNode,"tabIndex","-1");this.inherited(arguments)},_onBlur:function(a){n.set(this.domNode,"tabIndex",this.tabIndex);this.focusedChild&&(this.focusedChild.set("tabIndex",
"-1"),this.lastFocusedChild=this.focusedChild,this._set("focusedChild",null));this.inherited(arguments)},_onChildFocus:function(a){a&&a!=this.focusedChild&&(this.focusedChild&&!this.focusedChild._destroyed&&this.focusedChild.set("tabIndex","-1"),a.set("tabIndex",this.tabIndex),this.lastFocused=a,this._set("focusedChild",a))},_searchString:"",multiCharSearchDuration:1E3,onKeyboardSearch:function(a,b,c,k){a&&this.focusChild(a)},_keyboardSearchCompare:function(a,b){var e=a.domNode,e=(a.label||(e.focusNode?
e.focusNode.label:"")||e.innerText||e.textContent||"").replace(/^\s+/,"").substr(0,b.length).toLowerCase();return b.length&&e==b?-1:0},_isFormElement:function(a){return"INPUT"===a.tagName||"TEXTAREA"===a.tagName||"SELECT"===a.tagName||"BUTTON"===a.tagName},_onContainerKeydown:function(a){if(!this._isFormElement(document.activeElement)){var b=this._keyNavCodes[a.keyCode];b?(b(a,this.focusedChild),a.stopPropagation(),a.preventDefault(),this._searchString=""):a.keyCode!=f.SPACE||!this._searchTimer||
a.ctrlKey||a.altKey||a.metaKey||(a.stopImmediatePropagation(),a.preventDefault(),this._keyboardSearch(a," "))}},_onContainerKeypress:function(a){this._isFormElement(document.activeElement)||a.charCode<=f.SPACE||a.ctrlKey||a.altKey||a.metaKey||(a.preventDefault(),a.stopPropagation(),this._keyboardSearch(a,String.fromCharCode(a.charCode).toLowerCase()))},_keyboardSearch:function(a,b){var e=null,c,q=0;d.hitch(this,function(){this._searchTimer&&this._searchTimer.remove();this._searchString+=b;var a=/^(.)\1*$/.test(this._searchString)?
1:this._searchString.length;c=this._searchString.substr(0,a);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString=""},this.multiCharSearchDuration);var k=this.focusedChild||null;if(1==a||!k)if(k=this._getNextFocusableChild(k,1),!k)return;a=k;do{var d=this._keyboardSearchCompare(k,c);d&&0==q++&&(e=k);if(-1==d){q=-1;break}k=this._getNextFocusableChild(k,1)}while(k&&k!=a)})();this.onKeyboardSearch(e,a,c,q)},_onChildBlur:function(){},_getNextFocusableChild:function(a,b){var e=
a;do{if(a)a=this._getNext(a,b);else if(a=this[0<b?"_getFirst":"_getLast"](),!a)break;if(null!=a&&a!=e&&a.isFocusable())return a}while(a!=e);return null},_getFirst:function(){return null},_getLast:function(){return null},_getNext:function(a,b){if(a)for(a=a.domNode;a;)if((a=a[0>b?"previousSibling":"nextSibling"])&&"getAttribute"in a){var e=c.byNode(a);if(e)return e}return null}})})},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(g,
l,n,f){return g("dijit.ToolbarSeparator",[n,f],{templateString:'\x3cdiv class\x3d"dijitToolbarSeparator dijitInline" role\x3d"presentation"\x3e\x3c/div\x3e',buildRendering:function(){this.inherited(arguments);l.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(g,l,n,f){return g("dijit.form.ToggleButton",[n,f],{baseClass:"dijitToggleButton",setChecked:function(d){l.deprecated("setChecked("+
d+") is deprecated. Use set('checked',"+d+") instead.","","2.0");this.set("checked",d)}})})},"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".split(" "),function(g,l,n,f,d,h,c,b,a,e){f("dijit-legacy-requires")&&c(0,function(){g(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])});c=l("dijit.form.Button"+(f("dojo-bidi")?
"_NoBidi":""),[b,a],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:e,_setValueAttr:"valueNode",_setNameAttr:function(a){this.valueNode&&this.valueNode.setAttribute("name",a)},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=h.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(a){this.containerNode&&
n.toggle(this.containerNode,"dijitDisplayNone",!a);this._set("showLabel",a)},setLabel:function(a){d.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",a)},onLabelSet:function(){this.inherited(arguments);this.showLabel||"title"in this.params||(this.titleNode.title=h.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});f("dojo-bidi")&&(c=l("dijit.form.Button",c,{onLabelSet:function(){this.inherited(arguments);this.titleNode.title&&
this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(a){this._created&&this.textDir!=a&&(this._set("textDir",a),this._setLabelAttr(this.label))}}));return c})},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(g,l,n,f){var d=g("dijit.form._ButtonMixin"+(n("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(d){d.stopPropagation();d.preventDefault();this.disabled||this.valueNode.click(d);
return!1},_onClick:function(d){if(this.disabled)return d.stopPropagation(),d.preventDefault(),!1;!1===this.onClick(d)&&d.preventDefault();var c=d.defaultPrevented;if(!c&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var b=this.domNode;b.parentNode;b=b.parentNode){var a=f.byNode(b);if(a&&"function"==typeof a._onSubmit){a._onSubmit(d);d.preventDefault();c=!0;break}}return!c},postCreate:function(){this.inherited(arguments);l.setSelectable(this.focusNode,!1)},onClick:function(){return!0},
_setLabelAttr:function(d){this._set("label",d);(this.containerNode||this.focusNode).innerHTML=d;this.onLabelSet()},onLabelSet:function(){}});n("dojo-bidi")&&(d=g("dijit.form._ButtonMixin",d,{onLabelSet:function(){this.inherited(arguments);this.applyTextDir(this.containerNode||this.focusNode)}}));return d})},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(g,l){return g("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(g){var f=
this.checked;this._set("checked",!f);var d=this.inherited(arguments);this.set("checked",d?this.checked:f);return d},_setCheckedAttr:function(g,f){this._set("checked",g);var d=this.focusNode||this.domNode;this._created&&l.get(d,"checked")!=!!g&&l.set(d,"checked",!!g);d.setAttribute(this._aria_attr,String(g));this._handleOnChange(g,f)},postCreate:function(){this.inherited(arguments);var g=this.focusNode||this.domNode;this.checked&&g.setAttribute("checked","checked");void 0===this._resetValue&&(this._lastValueReported=
this._resetValue=this.checked)},reset:function(){this._hasBeenBlurred=!1;this.set("checked",this.params.checked||!1)}})})},"dijit/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../Destroyable","../form/Button"],function(g,l,n,f,d){l=l("dijit._editor._Plugin",f,{constructor:function(d){this.params=d||{};n.mixin(this,this.params);this._attrPairNames={}},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:!0,buttonClass:d,
disabled:!1,getLabel:function(d){return this.editor.commands[d]},_initButton:function(){if(this.command.length){var d=this.getLabel(this.command),c=this.editor,b=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);this.button||(d=n.mixin({label:d,ownerDocument:c.ownerDocument,dir:c.dir,lang:c.lang,showLabel:!1,iconClass:b,dropDown:this.dropDown,tabIndex:"-1"},this.params||{}),delete d.name,this.button=new this.buttonClass(d))}this.get("disabled")&&
this.button&&this.button.set("disabled",this.get("disabled"))},destroy:function(){this.dropDown&&this.dropDown.destroyRecursive();this.inherited(arguments)},connect:function(d,c,b){this.own(g.connect(d,c,this,b))},updateState:function(){var d=this.editor,c=this.command,b,a;if(d&&d.isLoaded&&c.length){var e=this.get("disabled");if(this.button)try{a=!e&&d.queryCommandEnabled(c),this.enabled!==a&&(this.enabled=a,this.button.set("disabled",!a)),a&&"boolean"==typeof this.button.checked&&(b=d.queryCommandState(c),
this.checked!==b&&(this.checked=b,this.button.set("checked",d.queryCommandState(c))))}catch(p){console.log(p)}}},setEditor:function(d){this.editor=d;this._initButton();this.button&&this.useDefaultCommand&&(this.editor.queryCommandAvailable(this.command)?this.own(this.button.on("click",n.hitch(this.editor,"execCommand",this.command,this.commandArg))):this.button.domNode.style.display="none");this.own(this.editor.on("NormalizedDisplayChanged",n.hitch(this,"updateState")))},setToolbar:function(d){this.button&&
d.addChild(this.button)},set:function(d,c){if("object"===typeof d){for(var b in d)this.set(b,d[b]);return this}b=this._getAttrNames(d);if(this[b.s])var a=this[b.s].apply(this,Array.prototype.slice.call(arguments,1));else this._set(d,c);return a||this},get:function(d){var c=this._getAttrNames(d);return this[c.g]?this[c.g]():this[d]},_setDisabledAttr:function(d){this._set("disabled",d);this.updateState()},_getAttrNames:function(d){var c=this._attrPairNames;if(c[d])return c[d];var b=d.charAt(0).toUpperCase()+
d.substr(1);return c[d]={s:"_set"+b+"Attr",g:"_get"+b+"Attr"}},_set:function(d,c){this[d]=c}});l.registry={};return l})},"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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p){return g("dijit._editor.plugins.EnterKeyHandling",a,{blockNodeForEnter:"BR",constructor:function(a){a&&("blockNodeForEnter"in a&&(a.blockNodeForEnter=
a.blockNodeForEnter.toUpperCase()),f.mixin(this,a))},setEditor:function(a){if(this.editor!==a)if(this.editor=a,"BR"==this.blockNodeForEnter)this.editor.customUndo=!0,a.onLoadDeferred.then(f.hitch(this,function(b){this.own(d(a.document,"keydown",f.hitch(this,function(a){if(a.keyCode==n.ENTER){var b=f.mixin({},a);b.shiftKey=!0;this.handleEnterKey(b)||(a.stopPropagation(),a.preventDefault())}})));9<=h("ie")&&10>=h("ie")&&this.own(d(a.document,"paste",f.hitch(this,function(a){setTimeout(f.hitch(this,
function(){var a=this.editor.document.selection.createRange();a.move("character",-1);a.select();a.move("character",1);a.select()}),0)})));return b}));else if(this.blockNodeForEnter){var b=f.hitch(this,"handleEnterKey");a.addKeyHandler(13,0,0,b);a.addKeyHandler(13,0,1,b);this.own(this.editor.on("KeyPressed",f.hitch(this,"onKeyPressed")))}},onKeyPressed:function(){if(this._checkListLater){if(this.editor.selection.isCollapsed()){var a=this.editor.selection.getAncestorElement("LI");if(a){h("mozilla")&&
"LI"==a.parentNode.parentNode.nodeName&&(a=a.parentNode.parentNode);var b=a.firstChild;!b||1!=b.nodeType||"UL"!=b.nodeName&&"OL"!=b.nodeName||(a.insertBefore(b.ownerDocument.createTextNode("\u00a0"),b),b=p.create(this.editor.window),b.setStart(a.firstChild,0),a=p.getSelection(this.editor.window,!0),a.removeAllRanges(),a.addRange(b))}else e.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter),(a=this.editor.selection.getAncestorElement(this.blockNodeForEnter))?(a.innerHTML=
this.bogusHtmlContent,9>=h("ie")&&(a=this.editor.document.selection.createRange(),a.move("character",-1),a.select())):console.error("onKeyPressed: Cannot find the new block node")}this._checkListLater=!1}this._pressedEnterInBlock&&(this._pressedEnterInBlock.previousSibling&&this.removeTrailingBr(this._pressedEnterInBlock.previousSibling),delete this._pressedEnterInBlock)},bogusHtmlContent:"\x26#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(a){var c,d,k,f,m=this.editor.document,
r,w,g;if(a.shiftKey){a=this.editor.selection.getParentElement();if(f=p.getAncestor(a,this.blockNodes)){if("LI"==f.tagName)return!0;a=p.getSelection(this.editor.window);c=a.getRangeAt(0);c.collapsed||(c.deleteContents(),a=p.getSelection(this.editor.window),c=a.getRangeAt(0));if(p.atBeginningOfContainer(f,c.startContainer,c.startOffset))r=m.createElement("br"),c=p.create(this.editor.window),f.insertBefore(r,f.firstChild),c.setStartAfter(r),a.removeAllRanges(),a.addRange(c);else if(p.atEndOfContainer(f,
c.startContainer,c.startOffset))c=p.create(this.editor.window),r=m.createElement("br"),f.appendChild(r),f.appendChild(m.createTextNode("\u00a0")),c.setStart(f.lastChild,0),a.removeAllRanges(),a.addRange(c);else return(w=c.startContainer)&&3==w.nodeType?(g=w.nodeValue,d=m.createTextNode(g.substring(0,c.startOffset)),k=m.createTextNode(g.substring(c.startOffset)),f=m.createElement("br"),""==k.nodeValue&&h("webkit")&&(k=m.createTextNode("\u00a0")),l.place(d,w,"after"),l.place(f,d,"after"),l.place(k,
f,"after"),l.destroy(w),c=p.create(this.editor.window),c.setStart(k,0),a.removeAllRanges(),a.addRange(c),!1):!0}else a=p.getSelection(this.editor.window),a.rangeCount?(c=a.getRangeAt(0))&&c.startContainer&&(c.collapsed||(c.deleteContents(),a=p.getSelection(this.editor.window),c=a.getRangeAt(0)),(w=c.startContainer)&&3==w.nodeType?(f=c.startOffset,w.length<f&&(k=this._adjustNodeAndOffset(w,f),w=k.node,f=k.offset),g=w.nodeValue,d=m.createTextNode(g.substring(0,f)),k=m.createTextNode(g.substring(f)),
f=m.createElement("br"),k.length||(k=m.createTextNode("\u00a0")),d.length?l.place(d,w,"after"):d=w,l.place(f,d,"after"),l.place(k,f,"after"),l.destroy(w)):(0<=c.startOffset&&(r=w.childNodes[c.startOffset]),f=m.createElement("br"),k=m.createTextNode("\u00a0"),r?(l.place(f,r,"before"),l.place(k,f,"after")):(w.appendChild(f),w.appendChild(k))),c=p.create(this.editor.window),c.setStart(k,0),c.setEnd(k,k.length),a.removeAllRanges(),a.addRange(c),this.editor.selection.collapse(!0)):e.prototype.execCommand.call(this.editor,
"inserthtml","\x3cbr\x3e");return!1}var n=!0;a=p.getSelection(this.editor.window);c=a.getRangeAt(0);c.collapsed||(c.deleteContents(),a=p.getSelection(this.editor.window),c=a.getRangeAt(0));r=p.getBlockAncestor(c.endContainer,null,this.editor.editNode);var x=r.blockNode;if(this._checkListLater=x&&("LI"==x.nodeName||"LI"==x.parentNode.nodeName))return h("mozilla")&&(this._pressedEnterInBlock=x),/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(x.innerHTML)&&
(x.innerHTML="",h("webkit")&&(c=p.create(this.editor.window),c.setStart(x,0),a.removeAllRanges(),a.addRange(c)),this._checkListLater=!1),!0;if(!r.blockNode||r.blockNode===this.editor.editNode){try{e.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter)}catch(B){}r={blockNode:this.editor.selection.getAncestorElement(this.blockNodeForEnter),blockContainer:this.editor.editNode};if(r.blockNode){if(r.blockNode!=this.editor.editNode&&!(r.blockNode.textContent||r.blockNode.innerHTML).replace(/^\s+|\s+$/g,
"").length)return this.removeTrailingBr(r.blockNode),!1}else r.blockNode=this.editor.editNode;a=p.getSelection(this.editor.window);c=a.getRangeAt(0)}x=m.createElement(this.blockNodeForEnter);x.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(r.blockNode);k=c.endOffset;n=c.endContainer;n.length<k&&(k=this._adjustNodeAndOffset(n,k),n=k.node,k=k.offset);if(p.atEndOfContainer(r.blockNode,n,k))r.blockNode===r.blockContainer?r.blockNode.appendChild(x):l.place(x,r.blockNode,"after"),n=!1,c=p.create(this.editor.window),
c.setStart(x,0),a.removeAllRanges(),a.addRange(c),this.editor.height&&b.scrollIntoView(x);else if(p.atBeginningOfContainer(r.blockNode,c.startContainer,c.startOffset))l.place(x,r.blockNode,r.blockNode===r.blockContainer?"first":"before"),x.nextSibling&&this.editor.height&&(c=p.create(this.editor.window),c.setStart(x.nextSibling,0),a.removeAllRanges(),a.addRange(c),b.scrollIntoView(x.nextSibling)),n=!1;else{r.blockNode===r.blockContainer?r.blockNode.appendChild(x):l.place(x,r.blockNode,"after");n=
!1;r.blockNode.style&&x.style&&r.blockNode.style.cssText&&(x.style.cssText=r.blockNode.style.cssText);if((w=c.startContainer)&&3==w.nodeType){k=c.endOffset;w.length<k&&(k=this._adjustNodeAndOffset(w,k),w=k.node,k=k.offset);g=w.nodeValue;d=m.createTextNode(g.substring(0,k));k=m.createTextNode(g.substring(k,g.length));l.place(d,w,"before");l.place(k,w,"after");l.destroy(w);for(c=d.parentNode;c!==r.blockNode;){g=m.createElement(c.tagName);c.style&&g.style&&c.style.cssText&&(g.style.cssText=c.style.cssText);
"FONT"===c.tagName&&(c.color&&(g.color=c.color),c.face&&(g.face=c.face),c.size&&(g.size=c.size));for(;k;)w=k.nextSibling,g.appendChild(k),k=w;l.place(g,c,"after");d=c;k=g;c=c.parentNode}if(1==k.nodeType||3==k.nodeType&&k.nodeValue)x.innerHTML="";for(d=k;k;)w=k.nextSibling,x.appendChild(k),k=w}c=p.create(this.editor.window);m=d;if("BR"!==this.blockNodeForEnter){for(;m;)f=m,m=w=m.firstChild;f&&f.parentNode?(x=f.parentNode,c.setStart(x,0),a.removeAllRanges(),a.addRange(c),this.editor.height&&b.scrollIntoView(x),
h("mozilla")&&(this._pressedEnterInBlock=r.blockNode)):n=!0}else c.setStart(x,0),a.removeAllRanges(),a.addRange(c),this.editor.height&&b.scrollIntoView(x),h("mozilla")&&(this._pressedEnterInBlock=r.blockNode)}return n},_adjustNodeAndOffset:function(a,b){for(;a.length<b&&a.nextSibling&&3==a.nextSibling.nodeType;)b-=a.length,a=a.nextSibling;return{node:a,offset:b}},removeTrailingBr:function(a){if(a=/P|DIV|LI/i.test(a.tagName)?a:this.editor.selection.getParentOfType(a,["P","DIV","LI"]))a.lastChild&&
(1<a.childNodes.length&&3==a.lastChild.nodeType&&/^[\s\xAD]*$/.test(a.lastChild.nodeValue)||"BR"==a.lastChild.tagName)&&l.destroy(a.lastChild),a.childNodes.length||(a.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/string dojo/topic dojo/_base/unload dojo/_base/url dojo/window ../_Widget ../_CssStateMixin ../selection ./range ./html ../focus ../main".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y,x,B,G,F,z,E,H,I){var D=n("dijit._editor.RichText",[B,G],{constructor:function(a){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};a&&q.isString(a.value)&&(this.value=a.value);this.onLoadDeferred=new f},baseClass:"dijitEditor",inheritWidth:!1,focusOnLoad:!1,name:"",styleSheets:"",height:"300px",minHeight:"1em",
isClosed:!0,isLoaded:!1,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:!1,disableSpellCheck:!1,postCreate:function(){"textarea"===this.domNode.tagName.toLowerCase()&&console.warn("RichText should not be used with the TEXTAREA tag.  See dijit._editor.RichText docs.");this.contentPreFilters=[q.trim,q.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);m("mozilla")&&(this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters),
this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters));m("webkit")&&(this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters),this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters));if(m("ie")||m("trident"))this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters),this.contentDomPostFilters=[q.hitch(this,"_stripBreakerNodes")].concat(this.contentDomPostFilters);this.contentDomPostFilters=[q.hitch(this,
"_stripTrailingEmptyNodes")].concat(this.contentDomPostFilters);this.inherited(arguments);w.publish(I._scopeName+"._editor.RichText::init",this)},startup:function(){this.inherited(arguments);this.open();this.setupDefaultShortcuts()},setupDefaultShortcuts:function(){var a=q.hitch(this,function(a,b){return function(){return!this.execCommand(a,b)}}),b={b:a("bold"),i:a("italic"),u:a("underline"),a:a("selectall"),s:function(){this.save(!0)},m:function(){this.isTabIndent=!this.isTabIndent},1:a("formatblock",
"h1"),2:a("formatblock","h2"),3:a("formatblock","h3"),4:a("formatblock","h4"),"\\":a("insertunorderedlist")};m("ie")||(b.Z=a("redo"));for(var c in b)this.addKeyHandler(c,!0,!1,b[c])},events:["onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:!1,_localizeEditorCommands:function(){if(D._editorCommandsLocalized)this._local2NativeFormatNames=D._local2NativeFormatNames,this._native2LocalFormatNames=D._native2LocalFormatNames;else{D._editorCommandsLocalized=!0;D._local2NativeFormatNames={};
D._native2LocalFormatNames={};this._local2NativeFormatNames=D._local2NativeFormatNames;this._native2LocalFormatNames=D._native2LocalFormatNames;for(var a="div p pre h1 h2 h3 h4 h5 h6 ol ul address".split(" "),c="",e,d=0;e=a[d++];)c="l"!==e.charAt(1)?c+("\x3c"+e+"\x3e\x3cspan\x3econtent\x3c/span\x3e\x3c/"+e+"\x3e\x3cbr/\x3e"):c+("\x3c"+e+"\x3e\x3cli\x3econtent\x3c/li\x3e\x3c/"+e+"\x3e\x3cbr/\x3e");var m=b.create("div",{style:{position:"absolute",top:"0px",zIndex:10,opacity:.01},innerHTML:c});this.ownerDocumentBody.appendChild(m);
a=q.hitch(this,function(){for(var a=m.firstChild;a;)try{this.selection.selectElement(a.firstChild);var c=a.tagName.toLowerCase();this._local2NativeFormatNames[c]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[c]]=c;a=a.nextSibling.nextSibling}catch(N){}b.destroy(m)});this.defer(a)}},open:function(a){if(!this.onLoadDeferred||0<=this.onLoadDeferred.fired)this.onLoadDeferred=new f;this.isClosed||this.close();w.publish(I._scopeName+"._editor.RichText::open",
this);1===arguments.length&&a.nodeName&&(this.domNode=a);var k=this.domNode,p;if(q.isString(this.value))p=this.value,k.innerHTML="";else if(k.nodeName&&"textarea"==k.nodeName.toLowerCase()){var r=this.textarea=k;this.name=r.name;p=r.value;k=this.domNode=this.ownerDocument.createElement("div");k.setAttribute("widgetId",this.id);r.removeAttribute("widgetId");k.cssText=r.cssText;k.className+=" "+r.className;b.place(k,r,"before");var u=q.hitch(this,function(){e.set(r,{display:"block",position:"absolute",
top:"-1000px"});if(m("ie")){var a=r.style;this.__overflow=a.overflow;a.overflow="hidden"}});m("ie")?this.defer(u,10):u();if(r.form){var g=r.value;this.reset=function(){this.getValue()!==g&&this.replaceValue(g)};v(r.form,"submit",q.hitch(this,function(){h.set(r,"disabled",this.disabled);r.value=this.getValue()}))}}else p=E.getChildrenHtml(k),k.innerHTML="";this.value=p;k.nodeName&&"LI"===k.nodeName&&(k.innerHTML=" \x3cbr\x3e");this.header=k.ownerDocument.createElement("div");k.appendChild(this.header);
this.editingArea=k.ownerDocument.createElement("div");k.appendChild(this.editingArea);this.footer=k.ownerDocument.createElement("div");k.appendChild(this.footer);this.name||(this.name=this.id+"_AUTOGEN");if(""!==this.name&&(!l.useXDomain||l.allowXdRichTextSave)){if((p=d.byId(I._scopeName+"._editor.RichText.value"))&&""!==p.value)for(var u=p.value.split(this._SEPARATOR),t=0,n;n=u[t++];)if(n=n.split(this._NAME_CONTENT_SEP),n[0]===this.name){this.value=n[1];u=u.splice(t,1);p.value=u.join(this._SEPARATOR);
break}D._globalSaveHandler||(D._globalSaveHandler={},C.addOnUnload(function(){for(var a in D._globalSaveHandler){var b=D._globalSaveHandler[a];q.isFunction(b)&&b()}}));D._globalSaveHandler[this.id]=q.hitch(this,"_saveContent")}this.isClosed=!1;p=this.editorObject=this.iframe=this.ownerDocument.createElement("iframe");p.id=this.id+"_iframe";p.style.border="none";p.style.width="100%";this._layoutMode?p.style.height="100%":7<=m("ie")?(this.height&&(p.style.height=this.height),this.minHeight&&(p.style.minHeight=
this.minHeight)):p.style.height=this.height?this.height:this.minHeight;p.frameBorder=0;p._loadFunc=q.hitch(this,function(a){this.window=a;this.document=a.document;this.selection=new F.SelectionManager(a);m("ie")&&this._localizeEditorCommands();this.onLoad(this.get("value"))});u=this._getIframeDocTxt().replace(/\\/g,"\\\\").replace(/'/g,"\\'");u=11>m("ie")?'javascript:document.open();try{parent.window;}catch(e){document.domain\x3d"'+document.domain+"\";}document.write('"+u+"');document.close()":"javascript: '"+
u+"'";this.editingArea.appendChild(p);p.src=u;"LI"===k.nodeName&&(k.lastChild.style.marginTop="-1.2em");c.add(this.domNode,this.baseClass)},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var a=e.getComputedStyle(this.domNode),b;if(this["aria-label"])b=this["aria-label"];else{var c=u('label[for\x3d"'+this.id+'"]',this.ownerDocument)[0]||d.byId(this["aria-labelledby"],this.ownerDocument);c&&(b=c.textContent||c.innerHTML||"")}var c="\x3cdiv id\x3d'dijitEditorBody' role\x3d'textbox' aria-multiline\x3d'true' "+
(b?" aria-label\x3d'"+r.escape(b)+"'":"")+"\x3e\x3c/div\x3e",k=[a.fontWeight,a.fontSize,a.fontFamily].join(" "),f=a.lineHeight,f=0<=f.indexOf("px")?parseFloat(f)/parseFloat(a.fontSize):0<=f.indexOf("em")?parseFloat(f):"normal",h="",w=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(a){a=a.replace(/^;/ig,"")+";";var b=a.split(":")[0];if(b){var b=q.trim(b),b=b.toLowerCase(),c,d="";for(c=0;c<b.length;c++){var k=b.charAt(c);switch(k){case "-":c++,k=b.charAt(c).toUpperCase();default:d+=
k}}e.set(w.domNode,d,"")}h+=a+";"});this.iframe.setAttribute("title",b);return["\x3c!DOCTYPE html\x3e","\x3chtml lang\x3d'"+(this.lang||p.locale.replace(/-.*/,""))+"'"+(this.isLeftToRight()?"":" dir\x3d'rtl'")+"\x3e\n","\x3chead\x3e\n\x3cmeta http-equiv\x3d'Content-Type' content\x3d'text/html'\x3e\n",b?"\x3ctitle\x3e"+r.escape(b)+"\x3c/title\x3e":"","\x3cstyle\x3e\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:",k,";\n",this.height||m("opera")?"":"\t\tposition: fixed;\n","\t\tline-height:",f,";\n\t}\n\tp{ margin: 1em 0; }\n\tli \x3e ul:-moz-first-node, li \x3e ol:-moz-first-node{ padding-top: 1.2em; }\n",m("ie")||m("trident")||m("edge")?"":"\tli{ min-height:1.2em; }\n",
"\x3c/style\x3e\n",this._applyEditingAreaStyleSheets(),"\n\x3c/head\x3e\n\x3cbody role\x3d'application'",b?" aria-label\x3d'"+r.escape(b)+"'":"","onload\x3d'try{frameElement \x26\x26 frameElement._loadFunc(window,document)}catch(e){document.domain\x3d\""+document.domain+"\";frameElement._loadFunc(window,document)}' ","style\x3d'"+h+"'\x3e",c,"\x3c/body\x3e\n\x3c/html\x3e"].join("")},_applyEditingAreaStyleSheets:function(){var a=[];this.styleSheets&&(a=this.styleSheets.split(";"),this.styleSheets=
"");a=a.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];for(var b="",c=0,e,d=x.get(this.ownerDocument);e=a[c++];)e=(new y(d.location,e)).toString(),this.editingAreaStyleSheets.push(e),b+='\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"'+e+'"/\x3e';return b},addStyleSheet:function(a){var b=a.toString(),c=x.get(this.ownerDocument);if("."===b.charAt(0)||"/"!==b.charAt(0)&&!a.host)b=(new y(c.location,b)).toString();-1<g.indexOf(this.editingAreaStyleSheets,b)||(this.editingAreaStyleSheets.push(b),
this.onLoadDeferred.then(q.hitch(this,function(){if(this.document.createStyleSheet)this.document.createStyleSheet(b);else{var a=this.document.getElementsByTagName("head")[0],c=this.document.createElement("link");c.rel="stylesheet";c.type="text/css";c.href=b;a.appendChild(c)}})))},removeStyleSheet:function(a){var b=a.toString(),c=x.get(this.ownerDocument);if("."===b.charAt(0)||"/"!==b.charAt(0)&&!a.host)b=(new y(c.location,b)).toString();a=g.indexOf(this.editingAreaStyleSheets,b);-1!==a&&(delete this.editingAreaStyleSheets[a],
u('link[href\x3d"'+b+'"]',this.window.document).orphan())},disabled:!1,_mozSettingProps:{styleWithCSS:!1},_setDisabledAttr:function(a){a=!!a;this._set("disabled",a);if(this.isLoaded){var b=m("ie")&&(this.isLoaded||!this.focusOnLoad);b&&(this.editNode.unselectable="on");this.editNode.contentEditable=!a;this.editNode.tabIndex=a?"-1":this.tabIndex;b&&this.defer(function(){this.editNode&&(this.editNode.unselectable="off")});if(m("mozilla")&&!a&&this._mozSettingProps){a=this._mozSettingProps;for(var c in a)if(a.hasOwnProperty(c))try{this.document.execCommand(c,
!1,a[c])}catch(L){}}this._disabledOK=!0}},onLoad:function(a){this.window.__registeredWindow||(this.window.__registeredWindow=!0,this._iframeRegHandle=H.registerIframe(this.iframe));this.editNode=this.document.body.firstChild;var c=this;this.beforeIframeNode=b.place("\x3cdiv tabIndex\x3d-1\x3e\x3c/div\x3e",this.iframe,"before");this.afterIframeNode=b.place("\x3cdiv tabIndex\x3d-1\x3e\x3c/div\x3e",this.iframe,"after");this.iframe.onfocus=this.document.onfocus=function(){c.editNode.focus()};this.focusNode=
this.editNode;var e=this.events.concat(this.captureEvents),d=this.iframe?this.document:this.editNode;this.own.apply(this,g.map(e,function(a){var b=a.toLowerCase().replace(/^on/,"");return v(d,b,q.hitch(this,a))},this));this.own(v(d,"mouseup",q.hitch(this,"onClick")));m("ie")&&(this.own(v(this.document,"mousedown",q.hitch(this,"_onIEMouseDown"))),this.editNode.style.zoom=1);m("webkit")&&(this._webkitListener=this.own(v(this.document,"mouseup",q.hitch(this,"onDisplayChanged")))[0],this.own(v(this.document,
"mousedown",q.hitch(this,function(a){a=a.target;!a||a!==this.document.body&&a!==this.document||this.defer("placeCursorAtEnd")}))));if(m("ie"))try{this.document.execCommand("RespectVisibilityInDesign",!0,null)}catch(J){}this.isLoaded=!0;this.set("disabled",this.disabled);e=q.hitch(this,function(){this.setValue(a);this.onLoadDeferred&&!this.onLoadDeferred.isFulfilled()&&this.onLoadDeferred.resolve(!0);this.onDisplayChanged();this.focusOnLoad&&t(q.hitch(this,"defer","focus",this.updateInterval));this.value=
this.getValue(!0)});this.setValueDeferred?this.setValueDeferred.then(e):e()},onKeyDown:function(a){if(a.keyCode===k.SHIFT||a.keyCode===k.ALT||a.keyCode===k.META||a.keyCode===k.CTRL)return!0;a.keyCode===k.TAB&&this.isTabIndent&&(a.stopPropagation(),a.preventDefault(),this.queryCommandEnabled(a.shiftKey?"outdent":"indent")&&this.execCommand(a.shiftKey?"outdent":"indent"));if(a.keyCode==k.TAB&&!this.isTabIndent&&!a.ctrlKey&&!a.altKey)return a.shiftKey?this.beforeIframeNode.focus():this.afterIframeNode.focus(),
!0;9>m("ie")&&a.keyCode===k.BACKSPACE&&"Control"===this.document.selection.type&&(a.stopPropagation(),a.preventDefault(),this.execCommand("delete"));m("ff")&&(a.keyCode===k.PAGE_UP||a.keyCode===k.PAGE_DOWN)&&this.editNode.clientHeight>=this.editNode.scrollHeight&&a.preventDefault();var b=this._keyHandlers[a.keyCode],c=arguments;b&&!a.altKey&&g.some(b,function(b){if(!(b.shift^a.shiftKey||b.ctrl^(a.ctrlKey||a.metaKey)))return b.handler.apply(this,c)||a.preventDefault(),!0},this);this.defer("onKeyPressed",
1);return!0},onKeyUp:function(){},setDisabled:function(a){p.deprecated("dijit.Editor::setDisabled is deprecated",'use dijit.Editor::attr("disabled",boolean) instead',2);this.set("disabled",a)},_setValueAttr:function(a){this.setValue(a)},_setDisableSpellCheckAttr:function(a){this.document?h.set(this.document.body,"spellcheck",!a):this.onLoadDeferred.then(q.hitch(this,function(){h.set(this.document.body,"spellcheck",!a)}));this._set("disableSpellCheck",a)},addKeyHandler:function(a,b,c,e){"string"==
typeof a&&(a=a.toUpperCase().charCodeAt(0));q.isArray(this._keyHandlers[a])||(this._keyHandlers[a]=[]);this._keyHandlers[a].push({shift:c||!1,ctrl:b||!1,handler:e})},onKeyPressed:function(){this.onDisplayChanged()},onClick:function(a){this.onDisplayChanged(a)},_onIEMouseDown:function(){this.focused||this.disabled||this.focus()},_onBlur:function(a){(m("ie")||m("trident"))&&this.defer(function(){H.curNode||this.ownerDocumentBody.focus()});this.inherited(arguments);var b=this.getValue(!0);if(b!==this.value)this.onChange(b);
this._set("value",b)},_onFocus:function(a){this.disabled||(this._disabledOK||this.set("disabled",!1),this.inherited(arguments))},blur:function(){!m("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus?this.window.document.documentElement.focus():this.ownerDocumentBody.focus&&this.ownerDocumentBody.focus()},focus:function(){this.isLoaded?9>m("ie")?this.iframe.fireEvent("onfocus",document.createEventObject()):this.editNode.focus():this.focusOnLoad=!0},updateInterval:200,
_updateTimer:null,onDisplayChanged:function(){this._updateTimer&&this._updateTimer.remove();this._updateTimer=this.defer("onNormalizedDisplayChanged",this.updateInterval)},onNormalizedDisplayChanged:function(){delete this._updateTimer},onChange:function(){},_normalizeCommand:function(a,b){var c=a.toLowerCase();"formatblock"===c?m("safari")&&void 0===b&&(c="heading"):"hilitecolor"!==c||m("mozilla")||(c="backcolor");return c},_qcaCache:{},queryCommandAvailable:function(a){var b=this._qcaCache[a];return void 0!==
b?b:this._qcaCache[a]=this._queryCommandAvailable(a)},_queryCommandAvailable:function(a){switch(a.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":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":case "cut":case "copy":case "paste":return!0;
case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":return m("ie")||m("trident")||m("edge");case "inserttable":case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":return!m("webkit");default:return!1}},execCommand:function(a,b){var c;this.focused&&this.focus();a=this._normalizeCommand(a,b);if(void 0!==b){if("heading"===a)throw Error("unimplemented");"formatblock"===
a&&(m("ie")||m("trident"))&&(b="\x3c"+b+"\x3e")}var e="_"+a+"Impl";if(this[e])c=this[e](b);else if((b=1<arguments.length?b:null)||"createlink"!==a)c=this.document.execCommand(a,!1,b);this.onDisplayChanged();return c},queryCommandEnabled:function(a){if(this.disabled||!this._disabledOK)return!1;a=this._normalizeCommand(a);var b="_"+a+"EnabledImpl";return this[b]?this[b](a):this._browserQueryCommandEnabled(a)},queryCommandState:function(a){if(this.disabled||!this._disabledOK)return!1;a=this._normalizeCommand(a);
try{return this.document.queryCommandState(a)}catch(M){return!1}},queryCommandValue:function(a){if(this.disabled||!this._disabledOK)return!1;a=this._normalizeCommand(a);if(m("ie")&&"formatblock"===a)a=this._native2LocalFormatNames[this.document.queryCommandValue(a)];else if(m("mozilla")&&"hilitecolor"===a){var b;try{b=this.document.queryCommandValue("styleWithCSS")}catch(K){b=!1}this.document.execCommand("styleWithCSS",!1,!0);a=this.document.queryCommandValue(a);this.document.execCommand("styleWithCSS",
!1,b)}else a=this.document.queryCommandValue(a);return a},_sCall:function(a,b){return this.selection[a].apply(this.selection,b)},placeCursorAtStart:function(){this.focus();var a=!1;if(m("mozilla"))for(var b=this.editNode.firstChild;b;){if(3===b.nodeType){if(0<b.nodeValue.replace(/^\s+|\s+$/g,"").length){a=!0;this.selection.selectElement(b);break}}else if(1===b.nodeType){var a=!0,c=b.tagName?b.tagName.toLowerCase():"";/br|input|img|base|meta|area|basefont|hr|link/.test(c)?this.selection.selectElement(b):
this.selection.selectElementChildren(b);break}b=b.nextSibling}else a=!0,this.selection.selectElementChildren(this.editNode);a&&this.selection.collapse(!0)},placeCursorAtEnd:function(){this.focus();var a=!1;if(m("mozilla"))for(var b=this.editNode.lastChild;b;){if(3===b.nodeType){if(0<b.nodeValue.replace(/^\s+|\s+$/g,"").length){a=!0;this.selection.selectElement(b);break}}else if(1===b.nodeType){a=!0;this.selection.selectElement(b.lastChild||b);break}b=b.previousSibling}else a=!0,this.selection.selectElementChildren(this.editNode);
a&&this.selection.collapse(!1)},getValue:function(a){return!this.textarea||!this.isClosed&&this.isLoaded?this.isLoaded?this._postFilterContent(null,a):this.value:this.textarea.value},_getValueAttr:function(){return this.getValue(!0)},setValue:function(a){if(this.isLoaded){if(!this.textarea||!this.isClosed&&this.isLoaded){a=this._preFilterContent(a);var b=this.isClosed?this.domNode:this.editNode;b.innerHTML=a;this._preDomFilterContent(b)}else this.textarea.value=a;this.onDisplayChanged();this._set("value",
this.getValue(!0))}else this.onLoadDeferred.then(q.hitch(this,function(){this.setValue(a)}))},replaceValue:function(a){this.isClosed?this.setValue(a):this.window&&this.window.getSelection&&!m("mozilla")?this.setValue(a):this.window&&this.window.getSelection?(a=this._preFilterContent(a),this.execCommand("selectall"),this.execCommand("inserthtml",a),this._preDomFilterContent(this.editNode)):this.document&&this.document.selection&&this.setValue(a);this._set("value",this.getValue(!0))},_preFilterContent:function(a){var b=
a;g.forEach(this.contentPreFilters,function(a){a&&(b=a(b))});return b},_preDomFilterContent:function(a){a=a||this.editNode;g.forEach(this.contentDomPreFilters,function(b){b&&q.isFunction(b)&&b(a)},this)},_postFilterContent:function(a,b){var c;q.isString(a)?c=a:(a=a||this.editNode,this.contentDomPostFilters.length&&(b&&(a=q.clone(a)),g.forEach(this.contentDomPostFilters,function(b){a=b(a)})),c=E.getChildrenHtml(a));q.trim(c.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length||(c="");g.forEach(this.contentPostFilters,
function(a){c=a(c)});return c},_saveContent:function(){var a=d.byId(I._scopeName+"._editor.RichText.value");a&&(a.value&&(a.value+=this._SEPARATOR),a.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(!0))},escapeXml:function(a,b){a=a.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;");b||(a=a.replace(/'/gm,"\x26#39;"));return a},getNodeHtml:function(a){p.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",
2);return E.getNodeHtml(a)},getNodeChildrenHtml:function(a){p.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return E.getChildrenHtml(a)},close:function(a){if(!this.isClosed){arguments.length||(a=!0);a&&this._set("value",this.getValue(!0));this.interval&&clearInterval(this.interval);this._webkitListener&&(this._webkitListener.remove(),delete this._webkitListener);m("ie")&&(this.iframe.onfocus=null);this.iframe._loadFunc=null;this._iframeRegHandle&&
(this._iframeRegHandle.remove(),delete this._iframeRegHandle);if(this.textarea){var e=this.textarea.style;e.position="";e.left=e.top="";m("ie")&&(e.overflow=this.__overflow,this.__overflow=null);this.textarea.value=this.value;b.destroy(this.domNode);this.domNode=this.textarea}else this.domNode.innerHTML=this.value;delete this.iframe;c.remove(this.domNode,this.baseClass);this.isClosed=!0;this.isLoaded=!1;delete this.editNode;delete this.focusNode;this.window&&this.window._frameElement&&(this.window._frameElement=
null);this.editorObject=this.editingArea=this.document=this.window=null}},destroy:function(){this.isClosed||this.close(!1);this._updateTimer&&this._updateTimer.remove();this.inherited(arguments);D._globalSaveHandler&&delete D._globalSaveHandler[this.id]},_removeMozBogus:function(a){return a.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"")},_removeWebkitBogus:function(a){a=a.replace(/\sclass="webkit-block-placeholder"/gi,"");a=a.replace(/\sclass="apple-style-span"/gi,
"");return a=a.replace(/<meta charset=\"utf-8\" \/>/gi,"")},_normalizeFontStyle:function(a){return a.replace(/<(\/)?strong([ \>])/gi,"\x3c$1b$2").replace(/<(\/)?em([ \>])/gi,"\x3c$1i$2")},_preFixUrlAttributes:function(a){return a.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl\x3d$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl\x3d$2$3$5$2")},_browserQueryCommandEnabled:function(a){if(!a)return!1;
if(m("ie")||m("trident")||m("edge"))return this.focused&&!this.disabled;var b=9>m("ie")?this.document.selection.createRange():this.document;try{return b.queryCommandEnabled(a)}catch(K){return!1}},_createlinkEnabledImpl:function(){var a=!0;return a=m("opera")?this.window.getSelection().isCollapsed?!0:this.document.queryCommandEnabled("createlink"):this._browserQueryCommandEnabled("createlink")},_unlinkEnabledImpl:function(){var a=!0;return a=m("mozilla")||m("webkit")||m("ie")||m("trident")||m("edge")?
this.selection.hasAncestorElement("a"):this._browserQueryCommandEnabled("unlink")},_inserttableEnabledImpl:function(){var a=!0;return a=m("mozilla")||m("webkit")?!0:this._browserQueryCommandEnabled("inserttable")},_cutEnabledImpl:function(){var a=!0;m("webkit")?((a=this.window.getSelection())&&(a=a.toString()),a=!!a):a=this._browserQueryCommandEnabled("cut");return a},_copyEnabledImpl:function(){var a=!0;m("webkit")?((a=this.window.getSelection())&&(a=a.toString()),a=!!a):a=this._browserQueryCommandEnabled("copy");
return a},_pasteEnabledImpl:function(){var a=!0;return m("webkit")?!0:a=this._browserQueryCommandEnabled("paste")},_inserthorizontalruleImpl:function(a){return m("ie")?this._inserthtmlImpl("\x3chr\x3e"):this.document.execCommand("inserthorizontalrule",!1,a)},_unlinkImpl:function(a){return this.queryCommandEnabled("unlink")&&(m("mozilla")||m("webkit"))?(a=this.selection.getAncestorElement("a"),this.selection.selectElement(a),this.document.execCommand("unlink",!1,null)):this.document.execCommand("unlink",
!1,a)},_hilitecolorImpl:function(a){var b;this._handleTextColorOrProperties("hilitecolor",a)||(m("mozilla")?(this.document.execCommand("styleWithCSS",!1,!0),console.log("Executing color command."),b=this.document.execCommand("hilitecolor",!1,a),this.document.execCommand("styleWithCSS",!1,!1)):b=this.document.execCommand("hilitecolor",!1,a));return b},_backcolorImpl:function(a){m("ie")&&(a=a?a:null);var b=this._handleTextColorOrProperties("backcolor",a);b||(b=this.document.execCommand("backcolor",
!1,a));return b},_forecolorImpl:function(a){m("ie")&&(a=a?a:null);var b=!1;(b=this._handleTextColorOrProperties("forecolor",a))||(b=this.document.execCommand("forecolor",!1,a));return b},_inserthtmlImpl:function(a){a=this._preFilterContent(a);var c=!0;if(9>m("ie")){var e=this.document.selection.createRange();if("CONTROL"===this.document.selection.type.toUpperCase()){for(var d=e.item(0);e.length;)e.remove(e.item(0));d.outerHTML=a}else e.pasteHTML(a);e.select()}else if(8>m("trident")){var k=z.getSelection(this.window);
if(k&&k.rangeCount&&k.getRangeAt){e=k.getRangeAt(0);e.deleteContents();var f=b.create("div");f.innerHTML=a;for(var h,d=this.document.createDocumentFragment();a=f.firstChild;)h=d.appendChild(a);e.insertNode(d);h&&(e=e.cloneRange(),e.setStartAfter(h),e.collapse(!1),k.removeAllRanges(),k.addRange(e))}}else m("mozilla")&&!a.length?this.selection.remove():c=this.document.execCommand("inserthtml",!1,a);return c},_boldImpl:function(a){var b=!1;if(m("ie")||m("trident"))this._adaptIESelection(),b=this._adaptIEFormatAreaAndExec("bold");
b||(b=this.document.execCommand("bold",!1,a));return b},_italicImpl:function(a){var b=!1;if(m("ie")||m("trident"))this._adaptIESelection(),b=this._adaptIEFormatAreaAndExec("italic");b||(b=this.document.execCommand("italic",!1,a));return b},_underlineImpl:function(a){var b=!1;if(m("ie")||m("trident"))this._adaptIESelection(),b=this._adaptIEFormatAreaAndExec("underline");b||(b=this.document.execCommand("underline",!1,a));return b},_strikethroughImpl:function(a){var b=!1;if(m("ie")||m("trident"))this._adaptIESelection(),
b=this._adaptIEFormatAreaAndExec("strikethrough");b||(b=this.document.execCommand("strikethrough",!1,a));return b},_superscriptImpl:function(a){var b=!1;if(m("ie")||m("trident"))this._adaptIESelection(),b=this._adaptIEFormatAreaAndExec("superscript");b||(b=this.document.execCommand("superscript",!1,a));return b},_subscriptImpl:function(a){var b=!1;if(m("ie")||m("trident"))this._adaptIESelection(),b=this._adaptIEFormatAreaAndExec("subscript");b||(b=this.document.execCommand("subscript",!1,a));return b},
_fontnameImpl:function(a){var b;if(m("ie")||m("trident"))b=this._handleTextColorOrProperties("fontname",a);b||(b=this.document.execCommand("fontname",!1,a));return b},_fontsizeImpl:function(a){var b;if(m("ie")||m("trident"))b=this._handleTextColorOrProperties("fontsize",a);b||(b=this.document.execCommand("fontsize",!1,a));return b},_insertorderedlistImpl:function(a){var b=!1;if(m("ie")||m("trident")||m("edge"))b=this._adaptIEList("insertorderedlist",a);b||(b=this.document.execCommand("insertorderedlist",
!1,a));return b},_insertunorderedlistImpl:function(a){var b=!1;if(m("ie")||m("trident")||m("edge"))b=this._adaptIEList("insertunorderedlist",a);b||(b=this.document.execCommand("insertunorderedlist",!1,a));return b},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header)},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer)},_getNodeChildrenHeight:function(b){var c=0;if(b&&b.childNodes){var e;for(e=0;e<b.childNodes.length;e++)var d=a.position(b.childNodes[e]),
c=c+d.h}return c},_isNodeEmpty:function(a,b){return 1===a.nodeType?0<a.childNodes.length?this._isNodeEmpty(a.childNodes[0],b):!0:3===a.nodeType?""===a.nodeValue.substring(b):!1},_removeStartingRangeFromRange:function(a,b){if(a.nextSibling)b.setStart(a.nextSibling,0);else{for(var c=a.parentNode;c&&null==c.nextSibling;)c=c.parentNode;c&&b.setStart(c.nextSibling,0)}return b},_adaptIESelection:function(){var a=z.getSelection(this.window);if(a&&a.rangeCount&&!a.isCollapsed){for(var b=a.getRangeAt(0),c=
b.startContainer,e=b.startOffset;3===c.nodeType&&e>=c.length&&c.nextSibling;)e-=c.length,c=c.nextSibling;for(var d=null;this._isNodeEmpty(c,e)&&c!==d;)d=c,b=this._removeStartingRangeFromRange(c,b),c=b.startContainer,e=0;a.removeAllRanges();a.addRange(b)}},_adaptIEFormatAreaAndExec:function(a){var c=z.getSelection(this.window),e=this.document,d,k,m,f,h,p,q;if(a&&c&&c.isCollapsed){if(this.queryCommandValue(a)){a=this._tagNamesForCommand(a);m=c.getRangeAt(0);f=m.startContainer;3===f.nodeType&&(k=m.endOffset,
f.length<k&&(k=this._adjustNodeAndOffset(d,k),f=k.node,k=k.offset));for(;f&&f!==this.editNode;){d=f.tagName?f.tagName.toLowerCase():"";if(-1<g.indexOf(a,d)){q=f;break}f=f.parentNode}if(q&&(d=m.startContainer,a=e.createElement(q.tagName),b.place(a,q,"after"),d&&3===d.nodeType)){k=m.endOffset;d.length<k&&(k=this._adjustNodeAndOffset(d,k),d=k.node,k=k.offset);f=d.nodeValue;m=e.createTextNode(f.substring(0,k));var r=f.substring(k,f.length);r&&(h=e.createTextNode(r));b.place(m,d,"before");h&&(p=e.createElement("span"),
p.className="ieFormatBreakerSpan",b.place(p,d,"after"),b.place(h,p,"after"),h=p);b.destroy(d);k=m.parentNode;for(d=[];k!==q;){f=k.tagName;m={tagName:f};d.push(m);f=e.createElement(f);k.style&&f.style&&k.style.cssText&&(f.style.cssText=k.style.cssText,m.cssText=k.style.cssText);"FONT"===k.tagName&&(k.color&&(f.color=k.color,m.color=k.color),k.face&&(f.face=k.face,m.face=k.face),k.size&&(f.size=k.size,m.size=k.size));k.className&&(f.className=k.className,m.className=k.className);if(h)for(;h;)m=h.nextSibling,
f.appendChild(h),h=m;f.tagName==k.tagName?(p=e.createElement("span"),p.className="ieFormatBreakerSpan",b.place(p,k,"after"),b.place(f,p,"after")):b.place(f,k,"after");m=k;h=f;k=k.parentNode}if(h){if(1===h.nodeType||3===h.nodeType&&h.nodeValue)a.innerHTML="";for(;h;)m=h.nextSibling,a.appendChild(h),h=m}if(d.length){m=d.pop();h=e.createElement(m.tagName);m.cssText&&h.style&&(h.style.cssText=m.cssText);m.className&&(h.className=m.className);"FONT"===m.tagName&&(m.color&&(h.color=m.color),m.face&&(h.face=
m.face),m.size&&(h.size=m.size));for(b.place(h,a,"before");d.length;)m=d.pop(),q=e.createElement(m.tagName),m.cssText&&q.style&&(q.style.cssText=m.cssText),m.className&&(q.className=m.className),"FONT"===m.tagName&&(m.color&&(q.color=m.color),m.face&&(q.face=m.face),m.size&&(q.size=m.size)),h.appendChild(q),h=q;q=e.createTextNode(".");p.appendChild(q);h.appendChild(q)}else p=e.createElement("span"),p.className="ieFormatBreakerSpan",q=e.createTextNode("."),p.appendChild(q),b.place(p,a,"before");h=
z.create(this.window);h.setStart(q,0);h.setEnd(q,q.length);c.removeAllRanges();c.addRange(h);this.selection.collapse(!1);q.parentNode.innerHTML="";a.firstChild||b.destroy(a);return!0}return!1}m=c.getRangeAt(0);if((d=m.startContainer)&&3===d.nodeType)return k=m.startOffset,d.length<k&&(k=this._adjustNodeAndOffset(d,k),d=k.node,k=k.offset),f=d.nodeValue,m=e.createTextNode(f.substring(0,k)),r=f.substring(k),""!==r&&(h=e.createTextNode(f.substring(k))),p=e.createElement("span"),q=e.createTextNode("."),
p.appendChild(q),m.length?b.place(m,d,"after"):m=d,b.place(p,m,"after"),h&&b.place(h,p,"after"),b.destroy(d),h=z.create(this.window),h.setStart(q,0),h.setEnd(q,q.length),c.removeAllRanges(),c.addRange(h),e.execCommand(a),b.place(p.firstChild,p,"before"),b.destroy(p),h.setStart(q,0),h.setEnd(q,q.length),c.removeAllRanges(),c.addRange(h),this.selection.collapse(!1),q.parentNode.innerHTML="",!0}else return!1},_adaptIEList:function(a){var c=z.getSelection(this.window);if(c.isCollapsed&&c.rangeCount&&
!this.queryCommandValue(a)){var e=c.getRangeAt(0),d=e.startContainer;if(d&&3==d.nodeType&&!e.startOffset)return e="ul","insertorderedlist"===a&&(e="ol"),a=this.document.createElement(e),e=b.create("li",null,a),b.place(a,d,"before"),e.appendChild(d),b.create("br",null,a,"after"),a=z.create(this.window),a.setStart(d,0),a.setEnd(d,d.length),c.removeAllRanges(),c.addRange(a),this.selection.collapse(!0),!0}return!1},_handleTextColorOrProperties:function(a,c){var d=z.getSelection(this.window),k=this.document,
f,h,p,q,r;c=c||null;if(a&&d&&d.isCollapsed&&d.rangeCount&&(h=d.getRangeAt(0),(f=h.startContainer)&&3===f.nodeType)){r=h.startOffset;f.length<r&&(h=this._adjustNodeAndOffset(f,r),f=h.node,r=h.offset);p=f.nodeValue;h=k.createTextNode(p.substring(0,r));""!==p.substring(r)&&(q=k.createTextNode(p.substring(r)));p=k.createElement("span");r=k.createTextNode(".");p.appendChild(r);k=k.createElement("span");p.appendChild(k);h.length?b.place(h,f,"after"):h=f;b.place(p,h,"after");q&&b.place(q,p,"after");b.destroy(f);
f=z.create(this.window);f.setStart(r,0);f.setEnd(r,r.length);d.removeAllRanges();d.addRange(f);if(m("webkit")){d="color";if("hilitecolor"===a||"backcolor"===a)d="backgroundColor";e.set(p,d,c);this.selection.remove();b.destroy(k);p.innerHTML="\x26#160;";this.selection.selectElement(p);this.focus()}else this.execCommand(a,c),b.place(p.firstChild,p,"before"),b.destroy(p),f.setStart(r,0),f.setEnd(r,r.length),d.removeAllRanges(),d.addRange(f),this.selection.collapse(!1),r.parentNode.removeChild(r);return!0}return!1},
_adjustNodeAndOffset:function(a,b){for(;a.length<b&&a.nextSibling&&3===a.nextSibling.nodeType;)b-=a.length,a=a.nextSibling;return{node:a,offset:b}},_tagNamesForCommand:function(a){return"bold"===a?["b","strong"]:"italic"===a?["i","em"]:"strikethrough"===a?["s","strike"]:"superscript"===a?["sup"]:"subscript"===a?["sub"]:"underline"===a?["u"]:[]},_stripBreakerNodes:function(a){if(this.isLoaded)return u(".ieFormatBreakerSpan",a).forEach(function(a){for(;a.firstChild;)b.place(a.firstChild,a,"before");
b.destroy(a)}),a},_stripTrailingEmptyNodes:function(a){function c(a){return/^(p|div|br)$/i.test(a.nodeName)&&0==a.children.length&&/^[\s\xA0]*$/.test(a.textContent||a.innerText||"")||3===a.nodeType&&/^[\s\xA0]*$/.test(a.nodeValue)}for(;a.lastChild&&c(a.lastChild);)b.destroy(a.lastChild);return a},_setTextDirAttr:function(a){this._set("textDir",a);this.onLoadDeferred.then(q.hitch(this,function(){this.editNode.dir=a}))}});return D})},"dijit/_editor/range":function(){define(["dojo/_base/array","dojo/_base/declare",
"dojo/_base/lang"],function(g,l,n){var f={getIndex:function(c,b){for(var a=[],e=[],d=c,k,f;c!=b;){var h=0;for(k=c.parentNode;f=k.childNodes[h++];)if(f===c){--h;break}a.unshift(h);e.unshift(h-k.childNodes.length);c=k}if(0<a.length&&3==d.nodeType){for(f=d.previousSibling;f&&3==f.nodeType;)a[a.length-1]--,f=f.previousSibling;for(f=d.nextSibling;f&&3==f.nodeType;)e[e.length-1]++,f=f.nextSibling}return{o:a,r:e}},getNode:function(c,b){if(!n.isArray(c)||0==c.length)return b;var a=b;g.every(c,function(b){if(0<=
b&&b<a.childNodes.length)a=a.childNodes[b];else return a=null,!1;return!0});return a},getCommonAncestor:function(c,b,a){a=a||c.ownerDocument.body;var e=function(b){for(var c=[];b;)if(c.unshift(b),b!==a)b=b.parentNode;else break;return c};c=e(c);b=e(b);for(var e=Math.min(c.length,b.length),d=c[0],k=1;k<e;k++)if(c[k]===b[k])d=c[k];else break;return d},getAncestor:function(c,b,a){for(a=a||c.ownerDocument.body;c&&c!==a;){var e=c.nodeName.toUpperCase();if(b.test(e))return c;c=c.parentNode}return null},
BlockTagNames:/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/,getBlockAncestor:function(c,b,a){a=a||c.ownerDocument.body;b=b||f.BlockTagNames;for(var e=null,d;c&&c!==a;){var k=c.nodeName.toUpperCase();!e&&b.test(k)&&(e=c);!d&&/^(?:BODY|TD|TH|CAPTION)$/.test(k)&&(d=c);c=c.parentNode}return{blockNode:e,blockContainer:d||c.ownerDocument.body}},atBeginningOfContainer:function(c,b,a){var e=!1,d=0==a;d||3!=b.nodeType||/^[\s\xA0]+$/.test(b.nodeValue.substr(0,a))&&(d=!0);if(d)for(e=!0;b&&b!==c;){if(b.previousSibling){e=
!1;break}b=b.parentNode}return e},atEndOfContainer:function(c,b,a){var e=!1,d=a==(b.length||b.childNodes.length);d||3!=b.nodeType||/^[\s\xA0]+$/.test(b.nodeValue.substr(a))&&(d=!0);if(d)for(e=!0;b&&b!==c;){if(b.nextSibling){e=!1;break}b=b.parentNode}return e},adjacentNoneTextNode:function(c,b){for(var a=c,e=0-c.length||0,d=b?"nextSibling":"previousSibling";a&&3==a.nodeType;)e+=a.length,a=a[d];return[a,e]},create:function(c){c=c||window;return c.getSelection?c.document.createRange():new h},getSelection:function(c,
b){if(c.getSelection)return c.getSelection();var a=new d.selection(c);b||a._getCurrentSelection();return a}};if(!window.getSelection)var d=f.ie={cachedSelection:{},selection:function(c){this._ranges=[];this.addRange=function(b,a){this._ranges.push(b);a||b._select();this.rangeCount=this._ranges.length};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0};this.getRangeAt=function(b){return this._ranges[b]};this._getCurrentSelection=function(){this.removeAllRanges();var b;b=c.document.selection.createRange();
b="CONTROL"==c.document.selection.type.toUpperCase()?new h(d.decomposeControlRange(b)):new h(d.decomposeTextRange(b));this.addRange(b,!0),this.isCollapsed=b.collapsed}},decomposeControlRange:function(c){var b=c.item(0),a=c.item(c.length-1);c=b.parentNode;var e=a.parentNode,b=f.getIndex(b,c).o[0],a=f.getIndex(a,e).o[0]+1;return[c,b,e,a]},getEndPoint:function(c,b){var a=c.duplicate();a.collapse(!b);var e="EndTo"+(b?"End":"Start"),d=a.parentElement(),k,h,l;0<d.childNodes.length?g.every(d.childNodes,
function(b,m){var p;if(3!=b.nodeType)if(a.moveToElementText(b),0<a.compareEndPoints(e,c))if(l&&3==l.nodeType)k=l,p=!0;else return k=d,h=m,!1;else{if(m==d.childNodes.length-1)return k=d,h=d.childNodes.length,!1}else m==d.childNodes.length-1&&(k=b,p=!0);if(p&&k){k=(p=f.adjacentNoneTextNode(k)[0])?p.nextSibling:d.firstChild;var q=f.adjacentNoneTextNode(k);p=q[0];q=q[1];p?(a.moveToElementText(p),a.collapse(!1)):a.moveToElementText(d);a.setEndPoint(e,c);h=a.text.length-q;return!1}l=b;return!0}):(k=d,h=
0);if(!b&&1==k.nodeType&&h==k.childNodes.length){var u=k.nextSibling;u&&3==u.nodeType&&(k=u,h=0)}return[k,h]},setEndPoint:function(c,b,a){c=c.duplicate();var e;if(3!=b.nodeType)if(0<a){if(e=b.childNodes[a-1])if(3==e.nodeType)b=e,a=e.length;else if(e.nextSibling&&3==e.nextSibling.nodeType)b=e.nextSibling,a=0;else{c.moveToElementText(e.nextSibling?e:b);var d=e.parentNode;e=d.insertBefore(e.ownerDocument.createTextNode(" "),e.nextSibling);c.collapse(!1);d.removeChild(e)}}else c.moveToElementText(b),
c.collapse(!0);3==b.nodeType&&(e=f.adjacentNoneTextNode(b),d=e[0],e=e[1],d?(c.moveToElementText(d),c.collapse(!1),"inherit"!=d.contentEditable&&e++):(c.moveToElementText(b.parentNode),c.collapse(!0),c.move("character",1),c.move("character",-1)),a+=e,0<a&&c.move("character",a)!=a&&console.error("Error when moving!"));return c},decomposeTextRange:function(c){var b=d.getEndPoint(c),a=b[0],e=b[1],f=b[0],b=b[1];c.htmlText.length&&(c.htmlText==c.text?b=e+c.text.length:(b=d.getEndPoint(c,!0),f=b[0],b=b[1]));
return[a,e,f,b]},setRange:function(c,b,a,e,f,k){b=d.setEndPoint(c,b,a);c.setEndPoint("StartToStart",b);if(!k)var h=d.setEndPoint(c,e,f);c.setEndPoint("EndToEnd",h||b);return c}},h=f.W3CRange=l(null,{constructor:function(){0<arguments.length?(this.setStart(arguments[0][0],arguments[0][1]),this.setEnd(arguments[0][2],arguments[0][3])):(this.startContainer=this.commonAncestorContainer=null,this.startOffset=0,this.endContainer=null,this.endOffset=0,this.collapsed=!0)},_updateInternal:function(){this.commonAncestorContainer=
this.startContainer!==this.endContainer?f.getCommonAncestor(this.startContainer,this.endContainer):this.startContainer;this.collapsed=this.startContainer===this.endContainer&&this.startOffset==this.endOffset},setStart:function(c,b){b=parseInt(b);if(this.startContainer!==c||this.startOffset!=b)delete this._cachedBookmark,this.startContainer=c,this.startOffset=b,this.endContainer?this._updateInternal():this.setEnd(c,b)},setEnd:function(c,b){b=parseInt(b);if(this.endContainer!==c||this.endOffset!=b)delete this._cachedBookmark,
this.endContainer=c,this.endOffset=b,this.startContainer?this._updateInternal():this.setStart(c,b)},setStartAfter:function(c,b){this._setPoint("setStart",c,b,1)},setStartBefore:function(c,b){this._setPoint("setStart",c,b,0)},setEndAfter:function(c,b){this._setPoint("setEnd",c,b,1)},setEndBefore:function(c,b){this._setPoint("setEnd",c,b,0)},_setPoint:function(c,b,a,e){a=f.getIndex(b,b.parentNode).o;this[c](b.parentNode,a.pop()+e)},_getIERange:function(){var c=(this._body||this.endContainer.ownerDocument.body).createTextRange();
d.setRange(c,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return c},getBookmark:function(){this._getIERange();return this._cachedBookmark},_select:function(){this._getIERange().select()},deleteContents:function(){var c=this.startContainer,b=this._getIERange();3!==c.nodeType||this.startOffset||this.setStartBefore(c);b.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=!0},cloneRange:function(){var c=new h([this.startContainer,
this.startOffset,this.endContainer,this.endOffset]);c._body=this._body;return c},detach:function(){this.startContainer=this.commonAncestorContainer=this._body=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=!0}});n.setObject("dijit.range",f);return f})},"dijit/_editor/html":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/sniff"],function(g,l,n){var f={};l.setObject("dijit._editor.html",f);var d=f.escapeXml=function(d,c){d=d.replace(/&/gm,"\x26amp;").replace(/</gm,
"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;");c||(d=d.replace(/'/gm,"\x26#39;"));return d};f.getNodeHtml=function(d){var c=[];f.getNodeHtmlHelper(d,c);return c.join("")};f.getNodeHtmlHelper=function(h,c){switch(h.nodeType){case 1:var b=h.nodeName.toLowerCase();if(!b||"/"==b.charAt(0))return"";c.push("\x3c",b);var a=[],e={},p;if(n("dom-attributes-explicit")||n("dom-attributes-specified-flag"))for(var k=0;p=h.attributes[k++];){var q=p.name;"_dj"===q.substr(0,3)||n("dom-attributes-specified-flag")&&
!p.specified||q in e||(p=p.value,("src"==q||"href"==q)&&h.getAttribute("_djrealurl")&&(p=h.getAttribute("_djrealurl")),8===n("ie")&&"style"===q&&(p=p.replace("HEIGHT:","height:").replace("WIDTH:","width:")),a.push([q,p]),e[q]=p)}else{var l=(/^input$|^img$/i.test(h.nodeName)?h:h.cloneNode(!1)).outerHTML,e=l.match(/[\w-]+=("[^"]*"|'[^']*'|\S*)/gi),l=l.substr(0,l.indexOf("\x3e"));g.forEach(e,function(c){if(c){var e=c.indexOf("\x3d");if(0<e&&(c=c.substring(0,e),"_dj"!=c.substr(0,3)))if("src"!=c&&"href"!=
c||!h.getAttribute("_djrealurl")){var d;switch(c){case "style":d=h.style.cssText.toLowerCase();break;case "class":d=h.className;break;case "width":if("img"===b){(e=/width=(\S+)/i.exec(l))&&(d=e[1]);break}case "height":if("img"===b){(e=/height=(\S+)/i.exec(l))&&(d=e[1]);break}default:d=h.getAttribute(c)}null!=d&&a.push([c,d.toString()])}else a.push([c,h.getAttribute("_djrealurl")])}},this)}a.sort(function(a,b){return a[0]<b[0]?-1:a[0]==b[0]?0:1});for(e=0;p=a[e++];)c.push(" ",p[0],'\x3d"',"string"===
typeof p[1]?d(p[1],!0):p[1],'"');switch(b){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":c.push(" /\x3e");break;case "script":c.push("\x3e",h.innerHTML,"\x3c/",b,"\x3e");break;default:c.push("\x3e"),h.hasChildNodes()&&f.getChildrenHtmlHelper(h,c),c.push("\x3c/",b,"\x3e")}break;case 4:case 3:c.push(d(h.nodeValue,!0));break;case 8:c.push("\x3c!--",d(h.nodeValue,!0),"--\x3e");break;default:c.push("\x3c!-- Element not recognized - Type: ",h.nodeType," Name: ",
h.nodeName,"--\x3e")}};f.getChildrenHtml=function(d){var c=[];f.getChildrenHtmlHelper(d,c);return c.join("")};f.getChildrenHtmlHelper=function(d,c){if(d)for(var b=d.childNodes||d,a=!n("ie")||b!==d,e,h=0;e=b[h++];)a&&e.parentNode!=d||f.getNodeHtmlHelper(e,c)};return f})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v){g=n("dijit._editor.plugins._FontDropDown",[a,e,p],{label:"",plainText:!1,templateString:"\x3cspan style\x3d'white-space: nowrap' class\x3d'dijit dijitReset dijitInline'\x3e\x3clabel class\x3d'dijitLeft dijitInline' for\x3d'${selectId}'\x3e${label}\x3c/label\x3e\x3cinput data-dojo-type\x3d'../../form/FilteringSelect' required\x3d'false' data-dojo-props\x3d'labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' class\x3d'${comboClass}' tabIndex\x3d'-1' id\x3d'${selectId}' data-dojo-attach-point\x3d'select' value\x3d''/\x3e\x3c/span\x3e",
contextRequire:g,postMixInProperties:function(){this.inherited(arguments);this.strings=d.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=b.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments)},postCreate:function(){this.select.set("store",new c({idProperty:"value",data:l.map(this.values,function(a){var b=this.strings[a]||a;return{label:this.getLabel(a,b),name:b,value:a}},this)}));this.select.set("value",
"",!1);this.disabled=this.select.get("disabled")},_setValueAttr:function(a,b){b=!1!==b;this.select.set("value",0>l.indexOf(this.values,a)?"":a,b);b||(this.select._lastValueReported=null)},_getValueAttr:function(){return this.select.get("value")},focus:function(){this.select.focus()},_setDisabledAttr:function(a){this._set("disabled",a);this.select.set("disabled",a)}});var u=n("dijit._editor.plugins._FontNameDropDown",g,{generic:!1,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){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(a,b){return this.plainText?b:"\x3cdiv style\x3d'font-family: "+a+"'\x3e"+b+"\x3c/div\x3e"},_setValueAttr:function(a,b){this.generic&&(a={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"}[a]||a);this.inherited(arguments,[a,!1!==b])}}),t=n("dijit._editor.plugins._FontSizeDropDown",g,{command:"fontSize",comboClass:"dijitFontSizeCombo",values:[1,2,3,4,5,6,7],getLabel:function(a,b){return this.plainText?b:"\x3cfont size\x3d"+a+"'\x3e"+b+"\x3c/font\x3e"},_setValueAttr:function(a,b){b=!1!==b;a.indexOf&&-1!=a.indexOf("px")&&(a={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[parseInt(a,10)]||a);this.inherited(arguments,[a,b])}}),m=n("dijit._editor.plugins._FormatBlockDropDown",
g,{command:"formatBlock",comboClass:"dijitFormatBlockCombo",values:"noFormat p h1 h2 h3 pre".split(" "),postCreate:function(){this.inherited(arguments);this.set("value","noFormat",!1)},getLabel:function(a,b){return this.plainText||"noFormat"==a?b:"\x3c"+a+"\x3e"+b+"\x3c/"+a+"\x3e"},_execCommand:function(a,b,c){if("noFormat"===c){var e;if((b=v.getSelection(a.window))&&0<b.rangeCount){c=b.getRangeAt(0);var d;if(c){b=c.startContainer;for(e=c.endContainer;b&&b!==a.editNode&&b!==a.document.body&&1!==b.nodeType;)b=
b.parentNode;for(;e&&e!==a.editNode&&e!==a.document.body&&1!==e.nodeType;)e=e.parentNode;var k=h.hitch(this,function(b,c){if(b.childNodes&&b.childNodes.length){var e;for(e=0;e<b.childNodes.length;e++){var d=b.childNodes[e];if(1==d.nodeType&&a.selection.inSelection(d)){var m=d.tagName?d.tagName.toLowerCase():"";-1!==l.indexOf(this.values,m)&&c.push(d);k(d,c)}}}});c=h.hitch(this,function(b){if(b&&b.length){for(a.beginEditing();b.length;)this._removeFormat(a,b.pop());a.endEditing()}});var m=[];if(b==
e){var f;for(e=b;e&&e!==a.editNode&&e!==a.document.body;){if(1==e.nodeType&&(d=e.tagName?e.tagName.toLowerCase():"",-1!==l.indexOf(this.values,d))){f=e;break}e=e.parentNode}k(b,m);f&&(m=[f].concat(m))}else for(e=b;a.selection.inSelection(e);)1==e.nodeType&&(d=e.tagName?e.tagName.toLowerCase():"",-1!==l.indexOf(this.values,d)&&m.push(e),k(e,m)),e=e.nextSibling;c(m);a.onDisplayChanged()}}}else a.execCommand(b,c)},_removeFormat:function(a,b){if(a.customUndo){for(;b.firstChild;)f.place(b.firstChild,b,
"before");b.parentNode.removeChild(b)}else{a.selection.selectElementChildren(b);var c=a.selection.getSelectedHtml();a.selection.selectElement(b);a.execCommand("inserthtml",c||"")}}}),r=n("dijit._editor.plugins.FontChoice",q,{useDefaultCommand:!1,_initButton:function(){var a={fontName:u,fontSize:t,formatBlock:m}[this.command],b=this.params;this.params.custom&&(b.values=this.params.custom);var c=this.editor;this.button=new a(h.delegate({dir:c.dir,lang:c.lang},b));this.own(this.button.select.on("change",
h.hitch(this,function(a){this.editor.focused&&this.editor.focus();"fontName"==this.command&&-1!=a.indexOf(" ")&&(a="'"+a+"'");this.button._execCommand?this.button._execCommand(this.editor,this.command,a):this.editor.execCommand(this.command,a)})))},updateState:function(){var a=this.editor,b=this.command;if(a&&a.isLoaded&&b.length&&this.button){var c=this.get("disabled");this.button.set("disabled",c);if(!c){var e;try{e=a.queryCommandValue(b)||""}catch(G){e=""}(c=h.isString(e)&&(e.match(/'([^']*)'/)||
e.match(/"([^"]*)"/)))&&(e=c[1]);if("formatBlock"===b)if(e&&"p"!=e)0>l.indexOf(this.button.values,e)&&(e="noFormat");else{e=null;var d;(b=v.getSelection(this.editor.window))&&0<b.rangeCount&&(b=b.getRangeAt(0))&&(d=b.endContainer);for(;d&&d!==a.editNode&&d!==a.document;){if((b=d.tagName?d.tagName.toLowerCase():"")&&-1<l.indexOf(this.button.values,b)){e=b;break}d=d.parentNode}e||(e="noFormat")}e!==this.button.get("value")&&this.button.set("value",e,!1)}}}});l.forEach(["fontName","fontSize","formatBlock"],
function(a){q.registry[a]=function(b){return new r({command:a,plainText:b.plainText})}});r._FontDropDown=g;r._FontNameDropDown=u;r._FontSizeDropDown=t;r._FormatBlockDropDown=m;return r})},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(g,l,n){return g("dojo.store.Memory",null,{constructor:function(f){for(var d in f)this[d]=f[d];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:n,get:function(f){return this.data[this.index[f]]},
getIdentity:function(f){return f[this.idProperty]},put:function(f,d){var h=this.data,c=this.index,b=this.idProperty,b=f[b]=d&&"id"in d?d.id:b in f?f[b]:Math.random();if(b in c){if(d&&!1===d.overwrite)throw Error("Object already exists");h[c[b]]=f}else c[b]=h.push(f)-1;return b},add:function(f,d){(d=d||{}).overwrite=!1;return this.put(f,d)},remove:function(f){var d=this.index,h=this.data;if(f in d)return h.splice(d[f],1),this.setData(h),!0},query:function(f,d){return l(this.queryEngine(f,d)(this.data))},
setData:function(f){f.items?(this.idProperty=f.identifier||this.idProperty,f=this.data=f.items):this.data=f;this.index={};for(var d=0,h=f.length;d<h;d++)this.index[f[d][this.idProperty]]=d}})})},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(g,l,n){var f=function(d){function h(b){d[b]=function(){var a=arguments,e=n(d,function(c){Array.prototype.unshift.call(a,c);return f(g[b].apply(g,a))});if("forEach"!==b||c)return e}}if(!d)return d;
var c=!!d.then;c&&(d=l.delegate(d));h("forEach");h("filter");h("map");null==d.total&&(d.total=n(d,function(b){return b.length}));return d};l.setObject("dojo.store.util.QueryResults",f);return f})},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(g){return function(l,n){function f(d){d=g.filter(d,l);var c=n&&n.sort;c&&d.sort("function"==typeof c?c:function(a,b){for(var e,d=0;e=c[d];d++){var f=a[e.attribute],h=b[e.attribute],f=null!=f?f.valueOf():f,h=null!=h?h.valueOf():
h;if(f!=h)return!!e.descending==(null==f||f>h)?-1:1}return 0});if(n&&(n.start||n.count)){var b=d.length;d=d.slice(n.start||0,(n.start||0)+(n.count||Infinity));d.total=b}return d}switch(typeof l){default:throw Error("Can not query with a "+typeof l);case "object":case "undefined":var d=l;l=function(f){for(var c in d){var b=d[c];if(b&&b.test){if(!b.test(f[c],f))return!1}else if(b!=f[c])return!1}return!0};break;case "string":if(!this[l])throw Error("No filter function "+l+" was found in store");l=this[l];
case "function":}f.matches=l;return f}})},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(g,l,n,f,d){return g("dijit.form.FilteringSelect",[f,d],{required:!0,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened},isValid:function(){return!!this.item||!this.required&&""==this.get("displayedValue")},_refreshState:function(){this.searchTimer||this.inherited(arguments)},_callbackSetLabel:function(d,
c,b,a){c&&c[this.searchAttr]!==this._lastQuery||!c&&d.length&&this.store.getIdentity(d[0])!=this._lastQuery||(d.length?this.set("item",d[0],a):this.set("value","",a||void 0===a&&!this.focused,this.textbox.value,null))},_openResultList:function(d,c,b){c[this.searchAttr]===this._lastQuery&&(this.inherited(arguments),void 0===this.item&&this.validate(!0))},_getValueAttr:function(){return this.valueNode.value},_getValueField:function(){return"value"},_setValueAttr:function(d,c,b,a){this._onChangeActive||
(c=null);if(void 0===a){if(null===d||""===d)if(d="",!l.isString(b)){this._setDisplayedValueAttr(b||"",c);return}var e=this;this._lastQuery=d;n(this.store.get(d),function(a){e._callbackSetLabel(a?[a]:[],void 0,void 0,c)})}else this.valueNode.value=d,this.inherited(arguments,[d,c,b,a])},_setItemAttr:function(d,c,b){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value},_getDisplayQueryString:function(d){return d.replace(/([\\\*\?])/g,"\\$1")},_setDisplayedValueAttr:function(d,c){null==
d&&(d="");if(!this._created){if(!("displayedValue"in this.params))return;c=!1}if(this.store){this.closeDropDown();var b=l.clone(this.query),a=this._getDisplayQueryString(d),e;this.store._oldAPI?e=a:(e=this._patternToRegExp(a),e.toString=function(){return a});this._lastQuery=b[this.searchAttr]=e;this._lastDisplayedValue=this.textbox.value=d;this._set("displayedValue",d);var f=this,k={queryOptions:{ignoreCase:this.ignoreCase,deep:!0}};l.mixin(k,this.fetchProperties);this._fetchHandle=this.store.query(b,
k);n(this._fetchHandle,function(a){f._fetchHandle=null;f._callbackSetLabel(a||[],b,k,c)},function(a){f._fetchHandle=null;f._cancelingQuery||console.error("dijit.form.FilteringSelect: "+a.toString())})}},undo:function(){this.set("displayedValue",this._lastDisplayedValue)}})})},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(g,l,n,f){return g("dijit.form.MappedTextBox",f,{postMixInProperties:function(){this.inherited(arguments);
this.nameAttrSetting=""},_setNameAttr:"valueNode",serialize:function(d){return d.toString?d.toString():""},toString:function(){var d=this.filter(this.get("value"));return null!=d?"string"==typeof d?d:this.serialize(d,this.constraints):""},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.valueNode=n.place("\x3cinput type\x3d'hidden'"+(this.name&&!l("msapp")?' name\x3d"'+this.name.replace(/"/g,"\x26quot;")+
'"':"")+"/\x3e",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".split(" "),function(g,l,n,f,d,h,c){var b=g("dijit.form.ValidationTextBox",d,{templateString:c,required:!1,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",
constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(a,c){c!=b.prototype[a]&&(l.deprecated("ValidationTextBox id\x3d"+this.id+", set('"+a+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0"),this.set("pattern",c))},_setRegExpGenAttr:function(a){this._deprecateRegExp("regExpGen",a);this._set("regExpGen",this._computeRegexp)},_setRegExpAttr:function(a){this._deprecateRegExp("regExp",a)},_setValueAttr:function(){this.inherited(arguments);
this._refreshState()},validator:function(a,b){return(new RegExp("^(?:"+this._computeRegexp(b)+")"+(this.required?"":"?")+"$")).test(a)&&(!this.required||!this._isEmpty(a))&&(this._isEmpty(a)||void 0!==this.parse(a,b))},_isValidSubset:function(){return 0==this.textbox.value.search(this._partialre)},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"))},_isEmpty:function(a){return(this.trim?/^\s*$/:/^$/).test(a)},getErrorMessage:function(){var a="$_unset_$"==this.invalidMessage?
this.messages.invalidMessage:this.invalidMessage?this.invalidMessage:this.promptMessage,b="$_unset_$"==this.missingMessage?this.messages.missingMessage:this.missingMessage?this.missingMessage:a;return this.required&&this._isEmpty(this.textbox.value)?b:a},getPromptMessage:function(){return this.promptMessage},_maskValidSubsetError:!0,validate:function(a){var b="",c=this.disabled||this.isValid(a);c&&(this._maskValidSubsetError=!0);var d=this._isEmpty(this.textbox.value),f=!c&&a&&this._isValidSubset();
this._set("state",c?"":((!this._hasBeenBlurred||a)&&d||f)&&(this._maskValidSubsetError||f&&!this._hasBeenBlurred&&a)?"Incomplete":"Error");this.focusNode.setAttribute("aria-invalid","Error"==this.state?"true":"false");"Error"==this.state?(this._maskValidSubsetError=a&&f,b=this.getErrorMessage(a)):"Incomplete"==this.state?(b=this.getPromptMessage(a),this._maskValidSubsetError=!this._hasBeenBlurred||a):d&&(b=this.getPromptMessage(a));this.set("message",b);return c},displayMessage:function(a){a&&this.focused?
h.show(a,this.domNode,this.tooltipPosition,!this.isLeftToRight()):h.hide(this.domNode)},_refreshState:function(){this._created&&this.validate(this.focused);this.inherited(arguments)},constructor:function(a){this.constraints=n.clone(this.constraints);this.baseClass+=" dijitValidationTextBox"},startup:function(){this.inherited(arguments);this._refreshState()},_setConstraintsAttr:function(a){!a.locale&&this.lang&&(a.locale=this.lang);this._set("constraints",a);this._refreshState()},_setPatternAttr:function(a){this._set("pattern",
a);this._refreshState()},_computeRegexp:function(a){var b=this.pattern;"function"==typeof b&&(b=b.call(this,a));if(b!=this._lastRegExp){var c="";this._lastRegExp=b;".*"!=b&&b.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(a){switch(a.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":c+=a;break;case ")":c+="|$)";break;default:c+="(?:"+a+"|$)"}});try{"".search(c)}catch(k){c=this.pattern,console.warn("RegExp error in "+this.declaredClass+": "+this.pattern)}this._partialre=
"^(?:"+c+")$"}return b},postMixInProperties:function(){this.inherited(arguments);this.messages=f.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints)},_setDisabledAttr:function(a){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(a){this._set("required",a);this.focusNode.setAttribute("aria-required",a);this._refreshState()},_setMessageAttr:function(a){this._set("message",a);this.displayMessage(a)},reset:function(){this._maskValidSubsetError=
!0;this.inherited(arguments)},_onBlur:function(){this.displayMessage("");this.inherited(arguments)},destroy:function(){h.hide(this.domNode);this.inherited(arguments)}});return b})},"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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p){b=g("dijit.form.TextBox"+(c("dojo-bidi")?"_NoBidi":""),
[b,a],{templateString:e,_singleNodeTemplate:'\x3cinput class\x3d"dijit dijitReset dijitLeft dijitInputField" data-dojo-attach-point\x3d"textbox,focusNode" autocomplete\x3d"off" type\x3d"${type}" ${!nameAttrSetting} /\x3e',_buttonInputDisabled:c("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var a=this.type.toLowerCase();if(this.templateString&&"input"==this.templateString.toLowerCase()||("hidden"==a||"file"==a)&&this.templateString==this.constructor.prototype.templateString)this.templateString=
this._singleNodeTemplate;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);9>c("ie")&&this.defer(function(){try{var a=n.getComputedStyle(this.domNode);if(a){var b=a.fontFamily;if(b){var c=this.domNode.getElementsByTagName("INPUT");if(c)for(a=0;a<c.length;a++)c[a].style.fontFamily=b}}}catch(u){}})},_setPlaceHolderAttr:function(a){this._set("placeHolder",a);this._phspan||(this._attachPoints.push("_phspan"),this._phspan=l.create("span",{className:"dijitPlaceHolder dijitInputField"},
this.textbox,"after"),this.own(h(this._phspan,"mousedown",function(a){a.preventDefault()}),h(this._phspan,"touchend, pointerup, MSPointerUp",d.hitch(this,function(){this.focus()}))));this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(a));this._updatePlaceHolder()},_onInput:function(a){this.inherited(arguments);this._updatePlaceHolder()},_updatePlaceHolder:function(){this._phspan&&(this._phspan.style.display=this.placeHolder&&!this.textbox.value?"":"none")},
_setValueAttr:function(a,b,c){this.inherited(arguments);this._updatePlaceHolder()},getDisplayedValue:function(){f.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue")},setDisplayedValue:function(a){f.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",a)},_onBlur:function(a){this.disabled||(this.inherited(arguments),
this._updatePlaceHolder(),c("mozilla")&&this.selectOnClick&&(this.textbox.selectionStart=this.textbox.selectionEnd=void 0))},_onFocus:function(a){this.disabled||this.readOnly||(this.inherited(arguments),this._updatePlaceHolder())}});9>c("ie")&&(b.prototype._isTextSelected=function(){var a=this.ownerDocument.selection.createRange();return a.parentElement()==this.textbox&&0<a.text.length},p._setSelectionRange=a._setSelectionRange=function(a,b,c){a.createTextRange&&(a=a.createTextRange(),a.collapse(!0),
a.moveStart("character",-99999),a.moveStart("character",b),a.moveEnd("character",c-b),a.select())});c("dojo-bidi")&&(b=g("dijit.form.TextBox",b,{_setPlaceHolderAttr:function(a){this.inherited(arguments);this.applyTextDir(this._phspan)}}));return b})},"dijit/form/_TextBoxMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/sniff dojo/keys dojo/_base/lang dojo/on ../main".split(" "),function(g,l,n,f,d,h,c,b){var a=l("dijit.form._TextBoxMixin"+(f("dojo-bidi")?"_NoBidi":""),null,
{trim:!1,uppercase:!1,lowercase:!1,propercase:!1,maxLength:"",selectOnClick:!1,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints)},_setValueAttr:function(a,b,c){var e;void 0!==a&&(e=this.filter(a),"string"!=typeof c&&(c=null===e||"number"==typeof e&&isNaN(e)?"":this.filter(this.format(e,this.constraints)),0!=this.compare(e,this.filter(this.parse(c,this.constraints)))&&(c=null)));null==c||"number"==typeof c&&isNaN(c)||this.textbox.value==c||(this.textbox.value=
c,this._set("displayedValue",this.get("displayedValue")));this.inherited(arguments,[e,b])},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value)},_setDisplayedValueAttr:function(a){null==a?a="":"string"!=typeof a&&(a=String(a));this.textbox.value=a;this._setValueAttr(this.get("value"),void 0);this._set("displayedValue",this.get("displayedValue"))},format:function(a){return null==a?"":a.toString?a.toString():a},parse:function(a){return a},_refreshState:function(){},
onInput:function(){},_onInput:function(a){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||a);delete this._lastInputProducingEvent;this.intermediateChanges&&this._handleOnChange(this.get("value"),!1)},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"))},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);this.own(c(this.textbox,"keydown, keypress, paste, cut, compositionend",
h.hitch(this,function(a){var b;if("keydown"==a.type&&229!=a.keyCode){b=a.keyCode;switch(b){case d.SHIFT:case d.ALT:case d.CTRL:case d.META:case d.CAPS_LOCK:case d.NUM_LOCK:case d.SCROLL_LOCK:return}if(!a.ctrlKey&&!a.metaKey&&!a.altKey){switch(b){case d.NUMPAD_0:case d.NUMPAD_1:case d.NUMPAD_2:case d.NUMPAD_3:case d.NUMPAD_4:case d.NUMPAD_5:case d.NUMPAD_6:case d.NUMPAD_7:case d.NUMPAD_8:case d.NUMPAD_9:case d.NUMPAD_MULTIPLY:case d.NUMPAD_PLUS:case d.NUMPAD_ENTER:case d.NUMPAD_MINUS:case d.NUMPAD_PERIOD:case d.NUMPAD_DIVIDE:return}if(65<=
b&&90>=b||48<=b&&57>=b||b==d.SPACE)return;b=!1;for(var e in d)if(d[e]===a.keyCode){b=!0;break}if(!b)return}}(b=32<=a.charCode?String.fromCharCode(a.charCode):a.charCode)||(b=65<=a.keyCode&&90>=a.keyCode||48<=a.keyCode&&57>=a.keyCode||a.keyCode==d.SPACE?String.fromCharCode(a.keyCode):a.keyCode);b||(b=229);if("keypress"==a.type){if("string"!=typeof b)return;if("a"<=b&&"z">=b||"A"<=b&&"Z">=b||"0"<=b&&"9">=b||" "===b)if(a.ctrlKey||a.metaKey||a.altKey)return}var q={faux:!0},g;for(g in a)/^(layer[XY]|returnValue|keyLocation)$/.test(g)||
(e=a[g],"function"!=typeof e&&"undefined"!=typeof e&&(q[g]=e));h.mixin(q,{charOrCode:b,_wasConsumed:!1,preventDefault:function(){q._wasConsumed=!0;a.preventDefault()},stopPropagation:function(){a.stopPropagation()}});this._lastInputProducingEvent=q;!1===this.onInput(q)&&(q.preventDefault(),q.stopPropagation());if(!q._wasConsumed&&9>=f("ie"))switch(a.keyCode){case d.TAB:case d.ESCAPE:case d.DOWN_ARROW:case d.UP_ARROW:case d.LEFT_ARROW:case d.RIGHT_ARROW:break;default:a.keyCode==d.ENTER&&"textarea"!=
this.textbox.tagName.toLowerCase()||this.defer(function(){this.textbox.value!==this._lastInputEventValue&&c.emit(this.textbox,"input",{bubbles:!0})})}})),c(this.textbox,"input",h.hitch(this,"_onInput")),c(this.domNode,"keypress",function(a){a.stopPropagation()}))},_blankValue:"",filter:function(a){if(null===a)return this._blankValue;if("string"!=typeof a)return a;this.trim&&(a=h.trim(a));this.uppercase&&(a=a.toUpperCase());this.lowercase&&(a=a.toLowerCase());this.propercase&&(a=a.replace(/[^\s]+/g,
function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}));return a},_setBlurValue:function(){this._setValueAttr(this.get("value"),!0)},_onBlur:function(a){this.disabled||(this._setBlurValue(),this.inherited(arguments))},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd},_onFocus:function(b){this.disabled||this.readOnly||(this.selectOnClick&&"mouse"==b&&(this._selectOnClickHandle=c.once(this.domNode,"mouseup, touchend",h.hitch(this,function(b){this._isTextSelected()||
a.selectInputText(this.textbox)})),this.own(this._selectOnClickHandle),this.defer(function(){this._selectOnClickHandle&&(this._selectOnClickHandle.remove(),this._selectOnClickHandle=null)},500)),this.inherited(arguments),this._refreshState())},reset:function(){this.textbox.value="";this.inherited(arguments)}});f("dojo-bidi")&&(a=l("dijit.form._TextBoxMixin",a,{_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)}}));a._setSelectionRange=b._setSelectionRange=function(a,b,c){a.setSelectionRange&&a.setSelectionRange(b,c)};a.selectInputText=b.selectInputText=function(b,c,d){b=n.byId(b);isNaN(c)&&(c=0);isNaN(d)&&(d=b.value?b.value.length:0);try{b.focus(),a._setSelectionRange(b,c,d)}catch(q){}};return a})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r){function w(){}var C=l("dijit._MasterTooltip",[v,u],{duration:k.defaultDuration,templateString:m,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new t(this.domNode);this.fadeIn=n.fadeIn({node:this.domNode,duration:this.duration,onEnd:b.hitch(this,"_onShow")});this.fadeOut=n.fadeOut({node:this.domNode,duration:this.duration,onEnd:b.hitch(this,"_onHide")})},show:function(a,d,e,m,k,f,h){if(!this.aroundNode||this.aroundNode!==
d||this.containerNode.innerHTML!=a)if("playing"==this.fadeOut.status())this._onDeck=arguments;else{this.containerNode.innerHTML=a;k&&this.set("textDir",k);this.containerNode.align=m?"right":"left";var r=q.around(this.domNode,d,e&&e.length?e:y.defaultPosition,!m,b.hitch(this,"orient")),u=r.aroundNodePos;"M"==r.corner.charAt(0)&&"M"==r.aroundCorner.charAt(0)?(this.connectorNode.style.top=u.y+(u.h-this.connectorNode.offsetHeight>>1)-r.y+"px",this.connectorNode.style.left=""):"M"==r.corner.charAt(1)&&
"M"==r.aroundCorner.charAt(1)?this.connectorNode.style.left=u.x+(u.w-this.connectorNode.offsetWidth>>1)-r.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top="");c.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=!0;this.aroundNode=d;this.onMouseEnter=f||w;this.onMouseLeave=h||w}},orient:function(a,b,c,d,e){this.connectorNode.style.top="";var m=d.h;d=d.w;a.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"}[b+"-"+c];this.domNode.style.width="auto";var k=h.position(this.domNode);if(p("ie")||p("trident"))k.w+=2;h.setMarginBox(this.domNode,{w:Math.min(Math.max(d,1),k.w)});"B"==c.charAt(0)&&"B"==b.charAt(0)?(a=h.position(a),b=this.connectorNode.offsetHeight,
a.h>m?(this.connectorNode.style.top=m-(e.h+b>>1)+"px",this.connectorNode.style.bottom=""):(this.connectorNode.style.bottom=Math.min(Math.max(e.h/2-b/2,0),a.h-b)+"px",this.connectorNode.style.top="")):(this.connectorNode.style.top="",this.connectorNode.style.bottom="");return Math.max(0,k.w-d)},_onShow:function(){p("ie")&&(this.domNode.style.filter="")},hide:function(a){this._onDeck&&this._onDeck[1]==a?this._onDeck=null:this.aroundNode===a&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=
null,this.fadeOut.play());this.onMouseEnter=this.onMouseLeave=w},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});p("dojo-bidi")&&C.extend({_setAutoTextDir:function(a){this.applyTextDir(a);g.forEach(a.children,function(a){this._setAutoTextDir(a)},this)},_setTextDirAttr:function(a){this._set("textDir",a);"auto"==a?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}});r.showTooltip=
function(a,b,c,d,e,m,k){c&&(c=g.map(c,function(a){return{after:"after-centered",before:"before-centered"}[a]||a}));y._masterTT||(r._masterTT=y._masterTT=new C);return y._masterTT.show(a,b,c,d,e,m,k)};r.hideTooltip=function(a){return y._masterTT&&y._masterTT.hide(a)};var y=l("dijit.Tooltip",v,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(c){g.forEach(this._connections||[],function(a){g.forEach(a,function(a){a.remove()})},this);this._connectIds=
g.filter(b.isArrayLike(c)?c:c?[c]:[],function(a){return f.byId(a,this.ownerDocument)},this);this._connections=g.map(this._connectIds,function(c){c=f.byId(c,this.ownerDocument);var d=this.selector,m=d?function(a){return e.selector(d,a)}:function(a){return a},k=this;return[e(c,m(a.enter),function(){k._onHover(this)}),e(c,m("focusin"),function(){k._onHover(this)}),e(c,m(a.leave),b.hitch(k,"_onUnHover")),e(c,m("focusout"),b.hitch(k,"set","state","DORMANT"))]},this);this._set("connectId",c)},addTarget:function(a){a=
a.id||a;-1==g.indexOf(this._connectIds,a)&&this.set("connectId",this._connectIds.concat(a))},removeTarget:function(a){a=g.indexOf(this._connectIds,a.id||a);0<=a&&(this._connectIds.splice(a,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments);d.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var a=this.connectId;g.forEach(b.isArrayLike(a)?a:[a],this.addTarget,this)},getContent:function(a){return this.label||this.domNode.innerHTML},
state:"DORMANT",_setStateAttr:function(a){if(!(this.state==a||"SHOW TIMER"==a&&"SHOWING"==this.state||"HIDE TIMER"==a&&"DORMANT"==this.state)){this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer);this._showTimer&&(this._showTimer.remove(),delete this._showTimer);switch(a){case "DORMANT":this._connectNode&&(y.hide(this._connectNode),delete this._connectNode,this.onHide());break;case "SHOW TIMER":"SHOWING"!=this.state&&(this._showTimer=this.defer(function(){this.set("state","SHOWING")},
this.showDelay));break;case "SHOWING":var c=this.getContent(this._connectNode);if(!c){this.set("state","DORMANT");return}y.show(c,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,b.hitch(this,"set","state","SHOWING"),b.hitch(this,"set","state","HIDE TIMER"));this.onShow(this._connectNode,this.position);break;case "HIDE TIMER":this._hideTimer=this.defer(function(){this.set("state","DORMANT")},this.hideDelay)}this._set("state",a)}},_onHover:function(a){this._connectNode&&a!=this._connectNode&&
this.set("state","DORMANT");this._connectNode=a;this.set("state","SHOW TIMER")},_onUnHover:function(a){this.set("state","HIDE TIMER")},open:function(a){this.set("state","DORMANT");this._connectNode=a;this.set("state","SHOWING")},close:function(){this.set("state","DORMANT")},onShow:function(){},onHide:function(){},destroy:function(){this.set("state","DORMANT");g.forEach(this._connections||[],function(a){g.forEach(a,function(a){a.remove()})},this);this.inherited(arguments)}});y._MasterTooltip=C;y.show=
r.showTooltip;y.hide=r.hideTooltip;y.defaultPosition=["after-centered","before-centered"];return y})},"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".split(" "),function(g,l,n,f,d,h,c,b,a){return g("dijit.form.ComboBoxMixin",[b,h],{dropDownClass:c,hasDownArrow:!0,templateString:a,baseClass:"dijitTextBox dijitComboBox",
cssStateNodes:{_buttonNode:"dijitDownArrowButton"},_setHasDownArrowAttr:function(a){this._set("hasDownArrow",a);this._buttonNode.style.display=a?"":"none"},_showResultList:function(){this.displayMessage("");this.inherited(arguments)},_setStoreAttr:function(a){a.get||f.mixin(a,{_oldAPI:!0,get:function(a){var b=new l;this.fetchItemByIdentity({identity:a,onItem:function(a){b.resolve(a)},onError:function(a){b.reject(a)}});return b.promise},query:function(a,b){var c=new l(function(){e.abort&&e.abort()});
c.total=new l;var e=this.fetch(f.mixin({query:a,onBegin:function(a){c.total.resolve(a)},onComplete:function(a){c.resolve(a)},onError:function(a){c.reject(a)}},b));return d(c)}});this._set("store",a)},postMixInProperties:function(){var a=this.params.store||this.store;a&&this._setStoreAttr(a);this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var b=this.declaredClass;f.mixin(this.store,{getValue:function(a,c){n.deprecated(b+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly",
"","2.0");return a[c]},getLabel:function(a){n.deprecated(b+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return a.name},fetch:function(a){n.deprecated(b+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");require(["dojo/data/ObjectStore"],f.hitch(this,function(b){(new b({objectStore:this})).fetch(a)}))}})}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":
"list")}})})},"dijit/form/_AutoCompleterMixin":function(){define("dojo/aspect dojo/_base/declare dojo/dom-attr dojo/keys dojo/_base/lang dojo/query dojo/regexp dojo/sniff ./DataList ./_TextBoxMixin ./_SearchMixin".split(" "),function(g,l,n,f,d,h,c,b,a,e,p){l=l("dijit.form._AutoCompleterMixin",p,{item:null,autoComplete:!0,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:!1,_getCaretPos:function(a){var c=0;if("number"==typeof a.selectionStart)c=a.selectionStart;else if(b("ie")){var d=
a.ownerDocument.selection.createRange().duplicate();a=a.createTextRange();d.move("character",0);a.move("character",0);try{a.setEndPoint("EndToEnd",d),c=String(a.text).replace(/\r/g,"").length}catch(u){}}return c},_setCaretPos:function(a,b){b=parseInt(b);e.selectInputText(a,b,b)},_setDisabledAttr:function(a){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",a?"true":"false")},_onKey:function(a){if(!(32<=a.charCode)){var b=a.charCode||a.keyCode;if(b!=f.ALT&&b!=f.CTRL&&b!=f.META&&b!=
f.SHIFT){var c=this.dropDown,d=null;this._abortQuery();this.inherited(arguments);if(!(a.altKey||a.ctrlKey||a.metaKey))switch(this._opened&&(d=c.getHighlightedOption()),b){case f.PAGE_DOWN:case f.DOWN_ARROW:case f.PAGE_UP:case f.UP_ARROW:this._opened&&this._announceOption(d);a.stopPropagation();a.preventDefault();break;case f.ENTER:if(d){if(d==c.nextButton){this._nextSearch(1);a.stopPropagation();a.preventDefault();break}else if(d==c.previousButton){this._nextSearch(-1);a.stopPropagation();a.preventDefault();
break}a.stopPropagation();a.preventDefault()}else this._setBlurValue(),this._setCaretPos(this.focusNode,this.focusNode.value.length);case f.TAB:b=this.get("displayedValue");if(c&&(b==c._messages.previousMessage||b==c._messages.nextMessage))break;d&&this._selectOption(d);case f.ESCAPE:this._opened&&(this._lastQuery=null,this.closeDropDown())}}}},_autoCompleteText:function(a){var b=this.focusNode;e.selectInputText(b,b.value.length);var c=this.ignoreCase?"toLowerCase":"substr";0==a[c](0).indexOf(this.focusNode.value[c](0))?
(c=this.autoComplete?this._getCaretPos(b):b.value.length,c+1>b.value.length&&(b.value=a,e.selectInputText(b,c))):(b.value=a,e.selectInputText(b))},_openResultList:function(a,b,c){var e=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();a.length||0!=c.start?(this._nextSearch=this.dropDown.onPage=d.hitch(this,function(b){a.nextPage(-1!==b);this.focus()}),this.dropDown.createOptions(a,c,d.hitch(this,"_getMenuLabelFromItem")),this._showResultList(),"direction"in c?(c.direction?this.dropDown.highlightFirstOption():
c.direction||this.dropDown.highlightLastOption(),e&&this._announceOption(this.dropDown.getHighlightedOption())):!this.autoComplete||this._prev_key_backspace||/^[*]+$/.test(b[this.searchAttr].toString())||this._announceOption(this.dropDown.containerNode.firstChild.nextSibling)):this.closeDropDown()},_showResultList:function(){this.closeDropDown(!0);this.openDropDown();this.domNode.setAttribute("aria-expanded","true")},loadDropDown:function(){this._startSearchAll()},isLoaded:function(){return!1},closeDropDown:function(){this._abortQuery();
this._opened&&(this.inherited(arguments),this.domNode.setAttribute("aria-expanded","false"))},_setBlurValue:function(){var a=this.get("displayedValue"),b=this.dropDown;!b||a!=b._messages.previousMessage&&a!=b._messages.nextMessage?"undefined"==typeof this.item?(this.item=null,this.set("displayedValue",a)):(this.value!=this._lastValueReported&&this._handleOnChange(this.value,!0),this._refreshState()):this._setValueAttr(this._lastValueReported,!0);this.focusNode.removeAttribute("aria-activedescendant")},
_setItemAttr:function(a,b,c){var d="";a&&(c||(c=this.store._oldAPI?this.store.getValue(a,this.searchAttr):a[this.searchAttr]),d=this._getValueField()!=this.searchAttr?this.store.getIdentity(a):c);this.set("value",d,b,c,a)},_announceOption:function(a){if(a){var b;if(a==this.dropDown.nextButton||a==this.dropDown.previousButton)b=a.innerHTML,this.item=void 0,this.value="";else{var c=this.dropDown.items[a.getAttribute("item")];b=(this.store._oldAPI?this.store.getValue(c,this.searchAttr):c[this.searchAttr]).toString();
this.set("item",c,!1,b)}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",n.get(a,"id"));this._autoCompleteText(b)}},_selectOption:function(a){this.closeDropDown();a&&this._announceOption(a);this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,!0);this.focusNode.removeAttribute("aria-activedescendant")},_startSearchAll:function(){this._startSearch("")},_startSearchFromInput:function(){this.item=
void 0;this.inherited(arguments)},_startSearch:function(a){if(!this.dropDown){var b=this.id+"_popup";this.dropDown=new (d.isString(this.dropDownClass)?d.getObject(this.dropDownClass,!1):this.dropDownClass)({onChange:d.hitch(this,this._selectOption),id:b,dir:this.dir,textDir:this.textDir})}this._lastInput=a;this.inherited(arguments)},_getValueField:function(){return this.searchAttr},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef&&(this.store=new a({},this.srcNodeRef),
!("value"in this.params))){var b=this.item=this.store.fetchSelectedItem();if(b){var c=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(b,c):b[c]}}},postCreate:function(){var a=h('label[for\x3d"'+this.id+'"]');a.length&&(a[0].id||(a[0].id=this.id+"_label"),this.domNode.setAttribute("aria-labelledby",a[0].id));this.inherited(arguments);g.after(this,"onSearch",d.hitch(this,"_openResultList"),!0)},_getMenuLabelFromItem:function(a){a=this.labelFunc(a,this.store);var b=this.labelType;
"none"!=this.highlightMatch&&"text"==this.labelType&&this._lastInput&&(a=this.doHighlight(a,this._lastInput),b="html");return{html:"html"==b,label:a}},doHighlight:function(a,b){var d=(this.ignoreCase?"i":"")+("all"==this.highlightMatch?"g":""),e=this.queryExpr.indexOf("${0}");b=c.escapeString(b);return this._escapeHtml(a.replace(new RegExp((0==e?"^":"")+"("+b+")"+(e==this.queryExpr.length-4?"$":""),d),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,'\x3cspan class\x3d"dijitComboBoxHighlightMatch"\x3e$1\x3c/span\x3e')},
_escapeHtml:function(a){return a=String(a).replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;")},reset:function(){this.item=null;this.inherited(arguments)},labelFunc:function(a,b){return(b._oldAPI?b.getValue(a,this.labelAttr||this.searchAttr):a[this.labelAttr||this.searchAttr]).toString()},_setValueAttr:function(a,b,c,d){this._set("item",d||null);null==a&&(a="");this.inherited(arguments)}});b("dojo-bidi")&&l.extend({_setTextDirAttr:function(a){this.inherited(arguments);
this.dropDown&&this.dropDown._set("textDir",a)}});return l})},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(g,l){var n={};l.setObject("dojo.regexp",n);n.escapeString=function(f,d){return f.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(f){return d&&-1!=d.indexOf(f)?f:"\\"+f})};n.buildGroupRE=function(f,d,h){if(!(f instanceof Array))return d(f);for(var c=[],b=0;b<f.length;b++)c.push(d(f[b]));return n.group(c.join("|"),h)};n.group=function(f,d){return"("+(d?"?:":"")+
f+")"};return n})},"dijit/form/DataList":function(){define("dojo/_base/declare dojo/dom dojo/_base/lang dojo/query dojo/store/Memory ../registry".split(" "),function(g,l,n,f,d,h){function c(b){return{id:b.value,value:b.value,name:n.trim(b.innerText||b.textContent||"")}}return g("dijit.form.DataList",d,{constructor:function(b,a){this.domNode=l.byId(a);n.mixin(this,b);this.id&&h.add(this);this.domNode.style.display="none";this.inherited(arguments,[{data:f("option",this.domNode).map(c)}])},destroy:function(){h.remove(this.id)},
fetchSelectedItem:function(){var b=f("\x3e option[selected]",this.domNode)[0]||f("\x3e option",this.domNode)[0];return b&&c(b)}})})},"dijit/form/_SearchMixin":function(){define("dojo/_base/declare dojo/keys dojo/_base/lang dojo/query dojo/string dojo/when ../registry".split(" "),function(g,l,n,f,d,h,c){return g("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(b){this._set("list",b)},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",
ignoreCase:!0,_patternToRegExp:function(b){return new RegExp("^"+b.replace(/(\\.)|(\*)|(\?)|\W/g,function(a,b,c,d){return c?".*":d?".":b?b:"\\"+a})+"$",this.ignoreCase?"mi":"m")},_abortQuery:function(){this.searchTimer&&(this.searchTimer=this.searchTimer.remove());this._queryDeferHandle&&(this._queryDeferHandle=this._queryDeferHandle.remove());this._fetchHandle&&(this._fetchHandle.abort&&(this._cancelingQuery=!0,this._fetchHandle.abort(),this._cancelingQuery=!1),this._fetchHandle.cancel&&(this._cancelingQuery=
!0,this._fetchHandle.cancel(),this._cancelingQuery=!1),this._fetchHandle=null)},_processInput:function(b){if(!this.disabled&&!this.readOnly){b=b.charOrCode;this._prev_key_backspace=!1;if(b==l.DELETE||b==l.BACKSPACE)this._maskValidSubsetError=this._prev_key_backspace=!0;if(this.store)this.searchTimer=this.defer("_startSearchFromInput",1);else this.onSearch()}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value)},_startSearch:function(b){this._abortQuery();
var a=this,c=n.clone(this.query),f={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:!0}},k=d.substitute(this.queryExpr,[b.replace(/([\\\*\?])/g,"\\$1")]),g,l=function(){var b=a._fetchHandle=a.store.query(c,f);a.disabled||a.readOnly||g!==a._lastQuery||h(b,function(d){a._fetchHandle=null;a.disabled||a.readOnly||g!==a._lastQuery||h(b.total,function(b){d.total=b;var e=a.pageSize;if(isNaN(e)||e>d.total)e=d.total;d.nextPage=function(b){f.direction=b=!1!==b;f.count=e;b?(f.start+=
d.length,f.start>=d.total&&(f.count=0)):(f.start-=e,0>f.start&&(f.count=Math.max(e+f.start,0),f.start=0));0>=f.count?(d.length=0,a.onSearch(d,c,f)):l()};a.onSearch(d,c,f)})},function(b){a._fetchHandle=null;a._cancelingQuery||console.error(a.declaredClass+" "+b.toString())})};n.mixin(f,this.fetchProperties);this.store._oldAPI?g=k:(g=this._patternToRegExp(k),g.toString=function(){return k});this._lastQuery=c[this.searchAttr]=g;this._queryDeferHandle=this.defer(l,this.searchDelay)},constructor:function(){this.query=
{};this.fetchProperties={}},postMixInProperties:function(){if(!this.store){var b=this.list;b&&(this.store=c.byId(b))}this.inherited(arguments)}})})},"dijit/form/_ComboBoxMenu":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-style dojo/keys ../_WidgetBase ../_TemplatedMixin ./_ComboBoxMenuMixin ./_ListMouseMixin".split(" "),function(g,l,n,f,d,h,c,b){return g("dijit.form._ComboBoxMenu",[d,h,b,c],{templateString:"\x3cdiv class\x3d'dijitReset dijitMenu' data-dojo-attach-point\x3d'containerNode' style\x3d'overflow: auto; overflow-x: hidden;' role\x3d'listbox'\x3e\x3cdiv class\x3d'dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point\x3d'previousButton' role\x3d'option'\x3e\x3c/div\x3e\x3cdiv class\x3d'dijitMenuItem dijitMenuNextButton' data-dojo-attach-point\x3d'nextButton' role\x3d'option'\x3e\x3c/div\x3e\x3c/div\x3e",
baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);this.isLeftToRight()||(l.add(this.previousButton,"dijitMenuItemRtl"),l.add(this.nextButton,"dijitMenuItemRtl"));this.containerNode.setAttribute("role","listbox")},_createMenuItem:function(){var a=this.ownerDocument.createElement("div");a.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");a.setAttribute("role","option");return a},onHover:function(a){l.add(a,"dijitMenuItemHover")},onUnhover:function(a){l.remove(a,
"dijitMenuItemHover")},onSelect:function(a){l.add(a,"dijitMenuItemSelected")},onDeselect:function(a){l.remove(a,"dijitMenuItemSelected")},_page:function(a){var b=0,c=this.domNode.scrollTop,d=n.get(this.domNode,"height");for(this.getHighlightedOption()||this.selectNextNode();b<d;){var f=this.getHighlightedOption();if(a){if(!f.previousSibling||"none"==f.previousSibling.style.display)break;this.selectPreviousNode()}else{if(!f.nextSibling||"none"==f.nextSibling.style.display)break;this.selectNextNode()}f=
this.domNode.scrollTop;b+=(f-c)*(a?-1:1);c=f}},handleKey:function(a){switch(a.keyCode){case f.DOWN_ARROW:return this.selectNextNode(),!1;case f.PAGE_DOWN:return this._page(!1),!1;case f.UP_ARROW:return this.selectPreviousNode(),!1;case f.PAGE_UP:return this._page(!0),!1;default:return!0}}})})},"dijit/form/_ComboBoxMenuMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/has dojo/i18n dojo/i18n!./nls/ComboBox".split(" "),function(g,l,n,f,d){var h=l("dijit.form._ComboBoxMenuMixin"+
(f("dojo-bidi")?"_NoBidi":""),null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=d.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(c){this._set("value",c);this.onChange(c)},onClick:function(c){if(c==this.previousButton)this._setSelectedAttr(null),this.onPage(-1);else if(c==
this.nextButton)this._setSelectedAttr(null),this.onPage(1);else this.onChange(c)},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null)},_createOption:function(c,b){var a=this._createMenuItem(),d=b(c);d.html?a.innerHTML=d.label:a.appendChild(a.ownerDocument.createTextNode(d.label));""==a.innerHTML&&(a.innerHTML="\x26#160;");return a},createOptions:function(c,b,a){this.items=c;this.previousButton.style.display=0==b.start?"none":"";n.set(this.previousButton,"id",this.id+
"_prev");g.forEach(c,function(b,c){var d=this._createOption(b,a);d.setAttribute("item",c);n.set(d,"id",this.id+c);this.nextButton.parentNode.insertBefore(d,this.nextButton)},this);var d=!1;c.total&&!c.total.then&&-1!=c.total?b.start+b.count<c.total?d=!0:b.start+b.count>c.total&&b.count==c.length&&(d=!0):b.count==c.length&&(d=!0);this.nextButton.style.display=d?"":"none";n.set(this.nextButton,"id",this.id+"_next")},clearResultList:function(){for(var c=this.containerNode;2<c.childNodes.length;)c.removeChild(c.childNodes[c.childNodes.length-
2]);this._setSelectedAttr(null)},highlightFirstOption:function(){this.selectFirstNode()},highlightLastOption:function(){this.selectLastNode()},selectFirstNode:function(){this.inherited(arguments);this.getHighlightedOption()==this.previousButton&&this.selectNextNode()},selectLastNode:function(){this.inherited(arguments);this.getHighlightedOption()==this.nextButton&&this.selectPreviousNode()},getHighlightedOption:function(){return this.selected}});f("dojo-bidi")&&(h=l("dijit.form._ComboBoxMenuMixin",
h,{_createOption:function(){var c=this.inherited(arguments);this.applyTextDir(c);return c}}));return h})},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(g,l,n,f){return g("dijit.form._ListMouseMixin",f,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=!0;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover",
"_onMouseOver");this._listConnect("mouseout","_onMouseOut")},_onClick:function(d,f){this._setSelectedAttr(f,!1);this._deferredClick&&this._deferredClick.remove();this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(f)})},_onMouseDown:function(d,f){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging=!0;this._setSelectedAttr(f,!1)},_onMouseUp:function(d,f){this._isDragging=!1;var c=this.selected,b=this._hoveredNode;c&&f==c?this.defer(function(){this._onClick(d,
c)}):b&&this.defer(function(){this._onClick(d,b)})},_onMouseOut:function(d,f){this._hoveredNode&&(this.onUnhover(this._hoveredNode),this._hoveredNode=null);this._isDragging&&(this._cancelDrag=(new Date).getTime()+1E3)},_onMouseOver:function(d,f){this._cancelDrag&&((new Date).getTime()>this._cancelDrag&&(this._isDragging=!1),this._cancelDrag=null);this._hoveredNode=f;this.onHover(f);this._isDragging&&this._setSelectedAttr(f,!1)}})})},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on",
"dojo/window"],function(g,l,n){return g("dijit.form._ListBase",null,{selected:null,_listConnect:function(f,d){var h=this;return h.own(l(h.containerNode,l.selector(function(c,b,a){return c.parentNode==a},f),function(c){h[d](c,this)}))},selectFirstNode:function(){for(var f=this.containerNode.firstChild;f&&"none"==f.style.display;)f=f.nextSibling;this._setSelectedAttr(f,!0)},selectLastNode:function(){for(var f=this.containerNode.lastChild;f&&"none"==f.style.display;)f=f.previousSibling;this._setSelectedAttr(f,
!0)},selectNextNode:function(){var f=this.selected;if(f){for(f=f.nextSibling;f&&"none"==f.style.display;)f=f.nextSibling;f?this._setSelectedAttr(f,!0):this.selectFirstNode()}else this.selectFirstNode()},selectPreviousNode:function(){var f=this.selected;if(f){for(f=f.previousSibling;f&&"none"==f.style.display;)f=f.previousSibling;f?this._setSelectedAttr(f,!0):this.selectLastNode()}else this.selectLastNode()},_setSelectedAttr:function(f,d){if(this.selected!=f){var h=this.selected;if(h)this.onDeselect(h);
f&&(d&&n.scrollIntoView(f),this.onSelect(f));this._set("selected",f)}else if(f)this.onSelect(f)}})})},"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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t){return g("dijit._HasDropDown",t,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,
dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,_onDropDownMouseDown:function(a){this.disabled||this.readOnly||("MSPointerDown"!=a.type&&a.preventDefault(),this.own(p.once(this.ownerDocument,k.release,e.hitch(this,"_onDropDownMouseUp"))),this.toggleDropDown())},_onDropDownMouseUp:function(a){var b=this.dropDown,c=!1;if(a&&this._opened){var e=h.position(this._buttonNode,!0);if(!(a.pageX>=e.x&&a.pageX<=e.x+e.w&&a.pageY>=e.y&&a.pageY<=e.y+
e.h)){for(e=a.target;e&&!c;)d.contains(e,"dijitPopup")?c=!0:e=e.parentNode;if(c){e=a.target;if(b.onItemClick){for(var m;e&&!(m=q.byNode(e));)e=e.parentNode;if(m&&m.onClick&&m.getParent)m.getParent().onItemClick(m,a)}return}}}this._opened?b.focus&&(!1!==b.autoFocus||"mouseup"==a.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer(function(){b.focus();delete this._focusDropDownTimer})):this.focus&&this.defer("focus")},_onDropDownClick:function(a){this._stopClickEvents&&(a.stopPropagation(),
a.preventDefault())},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var a={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";d.add(this._arrowWrapperNode||this._buttonNode,"dijit"+a+"ArrowButton")},postCreate:function(){this.inherited(arguments);
var a=this.focusNode||this.domNode;this.own(p(this._buttonNode,k.press,e.hitch(this,"_onDropDownMouseDown")),p(this._buttonNode,"click",e.hitch(this,"_onDropDownClick")),p(a,"keydown",e.hitch(this,"_onKey")),p(a,"keyup",e.hitch(this,"_onKeyUp")))},destroy:function(){this._opened&&this.closeDropDown(!0);this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown);this.inherited(arguments)},_onKey:function(b){if(!this.disabled&&!this.readOnly){var c=this.dropDown,
d=b.target;c&&this._opened&&c.handleKey&&!1===c.handleKey(b)?(b.stopPropagation(),b.preventDefault()):c&&this._opened&&b.keyCode==a.ESCAPE?(this.closeDropDown(),b.stopPropagation(),b.preventDefault()):!this._opened&&(b.keyCode==a.DOWN_ARROW||(b.keyCode==a.ENTER||b.keyCode==a.SPACE&&(!this._searchTimer||b.ctrlKey||b.altKey||b.metaKey))&&("input"!==(d.tagName||"").toLowerCase()||d.type&&"text"!==d.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,b.stopPropagation(),b.preventDefault())}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;
this.toggleDropDown();var a=this.dropDown;a&&a.focus&&this.defer(e.hitch(a,"focus"),1)}},_onBlur:function(){this.closeDropDown(!1);this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(a){a()},loadAndOpenDropDown:function(){var a=new l,b=e.hitch(this,function(){this.openDropDown();a.resolve(this.dropDown)});this.isLoaded()?b():this.loadDropDown(b);return a},toggleDropDown:function(){this.disabled||this.readOnly||(this._opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},
openDropDown:function(){var a=this.dropDown,b=a.domNode,c=this._aroundNode||this.domNode,k=this,g=u.open({parent:this,popup:a,around:c,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){k.closeDropDown(!0)},onCancel:function(){k.closeDropDown(!0)},onClose:function(){f.set(k._popupStateNode,"popupActive",!1);d.remove(k._popupStateNode,"dijitHasDropDownOpen");k._set("_opened",!1)}});if(this.forceWidth||this.autoWidth&&c.offsetWidth>a._popupWrapper.offsetWidth){var c=c.offsetWidth-
a._popupWrapper.offsetWidth,p={w:a.domNode.offsetWidth+c};this._origStyle=b.style.cssText;e.isFunction(a.resize)?a.resize(p):h.setMarginBox(b,p);"R"==g.corner[1]&&(a._popupWrapper.style.left=a._popupWrapper.style.left.replace("px","")-c+"px")}f.set(this._popupStateNode,"popupActive","true");d.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",!0);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",a.id);"presentation"===b.getAttribute("role")||
b.getAttribute("aria-labelledby")||b.setAttribute("aria-labelledby",this.id);return g},closeDropDown:function(a){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer);this._opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),u.close(this.dropDown),this._opened=!1);this._origStyle&&(this.dropDown.domNode.style.cssText=this._origStyle,delete this._origStyle)}})})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k){var q=l("dijit._editor.plugins.LinkDialog",e,{buttonClass:p,useDefaultCommand:!1,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:"\x3c?(mailto\\:)([!#-'*+\\-\\/-9\x3d?A-Z^-~]+[.])*[!#-'*+\\-\\/-9\x3d?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_-]*\x3e?",htmlTemplate:'\x3ca href\x3d"${urlInput}" _djrealurl\x3d"${urlInput}" target\x3d"${targetSelect}"\x3e${textInput}\x3c/a\x3e',tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,
linkDialogTemplate:"\x3ctable role\x3d'presentation'\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_urlInput'\x3e${url}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput data-dojo-type\x3d'dijit.form.ValidationTextBox' required\x3d'true' id\x3d'${id}_urlInput' name\x3d'urlInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_textInput'\x3e${text}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput data-dojo-type\x3d'dijit.form.ValidationTextBox' required\x3d'true' id\x3d'${id}_textInput' name\x3d'textInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_targetSelect'\x3e${target}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cselect id\x3d'${id}_targetSelect' name\x3d'targetSelect' data-dojo-type\x3d'dijit.form.Select'\x3e\x3coption selected\x3d'selected' value\x3d'_self'\x3e${currentWindow}\x3c/option\x3e\x3coption value\x3d'_blank'\x3e${newWindow}\x3c/option\x3e\x3coption value\x3d'_top'\x3e${topWindow}\x3c/option\x3e\x3coption value\x3d'_parent'\x3e${parentWindow}\x3c/option\x3e\x3c/select\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d'2'\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'submit' id\x3d'${id}_setButton'\x3e${set}\x3c/button\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'button' id\x3d'${id}_cancelButton'\x3e${buttonCancel}\x3c/button\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",
_initButton:function(){this.inherited(arguments);this.button.loadDropDown=d.hitch(this,"_loadDropDown");this._connectTagEvents()},_loadDropDown:function(b){g("dojo/i18n ../../TooltipDialog ../../registry ../../form/Button ../../form/Select ../../form/ValidationTextBox dojo/i18n!../../nls/common dojo/i18n!../nls/LinkDialog".split(" "),d.hitch(this,function(c,e,k){var m=this;this.tag="insertImage"==this.command?"img":"a";c=d.delegate(c.getLocalization("dijit","common",this.lang),c.getLocalization("dijit._editor",
"LinkDialog",this.lang));var r=this.dropDown=this.button.dropDown=new e({title:c[this.command+"Title"],ownerDocument:this.editor.ownerDocument,dir:this.editor.dir,execute:d.hitch(this,"setValue"),onOpen:function(){m._onOpenDialog();e.prototype.onOpen.apply(this,arguments)},onCancel:function(){setTimeout(d.hitch(m,"_onCloseDialog"),0)}});c.urlRegExp=this.urlRegExp;c.id=k.getUniqueId(this.editor.id);this._uniqueId=c.id;this._setContent(r.title+"\x3cdiv style\x3d'border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'\x3e\x3c/div\x3e"+
a.substitute(this.linkDialogTemplate,c));r.startup();this._urlInput=k.byId(this._uniqueId+"_urlInput");this._textInput=k.byId(this._uniqueId+"_textInput");this._setButton=k.byId(this._uniqueId+"_setButton");this.own(k.byId(this._uniqueId+"_cancelButton").on("click",d.hitch(this.dropDown,"onCancel")));this._urlInput&&this.own(this._urlInput.on("change",d.hitch(this,"_checkAndFixInput")));this._textInput&&this.own(this._textInput.on("change",d.hitch(this,"_checkAndFixInput")));this._urlRegExp=new RegExp("^"+
this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=d.hitch(this,function(){var a=this._urlInput.get("value");return this._urlRegExp.test(a)||this._emailRegExp.test(a)});this.own(h(r.domNode,"keydown",d.hitch(this,d.hitch(this,function(a){!a||a.keyCode!=f.ENTER||a.shiftKey||a.metaKey||a.ctrlKey||a.altKey||this._setButton.get("disabled")||(r.onExecute(),r.execute(r.get("value")))}))));b()}))},_checkAndFixInput:function(){var a=this,b=this._urlInput.get("value");
this._delayedCheck&&(clearTimeout(this._delayedCheck),this._delayedCheck=null);this._delayedCheck=setTimeout(function(){var c=b,e=!1,f=!1;c&&1<c.length&&(c=d.trim(c),0!==c.indexOf("mailto:")&&(0<c.indexOf("/")?-1===c.indexOf("://")&&"/"!==c.charAt(0)&&c.indexOf("./")&&0!==c.indexOf("../")&&a._hostRxp.test(c)&&(e=!0):a._userAtRxp.test(c)&&(f=!0)));e&&a._urlInput.set("value","http://"+c);f&&a._urlInput.set("value","mailto:"+c);a._setButton.set("disabled",!a._isValid())},250)},_connectTagEvents:function(){this.editor.onLoadDeferred.then(d.hitch(this,
function(){this.own(h(this.editor.editNode,"dblclick",d.hitch(this,"_onDblClick")))}))},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid()},_setContent:function(a){this.dropDown.set({parserScope:"dojo",content:a})},_checkValues:function(a){a&&a.urlInput&&(a.urlInput=a.urlInput.replace(/"/g,"\x26quot;"));return a},setValue:function(d){this._onCloseDialog();if(9>c("ie")){var e=k.getSelection(this.editor.window).getRangeAt(0).endContainer;3===e.nodeType&&(e=e.parentNode);
e&&e.nodeName&&e.nodeName.toLowerCase()!==this.tag&&(e=this.editor.selection.getSelectedElement(this.tag));e&&e.nodeName&&e.nodeName.toLowerCase()===this.tag&&this.editor.queryCommandEnabled("unlink")&&(this.editor.selection.selectElementChildren(e),this.editor.execCommand("unlink"))}d=this._checkValues(d);this.editor.execCommand("inserthtml",a.substitute(this.htmlTemplate,d));b("a",this.editor.document).forEach(function(a){a.innerHTML||n.has(a,"name")||a.parentNode.removeChild(a)},this)},_onCloseDialog:function(){this.editor.focused&&
this.editor.focus()},_getCurrentValues:function(a){var b,c,d;a&&a.tagName.toLowerCase()===this.tag?(b=a.getAttribute("_djrealurl")||a.getAttribute("href"),d=a.getAttribute("target")||"_self",c=a.textContent||a.innerText,this.editor.selection.selectElement(a,!0)):c=this.editor.selection.getSelectedText();return{urlInput:b||"",textInput:c||"",targetSelect:d||""}},_onOpenDialog:function(){var a,b;if(c("ie")){if(b=k.getSelection(this.editor.window),b.rangeCount){var d=b.getRangeAt(0);a=d.endContainer;
3===a.nodeType&&(a=a.parentNode);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))&&b.nodeName&&b.nodeName.toLowerCase()==this.tag?(a=b,this.editor.selection.selectElement(a)):d.startContainer===d.endContainer&&(b=d.startContainer.firstChild)&&b.nodeName&&b.nodeName.toLowerCase()==this.tag&&(a=b,this.editor.selection.selectElement(a))}}else a=
this.editor.selection.getAncestorElement(this.tag);this.dropDown.reset();this._setButton.set("disabled",!0);this.dropDown.set("value",this._getCurrentValues(a))},_onDblClick:function(a){if(a&&a.target&&(a=a.target,(a.tagName?a.tagName.toLowerCase():"")===this.tag&&n.get(a,"href"))){var b=this.editor;this.editor.selection.selectElement(a);b.onDisplayChanged();b._updateTimer&&(b._updateTimer.remove(),delete b._updateTimer);b.onNormalizedDisplayChanged();var c=this.button;setTimeout(function(){c.set("disabled",
!1);c.loadAndOpenDropDown().then(function(){c.dropDown.focus&&c.dropDown.focus()})},10)}}}),v=l("dijit._editor.plugins.ImgLinkDialog",[q],{linkDialogTemplate:"\x3ctable role\x3d'presentation'\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_urlInput'\x3e${url}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput dojoType\x3d'dijit.form.ValidationTextBox' regExp\x3d'${urlRegExp}' required\x3d'true' id\x3d'${id}_urlInput' name\x3d'urlInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3clabel for\x3d'${id}_textInput'\x3e${text}\x3c/label\x3e\x3c/td\x3e\x3ctd\x3e\x3cinput data-dojo-type\x3d'dijit.form.ValidationTextBox' required\x3d'false' id\x3d'${id}_textInput' name\x3d'textInput' data-dojo-props\x3d'intermediateChanges:true'/\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d'2'\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'submit' id\x3d'${id}_setButton'\x3e${set}\x3c/button\x3e\x3cbutton data-dojo-type\x3d'dijit.form.Button' type\x3d'button' id\x3d'${id}_cancelButton'\x3e${buttonCancel}\x3c/button\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",
htmlTemplate:'\x3cimg src\x3d"${urlInput}" _djrealurl\x3d"${urlInput}" alt\x3d"${textInput}" /\x3e',tag:"img",_getCurrentValues:function(a){var b,c;a&&a.tagName.toLowerCase()===this.tag?(b=a.getAttribute("_djrealurl")||a.getAttribute("src"),c=a.getAttribute("alt"),this.editor.selection.selectElement(a,!0)):c=this.editor.selection.getSelectedText();return{urlInput:b||"",textInput:c||""}},_isValid:function(){return this._urlInput.isValid()},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.then(d.hitch(this,
function(){this.own(h(this.editor.editNode,"mousedown",d.hitch(this,"_selectTag")))}))},_selectTag:function(a){a&&a.target&&(a=a.target,(a.tagName?a.tagName.toLowerCase():"")===this.tag&&this.editor.selection.selectElement(a))},_checkValues:function(a){a&&a.urlInput&&(a.urlInput=a.urlInput.replace(/"/g,"\x26quot;"));a&&a.textInput&&(a.textInput=a.textInput.replace(/"/g,"\x26quot;"));return a},_onDblClick:function(a){if(a&&a.target&&(a=a.target,(a.tagName?a.tagName.toLowerCase():"")===this.tag&&n.get(a,
"src"))){var b=this.editor;this.editor.selection.selectElement(a);b.onDisplayChanged();b._updateTimer&&(b._updateTimer.remove(),delete b._updateTimer);b.onNormalizedDisplayChanged();var c=this.button;setTimeout(function(){c.set("disabled",!1);c.loadAndOpenDropDown().then(function(){c.dropDown.focus&&c.dropDown.focus()})},10)}}});e.registry.createLink=function(){return new q({command:"createLink"})};e.registry.insertImage=function(){return new v({command:"insertImage"})};q.ImgLinkDialog=v;return q})},
"dijit/form/DropDownButton":function(){define("dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/query ../registry ../popup ./Button ../_Container ../_HasDropDown dojo/text!./templates/DropDownButton.html ../a11yclick".split(" "),function(g,l,n,f,d,h,c,b,a,e){return g("dijit.form.DropDownButton",[c,b,a],{baseClass:"dijitDropDownButton",templateString:e,_fillContent:function(){var a=this.srcNodeRef,b=this.containerNode;if(a&&b)for(;a.hasChildNodes();){var c=a.firstChild;c.hasAttribute&&(c.hasAttribute("data-dojo-type")||
c.hasAttribute("dojoType")||c.hasAttribute("data-"+l._scopeName+"-type")||c.hasAttribute(l._scopeName+"Type"))?(this.dropDownContainer=this.ownerDocument.createElement("div"),this.dropDownContainer.appendChild(c)):b.appendChild(c)}},startup:function(){this._started||(!this.dropDown&&this.dropDownContainer&&(this.dropDown=d.byNode(this.dropDownContainer.firstChild),delete this.dropDownContainer),this.dropDown&&h.hide(this.dropDown),this.inherited(arguments))},isLoaded:function(){var a=this.dropDown;
return!!a&&(!a.href||a.isLoaded)},loadDropDown:function(a){var b=this.dropDown,c=b.on("load",n.hitch(this,function(){c.remove();a()}));b.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".split(" "),function(g,l,n,f,d,h,
c,b,a,e,p,k,q,v,u,t){p("dijit-legacy-requires")&&t(0,function(){g(["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"])});return n("dijit.Menu",u,{constructor:function(){this._bindings=[]},targetNodeIds:[],selector:"",contextMenuForWindow:!1,leftClickToOpen:!1,refocus:!0,postCreate:function(){this.contextMenuForWindow?this.bindDomNode(this.ownerDocumentBody):l.forEach(this.targetNodeIds,this.bindDomNode,this);this.inherited(arguments)},_iframeContentWindow:function(a){return q.get(this._iframeContentDocument(a))||
this._iframeContentDocument(a).__parent__||a.name&&document.frames[a.name]||null},_iframeContentDocument:function(a){return a.contentDocument||a.contentWindow&&a.contentWindow.document||a.name&&document.frames[a.name]&&document.frames[a.name].document||null},bindDomNode:function(c){c=f.byId(c,this.ownerDocument);var m;if("iframe"==c.tagName.toLowerCase()){var h=c;m=this._iframeContentWindow(h);m=k.body(m.document)}else m=c==k.body(this.ownerDocument)?this.ownerDocument.documentElement:c;var g={node:c,
iframe:h};d.set(c,"_dijitMenu"+this.id,this._bindings.push(g));var p=a.hitch(this,function(a){var c=this.selector,d=c?function(a){return e.selector(c,a)}:function(a){return a},f=this;return[e(a,d(this.leftClickToOpen?"click":"contextmenu"),function(a){a.stopPropagation();a.preventDefault();(new Date).getTime()<f._lastKeyDown+500||f._scheduleOpen(this,h,{x:a.pageX,y:a.pageY},a.target)}),e(a,d("keydown"),function(a){if(93==a.keyCode||a.shiftKey&&a.keyCode==b.F10||f.leftClickToOpen&&a.keyCode==b.SPACE)a.stopPropagation(),
a.preventDefault(),f._scheduleOpen(this,h,null,a.target),f._lastKeyDown=(new Date).getTime()})]});g.connects=m?p(m):[];h&&(g.onloadHandler=a.hitch(this,function(){var a=this._iframeContentWindow(h),a=k.body(a.document);g.connects=p(a)}),h.addEventListener?h.addEventListener("load",g.onloadHandler,!1):h.attachEvent("onload",g.onloadHandler))},unBindDomNode:function(a){var b;try{b=f.byId(a,this.ownerDocument)}catch(x){return}a="_dijitMenu"+this.id;if(b&&d.has(b,a)){for(var c=d.get(b,a)-1,e=this._bindings[c],
m;m=e.connects.pop();)m.remove();(m=e.iframe)&&(m.removeEventListener?m.removeEventListener("load",e.onloadHandler,!1):m.detachEvent("onload",e.onloadHandler));d.remove(b,a);delete this._bindings[c]}},_scheduleOpen:function(a,b,c,d){this._openTimer||(this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:d,delegatedTarget:a,iframe:b,coords:c})},1))},_openMyself:function(a){function b(){q.refocus&&u&&u.focus();v.close(q)}var d=a.target,e=a.iframe,m=a.coords,k=!m;this.currentTarget=
a.delegatedTarget;if(m){if(e){a=h.position(e,!0);var d=this._iframeContentWindow(e),d=h.docScroll(d.document),g=c.getComputedStyle(e),l=c.toPixelValue,n=(p("ie")&&p("quirks")?0:l(e,g.paddingLeft))+(p("ie")&&p("quirks")?l(e,g.borderLeftWidth):0),e=(p("ie")&&p("quirks")?0:l(e,g.paddingTop))+(p("ie")&&p("quirks")?l(e,g.borderTopWidth):0);m.x+=a.x+n-d.x;m.y+=a.y+e-d.y}}else m=h.position(d,!0),m.x+=10,m.y+=10;var q=this,e=this._focusManager.get("prevNode");a=this._focusManager.get("curNode");var u=!a||
f.isDescendant(a,this.domNode)?e:a;v.open({popup:this,x:m.x,y:m.y,onExecute:b,onCancel:b,orient:this.isLeftToRight()?"L":"R"});this.focus();k||this.defer(function(){this._cleanUp(!0)});this._onBlur=function(){this.inherited("_onBlur",arguments);v.close(this)}},destroy:function(){l.forEach(this._bindings,function(a){a&&this.unBindDomNode(a.node)},this);this.inherited(arguments)}})})},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],
function(g,l,n,f){return g("dijit.DropDownMenu",f,{templateString:n,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev()},_onDownArrow:function(){this.focusNext()},_onRightArrow:function(d){this._moveToPopup(d);d.stopPropagation();d.preventDefault()},_onLeftArrow:function(d){if(this.parentMenu)if(this.parentMenu._isMenuBar)this.parentMenu.focusPrev();else this.onCancel(!1);else d.stopPropagation(),d.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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u){return l("dijit._MenuBase",[k,u,v,q],{selected:null,_setSelectedAttr:function(a){this.selected!=a&&(this.selected&&(this.selected._setSelected(!1),this._onChildDeselect(this.selected)),a&&a._setSelected(!0),this._set("selected",a))},activated:!1,_setActivatedAttr:function(a){d.toggle(this.domNode,"dijitMenuActive",a);d.toggle(this.domNode,"dijitMenuPassive",!a);this._set("activated",a)},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:!1,
childSelector:function(a){var b=p.byNode(a);return a.parentNode==this.containerNode&&b&&b.focus},postCreate:function(){var a=this,d="string"==typeof this.childSelector?this.childSelector:h.hitch(this,"childSelector");this.own(b(this.containerNode,b.selector(d,c.enter),function(){a.onItemHover(p.byNode(this))}),b(this.containerNode,b.selector(d,c.leave),function(){a.onItemUnhover(p.byNode(this))}),b(this.containerNode,b.selector(d,e),function(b){a.onItemClick(p.byNode(this),b);b.stopPropagation()}),
b(this.containerNode,b.selector(d,"focusin"),function(){a._onItemFocus(p.byNode(this))}));this.inherited(arguments)},onKeyboardSearch:function(a,b,c,d){this.inherited(arguments);if(a&&(-1==d||a.popup&&1==d))this.onItemClick(a,b)},_keyboardSearchCompare:function(a,b){return a.shortcutKey?b==a.shortcutKey.toLowerCase()?-1:0:this.inherited(arguments)?1:0},onExecute:function(){},onCancel:function(){},_moveToPopup:function(a){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,
a);else(a=this._getTopMenu())&&a._isMenuBar&&a.focusNext()},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer()},onItemHover:function(a){this.activated?(this.set("selected",a),!a.popup||a.disabled||this.hover_timer||(this.hover_timer=this.defer(function(){this._openItemPopup(a)},this.popupDelay))):Infinity>this.passivePopupDelay&&(this.passive_hover_timer&&this.passive_hover_timer.remove(),this.passive_hover_timer=this.defer(function(){this.onItemClick(a,
{type:"click"})},this.passivePopupDelay));this._hoveredChild=a;a._set("hovering",!0)},_onChildDeselect:function(a){this._stopPopupTimer();this.currentPopupItem==a&&(this._stopPendingCloseTimer(),this._pendingClose_timer=this.defer(function(){this.currentPopupItem=this._pendingClose_timer=null;a._closePopup()},this.popupDelay))},onItemUnhover:function(a){this._hoveredChild==a&&(this._hoveredChild=null);this.passive_hover_timer&&(this.passive_hover_timer.remove(),this.passive_hover_timer=null);a._set("hovering",
!1)},_stopPopupTimer:function(){this.hover_timer&&(this.hover_timer=this.hover_timer.remove())},_stopPendingCloseTimer:function(){this._pendingClose_timer&&(this._pendingClose_timer=this._pendingClose_timer.remove())},_getTopMenu:function(){for(var a=this;a.parentMenu;a=a.parentMenu);return a},onItemClick:function(a,b){this.passive_hover_timer&&this.passive_hover_timer.remove();this.focusChild(a);if(a.disabled)return!1;if(a.popup){this.set("selected",a);this.set("activated",!0);var c=/^key/.test(b._origType||
b.type)||0==b.clientX&&0==b.clientY;this._openItemPopup(a,c)}else this.onExecute(),a._onClick?a._onClick(b):a.onClick(b)},_openItemPopup:function(a,c){if(a!=this.currentPopupItem){this.currentPopupItem&&(this._stopPendingCloseTimer(),this.currentPopupItem._closePopup());this._stopPopupTimer();var d=a.popup;d.parentMenu=this;this.own(this._mouseoverHandle=b.once(d.domNode,"mouseover",h.hitch(this,"_onPopupHover")));var e=this;a._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){c&&
e.focusChild(a);e._cleanUp()},onExecute:h.hitch(this,"_cleanUp",!0),onClose:function(){e._mouseoverHandle&&(e._mouseoverHandle.remove(),delete e._mouseoverHandle)}},c);this.currentPopupItem=a}},onOpen:function(){this.isShowingNow=!0;this.set("activated",!0)},onClose:function(){this.set("activated",!1);this.set("selected",null);this.isShowingNow=!1;this.parentMenu=null},_closeChild:function(){this._stopPopupTimer();this.currentPopupItem&&(this.focused&&(f.set(this.selected.focusNode,"tabIndex",this.tabIndex),
this.selected.focusNode.focus()),this.currentPopupItem._closePopup(),this.currentPopupItem=null)},_onItemFocus:function(a){if(this._hoveredChild&&this._hoveredChild!=a)this.onItemUnhover(this._hoveredChild);this.set("selected",a)},_onBlur:function(){this._cleanUp(!0);this.inherited(arguments)},_cleanUp:function(a){this._closeChild();"undefined"==typeof this.isShowingNow&&this.set("activated",!1);a&&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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k){c=g("dijit.MenuItem"+(h("dojo-bidi")?"_NoBidi":""),[b,a,e,p],{templateString:k,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(a){this._set("label",a);var b="",c;c=a.search(/{\S}/);if(0<=c){var b=a.charAt(c+1),d=a.substr(0,c);a=a.substr(c+3);c=d+b+a;a=d+'\x3cspan class\x3d"dijitMenuItemShortcutKey"\x3e'+b+"\x3c/span\x3e"+a}else c=a;this.domNode.setAttribute("aria-label",c+" "+this.accelKey);this.containerNode.innerHTML=a;this._set("shortcutKey",b)},iconClass:"dijitNoIcon",
_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:!1,_fillContent:function(a){!a||"label"in this.params||this._set("label",a.innerHTML)},buildRendering:function(){this.inherited(arguments);n.set(this.containerNode,"id",this.id+"_text");this.accelKeyNode&&n.set(this.accelKeyNode,"id",this.id+"_accel");l.setSelectable(this.domNode,!1)},onClick:function(){},focus:function(){try{8==h("ie")&&this.containerNode.focus(),this.focusNode.focus()}catch(q){}},_setSelected:function(a){f.toggle(this.domNode,
"dijitMenuItemSelected",a)},setLabel:function(a){d.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",a)},setDisabled:function(a){d.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",a)},_setDisabledAttr:function(a){this.focusNode.setAttribute("aria-disabled",a?"true":"false");this._set("disabled",a)},_setAccelKeyAttr:function(a){this.accelKeyNode&&(this.accelKeyNode.style.display=
a?"":"none",this.accelKeyNode.innerHTML=a,n.set(this.containerNode,"colSpan",a?"1":"2"));this._set("accelKey",a)}});h("dojo-bidi")&&(c=g("dijit.MenuItem",c,{_setLabelAttr:function(a){this.inherited(arguments);"auto"===this.textDir&&this.applyTextDir(this.textDirNode)}}));return c})},"dijit/PopupMenuItem":function(){define("dojo/_base/declare dojo/dom-style dojo/_base/lang dojo/query ./popup ./registry ./MenuItem ./hccss".split(" "),function(g,l,n,f,d,h,c){return g("dijit.PopupMenuItem",c,{baseClass:"dijitMenuItem dijitPopupMenuItem",
_fillContent:function(){if(this.srcNodeRef){var b=f("*",this.srcNodeRef);this.inherited(arguments,[b[0]]);this.dropDownContainer=this.srcNodeRef}},_openPopup:function(b,a){var c=this.popup;d.open(n.delegate(b,{popup:this.popup,around:this.domNode}));a&&c.focus&&c.focus()},_closePopup:function(){d.close(this.popup);this.popup.parentMenu=null},startup:function(){if(!this._started){this.inherited(arguments);if(!this.popup){var b=f("[widgetId]",this.dropDownContainer)[0];this.popup=h.byNode(b)}this.ownerDocumentBody.appendChild(this.popup.domNode);
this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";this.arrowWrapper&&l.set(this.arrowWrapper,"visibility","");this.focusNode.setAttribute("aria-haspopup","true")}},destroyDescendants:function(b){this.popup&&(this.popup._destroyed||this.popup.destroyRecursive(b),delete this.popup);this.inherited(arguments)}})})},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html",
"./hccss"],function(g,l,n,f){return g("dijit.CheckedMenuItem",n,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:f,checked:!1,_setCheckedAttr:function(d){this.domNode.setAttribute("aria-checked",d?"true":"false");this._set("checked",d)},iconClass:"",role:"menuitemcheckbox",checkedChar:"\x26#10003;",onChange:function(){},_onClick:function(d){this.disabled||(this.set("checked",!this.checked),this.onChange(this.checked));this.onClick(d)}})})},"dijit/MenuBar":function(){define(["dojo/_base/declare",
"dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(g,l,n,f){return g("dijit.MenuBar",n,{templateString:f,baseClass:"dijitMenuBar",popupDelay:0,_isMenuBar:!0,_orient:["below"],_moveToPopup:function(d){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,d)},focusChild:function(d){this.inherited(arguments);this.activated&&d.popup&&!d.disabled&&this._openItemPopup(d,!0)},_onChildDeselect:function(d){this.currentPopupItem==
d&&(this.currentPopupItem=null,d._closePopup());this.inherited(arguments)},_onLeftArrow:function(){this.focusPrev()},_onRightArrow:function(){this.focusNext()},_onDownArrow:function(d){this._moveToPopup(d)},_onUpArrow:function(){},onItemClick:function(d,f){!d.popup||!d.popup.isShowingNow||/^key/.test(f.type)&&f.keyCode===l.DOWN_ARROW?this.inherited(arguments):(d.focusNode.focus(),this._cleanUp(!0))}})})},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],
function(g,l,n){n=g("dijit._MenuBarItemMixin",null,{templateString:n,_setIconClassAttr:null});g=g("dijit.MenuBarItem",[l,n],{});g._MenuBarItemMixin=n;return g})},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(g,l,n){return g("dijit.PopupMenuBarItem",[l,n._MenuBarItemMixin],{})})},"dijit/MenuSeparator":function(){define("dojo/_base/declare dojo/dom ./_WidgetBase ./_TemplatedMixin ./_Contained dojo/text!./templates/MenuSeparator.html".split(" "),
function(g,l,n,f,d,h){return g("dijit.MenuSeparator",[n,f,d],{templateString:h,buildRendering:function(){this.inherited(arguments);l.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"dijit/ProgressBar":function(){define("require dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/number ./_Widget ./_TemplatedMixin dojo/text!./templates/ProgressBar.html".split(" "),function(g,l,n,f,d,h,c,b){return l("dijit.ProgressBar",[h,c],{progress:"0",value:"",maximum:100,places:0,indeterminate:!1,
label:"",name:"",templateString:b,_indeterminateHighContrastImagePath:g.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);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(a){var b="rtl"==a.toLowerCase();n.toggle(this.domNode,
"dijitProgressBarRtl",b);n.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&b);this.inherited(arguments)},update:function(a){f.mixin(this,a||{});a=this.internalProgress;var b=this.domNode,c=1;this.indeterminate?b.removeAttribute("aria-valuenow"):(-1!=String(this.progress).indexOf("%")?(c=Math.min(parseFloat(this.progress)/100,1),this.progress=c*this.maximum):(this.progress=Math.min(this.progress,this.maximum),c=this.maximum?this.progress/this.maximum:0),b.setAttribute("aria-valuenow",
this.progress));b.setAttribute("aria-labelledby",this.labelNode.id);b.setAttribute("aria-valuemin",0);b.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(c);n.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);n.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());a.style.width=100*c+"%";this.onChange()},_setValueAttr:function(a){this._set("value",a);Infinity==a?this.update({indeterminate:!0}):this.update({indeterminate:!1,
progress:a})},_setLabelAttr:function(a){this._set("label",a);this.update()},_setIndeterminateAttr:function(a){this._set("indeterminate",a);this.update()},report:function(a){return this.label?this.label:this.indeterminate?"\x26#160;":d.format(a,{type:"percent",places:this.places,locale:this.lang})},onChange:function(){}})})},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(g,l,n,f,d){var h={};g.setObject("dojo.number",h);h.format=function(b,
a){a=g.mixin({},a||{});var c=l.normalizeLocale(a.locale),c=l.getLocalization("dojo.cldr","number",c);a.customs=c;c=a.pattern||c[(a.type||"decimal")+"Format"];return isNaN(b)||Infinity==Math.abs(b)?null:h._applyPattern(b,c,a)};h._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;h._applyPattern=function(b,a,c){c=c||{};var d=c.customs.group,e=c.customs.decimal;a=a.split(";");var f=a[0];a=a[0>b?1:0]||"-"+f;if(-1!=a.indexOf("%"))b*=100;else if(-1!=a.indexOf("\u2030"))b*=1E3;else if(-1!=a.indexOf("\u00a4"))d=c.customs.currencyGroup||
d,e=c.customs.currencyDecimal||e,a=a.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(a,b,d,e){return(a=c[["symbol","currency","displayName"][d.length-1]]||c.currency||"")?b+a+e:""});else if(-1!=a.indexOf("E"))throw Error("exponential notation not supported");var g=h._numberPatternRE,f=f.match(g);if(!f)throw Error("unable to find a number expression in pattern: "+a);!1===c.fractional&&(c.places=0);return a.replace(g,h._formatAbsolute(b,f[0],{decimal:e,group:d,places:c.places,round:c.round}))};
h.round=function(b,a,c){c=10/(c||10);return(c*+b).toFixed(a)/c};if(0==(.9).toFixed()){var c=h.round;h.round=function(b,a,d){var e=Math.pow(10,-a||0),f=Math.abs(b);if(!b||f>=e)e=0;else if(f/=e,.5>f||.95<=f)e=0;return c(b,a,d)+(0<b?e:-e)}}h._formatAbsolute=function(b,a,c){c=c||{};!0===c.places&&(c.places=0);Infinity===c.places&&(c.places=6);a=a.split(".");var d="string"==typeof c.places&&c.places.indexOf(","),e=c.places;d?e=c.places.substring(d+1):0<=e||(e=(a[1]||[]).length);0>c.round||(b=h.round(b,
e,c.round));b=String(Math.abs(b)).split(".");var g=b[1]||"";a[1]||c.places?(d&&(c.places=c.places.substring(0,d)),d=void 0!==c.places?c.places:a[1]&&a[1].lastIndexOf("0")+1,d>g.length&&(b[1]=f.pad(g,d,"0",!0)),e<g.length&&(b[1]=g.substr(0,e))):b[1]&&b.pop();e=a[0].replace(",","");d=e.indexOf("0");-1!=d&&(d=e.length-d,d>b[0].length&&(b[0]=f.pad(b[0],d)),-1==e.indexOf("#")&&(b[0]=b[0].substr(b[0].length-d)));var e=a[0].lastIndexOf(","),l,n;-1!=e&&(l=a[0].length-e-1,a=a[0].substr(0,e),e=a.lastIndexOf(","),
-1!=e&&(n=a.length-e-1));a=[];for(e=b[0];e;)d=e.length-l,a.push(0<d?e.substr(d):e),e=0<d?e.slice(0,d):"",n&&(l=n,n=void 0);b[0]=a.reverse().join(c.group||",");return b.join(c.decimal||".")};h.regexp=function(b){return h._parseInfo(b).regexp};h._parseInfo=function(b){b=b||{};var a=l.normalizeLocale(b.locale),a=l.getLocalization("dojo.cldr","number",a),c=b.pattern||a[(b.type||"decimal")+"Format"],f=a.group,k=a.decimal,g=1;if(-1!=c.indexOf("%"))g/=100;else if(-1!=c.indexOf("\u2030"))g/=1E3;else{var n=
-1!=c.indexOf("\u00a4");n&&(f=a.currencyGroup||f,k=a.currencyDecimal||k)}a=c.split(";");1==a.length&&a.push("-"+a[0]);a=d.buildGroupRE(a,function(a){a="(?:"+d.escapeString(a,".")+")";return a.replace(h._numberPatternRE,function(a){var c={signed:!1,separator:b.strict?f:[f,""],fractional:b.fractional,decimal:k,exponent:!1};a=a.split(".");var d=b.places;1==a.length&&1!=g&&(a[1]="###");1==a.length||0===d?c.fractional=!1:(void 0===d&&(d=b.pattern?a[1].lastIndexOf("0")+1:Infinity),d&&void 0==b.fractional&&
(c.fractional=!0),!b.places&&d<a[1].length&&(d+=","+a[1].length),c.places=d);a=a[0].split(",");1<a.length&&(c.groupSize=a.pop().length,1<a.length&&(c.groupSize2=a.pop().length));return"("+h._realNumberRegexp(c)+")"})},!0);n&&(a=a.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(a,c,e,f){a=d.escapeString(b[["symbol","currency","displayName"][e.length-1]]||b.currency||"");if(!a)return"";c=c?"[\\s\\xa0]":"";f=f?"[\\s\\xa0]":"";return b.strict?c+a+f:(c&&(c+="*"),f&&(f+="*"),"(?:"+c+a+f+")?")}));
return{regexp:a.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:f,decimal:k,factor:g}};h.parse=function(b,a){var c=h._parseInfo(a),d=(new RegExp("^"+c.regexp+"$")).exec(b);if(!d)return NaN;var f=d[1];if(!d[1]){if(!d[2])return NaN;f=d[2];c.factor*=-1}f=f.replace(new RegExp("["+c.group+"\\s\\xa0]","g"),"").replace(c.decimal,".");return f*c.factor};h._realNumberRegexp=function(b){b=b||{};"places"in b||(b.places=Infinity);"string"!=typeof b.decimal&&(b.decimal=".");"fractional"in b&&!/^0/.test(b.places)||(b.fractional=
[!0,!1]);"exponent"in b||(b.exponent=[!0,!1]);"eSigned"in b||(b.eSigned=[!0,!1]);var a=h._integerRegexp(b),c=d.buildGroupRE(b.fractional,function(a){var c="";a&&0!==b.places&&(c="\\"+b.decimal,c=Infinity==b.places?"(?:"+c+"\\d+)?":c+("\\d{"+b.places+"}"));return c},!0),f=d.buildGroupRE(b.exponent,function(a){return a?"([eE]"+h._integerRegexp({signed:b.eSigned})+")":""}),a=a+c;c&&(a="(?:(?:"+a+")|(?:"+c+"))");return a+f};h._integerRegexp=function(b){b=b||{};"signed"in b||(b.signed=[!0,!1]);"separator"in
b?"groupSize"in b||(b.groupSize=3):b.separator="";var a=d.buildGroupRE(b.signed,function(a){return a?"[-+]":""},!0),c=d.buildGroupRE(b.separator,function(a){if(!a)return"(?:\\d+)";a=d.escapeString(a);" "==a?a="\\s":"\u00a0"==a&&(a="\\s\\xa0");var c=b.groupSize,e=b.groupSize2;return e?(a="(?:0|[1-9]\\d{0,"+(e-1)+"}(?:["+a+"]\\d{"+e+"})*["+a+"]\\d{"+c+"})",0<c-e?"(?:"+a+"|(?:0|[1-9]\\d{0,"+(c-1)+"}))":a):"(?:0|[1-9]\\d{0,"+(c-1)+"}(?:["+a+"]\\d{"+c+"})*)"},!0);return a+c};return h})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u){l=l("dijit.TitlePane",[q,k,p],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:!0,toggleable:!0,tabIndex:"0",duration:u.defaultDuration,baseClass:"dijitTitlePane",templateString:v,doLayout:!1,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);n.setSelectable(this.titleNode,!1)},postCreate:function(){this.inherited(arguments);this.toggleable&&this._trackMouseState(this.titleBarNode,
this.baseClass+"Title");var a=this.hideNode,b=this.wipeNode;this._wipeIn=c.wipeIn({node:b,duration:this.duration,beforeBegin:function(){a.style.display=""}});this._wipeOut=c.wipeOut({node:b,duration:this.duration,onEnd:function(){a.style.display="none"}})},_setOpenAttr:function(a,b){g.forEach([this._wipeIn,this._wipeOut],function(a){a&&"playing"==a.status()&&a.stop()});b?this[a?"_wipeIn":"_wipeOut"].play():this.hideNode.style.display=this.wipeNode.style.display=a?"":"none";if(this._started)if(a)this._onShow();
else this.onHide();this.containerNode.setAttribute("aria-hidden",a?"false":"true");this.focusNode.setAttribute("aria-pressed",a?"true":"false");this._set("open",a);this._setCss()},_setToggleableAttr:function(a){this.focusNode.setAttribute("role",a?"button":"heading");a?(this.focusNode.setAttribute("aria-controls",this.id+"_pane"),this.focusNode.setAttribute("tabIndex",this.tabIndex),this.focusNode.setAttribute("aria-pressed",this.open)):(f.remove(this.focusNode,"aria-controls"),f.remove(this.focusNode,
"tabIndex"),f.remove(this.focusNode,"aria-pressed"));this._set("toggleable",a);this._setCss()},_setContentAttr:function(a){this.open&&this._wipeOut&&"playing"!=this._wipeOut.status()?(this._wipeIn&&"playing"==this._wipeIn.status()&&this._wipeIn.stop(),h.setMarginBox(this.wipeNode,{h:h.getMarginBox(this.wipeNode).h}),this.inherited(arguments),this._wipeIn?this._wipeIn.play():this.hideNode.style.display=""):this.inherited(arguments)},toggle:function(){this._setOpenAttr(!this.open,!0)},_setCss:function(){var a=
this.titleBarNode||this.focusNode,b=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");d.replace(a,this._titleBarClass,b||"");d.replace(a,this._titleBarClass.replace("TitlePaneTitle",""),(b||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+"},_onTitleKey:function(a){a.keyCode==e.DOWN_ARROW&&this.open&&(this.containerNode.focus(),a.preventDefault())},_onTitleClick:function(){this.toggleable&&this.toggle()},
setTitle:function(b){a.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",b)}});b("dojo-bidi")&&l.extend({_setTitleAttr:function(a){this._set("title",a);this.titleNode.innerHTML=a;this.applyTextDir(this.titleNode)},_setTooltipAttr:function(a){this._set("tooltip",a);this.textDir&&(a=this.enforceTextDirWithUcc(null,a));f.set(this.focusNode,"title",a)},_setTextDirAttr:function(a){this._created&&this.textDir!=a&&(this._set("textDir",a),this.set("title",
this.title),this.set("tooltip",this.tooltip))}});return l})},"dojo/fx":function(){define("./_base/lang ./Evented ./_base/kernel ./_base/array ./aspect ./_base/fx ./dom ./dom-style ./dom-geometry ./ready require".split(" "),function(g,l,n,f,d,h,c,b,a,e,p){n.isAsync||e(0,function(){p(["./fx/Toggler"])});n=n.fx={};e={_fire:function(a,b){this[a]&&this[a].apply(this,b||[]);return this}};var k=function(a){this._index=-1;this._animations=a||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=
0;f.forEach(this._animations,function(a){a&&("undefined"!=typeof a.duration&&(this.duration+=a.duration),a.delay&&(this.duration+=a.delay))},this)};k.prototype=new l;g.extend(k,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=d.after(this._current,"onAnimate",
g.hitch(this,"_onAnimate"),!0),this._onEndCtx=d.after(this._current,"onEnd",g.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(a,b){this._current||(this._current=this._animations[this._index=0]);if(!b&&"playing"==this._current.status())return this;var c=d.after(this._current,"beforeBegin",g.hitch(this,function(){this._fire("beforeBegin")}),!0),e=d.after(this._current,"onBegin",g.hitch(this,function(a){this._fire("onBegin",arguments)}),!0),f=d.after(this._current,"onPlay",g.hitch(this,
function(a){this._fire("onPlay",arguments);c.remove();e.remove();f.remove()}));this._onAnimateCtx&&this._onAnimateCtx.remove();this._onAnimateCtx=d.after(this._current,"onAnimate",g.hitch(this,"_onAnimate"),!0);this._onEndCtx&&this._onEndCtx.remove();this._onEndCtx=d.after(this._current,"onEnd",g.hitch(this,"_onEnd"),!0);this._current.play.apply(this._current,arguments);return this},pause:function(){if(this._current){var a=d.after(this._current,"onPause",g.hitch(this,function(b){this._fire("onPause",
arguments);a.remove()}),!0);this._current.pause()}return this},gotoPercent:function(a,b){this.pause();var c=this.duration*a;this._current=null;f.some(this._animations,function(a,b){if(c<=a.duration)return this._current=a,this._index=b,!0;c-=a.duration;return!1},this);this._current&&this._current.gotoPercent(c/this._current.duration);b&&this.play();return this},stop:function(a){if(this._current){if(a){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=
this._animations[this._index]}var b=d.after(this._current,"onStop",g.hitch(this,function(a){this._fire("onStop",arguments);b.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop();this._onAnimateCtx&&this._onAnimateCtx.remove();this._onEndCtx&&this._onEndCtx.remove()}});g.extend(k,e);n.chain=function(a){return new k(g.isArray(a)?a:Array.prototype.slice.call(a,0))};var q=function(a){this._animations=a||
[];this._connects=[];this.duration=this._finished=0;f.forEach(a,function(a){var b=a.duration;a.delay&&(b+=a.delay);this.duration<b&&(this.duration=b);this._connects.push(d.after(a,"onEnd",g.hitch(this,"_onEnd"),!0))},this);this._pseudoAnimation=new h.Animation({curve:[0,1],duration:this.duration});var b=this;f.forEach("beforeBegin onBegin onPlay onAnimate onPause onStop onEnd".split(" "),function(a){b._connects.push(d.after(b._pseudoAnimation,a,function(){b._fire(a,arguments)},!0))})};g.extend(q,
{_doAction:function(a,b){f.forEach(this._animations,function(c){c[a].apply(c,b)});return this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(a,b){var c=this._pseudoAnimation;c[a].apply(c,b)},play:function(a,b){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(a,b){var c=this.duration*a;f.forEach(this._animations,
function(a){a.gotoPercent(a.duration<c?1:c/a.duration,b)});this._call("gotoPercent",arguments);return this},stop:function(a){this._doAction("stop",arguments);this._call("stop",arguments);return this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop();f.forEach(this._connects,function(a){a.remove()})}});g.extend(q,e);n.combine=function(a){return new q(g.isArray(a)?a:Array.prototype.slice.call(a,0))};n.wipeIn=function(a){var e=a.node=c.byId(a.node),f=e.style,m;a=
h.animateProperty(g.mixin({properties:{height:{start:function(){m=f.overflow;f.overflow="hidden";if("hidden"==f.visibility||"none"==f.display)return f.height="1px",f.display="",f.visibility="",1;var a=b.get(e,"height");return Math.max(a,1)},end:function(){return e.scrollHeight}}}},a));var k=function(){f.height="auto";f.overflow=m};d.after(a,"onStop",k,!0);d.after(a,"onEnd",k,!0);return a};n.wipeOut=function(a){var b=(a.node=c.byId(a.node)).style,e;a=h.animateProperty(g.mixin({properties:{height:{end:1}}},
a));d.after(a,"beforeBegin",function(){e=b.overflow;b.overflow="hidden";b.display=""},!0);var f=function(){b.overflow=e;b.height="auto";b.display="none"};d.after(a,"onStop",f,!0);d.after(a,"onEnd",f,!0);return a};n.slideTo=function(e){var f=null,k=null,m=function(c){return function(){var d=b.getComputedStyle(c),e=d.position;f="absolute"==e?c.offsetTop:parseInt(d.top)||0;k="absolute"==e?c.offsetLeft:parseInt(d.left)||0;"absolute"!=e&&"relative"!=e&&(d=a.position(c,!0),f=d.y,k=d.x,c.style.position=
"absolute",c.style.top=f+"px",c.style.left=k+"px")}}(e.node=c.byId(e.node));m();e=h.animateProperty(g.mixin({properties:{top:e.top||0,left:e.left||0}},e));d.after(e,"beforeBegin",m,!0);return e};return n})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y,x,B,G,F,z,E,H,I,D,O,M,K,L,J){function A(a){return t.delegate(a.promise||a,{addCallback:function(a){this.then(a)},addErrback:function(a){this.otherwise(a)}})}var P=f("dijit._TreeNode",[F,z,E,H,I],{item:null,isTreeNode:!0,label:"",_setLabelAttr:function(a){this.labelNode["html"==this.labelType?"innerHTML":"innerText"in this.labelNode?"innerText":"textContent"]=a;this._set("label",a);q("dojo-bidi")&&this.applyTextDir(this.labelNode)},labelType:"text",
isExpandable:null,isExpanded:!1,state:"NotLoaded",templateString:O,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);this.isExpandable&&this.labelNode.setAttribute("aria-expanded",this.isExpanded);this.setSelected(!1)},_setIndentAttr:function(a){var b=Math.max(a,0)*this.tree._nodePixelIndent+"px";e.set(this.domNode,
"backgroundPosition",b+" 0px");e.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",b);g.forEach(this.getChildren(),function(b){b.set("indent",a+1)});this._set("indent",a)},markProcessing:function(){this.state="Loading";this._setExpando(!0)},unmarkProcessing:function(){this._setExpando(!1)},_updateItemClasses:function(a){var b=this.tree,c=b.model;b._v10Compat&&a===c.root&&(a=null);this._applyClassAndStyle(a,"icon","Icon");this._applyClassAndStyle(a,"label","Label");this._applyClassAndStyle(a,
"row","Row");this.tree._startPaint(!0)},_applyClassAndStyle:function(a,c,d){var f="_"+c+"Class";c+="Node";var m=this[f];this[f]=this.tree["get"+d+"Class"](a,this.isExpanded);b.replace(this[c],this[f]||"",m||"");e.set(this[c],this.tree["get"+d+"Style"](a,this.isExpanded)||{})},_updateLayout:function(){var a=this.getParent(),a=!a||!a.rowNode||"none"==a.rowNode.style.display;b.toggle(this.domNode,"dijitTreeIsRoot",a);b.toggle(this.domNode,"dijitTreeIsLast",!a&&!this.getNextSibling())},_setExpando:function(a){var c=
["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];a=a?0:this.isExpandable?this.isExpanded?1:2:3;b.replace(this.expandoNode,c[a],c);this.expandoNodeText.innerHTML=["*","-","+","*"][a]},expand:function(){if(this._expandDeferred)return A(this._expandDeferred);this._collapseDeferred&&(this._collapseDeferred.cancel(),delete this._collapseDeferred);this.isExpanded=!0;this.labelNode.setAttribute("aria-expanded","true");(this.tree.showRoot||this!==this.tree.rootNode)&&
this.containerNode.setAttribute("role","group");b.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","true");var a=k.wipeIn({node:this.containerNode,duration:G.defaultDuration}),c=this._expandDeferred=new d(function(){a.stop()});l.after(a,"onEnd",function(){c.resolve(!0)},!0);a.play();return A(c)},collapse:function(){if(this._collapseDeferred)return A(this._collapseDeferred);
this._expandDeferred&&(this._expandDeferred.cancel(),delete this._expandDeferred);this.isExpanded=!1;this.labelNode.setAttribute("aria-expanded","false");this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","false");b.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var a=k.wipeOut({node:this.containerNode,duration:G.defaultDuration}),c=this._collapseDeferred=new d(function(){a.stop()});l.after(a,"onEnd",
function(){c.resolve(!0)},!0);a.play();return A(c)},indent:0,setChildItems:function(a){var b=this.tree,d=b.model,e=[],f=b.focusedChild,m=this.getChildren();g.forEach(m,function(a){E.prototype.removeChild.call(this,a)},this);this.defer(function(){g.forEach(m,function(a){if(!a._destroyed&&!a.getParent()){var e=function(a){var c=d.getIdentity(a.item),f=b._itemNodesMap[c];1==f.length?delete b._itemNodesMap[c]:(c=g.indexOf(f,a),-1!=c&&f.splice(c,1));g.forEach(a.getChildren(),e)};b.dndController.removeTreeNode(a);
e(a);if(b.persist){var m=g.map(a.getTreePath(),function(a){return b.model.getIdentity(a)}).join("/"),k;for(k in b._openedNodes)k.substr(0,m.length)==m&&delete b._openedNodes[k];b._saveExpandedNodes()}b.lastFocusedChild&&!c.isDescendant(b.lastFocusedChild.domNode,b.domNode)&&delete b.lastFocusedChild;f&&!c.isDescendant(f.domNode,b.domNode)&&b.focus();a.destroyRecursive()}})});this.state="Loaded";a&&0<a.length?(this.isExpandable=!0,g.forEach(a,function(a){var c=d.getIdentity(a),f=b._itemNodesMap[c],
m;if(f)for(var k=0;k<f.length;k++)if(f[k]&&!f[k].getParent()){m=f[k];m.set("indent",this.indent+1);break}m||(m=this.tree._createTreeNode({item:a,tree:b,isExpandable:d.mayHaveChildren(a),label:b.getLabel(a),labelType:b.model&&b.model.labelType||"text",tooltip:b.getTooltip(a),ownerDocument:b.ownerDocument,dir:b.dir,lang:b.lang,textDir:b.textDir,indent:this.indent+1}),f?f.push(m):b._itemNodesMap[c]=[m]);this.addChild(m);(this.tree.autoExpand||this.tree._state(m))&&e.push(b._expandNode(m))},this),g.forEach(this.getChildren(),
function(a){a._updateLayout()})):this.isExpandable=!1;this._setExpando&&this._setExpando(!1);this._updateItemClasses(this.item);a=h(e);this.tree._startPaint(a);return A(a)},getTreePath:function(){for(var a=this,b=[];a&&a!==this.tree.rootNode;)b.unshift(a.item),a=a.getParent();b.unshift(this.tree.rootNode.item);return b},getIdentity:function(){return this.tree.model.getIdentity(this.item)},removeChild:function(a){this.inherited(arguments);var b=this.getChildren();0==b.length&&(this.isExpandable=!1,
this.collapse());g.forEach(b,function(a){a._updateLayout()})},makeExpandable:function(){this.isExpandable=!0;this._setExpando(!1)},setSelected:function(a){this.labelNode.setAttribute("aria-selected",a?"true":"false");b.toggle(this.rowNode,"dijitTreeRowSelected",a)},focus:function(){x.focus(this.focusNode)}});q("dojo-bidi")&&P.extend({_setTextDirAttr:function(a){!a||this.textDir==a&&this._created||(this._set("textDir",a),this.applyTextDir(this.labelNode),g.forEach(this.getChildren(),function(b){b.set("textDir",
a)},this))}});var N=f("dijit.Tree",[F,D,z,I],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:!0,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:!1,openOnDblClick:!1,templateString:M,persist:!1,autoExpand:!1,dndController:J,dndParams:"onDndDrop itemCreator onDndCancel checkAcceptance checkItemAcceptance dragThreshold betweenThreshold".split(" "),onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,
dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(a,b){r.publish(this.id,t.mixin({tree:this,event:a},b||{}))},postMixInProperties:function(){this.tree=this;this.autoExpand&&(this.persist=!1);this._itemNodesMap={};!this.cookieName&&this.id&&(this.cookieName=this.id+"SaveStateCookie");this.expandChildrenDeferred=new d;this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments)},postCreate:function(){this._initState();var a=this;this.own(m(this.containerNode,
m.selector(".dijitTreeNode",w.enter),function(b){a._onNodeMouseEnter(B.byNode(this),b)}),m(this.containerNode,m.selector(".dijitTreeNode",w.leave),function(b){a._onNodeMouseLeave(B.byNode(this),b)}),m(this.containerNode,m.selector(".dijitTreeRow",y.press),function(b){a._onNodePress(B.getEnclosingWidget(this),b)}),m(this.containerNode,m.selector(".dijitTreeRow",y),function(b){a._onClick(B.getEnclosingWidget(this),b)}),m(this.containerNode,m.selector(".dijitTreeRow","dblclick"),function(b){a._onDblClick(B.getEnclosingWidget(this),
b)}));this.model||this._store2model();this.own(l.after(this.model,"onChange",t.hitch(this,"_onItemChange"),!0),l.after(this.model,"onChildrenChange",t.hitch(this,"_onItemChildrenChange"),!0),l.after(this.model,"onDelete",t.hitch(this,"_onItemDelete"),!0));this.inherited(arguments);if(this.dndController){t.isString(this.dndController)&&(this.dndController=t.getObject(this.dndController));for(var b={},c=0;c<this.dndParams.length;c++)this[this.dndParams[c]]&&(b[this.dndParams[c]]=this[this.dndParams[c]]);
this.dndController=new this.dndController(this,b)}this._load();this.onLoadDeferred=A(this.pendingCommandsPromise);this.onLoadDeferred.then(t.hitch(this,"onLoad"))},_store2model:function(){this._v10Compat=!0;v.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var a={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};this.params.mayHaveChildren&&(a.mayHaveChildren=t.hitch(this,"mayHaveChildren"));this.params.getItemChildren&&
(a.getChildren=t.hitch(this,function(a,b,c){this.getItemChildren(this._v10Compat&&a===this.model.root?null:a,b,c)}));this.model=new L(a);this.showRoot=!!this.label},onLoad:function(){},_load:function(){this.model.getRoot(t.hitch(this,function(a){var b=this.rootNode=this.tree._createTreeNode({item:a,tree:this,isExpandable:!0,label:this.label||this.getLabel(a),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?0:-1});this.showRoot?(this.domNode.setAttribute("aria-multiselectable",
!this.dndController.singular),this.rootLoadingIndicator.style.display="none"):(b.rowNode.style.display="none",this.domNode.setAttribute("role","presentation"),this.domNode.removeAttribute("aria-expanded"),this.domNode.removeAttribute("aria-multiselectable"),this["aria-label"]?(b.containerNode.setAttribute("aria-label",this["aria-label"]),this.domNode.removeAttribute("aria-label")):this["aria-labelledby"]&&(b.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]),this.domNode.removeAttribute("aria-labelledby")),
b.labelNode.setAttribute("role","presentation"),b.labelNode.removeAttribute("aria-selected"),b.containerNode.setAttribute("role","tree"),b.containerNode.setAttribute("aria-expanded","true"),b.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular));this.containerNode.appendChild(b.domNode);a=this.model.getIdentity(a);this._itemNodesMap[a]?this._itemNodesMap[a].push(b):this._itemNodesMap[a]=[b];b._updateLayout();this._expandNode(b).then(t.hitch(this,function(){this._destroyed||
(this.rootLoadingIndicator.style.display="none",this.expandChildrenDeferred.resolve(!0))}))}),t.hitch(this,function(a){console.error(this,": error loading root: ",a)}))},getNodesByItem:function(a){if(!a)return[];a=t.isString(a)?a:this.model.getIdentity(a);return[].concat(this._itemNodesMap[a])},_setSelectedItemAttr:function(a){this.set("selectedItems",[a])},_setSelectedItemsAttr:function(a){var b=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(t.hitch(this,function(){var c=
g.map(a,function(a){return!a||t.isString(a)?a:b.model.getIdentity(a)}),d=[];g.forEach(c,function(a){d=d.concat(b._itemNodesMap[a]||[])});this.set("selectedNodes",d)}))},_setPathAttr:function(a){return a.length?A(this.set("paths",[a]).then(function(a){return a[0]})):A(this.set("paths",[]).then(function(a){return a[0]}))},_setPathsAttr:function(a){function b(a,d){var e=a.shift(),f=g.filter(d,function(a){return a.getIdentity()==e})[0];if(f)return a.length?c._expandNode(f).then(function(){return b(a,
f.getChildren())}):f;throw new N.PathError("Could not expand path at "+e);}var c=this;return A(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return h(g.map(a,function(a){a=g.map(a,function(a){return a&&t.isObject(a)?c.model.getIdentity(a):a});if(a.length)return b(a,[c.rootNode]);throw new N.PathError("Empty path");}))}).then(function(a){c.set("selectedNodes",a);return c.paths}))},_setSelectedNodeAttr:function(a){this.set("selectedNodes",[a])},_setSelectedNodesAttr:function(a){this.dndController.setSelection(a)},
expandAll:function(){function a(c){return b._expandNode(c).then(function(){var b=g.filter(c.getChildren()||[],function(a){return a.isExpandable});return h(g.map(b,a))})}var b=this;return A(a(this.rootNode))},collapseAll:function(){function a(c){var d=g.filter(c.getChildren()||[],function(a){return a.isExpandable}),d=h(g.map(d,a));return!c.isExpanded||c==b.rootNode&&!b.showRoot?d:d.then(function(){return b._collapseNode(c)})}var b=this;return A(a(this.rootNode))},mayHaveChildren:function(){},getItemChildren:function(){},
getLabel:function(a){return this.model.getLabel(a)},getIconClass:function(a,b){return!a||this.model.mayHaveChildren(a)?b?"dijitFolderOpened":"dijitFolderClosed":"dijitLeaf"},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return""},_onDownArrow:function(a,b){var c=this._getNext(b);c&&c.isTreeNode&&this.focusNode(c)},_onUpArrow:function(a,b){var c=b.getPreviousSibling();if(c)for(b=c;b.isExpandable&&
b.isExpanded&&b.hasChildren();)c=b.getChildren(),b=c[c.length-1];else if(c=b.getParent(),this.showRoot||c!==this.rootNode)b=c;b&&b.isTreeNode&&this.focusNode(b)},_onRightArrow:function(a,b){b.isExpandable&&!b.isExpanded?this._expandNode(b):b.hasChildren()&&(b=b.getChildren()[0])&&b.isTreeNode&&this.focusNode(b)},_onLeftArrow:function(a,b){if(b.isExpandable&&b.isExpanded)this._collapseNode(b);else{var c=b.getParent();c&&c.isTreeNode&&(this.showRoot||c!==this.rootNode)&&this.focusNode(c)}},focusLastChild:function(){var a=
this._getLast();a&&a.isTreeNode&&this.focusNode(a)},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0]},_getLast:function(){for(var a=this.rootNode;a.isExpanded;){var b=a.getChildren();if(!b.length)break;a=b[b.length-1]}return a},_getNext:function(a){if(a.isExpandable&&a.isExpanded&&a.hasChildren())return a.getChildren()[0];for(;a&&a.isTreeNode;){var b=a.getNextSibling();if(b)return b;a=a.getParent()}return null},childSelector:".dijitTreeRow",isExpandoNode:function(a,
b){return c.isDescendant(a,b.expandoNode)||c.isDescendant(a,b.expandoNodeText)},_onNodePress:function(a,b){this.focusNode(a)},__click:function(a,b,c,d){var e=this.isExpandoNode(b.target,a);a.isExpandable&&(c||e)?this._onExpandoClick({node:a}):(this._publish("execute",{item:a.item,node:a,evt:b}),this[d](a.item,a,b),this.focusNode(a));b.stopPropagation();b.preventDefault()},_onClick:function(a,b){this.__click(a,b,this.openOnClick,"onClick")},_onDblClick:function(a,b){this.__click(a,b,this.openOnDblClick,
"onDblClick")},_onExpandoClick:function(a){a=a.node;this.focusNode(a);a.isExpanded?this._collapseNode(a):this._expandNode(a)},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(a){v.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(a)},_getRootOrFirstNode:function(){v.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","",
"2.0");return this._getFirst()},_collapseNode:function(a){a._expandNodeDeferred&&delete a._expandNodeDeferred;if("Loading"!=a.state&&a.isExpanded){var b=a.collapse();this.onClose(a.item,a);this._state(a,!1);this._startPaint(b);return b}},_expandNode:function(a){if(a._expandNodeDeferred)return a._expandNodeDeferred;var b=this.model,c=a.item,e=this;a._loadDeferred||(a.markProcessing(),a._loadDeferred=new d,b.getChildren(c,function(b){a.unmarkProcessing();a.setChildItems(b).then(function(){a._loadDeferred.resolve(b)})},
function(b){console.error(e,": error loading "+a.label+" children: ",b);a._loadDeferred.reject(b)}));b=a._loadDeferred.then(t.hitch(this,function(){var b=a.expand();this.onOpen(a.item,a);this._state(a,!0);return b}));this._startPaint(b);return b},focusNode:function(a){var b=this.domNode.scrollLeft;this.focusChild(a);this.domNode.scrollLeft=b},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(a){var b=this.model.getIdentity(a);if(b=this._itemNodesMap[b]){var c=this.getLabel(a),
d=this.getTooltip(a);g.forEach(b,function(b){b.set({item:a,label:c,tooltip:d});b._updateItemClasses(a)})}},_onItemChildrenChange:function(a,b){var c=this.model.getIdentity(a);(c=this._itemNodesMap[c])&&g.forEach(c,function(a){a.setChildItems(b)})},_onItemDelete:function(a){a=this.model.getIdentity(a);var b=this._itemNodesMap[a];b&&(g.forEach(b,function(a){this.dndController.removeTreeNode(a);var b=a.getParent();b&&b.removeChild(a);this.lastFocusedChild&&!c.isDescendant(this.lastFocusedChild.domNode,
this.domNode)&&delete this.lastFocusedChild;this.focusedChild&&!c.isDescendant(this.focusedChild.domNode,this.domNode)&&this.focus();a.destroyRecursive()},this),delete this._itemNodesMap[a])},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var a=n(this.cookieName);a&&g.forEach(a.split(","),function(a){this._openedNodes[a]=!0},this)}},_state:function(a,b){if(!this.persist)return!1;var c=g.map(a.getTreePath(),function(a){return this.model.getIdentity(a)},this).join("/");
if(1===arguments.length)return this._openedNodes[c];b?this._openedNodes[c]=!0:delete this._openedNodes[c];this._saveExpandedNodes()},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var a=[],b;for(b in this._openedNodes)a.push(b);n(this.cookieName,a.join(","),{expires:365})}},destroy:function(){this._curSearch&&(this._curSearch.timer.remove(),delete this._curSearch);this.rootNode&&this.rootNode.destroyRecursive();this.dndController&&!t.isString(this.dndController)&&this.dndController.destroy();
this.rootNode=null;this.inherited(arguments)},destroyRecursive:function(){this.destroy()},resize:function(b){b&&a.setMarginBox(this.domNode,b);this._nodePixelIndent=a.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(t.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths()}))},_outstandingPaintOperations:0,_startPaint:function(a){this._outstandingPaintOperations++;this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),
delete this._adjustWidthsTimer);var b=t.hitch(this,function(){this._outstandingPaintOperations--;0>=this._outstandingPaintOperations&&!this._adjustWidthsTimer&&this._started&&(this._adjustWidthsTimer=this.defer("_adjustWidths"))});C(a,b,b)},_adjustWidths:function(){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(a){return new P(a)},
focus:function(){this.lastFocusedChild?this.focusNode(this.lastFocusedChild):this.focusFirstChild()}});q("dojo-bidi")&&N.extend({_setTextDirAttr:function(a){a&&this.textDir!=a&&(this._set("textDir",a),this.rootNode.set("textDir",a))}});N.PathError=p("TreePathError");N._TreeNode=P;return N})},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(g,l){g.cookie=function(g,f,d){var h=document.cookie,c;if(1==arguments.length)c=(c=h.match(new RegExp("(?:^|; )"+l.escapeString(g)+"\x3d([^;]*)")))?
decodeURIComponent(c[1]):void 0;else{d=d||{};h=d.expires;if("number"==typeof h){var b=new Date;b.setTime(b.getTime()+864E5*h);h=d.expires=b}h&&h.toUTCString&&(d.expires=h.toUTCString());f=encodeURIComponent(f);var h=g+"\x3d"+f,a;for(a in d)h+="; "+a,b=d[a],!0!==b&&(h+="\x3d"+b);document.cookie=h}return c};g.cookie.isSupported=function(){"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled="CookiesAllowed"==this("__djCookieTest__"),navigator.cookieEnabled&&
this("__djCookieTest__","",{expires:-1}));return navigator.cookieEnabled};return g.cookie})},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(g,l,n,f){return n("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:!1,constructor:function(d){f.mixin(this,d);this.connects=[];d=this.store;if(!d.getFeatures()["dojo.data.api.Identity"])throw Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");
d.getFeatures()["dojo.data.api.Notification"]&&(this.connects=this.connects.concat([l.after(d,"onNew",f.hitch(this,"onNewItem"),!0),l.after(d,"onDelete",f.hitch(this,"onDeleteItem"),!0),l.after(d,"onSet",f.hitch(this,"onSetItem"),!0)]))},destroy:function(){for(var d;d=this.connects.pop();)d.remove()},getRoot:function(d,h){this.root?d(this.root):this.store.fetch({query:this.query,onComplete:f.hitch(this,function(c){if(1!=c.length)throw Error("dijit.tree.TreeStoreModel: root query returned "+c.length+
" items, but must return exactly one");this.root=c[0];d(this.root)}),onError:h})},mayHaveChildren:function(d){return g.some(this.childrenAttrs,function(f){return this.store.hasAttribute(d,f)},this)},getChildren:function(d,h,c){var b=this.store;if(b.isItemLoaded(d)){for(var a=[],e=0;e<this.childrenAttrs.length;e++)var l=b.getValues(d,this.childrenAttrs[e]),a=a.concat(l);var k=0;this.deferItemLoadingUntilExpand||g.forEach(a,function(a){b.isItemLoaded(a)||k++});0==k?h(a):g.forEach(a,function(d,e){b.isItemLoaded(d)||
b.loadItem({item:d,onItem:function(b){a[e]=b;0==--k&&h(a)},onError:c})})}else{var n=f.hitch(this,arguments.callee);b.loadItem({item:d,onItem:function(a){n(a,h,c)},onError:c})}},isItem:function(d){return this.store.isItem(d)},fetchItemByIdentity:function(d){this.store.fetchItemByIdentity(d)},getIdentity:function(d){return this.store.getIdentity(d)},getLabel:function(d){return this.labelAttr?this.store.getValue(d,this.labelAttr):this.store.getLabel(d)},newItem:function(d,f,c){var b={parent:f,attribute:this.childrenAttrs[0]},
a;this.newItemIdAttr&&d[this.newItemIdAttr]?this.fetchItemByIdentity({identity:d[this.newItemIdAttr],scope:this,onItem:function(e){e?this.pasteItem(e,null,f,!0,c):(a=this.store.newItem(d,b))&&void 0!=c&&this.pasteItem(a,f,f,!1,c)}}):(a=this.store.newItem(d,b))&&void 0!=c&&this.pasteItem(a,f,f,!1,c)},pasteItem:function(d,f,c,b,a){var e=this.store,h=this.childrenAttrs[0];f&&g.forEach(this.childrenAttrs,function(a){if(e.containsValue(f,a,d)){if(!b){var c=g.filter(e.getValues(f,a),function(a){return a!=
d});e.setValues(f,a,c)}h=a}});if(c)if("number"==typeof a){var k=e.getValues(c,h).slice();k.splice(a,0,d);e.setValues(c,h,k)}else e.setValues(c,h,e.getValues(c,h).concat(d))},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(d,h){h&&this.getChildren(h.item,f.hitch(this,function(c){this.onChildrenChange(h.item,c)}))},onDeleteItem:function(d){this.onDelete(d)},onSetItem:function(d,h){if(-1!=g.indexOf(this.childrenAttrs,h))this.getChildren(d,f.hitch(this,function(c){this.onChildrenChange(d,
c)}));else this.onChange(d)}})})},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(g,l,n,f,d){return l("dijit.tree.ForestStoreModel",d,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(d){this.root={store:this,root:!0,id:d.rootId,label:d.rootLabel,children:d.rootChildren}},mayHaveChildren:function(d){return d===this.root||this.inherited(arguments)},getChildren:function(d,c,b){d===
this.root?this.root.children?c(this.root.children):this.store.fetch({query:this.query,onComplete:f.hitch(this,function(a){this.root.children=a;c(a)}),onError:b}):this.inherited(arguments)},isItem:function(d){return d===this.root?!0:this.inherited(arguments)},fetchItemByIdentity:function(d){if(d.identity==this.root.id){var c=d.scope||n.global;d.onItem&&d.onItem.call(c,this.root)}else this.inherited(arguments)},getIdentity:function(d){return d===this.root?this.root.id:this.inherited(arguments)},getLabel:function(d){return d===
this.root?this.root.label:this.inherited(arguments)},newItem:function(d,c,b){return c===this.root?(this.onNewRootItem(d),this.store.newItem(d)):this.inherited(arguments)},onNewRootItem:function(){},pasteItem:function(d,c,b,a,e){if(c===this.root&&!a)this.onLeaveRoot(d);this.inherited(arguments,[d,c===this.root?null:c,b===this.root?null:b,a,e]);if(b===this.root)this.onAddToRoot(d)},onAddToRoot:function(d){console.log(this,": item ",d," added to root")},onLeaveRoot:function(d){console.log(this,": item ",
d," removed from root")},_requeryTop:function(){var d=this.root.children||[];this.store.fetch({query:this.query,onComplete:f.hitch(this,function(c){this.root.children=c;if(d.length!=c.length||g.some(d,function(b,a){return c[a]!=b}))this.onChildrenChange(this.root,c)})})},onNewItem:function(d,c){this._requeryTop();this.inherited(arguments)},onDeleteItem:function(d){-1!=g.indexOf(this.root.children,d)&&this._requeryTop();this.inherited(arguments)},onSetItem:function(d,c,b,a){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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p){return l("dijit.tree._dndSelector",p,{constructor:function(){this.selection={};this.anchor=null;this.events.push(b(this.tree.domNode,a.press,f.hitch(this,"onMouseDown")),b(this.tree.domNode,a.release,f.hitch(this,"onMouseUp")),b(this.tree.domNode,a.move,f.hitch(this,
"onMouseMove")),b(this.tree.domNode,e.press,f.hitch(this,"onClickPress")),b(this.tree.domNode,e.release,f.hitch(this,"onClickRelease")))},singular:!1,getSelectedTreeNodes:function(){var a=[],b=this.selection,c;for(c in b)a.push(b[c]);return a},selectNone:function(){this.setSelection([]);return this},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null},addTreeNode:function(a,b){this.setSelection(this.getSelectedTreeNodes().concat([a]));b&&(this.anchor=a);return a},removeTreeNode:function(a){var b=
g.filter(this.getSelectedTreeNodes(),function(b){return!h.isDescendant(b.domNode,a.domNode)});this.setSelection(b);return a},isTreeNodeSelected:function(a){return a.id&&!!this.selection[a.id]},setSelection:function(a){var b=this.getSelectedTreeNodes();g.forEach(this._setDifference(b,a),f.hitch(this,function(a){a.setSelected(!1);this.anchor==a&&delete this.anchor;delete this.selection[a.id]}));g.forEach(this._setDifference(a,b),f.hitch(this,function(a){a.setSelected(!0);this.selection[a.id]=a}));this._updateSelectionProperties()},
_setDifference:function(a,b){g.forEach(b,function(a){a.__exclude__=!0});var c=g.filter(a,function(a){return!a.__exclude__});g.forEach(b,function(a){delete a.__exclude__});return c},_updateSelectionProperties:function(){var a=this.getSelectedTreeNodes(),b=[],c=[];g.forEach(a,function(a){var d=a.getTreePath();c.push(a);b.push(d)},this);a=g.map(c,function(a){return a.item});this.tree._set("paths",b);this.tree._set("path",b[0]||[]);this.tree._set("selectedNodes",c);this.tree._set("selectedNode",c[0]||
null);this.tree._set("selectedItems",a);this.tree._set("selectedItem",a[0]||null)},onClickPress:function(a){if(!(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(a.target,this.current))){"mousedown"==a.type&&c.isLeft(a)&&a.preventDefault();var b="keydown"==a.type?this.tree.focusedChild:this.current;if(b){var e=d.getCopyKeyState(a),f=b.id;this.singular||a.shiftKey||!this.selection[f]?(this._doDeselect=!1,this.userSelect(b,e,a.shiftKey)):this._doDeselect=!0}}},onClickRelease:function(a){this._doDeselect&&
(this._doDeselect=!1,this.userSelect("keyup"==a.type?this.tree.focusedChild:this.current,d.getCopyKeyState(a),a.shiftKey))},onMouseMove:function(){this._doDeselect=!1},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(a,b){if(a===b)return 0;if("sourceIndex"in document.documentElement)return a.sourceIndex-b.sourceIndex;if("compareDocumentPosition"in document.documentElement)return a.compareDocumentPosition(b)&2?1:-1;if(document.createRange){var c=doc.createRange();c.setStartBefore(a);
var d=doc.createRange();d.setStartBefore(b);return c.compareBoundaryPoints(c.END_TO_END,d)}throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");},userSelect:function(a,b,c){if(this.singular)this.anchor==a&&b?this.selectNone():(this.setSelection([a]),this.anchor=a);else if(c&&this.anchor){b=this._compareNodes(this.anchor.rowNode,a.rowNode);c=this.anchor;0>b?b=c:(b=a,a=c);for(c=[];b!=a;)c.push(b),b=this.tree._getNext(b);c.push(a);this.setSelection(c)}else this.selection[a.id]&&
b?this.removeTreeNode(a):b?this.addTreeNode(a,!0):(this.setSelection([a]),this.anchor=a)},getItem:function(a){return{data:this.selection[a],type:["treeNode"]}},forInSelectedItems:function(a,b){b=b||n.global;for(var c in this.selection)a.call(b,this.getItem(c),c,this)}})})},"dijit/tree/_dndContainer":function(){define("dojo/aspect dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/on dojo/touch".split(" "),function(g,l,n,f,d,h){return l("dijit.tree._dndContainer",null,{constructor:function(c,b){this.tree=
c;this.node=c.domNode;f.mixin(this,b);this.containerState="";n.add(this.node,"dojoDndContainer");this.events=[d(this.node,h.enter,f.hitch(this,"onOverEvent")),d(this.node,h.leave,f.hitch(this,"onOutEvent")),g.after(this.tree,"_onNodeMouseEnter",f.hitch(this,"onMouseOver"),!0),g.after(this.tree,"_onNodeMouseLeave",f.hitch(this,"onMouseOut"),!0),d(this.node,"dragstart, selectstart",function(a){a.preventDefault()})]},destroy:function(){for(var c;c=this.events.pop();)c.remove();this.node=this.parent=
null},onMouseOver:function(c){this.current=c},onMouseOut:function(){this.current=null},_changeState:function(c,b){var a="dojoDnd"+c,d=c.toLowerCase()+"State";n.replace(this.node,a+b,a+this[d]);this[d]=b},_addItemClass:function(c,b){n.add(c,"dojoDndItem"+b)},_removeItemClass:function(c,b){n.remove(c,"dojoDndItem"+b)},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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y,x,B,G,F){w=f("dijit._InlineEditor",[r,w,C],{templateString:F,contextRequire:g,postMixInProperties:function(){this.inherited(arguments);this.messages=a.getLocalization("dijit","common",this.lang);l.forEach(["buttonSave","buttonCancel"],function(a){this[a]||(this[a]=this.messages[a])},this)},buildRendering:function(){this.inherited(arguments);var a="string"==typeof this.editor?k.getObject(this.editor)||g(this.editor):this.editor,d=this.sourceStyle,
e="line-height:"+d.lineHeight+";",f=b.getComputedStyle(this.domNode);l.forEach(["Weight","Family","Size","Style"],function(a){f["font"+a]!=d["font"+a]&&(e+="font-"+a+":"+d["font"+a]+";")},this);l.forEach("marginTop marginBottom marginLeft marginRight position left top right bottom float clear display".split(" "),function(a){this.domNode.style[a]=d[a]},this);var m=this.inlineEditBox.width;"100%"==m?(e+="width:100%;",this.domNode.style.display="block"):e+="width:"+(m+(Number(m)==m?"px":""))+";";m=k.delegate(this.inlineEditBox.editorParams,
{style:e,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new a(m,this.editorPlaceholder);this.inlineEditBox.autoSave&&(this.saveButton.destroy(),this.cancelButton.destroy(),this.saveButton=this.cancelButton=null,c.destroy(this.buttonContainer))},postCreate:function(){this.inherited(arguments);var a=this.editWidget;this.inlineEditBox.autoSave?this.own(n.after(a,"onChange",k.hitch(this,"_onChange"),!0),q(a,"keydown",k.hitch(this,"_onKeyDown"))):"intermediateChanges"in a&&(a.set("intermediateChanges",
!0),this.own(n.after(a,"onChange",k.hitch(this,"_onIntermediateChange"),!0)),this.saveButton.set("disabled",!0))},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(!0);this.inherited(arguments)},getValue:function(){var a=this.editWidget;return String(a.get("displayedValue"in a||"_getDisplayedValueAttr"in a?"displayedValue":
"value"))},_onKeyDown:function(a){this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&!a.altKey&&!a.ctrlKey&&(a.keyCode==p.ESCAPE?(a.stopPropagation(),a.preventDefault(),this.cancel(!0)):a.keyCode==p.ENTER&&"INPUT"==a.target.tagName&&(a.stopPropagation(),a.preventDefault(),this._onChange()))},_onBlur:function(){this.inherited(arguments);this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&(this.getValue()==this._resetValue?this.cancel(!1):this.enableSave()&&this.save(!1))},_onChange:function(){this.inlineEditBox.autoSave&&
this.inlineEditBox.editing&&this.enableSave()&&m.focus(this.inlineEditBox.displayNode)},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():!0},focus:function(){this.editWidget.focus();this.editWidget.focusNode&&(m._onFocusNode(this.editWidget.focusNode),"INPUT"==this.editWidget.focusNode.tagName&&this.defer(function(){B.selectInputText(this.editWidget.focusNode)}))}});r=f("dijit.InlineEditBox"+(v("dojo-bidi")?"_NoBidi":""),r,{editing:!1,autoSave:!0,buttonSave:"",buttonCancel:"",
renderAsHtml:!1,editor:G,editorWrapper:w,editorParams:{},disabled:!1,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:6>=v("ie")?"\x3cspan style\x3d'font-family: wingdings; text-decoration: underline;'\x3e\x26#160;\x26#160;\x26#160;\x26#160;\x26#x270d;\x26#160;\x26#160;\x26#160;\x26#160;\x3c/span\x3e":"\x3cspan style\x3d'text-decoration: underline;'\x3e\x26#160;\x26#160;\x26#160;\x26#160;\x26#x270d;\x26#160;\x26#160;\x26#160;\x26#160;\x3c/span\x3e",constructor:function(){this.editorParams=
{}},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(q(this.displayNode,t,k.hitch(this,"_onClick")),q(this.displayNode,"mouseover, focus",k.hitch(this,"_onMouseOver")),q(this.displayNode,"mouseout, blur",k.hitch(this,"_onMouseOut")));this.displayNode.setAttribute("role","button");this.displayNode.getAttribute("tabIndex")||this.displayNode.setAttribute("tabIndex",0);this.value||"value"in this.params||(this.value=k.trim(this.renderAsHtml?this.displayNode.innerHTML:
this.displayNode.innerText||this.displayNode.textContent||""));this.value||(this.displayNode.innerHTML=this.noValueIndicator);h.add(this.displayNode,"dijitInlineEditBoxDisplayMode")},setDisabled:function(a){e.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",a)},_setDisabledAttr:function(a){this.domNode.setAttribute("aria-disabled",a?"true":"false");a?this.displayNode.removeAttribute("tabIndex"):this.displayNode.setAttribute("tabIndex",
0);h.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",a);this._set("disabled",a)},_onMouseOver:function(){this.disabled||h.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover")},_onMouseOut:function(){h.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover")},_onClick:function(a){this.disabled||(a&&(a.stopPropagation(),a.preventDefault()),this._onMouseOut(),this.defer("edit"))},edit:function(){if(!this.disabled&&!this.editing){this._set("editing",!0);this._savedTabIndex=
d.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var a=c.create("span",null,this.domNode,"before");this.wrapperWidget=new ("string"==typeof this.editorWrapper?k.getObject(this.editorWrapper):this.editorWrapper)({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:b.getComputedStyle(this.displayNode),save:k.hitch(this,"save"),cancel:k.hitch(this,"cancel"),
textDir:this.textDir},a);this.wrapperWidget._started||this.wrapperWidget.startup();this._started||this.startup()}var e=this.wrapperWidget;h.add(this.displayNode,"dijitOffScreen");h.remove(e.domNode,"dijitOffScreen");b.set(e.domNode,{visibility:"visible"});d.set(this.displayNode,"tabIndex","-1");var f=e.editWidget,m=this;u(f.onLoadDeferred,k.hitch(e,function(){f.set("displayedValue"in f||"_setDisplayedValueAttr"in f?"displayedValue":"value",m.value);this.defer(function(){e.saveButton&&e.saveButton.set("disabled",
"intermediateChanges"in f);this.focus();this._resetValue=this.getValue()})}))}},_onBlur:function(){this.inherited(arguments)},destroy:function(){this.wrapperWidget&&!this.wrapperWidget._destroyed&&(this.wrapperWidget.destroy(),delete this.wrapperWidget);this.inherited(arguments)},_showText:function(a){var c=this.wrapperWidget;b.set(c.domNode,{visibility:"hidden"});h.add(c.domNode,"dijitOffScreen");h.remove(this.displayNode,"dijitOffScreen");d.set(this.displayNode,"tabIndex",this._savedTabIndex);a&&
m.focus(this.displayNode)},save:function(a){if(!this.disabled&&this.editing){this._set("editing",!1);var b=this.wrapperWidget.getValue();this.set("value",b);this._showText(a)}},setValue:function(a){e.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",a)},_setValueAttr:function(a){a=k.trim(a);var b=this.renderAsHtml?a:a.replace(/&/gm,"\x26amp;").replace(/</gm,"\x26lt;").replace(/>/gm,"\x26gt;").replace(/"/gm,"\x26quot;").replace(/\n/g,
"\x3cbr\x3e");this.displayNode.innerHTML=this.editorParams&&"password"===this.editorParams.type?"********":b||this.noValueIndicator;this._set("value",a);this._started&&this.defer(function(){this.onChange(a)})},getValue:function(){e.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value")},cancel:function(a){!this.disabled&&this.editing&&(this._set("editing",!1),this.defer("onCancel"),this._showText(a))}});v("dojo-bidi")&&(r=f("dijit.InlineEditBox",
r,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode)}}));r._InlineEditor=w;return r})},"dijit/form/Form":function(){define("dojo/_base/declare dojo/dom-attr dojo/_base/kernel dojo/sniff ../_Widget ../_TemplatedMixin ./_FormMixin ../layout/_ContentPaneResizeMixin".split(" "),function(g,l,n,f,d,h,c,b){return g("dijit.form.Form",[d,h,c,b],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"\x3cform data-dojo-attach-point\x3d'containerNode' data-dojo-attach-event\x3d'onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}\x3e\x3c/form\x3e",
postMixInProperties:function(){this.nameAttrSetting=this.name?"name\x3d'"+this.name+"'":"";this.inherited(arguments)},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(a){l.set(this.domNode,"encType",a);f("ie")&&(this.domNode.encoding=a);this._set("encType",a)},reset:function(a){var b={returnValue:!0,preventDefault:function(){this.returnValue=!1},stopPropagation:function(){},currentTarget:a?a.target:this.domNode,target:a?a.target:this.domNode};!1!==this.onReset(b)&&b.returnValue&&
this.inherited(arguments,[])},onReset:function(){return!0},_onReset:function(a){this.reset(a);a.stopPropagation();a.preventDefault();return!1},_onSubmit:function(a){var b=this.constructor.prototype;if(this.execute!=b.execute||this.onExecute!=b.onExecute)n.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0"),this.onExecute(),this.execute(this.getValues());!1===this.onSubmit(a)&&(a.stopPropagation(),a.preventDefault())},onSubmit:function(){return this.isValid()},
submit:function(){!1!==this.onSubmit()&&this.containerNode.submit()}})})},"dijit/form/ComboButton":function(){define("dojo/_base/declare dojo/keys ../focus ./DropDownButton dojo/text!./templates/ComboButton.html ../a11yclick".split(" "),function(g,l,n,f,d){return g("dijit.form.ComboButton",f,{templateString:d,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{buttonNode:"dijitButtonNode",titleNode:"dijitButtonContents",
_popupStateNode:"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(d){d.keyCode==l[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]&&(n.focus(this._popupStateNode),d.stopPropagation(),d.preventDefault())},_onArrowKeyDown:function(d){d.keyCode==l[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]&&(n.focus(this.titleNode),d.stopPropagation(),d.preventDefault())},focus:function(d){this.disabled||n.focus("start"==d?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".split(" "),
function(g,l,n,f,d,h,c,b,a){f("dijit-legacy-requires")&&h(0,function(){g(["dijit/form/RadioButton"])});return l("dijit.form.CheckBox",[c,b],{templateString:a,baseClass:"dijitCheckBox",_setValueAttr:function(a,b){"string"==typeof a&&(this.inherited(arguments),a=!0);this._created&&this.set("checked",a,b)},_getValueAttr:function(){return this.checked&&this._get("value")},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=""},
_fillContent:function(){},_onFocus:function(){this.id&&d("label[for\x3d'"+this.id+"']").addClass("dijitFocusedLabel");this.inherited(arguments)},_onBlur:function(){this.id&&d("label[for\x3d'"+this.id+"']").removeClass("dijitFocusedLabel");this.inherited(arguments)}})})},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(g,l){return g("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:!1,_aria_attr:"aria-checked",_setReadOnlyAttr:function(g){this._set("readOnly",
g);l.set(this.focusNode,"readOnly",g)},_setLabelAttr:void 0,_getSubmitValue:function(g){return null==g||""===g?"on":g},_setValueAttr:function(g){g=this._getSubmitValue(g);this._set("value",g);l.set(this.focusNode,"value",g)},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));l.set(this.focusNode,"value",this.value)},_onClick:function(g){return this.readOnly?(g.stopPropagation(),g.preventDefault(),!1):this.inherited(arguments)}})})},"dijit/form/RadioButton":function(){define(["dojo/_base/declare",
"./CheckBox","./_RadioButtonMixin"],function(g,l,n){return g("dijit.form.RadioButton",[l,n],{baseClass:"dijitRadio"})})},"dijit/form/_RadioButtonMixin":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/_base/lang dojo/query!css2 ../registry".split(" "),function(g,l,n,f,d,h){return l("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var c=[];d("input[type\x3dradio]",this.focusNode.form||this.ownerDocument).forEach(f.hitch(this,function(b){b.name==
this.name&&b.form==this.focusNode.form&&(b=h.getEnclosingWidget(b))&&c.push(b)}));return c},_setCheckedAttr:function(c){this.inherited(arguments);this._created&&c&&g.forEach(this._getRelatedWidgets(),f.hitch(this,function(b){b!=this&&b.checked&&b.set("checked",!1)}))},_getSubmitValue:function(c){return null==c?"on":c},_onClick:function(c){if(this.checked||this.disabled)return c.stopPropagation(),c.preventDefault(),!1;if(this.readOnly)return c.stopPropagation(),c.preventDefault(),g.forEach(this._getRelatedWidgets(),
f.hitch(this,function(a){n.set(this.focusNode||this.domNode,"checked",a.checked)})),!1;var b=!1,a;g.some(this._getRelatedWidgets(),function(b){return b.checked?(a=b,!0):!1});this.checked=!0;a&&(a.checked=!1);if(!1===this.onClick(c)||c.defaultPrevented)b=!0;this.checked=!1;a&&(a.checked=!0);b?c.preventDefault():this.set("checked",!0);return!b}})})},"dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(g,l,n,f){return l("dijit.form.CurrencyTextBox",
f,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",_formatter:g.format,_parser:g.parse,_regExpGenerator:g.regexp,parse:function(d,g){var c=this.inherited(arguments);isNaN(c)&&/\d+/.test(d)&&(c=n.hitch(n.delegate(this,{_parser:f.prototype._parser}),"inherited")(arguments));return c},_setConstraintsAttr:function(d){!d.currency&&this.currency&&(d.currency=this.currency);this.inherited(arguments,[g._mixInDefaults(n.mixin(d,{exponent:!1}))])}})})},"dojo/currency":function(){define("./_base/array ./_base/lang ./number ./i18n ./i18n!./cldr/nls/currency ./cldr/monetary".split(" "),
function(g,l,n,f,d,h){var c={};l.setObject("dojo.currency",c);c._mixInDefaults=function(b){b=b||{};b.type="currency";var a=f.getLocalization("dojo.cldr","currency",b.locale)||{},c=b.currency,d=h.getData(c);g.forEach(["displayName","symbol","group","decimal"],function(b){d[b]=a[c+"_"+b]});d.fractional=[!0,!1];return l.mixin(d,b)};c.format=function(b,a){return n.format(b,c._mixInDefaults(a))};c.regexp=function(b){return n.regexp(c._mixInDefaults(b))};c.parse=function(b,a){return n.parse(b,c._mixInDefaults(a))};
return c})},"dojo/cldr/monetary":function(){define(["../_base/kernel","../_base/lang"],function(g,l){var n={};l.setObject("dojo.cldr.monetary",n);n.getData=function(f){var d={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:2,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}[f];f={}[f];"undefined"==typeof d&&(d=2);"undefined"==typeof f&&(f=0);return{places:d,round:f}};return n})},"dijit/form/NumberTextBox":function(){define("dojo/_base/declare dojo/_base/lang dojo/i18n dojo/string dojo/number ./RangeBoundTextBox".split(" "),function(g,l,n,f,d,h){var c=function(a){a=a||{};var b=n.getLocalization("dojo.cldr","number",n.normalizeLocale(a.locale)),c=a.pattern?a.pattern:b[(a.type||"decimal")+"Format"];a="number"==typeof a.places?a.places:"string"===
typeof a.places&&0<a.places.length?a.places.replace(/.*,/,""):-1!=c.indexOf(".")?c.split(".")[1].replace(/[^#0]/g,"").length:0;return{sep:b.decimal,places:a}},b=g("dijit.form.NumberTextBoxMixin",null,{pattern:function(a){return"("+(this.focused&&this.editOptions?this._regExpGenerator(l.delegate(a,this.editOptions))+"|":"")+this._regExpGenerator(a)+")"},value:NaN,editOptions:{pattern:"#.######"},_formatter:d.format,_regExpGenerator:d.regexp,_decimalInfo:c(),postMixInProperties:function(){this.inherited(arguments);
this._set("type","text")},_setConstraintsAttr:function(a){var b="number"==typeof a.places?a.places:0;b&&b++;"number"!=typeof a.max&&(a.max=9*Math.pow(10,15-b));"number"!=typeof a.min&&(a.min=-9*Math.pow(10,15-b));this.inherited(arguments,[a]);this.focusNode&&this.focusNode.value&&!isNaN(this.value)&&this.set("value",this.value);this._decimalInfo=c(a)},_onFocus:function(){if(!this.disabled&&!this.readOnly){var a=this.get("value");"number"!=typeof a||isNaN(a)||(a=this.format(a,this.constraints),void 0!==
a&&(this.textbox.value=a));this.inherited(arguments)}},format:function(a,b){var c=String(a);if("number"!=typeof a)return c;if(isNaN(a))return"";if(!("rangeCheck"in this&&this.rangeCheck(a,b))&&!1!==b.exponent&&/\de[-+]?\d/i.test(c))return c;this.editOptions&&this.focused&&(b=l.mixin({},b,this.editOptions));return this._formatter(a,b)},_parser:d.parse,parse:function(a,b){var c=l.mixin({},b,this.editOptions&&this.focused?this.editOptions:{});if(this.focused&&null!=c.places){var d=c.places,d="number"===
typeof d?d:Number(d.split(",").pop());c.places="0,"+d}c=this._parser(a,c);this.editOptions&&this.focused&&isNaN(c)&&(c=this._parser(a,b));return c},_getDisplayedValueAttr:function(){var a=this.inherited(arguments);return isNaN(a)?this.textbox.value:a},filter:function(a){if(null==a||"string"==typeof a&&""==a)return NaN;"number"!=typeof a||isNaN(a)||0==a||(a=d.round(a,this._decimalInfo.places));return this.inherited(arguments,[a])},serialize:function(a,b){return"number"!=typeof a||isNaN(a)?"":this.inherited(arguments)},
_setBlurValue:function(){var a=l.hitch(l.delegate(this,{focused:!0}),"get")("value");this._setValueAttr(a,!0)},_setValueAttr:function(a,b,c){if(void 0!==a&&void 0===c)if(c=String(a),"number"==typeof a)if(isNaN(a))c="";else{if("rangeCheck"in this&&this.rangeCheck(a,this.constraints)||!1===this.constraints.exponent||!/\de[-+]?\d/i.test(c))c=void 0}else a?a=void 0:(c="",a=NaN);this.inherited(arguments,[a,b,c])},_getValueAttr:function(){var a=this.inherited(arguments);if(isNaN(a)&&""!==this.textbox.value){if(!1!==
this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+d._realNumberRegexp(l.delegate(this.constraints))+"$")).test(this.textbox.value))return a=Number(this.textbox.value),isNaN(a)?void 0:a}else return a},isValid:function(a){if(!this.focused||this._isEmpty(this.textbox.value))return this.inherited(arguments);var b=this.get("value");return!isNaN(b)&&this.rangeCheck(b,this.constraints)?!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)?!0:this.inherited(arguments):
!1},_isValidSubset:function(){var a="number"==typeof this.constraints.min,b="number"==typeof this.constraints.max,c=this.get("value");if(isNaN(c)||!a&&!b)return this.inherited(arguments);var d=c|0,g=0>c,h=-1!=this.textbox.value.indexOf(this._decimalInfo.sep),l=(this.maxLength||20)-this.textbox.value.length,n=h?this.textbox.value.split(this._decimalInfo.sep)[1].replace(/[^0-9]/g,""):"",d=h?d+"."+n:d+"",l=f.rep("9",l),h=c;g?h=Number(d+l):c=Number(d+l);return!(a&&c<this.constraints.min||b&&h>this.constraints.max)}});
g=g("dijit.form.NumberTextBox",[h,b],{baseClass:"dijitTextBox dijitNumberTextBox"});g.Mixin=b;return g})},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox","dojo/i18n!./nls/validate"],function(g,l,n){return g("dijit.form.RangeBoundTextBox",n,{rangeMessage:"",rangeCheck:function(f,d){return("min"in d?0<=this.compare(f,d.min):!0)&&("max"in d?0>=this.compare(f,d.max):!0)},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints)},
_isDefinitelyOutOfRange:function(){var f=this.get("value");if(null==f)return!1;var d=!1;"min"in this.constraints&&(d=this.constraints.min,d=0>this.compare(f,"number"==typeof d&&0<=d&&0!=f?0:d));!d&&"max"in this.constraints&&(d=this.constraints.max,d=0<this.compare(f,"number"!=typeof d||0<d?d:0));return d},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange()},isValid:function(f){return this.inherited(arguments)&&(this._isEmpty(this.textbox.value)&&!this.required||
this.isInRange(f))},getErrorMessage:function(f){var d=this.get("value");return null==d||""===d||"number"==typeof d&&isNaN(d)||this.isInRange(f)?this.inherited(arguments):this.rangeMessage},postMixInProperties:function(){this.inherited(arguments);this.rangeMessage||(this.messages=l.getLocalization("dijit.form","validate",this.lang),this.rangeMessage=this.messages.rangeMessage)}})})},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(g,l,n){return g("dijit.form.DateTextBox",
n,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:l,_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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m){var r=f("dijit.Calendar",
[q,v,u],{baseClass:"dijitCalendar",cssStateNodes:{decrementMonth:"dijitCalendarArrow",incrementMonth:"dijitCalendarArrow",previousYearLabelNode:"dijitCalendarPreviousYear",nextYearLabelNode:"dijitCalendarNextYear"},setValue:function(a){b.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",a)},_createMonthWidget:function(){return new r._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:e.hitch(this,"_onMonthSelect"),lang:this.lang,
dateLocaleModule:this.dateLocaleModule},this.monthNode)},postCreate:function(){this.inherited(arguments);this.own(p(this.domNode,"keydown",e.hitch(this,"_onKeyDown")),p(this.dateRowsNode,"mouseover",e.hitch(this,"_onDayMouseOver")),p(this.dateRowsNode,"mouseout",e.hitch(this,"_onDayMouseOut")),p(this.dateRowsNode,"mousedown",e.hitch(this,"_onDayMouseDown")),p(this.dateRowsNode,"mouseup",e.hitch(this,"_onDayMouseUp")))},_onMonthSelect:function(a){var b=new this.dateClassObj(this.currentFocus);b.setDate(1);
b.setMonth(a);a=this.dateModule.getDaysInMonth(b);var c=this.currentFocus.getDate();b.setDate(Math.min(c,a));this._setCurrentFocusAttr(b)},_onDayMouseOver:function(a){(a=h.contains(a.target,"dijitCalendarDateLabel")?a.target.parentNode:a.target)&&(a.dijitDateValue&&!h.contains(a,"dijitCalendarDisabledDate")||a==this.previousYearLabelNode||a==this.nextYearLabelNode)&&(h.add(a,"dijitCalendarHoveredDate"),this._currentNode=a)},_onDayMouseOut:function(a){!this._currentNode||a.relatedTarget&&a.relatedTarget.parentNode==
this._currentNode||(a="dijitCalendarHoveredDate",h.contains(this._currentNode,"dijitCalendarActiveDate")&&(a+=" dijitCalendarActiveDate"),h.remove(this._currentNode,a),this._currentNode=null)},_onDayMouseDown:function(a){(a=a.target.parentNode)&&a.dijitDateValue&&!h.contains(a,"dijitCalendarDisabledDate")&&(h.add(a,"dijitCalendarActiveDate"),this._currentNode=a)},_onDayMouseUp:function(a){(a=a.target.parentNode)&&a.dijitDateValue&&h.remove(a,"dijitCalendarActiveDate")},handleKey:function(b){var c=
-1,d,e=this.currentFocus;switch(b.keyCode){case a.RIGHT_ARROW:c=1;case a.LEFT_ARROW:d="day";this.isLeftToRight()||(c*=-1);break;case a.DOWN_ARROW:c=1;case a.UP_ARROW:d="week";break;case a.PAGE_DOWN:c=1;case a.PAGE_UP:d=b.ctrlKey||b.altKey?"year":"month";break;case a.END:e=this.dateModule.add(e,"month",1),d="day";case a.HOME:e=new this.dateClassObj(e);e.setDate(1);break;default:return!0}d&&(e=this.dateModule.add(e,d,c));this._setCurrentFocusAttr(e);return!1},_onKeyDown:function(a){this.handleKey(a)||
(a.stopPropagation(),a.preventDefault())},onValueSelected:function(){},onChange:function(a){this.onValueSelected(a)},getClassForDate:function(){}});r._MonthDropDownButton=f("dijit.Calendar._MonthDropDownButton",m,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new r._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect})},_setMonthAttr:function(a){var b=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a);this.dropDown.set("months",
b);this.containerNode.innerHTML=(6==k("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+this.dropDown.domNode.innerHTML+"\x3c/div\x3e")+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+b[a.getMonth()]+"\x3c/div\x3e"}});r._MonthDropDown=f("dijit.Calendar._MonthDropDown",[v,t,u],{months:[],baseClass:"dijitCalendarMonthMenu dijitMenu",templateString:"\x3cdiv data-dojo-attach-event\x3d'ondijitclick:_onClick'\x3e\x3c/div\x3e",_setMonthsAttr:function(a){this.domNode.innerHTML=
"";g.forEach(a,function(a,b){c.create("div",{className:"dijitCalendarMonthLabel",month:b,innerHTML:a},this.domNode)._cssState="dijitCalendarMonthLabel"},this)},_onClick:function(a){this.onChange(d.get(a.target,"month"))},onChange:function(){}});return r})},"dojo/date":function(){define(["./has","./_base/lang"],function(g,l){var n={getDaysInMonth:function(f){var d=f.getMonth();return 1==d&&n.isLeapYear(f)?29:[31,28,31,30,31,30,31,31,30,31,30,31][d]},isLeapYear:function(f){f=f.getFullYear();return!(f%
400)||!(f%4)&&!!(f%100)},getTimezoneName:function(f){var d=f.toString(),g="",c=d.indexOf("(");if(-1<c)g=d.substring(++c,d.indexOf(")"));else if(c=/([A-Z\/]+) \d{4}$/,d=d.match(c))g=d[1];else if(d=f.toLocaleString(),c=/ ([A-Z\/]+)$/,d=d.match(c))g=d[1];return"AM"==g||"PM"==g?"":g},compare:function(f,d,g){f=new Date(+f);d=new Date(+(d||new Date));"date"==g?(f.setHours(0,0,0,0),d.setHours(0,0,0,0)):"time"==g&&(f.setFullYear(0,0,0),d.setFullYear(0,0,0));return f>d?1:f<d?-1:0},add:function(f,d,g){var c=
new Date(+f),b=!1,a="Date";switch(d){case "day":break;case "weekday":var e;(d=g%5)?e=parseInt(g/5):(d=0<g?5:-5,e=0<g?(g-5)/5:(g+5)/5);var h=f.getDay(),k=0;6==h&&0<g?k=1:0==h&&0>g&&(k=-1);h+=d;if(0==h||6==h)k=0<g?2:-2;g=7*e+d+k;break;case "year":a="FullYear";b=!0;break;case "week":g*=7;break;case "quarter":g*=3;case "month":b=!0;a="Month";break;default:a="UTC"+d.charAt(0).toUpperCase()+d.substring(1)+"s"}if(a)c["set"+a](c["get"+a]()+g);b&&c.getDate()<f.getDate()&&c.setDate(0);return c},difference:function(f,
d,g){d=d||new Date;g=g||"day";var c=d.getFullYear()-f.getFullYear(),b=1;switch(g){case "quarter":f=f.getMonth();d=d.getMonth();b=Math.floor(d/3)+1+4*c-(Math.floor(f/3)+1);break;case "weekday":c=Math.round(n.difference(f,d,"day"));g=parseInt(n.difference(f,d,"week"));if(0==c%7)c=5*g;else{var b=0,a=f.getDay(),e=d.getDay();g=parseInt(c/7);d=c%7;f=new Date(f);f.setDate(f.getDate()+7*g);f=f.getDay();if(0<c)switch(!0){case 6==a:b=-1;break;case 0==a:b=0;break;case 6==e:b=-1;break;case 0==e:b=-2;break;case 5<
f+d:b=-2}else if(0>c)switch(!0){case 6==a:b=0;break;case 0==a:b=1;break;case 6==e:b=2;break;case 0==e:b=1;break;case 0>f+d:b=2}c=c+b-2*g}b=c;break;case "year":b=c;break;case "month":b=d.getMonth()-f.getMonth()+12*c;break;case "week":b=parseInt(n.difference(f,d,"day")/7);break;case "day":b/=24;case "hour":b/=60;case "minute":b/=60;case "second":b/=1E3;case "millisecond":b*=d.getTime()-f.getTime()}return Math.round(b)}};l.mixin(l.getObject("dojo.date",!0),n);return n})},"dojo/date/locale":function(){define("../_base/lang ../_base/array ../date ../cldr/supplemental ../i18n ../regexp ../string ../i18n!../cldr/nls/gregorian module".split(" "),
function(g,l,n,f,d,h,c,b,a){function e(a,b,d,e){return e.replace(/([a-z])\1*/ig,function(m){var g,k,h=m.charAt(0);m=m.length;var l=["abbr","wide","narrow"];switch(h){case "G":g=b[4>m?"eraAbbr":"eraNames"][0>a.getFullYear()?0:1];break;case "y":g=a.getFullYear();switch(m){case 1:break;case 2:if(!d.fullYear){g=String(g);g=g.substr(g.length-2);break}default:k=!0}break;case "Q":case "q":g=Math.ceil((a.getMonth()+1)/3);k=!0;break;case "M":case "L":g=a.getMonth();3>m?(g+=1,k=!0):(h=["months","L"==h?"standAlone":
"format",l[m-3]].join("-"),g=b[h][g]);break;case "w":g=q._getWeekOfYear(a,0);k=!0;break;case "d":g=a.getDate();k=!0;break;case "D":g=q._getDayOfYear(a);k=!0;break;case "e":case "c":if(g=a.getDay(),2>m){g=(g-f.getFirstDayOfWeek(d.locale)+8)%7;break}case "E":g=a.getDay();3>m?(g+=1,k=!0):(h=["days","c"==h?"standAlone":"format",l[m-3]].join("-"),g=b[h][g]);break;case "a":h=12>a.getHours()?"am":"pm";g=d[h]||b["dayPeriods-format-wide-"+h];break;case "h":case "H":case "K":case "k":k=a.getHours();switch(h){case "h":g=
k%12||12;break;case "H":g=k;break;case "K":g=k%12;break;case "k":g=k||24}k=!0;break;case "m":g=a.getMinutes();k=!0;break;case "s":g=a.getSeconds();k=!0;break;case "S":g=Math.round(a.getMilliseconds()*Math.pow(10,m-3));k=!0;break;case "v":case "z":if(g=q._getZone(a,!0,d))break;m=4;case "Z":h=q._getZone(a,!1,d);h=[0>=h?"+":"-",c.pad(Math.floor(Math.abs(h)/60),2),c.pad(Math.abs(h)%60,2)];4==m&&(h.splice(0,0,"GMT"),h.splice(3,0,":"));g=h.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+
e);}k&&(g=c.pad(g,m));return g})}function p(a,b,c,d){var e=function(a){return a};b=b||e;c=c||e;d=d||e;var f=a.match(/(''|[^'])+/g),m="'"==a.charAt(0);l.forEach(f,function(a,d){a?(f[d]=(m?c:b)(a.replace(/''/g,"'")),m=!m):f[d]=""});return d(f.join(""))}function k(a,b,c,d){d=h.escapeString(d);c.strict||(d=d.replace(" a"," ?a"));return d.replace(/([a-z])\1*/ig,function(d){var e;e=d.charAt(0);var f=d.length,m="",g="";c.strict?(1<f&&(m="0{"+(f-1)+"}"),2<f&&(g="0{"+(f-2)+"}")):(m="0?",g="0{0,2}");switch(e){case "y":e=
"\\d{2,4}";break;case "M":case "L":2<f?(e=b["months-"+("L"==e?"standAlone":"format")+"-"+v[f-3]].slice(0).join("|"),c.strict||(e=e.replace(/\./g,""),e="(?:"+e+")\\.?")):e="1[0-2]|"+m+"[1-9]";break;case "D":e="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+m+"[1-9][0-9]|"+g+"[1-9]";break;case "d":e="3[01]|[12]\\d|"+m+"[1-9]";break;case "w":e="[1-4][0-9]|5[0-3]|"+m+"[1-9]";break;case "E":case "e":case "c":e=".+?";break;case "h":e="1[0-2]|"+m+"[1-9]";break;case "k":e="1[01]|"+m+"\\d";break;case "H":e="1\\d|2[0-3]|"+
m+"\\d";break;case "K":e="1\\d|2[0-4]|"+m+"[1-9]";break;case "m":case "s":e="[0-5]\\d";break;case "S":e="\\d{"+f+"}";break;case "a":f=c.am||b["dayPeriods-format-wide-am"];m=c.pm||b["dayPeriods-format-wide-pm"];e=f+"|"+m;c.strict||(f!=f.toLowerCase()&&(e+="|"+f.toLowerCase()),m!=m.toLowerCase()&&(e+="|"+m.toLowerCase()),-1!=e.indexOf(".")&&(e+="|"+e.replace(/\./g,"")));e=e.replace(/\./g,"\\.");break;default:e=".*"}a&&a.push(d);return"("+e+")"}).replace(/[\xa0 ]/g,"[\\s\\xa0]")}var q={};g.setObject(a.id.replace(/\//g,
"."),q);q._getZone=function(a,b,c){return b?n.getTimezoneName(a):a.getTimezoneOffset()};q.format=function(a,b){b=b||{};var c=d.normalizeLocale(b.locale),f=b.formatLength||"short",c=q._getGregorianBundle(c),m=[],k=g.hitch(this,e,a,c,b);if("year"==b.selector)return p(c["dateFormatItem-yyyy"]||"yyyy",k);var h;"date"!=b.selector&&(h=b.timePattern||c["timeFormat-"+f])&&m.push(p(h,k));"time"!=b.selector&&(h=b.datePattern||c["dateFormat-"+f])&&m.push(p(h,k));return 1==m.length?m[0]:c["dateTimeFormat-"+f].replace(/\'/g,
"").replace(/\{(\d+)\}/g,function(a,b){return m[b]})};q.regexp=function(a){return q._parseInfo(a).regexp};q._parseInfo=function(a){a=a||{};var b=d.normalizeLocale(a.locale),b=q._getGregorianBundle(b),c=a.formatLength||"short",e=a.datePattern||b["dateFormat-"+c],f=a.timePattern||b["timeFormat-"+c],c="date"==a.selector?e:"time"==a.selector?f:b["dateTimeFormat-"+c].replace(/\{(\d+)\}/g,function(a,b){return[f,e][b]}),m=[];return{regexp:p(c,g.hitch(this,k,m,b,a)),tokens:m,bundle:b}};q.parse=function(a,
b){var c=/[\u200E\u200F\u202A\u202E]/g,d=q._parseInfo(b),e=d.tokens,f=d.bundle,c=(new RegExp("^"+d.regexp.replace(c,"")+"$",d.strict?"":"i")).exec(a&&a.replace(c,""));if(!c)return null;var m=["abbr","wide","narrow"],g=[1970,0,1,0,0,0,0],k="",c=l.every(c,function(a,c){if(!c)return!0;var d=e[c-1],h=d.length,d=d.charAt(0);switch(d){case "y":if(2!=h&&b.strict)g[0]=a;else if(100>a)a=Number(a),d=""+(new Date).getFullYear(),h=100*d.substring(0,2),d=Math.min(Number(d.substring(2,4))+20,99),g[0]=a<d?h+a:h-
100+a;else{if(b.strict)return!1;g[0]=a}break;case "M":case "L":if(2<h){if(h=f["months-"+("L"==d?"standAlone":"format")+"-"+m[h-3]].concat(),b.strict||(a=a.replace(".","").toLowerCase(),h=l.map(h,function(a){return a.replace(".","").toLowerCase()})),a=l.indexOf(h,a),-1==a)return!1}else a--;g[1]=a;break;case "E":case "e":case "c":h=f["days-"+("c"==d?"standAlone":"format")+"-"+m[h-3]].concat();b.strict||(a=a.toLowerCase(),h=l.map(h,function(a){return a.toLowerCase()}));a=l.indexOf(h,a);if(-1==a)return!1;
break;case "D":g[1]=0;case "d":g[2]=a;break;case "a":h=b.am||f["dayPeriods-format-wide-am"];d=b.pm||f["dayPeriods-format-wide-pm"];if(!b.strict){var n=/\./g;a=a.replace(n,"").toLowerCase();h=h.replace(n,"").toLowerCase();d=d.replace(n,"").toLowerCase()}if(b.strict&&a!=h&&a!=d)return!1;k=a==d?"p":a==h?"a":"";break;case "K":24==a&&(a=0);case "h":case "H":case "k":if(23<a)return!1;g[3]=a;break;case "m":g[4]=a;break;case "s":g[5]=a;break;case "S":g[6]=a}return!0}),d=+g[3];"p"===k&&12>d?g[3]=d+12:"a"===
k&&12==d&&(g[3]=0);d=new Date(g[0],g[1],g[2],g[3],g[4],g[5],g[6]);b.strict&&d.setFullYear(g[0]);var h=e.join(""),r=-1!=h.indexOf("d"),h=-1!=h.indexOf("M");if(!c||h&&d.getMonth()>g[1]||r&&d.getDate()>g[2])return null;if(h&&d.getMonth()<g[1]||r&&d.getDate()<g[2])d=n.add(d,"hour",1);return d};var v=["abbr","wide","narrow"],u=[],t={};q.addCustomFormats=function(a,b){u.push({pkg:a,name:b});t={}};q._getGregorianBundle=function(a){if(t[a])return t[a];var b={};l.forEach(u,function(c){c=d.getLocalization(c.pkg,
c.name,a);b=g.mixin(b,c)},this);return t[a]=b};q.addCustomFormats(a.id.replace(/\/date\/locale$/,".cldr"),"gregorian");q.getNames=function(a,b,c,d){var e;d=q._getGregorianBundle(d);a=[a,c,b];"standAlone"==c&&(c=a.join("-"),e=d[c],1==e[0]&&(e=void 0));a[1]="format";return(e||d[a.join("-")]).concat()};q.isWeekend=function(a,b){var c=f.getWeekend(b),d=(a||new Date).getDay();c.end<c.start&&(c.end+=7,d<c.start&&(d+=7));return d>=c.start&&d<=c.end};q._getDayOfYear=function(a){return n.difference(new Date(a.getFullYear(),
0,1,a.getHours()),a)+1};q._getWeekOfYear=function(a,b){1==arguments.length&&(b=0);var c=(new Date(a.getFullYear(),0,1)).getDay(),d=(c-b+7)%7,d=Math.floor((q._getDayOfYear(a)+d-1)/7);c==b&&d++;return d};return q})},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(g,l){var n={};g.setObject("dojo.cldr.supplemental",n);n.getFirstDayOfWeek=function(f){f={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}[n._region(f)];return void 0===f?1:f};n._region=function(f){f=l.normalizeLocale(f);f=f.split("-");var d=f[1];d?4==d.length&&(d=f[2]):d={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"}[f[0]];return d};n.getWeekend=
function(f){var d=n._region(f);f={"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}[d];d={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}[d];void 0===f&&(f=6);void 0===d&&(d=0);return{start:f,end:d}};return n})},"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/dom-attr dojo/_base/lang dojo/on dojo/sniff dojo/string ./_WidgetBase ./_TemplatedMixin dojo/text!./templates/Calendar.html ./a11yclick ./hccss".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t){var m=l("dijit.CalendarLite",[v,u],{templateString:t,dowTemplateString:'\x3cth class\x3d"dijitReset dijitCalendarDayLabelTemplate" role\x3d"columnheader" scope\x3d"col"\x3e\x3cspan class\x3d"dijitCalendarDayLabel"\x3e${d}\x3c/span\x3e\x3c/th\x3e',dateTemplateString:'\x3ctd class\x3d"dijitReset" role\x3d"gridcell" data-dojo-attach-point\x3d"dateCells"\x3e\x3cspan class\x3d"dijitCalendarDateLabel" data-dojo-attach-point\x3d"dateLabels"\x3e\x3c/span\x3e\x3c/td\x3e',
weekTemplateString:'\x3ctr class\x3d"dijitReset dijitCalendarWeekTemplate" role\x3d"row"\x3e${d}${d}${d}${d}${d}${d}${d}\x3c/tr\x3e',value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",dayOffset:-1,currentFocus:new Date,_setSummaryAttr:"gridNode",baseClass:"dijitCalendar dijitCalendarLite",_isValidDate:function(a){return a&&!isNaN(a)&&"object"==typeof a&&a.toString()!=this.constructor.prototype.value.toString()},_getValueAttr:function(){var a=this._get("value");if(a&&!isNaN(a)){var b=
new this.dateClassObj(a);b.setHours(0,0,0,0);b.getDate()<a.getDate()&&(b=this.dateModule.add(b,"hour",1));return b}return null},_setValueAttr:function(a,b){"string"==typeof a&&(a=h.fromISOString(a));a=this._patchDate(a);if(this._isValidDate(a)&&!this.isDisabledDate(a,this.lang)){if(this._set("value",a),this.set("currentFocus",a),this._markSelectedDates([a]),this._created&&(b||"undefined"==typeof b))this.onChange(this.get("value"))}else this._set("value",null),this._markSelectedDates([])},_patchDate:function(a){if(a||
0===a)a=new this.dateClassObj(a),a.setHours(1,0,0,0);return a},_setText:function(a,b){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(a.ownerDocument.createTextNode(b))},_populateGrid:function(){var b=new this.dateClassObj(this.currentFocus);b.setDate(1);var b=this._patchDate(b),c=b.getDay(),e=this.dateModule.getDaysInMonth(b),f=this.dateModule.getDaysInMonth(this.dateModule.add(b,"month",-1)),m=new this.dateClassObj,k=0<=this.dayOffset?this.dayOffset:n.getFirstDayOfWeek(this.lang);k>
c&&(k-=7);if(!this.summary){var h=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,b);this.gridNode.setAttribute("summary",h[b.getMonth()])}this._date2cell={};g.forEach(this.dateCells,function(g,h){var l=h+k,n=new this.dateClassObj(b),r="dijitCalendar",p=0;l<c?(l=f-c+l+1,p=-1,r+="Previous"):l>=c+e?(l=l-c-e+1,p=1,r+="Next"):(l=l-c+1,r+="Current");p&&(n=this.dateModule.add(n,"month",p));n.setDate(l);this.dateModule.compare(n,m,"date")||(r="dijitCalendarCurrentDate "+r);this.isDisabledDate(n,
this.lang)?(r="dijitCalendarDisabledDate "+r,g.setAttribute("aria-disabled","true")):(r="dijitCalendarEnabledDate "+r,g.removeAttribute("aria-disabled"),g.setAttribute("aria-selected","false"));(p=this.getClassForDate(n,this.lang))&&(r=p+" "+r);g.className=r+"Month dijitCalendarDateTemplate";r=n.valueOf();this._date2cell[r]=g;g.dijitDateValue=r;r=n.getDateLocalized?n.getDateLocalized(this.lang):n.getDate();this._setText(this.dateLabels[h],r);a.set(g,"aria-label",d.format(n,{selector:"date",formatLength:"long"}))},
this)},_populateControls:function(){var a=new this.dateClassObj(this.currentFocus);a.setDate(1);this.monthWidget.set("month",a);var b=a.getFullYear()-1,c=new this.dateClassObj;g.forEach(["previous","current","next"],function(a){c.setFullYear(b++);this._setText(this[a+"YearLabelNode"],this.dateLocaleModule.format(c,{selector:"year",locale:this.lang}))},this)},goToToday:function(){this.set("value",new this.dateClassObj)},constructor:function(a){this.dateModule=a.datePackage?e.getObject(a.datePackage,
!1):f;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=a.datePackage?e.getObject(a.datePackage+".locale",!1):d},_createMonthWidget:function(){return m._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},buildRendering:function(){var a=this.dowTemplateString,b=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),d=0<=this.dayOffset?this.dayOffset:n.getFirstDayOfWeek(this.lang);this.dayCellsHtml=q.substitute([a,
a,a,a,a,a,a].join(""),{d:""},function(){return b[d++%7]});a=q.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[a,a,a,a,a,a].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);c.setSelectable(this.domNode,!1);a=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",a,!1)},postCreate:function(){this.inherited(arguments);this._connectControls()},_connectControls:function(){var a=e.hitch(this,function(a,
b,c){this[a].dojoClick=!0;return p(this[a],"click",e.hitch(this,function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,b,c))}))});this.own(a("incrementMonth","month",1),a("decrementMonth","month",-1),a("nextYearLabelNode","year",1),a("previousYearLabelNode","year",-1))},_setCurrentFocusAttr:function(a,b){var c=this.currentFocus,d=this._getNodeByDate(c);a=this._patchDate(a);this._set("currentFocus",a);this._date2cell&&0==this.dateModule.difference(c,a,"month")||(this._populateGrid(),
this._populateControls(),this._markSelectedDates([this.value]));c=this._getNodeByDate(a);c.setAttribute("tabIndex",this.tabIndex);(this.focused||b)&&c.focus();d&&d!=c&&(k("webkit")?d.setAttribute("tabIndex","-1"):d.removeAttribute("tabIndex"))},focus:function(){this._setCurrentFocusAttr(this.currentFocus,!0)},_onDayClick:function(a){a.stopPropagation();a.preventDefault();for(a=a.target;a&&!a.dijitDateValue&&0!==a.dijitDateValue;a=a.parentNode);a&&!b.contains(a,"dijitCalendarDisabledDate")&&this.set("value",
a.dijitDateValue)},_getNodeByDate:function(a){return(a=this._patchDate(a))&&this._date2cell?this._date2cell[a.valueOf()]:null},_markSelectedDates:function(a){function c(a,c){b.toggle(c,"dijitCalendarSelectedDate",a);c.setAttribute("aria-selected",a?"true":"false")}g.forEach(this._selectedCells||[],e.partial(c,!1));this._selectedCells=g.filter(g.map(a,this._getNodeByDate,this),function(a){return a});g.forEach(this._selectedCells,e.partial(c,!0))},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});
m._MonthWidget=l("dijit.CalendarLite._MonthWidget",v,{_setMonthAttr:function(a){var b=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a),c=6==k("ie")?"":"\x3cdiv class\x3d'dijitSpacer'\x3e"+g.map(b,function(a){return"\x3cdiv\x3e"+a+"\x3c/div\x3e"}).join("")+"\x3c/div\x3e";this.domNode.innerHTML=c+"\x3cdiv class\x3d'dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'\x3e"+b[a.getMonth()]+"\x3c/div\x3e"}});return m})},"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".split(" "),
function(g,l,n,f,d,h,c,b){new Date("X");return f("dijit.form._DateTimeTextBox",[h,c],{templateString:b,hasDownArrow:!0,cssStateNodes:{_buttonNode:"dijitDownArrowButton"},_unboundedConstraints:{},pattern:l.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},compare:function(a,b){var c=this._isInvalidDate(a),d=this._isInvalidDate(b);if(c||d)return c&&d?0:c?-1:1;var c=this.format(a,this._unboundedConstraints),d=this.format(b,this._unboundedConstraints),
e=this.parse(c,this._unboundedConstraints),f=this.parse(d,this._unboundedConstraints);return c==d?0:g.compare(e,f,this._selector)},autoWidth:!0,format:function(a,b){return a?this.dateLocaleModule.format(a,b):""},parse:function(a,b){return this.dateLocaleModule.parse(a,b)||(this._isEmpty(a)?null:void 0)},serialize:function(a,b){a.toGregorian&&(a=a.toGregorian());return n.toISOString(a,b)},dropDownDefaultValue:new Date,value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(a){a=
a||{};this.dateModule=a.datePackage?d.getObject(a.datePackage,!1):g;this.dateClassObj=this.dateModule.Date||Date;this.dateClassObj instanceof Date||(this.value=new this.dateClassObj(this.value));this.dateLocaleModule=a.datePackage?d.getObject(a.datePackage+".locale",!1):l;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString()},buildRendering:function(){this.inherited(arguments);this.hasDownArrow||(this._buttonNode.style.display="none");this.hasDownArrow||
(this._buttonNode=this.domNode,this.baseClass+=" dijitComboBoxOpenOnClick")},_setConstraintsAttr:function(a){a.selector=this._selector;a.fullYear=!0;var b=n.fromISOString;"string"==typeof a.min&&(a.min=b(a.min),this.dateClassObj instanceof Date||(a.min=new this.dateClassObj(a.min)));"string"==typeof a.max&&(a.max=b(a.max),this.dateClassObj instanceof Date||(a.max=new this.dateClassObj(a.max)));this.inherited(arguments);this._unboundedConstraints=d.mixin({},this.constraints,{min:null,max:null})},_isInvalidDate:function(a){return!a||
isNaN(a)||"object"!=typeof a||a.toString()==this._invalidDate},_setValueAttr:function(a,b,c){void 0!==a&&("string"==typeof a&&(a=n.fromISOString(a)),this._isInvalidDate(a)&&(a=null),a instanceof Date&&!(this.dateClassObj instanceof Date)&&(a=new this.dateClassObj(a)));this.inherited(arguments,[a,b,c]);this.value instanceof Date&&(this.filterString="");!1!==b&&this.dropDown&&this.dropDown.set("value",a,!1)},_set:function(a,b){if("value"==a){b instanceof Date&&!(this.dateClassObj instanceof Date)&&
(b=new this.dateClassObj(b));var c=this._get("value");if(c instanceof this.dateClassObj&&0==this.compare(b,c))return}this.inherited(arguments)},_setDropDownDefaultValueAttr:function(a){this._isInvalidDate(a)&&(a=new this.dateClassObj);this._set("dropDownDefaultValue",a)},openDropDown:function(a){this.dropDown&&this.dropDown.destroy();var b=d.isString(this.popupClass)?d.getObject(this.popupClass,!1):this.popupClass,c=this,f=this.get("value");this.dropDown=new b({onChange:function(a){c.set("value",
a,!0)},id:this.id+"_popup",dir:c.dir,lang:c.lang,value:f,textDir:c.textDir,currentFocus:this._isInvalidDate(f)?this.dropDownDefaultValue:f,constraints:c.constraints,filterString:c.filterString,datePackage:c.datePackage,isDisabledDate:function(a){return!c.rangeCheck(a,c.constraints)}});this.inherited(arguments)},_getDisplayedValueAttr:function(){return this.textbox.value},_setDisplayedValueAttr:function(a,b){this._setValueAttr(this.parse(a,this.constraints),b,a)}})})},"dijit/form/TimeTextBox":function(){define("dojo/_base/declare dojo/keys dojo/query dojo/_base/lang ../_TimePicker ./_DateTimeTextBox".split(" "),
function(g,l,n,f,d,h){return g("dijit.form.TimeTextBox",h,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:d,_selector:"time",value:new Date(""),maxHeight:-1,openDropDown:function(c){this.inherited(arguments);var b=n(".dijitTimePickerItemSelected",this.dropDown.domNode),a=this.dropDown.domNode.parentNode;a.scrollTop=b[0]?b[0].offsetTop-(a.clientHeight-b[0].clientHeight)/2:(a.scrollHeight-a.clientHeight)/2;this.dropDown.on("input",f.hitch(this,function(){this.set("value",this.dropDown.get("value"),
!1)}))},_onInput:function(){this.inherited(arguments);var c=this.get("displayedValue");this.filterString=c&&!this.parse(c,this.constraints)?c.toLowerCase():"";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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t){return d("dijit._TimePicker",[u,t],{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:f.toISOString,buildRendering:function(){this.inherited(arguments);this.timeMenu=this.containerNode=this.domNode},setValue:function(a){b.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.",
"","2.0");this.set("value",a)},_setValueAttr:function(a){this._set("value",a);this._showText()},_setFilterStringAttr:function(a){this._set("filterString",a);this._showText()},isDisabledDate:function(){return!1},_getFilteredNodes:function(a,b,c,d){a=this.ownerDocument.createDocumentFragment();for(b=0;b<this._maxIncrement;b++)(c=this._createOption(b))&&a.appendChild(c);return a},_showText:function(){var a=f.fromISOString;this.domNode.innerHTML="";this._clickableIncrementDate=a(this.clickableIncrement);
this._visibleIncrementDate=a(this.visibleIncrement);var b=function(a){return 3600*a.getHours()+60*a.getMinutes()+a.getSeconds()},c=b(this._clickableIncrementDate),b=b(this._visibleIncrementDate);(this.value||this.currentFocus).getTime();this._refDate=a(this.pickerMin);this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._visibleIncrement=b/c;a=a(this.pickerMax);a.setFullYear(1970,0,1);a=.001*(a.getTime()-this._refDate.getTime());this._maxIncrement=Math.ceil((a+1)/c);c=this._getFilteredNodes();
!c.firstChild&&this.filterString?(this.filterString="",this._showText()):this.domNode.appendChild(c)},constructor:function(){this.constraints={}},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints)},_setConstraintsAttr:function(a){for(var b in{clickableIncrement:1,visibleIncrement:1,pickerMin:1,pickerMax:1})b in a&&(this[b]=a[b]);a.locale||(a.locale=this.lang)},_createOption:function(a){var b=new Date(this._refDate),d=this._clickableIncrementDate;b.setHours(b.getHours()+
d.getHours()*a,b.getMinutes()+d.getMinutes()*a,b.getSeconds()+d.getSeconds()*a);"time"==this.constraints.selector&&b.setFullYear(1970,0,1);var e=n.format(b,this.constraints);if(this.filterString&&0!==e.toLowerCase().indexOf(this.filterString))return null;d=this.ownerDocument.createElement("div");d.className=this.baseClass+"Item";d.date=b;d.idx=a;c.create("div",{"class":this.baseClass+"ItemInner",innerHTML:e},d);e=1>a%this._visibleIncrement&&-1<a%this._visibleIncrement;a=!e&&!(a%this._clickableIncrement);
e?d.className+=" "+this.baseClass+"Marker":a&&(d.className+=" "+this.baseClass+"Tick");this.isDisabledDate(b)&&(d.className+=" "+this.baseClass+"ItemDisabled");this.value&&!l.compare(this.value,b,this.constraints.selector)&&(d.selected=!0,d.className+=" "+this.baseClass+"ItemSelected",this._selectedDiv=d,e?d.className+=" "+this.baseClass+"MarkerSelected":a&&(d.className+=" "+this.baseClass+"TickSelected"),this._highlightOption(d,!0));return d},onOpen:function(){this.inherited(arguments);this.set("selected",
this._selectedDiv)},_onOptionSelected:function(a,b){var c=a.target.date||a.target.parentNode.date;c&&!this.isDisabledDate(c)&&(this._set("value",c),this.emit("input"),b&&(this._highlighted_option=null,this.set("value",c),this.onChange(c)))},onChange:function(){},_highlightOption:function(a,b){if(a){if(b)this._highlighted_option&&this._highlightOption(this._highlighted_option,!1),this._highlighted_option=a;else{if(this._highlighted_option!==a)return;this._highlighted_option=null}h.toggle(a,this.baseClass+
"ItemHover",b);h.contains(a,this.baseClass+"Marker")?h.toggle(a,this.baseClass+"MarkerHover",b):h.toggle(a,this.baseClass+"TickHover",b)}},handleKey:function(b){if(b.keyCode==a.DOWN_ARROW)return this.selectNextNode(),this._onOptionSelected({target:this._highlighted_option},!1),b.stopPropagation(),b.preventDefault(),!1;if(b.keyCode==a.UP_ARROW)return this.selectPreviousNode(),this._onOptionSelected({target:this._highlighted_option},!1),b.stopPropagation(),b.preventDefault(),!1;if(b.keyCode==a.ENTER||
b.keyCode===a.TAB){if(!this._keyboardSelected&&b.keyCode===a.TAB)return!0;this._highlighted_option&&this._onOptionSelected({target:this._highlighted_option},!0);return b.keyCode===a.TAB}},onHover:function(a){this._highlightOption(a,!0)},onUnhover:function(a){this._highlightOption(a,!1)},onSelect:function(a){this._highlightOption(a,!0)},onDeselect:function(a){this._highlightOption(a,!1)},onClick:function(a){this._onOptionSelected({target:a},!0)}})})},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare",
"dojo/keys","./_Spinner","./NumberTextBox"],function(g,l,n,f){return g("dijit.form.NumberSpinner",[n,f.Mixin],{baseClass:"dijitTextBox dijitSpinner dijitNumberTextBox",adjust:function(d,f){var c=this.constraints,b=isNaN(d),a=!isNaN(c.max),e=!isNaN(c.min);b&&0!=f&&(d=0<f?e?c.min:a?c.max:0:a?this.constraints.max:e?c.min:0);var g=d+f;if(b||isNaN(g))return d;a&&g>c.max&&(g=c.max);e&&g<c.min&&(g=c.min);return g},_onKeyDown:function(d){if(!(this.disabled||this.readOnly||d.keyCode!=l.HOME&&d.keyCode!=l.END||
d.ctrlKey||d.altKey||d.metaKey||"undefined"==typeof this.get("value"))){var f=this.constraints[d.keyCode==l.HOME?"min":"max"];"number"==typeof f&&this._setValueAttr(f,!1);d.stopPropagation();d.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".split(" "),function(g,l,n,f,d,h,c,b,a,e){return g("dijit.form._Spinner",b,{defaultTimeout:500,
minimumTimeout:10,timeoutChangeRate:.9,smallDelta:1,largeDelta:10,templateString:a,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{upArrowNode:"dijitUpArrowButton",downArrowNode:"dijitDownArrowButton"},adjust:function(a){return a},_arrowPressed:function(a,b,c){this.disabled||this.readOnly||(this._setValueAttr(this.adjust(this.get("value"),b*c),!1),e.selectInputText(this.textbox,this.textbox.value.length))},_arrowReleased:function(){this._wheelTimer=null},_typematicCallback:function(a,b,c){var d=
this.smallDelta;b==this.textbox&&(b=c.keyCode,d=b==l.PAGE_UP||b==l.PAGE_DOWN?this.largeDelta:this.smallDelta,b=b==l.UP_ARROW||b==l.PAGE_UP?this.upArrowNode:this.downArrowNode);-1==a?this._arrowReleased(b):this._arrowPressed(b,b==this.upArrowNode?1:-1,d)},_wheelTimer:null,_mouseWheeled:function(a){if(this.focused){a.stopPropagation();a.preventDefault();var b=a.wheelDelta/120;Math.floor(b)!=b&&(b=0<a.wheelDelta?1:-1);a=a.detail?-1*a.detail:b;if(0!==a){var c=this[0<a?"upArrowNode":"downArrowNode"];this._arrowPressed(c,
a,this.smallDelta);this._wheelTimer&&this._wheelTimer.remove();this._wheelTimer=this.defer(function(){this._arrowReleased(c)},50)}}},_setConstraintsAttr:function(a){this.inherited(arguments);this.focusNode&&(void 0!==this.constraints.min?this.focusNode.setAttribute("aria-valuemin",this.constraints.min):this.focusNode.removeAttribute("aria-valuemin"),void 0!==this.constraints.max?this.focusNode.setAttribute("aria-valuemax",this.constraints.max):this.focusNode.removeAttribute("aria-valuemax"))},_setValueAttr:function(a,
b){this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this.own(h(this.domNode,d.wheel,n.hitch(this,"_mouseWheeled")),c.addListener(this.upArrowNode,this.textbox,{keyCode:l.UP_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),c.addListener(this.downArrowNode,this.textbox,{keyCode:l.DOWN_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,
"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),c.addListener(this.upArrowNode,this.textbox,{keyCode:l.PAGE_UP,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),c.addListener(this.downArrowNode,this.textbox,{keyCode:l.PAGE_DOWN,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout))}})})},"dijit/form/ComboBox":function(){define(["dojo/_base/declare",
"./ValidationTextBox","./ComboBoxMixin"],function(g,l,n){return g("dijit.form.ComboBox",[l,n],{})})},"dijit/form/MultiSelect":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-geometry dojo/sniff dojo/query ./_FormValueWidget dojo/NodeList-dom".split(" "),function(g,l,n,f,d,h){h=l("dijit.form.MultiSelect"+(f("dojo-bidi")?"_NoBidi":""),h,{size:7,baseClass:"dijitMultiSelect",templateString:"\x3cselect multiple\x3d'multiple' ${!nameAttrSetting} data-dojo-attach-point\x3d'containerNode,focusNode' data-dojo-attach-event\x3d'onchange: _onChange'\x3e\x3c/select\x3e",
addSelected:function(c){c.getSelected().forEach(function(b){this.containerNode.appendChild(b);this.domNode.scrollTop=this.domNode.offsetHeight;b=c.domNode.scrollTop;c.domNode.scrollTop=0;c.domNode.scrollTop=b},this);this._set("value",this.get("value"))},getSelected:function(){return d("option",this.containerNode).filter(function(c){return c.selected})},_getValueAttr:function(){return g.map(this.getSelected(),function(c){return c.value})},multiple:!0,_setMultipleAttr:function(c){},_setValueAttr:function(c){f("android")?
d("option",this.containerNode).orphan().forEach(function(b){var a=b.ownerDocument.createElement("option");a.value=b.value;a.selected=-1!=g.indexOf(c,b.value);a.text=b.text;a.originalText=b.originalText;this.containerNode.appendChild(a)},this):d("option",this.containerNode).forEach(function(b){b.selected=-1!=g.indexOf(c,b.value)});this.inherited(arguments)},invertSelection:function(c){var b=[];d("option",this.containerNode).forEach(function(a){a.selected||b.push(a.value)});this._setValueAttr(b,!(!1===
c||null==c))},_onChange:function(){this._handleOnChange(this.get("value"),!0)},resize:function(c){c&&n.setMarginBox(this.domNode,c)},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments)}});f("dojo-bidi")&&(h=l("dijit.form.MultiSelect",h,{addSelected:function(c){c.getSelected().forEach(function(b){b.text=this.enforceTextDirWithUcc(this.restoreOriginalText(b),b.text)},this);this.inherited(arguments)},_setTextDirAttr:function(c){this.textDir==c&&this._created||!this.enforceTextDirWithUcc||
(this._set("textDir",c),d("option",this.containerNode).forEach(function(b){this._created||b.value!==b.text||(b.value=b.text);b.text=this.enforceTextDirWithUcc(b,b.originalText||b.text)},this))}}));return h})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w){function C(a){return function(c){this._isLoaded?this.inherited(a,arguments):this.loadDropDown(b.hitch(this,a,c))}}var y=l("dijit.form._SelectMenu",q,{autoFocus:!0,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox")},postCreate:function(){this.inherited(arguments);this.own(a(this.domNode,"selectstart",function(a){a.preventDefault();a.stopPropagation()}))},focus:function(){var a=!1,c=this.parentWidget.value;
b.isArray(c)&&(c=c[c.length-1]);c&&g.forEach(this.parentWidget._getChildren(),function(b){b.option&&c===b.option.value&&(a=!0,this.focusChild(b,!1))},this);a||this.inherited(arguments)}});d=l("dijit.form.Select"+(e("dojo-bidi")?"_NoBidi":""),[p,k,m],{baseClass:"dijitSelect dijitValidationTextBox",templateString:w,_buttonInputDisabled:e("ie")?"disabled":"",required:!1,state:"",message:"",tooltipPosition:[],emptyLabel:"\x26#160;",_isLoaded:!1,_childrenLoaded:!1,labelType:"html",_fillContent:function(){this.inherited(arguments);
if(this.options.length&&!this.value&&this.srcNodeRef){var a=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[0<=a?a:0].value)}this.dropDown=new y({id:this.id+"_menu",parentWidget:this});f.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "))},_getMenuItemForOption:function(a){if(a.value||a.label){var c=b.hitch(this,"_setValueAttr",a);a=new v({option:a,label:("text"===this.labelType?(a.label||"").toString().replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):a.label)||this.emptyLabel,
onClick:c,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:a.disabled||!1});a.focusNode.setAttribute("role","option");return a}return new u({ownerDocument:this.ownerDocument})},_addOptionItem:function(a){this.dropDown&&this.dropDown.addChild(this._getMenuItemForOption(a))},_getChildren:function(){return this.dropDown?this.dropDown.getChildren():[]},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(x){}},focusChild:function(a){a&&this.set("value",
a.option)},_getFirst:function(){var a=this._getChildren();return a.length?a[0]:null},_getLast:function(){var a=this._getChildren();return a.length?a[a.length-1]:null},childSelector:function(a){return(a=r.byNode(a))&&a.getParent()==this.dropDown},onKeyboardSearch:function(a,b,c,d){a&&this.focusChild(a)},_loadChildren:function(a){if(!0===a)if(this.dropDown&&(delete this.dropDown.focusedChild,this.focusedChild=null),this.options.length)this.inherited(arguments);else{g.forEach(this._getChildren(),function(a){a.destroyRecursive()});
var b=new v({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(b)}else this._updateSelection();this._isLoaded=!1;this._childrenLoaded=!0;this._loadingStore||this._setValueAttr(this.value,!1)},_refreshState:function(){this._started&&this.validate(this.focused)},startup:function(){this.inherited(arguments);this._refreshState()},_setValueAttr:function(a){this.inherited(arguments);n.set(this.valueNode,"value",this.get("value"));this._refreshState()},_setNameAttr:"valueNode",
_setDisabledAttr:function(a){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(a){this._set("required",a);this.focusNode.setAttribute("aria-required",a);this._refreshState()},_setOptionsAttr:function(a){this._isLoaded=!1;this._set("options",a)},_setDisplay:function(a){a=("text"===this.labelType?(a||"").replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;"):a)||this.emptyLabel;this.containerNode.innerHTML='\x3cspan role\x3d"option" aria-selected\x3d"true" class\x3d"dijitReset dijitInline '+
this.baseClass.replace(/\s+|$/g,"Label ")+'"\x3e'+a+"\x3c/span\x3e"},validate:function(a){a=this.disabled||this.isValid(a);this._set("state",a?"":this._hasBeenBlurred?"Error":"Incomplete");this.focusNode.setAttribute("aria-invalid",a?"false":"true");var b=a?"":this._missingMsg;b&&this.focused&&this._hasBeenBlurred?t.show(b,this.domNode,this.tooltipPosition,!this.isLeftToRight()):t.hide(this.domNode);this._set("message",b);return a},isValid:function(){return!this.required||0===this.value||!/^\s*$/.test(this.value||
"")},reset:function(){this.inherited(arguments);t.hide(this.domNode);this._refreshState()},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=h.getLocalization("dijit.form","validate",this.lang).missingMessage},postCreate:function(){this.inherited(arguments);this.own(a(this.domNode,"selectstart",function(a){a.preventDefault();a.stopPropagation()}));this.domNode.setAttribute("aria-expanded","false");var b=this._keyNavCodes;delete b[c.LEFT_ARROW];delete b[c.RIGHT_ARROW]},_setStyleAttr:function(a){this.inherited(arguments);
f.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width)},isLoaded:function(){return this._isLoaded},loadDropDown:function(a){this._loadChildren(!0);this._isLoaded=!0;a()},destroy:function(a){this.dropDown&&!this.dropDown._destroyed&&(this.dropDown.destroyRecursive(a),delete this.dropDown);t.hide(this.domNode);this.inherited(arguments)},_onFocus:function(){this.validate(!0)},_onBlur:function(){t.hide(this.domNode);this.inherited(arguments);this.validate(!1)}});
e("dojo-bidi")&&(d=l("dijit.form.Select",d,{_setDisplay:function(a){this.inherited(arguments);this.applyTextDir(this.containerNode)}}));d._Menu=y;d.prototype._onContainerKeydown=C("_onContainerKeydown");d.prototype._onContainerKeypress=C("_onContainerKeypress");return d})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q){return d("dijit.form._FormSelectWidget",q,{multiple:!1,options:null,store:null,_setStoreAttr:function(a){this._created&&this._deprecatedSetStore(a)},query:null,_setQueryAttr:function(a){this._created&&this._deprecatedSetStore(this.store,this.selectedValue,{query:a})},queryOptions:null,_setQueryOptionsAttr:function(a){this._created&&this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:a})},labelAttr:"",onFetch:null,sortByLabel:!0,loadChildrenOnOpen:!1,
onLoadDeferred:null,getOptions:function(b){var c=this.options||[];if(null==b)return c;if(a.isArrayLike(b))return g.map(b,"return this.getOptions(item);",this);a.isString(b)&&(b={value:b});a.isObject(b)&&(g.some(c,function(a,c){for(var d in b)if(!(d in a)||a[d]!=b[d])return!1;b=c;return!0})||(b=-1));return 0<=b&&b<c.length?c[b]:null},addOption:function(b){g.forEach(a.isArrayLike(b)?b:[b],function(b){b&&a.isObject(b)&&this.options.push(b)},this);this._loadChildren()},removeOption:function(b){b=this.getOptions(a.isArrayLike(b)?
b:[b]);g.forEach(b,function(a){a&&(this.options=g.filter(this.options,function(b){return b.value!==a.value||b.label!==a.label}),this._removeOptionItem(a))},this);this._loadChildren()},updateOption:function(b){g.forEach(a.isArrayLike(b)?b:[b],function(a){var b=this.getOptions({value:a.value}),c;if(b)for(c in a)b[c]=a[c]},this);this._loadChildren()},setStore:function(a,c,d){b.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(a,c,d)},_deprecatedSetStore:function(b,c,d){var e=this.store;d=d||{};if(e!==b){for(var h;h=this._notifyConnections.pop();)h.remove();b.get||(a.mixin(b,{_oldAPI:!0,get:function(a){var b=new l;this.fetchItemByIdentity({identity:a,onItem:function(a){b.resolve(a)},onError:function(a){b.reject(a)}});return b.promise},query:function(b,c){var d=new l(function(){e.abort&&e.abort()});d.total=new l;var e=this.fetch(a.mixin({query:b,onBegin:function(a){d.total.resolve(a)},
onComplete:function(a){d.resolve(a)},onError:function(a){d.reject(a)}},c));return new k(d)}}),b.getFeatures()["dojo.data.api.Notification"]&&(this._notifyConnections=[n.after(b,"onNew",a.hitch(this,"_onNewItem"),!0),n.after(b,"onDelete",a.hitch(this,"_onDeleteItem"),!0),n.after(b,"onSet",a.hitch(this,"_onSetItem"),!0)]));this._set("store",b)}this.options&&this.options.length&&this.removeOption(this.options);this._queryRes&&this._queryRes.close&&this._queryRes.close();this._observeHandle&&this._observeHandle.remove&&
(this._observeHandle.remove(),this._observeHandle=null);d.query&&this._set("query",d.query);d.queryOptions&&this._set("queryOptions",d.queryOptions);b&&b.query&&(this._loadingStore=!0,this.onLoadDeferred=new l,this._queryRes=b.query(this.query,this.queryOptions),p(this._queryRes,a.hitch(this,function(e){if(this.sortByLabel&&!d.sort&&e.length)if(b.getValue)e.sort(f.createSortFunction([{attribute:b.getLabelAttributes(e[0])[0]}],b));else{var m=this.labelAttr;e.sort(function(a,b){return a[m]>b[m]?1:b[m]>
a[m]?-1:0})}d.onFetch&&(e=d.onFetch.call(this,e,d));g.forEach(e,function(a){this._addOptionForItem(a)},this);this._queryRes.observe&&(this._observeHandle=this._queryRes.observe(a.hitch(this,function(a,b,c){b==c?this._onSetItem(a):(-1!=b&&this._onDeleteItem(a),-1!=c&&this._onNewItem(a))}),!0));this._loadingStore=!1;this.set("value","_pendingValue"in this?this._pendingValue:c);delete this._pendingValue;this.loadChildrenOnOpen?this._pseudoLoadChildren(e):this._loadChildren();this.onLoadDeferred.resolve(!0);
this.onSetStore()}),a.hitch(this,function(a){console.error("dijit.form.Select: "+a.toString());this.onLoadDeferred.reject(a)})));return e},_setValueAttr:function(b,c){this._onChangeActive||(c=null);if(this._loadingStore)this._pendingValue=b;else if(null!=b){b=a.isArrayLike(b)?g.map(b,function(b){return a.isObject(b)?b:{value:b}}):a.isObject(b)?[b]:[{value:b}];b=g.filter(this.getOptions(b),function(a){return a&&a.value});var d=this.getOptions()||[];this.multiple||b[0]&&b[0].value||!d.length||(b[0]=
d[0]);g.forEach(d,function(a){a.selected=g.some(b,function(b){return b.value===a.value})});d=g.map(b,function(a){return a.value});if("undefined"!=typeof d&&"undefined"!=typeof d[0]){var e=g.map(b,function(a){return a.label});this._setDisplay(this.multiple?e:e[0]);this.inherited(arguments,[this.multiple?d:d[0],c]);this._updateSelection()}}},_getDisplayedValueAttr:function(){var a=g.map([].concat(this.get("selectedOptions")),function(a){return a&&"label"in a?a.label:a?a.value:null},this);return this.multiple?
a:a[0]},_setDisplayedValueAttr:function(a){this.set("value",this.getOptions("string"==typeof a?{label:a}:a))},_loadChildren:function(){this._loadingStore||(g.forEach(this._getChildren(),function(a){a.destroyRecursive()}),g.forEach(this.options,this._addOptionItem,this),this._updateSelection())},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var a=[].concat(this.value);if(a&&a[0]){var b=this;g.forEach(this._getChildren(),function(d){var e=g.some(a,function(a){return d.option&&
a===d.option.value});e&&!b.multiple&&(b.focusedChild=d);c.toggle(d.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),e);d.domNode.setAttribute("aria-selected",e?"true":"false")},this)}},_getValueFromOpts:function(){var a=this.getOptions()||[];if(!this.multiple&&a.length){var b=g.filter(a,function(a){return a.selected})[0];if(b&&b.value)return b.value;a[0].selected=!0;return a[0].value}return this.multiple?g.map(g.filter(a,function(a){return a.selected}),function(a){return a.value})||[]:""},
_onNewItem:function(a,b){b&&b.parent||this._addOptionForItem(a)},_onDeleteItem:function(a){this.removeOption({value:this.store.getIdentity(a)})},_onSetItem:function(a){this.updateOption(this._getOptionObjForItem(a))},_getOptionObjForItem:function(a){var b=this.store,c=this.labelAttr&&this.labelAttr in a?a[this.labelAttr]:b.getLabel(a);return{value:c?b.getIdentity(a):null,label:c,item:a}},_addOptionForItem:function(a){var b=this.store;b.isItemLoaded&&!b.isItemLoaded(a)?b.loadItem({item:a,onItem:function(a){this._addOptionForItem(a)},
scope:this}):(a=this._getOptionObjForItem(a),this.addOption(a))},constructor:function(a){this._oValue=(a||{}).value||null;this._notifyConnections=[]},buildRendering:function(){this.inherited(arguments);h.setSelectable(this.focusNode,!1)},_fillContent:function(){this.options||(this.options=this.srcNodeRef?e("\x3e *",this.srcNodeRef).map(function(a){return"separator"===a.getAttribute("type")?{value:"",label:"",selected:!1,disabled:!1}:{value:a.getAttribute("data-"+b._scopeName+"-value")||a.getAttribute("value"),
label:String(a.innerHTML),selected:a.getAttribute("selected")||!1,disabled:a.getAttribute("disabled")||!1}},this):[]);this.value?this.multiple&&"string"==typeof this.value&&this._set("value",this.value.split(",")):this._set("value",this._getValueFromOpts())},postCreate:function(){this.inherited(arguments);n.after(this,"onChange",a.hitch(this,"_updateSelection"));var b=this.store;b&&(b.getIdentity||b.getFeatures()["dojo.data.api.Identity"])&&(this.store=null,this._deprecatedSetStore(b,this._oValue,
{query:this.query,queryOptions:this.queryOptions}));this._storeInitialized=!0},startup:function(){this._loadChildren();this.inherited(arguments)},destroy:function(){for(var a;a=this._notifyConnections.pop();)a.remove();this._queryRes&&this._queryRes.close&&this._queryRes.close();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:!0})},_pseudoLoadChildren:function(){},onSetStore:function(){}})})},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(g){var l={};g.setObject("dojo.data.util.sorter",l);l.basicComparator=function(g,f){var d=-1;null===g&&(g=void 0);null===f&&(f=void 0);if(g==f)d=0;else if(g>f||null==g)d=1;return d};l.createSortFunction=function(g,f){function d(a,b,c,d){return function(e,f){var g=d.getValue(e,a),k=d.getValue(f,
a);return b*c(g,k)}}for(var h=[],c,b=f.comparatorMap,a=l.basicComparator,e=0;e<g.length;e++){c=g[e];var n=c.attribute;if(n){c=c.descending?-1:1;var k=a;b&&("string"!==typeof n&&"toString"in n&&(n=n.toString()),k=b[n]||a);h.push(d(n,c,k,f))}}return function(a,b){for(var c=0;c<h.length;){var d=h[c++](a,b);if(0!==d)return d}return 0}};return l})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y){var x=l("dijit.form._SliderMover",p,{onMouseMove:function(a){var c=this.widget,e=c._abspos;e||(e=c._abspos=d.position(c.sliderBarContainer,!0),c._setPixelValue_=b.hitch(c,"_setPixelValue"),c._isReversed_=c._isReversed());a=a[c._mousePixelCoord]-e[c._startingPixelCoord];c._setPixelValue_(c._isReversed_?e[c._pixelCount]-a:a,e[c._pixelCount],!1)},destroy:function(a){p.prototype.destroy.apply(this,arguments);var b=this.widget;b._abspos=null;b._setValueAttr(b.value,
!0)}});n=l("dijit.form.HorizontalSlider",[w,C],{templateString:y,value:0,showButtons:!0,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:!0,slideDuration:u.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(a){this.disabled||this.readOnly||a.altKey||a.ctrlKey||a.metaKey||this._setValueAttr(this.value,!0)},_onKeyDown:function(a){if(!(this.disabled||this.readOnly||a.altKey||a.ctrlKey||a.metaKey)){switch(a.keyCode){case c.HOME:this._setValueAttr(this.minimum,!1);break;case c.END:this._setValueAttr(this.maximum,!1);break;case this._descending||this.isLeftToRight()?c.RIGHT_ARROW:c.LEFT_ARROW:case !1===this._descending?c.DOWN_ARROW:c.UP_ARROW:case !1===this._descending?c.PAGE_DOWN:c.PAGE_UP:this.increment(a);
break;case this._descending||this.isLeftToRight()?c.LEFT_ARROW:c.RIGHT_ARROW:case !1===this._descending?c.UP_ARROW:c.DOWN_ARROW:case !1===this._descending?c.PAGE_UP:c.PAGE_DOWN:this.decrement(a);break;default:return}a.stopPropagation();a.preventDefault()}},_onHandleClick:function(b){this.disabled||this.readOnly||(a("ie")||t.focus(this.sliderHandle),b.stopPropagation(),b.preventDefault())},_isReversed:function(){return!this.isLeftToRight()},_onBarClick:function(a){if(!this.disabled&&!this.readOnly&&
this.clickSelect){t.focus(this.sliderHandle);a.stopPropagation();a.preventDefault();var b=d.position(this.sliderBarContainer,!0),c=a[this._mousePixelCoord]-b[this._startingPixelCoord];this._setPixelValue(this._isReversed()?b[this._pixelCount]-c:c,b[this._pixelCount],!0);this._movable.onMouseDown(a)}},_setPixelValue:function(a,b,c){if(!this.disabled&&!this.readOnly){var d=this.discreteValues;if(1>=d||Infinity==d)d=b;d--;this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*Math.round(a/
(b/d))/d+this.minimum,this.maximum),this.minimum),c)}},_setValueAttr:function(a,b){this._set("value",a);this.valueNode.value=a;this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments);var c=this.maximum>this.minimum?(a-this.minimum)/(this.maximum-this.minimum):0,d=!1===this._descending?this.remainingBar:this.progressBar,e=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(b&&0<this.slideDuration&&
d.style[this._progressPixelSize]){var g=this,k={},m=parseFloat(d.style[this._progressPixelSize]),h=this.slideDuration*(c-m/100);0!=h&&(0>h&&(h=0-h),k[this._progressPixelSize]={start:m,end:100*c,units:"%"},this._inProgressAnim=f.animateProperty({node:d,duration:h,onAnimate:function(a){e.style[g._progressPixelSize]=100-parseFloat(a[g._progressPixelSize])+"%"},onEnd:function(){delete g._inProgressAnim},properties:k}),this._inProgressAnim.play())}else d.style[this._progressPixelSize]=100*c+"%",e.style[this._progressPixelSize]=
100*(1-c)+"%"},_bumpValue:function(a,b){if(!(this.disabled||this.readOnly||this.maximum<=this.minimum)){var c=h.getComputedStyle(this.sliderBarContainer),e=d.getContentBox(this.sliderBarContainer,c),c=this.discreteValues;if(1>=c||Infinity==c)c=e[this._pixelCount];c--;e=Math.round((this.value-this.minimum)*c/(this.maximum-this.minimum))+a;0>e&&(e=0);e>c&&(e=c);e=e*(this.maximum-this.minimum)/c+this.minimum;this._setValueAttr(e,b)}},_onClkBumper:function(a){this.disabled||this.readOnly||!this.clickSelect||
this._setValueAttr(a,!0)},_onClkIncBumper:function(){this._onClkBumper(!1===this._descending?this.minimum:this.maximum)},_onClkDecBumper:function(){this._onClkBumper(!1===this._descending?this.maximum:this.minimum)},decrement:function(a){this._bumpValue(a.keyCode==c.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(a){this._bumpValue(a.keyCode==c.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(a){this.focused&&(a.stopPropagation(),a.preventDefault(),this._bumpValue(0>a.wheelDelta?-1:1,!0))},
startup:function(){this._started||(g.forEach(this.getChildren(),function(a){this[a.container]!=this.containerNode&&this[a.container].appendChild(a.domNode)},this),this.inherited(arguments))},_typematicCallback:function(a,b,c){if(-1==a)this._setValueAttr(this.value,!0);else this[b==(this._descending?this.incrementButton:this.decrementButton)?"decrement":"increment"](c)},buildRendering:function(){this.inherited(arguments);this.showButtons&&(this.incrementButton.style.display="",this.decrementButton.style.display=
"");var a=k('label[for\x3d"'+this.id+'"]');a.length&&(a[0].id||(a[0].id=this.id+"_label"),this.focusNode.setAttribute("aria-labelledby",a[0].id));this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum)},postCreate:function(){this.inherited(arguments);this.showButtons&&this.own(m.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),m.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));this.own(v(this.domNode,
q.wheel,b.hitch(this,"_mouseWheeled")));var a=l(x,{widget:this});this._movable=new e(this.sliderHandle,{mover:a});this._layoutHackIE7()},destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});n._Mover=x;return n})},"dojo/dnd/move":function(){define("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),function(g,l,n,f,d,h){f=g("dojo.dnd.move.constrainedMoveable",
h,{constraints:function(){},within:!1,constructor:function(c,b){b||(b={});this.constraints=b.constraints;this.within=b.within},onFirstMove:function(c){var b=this.constraintBox=this.constraints.call(this,c);b.r=b.l+b.w;b.b=b.t+b.h;this.within&&(c=l.getMarginSize(c.node),b.r-=c.w,b.b-=c.h)},onMove:function(c,b){var a=this.constraintBox,d=c.node.style;this.onMoving(c,b);b.l=b.l<a.l?a.l:a.r<b.l?a.r:b.l;b.t=b.t<a.t?a.t:a.b<b.t?a.b:b.t;d.left=b.l+"px";d.top=b.t+"px";this.onMoved(c,b)}});d=g("dojo.dnd.move.boxConstrainedMoveable",
f,{box:{},constructor:function(c,b){var a=b&&b.box;this.constraints=function(){return a}}});g=g("dojo.dnd.move.parentConstrainedMoveable",f,{area:"content",constructor:function(c,b){var a=b&&b.area;this.constraints=function(){var b=this.node.parentNode,c=n.getComputedStyle(b),d=l.getMarginBox(b,c);if("margin"==a)return d;var f=l.getMarginExtents(b,c);d.l+=f.l;d.t+=f.t;d.w-=f.w;d.h-=f.h;if("border"==a)return d;f=l.getBorderExtents(b,c);d.l+=f.l;d.t+=f.t;d.w-=f.w;d.h-=f.h;if("padding"==a)return d;f=
l.getPadExtents(b,c);d.l+=f.l;d.t+=f.t;d.w-=f.w;d.h-=f.h;return d}}});return{constrainedMoveable:f,boxConstrainedMoveable:d,parentConstrainedMoveable:g}})},"dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(g,l,n){return g("dijit.form.VerticalSlider",l,{templateString:n,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:!0,_isReversed:function(){return this._descending}})})},
"dijit/form/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(g,l,n){return g("dijit.form.HorizontalRule",[l,n],{templateString:'\x3cdiv class\x3d"dijitRuleContainer dijitRuleContainerH"\x3e\x3c/div\x3e',count:3,container:"containerNode",ruleStyle:"",_positionPrefix:'\x3cdiv class\x3d"dijitRuleMark dijitRuleMarkH" style\x3d"left:',_positionSuffix:"%;",_suffix:'"\x3e\x3c/div\x3e',_genHTML:function(f){return this._positionPrefix+f+this._positionSuffix+
this.ruleStyle+this._suffix},_isHorizontal:!0,buildRendering:function(){this.inherited(arguments);var f;if(1==this.count)f=this._genHTML(50,0);else{var d,g=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){f=this._genHTML(0,0);for(d=1;d<this.count-1;d++)f+=this._genHTML(g*d,d);f+=this._genHTML(100,this.count-1)}else{f=this._genHTML(100,0);for(d=1;d<this.count-1;d++)f+=this._genHTML(100-g*d,d);f+=this._genHTML(0,this.count-1)}}this.domNode.innerHTML=f}})})},"dijit/form/VerticalRule":function(){define(["dojo/_base/declare",
"./HorizontalRule"],function(g,l){return g("dijit.form.VerticalRule",l,{templateString:'\x3cdiv class\x3d"dijitRuleContainer dijitRuleContainerV"\x3e\x3c/div\x3e',_positionPrefix:'\x3cdiv class\x3d"dijitRuleMark dijitRuleMarkV" style\x3d"top:',_isHorizontal:!1})})},"dijit/form/HorizontalRuleLabels":function(){define("dojo/_base/declare dojo/has dojo/number dojo/query dojo/_base/lang ./HorizontalRule".split(" "),function(g,l,n,f,d,h){g=g("dijit.form.HorizontalRuleLabels",h,{templateString:'\x3cdiv class\x3d"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH"\x3e\x3c/div\x3e',
labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:'\x3cdiv class\x3d"dijitRuleLabelContainer dijitRuleLabelContainerH" style\x3d"left:',_labelPrefix:'"\x3e\x3cdiv class\x3d"dijitRuleLabel dijitRuleLabelH"\x3e',_suffix:"\x3c/div\x3e\x3c/div\x3e",_calcPosition:function(c){return c},_genHTML:function(c,b){var a=this.labels[b];return this._positionPrefix+this._calcPosition(c)+this._positionSuffix+this.labelStyle+this._genDirectionHTML(a)+this._labelPrefix+
a+this._suffix},_genDirectionHTML:function(c){return""},getLabels:function(){var c=this.labels;!c.length&&this.srcNodeRef&&(c=f("\x3e li",this.srcNodeRef).map(function(a){return String(a.innerHTML)}));if(!c.length&&1<this.count)for(var c=[],b=this.minimum,a=(this.maximum-b)/(this.count-1),d=0;d<this.count;d++)c.push(d<this.numericMargin||d>=this.count-this.numericMargin?"":n.format(b,this.constraints)),b+=a;return c},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();
this.count=this.labels.length}});l("dojo-bidi")&&g.extend({_setTextDirAttr:function(c){this.textDir!=c&&(this._set("textDir",c),f(".dijitRuleLabelContainer",this.domNode).forEach(d.hitch(this,function(b){b.style.direction=this.getTextDir(b.innerText||b.textContent||"")})))},_genDirectionHTML:function(c){return this.textDir?"direction:"+this.getTextDir(c)+";":""}});return g})},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(g,l){return g("dijit.form.VerticalRuleLabels",
l,{templateString:'\x3cdiv class\x3d"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV"\x3e\x3c/div\x3e',_positionPrefix:'\x3cdiv class\x3d"dijitRuleLabelContainer dijitRuleLabelContainerV" style\x3d"top:',_labelPrefix:'"\x3e\x3cspan class\x3d"dijitRuleLabel dijitRuleLabelV"\x3e',_calcPosition:function(g){return 100-g},_isHorizontal:!1})})},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(g,
l,n,f){return g("dijit.form.SimpleTextarea",f,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"\x3ctextarea ${!nameAttrSetting} data-dojo-attach-point\x3d'focusNode,containerNode,textbox' autocomplete\x3d'off'\x3e\x3c/textarea\x3e",postMixInProperties:function(){!this.value&&this.srcNodeRef&&(this.value=this.srcNodeRef.value);this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);n("ie")&&this.cols&&l.add(this.textbox,"dijitTextAreaCols")},filter:function(d){d&&
(d=d.replace(/\r/g,""));return this.inherited(arguments)},_onInput:function(d){if(this.maxLength){var f=parseInt(this.maxLength),c=this.textbox.value.replace(/\r/g,""),f=c.length-f;if(0<f){var b=this.textbox;if(b.selectionStart){var a=b.selectionStart,e=0;n("opera")&&(e=(this.textbox.value.substring(0,a).match(/\r/g)||[]).length);this.textbox.value=c.substring(0,a-f-e)+c.substring(a-e);b.setSelectionRange(a-f,a-f)}else this.ownerDocument.selection&&(b.focus(),c=this.ownerDocument.selection.createRange(),
c.moveStart("character",-f),c.text="",c.select())}}this.inherited(arguments)}})})},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(g,l,n,f){return g("dijit.form.Textarea",[f,n],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);l.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".split(" "),function(g,l,n,f,d,h,c){n.add("textarea-needs-help-shrinking",function(){var b=h.body(),a=l.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"}},b,"last"),c=a.scrollHeight>=a.clientHeight;b.removeChild(a);return c});return g("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize()},postCreate:function(){this.inherited(arguments);var b=this.textbox;b.style.overflowY="hidden";this.own(d(b,"focus, resize",f.hitch(this,"_resizeLater")))},startup:function(){this.inherited(arguments);this.own(c.on("resize",f.hitch(this,
"_resizeLater")));this._resizeLater()},_onInput:function(b){this.inherited(arguments);this.resize()},_estimateHeight:function(){var b=this.textbox;b.rows=(b.value.match(/\n/g)||[]).length+1},_resizeLater:function(){this.defer("resize")},resize:function(){function b(){var b=!1;""===a.value&&(a.value=" ",b=!0);var c=a.scrollHeight;b&&(a.value="");return c}var a=this.textbox;"hidden"==a.style.overflowY&&(a.scrollTop=0);if(!this.busyResizing){this.busyResizing=!0;if(b()||a.offsetHeight){var c=b()+Math.max(a.offsetHeight-
a.clientHeight,0),d=c+"px";d!=a.style.height&&(a.style.height=d,a.rows=1);if(n("textarea-needs-help-shrinking")){var f=b(),g=a.style.minHeight,h=4,l=a.scrollTop;a.style.minHeight=d;for(a.style.height="auto";0<c;){a.style.minHeight=Math.max(c-h,4)+"px";d=b();f-=d;c-=f;if(f<h)break;f=d;h<<=1}a.style.height=c+"px";a.style.minHeight=g;a.scrollTop=l}a.style.overflowY=b()>a.clientHeight?"auto":"hidden";"hidden"==a.style.overflowY&&(a.scrollTop=0)}else this._estimateHeight();this.busyResizing=!1}}})})},
"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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C,y,x,B){function G(b,
c){b.resize?b.resize(c):a.setMarginBox(b.domNode,c)}q=n("dijit.layout._AccordionButton",[m,w,C],{templateString:B,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 a=this.id.replace(" ","_");h.set(this.titleTextNode,
"id",a+"_title");this.focusNode.setAttribute("aria-labelledby",h.get(this.titleTextNode,"id"));d.setSelectable(this.domNode,!1)},getTitleHeight:function(){return a.getMarginSize(this.domNode).h},_onTitleClick:function(){this.getParent().selectChild(this.contentWidget,!0);v.focus(this.focusNode)},_onTitleKeyDown:function(a){return this.getParent()._onKeyDown(a,this.contentWidget)},_setSelectedAttr:function(a){this._set("selected",a);this.focusNode.setAttribute("aria-expanded",a?"true":"false");this.focusNode.setAttribute("aria-selected",
a?"true":"false");this.focusNode.setAttribute("tabIndex",a?"0":"-1")}});k("dojo-bidi")&&q.extend({_setLabelAttr:function(a){this._set("label",a);h.set(this.titleTextNode,"innerHTML",a);this.applyTextDir(this.titleTextNode)},_setTitleAttr:function(a){this._set("title",a);h.set(this.titleTextNode,"title",a);this.applyTextDir(this.titleTextNode)}});var F=n("dijit.layout._AccordionInnerContainer"+(k("dojo-bidi")?"_NoBidi":""),[m,C],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:!0,buildRendering:function(){this.domNode=
b.place("\x3cdiv class\x3d'"+this.baseClass+"' role\x3d'presentation'\x3e",this.contentWidget.domNode,"after");var a=this.contentWidget,c=p.isString(this.buttonWidget)?p.getObject(this.buttonWidget):this.buttonWidget;this.button=a._buttonWidget=(new c({contentWidget:a,label:a.title,title:a.tooltip,dir:a.dir,lang:a.lang,textDir:a.textDir||this.textDir,iconClass:a.iconClass,id:a.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=b.place("\x3cdiv class\x3d'dijitAccordionChildWrapper' role\x3d'tabpanel' style\x3d'display:none'\x3e",
this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);b.place(this.contentWidget.domNode,this.containerNode)},postCreate:function(){this.inherited(arguments);var a=this.button,b=this.contentWidget;this._contentWidgetWatches=[b.watch("title",p.hitch(this,function(b,c,d){a.set("label",d)})),b.watch("tooltip",p.hitch(this,function(b,c,d){a.set("title",d)})),b.watch("iconClass",p.hitch(this,function(b,c,d){a.set("iconClass",d)}))]},_setSelectedAttr:function(a){this._set("selected",
a);this.button.set("selected",a);if(a&&(a=this.contentWidget,a.onSelected))a.onSelected()},startup:function(){this.contentWidget.startup()},destroy:function(){this.button.destroyRecursive();l.forEach(this._contentWidgetWatches||[],function(a){a.unwatch()});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments)},destroyDescendants:function(a){this.contentWidget.destroyRecursive(a)}});k("dojo-bidi")&&(F=n("dijit.layout._AccordionInnerContainer",F,
{postCreate:function(){this.inherited(arguments);var a=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(b,c,d){a.set("textDir",d)}))}}));n=n("dijit.layout.AccordionContainer",y,{duration:u.defaultDuration,buttonWidget:q,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist")},startup:function(){this._started||(this.inherited(arguments),this.selectedChildWidget&&
this.selectedChildWidget._wrapperWidget.set("selected",!0))},layout:function(){var b=this.selectedChildWidget;if(b){var c=b._wrapperWidget.domNode,d=a.getMarginExtents(c),c=a.getPadBorderExtents(c),e=b._wrapperWidget.containerNode,f=a.getMarginExtents(e),e=a.getPadBorderExtents(e),g=this._contentBox,m=0;l.forEach(this.getChildren(),function(c){c!=b&&(m+=a.getMarginSize(c._wrapperWidget.domNode).h)});this._verticalSpace=g.h-m-d.h-c.h-f.h-e.h-b._buttonWidget.getTitleHeight();this._containerContentBox=
{h:this._verticalSpace,w:this._contentBox.w-d.w-c.w-f.w-e.w};b&&G(b,this._containerContentBox)}},_setupChild:function(a){a._wrapperWidget=F({contentWidget:a,buttonWidget:this.buttonWidget,id:a.id+"_wrapper",dir:a.dir,lang:a.lang,textDir:a.textDir||this.textDir,parent:this});this.inherited(arguments);b.place(a.domNode,a._wrapper,"replace")},removeChild:function(a){a._wrapperWidget&&(b.place(a.domNode,a._wrapperWidget.domNode,"after"),a._wrapperWidget.destroy(),delete a._wrapperWidget);c.remove(a.domNode,
"dijitHidden");this.inherited(arguments)},getChildren:function(){return l.map(this.inherited(arguments),function(a){return"dijit.layout._AccordionInnerContainer"==a.declaredClass?a.contentWidget:a},this)},destroy:function(){this._animation&&this._animation.stop();l.forEach(this.getChildren(),function(a){a._wrapperWidget?a._wrapperWidget.destroy():a.destroyRecursive()});this.inherited(arguments)},_showChild:function(a){a._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments)},
_hideChild:function(a){a._wrapperWidget.containerNode.style.display="none";this.inherited(arguments)},_transition:function(b,c,d){8>k("ie")&&(d=!1);this._animation&&(this._animation.stop(!0),delete this._animation);var e=this;if(b){b._wrapperWidget.set("selected",!0);var g=this._showChild(b);this.doLayout&&G(b,this._containerContentBox)}c&&(c._wrapperWidget.set("selected",!1),d||this._hideChild(c));if(d){var m=b._wrapperWidget.containerNode,h=c._wrapperWidget.containerNode;d=b._wrapperWidget.containerNode;
b=a.getMarginExtents(d);d=a.getPadBorderExtents(d);var l=b.h+d.h;h.style.height=e._verticalSpace-l+"px";this._animation=new f.Animation({node:m,duration:this.duration,curve:[1,this._verticalSpace-l-1],onAnimate:function(a){a=Math.floor(a);m.style.height=a+"px";h.style.height=e._verticalSpace-l-a+"px"},onEnd:function(){delete e._animation;m.style.height="auto";c._wrapperWidget.containerNode.style.display="none";h.style.height="auto";e._hideChild(c)}});this._animation.onStop=this._animation.onEnd;this._animation.play()}return g},
_onKeyDown:function(a,b){if(!this.disabled&&!a.altKey&&(b||a.ctrlKey)){var c=a.keyCode;if(b&&(c==e.LEFT_ARROW||c==e.UP_ARROW)||a.ctrlKey&&c==e.PAGE_UP)this._adjacent(!1)._buttonWidget._onTitleClick(),a.stopPropagation(),a.preventDefault();else if(b&&(c==e.RIGHT_ARROW||c==e.DOWN_ARROW)||a.ctrlKey&&(c==e.PAGE_DOWN||c==e.TAB))this._adjacent(!0)._buttonWidget._onTitleClick(),a.stopPropagation(),a.preventDefault()}}});k("dijit-legacy-requires")&&t(0,function(){g(["dijit/layout/AccordionPane"])});n._InnerContainer=
F;n._Button=q;return n})},"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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k,q,v){h("dijit-legacy-requires")&&a(0,function(){require(["dijit/layout/StackController"])});n=n("dijit.layout.StackContainer",v,{doLayout:!0,persist:!1,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);
f.add(this.domNode,"dijitLayoutContainer")},postCreate:function(){this.inherited(arguments);this.own(b(this.domNode,"keydown",c.hitch(this,"_onKeyDown")))},startup:function(){if(!this._started){var a=this.getChildren();g.forEach(a,this._setupChild,this);this.persist?this.selectedChildWidget=k.byId(l(this.id+"_selectedChild")):g.some(a,function(a){a.selected&&(this.selectedChildWidget=a);return a.selected},this);var b=this.selectedChildWidget;!b&&a[0]&&(b=this.selectedChildWidget=a[0],b.selected=!0);
e.publish(this.id+"-startup",{children:a,selected:b,textDir:this.textDir});this.inherited(arguments)}},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=!0;var a=this.selectedChildWidget;a&&this._showChild(a)}this.inherited(arguments)},_setupChild:function(a){var b=a.domNode,c=d.place("\x3cdiv role\x3d'tabpanel' class\x3d'"+this.baseClass+"ChildWrapper dijitHidden'\x3e",a.domNode,"replace"),e=a["aria-label"]||a.title||a.label;e&&c.setAttribute("aria-label",e);d.place(b,c);a._wrapper=c;
this.inherited(arguments);"none"==b.style.display&&(b.style.display="block");a.domNode.removeAttribute("title")},addChild:function(a,b){this.inherited(arguments);this._started&&(e.publish(this.id+"-addChild",a,b),this.layout(),this.selectedChildWidget||this.selectChild(a))},removeChild:function(a){var b=g.indexOf(this.getChildren(),a);this.inherited(arguments);d.destroy(a._wrapper);delete a._wrapper;this._started&&e.publish(this.id+"-removeChild",a);if(!this._descendantsBeingDestroyed){if(this.selectedChildWidget===
a&&(this.selectedChildWidget=void 0,this._started)){var c=this.getChildren();c.length&&this.selectChild(c[Math.max(b-1,0)])}this._started&&this.layout()}},selectChild:function(a,b){var c;a=k.byId(a);this.selectedChildWidget!=a&&(c=this._transition(a,this.selectedChildWidget,b),this._set("selectedChildWidget",a),e.publish(this.id+"-selectChild",a,this._focused),this.persist&&l(this.id+"_selectedChild",this.selectedChildWidget.id));return p(c||!0)},_transition:function(a,b){b&&this._hideChild(b);var c=
this._showChild(a);a.resize&&(this.doLayout?a.resize(this._containerContentBox||this._contentBox):a.resize());return c},_adjacent:function(a){var b=this.getChildren(),c=g.indexOf(b,this.selectedChildWidget),c=c+(a?1:b.length-1);return b[c%b.length]},forward:function(){return this.selectChild(this._adjacent(!0),!0)},back:function(){return this.selectChild(this._adjacent(!1),!0)},_onKeyDown:function(a){e.publish(this.id+"-containerKeyDown",{e:a,page:this})},layout:function(){var a=this.selectedChildWidget;
a&&a.resize&&(this.doLayout?a.resize(this._containerContentBox||this._contentBox):a.resize())},_showChild:function(a){var b=this.getChildren();a.isFirstChild=a==b[0];a.isLastChild=a==b[b.length-1];a._set("selected",!0);a._wrapper&&f.replace(a._wrapper,"dijitVisible","dijitHidden");return a._onShow&&a._onShow()||!0},_hideChild:function(a){a._set("selected",!1);a._wrapper&&f.replace(a._wrapper,"dijitHidden","dijitVisible");a.onHide&&a.onHide()},closeChild:function(a){if(!a.onClose||a.onClose(this,a))this.removeChild(a),
a.destroyRecursive()},destroyDescendants:function(a){this._descendantsBeingDestroyed=!0;this.selectedChildWidget=void 0;g.forEach(this.getChildren(),function(b){a||this.removeChild(b);b.destroyRecursive(a)},this);this._descendantsBeingDestroyed=!1}});n.ChildWidgetProperties={selected:!1,disabled:!1,closable:!1,iconClass:"dijitNoIcon",showTitle:!0};c.extend(q,n.ChildWidgetProperties);return n})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t){var m=n("dijit.layout._Splitter",[q,v],{live:!0,templateString:'\x3cdiv class\x3d"dijitSplitter" data-dojo-attach-event\x3d"onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex\x3d"0" role\x3d"separator"\x3e\x3cdiv class\x3d"dijitSplitterThumb"\x3e\x3c/div\x3e\x3c/div\x3e',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);f.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var a=l(this._cookieName);a&&(this.child.domNode.style[this.horizontal?"height":"width"]=a)}},_computeMaxSize:function(){var a=this.horizontal?"h":"w",b=h.getMarginBox(this.child.domNode)[a],c=g.filter(this.container.getChildren(),function(a){return"center"==a.region})[0],
a=h.getContentBox(c.domNode)[a]-10;return Math.min(this.child.maxSize,b+a)},_startDrag:function(b){this.cover||(this.cover=d.place("\x3cdiv class\x3ddijitSplitterCover\x3e\x3c/div\x3e",this.child.domNode,"after"));f.add(this.cover,"dijitSplitterCoverActive");this.fake&&d.destroy(this.fake);(this._resize=this.live)||((this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),f.add(this.domNode,"dijitSplitterShadow"),d.place(this.fake,this.domNode,"after"));f.add(this.domNode,"dijitSplitterActive dijitSplitter"+
(this.horizontal?"H":"V")+"Active");this.fake&&f.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");var g=this._factor,m=this.horizontal,k=m?"pageY":"pageX",l=b[k],n=this.domNode.style,m=m?"h":"w",q=c.getComputedStyle(this.child.domNode),r=h.getMarginBox(this.child.domNode,q)[m],u=this._computeMaxSize(),w=Math.max(this.child.minSize,h.getPadBorderExtents(this.child.domNode,q)[m]+10),m=this.region,t="top"==m||"bottom"==m?"top":"left",v=parseInt(n[t],10),O=this._resize,
M=a.hitch(this.container,"_layoutChildren",this.child.id),m=this.ownerDocument;this._handlers=this._handlers.concat([e(m,p.move,this._drag=function(a,b){var c=a[k]-l,d=g*c+r,e=Math.max(Math.min(d,u),w);(O||b)&&M(e);n[t]=c+v+g*(e-d)+"px"}),e(m,"dragstart",function(a){a.stopPropagation();a.preventDefault()}),e(this.ownerDocumentBody,"selectstart",function(a){a.stopPropagation();a.preventDefault()}),e(m,p.release,a.hitch(this,"_stopDrag"))]);b.stopPropagation();b.preventDefault()},_onMouse:function(a){a=
"mouseover"==a.type||"mouseenter"==a.type;f.toggle(this.domNode,"dijitSplitterHover",a);f.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",a)},_stopDrag:function(a){try{this.cover&&f.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&d.destroy(this.fake),f.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),this._drag(a),this._drag(a,!0)}finally{this._cleanupHandlers(),delete this._drag}this.container.persist&&
l(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365})},_cleanupHandlers:function(){for(var a;a=this._handlers.pop();)a.remove()},_onKeyDown:function(a){this._resize=!0;var c=this.horizontal,d=1;switch(a.keyCode){case c?b.UP_ARROW:b.LEFT_ARROW:d*=-1;case c?b.DOWN_ARROW:b.RIGHT_ARROW:break;default:return}c=h.getMarginSize(this.child.domNode)[c?"h":"w"]+this._factor*d;this.container._layoutChildren(this.child.id,Math.max(Math.min(c,this._computeMaxSize()),this.child.minSize));
a.stopPropagation();a.preventDefault()},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments)}}),r=n("dijit.layout._Gutter",[q,v],{templateString:'\x3cdiv class\x3d"dijitGutter" role\x3d"presentation"\x3e\x3c/div\x3e',postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region)},buildRendering:function(){this.inherited(arguments);f.add(this.domNode,"dijitGutter"+(this.horizontal?
"H":"V"))}});n=n("dijit.layout.BorderContainer",u,{gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:m,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter");this.inherited(arguments)},_setupChild:function(b){this.inherited(arguments);var c=b.region,e=b.isLeftToRight();"leading"==c&&(c=e?"left":"right");"trailing"==c&&(c=e?"right":"left");c&&"center"!=c&&(b.splitter||this.gutters)&&!b._splitterWidget&&(e=b.splitter?this._splitterClass:r,a.isString(e)&&
(e=a.getObject(e)),e=new e({id:b.id+"_splitter",container:this,child:b,region:c,live:this.liveSplitters}),e.isSplitter=!0,b._splitterWidget=e,c="bottom"==c||c==(this.isLeftToRight()?"right":"left"),d.place(e.domNode,b.domNode,c?"before":"after"),e.startup())},layout:function(){this._layoutChildren()},removeChild:function(a){var b=a._splitterWidget;b&&(b.destroy(),delete a._splitterWidget);this.inherited(arguments)},getChildren:function(){return g.filter(this.inherited(arguments),function(a){return!a.isSplitter})},
getSplitter:function(a){return g.filter(this.getChildren(),function(b){return b.region==a})[0]._splitterWidget},resize:function(a,b){if(!this.cs||!this.pe){var d=this.domNode;this.cs=c.getComputedStyle(d);this.pe=h.getPadExtents(d,this.cs);this.pe.r=c.toPixelValue(d,this.cs.paddingRight);this.pe.b=c.toPixelValue(d,this.cs.paddingBottom);c.set(d,"padding","0px")}this.inherited(arguments)},_layoutChildren:function(a,b){if(this._borderBox&&this._borderBox.h){var c=[];g.forEach(this._getOrderedChildren(),
function(a){c.push(a);a._splitterWidget&&c.push(a._splitterWidget)});t.layoutChildren(this.domNode,{l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h},c,a,b)}},destroyRecursive:function(){g.forEach(this.getChildren(),function(a){var b=a._splitterWidget;b&&b.destroy();delete a._splitterWidget});this.inherited(arguments)}});n.ChildWidgetProperties={splitter:!1,minSize:0,maxSize:Infinity};a.mixin(n.ChildWidgetProperties,u.ChildWidgetProperties);a.extend(k,n.ChildWidgetProperties);
n._Splitter=m;n._Gutter=r;return n})},"dijit/layout/LayoutContainer":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-class dojo/dom-style dojo/_base/lang ../_WidgetBase ./_LayoutWidget ./utils".split(" "),function(g,l,n,f,d,h,c,b){l=l("dijit.layout.LayoutContainer",c,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){this._started||(g.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},_setupChild:function(a){this.inherited(arguments);
a.region&&n.add(a.domNode,this.baseClass+"Pane")},_getOrderedChildren:function(){var a=g.map(this.getChildren(),function(a,b){return{pane:a,weight:["center"==a.region?Infinity:0,a.layoutPriority,("sidebar"==this.design?1:-1)*(/top|bottom/.test(a.region)?1:-1),b]}},this);a.sort(function(a,b){for(var c=a.weight,d=b.weight,e=0;e<c.length;e++)if(c[e]!=d[e])return c[e]-d[e];return 0});return g.map(a,function(a){return a.pane})},layout:function(){b.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren())},
addChild:function(a,b){this.inherited(arguments);this._started&&this.layout()},removeChild:function(a){this.inherited(arguments);this._started&&this.layout();n.remove(a.domNode,this.baseClass+"Pane");f.set(a.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});f.set(a.domNode,/top|bottom/.test(a.region)?"width":"height","auto")}});l.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};d.extend(h,l.ChildWidgetProperties);return l})},"dijit/layout/LinkPane":function(){define(["./ContentPane",
"../_TemplatedMixin","dojo/_base/declare"],function(g,l,n){return n("dijit.layout.LinkPane",[g,l],{templateString:'\x3cdiv class\x3d"dijitLinkPane" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e',postMixInProperties:function(){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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t){n=n("dijit.layout.SplitContainer",t,{constructor:function(){e.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2)},activeSizing:!1,sizerWidth:7,orientation:"horizontal",persist:!0,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal="horizontal"==this.orientation},postCreate:function(){this.inherited(arguments);this.sizers=[];q("mozilla")&&
(this.domNode.style.overflow="-moz-scrollbars-none");if("object"==typeof this.sizerWidth)try{this.sizerWidth=parseInt(this.sizerWidth.toString())}catch(r){this.sizerWidth=7}var a=this.ownerDocument.createElement("div");this.virtualSizer=a;a.style.position="relative";a.style.zIndex=10;a.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(a);f.setSelectable(a,!1)},destroy:function(){delete this.virtualSizer;if(this._ownconnects)for(var a;a=
this._ownconnects.pop();)a.remove();this.inherited(arguments)},startup:function(){this._started||(g.forEach(this.getChildren(),function(a,b,c){this._setupChild(a);b<c.length-1&&this._addSizer()},this),this.persist&&this._restoreState(),this.inherited(arguments))},_setupChild:function(a){this.inherited(arguments);a.domNode.style.position="absolute";d.add(a.domNode,"dijitSplitPane")},_onSizerMouseDown:function(a){if(a.target.id){for(var b=0;b<this.sizers.length&&this.sizers[b].id!=a.target.id;b++);
b<this.sizers.length&&this.beginSizing(a,b)}},_addSizer:function(a){a=void 0===a?this.sizers.length:a;var b=this.ownerDocument.createElement("div");b.id=v.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(a,0,b);this.domNode.appendChild(b);b.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";a=this.ownerDocument.createElement("div");a.className="thumb";b.appendChild(a);this.connect(b,"onmousedown","_onSizerMouseDown");f.setSelectable(b,!1)},
removeChild:function(a){if(this.sizers.length){var b=g.indexOf(this.getChildren(),a);-1!=b&&(b==this.sizers.length&&b--,h.destroy(this.sizers[b]),this.sizers.splice(b,1))}this.inherited(arguments);this._started&&this.layout()},addChild:function(a,b){if("undefined"==typeof b||"last"==b)b=this.getChildren().length;this.inherited(arguments,[a,b]);this._started&&(1<this.getChildren().length&&this._addSizer(b),this.layout())},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;
var a=this.getChildren();if(a.length){var b=this.isHorizontal?this.paneWidth:this.paneHeight;1<a.length&&(b-=this.sizerWidth*(a.length-1));var c=0;g.forEach(a,function(a){c+=a.sizeShare});var d=b/c,e=0;g.forEach(a.slice(0,a.length-1),function(a){var b=Math.round(d*a.sizeShare);a.sizeActual=b;e+=b});a[a.length-1].sizeActual=b-e;this._checkSizes();var f=0,h=a[0].sizeActual;this._movePanel(a[0],f,h);a[0].position=f;f+=h;this.sizers&&g.some(a.slice(1),function(a,b){if(!this.sizers[b])return!0;this._moveSlider(this.sizers[b],
f,this.sizerWidth);this.sizers[b].position=f;f+=this.sizerWidth;h=a.sizeActual;this._movePanel(a,f,h);a.position=f;f+=h},this)}},_movePanel:function(a,b,d){this.isHorizontal?(a.domNode.style.left=b+"px",a.domNode.style.top=0,b={w:d,h:this.paneHeight}):(a.domNode.style.left=0,a.domNode.style.top=b+"px",b={w:this.paneWidth,h:d});a.resize?a.resize(b):c.setMarginBox(a.domNode,b)},_moveSlider:function(a,b,d){this.isHorizontal?(a.style.left=b+"px",a.style.top=0,c.setMarginBox(a,{w:d,h:this.paneHeight})):
(a.style.left=0,a.style.top=b+"px",c.setMarginBox(a,{w:this.paneWidth,h:d}))},_growPane:function(a,b){0<a&&b.sizeActual>b.sizeMin&&(b.sizeActual-b.sizeMin>a?(b.sizeActual-=a,a=0):(a-=b.sizeActual-b.sizeMin,b.sizeActual=b.sizeMin));return a},_checkSizes:function(){var a=0,b=0,c=this.getChildren();g.forEach(c,function(c){b+=c.sizeActual;a+=c.sizeMin});if(a<=b){var d=0;g.forEach(c,function(a){a.sizeActual<a.sizeMin&&(d+=a.sizeMin-a.sizeActual,a.sizeActual=a.sizeMin)});0<d&&(c=this.isDraggingLeft?c.reverse():
c,g.forEach(c,function(a){d=this._growPane(d,a)},this))}else g.forEach(c,function(c){c.sizeActual=Math.round(c.sizeMin/a*b)})},beginSizing:function(c,d){var e=this.getChildren();this.paneBefore=e[d];this.paneAfter=e[d+1];this.paneBefore.sizeBeforeDrag=this.paneBefore.sizeActual;this.paneAfter.sizeBeforeDrag=this.paneAfter.sizeActual;this.paneAfter.positionBeforeDrag=this.paneAfter.position;this.isSizing=!0;this.sizingSplitter=this.sizers[d];this.sizingSplitter.positionBeforeDrag=b.get(this.sizingSplitter,
this.isHorizontal?"left":"top");this.cover?this.cover.style.zIndex=5:this.cover=h.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);this.sizingSplitter.style.zIndex=6;this.startPoint=this.lastPoint=this.isHorizontal?c.pageX:c.pageY;this.maxDelta=this.paneAfter.sizeActual-this.paneAfter.sizeMin;this.minDelta=-1*(this.paneBefore.sizeActual-this.paneBefore.sizeMin);this.activeSizing||this._showSizingLine();this._ownconnects=[k(this.ownerDocument.documentElement,
"mousemove",p.hitch(this,"changeSizing")),k(this.ownerDocument.documentElement,"mouseup",p.hitch(this,"endSizing"))];a.stop(c)},changeSizing:function(b){if(this.isSizing){this.lastPoint=this.isHorizontal?b.pageX:b.pageY;var c=Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta);this.activeSizing?this._updateSize(c):this._moveSizingLine(c);a.stop(b)}},endSizing:function(){if(this.isSizing){this.cover&&(this.cover.style.zIndex=-1);this.activeSizing||this._hideSizingLine();
this._updateSize(Math.max(Math.min(this.lastPoint-this.startPoint,this.maxDelta),this.minDelta));this.isSizing=!1;this.persist&&this._saveState(this);for(var a;a=this._ownconnects.pop();)a.remove()}},_updateSize:function(a){this.paneBefore.sizeActual=this.paneBefore.sizeBeforeDrag+a;this.paneAfter.position=this.paneAfter.positionBeforeDrag+a;this.paneAfter.sizeActual=this.paneAfter.sizeBeforeDrag-a;g.forEach(this.getChildren(),function(a){a.sizeShare=a.sizeActual});this._started&&this.layout()},_showSizingLine:function(){this._moveSizingLine(0);
c.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(a){b.set(this.virtualSizer,this.isHorizontal?"left":"top",a+this.sizingSplitter.positionBeforeDrag+"px")},_getCookieName:function(a){return this.id+"_"+a},_restoreState:function(){g.forEach(this.getChildren(),function(a,b){var c=this._getCookieName(b);
if(c=l(c))c=parseInt(c),"number"==typeof c&&(a.sizeShare=c)},this)},_saveState:function(){this.persist&&g.forEach(this.getChildren(),function(a,b){l(this._getCookieName(b),a.sizeShare,{expires:365})},this)}});n.ChildWidgetProperties={sizeMin:10,sizeShare:10};p.extend(u,n.ChildWidgetProperties);return n})},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(g,l,n,f,d){return l("dijit.layout.TabContainer",
n,{useMenu:!0,useSlider:!0,controllerWidget:"",_makeController:function(d){var c=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout");return new ("string"==typeof this.controllerWidget?g.getObject(this.controllerWidget):this.controllerWidget)({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":c,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,
tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},d)},postMixInProperties:function(){this.inherited(arguments);this.controllerWidget||(this.controllerWidget="top"!=this.tabPosition&&"bottom"!=this.tabPosition||this.nested?f:d)}})})},"dijit/layout/_TabContainerBase":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-geometry dojo/dom-style ./StackContainer ./utils ../_TemplatedMixin dojo/text!./templates/TabContainer.html".split(" "),function(g,l,n,f,d,h,c,
b){return g("dijit.layout._TabContainerBase",[d,c],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:!1,nested:!1,templateString:b,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&f.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);this.doLayout||l.add(this.domNode,"dijitTabContainerNoLayout");
this.nested?(l.add(this.domNode,"dijitTabContainerNested"),l.add(this.tablist.containerNode,"dijitTabContainerTabListNested"),l.add(this.tablistSpacer,"dijitTabContainerSpacerNested"),l.add(this.containerNode,"dijitTabPaneWrapperNested")):l.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"))},_setupChild:function(a){l.add(a.domNode,"dijitTabPane");this.inherited(arguments)},removeChild:function(a){l.remove(a.domNode,"dijitTabPane");this.inherited(arguments)},startup:function(){this._started||
(this.tablist.startup(),this.inherited(arguments))},layout:function(){if(this._contentBox&&"undefined"!=typeof this._contentBox.l){var a=this.selectedChildWidget;if(this.doLayout){var b=this.tabPosition.replace(/-h/,"");this.tablist.region=b;b=[this.tablist,{domNode:this.tablistSpacer,region:b},{domNode:this.containerNode,region:"center"}];h.layoutChildren(this.domNode,this._contentBox,b);this._containerContentBox=h.marginBox2contentBox(this.containerNode,b[2]);a&&a.resize&&a.resize(this._containerContentBox)}else{if(this.tablist.resize){b=
this.tablist.domNode.style;b.width="0";var c=n.getContentBox(this.domNode).w;b.width="";this.tablist.resize({w:c})}a&&a.resize&&a.resize()}}},destroy:function(a){this.tablist&&this.tablist.destroy(a);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".split(" "),function(g,
l,n,f,d,h,c,b,a,e,p,k){k=g("dijit.layout._TabButton"+(d("dojo-bidi")?"_NoBidi":""),b.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:k,_setNameAttr:"focusNode",scrollOnFocus:!1,buildRendering:function(){this.inherited(arguments);l.setSelectable(this.containerNode,!1)},startup:function(){this.inherited(arguments);var a=this.domNode;this.defer(function(){a.className=a.className},1)},_setCloseButtonAttr:function(a){this._set("closeButton",a);f.toggle(this.domNode,
"dijitClosable",a);this.closeNode.style.display=a?"":"none";a&&(a=h.getLocalization("dijit","common"),this.closeNode&&n.set(this.closeNode,"title",a.itemClose))},_setDisabledAttr:function(a){this.inherited(arguments);if(this.closeNode)if(a)n.remove(this.closeNode,"title");else{var b=h.getLocalization("dijit","common");n.set(this.closeNode,"title",b.itemClose)}},_setLabelAttr:function(a){this.inherited(arguments);this.showLabel||this.params.title||(this.iconNode.alt=c.trim(this.containerNode.innerText||
this.containerNode.textContent||""))}});d("dojo-bidi")&&(k=g("dijit.layout._TabButton",k,{_setLabelAttr:function(a){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt)}}));g=g("dijit.layout.TabController",b,{baseClass:"dijitTabController",templateString:"\x3cdiv role\x3d'tablist' data-dojo-attach-event\x3d'onkeydown:onkeydown'\x3e\x3c/div\x3e",tabPosition:"top",buttonWidget:k,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var b=
new e({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(a){return f.contains(a,"dijitClosable")&&!f.contains(a,"dijitTabDisabled")}});this.own(b);var c=h.getLocalization("dijit","common"),d=this;b.addChild(new p({label:c.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(b){b=a.byNode(this.getParent().currentTarget);d.onCloseButtonClick(b.page)}}))}});
g.TabButton=k;return g})},"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".split(" "),function(g,l,n,f,d,h,c,b,a,e,p,k,q,v){f=l("dijit.layout._StackButton",v,{tabIndex:"-1",closeButton:!1,_aria_attr:"aria-selected",buildRendering:function(a){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role",
"tab")}});l=l("dijit.layout.StackController",[p,k,q],{baseClass:"dijitStackController",templateString:"\x3cspan role\x3d'tablist' data-dojo-attach-event\x3d'onkeydown'\x3e\x3c/span\x3e",containerId:"",buttonWidget:f,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(a){return e.byId(this.id+"_"+a)},postCreate:function(){this.inherited(arguments);this.own(b.subscribe(this.containerId+"-startup",h.hitch(this,"onStartup")),b.subscribe(this.containerId+"-addChild",h.hitch(this,"onAddChild")),
b.subscribe(this.containerId+"-removeChild",h.hitch(this,"onRemoveChild")),b.subscribe(this.containerId+"-selectChild",h.hitch(this,"onSelectChild")),b.subscribe(this.containerId+"-containerKeyDown",h.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=!0;this.own(c(this.containerNode,"click",h.hitch(this,function(a){var b=e.getEnclosingWidget(a.target);if(b!=this.containerNode&&!b.disabled&&b.page)for(a=a.target;a!==this.containerNode;a=a.parentNode)if(n.contains(a,this.buttonWidgetCloseClass)){this.onCloseButtonClick(b.page);
break}else if(a==b.domNode){this.onButtonClick(b.page);break}})))},onStartup:function(a){this.textDir=a.textDir;g.forEach(a.children,this.onAddChild,this);if(a.selected)this.onSelectChild(a.selected);var b=e.byId(this.containerId).containerNode,d=h.hitch(this,"pane2button");a={title:"label",showtitle:"showLabel",iconclass:"iconClass",closable:"closeButton",tooltip:"title",disabled:"disabled",textdir:"textdir"};var f=function(a,e){return c(b,"attrmodified-"+a,function(a){var b=d(a.detail&&a.detail.widget&&
a.detail.widget.id);b&&b.set(e,a.detail.newValue)})},k;for(k in a)this.own(f(k,a[k]))},destroy:function(a){this.destroyDescendants(a);this.inherited(arguments)},onAddChild:function(a,b){var c=new (h.isString(this.buttonWidget)?h.getObject(this.buttonWidget):this.buttonWidget)({id:this.id+"_"+a.id,name:this.id+"_"+a.id,label:a.title,disabled:a.disabled,ownerDocument:this.ownerDocument,dir:a.dir,lang:a.lang,textDir:a.textDir||this.textDir,showLabel:a.showTitle,iconClass:a.iconClass,closeButton:a.closable,
title:a.tooltip,page:a});this.addChild(c,b);a.controlButton=c;if(!this._currentChild)this.onSelectChild(a);c=a._wrapper.getAttribute("aria-labelledby")?a._wrapper.getAttribute("aria-labelledby")+" "+c.id:c.id;a._wrapper.removeAttribute("aria-label");a._wrapper.setAttribute("aria-labelledby",c)},onRemoveChild:function(a){this._currentChild===a&&(this._currentChild=null);var b=this.pane2button(a.id);b&&(this.removeChild(b),b.destroy());delete a.controlButton},onSelectChild:function(a){if(a){if(this._currentChild){var b=
this.pane2button(this._currentChild.id);b.set("checked",!1);b.focusNode.setAttribute("tabIndex","-1")}b=this.pane2button(a.id);b.set("checked",!0);this._currentChild=a;b.focusNode.setAttribute("tabIndex","0");e.byId(this.containerId)}},onButtonClick:function(b){var c=this.pane2button(b.id);a.focus(c.focusNode);this._currentChild&&this._currentChild.id===b.id&&c.set("checked",!0);e.byId(this.containerId).selectChild(b)},onCloseButtonClick:function(b){e.byId(this.containerId).closeChild(b);this._currentChild&&
(b=this.pane2button(this._currentChild.id))&&a.focus(b.focusNode||b.domNode)},adjacent:function(a){this.isLeftToRight()||this.tabPosition&&!/top|bottom/.test(this.tabPosition)||(a=!a);var b=this.getChildren(),c=g.indexOf(b,this.pane2button(this._currentChild.id)),d=b[c],e;do c=(c+(a?1:b.length-1))%b.length,e=b[c];while(e.disabled&&e!=d);return e},onkeydown:function(a,b){if(!this.disabled&&!a.altKey){var c=null;if(a.ctrlKey||!a._djpage){switch(a.keyCode){case d.LEFT_ARROW:case d.UP_ARROW:a._djpage||
(c=!1);break;case d.PAGE_UP:a.ctrlKey&&(c=!1);break;case d.RIGHT_ARROW:case d.DOWN_ARROW:a._djpage||(c=!0);break;case d.PAGE_DOWN:a.ctrlKey&&(c=!0);break;case d.HOME:for(var e=this.getChildren(),f=0;f<e.length;f++){var g=e[f];if(!g.disabled){this.onButtonClick(g.page);break}}a.stopPropagation();a.preventDefault();break;case d.END:e=this.getChildren();for(f=e.length-1;0<=f;f--)if(g=e[f],!g.disabled){this.onButtonClick(g.page);break}a.stopPropagation();a.preventDefault();break;case d.DELETE:case 87:this._currentChild.closable&&
(a.keyCode==d.DELETE||a.ctrlKey)&&(this.onCloseButtonClick(this._currentChild),a.stopPropagation(),a.preventDefault());break;case d.TAB:a.ctrlKey&&(this.onButtonClick(this.adjacent(!a.shiftKey).page),a.stopPropagation(),a.preventDefault())}null!==c&&(this.onButtonClick(this.adjacent(c).page),a.stopPropagation(),a.preventDefault())}}},onContainerKeyDown:function(a){a.e._djpage=a.page;this.onkeydown(a.e)}});l.StackButton=f;return l})},"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".split(" "),
function(g,l,n,f,d,h,c,b,a,e,p,k,q,v,u,t,m,r,w,C){k=l("dijit.layout.ScrollingTabController",[v,t],{baseClass:"dijitTabController dijitScrollingTabController",templateString:k,useMenu:!0,useSlider:!0,tabStripClass:"",_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var a=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();this.tabStripClass||(this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+
this.tabPosition.substr(1).replace(/-.*/,"")+"None",n.add(a,"tabStrip-disabled"));n.add(this.tablistWrapper,this.tabStripClass)},onStartup:function(){this.inherited(arguments);d.set(this.domNode,"visibility","");this._postStartup=!0;this.own(b(this.containerNode,"attrmodified-label, attrmodified-iconclass",c.hitch(this,function(a){this._dim&&this.resize(this._dim)})))},onAddChild:function(a,b){this.inherited(arguments);d.set(this.containerNode,"width",d.get(this.containerNode,"width")+200+"px")},
onRemoveChild:function(a,b){var c=this.pane2button(a.id);this._selectedTab===c.domNode&&(this._selectedTab=null);this.inherited(arguments)},_initButtons:function(){this._btnWidth=0;this._buttons=a("\x3e .tabStripButton",this.domNode).filter(function(a){if(this.useMenu&&a==this._menuBtn.domNode||this.useSlider&&(a==this._rightBtn.domNode||a==this._leftBtn.domNode))return this._btnWidth+=f.getMarginSize(a).w,!0;d.set(a,"display","none");return!1},this)},_getTabsWidth:function(){var a=this.getChildren();
if(a.length){var b=a[this.isLeftToRight()?0:a.length-1].domNode,a=a[this.isLeftToRight()?a.length-1:0].domNode;return a.offsetLeft+a.offsetWidth-b.offsetLeft}return 0},_enableBtn:function(a){var b=this._getTabsWidth();a=a||d.get(this.scrollNode,"width");return 0<b&&a<b},resize:function(a){this._dim=a;this.scrollNode.style.height="auto";var b=this._contentBox=u.marginBox2contentBox(this.domNode,{h:0,w:a.w});b.h=this.scrollNode.offsetHeight;f.setContentSize(this.domNode,b);b=this._enableBtn(this._contentBox.w);
this._buttons.style("display",b?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";u.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);this._selectedTab&&(this._anim&&"playing"==this._anim.status()&&this._anim.stop(),this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab()));this._setButtonClass(this._getScroll());
this._postResize=!0;return{h:this._contentBox.h,w:a.w}},_getScroll:function(){return this.isLeftToRight()||8>e("ie")||e("trident")&&e("quirks")||e("webkit")?this.scrollNode.scrollLeft:d.get(this.containerNode,"width")-d.get(this.scrollNode,"width")+(e("trident")||e("edge")?-1:1)*this.scrollNode.scrollLeft},_convertToScrollLeft:function(a){if(this.isLeftToRight()||8>e("ie")||e("trident")&&e("quirks")||e("webkit"))return a;var b=d.get(this.containerNode,"width")-d.get(this.scrollNode,"width");return(e("trident")||
e("edge")?-1:1)*(a-b)},onSelectChild:function(a,b){var c=this.pane2button(a.id);if(c){var e=c.domNode;if(e!=this._selectedTab&&(this._selectedTab=e,this._postResize)){var f=this._getScroll();f>e.offsetLeft||f+d.get(this.scrollNode,"width")<e.offsetLeft+d.get(e,"width")?(e=this.createSmoothScroll(),b&&(e.onEnd=function(){c.focus()}),e.play()):b&&c.focus()}this.inherited(arguments)}},_getScrollBounds:function(){var a=this.getChildren(),b=d.get(this.scrollNode,"width"),c=d.get(this.containerNode,"width")-
b,e=this._getTabsWidth();if(a.length&&e>b)return{min:this.isLeftToRight()?0:a[a.length-1].domNode.offsetLeft,max:this.isLeftToRight()?a[a.length-1].domNode.offsetLeft+a[a.length-1].domNode.offsetWidth-b:c};a=this.isLeftToRight()?0:c;return{min:a,max:a}},_getScrollForSelectedTab:function(){var a=this._selectedTab,b=d.get(this.scrollNode,"width"),c=this._getScrollBounds(),a=a.offsetLeft+d.get(a,"width")/2-b/2;return a=Math.min(Math.max(a,c.min),c.max)},createSmoothScroll:function(a){if(0<arguments.length){var b=
this._getScrollBounds();a=Math.min(Math.max(a,b.min),b.max)}else a=this._getScrollForSelectedTab();this._anim&&"playing"==this._anim.status()&&this._anim.stop();var c=this,d=this.scrollNode,e=new h.Animation({beforeBegin:function(){this.curve&&delete this.curve;var b=d.scrollLeft,f=c._convertToScrollLeft(a);e.curve=new h._Line(b,f)},onAnimate:function(a){d.scrollLeft=a}});this._anim=e;this._setButtonClass(a);return e},_getBtnNode:function(a){for(a=a.target;a&&!n.contains(a,"tabStripButton");)a=a.parentNode;
return a},doSlideRight:function(a){this.doSlide(1,this._getBtnNode(a))},doSlideLeft:function(a){this.doSlide(-1,this._getBtnNode(a))},doSlide:function(a,b){if(!b||!n.contains(b,"dijitTabDisabled")){var c=.75*d.get(this.scrollNode,"width")*a,c=this._getScroll()+c;this._setButtonClass(c);this.createSmoothScroll(c).play()}},_setButtonClass:function(a){var b=this._getScrollBounds();this._leftBtn.set("disabled",a<=b.min);this._rightBtn.set("disabled",a>=b.max)}});q=l("dijit.layout._ScrollingTabControllerButtonMixin",
null,{baseClass:"dijitTab tabStripButton",templateString:q,tabIndex:"",isFocusable:function(){return!1}});l("dijit.layout._ScrollingTabControllerButton",[w,q]);l("dijit.layout._ScrollingTabControllerMenuButton",[w,C,q],{containerId:"",tabIndex:"-1",isLoaded:function(){return!1},loadDropDown:function(a){this.dropDown=new m({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var b=p.byId(this.containerId);g.forEach(b.getChildren(),function(a){var c=
new r({id:a.id+"_stcMi",label:a.title,iconClass:a.iconClass,disabled:a.disabled,ownerDocument:this.ownerDocument,dir:a.dir,lang:a.lang,textDir:a.textDir||b.textDir,onClick:function(){b.selectChild(a)}});this.dropDown.addChild(c)},this);a()},closeDropDown:function(a){this.inherited(arguments);this.dropDown&&(this._popupStateNode.removeAttribute("aria-owns"),this.dropDown.destroyRecursive(),delete this.dropDown)}});return k})},"url:dijit/templates/ColorPalette.html":'\x3cdiv class\x3d"dijitInline dijitColorPalette" role\x3d"grid"\x3e\r\n\t\x3ctable data-dojo-attach-point\x3d"paletteTableNode" class\x3d"dijitPaletteTable" cellSpacing\x3d"0" cellPadding\x3d"0" role\x3d"presentation"\x3e\r\n\t\t\x3ctbody data-dojo-attach-point\x3d"gridNode"\x3e\x3c/tbody\x3e\r\n\t\x3c/table\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/templates/Dialog.html":'\x3cdiv class\x3d"dijitDialog" role\x3d"dialog" aria-labelledby\x3d"${id}_title"\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"titleBar" class\x3d"dijitDialogTitleBar"\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d"titleNode" class\x3d"dijitDialogTitle" id\x3d"${id}_title"\r\n\t\t\t\trole\x3d"heading" level\x3d"1"\x3e\x3c/span\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d"closeButtonNode" class\x3d"dijitDialogCloseIcon" data-dojo-attach-event\x3d"ondijitclick: onCancel" title\x3d"${buttonCancel}" role\x3d"button" tabindex\x3d"-1"\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"closeText" class\x3d"closeText" title\x3d"${buttonCancel}"\x3ex\x3c/span\x3e\r\n\t\t\x3c/span\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitDialogPaneContent"\x3e\x3c/div\x3e\r\n\t${!actionBarTemplate}\r\n\x3c/div\x3e\r\n\r\n',
"url:dijit/templates/TooltipDialog.html":'\x3cdiv role\x3d"alertdialog" tabIndex\x3d"-1"\x3e\r\n\t\x3cdiv class\x3d"dijitTooltipContainer" role\x3d"presentation"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"contentsNode" class\x3d"dijitTooltipContents dijitTooltipFocusNode"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e\r\n\t\t\t${!actionBarTemplate}\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"dijitTooltipConnector" role\x3d"presentation" data-dojo-attach-point\x3d"connectorNode"\x3e\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/form/templates/Button.html":'\x3cspan class\x3d"dijit dijitReset dijitInline" role\x3d"presentation"\r\n\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonNode"\r\n\t\tdata-dojo-attach-event\x3d"ondijitclick:__onClick" role\x3d"presentation"\r\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\r\n\t\t\tdata-dojo-attach-point\x3d"titleNode,focusNode"\r\n\t\t\trole\x3d"button" aria-labelledby\x3d"${id}_label"\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitToggleButtonIconChar"\x3e\x26#x25CF;\x3c/span\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\r\n\t\t\t\tid\x3d"${id}_label"\r\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\r\n\t\t\t\x3e\x3c/span\r\n\t\t\x3e\x3c/span\r\n\t\x3e\x3c/span\r\n\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen"\r\n\t\tdata-dojo-attach-event\x3d"onclick:_onClick"\r\n\t\ttabIndex\x3d"-1" aria-hidden\x3d"true" data-dojo-attach-point\x3d"valueNode"\r\n/\x3e\x3c/span\x3e\r\n',
"url:dijit/form/templates/TextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft" id\x3d"widget_${id}" role\x3d"presentation"\r\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off"\r\n\t\t\t${!nameAttrSetting} type\x3d\'${type}\'\r\n\t/\x3e\x3c/div\r\n\x3e\x3c/div\x3e\r\n',"url:dijit/templates/Tooltip.html":'\x3cdiv class\x3d"dijitTooltip dijitTooltipLeft" id\x3d"dojoTooltip" data-dojo-attach-event\x3d"mouseenter:onMouseEnter,mouseleave:onMouseLeave"\r\n\t\x3e\x3cdiv class\x3d"dijitTooltipConnector" data-dojo-attach-point\x3d"connectorNode"\x3e\x3c/div\r\n\t\x3e\x3cdiv class\x3d"dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point\x3d"containerNode" role\x3d\'alert\'\x3e\x3c/div\r\n\x3e\x3c/div\x3e\r\n',
"url:dijit/form/templates/ValidationTextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\r\n\tid\x3d"widget_${id}" role\x3d"presentation"\r\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t/\x3e\x3c/div\r\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputInner" data-dojo-attach-point\x3d\'textbox,focusNode\' autocomplete\x3d"off"\r\n\t\t\t${!nameAttrSetting} type\x3d\'${type}\'\r\n\t/\x3e\x3c/div\r\n\x3e\x3c/div\x3e\r\n',
"url:dijit/form/templates/DropDownBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\r\n\tid\x3d"widget_${id}"\r\n\trole\x3d"combobox"\r\n\taria-haspopup\x3d"true"\r\n\tdata-dojo-attach-point\x3d"_popupStateNode"\r\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\r\n\t\tdata-dojo-attach-point\x3d"_buttonNode" role\x3d"presentation"\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitArrowButtonInner" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"button presentation" aria-hidden\x3d"true"\r\n\t\t\t${_buttonInputDisabled}\r\n\t/\x3e\x3c/div\r\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t/\x3e\x3c/div\r\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\r\n\t\t\x3e\x3cinput class\x3d\'dijitReset dijitInputInner\' ${!nameAttrSetting} type\x3d"${type}" autocomplete\x3d"off"\r\n\t\t\tdata-dojo-attach-point\x3d"textbox,focusNode" role\x3d"textbox"\r\n\t/\x3e\x3c/div\r\n\x3e\x3c/div\x3e\r\n',
"url:dijit/form/templates/DropDownButton.html":'\x3cspan class\x3d"dijit dijitReset dijitInline"\r\n\t\x3e\x3cspan class\x3d\'dijitReset dijitInline dijitButtonNode\'\r\n\t\tdata-dojo-attach-event\x3d"ondijitclick:__onClick" data-dojo-attach-point\x3d"_buttonNode"\r\n\t\t\x3e\x3cspan class\x3d"dijitReset dijitStretch dijitButtonContents"\r\n\t\t\tdata-dojo-attach-point\x3d"focusNode,titleNode,_arrowWrapperNode,_popupStateNode"\r\n\t\t\trole\x3d"button" aria-haspopup\x3d"true" aria-labelledby\x3d"${id}_label"\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitIcon"\r\n\t\t\t\tdata-dojo-attach-point\x3d"iconNode"\r\n\t\t\t\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitButtonText"\r\n\t\t\t\tdata-dojo-attach-point\x3d"containerNode"\r\n\t\t\t\tid\x3d"${id}_label"\r\n\t\t\t\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitArrowButtonInner"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan class\x3d"dijitReset dijitInline dijitArrowButtonChar"\x3e\x26#9660;\x3c/span\r\n\t\t\x3e\x3c/span\r\n\t\x3e\x3c/span\r\n\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" class\x3d"dijitOffScreen" tabIndex\x3d"-1"\r\n\t\tdata-dojo-attach-event\x3d"onclick:_onClick" data-dojo-attach-point\x3d"valueNode" aria-hidden\x3d"true"\r\n/\x3e\x3c/span\x3e\r\n',
"url:dijit/templates/Menu.html":'\x3ctable class\x3d"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable" role\x3d"menu" tabIndex\x3d"${tabIndex}"\r\n\t   cellspacing\x3d"0"\x3e\r\n\t\x3ctbody class\x3d"dijitReset" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/tbody\x3e\r\n\x3c/table\x3e\r\n',"url:dijit/templates/MenuItem.html":'\x3ctr class\x3d"dijitReset" data-dojo-attach-point\x3d"focusNode" role\x3d"menuitem" tabIndex\x3d"-1"\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\x3e\r\n\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitMenuItemIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\r\n\t\x3c/td\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" data-dojo-attach-point\x3d"containerNode,textDirNode"\r\n\t\trole\x3d"presentation"\x3e\x3c/td\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuItemAccelKey" style\x3d"display: none" data-dojo-attach-point\x3d"accelKeyNode"\x3e\x3c/td\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuArrowCell" role\x3d"presentation"\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d"arrowWrapper" style\x3d"visibility: hidden"\x3e\r\n\t\t\t\x3cspan class\x3d"dijitInline dijitIcon dijitMenuExpand"\x3e\x3c/span\x3e\r\n\t\t\t\x3cspan class\x3d"dijitMenuExpandA11y"\x3e+\x3c/span\x3e\r\n\t\t\x3c/span\x3e\r\n\t\x3c/td\x3e\r\n\x3c/tr\x3e\r\n',
"url:dijit/templates/CheckedMenuItem.html":'\x3ctr class\x3d"dijitReset" data-dojo-attach-point\x3d"focusNode" role\x3d"${role}" tabIndex\x3d"-1" aria-checked\x3d"${checked}"\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuItemIconCell" role\x3d"presentation"\x3e\r\n\t\t\x3cspan class\x3d"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\r\n\t\t\x3cspan class\x3d"dijitMenuItemIconChar dijitCheckedMenuItemIconChar"\x3e${!checkedChar}\x3c/span\x3e\r\n\t\x3c/td\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuItemLabel" colspan\x3d"2" data-dojo-attach-point\x3d"containerNode,labelNode,textDirNode"\x3e\x3c/td\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuItemAccelKey" style\x3d"display: none" data-dojo-attach-point\x3d"accelKeyNode"\x3e\x3c/td\x3e\r\n\t\x3ctd class\x3d"dijitReset dijitMenuArrowCell" role\x3d"presentation"\x3e\x26#160;\x3c/td\x3e\r\n\x3c/tr\x3e\r\n',
"url:dijit/templates/MenuBar.html":'\x3cdiv class\x3d"dijitMenuBar dijitMenuPassive" data-dojo-attach-point\x3d"containerNode" role\x3d"menubar" tabIndex\x3d"${tabIndex}"\r\n\t \x3e\x3c/div\x3e\r\n',"url:dijit/templates/MenuBarItem.html":'\x3cdiv class\x3d"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel" data-dojo-attach-point\x3d"focusNode"\r\n\t \trole\x3d"menuitem" tabIndex\x3d"-1"\x3e\r\n\t\x3cspan data-dojo-attach-point\x3d"containerNode,textDirNode"\x3e\x3c/span\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/templates/MenuSeparator.html":'\x3ctr class\x3d"dijitMenuSeparator" role\x3d"separator"\x3e\r\n\t\x3ctd class\x3d"dijitMenuSeparatorIconCell"\x3e\r\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorTop"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorBottom"\x3e\x3c/div\x3e\r\n\t\x3c/td\x3e\r\n\t\x3ctd colspan\x3d"3" class\x3d"dijitMenuSeparatorLabelCell"\x3e\r\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorTop dijitMenuSeparatorLabel"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"dijitMenuSeparatorBottom"\x3e\x3c/div\x3e\r\n\t\x3c/td\x3e\r\n\x3c/tr\x3e\r\n',
"url:dijit/templates/ProgressBar.html":'\x3cdiv class\x3d"dijitProgressBar dijitProgressBarEmpty" role\x3d"progressbar"\r\n\t\x3e\x3cdiv  data-dojo-attach-point\x3d"internalProgress" class\x3d"dijitProgressBarFull"\r\n\t\t\x3e\x3cdiv class\x3d"dijitProgressBarTile" role\x3d"presentation"\x3e\x3c/div\r\n\t\t\x3e\x3cspan style\x3d"visibility:hidden"\x3e\x26#160;\x3c/span\r\n\t\x3e\x3c/div\r\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"labelNode" class\x3d"dijitProgressBarLabel" id\x3d"${id}_label"\x3e\x3c/div\r\n\t\x3e\x3cspan data-dojo-attach-point\x3d"indeterminateHighContrastImage"\r\n\t\t   class\x3d"dijitInline dijitProgressBarIndeterminateHighContrastImage"\x3e\x3c/span\r\n\x3e\x3c/div\x3e\r\n',
"url:dijit/templates/TitlePane.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-event\x3d"ondijitclick:_onTitleClick, onkeydown:_onTitleKey"\r\n\t\t\tclass\x3d"dijitTitlePaneTitle" data-dojo-attach-point\x3d"titleBarNode" id\x3d"${id}_titleBarNode"\x3e\r\n\t\t\x3cdiv class\x3d"dijitTitlePaneTitleFocus" data-dojo-attach-point\x3d"focusNode"\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"arrowNode" class\x3d"dijitInline dijitArrowNode" role\x3d"presentation"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"arrowNodeInner" class\x3d"dijitArrowNodeInner"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"titleNode" class\x3d"dijitTitlePaneTextNode"\x3e\x3c/span\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"dijitTitlePaneContentOuter" data-dojo-attach-point\x3d"hideNode" role\x3d"presentation"\x3e\r\n\t\t\x3cdiv class\x3d"dijitReset" data-dojo-attach-point\x3d"wipeNode" role\x3d"presentation"\x3e\r\n\t\t\t\x3cdiv class\x3d"dijitTitlePaneContentInner" data-dojo-attach-point\x3d"containerNode" role\x3d"region" id\x3d"${id}_pane" aria-labelledby\x3d"${id}_titleBarNode"\x3e\r\n\t\t\t\t\x3c!-- nested divs because wipeIn()/wipeOut() doesn\'t work right on node w/padding etc.  Put padding on inner div. --\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/templates/TreeNode.html":'\x3cdiv class\x3d"dijitTreeNode" role\x3d"presentation"\r\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"rowNode" class\x3d"dijitTreeRow" role\x3d"presentation"\r\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNode" class\x3d"dijitInline dijitTreeExpando" role\x3d"presentation"\x3e\x3c/span\r\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNodeText" class\x3d"dijitExpandoText" role\x3d"presentation"\x3e\x3c/span\r\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"contentNode"\r\n\t\t\tclass\x3d"dijitTreeContent" role\x3d"presentation"\x3e\r\n\t\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTreeIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"labelNode,focusNode" class\x3d"dijitTreeLabel" role\x3d"treeitem"\r\n\t\t\t\t   tabindex\x3d"-1" aria-selected\x3d"false" id\x3d"${id}_label"\x3e\x3c/span\x3e\r\n\t\t\x3c/span\r\n\t\x3e\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeNodeContainer" role\x3d"presentation"\r\n\t\t style\x3d"display: none;" aria-labelledby\x3d"${id}_label"\x3e\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/templates/Tree.html":'\x3cdiv role\x3d"tree"\x3e\r\n\t\x3cdiv class\x3d"dijitInline dijitTreeIndent" style\x3d"position: absolute; top: -9999px" data-dojo-attach-point\x3d"indentDetector"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"dijitTreeExpando dijitTreeExpandoLoading" data-dojo-attach-point\x3d"rootLoadingIndicator"\x3e\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeContainer" role\x3d"presentation"\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n',"url:dijit/templates/InlineEditBox.html":'\x3cspan data-dojo-attach-point\x3d"editNode" role\x3d"presentation" class\x3d"dijitReset dijitInline dijitOffScreen"\r\n\t\x3e\x3cspan data-dojo-attach-point\x3d"editorPlaceholder"\x3e\x3c/span\r\n\t\x3e\x3cspan data-dojo-attach-point\x3d"buttonContainer"\r\n\t\t\x3e\x3cbutton data-dojo-type\x3d"./form/Button" data-dojo-props\x3d"label: \'${buttonSave}\', \'class\': \'saveButton\'"\r\n\t\t\tdata-dojo-attach-point\x3d"saveButton" data-dojo-attach-event\x3d"onClick:save"\x3e\x3c/button\r\n\t\t\x3e\x3cbutton data-dojo-type\x3d"./form/Button"  data-dojo-props\x3d"label: \'${buttonCancel}\', \'class\': \'cancelButton\'"\r\n\t\t\tdata-dojo-attach-point\x3d"cancelButton" data-dojo-attach-event\x3d"onClick:cancel"\x3e\x3c/button\r\n\t\x3e\x3c/span\r\n\x3e\x3c/span\x3e\r\n',
"url:dijit/form/templates/ComboButton.html":'\x3ctable class\x3d"dijit dijitReset dijitInline dijitLeft"\r\n\tcellspacing\x3d\'0\' cellpadding\x3d\'0\' role\x3d"presentation"\r\n\t\x3e\x3ctbody role\x3d"presentation"\x3e\x3ctr role\x3d"presentation"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point\x3d"buttonNode" data-dojo-attach-event\x3d"ondijitclick:__onClick,onkeydown:_onButtonKeyDown"\r\n\t\t\x3e\x3cdiv id\x3d"${id}_button" class\x3d"dijitReset dijitButtonContents"\r\n\t\t\tdata-dojo-attach-point\x3d"titleNode"\r\n\t\t\trole\x3d"button" aria-labelledby\x3d"${id}_label"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInline dijitIcon" data-dojo-attach-point\x3d"iconNode" role\x3d"presentation"\x3e\x3c/div\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInline dijitButtonText" id\x3d"${id}_label" data-dojo-attach-point\x3d"containerNode" role\x3d"presentation"\x3e\x3c/div\r\n\t\t\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd id\x3d"${id}_arrow" class\x3d\'dijitReset dijitRight dijitButtonNode dijitArrowButton\'\r\n\t\t\tdata-dojo-attach-point\x3d"_popupStateNode,focusNode,_buttonNode"\r\n\t\t\tdata-dojo-attach-event\x3d"onkeydown:_onArrowKeyDown"\r\n\t\t\ttitle\x3d"${optionsTitle}"\r\n\t\t\trole\x3d"button" aria-haspopup\x3d"true"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitArrowButtonInner" role\x3d"presentation"\x3e\x3c/div\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitArrowButtonChar" role\x3d"presentation"\x3e\x26#9660;\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd style\x3d"display:none !important;"\r\n\t\t\t\x3e\x3cinput ${!nameAttrSetting} type\x3d"${type}" value\x3d"${value}" data-dojo-attach-point\x3d"valueNode"\r\n\t\t\t\tclass\x3d"dijitOffScreen" aria-hidden\x3d"true" data-dojo-attach-event\x3d"onclick:_onClick"\r\n\t\t/\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\r\n\x3e\x3c/table\x3e\r\n',
"url:dijit/form/templates/CheckBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline" role\x3d"presentation"\r\n\t\x3e\x3cinput\r\n\t \t${!nameAttrSetting} type\x3d"${type}" role\x3d"${type}" aria-checked\x3d"false" ${checkedAttrSetting}\r\n\t\tclass\x3d"dijitReset dijitCheckBoxInput"\r\n\t\tdata-dojo-attach-point\x3d"focusNode"\r\n\t \tdata-dojo-attach-event\x3d"ondijitclick:_onClick"\r\n/\x3e\x3c/div\x3e\r\n',"url:dijit/templates/Calendar.html":'\x3cdiv class\x3d"dijitCalendarContainer dijitInline" role\x3d"presentation" aria-labelledby\x3d"${id}_mddb ${id}_year"\x3e\r\n\t\x3cdiv class\x3d"dijitReset dijitCalendarMonthContainer" role\x3d"presentation"\x3e\r\n\t\t\x3cdiv class\x3d\'dijitReset dijitCalendarArrow dijitCalendarDecrementArrow\' data-dojo-attach-point\x3d"decrementMonth"\x3e\r\n\t\t\t\x3cimg src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitCalendarIncrementControl dijitCalendarDecrease" role\x3d"presentation"/\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"decreaseArrowNode" class\x3d"dijitA11ySideArrow"\x3e-\x3c/span\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d\'dijitReset dijitCalendarArrow dijitCalendarIncrementArrow\' data-dojo-attach-point\x3d"incrementMonth"\x3e\r\n\t\t\t\x3cimg src\x3d"${_blankGif}" alt\x3d"" class\x3d"dijitCalendarIncrementControl dijitCalendarIncrease" role\x3d"presentation"/\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"increaseArrowNode" class\x3d"dijitA11ySideArrow"\x3e+\x3c/span\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"monthNode" class\x3d"dijitInline"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3ctable cellspacing\x3d"0" cellpadding\x3d"0" role\x3d"grid" data-dojo-attach-point\x3d"gridNode"\x3e\r\n\t\t\x3cthead\x3e\r\n\t\t\t\x3ctr role\x3d"row"\x3e\r\n\t\t\t\t${!dayCellsHtml}\r\n\t\t\t\x3c/tr\x3e\r\n\t\t\x3c/thead\x3e\r\n\t\t\x3ctbody data-dojo-attach-point\x3d"dateRowsNode" data-dojo-attach-event\x3d"ondijitclick: _onDayClick" class\x3d"dijitReset dijitCalendarBodyContainer"\x3e\r\n\t\t\t\t${!dateRowsHtml}\r\n\t\t\x3c/tbody\x3e\r\n\t\x3c/table\x3e\r\n\t\x3cdiv class\x3d"dijitReset dijitCalendarYearContainer" role\x3d"presentation"\x3e\r\n\t\t\x3cdiv class\x3d"dijitCalendarYearLabel"\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"previousYearLabelNode" class\x3d"dijitInline dijitCalendarPreviousYear" role\x3d"button"\x3e\x3c/span\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"currentYearLabelNode" class\x3d"dijitInline dijitCalendarSelectedYear" role\x3d"button" id\x3d"${id}_year"\x3e\x3c/span\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"nextYearLabelNode" class\x3d"dijitInline dijitCalendarNextYear" role\x3d"button"\x3e\x3c/span\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/form/templates/Spinner.html":'\x3cdiv class\x3d"dijit dijitReset dijitInline dijitLeft"\r\n\tid\x3d"widget_${id}" role\x3d"presentation"\r\n\t\x3e\x3cdiv class\x3d"dijitReset dijitButtonNode dijitSpinnerButtonContainer"\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitSpinnerButtonInner" type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t\t/\x3e\x3cdiv class\x3d"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton"\r\n\t\t\tdata-dojo-attach-point\x3d"upArrowNode"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\r\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField" value\x3d"\x26#9650; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t\t\t\t\t${_buttonInputDisabled}\r\n\t\t\t/\x3e\x3c/div\r\n\t\t\x3e\x3c/div\r\n\t\t\x3e\x3cdiv class\x3d"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton"\r\n\t\t\tdata-dojo-attach-point\x3d"downArrowNode"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\r\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t\t\t\t\t${_buttonInputDisabled}\r\n\t\t\t/\x3e\x3c/div\r\n\t\t\x3e\x3c/div\r\n\t\x3e\x3c/div\r\n\t\x3e\x3cdiv class\x3d\'dijitReset dijitValidationContainer\'\r\n\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t/\x3e\x3c/div\r\n\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitInputContainer"\r\n\t\t\x3e\x3cinput class\x3d\'dijitReset dijitInputInner\' data-dojo-attach-point\x3d"textbox,focusNode" type\x3d"${type}" data-dojo-attach-event\x3d"onkeydown:_onKeyDown"\r\n\t\t\trole\x3d"spinbutton" autocomplete\x3d"off" ${!nameAttrSetting}\r\n\t/\x3e\x3c/div\r\n\x3e\x3c/div\x3e\r\n',
"url:dijit/form/templates/Select.html":'\x3ctable class\x3d"dijit dijitReset dijitInline dijitLeft"\r\n\tdata-dojo-attach-point\x3d"_buttonNode,tableNode,focusNode,_popupStateNode" cellspacing\x3d\'0\' cellpadding\x3d\'0\'\r\n\trole\x3d"listbox" aria-haspopup\x3d"true"\r\n\t\x3e\x3ctbody role\x3d"presentation"\x3e\x3ctr role\x3d"presentation"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitStretch dijitButtonContents" role\x3d"presentation"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField dijitButtonText"  data-dojo-attach-point\x3d"containerNode,textDirNode" role\x3d"presentation"\x3e\x3c/div\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitReset dijitValidationContainer"\r\n\t\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value\x3d"\x26#935; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t\t\t/\x3e\x3c/div\r\n\t\t\t\x3e\x3cinput type\x3d"hidden" ${!nameAttrSetting} data-dojo-attach-point\x3d"valueNode" value\x3d"${value}" aria-hidden\x3d"true"\r\n\t\t/\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer"\r\n\t\t\tdata-dojo-attach-point\x3d"titleNode" role\x3d"presentation"\r\n\t\t\t\x3e\x3cinput class\x3d"dijitReset dijitInputField dijitArrowButtonInner" value\x3d"\x26#9660; " type\x3d"text" tabIndex\x3d"-1" readonly\x3d"readonly" role\x3d"presentation"\r\n\t\t\t\t${_buttonInputDisabled}\r\n\t\t/\x3e\x3c/td\r\n\t\x3e\x3c/tr\x3e\x3c/tbody\r\n\x3e\x3c/table\x3e\r\n',
"url:dijit/form/templates/HorizontalSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderH" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" data-dojo-attach-event\x3d"onkeydown:_onKeyDown, onkeyup:_onKeyUp"\r\n\trole\x3d"presentation"\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\r\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"topDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconH" style\x3d"display:none" data-dojo-attach-point\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" data-dojo-attach-event\x3d"press:_onClkDecBumper"\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\r\n\t\t\t\x3e\x3cinput data-dojo-attach-point\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\r\n\t\t\t/\x3e\x3cdiv class\x3d"dijitReset dijitSliderBarContainerH" role\x3d"presentation" data-dojo-attach-point\x3d"sliderBarContainer"\r\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" data-dojo-attach-event\x3d"press:_onBarClick"\r\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableH"\r\n\t\t\t\t\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"sliderHandle,focusNode" class\x3d"dijitSliderImageHandle dijitSliderImageHandleH" data-dojo-attach-event\x3d"press:_onHandleClick" role\x3d"slider"\x3e\x3c/div\r\n\t\t\t\t\t\x3e\x3c/div\r\n\t\t\t\t\x3e\x3c/div\r\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" data-dojo-attach-event\x3d"press:_onBarClick"\x3e\x3c/div\r\n\t\t\t\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper" data-dojo-attach-event\x3d"press:_onClkIncBumper"\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconH" style\x3d"display:none" data-dojo-attach-point\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\r\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"containerNode,bottomDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset" colspan\x3d"2"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\x3e\x3c/table\x3e\r\n',
"url:dijit/form/templates/VerticalSlider.html":'\x3ctable class\x3d"dijit dijitReset dijitSlider dijitSliderV" cellspacing\x3d"0" cellpadding\x3d"0" border\x3d"0" rules\x3d"none" data-dojo-attach-event\x3d"onkeydown:_onKeyDown,onkeyup:_onKeyUp"\r\n\trole\x3d"presentation"\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderIncrementIconV" style\x3d"display:none" data-dojo-attach-point\x3d"decrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e+\x3c/span\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\r\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper" data-dojo-attach-event\x3d"press:_onClkIncBumper"\x3e\x3c/div\x3e\x3c/center\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"leftDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderDecorationC" style\x3d"height:100%;"\r\n\t\t\t\x3e\x3cinput data-dojo-attach-point\x3d"valueNode" type\x3d"hidden" ${!nameAttrSetting}\r\n\t\t\t/\x3e\x3ccenter class\x3d"dijitReset dijitSliderBarContainerV" role\x3d"presentation" data-dojo-attach-point\x3d"sliderBarContainer"\r\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"remainingBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" data-dojo-attach-event\x3d"press:_onBarClick"\x3e\x3c!--#5629--\x3e\x3c/div\r\n\t\t\t\t\x3e\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"progressBar" class\x3d"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" data-dojo-attach-event\x3d"press:_onBarClick"\r\n\t\t\t\t\t\x3e\x3cdiv class\x3d"dijitSliderMoveable dijitSliderMoveableV" style\x3d"vertical-align:top;"\r\n\t\t\t\t\t\t\x3e\x3cdiv data-dojo-attach-point\x3d"sliderHandle,focusNode" class\x3d"dijitSliderImageHandle dijitSliderImageHandleV" data-dojo-attach-event\x3d"press:_onHandleClick" role\x3d"slider"\x3e\x3c/div\r\n\t\t\t\t\t\x3e\x3c/div\r\n\t\t\t\t\x3e\x3c/div\r\n\t\t\t\x3e\x3c/center\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd data-dojo-attach-point\x3d"containerNode,rightDecoration" class\x3d"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\r\n\t\t\t\x3e\x3ccenter\x3e\x3cdiv class\x3d"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper" data-dojo-attach-event\x3d"press:_onClkDecBumper"\x3e\x3c/div\x3e\x3c/center\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\t\x3e\x3ctr class\x3d"dijitReset"\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV"\r\n\t\t\t\x3e\x3cdiv class\x3d"dijitSliderDecrementIconV" style\x3d"display:none" data-dojo-attach-point\x3d"incrementButton"\x3e\x3cspan class\x3d"dijitSliderButtonInner"\x3e-\x3c/span\x3e\x3c/div\r\n\t\t\x3e\x3c/td\r\n\t\t\x3e\x3ctd class\x3d"dijitReset"\x3e\x3c/td\r\n\t\x3e\x3c/tr\r\n\x3e\x3c/table\x3e\r\n',
"url:dijit/layout/templates/AccordionButton.html":"\x3cdiv data-dojo-attach-event\x3d'ondijitclick:_onTitleClick' class\x3d'dijitAccordionTitle' role\x3d\"presentation\"\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d'titleNode,focusNode' data-dojo-attach-event\x3d'onkeydown:_onTitleKeyDown'\r\n\t\t\tclass\x3d'dijitAccordionTitleFocus' role\x3d\"tab\" aria-expanded\x3d\"false\"\r\n\t\t\x3e\x3cspan class\x3d'dijitInline dijitAccordionArrow' role\x3d\"presentation\"\x3e\x3c/span\r\n\t\t\x3e\x3cspan class\x3d'arrowTextUp' role\x3d\"presentation\"\x3e+\x3c/span\r\n\t\t\x3e\x3cspan class\x3d'arrowTextDown' role\x3d\"presentation\"\x3e-\x3c/span\r\n\t\t\x3e\x3cspan role\x3d\"presentation\" class\x3d\"dijitInline dijitIcon\" data-dojo-attach-point\x3d\"iconNode\"\x3e\x3c/span\x3e\r\n\t\t\x3cspan role\x3d\"presentation\" data-dojo-attach-point\x3d'titleTextNode, textDirNode' class\x3d'dijitAccordionText'\x3e\x3c/span\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n",
"url:dijit/layout/templates/TabContainer.html":'\x3cdiv class\x3d"dijitTabContainer"\x3e\r\n\t\x3cdiv class\x3d"dijitTabListWrapper" data-dojo-attach-point\x3d"tablistNode"\x3e\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"tablistSpacer" class\x3d"dijitTabSpacer ${baseClass}-spacer"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"dijitTabPaneWrapper ${baseClass}-container" data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e\r\n\x3c/div\x3e\r\n',"url:dijit/layout/templates/_TabButton.html":'\x3cdiv role\x3d"presentation" data-dojo-attach-point\x3d"titleNode,innerDiv,tabContent" class\x3d"dijitTabInner dijitTabContent"\x3e\r\n\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTabButtonIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\r\n\t\x3cspan data-dojo-attach-point\x3d\'containerNode,focusNode\' class\x3d\'tabLabel\'\x3e\x3c/span\x3e\r\n\t\x3cspan class\x3d"dijitInline dijitTabCloseButton dijitTabCloseIcon" data-dojo-attach-point\x3d\'closeNode\'\r\n\t\t  role\x3d"presentation"\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d\'closeText\' class\x3d\'dijitTabCloseText\'\x3e[x]\x3c/span\r\n\t\t\t\t\x3e\x3c/span\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/layout/templates/ScrollingTabController.html":'\x3cdiv class\x3d"dijitTabListContainer-${tabPosition}" style\x3d"visibility:hidden"\x3e\r\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerMenuButton"\r\n\t\t class\x3d"tabStripButton-${tabPosition}"\r\n\t\t id\x3d"${id}_menuBtn"\r\n\t\t data-dojo-props\x3d"containerId: \'${containerId}\', iconClass: \'dijitTabStripMenuIcon\',\r\n\t\t\t\t\tdropDownPosition: [\'below-alt\', \'above-alt\']"\r\n\t\t data-dojo-attach-point\x3d"_menuBtn" showLabel\x3d"false" title\x3d""\x3e\x26#9660;\x3c/div\x3e\r\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerButton"\r\n\t\t class\x3d"tabStripButton-${tabPosition}"\r\n\t\t id\x3d"${id}_leftBtn"\r\n\t\t data-dojo-props\x3d"iconClass:\'dijitTabStripSlideLeftIcon\', showLabel:false, title:\'\'"\r\n\t\t data-dojo-attach-point\x3d"_leftBtn" data-dojo-attach-event\x3d"onClick: doSlideLeft"\x3e\x26#9664;\x3c/div\x3e\r\n\t\x3cdiv data-dojo-type\x3d"dijit.layout._ScrollingTabControllerButton"\r\n\t\t class\x3d"tabStripButton-${tabPosition}"\r\n\t\t id\x3d"${id}_rightBtn"\r\n\t\t data-dojo-props\x3d"iconClass:\'dijitTabStripSlideRightIcon\', showLabel:false, title:\'\'"\r\n\t\t data-dojo-attach-point\x3d"_rightBtn" data-dojo-attach-event\x3d"onClick: doSlideRight"\x3e\x26#9654;\x3c/div\x3e\r\n\t\x3cdiv class\x3d\'dijitTabListWrapper\' data-dojo-attach-point\x3d\'tablistWrapper\'\x3e\r\n\t\t\x3cdiv role\x3d\'tablist\' data-dojo-attach-event\x3d\'onkeydown:onkeydown\'\r\n\t\t\t data-dojo-attach-point\x3d\'containerNode\' class\x3d\'nowrapTabStrip\'\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:dijit/layout/templates/_ScrollingTabControllerButton.html":'\x3cdiv data-dojo-attach-event\x3d"ondijitclick:_onClick" class\x3d"dijitTabInnerDiv dijitTabContent dijitButtonContents"  data-dojo-attach-point\x3d"focusNode" role\x3d"button"\x3e\r\n\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitTabStripIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\r\n\t\x3cspan data-dojo-attach-point\x3d"containerNode,titleNode" class\x3d"dijitButtonText"\x3e\x3c/span\x3e\r\n\x3c/div\x3e',
"*now":function(g){g(['dojo/i18n!*preload*dijit/nls/dijit-all*["ar","az","ca","cs","da","de-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","ro","ru","sk","sl","sv","th","tr","zh-tw","zh-cn","ROOT"]'])},"*noref":1}});
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".split(" "),function(g){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 g});