//>>built
require({cache:{"url:mill/jssupport/announcement.html":'\x3cdiv\x3e\x3cdiv class\x3d"officeAnnouncement-row"\x3e\x3cdiv class\x3d\'icon-cell\'\x3e\x3cspan data-dojo-attach-point\x3d"glyphicon"\x3e\x3c/span\x3e\x3c/div\x3e\x3cspan data-dojo-attach-point\x3d"textNode" class\x3d"text-cell"\x3e\x3c/span\x3e\x3cdiv data-dojo-attach-point\x3d"hideIcon" data-dojo-attach-event\x3d\'onclick: _hide\' class\x3d\'hide-icon\'\x3e\x26#215; \x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/Announcement","dojo/_base/declare dojo/_base/lang dojo/_base/fx dojo/dom-class dojo/dom-geometry dojo/Deferred dijit/_CssStateMixin dojo/text!mill/jssupport/announcement.html mill/jssupport/TranslatableNode".split(" "),function(e,c,f,b,l,g,h,k,d){return mill.registerAlias("office.Announcement",e("mill.jssupport.Announcement",[d,h],{baseClass:"officeAnnouncement",templateString:k,color:"blue",icon:"info",textAlign:"text-align-justify",hideIconTitle:"Office.Close",readOnly:null,
onHide:null,attributeMap:c.delegate(d.prototype.attributeMap,{title:"hideIcon"}),title:null,_setTextAttr:function(){this.inherited(arguments);this.text||this.set("icon","")},_setColorAttr:function(a){this.color&&b.remove(this.domNode,this.color);this.color=c.isFunction(a)?a.call():a;b.add(this.domNode,this.color)},_setIconAttr:function(a){b.remove(this.glyphicon,"icon-set-blocked icon-set-warning icon-set-bullhorn icon-set-confused icon-set-sad icon-set-smile icon-set-info".split(" "));this.icon=
"";if(a)switch(this.icon=c.isFunction(a)?a.call():a,this.icon){case "info":b.add(this.glyphicon,"icon-set-info");break;case "smile":b.add(this.glyphicon,"icon-set-smile");break;case "sad":b.add(this.glyphicon,"icon-set-sad");break;case "confused":b.add(this.glyphicon,"icon-set-confused");break;case "bullhorn":b.add(this.glyphicon,"icon-set-bullhorn");break;case "warning":b.add(this.glyphicon,"icon-set-warning");break;case "blocked":b.add(this.glyphicon,"icon-set-blocked")}},_setTextAlignAttr:function(a){b.add(this.domNode,
this.textAlign=a)},_setHideIconTitleAttr:function(a){this.translatableAttributes.title=this.hideIconTitle=a;this.translate()},_hide:function(){this.hide()},hide:function(){var a=new g;this.domNode?f.animateProperty({node:this.domNode,rate:10,properties:{opacity:{start:"1",end:"0"}},onEnd:c.hitch(this,function(){this.onHide&&this.onHide();this.destroyRecursive();a.resolve()})}).play():a.resolve();return a.promise}}))});