//>>built
define("dojox/mobile/SimpleDialog","dojo/_base/declare,dojo/_base/window,dojo/dom-class,dojo/dom-construct,./Pane,./iconUtils".split(","),function(e,c,f,d,g,h){return e("dojox.mobile.SimpleDialog",g,{top:"auto",left:"auto",modal:!0,closeButton:!1,closeButtonClass:"mblDomButtonSilverCircleRedCross",tabIndex:"0",_setTabIndexAttr:"",baseClass:"mblSimpleDialog",_cover:[],buildRendering:function(){this.containerNode=d.create("div",{className:"mblSimpleDialogContainer"});if(this.srcNodeRef)for(var a=0,
b=this.srcNodeRef.childNodes.length;a<b;a++)this.containerNode.appendChild(this.srcNodeRef.removeChild(this.srcNodeRef.firstChild));this.inherited(arguments);f.add(this.domNode,"mblSimpleDialogDecoration");this.domNode.style.display="none";this.domNode.appendChild(this.containerNode);if(this.closeButton)this.closeButtonNode=d.create("div",{className:"mblSimpleDialogCloseBtn "+this.closeButtonClass},this.domNode),h.createDomButton(this.closeButtonNode),this._clickHandle=this.connect(this.closeButtonNode,
"onclick","_onCloseButtonClick");this._keydownHandle=this.connect(this.domNode,"onkeydown","_onKeyDown")},startup:function(){this._started||(this.inherited(arguments),c.body().appendChild(this.domNode))},addCover:function(){this._cover[0]?this._cover[0].style.display="":this._cover[0]=d.create("div",{className:"mblSimpleDialogCover"},c.body())},removeCover:function(){this._cover[0].style.display="none"},_onCloseButtonClick:function(a){!1!==this.onCloseButtonClick(a)&&this.hide()},onCloseButtonClick:function(){},
_onKeyDown:function(a){27==a.keyCode&&this.hide()},refresh:function(){var a=this.domNode;if(this.closeButton){var b=this.closeButtonNode,d=Math.round(b.offsetHeight/2);b.style.top=-d+"px";b.style.left=a.offsetWidth-d+"px"}"auto"===this.top?(b=c.global.innerHeight||c.doc.documentElement.clientHeight,a.style.top=Math.round((b-a.offsetHeight)/2)+"px"):a.style.top=this.top;"auto"===this.left?(b=c.global.innerWidth||c.doc.documentElement.clientWidth,a.style.left=Math.round((b-a.offsetWidth)/2)+"px"):a.style.left=
this.left},show:function(){if(""!==this.domNode.style.display)this.modal&&this.addCover(),this.domNode.style.display="",this.refresh(),this.domNode.focus()},hide:function(){if("none"!==this.domNode.style.display)this.domNode.style.display="none",this.modal&&this.removeCover()}})});