text: /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  sap.ui.define(['jquery.sap.global'],function(q){'use strict';var L={};var c='sapMLightBox';var a='sapMLightBoxTwoLines';var b='sapMLightBoxImageContainer';var d='sapMLightBoxImageContainerTwoHeaders';var e='sapMLightBoxError';var f='sapMLightBoxErrorContainer';var g='sapMLightBoxErrorContainerTwoHeaders';var h='sapMLightBoxFooter';var i='sapContrast';var j='sapContrastPlus';var k='sapMLightBoxTitleSection';var l='sapMLightBoxTitle';var m='sapMLightBoxSubtitle';var n='sapMLightBoxFooterTwoLines';L.render=function(r,C){var o=C._getImageContent();var p=o._getImageState();var s=C.getAggregation('_invisiblePopupText');r.write('<div');r.writeControlData(C);r.addClass(c);if(o.getSubtitle()){r.addClass(a);}if(p!==sap.m.LightBoxLoadingStates.Error){r.addStyle('width',C._width+'px');r.addStyle('height',C._height+'px');}else{r.addClass(e);}r.writeAccessibilityState({role:'dialog',labelledby:s&&s.getId()});r.writeClasses();r.writeStyles();r.write('>');r.renderControl(s);if(p===sap.m.LightBoxLoadingStates.Loading){this.renderBusyState(r,C);}else if(p===sap.m.LightBoxLoadingStates.TimeOutError||p===sap.m.LightBoxLoadingStates.Error){this.renderError(r,C);}else{this.renderImage(r,C);}this.renderFooter(r,C,o);r.write('</div>');C._isRendering=false;};L.renderImage=function(r,C){var o=C._getImageContent();if(o.getSubtitle()){r.write('<div class="'+d+'">');}else{r.write('<div class="'+b+'">');}r.renderControl(o.getAggregation('_image'));r.write('</div>');};L.renderError=function(r,C){var o=C._getImageContent(),v=C.getAggregation('_verticalLayout');if(o.getSubtitle()){r.write('<div class="'+g+'">');}else{r.write('<div class="'+f+'">');}r.renderControl(v);r.write('</div>');};L.renderBusyState=function(r,C){r.renderControl(C._getBusyIndicator());};L.renderFooter=function(r,C,I){var t=I.getAggregation("_title"),s=I.getAggregation("_subtitle");r.write('<div');r.addClass(h);r.addClass(i);r.addClass(j);if(I.getSubtitle()){r.addClass(n);}r.writeClasses();r.write('>');r.write('<div class="'+k+'">');if(t){r.renderControl(t.addStyleClass(l));}if(s&&s.getText()){r.renderControl(s.addStyleClass(m));}r.write('</div>');r.renderControl(C._getCloseButton());r.write('</div>');};return L;},true);
  