text: /*!
   * OpenUI5
   * (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  sap.ui.define(["sap/ui/core/library","sap/ui/core/InvisibleRenderer"],function(c,I){'use strict';var P=c.Priority;var N={};var a='sapMNLG';var b='sapMNLB';var d='sapMLIB';var e='sapMNLB-AuthorPicture';var f='sapMNLG-GroupHeader';var g='sapMNLB-Header';var h='sapMNLG-Header';var i='sapMNLG-Body';var j='sapMNLB-SubHeader';var k='sapMNLG-SubHeader';var l='sapMNLB-CloseButton';var m='sapMNLB-Priority';var n='sapMNLG-Details';var o='sapMNLB-Bullet';var p='sapMNLG-Description';var q='sapMNLG-Collapsed';var r='sapMNLGNoHdrFooter';var s='sapMNLG-MaxNotifications';var t='sapMNLG-NoNotifications';N.render=function(R,C){if(C.getVisible()){var v=C._getVisibleItemsCount();var _=C.getShowEmptyGroup()||(v>0);R.write('<li');R.addClass(a);R.addClass(b);R.addClass(d);if(!_){R.addClass(r);}if(C.getCollapsed()){R.addClass(q);}if(v==0){R.addClass(t);}R.writeClasses();R.writeControlData(C);R.writeAttribute('tabindex','0');R.writeAccessibilityState(C,{labelledby:C._ariaLabbeledByIds,role:"option"});R.write('>');if(_){R.write('<div');R.addClass(f);R.writeClasses();R.write('>');this.renderHeader(R,C);this.renderSubHeader(R,C);R.write('</div>');this.renderBody(R,C);}R.write('</li>');}else{this.renderInvisibleItem(R,C);}};N.renderHeader=function(R,C){R.write('<div');R.addClass(g);R.addClass(h);R.writeClasses();R.write('>');this.renderInvisibleInfoText(R,C);this.renderPriorityArea(R,C);this.renderCloseButton(R,C);this.renderTitle(R,C);R.write('</div>');this.renderDetails(R,C);};N.renderTitle=function(R,C){R.renderControl(C._getHeaderTitle());};N.renderCloseButton=function(R,C){if(C.getShowCloseButton()){R.renderControl(C.getAggregation('_closeButton').addStyleClass(l));}};N.renderAuthorPicture=function(R,C){if(!C.getAuthorPicture()){return;}R.write('<div');R.addClass(e);R.writeClasses();R.write('>');R.renderControl(C._getAuthorImage());R.write('</div>');};N.renderDetails=function(R,C){R.write('<div class="'+n+'">');this.renderPriorityArea(R,C);this.renderAuthorPicture(R,C);R.write('<div class="'+p+'">');this.renderAuthorName(R,C);if(C.getAuthorName()!=""&&C.getDatetime()!=""){R.write('<span class="'+o+'">&#x00B7</span>');}this.renderDatetime(R,C);R.write('</div></div>');};N.renderInvisibleInfoText=function(R,C){R.renderControl(C.getAggregation('_ariaDetailsText'));};N.renderAuthorName=function(R,C){R.renderControl(C._getAuthorName());};N.renderSubHeader=function(R,C){var u=C.getButtons();R.write('<div');R.addClass(k);R.addClass(j);R.writeClasses();R.write('>');this.renderPriorityArea(R,C);this.renderCollapseGroupButton(R,C);if(u&&u.length&&C.getShowButtons()){R.renderControl(C.getAggregation('_overflowToolbar'));}R.write('</div>');};N.renderPriorityArea=function(R,C){R.write('<div');var u='';var v=C.getPriority();switch(v){case(P.Low):u='sapMNLB-Low';break;case(P.Medium):u='sapMNLB-Medium';break;case(P.High):u='sapMNLB-High';break;default:u='sapMNLB-None';break;}R.addClass(m);R.addClass(u);R.writeClasses();R.write('>');R.write('</div>');};N.renderCollapseGroupButton=function(R,C){R.renderControl(C.getAggregation('_collapseButton'));};N.renderInvisibleItem=function(R,C){I.render(R,C,"li");};N.renderBody=function(R,C){R.write('<ul');R.addClass(i);R.writeAttribute('role','listbox');R.writeClasses();R.write('>');this.renderNotifications(R,C);if(C._maxNumberReached){this.renderMaxNumberReachedMessage(R,C);}R.write('</ul>');};N.renderDatetime=function(R,C){R.renderControl(C._getDateTimeText());};N.renderNotifications=function(R,C){var u=C.getItems();var v=u.length;if(v){for(var w=0;w<C._maxNumberOfNotifications;w++){R.renderControl(u[w]);}}};N.renderMaxNumberReachedMessage=function(R,C){var u='<span>'+C._maxNumberOfNotificationsTitle+'</span> <br>'+C._maxNumberOfNotificationsBody;R.write('<div');R.addClass(s);R.writeClasses();R.write('>');R.write(u);R.write('</div>');};return N;},true);
  