(function(){"use strict";u8.Crm.Widgets.InfoAreaLabel=function(e,t){this.FieldLabel(e,$.extend({},u8.Crm.Widgets.InfoAreaLabel.defaults,t))};u8.Crm.Widgets.InfoAreaLabel.defaults={idPostfix:false};$.extend(u8.Crm.Widgets.InfoAreaLabel.prototype,{_updateText:function(){var e=this.getValue();if(e){var t=u8.services.schema.getInfoArea(e);var a=this.idPostfix?t.label+"("+e+")":t.label;this.setText(a)}else{this.setText("")}}});u8.Crm.Widgets.InfoAreaLabel.makeClass({name:"InfoAreaLabel",deriveFrom:u8.Crm.Widgets.FieldLabel,events:["ValueChange"]})})();