/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global','sap/ui/core/library','sap/m/library','sap/ui/Device',"sap/base/security/encodeXML"],function(q,c,l,D,e){"use strict";var B=l.BackgroundHelper;var T=c.TitleLevel;var S={};S.render=function(r,C){var t=(C.getTitleLevel()===T.Auto)?T.H1:C.getTitleLevel();r.write("
");B.renderBackgroundImageTag(r,C,["sapContrastPlus","sapMShellBG","sapUiGlobalBackgroundImageForce"],C.getBackgroundImage(),C.getBackgroundRepeat(),C.getBackgroundOpacity());r.write("
");r.write("
");var a="",b="";if(!C.getBackgroundImage()){a="sapMShellBackgroundColorOnlyIfDefault";b="sapUiGlobalBackgroundImageOnlyIfDefault";}r.write("");r.write("
");r.renderControl(C.getApp());r.write("
");};S.getLogoImageHtml=function(C){var i=C.getLogo();if(!i){q.sap.require("sap.ui.core.theming.Parameters");i=sap.ui.core.theming.Parameters._getThemeImage();}var r="";if(i){var R=sap.ui.getCore().getLibraryResourceBundle("sap.m");r="";if(D.browser.msie){r+="
";}r+="
";}return r;};return S;},true);