text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
  
  //>>built
  require({cache:{"url:widgets/SituationAwareness/js/SnapshotName.html":'\x3cdiv\x3e\r\n  \x3cdiv class\x3d"jimu-r-row"\x3e\r\n    \x3cspan class\x3d"label" data-dojo-attach-point\x3d"nameSpan"\x3e\x3c/span\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"jimu-r-row" style\x3d"padding-top: 10px;"\x3e\r\n    \x3cinput class\x3d"validationBox" data-dojo-attach-point\x3d"snapshotName" data-dojo-type\x3d"dijit/form/ValidationTextBox"\r\n      title\x3d"${nls.snapshot_name}"/\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"snapshot-name-footer jimu-float-trailing" style\x3d"padding-top: 10px;"\x3e\r\n    \x3cdiv class\x3d"jimu-btn ok jimu-state-disabled" data-dojo-attach-point\x3d"btnOk"\x3e\x3c/div\x3e\r\n    \x3cdiv class\x3d"jimu-btn cancel" data-dojo-attach-point\x3d"btnCancel"\x3e\x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e\r\n'}});
  define("dojo/_base/declare dijit/_WidgetsInTemplateMixin dojo/_base/lang dojo/_base/html dojo/dom-class dojo/on dojo/query jimu/BaseWidget dojo/text!./SnapshotName.html dojo/Evented dijit/form/ValidationTextBox".split(" "),function(f,g,c,d,h,e,k,l,m,n){return f([l,g,n],{templateString:m,baseClass:"jimu-widget-SAT-snapshot-name",constructor:function(){},postMixInProperties:function(){this.inherited(arguments);this.nls.common=window.jimuNls.common},postCreate:function(){this.inherited(arguments);this.nameSpan.innerHTML=
  this.nls.common.name+":";this.startup()},startup:function(){this.snapshotName.invalidMessage=this.nls.invalid_snapshot_name;this.snapshotName.validator=this.checkString;this.btnCancel.innerText=this.nls.common.cancel;this.own(e(this.btnCancel,"click",c.hitch(this,function(){this.emit("cancel")})));this.btnOk.innerText=this.nls.common.ok;this.own(e(this.btnOk,"click",c.hitch(this,function(){h.contains(this.btnOk,"jimu-state-disabled")||this.emit("ok",this.snapshotName.value.trim())})))},checkString:function(a){a=
  a.trim();a=50>a.length&&/^[\w ]+$/.test(a)?!0:!1;var b=k(".snapshot-name-footer")[0];b&&(a?d.removeClass(b.children[0],"jimu-state-disabled"):d.addClass(b.children[0],"jimu-state-disabled"));return a},destroy:function(){}})});