// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define("dojo/_base/declare dojo/_base/lang dojo/_base/html dojo/keys dojo/on jimu/dijit/Popup".split(" "),function(e,b,a,c,d,f){return e(f,{baseClass:"jimu-popup jimu-message",declaredClass:"jimu.dijit.Message",type:"message",message:"",autoHeight:!0,maxWidth:350,maxHeight:180,customZIndex:null,postMixInProperties:function(){this.content=this.message;window.currentMsgPopup=this},_createTitleNode:function(){this.titleLabel&&(this.titleNode=a.create("div",{"class":"title"},this.domNode),this.titleLabeNode=
a.create("span",{"class":"title-label jimu-float-leading",innerHTML:this.titleLabel||"\x26nbsp"},this.titleNode),this.closeBtnNode=a.create("div",{"class":"close-btn jimu-icon jimu-icon-close jimu-float-trailing",role:"button",tabindex:0},this.titleNode),this.own(d(this.closeBtnNode,"click",b.hitch(this,this.close))),this.own(d(this.closeBtnNode,"keydown",b.hitch(this,function(g){g.keyCode===c.ENTER&&(this.close(),this.focusLastActiveNode())}))))},_preProcessing:function(){0===this.buttons.length&&
this.buttons.push({label:window.jimuNls.common.ok,key:c.ENTER,onClick:b.hitch(this,this.close)})},_increaseZIndex:function(){a.setStyle(this.domNode,"zIndex",501);a.setStyle(this.overlayNode,"zIndex",500)}})});