// 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
require({cache:{"url:widgets/Splash/setting/AlignSelector.html":'\x3cdiv class\x3d"align-selector clearFix"\x3e\r\n  \x3cdiv class\x3d"titles"\x3e${nls.contentAlign}\x3c/div\x3e\r\n  \x3cdiv class\x3d"aligns jimu-float-leading"\x3e\r\n    \x3cdiv class\x3d"align-box-container"\x3e\r\n      \x3cdiv class\x3d"align-box top" data-dojo-attach-point\x3d"top" title\x3d"${nls.alignTop}"\x3e\x3c/div\x3e${nls.alignTop}\r\n    \x3c/div\x3e\r\n    \x3cdiv class\x3d"align-box-container"\x3e\r\n      \x3cdiv class\x3d"align-box middle" data-dojo-attach-point\x3d"middle" title\x3d"${nls.alignMiddle}"\x3e\x3c/div\x3e${nls.alignMiddle}\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e'}});
define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./AlignSelector.html dijit/form/NumberSpinner jimu/dijit/CheckBox".split(" "),function(e,c,d,a,f,g,h,k){return e([f,g,h],{templateString:k,nls:null,postCreate:function(){this.inherited(arguments);this._initAlign()},startup:function(){this.inherited(arguments)},_initAlign:function(){this.own(d(this.top,"click",c.hitch(this,function(){this._cleanSelected();
a.addClass(this.top,"selected")})));this.own(d(this.middle,"click",c.hitch(this,function(){this._cleanSelected();a.addClass(this.middle,"selected")})))},_cleanSelected:function(){a.removeClass(this.top,"selected");a.removeClass(this.middle,"selected")},getValue:function(){var b;a.hasClass(this.top,"selected")?b="top":a.hasClass(this.middle,"selected")&&(b="middle");return b},setValue:function(b){this._cleanSelected();"string"===typeof b&&("top"===b?a.addClass(this.top,"selected"):"middle"===b&&a.addClass(this.middle,
"selected"))}})});