// 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/lang dojo/_base/declare dojo/_base/Deferred dojo/dom-construct dijit/Dialog dijit/form/Button dijit/form/CheckBox".split(" "),function(d,f,g,a,h,e,k){return f(h,{okButton:null,cancelButton:null,skipCheckBox:null,hasOkButton:!0,hasCancelButton:!0,hasSkipCheckBox:!0,hasUnderlay:!0,dfd:null,buttonNode:null,constructor:function(b){d.mixin(this,b)},postCreate:function(){this.inherited("postCreate",arguments);var b=!1;var c=a.create("div",{className:"dijitDialogPaneContent dialogConfirm"},
this.domNode,"last");this.hasSkipCheckBox&&(this.skipCheckBox=new k({checked:!1},a.create("div")),c.appendChild(this.skipCheckBox.domNode),a.create("label",{"for":this.skipCheckBox.id,innerHTML:""},c));this.hasOkButton&&(this.okButton=new e({label:"OK",onClick:d.hitch(this,function(){b=this.hasSkipCheckBox?this.skipCheckBox.get("checked"):!1;this.hide();this.dfd.resolve(b)})},a.create("div")),c.appendChild(this.okButton.domNode));this.hasCancelButton&&(this.cancelButton=new e({label:"Cancel",onClick:d.hitch(this,
function(){b=this.hasSkipCheckBox?this.skipCheckBox.get("checked"):!1;this.hide();this.dfd.cancel(b)})},a.create("div")),c.appendChild(this.cancelButton.domNode));this.buttonNode=c},show:function(){this.inherited("show",arguments);this.hasUnderlay||a.destroy(this.id+"_underlay");return this.dfd=new g}})});