/*!
 * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
 * (c) Copyright 2009-2015 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 H={};H.render=function(r,h){var t=h.getTooltip_AsString();var i=h.getId();var a={};r.write("<div");r.writeControlData(h);r.addClass("sapUiCalHead");r.writeClasses();if(t){r.writeAttributeEscaped('title',t);}r.writeAccessibilityState(h);r.write(">");r.write("<button");r.writeAttributeEscaped('id',i+'-prev');r.addClass("sapUiCalHeadPrev");if(!h.getEnabledPrevious()){r.addClass("sapUiCalDsbl");r.writeAttribute('disabled',"disabled");}r.writeAttribute('tabindex',"-1");r.writeClasses();r.write(">");r.writeIcon("sap-icon://slim-arrow-left");r.write("</button>");r.write("<button");r.writeAttributeEscaped('id',i+'-B1');r.addClass("sapUiCalHeadB");r.addClass("sapUiCalHeadB1");r.writeAttribute('tabindex',"-1");r.writeClasses();if(h.getAriaLabelButton1()){a["label"]=h.getAriaLabelButton1();}r.writeAccessibilityState(null,a);a={};r.write(">");r.write(h.getTextButton1()||"");r.write("</button>");r.write("<button");r.writeAttributeEscaped('id',i+'-B2');r.addClass("sapUiCalHeadB");r.addClass("sapUiCalHeadB2");r.writeAttribute('tabindex',"-1");r.writeClasses();if(h.getAriaLabelButton2()){a["label"]=h.getAriaLabelButton2();}r.writeAccessibilityState(null,a);r.write(">");r.write(h.getTextButton2()||"");r.write("</button>");r.write("<button");r.writeAttributeEscaped('id',i+'-next');r.addClass("sapUiCalHeadNext");if(!h.getEnabledNext()){r.addClass("sapUiCalDsbl");r.writeAttribute('disabled',"disabled");}r.writeAttribute('tabindex',"-1");r.writeClasses();r.write(">");r.writeIcon("sap-icon://slim-arrow-right");r.write("</button>");r.write("</div>");};return H;},true);
