//@ui5-bundle sap/fiori/core-min-2.js
/*!
 * 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.predefine('sap/m/ScrollContainerRenderer',[],function(){"use strict";var S={};S.render=function(r,c){r.write("<div");r.writeControlData(c);var w=c.getWidth(),h=c.getHeight();if(w){r.addStyle("width",w);}if(h){r.addStyle("height",h);}r.writeStyles();if(c.getVertical()){if(!c.getHorizontal()){r.addClass("sapMScrollContV");}else{r.addClass("sapMScrollContVH");}}else if(c.getHorizontal()){r.addClass("sapMScrollContH");}r.addClass("sapMScrollCont");r.writeClasses();var t=c.getTooltip_AsString();if(t){r.writeAttributeEscaped("title",t);}if(c.getFocusable()){r.writeAttributeEscaped("tabindex","0");}r.write("><div id='"+c.getId()+"-scroll' class='sapMScrollContScroll'>");var C=c.getContent(),l=C.length;for(var i=0;i<l;i++){r.renderControl(C[i]);}r.write("</div></div>");};return S;},true);
sap.ui.predefine('sap/m/SearchField',['./library','sap/ui/core/Control','sap/ui/core/EnabledPropagator','sap/ui/core/IconPool','./Suggest','sap/ui/Device','./SearchFieldRenderer',"sap/ui/events/KeyCodes","sap/ui/thirdparty/jquery","sap/ui/dom/jquery/cursorPos"],function(l,C,E,I,S,D,a,K,q){"use strict";var r=sap.ui.getCore().getLibraryResourceBundle("sap.m");a.oSearchFieldToolTips={SEARCH_BUTTON_TOOLTIP:r.getText("SEARCHFIELD_SEARCH_BUTTON_TOOLTIP"),RESET_BUTTON_TOOLTIP:r.getText("SEARCHFIELD_RESET_BUTTON_TOOLTIP"),REFRESH_BUTTON_TOOLTIP:r.getText("SEARCHFIELD_REFRESH_BUTTON_TOOLTIP")};var b=C.extend("sap.m.SearchField",{metadata:{interfaces:["sap.ui.core.IFormContent","sap.f.IShellBar","sap.m.IToolbarInteractiveControl"],library:"sap.m",properties:{value:{type:"string",group:"Data",defaultValue:null,bindable:"bindable"},width:{type:"sap.ui.core.CSSSize",group:"Appearance",defaultValue:null},enabled:{type:"boolean",group:"Behavior",defaultValue:true},visible:{type:"boolean",group:"Appearance",defaultValue:true},maxLength:{type:"int",group:"Behavior",defaultValue:0},placeholder:{type:"string",group:"Misc",defaultValue:null},showMagnifier:{type:"boolean",group:"Misc",defaultValue:true,deprecated:true},showRefreshButton:{type:"boolean",group:"Behavior",defaultValue:false},refreshButtonTooltip:{type:"string",group:"Misc",defaultValue:null},showSearchButton:{type:"boolean",group:"Behavior",defaultValue:true},enableSuggestions:{type:"boolean",group:"Behavior",defaultValue:false},selectOnFocus:{type:"boolean",group:"Behavior",defaultValue:true,deprecated:true}},associations:{ariaDescribedBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaDescribedBy"},ariaLabelledBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaLabelledBy"}},defaultAggregation:"suggestionItems",designtime:"sap/m/designtime/SearchField.designtime",aggregations:{suggestionItems:{type:"sap.m.SuggestionItem",multiple:true,singularName:"suggestionItem"}},events:{search:{parameters:{query:{type:"string"},suggestionItem:{type:"sap.m.SuggestionItem"},refreshButtonPressed:{type:"boolean"},clearButtonPressed:{type:"boolean"}}},liveChange:{parameters:{newValue:{type:"string"}}},suggest:{parameters:{suggestValue:{type:"string"}}}}}});E.call(b.prototype);I.insertFontFaceStyle();b.prototype.init=function(){this.setProperty("placeholder",r.getText("FACETFILTER_SEARCH"),true);};b.prototype.getFocusDomRef=function(){return this.getInputElement();};b.prototype.getFocusInfo=function(){var f=C.prototype.getFocusInfo.call(this),i=this.getDomRef("I");if(i){q.extend(f,{cursorPos:q(i).cursorPos()});}return f;};b.prototype.applyFocusInfo=function(f){C.prototype.applyFocusInfo.call(this,f);if("cursorPos"in f){this.$("I").cursorPos(f.cursorPos);}return this;};b.prototype.getWidth=function(){return this.getProperty("width")||"100%";};b.prototype._hasPlaceholder=(function(){return"placeholder"in document.createElement("input");}());b.prototype.getInputElement=function(){return this.getDomRef("I");};b.prototype.onBeforeRendering=function(){this._unregisterEventListeners();};b.prototype.onAfterRendering=function(){var i=this.getInputElement();this._resetElement=this.getDomRef("reset");q(i).on("input",this.onInput.bind(this)).on("search",this.onSearch.bind(this)).on("focus",this.onFocus.bind(this)).on("blur",this.onBlur.bind(this));q(this.getDomRef("F")).on("click",this.onFormClick.bind(this));if(D.system.desktop||D.system.combi){this.$().on("touchstart mousedown",this.onButtonPress.bind(this));if(D.browser.firefox){this.$().find(".sapMSFB").on("mouseup mouseout",function(g){q(g.target).removeClass("sapMSFBA");});}}else if(window.PointerEvent){q(this._resetElement).on("touchstart",function(){this._active=document.activeElement;}.bind(this));}var f=sap.ui.getCore();if(!f.isThemeApplied()){f.attachThemeChanged(this._handleThemeLoad,this);}};b.prototype._handleThemeLoad=function(){if(this._oSuggest){this._oSuggest.setPopoverMinWidth();}var f=sap.ui.getCore();f.detachThemeChanged(this._handleThemeLoad,this);};b.prototype.clear=function(O){var v=O&&O.value||"";if(!this.getInputElement()||this.getValue()===v){return;}this.setValue(v);u(this);this.fireLiveChange({newValue:v});this.fireSearch({query:v,refreshButtonPressed:false,clearButtonPressed:!!(O&&O.clearButton)});};b.prototype.exit=function(){this._unregisterEventListeners();if(this._oSuggest){this._oSuggest.destroy(true);this._oSuggest=null;}};b.prototype.onButtonPress=function(f){if(f.originalEvent.button===2){return;}var i=this.getInputElement();if(document.activeElement===i&&f.target!==i){f.preventDefault();}if(D.browser.firefox){var g=q(f.target);if(g.hasClass("sapMSFB")){g.addClass("sapMSFBA");}}};b.prototype.ontouchstart=function(f){this._oTouchStartTarget=f.target;};b.prototype.ontouchend=function(f){if(f.originalEvent.button===2){return;}var g=f.target,v=true,i=this.getInputElement();if(this._oTouchStartTarget){v=this._oTouchStartTarget===g;this._oTouchStartTarget=null;}if(g.id==this.getId()+"-reset"&&v){c(this);this._bSuggestionSuppressed=true;var h=!this.getValue();this.clear({clearButton:true});var j=document.activeElement;if(((D.system.desktop||h||/(INPUT|TEXTAREA)/i.test(j.tagName)||j===this._resetElement&&this._active===i))&&(j!==i)){i.focus();}}else if(g.id==this.getId()+"-search"&&v){c(this);if(D.system.desktop&&!this.getShowRefreshButton()&&(document.activeElement!==i)){i.focus();}this.fireSearch({query:this.getValue(),refreshButtonPressed:!!(this.getShowRefreshButton()&&!this.$().hasClass("sapMFocus")),clearButtonPressed:false});}else{this.onmouseup(f);}};b.prototype.onmouseup=function(f){if(D.system.phone&&this.getEnabled()&&f.target.tagName=="INPUT"&&document.activeElement===f.target&&!d(this)){this.onFocus(f);}};b.prototype.onFormClick=function(f){if(this.getEnabled()&&f.target.tagName=="FORM"){this.getInputElement().focus();}};b.prototype.onSearch=function(f){var v=this.getInputElement().value;this.setValue(v);this.fireSearch({query:v,refreshButtonPressed:false,clearButtonPressed:false});if(!D.system.desktop){this._blur();}};b.prototype._blur=function(){var t=this;window.setTimeout(function(){var i=t.getInputElement();if(i){i.blur();}},13);};b.prototype.onChange=function(f){this.setValue(this.getInputElement().value);};b.prototype.onInput=function(f){var v=this.getInputElement().value;if(v!=this.getValue()){this.setValue(v);this.fireLiveChange({newValue:v});if(this.getEnableSuggestions()){if(this._iSuggestDelay){clearTimeout(this._iSuggestDelay);}this._iSuggestDelay=setTimeout(function(){this.fireSuggest({suggestValue:v});u(this);this._iSuggestDelay=null;}.bind(this),400);}}};b.prototype.onkeydown=function(f){var g;var h;var v;switch(f.which){case K.F5:case K.ENTER:this.$("search").toggleClass("sapMSFBA",true);f.stopPropagation();f.preventDefault();if(d(this)){c(this);if((g=this._oSuggest.getSelected())>=0){h=this.getSuggestionItems()[g];this.setValue(h.getSuggestionText());}}this.fireSearch({query:this.getValue(),suggestionItem:h,refreshButtonPressed:this.getShowRefreshButton()&&f.which===K.F5,clearButtonPressed:false});break;case K.ESCAPE:if(d(this)){c(this);f.setMarked();}else{v=this.getValue();if(v===this._sOriginalValue){this._sOriginalValue="";}this.clear({value:this._sOriginalValue});if(v!==this.getValue()){f.setMarked();}}f.preventDefault();break;}};b.prototype.onkeyup=function(f){if(f.which===K.F5||f.which===K.ENTER){this.$("search").toggleClass("sapMSFBA",false);}};b.prototype.onFocus=function(f){if(D.browser.internet_explorer&&!document.hasFocus()){return;}this.$().toggleClass("sapMFocus",true);this._sOriginalValue=this.getValue();if(this.getEnableSuggestions()){if(!this._bSuggestionSuppressed){this.fireSuggest({suggestValue:this.getValue()});}else{this._bSuggestionSuppressed=false;}}this._setToolTips(f.type);};b.prototype.onBlur=function(f){this.$().toggleClass("sapMFocus",false);if(this._bSuggestionSuppressed){this._bSuggestionSuppressed=false;}this._setToolTips(f.type);};b.prototype._setToolTips=function(t){var $=this.$("search"),f=this.$("reset");if(this.getShowRefreshButton()){if(t==="focus"){$.attr("title",a.oSearchFieldToolTips.SEARCH_BUTTON_TOOLTIP);}else if(t==="blur"){var R=this.getRefreshButtonTooltip(),T=R===""?a.oSearchFieldToolTips.REFRESH_BUTTON_TOOLTIP:R;if(T){$.attr("title",T);}}}if(this.getValue()===""){f.attr("title",a.oSearchFieldToolTips.SEARCH_BUTTON_TOOLTIP);}else{f.attr("title",a.oSearchFieldToolTips.RESET_BUTTON_TOOLTIP);}};b.prototype.setValue=function(v){v=v||"";var i=this.getInputElement();if(i){if(i.value!==v){i.value=v;}var $=this.$();if($.hasClass("sapMSFVal")==!v){$.toggleClass("sapMSFVal",!!v);}}this.setProperty("value",v,true);this._setToolTips();return this;};b.prototype._unregisterEventListeners=function(){var i=this.getInputElement();if(i){this.$().find(".sapMSFB").off();this.$().off();q(this.getDomRef("F")).off();q(i).off();}};b.prototype.onsapshow=function(f){if(this.getEnableSuggestions()){if(d(this)){c(this);}else{this.fireSuggest({suggestValue:this.getValue()});}}};b.prototype.onsaphide=function(f){this.suggest(false);};function s(f,g,i,R){var h;if(d(f)){h=f._oSuggest.setSelected(i,R);if(h>=0){f.setValue(f.getSuggestionItems()[h].getSuggestionText());}g.preventDefault();}}b.prototype.onsapdown=function(f){s(this,f,1,true);};b.prototype.onsapup=function(f){s(this,f,-1,true);};b.prototype.onsaphome=function(f){s(this,f,0,false);};b.prototype.onsapend=function(f){var L=this.getSuggestionItems().length-1;s(this,f,L,false);};b.prototype.onsappagedown=function(f){s(this,f,10,true);};b.prototype.onsappageup=function(f){s(this,f,-10,true);};b.prototype.getPopupAnchorDomRef=function(){return this.getDomRef("F");};b.prototype._getToolbarInteractive=function(){return true;};function c(f){f._oSuggest&&f._oSuggest.close();}function o(f){if(f.getEnableSuggestions()){if(!f._oSuggest){f._oSuggest=new S(f);}f._oSuggest.open();}}function d(f){return f._oSuggest&&f._oSuggest.isOpen();}b.prototype.suggest=function(f){if(this.getEnableSuggestions()){f=f===undefined||!!f;if(f&&(this.getSuggestionItems().length||D.system.phone)){o(this);}else{c(this);}}return this;};function u(f){f._oSuggest&&f._oSuggest.update();}var e="suggestionItems";b.prototype.insertSuggestionItem=function(O,i,f){u(this);return C.prototype.insertAggregation.call(this,e,O,i,true);};b.prototype.addSuggestionItem=function(O,f){u(this);return C.prototype.addAggregation.call(this,e,O,true);};b.prototype.removeSuggestionItem=function(O,f){u(this);return C.prototype.removeAggregation.call(this,e,O,true);};b.prototype.removeAllSuggestionItems=function(f){u(this);return C.prototype.removeAllAggregation.call(this,e,true);};return b;});
sap.ui.predefine('sap/m/SearchFieldRenderer',["sap/ui/Device","sap/ui/core/InvisibleText"],function(D,I){"use strict";var S={};S.render=function(r,s){if(!s.getVisible()){return;}var p=s.getPlaceholder(),v=s.getValue(),w=s.getProperty("width"),i=s.getId(),b=s.getShowRefreshButton(),a=s.getShowSearchButton(),A={},t,R=s.getRefreshButtonTooltip(),c;r.write("<div");r.writeControlData(s);if(w){r.writeAttribute("style","width:"+w+";");}r.addClass("sapMSF");if(v){r.addClass("sapMSFVal");}if(!s.getEnabled()){r.addClass("sapMSFDisabled");}r.writeClasses();r.write(">");r.write('<form');r.writeAttribute("id",i+"-F");r.addClass('sapMSFF');if(!a){r.addClass("sapMSFNS");}else if(b){r.addClass('sapMSFReload');}r.writeClasses();r.write('>');if(!s._hasPlaceholder&&p){r.write("<label ");r.writeAttribute("id",i+"-P");r.writeAttribute("for",i+"-I");r.addClass("sapMSFPlaceholder");r.writeClasses();r.write(">");r.writeEscaped(p);r.write("</label>");}r.write('<input');r.writeAttribute("type","search");r.writeAttribute("autocomplete","off");if(D.browser.safari){r.writeAttribute("autocorrect","off");}r.writeAttribute("id",s.getId()+"-I");var T=s.getTooltip_AsString();if(T){r.writeAttributeEscaped("title",T);}r.addClass("sapMSFI");if(D.os.android&&D.os.version>=4&&D.os.version<4.1){r.addClass("sapMSFIA4");}r.writeClasses();if(s.getEnableSuggestions()&&D.system.phone){r.writeAttribute("readonly","readonly");}if(!s.getEnabled()){r.writeAttribute("disabled","disabled");}if(p){r.writeAttributeEscaped("placeholder",p);}if(s.getMaxLength()){r.writeAttribute("maxLength",s.getMaxLength());}if(v){r.writeAttributeEscaped("value",v);}if(s.getEnabled()&&b){var d=I.getStaticId("sap.m","SEARCHFIELD_ARIA_F5");if(d){A.describedby={value:d,append:true};}}r.writeAccessibilityState(s,A);r.write(">");if(s.getEnabled()){r.write("<div");r.writeAttribute("aria-hidden",true);r.writeAttribute("id",s.getId()+"-reset");c=v===""?this.oSearchFieldToolTips.SEARCH_BUTTON_TOOLTIP:this.oSearchFieldToolTips.RESET_BUTTON_TOOLTIP;r.writeAttributeEscaped("title",c);r.addClass("sapMSFR");r.addClass("sapMSFB");if(D.browser.firefox){r.addClass("sapMSFBF");}if(!a){r.addClass("sapMSFNS");}r.writeClasses();r.write("></div>");if(a){r.write("<div");r.writeAttribute("aria-hidden",true);r.writeAttribute("id",s.getId()+"-search");r.addClass("sapMSFS");r.addClass("sapMSFB");if(D.browser.firefox){r.addClass("sapMSFBF");}r.writeClasses();if(b){t=R===""?this.oSearchFieldToolTips.REFRESH_BUTTON_TOOLTIP:R;}else{t=this.oSearchFieldToolTips.SEARCH_BUTTON_TOOLTIP;}r.writeAttributeEscaped("title",t);r.write("></div>");}}r.write("</form>");r.write("</div>");};return S;},true);
sap.ui.predefine('sap/m/SegmentedButton',['./library','./Button','sap/ui/core/Control','sap/ui/core/EnabledPropagator','sap/ui/core/delegate/ItemNavigation','sap/ui/core/ResizeHandler','sap/ui/core/ListItem','sap/ui/core/IconPool','./SegmentedButtonRenderer'],function(l,B,C,E,I,R,L,a,S){"use strict";var c=C.extend("sap.m.SegmentedButton",{metadata:{interfaces:["sap.ui.core.IFormContent","sap.m.IOverflowToolbarContent","sap.m.IToolbarInteractiveControl"],library:"sap.m",designtime:"sap/m/designtime/SegmentedButton.designtime",publicMethods:["createButton"],properties:{width:{type:"sap.ui.core.CSSSize",group:"Misc",defaultValue:null},enabled:{type:"boolean",group:"Behavior",defaultValue:true},selectedKey:{type:"string",group:"Data",defaultValue:"",bindable:"bindable"}},defaultAggregation:"buttons",aggregations:{buttons:{type:"sap.m.Button",multiple:true,singularName:"button"},items:{type:"sap.m.SegmentedButtonItem",multiple:true,singularName:"item",bindable:"bindable"},_select:{type:"sap.m.Select",multiple:false,visibility:"hidden"}},associations:{selectedButton:{deprecated:true,type:"sap.m.Button",multiple:false},selectedItem:{type:"sap.m.SegmentedButtonItem",multiple:false},ariaDescribedBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaDescribedBy"},ariaLabelledBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaLabelledBy"}},events:{select:{deprecated:true,parameters:{button:{type:"sap.m.Button"},id:{type:"string"},key:{type:"string"}}},selectionChange:{parameters:{item:{type:"sap.m.SegmentedButtonItem"}}}},dnd:{draggable:true,droppable:false}}});E.call(c.prototype);c.prototype.init=function(){this._aWidths=[];this._oItemNavigation=new I();this._oItemNavigation.setCycling(false);this._oItemNavigation.setDisabledModifiers({sapnext:["alt"],sapprevious:["alt"]});this.addDelegate(this._oItemNavigation);this.removeButton=function(b){var r=c.prototype.removeButton.call(this,b);this.setSelectedButton(this.getButtons()[0]);this._fireChangeEvent();return r;};};c.prototype.onBeforeRendering=function(){var b=this._getVisibleButtons();this._bCustomButtonWidth=b.some(function(o){return o.getWidth();});if(this._sResizeListenerId){R.deregister(this._sResizeListenerId);this._sResizeListenerId=null;}this.setSelectedKey(this.getProperty("selectedKey"));if(!this.getSelectedButton()){this._selectDefaultButton();}};c.prototype.onAfterRendering=function(){var b=this._getVisibleButtons(),p;if(!this._sResizeListenerId){p=this.getDomRef().parentNode;if(p){this._sResizeListenerId=R.register(p,this._handleContainerResize.bind(this));}}this._setItemNavigation();this._aWidths=this._getRenderedButtonWidths(b);this._updateWidth();};c.prototype._handleContainerResize=function(){var b=this._getVisibleButtons();this._clearAutoWidthAppliedToControl();this._aWidths=this._getRenderedButtonWidths(b);this._updateWidth();};c.prototype._clearAutoWidthAppliedToControl=function(){var b=this._getVisibleButtons(),d=b.length,o,i=0;if(!this.getWidth()){this.$().css("width","");}while(i<d){o=b[i];if(!o.getWidth()){o.$().css("width","");}i++;}};c.prototype._getRenderedButtonWidths=function(b){return b.map(function(o){var d=o.getDomRef();return d&&d.getBoundingClientRect?d.getBoundingClientRect().width:o.$().outerWidth();});};c.prototype._getButtonWidth=function(b){var d=b.length,w,n=0,s=0,e=0,p,P,i=0;if(this._bCustomButtonWidth){while(i<d){w=b[i].getWidth();if(w){if(w.indexOf("%")!==-1){s+=parseInt(w.slice(0,-1));}else{e+=parseInt(w.slice(0,-2));}}else{n++;}i++;}if(n===0){return false;}p=(100-s)/n;P=(e/n);if(p<0){p=0;}if(P<0){P=0;}if(P>0){return"calc("+p+"% - "+P+"px)";}else{return p+"%";}}else{return(100/d)+"%";}};c.prototype._updateWidth=function(){if(this.$().length===0||this.hasStyleClass("sapMSegmentedButtonNoAutoWidth")){return;}var s=this.getWidth(),b=this._getVisibleButtons(),d=b.length,m=(this._aWidths.length>0)?Math.max.apply(Math,this._aWidths):0,e=(100/d),p=this.$().parent().innerWidth(),w=this._getButtonWidth(b),f,o,i;if(!s){if((m*d)>p){this.$().css("width","100%");}else if(m>0){this.$().width((m*d)+1);}i=0;while(i<d){o=b[i];o.$().css("width",o.getWidth()?o.getWidth():w);i++;}}else if(s&&!this._bCustomButtonWidth){i=0;while(i<d){b[i].$().css("width",e+"%");i++;}}f=Math.floor(this.getDomRef().getBoundingClientRect().width);if(this._previousWidth!==undefined&&f!==this._previousWidth&&!this._bInOverflow){this.fireEvent("_containerWidthChanged");}this._previousWidth=f;};c.prototype.exit=function(){if(this._sResizeListenerId){R.deregister(this._sResizeListenerId);this._sResizeListenerId=null;}if(this._oItemNavigation){this.removeDelegate(this._oItemNavigation);this._oItemNavigation.destroy();delete this._oItemNavigation;}this._bCustomButtonWidth=null;this._aWidths=null;};c.prototype._setItemNavigation=function(){var b,d=this.getDomRef();if(d){this._oItemNavigation.setRootDomRef(d);b=this.$().find(".sapMSegBBtn:not(.sapMSegBBtnDis)");this._oItemNavigation.setItemDomRefs(b);this._focusSelectedButton();}};c.prototype.getOverflowToolbarConfig=function(){return{canOverflow:true,listenForEvents:["select"],autoCloseEvents:["select"],noInvalidationProps:["enabled","selectedKey"],invalidationEvents:["_containerWidthChanged"],onBeforeEnterOverflow:this._onBeforeEnterOverflow,onAfterExitOverflow:this._onAfterExitOverflow};};c.prototype._onBeforeEnterOverflow=function(o){o._toSelectMode();};c.prototype._onAfterExitOverflow=function(o){if(o._bForcedSelectMode){o._toSelectMode();}else{o._toNormalMode();}};c.prototype.getFormDoNotAdjustWidth=function(){return true;};c.prototype.createButton=function(t,u,e,T){var b=new B();if(t!==null){b.setText(t);}if(u!==null){b.setIcon(u);}if(e||e===undefined){b.setEnabled(true);}else{b.setEnabled(false);}if(T){b.setTextDirection(T);}this.addButton(b);return b;};(function(){c.prototype.addButton=function(b){if(b){p(b,this);this.addAggregation('buttons',b);this._syncSelect();this._fireChangeEvent();}return this;};c.prototype.insertButton=function(b,i){if(b){p(b,this);this.insertAggregation('buttons',b,i);this._syncSelect();this._fireChangeEvent();}return this;};function p(b,P){b.attachPress(function(e){P._buttonPressed(e);});b.attachEvent("_change",P._syncSelect,P);b.attachEvent("_change",P._fireChangeEvent,P);var o=B.prototype.setEnabled;b.setEnabled=function(e){b.$().toggleClass("sapMSegBBtnDis",!e).toggleClass("sapMFocusable",e);o.apply(b,arguments);};b.setVisible=function(v){B.prototype.setVisible.apply(this,arguments);P.invalidate();};}})();c.prototype.getSelectedKey=function(){var b=this.getButtons(),d=this.getItems(),s=this.getSelectedButton(),i=0;if(d.length>0){for(;i<b.length;i++){if(b[i]&&b[i].getId()===s){this.setProperty("selectedKey",d[i].getKey(),true);return d[i].getKey();}}}return"";};c.prototype.setSelectedKey=function(k){var b=this.getButtons(),d=this.getItems(),i=0;if(!k){this.setProperty("selectedKey",k,true);return this;}if(d.length>0&&b.length>0){for(;i<d.length;i++){if(d[i]&&d[i].getKey()===k){this.setSelectedItem(d[i]);break;}}}this.setProperty("selectedKey",k,true);return this;};c.prototype.removeButton=function(b){var r=this.removeAggregation("buttons",b);if(r){delete r.setEnabled;r.detachEvent("_change",this._syncSelect,this);r.detachEvent("_change",this._fireChangeEvent,this);this._syncSelect();}return r;};c.prototype.removeAllButtons=function(){var b=this.getButtons();if(b){for(var i=0;i<b.length;i++){var o=b[i];if(o){delete o.setEnabled;this.removeAggregation("buttons",o);o.detachEvent("_change",this._syncSelect,this);o.detachEvent("_change",this._fireChangeEvent,this);}}this._syncSelect();}return b;};c.prototype.addItem=function(i){this.addAggregation("items",i);this.addButton(i.oButton);return this;};c.prototype.removeItem=function(i){var r;if(i!==null&&i!==undefined){r=this.removeAggregation("items",i);this.removeButton(i.oButton);}if(i&&i instanceof sap.m.SegmentedButtonItem&&this.getSelectedButton()===i.oButton.getId()){this.setSelectedKey("");this.setSelectedButton("");this.setSelectedItem("");}this.setSelectedItem(this.getItems()[0]);return r;};c.prototype.insertItem=function(i,b){this.insertAggregation("items",i,b);this.insertButton(i.oButton,b);return this;};c.prototype.removeAllItems=function(s){var r=this.removeAllAggregation("items",s);this.removeAllButtons();this.setSelectedKey("");this.setSelectedButton("");this.setSelectedItem("");return r;};c.prototype._buttonPressed=function(e){var b=e.getSource(),i;if(this.getSelectedButton()!==b.getId()){this.getButtons().forEach(function(o){o.$().removeClass("sapMSegBBtnSel");o.$().attr("aria-checked",false);});i=this.getItems().filter(function(o){return o.oButton===b;})[0];b.$().addClass("sapMSegBBtnSel");b.$().attr("aria-checked",true);this.setAssociation('selectedButton',b,true);this.setProperty("selectedKey",this.getSelectedKey(),true);this.setAssociation('selectedItem',i,true);this.fireSelectionChange({item:i});this.fireSelect({button:b,id:b.getId(),key:this.getSelectedKey()});}};c.prototype._selectDefaultButton=function(){var b=this._getVisibleButtons();if(b.length>0){this.setAssociation('selectedButton',b[0],true);if(this.getItems().length>0){this.setAssociation('selectedItem',this.getItems()[0],true);}}};c.prototype.setSelectedButton=function(b){var s=this.getSelectedButton(),d=this.getButtons();this.setAssociation("selectedButton",b);if(s!==this.getSelectedButton()){if(!this.getSelectedButton()&&d.length>1){this._selectDefaultButton();}this._focusSelectedButton();}this._syncSelect();return this;};c.prototype.setSelectedItem=function(i){var o=typeof i==="string"&&i!==""?sap.ui.getCore().byId(i):i,b=o instanceof sap.m.SegmentedButtonItem,v=b?o.oButton:i;this.setAssociation("selectedItem",i,true);this.setSelectedButton(v);return this;};c.prototype._focusSelectedButton=function(){var b=this.getButtons(),s=this.getSelectedButton(),i=0;for(;i<b.length;i++){if(b[i]&&b[i].getId()===s){this._oItemNavigation&&this._oItemNavigation.setFocusedIndex(i);break;}}};c.prototype.onsappagedown=function(e){this._oItemNavigation.onsapend(e);};c.prototype.onsappageup=function(e){this._oItemNavigation.onsaphome(e);};c.prototype.onsapspace=function(e){e.preventDefault();};c.prototype._lazyLoadSelectForm=function(){var s=this.getAggregation("_select");if(!s){jQuery.sap.require("sap.m.Select");var b=sap.ui.require("sap/m/Select");s=new b(this.getId()+"-select");s.attachChange(this._selectChangeHandler,this);s.addStyleClass("sapMSegBSelectWrapper");this.setAggregation("_select",s,true);}};c.prototype._selectChangeHandler=function(e){var s=e.getParameter("selectedItem"),n=parseInt(s.getKey()),b=this.getButtons()[n],d=b.getId();b.firePress();this.setSelectedButton(d);};c.prototype._fireChangeEvent=function(){this.fireEvent("_change");};c.prototype._syncSelect=function(){var k=0,s=0,b,d,o=this.getAggregation("_select");if(!o){return;}o.destroyItems();this._getVisibleButtons().forEach(function(e){b=e.getText();d=e.getIcon();o.addItem(new L({key:k.toString(),icon:d?d:"",text:b?b:e.getTooltip_AsString(),enabled:e.getEnabled()}));if(e.getId()===this.getSelectedButton()){s=k;}k++;},this);o.setSelectedKey(s.toString());};c.prototype._toSelectMode=function(){this._bInOverflow=true;this.addStyleClass("sapMSegBSelectWrapper");this._lazyLoadSelectForm();this._syncSelect();this._syncAriaAssociations();};c.prototype._toNormalMode=function(){delete this._bInOverflow;this.removeStyleClass("sapMSegBSelectWrapper");};c.prototype._syncAriaAssociations=function(){var s=this.getAggregation("_select");this.getAriaLabelledBy().forEach(function(o){if(s.getAriaLabelledBy().indexOf(o)===-1){s.addAriaLabelledBy(o);}});this.getAriaDescribedBy().forEach(function(d){if(s.getAriaLabelledBy().indexOf(d)===-1){s.addAriaLabelledBy(d);}});};c.prototype._overwriteImageOnload=function(i){var t=this;if(i.onload===sap.m.Image.prototype.onload){i.onload=function(){if(sap.m.Image.prototype.onload){sap.m.Image.prototype.onload.apply(this,arguments);}window.setTimeout(function(){t._updateWidth();},20);};}};c.prototype._getIconAriaLabel=function(i){var o=a.getIconInfo(i.getSrc()),r="";if(o&&o.name){r=o.name;}return r;};c.prototype._getVisibleButtons=function(){return this.getButtons().filter(function(b){return b.getVisible();});};c.prototype._getToolbarInteractive=function(){return true;};c.prototype.clone=function(){var s=this.getSelectedButton(),d=this.removeAllAggregation("buttons"),o=C.prototype.clone.apply(this,arguments),e=d.map(function(b){return b.getId();}).indexOf(s),i;if(e>-1){o.setSelectedButton(o.getButtons()[e]);}for(i=0;i<d.length;i++){this.addAggregation("buttons",d[i]);}return o;};return c;});
sap.ui.predefine('sap/m/SegmentedButtonRenderer',["sap/ui/core/library","sap/ui/core/InvisibleRenderer"],function(c,I){"use strict";var T=c.TextDirection;var S={apiVersion:2};S.render=function(r,C){var b=C.getButtons(),v=b.filter(function(B){return B.getVisible();}),V=0,s=C.getSelectedButton(),B,t,a,d;if(v.length){v[v.length-1].addStyleClass("sapMSegBtnLastVisibleButton");}if(C._bInOverflow){r.openStart("div",C);r.openEnd();r.renderControl(C.getAggregation("_select"));r.close("div");return;}r.openStart("ul",C);if(S._addAllIconsClass(b)){r.class("sapMSegBIcons");}r.class("sapMSegB");r.style('width',C.getWidth());t=C.getTooltip_AsString();if(t){r.attr("title",t);}r.accessibilityState(C,{role:"radiogroup"});r.openEnd();for(var i=0;i<b.length;i++){B=b[i];if(B.getVisible()){var e=B.getText(),o=B.getIcon(),f="",g;++V;if(o){g=B._getImage((B.getId()+"-img"),o);if(g instanceof sap.m.Image){C._overwriteImageOnload(g);}else if(!B.getTooltip()){f=C._getIconAriaLabel(g);}}r.openStart("li",B);r.attr("aria-posinset",V);r.attr("aria-setsize",v.length);r.class("sapMSegBBtn");if(B.aCustomStyleClasses!==undefined&&B.aCustomStyleClasses instanceof Array){for(var j=0;j<B.aCustomStyleClasses.length;j++){r.class(B.aCustomStyleClasses[j]);}}if(B.getEnabled()){r.class("sapMSegBBtnFocusable");}else{r.class("sapMSegBBtnDis");}if(s===B.getId()){r.class("sapMSegBBtnSel");}if(o&&e!==''){r.class("sapMSegBBtnMixed");}a=B.getWidth();r.style('width',a);t=B.getTooltip_AsString();if(t){r.attr("title",t);}r.attr("tabindex",B.getEnabled()?"0":"-1");d=B.getTextDirection();if(d!==T.Inherit){r.attr("dir",d.toLowerCase());}r.accessibilityState(B,{role:"radio",checked:s===B.getId()});if(g&&f!==""){if(e!==""){f+=" "+e;}else{r.attr("title",f);}r.attr("aria-label",f);}r.openEnd();r.openStart("div");r.class("sapMSegBBtnInner");r.openEnd();if(o&&g){r.renderControl(g);}if(e!==''){r.text(e);}r.close("div");r.close("li");}else{I.render(r,B,"li");}}r.close("ul");};S._addAllIconsClass=function(b){for(var i=0;i<b.length;i++){if(!b[i].getIcon()){return false;}}return true;};return S;},true);
sap.ui.predefine('sap/m/SelectDialog',['./Button','./Dialog','./List','./SearchField','./library','sap/ui/core/Control','sap/ui/Device','sap/m/Toolbar','sap/m/Label','sap/m/BusyIndicator','sap/m/Bar','sap/m/Title','sap/ui/core/theming/Parameters','sap/ui/core/Core','sap/ui/core/InvisibleText','./SelectDialogRenderer',"sap/base/Log"],function(B,D,L,S,l,C,a,T,b,c,d,e,P,f,I,g,h){"use strict";var i=l.ListMode;var j=l.ButtonType;var k=C.extend("sap.m.SelectDialog",{metadata:{library:"sap.m",properties:{title:{type:"string",group:"Appearance",defaultValue:null},noDataText:{type:"string",group:"Appearance",defaultValue:null},multiSelect:{type:"boolean",group:"Dimension",defaultValue:false},growingThreshold:{type:"int",group:"Misc",defaultValue:null},growing:{type:"boolean",group:"Behavior",defaultValue:true},contentWidth:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},rememberSelections:{type:"boolean",group:"Behavior",defaultValue:false},contentHeight:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},showClearButton:{type:"boolean",group:"Behavior",defaultValue:false},confirmButtonText:{type:"string",group:"Appearance"},draggable:{type:"boolean",group:"Behavior",defaultValue:false},resizable:{type:"boolean",group:"Behavior",defaultValue:false}},defaultAggregation:"items",aggregations:{items:{type:"sap.m.ListItemBase",multiple:true,singularName:"item",forwarding:{idSuffix:"-list",aggregation:"items",forwardBinding:true}},_dialog:{type:"sap.ui.core.Control",multiple:false,visibility:"hidden"}},events:{confirm:{parameters:{selectedItem:{type:"sap.m.StandardListItem"},selectedItems:{type:"sap.m.StandardListItem[]"},selectedContexts:{type:"object[]"}}},search:{parameters:{value:{type:"string"},itemsBinding:{type:"any"},clearButtonPressed:{type:"boolean"}}},liveChange:{parameters:{value:{type:"string"},itemsBinding:{type:"any"}}},cancel:{}}}});k.prototype.init=function(){var t=this,m=0,n=null;this._bAppendedToUIArea=false;this._bInitBusy=false;this._bFirstRender=true;this._bAfterCloseAttached=false;this._oRb=sap.ui.getCore().getLibraryResourceBundle("sap.m");this._oList=new L(this.getId()+"-list",{growing:t.getGrowing(),growingScrollToLoad:t.getGrowing(),mode:i.SingleSelectMaster,sticky:[l.Sticky.InfoToolbar],infoToolbar:new T({visible:false,active:false,content:[new b({text:this._oRb.getText("TABLESELECTDIALOG_SELECTEDITEMS",[0])})]}),ariaLabelledBy:k.getInvisibleText(),selectionChange:this._selectionChange.bind(this)});this._oList.getInfoToolbar().addEventDelegate({onAfterRendering:function(){t._oList.getInfoToolbar().$().attr('aria-live','polite');}});this._list=this._oList;this._oList.attachUpdateStarted(this._updateStarted,this);this._oList.attachUpdateFinished(this._updateFinished,this);this._oBusyIndicator=new c(this.getId()+"-busyIndicator").addStyleClass("sapMSelectDialogBusyIndicator",true);this._oSearchField=new S(this.getId()+"-searchField",{width:"100%",liveChange:function(E){var v=E.getSource().getValue(),p=(v?300:0);clearTimeout(m);if(p){m=setTimeout(function(){t._executeSearch(v,false,"liveChange");},p);}else{t._executeSearch(v,false,"liveChange");}},search:function(E){var v=E.getSource().getValue(),p=E.getParameters().clearButtonPressed;t._executeSearch(v,p,"search");}});this._searchField=this._oSearchField;this._oSubHeader=new d(this.getId()+"-subHeader",{contentMiddle:[this._oSearchField]});var o=new d(this.getId()+"-dialog-header",{contentMiddle:[new e(this.getId()+"-dialog-title",{level:"H2"})]});this._oDialog=new D(this.getId()+"-dialog",{customHeader:o,stretch:a.system.phone,contentHeight:"2000px",subHeader:this._oSubHeader,content:[this._oBusyIndicator,this._oList],leftButton:this._getCancelButton(),initialFocus:(a.system.desktop?this._oSearchField:null),draggable:this.getDraggable()&&a.system.desktop,resizable:this.getResizable()&&a.system.desktop}).addStyleClass("sapMSelectDialog",true);this._dialog=this._oDialog;this.setAggregation("_dialog",this._oDialog);n=this._oDialog.onsapescape;this._oDialog.onsapescape=function(E){if(n){n.call(t._oDialog,E);}t._onCancel();};this._oDialog._iVMargin=8*(parseInt(P.get("sapUiFontSize"))||16);this._sSearchFieldValue="";this._bFirstRequest=true;this._bLiveChange=false;this._iListUpdateRequested=0;};k.prototype.setGrowing=function(v){this._oList.setGrowing(v);this._oList.setGrowingScrollToLoad(v);this.setProperty("growing",v,true);return this;};k.prototype.setDraggable=function(v){this._setInteractionProperty(v,"draggable",this._oDialog.setDraggable);return this;};k.prototype.setResizable=function(v){this._setInteractionProperty(v,"resizable",this._oDialog.setResizable);return this;};k.prototype._setInteractionProperty=function(v,p,m){this.setProperty(p,v,true);if(!a.system.desktop&&v){h.warning(p+" property works only on desktop devices!");return;}if(a.system.desktop&&this._oDialog){m.call(this._oDialog,v);}};k.prototype.setBusy=function(){this._oDialog.setBusy.apply(this._oDialog,arguments);return this;};k.getInvisibleText=function(){if(!this.oInvisibleText){this.oInvisibleText=new I({text:f.getLibraryResourceBundle("sap.m").getText("SELECTDIALOGBASE_LISTLABEL")}).toStatic();}return this.oInvisibleText;};k.prototype.getBusy=function(){return this._oDialog.getBusy.apply(this._oDialog,arguments);};k.prototype.setBusyIndicatorDelay=function(v){this._oList.setBusyIndicatorDelay(v);this._oDialog.setBusyIndicatorDelay(v);this.setProperty("busyIndicatorDelay",v,true);return this;};k.prototype.exit=function(){this._oList=null;this._oSearchField=null;this._oSubHeader=null;this._oClearButton=null;this._oBusyIndicator=null;this._sSearchFieldValue=null;this._iListUpdateRequested=0;this._bFirstRequest=false;this._bInitBusy=false;this._bFirstRender=false;this._bFirstRequest=false;if(this._bAppendedToUIArea){var s=sap.ui.getCore().getStaticAreaRef();s=sap.ui.getCore().getUIArea(s);s.removeContent(this,true);}if(this._oDialog){this._oDialog.destroy();this._oDialog=null;}if(this._oOkButton){this._oOkButton.destroy();this._oOkButton=null;}this._oSelectedItem=null;this._aSelectedItems=null;this._list=null;this._searchField=null;this._dialog=null;};k.prototype.onAfterRendering=function(){if(this._bInitBusy&&this._bFirstRender){this._setBusy(true);this._bInitBusy=false;}return this;};k.prototype.invalidate=function(){if(this._oDialog&&(!arguments[0]||arguments[0]&&arguments[0].getId()!==this.getId()+"-dialog")){this._oDialog.invalidate(arguments);}else{C.prototype.invalidate.apply(this,arguments);}return this;};k.prototype.open=function(s){if((!this.getParent()||!this.getUIArea())&&!this._bAppendedToUIArea){var o=sap.ui.getCore().getStaticAreaRef();o=sap.ui.getCore().getUIArea(o);o.addContent(this,true);this._bAppendedToUIArea=true;}this._bFirstRequest=true;this._oSearchField.setValue(s);this._oDialog.open();if(this._bInitBusy){this._setBusy(true);}this._updateSelectionIndicator();this._aInitiallySelectedContextPaths=this._oList.getSelectedContextPaths();return this;};k.prototype.setGrowingThreshold=function(v){this._oList.setGrowingThreshold(v);this.setProperty("growingThreshold",v,true);return this;};k.prototype.setMultiSelect=function(m){this.setProperty("multiSelect",m,true);if(m){this._oList.setMode(i.MultiSelect);this._oList.setIncludeItemInSelection(true);this._oDialog.setEndButton(this._getCancelButton());this._oDialog.setBeginButton(this._getOkButton());}else{this._oList.setMode(i.SingleSelectMaster);this._oDialog.setEndButton(this._getCancelButton());this._oDialog.destroyBeginButton();delete this._oOkButton;}return this;};k.prototype.setTitle=function(t){this.setProperty("title",t,true);this._oDialog.getCustomHeader().getAggregation("contentMiddle")[0].setText(t);return this;};k.prototype.setConfirmButtonText=function(t){this.setProperty("confirmButtonText",t,true);this._oOkButton&&this._oOkButton.setText(t||this._oRb.getText("SELECT_CONFIRM_BUTTON"));return this;};k.prototype.setNoDataText=function(n){this._oList.setNoDataText(n);return this;};k.prototype.getNoDataText=function(){return this._oList.getNoDataText();};k.prototype.getContentWidth=function(){return this._oDialog.getContentWidth();};k.prototype.setContentWidth=function(w){this._oDialog.setContentWidth(w);return this;};k.prototype.getContentHeight=function(){return this._oDialog.getContentHeight();};k.prototype.setShowClearButton=function(v){this.setProperty("showClearButton",v,true);if(v){var o=this._oDialog.getCustomHeader();o.addContentRight(this._getClearButton());}if(this._oClearButton){this._oClearButton.setVisible(v);}return this;};k.prototype.setContentHeight=function(H){this._oDialog.setContentHeight(H);return this;};k.prototype.addStyleClass=function(){this._oDialog.addStyleClass.apply(this._oDialog,arguments);return this;};k.prototype.removeStyleClass=function(){this._oDialog.removeStyleClass.apply(this._oDialog,arguments);return this;};k.prototype.toggleStyleClass=function(){this._oDialog.toggleStyleClass.apply(this._oDialog,arguments);return this;};k.prototype.hasStyleClass=function(){return this._oDialog.hasStyleClass.apply(this._oDialog,arguments);};k.prototype.getDomRef=function(){if(this._oDialog){return this._oDialog.getDomRef.apply(this._oDialog,arguments);}else{return null;}};k.prototype.clearSelection=function(){this._removeSelection();this._updateSelectionIndicator();this._oDialog.focus();return this;};k.prototype._setModel=k.prototype.setModel;k.prototype.setModel=function(m,M){var A=Array.prototype.slice.call(arguments);this._setBusy(false);this._bInitBusy=false;this._iListUpdateRequested+=1;this._oList.setModel(m,M);k.prototype._setModel.apply(this,A);this._updateSelectionIndicator();return this;};k.prototype._setBindingContext=k.prototype.setBindingContext;k.prototype.setBindingContext=function(o,m){var n=Array.prototype.slice.call(arguments);this._oList.setBindingContext(o,m);k.prototype._setBindingContext.apply(this,n);return this;};k.prototype._executeSearch=function(v,m,E){var o=this._oList,n=(o?o.getBinding("items"):undefined),s=(this._sSearchFieldValue!==v);if(E==="liveChange"){this._bLiveChange=true;}if(this._oDialog.isOpen()&&((s&&E==="liveChange")||E==="search")){this._sSearchFieldValue=v;if(n){this._iListUpdateRequested+=1;if(E==="search"){this.fireSearch({value:v,itemsBinding:n,clearButtonPressed:m});}else if(E==="liveChange"){this.fireLiveChange({value:v,itemsBinding:n});}}else{if(E==="search"){this.fireSearch({value:v,clearButtonPressed:m});}else if(E==="liveChange"){this.fireLiveChange({value:v});}}}return this;};k.prototype._setBusy=function(m){if(this._iListUpdateRequested){if(m){this._oList.addStyleClass('sapMSelectDialogListHide');this._oBusyIndicator.$().css('display','inline-block');}else{this._oList.removeStyleClass('sapMSelectDialogListHide');this._oBusyIndicator.$().css('display','none');}}};k.prototype._updateStarted=function(E){if(this.getModel()&&this.getModel()instanceof sap.ui.model.odata.ODataModel){if(this._oDialog.isOpen()&&this._iListUpdateRequested){this._setBusy(true);}else{this._bInitBusy=true;}}};k.prototype._updateFinished=function(E){this._updateSelectionIndicator();if(this.getModel()&&this.getModel()instanceof sap.ui.model.odata.ODataModel){this._setBusy(false);this._bInitBusy=false;}if(a.system.desktop){if(this._oList.getItems()[0]){this._oDialog.setInitialFocus(this._oList.getItems()[0]);}else{this._oDialog.setInitialFocus(this._oSearchField);}if(this._bFirstRequest&&!this._bLiveChange){var F=this._oList.getItems()[0];if(!F){F=this._oSearchField;}if(F.getFocusDomRef()){F.getFocusDomRef().focus();}}}this._bFirstRequest=false;this._iListUpdateRequested=0;this._oList.getItems().forEach(function(o){o.addEventDelegate(this._getListItemsEventDelegates());},this);};k.prototype._getOkButton=function(){var t=this,o=null;o=function(){t._oSelectedItem=t._oList.getSelectedItem();t._aSelectedItems=t._oList.getSelectedItems();t._oDialog.detachAfterClose(o);t._fireConfirmAndUpdateSelection();};if(!this._oOkButton){this._oOkButton=new B(this.getId()+"-ok",{type:j.Emphasized,text:this.getConfirmButtonText()||this._oRb.getText("SELECT_CONFIRM_BUTTON"),press:function(){t._oDialog.attachAfterClose(o);t._oDialog.close();}});}return this._oOkButton;};k.prototype._getCancelButton=function(){var t=this;if(!this._oCancelButton){this._oCancelButton=new B(this.getId()+"-cancel",{text:this._oRb.getText("MSGBOX_CANCEL"),press:function(E){t._onCancel();}});}return this._oCancelButton;};k.prototype._getClearButton=function(){if(!this._oClearButton){this._oClearButton=new B(this.getId()+"-clear",{text:this._oRb.getText("SELECTDIALOG_CLEARBUTTON"),press:this.clearSelection.bind(this)});}return this._oClearButton;};k.prototype._onCancel=function(E){var t=this,A=null;A=function(){t._oSelectedItem=null;t._aSelectedItems=[];t._sSearchFieldValue=null;t._oDialog.detachAfterClose(A);t._resetSelection();t.fireCancel();};this._oDialog.attachAfterClose(A);this._oDialog.close();};k.prototype._updateSelectionIndicator=function(){var s=this._oList.getSelectedContextPaths(true).length,o=this._oList.getInfoToolbar();if(this.getShowClearButton()&&this._oClearButton){this._oClearButton.setEnabled(s>0);}o.setVisible(!!s&&this.getMultiSelect());o.getContent()[0].setText(this._oRb.getText("TABLESELECTDIALOG_SELECTEDITEMS",[s]));};k.prototype._fireConfirmAndUpdateSelection=function(){var p={selectedItem:this._oSelectedItem,selectedItems:this._aSelectedItems};Object.defineProperty(p,"selectedContexts",{get:this._oList.getSelectedContexts.bind(this._oList,true)});this.fireConfirm(p);this._updateSelection();};k.prototype._selectionChange=function(){if(!this._oDialog){return;}if(this.getMultiSelect()){this._updateSelectionIndicator();return;}if(!this._bAfterCloseAttached){this._oDialog.attachEventOnce("afterClose",this._resetAfterClose,this);this._bAfterCloseAttached=true;}this._oDialog.close();};k.prototype._resetAfterClose=function(){this._oSelectedItem=this._oList.getSelectedItem();this._aSelectedItems=this._oList.getSelectedItems();this._bAfterCloseAttached=false;this._fireConfirmAndUpdateSelection();};k.prototype._updateSelection=function(){if(!this.getRememberSelections()&&!this.bIsDestroyed){this._removeSelection();}};k.prototype._removeSelection=function(){this._oList.removeSelections(true);delete this._oSelectedItem;delete this._aSelectedItems;};k.prototype._resetSelection=function(){if(!this.bIsDestroyed){this._oList.removeSelections(true);this._oList.setSelectedContextPaths(this._aInitiallySelectedContextPaths);this._oList.getItems().forEach(function(o){var p=o.getBindingContextPath();if(p&&this._aInitiallySelectedContextPaths.indexOf(p)>-1){o.setSelected(true);}},this);}};k.prototype._getListItemsEventDelegates=function(){var E=function(o){if(o&&o.isDefaultPrevented&&o.isMarked&&(o.isDefaultPrevented()||o.isMarked("preventSelectionChange"))){return;}this._selectionChange(o);}.bind(this);return{ontap:E,onsapselect:E};};return k;});
sap.ui.predefine('sap/m/SelectDialogRenderer',[],function(){"use strict";var S={};S.render=function(r,c){};return S;},true);
sap.ui.predefine('sap/m/SplitContainer',['./library','sap/ui/base/DataType','sap/ui/core/Control','sap/ui/core/IconPool','sap/m/semantic/SemanticPage','sap/ui/core/InvisibleText','sap/ui/Device','sap/ui/base/ManagedObject','sap/m/NavContainer','sap/m/Popover','sap/m/Button','./SplitContainerRenderer',"sap/ui/dom/containsOrEquals","sap/base/Log","sap/ui/thirdparty/jquery"],function(l,D,C,I,S,a,b,M,N,P,B,c,d,L,q){"use strict";var e=l.ButtonType;var f=l.PlacementType;var g=l.SplitAppMode;var h=C.extend("sap.m.SplitContainer",{metadata:{library:"sap.m",properties:{defaultTransitionNameDetail:{type:"string",group:"Appearance",defaultValue:"slide"},defaultTransitionNameMaster:{type:"string",group:"Appearance",defaultValue:"slide"},mode:{type:"sap.m.SplitAppMode",group:"Appearance",defaultValue:g.ShowHideMode},masterButtonText:{type:"string",group:"Appearance",defaultValue:null},masterButtonTooltip:{type:"string",group:"Appearance",defaultValue:null},backgroundColor:{type:"string",group:"Appearance",defaultValue:null},backgroundImage:{type:"sap.ui.core.URI",group:"Appearance",defaultValue:null},backgroundRepeat:{type:"boolean",group:"Appearance",defaultValue:false},backgroundOpacity:{type:"float",group:"Appearance",defaultValue:1}},aggregations:{masterPages:{type:"sap.ui.core.Control",multiple:true,singularName:"masterPage"},detailPages:{type:"sap.ui.core.Control",multiple:true,singularName:"detailPage"},_navMaster:{type:"sap.m.NavContainer",multiple:false,visibility:"hidden"},_navDetail:{type:"sap.m.NavContainer",multiple:false,visibility:"hidden"},_navPopover:{type:"sap.m.Popover",multiple:false,visibility:"hidden"}},associations:{initialDetail:{type:"sap.ui.core.Control",multiple:false},initialMaster:{type:"sap.ui.core.Control",multiple:false}},events:{masterNavigate:{allowPreventDefault:true,parameters:{from:{type:"sap.ui.core.Control"},fromId:{type:"string"},to:{type:"sap.ui.core.Control"},toId:{type:"string"},firstTime:{type:"boolean"},isTo:{type:"boolean"},isBack:{type:"boolean"},isBackToTop:{type:"boolean"},isBackToPage:{type:"boolean"},direction:{type:"string"}}},afterMasterNavigate:{parameters:{from:{type:"sap.ui.core.Control"},fromId:{type:"string"},to:{type:"sap.ui.core.Control"},toId:{type:"string"},firstTime:{type:"boolean"},isTo:{type:"boolean"},isBack:{type:"boolean"},isBackToTop:{type:"boolean"},isBackToPage:{type:"boolean"},direction:{type:"string"}}},masterButton:{},beforeMasterOpen:{},afterMasterOpen:{},beforeMasterClose:{},afterMasterClose:{},detailNavigate:{allowPreventDefault:true,parameters:{from:{type:"sap.ui.core.Control"},fromId:{type:"string"},to:{type:"sap.ui.core.Control"},toId:{type:"string"},firstTime:{type:"boolean"},isTo:{type:"boolean"},isBack:{type:"boolean"},isBackToTop:{type:"boolean"},isBackToPage:{type:"boolean"},direction:{type:"string"}}},afterDetailNavigate:{parameters:{from:{type:"sap.ui.core.Control"},fromId:{type:"string"},to:{type:"sap.ui.core.Control"},toId:{type:"string"},firstTime:{type:"boolean"},isTo:{type:"boolean"},isBack:{type:"boolean"},isBackToTop:{type:"boolean"},isBackToPage:{type:"boolean"},direction:{type:"string"}}}},designtime:"sap/m/designtime/SplitContainer.designtime"}});h.prototype.init=function(){var t=this;if(sap.ui.getCore().getConfiguration().getAccessibility()&&!h._sAriaPopupLabelId){h._sAriaPopupLabelId=new a({text:''}).toStatic().getId();}this._rb=sap.ui.getCore().getLibraryResourceBundle("sap.m");this._aMasterPages=[];this._aDetailPages=[];if(!b.system.phone){this._oMasterNav=new N(this.getId()+"-Master",{width:"",navigate:function(E){t._handleNavigationEvent(E,false,true);},afterNavigate:function(E){t._handleNavigationEvent(E,true,true);t._updateMasterButtonTooltip();}});this._oDetailNav=new N(this.getId()+"-Detail",{width:"",navigate:function(E){t._handleNavigationEvent(E,false,false);},afterNavigate:function(E){t._handleNavigationEvent(E,true,false);}});this.setAggregation("_navMaster",this._oMasterNav,true);this.setAggregation("_navDetail",this._oDetailNav,true);this._createShowMasterButton();this._oPopOver=new P(this.getId()+"-Popover",{placement:f.Bottom,showHeader:false,contentWidth:"320px",contentHeight:"600px",beforeOpen:function(){t.fireBeforeMasterOpen();},beforeClose:function(){t.fireBeforeMasterClose();},afterOpen:function(){t.fireAfterMasterOpen();t._bMasterisOpen=true;},afterClose:function(){t._afterHideMasterAnimation();}}).addStyleClass("sapMSplitContainerPopover");if(h._sAriaPopupLabelId){this._oPopOver.addAriaLabelledBy(h._sAriaPopupLabelId);}this.setAggregation("_navPopover",this._oPopOver,true);}else{this._oMasterNav=this._oDetailNav=new N({width:"",navigate:function(E){t._handleNavigationEvent(E,false,true);},afterNavigate:function(E){t._handleNavigationEvent(E,true,true);}});this.setAggregation("_navMaster",this._oMasterNav,true);}this._oldIsLandscape=b.orientation.landscape;this._bMasterisOpen=false;var t=this;var p=function(r,n,s){return function(o,A,j){r.apply(t[n],arguments);if(A==="pages"&&t[s]&&t[s].indexOf(o)!==-1){t._removePageFromArray(t[s],o);}};};var m=this._oMasterNav._removeChild;this._oMasterNav._removeChild=p(m,"_oMasterNav","_aMasterPages");if(this._oDetailNav){var i=this._oDetailNav._removeChild;this._oDetailNav._removeChild=p(i,"_oDetailNav","_aDetailPages");}};h.prototype.onBeforeRendering=function(){if(this._fnResize){b.resize.detachHandler(this._fnResize);}if(this._bMasterisOpen&&(this._portraitHide()||this._hideMode())){this._oShowMasterBtn.removeStyleClass("sapMSplitContainerMasterBtnHidden");this._bMasterisOpen=false;}this._updateMasterButtonTooltip();};h.prototype.exit=function(){if(this._fnResize){b.resize.detachHandler(this._fnResize);}delete this._aMasterPages;delete this._aDetailPages;if(this._oShowMasterBtn){this._oShowMasterBtn.destroy();this._oShowMasterBtn=null;}};h.prototype.onAfterRendering=function(){if(!b.system.phone&&this._oPopOver&&this._oPopOver.isOpen()){this._oPopOver.close();}if(!this._fnResize){this._fnResize=q.proxy(this._handleResize,this);}b.resize.attachHandler(this._fnResize);if(b.os.windows&&b.browser.internet_explorer){this._oMasterNav.$().append('<iframe class="sapMSplitContainerMasterBlindLayer" src="about:blank"></iframe>');}setTimeout(function(){this._oMasterNav.removeStyleClass("sapMSplitContainerNoTransition");}.bind(this),0);};h.prototype.applySettings=function(s,o){C.prototype.applySettings.call(this,s,o);this._updateMasterInitialPage();};h.prototype.ontouchstart=function(E){if(!b.system.phone){this._bIgnoreSwipe=(E.originalEvent&&E.originalEvent._sapui_handledByControl);}};h.prototype.onswiperight=function(E){if(b.support.touch===false){return;}if((b.system.tablet||(b.os.windows&&b.os.version>=8))&&(this._portraitHide()||this._hideMode())&&!this._bIgnoreSwipe&&!this._bDetailNavButton){this.showMaster();}};h.prototype.ontap=function(E){if(b.system.phone){return;}var i=true,$=q(E.target).closest(".sapMSplitContainerDetail, .sapMSplitContainerMaster"),m=E.srcControl.getMetadata();if($.length>0&&$.hasClass("sapMSplitContainerDetail")){i=false;}if(((!this._oldIsLandscape&&this.getMode()=="ShowHideMode")||this.getMode()=="HideMode")&&!i&&!d(this._oShowMasterBtn.getDomRef(),E.target)&&(!m.getEvent("tap")||!m.getEvent("press"))){this.hideMaster();}};h.prototype.onswipeleft=function(E){if((b.system.tablet||(b.os.windows&&b.os.version>=8))&&(this._portraitHide()||this._hideMode())&&!this._bIgnoreSwipe){this.hideMaster();}};h.prototype._onMasterButtonTap=function(E){if(b.system.phone){return;}if(!this._oldIsLandscape){if(this.getMode()=="PopoverMode"){if(!this._oPopOver.isOpen()){this._oPopOver.openBy(this._oShowMasterBtn,true);}else{this._oPopOver.close();}}else{this.showMaster();}}else{if(this.getMode()==="HideMode"){this.showMaster();}}};h.prototype.to=function(p,t,i,T){if(this._oMasterNav.getPage(p)){this._oMasterNav.to(p,t,i,T);}else{this._oDetailNav.to(p,t,i,T);}};h.prototype.backToPage=function(p,i,t){if(this._oMasterNav.getPage(p)){this._oMasterNav.backToPage(p,i,t);}else{this._oDetailNav.backToPage(p,i,t);}};h.prototype._safeBackToPage=function(p,t,i,T){if(this._oMasterNav.getPage(p)){this._oMasterNav._safeBackToPage(p,t,i,T);}else{this._oDetailNav._safeBackToPage(p,t,i,T);}};h.prototype.insertPreviousPage=function(p,t,i){if(this._oMasterNav.getPage(p)){this._oMasterNav.insertPreviousPage(p,t,i);}else{this._oDetailNav.insertPreviousPage(p,t,i);}return this;};h.prototype.toMaster=function(p,t,i,T){this._oMasterNav.to(p,t,i,T);};h.prototype.backMaster=function(i,t){this._oMasterNav.back(i,t);};h.prototype.backMasterToPage=function(p,i,t){this._oMasterNav.backToPage(p,i,t);};h.prototype.toDetail=function(p,t,i,T){this._oDetailNav.to(p,t,i,T);};h.prototype.backDetail=function(i,t){this._oDetailNav.back(i,t);};h.prototype.backDetailToPage=function(p,i,t){this._oDetailNav.backToPage(p,i,t);};h.prototype.backToTopMaster=function(i,t){this._oMasterNav.backToTop(i,t);};h.prototype.backToTopDetail=function(i,t){this._oDetailNav.backToTop(i,t);};h.prototype.addMasterPage=function(p){if(this._hasPageInArray(this._aMasterPages,p)){return;}if(this._oMasterNav===this._oDetailNav&&this._oDetailNav.getPages()&&this._oDetailNav.getPages().indexOf(p)!==-1){this._removePageFromArray(this._aDetailPages,p);}this._oMasterNav.insertPage(p,this._aMasterPages.length);this._aMasterPages.push(p);return this;};h.prototype.addDetailPage=function(p){var t=this,r=this._getRealPage(p);if(this._hasPageInArray(this._aDetailPages,p)){return;}p.addDelegate({onBeforeShow:function(){if(r){if(!b.system.phone){if(t._needShowMasterButton()){t._setMasterButton(r);}}}}});if(r){r.addDelegate({onBeforeRendering:function(){if(!b.system.phone&&(t._oDetailNav.getCurrentPage()===r)){if(!r.getShowNavButton()&&t._needShowMasterButton()){t._setMasterButton(r,true);}else{t._removeMasterButton(r);}}}});if(!b.system.phone){if(!r._setCustomHeaderInSC){r._setCustomHeaderInSC=r.setCustomHeader;}r.setCustomHeader=function(H){this._setCustomHeaderInSC.apply(this,arguments);if(H&&t._needShowMasterButton()){t._setMasterButton(r);}return this;};if(!r._setShowNavButtonInSC){r._setShowNavButtonInSC=r.setShowNavButton;}r.setShowNavButton=function(s){this._setShowNavButtonInSC.apply(this,arguments);if(!s&&t._needShowMasterButton()){t._setMasterButton(r);}else{t._removeMasterButton(r,true);}return this;};}}if(this._oMasterNav===this._oDetailNav&&this._oMasterNav.getPages()&&this._oMasterNav.getPages().indexOf(p)!==-1){this._removePageFromArray(this._aMasterPages,p);}this._oDetailNav.addPage(p);this._aDetailPages.push(p);return this;};h.prototype.getMasterPages=function(){return this._aMasterPages.slice();};h.prototype.getDetailPages=function(){return this._aDetailPages.slice();};h.prototype.indexOfMasterPage=function(p){return this._indexOfMasterPage(p);};h.prototype.indexOfDetailPage=function(p){return this._indexOfDetailPage(p);};h.prototype.insertMasterPage=function(p,i,s){return this._insertPage(this._aMasterPages,"masterPages",p,i,s);};h.prototype.removeMasterPage=function(p,s){return this._removePage(this._aMasterPages,"masterPages",p,s);};h.prototype.removeAllMasterPages=function(s){this._aMasterPages=[];return this.removeAllAggregation("masterPages",s);};h.prototype.insertDetailPage=function(p,i,s){return this._insertPage(this._aDetailPages,"detailPages",p,i,s);};h.prototype._restoreMethodsInPage=function(p){if(b.system.phone){return;}var r=this._getRealPage(p);if(r){if(r._setCustomHeaderInSC){r.setCustomHeader=r._setCustomHeaderInSC;delete r._setCustomHeaderInSC;}if(r._setShowNavButtonInSC){r.setShowNavButton=r._setShowNavButtonInSC;delete r._setShowNavButtonInSC;}}};h.prototype.removeDetailPage=function(p,s){this._restoreMethodsInPage(p);return this._removePage(this._aDetailPages,"detailPages",p,s);};h.prototype.removeAllDetailPages=function(s){var p=this.getDetailPages();for(var i=0;i<p.length;i++){this._restoreMethodsInPage(p[i]);}this._aDetailPages=[];return this.removeAllAggregation("detailPages",s);};h.prototype.addPage=function(p,m){if(m){return this.addMasterPage(p);}else{return this.addDetailPage(p);}};h.prototype.showMaster=function(){var t=this,_=this._getRealPage(this._oDetailNav.getCurrentPage());function i(){this._oPopOver.detachAfterOpen(i,this);this._bMasterOpening=false;this._bMasterisOpen=true;this.fireAfterMasterOpen();}if(this._portraitPopover()){if(!this._oPopOver.isOpen()){this._oPopOver.attachAfterOpen(i,this);this.fireBeforeMasterOpen();this._oPopOver.openBy(this._oShowMasterBtn,true);this._bMasterOpening=true;}}else if((this._portraitHide()||this._hideMode())&&(!this._bMasterisOpen||this._bMasterClosing)){this._oMasterNav.$().one("webkitTransitionEnd transitionend",q.proxy(this._afterShowMasterAnimation,this));this.fireBeforeMasterOpen();this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterVisible",true);this._oMasterNav.getDomRef()&&this._oMasterNav.getDomRef().offsetHeight;this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterHidden",false);this._bMasterOpening=true;t._removeMasterButton(_);if(b.browser.webkit){var m=this._oMasterNav;window.setTimeout(function(){m.$().css("box-shadow","none");window.setTimeout(function(){m.$().css("box-shadow","");},50);},0);}}return this;};h.prototype.hideMaster=function(){if(this._portraitPopover()){if(this._oPopOver.isOpen()){this._oPopOver.close();this._bMasterClosing=true;}}else if((this._portraitHide()||this._hideMode())&&(this._bMasterisOpen||this._oMasterNav.$().hasClass("sapMSplitContainerMasterVisible"))){this._oMasterNav.$().one("webkitTransitionEnd transitionend",q.proxy(this._afterHideMasterAnimation,this));this.fireBeforeMasterClose();this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterVisible",false);this._oMasterNav.getDomRef()&&this._oMasterNav.getDomRef().offsetHeight;this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterHidden",true);this._bMasterClosing=true;}return this;};h.prototype._afterShowMasterAnimation=function(){if(this._portraitHide()||this._hideMode()){this._bMasterOpening=false;this._bMasterisOpen=true;this.fireAfterMasterOpen();}};h.prototype._afterHideMasterAnimation=function(){var o=this._getRealPage(this._oDetailNav.getCurrentPage());this._setMasterButton(o);this._bMasterClosing=false;this._bMasterisOpen=false;if(d(this._oMasterNav.getDomRef(),document.activeElement)){document.activeElement.blur();}this.fireAfterMasterClose();};h.prototype.getCurrentMasterPage=function(){return this._oMasterNav.getCurrentPage();};h.prototype.getCurrentDetailPage=function(){return this._oDetailNav.getCurrentPage();};h.prototype.getCurrentPage=function(m){if(m){return this.getCurrentMasterPage();}else{return this.getCurrentDetailPage();}};h.prototype.getPreviousPage=function(m){if(m){return this._oMasterNav.getPreviousPage();}else{return this._oDetailNav.getPreviousPage();}};h.prototype.getMasterPage=function(p){return this._oMasterNav.getPage(p);};h.prototype.getDetailPage=function(p){return this._oDetailNav.getPage(p);};h.prototype.getPage=function(p,m){if(m){return this.getMasterPage(p);}else{return this.getDetailPage(p);}};h.prototype.isMasterShown=function(){if(b.system.phone){var o=this._oMasterNav.getCurrentPage();return this._indexOfMasterPage(o)!==-1;}else{var m=this.getMode();switch(m){case g.StretchCompressMode:return true;case g.HideMode:return this._bMasterisOpen;case g.PopoverMode:case g.ShowHideMode:return b.orientation.landscape||this._bMasterisOpen;default:return false;}}};h.prototype.setInitialMaster=function(p){this._oMasterNav.setInitialPage(p);this.setAssociation('initialMaster',p,true);return this;};h.prototype.setInitialDetail=function(p){if(!b.system.phone){this._oDetailNav.setInitialPage(p);}this.setAssociation('initialDetail',p,true);return this;};h.prototype.setDefaultTransitionNameDetail=function(t){this.setProperty("defaultTransitionNameDetail",t,true);this._oDetailNav.setDefaultTransitionName(t);return this;};h.prototype.setDefaultTransitionNameMaster=function(t){this.setProperty("defaultTransitionNameMaster",t,true);this._oMasterNav.setDefaultTransitionName(t);return this;};h.prototype.setMasterButtonText=function(t){if(!b.system.phone){if(!t){t=this._rb.getText("SplitContainer_NAVBUTTON_TEXT");}this._oShowMasterBtn.setText(t);}this.setProperty("masterButtonText",t,true);return this;};h.prototype.setMode=function(m){var o=this.getMode();if(o===m){return this;}this.setProperty("mode",m,true);if(!b.system.phone&&this.getDomRef()){if(o==="HideMode"&&this._oldIsLandscape){this._removeMasterButton(this._oDetailNav.getCurrentPage());}var $=this.$();if(m!=="PopoverMode"&&this._oPopOver.getContent().length>0){this._updateMasterPosition("landscape");}else if(m=="PopoverMode"){if(!this._oldIsLandscape){if(this._oPopOver.getContent().length===0){this._updateMasterPosition("popover");}this._setMasterButton(this._oDetailNav.getCurrentPage());}$.toggleClass("sapMSplitContainerShowHide",false);$.toggleClass("sapMSplitContainerStretchCompress",false);$.toggleClass("sapMSplitContainerHideMode",false);$.toggleClass("sapMSplitContainerPopover",true);}if(m=="StretchCompressMode"){$.toggleClass("sapMSplitContainerShowHide",false);$.toggleClass("sapMSplitContainerPopover",false);$.toggleClass("sapMSplitContainerHideMode",false);$.toggleClass("sapMSplitContainerStretchCompress",true);this._removeMasterButton(this._oDetailNav.getCurrentPage());}if(m=="ShowHideMode"){$.toggleClass("sapMSplitContainerPopover",false);$.toggleClass("sapMSplitContainerStretchCompress",false);$.toggleClass("sapMSplitContainerHideMode",false);$.toggleClass("sapMSplitContainerShowHide",true);if(!b.orientation.landscape){this._setMasterButton(this._oDetailNav.getCurrentPage());}}if(m==="HideMode"){$.toggleClass("sapMSplitContainerPopover",false);$.toggleClass("sapMSplitContainerStretchCompress",false);$.toggleClass("sapMSplitContainerShowHide",false);$.toggleClass("sapMSplitContainerHideMode",true);this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterVisible",false);this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterHidden",true);this._bMasterisOpen=false;this._setMasterButton(this._oDetailNav.getCurrentPage());}}return this;};h.prototype.setBackgroundOpacity=function(o){if(o>1||o<0){L.warning("Invalid value "+o+" for SplitContainer.setBackgroundOpacity() ignored. Valid values are: floats between 0 and 1.");return this;}this.$("BG").css("opacity",o);return this.setProperty("backgroundOpacity",o,true);};h.prototype._updateMasterInitialPage=function(){if(this.getMode()==="HideMode"&&b.system.phone&&this._aDetailPages){this._oMasterNav.setInitialPage(this.getInitialDetail()?this.getInitialDetail():(this.getInitialMaster()||this._aDetailPages[0]));}};h.prototype._indexOfMasterPage=function(p){return this._aMasterPages.indexOf(p);};h.prototype._indexOfDetailPage=function(p){return this._aDetailPages.indexOf(p);};h.prototype._insertPage=function(p,A,o,j,s){this.insertAggregation(A,o,j,s);var i;if(j<0){i=0;}else if(j>p.length){i=p.length;}else{i=j;}var O=(p?Array.prototype.indexOf.call(p,o):-1);p.splice(i,0,o);if(O!=-1){this._removePageFromArray(p,o);}return this;};h.prototype._removePage=function(p,A,o,s){var r=this.removeAggregation(A,o,s);if(r){this._removePageFromArray(p,r);}return r;};h.prototype._removePageFromArray=function(p,o){var i=(p?Array.prototype.indexOf.call(p,o):-1);if(i!=-1){p.splice(i,1);if(p===this._aDetailPages){this._restoreMethodsInPage(o);}}};h.prototype._handleNavigationEvent=function(E,A,m){var s=(A?"After":"")+(m?"Master":"Detail")+"Navigate",i;s=s.charAt(0).toLowerCase()+s.slice(1);i=this.fireEvent(s,E.mParameters,true);if(!i){E.preventDefault();}};h.prototype._handleResize=function(){var i=b.orientation.landscape,_=this._oDetailNav.getCurrentPage(),m=this.getMode();if(this._oldIsLandscape!==i){this._oldIsLandscape=i;if(!b.system.phone){this.$().toggleClass("sapMSplitContainerPortrait",!i);if(m==="HideMode"){return;}if(m==="ShowHideMode"){if(i){this.fireBeforeMasterOpen();}else{this.fireBeforeMasterClose();}}if(m==="ShowHideMode"||m==="PopoverMode"){this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterVisible",i);this._oMasterNav.toggleStyleClass("sapMSplitContainerMasterHidden",!i);}if(m==="ShowHideMode"){if(i){this._bMasterisOpen=true;this.fireAfterMasterOpen();}else{this._bMasterisOpen=false;this.fireAfterMasterClose();}}if(m=="PopoverMode"){if(this._oPopOver.isOpen()){this._oPopOver.attachAfterClose(this._handlePopClose,this);this._oPopOver.close();}else{this._handlePopClose();}}_=this._getRealPage(_);if(!this._oldIsLandscape&&m!="StretchCompressMode"){this._setMasterButton(_);}else{this._removeMasterButton(_);}}if(this._onOrientationChange){this._onOrientationChange();}}};h.prototype._handlePopClose=function(E){this._oPopOver.detachAfterClose(this._handlePopClose,this);if(this._oldIsLandscape){this._updateMasterPosition("landscape");}else{this._updateMasterPosition("popover");}};h.prototype._getRealPage=function(p){var r=p,i;while(r){if(r instanceof sap.m.Page){return r;}if(r instanceof sap.m.MessagePage){return r;}if(r instanceof S){return r;}if(r instanceof sap.ui.core.mvc.View){i=r.getContent();if(i.length===1){r=i[0];continue;}}else if(r instanceof N){r=r.getCurrentPage();continue;}r=null;}return r;};h.prototype._updateMasterPosition=function(p){var t=this;if(p=="popover"){this.removeAggregation("_navMaster",this._oMasterNav,true);this._oMasterNav.$().remove();this._oPopOver.addContent(this._oMasterNav);this._bMasterisOpen=false;}if(p=="landscape"){var r=function(){t._oPopOver.removeAggregation("content",t._oMasterNav,false);t.setAggregation("_navMaster",t._oMasterNav,true);var $=t.$();if($[0]){var i=sap.ui.getCore().createRenderManager();i.renderControl(t._oMasterNav.addStyleClass("sapMSplitContainerMaster"));i.flush($[0],false,(t.$("BG")[0])?1:0);i.destroy();}};if(this._oPopOver.isOpen()){var A=function(){this._oPopOver.detachAfterClose(A,this);this._bMasterisOpen=false;r();};this._oPopOver.attachAfterClose(A,this);this._oPopOver.close();}else{r();}}};h.prototype._portraitHide=function(){if(!this._oldIsLandscape&&!b.system.phone&&this.getMode()==="ShowHideMode"){return true;}else{return false;}};h.prototype._portraitPopover=function(){if(!this._oldIsLandscape&&!b.system.phone&&this.getMode()==="PopoverMode"){return true;}else{return false;}};h.prototype._hideMode=function(){return this.getMode()==="HideMode"&&!b.system.phone;};h.prototype._needShowMasterButton=function(){return(this._portraitHide()||this._hideMode()||this._portraitPopover())&&(!this._bMasterisOpen||this._bMasterClosing);};h.prototype._updateMasterButtonTooltip=function(){if(!this._oShowMasterBtn){return;}var t=this.getMasterButtonTooltip();if(t){this._oShowMasterBtn.setTooltip(t);return;}var p=this._oMasterNav.getCurrentPage();if(p&&p.getTitle){var T=p.getTitle();if(T){T=T.replace(/[_0-9]+$/,'');t=this._rb.getText('SPLITCONTAINER_NAVBUTTON_TOOLTIP',T);}}if(!t){t=this._rb.getText('SPLITCONTAINER_NAVBUTTON_DEFAULT_TOOLTIP');}this._oShowMasterBtn.setTooltip(t);};h.prototype._createShowMasterButton=function(){if(this._oShowMasterBtn&&!this._oShowMasterBtn.bIsDestroyed){return;}this._oShowMasterBtn=new B(this.getId()+"-MasterBtn",{icon:I.getIconURI("menu2"),tooltip:this.getMasterButtonTooltip(),type:e.Default,press:q.proxy(this._onMasterButtonTap,this)}).addStyleClass("sapMSplitContainerMasterBtn");};h.prototype._setMasterButton=function(p,j,s){if(!p){return;}if(typeof j==='boolean'){s=j;j=undefined;}p=this._getRealPage(p);if(!p){return;}var H=h._getHeaderButtonAggregation(p),k=H.sAggregationName,m=H.aAggregationContent;for(var i=0;i<m.length;i++){if(m[i]instanceof sap.m.Button&&m[i].getVisible()&&(m[i].getType()==e.Back||(m[i].getType()==e.Up&&m[i]!==this._oShowMasterBtn))){this._bDetailNavButton=true;return;}}this._bDetailNavButton=false;var o=p._getAnyHeader();var n=false;for(var i=0;i<m.length;i++){if(m[i]===this._oShowMasterBtn){n=true;}}if(!n){this._createShowMasterButton();this._updateMasterButtonTooltip();this._oShowMasterBtn.removeStyleClass("sapMSplitContainerMasterBtnHidden");if(o){o.insertAggregation(k,this._oShowMasterBtn,0,s);}}else{this._oShowMasterBtn.$().parent().toggleClass("sapMSplitContainerMasterBtnHide",false);this._oShowMasterBtn.removeStyleClass("sapMSplitContainerMasterBtnHidden");this._oShowMasterBtn.$().parent().toggleClass("sapMSplitContainerMasterBtnShow",true);}if(j){j(p);}this.fireMasterButton({show:true});};h._getHeaderButtonAggregation=function(p){var H=p._getAnyHeader(),A,s;if(!H){return;}if(H.getContentLeft){A=H.getContentLeft();s="contentLeft";}if(H.getContent){A=H.getContent();s="content";}return{aAggregationContent:A,sAggregationName:s};};h.prototype._removeMasterButton=function(p,j,n){if(!p){return;}var t=this,H=this._oShowMasterBtn.$().is(":hidden"),o;if(typeof j==="boolean"){n=j;j=undefined;}if(!H&&!n){p=this._getRealPage(p);if(!p){return;}o=p._getAnyHeader();if(o){var k=h._getHeaderButtonAggregation(p).aAggregationContent;for(var i=0;i<k.length;i++){if(k[i]===this._oShowMasterBtn){this._oShowMasterBtn.destroy();this._oShowMasterBtn.$().parent().bind("webkitAnimationEnd animationend",function(){q(this).unbind("webkitAnimationEnd animationend");t._oShowMasterBtn.addStyleClass("sapMSplitContainerMasterBtnHidden");if(j){j(p);}});break;}}}this.fireMasterButton({show:false});}else{this._oShowMasterBtn.addStyleClass("sapMSplitContainerMasterBtnHidden");if(j){j(p);}if(!H){this.fireMasterButton({show:false});}}};h.prototype._callMethodInManagedObject=function(F,A){var i=Array.prototype.slice.call(arguments);if(A==="masterPages"){if(F==="indexOfAggregation"){return this._indexOfMasterPage.apply(this,i.slice(2));}else{return this._callNavContainerMethod(F,this._oMasterNav,i);}}else if(A==="detailPages"){if(F==="indexOfAggregation"){return this._indexOfDetailPage.apply(this,i.slice(2));}else{return this._callNavContainerMethod(F,this._oDetailNav,i);}}else{return M.prototype[F].apply(this,i.slice(1));}};h.prototype._callNavContainerMethod=function(F,n,A){A[1]="pages";A=A.slice(1);var r=h._mFunctionMapping[F];if(r){A.shift();F=r;}return n[F].apply(n,A);};h.prototype._hasPageInArray=function(i,p){return i.some(function(A){return p&&(p===A);});};h.prototype.validateAggregation=function(A,o,m){return this._callMethodInManagedObject("validateAggregation",A,o,m);};h.prototype.setAggregation=function(A,o,s){this._callMethodInManagedObject("setAggregation",A,o,s);return this;};h.prototype.getAggregation=function(A,o){return this._callMethodInManagedObject("getAggregation",A,o);};h.prototype.indexOfAggregation=function(A,o){return this._callMethodInManagedObject("indexOfAggregation",A,o);};h.prototype.insertAggregation=function(A,o,i,s){this._callMethodInManagedObject("insertAggregation",A,o,i,s);return this;};h.prototype.addAggregation=function(A,o,s){this._callMethodInManagedObject("addAggregation",A,o,s);return this;};h.prototype.removeAggregation=function(A,o,s){return this._callMethodInManagedObject("removeAggregation",A,o,s);};h.prototype.removeAllAggregation=function(A,s){return this._callMethodInManagedObject("removeAllAggregation",A,s);};h.prototype.destroyAggregation=function(A,s){this._callMethodInManagedObject("destroyAggregation",A,s);return this;};h._mFunctionMapping={"getAggregation":"getPage","addAggregation":"addPage","insertAggregation":"insertPage","removeAggregation":"removePage","removeAllAggregation":"removeAllPages"};return h;});
sap.ui.predefine('sap/m/SplitContainerRenderer',["sap/ui/Device"],function(D){"use strict";var S={};S.render=function(r,c){var m=c.getMode();r.write("<div");r.writeControlData(c);r.addClass("sapMSplitContainer");if(this.renderAttributes){this.renderAttributes(r,c);}if(!D.system.phone){if(D.orientation.portrait){r.addClass("sapMSplitContainerPortrait");}switch(m){case"ShowHideMode":r.addClass("sapMSplitContainerShowHide");break;case"StretchCompress":r.addClass("sapMSplitContainerStretchCompress");break;case"PopoverMode":r.addClass("sapMSplitContainerPopover");break;case"HideMode":r.addClass("sapMSplitContainerHideMode");break;}}r.writeClasses();r.writeStyles();var t=c.getTooltip_AsString();if(t){r.writeAttributeEscaped("title",t);}r.write(">");if(this.renderBeforeContent){this.renderBeforeContent(r,c);}if(!D.system.phone){c._bMasterisOpen=false;if((D.orientation.landscape&&(m!=="HideMode"))||D.orientation.portrait&&(m==="StretchCompress")){c._oMasterNav.addStyleClass("sapMSplitContainerMasterVisible");c._bMasterisOpen=true;}else{c._oMasterNav.addStyleClass("sapMSplitContainerMasterHidden sapMSplitContainerNoTransition");}if(c.getMode()==="PopoverMode"&&D.orientation.portrait){c._oDetailNav.addStyleClass("sapMSplitContainerDetail");r.renderControl(c._oDetailNav);if(c._oPopOver.getContent().length===0){c._oPopOver.addAggregation("content",c._oMasterNav,true);}}else{c._oMasterNav.addStyleClass("sapMSplitContainerMaster");r.renderControl(c._oMasterNav);c._oDetailNav.addStyleClass("sapMSplitContainerDetail");r.renderControl(c._oDetailNav);}}else{c._oMasterNav.addStyleClass("sapMSplitContainerMobile");r.renderControl(c._oMasterNav);}r.write("</div>");};return S;},true);
sap.ui.predefine('sap/m/StandardListItem',["sap/ui/core/library","sap/ui/core/IconPool","sap/ui/Device","./library","./ListItemBase","./Image","./StandardListItemRenderer"],function(c,I,D,l,L,a,S){"use strict";var T=c.TextDirection;var V=c.ValueState;var b=L.extend("sap.m.StandardListItem",{metadata:{library:"sap.m",properties:{title:{type:"string",group:"Misc",defaultValue:null},description:{type:"string",group:"Misc",defaultValue:null},icon:{type:"sap.ui.core.URI",group:"Misc",defaultValue:null},iconInset:{type:"boolean",group:"Appearance",defaultValue:true},iconDensityAware:{type:"boolean",group:"Misc",defaultValue:true},activeIcon:{type:"sap.ui.core.URI",group:"Misc",defaultValue:null},info:{type:"string",group:"Misc",defaultValue:null},infoState:{type:"sap.ui.core.ValueState",group:"Misc",defaultValue:V.None},adaptTitleSize:{type:"boolean",group:"Appearance",defaultValue:true},titleTextDirection:{type:"sap.ui.core.TextDirection",group:"Appearance",defaultValue:T.Inherit},infoTextDirection:{type:"sap.ui.core.TextDirection",group:"Appearance",defaultValue:T.Inherit},wrapping:{type:"boolean",group:"Behavior",defaultValue:false}},designtime:"sap/m/designtime/StandardListItem.designtime"}});b.prototype.exit=function(){if(this._oImage){this._oImage.destroy("KeepDom");}L.prototype.exit.apply(this,arguments);};b.prototype.setIcon=function(i){var o=this.getIcon();this.setProperty("icon",i);if(this._oImage&&(!i||I.isIconURI(i)!=I.isIconURI(o))){this._oImage.destroy("KeepDom");this._oImage=undefined;}return this;};b.prototype._getImage=function(){var i=this._oImage;if(i){i.setSrc(this.getIcon());if(i.setDensityAware){i.setDensityAware(this.getIconDensityAware());}}else{i=I.createControlByURI({id:this.getId()+"-img",src:this.getIcon(),densityAware:this.getIconDensityAware(),useIconTooltip:false},a).setParent(this,null,true);}var s=this.getIconInset()?"sapMSLIImg":"sapMSLIImgNoInset";i.addStyleClass(i instanceof a?s:s+"Icon",true);this._oImage=i;return this._oImage;};b.prototype._activeHandlingInheritor=function(){if(this._oImage){var A=this.getActiveIcon();A&&this._oImage.setSrc(A);}};b.prototype._inactiveHandlingInheritor=function(){if(this._oImage){this._oImage.setSrc(this.getIcon());}};b.prototype.getContentAnnouncement=function(B){var A="",i=this.getInfoState(),t,s="",d,e="",o,f;if(this.getWrapping()){o=this.getDomRef("titleButton");f=this.getDomRef("descriptionButton");t=this._bTitleTextExpanded?this.getTitle():this._getCollapsedText(this.getTitle());d=this._bDescriptionTextExpanded?this.getDescription():this._getCollapsedText(this.getDescription());if(o){s=o.textContent+" "+B.getText("ACC_CTR_TYPE_BUTTON");}if(f){e=f.textContent+" "+B.getText("ACC_CTR_TYPE_BUTTON");}A+=t+" "+s+" "+d+" "+e+" ";}else{A+=this.getTitle()+" "+this.getDescription()+" ";}A+=this.getInfo()+" ";if(i!="None"&&i!=this.getHighlight()){A+=B.getText("LIST_ITEM_STATE_"+i.toUpperCase());}return A;};b.prototype.ontap=function(e){this._checkExpandCollapse(e);if(!e.isMarked()){return L.prototype.ontap.apply(this,arguments);}};b.prototype.onsapspace=function(e){this._checkExpandCollapse(e,true);if(!e.isMarked()){return L.prototype.onsapspace.apply(this,arguments);}};b.prototype._checkExpandCollapse=function(e,p){var t=e.target,i=t&&t.id;if(i&&i===this.getId()+"-titleButton"){if(p){e.preventDefault();}e.setMarked();return this._toggleExpandCollapse("title",this._bTitleTextExpanded);}if(i&&i===this.getId()+"-descriptionButton"){if(p){e.preventDefault();}e.setMarked();return this._toggleExpandCollapse("description",this._bDescriptionTextExpanded);}};b.prototype._toggleExpandCollapse=function(w,t){var o=this.getDomRef(w+"Text"),d=this.getDomRef(w+"ThreeDots"),B=this.getDomRef(w+"Button"),s=w==="title"?this.getTitle():this.getDescription(),r=sap.ui.getCore().getLibraryResourceBundle("sap.m");if(!t){o.textContent=s;d.textContent=" ";B.textContent=r.getText("TEXT_SHOW_LESS");t=true;}else{o.textContent=this._getCollapsedText(s);d.textContent=" ... ";B.textContent=r.getText("TEXT_SHOW_MORE");t=false;}if(w==="title"){this._bTitleTextExpanded=t;}else{this._bDescriptionTextExpanded=t;}};b.prototype._getCollapsedText=function(t){var m=D.system.phone?100:300;return t.substr(0,m);};return b;});
sap.ui.predefine('sap/m/StandardListItemRenderer',["sap/ui/core/library","sap/ui/core/Core","sap/ui/core/Renderer","sap/ui/core/IconPool","sap/ui/Device","./library","./ListItemBaseRenderer"],function(c,C,R,I,D,l,L){"use strict";var T=c.TextDirection;var S=R.extend(L);S.apiVersion=2;S.renderLIAttributes=function(r,o){var i=o.getIcon(),t=o.getTitle();r.class("sapMSLI");if(i&&!I.isIconURI(i)){r.class("sapMSLIThumbnail");}if(!o.getIconInset()){r.class("sapMSLINoIconInset");}if(t&&o.getDescription()){r.class("sapMSLIWithDescription");}if(t&&!o.getAdaptTitleSize()){r.class("sapMSLINoTitleAdapt");}if(t&&o.getWrapping()){r.class("sapMSLIWrapping");}};S.renderLIContent=function(r,o){var i=o.getInfo(),t=o.getTitle(),d=o.getDescription(),a=o.getAdaptTitleSize(),s=!t&&i;if(o.getIcon()){r.renderControl(o._getImage());}r.openStart("div").class("sapMSLIDiv");if((!d&&a&&i)||s){r.class("sapMSLIInfoMiddle");}r.openEnd();this.renderTitleWrapper(r,o);if(t&&d){this.renderDescription(r,o);}if(s&&!o.getWrapping()){this.renderInfo(r,o);}r.close("div");};S.renderTitleWrapper=function(r,o){var t=o.getTitleTextDirection(),s=o.getTitle(),d=o.getDescription(),i=o.getInfo(),w=o.getWrapping(),b=!s&&i;r.openStart("div");if(!b&&d){r.class("sapMSLITitle");}else{r.class("sapMSLITitleOnly");}if(t!==T.Inherit){r.attr("dir",t.toLowerCase());}r.openEnd();if(w){this.renderWrapping(r,o,"title");if(s&&i&&!d){this.renderInfo(r,o);}}else{this.renderTitle(r,o);}r.close("div");if(i&&!d&&!w&&!b){this.renderInfo(r,o);}};S.renderTitle=function(r,o){r.text(o.getTitle());};S.renderDescription=function(r,o){var w=o.getWrapping(),d=o.getDescription(),i=o.getInfo();r.openStart("div").class("sapMSLIDescription");if(i){r.class("sapMSLIDescriptionAndInfo");}r.openEnd();if(i){r.openStart("div").class("sapMSLIDescriptionText").openEnd();if(w){this.renderWrapping(r,o,"description");this.renderInfo(r,o);}else{r.text(d);}r.close("div");if(!w){this.renderInfo(r,o);}}else if(w){this.renderWrapping(r,o,"description");}else{r.text(d);}r.close("div");};S.renderInfo=function(r,o){var i=o.getInfoTextDirection();r.openStart("div",o.getId()+"-info");if(i!==T.Inherit){r.attr("dir",i.toLowerCase());}r.class("sapMSLIInfo");r.class("sapMSLIInfo"+o.getInfoState());r.openEnd();r.text(o.getInfo());r.close("div");};S.renderExpandCollapse=function(r,o,w){var i=o.getId(),t=w=="title"?true:false,b=t?o._bTitleTextExpanded:o._bDescriptionTextExpanded,a=C.getLibraryResourceBundle("sap.m");r.openStart("span",i+"-"+w+"ThreeDots").openEnd();r.text(b?" ":" ... ");r.close("span");r.openStart("span",t?i+"-titleButton":i+"-descriptionButton").class("sapMSLIExpandCollapse");r.attr("tabindex","0").attr("role","button").attr("aria-live","polite");r.openEnd();r.text(a.getText(b?"TEXT_SHOW_LESS":"TEXT_SHOW_MORE"));r.close("span");};S.renderWrapping=function(r,o,w){var i=o.getId(),t=w=="title"?true:false,s=t?o.getTitle():o.getDescription(),b=t?o._bTitleTextExpanded:o._bDescriptionTextExpanded,m=D.system.phone?100:300;r.openStart("span",i+"-"+w+"Text").attr("aria-live","polite").openEnd();if(!b){var a=o._getCollapsedText(s);r.text(a);}else if(t){this.renderTitle(r,o);}else{r.text(o.getDescription());}r.close("span");if(s.length>m){this.renderExpandCollapse(r,o,w);}};return S;},true);
sap.ui.predefine('sap/m/Suggest',['jquery.sap.global','./Toolbar','./Button','./SuggestionsList','./SuggestionItem','sap/ui/Device','sap/m/library','sap/ui/core/Core'],function(q,T,B,S,a,D,l,C){"use strict";var P=l.PlacementType;function b(i){var p=i,c,d,e,u=D.system.phone,s=this;q.sap.require(u?"sap.m.Dialog":"sap.m.Popover");function o(E){var k=E.srcControl;var v;if(k instanceof a){v=k.getSuggestionText();s._suggestionItemTapped=true;c.close();window.setTimeout(function(){i.setValue(v);i.fireSearch({query:v,suggestionItem:k,refreshButtonPressed:false,clearButtonPressed:false});},0);}}function f(){var k,m,n,r,t,v;n=new(sap.ui.require('sap/m/SearchField'))({liveChange:function(E){var w=E.getParameter("newValue");i.setValue(w);i.fireLiveChange({newValue:w});i.fireSuggest({suggestValue:w});s.update();},search:function(E){if(!E.getParameter("clearButtonPressed")){k.close();}}});v=new B({icon:"sap-icon://decline",press:function(){s._cancelButtonTapped=true;k._oCloseTrigger=true;k.close();i.setValue(m);}});r=new T({content:[n,v]});t=new B({text:C.getLibraryResourceBundle("sap.m").getText("MSGBOX_OK"),press:function(){k.close();}});k=new(sap.ui.require('sap/m/Dialog'))({stretch:true,customHeader:r,content:h(),beginButton:t,beforeClose:function(){i._bSuggestionSuppressed=true;},beforeOpen:function(){m=i.getValue();n.setValue(m);},afterClose:function(E){if(!s._cancelButtonTapped&&!s._suggestionItemTapped){i.fireSearch({query:i.getValue(),refreshButtonPressed:false,clearButtonPressed:false});}}});k.addEventDelegate({ontap:o},i);return k;}function g(){var k=s._oPopover=new(sap.ui.require('sap/m/Popover'))({showArrow:false,showHeader:false,horizontalScrolling:false,placement:P.Vertical,offsetX:0,offsetY:0,initialFocus:p,bounce:false,afterOpen:function(){i.$("I").attr("aria-autocomplete","list").attr("aria-haspopup","true");},beforeClose:function(){i.$("I").attr("aria-haspopup","false").removeAttr("aria-activedecendant");},content:h()}).addStyleClass("sapMSltPicker").addStyleClass("sapMSltPicker-CTX");k.open=function(){return this.openBy(p);};k.addEventDelegate({onAfterRendering:s.setPopoverMinWidth.bind(s),ontap:o},i);return k;}function h(){if(!d){d=new S({parentInput:p});}return d;}function j(){if(c===undefined){c=u?f():g();}return c;}this.setPopoverMinWidth=function(){var k=s._oPopover.getDomRef();if(k){var w=(i.$().outerWidth()/parseFloat(l.BaseFontSize))+"rem";k.style.minWidth=w;}};this.destroy=function(){if(c){c.close();c.destroy();c=null;}if(d){d.destroy();d=null;}};this.close=function(){if(!u&&this.isOpen()){c.close();}};this.open=function(){if(!this.isOpen()){this.setSelected(-1);this._suggestionItemTapped=false;this._cancelButtonTapped=false;j().open();}};this.update=function(){var d=h();window.clearTimeout(e);if(this.isOpen()){e=window.setTimeout(d.update.bind(d),50);}};this.isOpen=function(){return!!c&&c.isOpen();};this.getSelected=function(){return h().getSelectedItemIndex();};this.setSelected=function(k,r){return h().selectByIndex(k,r);};}return b;},true);
sap.ui.predefine('sap/m/SuggestionItem',['./library','sap/ui/core/Item','sap/ui/core/IconPool'],function(l,I,a){"use strict";var S=I.extend("sap.m.SuggestionItem",{metadata:{library:"sap.m",properties:{icon:{type:"string",group:"Appearance",defaultValue:""},description:{type:"string",group:"Data",defaultValue:""}}}});a.insertFontFaceStyle();function r(R,t,s){var i;if(t){i=t.toUpperCase().indexOf(s.toUpperCase());if(i>-1){R.writeEscaped(t.slice(0,i));R.write("<b>");R.writeEscaped(t.slice(i,i+s.length));R.write("</b>");t=t.substring(i+s.length);}R.writeEscaped(t);}}S.prototype.render=function(R,i,s,b){var c=R;var t=i.getText();var d=i.getIcon();var e="";var f=i.getDescription();var p=i.getParent();var g=p&&p.getSuggestionItems&&p.getSuggestionItems()||[];var h=g.indexOf(i);s=s||"";c.write("<li");c.writeElementData(i);c.addClass("sapMSuLI");c.addClass("sapMSelectListItem");c.addClass("sapMSelectListItemBase");c.addClass("sapMSelectListItemBaseHoverable");c.writeAttribute("role","option");c.writeAttribute("aria-posinset",h+1);c.writeAttribute("aria-setsize",g.length);if(b){c.addClass("sapMSelectListItemBaseSelected");c.writeAttribute("aria-selected","true");if(p){p.$("I").attr("aria-activedecendant",i.getId());}}c.writeClasses();c.write(">");if(d){c.writeIcon(d,"sapMSuggestionItemIcon",{});}if(t){r(c,t,s);e=" ";}if(f){c.write(e+"<i>");r(c,f,s);c.write("</i>");}c.write("</li>");};S.prototype.getSuggestionText=function(){return this.getText();};S.prototype.invalidate=function(){return undefined;};return S;});
sap.ui.predefine('sap/m/SuggestionsList',['./library','sap/ui/core/Control'],function(l,C){"use strict";var S=C.extend("sap.m.SuggestionsList",{metadata:{library:"sap.m",properties:{width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:"auto"},maxWidth:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:"100%"}},associations:{parentInput:{type:"sap.ui.core.Control",multiple:false,singularName:"parentInput"},ariaLabelledBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaLabelledBy"}}},renderer:{render:function(r,L){r.write("<ul");r.writeControlData(L);r.addClass("sapMSuL");r.addClass("sapMSelectList");r.writeClasses();r.writeAccessibilityState({role:"listbox","multiselectable":"false"});r.addStyle("width",L.getWidth());r.addStyle("max-width",L.getMaxWidth());r.writeStyles();r.write(">");this.renderItems(r,L);r.write("</ul>");},renderItems:function(r,L){var s;var a=L.getSelectedItemIndex();try{s=sap.ui.getCore().byId(L.getParentInput()).getValue();}catch(e){s="";}L.getItems().forEach(function(i,b){i.render(r,i,s,b===a);});}}});S.prototype.init=function(){this._iSelectedItem=-1;};S.prototype.onBeforeRendering=function(){this.$().off();};S.prototype.onAfterRendering=function(){this.$().on("mousedown",function(e){e.preventDefault();});};S.prototype.getItems=function(){try{return sap.ui.getCore().byId(this.getParentInput()).getSuggestionItems();}catch(e){return[];}};S.prototype.update=function(){var r;var d=this.getDomRef();if(d){r=sap.ui.getCore().createRenderManager();this.getRenderer().renderItems(r,this);r.flush(d);r.destroy();}return this;};S.prototype.selectByIndex=function(i,r){var a=this.getItems();var b;var c;var d;var p=sap.ui.getCore().byId(this.getParentInput());var e="aria-activedecendant";if(isNaN(parseInt(i))){i=-1;r=false;}if((!a.length)||(r&&i===0)||(!r&&i<0)){b=-1;}else{if(r){if(this._iSelectedItem<0){b=(i<0?a.length:-1)+i;}else{b=this._iSelectedItem+i;}}else{b=i;}b=Math.min(Math.max(b,0),a.length-1);}this._iSelectedItem=b;if(a.length){this.$().children("li").removeClass("sapMSelectListItemBaseSelected").attr("aria-selected","false").eq(b).addClass("sapMSelectListItemBaseSelected").attr("aria-selected","true");}if(p){if(b>=0){c=p.getSuggestionItems()[b];if(c){d=c.getId();this._scrollToItem(c);}}if(d){p.$("I").attr(e,d);}else{p.$("I").removeAttr(e);}}return this._iSelectedItem;};S.prototype._scrollToItem=function(i){var p=this.getParent().$().find(".sapMPopoverCont")[0],P,I,t,b;if(!i||!i.getDomRef()||!p){return;}I=i.getDomRef().getBoundingClientRect();P=p.getBoundingClientRect();t=P.top-I.top;b=I.bottom-P.bottom;if(t>0){p.scrollTop=Math.max(p.scrollTop-t,0);}else if(b>0){p.scrollTop=p.scrollTop+b;}};S.prototype.getSelectedItemIndex=function(){return this._iSelectedItem;};return S;});
sap.ui.predefine('sap/m/SuggestionsPopover',['sap/ui/Device','sap/ui/base/EventProvider','sap/ui/core/InvisibleText','sap/ui/core/ListItem','sap/ui/core/ResizeHandler','sap/ui/core/ValueStateSupport','sap/m/library','sap/ui/core/library','sap/m/Bar','sap/m/Toolbar','sap/m/Button','sap/m/ToggleButton','sap/m/ColumnListItem','sap/m/GroupHeaderListItem','sap/ui/core/SeparatorItem','sap/m/Dialog','sap/m/DisplayListItem','sap/m/List','sap/m/Popover','sap/m/StandardListItem','sap/m/Table','sap/m/Title','sap/m/Text','sap/ui/core/IconPool',"sap/base/security/encodeXML","sap/ui/events/KeyCodes"],function(D,E,I,L,R,V,l,c,B,T,a,b,C,G,S,d,e,f,P,g,h,j,k,m,n,K){"use strict";var o=l.ListMode;var p=l.PlacementType;var q=l.ListType;var r=l.ListSeparators;var s="sapMSuggestionsPopover";var t=c.ValueState;var u=E.extend("sap.m.SuggestionsPopover",{constructor:function(i){E.apply(this,arguments);this._oInput=i;this._bUseDialog=D.system.phone;this._iPopupListSelectedIndex=-1;this._sPopoverContentWidth=null;this._bEnableHighlighting=true;this._bIsInputIncrementalType=false;this._bAutocompleteEnabled=false;this._sTypedInValue='';this._sOldValueState=t.None;this._oInput.addEventDelegate({onsapup:function(v){if(!this._oInput.isComposingCharacter()){this._onsaparrowkey(v,"up",1);}},onsapdown:function(v){if(!this._oInput.isComposingCharacter()){this._onsaparrowkey(v,"down",1);}},onsappageup:function(v){this._onsaparrowkey(v,"up",5);},onsappagedown:function(v){this._onsaparrowkey(v,"down",5);},onsaphome:function(v){if(this._oList){this._onsaparrowkey(v,"up",this._oList.getItems().length);}},onsapend:function(v){if(this._oList){this._onsaparrowkey(v,"down",this._oList.getItems().length);}},onsapright:this._onsapright},this);},destroy:function(){if(this._oPopover){this._oPopover.destroy();this._oPopover=null;}if(this._oList){this._oList.destroy();this._oList=null;}if(this._oSuggestionTable){this._oSuggestionTable.destroy();this._oSuggestionTable=null;}this._oProposedItem=null;this._oInputDelegate=null;}});u.M_EVENTS={SELECTION_CHANGE:"selectionChange"};u._wordStartsWithValue=function(i,v){var w;if(!i||!v||typeof i!=="string"||typeof v!=="string"){return false;}while(i){if(typeof v==="string"&&v!==""&&i.toLowerCase().indexOf(v.toLowerCase())===0){return true;}w=i.indexOf(' ');if(w===-1){break;}i=i.substring(w+1);}return false;};u._DEFAULTFILTER=function(v,i){if(i instanceof L&&u._wordStartsWithValue(i.getAdditionalText(),v)){return true;}return u._wordStartsWithValue(i.getText(),v);};u._DEFAULTFILTER_TABULAR=function(v,w){var x=w.getCells(),i=0;for(;i<x.length;i++){if(x[i].getText){if(u._wordStartsWithValue(x[i].getText(),v)){return true;}}}return false;};u._DEFAULTRESULT_TABULAR=function(v){var w=v.getCells(),i=0;for(;i<w.length;i++){if(w[i].getText){return w[i].getText();}}return"";};u.prototype.isOpen=function(){return this._oPopover&&this._oPopover.isOpen();};u.prototype.setInputLabels=function(i){this._fnInputLabels=i;};u.prototype._getInputLabels=function(){return this._fnInputLabels();};u.prototype.updatePickerHeaderTitle=function(){var i=sap.ui.getCore().getLibraryResourceBundle("sap.m"),v=this.getPickerTitle(),w,x;if(!v){return;}x=this._getInputLabels();if(x.length){w=x[0];if(w&&(typeof w.getText==="function")){v.setText(w.getText());}}else{v.setText(i.getText("COMBOBOX_PICKER_TITLE"));}return v;};u.prototype.getPickerTitle=function(){return this._oPopover.getCustomHeader().getContentMiddle()[0];};u.prototype.getOkButton=function(){var i=this._oPopover&&this._oPopover.getBeginButton();return i||null;};u.prototype.getCancelButton=function(){var i=this._oPopover&&this._oPopover.getCustomHeader()&&this._oPopover.getCustomHeader().getContentRight()[0];return i||null;};u.prototype.getFilterSelectedButton=function(){var i=this._oPopover&&this._oPopover.getSubHeader()&&this._oPopover.getSubHeader().getContent()[1];return i||null;};u.prototype._createFilterSelectedButton=function(){var i=m.getIconURI("multiselect-all");return new b({icon:i});};u.prototype._createSuggestionPopup=function(O){O=O||[];var i=this._oInput,v=this,M=i._oRb;this._oPopover=!this._bUseDialog?(new P(i.getId()+"-popup",{showArrow:false,showHeader:true,placement:p.VerticalPreferredBottom,initialFocus:i,horizontalScrolling:true})):(new d(i.getId()+"-popup",{beginButton:new a(i.getId()+"-popup-closeButton",{text:M.getText("SUGGESTIONSPOPOVER_CLOSE_BUTTON")}),stretch:true,customHeader:new B(i.getId()+"-popup-header",{contentMiddle:new j(),contentRight:new a({icon:m.getIconURI("decline")})}),subHeader:this.createSubHeaderContent(O),horizontalScrolling:false,initialFocus:this._oPopupInput,endButton:(this._oInput&&this._oInput._getShowMoreButton&&this._oInput._getShowMoreButton()),beforeOpen:function(){v.updatePickerHeaderTitle();},afterClose:function(){i.focus();l.closeKeyboard();}}));this._registerAutocomplete();this._oPopover.addStyleClass(s);this._oPopover.addAriaLabelledBy(I.getStaticId("sap.m","INPUT_AVALIABLE_VALUES"));if(!this._bUseDialog){this._overwritePopover();}if(this._oList){this._oPopover.addContent(this._oList);}};u.prototype.createSubHeaderContent=function(O){var i=[this._oPopupInput];if(O.showSelectedButton){i.push(this._createFilterSelectedButton());}return new T({content:i});};u.prototype._createSuggestionPopupContent=function(i,v){var w=this._oInput;if(!v&&!i){this._oList=new f(w.getId()+"-popup-list",{showNoData:false,mode:o.SingleSelectMaster,rememberSelections:false,width:"100%",showSeparators:r.None,busyIndicatorDelay:0});this._oList.addEventDelegate({onAfterRendering:function(){var z,A;if(!this._bEnableHighlighting){return;}z=this._oList.$().find('.sapMDLILabel, .sapMSLITitleOnly, .sapMDLIValue');A=(this._sTypedInValue||this._oInput.getValue()).toLowerCase();this.highlightSuggestionItems(z,A);}.bind(this)});}else{this._oList=this._getSuggestionsTable();}if(this._oPopover){if(this._bUseDialog){this._oPopover.addAggregation("content",this._oList,true);var x=this._oPopover.$("scrollCont")[0];if(x){var y=sap.ui.getCore().createRenderManager();y.renderControl(this._oList);y.flush(x);y.destroy();}}else{this._oPopover.addContent(this._oList);}}};u.prototype._destroySuggestionPopup=function(){if(this._oPopover){if(this._oList instanceof h){this._oPopover.removeAllContent();}this._oPopover.destroy();this._oPopover=null;}if(this._oList instanceof f){this._oList.destroy();this._oList=null;}this._getInput().removeEventDelegate(this._oInputDelegate,this);};u.prototype._overwritePopover=function(){var i=this._oInput;this._oPopover.open=function(){this.openBy(i,false,true);};this._oPopover.oPopup.setAnimations(function($,v,O){O();},function($,v,w){w();});};u.prototype._resizePopup=function(){var i=this._oInput;if(this._oList&&this._oPopover){if(this._sPopoverContentWidth){this._oPopover.setContentWidth(this._sPopoverContentWidth);}else{this._oPopover.setContentWidth((i.$().outerWidth())+"px");}setTimeout(function(){if(this._oPopover&&this._oPopover.isOpen()&&this._oPopover.$().outerWidth()<i.$().outerWidth()){this._oPopover.setContentWidth((i.$().outerWidth())+"px");}}.bind(this),0);}};u.prototype._registerResize=function(){if(!this._bUseDialog){this._sPopupResizeHandler=R.register(this._oInput,this._resizePopup.bind(this));}};u.prototype._deregisterResize=function(){if(this._sPopupResizeHandler){this._sPopupResizeHandler=R.deregister(this._sPopupResizeHandler);}};u.prototype._onsaparrowkey=function(i,v,w){var x=this._oInput,y,z=x.$("inner");if(i.isMarked()){return;}if(i.isMarked()){return;}if(!x.getEnabled()||!x.getEditable()){return;}if(v!=="up"&&v!=="down"){return;}if(this._bIsInputIncrementalType){i.setMarked();}if(!this._oPopover||!this._oPopover.isOpen()){return;}i.preventDefault();i.stopPropagation();var F=false,A=this._oList,H=A.getItems(),J=this._iPopupListSelectedIndex,N,O=J;if(v==="up"&&J===0){return;}if(v=="down"&&J===H.length-1){return;}var M;if(w>1){if(v=="down"&&J+w>=H.length){v="up";w=1;H[J].setSelected(false);M=J;J=H.length-1;F=true;}else if(v=="up"&&J-w<0){v="down";w=1;H[J].setSelected(false);M=J;J=0;F=true;}}if(J===-1){J=0;if(this._isSuggestionItemSelectable(H[J])){O=J;F=true;}else{v="down";}}if(v==="down"){while(J<H.length-1&&(!F||!this._isSuggestionItemSelectable(H[J]))){H[J].setSelected(false);J=J+w;F=true;w=1;if(M===J){break;}}}else{while(J>0&&(!F||!H[J].getVisible()||!this._isSuggestionItemSelectable(H[J]))){H[J].setSelected(false);J=J-w;F=true;w=1;if(M===J){break;}}}if(!this._isSuggestionItemSelectable(H[J])){if(O>=0){H[O].setSelected(true).updateAccessibilityState();z.attr("aria-activedescendant",H[O].getId());}return;}else{y=H[J];y.setSelected(true).updateAccessibilityState();if(y.isA("sap.m.GroupHeaderListItem")){z.removeAttr("aria-activedescendant");}else{z.attr("aria-activedescendant",H[J].getId());}}if(D.system.desktop){this._scrollToItem(J);}this._oLastSelectedHeader&&this._oLastSelectedHeader.removeStyleClass("sapMInputFocusedHeaderGroup");if(C&&H[J]instanceof C){N=x._getInputValue(x._fnRowResultFilter(H[J]));}else{if(H[J].isA("sap.m.GroupHeaderListItem")){N="";H[J].addStyleClass("sapMInputFocusedHeaderGroup");this._oLastSelectedHeader=H[J];}else if(H[J]instanceof e){N=x._getInputValue(H[J].getLabel());}else{N=x._getInputValue(H[J].getTitle());}}this._iPopupListSelectedIndex=J;this._bSuggestionItemChanged=true;this.fireEvent(u.M_EVENTS.SELECTION_CHANGE,{newValue:N});};u.prototype._isSuggestionItemSelectable=function(i){var v=this._hasTabularSuggestions()||i.getType()!==q.Inactive||i.isA("sap.m.GroupHeaderListItem");return i.getVisible()&&v;};u.prototype._hasTabularSuggestions=function(){if(!this._oSuggestionTable){return;}return!!(this._oSuggestionTable.getColumns()&&this._oSuggestionTable.getColumns().length);};u.prototype.setOkPressHandler=function(H){var O=this.getOkButton();O&&O.attachPress(H);return O;};u.prototype.setCancelPressHandler=function(H){var i=this.getCancelButton();i&&i.attachPress(H);};u.prototype.setShowSelectedPressHandler=function(H){var F=this.getFilterSelectedButton();F&&F.attachPress(H);return F;};u.prototype._scrollToItem=function(i){var v=this._oPopover,w=this._oList,x,y,z,A,F;if(!(v instanceof P)||!w){return;}x=v.getScrollDelegate();if(!x){return;}var H=w.getItems()[i],J=H&&H.getDomRef();if(!J){return;}y=v.getDomRef("cont").getBoundingClientRect();z=J.getBoundingClientRect();A=y.top-z.top;F=z.bottom-y.bottom;if(A>0){x.scrollTo(x._scrollX,Math.max(x._scrollY-A,0));}else if(F>0){x.scrollTo(x._scrollX,x._scrollY+F);}};u.prototype._getSuggestionsTable=function(){var i=this._oInput;if(i._bIsBeingDestroyed){return this._oSuggestionTable;}if(!this._oSuggestionTable){this._oSuggestionTable=new h(i.getId()+"-popup-table",{mode:o.SingleSelectMaster,showNoData:false,showSeparators:r.None,width:"100%",enableBusyIndicator:false,rememberSelections:false,itemPress:function(v){if(D.system.desktop){i.focus();}this._bSuggestionItemTapped=true;var w=v.getParameter("listItem");i.setSelectionRow(w,true);}.bind(this),sticky:[l.Sticky.ColumnHeaders]});this._oSuggestionTable.addEventDelegate({onAfterRendering:function(){var v,w;if(!i.getEnableSuggestionsHighlighting()){return;}v=this._oSuggestionTable.$().find('tbody .sapMLabel');w=(this._sTypedInValue||this._oInput.getValue()).toLowerCase();this.highlightSuggestionItems(v,w);}.bind(this)});if(this._bUseDialog){this._oSuggestionTable.addStyleClass("sapMInputSuggestionTableHidden");}this._oSuggestionTable.updateItems=function(){h.prototype.updateItems.apply(i,arguments);i._refreshItemsDelayed();return i;};}i._oSuggestionTable=this._oSuggestionTable;return this._oSuggestionTable;};u.prototype._createHighlightedText=function(i,v,w){var x,y,z,N,A,F=i?i.innerText:"",H="";if(!u._wordStartsWithValue(F,v)){return n(F);}v=v.toLowerCase();z=v.length;while(u._wordStartsWithValue(F,v)){x=F.toLowerCase();y=x.indexOf(v);y=(y>0)?x.indexOf(' '+v)+1:y;A=F.substring(0,y);F=F.substring(y);H+=n(A);A=F.substring(0,z);F=F.substring(z);H+='<span class="sapMInputHighlight">'+n(A)+'</span>';N=F.indexOf(" ");N=N===-1?F.length:N;A=F.substring(0,N);F=F.substring(N);H+=n(A);if(!w){break;}}if(F){H+=n(F);}return H;};u.prototype.highlightSuggestionItems=function(v,w,W){var i;if(!this._bEnableHighlighting||(!v&&!v.length)||v.length>200){return;}for(i=0;i<v.length;i++){v[i].innerHTML=this._createHighlightedText(v[i],w,W);}};u.prototype._registerAutocomplete=function(){var i=this._oPopover,U=this._getInput(),v=this._bUseDialog;if(v){i.addEventDelegate({ontap:function(){if(!this._bSuggestionItemTapped&&this._sProposedItemText){U.setValue(this._sProposedItemText);this._sProposedItemText=null;}}},this);}else{i.attachAfterOpen(this._handleTypeAhead,this);}i.attachAfterOpen(this._setSelectedSuggestionItem,this);i.attachAfterClose(this._finalizeAutocomplete,this);this._oInputDelegate={onkeydown:function(w){this._bDoTypeAhead=!D.os.android&&this._bAutocompleteEnabled&&(w.which!==K.BACKSPACE)&&(w.which!==K.DELETE);},oninput:this._handleTypeAhead};U.addEventDelegate(this._oInputDelegate,this);};u.prototype._handleTypeAhead=function(){var v=this._getInput(),w=v.getValue();this._oProposedItem=null;this._sProposedItemText=null;this._sTypedInValue=w;if(!this._bDoTypeAhead||w===""){return;}if(!this._oPopover.isOpen()||w.length<this._oInput.getStartSuggestion()){return;}if(document.activeElement!==v.getFocusDomRef()){return;}var x=w.toLowerCase(),y=this._hasTabularSuggestions(),z=y?this._oInput.getSuggestionRows():this._oInput.getSuggestionItems(),A,N,F,i;z=z.filter(function(H){return!(H.isA("sap.ui.core.SeparatorItem")||H.isA("sap.m.GroupHeaderListItem"));});A=z.length;for(i=0;i<A;i++){F=y?this._oInput._fnRowResultFilter(z[i]):z[i].getText();if(F.toLowerCase().indexOf(x)===0){this._oProposedItem=z[i];N=F;break;}}this._sProposedItemText=N;if(N){N=this._formatTypedAheadValue(N);if(!v.isComposingCharacter()){v.updateDomValue(N);}if(D.system.desktop){v.selectText(w.length,N.length);}else{setTimeout(function(){v.selectText(w.length,N.length);},0);}}};u.prototype._setSelectedSuggestionItem=function(){var F;if(this._oList){F=this._oList.getItems();for(var i=0;i<F.length;i++){if((F[i]._oItem||F[i])===this._oProposedItem){F[i].setSelected(true);break;}}}};u.prototype._getInput=function(){return this._bUseDialog?this._oPopupInput:this._oInput;};u.prototype._finalizeAutocomplete=function(){if(this._oInput.isComposingCharacter()){return;}if(!this._bAutocompleteEnabled){return;}if(!this._bSuggestionItemTapped&&!this._bSuggestionItemChanged&&this._oProposedItem){if(this._hasTabularSuggestions()){this._oInput.setSelectionRow(this._oProposedItem,true);}else{this._oInput.setSelectionItem(this._oProposedItem,true);}}if(this._oProposedItem&&document.activeElement===this._oInput.getFocusDomRef()){var i=this._oInput.getValue().length;this._oInput.selectText(i,i);}};u.prototype._resetTypeAhead=function(){this._oProposedItem=null;this._sProposedItemText=null;this._sTypedInValue='';this._bSuggestionItemTapped=false;this._bSuggestionItemChanged=false;};u.prototype._formatTypedAheadValue=function(N){return this._sTypedInValue.concat(N.substring(this._sTypedInValue.length,N.length));};u.prototype._onsapright=function(){var i=this._oInput,v=i.getValue();if(!this._bAutocompleteEnabled){return;}if(this._sTypedInValue!==v){this._sTypedInValue=v;i.fireLiveChange({value:v,newValue:v});}};u.prototype.updateValueState=function(v,i,w){var x=w&&v!==t.None;this._showValueStateText(x);i=i||V.getAdditionalText(v);this._setValueStateText(i);this._alignValueStateStyles(v);return this;};u.prototype._getPickerValueStateText=function(){var i=this._oPopover;if(!this._oPickerValueStateText){this._oPickerValueStateText=new k({width:"100%"});i.insertContent(this._oPickerValueStateText,0);}return this._oPickerValueStateText;};u.prototype._showValueStateText=function(i){var v;if(this._bUseDialog){if(this._oPickerValueStateText){this._oPickerValueStateText.setVisible(i);}}else{v=this._getPickerCustomHeader();if(v){v.setVisible(i);}}};u.prototype._setValueStateText=function(i){var H;if(this._bUseDialog){this._oPickerValueStateText=this._getPickerValueStateText();this._oPickerValueStateText.setText(i);}else{H=this._getPickerCustomHeader();if(H){H.getContentLeft()[0].setText(i);}}};u.prototype._getPickerCustomHeader=function(){var i,v,w=this._oPopover,x=s+"Title";if(!w){return null;}if(w.getCustomHeader()){return w.getCustomHeader();}i=new j({textAlign:"Left"}).addStyleClass(x);v=new B({visible:false,contentLeft:i});w.setCustomHeader(v);return v;};u.prototype._alignValueStateStyles=function(v){var i=s+"ValueState",O=s+this._sOldValueState+"State",w=s+v+"State",x;if(this._bUseDialog&&this._oPickerValueStateText){this._oPickerValueStateText.addStyleClass(i);this._oPickerValueStateText.removeStyleClass(O);this._oPickerValueStateText.addStyleClass(w);}else{x=this._getPickerCustomHeader();if(x){x.addStyleClass(i);x.removeStyleClass(O);x.addStyleClass(w);}}this._sOldValueState=v;};return u;});
sap.ui.predefine('sap/m/Support',['sap/ui/thirdparty/jquery','sap/ui/Device',"sap/base/security/encodeXML","sap/base/util/isPlainObject"],function(q,D,e,a){"use strict";var S=(function($,d){var b,s,c,l,t=0,m=3000,h=2,f=3,r=1,o={},g={btnStart:"startE2ETrace",selLevel:"logLevelE2ETrace",taContent:"outputE2ETrace",infoText:"Ent-to-End trace is running in the background."+" Navigate to the URL that you would like to trace."+" The result of the trace will be shown in dialog after the trace is terminated.",infoDuration:5000},j={dvLoadedLibs:"LoadedLibs",dvLoadedModules:"LoadedModules"},w;function k(i,v,E,F,G){i.push("<tr class='sapUiSelectable'><td class='sapUiSupportTechInfoBorder sapUiSelectable'><label class='sapUiSupportLabel sapUiSelectable'>",e(F),"</label><br>");var H=G;if(q.isFunction(G)){H=G(i)||"";}i.push(e(H));i.push("</td></tr>");}function n(E,F,G,H,I){k(E,F,G,H,function(E){E.push("<table class='sapMSupportTable' border='0' cellspacing='5' cellpadding='5' width='100%'><tbody>");q.each(I,function(i,v){var J="";if(v!==undefined&&v!==null){if(typeof(v)=="string"||typeof(v)=="boolean"||(Array.isArray(v)&&v.length==1)){J=v;}else if((Array.isArray(v)||a(v))&&window.JSON){J=window.JSON.stringify(v);}}k(E,false,false,i,""+J);});E.push("</tbody></table>");});}function p(F){o={version:F.commonInformation.version,build:F.commonInformation.buildTime,change:F.commonInformation.lastChange,useragent:F.commonInformation.userAgent,docmode:F.commonInformation.documentMode,debug:F.commonInformation.debugMode,bootconfig:F.configurationBootstrap,config:F.configurationComputed,loadedlibs:F.loadedLibraries,modules:F.loadedModules,uriparams:F.URLParameters,appurl:F.commonInformation.applicationHREF};var E=["<table class='sapUiSelectable' border='0' cellspacing='5' cellpadding='5' width='100%'><tbody class='sapUiSelectable'>"];k(E,true,true,"SAPUI5 Version",function(i){i.push(o.version," (built at ",o.build,", last change ",o.change,")");});k(E,true,true,"User Agent",function(i){i.push(o.useragent,(o.docmode?", Document Mode '"+o.docmode+"'":""));});k(E,true,true,"Debug Sources",function(i){i.push((o.debug?"ON":"OFF"));});k(E,true,true,"Application",o.appurl);n(E,true,true,"Configuration (bootstrap)",o.bootconfig);n(E,true,true,"Configuration (computed)",o.config);n(E,true,true,"URI Parameters",o.uriparams);k(E,true,true,"End-to-End Trace",function(i){i.push("<label class='sapUiSupportLabel'>Trace Level:</label>","<select id='"+u(g.selLevel)+"' class='sapUiSupportTxtFld' >","<option value='low'>LOW</option>","<option value='medium' selected>MEDIUM</option>","<option value='high'>HIGH</option>","</select>");i.push("<button id='"+u(g.btnStart)+"' class='sapUiSupportBtn'>Start</button>");i.push("<div class='sapUiSupportDiv'>");i.push("<label class='sapUiSupportLabel'>XML Output:</label>");i.push("<textarea id='"+u(g.taContent)+"' class='sapUiSupportTxtArea sapUiSelectable' readonly ></textarea>");i.push("</div>");});k(E,true,true,"Loaded Libraries",function(G){G.push("<ul class='sapUiSelectable'>");q.each(o.loadedlibs,function(i,v){if(v&&(typeof(v)==="string"||typeof(v)==="boolean")){G.push("<li class='sapUiSelectable'>",i+" "+v,"</li>");}});G.push("</ul>");});k(E,true,true,"Loaded Modules",function(i){i.push("<div class='sapUiSupportDiv sapUiSelectable' id='"+u(j.dvLoadedModules)+"'></div>");});E.push("</tbody></table>");return new sap.ui.core.HTML({content:E.join("").replace(/\{/g,"&#123;").replace(/\}/g,"&#125;")});}function u(i){return b.getId()+"-"+i;}function x(v,E){var F="Modules";var G=0,H=[];G=E.length;q.each(E.sort(),function(i,J){H.push(new sap.m.Label({text:" - "+J}).addStyleClass("sapUiSupportPnlLbl"));});var I=new sap.m.Panel({expandable:true,expanded:false,headerToolbar:new sap.m.Toolbar({design:sap.m.ToolbarDesign.Transparent,content:[new sap.m.Label({text:F+" ("+G+")",design:sap.m.LabelDesign.Bold})]}),content:H});I.placeAt(u(v),"only");}function y(){if(b.traceXml){b.$(g.taContent).text(b.traceXml);}if(b.e2eLogLevel){b.$(g.selLevel).val(b.e2eLogLevel);}x(j.dvLoadedModules,o.modules);b.$(g.btnStart).one("tap",function(){b.e2eLogLevel=b.$(g.selLevel).val();b.$(g.btnStart).addClass("sapUiSupportRunningTrace").text("Running...");b.traceXml="";b.$(g.taContent).text("");sap.ui.core.support.trace.E2eTraceLib.start(b.e2eLogLevel,function(i){b.traceXml=i;});sap.m.MessageToast.show(g.infoText,{duration:g.infoDuration});b.close();});}function z(){if(b){return b;}var i=sap.ui.requireSync("sap/m/Dialog");var v=sap.ui.requireSync("sap/m/Button");sap.ui.requireSync("sap/ui/core/HTML");sap.ui.requireSync("sap/m/MessageToast");sap.ui.requireSync("sap/ui/core/support/trace/E2eTraceLib");b=new i({title:"Technical Information",horizontalScrolling:true,verticalScrolling:true,stretch:D.system.phone,buttons:[new v({text:"Close",press:function(){b.close();}})],afterOpen:function(){S.off();},afterClose:function(){S.on();}}).addStyleClass("sapMSupport");return b;}function A(E){if(E.touches){var i=E.touches.length;if(D.browser.mobile&&(D.browser.name===D.browser.BROWSER.INTERNET_EXPLORER||D.browser.name===D.browser.BROWSER.EDGE)){w=i;}if(i>f){d.removeEventListener('touchend',B);return;}switch(i){case h:s=Date.now();d.addEventListener('touchend',B);break;case f:if(s){t=Date.now()-s;l=E.touches[i-1].identifier;}break;}}}function B(E){var i=D.browser.mobile&&(D.browser.name===D.browser.BROWSER.INTERNET_EXPLORER||D.browser.name===D.browser.BROWSER.EDGE)&&w==f;d.removeEventListener('touchend',B);if(t>m&&(E.touches.length===h||i)&&E.changedTouches.length===r&&E.changedTouches[0].identifier===l){t=0;s=0;C();}}function C(){sap.ui.require(['sap/ui/core/support/ToolsAPI'],function(T){var i=z();i.removeAllAggregation("content");i.addAggregation("content",p(T.getFrameworkInformation()));b.open();y();});}return({on:function(){if(!c&&"ontouchstart"in d){c=true;d.addEventListener("touchstart",A);}return this;},off:function(){if(c){c=false;d.removeEventListener("touchstart",A);}return this;},open:function(){C();},isEventRegistered:function(){return c;}}).on();}(q,document));return S;},true);
sap.ui.predefine('sap/m/Table',["sap/ui/Device","./library","./ListBase","./ListItemBase","./CheckBox","./TableRenderer","sap/base/Log","sap/ui/core/ResizeHandler","sap/ui/core/util/PasteHelper","sap/ui/events/KeyCodes","sap/ui/thirdparty/jquery","sap/m/ListBaseRenderer","sap/ui/dom/jquery/Selectors"],function(D,l,L,a,C,T,b,R,P,K,q,c){"use strict";var d=l.ListKeyboardMode;var e=l.ListGrowingDirection;var B=l.BackgroundDesign;var f=l.PopinLayout;var S=l.ScreenSizes;var g=L.extend("sap.m.Table",{metadata:{library:"sap.m",properties:{backgroundDesign:{type:"sap.m.BackgroundDesign",group:"Appearance",defaultValue:B.Translucent},fixedLayout:{type:"boolean",group:"Behavior",defaultValue:true},showOverlay:{type:"boolean",group:"Appearance",defaultValue:false},alternateRowColors:{type:"boolean",group:"Appearance",defaultValue:false},popinLayout:{type:"sap.m.PopinLayout",group:"Appearance",defaultValue:f.Block},contextualWidth:{type:"string",group:"Behavior",defaultValue:"Inherit"}},aggregations:{columns:{type:"sap.m.Column",multiple:true,singularName:"column",dnd:{draggable:true,droppable:true,layout:"Horizontal"}}},events:{beforeOpenContextMenu:{allowPreventDefault:true,parameters:{listItem:{type:"sap.m.ColumnListItem"},column:{type:"sap.m.Column"}}},paste:{allowPreventDefault:true,parameters:{data:{type:"string[][]"}}}},designtime:"sap/m/designtime/Table.designtime"}});g.prototype.sNavItemClass="sapMListTblRow";g.prototype.init=function(){this._iItemNeedsColumn=0;L.prototype.init.call(this);};g.prototype.setContextualWidth=function(w){var o=this.getContextualWidth();if(w==o){return this;}if(typeof w==="number"){this._sContextualWidth=w+"px";this._sContextualWidth=this._sContextualWidth.toLowerCase();}else{var h=w.toLowerCase(),W=S[h];if(W){this._sContextualWidth=W+"px";}else{this._sContextualWidth=w;}}var i=this._validateContextualWidth(this._sContextualWidth);this._iLastContextualWidth=o;if(i){this.setProperty("contextualWidth",w);}else{return this;}if(this._iLastContextualWidth.toLowerCase()==="auto"){this._deregisterResizeHandler();}if(this._sContextualWidth.toLowerCase()==="auto"){this._registerResizeHandler();}else{this._applyContextualWidth(this._sContextualWidth);}return this;};g.prototype._validateContextualWidth=function(w){if(!w){return;}if(typeof w!="string"){throw new Error('expected string for property "contextualWidth" of '+this);}if(w.toLowerCase()==="auto"||w.toLowerCase()==="inherit"){return true;}if(!/^\d+(\.\d+)?(px)$/i.test(w)){throw new Error('invalid CSS size("px", "Auto", "auto", Inherit", "inherit" required) or sap.m.ScreenSize enumeration for property "contextualWidth" of '+this);}return true;};g.prototype._applyContextualWidth=function(w){w=parseFloat(w)||0;if(w){this._applyContextualSettings({contextualWidth:w});}};g.prototype._onResize=function(p){this._applyContextualWidth(p.size.width);};g.prototype._registerResizeHandler=function(){if(!this._iResizeHandlerId){var t=this;window.requestAnimationFrame(function(){t._iResizeHandlerId=R.register(t,t._onResize.bind(t));});}};g.prototype._deregisterResizeHandler=function(){if(this._iResizeHandlerId){R.deregister(this._iResizeHandlerId);this._iResizeHandlerId=null;}};g.prototype.onBeforeRendering=function(){L.prototype.onBeforeRendering.call(this);this._applyContextualWidth(this._sContextualWidth);this._ensureColumnsMedia();this._notifyColumns("ItemsRemoved");};g.prototype._ensureColumnsMedia=function(){this.getColumns().forEach(function(o){if(o._bShouldAddMedia){o._addMedia();}});};g.prototype.onAfterRendering=function(){L.prototype.onAfterRendering.call(this);this.updateSelectAllCheckbox();if(this.getFixedLayout()){this._forceStyleChange();}this._renderOverlay();};g.prototype._renderOverlay=function(){var $=this.$(),h=$.find(".sapMTableOverlay"),s=this.getShowOverlay();if(s&&h.length===0){h=q("<div>").addClass("sapUiOverlay sapMTableOverlay").css("z-index","1");$.append(h);}else if(!s){h.remove();}};g.prototype.setShowOverlay=function(s){this.setProperty("showOverlay",s,true);this._renderOverlay();return this;};g.prototype.exit=function(){L.prototype.exit.call(this);if(this._selectAllCheckBox){this._selectAllCheckBox.destroy();this._selectAllCheckBox=null;}};g.prototype.destroyItems=function(){this._notifyColumns("ItemsRemoved");return L.prototype.destroyItems.apply(this,arguments);};g.prototype.removeAllItems=function(){this._notifyColumns("ItemsRemoved");return L.prototype.removeAllItems.apply(this,arguments);};g.prototype.removeSelections=function(){L.prototype.removeSelections.apply(this,arguments);this.updateSelectAllCheckbox();return this;};g.prototype.selectAll=function(){L.prototype.selectAll.apply(this,arguments);this.updateSelectAllCheckbox();return this;};g.prototype.getColumns=function(s){var h=this.getAggregation("columns",[]);if(s){h.sort(function(i,j){return i.getOrder()-j.getOrder();});}return h;};g.prototype.onAfterPageLoaded=function(){this.updateSelectAllCheckbox();if(this.getAlternateRowColors()){var $=this.$("tblBody").removeClass();$.addClass(this._getAlternateRowColorsClass());}L.prototype.onAfterPageLoaded.apply(this,arguments);};g.prototype.shouldRenderItems=function(){var h=this.getColumns().some(function(o){return o.getVisible();});if(!h){b.warning("No visible columns found in "+this);}return h;};g.prototype.onItemTypeColumnChange=function(i,n){this._iItemNeedsColumn+=(n?1:-1);if(this._iItemNeedsColumn==1&&n){this._setTypeColumnVisibility(true);}else if(this._iItemNeedsColumn==0){this._setTypeColumnVisibility(false);}};g.prototype.onItemSelectedChange=function(i,s){L.prototype.onItemSelectedChange.apply(this,arguments);setTimeout(function(){this.updateSelectAllCheckbox();}.bind(this),0);};g.prototype.getTableDomRef=function(){return this.getDomRef("listUl");};g.prototype.getItemsContainerDomRef=function(){return this.getDomRef("tblBody");};g.prototype.setNavigationItems=function(i){var h=this.$("tblHeader");var F=this.$("tblFooter");var r=this.$("tblBody").children(".sapMLIB");var I=h.add(r).add(F).get();i.setItemDomRefs(I);if(i.getFocusedIndex()==-1){if(this.getGrowing()&&this.getGrowingDirection()==e.Upwards){i.setFocusedIndex(I.length-1);}else{i.setFocusedIndex(h[0]?1:0);}}};g.prototype.checkGrowingFromScratch=function(){if(this.hasPopin()){return false;}return this.getColumns().some(function(o){return o.getVisible()&&o.getMergeDuplicates();});};g.prototype.onColumnPress=function(o){this.bActiveHeaders&&this.fireEvent("columnPress",{column:o});};g.prototype.onColumnResize=function(o){if(!this.hasPopin()&&!this._mutex){var h=this.getColumns().some(function(j){return j.isPopin();});if(!h){o.setDisplayViaMedia(this.getTableDomRef());return;}}this._dirty=this._getMediaContainerWidth()||window.innerWidth;if(!this._mutex){var i=this._getMediaContainerWidth()||window.innerWidth;this._mutex=true;this.rerender();setTimeout(function(){if(this._dirty!=i){this._dirty=0;this.rerender();}this._mutex=false;}.bind(this),200);}};g.prototype.setTableHeaderVisibility=function(h){if(!this.getDomRef()){return;}var $=this.$("tblHeader"),H=!$.hasClass("sapMListTblHeaderNone"),v=$.find(".sapMListTblCell:visible"),i=v.eq(0);if(v.length==1){i.width("");}else{v.each(function(){this.style.width=this.getAttribute("data-sap-width")||"";});}this._colCount=v.length+2+!!c.ModeOrder[this.getMode()];this.$("tblBody").find(".sapMGHLICell").attr("colspan",this.getColSpan());this.$("nodata-text").attr("colspan",this.getColCount());if(this.hasPopin()){this.$("tblBody").find(".sapMListTblSubRowCell").attr("colspan",this.getColSpan());}if(this.getFixedLayout()){this._forceStyleChange();}if(!h&&H){$[0].className="sapMListTblRow sapMListTblHeader";this._headerHidden=false;}else if(h&&!H&&!v.length){$[0].className="sapMListTblHeaderNone";this._headerHidden=true;}};g.prototype._forceStyleChange=function(){if(D.browser.msie||D.browser.edge){var t=this.getTableDomRef().style;t.listStyleType="circle";window.setTimeout(function(){t.listStyleType="none";},0);}};g.prototype._setTypeColumnVisibility=function(v){q(this.getTableDomRef()).toggleClass("sapMListTblHasNav",v);};g.prototype._notifyColumns=function(A,p,v){this.getColumns().forEach(function(o){o["on"+A](p,v);});};g.prototype._getSelectAllCheckbox=function(){return this._selectAllCheckBox||(this._selectAllCheckBox=new C({id:this.getId("sa"),activeHandling:false}).addStyleClass("sapMLIBSelectM").setParent(this,null,true).attachSelect(function(){if(this._selectAllCheckBox.getSelected()){this.selectAll(true);}else{this.removeSelections(false,true);}},this).setTabIndex(-1));};g.prototype.updateSelectAllCheckbox=function(){if(this._selectAllCheckBox&&this.getMode()==="MultiSelect"){var i=this.getItems(),s=this.getSelectedItems().length,h=i.filter(function(I){return I.isSelectable();}).length;this._selectAllCheckBox.setSelected(i.length>0&&s==h);}};g.prototype.enhanceAccessibilityState=function(E,A){if(E==this._selectAllCheckBox){var o=sap.ui.getCore().getLibraryResourceBundle("sap.m");A.label=o.getText("TABLE_CHECKBOX_SELECT_ALL");}};g.prototype.getColSpan=function(){return(this._colCount||1)-1;};g.prototype.getColCount=function(){return(this._colCount||0);};g.prototype.hasPopin=function(){return!!this._hasPopin;};g.prototype.isHeaderRowEvent=function(E){var h=this.$("tblHeader");return!!q(E.target).closest(h,this.getTableDomRef()).length;};g.prototype.isFooterRowEvent=function(E){var F=this.$("tblFooter");return!!q(E.target).closest(F,this.getTableDomRef()).length;};g.prototype.getAccessibilityType=function(){return sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_TABLE");};g.prototype._setHeaderAnnouncement=function(){var o=sap.ui.getCore().getLibraryResourceBundle("sap.m"),A=o.getText("ACC_CTR_TYPE_HEADER_ROW")+" ";if(this.isAllSelectableSelected()){A+=o.getText("LIST_ALL_SELECTED");}this.getColumns(true).forEach(function(h,i){if(!h.getVisible()){return;}var H=h.getHeader();if(H&&H.getVisible()){A+=a.getAccessibilityText(H)+" ";}});this.updateInvisibleText(A);};g.prototype._setFooterAnnouncement=function(){var A=sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_FOOTER_ROW")+" ";this.getColumns(true).forEach(function(o,i){if(!o.getVisible()){return;}var F=o.getFooter();if(F&&F.getVisible()){var h=o.getHeader();if(h&&h.getVisible()){A+=a.getAccessibilityText(h)+" ";}A+=a.getAccessibilityText(F)+" ";}});this.updateInvisibleText(A);};g.prototype.onsapspace=function(E){if(E.isMarked()){return;}if(E.target.id==this.getId("tblHeader")){E.preventDefault();if(this._selectAllCheckBox){this._selectAllCheckBox.setSelected(!this._selectAllCheckBox.getSelected()).fireSelect();E.setMarked();}}};g.prototype.onsaptabnext=function(E){if(E.isMarked()||this.getKeyboardMode()==d.Edit){return;}var r=q();if(E.target.id==this.getId("nodata")){r=this.$("nodata");}else if(this.isHeaderRowEvent(E)){r=this.$("tblHeader");}else if(this.isFooterRowEvent(E)){r=this.$("tblFooter");}var o=r.find(":sapTabbable").get(-1)||r[0];if(E.target===o){this.forwardTab(true);E.setMarked();}};g.prototype.onsaptabprevious=function(E){if(E.isMarked()||this.getKeyboardMode()==d.Edit){return;}var t=E.target.id;if(t==this.getId("nodata")||t==this.getId("tblHeader")||t==this.getId("tblFooter")){this.forwardTab(false);}else if(t==this.getId("trigger")){this.focusPrevious();E.preventDefault();}};g.prototype.onfocusin=function(E){var t=E.target;if(t.id===this.getId("tblHeader")){this._setHeaderAnnouncement();}else if(t.id===this.getId("tblFooter")){this._setFooterAnnouncement();}if(this._bThemeChanged){this._bThemeChanged=false;this._forceStyleChange();}L.prototype.onfocusin.call(this,E);};g.prototype.onThemeChanged=function(){L.prototype.onThemeChanged.call(this);this._bThemeChanged=true;};g.prototype._getAlternateRowColorsClass=function(){if(this.isGrouped()){return"sapMListTblAlternateRowColorsGrouped";}if(this.hasPopin()){return"sapMListTblAlternateRowColorsPopin";}return"sapMListTblAlternateRowColors";};g.prototype.onpaste=function(E){if(E.isMarked()||(/^(input|textarea)$/i.test(E.target.tagName))){return;}var h=P.getPastedDataAs2DArray(E.originalEvent);if(!h||h.length===0||h[0].length===0){return;}this.firePaste({data:h});};g.prototype.onkeydown=function(E){L.prototype.onkeydown.apply(this,arguments);if(D.browser.msie&&E.ctrlKey&&E.which===K.V){this.onpaste(E);}};g.prototype.ondragenter=function(E){var o=E.dragSession;if(!o||!o.getDropControl()||!o.getDropControl().isA("sap.m.Column")){return;}o.setIndicatorConfig({height:this.getTableDomRef().clientHeight});};return g;});
sap.ui.predefine('sap/m/TableRenderer',["sap/ui/core/Renderer","sap/ui/core/Core","./library","./ListBaseRenderer","./ColumnListItemRenderer"],function(R,C,l,L,a){"use strict";var b=l.ListKeyboardMode;var T=R.extend(L);T.apiVersion=2;var r=C.getConfiguration().getRTL();T.columnAlign={left:r?"flex-end":"flex-start",center:"center",right:r?"flex-start":"flex-end"};T.renderColumns=function(c,t,d){var i=0,h=0,e=false,f=false,m=t.getMode(),M=L.ModeOrder[m],g="sapMListTbl",j=t.getId("tbl"),k=(d=="Head")?"th":"td",n="t"+d.toLowerCase(),o=t.getColumns(),A=d=="Head"&&t.bActiveHeaders,p=(d=="Head")&&o.every(function(u){return!u.getHeader()||!u.getHeader().getVisible()||!u.getVisible()||u.isPopin()||u.isHidden();}),q=(d=="Head")&&o.filter(function(u){return u.getVisible()&&!u.isPopin()&&!u.isHidden();}).length==1,s=function(u,v,w){c.openStart(k,v&&j+v);if(k==="th"){c.class("sapMTableTH");c.attr("role",w?"presentation":"columnheader");}else if(w){c.attr("role","presentation");}w&&c.attr("aria-hidden","true");c.class(g+u);c.openEnd();c.close(k);i++;};c.openStart(n).openEnd();c.openStart("tr",t.addNavSection(j+d+"er"));c.attr("tabindex",-1);if(p){c.class("sapMListTblHeaderNone");}else{c.class("sapMListTblRow").class("sapMLIBFocusable").class("sapMListTbl"+d+"er");a.addLegacyOutlineClass.call(a,c);}c.openEnd();s("HighlightCol",d+"Highlight",true);if(M==-1){if(m=="MultiSelect"&&d=="Head"&&!p){c.openStart("th");c.class("sapMTableTH");c.attr("aria-hidden","true");c.class(g+"SelCol");c.attr("role","presentation");c.openEnd();c.renderControl(t._getSelectAllCheckbox());c.close("th");i++;}else{s("SelCol","",true);}}o.forEach(function(u,v){u.setIndex(-1);u.setInitialOrder(v);});t.getColumns(true).forEach(function(u,v){if(!u.getVisible()){return;}if(u.isPopin()){e=true;return;}if(u.isHidden()){h++;}var w=u["get"+d+"er"](),x=q?"":u.getWidth(),y=u.getStyleClass(true),z=u.getCssAlign();if(d=="Head"){c.openStart(k,u);c.class("sapMTableTH");c.attr("role","columnheader");var S=u.getSortIndicator().toLowerCase();S!=="none"&&c.attr("aria-sort",S);}else{c.openStart(k);}y&&c.class(y);c.class(g+"Cell");c.class(g+d+"erCell");c.attr("data-sap-width",u.getWidth());c.style("width",x);if(z&&d!=="Head"){c.style("text-align",z);}c.openEnd();if(w){if(d==="Head"){c.openStart("div");c.class("sapMColumnHeader");if(A){c.attr("tabindex",0);c.attr("role","button");c.attr("aria-haspopup","dialog");c.class("sapMColumnHeaderActive");}if(z){c.style("justify-content",T.columnAlign[z]);c.style("text-align",z);}c.openEnd();c.renderControl(w.addStyleClass("sapMColumnHeaderContent"));c.close("div");}else{c.renderControl(w);}}if(d=="Head"&&!f){f=!!u.getFooter();}c.close(k);u.setIndex(i++);});s("NavCol",d+"Nav",!t._iItemNeedsColumn);if(M==1){s("SelCol","",true);}c.close("tr");c.close(n);if(d=="Head"){t._hasPopin=e;t._colCount=i-h;t._hasFooter=f;t._headerHidden=p;}};T.renderContainerAttributes=function(c,o){c.attr("role","application");c.class("sapMListTblCnt");c.accessibilityState(o,this.getAccessibilityState(o));};T.renderListStartAttributes=function(c,o){c.openStart("table",o.getId("listUl"));c.class("sapMListTbl");c.attr("aria-labelledby",o.getAriaLabelledBy().concat(this.getAriaLabelledBy(o)).join(" "));if(o.getFixedLayout()===false){c.style("table-layout","auto");}if(o._iItemNeedsColumn){c.class("sapMListTblHasNav");}};T.getAriaRole=function(c){return"";};T.getAriaLabelledBy=function(c){var p=L.getAriaLabelledBy.call(this,c);var s=this.getAriaAnnouncement("TABLE_ROLE_DESCRIPTION");if(p&&s){return p+" "+s;}return s||p;};T.renderListHeadAttributes=function(c,o){this.renderColumns(c,o,"Head");c.openStart("tbody",o.addNavSection(o.getId("tblBody")));c.class("sapMListItems");c.class("sapMTableTBody");if(o.getAlternateRowColors()){c.class(o._getAlternateRowColorsClass());}if(o.hasPopin()){c.class("sapMListTblHasPopin");}c.openEnd();};T.renderListEndAttributes=function(c,o){c.close("tbody");o._hasFooter&&this.renderColumns(c,o,"Foot");c.close("table");};T.renderNoData=function(c,o){c.openStart("tr",o.getId("nodata"));c.attr("tabindex",o.getKeyboardMode()==b.Navigation?-1:0);c.class("sapMLIB").class("sapMListTblRow").class("sapMLIBTypeInactive");a.addFocusableClasses.call(a,c);if(!o._headerHidden||(!o.getHeaderText()&&!o.getHeaderToolbar())){c.class("sapMLIBShowSeparator");}c.openEnd();c.openStart("td",o.getId("nodata-text"));c.attr("colspan",o.getColCount());c.class("sapMListTblCell").class("sapMListTblCellNoData");c.openEnd();c.text(o.getNoDataText(true));c.close("td");c.close("tr");};return T;},true);
sap.ui.predefine('sap/m/Text',['./library','sap/ui/core/Core','sap/ui/core/Control','sap/ui/core/library','sap/ui/Device','sap/m/HyphenationSupport',"./TextRenderer"],function(l,C,a,c,D,H,T){"use strict";var b=c.TextAlign;var d=c.TextDirection;var W=l.WrappingType;var e=a.extend("sap.m.Text",{metadata:{interfaces:["sap.ui.core.IShrinkable","sap.ui.core.IFormContent","sap.m.IHyphenation","sap.m.IToolbarInteractiveControl"],library:"sap.m",properties:{text:{type:"string",defaultValue:'',bindable:"bindable"},textDirection:{type:"sap.ui.core.TextDirection",group:"Appearance",defaultValue:d.Inherit},wrapping:{type:"boolean",group:"Appearance",defaultValue:true},wrappingType:{type:"sap.m.WrappingType",group:"Appearance",defaultValue:W.Normal},textAlign:{type:"sap.ui.core.TextAlign",group:"Appearance",defaultValue:b.Begin},width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},maxLines:{type:"int",group:"Appearance",defaultValue:null},renderWhitespace:{type:"boolean",group:"Appearance",defaultValue:false}},designtime:"sap/m/designtime/Text.designtime"}});e.prototype.normalLineHeight=1.2;e.prototype.cacheLineHeight=true;e.prototype.ellipsis='...';e.hasNativeLineClamp=("webkitLineClamp"in document.documentElement.style);e.setNodeValue=function(o,n){n=n||"";var f=o.childNodes;if(f.length===1&&f[0].nodeType===window.Node.TEXT_NODE){f[0].nodeValue=n;}else{o.textContent=n;}};e.prototype.getText=function(n){var t=this.getProperty("text");if(n){return t.replace(/\r\n|\n\r|\r/g,"\n");}return t;};e.prototype.onAfterRendering=function(){if(this.getVisible()&&this.hasMaxLines()&&!this.canUseNativeLineClamp()){if(C.isThemeApplied()){this.clampHeight();}else{C.attachThemeChanged(this._handleThemeLoad,this);}}};e.prototype._handleThemeLoad=function(){this.clampHeight();C.detachThemeChanged(this._handleThemeLoad,this);};e.prototype.hasMaxLines=function(){return(this.getWrapping()&&this.getMaxLines()>1);};e.prototype.getTextDomRef=function(){if(!this.getVisible()){return null;}if(this.hasMaxLines()){return this.getDomRef("inner");}return this.getDomRef();};e.prototype.canUseNativeLineClamp=function(){if(!e.hasNativeLineClamp){return false;}if(this.getTextDirection()==d.RTL){return false;}if(this.getTextDirection()==d.Inherit&&C.getConfiguration().getRTL()){return false;}return true;};e.prototype.getLineHeight=function(o){if(this.cacheLineHeight&&this._fLineHeight){return this._fLineHeight;}o=o||this.getTextDomRef();if(!o){return 0;}var s=window.getComputedStyle(o),L=s.lineHeight,f;if(/px$/i.test(L)){f=parseFloat(L);}else if(/^normal$/i.test(L)){f=parseFloat(s.fontSize)*this.normalLineHeight;}else{f=parseFloat(s.fontSize)*parseFloat(L);}if(!D.browser.firefox){f=Math.floor(f);}if(this.cacheLineHeight&&f){this._fLineHeight=f;}return f;};e.prototype.getClampHeight=function(o){o=o||this.getTextDomRef();return this.getMaxLines()*this.getLineHeight(o);};e.prototype.clampHeight=function(o){o=o||this.getTextDomRef();if(!o){return 0;}var m=this.getClampHeight(o);if(m){o.style.maxHeight=m+"px";}return m;};e.prototype.clampText=function(o,s,E){o=o||this.getTextDomRef();if(!o){return;}var i;var t=this.getText(true);var m=this.getClampHeight(o);s=s||0;E=E||t.length;e.setNodeValue(o,t.slice(0,E));if(o.scrollHeight>m){var S=o.style,h=S.height,f=this.ellipsis,g=f.length;S.height=m+"px";while((E-s)>g){i=(s+E)>>1;e.setNodeValue(o,t.slice(0,i-g)+f);if(o.scrollHeight>m){E=i;}else{s=i;}}if(o.scrollHeight>m&&s>0){i=s;o.textContent=t.slice(0,i-g)+f;}S.height=h;}return i;};e.prototype.getAccessibilityInfo=function(){return{description:this.getText()};};e.prototype._getToolbarInteractive=function(){return false;};e.prototype.getTextsToBeHyphenated=function(){return{"main":this.getText(true)};};e.prototype.getDomRefsForHyphenatedTexts=function(){return{"main":this.getTextDomRef()};};H.mixInto(e.prototype);return e;});
sap.ui.predefine('sap/m/TextRenderer',['sap/ui/core/Renderer','sap/ui/core/library','sap/m/HyphenationSupport'],function(R,c,H){"use strict";var T=c.TextDirection;var a={apiVersion:2};a.render=function(r,t){var w=t.getWidth(),s=t.getText(true),b=t.getTextDirection(),d=t.getTooltip_AsString(),n=t.getMaxLines(),W=t.getWrapping(),e=t.getTextAlign(),f=t.getRenderWhitespace();r.openStart("span",t);r.class("sapMText");r.class("sapUiSelectable");if(!W||n==1){r.class("sapMTextNoWrap");}else if(W){if(s&&s.length>0&&!/\s/.test(s)){r.class("sapMTextBreakWord");}}w?r.style("width",w):r.class("sapMTextMaxWidth");if(b!==T.Inherit){r.attr("dir",b.toLowerCase());}d&&r.attr("title",d);if(e){e=R.getTextAlign(e,b);if(e){r.style("text-align",e);}}if(f){var g=W?"sapMTextRenderWhitespaceWrap":"sapMTextRenderWhitespace";r.class(g);}H.writeHyphenationClass(r,t);r.openEnd();if(t.hasMaxLines()){this.renderMaxLines(r,t);}else{this.renderText(r,t);}r.close("span");};a.renderMaxLines=function(r,t){r.openStart("span");r.attr("id",t.getId()+"-inner");r.class("sapMTextMaxLine");if(t.canUseNativeLineClamp()){r.class("sapMTextLineClamp");r.style("-webkit-line-clamp",t.getMaxLines());}r.openEnd();this.renderText(r,t);r.close("span");};a.renderText=function(r,t){var s=H.getTextForRender(t,"main");r.text(s);};return a;},true);
sap.ui.predefine('sap/m/TileContent',['./library','sap/ui/core/Control','./TileContentRenderer'],function(l,C,T){"use strict";var a=C.extend("sap.m.TileContent",{metadata:{library:"sap.m",properties:{"footer":{type:"string",group:"Appearance",defaultValue:null},"footerColor":{type:"sap.m.ValueColor",group:"Appearance",defaultValue:"Neutral"},"size":{type:"sap.m.Size",group:"Appearance",defaultValue:"Auto"},"unit":{type:"string",group:"Data",defaultValue:null},"disabled":{type:"boolean",group:"Behavior",defaultValue:false},"frameType":{type:"sap.m.FrameType",group:"Appearance",defaultValue:"Auto"}},defaultAggregation:"content",aggregations:{"content":{type:"sap.ui.core.Control",multiple:false,bindable:"bindable"}}}});a.prototype.init=function(){this._bRenderFooter=true;this._bRenderContent=true;};a.prototype.onBeforeRendering=function(){if(this.getContent()&&this._oDelegate){if(this.getDisabled()){this.getContent().addDelegate(this._oDelegate);}else{this.getContent().removeDelegate(this._oDelegate);}}};a.prototype.onAfterRendering=function(){var c=this.getContent();if(c){var t=this.$();if(!t.attr("title")){var s=c.getTooltip_AsString();var b=t.find("*");b.removeAttr("title");if(s&&s.trim().length!==0){if(this._getFooterText().trim()!==0){s=s+"\n"+this._getFooterText();}t.attr("title",s);}}}};a.prototype._getContentType=function(){if(this.getContent()){var c=this.getContent().getMetadata().getName();if(c==="sap.m.NewsContent"||c==="sap.suite.ui.commons.NewsContent"){return"News";}}};a.prototype._getFooterText=function(){var r=sap.ui.getCore().getLibraryResourceBundle('sap.m');var f=this.getFooter();var u=this.getUnit();if(u){if(f){if(sap.ui.getCore().getConfiguration().getRTL()){return r.getText('TILECONTENT_FOOTER_TEXT',[f,u]);}else{return r.getText('TILECONTENT_FOOTER_TEXT',[u,f]);}}else{return u;}}else{return f;}};a.prototype.getAltText=function(){var A="";var i=true;var c=this.getContent();if(c){if(c.getAltText){A+=c.getAltText();i=false;}else if(c.getTooltip_AsString()){A+=c.getTooltip_AsString();i=false;}}if(this.getUnit()){A+=(i?"":"\n")+this.getUnit();i=false;}if(this.getFooter()){A+=(i?"":"\n")+this.getFooter();}return A;};a.prototype.getTooltip_AsString=function(){var t=this.getTooltip();var A="";if(typeof t==="string"||t instanceof String){return t;}A=this.getAltText();return A?A:"";};a.prototype.setRenderFooter=function(v){this._bRenderFooter=v;return this;};a.prototype.setRenderContent=function(v){this._bRenderContent=v;return this;};return a;});
sap.ui.predefine('sap/m/TileContentRenderer',["sap/base/security/encodeCSS"],function(e){"use strict";var T={};T.render=function(r,c){var t=c.getTooltip_AsString();var C=c._getContentType();if(C){C=e(C);}var f=e("sapMFrameType"+c.getFrameType());r.write("<div");r.writeControlData(c);r.addClass("sapMTileCnt");r.addClass(C);r.addClass(f);if(t.trim()){r.writeAttributeEscaped("title",t);}r.writeClasses();r.write(">");this._renderContent(r,c);this._renderFooter(r,c);r.write("</div>");};T._renderContent=function(r,c){if(!c._bRenderContent){return;}var C=c.getContent();if(C){r.write("<div");r.addClass("sapMTileCntContent");r.writeClasses();r.writeAttribute("id",c.getId()+"-content");r.write(">");if(!C.hasStyleClass("sapMTcInnerMarker")){C.addStyleClass("sapMTcInnerMarker");}r.renderControl(C);r.write("</div>");}};T._renderFooter=function(r,c){if(!c._bRenderFooter){return;}var C="sapMTileCntFooterTextColor"+c.getFooterColor();var t=c.getTooltip_AsString();var f=c._getFooterText(r,c);r.write("<div");r.addClass("sapMTileCntFtrTxt");r.addClass(e(C));r.writeClasses();r.writeAttribute("id",c.getId()+"-footer-text");if(t.trim()){r.writeAttributeEscaped("title",t);}r.write(">");r.writeEscaped(f);r.write("</div>");};return T;},true);
sap.ui.predefine('sap/m/Title',['sap/ui/core/Control','./library','sap/ui/core/library','./TitleRenderer',"sap/m/HyphenationSupport"],function(C,l,c,T,H){"use strict";var a=c.TextAlign;var b=c.TitleLevel;var W=l.WrappingType;var d=C.extend("sap.m.Title",{metadata:{library:"sap.m",interfaces:["sap.ui.core.IShrinkable","sap.m.IHyphenation","sap.m.IToolbarInteractiveControl"],properties:{text:{type:"string",group:"Appearance",defaultValue:null},level:{type:"sap.ui.core.TitleLevel",group:"Appearance",defaultValue:b.Auto},titleStyle:{type:"sap.ui.core.TitleLevel",group:"Appearance",defaultValue:b.Auto},width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},textAlign:{type:"sap.ui.core.TextAlign",group:"Appearance",defaultValue:a.Initial},wrapping:{type:"boolean",group:"Appearance",defaultValue:false},wrappingType:{type:"sap.m.WrappingType",group:"Appearance",defaultValue:W.Normal}},associations:{title:{type:"sap.ui.core.Title",multiple:false}},designtime:"sap/m/designtime/Title.designtime"}});d.prototype._getTitle=function(){var t=this.getTitle();if(t){var o=sap.ui.getCore().byId(t);if(o&&o instanceof sap.ui.core.Title){return o;}}return null;};d.prototype._onTitleChanged=function(){this.invalidate();};d.prototype.setTitle=function(t){var e=this;var o=this._getTitle();if(o){o.invalidate=o.__sapui5_title_originvalidate;o.exit=o.__sapui5_title_origexit;delete o.__sapui5_title_origexit;delete o.__sapui5_title_originvalidate;}this.setAssociation("title",t);var n=this._getTitle();if(n){n.__sapui5_title_originvalidate=n.invalidate;n.__sapui5_title_origexit=n.exit;n.exit=function(){e._onTitleChanged();if(this.__sapui5_title_origexit){this.__sapui5_title_origexit.apply(this,arguments);}};n.invalidate=function(){e._onTitleChanged();this.__sapui5_title_originvalidate.apply(this,arguments);};}return this;};d.prototype.getAccessibilityInfo=function(){var t=this._getTitle()||this;return{role:"heading",description:t.getText(),focusable:false};};d.prototype.getTextsToBeHyphenated=function(){var t=this._getTitle();return{"main":t?t.getText():this.getText()};};d.prototype.getDomRefsForHyphenatedTexts=function(){var D;if(!this._getTitle()){D={"main":this.getDomRef("inner")};}return D;};d.prototype._getAriaLevel=function(){var L=2,e=1;if(this.getTitleStyle()!==b.Auto){L=parseInt(this.getTitleStyle()[e]);}return L;};d.prototype._getToolbarInteractive=function(){return false;};H.mixInto(d.prototype);return d;});
sap.ui.predefine('sap/m/TitlePropagationSupport',[],function(){"use strict";return function(a,g){if(!this.isA("sap.ui.core.Element")){return;}this._propagateTitleIdToChildControl=function(){var A=this.getMetadata().getAggregation(a),c=A&&A.get(this),t=g&&g.call(this),i;if(!sap.ui.getCore().getConfiguration().getAccessibility()||!t||!c||c.length===0){return false;}i=c[0];if(i&&i._suggestTitleId&&i.isA(["sap.ui.layout.form.SimpleForm","sap.ui.layout.form.Form","sap.ui.comp.smartform.SmartForm"])){i._suggestTitleId(t);return true;}return false;};this._initTitlePropagationSupport=function(){this.addEventDelegate({onBeforeRendering:this._propagateTitleIdToChildControl.bind(this)});};};},false);
sap.ui.predefine('sap/m/TitleRenderer',["sap/ui/core/library","sap/m/HyphenationSupport"],function(c,H){"use strict";var T=c.TextAlign;var a=c.TitleLevel;var b={apiVersion:2};b.render=function(r,t){var A=t._getTitle(),l=(A?A.getLevel():t.getLevel())||a.Auto,d=l==a.Auto,s=d?"div":l.toLowerCase(),e=H.getTextForRender(t,"main");r.openStart(s,t);r.class("sapMTitle");r.class("sapMTitleStyle"+t.getTitleStyle());r.class(t.getWrapping()?"sapMTitleWrap":"sapMTitleNoWrap");r.class("sapUiSelectable");var w=t.getWidth();if(!w){r.class("sapMTitleMaxWidth");}else{r.style("width",w);}var f=t.getTextAlign();if(f&&f!=T.Initial){r.class("sapMTitleAlign"+f);}if(t.getParent()instanceof sap.m.Toolbar){r.class("sapMTitleTB");}var g=A?A.getTooltip_AsString():t.getTooltip_AsString();if(g){r.attr("title",g);}if(d){r.attr("role","heading");r.attr("aria-level",t._getAriaLevel());}H.writeHyphenationClass(r,t);r.openEnd();r.openStart("span",t.getId()+"-inner");r.openEnd();r.text(e);r.close("span");r.close(s);};return b;},true);
sap.ui.predefine('sap/m/ToggleButton',['./Button','./library','sap/ui/core/EnabledPropagator','./ToggleButtonRenderer',"sap/ui/events/KeyCodes"],function(B,l,E,T,K){"use strict";var a=B.extend("sap.m.ToggleButton",{metadata:{interfaces:["sap.m.IToolbarInteractiveControl"],library:"sap.m",designtime:"sap/m/designtime/ToggleButton.designtime",properties:{pressed:{type:"boolean",group:"Data",defaultValue:false}}}});E.call(a.prototype);a.prototype.ontap=function(e){e.setMarked();if(this.getEnabled()){this.setPressed(!this.getPressed());this.firePress({pressed:this.getPressed()});}};a.prototype.setPressed=function(p){p=!!p;if(p!=this.getPressed()){this.setProperty("pressed",p,true);this.$().attr("aria-pressed",p);this.$("inner").toggleClass("sapMToggleBtnPressed",p&&!this._isUnstyled());}return this;};a.prototype.onkeydown=function(e){if(e.which===K.ENTER){this.ontap(e);}};a.prototype.onkeyup=function(e){if(e.which===K.SPACE||e.which===K.ENTER){e.setMarked();}if(e.which===K.SPACE){this.ontap(e);}};a.prototype.getAccessibilityInfo=function(){var i=B.prototype.getAccessibilityInfo.apply(this,arguments);if(this.getPressed()){i.description=((i.description||"")+" "+sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_STATE_PRESSED")).trim();}return i;};a.prototype._getToolbarInteractive=function(){return true;};return a;});
sap.ui.predefine('sap/m/ToggleButtonRenderer',['./ButtonRenderer','sap/ui/core/Renderer'],function(B,R){"use strict";var T=R.extend(B);T.renderAccessibilityAttributes=function(r,t,a){a["pressed"]=t.getPressed();};T.renderButtonAttributes=function(r,t){if(t.getPressed()&&!t._isUnstyled()){r.addClass("sapMToggleBtnPressed");}};return T;},true);
sap.ui.predefine('sap/m/Toolbar',['./BarInPageEnabler','./ToolbarLayoutData','./ToolbarSpacer','./library','sap/ui/core/Control','sap/ui/core/EnabledPropagator',"sap/ui/events/KeyCodes",'./ToolbarRenderer'],function(B,T,a,l,C,E,K,b){"use strict";var c=l.ToolbarDesign,d=l.ToolbarStyle;var M=2;var e=C.extend("sap.m.Toolbar",{metadata:{interfaces:["sap.ui.core.Toolbar","sap.m.IBar"],library:"sap.m",properties:{width:{type:"sap.ui.core.CSSSize",group:"Appearance",defaultValue:null},active:{type:"boolean",group:"Behavior",defaultValue:false},enabled:{type:"boolean",group:"Behavior",defaultValue:true},height:{type:"sap.ui.core.CSSSize",group:"Appearance",defaultValue:''},design:{type:"sap.m.ToolbarDesign",group:"Appearance",defaultValue:c.Auto},style:{type:"sap.m.ToolbarStyle",group:"Appearance",defaultValue:d.Standard}},defaultAggregation:"content",aggregations:{content:{type:"sap.ui.core.Control",multiple:true,singularName:"content"}},associations:{ariaLabelledBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaLabelledBy"}},events:{press:{parameters:{srcControl:{type:"sap.ui.core.Control"}}}},designtime:"sap/m/designtime/Toolbar.designtime"}});E.call(e.prototype);e.shrinkClass="sapMTBShrinkItem";e.isRelativeWidth=function(w){return/^([-+]?\d+%|auto|inherit|)$/i.test(w);};e.getOrigWidth=function(i){var o=sap.ui.getCore().byId(i);if(!o||!o.getWidth){return"";}return o.getWidth();};e.checkShrinkable=function(o,s){if(o instanceof a){return this.isRelativeWidth(o.getWidth());}s=s||this.shrinkClass;o.removeStyleClass(s);var w=this.getOrigWidth(o.getId());if(!this.isRelativeWidth(w)){return;}var L=o.getLayoutData();if(L instanceof T){return L.getShrinkable()&&o.addStyleClass(s);}if(w.indexOf("%")>0||o.getMetadata().isInstanceOf("sap.ui.core.IShrinkable")){return o.addStyleClass(s);}var D=o.getDomRef();if(D&&(D.firstChild||{}).nodeType==3){return o.addStyleClass(s);}};e.prototype.init=function(){this.data("sap-ui-fastnavgroup","true",true);this._oContentDelegate={onAfterRendering:this._onAfterContentRendering};};e.prototype.onAfterRendering=function(){this._checkContents();};e.prototype.onLayoutDataChange=function(){this.rerender();};e.prototype.addContent=function(o){this.addAggregation("content",o);this._onContentInserted(o);return this;};e.prototype.insertContent=function(o,i){this.insertAggregation("content",o,i);this._onContentInserted(o);return this;};e.prototype.removeContent=function(v){v=this.removeAggregation("content",v);this._onContentRemoved(v);return v;};e.prototype.removeAllContent=function(){var f=this.removeAllAggregation("content")||[];f.forEach(this._onContentRemoved,this);return f;};e.prototype.ontap=function(o){if(this.getActive()&&!o.isMarked()){o.setMarked();this.firePress({srcControl:o.srcControl});}};e.prototype.onsapenter=function(o){if(this.getActive()&&o.srcControl===this&&!o.isMarked()){o.setMarked();this.firePress({srcControl:this});}};e.prototype.onsapspace=function(o){if(o.srcControl===this){o.preventDefault();}};e.prototype.onkeyup=function(o){if(o.which===K.SPACE){this.onsapenter(o);}};e.prototype.ontouchstart=function(o){this.getActive()&&o.setMarked();};e.prototype._checkContents=function(){this.getContent().forEach(function(o){e.checkShrinkable(o);});};e.prototype._onContentInserted=function(o){if(o){o.attachEvent("_change",this._onContentPropertyChanged,this);o.addEventDelegate(this._oContentDelegate,o);}};e.prototype._onContentRemoved=function(o){if(o){o.detachEvent("_change",this._onContentPropertyChanged,this);o.removeEventDelegate(this._oContentDelegate,o);}};e.prototype._onAfterContentRendering=function(){var L=this.getLayoutData();if(L instanceof T){L.applyProperties();}};e.prototype._onContentPropertyChanged=function(o){var p=o.getParameter("name");if(p==="visible"){this.invalidate();}if(p!="width"){return;}var f=o.getSource();var P=f.getWidth().indexOf("%")>0;f.toggleStyleClass(e.shrinkClass,P);};e.prototype._getAccessibilityRole=function(){var r=this._getRootAccessibilityRole(),R=r;if(this.getActive()){R="button";}else if(this._getToolbarInteractiveControlsCount()<M&&r==="toolbar"){R="";}return R;};e.prototype._getToolbarInteractiveControlsCount=function(){return this.getContent().filter(function(o){return o.getVisible()&&o.isA("sap.m.IToolbarInteractiveControl")&&typeof(o._getToolbarInteractive)==="function"&&o._getToolbarInteractive();}).length;};e.prototype.setDesign=function(D,s){if(!s){return this.setProperty("design",D);}this._sAutoDesign=this.validateProperty("design",D);return this;};e.prototype.getActiveDesign=function(){var D=this.getDesign();if(D!=c.Auto){return D;}return this._sAutoDesign||D;};e.prototype.getTitleControl=function(){var f=sap.ui.require("sap/m/Title");if(!f){return;}var g=this.getContent();for(var i=0;i<g.length;i++){var o=g[i];if(o instanceof f&&o.getVisible()){return o;}}};e.prototype.getTitleId=function(){var t=this.getTitleControl();return t?t.getId():"";};e.prototype.isContextSensitive=B.prototype.isContextSensitive;e.prototype.setHTMLTag=B.prototype.setHTMLTag;e.prototype.getHTMLTag=B.prototype.getHTMLTag;e.prototype.applyTagAndContextClassFor=B.prototype.applyTagAndContextClassFor;e.prototype._applyContextClassFor=B.prototype._applyContextClassFor;e.prototype._applyTag=B.prototype._applyTag;e.prototype._getContextOptions=B.prototype._getContextOptions;e.prototype._setRootAccessibilityRole=B.prototype._setRootAccessibilityRole;e.prototype._getRootAccessibilityRole=B.prototype._getRootAccessibilityRole;e.prototype._setRootAriaLevel=B.prototype._setRootAriaLevel;e.prototype._getRootAriaLevel=B.prototype._getRootAriaLevel;return e;});
sap.ui.predefine('sap/m/ToolbarLayoutData',['./library','sap/ui/core/LayoutData'],function(l,L){"use strict";var T=L.extend("sap.m.ToolbarLayoutData",{metadata:{library:"sap.m",properties:{shrinkable:{type:"boolean",group:"Behavior",defaultValue:false},minWidth:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},maxWidth:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null}}}});T.prototype.getParentStyle=function(){var p=this.getParent();if(!p||!p.getDomRef){return{};}var d=p.getDomRef();return d?d.style:{};};T.prototype.applyProperties=function(){var s=this.getParentStyle();s.minWidth=this.getMinWidth();s.maxWidth=this.getMaxWidth();return this;};return T;});
sap.ui.predefine('sap/m/ToolbarRenderer',['./BarInPageEnabler'],function(B){"use strict";var T={apiVersion:2};T.render=B.prototype.render;T.writeAccessibilityState=function(r,t){var R=t._getAccessibilityRole(),a={role:R};if(!t.getAriaLabelledBy().length&&R){a.labelledby=t.getTitleId();}r.accessibilityState(t,a);};T.decorateRootElement=function(r,t){this.writeAccessibilityState(r,t);r.class("sapMTB");r.class("sapMTBNewFlex");if(t.getActive()){r.class("sapMTBActive");r.attr("tabindex","0");}else{r.class("sapMTBInactive");}r.class("sapMTB"+t.getStyle());r.class("sapMTB-"+t.getActiveDesign()+"-CTX");r.style("width",t.getWidth());r.style("height",t.getHeight());};T.renderBarContent=function(r,t){t.getContent().forEach(function(c){B.addChildClassTo(c,t);r.renderControl(c);});};T.shouldAddIBarContext=function(c){return false;};return T;},true);
sap.ui.predefine('sap/m/ToolbarSpacer',['./library','sap/ui/core/Control','./ToolbarSpacerRenderer'],function(l,C,T){"use strict";var a=C.extend("sap.m.ToolbarSpacer",{metadata:{library:"sap.m",properties:{width:{type:"sap.ui.core.CSSSize",group:"Appearance",defaultValue:''}}}});return a;});
sap.ui.predefine('sap/m/ToolbarSpacerRenderer',[],function(){"use strict";var T={apiVersion:2};T.flexClass="sapMTBSpacerFlex";T.render=function(r,c){r.openStart("div",c);r.class("sapMTBSpacer");var w=c.getWidth();if(w){r.style("width",w);}else{r.class(T.flexClass);}r.openEnd().close("div");};return T;},true);
sap.ui.predefine('sap/m/VBox',['./FlexBox','./library',"./VBoxRenderer"],function(F,l,V){"use strict";var a=l.FlexDirection;var b=F.extend("sap.m.VBox",{metadata:{library:"sap.m",designtime:"sap/m/designtime/VBox.designtime"}});b.prototype.init=function(){this.setDirection(a.Column);F.prototype.init.apply(this,arguments);};return b;});
sap.ui.predefine('sap/m/VBoxRenderer',['./FlexBoxRenderer'],function(F){"use strict";var V={apiVersion:2};V.render=function(r,c){F.render.apply(this,[r,c]);};return V;},true);
sap.ui.predefine('sap/m/delegate/ValueStateMessage',['sap/ui/Device','sap/ui/base/Object','sap/ui/core/ValueStateSupport','sap/ui/core/Popup','sap/ui/core/library',"sap/ui/thirdparty/jquery","sap/ui/dom/jquery/Aria"],function(D,B,V,P,c,q){"use strict";var a=c.ValueState;var b=B.extend("sap.m.delegate.ValueState",{constructor:function(C){B.apply(this,arguments);this._oControl=C;this._oPopup=null;}});b.prototype.open=function(){var C=this._oControl,p=this.getPopup(),m=this.createDom(),d=P.Dock,$=q(C.getDomRefForValueStateMessage());if(!C||!p||!m){return;}p.setContent(m);p.close(0);if(p.getContent()){p.getContent().style.maxWidth=C.getDomRef().offsetWidth+"px";}else{p.getContent().style.maxWidth="";}p.open(this.getOpenDuration(),d.BeginTop,d.BeginBottom,C.getDomRefForValueStateMessage(),null,null,D.system.phone?true:P.CLOSE_ON_SCROLL);var e=q(m);if($.offset().top<e.offset().top){e.addClass("sapMValueStateMessageBottom");}else{e.addClass("sapMValueStateMessageTop");}q(C.getFocusDomRef()).addAriaDescribedBy(this.getId());};b.prototype.close=function(){var C=this._oControl,p=this._oPopup;if(p){p.close(0);}if(C){q(C.getFocusDomRef()).removeAriaDescribedBy(this.getId());}};b.prototype.getId=function(){var C=this._oControl;if(!C){return"";}return(typeof C.getValueStateMessageId==="function")?C.getValueStateMessageId():C.getId()+"-message";};b.prototype.getOpenDuration=function(){var C=this._oControl;if(!C){return 0;}return(C.iOpenMessagePopupDuration===undefined)?0:C.iOpenMessagePopupDuration;};b.prototype.createPopup=function(i){i=i||this.getId();if(this._oPopup){return this._oPopup;}this._oPopup=new P(document.createElement("span"),false,false,false);this._oPopup.attachClosed(function(){q(document.getElementById(i)).remove();});this._oPopup.attachOpened(function(){var d=this._oPopup.getContent();if(d&&this._oControl){d.style.zIndex=this._getCorrectZIndex();}}.bind(this));return this._oPopup;};b.prototype.getPopup=function(){if(!this._oControl){return null;}return this.createPopup();};b.prototype.createDom=function(){var C=this._oControl;if(!C){return null;}var s=C.getValueState(),t=C.getValueStateText()||V.getAdditionalText(C),d="sapMValueStateMessage sapMValueStateMessage"+s,r=sap.ui.getCore().getLibraryResourceBundle("sap.m");if(s===a.Success||s===a.None){d="sapUiInvisibleText";t="";}var i=this.getId();var m=document.createElement("div");m.id=i;m.className=d;m.setAttribute("role","tooltip");m.setAttribute("aria-live","assertive");var A=document.createElement("span");A.id=i+"hidden";var I=D.browser.msie;if(I){A.className="sapUiHidden";A.setAttribute("aria-hidden","true");}else{A.className="sapUiPseudoInvisibleText";}if(s!==a.None){A.appendChild(document.createTextNode(r.getText("INPUTBASE_VALUE_STATE_"+s.toUpperCase())));}var T=document.createElement("span");T.id=i+"-text";if(!C.isA('sap.m.Select')&&I){T.setAttribute("aria-hidden","true");}T.appendChild(document.createTextNode(t));m.appendChild(A);m.appendChild(T);return m;};b.prototype.destroy=function(){if(this._oPopup){this._oPopup.destroy();this._oPopup=null;}this._oControl=null;};b.prototype._getCorrectZIndex=function(){var p=this._oControl.$().parents().filter(function(){var z=q(this).css('z-index');return z&&z!=='auto'&&z!=='0';});if(!p.length){return 1;}var h=0;p.each(function(){var z=parseInt(q(this).css('z-index'));if(z>h){h=z;}});return h+1;};return b;});
sap.ui.predefine('sap/m/library',['sap/ui/Device','sap/ui/base/DataType','sap/ui/base/EventProvider','sap/ui/core/Control','sap/base/util/ObjectPath','sap/ui/core/library',"sap/base/strings/capitalize","sap/ui/thirdparty/jquery","sap/base/assert","sap/base/Log","sap/base/util/defineLazyProperty","sap/base/security/encodeCSS","sap/ui/util/openWindow",'./Support'],function(D,a,E,C,O,b,d,q,e,L,f,g,o){"use strict";sap.ui.getCore().initLibrary({name:"sap.m",version:"1.71.67",dependencies:["sap.ui.core"],designtime:"sap/m/designtime/library.designtime",types:["sap.m.BackgroundDesign","sap.m.BarDesign","sap.m.BreadcrumbsSeparatorStyle","sap.m.ButtonType","sap.m.CarouselArrowsPlacement","sap.m.DateTimeInputType","sap.m.DeviationIndicator","sap.m.DialogRoleType","sap.m.DialogType","sap.m.DraftIndicatorState","sap.m.FacetFilterListDataType","sap.m.FacetFilterType","sap.m.FlexAlignContent","sap.m.FlexAlignItems","sap.m.FlexAlignSelf","sap.m.FlexDirection","sap.m.FlexJustifyContent","sap.m.FlexRendertype","sap.m.FlexWrap","sap.m.FrameType","sap.m.GenericTagDesign","sap.m.GenericTagValueState","sap.m.GenericTileMode","sap.m.GenericTileScope","sap.m.HeaderLevel","sap.m.IBarHTMLTag","sap.m.IconTabDensityMode","sap.m.IconTabFilterDesign","sap.m.IconTabHeaderMode","sap.m.ImageMode","sap.m.InputTextFormatMode","sap.m.InputType","sap.m.LabelDesign","sap.m.LightBoxLoadingStates","sap.m.LinkConversion","sap.m.ListGrowingDirection","sap.m.ListHeaderDesign","sap.m.ListKeyboardMode","sap.m.ListMode","sap.m.ListSeparators","sap.m.ListType","sap.m.LoadState","sap.m.MenuButtonMode","sap.m.ObjectHeaderPictureShape","sap.m.ObjectMarkerType","sap.m.ObjectMarkerVisibility","sap.m.OverflowToolbarPriority","sap.m.P13nPanelType","sap.m.PageBackgroundDesign","sap.m.PanelAccessibleRole","sap.m.PDFViewerDisplayType","sap.m.PlacementType","sap.m.PlanningCalendarBuiltInView","sap.m.PlanningCalendarStickyMode","sap.m.PopinDisplay","sap.m.PopinLayout","sap.m.QuickViewGroupElementType","sap.m.RatingIndicatorVisualMode","sap.m.ScreenSize","sap.m.SelectionDetailsActionLevel","sap.m.SelectListKeyboardNavigationMode","sap.m.SelectType","sap.m.Size","sap.m.SplitAppMode","sap.m.StandardTileType","sap.m.StepInputStepModeType","sap.m.StepInputValidationMode","sap.m.Sticky","sap.m.StringFilterOperator","sap.m.SwipeDirection","sap.m.SwitchType","sap.m.TileSizeBehavior","sap.m.TimePickerMaskMode","sap.m.ToolbarDesign","sap.m.ToolbarStyle","sap.m.UploadState","sap.m.ValueColor","sap.m.ValueCSSColor","sap.m.VerticalPlacementType","sap.m.WrappingType","sap.m.semantic.SemanticRuleSetType"],interfaces:["sap.m.IBar","sap.m.IBreadcrumbs","sap.m.IconTab","sap.m.IScale","sap.m.semantic.IGroup","sap.m.semantic.IFilter","sap.m.semantic.ISort","sap.m.ObjectHeaderContainer","sap.m.IOverflowToolbarContent","sap.m.IOverflowToolbarFlexibleContent","sap.m.IToolbarInteractiveControl","sap.m.IHyphenation"],controls:["sap.m.ActionListItem","sap.m.ActionSelect","sap.m.ActionSheet","sap.m.App","sap.m.Bar","sap.m.BusyDialog","sap.m.BusyIndicator","sap.m.Button","sap.m.Breadcrumbs","sap.m.Carousel","sap.m.CheckBox","sap.m.ColumnHeaderPopover","sap.m.ColumnListItem","sap.m.ColorPalette","sap.m.ColorPalettePopover","sap.m.ComboBox","sap.m.ComboBoxTextField","sap.m.ComboBoxBase","sap.m.CustomListItem","sap.m.CustomTile","sap.m.CustomTreeItem","sap.m.DatePicker","sap.m.DateRangeSelection","sap.m.DateTimeField","sap.m.DateTimeInput","sap.m.DateTimePicker","sap.m.Dialog","sap.m.DisplayListItem","sap.m.DraftIndicator","sap.m.FacetFilter","sap.m.FacetFilterItem","sap.m.FacetFilterList","sap.m.FeedContent","sap.m.FeedInput","sap.m.FeedListItem","sap.m.FlexBox","sap.m.FormattedText","sap.m.GenericTag","sap.m.GenericTile","sap.m.GroupHeaderListItem","sap.m.GrowingList","sap.m.HBox","sap.m.HeaderContainer","sap.m.IconTabBar","sap.m.IconTabBarSelectList","sap.m.IconTabHeader","sap.m.Image","sap.m.ImageContent","sap.m.Input","sap.m.InputBase","sap.m.InputListItem","sap.m.Label","sap.m.LightBox","sap.m.Link","sap.m.List","sap.m.ListBase","sap.m.ListItemBase","sap.m.MaskInput","sap.m.Menu","sap.m.MenuButton","sap.m.MessagePage","sap.m.MessagePopover","sap.m.MessageView","sap.m.MessageStrip","sap.m.MultiComboBox","sap.m.MultiEditField","sap.m.MultiInput","sap.m.NavContainer","sap.m.NewsContent","sap.m.NumericContent","sap.m.NotificationListBase","sap.m.NotificationListItem","sap.m.NotificationListGroup","sap.m.PagingButton","sap.m.PlanningCalendarLegend","sap.m.ObjectAttribute","sap.m.ObjectHeader","sap.m.ObjectIdentifier","sap.m.ObjectListItem","sap.m.ObjectMarker","sap.m.ObjectNumber","sap.m.ObjectStatus","sap.m.OverflowToolbar","sap.m.OverflowToolbarButton","sap.m.OverflowToolbarToggleButton","sap.m.P13nColumnsPanel","sap.m.P13nGroupPanel","sap.m.P13nSelectionPanel","sap.m.P13nDimMeasurePanel","sap.m.P13nConditionPanel","sap.m.P13nDialog","sap.m.P13nFilterPanel","sap.m.P13nPanel","sap.m.P13nSortPanel","sap.m.Page","sap.m.Panel","sap.m.PDFViewer","sap.m.PlanningCalendar","sap.m.PlanningCalendarHeader","sap.m.Popover","sap.m.ProgressIndicator","sap.m.PullToRefresh","sap.m.QuickView","sap.m.QuickViewBase","sap.m.QuickViewCard","sap.m.QuickViewPage","sap.m.RadioButton","sap.m.RadioButtonGroup","sap.m.RangeSlider","sap.m.RatingIndicator","sap.m.ResponsivePopover","sap.m.ScrollContainer","sap.m.SearchField","sap.m.SegmentedButton","sap.m.Select","sap.m.SelectDialog","sap.m.SelectList","sap.m.SelectionDetails","sap.m.Shell","sap.m.SimpleFixFlex","sap.m.SinglePlanningCalendar","sap.m.SinglePlanningCalendarGrid","sap.m.SinglePlanningCalendarMonthGrid","sap.m.Slider","sap.m.SliderTooltip","sap.m.SliderTooltipBase","sap.m.SliderTooltipContainer","sap.m.SlideTile","sap.m.StepInput","sap.m.SplitApp","sap.m.SplitContainer","sap.m.StandardListItem","sap.m.StandardTreeItem","sap.m.StandardTile","sap.m.Switch","sap.m.Table","sap.m.TableSelectDialog","sap.m.TabContainer","sap.m.TabStrip","sap.m.Text","sap.m.TextArea","sap.m.Tile","sap.m.TileContainer","sap.m.TileContent","sap.m.TimePicker","sap.m.TimePickerSliders","sap.m.Title","sap.m.ToggleButton","sap.m.Token","sap.m.Tokenizer","sap.m.Toolbar","sap.m.ToolbarSpacer","sap.m.ToolbarSeparator","sap.m.Tree","sap.m.TreeItemBase","sap.m.UploadCollection","sap.m.UploadCollectionToolbarPlaceholder","sap.m.upload.UploadSet","sap.m.VBox","sap.m.ViewSettingsDialog","sap.m.Wizard","sap.m.WizardStep","sap.m.semantic.DetailPage","sap.m.semantic.SemanticPage","sap.m.semantic.ShareMenuPage","sap.m.semantic.FullscreenPage","sap.m.semantic.MasterPage"],elements:["sap.m.Column","sap.m.ColumnPopoverActionItem","sap.m.ColumnPopoverCustomItem","sap.m.ColumnPopoverItem","sap.m.ColumnPopoverSortItem","sap.m.FlexItemData","sap.m.FeedListItemAction","sap.m.IconTabFilter","sap.m.IconTabSeparator","sap.m.LightBoxItem","sap.m.OverflowToolbarLayoutData","sap.m.MaskInputRule","sap.m.MenuItem","sap.m.MessageItem","sap.m.MessagePopoverItem","sap.m.PageAccessibleLandmarkInfo","sap.m.P13nFilterItem","sap.m.P13nItem","sap.m.PlanningCalendarRow","sap.m.PlanningCalendarView","sap.m.P13nColumnsItem","sap.m.P13nDimMeasureItem","sap.m.P13nGroupItem","sap.m.P13nSortItem","sap.m.QuickViewGroup","sap.m.QuickViewGroupElement","sap.m.ResponsiveScale","sap.m.SegmentedButtonItem","sap.m.SelectionDetailsItem","sap.m.SelectionDetailsItemLine","sap.m.SinglePlanningCalendarDayView","sap.m.SinglePlanningCalendarWeekView","sap.m.SinglePlanningCalendarWorkWeekView","sap.m.SinglePlanningCalendarView","sap.m.SuggestionItem","sap.m.TabContainerItem","sap.m.TabStripItem","sap.m.ToolbarLayoutData","sap.m.UploadCollectionItem","sap.m.UploadCollectionParameter","sap.m.upload.Uploader","sap.m.upload.UploadSetItem","sap.m.ViewSettingsCustomItem","sap.m.ViewSettingsCustomTab","sap.m.ViewSettingsFilterItem","sap.m.ViewSettingsItem","sap.m.semantic.AddAction","sap.m.semantic.CancelAction","sap.m.semantic.DeleteAction","sap.m.semantic.DiscussInJamAction","sap.m.semantic.EditAction","sap.m.semantic.FavoriteAction","sap.m.semantic.FilterAction","sap.m.semantic.FilterSelect","sap.m.semantic.FlagAction","sap.m.semantic.ForwardAction","sap.m.semantic.GroupAction","sap.m.semantic.GroupSelect","sap.m.semantic.MainAction","sap.m.semantic.MessagesIndicator","sap.m.semantic.MultiSelectAction","sap.m.semantic.NegativeAction","sap.m.semantic.OpenInAction","sap.m.semantic.PositiveAction","sap.m.semantic.PrintAction","sap.m.semantic.SaveAction","sap.m.semantic.SemanticButton","sap.m.semantic.SemanticControl","sap.m.semantic.SemanticSelect","sap.m.semantic.SemanticToggleButton","sap.m.semantic.SendEmailAction","sap.m.semantic.SendMessageAction","sap.m.semantic.ShareInJamAction","sap.m.semantic.SortAction","sap.m.semantic.SortSelect"],extensions:{flChangeHandlers:{"sap.m.ActionSheet":{"moveControls":"default"},"sap.m.Bar":"sap/m/flexibility/Bar","sap.m.Button":"sap/m/flexibility/Button","sap.m.CheckBox":"sap/m/flexibility/CheckBox","sap.m.ColumnListItem":{"hideControl":"default","unhideControl":"default"},"sap.m.CustomListItem":{"hideControl":"default","unhideControl":"default","moveControls":"default"},"sap.m.DatePicker":{"hideControl":"default","unhideControl":"default"},"sap.m.Dialog":"sap/m/flexibility/Dialog","sap.m.FlexBox":{"hideControl":"default","unhideControl":"default","moveControls":"default"},"sap.m.HBox":{"hideControl":"default","unhideControl":"default","moveControls":"default"},"sap.m.IconTabBar":{"moveControls":"default"},"sap.m.IconTabFilter":"sap/m/flexibility/IconTabFilter","sap.m.Image":{"hideControl":"default","unhideControl":"default"},"sap.m.Input":{"hideControl":"default","unhideControl":"default"},"sap.m.InputBase":{"hideControl":"default","unhideControl":"default"},"sap.m.InputListItem":"sap/m/flexibility/InputListItem","sap.m.Label":"sap/m/flexibility/Label","sap.m.MultiInput":{"hideControl":"default","unhideControl":"default"},"sap.m.ListItemBase":{"hideControl":"default","unhideControl":"default"},"sap.m.Link":"sap/m/flexibility/Link","sap.m.List":{"hideControl":"default","unhideControl":"default","moveControls":"default"},"sap.m.ListBase":{"hideControl":"default","unhideControl":"default","moveControls":"default"},"sap.m.MaskInput":{"hideControl":"default","unhideControl":"default"},"sap.m.MenuButton":"sap/m/flexibility/MenuButton","sap.m.OverflowToolbar":"sap/m/flexibility/OverflowToolbar","sap.m.OverflowToolbarButton":"sap/m/flexibility/OverflowToolbarButton","sap.m.Page":"sap/m/flexibility/Page","sap.m.Panel":"sap/m/flexibility/Panel","sap.m.Popover":"sap/m/flexibility/Popover","sap.m.RadioButton":"sap/m/flexibility/RadioButton","sap.m.RatingIndicator":{"hideControl":"default","unhideControl":"default"},"sap.m.RangeSlider":{"hideControl":"default","unhideControl":"default"},"sap.m.ScrollContainer":{"hideControl":"default","moveControls":"default","unhideControl":"default"},"sap.m.Slider":{"hideControl":"default","unhideControl":"default"},"sap.m.StandardListItem":"sap/m/flexibility/StandardListItem","sap.m.Table":"sap/m/flexibility/Table","sap.m.Column":{"hideControl":"default","unhideControl":"default"},"sap.m.Text":"sap/m/flexibility/Text","sap.m.Title":"sap/m/flexibility/Title","sap.m.Toolbar":"sap/m/flexibility/Toolbar","sap.m.VBox":{"hideControl":"default","unhideControl":"default","moveControls":"default"}},"sap.ui.support":{publicRules:true,internalRules:true}}});var t=sap.m;t.BackgroundDesign={Solid:"Solid",Transparent:"Transparent",Translucent:"Translucent"};t.BarDesign={Auto:"Auto",Header:"Header",SubHeader:"SubHeader",Footer:"Footer"};t.BreadcrumbsSeparatorStyle={Slash:"Slash",BackSlash:"BackSlash",DoubleSlash:"DoubleSlash",DoubleBackSlash:"DoubleBackSlash",GreaterThan:"GreaterThan",DoubleGreaterThan:"DoubleGreaterThan"};t.ButtonType={Default:"Default",Back:"Back",Accept:"Accept",Reject:"Reject",Transparent:"Transparent",Ghost:"Ghost",Up:"Up",Unstyled:"Unstyled",Emphasized:"Emphasized"};t.CarouselArrowsPlacement={Content:"Content",PageIndicator:"PageIndicator"};t.PlanningCalendarBuiltInView={Hour:"Hour",Day:"Day",Month:"Month",Week:"Week",OneMonth:"One Month"};t.DateTimeInputType={Date:"Date",DateTime:"DateTime",Time:"Time"};t.DialogType={Standard:"Standard",Message:"Message"};t.DialogRoleType={Dialog:"dialog",AlertDialog:"alertdialog"};t.DeviationIndicator={Up:"Up",Down:"Down",None:"None"};t.DraftIndicatorState={Clear:"Clear",Saving:"Saving",Saved:"Saved"};t.FacetFilterListDataType={Date:"Date",DateTime:"DateTime",Time:"Time",Integer:"Integer",Float:"Float",String:"String",Boolean:"Boolean"};t.FacetFilterType={Simple:"Simple",Light:"Light"};t.FlexAlignItems={Start:"Start",End:"End",Center:"Center",Baseline:"Baseline",Stretch:"Stretch",Inherit:"Inherit"};t.FlexAlignSelf={Auto:"Auto",Start:"Start",End:"End",Center:"Center",Baseline:"Baseline",Stretch:"Stretch",Inherit:"Inherit"};t.FlexDirection={Row:"Row",Column:"Column",RowReverse:"RowReverse",ColumnReverse:"ColumnReverse",Inherit:"Inherit"};t.FlexJustifyContent={Start:"Start",End:"End",Center:"Center",SpaceBetween:"SpaceBetween",SpaceAround:"SpaceAround",Inherit:"Inherit"};t.FlexWrap={NoWrap:"NoWrap",Wrap:"Wrap",WrapReverse:"WrapReverse"};t.FlexAlignContent={Start:"Start",End:"End",Center:"Center",SpaceBetween:"SpaceBetween",SpaceAround:"SpaceAround",Stretch:"Stretch",Inherit:"Inherit"};t.FlexRendertype={Div:"Div",List:"List",Bare:"Bare"};t.FrameType={OneByOne:"OneByOne",TwoByOne:"TwoByOne",TwoThirds:"TwoThirds",Auto:"Auto"};t.LinkConversion={None:"None",ProtocolOnly:"ProtocolOnly",All:"All"};t.InputTextFormatMode={Value:"Value",Key:"Key",ValueKey:"ValueKey",KeyValue:"KeyValue"};t.GenericTagDesign={Full:"Full",StatusIconHidden:"StatusIconHidden"};t.GenericTagValueState={None:"None",Error:"Error"};t.GenericTileMode={ContentMode:"ContentMode",HeaderMode:"HeaderMode",LineMode:"LineMode"};t.GenericTileScope={Display:"Display",Actions:"Actions"};t.TileSizeBehavior={Responsive:"Responsive",Small:"Small"};t.HeaderLevel={H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6"};t.IBarHTMLTag={Div:"Div",Header:"Header",Footer:"Footer"};t.IconTabHeaderMode={Standard:"Standard",Inline:"Inline"};t.IconTabDensityMode={Inherit:"Inherit",Compact:"Compact",Cozy:"Cozy"};t.IconTabFilterDesign={Horizontal:"Horizontal",Vertical:"Vertical"};t.ImageMode={Image:"Image",Background:"Background"};t.Size={XS:"XS",S:"S",M:"M",L:"L",Auto:"Auto",Responsive:"Responsive"};t.ValueColor={Neutral:"Neutral",Good:"Good",Critical:"Critical",Error:"Error"};t.ValueCSSColor=a.createType('sap.m.ValueCSSColor',{isValid:function(v){var r=t.ValueColor.hasOwnProperty(v);if(r){return r;}else{r=b.CSSColor.isValid(v);if(r){return r;}else{var P=sap.ui.requireSync("sap/ui/core/theming/Parameters");return b.CSSColor.isValid(P.get(v));}}}},a.getType('string'));t.InputType={Text:"Text",Date:"Date",Datetime:"Datetime",DatetimeLocale:"DatetimeLocale",Email:"Email",Month:"Month",Number:"Number",Tel:"Tel",Time:"Time",Url:"Url",Week:"Week",Password:"Password"};t.LabelDesign={Bold:"Bold",Standard:"Standard"};t.ListHeaderDesign={Standard:"Standard",Plain:"Plain"};t.ListMode={None:"None",SingleSelect:"SingleSelect",SingleSelectLeft:"SingleSelectLeft",SingleSelectMaster:"SingleSelectMaster",MultiSelect:"MultiSelect",Delete:"Delete"};t.ListKeyboardMode={Navigation:"Navigation",Edit:"Edit"};t.ListGrowingDirection={Downwards:"Downwards",Upwards:"Upwards"};t.ListSeparators={All:"All",Inner:"Inner",None:"None"};t.ListType={Inactive:"Inactive",Detail:"Detail",Navigation:"Navigation",Active:"Active",DetailAndActive:"DetailAndActive"};t.SelectListKeyboardNavigationMode={None:"None",Delimited:"Delimited"};t.LoadState={Loading:"Loading",Loaded:"Loaded",Failed:"Failed",Disabled:"Disabled"};t.MenuButtonMode={Regular:"Regular",Split:"Split"};t.OverflowToolbarPriority={NeverOverflow:"NeverOverflow",Never:"Never",High:"High",Low:"Low",Disappear:"Disappear",AlwaysOverflow:"AlwaysOverflow",Always:"Always"};t.ObjectHeaderPictureShape={Circle:"Circle",Square:"Square"};t.P13nPanelType={sort:"sort",filter:"filter",group:"group",columns:"columns",dimeasure:"dimeasure",selection:"selection"};t.PageBackgroundDesign={Standard:"Standard",List:"List",Solid:"Solid",Transparent:"Transparent"};t.PanelAccessibleRole={Complementary:"Complementary",Form:"Form",Region:"Region"};t.PDFViewerDisplayType={Auto:"Auto",Embedded:"Embedded",Link:"Link"};t.PlacementType={Left:"Left",Right:"Right",Top:"Top",Bottom:"Bottom",Vertical:"Vertical",VerticalPreferedTop:"VerticalPreferedTop",VerticalPreferredTop:"VerticalPreferredTop",VerticalPreferedBottom:"VerticalPreferedBottom",VerticalPreferredBottom:"VerticalPreferredBottom",Horizontal:"Horizontal",HorizontalPreferedRight:"HorizontalPreferedRight",HorizontalPreferredRight:"HorizontalPreferredRight",HorizontalPreferedLeft:"HorizontalPreferedLeft",HorizontalPreferredLeft:"HorizontalPreferredLeft",PreferredLeftOrFlip:"PreferredLeftOrFlip",PreferredRightOrFlip:"PreferredRightOrFlip",PreferredTopOrFlip:"PreferredTopOrFlip",PreferredBottomOrFlip:"PreferredBottomOrFlip",Auto:"Auto"};t.QuickViewGroupElementType={phone:"phone",mobile:"mobile",email:"email",link:"link",text:"text",pageLink:"pageLink"};t.VerticalPlacementType={Top:"Top",Bottom:"Bottom",Vertical:"Vertical"};t.PopinDisplay={Block:"Block",Inline:"Inline",WithoutHeader:"WithoutHeader"};t.PopinLayout={Block:"Block",GridSmall:"GridSmall",GridLarge:"GridLarge"};t.Sticky={ColumnHeaders:"ColumnHeaders",HeaderToolbar:"HeaderToolbar",InfoToolbar:"InfoToolbar"};t.RatingIndicatorVisualMode={Full:"Full",Half:"Half"};t.ScreenSize={Phone:"Phone",Tablet:"Tablet",Desktop:"Desktop",XXSmall:"XXSmall",XSmall:"XSmall",Small:"Small",Medium:"Medium",Large:"Large",XLarge:"XLarge",XXLarge:"XXLarge"};t.SelectionDetailsActionLevel={Item:"Item",List:"List",Group:"Group"};t.SelectType={Default:"Default",IconOnly:"IconOnly"};t.SplitAppMode={ShowHideMode:"ShowHideMode",StretchCompressMode:"StretchCompressMode",PopoverMode:"PopoverMode",HideMode:"HideMode"};t.StandardTileType={Create:"Create",Monitor:"Monitor",None:"None"};t.semantic=t.semantic||{};t.semantic.SemanticRuleSetType={Classic:"Classic",Optimized:"Optimized"};t.ObjectMarkerType={Flagged:"Flagged",Favorite:"Favorite",Draft:"Draft",Locked:"Locked",Unsaved:"Unsaved",LockedBy:"LockedBy",UnsavedBy:"UnsavedBy"};t.ObjectMarkerVisibility={IconOnly:"IconOnly",TextOnly:"TextOnly",IconAndText:"IconAndText"};t.SwipeDirection={LeftToRight:"LeftToRight",RightToLeft:"RightToLeft",Both:"Both"};t.SwitchType={Default:"Default",AcceptReject:"AcceptReject"};t.ToolbarDesign={Auto:"Auto",Transparent:"Transparent",Info:"Info",Solid:"Solid"};t.ToolbarStyle={Standard:"Standard",Clear:"Clear"};t.TimePickerMaskMode={On:"On",Off:"Off"};t.StringFilterOperator={Equals:"Equals",Contains:"Contains",StartsWith:"StartsWith",AnyWordStartsWith:"AnyWordStartsWith"};t.LightBoxLoadingStates={Loading:"LOADING",Loaded:"LOADED",TimeOutError:"TIME_OUT_ERROR",Error:"ERROR"};t.StepInputValidationMode={FocusOut:"FocusOut",LiveChange:"LiveChange"};t.StepInputStepModeType={AdditionAndSubtraction:"AdditionAndSubtraction",Multiple:"Multiple"};t.UploadState={Complete:"Complete",Error:"Error",Ready:"Ready",Uploading:"Uploading"};t.WrappingType={Normal:"Normal",Hyphenated:"Hyphenated"};t.PlanningCalendarStickyMode={None:"None",All:"All",NavBarAndColHeaders:"NavBarAndColHeaders"};sap.ui.lazyRequire("sap.m.MessageToast","show");sap.ui.lazyRequire("sap.m.routing.RouteMatchedHandler");sap.ui.lazyRequire("sap.m.routing.Router");sap.ui.lazyRequire("sap.m.routing.Target");sap.ui.lazyRequire("sap.m.routing.TargetHandler");sap.ui.lazyRequire("sap.m.routing.Targets");if(D.os.ios&&D.os.version>=7&&D.os.version<8&&D.browser.name==="sf"){sap.ui.requireSync("sap/m/ios7");}if(/sap-ui-xx-formfactor=compact/.test(location.search)){q("html").addClass("sapUiSizeCompact");t._bSizeCompact=true;}if(/sap-ui-xx-formfactor=condensed/.test(location.search)){q("html").addClass("sapUiSizeCondensed");t._bSizeCondensed=true;}t.getInvalidDate=function(){return null;};t.getLocale=function(){var l=sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();t.getLocale=function(){return l;};return l;};t.getLocaleData=function(){var l=sap.ui.requireSync("sap/ui/core/LocaleData").getInstance(t.getLocale());t.getLocaleData=function(){return l;};return l;};t.isDate=function(v){return v&&Object.prototype.toString.call(v)=="[object Date]"&&!isNaN(v);};t.getIScroll=function(c){if(typeof window.iScroll!="function"||!(c instanceof C)){return;}var p,s;for(p=c;p=p.oParent;){s=p.getScrollDelegate?p.getScrollDelegate()._scroller:null;if(s&&s instanceof window.iScroll){return s;}}};t.getScrollDelegate=function(h,G){if(!(h instanceof C)){return;}var U=sap.ui.require("sap/ui/core/UIComponent");function i(c){if(!c){return;}return G&&U&&(c instanceof U)?c.oContainer:c.oParent;}for(var p=h;p=i(p);){if(p&&typeof p.getScrollDelegate=="function"){return p.getScrollDelegate(h);}}};t.ScreenSizes={phone:240,tablet:600,desktop:1024,xxsmall:240,xsmall:320,small:480,medium:560,large:768,xlarge:960,xxlarge:1120};f(t,"BaseFontSize",function(){t.BaseFontSize=q(document.documentElement).css("font-size")||"16px";return t.BaseFontSize;});t.closeKeyboard=function(){var c=document.activeElement;if(!D.system.desktop&&c&&/(INPUT|TEXTAREA)/i.test(c.tagName)){c.blur();}};t.touch=t.touch||{};t.touch.find=function(T,c){var i,h;if(!T){return;}if(c&&typeof c.identifier!=="undefined"){c=c.identifier;}else if(typeof c!=="number"){e(false,'sap.m.touch.find(): oTouch must be a touch object or a number');return;}h=T.length;for(i=0;i<h;i++){if(T[i].identifier===c){return T[i];}}};t.touch.countContained=function(T,v){var i,c=0,h,j,$;if(!T){return 0;}if(v instanceof Element){v=q(v);}else if(typeof v==="string"){v=q(document.getElementById(v));}else if(!(v instanceof q)){e(false,'sap.m.touch.countContained(): vElement must be a jQuery object or Element reference or a string');return 0;}j=v.children().length;h=T.length;for(i=0;i<h;i++){$=q(T[i].target);if((j===0&&$.is(v))||(v[0].contains($[0]))){c++;}}return c;};t.URLHelper=(function(){function i(v){return v&&Object.prototype.toString.call(v)=="[object String]";}function c(T){if(!i(T)){return"";}return T.replace(/[^0-9\+\*#]/g,"");}function h(T){if(!i(T)){return"";}T=T.split(/\r\n|\r|\n/g).join("\r\n");return encodeURIComponent(T);}return q.extend(new E(),{normalizeTel:function(T){return"tel:"+c(T);},normalizeSms:function(T){return"sms:"+c(T);},normalizeEmail:function(s,S,B,j,k){var p=[],u="mailto:",l=encodeURIComponent;i(s)&&(u+=l(q.trim(s)));i(S)&&p.push("subject="+l(S));i(B)&&p.push("body="+h(B));i(k)&&p.push("bcc="+l(q.trim(k)));i(j)&&p.push("cc="+l(q.trim(j)));if(p.length){u+="?"+p.join("&");}return u;},redirect:function(u,n){e(i(u),this+"#redirect: URL must be a string");this.fireEvent("redirect",u);if(!n){window.location.href=u;}else{o(u,"_blank");}},attachRedirect:function(F,l){return this.attachEvent("redirect",F,l);},detachRedirect:function(F,l){return this.detachEvent("redirect",F,l);},triggerTel:function(T){this.redirect(this.normalizeTel(T));},triggerSms:function(T){this.redirect(this.normalizeSms(T));},triggerEmail:function(s,S,B,j,k){this.redirect(this.normalizeEmail.apply(0,arguments));},toString:function(){return"sap.m.URLHelper";}});}());t.BackgroundHelper={addBackgroundColorStyles:function(r,B,s,c){r.addClass(c||"sapUiGlobalBackgroundColor");if(B&&!a.getType("sap.ui.core.CSSColor").isValid(B)){L.warning(B+" is not a valid sap.ui.core.CSSColor type");B="";}if(B||s){r.addStyle("background-image","none");r.addStyle("filter","none");}if(B){r.addStyle("background-color",B);}},renderBackgroundImageTag:function(r,c,v,B,R,h){r.write("<div id='"+c.getId()+"-BG' ");if(Array.isArray(v)){for(var i=0;i<v.length;i++){r.addClass(v[i]);}}else{r.addClass(v);}r.addClass("sapUiGlobalBackgroundImage");if(B){r.addStyle("display","block");r.addStyle("background-image","url("+g(B)+")");r.addStyle("background-repeat",R?"repeat":"no-repeat");if(!R){r.addStyle("background-size","cover");r.addStyle("background-position","center");}else{r.addStyle("background-position","left top");}}if(h!==1){if(h>1){h=1;}r.addStyle("opacity",h);}r.writeClasses(false);r.writeStyles();r.write("></div>");}};t.ImageHelper=(function(){function c(h,p,v){if(v!==undefined){var s=h['set'+d(p)];if(typeof(s)==="function"){s.call(h,v);return true;}}return false;}var i={getImageControl:function(I,h,p,P,j,m){e(P.src,"sap.m.ImageHelper.getImageControl: mProperties do not contain 'src'");if(h&&(h.getSrc()!=P.src)){h.destroy();h=undefined;}if(h&&(h instanceof sap.m.Image||h instanceof sap.ui.core.Icon)){for(var n in P){c(h,n,P[n]);}}else{var r=sap.ui.require("sap/m/Image")||sap.ui.requireSync("sap/m/Image");var s=Object.assign({},P,{id:I});h=sap.ui.core.IconPool.createControlByURI(s,r);h.setParent(p,null,true);}if(m){for(var l=0,u=m.length;l!==u;l++){h.removeStyleClass(m[l]);}}if(j){for(var k=0,v=j.length;k!==v;k++){h.addStyleClass(j[k]);}}return h;}};return i;}());t.PopupHelper={calcPercentageSize:function(p,B){if(typeof p!=="string"){L.warning("sap.m.PopupHelper: calcPercentageSize, the first parameter"+p+"isn't with type string");return null;}if(p.indexOf("%")<=0){L.warning("sap.m.PopupHelper: calcPercentageSize, the first parameter"+p+"is not a percentage string (for example '25%')");return null;}var P=parseFloat(p)/100,c=parseFloat(B);return Math.floor(P*c)+"px";}};t.InputODataSuggestProvider=(function(){var _=function(h){var i=h.getSource();var v=i.data(i.getId()+"-#valueListAnnotation");var m=i.getModel();var j=i.getBinding("value");var s=m.resolve(j.getPath(),j.getContext());if(!v){return;}var r=h.getParameter("selectedRow");q.each(r.getCells(),function(k,l){var n=l.getBinding("text");q.each(v.outParameters,function(K,p){if(!p.displayOnly&&p.value==n.getPath()){var V=n.getValue();var u=m.resolve(K,j.getContext());if(V&&u!==s){m.setProperty(u,V);}}});});return true;};var c=function(h,r){var M=h.getModel();var l=M.oMetadata;var p=M.resolve(h.getBindingPath("value"),h.getBindingContext());var v={};v.searchSupported=false;v.collectionPath="";v.outParameters={};v.inParameters={};v.selection=[];var A=M.getProperty(p+"/#com.sap.vocabularies.Common.v1.ValueList");if(!A){return false;}var P=p.substr(p.lastIndexOf('/')+1);v.inProperty=P;q.each(A.record,function(i,n){q.each(n,function(j,s){if(s.property==="SearchSupported"&&s.bool){v.searchSupported=true;}if(s.property==="CollectionPath"){v.collectionPath=s.string;}if(s.property==="Parameters"){q.each(s.collection.record,function(k,R){if(R.type==="com.sap.vocabularies.Common.v1.ValueListParameterIn"){var u;q.each(R.propertyValue,function(m,w){if(w.property==="LocalDataProperty"){u=w.propertyPath;}});q.each(R.propertyValue,function(m,w){if(w.property==="ValueListProperty"){v.inParameters[u]={value:w.string};}});}else if(R.type==="com.sap.vocabularies.Common.v1.ValueListParameterInOut"){var u;q.each(R.propertyValue,function(m,w){if(w.property==="LocalDataProperty"){u=w.propertyPath;}});q.each(R.propertyValue,function(m,w){if(w.property==="ValueListProperty"){v.outParameters[u]={value:w.string};v.inParameters[u]={value:w.string};}});}else if(R.type==="com.sap.vocabularies.Common.v1.ValueListParameterOut"){var u;q.each(R.propertyValue,function(m,w){if(w.property==="LocalDataProperty"){u=w.propertyPath;}});q.each(R.propertyValue,function(m,w){if(w.property==="ValueListProperty"){v.outParameters[u]={value:w.string};}});}else if(R.type==="com.sap.vocabularies.Common.v1.ValueListParameterDisplayOnly"){var u;q.each(R.propertyValue,function(m,w){if(w.property==="ValueListProperty"){v.outParameters[w.string]={value:w.string,displayOnly:true};}});}});}});});v.resultEntity=l._getEntityTypeByPath("/"+v.collectionPath);v.listItem=new sap.m.ColumnListItem();q.each(v.outParameters,function(k,i){v.listItem.addCell(new sap.m.Text({text:"{"+i.value+"}",wrapping:false}));h.addSuggestionColumn(new sap.m.Column({header:new sap.m.Text({text:"{/#"+v.resultEntity.name+"/"+i.value+"/@sap:label}",wrapping:false})}));v.selection.push(i.value);});h.data(h.getId()+"-#valueListAnnotation",v);if(r){h.attachSuggestionItemSelected(_);}};var I={suggest:function(h,r,R,l){var v,i=h.getSource();r=r===undefined?true:r;R=R===undefined?true:R;if(!i.data(i.getId()+"-#valueListAnnotation")){c(i,R);}v=i.data(i.getId()+"-#valueListAnnotation");if(!v){return;}var j=function(h){var B=this.getLength();if(B&&B<=l){i.setShowTableSuggestionValueHelp(false);}else{i.setShowTableSuggestionValueHelp(true);}};if(v.searchSupported){var F=[];var s,k={};if(r){q.each(v.inParameters,function(K,m){if(K==v.inProperty){s=m.value;}else if(r){var V=i.getModel().getProperty(K,i.getBinding("value").getContext());if(V){F.push(new sap.ui.model.Filter(m.value,sap.ui.model.FilterOperator.StartsWith,V));}}});}k.search=h.getParameter("suggestValue");if(v.inParameters.length){if(s){k["search-focus"]=s;}else{e(false,'no search-focus defined');}}i.bindAggregation("suggestionRows",{path:"/"+v.collectionPath,length:l,filters:F,parameters:{select:v.selection.join(','),custom:k},events:{dataReceived:j},template:v.listItem});}else{var F=[];q.each(v.inParameters,function(K,m){if(K==v.inProperty){F.push(new sap.ui.model.Filter(m.value,sap.ui.model.FilterOperator.StartsWith,h.getParameter("suggestValue")));}else if(r){var V=i.getModel().getProperty(K,i.getBinding("value").getContext());if(V){F.push(new sap.ui.model.Filter(m.value,sap.ui.model.FilterOperator.StartsWith,V));}}});i.bindAggregation("suggestionRows",{path:"/"+v.collectionPath,filters:F,template:v.listItem,length:l,parameters:{select:v.selection.join(',')},events:{dataReceived:j}});}}};return I;}());O.set("sap.ui.layout.form.FormHelper",{createLabel:function(T,i){return new sap.m.Label(i,{text:T});},createButton:function(i,p,c){var h=this;var _=function(j){var k=new j(i,{type:t.ButtonType.Transparent});k.attachEvent('press',p,h);c.call(h,k);};var B=sap.ui.require("sap/m/Button");if(B){_(B);}else{sap.ui.require(["sap/m/Button"],_);}},setButtonContent:function(B,T,s,i,I){B.setText(T);B.setTooltip(s);B.setIcon(i);B.setActiveIcon(I);},addFormClass:function(){return"sapUiFormM";},setToolbar:function(T){var c=this.getToolbar();if(c&&c.setDesign){c.setDesign(c.getDesign(),true);}if(T&&T.setDesign){T.setDesign(sap.m.ToolbarDesign.Transparent,true);}return T;},bArrowKeySupport:false,bFinal:true});O.set("sap.ui.unified.FileUploaderHelper",{createTextField:function(i){var T=new sap.m.Input(i);return T;},setTextFieldContent:function(T,w){T.setWidth(w);},createButton:function(){var B=new sap.m.Button();return B;},addFormClass:function(){return"sapUiFUM";},bFinal:true});O.set("sap.ui.unified.ColorPickerHelper",{isResponsive:function(){return true;},factory:{createLabel:function(c){return new sap.m.Label(c);},createInput:function(i,c){return new sap.m.InputBase(i,c);},createSlider:function(i,c){return new sap.m.Slider(i,c);},createRadioButtonGroup:function(c){return new sap.m.RadioButtonGroup(c);},createRadioButtonItem:function(c){return new sap.m.RadioButton(c);},createButton:function(i,c){return new sap.m.Button(i,c);}},bFinal:true});O.set("sap.ui.table.TableHelper",{createLabel:function(c){return new sap.m.Label(c);},createTextView:function(c){return new sap.m.Label(c);},addTableClass:function(){return"sapUiTableM";},bFinal:true});O.set("sap.ui.layout.GridHelper",{getLibrarySpecificClass:function(){return"";},bFinal:true});if(D.os.blackberry||D.os.android&&D.os.version>=4){q(window).on("resize",function(){var A=document.activeElement;var T=A?A.tagName:"";if(T=="INPUT"||T=="TEXTAREA"){setTimeout(function(){A.scrollIntoViewIfNeeded();},0);}});}if(!Number.MAX_SAFE_INTEGER){Number.MAX_SAFE_INTEGER=Math.pow(2,53)-1;}return t;});
sap.ui.predefine('sap/m/routing/Router',['sap/ui/core/routing/Router','./TargetHandler','./Targets'],function(R,T,a){"use strict";var M=R.extend("sap.m.routing.Router",{constructor:function(){this._oTargetHandler=new T();R.prototype.constructor.apply(this,arguments);},destroy:function(){R.prototype.destroy.apply(this,arguments);this._oTargetHandler.destroy();this._oTargetHandler=null;},getTargetHandler:function(){return this._oTargetHandler;},_createTargets:function(c,t){return new a({views:this._oViews,config:c,targets:t,targetHandler:this._oTargetHandler});},fireRouteMatched:function(A){var r=this.getRoute(A.name),t;if(r._oTarget){t=r._oTarget._oOptions;this._oTargetHandler.addNavigation({navigationIdentifier:A.name,transition:t.transition,transitionParameters:t.transitionParameters,eventData:A.arguments,targetControl:A.targetControl,view:A.view,preservePageInSplitContainer:t.preservePageInSplitContainer});}return R.prototype.fireRouteMatched.apply(this,arguments);},fireRoutePatternMatched:function(A){var r=A.name,o=this.getRoute(r),v;if(o._oTarget){if(this._oTargets&&this._oTargets._oLastDisplayedTarget){v=this._oTargets._getViewLevel(this._oTargets._oLastDisplayedTarget);}this._oTargetHandler.navigate({navigationIdentifier:r,viewLevel:v,askHistory:true});}return R.prototype.fireRoutePatternMatched.apply(this,arguments);}});return M;});
sap.ui.predefine('sap/m/routing/Target',['sap/ui/core/routing/Target','./async/Target','./sync/Target',"sap/base/Log","sap/base/util/UriParameters"],function(T,a,s,L,U){"use strict";var M=T.extend("sap.m.routing.Target",{constructor:function(o,v,p,t){this._oTargetHandler=t;function c(){if(U.fromQuery(window.location.search).get("sap-ui-xx-asyncRouting")==="true"){L.warning("Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon","MobileTarget");return true;}return false;}if(o._async===undefined){o._async=c();}T.prototype.constructor.apply(this,arguments);var b=o._async?a:s;this._super={};for(var f in b){this._super[f]=this[f];this[f]=b[f];}}});return M;});
sap.ui.predefine('sap/m/routing/TargetHandler',['sap/m/InstanceManager','sap/m/NavContainer','sap/m/SplitContainer','sap/ui/base/Object','sap/ui/core/routing/History','sap/ui/Device',"sap/base/Log"],function(I,N,S,B,H,D,L){"use strict";var T=B.extend("sap.m.routing.TargetHandler",{constructor:function(c){this._aQueue=[];this._oNavigationOrderPromise=Promise.resolve();if(c===undefined){this._bCloseDialogs=true;}else{this._bCloseDialogs=!!c;}}});T.prototype.setCloseDialogs=function(c){this._bCloseDialogs=!!c;return this;};T.prototype.getCloseDialogs=function(){return this._bCloseDialogs;};T.prototype.addNavigation=function(p){this._aQueue.push(p);};T.prototype.navigate=function(d){var r=this._createResultingNavigations(d.navigationIdentifier),c=false,b=this._getDirection(d),n;while(r.length){n=this._applyNavigationResult(r.shift().oParams,b);c=c||n;}if(c){this._closeDialogs();}};T.prototype._chainNavigation=function(n){this._oNavigationOrderPromise=this._oNavigationOrderPromise.then(n);return this._oNavigationOrderPromise;};T.prototype._getDirection=function(d){var t=d.viewLevel,h=H.getInstance(),b=false;if(d.direction==="Backwards"){b=true;}else if(isNaN(t)||isNaN(this._iCurrentViewLevel)||t===this._iCurrentViewLevel){if(d.askHistory){b=h.getDirection()==="Backwards";}}else{b=t<this._iCurrentViewLevel;}this._iCurrentViewLevel=t;return b;};T.prototype._createResultingNavigations=function(n){var i,f,c,C,o,r=[],v,b,a,p,R;while(this._aQueue.length){f=false;c=this._aQueue.shift();C=c.targetControl;b=C instanceof S;a=C instanceof N;v=c.view;o={oContainer:C,oParams:c,bIsMasterPage:(b&&!!C.getMasterPage(v.getId()))};p=b&&c.preservePageInSplitContainer&&C.getCurrentPage(o.bIsMasterPage)&&n!==c.navigationIdentifier;if(!(a||b)||!v){continue;}for(i=0;i<r.length;i++){R=r[i];if(R.oContainer!==C){continue;}if(a||D.system.phone){r.splice(i,1);r.push(o);f=true;break;}if(R.bIsMasterPage===o.bIsMasterPage){if(p){break;}r.splice(i,1);r.push(o);f=true;break;}}if(C instanceof S&&!D.system.phone){o.bIsMasterPage=!!C.getMasterPage(v.getId());}if(!f){if(!!C.getCurrentPage(o.bIsMasterPage)&&p){continue;}r.push(o);}}return r;};T.prototype._applyNavigationResult=function(p,b){var t=p.targetControl,P,a=p.eventData,s=p.transition||"",o=p.transitionParameters,v=p.view.getId(),n=t instanceof S&&!!t.getMasterPage(v);if(t.getDomRef()&&t.getCurrentPage(n).getId()===v){L.info("navigation to view with id: "+v+" is skipped since it already is displayed by its targetControl","sap.m.routing.TargetHandler");return false;}L.info("navigation to view with id: "+v+" the targetControl is "+t.getId()+" backwards is "+b);if(b){P=t.getPreviousPage(n);if(!P||P.getId()!==v){t.insertPreviousPage(v,s,a);}t.backToPage(v,a,o);}else{t.to(v,s,a,o);}return true;};T.prototype._closeDialogs=function(){if(!this._bCloseDialogs){return;}if(I.hasOpenPopover()){I.closeAllPopovers();}if(I.hasOpenDialog()){I.closeAllDialogs();}if(I.hasOpenLightBox()){I.closeAllLightBoxes();}};return T;});
sap.ui.predefine('sap/m/routing/Targets',['sap/ui/core/routing/Targets','./TargetHandler','./Target','./async/Targets','./sync/Targets',"sap/base/Log","sap/base/util/UriParameters"],function(T,a,b,c,s,L,U){"use strict";var M=T.extend("sap.m.routing.Targets",{constructor:function(o){if(!o.config){o.config={_async:false};}function d(){if(U.fromQuery(window.location.search).get("sap-ui-xx-asyncRouting")==="true"){L.warning("Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon","MobileTargets");return true;}return false;}if(o.config._async===undefined){o.config._async=(o.config.async===undefined)?d():o.config.async;}if(o.targetHandler){this._oTargetHandler=o.targetHandler;}else{this._oTargetHandler=new a();this._bHasOwnTargetHandler=true;}T.prototype.constructor.apply(this,arguments);var e=o.config._async?c:s;this._super={};for(var f in e){this._super[f]=this[f];this[f]=e[f];}},destroy:function(){T.prototype.destroy.apply(this,arguments);if(this._bHasOwnTargetHandler){this._oTargetHandler.destroy();}this._oTargetHandler=null;},getTargetHandler:function(){return this._oTargetHandler;},_constructTarget:function(o,p){return new b(o,this.getViews(),p,this._oTargetHandler);},_getViewLevel:function(t){var v;do{v=t._oOptions.viewLevel;if(v!==undefined){return v;}t=t._oParent;}while(t);return v;}});return M;});
sap.ui.predefine('sap/m/routing/async/Target',[],function(){"use strict";return{_place:function(d){var p=this._super._place.apply(this,arguments),t=this;return this._oTargetHandler._chainNavigation(function(){return p.then(function(v){t._oTargetHandler.addNavigation({navigationIdentifier:t._oOptions._name,transition:t._oOptions.transition,transitionParameters:t._oOptions.transitionParameters,eventData:d,targetControl:v.control,view:v.view,preservePageInSplitContainer:t._oOptions.preservePageInSplitContainer});if(d){delete d.routeConfig;}return v;});});}};},true);
sap.ui.predefine('sap/m/routing/async/Targets',[],function(){"use strict";return{_display:function(){var v,n;this._oLastDisplayedTarget=null;var p=this._super._display.apply(this,arguments);return p.then(function(V){if(this._oLastDisplayedTarget){v=this._getViewLevel(this._oLastDisplayedTarget);n=this._oLastDisplayedTarget._oOptions._name;}this._oTargetHandler.navigate({viewLevel:v,navigationIdentifier:n,askHistory:true});return V;}.bind(this));},_displaySingleTarget:function(t){var T=this.getTarget(t.name);return this._super._displaySingleTarget.apply(this,arguments).then(function(v){if(T){this._oLastDisplayedTarget=T;}return v;}.bind(this));}};},true);
sap.ui.predefine('sap/m/routing/sync/Target',[],function(){"use strict";return{_place:function(p,d){var r=this._super._place.apply(this,arguments);this._oTargetHandler.addNavigation({navigationIdentifier:this._oOptions._name,transition:this._oOptions.transition,transitionParameters:this._oOptions.transitionParameters,eventData:d,targetControl:r.oTargetControl,view:r.oTargetParent,preservePageInSplitContainer:this._oOptions.preservePageInSplitContainer});if(d){delete d.routeConfig;}return r;}};},true);
sap.ui.predefine('sap/m/routing/sync/Targets',[],function(){"use strict";return{_display:function(){var v,n;this._oLastDisplayedTarget=null;var r=this._super._display.apply(this,arguments);if(this._oLastDisplayedTarget){v=this._getViewLevel(this._oLastDisplayedTarget);n=this._oLastDisplayedTarget._oOptions._name;}this._oTargetHandler.navigate({viewLevel:v,navigationIdentifier:n,askHistory:true});return r;},_displaySingleTarget:function(n){var t=this.getTarget(n);if(t){this._oLastDisplayedTarget=t;}return this._super._displaySingleTarget.apply(this,arguments);}};},true);
sap.ui.predefine('sap/m/semantic/Segment',['sap/ui/base/Metadata',"sap/base/Log"],function(M,L){"use strict";var S=M.createClass("sap.m.semantic.Segment",{constructor:function(C,o,s,f){if(!o){L.error("missing argumment: constructor expects a container reference",this);return;}C||(C=[]);this._aContent=C;this._oContainer=o;this._sContainerAggregationName=s;this._fnSortFunction=f;}});S.prototype.getStartIndex=function(){return 0;};S.prototype.getEndIndex=function(){return this.getStartIndex()+this._aContent.length;};S.prototype.getContent=function(){return this._aContent.slice();};S.prototype.indexOfContent=function(C){return this._aContent.indexOf(C);};S.prototype.addContent=function(C,s){if(this._fnSortFunction){var i=this._matchSortToInsertIndex(C);if(typeof i!=='undefined'){this._insertContent(C,i,s);return C;}}var a=this.getEndIndex(),l=this._aContent.length,A="insert"+c(this._sContainerAggregationName);this._oContainer[A](C,a,s);this._aContent.splice(l,0,C);return C;};S.prototype.insertContent=function(C,i,s){if(this._fnSortFunction){var I=this._matchSortToInsertIndex(C);if(typeof I!=='undefined'){this._insertContent(C,I,s);return C;}}return this._insertContent(C,i,s);};S.prototype.removeContent=function(C,s){var l=this._aContent.indexOf(C),a="remove"+c(this._sContainerAggregationName);if(l>-1){this._aContent.splice(l,1);return this._oContainer[a](C,s);}};S.prototype.removeAllContent=function(s){var r=[],g=this._oContainer.getAggregation(this._sContainerAggregationName),a=this.getStartIndex(),e=this.getEndIndex(),A="remove"+c(this._sContainerAggregationName);for(var i=a;i<e;i++){var I=this._oContainer[A](g[i],s);if(I){r.push(I);}}this._aContent=[];return r;};S.prototype.destroy=function(s){var r=this.removeAllContent(s);for(var i=0;i<r.length;i++){r[i].destroy(s);}};S.prototype._insertContent=function(C,i,s){var I=Math.min(this.getStartIndex()+i,this.getEndIndex()),a="insert"+c(this._sContainerAggregationName);I=Math.max(I,0);this._oContainer[a](C,I,s);this._aContent.splice(i,0,C);return C;};S.prototype._matchSortToInsertIndex=function(C){for(var i=0;i<this._aContent.length;i++){if(this._fnSortFunction(C,this._aContent[i])<=0){return i;}}};function c(n){return n.charAt(0).toUpperCase()+n.substring(1);}return S;},false);
sap.ui.predefine('sap/m/semantic/SegmentedContainer',['sap/m/semantic/Segment','sap/ui/base/Metadata',"sap/base/Log"],function(S,M,L){"use strict";var a=M.createClass("sap.m.semantic.SegmentedContainer",{constructor:function(c,C){if(!c){L.error("missing argumment: constructor expects a container reference",this);return;}this._oContainer=c;C||(C="content");this._sContainerAggregationName=C;this._aSegments=[];}});a.prototype.addSection=function(o){if(!o||!o.sTag){L.error("missing argumment: section options expected",this);return;}if(o.aContent){var c=o.aContent;var l=c.length;for(var i=0;i<l;i++){this._oContainer.addAggregation(this._sContainerAggregationName,c[i]);}}var s=new S(c,this._oContainer,this._sContainerAggregationName,o.fnSortFunction);s.sTag=o.sTag;var b=this._aSegments;s.getStartIndex=function(){var d=0;var e=b.indexOf(this);if(e>0){var p=e-1;while(p>=0){d+=b[p].getContent().length;p--;}}return d;};this._aSegments.push(s);};a.prototype.getSection=function(t){var s;this._aSegments.forEach(function(b){if(b.sTag===t){s=b;}});return s;};a.prototype.destroy=function(s){this._oContainer.destroy(s);this.aSegments=null;};a.prototype.getContainer=function(){return this._oContainer;};return a;},false);
sap.ui.predefine('sap/m/semantic/SemanticConfiguration',["sap/ui/base/Metadata","sap/m/library","sap/m/OverflowToolbarLayoutData","sap/ui/core/IconPool","sap/ui/core/InvisibleText"],function(M,l,O,I,a){"use strict";var B=l.ButtonType;var P=l.PlacementType;var S=l.semantic.SemanticRuleSetType;var b=l.OverflowToolbarPriority;var c=M.createClass("sap.m.semantic.SemanticConfiguration",{});c.prototype._PositionInPage={headerLeft:"headerLeft",headerRight:"headerRight",headerMiddle:"headerMiddle",footerLeft:"footerLeft",footerRight_IconOnly:"footerRight_IconOnly",footerRight_TextOnly:"footerRight_TextOnly",shareMenu:"shareMenu"};c._PageMode={display:"display",edit:"edit",multimode:"multimode"};c.isKnownSemanticType=function(t){return c.getConfiguration(t)!=undefined;};c.getConfiguration=function(t){return c._oTypeConfigs[t];};c.getSettings=function(t){return c._oTypeConfigs[t].getSettings();};c.getPositionInPage=function(t){return c._oTypeConfigs[t].position;};c.getSequenceOrderIndex=function(t){return c._oTypeConfigs[t].order;};c.getAriaId=function(t){return c._oTypeConfigs[t].getSettings().ariaLabelledBy;};c.getShareMenuConfig=function(r){switch(r){case S.Classic:return{baseButtonPlacement:P.Bottom,actionSheetPlacement:P.Top};case S.Optimized:return{baseButtonPlacement:P.Top,actionSheetPlacement:P.Bottom};}};c._oTypeConfigs=(function(){var t={},o=sap.ui.getCore().getLibraryResourceBundle("sap.m");t["sap.m.semantic.MultiSelectAction"]={position:c.prototype._PositionInPage.headerRight,getSettings:function(){return{icon:I.getIconURI("multi-select"),tooltip:o.getText("SEMANTIC_CONTROL_MULTI_SELECT")};}};t["sap.m.semantic.MainAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,getSettings:function(){return{type:B.Emphasized,layoutData:new O({priority:b.NeverOverflow})};},order:0};t["sap.m.semantic.EditAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,triggers:c._PageMode.edit,getSettings:function(){return{text:o.getText("SEMANTIC_CONTROL_EDIT"),type:B.Emphasized,layoutData:new O({priority:b.NeverOverflow})};},order:1};t["sap.m.semantic.SaveAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,triggers:c._PageMode.display,getSettings:function(){return{text:o.getText("SEMANTIC_CONTROL_SAVE"),type:B.Emphasized,layoutData:new O({priority:b.NeverOverflow})};},order:3};t["sap.m.semantic.DeleteAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,triggers:c._PageMode.display,getSettings:function(){return{text:o.getText("SEMANTIC_CONTROL_DELETE"),layoutData:new O({priority:b.NeverOverflow})};},order:4};t["sap.m.semantic.PositiveAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,getSettings:function(){return{type:B.Accept,layoutData:new O({priority:b.NeverOverflow})};},order:5};t["sap.m.semantic.NegativeAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,getSettings:function(){return{type:B.Reject,layoutData:new O({priority:b.NeverOverflow})};},order:6};t["sap.m.semantic.CancelAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,triggers:c._PageMode.display,getSettings:function(){return{text:o.getText("SEMANTIC_CONTROL_CANCEL")};},order:7};t["sap.m.semantic.ForwardAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,getSettings:function(){return{text:o.getText("SEMANTIC_CONTROL_FORWARD")};},order:8};t["sap.m.semantic.OpenInAction"]={position:c.prototype._PositionInPage.footerRight_TextOnly,getSettings:function(){return{text:o.getText("SEMANTIC_CONTROL_OPEN_IN")};},order:9};t["sap.m.semantic.AddAction"]={position:c.prototype._PositionInPage.footerRight_IconOnly,triggers:c._PageMode.edit,getSettings:function(){return{icon:I.getIconURI("add"),text:o.getText("SEMANTIC_CONTROL_ADD"),tooltip:o.getText("SEMANTIC_CONTROL_ADD")};},order:0,constraints:"IconOnly"};t["sap.m.semantic.FavoriteAction"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("favorite"),text:o.getText("SEMANTIC_CONTROL_FAVORITE"),tooltip:o.getText("SEMANTIC_CONTROL_FAVORITE")};},order:1,constraints:"IconOnly"};t["sap.m.semantic.FlagAction"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("flag"),text:o.getText("SEMANTIC_CONTROL_FLAG"),tooltip:o.getText("SEMANTIC_CONTROL_FLAG")};},order:2,constraints:"IconOnly"};t["sap.m.semantic.ISort"]={position:c.prototype._PositionInPage.footerRight_IconOnly,order:3};t["sap.m.semantic.IFilter"]={position:c.prototype._PositionInPage.footerRight_IconOnly,order:4};t["sap.m.semantic.IGroup"]={position:c.prototype._PositionInPage.footerRight_IconOnly,order:5};t["sap.m.semantic.SortAction"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("sort"),text:o.getText("SEMANTIC_CONTROL_SORT"),tooltip:o.getText("SEMANTIC_CONTROL_SORT")};},constraints:"IconOnly"};t["sap.m.semantic.SortSelect"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("sort"),type:"IconOnly",autoAdjustWidth:true,tooltip:o.getText("SEMANTIC_CONTROL_SORT")};},getEventDelegates:function(C){return{onAfterRendering:function(){this.$().attr({"aria-haspopup":true});}.bind(C)};},constraints:"IconOnly"};t["sap.m.semantic.FilterAction"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("filter"),text:o.getText("SEMANTIC_CONTROL_FILTER"),tooltip:o.getText("SEMANTIC_CONTROL_FILTER")};},constraints:"IconOnly"};t["sap.m.semantic.FilterSelect"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("filter"),type:"IconOnly",autoAdjustWidth:true,tooltip:o.getText("SEMANTIC_CONTROL_FILTER")};},constraints:"IconOnly"};t["sap.m.semantic.GroupAction"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("group-2"),text:o.getText("SEMANTIC_CONTROL_GROUP"),tooltip:o.getText("SEMANTIC_CONTROL_GROUP")};},constraints:"IconOnly"};t["sap.m.semantic.GroupSelect"]={position:c.prototype._PositionInPage.footerRight_IconOnly,getSettings:function(){return{icon:I.getIconURI("group-2"),type:"IconOnly",autoAdjustWidth:true};},getEventDelegates:function(C){return{onAfterRendering:function(){this.$().attr({"aria-haspopup":true});}.bind(C)};},constraints:"IconOnly"};t["saveAsTileAction"]={position:c.prototype._PositionInPage.shareMenu,order:0,constraints:"IconOnly"};t["pagingAction"]={position:c.prototype._PositionInPage.headerRight};t["sap.m.semantic.DiscussInJamAction"]={position:c.prototype._PositionInPage.shareMenu,getSettings:function(){return{icon:I.getIconURI("discussion-2"),text:o.getText("SEMANTIC_CONTROL_DISCUSS_IN_JAM")};},order:1,constraints:"IconOnly"};t["sap.m.semantic.ShareInJamAction"]={position:c.prototype._PositionInPage.shareMenu,getSettings:function(){return{icon:I.getIconURI("share-2"),text:o.getText("SEMANTIC_CONTROL_SHARE_IN_JAM")};},order:2,constraints:"IconOnly"};t["sap.m.semantic.SendMessageAction"]={position:c.prototype._PositionInPage.shareMenu,getSettings:function(){return{icon:I.getIconURI("discussion"),text:o.getText("SEMANTIC_CONTROL_SEND_MESSAGE")};},order:3,constraints:"IconOnly"};t["sap.m.semantic.SendEmailAction"]={position:c.prototype._PositionInPage.shareMenu,getSettings:function(){return{icon:I.getIconURI("email"),text:o.getText("SEMANTIC_CONTROL_SEND_EMAIL")};},order:4,constraints:"IconOnly"};t["sap.m.semantic.PrintAction"]={position:c.prototype._PositionInPage.shareMenu,getSettings:function(){return{icon:I.getIconURI("print"),text:o.getText("SEMANTIC_CONTROL_PRINT")};},order:5,constraints:"IconOnly"};t["sap.m.semantic.MessagesIndicator"]={position:c.prototype._PositionInPage.footerLeft,getSettings:function(){var T=a.getStaticId("sap.m","SEMANTIC_CONTROL_MESSAGES_INDICATOR");return{icon:I.getIconURI("message-popup"),text:{path:"message>/",formatter:function(m){return m.length||0;}},tooltip:o.getText("SEMANTIC_CONTROL_MESSAGES_INDICATOR"),ariaLabelledBy:T,type:B.Emphasized,visible:{path:"message>/",formatter:function(m){return m&&m.length>0;}},models:{message:sap.ui.getCore().getMessageManager().getMessageModel()},layoutData:new O({priority:b.NeverOverflow})};}};t["draftIndicator"]={position:c.prototype._PositionInPage.footerLeft,getSettings:function(){return{layoutData:new O({shrinkable:false})};},order:1};return t;})();return c;},false);
sap.ui.predefine('sap/m/semantic/SemanticPage',['sap/m/semantic/SegmentedContainer','sap/m/semantic/SemanticConfiguration','sap/m/Button','sap/m/Title','sap/m/Page','sap/m/OverflowToolbar','sap/m/ToolbarSpacer','sap/m/Bar','sap/ui/core/CustomData','sap/ui/base/ManagedObject','sap/m/PageAccessibleLandmarkInfo','sap/ui/base/ManagedObjectObserver','sap/ui/core/Control','sap/ui/core/library','sap/m/library',"./SemanticPageRenderer","sap/base/Log","sap/ui/thirdparty/jquery"],function(S,a,B,T,P,O,b,c,C,M,d,e,f,g,l,h,L,q){"use strict";var i=l.ButtonType;var j=l.PageBackgroundDesign;var k=l.semantic.SemanticRuleSetType;var m=g.TitleLevel;var n=f.extend("sap.m.semantic.SemanticPage",{metadata:{library:"sap.m",properties:{title:{type:"string",group:"Misc",defaultValue:null},titleLevel:{type:"sap.ui.core.TitleLevel",group:"Appearance",defaultValue:m.Auto},showNavButton:{type:"boolean",group:"Appearance",defaultValue:false},showSubHeader:{type:"boolean",group:"Appearance",defaultValue:true},enableScrolling:{type:"boolean",group:"Behavior",defaultValue:true},showFooter:{type:"boolean",group:"Appearance",defaultValue:true},floatingFooter:{type:"boolean",group:"Appearance",defaultValue:false},semanticRuleSet:{type:"sap.m.semantic.SemanticRuleSetType",group:"Misc",defaultValue:k.Classic},backgroundDesign:{type:"sap.m.PageBackgroundDesign",group:"Appearance",defaultValue:j.Standard}},defaultAggregation:"content",aggregations:{subHeader:{type:"sap.m.IBar",multiple:false},content:{type:"sap.ui.core.Control",multiple:true,singularName:"content",forwarding:{getter:"_getPage",aggregation:"content"}},customHeaderContent:{type:"sap.m.Button",multiple:true,singularName:"customHeaderContent"},customFooterContent:{type:"sap.m.Button",multiple:true,singularName:"customFooterContent"},landmarkInfo:{type:"sap.m.PageAccessibleLandmarkInfo",multiple:false,forwarding:{getter:"_getPage",aggregation:"landmarkInfo"}},_page:{type:"sap.m.Page",multiple:false,visibility:"hidden"}},events:{navButtonPress:{}},dnd:{draggable:false,droppable:true},designtime:"sap/m/designtime/semantic/SemanticPage.designtime"}});n.prototype.init=function(){this._oHeaderObserver=new e(n.prototype._updateHeaderVisibility.bind(this));this._currentMode=a._PageMode.display;this._getPage().setCustomHeader(this._getInternalHeader());this._getPage().setFooter(new O(this.getId()+"-footer"));this.setLandmarkInfo(new d());this._getPage().setShowHeader(false);};n.prototype.exit=function(){if(this._oInternalHeader){this._oInternalHeader.destroy();this._oInternalHeader=null;}if(this._oWrappedFooter){this._oWrappedFooter.destroy();this._oWrappedFooter=null;}if(this._oTitle){this._oTitle.destroy();this._oTitle=null;}if(this._oNavButton){this._oNavButton.destroy();this._oNavButton=null;}if(this._oHeaderObserver){this._oHeaderObserver.disconnect();this._oHeaderObserver=null;}this._oPositionsMap=null;};n.prototype.setSubHeader=function(p,r){this._getPage().setSubHeader(p,r);return this;};n.prototype.getSubHeader=function(){return this._getPage().getSubHeader();};n.prototype.destroySubHeader=function(p){this._getPage().destroySubHeader(p);return this;};n.prototype.getShowSubHeader=function(){return this._getPage().getShowSubHeader();};n.prototype.setShowSubHeader=function(p,r){this._getPage().setShowSubHeader(p,r);this.setProperty("showSubHeader",p,true);return this;};n.prototype.getShowFooter=function(){return this._getPage().getShowFooter();};n.prototype.setShowFooter=function(p,r){this._getPage().setShowFooter(p,r);this.setProperty("showFooter",p,true);return this;};n.prototype.setFloatingFooter=function(F,p){this._getPage().setFloatingFooter(F,p);this.setProperty("floatingFooter",F,true);return this;};n.prototype.setTitle=function(t){var p=this._getTitle();if(p){p.setText(t);if(!p.getParent()){this._getInternalHeader().addContentMiddle(p);}}this.setProperty("title",t,true);return this;};n.prototype.setTitleLevel=function(t){this.setProperty("titleLevel",t,true);this._getTitle().setLevel(t);return this;};n.prototype.setShowNavButton=function(p){var r=this._getNavButton();if(r){r.setVisible(p);if(!r.getParent()){this._getInternalHeader().addContentLeft(r);}}this.setProperty("showNavButton",p,true);return this;};n.prototype.setEnableScrolling=function(E){this._getPage().setEnableScrolling(E);this.setProperty("enableScrolling",E,true);return this;};n.prototype.setBackgroundDesign=function(p){this.setProperty("backgroundDesign",p,true);this._getPage().setBackgroundDesign(p);return this;};n.prototype.getCustomFooterContent=function(){return this._getSegmentedFooter().getSection("customRight").getContent();};n.prototype.addCustomFooterContent=function(p,r){this._getSegmentedFooter().getSection("customRight").addContent(p,r);return this;};n.prototype.indexOfCustomFooterContent=function(p){return this._getSegmentedFooter().getSection("customRight").indexOfContent(p);};n.prototype.insertCustomFooterContent=function(p,I,r){this._getSegmentedFooter().getSection("customRight").insertContent(p,I,r);return this;};n.prototype.removeCustomFooterContent=function(p,r){return this._getSegmentedFooter().getSection("customRight").removeContent(p,r);};n.prototype.removeAllCustomFooterContent=function(p){return this._getSegmentedFooter().getSection("customRight").removeAllContent(p);};n.prototype.destroyCustomFooterContent=function(p){var r=this.getCustomFooterContent();if(!r){return this;}if(p){this.iSuppressInvalidate++;}this._getSegmentedFooter().getSection("customRight").destroy(p);if(!this.isInvalidateSuppressed()){this.invalidate();}if(p){this.iSuppressInvalidate--;}return this;};n.prototype.getCustomHeaderContent=function(){return this._getSegmentedHeader().getSection("customRight").getContent();};n.prototype.addCustomHeaderContent=function(p,r){this._getSegmentedHeader().getSection("customRight").addContent(p,r);return this;};n.prototype.indexOfCustomHeaderContent=function(p){return this._getSegmentedHeader().getSection("customRight").indexOfContent(p);};n.prototype.insertCustomHeaderContent=function(p,I,r){this._getSegmentedHeader().getSection("customRight").insertContent(p,I,r);return this;};n.prototype.removeCustomHeaderContent=function(p,r){return this._getSegmentedHeader().getSection("customRight").removeContent(p,r);};n.prototype.removeAllCustomHeaderContent=function(p){return this._getSegmentedHeader().getSection("customRight").removeAllContent(p);};n.prototype.destroyCustomHeaderContent=function(p){var r=this.getCustomHeaderContent();if(!r){return this;}if(p){this.iSuppressInvalidate++;}this._getSegmentedHeader().getSection("customRight").destroy(p);if(!this.isInvalidateSuppressed()){this.invalidate();}if(p){this.iSuppressInvalidate--;}return this;};n.prototype.setAggregation=function(A,p,r){var t=this.mAggregations[A];if(t===p){return this;}p=this.validateAggregation(A,p,false);var u=this.getMetadata().getManagedAggregation(A).type;if(a.isKnownSemanticType(u)){if(t){this._stopMonitor(t);this._removeFromInnerAggregation(t._getControl(),a.getPositionInPage(u),r);}if(p){this._initMonitor(p);this._addToInnerAggregation(p._getControl(),a.getPositionInPage(u),a.getSequenceOrderIndex(u),r);}return M.prototype.setAggregation.call(this,A,p,true);}return M.prototype.setAggregation.call(this,A,p,r);};n.prototype.destroyAggregation=function(A,p){var r=this.getMetadata().getAggregations()[A];if(r&&a.isKnownSemanticType(r.type)){var t=M.prototype.getAggregation.call(this,A);if(t){this._stopMonitor(t);if(!t._getControl().bIsDestroyed){this._removeFromInnerAggregation(t._getControl(),a.getPositionInPage(r.type),p);}}}return M.prototype.destroyAggregation.call(this,A,t,p);};n.prototype._updateHeaderVisibility=function(){var H=this._getInternalHeader();var E=(H.getContentLeft().length===0)&&(H.getContentMiddle().length===0)&&(H.getContentRight().length===0);this._getPage().setShowHeader(!E);};n.prototype._getTitle=function(){if(!this._oTitle){this._oTitle=new T(this.getId()+"-title",{text:this.getTitle()});}return this._oTitle;};n.prototype._getNavButton=function(){if(!this._oNavButton){this._oNavButton=new B(this.getId()+"-navButton",{type:i.Up,tooltip:sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("PAGE_NAVBUTTON_TEXT"),press:q.proxy(this.fireNavButtonPress,this)});}return this._oNavButton;};n.prototype._initMonitor=function(p){var r=p._getConfiguration();if(r.triggers){p.attachEvent("press",this._updateCurrentMode,this);}var t=r.states,u=this;if(t){q.each(a._PageMode,function(v,w){if(t[v]){u.attachEvent(v,p._onPageStateChanged,p);}});}};n.prototype._stopMonitor=function(p){p.detachEvent("press",this._updateCurrentMode,this);var r=p._getConfiguration();var t=r.states,u=this;if(t){q.each(a._PageMode,function(v,w){if(t[v]){u.detachEvent(v,p._onPageStateChanged,p);}});}};n.prototype._updateCurrentMode=function(E){var p=E.oSource._getConfiguration();if(typeof p.triggers==='string'){this._currentMode=p.triggers;}else{var r=p.triggers.length;if(r&&r>0){for(var I=0;I<r;I++){var t=p.triggers[I];if(t&&(t.inState===this._currentMode)){this._currentMode=t.triggers;break;}}}}this.fireEvent(this._currentMode);};n.prototype._removeFromInnerAggregation=function(p,r,t){var u=this._getSemanticPositionsMap()[r];if(u&&u.oContainer&&u.sAggregation){u.oContainer["remove"+o(u.sAggregation)](p,t);}};n.prototype._addToInnerAggregation=function(p,r,t,u){if(!p||!r){return;}var v=this._getSemanticPositionsMap()[r];if(!v||!v.oContainer||!v.sAggregation){return;}if(typeof t!=='undefined'){p.addCustomData(new C({key:"sortIndex",value:t}));}return v.oContainer["add"+o(v.sAggregation)](p,u);};n.prototype._getSemanticPositionsMap=function(p,r){if(!this._oPositionsMap){this._oPositionsMap={};this._oPositionsMap[a.prototype._PositionInPage.headerLeft]={oContainer:this._getInternalHeader(),sAggregation:"contentLeft"};this._oPositionsMap[a.prototype._PositionInPage.headerRight]={oContainer:this._getSegmentedHeader().getSection("semanticRight"),sAggregation:"content"};this._oPositionsMap[a.prototype._PositionInPage.headerMiddle]={oContainer:this._getInternalHeader(),sAggregation:"contentMiddle"};this._oPositionsMap[a.prototype._PositionInPage.footerLeft]={oContainer:this._getSegmentedFooter().getSection("semanticLeft"),sAggregation:"content"};this._oPositionsMap[a.prototype._PositionInPage.footerRight_IconOnly]={oContainer:this._getSegmentedFooter().getSection("semanticRight_IconOnly"),sAggregation:"content"};this._oPositionsMap[a.prototype._PositionInPage.footerRight_TextOnly]={oContainer:this._getSegmentedFooter().getSection("semanticRight_TextOnly"),sAggregation:"content"};}return this._oPositionsMap;};n.prototype._getPage=function(){var p=this.getAggregation("_page");if(!p){this.setAggregation("_page",new P(this.getId()+"-page"));p=this.getAggregation("_page");}return p;};n.prototype._getInternalHeader=function(){if(!this._oInternalHeader){this._oInternalHeader=new c(this.getId()+"-intHeader");if(this._oHeaderObserver){this._oHeaderObserver.observe(this._oInternalHeader,{aggregations:["contentLeft","contentMiddle","contentRight"]});}}return this._oInternalHeader;};n.prototype._getAnyHeader=function(){return this._getInternalHeader();};n.prototype._getSegmentedHeader=function(){if(!this._oWrappedHeader){var H=this._getInternalHeader();if(!H){L.error("missing page header",this);return null;}this._oWrappedHeader=new S(H,"contentRight");this._oWrappedHeader.addSection({sTag:"customRight"});this._oWrappedHeader.addSection({sTag:"semanticRight"});}return this._oWrappedHeader;};n.prototype._getSegmentedFooter=function(){if(!this._oWrappedFooter){var F=this._getPage().getFooter();if(!F){L.error("missing page footer",this);return null;}this._oWrappedFooter=new S(F);this._oWrappedFooter.addSection({sTag:"semanticLeft"});this._oWrappedFooter.addSection({sTag:"spacer",aContent:[new b()]});this._oWrappedFooter.addSection({sTag:"semanticRight_TextOnly",fnSortFunction:s});this._oWrappedFooter.addSection({sTag:"customRight"});this._oWrappedFooter.addSection({sTag:"semanticRight_IconOnly",fnSortFunction:s});}return this._oWrappedFooter;};function o(N){return N.substring(0,1).toUpperCase()+N.substring(1);}function s(p,r){var t=p.data("sortIndex");var u=r.data("sortIndex");if((typeof t==='undefined')||(typeof u==='undefined')){L.warning("sortIndex missing",this);return null;}return(t-u);}return n;});
sap.ui.predefine('sap/m/semantic/SemanticPageRenderer',[],function(){"use strict";var S={};S.render=function(r,o){r.write("<div");r.writeControlData(o);r.addClass("sapMSemanticPage");r.writeClasses();r.write(">");r.renderControl(o._getPage());r.write("</div>");};return S;},true);
sap.ui.predefine('sap/ui/Global',['sap/ui/VersionInfo','sap/base/Log','sap/base/assert','sap/base/util/ObjectPath'],function(V,L,a,O){"use strict";if(window.OpenAjax&&window.OpenAjax.hub){OpenAjax.hub.registerLibrary("sap","http://www.sap.com/","0.1",{});}var B;if(typeof window.sap!=="object"&&typeof window.sap!=="function"){window.sap={};}if(typeof window.sap.ui!=="object"){window.sap.ui={};}sap.ui=Object.assign(sap.ui,{version:"1.71.67",buildinfo:{lastchange:"",buildtime:"20240805-1559"}});var c=window["sap-ui-config"]||{};var s=0;if(c['xx-nosync']==='warn'||/(?:\?|&)sap-ui-xx-nosync=(?:warn)/.exec(window.location.search)){s=1;}if(c['xx-nosync']===true||c['xx-nosync']==='true'||/(?:\?|&)sap-ui-xx-nosync=(?:x|X|true)/.exec(window.location.search)){s=2;}sap.ui.getVersionInfo=function(o){if(o&&o.async){L.info("Do not use deprecated function 'sap.ui.getVersionInfo'. Use"+" 'sap/ui/VersionInfo' module's asynchronous .load function instead");}else{L.warning("Do not use deprecated function 'sap.ui.getVersionInfo' synchronously! Use"+" 'sap/ui/VersionInfo' module's asynchronous .load function instead","Deprecation",null,function(){return{type:"sap.ui.getVersionInfo",name:"Global"};});}return V._load(o);};sap.ui.namespace=function(n){a(false,"sap.ui.namespace is long time deprecated and shouldn't be used");return O.create(n);};sap.ui.lazyRequire=function(C,m,M){a(typeof C==="string"&&C,"lazyRequire: sClassName must be a non-empty string");a(!m||typeof m==="string","lazyRequire: sMethods must be empty or a string");if(s===2){L.error("[nosync] lazy stub creation ignored for '"+C+"'");return;}var f=C.replace(/\//gi,"\."),l=f.lastIndexOf("."),p=f.substr(0,l),b=f.substr(l+1),P=O.create(p),o=P[b],d=(m||"new").split(" "),i=d.indexOf("new");M=M||f;if(!o){if(i>=0){o=function(){if(s){if(s===1){L.error("[nosync] lazy stub for constructor '"+f+"' called");}}else{L.debug("lazy stub for constructor '"+f+"' called.");}sap.ui.requireSync(M.replace(/\./g,"/"));var r=P[b];a(typeof r==="function","lazyRequire: oRealClass must be a function after loading");if(r._sapUiLazyLoader){throw new Error("lazyRequire: stub '"+f+"'has not been replaced by module '"+M+"'");}var I=Object.create(r.prototype);if(!(this instanceof o)){B=B||sap.ui.require("sap/ui/base/Object");if(B&&I instanceof B){L.error("Constructor "+C+" has been called without \"new\" operator!",null,null,function(){try{throw new Error();}catch(e){return e;}});}}var R=r.apply(I,arguments);if(R&&(typeof R==="function"||typeof R==="object")){I=R;}return I;};o._sapUiLazyLoader=true;d.splice(i,1);}else{o={};}P[b]=o;}d.forEach(function(e){if(!o[e]){o[e]=function(){if(s){if(s===1){L.error("[no-sync] lazy stub for method '"+f+"."+e+"' called");}}else{L.debug("lazy stub for method '"+f+"."+e+"' called.");}sap.ui.requireSync(M.replace(/\./g,"/"));var r=P[b];a(typeof r==="function"||typeof r==="object","lazyRequire: oRealClass must be a function or object after loading");a(typeof r[e]==="function","lazyRequire: method must be a function");if(r[e]._sapUiLazyLoader){throw new Error("lazyRequire: stub '"+f+"."+e+"' has not been replaced by loaded module '"+M+"'");}return r[e].apply(r,arguments);};o[e]._sapUiLazyLoader=true;}});};sap.ui.lazyRequire._isStub=function(C){a(typeof C==="string"&&C,"lazyRequire._isStub: sClassName must be a non-empty string");var l=C.lastIndexOf("."),b=C.slice(0,l),p=C.slice(l+1),o=O.get(b||"");return!!(o&&typeof o[p]==="function"&&o[p]._sapUiLazyLoader);};sap.ui.resource=function(l,r){a(typeof l==="string","sLibraryName must be a string");a(typeof r==="string","sResourcePath must be a string");return sap.ui.require.toUrl((String(l).replace(/\./g,"/")+'/'+r).replace(/^\/*/,""));};sap.ui.localResources=function(n){a(n,"sNamespace must not be empty");var p={};p[n.replace(/\./g,"/")]="./"+n.replace(/\./g,"/");sap.ui.loader.config({paths:p});};return sap.ui;});
sap.ui.predefine('sap/ui/VersionInfo',['sap/base/util/LoaderExtensions'],function(L){"use strict";var V={};V.load=function(O){O=O||{};O.async=true;return V._load(O);};var v=null;var o;var k;var K;Object.defineProperty(sap.ui,"versioninfo",{configurable:true,enumerable:true,get:function(){return o;},set:function(n){o=n;k=null;K=null;}});V._load=function(O){if(typeof O!=="object"){O={library:O};}O.async=O.async===true;O.failOnError=O.failOnError!==false;if(!sap.ui.versioninfo){if(O.async&&v instanceof Promise){return v.then(function(){return V._load(O);});}var h=function(o){v=null;if(o===null){return undefined;}sap.ui.versioninfo=o;return V._load(O);};var H=function(e){v=null;throw e;};var r=L.loadResource("sap-ui-version.json",{async:O.async,failOnError:O.async||O.failOnError});if(r instanceof Promise){v=r;return r.then(h,H);}else{return h(r);}}else{var R;if(typeof O.library!=="undefined"){var a=sap.ui.versioninfo.libraries;if(a){for(var i=0,l=a.length;i<l;i++){if(a[i].name===O.library){R=a[i];break;}}}}else{R=sap.ui.versioninfo;}return O.async?Promise.resolve(R):R;}};function t(){if(sap.ui.versioninfo&&sap.ui.versioninfo.libraries&&!k){k={};sap.ui.versioninfo.libraries.forEach(function(l,i){k[l.name]={};var d=l.manifestHints&&l.manifestHints.dependencies&&l.manifestHints.dependencies.libs;for(var D in d){if(!d[D].lazy){k[l.name][D]=true;}}});}if(sap.ui.versioninfo&&sap.ui.versioninfo.components&&!K){K={};Object.keys(sap.ui.versioninfo.components).forEach(function(c){var C=sap.ui.versioninfo.components[c];K[c]={library:C.library,hasOwnPreload:C.hasOwnPreload||false,dependencies:[]};var d=C.manifestHints&&C.manifestHints.dependencies&&C.manifestHints.dependencies.libs;for(var D in d){if(!d[D].lazy){K[c].dependencies.push(D);}}});}}V._getTransitiveDependencyForLibraries=function(l){t();if(k){var c=l.reduce(function(a,b){a[b]=true;return Object.assign(a,k[b]);},{});l=Object.keys(c);}return l;};V._getTransitiveDependencyForComponent=function(c){t();if(K){return K[c];}};return V;});
sap.ui.predefine('sap/ui/base/BindingParser',['./ExpressionParser','sap/ui/model/BindingMode','sap/ui/model/Filter','sap/ui/model/Sorter',"sap/base/Log",'sap/base/util/ObjectPath',"sap/base/util/JSTokenizer","sap/base/util/resolveReference"],function(E,B,F,S,L,O,J,r){"use strict";var a={_keepBindingStrings:false};var b=/^\{\s*('|"|)[a-zA-Z$_][a-zA-Z0-9$_]*\1\s*:/;var c=/(\\[\\\{\}])|(\{)/g;var d=/([\\\{\}])/g;function f(e,R){function l(){var i,n=e.length,m=new Array(n);for(i=0;i<n;i+=1){m[i]=e[i].apply(this,arguments);}if(R){return R.apply(this,m);}return n>1?m.join(" "):m[0];}l.textFragments=R&&R.textFragments||"sap.ui.base.BindingParser: composeFormatters";return l;}function g(e){var m=function(){var R=[],l=e.length,i;for(i=0;i<l;i++){if(typeof e[i]==="number"){R.push(arguments[e[i]]);}else{R.push(e[i]);}}return R.join('');};m.textFragments=e;return m;}function h(p){var P=p.indexOf(">"),o={path:p};if(P>0){o.model=p.slice(0,P);o.path=p.slice(P+1);}return o;}function j(o,s){try{a.mergeParts(o);}catch(e){L.error("Cannot merge parts: "+e.message,s,"sap.ui.base.BindingParser");}}function k(e,i){var V=Object.assign({".":e.oContext},e.mLocals);function l(o,P){if(typeof o[P]==="string"){var N=o[P];o[P]=r(o[P],V,{preferDotContext:e.bPreferContext,bindDotContext:!e.bStaticContext});if(typeof(o[P])!=="function"){if(e.bTolerateFunctionsNotFound){e.aFunctionsNotFound=e.aFunctionsNotFound||[];e.aFunctionsNotFound.push(N);}else{L.error(P+" function "+N+" not found!");}}}}function m(o){var t;if(typeof o.type==="string"){t=r(o.type,V,{bindContext:false});if(typeof t==="function"){o.type=new t(o.formatOptions,o.constraints);}else{o.type=t;}delete o.formatOptions;delete o.constraints;}}function n(o){if(o!=null&&typeof o==='object'){for(var N in o){l(o,N);}}}function p(o,P){var v=o[P];if(Array.isArray(v)){v.forEach(function(t,I){p(v,I);});return;}if(v&&typeof v==='object'){l(v,'test');p(v,'filters');p(v,'condition');o[P]=new F(v);}}function s(o,P){var v=o[P];if(Array.isArray(v)){v.forEach(function(t,I){s(v,I);});return;}if(v&&typeof v==='object'){l(v,"group");l(v,"comparator");o[P]=new S(v);}}if(typeof i==='object'){if(Array.isArray(i.parts)){i.parts.forEach(function(P){k(e,P);});}m(i);p(i,'filters');s(i,'sorter');n(i.events);l(i,'formatter');l(i,'factory');l(i,'groupHeaderFactory');}return i;}function q(e,i,s){var p=J.parseJS,P,l;if(b.test(i.slice(s))){P=p(i,s);k(e,P.result);return P;}l=i.indexOf('}',s);if(l<s){throw new SyntaxError("no closing braces found in '"+i+"' after pos:"+s);}return{result:h(i.slice(s+1,l)),at:l+1};}a.simpleParser=function(s,C){if(s.startsWith("{")&&s.endsWith("}")){return h(s.slice(1,-1));}};a.simpleParser.escape=function(v){return v;};a.complexParser=function(s,C,u,t,e,P,l){var n=false,o={parts:[]},M=false,v={oContext:C,mLocals:l,aFunctionsNotFound:undefined,bPreferContext:P,bStaticContext:e,bTolerateFunctionsNotFound:t},w=[],U,p=0,m,x;function y(I,z,A){var D=E.parse(q.bind(null,v),s,z,null,l||(e?C:null));function G(D,H){if(D.parts){D.parts.forEach(function(K,i){if(typeof K==="string"){K=D.parts[i]={path:K};}G(K,i);});n=n||H!==undefined;}else{D.mode=A;}}if(I.charAt(D.at)!=="}"){throw new SyntaxError("Expected '}' and instead saw '"+I.charAt(D.at)+"' in expression binding "+I+" at position "+D.at);}D.at+=1;if(D.result){G(D.result);}else{w[w.length-1]=String(D.constant);U=true;}return D;}c.lastIndex=0;while((m=c.exec(s))!==null){if(p<m.index){w.push(s.slice(p,m.index));}if(m[1]){w.push(m[1].slice(1));U=true;}else{w.push(o.parts.length);if(s.indexOf(":=",m.index)===m.index+1){x=y(s,m.index+3,B.OneTime);}else if(s.charAt(m.index+1)==="="){x=y(s,m.index+2,B.OneWay);}else{x=q(v,s,m.index);}if(x.result){o.parts.push(x.result);M=M||"parts"in x.result;}c.lastIndex=x.at;}p=c.lastIndex;}if(p<s.length){w.push(s.slice(p));}if(o.parts.length>0){if(w.length===1){o=o.parts[0];M=n;}else{o.formatter=g(w);}if(M){j(o,s);}if(a._keepBindingStrings){o.bindingString=s;}if(v.aFunctionsNotFound){o.functionsNotFound=v.aFunctionsNotFound;}return o;}else if(u&&U){return w.join('');}};a.complexParser.escape=function(v){return v.replace(d,"\\$1");};a.mergeParts=function(o){var e=[],p=[];o.parts.forEach(function(v){var i,l=function(){return v;},n,s=p.length;function m(){return arguments[s];}if(v&&typeof v==="object"){if(v.parts){for(n in v){if(n!=="formatter"&&n!=="parts"){throw new Error("Unsupported property: "+n);}}p=p.concat(v.parts);i=p.length;if(v.formatter){l=function(){return v.formatter.apply(this,Array.prototype.slice.call(arguments,s,i));};}else if(i-s>1){l=function(){return Array.prototype.slice.call(arguments,s,i).join(" ");};}else{l=m;}}else if(v.path){p.push(v);l=m;}}e.push(l);});o.parts=p;o.formatter=f(e,o.formatter);};a.parseExpression=function(i,s,e,l){e=e||{};if(l){e.mLocals=l;}return E.parse(q.bind(null,e),i,s,l);};return a;},true);
sap.ui.predefine('sap/ui/base/DataType',['sap/base/util/ObjectPath',"sap/base/assert","sap/base/Log","sap/base/util/isPlainObject",'sap/base/util/resolveReference'],function(O,a,L,b,r){"use strict";var D=function(){throw new Error();};D.prototype.getName=function(){return undefined;};D.prototype.getBaseType=function(){return undefined;};D.prototype.getPrimitiveType=function(){var T=this;while(T.getBaseType()){T=T.getBaseType();}return T;};D.prototype.getComponentType=function(){return undefined;};D.prototype.getDefaultValue=function(){return undefined;};D.prototype.isArrayType=function(){return false;};D.prototype.isEnumType=function(){return false;};D.prototype.getEnumValues=function(){return undefined;};D.prototype.parseValue=function(v){return v;};D.prototype.isValid=undefined;D.prototype.setNormalizer=function(n){a(typeof n==="function","DataType.setNormalizer: fnNormalizer must be a function");this._fnNormalizer=typeof n==="function"?n:undefined;};D.prototype.normalize=function(v){return this._fnNormalizer?this._fnNormalizer(v):v;};function c(n,s,B){s=s||{};var o=B||D.prototype;var T=Object.create(o);T.getName=function(){return n;};if(s.hasOwnProperty("defaultValue")){var v=s.defaultValue;T.getDefaultValue=function(){return v;};}if(s.isValid){var i=s.isValid;T.isValid=o.isValid?function(V){if(!o.isValid(V)){return false;}return i(V);}:i;}if(s.parseValue){T.parseValue=s.parseValue;}T.getBaseType=function(){return B;};return T;}var d=c("array",{defaultValue:[]});function e(g){a(g instanceof D,"DataType.<createArrayType>: componentType must be a DataType");var T=Object.create(D.prototype);T.getName=function(){return g.getName()+"[]";};T.getComponentType=function(){return g;};T.isValid=function(v){if(v===null){return true;}if(Array.isArray(v)){for(var i=0;i<v.length;i++){if(!g.isValid(v[i])){return false;}}return true;}return false;};T.parseValue=function(v){var V=v.split(",");for(var i=0;i<V.length;i++){V[i]=g.parseValue(V[i]);}return V;};T.isArrayType=function(){return true;};T.getBaseType=function(){return d;};return T;}function f(T,E){var V={},s;for(var n in E){var g=E[n];if(!s){s=g;}if(typeof g!=="string"){throw new Error("Value "+g+" for enum type "+T+" is not a string");}if(!V.hasOwnProperty(g)||n==g){V[g]=n;}}var o=Object.create(D.prototype);o.getName=function(){return T;};o.isValid=function(v){return typeof v==="string"&&V.hasOwnProperty(v);};o.parseValue=function(g){return E[g];};o.getDefaultValue=function(){return s;};o.getBaseType=function(){return t.string;};o.isEnumType=function(){return true;};o.getEnumValues=function(){return E;};return o;}var t={"any":c("any",{defaultValue:null,isValid:function(v){return true;}}),"boolean":c("boolean",{defaultValue:false,isValid:function(v){return typeof v==="boolean";},parseValue:function(v){return v=="true";}}),"int":c("int",{defaultValue:0,isValid:function(v){return typeof v==="number"&&(isNaN(v)||Math.floor(v)==v);},parseValue:function(v){return parseInt(v);}}),"float":c("float",{defaultValue:0.0,isValid:function(v){return typeof v==="number";},parseValue:function(v){return parseFloat(v);}}),"string":c("string",{defaultValue:"",isValid:function(v){return typeof v==="string"||v instanceof String;},parseValue:function(v){return v;}}),"object":c("object",{defaultValue:null,isValid:function(v){return typeof v==="object"||typeof v==="function";},parseValue:function(v){return v?JSON.parse(v):null;}}),"function":c("function",{defaultValue:null,isValid:function(v){return v==null||typeof v==='function';},parseValue:function(v,_){if(v===""){return undefined;}if(!/^\.?[A-Z_\$][A-Z0-9_\$]*(\.[A-Z_\$][A-Z0-9_\$]*)*$/i.test(v)){throw new Error("Function references must consist of dot separated "+"simple identifiers (A-Z, 0-9, _ or $) only, but was '"+v+"'");}var R,C=_&&_.context,l=_&&_.locals;R=r(v,Object.assign({".":C},l));if(R&&this.isValid(R)){return R;}throw new TypeError("The string '"+v+"' couldn't be resolved to a function");}})};D.getType=function(T){a(T&&typeof T==='string',"sTypeName must be a non-empty string");var o=t[T];if(!(o instanceof D)){if(T.indexOf("[]",T.length-2)>0){var C=T.slice(0,-2),g=this.getType(C);o=g&&e(g);if(o){t[T]=o;}}else if(T!=='array'){o=O.get(T);if(o instanceof D){t[T]=o;}else if(b(o)){o=t[T]=f(T,o);}else{if(o){L.warning("'"+T+"' is not a valid data type. Falling back to type 'any'.");o=t.any;}else{L.error("data type '"+T+"' could not be found.");o=undefined;}}}}return o;};D.createType=function(n,s,B){a(typeof n==="string"&&n,"DataType.createType: type name must be a non-empty string");a(B==null||B instanceof D||typeof B==="string"&&B,"DataType.createType: base type must be empty or a DataType or a non-empty string");if(/[\[\]]/.test(n)){L.error("DataType.createType: array types ('something[]') must not be created with createType, "+"they're created on-the-fly by DataType.getType");}if(typeof B==="string"){B=D.getType(B);}B=B||t.any;if(B.isArrayType()||B.isEnumType()){L.error("DataType.createType: base type must not be an array- or enum-type");}if(n==='array'||t[n]instanceof D){if(n==='array'||t[n].getBaseType()==null){throw new Error("DataType.createType: primitive or hidden type "+n+" can't be re-defined");}L.warning("DataTypes.createType: type "+n+" is redefined. "+"This is an unsupported usage of DataType and might cause issues.");}var T=t[n]=c(n,s,B);return T;};var I={};D.registerInterfaceTypes=function(T){for(var i=0;i<T.length;i++){O.set(T[i],I[T[i]]=new String(T[i]));}};D.isInterfaceType=function(T){return I.hasOwnProperty(T)&&O.get(T)===I[T];};return D;},true);
sap.ui.predefine('sap/ui/base/Event',['./Object',"sap/base/assert"],function(B,a){"use strict";var E=B.extend("sap.ui.base.Event",{constructor:function(i,s,p){B.apply(this);if(arguments.length>0){this.init(i,s,p);}}});E.prototype.init=function(i,s,p){a(typeof i==="string","Event.init: sId must be a string");a(sap.ui.require('sap/ui/base/EventProvider')&&s instanceof sap.ui.require('sap/ui/base/EventProvider'),"Event.init: oSource must be an EventProvider");this.sId=i;this.oSource=s;this.mParameters=p||{};this.bCancelBubble=false;this.bPreventDefault=false;};E.prototype.reset=function(){this.sId="";this.oSource=null;this.mParameters=null;this.bCancelBubble=false;this.bPreventDefault=false;};E.prototype.getId=function(){return this.sId;};E.prototype.getSource=function(){return this.oSource;};E.prototype.getParameters=function(){return this.mParameters;};E.prototype.getParameter=function(n){a(typeof n==="string"&&n,"Event.getParameter: sName must be a non-empty string");return this.mParameters[n];};E.prototype.cancelBubble=function(){this.bCancelBubble=true;};E.prototype.preventDefault=function(){this.bPreventDefault=true;};return E;});
sap.ui.predefine('sap/ui/base/EventProvider',['./Event','./Object','./ObjectPool',"sap/base/assert"],function(E,B,O,a){"use strict";var b=B.extend("sap.ui.base.EventProvider",{constructor:function(){B.call(this);this.mEventRegistry={};}});var c="EventHandlerChange";b.M_EVENTS={EventHandlerChange:c};b.prototype.oEventPool=new O(E);b.prototype.attachEvent=function(e,d,f,l){var m=this.mEventRegistry;a(typeof(e)==="string"&&e,"EventProvider.attachEvent: sEventId must be a non-empty string");if(typeof(d)==="function"){l=f;f=d;d=undefined;}a(typeof(f)==="function","EventProvider.attachEvent: fnFunction must be a function");a(!l||typeof(l)==="object","EventProvider.attachEvent: oListener must be empty or an object");var g=m[e];if(!Array.isArray(g)){g=m[e]=[];}g.push({oListener:l,fFunction:f,oData:d});if(m[c]){this.fireEvent(c,{EventId:e,type:'listenerAttached',listener:l,func:f,data:d});}return this;};b.prototype.attachEventOnce=function(e,d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}a(typeof(f)==="function","EventProvider.attachEventOnce: fnFunction must be a function");var o=function(){this.detachEvent(e,o);f.apply(l||this,arguments);};o.oOriginal={fFunction:f,oListener:l,oData:d};this.attachEvent(e,d,o,undefined);return this;};b.prototype.detachEvent=function(e,f,l){var m=this.mEventRegistry;a(typeof(e)==="string"&&e,"EventProvider.detachEvent: sEventId must be a non-empty string");a(typeof(f)==="function","EventProvider.detachEvent: fnFunction must be a function");a(!l||typeof(l)==="object","EventProvider.detachEvent: oListener must be empty or an object");var d=m[e];if(!Array.isArray(d)){return this;}var F,o;for(var i=0,L=d.length;i<L;i++){if(d[i].fFunction===f&&d[i].oListener===l){F=d[i];d.splice(i,1);break;}}if(!F){for(var i=0,L=d.length;i<L;i++){o=d[i].fFunction.oOriginal;if(o&&o.fFunction===f&&o.oListener===l){F=o;d.splice(i,1);break;}}}if(d.length==0){delete m[e];}if(F&&m[c]){this.fireEvent(c,{EventId:e,type:'listenerDetached',listener:F.oListener,func:F.fFunction,data:F.oData});}return this;};b.prototype.fireEvent=function(e,p,A,d){if(typeof p==="boolean"){d=A;A=p;}var P=this,f=false,g,o,i,l,I;do{g=P.mEventRegistry[e];if(Array.isArray(g)){g=g.slice();o=o||this.oEventPool.borrowObject(e,this,p);for(i=0,l=g.length;i<l;i++){I=g[i];I.fFunction.call(I.oListener||P,o,I.oData);}d=d&&!o.bCancelBubble;}P=P.getEventingParent();}while(d&&P);if(o){f=o.bPreventDefault;this.oEventPool.returnObject(o);}return A?!f:this;};b.prototype.hasListeners=function(e){return!!this.mEventRegistry[e];};b.getEventList=function(e){return e.mEventRegistry;};b.hasListener=function(e,s,f,l){a(typeof(s)==="string"&&s,"EventProvider.hasListener: sEventId must be a non-empty string");a(typeof(f)==="function","EventProvider.hasListener: fnFunction must be a function");a(!l||typeof(l)==="object","EventProvider.hasListener: oListener must be empty or an object");var d=e&&e.mEventRegistry[s];if(d){for(var i=0,L=d.length;i<L;i++){if(d[i].fFunction===f&&d[i].oListener===l){return true;}}}return false;};b.prototype.getEventingParent=function(){return null;};b.prototype.toString=function(){if(this.getMetadata){return"EventProvider "+this.getMetadata().getName();}else{return"EventProvider";}};b.prototype.destroy=function(){this.mEventRegistry={};B.prototype.destroy.apply(this,arguments);};return b;});
sap.ui.predefine('sap/ui/base/Exception',function(){"use strict";var E=function(m){this.name="Exception";this.message=m;};return E;},true);
sap.ui.predefine('sap/ui/base/Interface',[],function(){"use strict";var B;var I=function(o,m,f){if(!o){return o;}B=B||sap.ui.requireSync('sap/ui/base/Object');function c(o,M){return function(){var t=o[M].apply(o,arguments);if(f){return this;}else{return(t instanceof B)?t.getInterface():t;}};}if(!m){return{};}var M;for(var i=0,a=m.length;i<a;i++){M=m[i];if(!o[M]||typeof o[M]==="function"){this[M]=c(o,M);}}};return I;},true);
sap.ui.predefine('sap/ui/base/ManagedObject',['./BindingParser','./DataType','./EventProvider','./ManagedObjectMetadata','./Object','../model/BindingMode','../model/StaticBinding','../model/CompositeBinding','../model/Context','../model/FormatException','../model/ParseException','../model/Type','../model/ValidateException',"sap/ui/base/SyncPromise","sap/ui/util/ActivityDetection","sap/base/util/ObjectPath","sap/base/Log","sap/base/assert","sap/base/util/deepClone","sap/base/util/deepEqual","sap/base/util/uid","sap/ui/thirdparty/jquery","sap/base/util/isEmptyObject"],function(B,D,E,M,d,e,S,C,f,F,P,T,V,g,A,O,L,h,j,k,u,q,m){"use strict";var I;var o=E.extend("sap.ui.base.ManagedObject",{metadata:{"abstract":true,publicMethods:["getId","getMetadata","getModel","setModel","hasModel","bindProperty","unbindProperty","bindAggregation","unbindAggregation","bindObject","unbindObject","getObjectBinding"],library:"sap.ui.core",properties:{},aggregations:{},associations:{},events:{"validationSuccess":{enableEventBubbling:true,parameters:{element:{type:'sap.ui.base.ManagedObject'},property:{type:'string'},type:{type:'sap.ui.model.Type'},newValue:{type:'any'},oldValue:{type:'any'}}},"validationError":{enableEventBubbling:true,parameters:{element:{type:'sap.ui.base.ManagedObject'},property:{type:'string'},type:{type:'sap.ui.model.Type'},newValue:{type:'any'},oldValue:{type:'any'},message:{type:'string'}}},"parseError":{enableEventBubbling:true,parameters:{element:{type:'sap.ui.base.ManagedObject'},property:{type:'string'},type:{type:'sap.ui.model.Type'},newValue:{type:'any'},oldValue:{type:'any'},message:{type:'string'}}},"formatError":{enableEventBubbling:true,parameters:{element:{type:'sap.ui.base.ManagedObject'},property:{type:'string'},type:{type:'sap.ui.model.Type'},newValue:{type:'any'},oldValue:{type:'any'}}},"modelContextChange":{}},specialSettings:{id:'sap.ui.core.ID',models:'object',bindingContexts:'object',objectBindings:'object',metadataContexts:'object',Type:{type:'string',visibility:'hidden'}}},constructor:function(i,a,b){var c=this;E.call(this);if(typeof i!=='string'&&i!==undefined){b=a;a=i;i=a&&a.id;}if(!i){i=this.getMetadata().uid();}else{var l=o._fnIdPreprocessor;i=(l?l.call(this,i):i);var n=I||(I=D.getType("sap.ui.core.ID"));if(!n.isValid(i)){throw new Error("\""+i+"\" is not a valid ID.");}}this.sId=i;this.mProperties=this.getMetadata().createPropertyBag();this.mAggregations={};this.mAssociations={};this.oParent=null;this.aDelegates=[];this.aBeforeDelegates=[];this.iSuppressInvalidate=0;this.oPropagatedProperties=o._oEmptyPropagatedProperties;this.mSkipPropagation={};this.oModels={};this.aPropagationListeners=[];this.oBindingContexts={};this.mElementBindingContexts={};this.mBindingInfos={};this.mObjectBindingInfos={};this._oContextualSettings=o._defaultContextualSettings;this._sOwnerId=o._sOwnerId;(function(){var w=false;if(c.register){c.register();}try{if(c._initCompositeSupport){c._initCompositeSupport(a);}if(c.init){c.init();}c.applySettings(a,b);w=true;}finally{if(!w&&c.deregister){c.deregister();}}}());}},M);o.create=function(a,K,b){if(!a||a instanceof o||typeof a!=="object"||a instanceof String){return a;}function c(n){if(typeof n==="function"){return n;}if(typeof n==="string"){return O.get(n);}}var i=c(a.Type)||c(K&&K.type);if(typeof i==="function"){return new i(a,b);}var l="Don't know how to create a ManagedObject from "+a+" ("+(typeof a)+")";L.fatal(l);throw new Error(l);};var p;function r(i){if(!p){p=sap.ui.require("sap/ui/core/StashedControlSupport");}if(p){return p.getStashedControls(i);}return[];}o._fnIdPreprocessor=null;o._fnSettingsPreprocessor=null;o.runWithPreprocessors=function(a,b,c){h(typeof a==="function","fn must be a function");h(!b||typeof b==="object","oPreprocessors must be an object");var i={id:this._fnIdPreprocessor,settings:this._fnSettingsPreprocessor};b=b||{};this._fnIdPreprocessor=b.id;this._fnSettingsPreprocessor=b.settings;try{return a.call(c);}finally{this._fnIdPreprocessor=i.id;this._fnSettingsPreprocessor=i.settings;}};o.prototype.applySettings=function(a,b){if(!a||m(a)){return this;}var c=this,n=this.getMetadata(),w=n.getJSONKeys(),x=o.create,y=o._fnSettingsPreprocessor,K,z,G;function H(R){for(var i=0,U=R.length;i<U;i++){var W=R[i];if(Array.isArray(W)){H(W);}else{c[G._sMutator](x(W,G,b));}}}function J(R){c[G._sMutator](R[0],R[1],R[2]);}function N(R){var U=D.getType(R),W=U&&U.getPrimitiveType().getName();return W==="object"||W==="any";}y&&y.call(this,a);if(a.metadataContexts&&this._processMetadataContexts){this._processMetadataContexts(a.metadataContexts,a);}if(a.models){if(typeof a.models!=="object"){throw new Error("models must be a simple object");}if(d.isA(a.models,"sap.ui.model.Model")){this.setModel(a.models);}else{for(K in a.models){this.setModel(a.models[K],K==="undefined"?undefined:K);}}}if(a.bindingContexts){if(typeof a.bindingContexts!=="object"){throw new Error("bindingContexts must be a simple object");}if(a.bindingContexts instanceof f){this.setBindingContext(a.bindingContexts);}else{for(K in a.bindingContexts){this.setBindingContext(a.bindingContexts[K],K==="undefined"?undefined:K);}}}if(a.objectBindings){if(typeof a.objectBindings!=="string"&&typeof a.objectBindings!=="object"){throw new Error("binding must be a string or simple object");}if(typeof a.objectBindings==="string"||a.objectBindings.path){this.bindObject(a.objectBindings);}else{for(var K in a.objectBindings){a.objectBindings.model=K;this.bindObject(a.objectBindings[K]);}}}for(K in a){z=a[K];if((G=w[K])!==undefined){var Q;switch(G._iKind){case 0:Q=this.extractBindingInfo(z,b,!N(G.type));if(Q&&typeof Q==="object"){this.bindProperty(K,Q);}else{this[G._sMutator](Q||z);}break;case 1:Q=G.altTypes&&this.extractBindingInfo(z,b,!G.altTypes.some(N));if(Q&&typeof Q==="object"){this.bindProperty(K,Q);}else{if(Array.isArray(z)){if(z.length>1){L.error("Tried to add an array of controls to a single aggregation");}z=z[0];}this[G._sMutator](x(Q||z,G,b));}break;case 2:Q=this.extractBindingInfo(z,b);if(Q&&typeof Q==="object"){this.bindAggregation(K,Q);}else{z=Q||z;if(z){if(Array.isArray(z)){H(z);}else{c[G._sMutator](x(z,G,b));}}}break;case 3:this[G._sMutator](z);break;case 4:if(z){if(Array.isArray(z)){for(var i=0,l=z.length;i<l;i++){this[G._sMutator](z[i]);}}else{this[G._sMutator](z);}}break;case 5:if(typeof z=="function"){this[G._sMutator](z);}else if(Array.isArray(z[0])&&(z.length<=1||Array.isArray(z[1]))){z.forEach(J);}else{J(z);}break;case-1:default:break;}}else{h(false,"ManagedObject.apply: encountered unknown setting '"+K+"' for class '"+n.getName()+"' (value:'"+z+"')");}}return this;};o.escapeSettingsValue=function(a){return(typeof a==="string")?o.bindingParser.escape(a):a;};o.prototype.toString=function(){return"ManagedObject "+this.getMetadata().getName()+"#"+this.getId();};o.prototype.getId=function(){return this.sId;};o.prototype.setProperty=function(a,b,c){var i=this.mProperties[a];b=this.validateProperty(a,b);if(k(i,b)){this.mProperties[a]=b;return this;}if(c){A.refresh();}this.mProperties[a]=b;if(!c&&!this.isInvalidateSuppressed()){this.invalidate();}this.updateModelProperty(a,b,i);if(this.mEventRegistry["_change"]){E.prototype.fireEvent.call(this,"_change",{"id":this.getId(),"name":a,"oldValue":i,"newValue":b});}if(this._observer){this._observer.propertyChange(this,a,i,b);}return this;};o.prototype.getProperty=function(a){var b=this.mProperties[a],c=this.getMetadata().getManagedProperty(a),i;if(!c){throw new Error("Property \""+a+"\" does not exist in "+this);}i=D.getType(c.type);if(i instanceof D&&i.isArrayType()&&Array.isArray(b)){b=b.slice(0);}if(b instanceof String){b=b.valueOf();}if(c.byValue){b=j(b);}return b;};o.prototype.validateProperty=function(a,b){var c=this.getMetadata().getManagedProperty(a),l;if(!c){throw new Error("Property \""+a+"\" does not exist in "+this);}l=D.getType(c.type);if(l instanceof D&&l.isArrayType()&&Array.isArray(b)){b=b.slice(0);}if(b==null){b=c.getDefaultValue();}else if(l instanceof D){if(l.getName()=="string"){if(!(typeof b=="string"||b instanceof String)){b=""+b;}}else if(l.getName()=="string[]"){if(typeof b=="string"){b=[b];}if(!Array.isArray(b)){throw new Error("\""+b+"\" is of type "+typeof b+", expected string[]"+" for property \""+a+"\" of "+this);}for(var i=0;i<b.length;i++){if(typeof b[i]!=="string"){b[i]=""+b[i];}}}else if(!l.isValid(b)){throw new Error("\""+b+"\" is of type "+typeof b+", expected "+l.getName()+" for property \""+a+"\" of "+this);}}if(c.byValue){b=j(b);}if(l&&l.normalize&&typeof l.normalize==="function"){b=l.normalize(b);}return b;};o.prototype.isPropertyInitial=function(a){return!Object.prototype.hasOwnProperty.call(this.mProperties,a)&&!this.isBound(a);};o.prototype.resetProperty=function(a){if(this.mProperties.hasOwnProperty(a)){var b=this.getMetadata().getManagedProperty(a);b.set(this,null);if(this.mProperties[a]===b.getDefaultValue()){delete this.mProperties[a];}}return this;};o.prototype.getOriginInfo=function(a){var b=this.mProperties[a];if(!(b instanceof String&&b.originInfo)){return null;}return b.originInfo;};o.prototype.setAssociation=function(a,i,b){if(i instanceof o){i=i.getId();}else if(i!=null&&typeof i!=="string"){h(false,"setAssociation(): sId must be a string, an instance of sap.ui.base.ManagedObject or null");return this;}if(this.mAssociations[a]===i){return this;}if(b){this.iSuppressInvalidate++;}if(this._observer&&this.mAssociations[a]!=null){this._observer.associationChange(this,a,"remove",this.mAssociations[a]);}this.mAssociations[a]=i;if(this._observer&&this.mAssociations[a]!=null){this._observer.associationChange(this,a,"insert",i);}if(!this.isInvalidateSuppressed()){this.invalidate();}if(b){this.iSuppressInvalidate--;}return this;};o.prototype.getAssociation=function(a,b){var c=this.mAssociations[a];if(!c){c=this.mAssociations[a]=b||null;}else{if(typeof c.length==='number'&&!(c.propertyIsEnumerable('length'))){return c.slice();}return c;}return c;};o.prototype.addAssociation=function(a,i,b){if(i instanceof o){i=i.getId();}else if(typeof i!=="string"){h(false,"addAssociation(): sId must be a string or an instance of sap.ui.base.ManagedObject");return this;}if(b){this.iSuppressInvalidate++;}var c=this.mAssociations[a];if(!c){c=this.mAssociations[a]=[i];}else{c.push(i);}if(this._observer){this._observer.associationChange(this,a,"insert",i);}if(!this.isInvalidateSuppressed()){this.invalidate();}if(b){this.iSuppressInvalidate--;}return this;};o.prototype.removeAssociation=function(a,b,c){var l=this.mAssociations[a];var n=null;if(!l){return null;}if(c){this.iSuppressInvalidate++;}if(typeof(b)=="object"&&b.getId){b=b.getId();}if(typeof(b)=="string"){for(var i=0;i<l.length;i++){if(l[i]==b){b=i;break;}}}if(typeof(b)=="number"){if(b<0||b>=l.length){L.warning("ManagedObject.removeAssociation called with invalid index: "+a+", "+b);}else{n=l[b];l.splice(b,1);if(this._observer){this._observer.associationChange(this,a,"remove",n);}if(!this.isInvalidateSuppressed()){this.invalidate();}}}if(c){this.iSuppressInvalidate--;}return n;};o.prototype.removeAllAssociation=function(a,b){var i=this.mAssociations[a];if(!i){return[];}delete this.mAssociations[a];if(!i.length){return i;}if(b){this.iSuppressInvalidate++;}if(this._observer){this._observer.associationChange(this,a,"remove",i);}if(!this.isInvalidateSuppressed()){this.invalidate();}if(b){this.iSuppressInvalidate--;}return i;};o.prototype.validateAggregation=function(a,b,c,l){var n=this.getMetadata(),w=n.getManagedAggregation(a),x,y,i,z;if(!w){throw new Error("Aggregation \""+a+"\" does not exist in "+this);}if(w.multiple!==c){throw new Error("Aggregation '"+a+"' of "+this+" used with wrong cardinality (declared as "+(w.multiple?"0..n":"0..1")+")");}var G=n.getAggregationForwarder(a);if(G&&!l){G.getTarget(this).validateAggregation(G.targetAggregationName,b,c);}if(!w.multiple&&!b){return b;}if(b instanceof d&&b.isA(w.type)){return b;}x=w.altTypes;if(x&&x.length){if(b==null){return b;}for(i=0;i<x.length;i++){y=D.getType(x[i]);if(y instanceof D){if(y.isValid(b)){return b;}}}}y=O.get(w.type);if(typeof y==="function"&&b instanceof y){return b;}z="\""+b+"\" is not valid for aggregation \""+a+"\" of "+this;if(D.isInterfaceType(w.type)){h(false,z);return b;}else{throw new Error(z);}};o.prototype.setAggregation=function(a,b,c){var i=this.getMetadata().getAggregationForwarder(a);if(i){b=this.validateAggregation(a,b,false,true);return i.set(this,b);}var l=this.mAggregations[a];if(l===b){return this;}b=this.validateAggregation(a,b,false);if(c){this.iSuppressInvalidate++;}this.mAggregations[a]=null;if(l instanceof o){l.setParent(null);}else{if(this._observer!=null&&l!=null){this._observer.aggregationChange(this,a,"remove",l);}}this.mAggregations[a]=b;if(b instanceof o){b.setParent(this,a,c);}else{if(!this.isInvalidateSuppressed()){this.invalidate();}if(this._observer!=null&&b!=null){this._observer.aggregationChange(this,a,"insert",b);}}if(c){this.iSuppressInvalidate--;}return this;};o.prototype.getAggregation=function(a,b){var c=this.getMetadata().getAggregationForwarder(a);if(c){return c.get(this);}var i=this.mAggregations[a];if(!i){i=this.mAggregations[a]=b||null;}if(i){if(typeof i.length==='number'&&!(i.propertyIsEnumerable('length'))){return i.slice();}return i;}else{return null;}};o.prototype.indexOfAggregation=function(a,b){var c=this.getMetadata().getAggregationForwarder(a);if(c){return c.indexOf(this,b);}var l=this.mAggregations[a];if(l){if(l.length==undefined){return-2;}for(var i=0;i<l.length;i++){if(l[i]==b){return i;}}}return-1;};o.prototype.insertAggregation=function(a,b,c,l){if(!b){return this;}b=this.validateAggregation(a,b,true,true);var n=this.getMetadata().getAggregationForwarder(a);if(n){return n.insert(this,b,c);}var w=this.mAggregations[a]||(this.mAggregations[a]=[]);var i;if(c<0){i=0;}else if(c>w.length){i=w.length;}else{i=c;}if(i!==c){L.warning("ManagedObject.insertAggregation: index '"+c+"' out of range [0,"+w.length+"], forced to "+i);}w.splice(i,0,b);b.setParent(this,a,l);return this;};o.prototype.addAggregation=function(a,b,c){if(!b){return this;}b=this.validateAggregation(a,b,true,true);var i=this.getMetadata().getAggregationForwarder(a);if(i){return i.add(this,b);}var l=this.mAggregations[a];if(!l){l=this.mAggregations[a]=[b];}else{l.push(b);}b.setParent(this,a,c);return this;};o.prototype.removeAggregation=function(a,b,c){var l=this.getMetadata().getAggregationForwarder(a);if(l){return l.remove(this,b);}var n=this.mAggregations[a],w=null,i;if(!n){return null;}if(c){this.iSuppressInvalidate++;}if(typeof(b)=="string"){for(i=0;i<n.length;i++){if(n[i]&&n[i].getId()===b){b=i;break;}}}if(typeof(b)=="object"){for(i=0;i<n.length;i++){if(n[i]==b){b=i;break;}}}if(typeof(b)=="number"){if(b<0||b>=n.length){L.warning("ManagedObject.removeAggregation called with invalid index: "+a+", "+b);}else{w=n[b];n.splice(b,1);w.setParent(null);if(!this.isInvalidateSuppressed()){this.invalidate();}}}if(c){this.iSuppressInvalidate--;}return w;};o.prototype.removeAllAggregation=function(a,b){var c=this.getMetadata().getAggregationForwarder(a);if(c){return c.removeAll(this);}var l=this.mAggregations[a];if(!l){return[];}delete this.mAggregations[a];if(!l.length){return l;}if(b){this.iSuppressInvalidate++;}for(var i=0;i<l.length;i++){l[i].setParent(null);}if(!this.isInvalidateSuppressed()){this.invalidate();}if(b){this.iSuppressInvalidate--;}return l;};o.prototype.destroyAggregation=function(a,b){var l=this.getMetadata().getAggregationForwarder(a);if(l){return l.destroy(this);}var n=this.mAggregations[a],i,w;r(this.getId()).forEach(function(c){if(c.sParentAggregationName===a){c.destroy();}});if(!n){return this;}delete this.mAggregations[a];if(Array.isArray(n)&&!n.length){return this;}if(b){this.iSuppressInvalidate++;}if(n instanceof o){n.destroy(b);if(this._observer){this._observer.aggregationChange(this,a,"remove",n);}}else if(Array.isArray(n)){for(i=n.length-1;i>=0;i--){w=n[i];if(w){w.destroy(b);if(this._observer){this._observer.aggregationChange(this,a,"remove",w);}}}}if(!this.isInvalidateSuppressed()){this.invalidate();}if(b){this.iSuppressInvalidate--;}return this;};o.prototype.invalidate=function(){if(this.oParent){this.oParent.invalidate(this);}};o.prototype.isInvalidateSuppressed=function(){var i=this.iSuppressInvalidate>0;if(this.oParent&&this.oParent instanceof o){i=i||this.oParent.isInvalidateSuppressed();}return i;};o.prototype._removeChild=function(c,a,b){if(!a){L.error("Cannot remove aggregated child without aggregation name.",null,this);}else{if(b){this.iSuppressInvalidate++;}var i=this.indexOfAggregation(a,c);var l=this.getMetadata().getAggregation(a);if(i==-2){if(l&&this[l._sMutator]){this[l._sMutator](null);}else{this.setAggregation(a,null,b);}}else if(i>-1){if(l&&this[l._sRemoveMutator]){this[l._sRemoveMutator](i);}else{this.removeAggregation(a,i,b);}}if(b){this.iSuppressInvalidate--;}}};function s(a,b){while(a&&a!==b){a=a.oParent;}return!!a;}o.prototype.setParent=function(a,b,c){h(a==null||a instanceof o,"oParent either must be null, undefined or a ManagedObject");var i;if(!a){if(this.oParent){i=this._observer||this.oParent._observer;if(i){i.parentChange(this,this.sParentAggregationName,"unset",this.oParent);}if(this.aAPIParentInfos&&this.aAPIParentInfos.forwardingCounter===0){delete this.aAPIParentInfos;}}this.oParent=null;this.sParentAggregationName=null;var l=o._oEmptyPropagatedProperties;if(l!==this.oPropagatedProperties){this.oPropagatedProperties=l;if(!this._bIsBeingDestroyed){Promise.resolve().then(function(){if(!this.oParent){this.updateBindings(true,null);this.updateBindingContext(false,undefined,true);this.propagateProperties(true);this.fireModelContextChange();}}.bind(this));}}this._oContextualSettings=o._defaultContextualSettings;if(!this._bIsBeingDestroyed){setTimeout(function(){if(!this.oParent){this._propagateContextualSettings();}}.bind(this),0);}A.refresh();return;}if(s(a,this)){throw new Error("Cycle detected: new parent '"+a+"' is already a descendant of (or equal to) '"+this+"'");}if(c){A.refresh();this.iSuppressInvalidate++;}var n=this.getParent();if(n){n._removeChild(this,this.sParentAggregationName);}this.oParent=a;this.sParentAggregationName=b;if(!a.mSkipPropagation[b]){var l=this.aAPIParentInfos?this.aAPIParentInfos[0].parent._getPropertiesToPropagate():a._getPropertiesToPropagate();if(l!==this.oPropagatedProperties){this.oPropagatedProperties=l;if(this.hasModel()){this.updateBindings(true,null);this.updateBindingContext(false,undefined,true);this.propagateProperties(true);}this._callPropagationListener();this.fireModelContextChange();}}this._applyContextualSettings(a._oContextualSettings);if(a&&!this.isInvalidateSuppressed()){a.invalidate(this);}if(c){this.iSuppressInvalidate--;}i=this._observer||this.oParent._observer;if(i){i.parentChange(this,b,"set",this.oParent);}return this;};o.prototype._applyContextualSettings=function(c){if(this._oContextualSettings!==c){this._oContextualSettings=c;this._propagateContextualSettings();this._onContextualSettingsChanged();}};o.prototype._onContextualSettingsChanged=function(){};o.prototype._propagateContextualSettings=function(){var a=this._oContextualSettings,b,c,i;for(b in this.mAggregations){c=this.mAggregations[b];if(c instanceof o){c._applyContextualSettings(a);}else if(c instanceof Array){for(i=0;i<c.length;i++){if(c[i]instanceof o){c[i]._applyContextualSettings(a);}}}}};o.prototype._getContextualSettings=function(){return this._oContextualSettings;};o.prototype.getParent=function(){return this.oParent;};o.prototype.destroy=function(b){if(this.bIsDestroyed){return;}var a=this;this._bIsBeingDestroyed=true;if(b){this.iSuppressInvalidate++;}if(this.exit){this.exit();}if(this._exitCompositeSupport){this._exitCompositeSupport();}for(var i in this.mAggregations){this.destroyAggregation(i,b);}r(this.getId()).forEach(function(c){c.destroy();});if(this.deregister){this.deregister();}if(this.oParent&&this.sParentAggregationName){this.oParent._removeChild(this,this.sParentAggregationName,b);}delete this.oParent;q.each(this.mBindingInfos,function(n,c){if(c.factory){a.unbindAggregation(n,true);}else{a.unbindProperty(n,true);}});q.each(this.mObjectBindingInfos,function(n,c){a.unbindObject(n,true);});if(b){this.iSuppressInvalidate--;}if(this._observer){this._observer.objectDestroyed(this);}if(this.aAPIParentInfos){this.aAPIParentInfos=null;}E.prototype.destroy.apply(this,arguments);this.setParent=function(){throw Error("The object with ID "+a.getId()+" was destroyed and cannot be used anymore.");};this.bIsDestroyed=true;};o.bindingParser=B.simpleParser;o.prototype.isBinding=function(a,K){return typeof this.extractBindingInfo(a)==="object";};o.prototype.extractBindingInfo=function(a,b,c){if(a&&typeof a==="object"){if(a.Type){return undefined;}else if(a.ui5object){delete a.ui5object;}else if(a.path!=undefined||a.parts||(c&&a.value!=undefined)){if(a.template){a.template=o.create(a.template);}return a;}}if(typeof a==="string"){return o.bindingParser(a,b,true);}};o.prototype.getBindingInfo=function(n){var a=this.getMetadata().getAggregationForwarder(n);if(a&&a.forwardBinding){return a.getTarget(this).getBindingInfo(a.targetAggregationName);}return this.mBindingInfos[n];};o.prototype.bindObject=function(b){var a,c,i;if(typeof b=="string"){c=b;b={path:c,parameters:arguments[1]};}else{c=b.path;}i=c.indexOf(">");if(i>0){b.model=c.substr(0,i);b.path=c.substr(i+1);}a=b.model;if(this.mObjectBindingInfos[a]){this.unbindObject(a,true);}this.mObjectBindingInfos[a]=b;if(this.getModel(a)){this._bindObject(b);}return this;};o.prototype._bindObject=function(b){var a,c,i,l,n=this;var w=function(y){n.setElementBindingContext(a.getBoundContext(),i);};var x=function(y){var z=a.getDataState();if(!z){return;}if(n.refreshDataState){n.refreshDataState('',z);}};i=b.model;l=this.getModel(i);c=this.getBindingContext(i);a=l.bindContext(b.path,c,b.parameters);if(b.suspended){a.suspend(true);}a.attachChange(w);b.binding=a;b.modelChangeHandler=w;b.dataStateChangeHandler=x;a.attachEvents(b.events);if(this.refreshDataState){a.attachAggregatedDataStateChange(x);}a.initialize();};o.prototype.unbindObject=function(a,b){var c=this.mObjectBindingInfos[a];if(c){if(c.binding){c.binding.detachChange(c.modelChangeHandler);c.binding.detachEvents(c.events);if(this.refreshDataState){c.binding.detachAggregatedDataStateChange(c.dataStateChangeHandler);}c.binding.destroy();}delete this.mObjectBindingInfos[a];delete this.mElementBindingContexts[a];if(!b){this.updateBindingContext(false,a);this.propagateProperties(a);this.fireModelContextChange();}}return this;};o.prototype.bindContext=function(a){return this.bindObject(a);};o.prototype.unbindContext=function(a){return this.unbindObject(a);};o.prototype.bindProperty=function(n,b,a,c){var l,w=true,x=this.getMetadata().getPropertyLikeSetting(n);if(!x){throw new Error("Property \""+n+"\" does not exist in "+this);}if(typeof b=="string"){b={parts:[{path:b,type:a instanceof T?a:undefined,mode:c}],formatter:typeof a==='function'?a:undefined};}if(!b.parts){b.parts=[];b.parts[0]={path:b.path,targetType:b.targetType,type:b.type,suspended:b.suspended,formatOptions:b.formatOptions,constraints:b.constraints,model:b.model,mode:b.mode,value:b.value};delete b.path;delete b.targetType;delete b.mode;delete b.model;delete b.value;}for(var i=0;i<b.parts.length;i++){var y=b.parts[i];if(typeof y=="string"){y={path:y};b.parts[i]=y;}if(y.path!==undefined){l=y.path.indexOf(">");if(l>0){y.model=y.path.substr(0,l);y.path=y.path.substr(l+1);}}if(b.formatter&&y.mode!=e.OneWay&&y.mode!=e.OneTime){y.mode=e.OneWay;}if(y.value===undefined&&!this.getModel(y.model)){w=false;}}b.skipPropertyUpdate=0;b.skipModelUpdate=0;if(this.isBound(n)){this.unbindProperty(n,true);}this.mBindingInfos[n]=b;if(this._observer){this._observer.bindingChange(this,n,"prepare",b,"property");}if(w){this._bindProperty(n,b);}return this;};o.prototype._bindProperty=function(n,b){var a,c,i,l,w=e.TwoWay,x,y,z=this.getMetadata().getPropertyLikeSetting(n),G=z._iKind===0?z.type:z.altTypes[0],H=this,J=[],K=function(Q){H.updateProperty(n);var R=i.getDataState();if(R){var U=R.getControlMessages();if(U&&U.length>0){var W=sap.ui.getCore().getMessageManager();R.setControlMessages([]);if(U){W.removeMessages(U);}}R.setInvalidValue(undefined);}if(i.getBindingMode()===e.OneTime&&i.isResolved()){i.detachChange(K);if(this.refreshDataState){i.detachAggregatedDataStateChange(N);}i.detachEvents(b.events);}},N=function(){var Q=i.getDataState();if(!Q){return;}if(H.refreshDataState){H.refreshDataState(n,Q);}};b.parts.forEach(function(Q){c=H.getBindingContext(Q.model);a=H.getModel(Q.model);x=Q.type;if(typeof x=="string"){y=O.get(x);if(typeof y!=="function"){throw new Error("Cannot find type \""+x+"\" used in control \""+H.getId()+"\"!");}x=new y(Q.formatOptions,Q.constraints);}if(Q.value!==undefined){i=new S(Q.value);}else{i=a.bindProperty(Q.path,c,Q.parameters||b.parameters);}i.setType(x,Q.targetType||G);i.setFormatter(Q.formatter);if(Q.suspended){i.suspend(true);}l=Q.mode||(a&&a.getDefaultBindingMode())||e.TwoWay;i.setBindingMode(l);if(l!==e.TwoWay){w=e.OneWay;}J.push(i);});if(J.length>1||(b.formatter&&b.formatter.textFragments)){x=b.type;if(typeof x=="string"){y=O.get(x);x=new y(b.formatOptions,b.constraints);}i=new C(J,b.useRawValues,b.useInternalValues);i.setType(x,b.targetType||G);i.setBindingMode(b.mode||w);}else{i=J[0];}i.attachChange(K);if(this.refreshDataState){i.attachAggregatedDataStateChange(N);}i.setFormatter(q.proxy(b.formatter,this));b.binding=i;b.modelChangeHandler=K;b.dataStateChangeHandler=N;i.attachEvents(b.events);i.initialize();if(this._observer){this._observer.bindingChange(this,n,"ready",b,"property");}};o.prototype.unbindProperty=function(n,b){var a=this.mBindingInfos[n],c;if(a){c=a.binding;if(c){c.detachChange(a.modelChangeHandler);if(this.refreshDataState){c.detachAggregatedDataStateChange(a.dataStateChangeHandler);}c.detachEvents(a.events);c.destroy();}if(this._observer){this._observer.bindingChange(this,n,"remove",this.mBindingInfos[n],"property");}delete this.mBindingInfos[n];if(!b){this.resetProperty(n);}}return this;};o.prototype.updateProperty=function(n){var b=this.mBindingInfos[n],a=b.binding,c=this.getMetadata().getPropertyLikeSetting(n),i=this;function l(w){if(w instanceof F){i.fireFormatError({element:i,property:n,type:a.getType(),newValue:a.getValue(),oldValue:i[c._sGetter](),exception:w,message:w.message},false,true);b.skipModelUpdate++;i.resetProperty(n);b.skipModelUpdate--;}else{throw w;}}if(b.skipPropertyUpdate){return;}g.resolve().then(function(){return a.getExternalValue();}).then(function(w){b.skipModelUpdate++;i[c._sMutator](w);b.skipModelUpdate--;}).catch(function(w){l(w);}).unwrap();};o.prototype.updateModelProperty=function(n,a,b){var c,i,l=this;function w(y){var z={element:l,property:n,type:i.getType(),newValue:a,oldValue:b,exception:y,message:y.message};if(y instanceof P){l.fireParseError(z,false,true);}else if(y instanceof V){l.fireValidationError(z,false,true);}else{throw y;}}function x(){var y={element:l,property:n,type:i.getType(),newValue:a,oldValue:b};if(i.hasValidation()){l.fireValidationSuccess(y,false,true);}}if(this.isBound(n)){var c=this.mBindingInfos[n],i=c.binding;if(c.skipModelUpdate||(i&&i.isSuspended())){return;}if(i&&i.getBindingMode()==e.TwoWay){c.skipPropertyUpdate++;g.resolve(a).then(function(a){return i.setExternalValue(a);}).then(function(){c.skipPropertyUpdate--;return i.getExternalValue();}).then(function(y){if(a!=y){l.updateProperty(n);}x();}).catch(function(y){c.skipPropertyUpdate--;w(y);}).unwrap();}}};var t=1;o.prototype.bindAggregation=function(n,b){var a,c,i,l,w=this.getMetadata(),x=w.getAggregation(n);if(!x){throw new Error("Aggregation \""+n+"\" does not exist in "+this);}if(!x.multiple){L.error("Binding of single aggregation \""+n+"\" of "+this+" is not supported!");}if(typeof b=="string"){a=arguments[1];c=arguments[2];i=arguments[3];l=arguments[4];b={path:a,sorter:i,filters:l};if(c instanceof o){b.template=c;}else if(typeof c==="function"){b.factory=c;}}var y=w.getAggregationForwarder(n);if(y&&y.forwardBinding){y.getTarget(this).bindAggregation(y.targetAggregationName,b);return this;}if(this.isBound(n)){this.unbindAggregation(n);}if(!(b.template||b.factory)){if(x._doesNotRequireFactory){b.factory=function(){throw new Error("dummy factory called unexpectedly ");};}else{throw new Error("Missing template or factory function for aggregation "+n+" of "+this+" !");}}if(b.template){if(b.template._sapui_candidateForDestroy){L.warning("A binding template that is marked as 'candidate for destroy' is reused in a binding. "+"You can use 'templateShareable:true' to fix this issue for all bindings that are affected "+"(The template is used in aggregation '"+n+"' of object '"+this.getId()+"'). "+"For more information, see documentation under 'Aggregation Binding'.");delete b.template._sapui_candidateForDestroy;}if(b.templateShareable===undefined){b.templateShareable=t;}b.factory=function(G){return b.template.clone(G);};}var z=b.path.indexOf(">");if(z>0){b.model=b.path.substr(0,z);b.path=b.path.substr(z+1);}this.mBindingInfos[n]=b;if(this._observer){this._observer.bindingChange(this,n,"prepare",b,"aggregation");}if(this.getModel(b.model)){this._bindAggregation(n,b);}return this;};o.prototype._bindAggregation=function(n,b){var a=this,c,i=this.getMetadata().getAggregation(n),l=function(z){i.update(a,z.getParameter("reason"));},w=function(z){i.refresh(a,z.getParameter("reason"));},x=function(z){var G=c.getDataState();if(!G){return;}if(a.refreshDataState){a.refreshDataState(n,G);}};var y=this.getModel(b.model);if(this.isTreeBinding(n)){c=y.bindTree(b.path,this.getBindingContext(b.model),b.filters,b.parameters,b.sorter);}else{c=y.bindList(b.path,this.getBindingContext(b.model),b.sorter,b.filters,b.parameters);if(this.bUseExtendedChangeDetection){h(!this.oExtendedChangeDetectionConfig||!this.oExtendedChangeDetectionConfig.symbol,"symbol function must not be set by controls");c.enableExtendedChangeDetection(!b.template,b.key,this.oExtendedChangeDetectionConfig);}}if(b.suspended){c.suspend(true);}b.binding=c;b.modelChangeHandler=l;b.modelRefreshHandler=w;b.dataStateChangeHandler=x;c.attachChange(l);c.attachRefresh(w);c.attachEvents(b.events);if(this.refreshDataState){c.attachAggregatedDataStateChange(x);}c.initialize();if(this._observer){this._observer.bindingChange(this,n,"ready",b,"aggregation");}};o.prototype.unbindAggregation=function(n,b){var a=this.getMetadata().getAggregationForwarder(n);if(a&&a.forwardBinding){a.getTarget(this).unbindAggregation(a.targetAggregationName,b);return this;}var c=this.mBindingInfos[n],i=this.getMetadata().getAggregation(n);if(c){if(c.binding){c.binding.detachChange(c.modelChangeHandler);c.binding.detachRefresh(c.modelRefreshHandler);c.binding.detachEvents(c.events);if(this.refreshDataState){c.binding.detachAggregatedDataStateChange(c.dataStateChangeHandler);}c.binding.destroy();}if(c.template){if(!c.templateShareable&&c.template.destroy){c.template.destroy();}if(c.templateShareable===t){c.template._sapui_candidateForDestroy=true;}}if(this._observer){this._observer.bindingChange(this,n,"remove",this.mBindingInfos[n],"aggregation");}delete this.mBindingInfos[n];if(!b){this[i._sDestructor]();}}return this;};o.prototype.updateAggregation=function(n){var b=this.mBindingInfos[n],a=b.binding,c=b.factory,l=this.getMetadata().getAggregation(n),G,w,x,y=l._sMutator+"Group",z=this;function H(i,R){if(z.bUseExtendedChangeDetection){return M.uid('clone');}else{return i.getId()+"-"+R;}}function J(R,x,U,W){var X=R[l._sGetter]()||[],Y,Z;if(X.length>x.length){for(var i=x.length;i<X.length;i++){Z=X[i];R[l._sRemoveMutator](Z);Z.destroy("KeepDom");}}for(var i=0;i<x.length;i++){Y=x[i];Z=X[i];if(U){U(Y);}if(Z){Z.setBindingContext(Y,b.model);}else{Z=c(H(R,i),Y);Z.setBindingContext(Y,b.model);R[l._sMutator](Z);}if(W){W(Y,Z);}}}function K(R,x){var U=x.diff,W=R[l._sGetter]()||[],X,Y,Z,i;if(!U||W.length===0){J(R,x);return;}for(i=0;i<U.length;i++){X=U[i];switch(X.type){case"insert":Z=x[X.index];Y=c(H(R,X.index),Z);Y.setBindingContext(Z,b.model);R[l._sInsertMutator](Y,X.index);break;case"delete":Y=R[l._sRemoveMutator](X.index);Y.destroy("KeepDom");break;default:L.error("Unknown diff type \""+X.type+"\"");}}W=R[l._sGetter]()||[];for(i=0;i<W.length;i++){W[i].setBindingContext(x[i],b.model);}}function N(i){var R=a.getGroup(i);if(R.key!==G){var U;if(b.groupHeaderFactory){U=b.groupHeaderFactory(R);}z[y](R,U);G=R.key;}}function Q(i,R){J(i,R,null,function(U,W){Q(W,a.getNodeContexts(U));});}if(d.isA(a,"sap.ui.model.ListBinding")){x=a.getContexts(b.startIndex,b.length);w=a.isGrouped()&&z[y];if(w||a.bWasGrouped){this[l._sDestructor]();J(this,x,w?N:undefined);}else if(this.bUseExtendedChangeDetection){K(this,x);}else{if(!b.template){this[l._sDestructor]();}J(this,x);}a.bWasGrouped=w;}else if(d.isA(a,"sap.ui.model.TreeBinding")){if(!b.template){this[l._sDestructor]();}Q(this,a.getRootContexts());}};o.prototype.refreshAggregation=function(n){var b=this.mBindingInfos[n],a=b.binding;a.getContexts(b.startIndex,b.length);};o.prototype.propagateMessages=function(n,a){L.warning("Message for "+this+", Property "+n);};o.prototype.isTreeBinding=function(n){return false;};o.prototype.updateBindings=function(U,a){var b=this,n,c;function l(c){var z=c.parts,i;if(z){if(z.length==1){return(U||z[0].model==a)&&!c.binding.updateRequired(b.getModel(z[0].model));}else{for(i=0;i<z.length;i++){if((U||z[i].model==a)&&!c.binding.aBindings[i].updateRequired(b.getModel(z[i].model))){return true;}}}}else{return(U||c.model==a)&&!c.binding.updateRequired(b.getModel(c.model));}}function w(c){var z=c.parts,i;if(z){for(i=0;i<z.length;i++){if(!b.getModel(z[i].model)){return false;}}return true;}else{return!!b.getModel(c.model);}}function x(c){var i=c.binding;if(b.refreshDataState){b.refreshDataState(n,i.getDataState());}i.detachChange(c.modelChangeHandler);if(c.modelRefreshHandler){i.detachRefresh(c.modelRefreshHandler);}i.detachEvents(c.events);i.destroy();delete c.binding;delete c.modelChangeHandler;delete c.dataStateChangeHandler;delete c.modelRefreshHandler;}for(n in this.mObjectBindingInfos){c=this.mObjectBindingInfos[n];if(c.binding&&l(c)){x(c);}if(!c.binding&&w(c)){this._bindObject(c);}}for(n in this.mBindingInfos){c=this.mBindingInfos[n];if(c.binding&&l(c)){if(this._observer){var y=c.factory?"aggregation":"property";this._observer.bindingChange(this,n,"remove",c,y);}x(c);}if(!c.binding&&w(c)){if(c.factory){this._bindAggregation(n,c);}else{this._bindProperty(n,c);}}}};o.prototype.isBound=function(n){return!!this.getBindingInfo(n);};o.prototype.getObjectBinding=function(a){return this.mObjectBindingInfos[a]&&this.mObjectBindingInfos[a].binding;};o.prototype.getEventingParent=function(){return this.oParent;};o.prototype.getBinding=function(n){var i=this.getBindingInfo(n);return i&&i.binding;};o.prototype.getBindingPath=function(n){var i=this.getBindingInfo(n);return i&&(i.path||(i.parts&&i.parts[0]&&i.parts[0].path));};o.prototype.setBindingContext=function(c,a){h(a===undefined||(typeof a==="string"&&!/^(undefined|null)?$/.test(a)),"sModelName must be a string or omitted");var b=this.oBindingContexts[a];if(f.hasChanged(b,c)){if(c===undefined){delete this.oBindingContexts[a];}else{this.oBindingContexts[a]=c;}this.updateBindingContext(false,a);this.propagateProperties(a);this.fireModelContextChange();}return this;};o.prototype.setElementBindingContext=function(c,a){h(a===undefined||(typeof a==="string"&&!/^(undefined|null)?$/.test(a)),"sModelName must be a string or omitted");var b=this.mElementBindingContexts[a];if(f.hasChanged(b,c)){if(c===undefined){delete this.mElementBindingContexts[a];}else{this.mElementBindingContexts[a]=c;}this.updateBindingContext(true,a);this.propagateProperties(a);this.fireModelContextChange();}return this;};o.prototype.updateBindingContext=function(b,a,U){var c,l={},n,w,N,x,i;if(U){for(n in this.oModels){if(this.oModels.hasOwnProperty(n)){l[n]=n;}}for(n in this.oPropagatedProperties.oModels){if(this.oPropagatedProperties.oModels.hasOwnProperty(n)){l[n]=n;}}}else{l[a]=a;}for(n in l){if(l.hasOwnProperty(n)){n=n==="undefined"?undefined:n;c=this.getModel(n);x=this.mObjectBindingInfos[n];if(c&&x&&!b){if(!x.binding){this._bindObject(x);}else{w=this._getBindingContext(n);if(f.hasChanged(x.binding.getContext(),w)){x.binding.setContext(w);}}continue;}w=this.getBindingContext(n);for(N in this.mBindingInfos){var x=this.mBindingInfos[N],y=x.binding,z=x.parts;if(!y){continue;}if(z&&z.length>1){for(i=0;i<z.length;i++){if(z[i].model==n){y.aBindings[i].setContext(w);}}}else if(x.factory){if(x.model==n){y.setContext(w);}}else{if(z[0].model==n){y.setContext(w);}}}}}};o.prototype.getBindingContext=function(a){var b=this.getModel(a),c=this.mElementBindingContexts[a];if(c&&!b){return c;}else if(c&&b&&c.getModel()===b){return c;}else if(c===null){return c;}else{return this._getBindingContext(a);}};o.prototype._getBindingContext=function(a){var b=this.getModel(a),c=this.oBindingContexts[a],i=this.oPropagatedProperties.oBindingContexts[a];if(c&&!b){return this.oBindingContexts[a];}else if(c&&b&&c.getModel()===b){return this.oBindingContexts[a];}else if(c===null){return c;}else if(i&&b&&i.getModel()!==b){return undefined;}else{return i;}};o.prototype.setModel=function(a,n){h(a==null||d.isA(a,"sap.ui.model.Model"),"oModel must be an instance of sap.ui.model.Model, null or undefined");h(n===undefined||(typeof n==="string"&&!/^(undefined|null)?$/.test(n)),"sName must be a string or omitted");if(!a&&this.oModels[n]){delete this.oModels[n];this.propagateProperties(n);this.updateBindings(false,n);this.fireModelContextChange();}else if(a&&a!==this.oModels[n]){this.oModels[n]=a;this.propagateProperties(n);this.updateBindingContext(false,n);this.updateBindings(false,n);this.fireModelContextChange();}return this;};o.prototype.addPropagationListener=function(l){h(typeof l==='function',"listener must be a function");this.aPropagationListeners.push(l);this.propagateProperties(false);this._callPropagationListener(l);return this;};o.prototype.removePropagationListener=function(l){h(typeof l==='function',"listener must be a function");var a=this.aPropagationListeners;var i=a.indexOf(l);if(i>=0){a.splice(i,1);this.propagateProperties(false);}return this;};o.prototype.getPropagationListeners=function(){return this.oPropagatedProperties.aPropagationListeners.concat(this.aPropagationListeners);};o.prototype._callPropagationListener=function(l){var a;if(l){l(this);}else{a=this.getPropagationListeners();for(var i=0;i<a.length;i++){l=a[i];l(this);}}return this;};o._oEmptyPropagatedProperties={oModels:{},oBindingContexts:{},aPropagationListeners:[]};var v=Object.assign||q.extend;function _(a,c){return!c.aAPIParentInfos||c.aAPIParentInfos[0].parent===a;}o.prototype.propagateProperties=function(n){var a=this._getPropertiesToPropagate(),U=n===true,b=n===false,N=U?undefined:n,c,l,i,w=v({},this.mAggregations,this.mForwardedAggregations);for(c in w){if(this.mSkipPropagation[c]){continue;}l=w[c];if(l instanceof o){if(_(this,l)){this._propagateProperties(n,l,a,U,N,b);}}else if(l instanceof Array){for(i=0;i<l.length;i++){if(l[i]instanceof o){if(_(this,l[i])){this._propagateProperties(n,l[i],a,U,N,b);}}}}}};o.prototype._propagateProperties=function(n,a,b,U,N,c){if(!b){b=this._getPropertiesToPropagate();U=n===true;c=n===false;N=U?undefined:n;}if(a.oPropagatedProperties!==b){a.oPropagatedProperties=b;if(c!==true){a.updateBindings(U,N);a.updateBindingContext(false,N,U);}a.propagateProperties(n);if(c||U){a._callPropagationListener();}a.fireModelContextChange();}};o.prototype._getPropertiesToPropagate=function(){var n=m(this.oModels),N=m(this.oBindingContexts),b=this.aPropagationListeners.length===0,a=m(this.mElementBindingContexts);function c(l,w,x,y){return l?w:q.extend({},w,x,y);}function i(l,w,x){return l?w:w.concat(x);}if(N&&n&&a&&b){return this.oPropagatedProperties;}else{return{oModels:c(n,this.oPropagatedProperties.oModels,this.oModels),oBindingContexts:c((N&&a),this.oPropagatedProperties.oBindingContexts,this.oBindingContexts,this.mElementBindingContexts),aPropagationListeners:i(b,this.oPropagatedProperties.aPropagationListeners,this.aPropagationListeners)};}};o.prototype.getModel=function(a){h(a===undefined||(typeof a==="string"&&!/^(undefined|null)?$/.test(a)),"sModelName must be a string or omitted");return this.oModels[a]||this.oPropagatedProperties.oModels[a];};o.prototype.hasModel=function(){return!(m(this.oModels)&&m(this.oPropagatedProperties.oModels));};o.prototype.clone=function(a,b,c){var n=true,w=true;if(c){n=!!c.cloneChildren;w=!!c.cloneBindings;}if(!a){a=M.uid("clone")||u();}if(!b&&n){b=this.findAggregatedObjects(true,null,true).map(function(d1){return d1.getId();});b.push(this.getId());}var x=this.getMetadata(),y=x._oClass,z=this.getId()+"-"+a,G={},H,J=this.mProperties,K,N,Q,R=o.bindingParser.escape,i,U;var W=Object.keys(J);i=W.length;while(i>0){K=W[--i];H=x.getProperty(K);if(H&&!(this.isBound(K)&&w)){if(typeof J[K]==="string"){G[K]=R(J[K]);}else{G[K]=H.byValue?j(J[K]):J[K];}}}G["models"]=this.oModels;G["bindingContexts"]=this.oBindingContexts;if(n){var X=v({},this.mAggregations,this.mForwardedAggregations);for(N in X){var Y=X[N];if(x.hasAggregation(N)&&!(this.isBound(N)&&w)){if(Y instanceof o){G[N]=Y.clone(a,b);}else if(Array.isArray(Y)){G[N]=[];for(var i=0;i<Y.length;i++){G[N].push(Y[i].clone(a,b));}}else{G[N]=Y;}}}var Z=r(this.getId());for(var i=0,l=Z.length;i<l;i++){var $=Z[i].clone(a);$.sParentId=z;$.sParentAggregationName=Z[i].sParentAggregationName;}for(N in this.mAssociations){if(!x.hasAssociation(N)){continue;}var a1=this.mAssociations[N];if(Array.isArray(a1)){a1=a1.slice(0);for(var i=0;i<a1.length;i++){if(b.indexOf(a1[i])>=0){a1[i]+="-"+a;}}}else if(b.indexOf(a1)>=0){a1+="-"+a;}G[N]=a1;}}Q=new y(z,G);function b1(d1,N,Q,e1){var f1=d1.mBindingInfos[N];f1=f1||d1.getBindingInfo(N);var g1=q.extend({},f1);if(!f1.templateShareable&&f1.template&&f1.template.clone){g1.template=f1.template.clone(a,b);delete g1.factory;}else if(f1.templateShareable===t){f1.templateShareable=g1.templateShareable=true;L.error("During a clone operation, a template was found that neither was marked with 'templateShareable:true' nor 'templateShareable:false'. "+"The framework won't destroy the template. This could cause errors (e.g. duplicate IDs) or memory leaks "+"(The template is used in aggregation '"+N+"' of object '"+d1.getId()+"')."+"For more information, see documentation under 'Aggregation Binding'.");}delete g1.binding;delete g1.modelChangeHandler;delete g1.dataStateChangeHandler;delete g1.modelRefreshHandler;if(f1.factory||f1.template){Q.bindAggregation(e1,g1);}else{Q.bindProperty(e1,g1);}}for(N in this.mObjectBindingInfos){Q.mObjectBindingInfos[N]=q.extend({},this.mObjectBindingInfos[N]);}for(N in this.mEventRegistry){Q.mEventRegistry[N]=this.mEventRegistry[N].slice();}if(w){for(N in this.mBindingInfos){b1(this,N,Q,N);}}if(o._supportInfo){o._supportInfo.addSupportInfo(Q.getId(),o._supportInfo.byId(this.getId()));}if(this._cloneMetadataContexts){this._cloneMetadataContexts(Q);}if(this.mForwardedAggregations){for(N in this.mForwardedAggregations){var c1=Q.getMetadata().getAggregationForwarder(N);if(c1){U=c1.getTarget(Q,true);if(c1.forwardBinding&&this.isBound(N)){b1(this,N,U,c1.targetAggregationName);}}}}return Q;};o._handleLocalizationChange=function(a){var i;if(a===1){q.each(this.oModels,function(n,b){if(b&&b._handleLocalizationChange){b._handleLocalizationChange();}});}else if(a===2){q.each(this.mBindingInfos,function(n,b){var c=b.parts;if(c){for(i=0;i<c.length;i++){if(b.type&&b.type._handleLocalizationChange){b.type._handleLocalizationChange();}}if(b.modelChangeHandler){b.modelChangeHandler();}}});}};o.prototype.findAggregatedObjects=function(R,c,b){var l=[];if(c&&typeof c!=="function"){c=null;}function w(x){var a,i,n;if(b){for(n in x.mBindingInfos){a=x.mBindingInfos[n].template;if(a){if(!c||c(a)){l.push(a);}if(R){w(a);}}}}for(n in x.mAggregations){a=x.mAggregations[n];if(Array.isArray(a)){for(i=0;i<a.length;i++){if(!c||c(a[i])){l.push(a[i]);}if(R){w(a[i]);}}}else if(a instanceof o){if(!c||c(a)){l.push(a);}if(R){w(a);}}}}w(this);return l;};o._defaultContextualSettings={};return o;});
sap.ui.predefine('sap/ui/base/ManagedObjectMetadata',['sap/ui/thirdparty/jquery','./DataType','./Metadata','sap/base/Log','sap/base/assert','sap/base/util/ObjectPath','sap/base/strings/escapeRegExp','sap/base/util/merge','sap/base/util/isPlainObject'],function(q,D,M,L,b,O,e,c,g){"use strict";var h=function(s,o){M.apply(this,arguments);};h.prototype=Object.create(M.prototype);var j=Object.prototype.hasOwnProperty;function k(n){return n.charAt(0).toUpperCase()+n.slice(1);}var r=/(children|ies|ves|oes|ses|ches|shes|xes|s)$/i;var S={'children':-3,'ies':'y','ves':'f','oes':-2,'ses':-2,'ches':-2,'shes':-2,'xes':-2,'s':-1};function l(n){return n.replace(r,function($,p){var v=S[p.toLowerCase()];return typeof v==="string"?v:p.slice(0,v);});}function u(f,n){return function(){L.warning("Usage of deprecated feature: "+n);return f.apply(this,arguments);};}function w(o,i){var a=null;for(var n in i){if(j.call(i,n)&&typeof o[n]==='undefined'){a=a||{};a[n]=i[n];}}return a;}var K={SPECIAL_SETTING:-1,PROPERTY:0,SINGLE_AGGREGATION:1,MULTIPLE_AGGREGATION:2,SINGLE_ASSOCIATION:3,MULTIPLE_ASSOCIATION:4,EVENT:5};h._guessSingularName=l;function x(o,n,i){i=typeof i!=='object'?{type:i}:i;this.name=n;this.type=i.type||'any';this.visibility=i.visibility||'public';this.defaultValue=i.defaultValue;this.appData=w(this,i);this._oParent=o;this._sUID="special:"+n;this._iKind=K.SPECIAL_SETTING;}function P(o,n,i){i=typeof i!=='object'?{type:i}:i;this.name=n;this.type=i.type||'string';this.group=i.group||'Misc';this.defaultValue=i.defaultValue!==null?i.defaultValue:null;this.bindable=!!i.bindable;this.deprecated=!!i.deprecated||false;this.visibility=i.visibility||'public';this.byValue=i.byValue===true;this.selector=typeof i.selector==="string"?i.selector:null;this.appData=w(this,i);this._oParent=o;this._sUID=n;this._iKind=K.PROPERTY;var N=k(n);this._sMutator='set'+N;this._sGetter='get'+N;if(this.bindable){this._sBind='bind'+N;this._sUnbind='unbind'+N;}else{this._sBind=this._sUnbind=undefined;}this._oType=null;}P.prototype.generate=function(a){var t=this,n=t.name;a(t._sGetter,function(){return this.getProperty(n);});a(t._sMutator,function(v){this.setProperty(n,v);return this;},t);if(t.bindable){a(t._sBind,function(p,f,m){this.bindProperty(n,p,f,m);return this;},t);a(t._sUnbind,function(p){this.unbindProperty(n,p);return this;});}};P.prototype.getType=function(){return this._oType||(this._oType=D.getType(this.type));};P.prototype.getDefaultValue=function(){var d=this.defaultValue,t;if(d===null){t=this.getType();if(t instanceof D){d=t.getDefaultValue();}}return d;};P.prototype.get=function(i){if(this.visibility!=='public'){return i.getProperty(this.name);}return i[this._sGetter]();};P.prototype.set=function(i,v){if(this.visibility!=='public'){return i.setProperty(this.name,v);}return i[this._sMutator](v);};function A(o,n,i){i=typeof i!=='object'?{type:i}:i;this.name=n;this.type=i.type||'sap.ui.core.Control';this.altTypes=Array.isArray(i.altTypes)?i.altTypes:undefined;this.multiple=typeof i.multiple==='boolean'?i.multiple:true;this.singularName=this.multiple?i.singularName||l(n):undefined;this.bindable=!!i.bindable;this.deprecated=i.deprecated||false;this.visibility=i.visibility||'public';this.selector=i.selector||null;this.forwarding=i.forwarding;this._doesNotRequireFactory=!!i._doesNotRequireFactory;this.appData=w(this,i);this._oParent=o;this._sUID='aggregation:'+n;this._iKind=this.multiple?K.MULTIPLE_AGGREGATION:K.SINGLE_AGGREGATION;this._oForwarder=this.forwarding?new y(this):undefined;var N=k(n);this._sGetter='get'+N;if(this.multiple){var a=k(this.singularName);this._sMutator='add'+a;this._sInsertMutator='insert'+a;this._sRemoveMutator='remove'+a;this._sRemoveAllMutator='removeAll'+N;this._sIndexGetter='indexOf'+a;this._sUpdater='update'+N;this._sRefresher='refresh'+N;}else{this._sMutator='set'+N;this._sInsertMutator=this._sRemoveMutator=this._sRemoveAllMutator=this._sIndexGetter=this._sUpdater=this._sRefresher=undefined;}this._sDestructor='destroy'+N;if(this.bindable){this._sBind='bind'+N;this._sUnbind='unbind'+N;}else{this._sBind=this._sUnbind=undefined;}}A.prototype.generate=function(d){var m=this,n=m.name;if(!m.multiple){d(m._sGetter,function(){return this.getAggregation(n);});d(m._sMutator,function(v){this.setAggregation(n,v);return this;},m);}else{d(m._sGetter,function(){return this.getAggregation(n,[]);});d(m._sMutator,function(a){this.addAggregation(n,a);return this;},m);d(m._sInsertMutator,function(i,a){this.insertAggregation(n,i,a);return this;},m);d(m._sRemoveMutator,function(a){return this.removeAggregation(n,a);});d(m._sRemoveAllMutator,function(){return this.removeAllAggregation(n);});d(m._sIndexGetter,function(a){return this.indexOfAggregation(n,a);});}d(m._sDestructor,function(){this.destroyAggregation(n);return this;});if(m.bindable){d(m._sBind,function(p,t,s,f){this.bindAggregation(n,p,t,s,f);return this;},m);d(m._sUnbind,function(p){this.unbindAggregation(n,p);return this;});}};A.prototype.getType=function(){return this._oType||(this._oType=D.getType(this.type));};A.prototype.get=function(i){if(this.visibility!=='public'){return i.getAggregation(this.name,this.multiple?[]:undefined);}return i[this._sGetter]();};A.prototype.set=function(i,v){if(this.visibility!=='public'){return i.setAggregation(this.name,v);}return i[this._sMutator](v);};A.prototype.add=function(i,v){if(this.visibility!=='public'){return i.addAggregation(this.name,v);}return i[this._sMutator](v);};A.prototype.insert=function(i,v,p){if(this.visibility!=='public'){return i.insertAggregation(this.name,v,p);}return i[this._sInsertMutator](v,p);};A.prototype.remove=function(i,v){if(this.visibility!=='public'){return i.removeAggregation(this.name,v);}return i[this._sRemoveMutator](v);};A.prototype.removeAll=function(i){if(this.visibility!=='public'){return i.removeAllAggregation(this.name);}return i[this._sRemoveAllMutator]();};A.prototype.indexOf=function(i,v){if(this.visibility!=='public'){return i.indexOfAggregation(this.name,v);}return i[this._sIndexGetter](v);};A.prototype.destroy=function(i){return i[this._sDestructor]();};A.prototype.update=function(i,s){if(i[this._sUpdater]){i[this._sUpdater](s);}else{i.updateAggregation(this.name);}};A.prototype.refresh=function(i,s){if(i[this._sRefresher]){i[this._sRefresher](s);}else{this.update(i,s);}};function y(a){var f=a.forwarding;this.aggregation=a;this.targetAggregationName=f.aggregation;this.forwardBinding=f.forwardBinding;this.targetAggregationInfo=null;if(f.getter){if(typeof f.getter==="function"){this._getTarget=f.getter;}else{this._getTarget=(function(s){return function(){return this[s]();};})(f.getter);}}else if(f.idSuffix){this._getTarget=(function(i){return function(){return sap.ui.getCore().byId(this.getId()+i);};})(f.idSuffix);}else{throw new Error("Either getter or idSuffix must be given for forwarding the aggregation "+a.name+" to the aggregation "+f.aggregation+" in "+a._oParent.getName());}}y.prototype._getTargetAggregationInfo=function(t){var T=this.targetAggregationInfo;if(!T&&t){T=this.targetAggregationInfo=t.getMetadata().getAggregation(this.targetAggregationName);if(!T){throw new Error("Target aggregation "+this.targetAggregationName+" not found on "+t);}if(this.aggregation.multiple&&!T.multiple){throw new Error("Aggregation "+this.aggregation+" (multiple: "+this.aggregation.multiple+") cannot be forwarded to aggregation "+this.targetAggregationName+" (multiple: "+T.multiple+")");}if(!this.aggregation.multiple&&T.multiple&&this.aggregation.forwarding.forwardBinding){throw new Error("Aggregation "+this.aggregation+" (multiple: "+this.aggregation.multiple+") cannot be forwarded to aggregation "+this.targetAggregationName+" (multiple: "+T.multiple+") with 'forwardBinding' set to 'true'");}}return T;};y.prototype.getTarget=function(i,a){var t=this._getTarget.call(i);this._getTargetAggregationInfo(t);if(t){i.mForwardedAggregations=i.mForwardedAggregations||{};if(i.mForwardedAggregations[this.aggregation.name]===undefined||a){var T=t.mAggregations[this.targetAggregationInfo.name];if(T&&!a&&!this.aggregation.forwarding.forwardBinding&&!(Array.isArray(T)&&T.length===0)){throw new Error("There is already content in aggregation "+this.targetAggregationInfo.name+" of "+t+" to which forwarding is being set up now.");}else{var v=t.mAggregations[this.targetAggregationInfo.name]||(this.targetAggregationInfo.multiple?[]:null);i.mForwardedAggregations[this.aggregation.name]=t.mAggregations[this.targetAggregationInfo.name]=v;}}}return t;};y.prototype.get=function(i){var t=this.getTarget(i);if(t){var a=this.targetAggregationInfo.get(t);if(!this.aggregation.multiple&&this.targetAggregationInfo.multiple){a=a[0];}return a;}else{return this.aggregation.multiple?[]:null;}};y.prototype.indexOf=function(i,a){var t=this.getTarget(i);return this.targetAggregationInfo.indexOf(t,a);};y.prototype.set=function(i,a){var t=this.getTarget(i);i.mForwardedAggregations[this.aggregation.name]=a;if(this.targetAggregationInfo.multiple){var p=this.targetAggregationInfo.get(t);if(p&&p[0]){if(p[0]===a){return i;}this.targetAggregationInfo.removeAll(t);}h.addAPIParentInfoBegin(a,i,this.aggregation.name);this.targetAggregationInfo.add(t,a);}else{h.addAPIParentInfoBegin(a,i,this.aggregation.name);this.targetAggregationInfo.set(t,a);}h.addAPIParentInfoEnd(a);return i;};y.prototype.add=function(i,a){var t=this.getTarget(i);h.addAPIParentInfoBegin(a,i,this.aggregation.name);this.targetAggregationInfo.add(t,a);h.addAPIParentInfoEnd(a);return i;};y.prototype.insert=function(i,a,d){var t=this.getTarget(i);h.addAPIParentInfoBegin(a,i,this.aggregation.name);this.targetAggregationInfo.insert(t,a,d);h.addAPIParentInfoEnd(a);return i;};h.addAPIParentInfoBegin=function(a,p,s){if(!a){return;}var n={parent:p,aggregationName:s};if(a.aAPIParentInfos){if(a.aAPIParentInfos.forwardingCounter){a.aAPIParentInfos.forwardingCounter++;}else{delete a.aAPIParentInfos;}}if(!a.aAPIParentInfos){a.aAPIParentInfos=[n];a.aAPIParentInfos.forwardingCounter=1;}else{a.aAPIParentInfos.push(n);}};h.addAPIParentInfoEnd=function(a){a&&a.aAPIParentInfos.forwardingCounter--;};y.prototype.remove=function(i,a){var t=this.getTarget(i);var d=this.targetAggregationInfo.remove(t,a);if(d){d.aAPIParentInfos&&d.aAPIParentInfos.pop();}return d;};y.prototype.removeAll=function(o){var t=this.getTarget(o);delete o.mForwardedAggregations[this.aggregation.name];var a=this.targetAggregationInfo.removeAll(t);for(var i=0;i<a.length;i++){if(a[i].aAPIParentInfos){a[i].aAPIParentInfos.pop();}}return a;};y.prototype.destroy=function(i){var t=this.getTarget(i);delete i.mForwardedAggregations[this.aggregation.name];if(t){this.targetAggregationInfo.destroy(t);}return i;};function z(o,n,i){i=typeof i!=='object'?{type:i}:i;this.name=n;this.type=i.type||'sap.ui.core.Control';this.multiple=i.multiple||false;this.singularName=this.multiple?i.singularName||l(n):undefined;this.deprecated=i.deprecated||false;this.visibility=i.visibility||'public';this.appData=w(this,i);this._oParent=o;this._sUID='association:'+n;this._iKind=this.multiple?K.MULTIPLE_ASSOCIATION:K.SINGLE_ASSOCIATION;var N=k(n);this._sGetter='get'+N;if(this.multiple){var a=k(this.singularName);this._sMutator='add'+a;this._sRemoveMutator='remove'+a;this._sRemoveAllMutator='removeAll'+N;}else{this._sMutator='set'+N;this._sRemoveMutator=this._sRemoveAllMutator=undefined;}}z.prototype.generate=function(d){var t=this,n=t.name;if(!t.multiple){d(t._sGetter,function(){return this.getAssociation(n);});d(t._sMutator,function(v){this.setAssociation(n,v);return this;},t);}else{d(t._sGetter,function(){return this.getAssociation(n,[]);});d(t._sMutator,function(a){this.addAssociation(n,a);return this;},t);d(t._sRemoveMutator,function(a){return this.removeAssociation(n,a);});d(t._sRemoveAllMutator,function(){return this.removeAllAssociation(n);});if(n!==t.singularName){d('removeAll'+k(t.singularName),function(){L.warning("Usage of deprecated method "+t._oParent.getName()+".prototype."+'removeAll'+k(t.singularName)+","+" use method "+t._sRemoveAllMutator+" (plural) instead.");return this[t._sRemoveAllMutator]();});}}};z.prototype.getType=function(){return this._oType||(this._oType=D.getType(this.type));};z.prototype.get=function(i){if(this.visibility!=='public'){return i.getAssociation(this.name,this.multiple?[]:undefined);}return i[this._sGetter]();};z.prototype.set=function(i,v){if(this.visibility!=='public'){return i.setAssociation(this.name,v);}return i[this._sMutator](v);};z.prototype.add=function(i,v){if(this.visibility!=='public'){return i.addAssociation(this.name,v);}return i[this._sMutator](v);};z.prototype.remove=function(i,v){if(this.visibility!=='public'){return i.removeAssociation(this.name,v);}return i[this._sRemoveMutator](v);};z.prototype.removeAll=function(i){if(this.visibility!=='public'){return i.removeAllAssociation(this.name);}return i[this._sRemoveAllMutator]();};function E(o,n,i){this.name=n;this.allowPreventDefault=i.allowPreventDefault||false;this.deprecated=i.deprecated||false;this.visibility='public';this.allowPreventDefault=!!i.allowPreventDefault;this.enableEventBubbling=!!i.enableEventBubbling;this.appData=w(this,i);this._oParent=o;this._sUID='event:'+n;this._iKind=K.EVENT;var N=k(n);this._sMutator='attach'+N;this._sDetachMutator='detach'+N;this._sTrigger='fire'+N;}E.prototype.generate=function(a){var t=this,n=t.name,i=t.allowPreventDefault,m=t.enableEventBubbling;a(t._sMutator,function(d,f,o){this.attachEvent(n,d,f,o);return this;},t);a(t._sDetachMutator,function(f,o){this.detachEvent(n,f,o);return this;});a(t._sTrigger,function(p){return this.fireEvent(n,p,i,m);});};E.prototype.attach=function(i,d,f,a){return i[this._sMutator](d,f,a);};E.prototype.detach=function(i,f,a){return i[this._sDetachMutator](f,a);};E.prototype.fire=function(i,p,a,d){return i[this._sTrigger](p,a,d);};h.prototype.metaFactorySpecialSetting=x;h.prototype.metaFactoryProperty=P;h.prototype.metaFactoryAggregation=A;h.prototype.metaFactoryAssociation=z;h.prototype.metaFactoryEvent=E;h.prototype.applySettings=function(o){var t=this,s=o.metadata;M.prototype.applySettings.call(this,o);function n(m,N){var T={},V;if(m){for(V in m){if(j.call(m,V)){T[V]=new N(t,V,m[V]);}}}return T;}function f(m,N){var T={},V;for(V in m){if(N===(m[V].visibility==='public')){T[V]=m[V];}}return T;}var a=/([a-z][^.]*(?:\.[a-z][^.]*)*)\./;function d(N){var m=a.exec(N);return(m&&m[1])||"";}this._sLibraryName=s.library||d(this.getName());this._mSpecialSettings=n(s.specialSettings,this.metaFactorySpecialSetting);var i=n(s.properties,this.metaFactoryProperty);this._mProperties=f(i,true);this._mPrivateProperties=f(i,false);var p=n(s.aggregations,this.metaFactoryAggregation);this._mAggregations=f(p,true);this._mPrivateAggregations=f(p,false);this._sDefaultAggregation=s.defaultAggregation||null;this._sDefaultProperty=s.defaultProperty||null;var v=n(s.associations,this.metaFactoryAssociation);this._mAssociations=f(v,true);this._mPrivateAssociations=f(v,false);this._mEvents=n(s.events,this.metaFactoryEvent);this._oDesignTime=o.metadata["designtime"]||o.metadata["designTime"];this._sProvider=o.metadata["provider"];if(o.metadata.__version>1.0){this.generateAccessors();}};h.prototype.afterApplySettings=function(){M.prototype.afterApplySettings.call(this);var p=this.getParent();if(p instanceof h){this._mAllEvents=q.extend({},p._mAllEvents,this._mEvents);this._mAllPrivateProperties=q.extend({},p._mAllPrivateProperties,this._mPrivateProperties);this._mAllProperties=q.extend({},p._mAllProperties,this._mProperties);this._mAllPrivateAggregations=q.extend({},p._mAllPrivateAggregations,this._mPrivateAggregations);this._mAllAggregations=q.extend({},p._mAllAggregations,this._mAggregations);this._mAllPrivateAssociations=q.extend({},p._mAllPrivateAssociations,this._mPrivateAssociations);this._mAllAssociations=q.extend({},p._mAllAssociations,this._mAssociations);this._sDefaultAggregation=this._sDefaultAggregation||p._sDefaultAggregation;this._sDefaultProperty=this._sDefaultProperty||p._sDefaultProperty;this._mAllSpecialSettings=q.extend({},p._mAllSpecialSettings,this._mSpecialSettings);this._sProvider=this._sProvider||p._sProvider;}else{this._mAllEvents=this._mEvents;this._mAllPrivateProperties=this._mPrivateProperties;this._mAllProperties=this._mProperties;this._mAllPrivateAggregations=this._mPrivateAggregations;this._mAllAggregations=this._mAggregations;this._mAllPrivateAssociations=this._mPrivateAssociations;this._mAllAssociations=this._mAssociations;this._mAllSpecialSettings=this._mSpecialSettings;}};h.Kind=K;h.prototype.getLibraryName=function(){return this._sLibraryName;};h.prototype.addProperty=function(n,i){var p=this._mProperties[n]=new P(this,n,i);if(!this._mAllProperties[n]){this._mAllProperties[n]=p;}};h.prototype.hasProperty=function(n){return!!this._mAllProperties[n];};h.prototype.getProperty=function(n){var p=this._mAllProperties[n];return typeof p==='object'?p:undefined;};h.prototype.getProperties=function(){return this._mProperties;};h.prototype.getAllProperties=function(){return this._mAllProperties;};h.prototype.getAllPrivateProperties=function(){return this._mAllPrivateProperties;};h.prototype.getManagedProperty=function(n){n=n||this._sDefaultProperty;var p=n?this._mAllProperties[n]||this._mAllPrivateProperties[n]:undefined;return typeof p==='object'?p:undefined;};h.prototype.getDefaultPropertyName=function(){return this._sDefaultProperty;};h.prototype.getDefaultProperty=function(){return this.getProperty(this.getDefaultPropertyName());};h.prototype.hasAggregation=function(n){return!!this._mAllAggregations[n];};h.prototype.getAggregation=function(n){n=n||this._sDefaultAggregation;var a=n?this._mAllAggregations[n]:undefined;return typeof a==='object'?a:undefined;};h.prototype.getAggregations=function(){return this._mAggregations;};h.prototype.getAllAggregations=function(){return this._mAllAggregations;};h.prototype.getAllPrivateAggregations=function(){return this._mAllPrivateAggregations;};h.prototype.getManagedAggregation=function(a){a=a||this._sDefaultAggregation;var o=a?this._mAllAggregations[a]||this._mAllPrivateAggregations[a]:undefined;return typeof o==='object'?o:undefined;};h.prototype.getDefaultAggregationName=function(){return this._sDefaultAggregation;};h.prototype.getDefaultAggregation=function(){return this.getAggregation();};h.prototype.forwardAggregation=function(f,o){var a=this.getAggregation(f);if(!a){throw new Error("aggregation "+f+" does not exist");}if(!o||!o.aggregation||!(o.idSuffix||o.getter)||(o.idSuffix&&o.getter)){throw new Error("an 'mOptions' object with 'aggregation' property and either 'idSuffix' or 'getter' property (but not both) must be given"+" but does not exist");}if(a._oParent===this){a.forwarding=o;a._oForwarder=new y(a);}else{a=new this.metaFactoryAggregation(this,f,{type:a.type,altTypes:a.altTypes,multiple:a.multiple,singularName:a.singularName,bindable:a.bindable,deprecated:a.deprecated,visibility:a.visibility,selector:a.selector,forwarding:o});this._mAggregations[f]=this._mAllAggregations[f]=a;}};h.prototype.getAggregationForwarder=function(a){var o=this._mAllAggregations[a];return o?o._oForwarder:undefined;};h.prototype.getDefaultPropertyName=function(){return this._sDefaultProperty;};h.prototype.getDefaultProperty=function(){return this.getProperty(this.getDefaultPropertyName());};h.prototype.getPropertyLikeSetting=function(n){var p=this._mAllProperties[n];if(typeof p==='object'){return p;}p=this._mAllAggregations[n];return(typeof p==='object'&&p.altTypes&&p.altTypes.length>0)?p:undefined;};h.prototype.hasAssociation=function(n){return!!this._mAllAssociations[n];};h.prototype.getAssociation=function(n){var a=this._mAllAssociations[n];return typeof a==='object'?a:undefined;};h.prototype.getAssociations=function(){return this._mAssociations;};h.prototype.getAllAssociations=function(){return this._mAllAssociations;};h.prototype.getAllPrivateAssociations=function(){return this._mAllPrivateAssociations;};h.prototype.getManagedAssociation=function(n){var a=this._mAllAssociations[n]||this._mAllPrivateAssociations[n];return typeof a==='object'?a:undefined;};h.prototype.hasEvent=function(n){return!!this._mAllEvents[n];};h.prototype.getEvent=function(n){var o=this._mAllEvents[n];return typeof o==='object'?o:undefined;};h.prototype.getEvents=function(){return this._mEvents;};h.prototype.getAllEvents=function(){return this._mAllEvents;};h.prototype.addSpecialSetting=function(n,i){var s=new x(this,n,i);this._mSpecialSettings[n]=s;if(!this._mAllSpecialSettings[n]){this._mAllSpecialSettings[n]=s;}};h.prototype.hasSpecialSetting=function(n){return!!this._mAllSpecialSettings[n];};h.prototype.getPropertyDefaults=function(){var d=this._mDefaults,s;if(d){return d;}if(this.getParent()instanceof h){d=q.extend({},this.getParent().getPropertyDefaults());}else{d={};}for(s in this._mProperties){d[s]=this._mProperties[s].getDefaultValue();}for(s in this._mPrivateProperties){d[s]=this._mPrivateProperties[s].getDefaultValue();}this._mDefaults=d;return d;};h.prototype.createPropertyBag=function(){if(!this._fnPropertyBagFactory){this._fnPropertyBagFactory=function PropertyBag(){};this._fnPropertyBagFactory.prototype=this.getPropertyDefaults();}return new(this._fnPropertyBagFactory)();};h.prototype._enrichChildInfos=function(){L.error("obsolete call to ManagedObjectMetadata._enrichChildInfos. This private method will be deleted soon");};h.prototype.getJSONKeys=function(){if(this._mJSONKeys){return this._mJSONKeys;}var a={},d={};function f(m){var n,i,p;for(n in m){i=m[n];p=a[n];if(!p||i._iKind<p._iKind){a[n]=d[n]=i;}d[i._sUID]=i;}}f(this._mAllSpecialSettings);f(this.getAllProperties());f(this.getAllAggregations());f(this.getAllAssociations());f(this.getAllEvents());this._mJSONKeys=d;this._mAllSettings=a;return this._mJSONKeys;};h.prototype.getAllSettings=function(){if(!this._mAllSettings){this.getJSONKeys();}return this._mAllSettings;};h.prototype.removeUnknownSettings=function(s){b(s==null||typeof s==='object',"mSettings must be null or an object");if(s==null){return s;}var v=this.getJSONKeys(),m={},n;for(n in s){if(j.call(v,n)){m[n]=s[n];}}return m;};h.prototype.generateAccessors=function(){var p=this.getClass().prototype,a=this.getName()+".",m=this._aPublicMethods,n;function d(f,i,o){if(!p[f]){p[f]=(o&&o.deprecated)?u(i,a+o.name):i;}m.push(f);}for(n in this._mProperties){this._mProperties[n].generate(d);}for(n in this._mAggregations){this._mAggregations[n].generate(d);}for(n in this._mAssociations){this._mAssociations[n].generate(d);}for(n in this._mEvents){this._mEvents[n].generate(d);}};function B(m){var s=m.getLibraryName(),p=sap.ui.getCore().getConfiguration().getPreload(),o=sap.ui.getCore().getLoadedLibraries()[s];if(o&&o.designtime){var a;if(p==="async"||p==="sync"){a=sap.ui.loader._.loadJSResourceAsync(o.designtime.replace(/\.designtime$/,"-preload.designtime.js"),true);}else{a=Promise.resolve();}return new Promise(function(f){a.then(function(){sap.ui.require([o.designtime],function(d){f(d);});});});}return Promise.resolve(null);}function C(m){if(g(m._oDesignTime)||!m._oDesignTime){return Promise.resolve(m._oDesignTime||{});}return new Promise(function(f){var s;if(typeof m._oDesignTime==="string"){s=m._oDesignTime;}else{s=m.getName().replace(/\./g,"/")+".designtime";}B(m).then(function(o){sap.ui.require([s],function(d){d.designtimeModule=s;m._oDesignTime=d;d._oLib=o;f(d);});});});}var F={};h.setDesignTimeDefaultMapping=function(p){F=p;};function G(i){var s=i instanceof O.get('sap.ui.base.ManagedObject')&&typeof i.data==="function"&&i.data("sap-ui-custom-settings")&&i.data("sap-ui-custom-settings")["sap.ui.dt"]&&i.data("sap-ui-custom-settings")["sap.ui.dt"].designtime;if(typeof s==="string"){s=F[s]||s;return new Promise(function(f){sap.ui.require([s],function(d){f(d);});});}else{return Promise.resolve({});}}function H(m,s){var a=m;if("default"in m){a=c({},m.default,s!=="default"&&m[s]||null);}return a;}function I(o,p,s){return c({},H(p,s),{templates:{create:null}},H(o,s),{designtimeModule:o.designtimeModule||undefined,_oLib:o._oLib});}h.prototype.loadDesignTime=function(m,s){s=typeof s==="string"&&s||"default";var i=G(m);if(!this._oDesignTimePromise){var W;var p=this.getParent();if(p instanceof h){W=p.loadDesignTime(null,s);}else{W=Promise.resolve({});}this._oDesignTimePromise=C(this).then(function(o){return W.then(function(a){return I(o,a,s);});});}return Promise.all([i,this._oDesignTimePromise]).then(function(d){var o=d[0],a=d[1];return c({},a,H(o||{},s));});};var U={},J;function Q(i){b(!/[0-9]+$/.exec(i),"AutoId Prefixes must not end with numbers");i=(J||(J=sap.ui.getCore().getConfiguration().getUIDPrefix()))+i;var a=U[i]||0;U[i]=a+1;return i+a;}h.uid=Q;h.prototype.uid=function(){var i=this._sUIDToken;if(typeof i!=="string"){i=this.getName();i=i.slice(i.lastIndexOf('.')+1);i=i.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").slice(-1)[0];i=this._sUIDToken=i.replace(/([^A-Za-z0-9-_.:])|([0-9]+$)/g,"").toLowerCase();}return Q(i);};var R;h.isGeneratedId=function(i){J=J||sap.ui.getCore().getConfiguration().getUIDPrefix();R=R||new RegExp("(^|-{1,3})"+e(J));return R.test(i);};return h;},true);
sap.ui.predefine('sap/ui/base/ManagedObjectRegistry',["sap/ui/base/ManagedObject","sap/base/Log","sap/base/assert"],function(M,L,a){"use strict";function b(F,o){if(typeof F!=='function'||!(F.prototype instanceof M)){throw new TypeError("ManagedObjectRegistry mixin can only be applied to subclasses of sap.ui.base.ManagedObject");}o=o||{};var O=o.onDuplicate||function(s,c,n){var S=F.getMetadata().getStereotype();L.error("adding object \""+S+"\" with duplicate id '"+s+"'");throw new Error("Error: adding object \""+S+"\" with duplicate id '"+s+"'");};var f=o.onDeregister||null;var i=Object.create(null);var I=0;F.prototype.register=function register(){var s=this.getId(),c=i[s];if(c&&c!==this){O(s,c,this);I--;}i[s]=this;I++;};F.prototype.deregister=function deregister(){if(i[this.sId]){if(f){f(this.sId);}delete i[this.sId];I--;}};F["registry"]=Object.freeze({get size(){return I;},all:function(){var r=Object.create(null);return Object.assign(r,i);},get:function(c){a(c==null||typeof c==="string","id must be a string when defined");return c==null?undefined:i[c];},forEach:function(c,t){if(typeof c!=="function"){throw new TypeError(c+" is not a function");}if(t!=null){c=c.bind(t);}for(var d in i){c(i[d],d);}},filter:function(c,t){if(typeof c!=="function"){throw new TypeError(c+" is not a function");}if(t!=null){c=c.bind(t);}var r=[],d;for(d in i){if(c(i[d],d)){r.push(i[d]);}}return r;}});}return{apply:b};});
sap.ui.predefine('sap/ui/base/Metadata',['sap/base/util/ObjectPath','sap/ui/Device',"sap/base/assert","sap/base/Log","sap/base/util/array/uniqueSort"],function(O,D,b,L,u){"use strict";var M=function(c,C){b(typeof c==="string"&&c,"Metadata: sClassName must be a non-empty string");b(typeof C==="object","Metadata: oClassInfo must be empty or an object");if(!C||typeof C.metadata!=="object"){C={metadata:C||{},constructor:O.get(c)};C.metadata.__version=1.0;}C.metadata.__version=C.metadata.__version||2.0;if(typeof C.constructor!=="function"){throw Error("constructor for class "+c+" must have been declared before creating metadata for it");}this._sClassName=c;this._oClass=C.constructor;this.extend(C);};M.prototype.extend=function(c){this.applySettings(c);this.afterApplySettings();};M.prototype.applySettings=function(c){var t=this,s=c.metadata,p;if(s.baseType){var P=O.get(s.baseType);if(typeof P!=="function"){L.fatal("base class '"+s.baseType+"' does not exist");}if(P.getMetadata){this._oParent=P.getMetadata();b(P===P.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata");}else{this._oParent=new M(s.baseType,{});}}else{this._oParent=undefined;}this._bAbstract=!!s["abstract"];this._bFinal=!!s["final"];this._sStereotype=s.stereotype||(this._oParent?this._oParent._sStereotype:"object");this._bDeprecated=!!s["deprecated"];this._aInterfaces=s.interfaces||[];this._aPublicMethods=s.publicMethods||[];this._bInterfacesUnique=false;p=this._oClass.prototype;for(var n in c){if(n!=="metadata"&&n!=="constructor"){p[n]=c[n];if(!n.match(/^_|^on|^init$|^exit$/)){t._aPublicMethods.push(n);}}}};M.prototype.afterApplySettings=function(){if(this._oParent){this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods);this._bInterfacesUnique=false;}else{this._aAllPublicMethods=this._aPublicMethods;}};M.prototype.getStereotype=function(){return this._sStereotype;};M.prototype.getName=function(){return this._sClassName;};M.prototype.getClass=function(){return this._oClass;};M.prototype.getParent=function(){return this._oParent;};M.prototype._dedupInterfaces=function(){if(!this._bInterfacesUnique){u(this._aInterfaces);u(this._aPublicMethods);u(this._aAllPublicMethods);this._bInterfacesUnique=true;}};M.prototype.getPublicMethods=function(){this._dedupInterfaces();return this._aPublicMethods;};M.prototype.getAllPublicMethods=function(){this._dedupInterfaces();return this._aAllPublicMethods;};M.prototype.getInterfaces=function(){this._dedupInterfaces();return this._aInterfaces;};M.prototype.isInstanceOf=function(I){if(this._oParent){if(this._oParent.isInstanceOf(I)){return true;}}var a=this._aInterfaces;for(var i=0,l=a.length;i<l;i++){if(a[i]===I){return true;}}return false;};var W=!!D.browser.phantomJS;Object.defineProperty(M.prototype,"_mImplementedTypes",{get:function(){if(this===M.prototype){throw new Error("sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype");}var r=Object.create(this._oParent?this._oParent._mImplementedTypes:null);r[this._sClassName]=true;var I=this._aInterfaces,i=I.length;while(i-->0){if(!r[I[i]]){r[I[i]]=true;}}Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(r),writable:W,configurable:false});return r;},configurable:true});M.prototype.isA=function(t){var T=this._mImplementedTypes;if(Array.isArray(t)){for(var i=0;i<t.length;i++){if(t[i]in T){return true;}}return false;}return t in T;};M.prototype.isAbstract=function(){return this._bAbstract;};M.prototype.isFinal=function(){return this._bFinal;};M.prototype.isDeprecated=function(){return this._bDeprecated;};M.prototype.addPublicMethods=function(m){var n=(m instanceof Array)?m:arguments;Array.prototype.push.apply(this._aPublicMethods,n);Array.prototype.push.apply(this._aAllPublicMethods,n);this._bInterfacesUnique=false;};M.createClass=function(B,c,C,F){if(typeof B==="string"){F=C;C=c;c=B;B=null;}b(!B||typeof B==="function");b(typeof c==="string"&&!!c);b(!C||typeof C==="object");b(!F||typeof F==="function");F=F||M;if(typeof F.preprocessClassInfo==="function"){C=F.preprocessClassInfo(C);}C=C||{};C.metadata=C.metadata||{};if(!C.hasOwnProperty('constructor')){C.constructor=undefined;}var f=C.constructor;b(!f||typeof f==="function");if(B){if(!f){if(C.metadata.deprecated){f=function(){L.warning("Usage of deprecated class: "+c);B.apply(this,arguments);};}else{f=function(){B.apply(this,arguments);};}}f.prototype=Object.create(B.prototype);f.prototype.constructor=f;C.metadata.baseType=B.getMetadata().getName();}else{f=f||function(){};delete C.metadata.baseType;}C.constructor=f;O.set(c,f);var m=new F(c,C);f.getMetadata=f.prototype.getMetadata=function(){return m;};if(!f.getMetadata().isFinal()){f.extend=function(s,S,a){return M.createClass(f,s,S,a||F);};}return f;};return M;},true);
sap.ui.predefine('sap/ui/base/Object',['./Interface','./Metadata',"sap/base/Log"],function(I,M,L){"use strict";var B=M.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof B)){throw Error("Cannot instantiate object: \"new\" is missing!");}}});B.prototype.destroy=function(){};B.prototype.getInterface=function(){var i=new I(this,this.getMetadata().getAllPublicMethods());this.getInterface=function(){return i;};return i;};B.defineClass=function(c,s,F){var m=new(F||M)(c,s);var C=m.getClass();C.getMetadata=C.prototype.getMetadata=function(){return m;};if(!m.isFinal()){C.extend=function(S,o,f){return M.createClass(C,S,o,f||F);};}L.debug("defined class '"+c+"'"+(m.getParent()?" as subclass of "+m.getParent().getName():""));return m;};B.prototype.isA=function(t){return this.getMetadata().isA(t);};B.isA=function(o,t){return o instanceof B&&o.isA(t);};return B;},true);
sap.ui.predefine('sap/ui/base/ObjectPool',['./Object'],function(B){"use strict";var O=B.extend("sap.ui.base.ObjectPool",{constructor:function(o){B.call(this);this.oObjectClass=o;this.aFreeObjects=[];}});O.prototype.borrowObject=function(){var o=this.aFreeObjects.length==0?new this.oObjectClass():this.aFreeObjects.pop();o.init.apply(o,arguments);return o;};O.prototype.returnObject=function(o){o.reset();this.aFreeObjects.push(o);};return O;});
sap.ui.predefine('sap/ui/base/SyncPromise',[],function(){"use strict";var r=new S(function(a,b){a();});function c(t,a,b){var o;function d(R){if(!o){o=true;b(R);}}function f(R){if(!o){o=true;a(R);}}try{t(f,d);}catch(e){d(e);}}function h(v){return v&&(typeof v==="function"||typeof v==="object")&&"then"in v;}function S(E){var C=false,s,R,f,v,t=this;function a(d){v=d;s=-1;if(!C&&S.listener){S.listener(t,false);}if(R){R(d);R=f=null;}}function b(d){var T;if(d===t){a(new TypeError("A promise cannot be resolved with itself."));return;}if(d instanceof S){if(d.isFulfilled()){b(d.getResult());return;}else if(d.isRejected()){d.caught();a(d.getResult());return;}else{d.caught();d=d.getResult();}}s=0;v=d;if(h(v)){try{T=v.then;}catch(e){a(e);return;}if(typeof T==="function"){c(T.bind(v),b,a);return;}}s=1;if(f){f(v);R=f=null;}}this.caught=function(){if(!C){C=true;if(S.listener&&this.isRejected()){S.listener(this,true);}}};this.getResult=function(){return v;};this.isFulfilled=function(){return s===1;};this.isPending=function(){return!s;};this.isRejected=function(){return s===-1;};c(E,b,a);if(s===undefined){v=new Promise(function(b,a){f=b;R=a;});v.catch(function(){});}}S.prototype.catch=function(o){return this.then(undefined,o);};S.prototype.finally=function(o){if(typeof o==="function"){return this.then(function(R){return S.resolve(o()).then(function(){return R;});},function(R){return S.resolve(o()).then(function(){throw R;});});}return this.then(o,o);};S.prototype.then=function(o,O){var C=this.isFulfilled()?o:O,b=typeof C==="function",p=this.isPending(),t=this;if(p||b){this.caught();}if(!p){return b?new S(function(a,d){a(C(t.getResult()));}):this;}return S.resolve(this.getResult().then(o,O));};S.prototype.toString=function(){if(this.isPending()){return"SyncPromise: pending";}return String(this.getResult());};S.prototype.unwrap=function(){if(this.isRejected()){this.caught();throw this.getResult();}return this.getResult();};S.all=function(v){return new S(function(a,b){var d=false,p=0;function e(){if(d&&p===0){a(v);}}v=Array.prototype.slice.call(v);v.forEach(function(V,i){if(V!==v[i+1]&&h(V)){p+=1;V.then(function(R){do{v[i]=R;i-=1;}while(i>=0&&V===v[i]);p-=1;e();},function(R){b(R);});}});d=true;e();});};S.reject=function(R){return new S(function(a,b){b(R);});};S.resolve=function(R){if(R===undefined){return r;}if(R instanceof S){return R;}return new S(function(a,b){a(R);});};return S;},true);
sap.ui.predefine('sap/ui/base/syncXHRFix',[],function(){"use strict";var x=function(){(function(){var s=false,p=false;var _=Promise.prototype.then,a=Promise.prototype.catch,b=window.setTimeout,c=window.setInterval,q=[];function d(h){if(!p){p=true;b(function(){var C=q;q=[];p=false;C.forEach(function(Q){Q();});},0);}q.push(h);}function w(h,S,C){if(typeof h!=="function"){return h;}return function(){var A=Array.prototype.slice.call(arguments);if(s||p){return new Promise(function(r,f){d(function(){var R;try{R=h.apply(window,A);r(R);}catch(E){f(E);}});});}return h.apply(window,A);};}Promise.prototype.then=function(t,C){var W=w(t),f=w(C);return _.call(this,W,f);};Promise.prototype.catch=function(C){var W=w(C);return a.call(this,W);};function e(h){var W=function(){var A,H;if(p){A=[W,0].concat(arguments);b.apply(window,A);}else{H=typeof h!=="function"?new Function(h):h;H.apply(window,arguments);}};return W;}window.setTimeout=function(h){var A=Array.prototype.slice.call(arguments);if(A.length!==0){A[0]=e(h);}return b.apply(window,A);};window.setInterval=function(h){var A=Array.prototype.slice.call(arguments);if(A.length!==0){A[0]=e(h);}return c.apply(window,A);};window.XMLHttpRequest=new Proxy(window.XMLHttpRequest,{construct:function(t,A,n){var X=new t(),S=false,D=false,r=0,P;function f(h){var W=function(E){var C=X.readyState;function i(){r=C;if(W.active){return h.call(P,E);}}if(!S&&s){D=true;}if(D){b(i,0);return true;}return i();};h.wrappedHandler=W;W.active=true;return W;}function u(h){return g(h.wrappedHandler);}function g(W){if(typeof W==="function"){W.active=false;}return W;}P=new Proxy(X,{get:function(T,h,R){var v=T[h];switch(h){case"readyState":return r;case"addEventListener":return function(N,H,C){v.call(T,N,f(H),C);};case"removeEventListener":return function(N,H,C){v.call(T,N,u(H),C);};case"open":return function(m,U,i){S=i===false;v.apply(T,arguments);r=T.readyState;};case"send":return function(){s=S;try{v.apply(T,arguments);}finally{r=T.readyState;s=false;}};}if(typeof v==="function"){return function(){return v.apply(T,arguments);};}return v;},set:function(T,h,v){if(h.indexOf("on")===0){g(T[h]);if(typeof v==="function"){T[h]=f(v);return true;}}T[h]=v;return true;}});P.addEventListener("readystatechange",function(){});return P;}});})();};return x;});
sap.ui.predefine('sap/ui/core/BlockLayerUtils',['sap/ui/events/jquery/EventTriggerHook',"sap/base/Log","sap/ui/thirdparty/jquery"],function(E,L,q){"use strict";var B={},p=["focusin","focusout","keydown","keypress","keyup","mousedown","touchstart","touchmove","mouseup","touchend","click"],r=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr|tr)$/i;B.block=function(c,b,s){var P,t,o,d;if(c){P=c.getDomRef(s);if(!P){P=c.getDomRef();}if(!P){L.warning("BlockLayer could not be rendered. The outer Control instance is not valid anymore or was not rendered yet.");return;}t=P.tagName;if(r.test(t)){L.warning("BusyIndicator cannot be placed in elements with tag '"+t+"'.");return;}d=a(P,b);o={$parent:q(P),$blockLayer:q(d)};if(o.$parent.css('position')=='static'){o.originalPosition='static';o.$parent.css('position','relative');}h.call(o,true);}else{L.warning("BlockLayer couldn't be created. No Control instance given.");}return o;};B.unblock=function(b){if(b){if(b.originalPosition){b.$parent.css('position',b.originalPosition);}h.call(b,false);b.$blockLayer.remove();}};B.addAriaAttributes=function(d){d.setAttribute("role","progressbar");d.setAttribute("aria-valuemin","0");d.setAttribute("aria-valuemax","100");d.setAttribute("alt","");d.setAttribute("tabindex","0");};B.toggleAnimationStyle=function(b,s){var $=q(b.$blockLayer.get(0));if(s){$.removeClass("sapUiHiddenBusyIndicatorAnimation");$.removeClass("sapUiBlockLayerOnly");}else{$.addClass("sapUiBlockLayerOnly");$.addClass("sapUiHiddenBusyIndicatorAnimation");}};function a(b,s){var c=document.createElement("div");c.id=s;c.className="sapUiBlockLayer ";B.addAriaAttributes(c);b.appendChild(c);return c;}function h(e){if(e){var P=this.$parent.get(0);if(P){this.fnRedirectFocus=b.bind(this);this.oTabbableBefore=c(this.fnRedirectFocus);this.oTabbableAfter=c(this.fnRedirectFocus);P.parentNode.insertBefore(this.oTabbableBefore,P);P.parentNode.insertBefore(this.oTabbableAfter,P.nextSibling);this._fnSuppressDefaultAndStopPropagationHandler=s.bind(this);this._aSuppressHandler=f.call(this,this._fnSuppressDefaultAndStopPropagationHandler);}else{L.warning("fnHandleInteraction called with bEnabled true, but no DOMRef exists!");}}else{if(this.oTabbableBefore){d(this.oTabbableBefore,this.fnRedirectFocus);delete this.oTabbableBefore;}if(this.oTabbableAfter){d(this.oTabbableAfter,this.fnRedirectFocus);delete this.oTabbableAfter;}delete this.fnRedirectFocus;g.call(this,this._fnSuppressDefaultAndStopPropagationHandler);}function s(o){var t=o.target===this.$blockLayer.get(0),T;if(t&&o.type==='keydown'&&o.keyCode===9){L.debug("Local Busy Indicator Event keydown handled: "+o.type);T=o.shiftKey?this.oTabbableBefore:this.oTabbableAfter;T.setAttribute("tabindex",-1);this.bIgnoreFocus=true;T.focus();this.bIgnoreFocus=false;T.setAttribute("tabindex",0);o.stopImmediatePropagation();}else if(t&&(o.type==='mousedown'||o.type==='touchstart')){L.debug("Local Busy Indicator click handled on busy area: "+o.target.id);o.stopImmediatePropagation();}else{L.debug("Local Busy Indicator Event Suppressed: "+o.type);o.preventDefault();o.stopImmediatePropagation();}}function b(){if(!this.bIgnoreFocus){this.$blockLayer.get(0).focus();}}function c(R){var o=document.createElement("span");o.setAttribute("tabindex",0);o.classList.add("sapUiBlockLayerTabbable");o.addEventListener('focusin',R);return o;}function d(o,R){if(o.parentNode){o.parentNode.removeChild(o);}o.removeEventListener('focusin',R);}function f(H){var S=[],P=this.$parent.get(0),o=this.$blockLayer.get(0);for(var i=0;i<p.length;i++){P.addEventListener(p[i],H,{capture:true,passive:false});S.push(E.suppress(p[i],P,o));}this.$blockLayer.bind('keydown',H);return S;}function g(H){var i,P=this.$parent.get(0),o=this.$blockLayer.get(0);if(P){for(i=0;i<p.length;i++){P.removeEventListener(p[i],H,{capture:true,passive:false});}}if(this._aSuppressHandler){for(i=0;i<this._aSuppressHandler.length;i++){E.release(this._aSuppressHandler[i]);}}if(o){this.$blockLayer.unbind('keydown',H);}}}return B;});
sap.ui.predefine('sap/ui/core/BusyIndicator',['sap/ui/thirdparty/jquery','../base/EventProvider','./Popup','./Core','./BusyIndicatorUtils','sap/ui/core/library',"sap/ui/performance/trace/FESR","sap/ui/performance/trace/Interaction","sap/base/Log","sap/base/assert","sap/base/util/now"],function(q,E,P,C,B,l,F,I,L,a,n){"use strict";var b=l.BusyIndicatorSize;var c=q.extend(new E(),{oPopup:null,oDomRef:null,bOpenRequested:false,iDEFAULT_DELAY_MS:1000,sDOM_ID:"sapUiBusyIndicator"});c.M_EVENTS={Open:"Open",Close:"Close"};c._bShowIsDelayed=undefined;c._init=function(){var r=document.createElement("div");r.id=this.sDOM_ID;var o=document.createElement("div");this._oResBundle=sap.ui.getCore().getLibraryResourceBundle("sap.ui.core");var t=this._oResBundle.getText("BUSY_TEXT");delete this._oResBundle;o.className="sapUiBusy";o.setAttribute("tabindex","0");o.setAttribute("role","progressbar");o.setAttribute("alt","");o.setAttribute("title",t);r.appendChild(o);var d=B.getElement(b.Large);d.setAttribute("title",t);r.appendChild(d);var i=sap.ui.getCore().getStaticAreaRef();i.appendChild(r);this.oDomRef=r;this.oPopup=new P(r);this.oPopup.setModal(true,"sapUiBlyBusy");this.oPopup.setShadow(false);this.oPopup.attachOpened(function(e){this._onOpen(e);},this);};c._onOpen=function(e){var d=(c.sDOM_ID?window.document.getElementById(c.sDOM_ID):null);d.style.height="100%";d.style.width="100%";var A=d.querySelector(".sapUiLocalBusyIndicator");A.className+=" sapUiLocalBusyIndicatorFade";if(d){d.focus();}q("body").attr("aria-busy",true);this.fireOpen({$Busy:this.oPopup._$()});};c.show=function(d){L.debug("sap.ui.core.BusyIndicator.show (delay: "+d+") at "+new Date().getTime());a(d===undefined||(typeof d=="number"&&(d%1==0)),"iDelay must be empty or an integer");if(!document.body||!sap.ui.getCore().isInitialized()){if(c._bShowIsDelayed===undefined){sap.ui.getCore().attachInit(function(){if(c._bShowIsDelayed){c.show(d);}});}c._bShowIsDelayed=true;return;}if((d===undefined)||((d!=0)&&(parseInt(d)==0))||(parseInt(d)<0)){d=this.iDEFAULT_DELAY_MS;}if(F.getActive()){this._fDelayedStartTime=n()+d;}if(!this.oDomRef){this._init();}this.bOpenRequested=true;if(d===0){this._showNowIfRequested();}else{setTimeout(this["_showNowIfRequested"].bind(this),d);}};c._showNowIfRequested=function(){L.debug("sap.ui.core.BusyIndicator._showNowIfRequested (bOpenRequested: "+this.bOpenRequested+") at "+new Date().getTime());if(!this.bOpenRequested){return;}var o=(window.scrollX===undefined?window.pageXOffset:window.scrollX);var O=(window.scrollY===undefined?window.pageYOffset:window.scrollY);var s=o+" "+O;this.bOpenRequested=false;this.oPopup.open(0,P.Dock.LeftTop,P.Dock.LeftTop,document,s);};c.hide=function(){L.debug("sap.ui.core.BusyIndicator.hide at "+new Date().getTime());if(this._fDelayedStartTime){var f=n()-this._fDelayedStartTime;I.addBusyDuration((f>0)?f:0);delete this._fDelayedStartTime;}var d=c;if(c._bShowIsDelayed===true){c._bShowIsDelayed=false;}d.bOpenRequested=false;if(d.oDomRef){q("body").removeAttr("aria-busy");var A=d.oDomRef.querySelector(".sapUiLocalBusyIndicator");q(A).removeClass("sapUiLocalBusyIndicatorFade");this.fireClose({$Busy:this.oPopup._$()});d.oPopup.close(0);}};c.attachOpen=function(f,o){this.attachEvent(c.M_EVENTS.Open,f,o);return this;};c.detachOpen=function(f,o){this.detachEvent(c.M_EVENTS.Open,f,o);return this;};c.attachClose=function(f,o){this.attachEvent(c.M_EVENTS.Close,f,o);return this;};c.detachClose=function(f,o){this.detachEvent(c.M_EVENTS.Close,f,o);return this;};c.fireOpen=function(p){this.fireEvent(c.M_EVENTS.Open,p);};c.fireClose=function(p){this.fireEvent(c.M_EVENTS.Close,p);};return c;},true);
sap.ui.predefine('sap/ui/core/BusyIndicatorUtils',['./BlockLayerUtils',"sap/ui/thirdparty/jquery"],function(B,q){"use strict";var a=function(){};a.getElement=function(s){var S="sapUiLocalBusyIndicatorSizeMedium";if(s==="Large"){S="sapUiLocalBusyIndicatorSizeBig";}var c=document.createElement("div");c.className="sapUiLocalBusyIndicator "+S+" sapUiLocalBusyIndicatorFade";B.addAriaAttributes(c);b(c);return c;};function b(c,s){s=s||"sapUiLocalBusyIndicatorAnimStandard";var r=sap.ui.getCore().getLibraryResourceBundle("sap.ui.core"),t=r.getText("BUSY_TEXT");c.setAttribute("title",t);var A=document.createElement("div");A.className="sapUiLocalBusyIndicatorAnimation "+s;A.appendChild(document.createElement("div"));A.appendChild(document.createElement("div"));A.appendChild(document.createElement("div"));c.appendChild(A);}function h(o,s){var p=o.$parent.get(0),c=o.$blockLayer.get(0);var A=c.children[0],w=A.offsetWidth;if(p.offsetWidth<w){A.className="sapUiLocalBusyIndicatorAnimation sapUiLocalBusyIndicatorAnimSmall";}}a.addHTML=function(o,s){var c=sap.ui.require("sap/ui/core/library").BusyIndicatorSize,S="sapUiLocalBusyIndicatorSizeMedium",A;switch(s){case c.Small:S="sapUiLocalBusyIndicatorSizeMedium";A="sapUiLocalBusyIndicatorAnimSmall";break;case c.Large:S="sapUiLocalBusyIndicatorSizeBig";A="sapUiLocalBusyIndicatorAnimStandard";break;case c.Auto:S="sapUiLocalBusyIndicatorSizeMedium";A="sapUiLocalBusyIndicatorAnimStandard";break;default:S="sapUiLocalBusyIndicatorSizeMedium";A="sapUiLocalBusyIndicatorAnimStandard";break;}if(!o){return;}var p=o.$parent.get(0),d=o.$blockLayer.get(0);p.className+=" sapUiLocalBusy";d.className+=" sapUiLocalBusyIndicator "+S+" sapUiLocalBusyIndicatorFade";b(d,A);if(s===c.Auto){h(o);}q(p).attr('aria-busy',true);};a.animateIE9={start:function(){},stop:function(){}};return a;},true);
sap.ui.predefine('sap/ui/core/CalendarType',[],function(){"use strict";var C={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Persian:"Persian",Buddhist:"Buddhist"};return C;},true);
sap.ui.predefine('sap/ui/core/CommandExecution',['sap/base/Log','sap/base/util/isEmptyObject','sap/ui/core/Component','sap/ui/core/Element','sap/ui/core/Shortcut'],function(L,a,C,E,S){"use strict";var b=E.extend("sap.ui.core.CommandExecution",{metadata:{library:"sap.ui.core",properties:{command:{type:"string"},enabled:{type:"boolean",defaultValue:true}},events:{execute:{}}},trigger:function(){if(this.getEnabled()){this.fireExecute({});}},setCommand:function(c){if(!this.getCommand()){this.setProperty("command",c,true);}else{L.error("The 'command' property can only be applied initially!");}return this;},_getCommandInfo:function(){var c,o=this.getParent(),d=C.getOwnerComponentFor(this);while(!d&&o&&o.getParent()){d=C.getOwnerComponentFor(o);o=o.getParent();}if(d){c=d.getCommand(this.getCommand());}return c?Object.assign({},c):null;},_createCommandData:function(p){var P=this.getParent(),o=P.getBindingContext("$cmd"),m=P.getModel("$cmd"),d=m.getData(),c=d[P.getId()];if(!c){p=o&&o.getObject();c=Object.create(p||null);}else if(p&&p!==Object.getPrototypeOf(c)){c=Object.create(p);}else if(c[this.getCommand()]){return;}c[this.getCommand()]={};c[this.getCommand()].enabled=this.getEnabled();m.setProperty("/"+P.getId(),c);this.bindProperty("enabled",{path:"$cmd>"+this.getCommand()+"/enabled"});P.bindElement("$cmd>/"+P.getId());},setParent:function(p){var t=this,c,o=this.getParent(),s,i;E.prototype.setParent.apply(this,arguments);c=this._getCommandInfo();function m(){if(p.getModel("$cmd")){t._createCommandData();t.getParent().detachModelContextChange(m);}}if(c){if(p&&p!==o){s=c.shortcut;i=S.isRegistered(this.getParent(),s);if(!i){S.register(p,s,this.trigger.bind(this));}if(p.getModel("$cmd")){this._createCommandData();}else{p.attachModelContextChange(m);}var O=p._propagateProperties;p._propagateProperties=function(){var P=p.oPropagatedProperties;var d=P.oBindingContexts["$cmd"];var e=t.getBindingContext("$cmd");if(d&&e&&d!==e){t._createCommandData(d.getObject());}O.apply(p,arguments);};p._propagateProperties._sapui_fnOrig=O;}if(o&&o!=p){s=c.shortcut;i=S.isRegistered(o,s);if(i){S.unregister(o,c.shortcut);}this._cleanupContext(o);}}return this;},_cleanupContext:function(c){if(c.getBindingContext("$cmd")){var o=c.getBindingContext("$cmd").getObject();if(o){delete o[this.getCommand()];}if(a(Object.assign({},o))){c._propagateProperties=c._propagateProperties._sapui_fnOrig;c.unbindElement("$cmd");}}},destroy:function(){var p=this.getParent();if(p){var c=this._getCommandInfo();S.unregister(this.getParent(),c.shortcut);this._cleanupContext(p);}E.prototype.destroy.apply(this,arguments);}});b.find=function(c,s){var i,o,A;A=c.getDependents();for(i=0;i<A.length;i++){if(A[i].isA("sap.ui.core.CommandExecution")&&A[i].getCommand()===s){o=A[i];}}if(!o&&c.getParent()){o=b.find(c.getParent(),s);}return o;};return b;});
sap.ui.predefine('sap/ui/core/Component',['sap/ui/thirdparty/jquery','./Manifest','./ComponentMetadata','./Element','sap/base/util/merge','sap/ui/base/ManagedObject','sap/ui/base/ManagedObjectRegistry','sap/ui/thirdparty/URI','sap/ui/performance/trace/Interaction','sap/base/assert','sap/base/Log','sap/base/util/ObjectPath','sap/base/util/UriParameters','sap/base/util/isPlainObject','sap/base/util/LoaderExtensions','sap/ui/VersionInfo'],function(q,M,C,E,a,b,c,U,I,d,L,O,f,g,h,V){"use strict";var j={JSON:"JSON",XML:"XML",HTML:"HTML",JS:"JS",Template:"Template"};var S={lazy:"lazy",eager:"eager",waitFor:"waitFor"};function k(e){['sap-client','sap-server'].forEach(function(N){if(!e.hasSearch(N)){var v=sap.ui.getCore().getConfiguration().getSAPParam(N);if(v){e.addSearch(N,v);}}});}function l(D,m,e,i){if(e){for(var N in D){if(!m[N]&&e[N]&&e[N].uri){m[N]=i;}}}}function n(m,e,K,i){var D=e.getEntry(K);if(D!==undefined&&!g(D)){return D;}var P,v;if(i&&(P=m.getParent())instanceof C){v=P.getManifestEntry(K,i);}if(v||D){D=q.extend(true,{},v,D);}return D;}function o(e,i){var v=Object.create(Object.getPrototypeOf(e));v._oMetadata=e;v._oManifest=i;for(var m in e){if(!/^(getManifest|getManifestObject|getManifestEntry|getMetadataVersion)$/.test(m)&&typeof e[m]==="function"){v[m]=e[m].bind(e);}}v.getManifest=function(){return i&&i.getJson();};v.getManifestObject=function(){return i;};v.getManifestEntry=function(K,A){return n(e,i,K,A);};v.getMetadataVersion=function(){return 2;};return v;}function r(e,i,T){d(typeof e==="function","fn must be a function");var m=b._sOwnerId;try{b._sOwnerId=i;return e.call(T);}finally{b._sOwnerId=m;}}var p=b.extend("sap.ui.core.Component",{constructor:function(i,m){var e=Array.prototype.slice.call(arguments);if(typeof i!=="string"){m=i;i=undefined;}if(m&&typeof m._metadataProxy==="object"){this._oMetadataProxy=m._metadataProxy;this._oManifest=m._metadataProxy._oManifest;delete m._metadataProxy;this.getMetadata=function(){return this._oMetadataProxy;};}if(m&&typeof m._cacheTokens==="object"){this._mCacheTokens=m._cacheTokens;delete m._cacheTokens;}if(m&&typeof m._manifestModels==="object"){this._mManifestModels=m._manifestModels;delete m._manifestModels;}else{this._mManifestModels={};}this._mServices={};b.apply(this,e);},metadata:{stereotype:"component","abstract":true,specialSettings:{componentData:'any'},version:"0.0",includes:[],dependencies:{libs:[],components:[],ui5version:""},config:{},customizing:{},library:"sap.ui.core"}},C);c.apply(p,{onDeregister:function(e){E.registry.forEach(function(i){if(i._sapui_candidateForDestroy&&i._sOwnerId===e&&!i.getParent()){L.debug("destroying dangling template "+i+" when destroying the owner component");i.destroy();}});}});p.prototype.getManifest=function(){if(!this._oManifest){return this.getMetadata().getManifest();}else{return this._oManifest.getJson();}};p.prototype.getManifestEntry=function(K){return this._getManifestEntry(K);};p.prototype._getManifestEntry=function(K,m){if(!this._oManifest){return this.getMetadata().getManifestEntry(K,m);}else{return n(this.getMetadata(),this._oManifest,K,m);}};p.prototype.getManifestObject=function(){if(!this._oManifest){return this.getMetadata().getManifestObject();}else{return this._oManifest;}};p.prototype._isVariant=function(){if(this._oManifest){var e=this.getManifestEntry("/sap.ui5/componentName");return e&&e!==this.getManifestEntry("/sap.app/id");}else{return false;}};p.activateCustomizing=function(e){};p.deactivateCustomizing=function(e){};p.getOwnerIdFor=function(e){d(e instanceof b,"oObject must be given and must be a ManagedObject");var i=(e instanceof b)&&e._sOwnerId;return i||undefined;};p.getOwnerComponentFor=function(e){return p.get(p.getOwnerIdFor(e));};p.prototype.runAsOwner=function(e){return r(e,this.getId());};p.prototype.getInterface=function(){return this;};p.prototype._initCompositeSupport=function(m){this.oComponentData=m&&m.componentData;if(!this._isVariant()){this.getMetadata().init();}else{this._oManifest.init(this);var A=this._oManifest.getEntry("/sap.app/id");if(A){w(A,this._oManifest.resolveUri("./","manifest"));}}this.initComponentModels();(function(){if(this.onWindowError){this._fnWindowErrorHandler=q.proxy(function(e){var i=e.originalEvent;this.onWindowError(i.message,i.filename,i.lineno);},this);q(window).bind("error",this._fnWindowErrorHandler);}if(this.onWindowBeforeUnload){this._fnWindowBeforeUnloadHandler=q.proxy(this.onWindowBeforeUnload,this);q(window).bind("beforeunload",this._fnWindowBeforeUnloadHandler);}if(this.onWindowUnload){this._fnWindowUnloadHandler=q.proxy(this.onWindowUnload,this);q(window).bind("unload",this._fnWindowUnloadHandler);}}.bind(this))();};p.prototype.destroy=function(){for(var e in this._mServices){if(this._mServices[e].instance){this._mServices[e].instance.destroy();}}delete this._mServices;for(var m in this._mManifestModels){this._mManifestModels[m].destroy();}delete this._mManifestModels;(function(){if(this._fnWindowErrorHandler){q(window).unbind("error",this._fnWindowErrorHandler);delete this._fnWindowErrorHandler;}if(this._fnWindowBeforeUnloadHandler){q(window).unbind("beforeunload",this._fnWindowBeforeUnloadHandler);delete this._fnWindowBeforeUnloadHandler;}if(this._fnWindowUnloadHandler){q(window).unbind("unload",this._fnWindowUnloadHandler);delete this._fnWindowUnloadHandler;}}.bind(this))();if(this._oEventBus){this._oEventBus.destroy();delete this._oEventBus;}b.prototype.destroy.apply(this,arguments);sap.ui.getCore().getMessageManager().unregisterObject(this);if(!this._isVariant()){this.getMetadata().exit();}else{this._oManifest.exit(this);delete this._oManifest;}};p.prototype.getComponentData=function(){return this.oComponentData;};p.prototype.getEventBus=function(){if(!this._oEventBus){var e=this.getMetadata().getName();L.warning("Synchronous loading of EventBus, due to #getEventBus() call on Component '"+e+"'.","SyncXHR",null,function(){return{type:"SyncXHR",name:e};});var i=sap.ui.requireSync("sap/ui/core/EventBus");this._oEventBus=new i();}return this._oEventBus;};p.prototype.initComponentModels=function(){var m=this.getMetadata();if(m.isBaseClass()){return;}var e=this._getManifestEntry("/sap.app/dataSources",true)||{};var i=this._getManifestEntry("/sap.ui5/models",true)||{};this._initComponentModels(i,e,this._mCacheTokens);};p.prototype._initComponentModels=function(m,D,e){var A=p._createManifestModelConfigurations({models:m,dataSources:D,component:this,mergeParent:true,cacheTokens:e});if(!A){return;}var i={};for(var v in A){if(!this._mManifestModels[v]){i[v]=A[v];}}var B=p._createManifestModels(i,this.toString());for(var v in B){this._mManifestModels[v]=B[v];}for(var v in this._mManifestModels){var F=this._mManifestModels[v];this.setModel(F,v||undefined);}};p.prototype.getService=function(e){if(!this._mServices[e]){this._mServices[e]={};this._mServices[e].promise=new Promise(function(R,i){sap.ui.require(["sap/ui/core/service/ServiceFactoryRegistry"],function(m){var v=this._getManifestEntry("/sap.ui5/services/"+e,true);var A=v&&v.factoryName;if(!A){i(new Error("Service "+e+" not declared!"));return;}var B=m.get(A);if(B){B.createInstance({scopeObject:this,scopeType:"component",settings:v.settings||{}}).then(function(G){if(!this.bIsDestroyed){this._mServices[e].instance=G;this._mServices[e].interface=G.getInterface();R(this._mServices[e].interface);}else{i(new Error("Service "+e+" could not be loaded as its Component was destroyed."));}}.bind(this)).catch(i);}else{var D="The ServiceFactory "+A+" for Service "+e+" not found in ServiceFactoryRegistry!";var F=this._getManifestEntry("/sap.ui5/services/"+e+"/optional",true);if(!F){L.error(D);}i(new Error(D));}}.bind(this),i);}.bind(this));}return this._mServices[e].promise;};function s(e,A){var i=e._getManifestEntry("/sap.ui5/services",true);var m=A?[]:null;if(!i){return m;}var v=Object.keys(i);if(!A&&v.some(function(B){return i[B].startup===S.waitFor;})){throw new Error("The specified component \""+e.getMetadata().getName()+"\" cannot be loaded in sync mode since it has some services declared with \"startup\" set to \"waitFor\"");}return v.reduce(function(P,B){if(i[B].lazy===false||i[B].startup===S.waitFor||i[B].startup===S.eager){var D=e.getService(B);if(i[B].startup===S.waitFor){P.push(D);}}return P;},m);}p.prototype.createComponent=function(v){d((typeof v==='string'&&v)||(typeof v==='object'&&typeof v.usage==='string'&&v.usage),"vUsage either must be a non-empty string or an object with a non-empty usage id");var m={async:true};if(v){var e;if(typeof v==="object"){e=v.usage;["id","async","settings","componentData"].forEach(function(N){if(v[N]!==undefined){m[N]=v[N];}});}else if(typeof v==="string"){e=v;}m=this._enhanceWithUsageConfig(e,m);}return p._createComponent(m,this);};p.prototype._enhanceWithUsageConfig=function(e,m){var i=this.getManifestEntry("/sap.ui5/componentUsages/"+e);if(!i){throw new Error("Component usage \""+e+"\" not declared in Component \""+this.getManifestObject().getComponentName()+"\"!");}return q.extend(true,i,m);};p._createComponent=function(m,e){function i(){if(m.async===true){return p.create(m);}else{return sap.ui.component(m);}}if(e){return e.runAsOwner(i);}else{return i();}};p._createManifestModelConfigurations=function(m){var e=m.component;var v=m.manifest||e.getManifestObject();var A=m.mergeParent;var B=m.cacheTokens||{};var D=e?e.toString():v.getComponentName();var F=sap.ui.getCore().getConfiguration();if(!m.models){return null;}var G={models:m.models,dataSources:m.dataSources||{},origin:{dataSources:{},models:{}}};if(e&&A){var H=e.getMetadata();while(H instanceof C){var J=H.getManifestObject();var K=H.getManifestEntry("/sap.app/dataSources");l(G.dataSources,G.origin.dataSources,K,J);var N=H.getManifestEntry("/sap.ui5/models");l(G.models,G.origin.models,N,J);H=H.getParent();}}var P={};for(var Q in G.models){var R=G.models[Q];var T=false;var W=null;if(typeof R==='string'){R={dataSource:R};}if(R.dataSource){var X=G.dataSources&&G.dataSources[R.dataSource];if(typeof X==='object'){if(X.type===undefined){X.type='OData';}var Y;if(!R.type){switch(X.type){case'OData':Y=X.settings&&X.settings.odataVersion;if(Y==="4.0"){R.type='sap.ui.model.odata.v4.ODataModel';}else if(!Y||Y==="2.0"){R.type='sap.ui.model.odata.v2.ODataModel';}else{L.error('Component Manifest: Provided OData version "'+Y+'" in '+'dataSource "'+R.dataSource+'" for model "'+Q+'" is unknown. '+'Falling back to default model type "sap.ui.model.odata.v2.ODataModel".','["sap.app"]["dataSources"]["'+R.dataSource+'"]',D);R.type='sap.ui.model.odata.v2.ODataModel';}break;case'JSON':R.type='sap.ui.model.json.JSONModel';break;case'XML':R.type='sap.ui.model.xml.XMLModel';break;default:}}if(R.type==='sap.ui.model.odata.v4.ODataModel'&&X.settings&&X.settings.odataVersion){R.settings=R.settings||{};R.settings.odataVersion=X.settings.odataVersion;}if(!R.uri){R.uri=X.uri;T=true;}if(X.type==='OData'&&X.settings&&typeof X.settings.maxAge==="number"){R.settings=R.settings||{};R.settings.headers=R.settings.headers||{};R.settings.headers["Cache-Control"]="max-age="+X.settings.maxAge;}if(X.type==='OData'&&X.settings&&X.settings.annotations){var Z=X.settings.annotations;for(var i=0;i<Z.length;i++){var $=G.dataSources[Z[i]];if(!$){L.error("Component Manifest: ODataAnnotation \""+Z[i]+"\" for dataSource \""+R.dataSource+"\" could not be found in manifest","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);continue;}if($.type!=='ODataAnnotation'){L.error("Component Manifest: dataSource \""+Z[i]+"\" was expected to have type \"ODataAnnotation\" but was \""+$.type+"\"","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);continue;}if(!$.uri){L.error("Component Manifest: Missing \"uri\" for ODataAnnotation \""+Z[i]+"\"","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);continue;}var _=new U($.uri);if(R.type==='sap.ui.model.odata.v2.ODataModel'){["sap-language","sap-client"].forEach(function(n1){if(!_.hasQuery(n1)&&F.getSAPParam(n1)){_.setQuery(n1,F.getSAPParam(n1));}});var a1=B.dataSources&&B.dataSources[$.uri];if(a1){var b1=function(){if(!_.hasQuery("sap-language")){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for ODataAnnotation \""+Z[i]+"\" ("+_.toString()+"). "+"Missing \"sap-language\" URI parameter","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);return;}if(!_.hasQuery("sap-client")){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for ODataAnnotation \""+Z[i]+"\" ("+_.toString()+"). "+"Missing \"sap-client\" URI parameter","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);return;}if(!_.hasQuery("sap-client",F.getSAPParam("sap-client"))){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for ODataAnnotation \""+Z[i]+"\" ("+_.toString()+"). "+"URI parameter \"sap-client="+_.query(true)["sap-client"]+"\" must be identical with configuration \"sap-client="+F.getSAPParam("sap-client")+"\"","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);return;}if(_.hasQuery("sap-context-token")&&!_.hasQuery("sap-context-token",a1)){var n1=_.query(true)["sap-context-token"];L.warning("Component Manifest: Overriding existing \"sap-context-token="+n1+"\" with provided value \""+a1+"\" for ODataAnnotation \""+Z[i]+"\" ("+_.toString()+").","[\"sap.app\"][\"dataSources\"][\""+Z[i]+"\"]",D);}_.setQuery("sap-context-token",a1);};b1();}}var c1=G.origin.dataSources[Z[i]]||v;var d1=c1._resolveUri(_).toString();R.settings=R.settings||{};R.settings.annotationURI=R.settings.annotationURI||[];R.settings.annotationURI.push(d1);}}}else{L.error("Component Manifest: dataSource \""+R.dataSource+"\" for model \""+Q+"\" not found or invalid","[\"sap.app\"][\"dataSources\"][\""+R.dataSource+"\"]",D);}}if(!R.type){L.error("Component Manifest: Missing \"type\" for model \""+Q+"\"","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);continue;}if(R.type==='sap.ui.model.odata.ODataModel'&&(!R.settings||R.settings.json===undefined)){R.settings=R.settings||{};R.settings.json=true;}if(R.uri){var e1=new U(R.uri);var f1=(T?G.origin.dataSources[R.dataSource]:G.origin.models[Q])||v;e1=f1._resolveUri(e1);if(R.dataSource){k(e1);if(R.type==='sap.ui.model.odata.v2.ODataModel'){W=R.settings&&R.settings.metadataUrlParams;if((!W||typeof W['sap-language']==='undefined')&&!e1.hasQuery('sap-language')&&F.getSAPParam('sap-language')){R.settings=R.settings||{};W=R.settings.metadataUrlParams=R.settings.metadataUrlParams||{};W['sap-language']=F.getSAPParam('sap-language');}if(B.dataSources){var a1=B.dataSources[X.uri];if(a1){var g1=function(){if(e1.hasQuery("sap-context-token")){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for model \""+Q+"\" ("+e1.toString()+"). "+"Model URI already contains parameter \"sap-context-token="+e1.query(true)["sap-context-token"]+"\"","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);return;}if((!W||typeof W["sap-language"]==="undefined")&&!e1.hasQuery("sap-language")){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for model \""+Q+"\" ("+e1.toString()+"). "+"Missing \"sap-language\" parameter","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);return;}if(!e1.hasQuery("sap-client")){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for model \""+Q+"\" ("+e1.toString()+"). "+"Missing \"sap-client\" parameter","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);return;}if(!e1.hasQuery("sap-client",F.getSAPParam("sap-client"))){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for model \""+Q+"\" ("+e1.toString()+"). "+"URI parameter \"sap-client="+e1.query(true)["sap-client"]+"\" must be identical with configuration \"sap-client="+F.getSAPParam("sap-client")+"\"","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);return;}if(W&&typeof W["sap-client"]!=="undefined"){if(W["sap-client"]!==F.getSAPParam("sap-client")){L.warning("Component Manifest: Ignoring provided \"sap-context-token="+a1+"\" for model \""+Q+"\" ("+e1.toString()+"). "+"Parameter metadataUrlParams[\"sap-client\"] = \""+W["sap-client"]+"\" must be identical with configuration \"sap-client="+F.getSAPParam("sap-client")+"\"","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);return;}}if(W&&W["sap-context-token"]&&W["sap-context-token"]!==a1){L.warning("Component Manifest: Overriding existing \"sap-context-token="+W["sap-context-token"]+"\" with provided value \""+a1+"\" for model \""+Q+"\" ("+e1.toString()+").","[\"sap.ui5\"][\"models\"][\""+Q+"\"]",D);}if(!W){R.settings=R.settings||{};W=R.settings.metadataUrlParams=R.settings.metadataUrlParams||{};}W["sap-context-token"]=a1;};g1();}}}}R.uri=e1.toString();}if(R.uriSettingName===undefined){switch(R.type){case'sap.ui.model.odata.ODataModel':case'sap.ui.model.odata.v2.ODataModel':case'sap.ui.model.odata.v4.ODataModel':R.uriSettingName='serviceUrl';break;case'sap.ui.model.resource.ResourceModel':R.uriSettingName='bundleUrl';break;default:}}var h1;var i1;if(e){i1=e.getComponentData();}else{i1=m.componentData;}h1=i1&&i1.startupParameters&&i1.startupParameters["sap-system"];if(!h1){h1=F.getSAPParam("sap-system");}var j1=false;var k1;if(h1&&["sap.ui.model.odata.ODataModel","sap.ui.model.odata.v2.ODataModel"].indexOf(R.type)!=-1){j1=true;k1=sap.ui.requireSync("sap/ui/model/odata/ODataUtils");}if(R.uri){if(j1){R.preOriginBaseUri=R.uri.split("?")[0];R.uri=k1.setOrigin(R.uri,{alias:h1});R.postOriginBaseUri=R.uri.split("?")[0];}if(R.uriSettingName!==undefined){R.settings=R.settings||{};if(!R.settings[R.uriSettingName]){R.settings[R.uriSettingName]=R.uri;}}else if(R.settings){R.settings=[R.uri,R.settings];}else{R.settings=[R.uri];}}else{if(j1&&R.uriSettingName!==undefined&&R.settings&&R.settings[R.uriSettingName]){R.preOriginBaseUri=R.settings[R.uriSettingName].split("?")[0];R.settings[R.uriSettingName]=k1.setOrigin(R.settings[R.uriSettingName],{alias:h1});R.postOriginUri=R.settings[R.uriSettingName].split("?")[0];}}if(j1&&R.settings&&R.settings.annotationURI){var l1=[].concat(R.settings.annotationURI);var m1=[];for(var i=0;i<l1.length;i++){m1.push(k1.setAnnotationOrigin(l1[i],{alias:h1,preOriginBaseUri:R.preOriginBaseUri,postOriginBaseUri:R.postOriginBaseUri}));}R.settings.annotationURI=m1;}if(R.type==='sap.ui.model.resource.ResourceModel'&&R.settings&&Array.isArray(R.settings.enhanceWith)){R.settings.enhanceWith.forEach(function(n1){if(n1.bundleUrl){n1.bundleUrl=v.resolveUri(n1.bundleUrl,n1.bundleUrlRelativeTo);}});}if(R.settings&&!Array.isArray(R.settings)){R.settings=[R.settings];}P[Q]=R;}if(v.getEntry("/sap.ui5/commands")){P["$cmd"]={type:'sap.ui.model.json.JSONModel'};}return P;};p._createManifestModels=function(m,e){var i={};for(var v in m){var A=m[v];try{sap.ui.requireSync(A.type.replace(/\./g,"/"));}catch(B){L.error("Component Manifest: Class \""+A.type+"\" for model \""+v+"\" could not be loaded. "+B,"[\"sap.ui5\"][\"models\"][\""+v+"\"]",e);continue;}var D=O.get(A.type);if(!D){L.error("Component Manifest: Class \""+A.type+"\" for model \""+v+"\" could not be found","[\"sap.ui5\"][\"models\"][\""+v+"\"]",e);continue;}var F=[null].concat(A.settings||[]);var G=D.bind.apply(D,F);var H=new G();i[v]=H;}return i;};function t(m,e,i){var v={afterManifest:{},afterPreload:{}};var A=q.extend(true,{},m.getEntry("/sap.app/dataSources"));var B=q.extend(true,{},m.getEntry("/sap.ui5/models"));var D=p._createManifestModelConfigurations({models:B,dataSources:A,manifest:m,componentData:e,cacheTokens:i});var P=f.fromQuery(window.location.search).get("sap-ui-xx-preload-component-models-"+m.getComponentName());var F=P&&P.split(",");for(var G in D){var H=D[G];if(!H.preload&&F&&F.indexOf(G)>-1){H.preload=true;L.warning("FOR TESTING ONLY!!! Activating preload for model \""+G+"\" ("+H.type+")",m.getComponentName(),"sap.ui.core.Component");}if(H.type==="sap.ui.model.resource.ResourceModel"&&Array.isArray(H.settings)&&H.settings.length>0&&H.settings[0].async!==true){v.afterPreload[G]=H;}else if(H.preload){if(sap.ui.loader._.getModuleState(H.type.replace(/\./g,"/")+".js")){v.afterManifest[G]=H;}else{L.warning("Can not preload model \""+G+"\" as required class has not been loaded: \""+H.type+"\"",m.getComponentName(),"sap.ui.core.Component");}}}return v;}function u(e){return sap.ui.require.toUrl(e.replace(/\./g,"/")+"/manifest.json");}function w(m,v){h.registerResourcePath(m.replace(/\./g,"/"),v);}function x(R){var m=[];var e=[];function v(i){if(!i._oManifest){var N=i.getComponentName();var D=u(N);var A=h.loadResource({url:D,dataType:"json",async:true}).catch(function(B){L.error("Failed to load component manifest from \""+D+"\" (component "+N+")! Reason: "+B);return{};});m.push(A);e.push(i);}var P=i.getParent();if(P&&(P instanceof C)&&!P.isBaseClass()){v(P);}}v(R);return Promise.all(m).then(function(A){for(var i=0;i<A.length;i++){if(A[i]){e[i]._applyManifest(A[i]);}}});}p._fnLoadComponentCallback=null;p._fnOnInstanceCreated=null;p._fnPreprocessManifest=null;p.create=function(m){if(m==null||typeof m!=="object"){throw new TypeError("Component.create() must be called with a configuration object.");}var P=a({},m);P.async=true;if(P.manifest===undefined){P.manifest=true;}return y(P);};sap.ui.component=function(v){if(!v){throw new Error("sap.ui.component cannot be called without parameter!");}var e=function(i){return{type:"sap.ui.component",name:i};};if(typeof v==='string'){L.warning("Do not use deprecated function 'sap.ui.component' ("+v+") + for Component instance lookup. "+"Use 'Component.get' instead","sap.ui.component",null,e.bind(null,v));return sap.ui.getCore().getComponent(v);}if(v.async){L.info("Do not use deprecated factory function 'sap.ui.component' ("+v["name"]+"). "+"Use 'Component.create' instead","sap.ui.component",null,e.bind(null,v["name"]));}else{L.warning("Do not use synchronous component creation ("+v["name"]+")! "+"Use the new asynchronous factory 'Component.create' instead","sap.ui.component",null,e.bind(null,v["name"]));}return y(v);};function y(v){if(!v.asyncHints||!v.asyncHints.cacheTokens){var e=p.get(b._sOwnerId);var m=e&&e._mCacheTokens;if(typeof m==="object"){v.asyncHints=v.asyncHints||{};v.asyncHints.cacheTokens=m;}}function i(F,v){if(typeof p._fnOnInstanceCreated==="function"){var P=p._fnOnInstanceCreated(F,v);if(v.async&&P instanceof Promise){return P;}}if(v.async){return Promise.resolve(F);}return F;}function A(F){var N=v.name,G=v.id,H=v.componentData,J=N+'.Component',K=v.settings;var P=new F(q.extend({},K,{id:G,componentData:H,_cacheTokens:v.asyncHints&&v.asyncHints.cacheTokens}));d(P instanceof p,"The specified component \""+J+"\" must be an instance of sap.ui.core.Component!");L.info("Component instance Id = "+P.getId());var Q=P.getMetadata().handleValidation()!==undefined||v.handleValidation;if(Q){if(P.getMetadata().handleValidation()!==undefined){Q=P.getMetadata().handleValidation();}else{Q=v.handleValidation;}sap.ui.getCore().getMessageManager().registerObject(P,Q);}var R=s(P,v.async);if(v.async){return i(P,v).then(function(){return Promise.all(R);}).then(function(){return P;});}else{i(P,v);return P;}}var B=z(v,{failOnError:true,createModels:true,waitFor:v.asyncHints&&v.asyncHints.waitFor});if(v.async){var D=b._sOwnerId;return B.then(function(F){return r(function(){return A(F);},D);});}else{return A(B);}}p.load=function(m){var P=a({},m);P.async=true;if(P.manifest===undefined){P.manifest=true;}return z(P,{preloadOnly:P.asyncHints&&P.asyncHints.preloadOnly});};p.get=function(i){return sap.ui.getCore().getComponent(i);};sap.ui.component.load=function(e,F){L.warning("Do not use deprecated function 'sap.ui.component.load'! Use 'Component.load' instead");return z(e,{failOnError:F,preloadOnly:e.asyncHints&&e.asyncHints.preloadOnly});};function z(m,A){var N=m.name,B=m.url,D=sap.ui.getCore().getConfiguration(),F=/^(sync|async)$/.test(D.getComponentPreload()),G=m.manifest,H,J,K,P,Q,R;function T(e,A){var i=JSON.parse(JSON.stringify(e));if(m.async){return W(i).then(function(v){return new M(v,A);});}else{return new M(i,A);}}function W(e){if(typeof p._fnPreprocessManifest==="function"){try{return p._fnPreprocessManifest(e);}catch(i){L.error("Failed to execute flexibility hook for manifest preprocessing.",i);return Promise.reject(i);}}else{return Promise.resolve(e);}}d(!B||typeof B==='string',"sUrl must be a string or undefined");if(N&&typeof B==='string'){w(N,B);}I.setStepComponent(N);if(G===undefined){H=m.manifestFirst===undefined?D.getManifestFirst():!!m.manifestFirst;J=m.manifestUrl;}else{if(m.async===undefined){m.async=true;}H=!!G;J=G&&typeof G==='string'?G:undefined;K=G&&typeof G==='object'?T(G,{url:m&&m.altManifestUrl}):undefined;}if(!K&&J){K=M.load({manifestUrl:J,componentName:N,processJson:W,async:m.async});}if(K&&!m.async){N=K.getComponentName();if(N&&typeof B==='string'){w(N,B);}}if(!(K&&m.async)){if(!N){throw new Error("The name of the component is undefined.");}d(typeof N==='string',"sName must be a string");}if(H&&!K){K=M.load({manifestUrl:u(N),componentName:N,async:m.async,failOnError:false,processJson:W});}function X(){return(N+".Component").replace(/\./g,"/");}function Y(e){var i=N+'.Component';if(!e){var v="The specified component controller '"+i+"' could not be found!";if(A.failOnError){throw new Error(v);}else{L.warning(v);}}if(K){var $=o(e.getMetadata(),K);var i1=function(){var j1=Array.prototype.slice.call(arguments);var k1;if(j1.length===0||typeof j1[0]==="object"){k1=j1[0]=j1[0]||{};}else if(typeof j1[0]==="string"){k1=j1[1]=j1[1]||{};}k1._metadataProxy=$;if(P){k1._manifestModels=P;}var l1=Object.create(e.prototype);e.apply(l1,j1);return l1;};i1.getMetadata=function(){return $;};i1.extend=function(){throw new Error("Extending Components created by Manifest is not supported!");};return i1;}else{return e;}}function Z(v,i){d((typeof v==='string'&&v)||(typeof v==='object'&&typeof v.name==='string'&&v.name),"reference either must be a non-empty string or an object with a non-empty 'name' and an optional 'url' property");if(typeof v==='object'){if(v.url){w(v.name,v.url);}return(v.lazy&&i!==true)?undefined:v.name;}return v;}function _(i,v){var $=i+'.Component',i1=sap.ui.getCore().getConfiguration().getDepCache(),j1,k1,l1;if(F&&i!=null&&!sap.ui.loader._.getModuleState($.replace(/\./g,"/")+".js")){if(v){k1=V._getTransitiveDependencyForComponent(i);if(k1&&!k1.hasOwnPreload){l1=[k1.library];Array.prototype.push.apply(l1,k1.dependencies);return sap.ui.getCore().loadLibraries(l1,{preloadOnly:true});}else{j1=$.replace(/\./g,"/")+(i1?'-h2-preload.js':'-preload.js');return sap.ui.loader._.loadJSResourceAsync(j1,true);}}try{j1=$+'-preload';sap.ui.requireSync(j1.replace(/\./g,"/"));}catch(e){L.warning("couldn't preload component from "+j1+": "+((e&&e.message)||e));}}else if(v){return Promise.resolve();}}function a1(e,K,i){var v=[];var $=i?function(q1){v.push(q1);}:function(){};K.defineResourceRoots();var i1=K.getEntry("/sap.ui5/dependencies/libs");if(i1){var j1=[];for(var k1 in i1){if(!i1[k1].lazy){j1.push(k1);}}if(j1.length>0){L.info("Component \""+e+"\" is loading libraries: \""+j1.join(", ")+"\"");$(sap.ui.getCore().loadLibraries(j1,{async:i}));}}var l1=K.getEntry("/sap.ui5/extends/component");if(l1){$(_(l1,i));}var m1=[];var n1=K.getEntry("/sap.ui5/dependencies/components");if(n1){for(var e in n1){if(!n1[e].lazy){m1.push(e);}}}var o1=K.getEntry("/sap.ui5/componentUsages");if(o1){for(var p1 in o1){if(o1[p1].lazy===false&&m1.indexOf(o1[p1].name)===-1){m1.push(o1[p1].name);}}}if(m1.length>0){m1.forEach(function(e){$(_(e,i));});}return i?Promise.all(v):undefined;}if(m.async){var b1=m.asyncHints||{},c1=[],d1=function(e){e=e.then(function(v){return{result:v,rejected:false};},function(v){return{result:v,rejected:true};});return e;},e1=function(e){if(e){c1.push(d1(e));}},f1=function($){return $;},g1,h1;if(K&&A.createModels){e1(K.then(function(K){Q=t(K,m.componentData,b1.cacheTokens);return K;}).then(function(K){if(Object.keys(Q.afterManifest).length>0){P=p._createManifestModels(Q.afterManifest,K.getComponentName());}return K;}));}g1=[];if(Array.isArray(b1.preloadBundles)){b1.preloadBundles.forEach(function(v){g1.push(sap.ui.loader._.loadJSResourceAsync(Z(v,true),true));});}if(Array.isArray(b1.libs)){h1=b1.libs.map(Z).filter(f1);g1.push(sap.ui.getCore().loadLibraries(h1,{preloadOnly:true}));}g1=Promise.all(g1);if(h1&&!A.preloadOnly){g1=g1.then(function(){return sap.ui.getCore().loadLibraries(h1);});}e1(g1);if(!K){e1(_(N,true));}else{e1(K.then(function(K){var e=K.getComponentName();if(typeof B==='string'){w(e,B);}return _(e,true).then(function(){return K._processI18n(true);}).then(function(){if(!A.createModels){return null;}var i=Object.keys(Q.afterPreload);if(i.length===0){return null;}return new Promise(function(v,$){sap.ui.require(["sap/ui/model/resource/ResourceModel"],function(i1){v(i1);},$);}).then(function(v){function $(i1){var j1=Q.afterPreload[i1];if(Array.isArray(j1.settings)&&j1.settings.length>0){var k1=j1.settings[0];return v.loadResourceBundle(k1,true).then(function(l1){k1.bundle=l1;},function(l1){L.error("Component Manifest: Could not preload ResourceBundle for ResourceModel. "+"The model will be skipped here and tried to be created on Component initialization.","[\"sap.ui5\"][\"models\"][\""+i1+"\"]",e);L.error(l1);delete Q.afterPreload[i1];});}else{return Promise.resolve();}}return Promise.all(i.map($)).then(function(){if(Object.keys(Q.afterPreload).length>0){var i1=p._createManifestModels(Q.afterPreload,K.getComponentName());if(!P){P={};}for(var j1 in i1){P[j1]=i1[j1];}}});});});}));R=function(e){if(typeof p._fnLoadComponentCallback==="function"){var i=q.extend(true,{},m);var v=q.extend(true,{},e);try{p._fnLoadComponentCallback(i,v);}catch($){L.error("Callback for loading the component \""+e.getComponentName()+"\" run into an error. The callback was skipped and the component loading resumed.",$,"sap.ui.core.Component");}}};}if(b1.components){q.each(b1.components,function(i,v){e1(_(Z(v),true));});}return Promise.all(c1).then(function(v){var e=[],i=false,$;i=v.some(function(i1){if(i1&&i1.rejected){$=i1.result;return true;}e.push(i1.result);});if(i){return Promise.reject($);}return e;}).then(function(v){if(K&&R){K.then(R);}return v;}).then(function(v){L.debug("Component.load: all promises fulfilled, then "+v);if(K){return K.then(function(e){K=e;N=K.getComponentName();return a1(N,K,true);});}else{return v;}}).then(function(){if(A.preloadOnly){return true;}return new Promise(function(e,i){sap.ui.require([X()],function(v){e(v);},i);}).then(function(e){var i=e.getMetadata();var N=i.getComponentName();var v=u(N);var $;if(K&&typeof G!=="object"&&(typeof J==="undefined"||J===v)){i._applyManifest(JSON.parse(JSON.stringify(K.getRawJson())));}$=x(i);return $.then(function(){return Y(e);});});}).then(function(e){if(!K){return e;}var i=[];var v;var $=K.getEntry("/sap.ui5/rootView");if(typeof $==="string"){v="XML";}else if($&&typeof $==="object"&&$.type){v=$.type;}if(v&&j[v]){var i1="sap/ui/core/mvc/"+j[v]+"View";i.push(i1);}var j1=K.getEntry("/sap.ui5/routing");if(j1&&j1.routes){var k1=K.getEntry("/sap.ui5/routing/config/routerClass")||"sap.ui.core.routing.Router";var l1=k1.replace(/\./g,"/");i.push(l1);}var m1=q.extend(true,{},K.getEntry("/sap.ui5/models"));var n1=q.extend(true,{},K.getEntry("/sap.app/dataSources"));var o1=p._createManifestModelConfigurations({models:m1,dataSources:n1,manifest:K,cacheTokens:b1.cacheTokens});for(var p1 in o1){if(!o1.hasOwnProperty(p1)){continue;}var q1=o1[p1];if(!q1.type){continue;}var r1=q1.type.replace(/\./g,"/");if(i.indexOf(r1)===-1){i.push(r1);}}if(i.length>0){return Promise.all(i.map(function(r1){return new Promise(function(s1,t1){var u1=false;function v1(w1){if(u1){return;}L.warning("Can not preload module \""+r1+"\". "+"This will most probably cause an error once the module is used later on.",K.getComponentName(),"sap.ui.core.Component");L.warning(w1);u1=true;s1();}sap.ui.require([r1],s1,v1);});})).then(function(){return e;});}else{return e;}}).then(function(e){var i=A.waitFor;if(i){var v=Array.isArray(i)?i:[i];return Promise.all(v).then(function(){return e;});}return e;}).catch(function(e){if(P){for(var N in P){var i=P[N];if(i&&typeof i.destroy==="function"){i.destroy();}}}throw e;});}if(K){a1(N,K);}_(N);return Y(sap.ui.requireSync(X()));}if(Math.sqrt(2)<1){sap.ui.require(["sap/ui/core/Core"],function(){});}p.prototype.getCommand=function(e){var i,m=this.getManifestEntry("/sap.ui5/commands");if(m&&e){i=m[e];}return e?i:m;};return p;});
sap.ui.predefine('sap/ui/core/ComponentContainer',['sap/ui/base/ManagedObject','./Control','./Component','./Core','./library',"./ComponentContainerRenderer","sap/base/Log"],function(M,C,a,b,l,c,L){"use strict";var d=l.ComponentLifecycle;var e=C.extend("sap.ui.core.ComponentContainer",{metadata:{library:"sap.ui.core",properties:{name:{type:"string",defaultValue:null},url:{type:"sap.ui.core.URI",defaultValue:null},async:{type:"boolean",defaultValue:false},handleValidation:{type:"boolean",defaultValue:false},settings:{type:"object",defaultValue:null},propagateModel:{type:"boolean",defaultValue:false},width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},height:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},lifecycle:{type:"sap.ui.core.ComponentLifecycle",defaultValue:d.Legacy},autoPrefixId:{type:"boolean",defaultValue:false},usage:{type:"string",defaultValue:null},manifest:{type:"any",defaultValue:null}},associations:{component:{type:"sap.ui.core.UIComponent",multiple:false}},events:{componentCreated:{parameters:{component:{type:"sap.ui.core.UIComponent"}}},componentFailed:{parameters:{reason:{type:"object"}}}},designtime:"sap/ui/core/designtime/ComponentContainer.designtime"}});function s(o,v,S,D){var g=typeof v==="string"?b.getComponent(v):v;var O=o.getComponentInstance();if(O!==g){if(O){O.setContainer(undefined);if(D){O.destroy();}else{o._propagateProperties(true,O,M._oEmptyPropagatedProperties,true);}}o.setAssociation("component",g,S);g=o.getComponentInstance();if(g){g.setContainer(o);o.propagateProperties(true);}}}e.prototype.getComponentInstance=function(){var g=this.getComponent();return g&&b.getComponent(g);};e.prototype.setComponent=function(v,S){s(this,v,S,this.getLifecycle()===d.Container||(typeof this.getUsage()==="string"&&this.getUsage()&&this.getLifecycle()===d.Legacy));return this;};e.prototype.applySettings=function(S,o){if(S){if(S.manifest==="true"||S.manifest==="false"){S.manifest=S.manifest==="true";}if(S.manifest&&S.async===undefined){S.async=true;}}C.prototype.applySettings.apply(this,arguments);};function f(o){var n=o.getName();var m=o.getManifest();var u=o.getUrl();var S=o.getSettings();var g={name:n?n:undefined,manifest:m!==null?m:false,async:o.getAsync(),url:u?u:undefined,handleValidation:o.getHandleValidation(),settings:S!==null?S:undefined};return g;}e.prototype._createComponent=function(){var o=a.getOwnerComponentFor(this),u=this.getUsage(),m=f(this);if(o&&u){m=o._enhanceWithUsageConfig(u,m);}if(this.getAutoPrefixId()){if(m.id){m.id=this.getId()+"-"+m.id;}if(m.settings&&m.settings.id){m.settings.id=this.getId()+"-"+m.settings.id;}}return a._createComponent(m,o);};e.prototype.onBeforeRendering=function(){var o=this.getComponentInstance(),u=this.getUsage(),n=this.getName(),m=this.getManifest();if(!this._oComponentPromise&&!o&&(u||n||m)){o=this._createComponent();if(o instanceof Promise){this._oComponentPromise=o;o.then(function(o){delete this._oComponentPromise;this.setComponent(o);this.fireComponentCreated({component:o});}.bind(this),function(r){delete this._oComponentPromise;this.fireComponentFailed({reason:r});L.error("Failed to load component for container "+this.getId()+". Reason: "+r);}.bind(this));}else if(o){this.setComponent(o,true);this.fireComponentCreated({component:o});}else{this.fireComponentFailed({reason:new Error("The component could not be created.")});}}if(o&&o.onBeforeRendering){o.onBeforeRendering();}};e.prototype.onAfterRendering=function(){var o=this.getComponentInstance();if(o&&o.onAfterRendering){o.onAfterRendering();}};e.prototype.exit=function(){s(this,undefined,true,this.getLifecycle()!==d.Application);};e.prototype.propagateProperties=function(n){var o=this.getComponentInstance();if(o&&this.getPropagateModel()){this._propagateProperties(n,o);C.prototype.propagateProperties.apply(this,arguments);}};e.prototype._propagateContextualSettings=function(){var o=this.getComponentInstance();if(o){o._applyContextualSettings(this._getContextualSettings());}};return e;});
sap.ui.predefine('sap/ui/core/ComponentContainerRenderer',function(){"use strict";var C={};C.render=function(r,c){var R=r;var o=c.getComponentInstance();var w=c.getWidth();var h=c.getHeight();R.write("<div");R.writeControlData(c);if(w){R.addStyle("width",w);}if(h){R.addStyle("height",h);}R.writeStyles();R.addClass("sapUiComponentContainer");R.writeClasses();R.write(">");R.write("<div id=\""+c.getId()+"-uiarea\"");if(w&&w!=="auto"){R.addStyle("width","100%");}if(h&&h!=="auto"){R.addStyle("height","100%");}R.writeStyles();R.write(">");if(o){o.render(R);}R.write("</div></div>");};return C;},true);
sap.ui.predefine('sap/ui/core/ComponentMetadata',['sap/ui/thirdparty/jquery','sap/ui/base/ManagedObjectMetadata','sap/ui/core/Manifest','sap/ui/thirdparty/URI','sap/base/Log','sap/base/util/isPlainObject','sap/base/util/LoaderExtensions'],function(q,M,b,U,L,c,d){"use strict";var C=window["sap-ui-config"]||{};var s=0;if(C['xx-nosync']==='warn'||/(?:\?|&)sap-ui-xx-nosync=(?:warn)/.exec(window.location.search)){s=1;}if(C['xx-nosync']===true||C['xx-nosync']==='true'||/(?:\?|&)sap-ui-xx-nosync=(?:x|X|true)/.exec(window.location.search)){s=2;}var e=function(a,o){M.apply(this,arguments);};e.prototype=Object.create(M.prototype);e.preprocessClassInfo=function(o){if(o&&typeof o.metadata==="string"){o.metadata={_src:o.metadata};}return o;};e.prototype.applySettings=function(o){var S=this._oStaticInfo=o.metadata;var n=this.getName(),p=n.replace(/\.\w+?$/,"");if(S._src){if(S._src=="component.json"){L.warning("Usage of declaration \"metadata: 'component.json'\" is deprecated (component "+n+"). Use \"metadata: 'json'\" instead.");}else if(S._src!="json"){throw new Error("Invalid metadata declaration for component "+n+": \""+S._src+"\"! Use \"metadata: 'json'\" to load metadata from component.json.");}var r=p.replace(/\./g,"/")+"/component.json";L.info("The metadata of the component "+n+" is loaded from file "+r+".");try{var R=d.loadResource(r,{dataType:"json"});q.extend(S,R);}catch(a){L.error("Failed to load component metadata from \""+r+"\" (component "+n+")! Reason: "+a);}}M.prototype.applySettings.call(this,o);this._sComponentName=p;this._bInitialized=false;this._iInstanceCount=0;var m=S["manifest"];if(m){S.__metadataVersion=2;if(typeof m==="string"&&m==="json"){return;}}else{S.__metadataVersion=1;m={};}this._applyManifest(m);};e.prototype._applyManifest=function(m){if(this._oManifest){L.warning("Can't apply manifest to ComponentMetadata as it has already been created.",this.getName(),"sap.ui.core.ComponentMetadata");return;}m["name"]=m["name"]||this.getName();m["sap.app"]=m["sap.app"]||{"id":this.getComponentName()};m["sap.ui5"]=m["sap.ui5"]||{};if(!this.isBaseClass()){m["sap.ui5"]["extends"]=m["sap.ui5"]["extends"]||{};}this._convertLegacyMetadata(this._oStaticInfo,m);this._oManifest=new b(m,{componentName:this.getComponentName(),baseUrl:sap.ui.require.toUrl(this.getComponentName().replace(/\./g,"/"))+"/",process:this._oStaticInfo.__metadataVersion===2});};e.prototype.init=function(){if(this._iInstanceCount===0){var p=this.getParent();if(p instanceof e){p.init();}this.getManifestObject().init();this._bInitialized=true;}this._iInstanceCount++;};e.prototype.exit=function(){var i=Math.max(this._iInstanceCount-1,0);if(i===0){this.getManifestObject().exit();var p=this.getParent();if(p instanceof e){p.exit();}this._bInitialized=false;}this._iInstanceCount=i;};e.prototype.onInitComponent=function(i){L.error("The function ComponentMetadata#onInitComponent will be removed soon!");};e.prototype.onExitComponent=function(i){L.error("The function ComponentMetadata#onExitComponent will be removed soon!");};e.prototype.isBaseClass=function(){return/^sap\.ui\.core\.(UI)?Component$/.test(this.getName());};e.prototype.getMetadataVersion=function(){return this._oStaticInfo.__metadataVersion;};e.prototype.getManifestObject=function(){if(!this._oManifest){var m=this._oStaticInfo["manifest"];if(typeof m==="string"&&m==="json"){var n=this.getName();var p=this.getComponentName();var r=p.replace(/\./g,"/")+"/manifest.json";var i=!!sap.ui.loader._.getModuleState(r);if(!i&&s===2){L.error("[nosync] Loading manifest of the component "+n+" ignored.",r,"sap.ui.core.ComponentMetadata");m={};}else{if(!i&&s===1){L.error("[nosync] The manifest of the component "+n+" is loaded with sync XHR.",r,"sap.ui.core.ComponentMetadata");}else{L.info("The manifest of the component "+n+" is loaded from file "+r+".");}try{var R=d.loadResource(r,{dataType:"json"});m=R;}catch(a){L.error("Failed to load component manifest from \""+r+"\" (component "+n+")! Reason: "+a);m={};}}this._applyManifest(m);}}return this._oManifest;};e.prototype.getManifest=function(){if(this.getMetadataVersion()===1){return this.getManifestObject().getRawJson();}return this.getManifestObject().getJson();};e.prototype._getManifest=function(){L.warning("ComponentMetadata#_getManifest: do not use deprecated functions anymore!");return this.getManifestObject().getJson();};e.prototype.getRawManifest=function(){return this.getManifestObject().getRawJson();};e.prototype._getRawManifest=function(){L.warning("ComponentMetadata#_getRawManifest: do not use deprecated functions anymore!");return this.getManifestObject().getRawJson();};e.prototype.getManifestEntry=function(k,m){var D=this.getManifestObject().getEntry(k);if(D!==undefined&&!c(D)){return D;}var p,P;if(m&&(p=this.getParent())instanceof e){P=p.getManifestEntry(k,m);}if(P||D){D=q.extend(true,{},P,D);}return D;};e.prototype.getCustomEntry=function(k,m){if(!k||k.indexOf(".")<=0){L.warning("Component Metadata entries with keys without namespace prefix can not be read via getCustomEntry. Key: "+k+", Component: "+this.getName());return null;}var p,D=this._oStaticInfo[k]||{};if(!c(D)){L.warning("Custom Component Metadata entry with key '"+k+"' must be an object. Component: "+this.getName());return null;}if(m&&(p=this.getParent())instanceof e){return q.extend(true,{},p.getCustomEntry(k,m),D);}return q.extend(true,{},D);};e.prototype.getComponentName=function(){return this._sComponentName;};e.prototype.getDependencies=function(){if(!this._oLegacyDependencies){var D=this.getManifestEntry("/sap.ui5/dependencies"),u=D&&D.minUI5Version||null,l=D&&D.libs||{},m=D&&D.components||{};var a={ui5version:u,libs:[],components:[]};for(var f in l){a.libs.push(f);}for(var g in m){a.components.push(g);}this._oLegacyDependencies=a;}return this._oLegacyDependencies;};e.prototype.getIncludes=function(){if(!this._aLegacyIncludes){var I=[],r=this.getManifestEntry("/sap.ui5/resources")||{},a=r&&r.css||[],j=r&&r.js||[];for(var i=0,l=a.length;i<l;i++){if(a[i]&&a[i].uri){I.push(a[i].uri);}}for(var i=0,l=j.length;i<l;i++){if(j[i]&&j[i].uri){I.push(j[i].uri);}}this._aLegacyIncludes=(I.length>0)?I:null;}return this._aLegacyIncludes;};e.prototype.getUI5Version=function(){return this.getManifestEntry("/sap.ui5/dependencies/minUI5Version");};e.prototype.getComponents=function(){return this.getDependencies().components;};e.prototype.getLibs=function(){return this.getDependencies().libs;};e.prototype.getVersion=function(){return this.getManifestEntry("/sap.app/applicationVersion/version");};e.prototype.getConfig=function(k,D){var m=this.getManifestEntry("/sap.ui5/config",!D);if(!m){return{};}if(!k){return m;}return m.hasOwnProperty(k)?m[k]:{};};e.prototype.getCustomizing=function(D){return this.getManifestEntry("/sap.ui5/extends/extensions",!D);};e.prototype.getModels=function(D){if(!this._oLegacyModels){this._oLegacyModels={};var m=this.getManifestEntry("/sap.ui5/models")||{};for(var a in m){var o=m[a];this._oLegacyModels[a]=o.settings||{};this._oLegacyModels[a].type=o.type;this._oLegacyModels[a].uri=o.uri;}}var p,f=q.extend(true,{},this._oLegacyModels);if(!D&&(p=this.getParent())instanceof e){f=q.extend(true,{},p.getModels(),f);}return f;};e.prototype.handleValidation=function(){return this.getManifestEntry("/sap.ui5/handleValidation");};e.prototype.getServices=function(){L.warning("Usage of sap.ui.core.ComponentMetadata.protoype.getServices is deprecated!");return this._oStaticInfo.services||{};};e.prototype._convertLegacyMetadata=function(S,f){var g=function(a,x){var o={};if(a){for(var i=0,l=a.length;i<l;i++){var v=a[i];if(typeof v==="string"){o[v]=typeof x==="function"&&x(v)||{};}}}return o;};var A=f["sap.app"];var u=f["sap.ui5"];for(var n in S){var v=S[n];if(v!==undefined){switch(n){case"name":f[n]=f[n]||v;A["id"]=A["id"]||v;break;case"description":case"keywords":A[n]=A[n]||v;break;case"version":var h=A.applicationVersion=A.applicationVersion||{};h.version=h.version||v;break;case"config":u[n]=u[n]||v;break;case"customizing":var E=u["extends"]=u["extends"]||{};E.extensions=E.extensions||v;break;case"dependencies":if(!u[n]){u[n]={};u[n].minUI5Version=v.ui5version;u[n].libs=g(v.libs);u[n].components=g(v.components);}break;case"includes":if(!u["resources"]){u["resources"]={};if(v&&v.length>0){for(var i=0,l=v.length;i<l;i++){var r=v[i];var m=r.match(/\.(css|js)$/i);if(m){u["resources"][m[1]]=u["resources"][m[1]]||[];u["resources"][m[1]].push({"uri":r});}}}}break;case"handleValidation":if(u[n]===undefined){u[n]=v;}break;case"models":if(!u["models"]){var j={};for(var k in v){var D=v[k];var p={};for(var t in D){var w=D[t];switch(t){case"type":case"uri":p[t]=w;break;default:p.settings=p.settings||{};p.settings[t]=w;}}j[k]=p;}u["models"]=j;}break;}}}};return e;},true);
sap.ui.predefine('sap/ui/core/Configuration',['sap/ui/thirdparty/jquery','../Device','../Global','../base/Object','./CalendarType','./Locale','sap/ui/thirdparty/URI',"sap/ui/core/theming/ThemeHelper","sap/base/util/UriParameters","sap/base/util/deepEqual","sap/base/util/Version","sap/base/Log","sap/base/assert","sap/base/util/isEmptyObject"],function(q,D,G,B,C,L,U,T,a,d,V,b,c,i){"use strict";var f;var g=B.extend("sap.ui.core.Configuration",{constructor:function(l){this._oCore=l;function r(){function e(){if(D.os.android){var m=navigator.userAgent.match(/\s([a-z]{2}-[a-z]{2})[;)]/i);if(m){return m[1];}}return navigator.language;}return h((navigator.languages&&navigator.languages[0])||e()||navigator.userLanguage||navigator.browserLanguage)||new L("en");}var u={"theme":{type:"string",defaultValue:""},"language":{type:"Locale",defaultValue:r()},"formatLocale":{type:"Locale",defaultValue:null},"calendarType":{type:"string",defaultValue:null},"accessibility":{type:"boolean",defaultValue:true},"autoAriaBodyRole":{type:"boolean",defaultValue:true,noUrl:true},"animation":{type:"boolean",defaultValue:true},"animationMode":{type:g.AnimationMode,defaultValue:undefined},"rtl":{type:"boolean",defaultValue:null},"debug":{type:"boolean",defaultValue:false},"inspect":{type:"boolean",defaultValue:false},"originInfo":{type:"boolean",defaultValue:false},"noConflict":{type:"boolean",defaultValue:false,noUrl:true},"noDuplicateIds":{type:"boolean",defaultValue:true},"trace":{type:"boolean",defaultValue:false,noUrl:true},"modules":{type:"string[]",defaultValue:[],noUrl:true},"areas":{type:"string[]",defaultValue:null,noUrl:true},"onInit":{type:"code",defaultValue:undefined,noUrl:true},"uidPrefix":{type:"string",defaultValue:"__",noUrl:true},"ignoreUrlParams":{type:"boolean",defaultValue:false,noUrl:true},"preload":{type:"string",defaultValue:"auto"},"rootComponent":{type:"string",defaultValue:"",noUrl:true},"preloadLibCss":{type:"string[]",defaultValue:[]},"application":{type:"string",defaultValue:""},"appCacheBuster":{type:"string[]",defaultValue:[]},"bindingSyntax":{type:"string",defaultValue:"default",noUrl:true},"versionedLibCss":{type:"boolean",defaultValue:false},"manifestFirst":{type:"boolean",defaultValue:false},"flexibilityServices":{type:"string",defaultValue:"/sap/bc/lrep"},"whitelistService":{type:"string",defaultValue:null,noUrl:true},"frameOptions":{type:"string",defaultValue:"default",noUrl:true},"frameOptionsConfig":{type:"object",defaultValue:undefined,noUrl:true},"support":{type:"string[]",defaultValue:null},"xx-rootComponentNode":{type:"string",defaultValue:"",noUrl:true},"xx-appCacheBusterMode":{type:"string",defaultValue:"sync"},"xx-appCacheBusterHooks":{type:"object",defaultValue:undefined,noUrl:true},"xx-disableCustomizing":{type:"boolean",defaultValue:false,noUrl:true},"xx-viewCache":{type:"boolean",defaultValue:true},"xx-test-mobile":{type:"boolean",defaultValue:false},"xx-depCache":{type:"boolean",defaultValue:false},"xx-libraryPreloadFiles":{type:"string[]",defaultValue:[]},"xx-componentPreload":{type:"string",defaultValue:""},"xx-designMode":{type:"boolean",defaultValue:false},"xx-supportedLanguages":{type:"string[]",defaultValue:[]},"xx-bootTask":{type:"function",defaultValue:undefined,noUrl:true},"xx-suppressDeactivationOfControllerCode":{type:"boolean",defaultValue:false},"xx-lesssupport":{type:"boolean",defaultValue:false},"xx-handleValidation":{type:"boolean",defaultValue:false},"xx-fiori2Adaptation":{type:"string[]",defaultValue:[]},"xx-cache-use":{type:"boolean",defaultValue:true},"xx-cache-excludedKeys":{type:"string[]",defaultValue:[]},"xx-cache-serialization":{type:"boolean",defaultValue:false},"xx-nosync":{type:"string",defaultValue:""},"xx-waitForTheme":{type:"string",defaultValue:""},"xx-avoidAriaApplicationRole":{type:"boolean",defaultValue:false},"xx-hyphenation":{type:"string",defaultValue:""},"xx-flexBundleRequestForced":{type:"boolean",defaultValue:false},"statistics":{type:"boolean",defaultValue:false}};var w={"xx-test":"1.15","flexBoxPolyfill":"1.14","sapMeTabContainer":"1.14","sapMeProgessIndicator":"1.14","sapMGrowingList":"1.14","sapMListAsTable":"1.14","sapMDialogWithPadding":"1.14","sapCoreBindingSyntax":"1.24"};this.oFormatSettings=new g.FormatSettings(this);var x=this;function y(e,N){if(typeof N==="undefined"||N===null){return;}switch(u[e].type){case"boolean":if(typeof N==="string"){if(u[e].defaultValue){x[e]=N.toLowerCase()!="false";}else{x[e]=N.toLowerCase()==="true"||N.toLowerCase()==="x";}}else{x[e]=!!N;}break;case"string":x[e]=""+N;break;case"code":x[e]=typeof N==="function"?N:String(N);break;case"function":if(typeof N!=="function"){throw new Error("unsupported value");}x[e]=N;break;case"string[]":if(Array.isArray(N)){x[e]=N;}else if(typeof N==="string"){x[e]=N.split(/[ ,;]/).map(function(s){return s.trim();});}else{throw new Error("unsupported value");}break;case"object":if(typeof N!=="object"){throw new Error("unsupported value");}x[e]=N;break;case"Locale":var O=h(N);if(O||u[e].defaultValue==null){x[e]=O;}else{throw new Error("unsupported value");}break;default:var v=u[e].type;if(typeof v==="object"){p(v,N,e);x[e]=N;}else{throw new Error("illegal state");}}}function z(s){var m=document.querySelector("META[name='"+s+"']"),e=m&&m.getAttribute("content");if(e){return e;}}function A(s){var e=z("sap-allowedThemeOrigins");return!!e&&e.split(",").some(function(m){return m==="*"||s===m.trim();});}function E(R){var m,s;try{m=new U(R).search("");var v=m.origin();if(v&&A(v)){s=m.toString();}else{s=m.absoluteTo(window.location.href).origin(window.location.origin).normalize().toString();}return s+(s.endsWith('/')?'':'/')+"UI5/";}catch(e){}}for(var n in u){x[n]=u[n].defaultValue;}var F=window["sap-ui-config"]||{};F.oninit=F.oninit||F["evt-oninit"];for(var n in u){if(F.hasOwnProperty(n.toLowerCase())){y(n,F[n.toLowerCase()]);}else if(!/^xx-/.test(n)&&F.hasOwnProperty("xx-"+n.toLowerCase())){y(n,F["xx-"+n.toLowerCase()]);}}if(F.libs){x.modules=F.libs.split(",").map(function(e){return e.trim()+".library";}).concat(x.modules);}var P="compatversion";var H=F[P];var I=V("1.14");this._compatversion={};function _(e){var v=!e?H||I.toString():F[P+"-"+e.toLowerCase()]||H||w[e]||I.toString();v=V(v.toLowerCase()==="edge"?G.version:v);return V(v.getMajor(),v.getMinor());}this._compatversion._default=_();for(var n in w){this._compatversion[n]=_(n);}if(!x.ignoreUrlParams){var J="sap-ui-";var K=a.fromQuery(window.location.search);if(K.has('sap-language')){var N=x.sapLogonLanguage=K.get('sap-language');var O=L.fromSAPLogonLanguage(N);if(O){x.language=O;}else if(N&&!K.get('sap-locale')&&!K.get('sap-ui-language')){b.warning("sap-language '"+N+"' is not a valid BCP47 language tag and will only be used as SAP logon language");}}if(K.has('sap-locale')){y("language",K.get('sap-locale'));}if(K.has('sap-rtl')){var N=K.get('sap-rtl');if(N==="X"||N==="x"){y('rtl',true);}else{y('rtl',false);}}if(K.has('sap-theme')){var N=K.get('sap-theme');if(N===""){x['theme']=u['theme'].defaultValue;}else{y('theme',N);}}if(K.has('sap-statistics')){var N=K.get('sap-statistics');y('statistics',N);}for(var n in u){if(u[n].noUrl){continue;}var N=K.get(J+n);if(N==null&&!/^xx-/.test(n)){N=K.get(J+"xx-"+n);}if(N===""){x[n]=u[n].defaultValue;}else{y(n,N);}}if(K.has('sap-ui-legacy-date-format')){this.oFormatSettings.setLegacyDateFormat(K.get('sap-ui-legacy-date-format'));}if(K.has('sap-ui-legacy-time-format')){this.oFormatSettings.setLegacyTimeFormat(K.get('sap-ui-legacy-time-format'));}if(K.has('sap-ui-legacy-number-format')){this.oFormatSettings.setLegacyNumberFormat(K.get('sap-ui-legacy-number-format'));}}x.sapparams=x.sapparams||{};x.sapparams['sap-language']=this.getSAPLogonLanguage();['sap-client','sap-server','sap-system'].forEach(function(s){if(!x.ignoreUrlParams&&K.get(s)){x.sapparams[s]=K.get(s);}else{x.sapparams[s]=z(s);}});this.derivedRTL=L._impliesRTL(x.language);var Q=x.theme;var R;var S=Q.indexOf("@");if(S>=0){R=E(Q.slice(S+1));if(R){x.theme=Q.slice(0,S);x.themeRoot=R;}else{x.theme=(F.theme&&F.theme!==Q)?F.theme:"";S=-1;}}if(!x.theme){var W=T.getDefaultThemeInfo();x.theme=W.DEFAULT_THEME+(W.DARK_MODE?"_dark":"");}x.theme=T.validateAndFallbackTheme(x.theme,R);var X=x['languagesDeliveredWithCore']=L._coreI18nLocales;var Y=x['xx-supportedLanguages'];if(Y.length===0||(Y.length===1&&Y[0]==='*')){Y=[];}else if(Y.length===1&&Y[0]==='default'){Y=X||[];}x['xx-supportedLanguages']=Y;var Z=x['xx-fiori2Adaptation'];if(Z.length===0||(Z.length===1&&Z[0]==='false')){Z=false;}else if(Z.length===1&&Z[0]==='true'){Z=true;}x['xx-fiori2Adaptation']=Z;if(x["bindingSyntax"]==="default"){x["bindingSyntax"]=(x.getCompatibilityVersion("sapCoreBindingSyntax").compareTo("1.26")<0)?"simple":"complex";}if(!x["whitelistService"]){var $=z('sap.whitelistService');if($){x["whitelistService"]=$;if(x["frameOptions"]==="default"){x["frameOptions"]="trusted";}}}if(x["frameOptions"]==="default"||(x["frameOptions"]!=="allow"&&x["frameOptions"]!=="deny"&&x["frameOptions"]!=="trusted")){x["frameOptions"]="allow";}if(x.flexibilityServices&&x.flexibilityServices!==u.flexibilityServices.defaultValue&&x.modules.indexOf("sap.ui.fl.library")==-1){x.modules.push("sap.ui.fl.library");}var a1=x['preloadLibCss'];if(a1.length>0){a1.appManaged=a1[0].slice(0,1)==="!";if(a1.appManaged){a1[0]=a1[0].slice(1);}if(a1[0]==="*"){a1.shift();x.modules.forEach(function(e){var m=e.match(/^(.*)\.library$/);if(m){a1.unshift(m[1]);}});}}if(x["xx-waitForTheme"]==="true"){x["xx-waitForTheme"]="rendering";}if(x["xx-waitForTheme"]!=="rendering"&&x["xx-waitForTheme"]!=="init"){x["xx-waitForTheme"]=undefined;}for(var n in u){if(x[n]!==u[n].defaultValue){b.info("  "+n+" = "+x[n]);}}if(this.getAnimationMode()===undefined){if(this.animation){this.setAnimationMode(g.AnimationMode.full);}else{this.setAnimationMode(g.AnimationMode.minimal);}}else{this.setAnimationMode(this.getAnimationMode());}},getVersion:function(){if(this._version){return this._version;}this._version=new V(G.version);return this._version;},getCompatibilityVersion:function(F){if(typeof(F)==="string"&&this._compatversion[F]){return this._compatversion[F];}return this._compatversion._default;},getTheme:function(){return this.theme;},_setTheme:function(s){this.theme=s;return this;},getLanguage:function(){return this.language.sLocaleId;},getLanguageTag:function(){return this.language.toLanguageTag();},getSAPLogonLanguage:function(){return this.sapLogonLanguage||this.language.getSAPLogonLanguage();},setLanguage:function(l,s){var e=h(l),O=this.getRTL(),m;o(e,"Configuration.setLanguage: sLanguage must be a valid BCP47 language tag");o(s==null||(typeof s==='string'&&/[A-Z0-9]{2,2}/i.test(s)),"Configuration.setLanguage: sSAPLogonLanguage must be null or be a string of length 2, consisting of digits and latin characters only",true);if(e.toString()!=this.getLanguageTag()||s!==this.sapLogonLanguage){this.language=e;this.sapLogonLanguage=s||undefined;this.sapparams['sap-language']=this.getSAPLogonLanguage();m=this._collect();m.language=this.getLanguageTag();this.derivedRTL=L._impliesRTL(e);if(O!=this.getRTL()){m.rtl=this.getRTL();}this._endCollect();}return this;},getLocale:function(){return this.language;},getSAPParam:function(n){return this.sapparams&&this.sapparams[n];},isUI5CacheOn:function(){return this["xx-cache-use"];},setUI5CacheOn:function(e){this["xx-cache-use"]=e;return this;},isUI5CacheSerializationSupportOn:function(){return this["xx-cache-serialization"];},setUI5CacheSerializationSupport:function(e){this["xx-cache-serialization"]=e;return this;},getUI5CacheExcludedKeys:function(){return this["xx-cache-excludedKeys"];},getCalendarType:function(){var n;if(!f){f=sap.ui.requireSync("sap/ui/core/LocaleData");}if(this.calendarType){for(n in C){if(n.toLowerCase()===this.calendarType.toLowerCase()){this.calendarType=n;return this.calendarType;}}b.warning("Parameter 'calendarType' is set to "+this.calendarType+" which isn't a valid value and therefore ignored. The calendar type is determined from format setting and current locale");}var l=this.oFormatSettings.getLegacyDateFormat();switch(l){case"1":case"2":case"3":case"4":case"5":case"6":return C.Gregorian;case"7":case"8":case"9":return C.Japanese;case"A":case"B":return C.Islamic;case"C":return C.Persian;}return f.getInstance(this.getLocale()).getPreferredCalendarType();},setCalendarType:function(s){var m;if(this.calendarType!==s){m=this._collect();this.calendarType=m.calendarType=s;this._endCollect();}return this;},getFormatLocale:function(){return(this.formatLocale||this.language).toString();},setFormatLocale:function(F){var e=h(F),m;o(F==null||typeof F==="string"&&e,"sFormatLocale must be a BCP47 language tag or Java Locale id or null");if(t(e)!==t(this.formatLocale)){this.formatLocale=e;m=this._collect();m.formatLocale=t(e);this._endCollect();}return this;},getLanguagesDeliveredWithCore:function(){return this["languagesDeliveredWithCore"];},getSupportedLanguages:function(){return this["xx-supportedLanguages"];},getAccessibility:function(){return this.accessibility;},getAutoAriaBodyRole:function(){return this.autoAriaBodyRole;},getAvoidAriaApplicationRole:function(){return this.getAutoAriaBodyRole()&&this["xx-avoidAriaApplicationRole"];},getAnimation:function(){return this.animation;},getAnimationMode:function(){return this.animationMode;},setAnimationMode:function(A){p(g.AnimationMode,A,"animationMode");this.animation=(A!==g.AnimationMode.minimal&&A!==g.AnimationMode.none);this.animationMode=A;if(this._oCore&&this._oCore._setupAnimation){this._oCore._setupAnimation();}},getRTL:function(){return this.rtl===null?this.derivedRTL:this.rtl;},getFiori2Adaptation:function(){return this["xx-fiori2Adaptation"];},setRTL:function(r){o(r===null||typeof r==="boolean","bRTL must be null or a boolean");var e=this.getRTL(),m;this.rtl=r;if(e!=this.getRTL()){m=this._collect();m.rtl=this.getRTL();this._endCollect();}return this;},getDebug:function(){return this.debug;},getInspect:function(){return this.inspect;},getOriginInfo:function(){return this.originInfo;},getNoDuplicateIds:function(){return this.noDuplicateIds;},getTrace:function(){return this.trace;},getUIDPrefix:function(){return this.uidPrefix;},getDesignMode:function(){return this["xx-designMode"];},getSuppressDeactivationOfControllerCode:function(){return this["xx-suppressDeactivationOfControllerCode"];},getControllerCodeDeactivated:function(){return this.getDesignMode()&&!this.getSuppressDeactivationOfControllerCode();},getApplication:function(){return this.application;},getRootComponent:function(){return this.rootComponent;},getAppCacheBuster:function(){return this.appCacheBuster;},getAppCacheBusterMode:function(){return this["xx-appCacheBusterMode"];},getAppCacheBusterHooks:function(){return this["xx-appCacheBusterHooks"];},getDisableCustomizing:function(){return this["xx-disableCustomizing"];},getViewCache:function(){return this["xx-viewCache"];},getPreload:function(){return this.preload;},getDepCache:function(){return this["xx-depCache"];},getManifestFirst:function(){return this.manifestFirst;},isFlexBundleRequestForced:function(){return this["xx-flexBundleRequestForced"];},getFlexibilityServices:function(){if(!this.flexibilityServices){this.flexibilityServices=[];}if(typeof this.flexibilityServices==='string'){if(this.flexibilityServices[0]==="/"){this.flexibilityServices=[{url:this.flexibilityServices,layerFilter:["ALL"],connector:"LrepConnector"}];}else{this.flexibilityServices=JSON.parse(this.flexibilityServices);}}return this.flexibilityServices;},getComponentPreload:function(){return this['xx-componentPreload']||this.preload;},getFormatSettings:function(){return this.oFormatSettings;},getFrameOptions:function(){return this.frameOptions;},getWhitelistService:function(){return this.whitelistService;},getSupportMode:function(){return this.support;},_collect:function(){var m=this.mChanges||(this.mChanges={__count:0});m.__count++;return m;},_endCollect:function(){var m=this.mChanges;if(m&&(--m.__count)===0){delete m.__count;this._oCore&&this._oCore.fireLocalizationChanged(m);delete this.mChanges;}},getStatistics:function(){var r=this.statistics;try{r=r||window.localStorage.getItem("sap-ui-statistics")=="X";}catch(e){}return r;},getNoNativeScroll:function(){return false;},getHandleValidation:function(){return this["xx-handleValidation"];},getHyphenation:function(){return this["xx-hyphenation"];},applySettings:function(s){function e(l,m){var n,r;for(n in m){r="set"+n.slice(0,1).toUpperCase()+n.slice(1);if(n==='formatSettings'&&l.oFormatSettings){e(l.oFormatSettings,m[n]);}else if(typeof l[r]==='function'){l[r](m[n]);}else{b.warning("Configuration.applySettings: unknown setting '"+n+"' ignored");}}}c(typeof s==='object',"mSettings must be an object");this._collect();e(this,s);this._endCollect();return this;}});g.AnimationMode={full:"full",basic:"basic",minimal:"minimal",none:"none"};function h(l){try{if(l&&typeof l==='string'){return new L(l);}}catch(e){}}function t(l){return l?l.toString():null;}var M={"":{pattern:null},"1":{pattern:"dd.MM.yyyy"},"2":{pattern:"MM/dd/yyyy"},"3":{pattern:"MM-dd-yyyy"},"4":{pattern:"yyyy.MM.dd"},"5":{pattern:"yyyy/MM/dd"},"6":{pattern:"yyyy-MM-dd"},"7":{pattern:"Gyy.MM.dd"},"8":{pattern:"Gyy/MM/dd"},"9":{pattern:"Gyy-MM-dd"},"A":{pattern:"yyyy/MM/dd"},"B":{pattern:"yyyy/MM/dd"},"C":{pattern:"yyyy/MM/dd"}};var j={"":{"short":null,medium:null,dayPeriods:null},"0":{"short":"HH:mm",medium:"HH:mm:ss",dayPeriods:null},"1":{"short":"hh:mm a",medium:"hh:mm:ss a",dayPeriods:["AM","PM"]},"2":{"short":"hh:mm a",medium:"hh:mm:ss a",dayPeriods:["am","pm"]},"3":{"short":"KK:mm a",medium:"KK:mm:ss a",dayPeriods:["AM","PM"]},"4":{"short":"KK:mm a",medium:"KK:mm:ss a",dayPeriods:["am","pm"]}};var k={"":{groupingSeparator:null,decimalSeparator:null}," ":{groupingSeparator:".",decimalSeparator:","},"X":{groupingSeparator:",",decimalSeparator:"."},"Y":{groupingSeparator:" ",decimalSeparator:","}};function o(e,m){if(!e){throw new Error(m);}}function p(e,v,P){var l=[];for(var K in e){if(e.hasOwnProperty(K)){if(e[K]===v){return;}l.push(e[K]);}}throw new Error("Unsupported Enumeration value for "+P+", valid values are: "+l.join(", "));}B.extend("sap.ui.core.Configuration.FormatSettings",{constructor:function(e){this.oConfiguration=e;this.mSettings={};this.sLegacyDateFormat=undefined;this.sLegacyTimeFormat=undefined;this.sLegacyNumberFormatSymbolSet=undefined;},getFormatLocale:function(){function e(m){var n=m.oConfiguration.language;if(!i(m.mSettings)){var l=n.toString();if(l.indexOf("-x-")<0){l=l+"-x-sapufmt";}else if(l.indexOf("-sapufmt")<=l.indexOf("-x-")){l=l+"-sapufmt";}n=new L(l);}return n;}return this.oConfiguration.formatLocale||e(this);},_set:function(K,v){var O=this.mSettings[K];if(v!=null){this.mSettings[K]=v;}else{delete this.mSettings[K];}if((O!=null||v!=null)&&!d(O,v)){var m=this.oConfiguration._collect();m[K]=v;this.oConfiguration._endCollect();}},getCustomUnits:function(){return this.mSettings["units"]?this.mSettings["units"]["short"]:undefined;},setCustomUnits:function(u){var m=null;if(u){m={"short":u};}this._set("units",m);return this;},addCustomUnits:function(u){var e=this.getCustomUnits();if(e){u=q.extend({},e,u);}this.setCustomUnits(u);return this;},setUnitMappings:function(u){this._set("unitMappings",u);return this;},addUnitMappings:function(u){var e=this.getUnitMappings();if(e){u=q.extend({},e,u);}this.setUnitMappings(u);return this;},getUnitMappings:function(){return this.mSettings["unitMappings"];},getDatePattern:function(s){c(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");return this.mSettings["dateFormats-"+s];},setDatePattern:function(s,P){o(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");this._set("dateFormats-"+s,P);return this;},getTimePattern:function(s){c(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");return this.mSettings["timeFormats-"+s];},setTimePattern:function(s,P){o(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");this._set("timeFormats-"+s,P);return this;},getNumberSymbol:function(s){c(s=="decimal"||s=="group"||s=="plusSign"||s=="minusSign","sType must be decimal, group, plusSign or minusSign");return this.mSettings["symbols-latn-"+s];},setNumberSymbol:function(s,S){o(s=="decimal"||s=="group"||s=="plusSign"||s=="minusSign","sType must be decimal, group, plusSign or minusSign");this._set("symbols-latn-"+s,S);return this;},getCustomCurrencies:function(){return this.mSettings["currency"];},setCustomCurrencies:function(m){o(typeof m==="object"||m==null,"mCurrencyDigits must be an object");Object.keys(m||{}).forEach(function(s){o(typeof s==="string");o(typeof m[s]==="object");});this._set("currency",m);return this;},addCustomCurrencies:function(m){var e=this.getCustomCurrencies();if(e){m=q.extend({},e,m);}this.setCustomCurrencies(m);return this;},setFirstDayOfWeek:function(v){o(typeof v=="number"&&v>=0&&v<=6,"iValue must be an integer value between 0 and 6");this._set("weekData-firstDay",v);return this;},_setDayPeriods:function(w,e){c(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");this._set("dayPeriods-format-"+w,e);return this;},getLegacyDateFormat:function(){return this.sLegacyDateFormat||undefined;},setLegacyDateFormat:function(F){F=F?String(F).toUpperCase():"";o(!F||M.hasOwnProperty(F),"sFormatId must be one of ['1','2','3','4','5','6','7','8','9','A','B','C'] or empty");var m=this.oConfiguration._collect();this.sLegacyDateFormat=m.legacyDateFormat=F;this.setDatePattern("short",M[F].pattern);this.setDatePattern("medium",M[F].pattern);this.oConfiguration._endCollect();return this;},getLegacyTimeFormat:function(){return this.sLegacyTimeFormat||undefined;},setLegacyTimeFormat:function(F){o(!F||j.hasOwnProperty(F),"sFormatId must be one of ['0','1','2','3','4'] or empty");var m=this.oConfiguration._collect();this.sLegacyTimeFormat=m.legacyTimeFormat=F=F||"";this.setTimePattern("short",j[F]["short"]);this.setTimePattern("medium",j[F]["medium"]);this._setDayPeriods("abbreviated",j[F].dayPeriods);this.oConfiguration._endCollect();return this;},getLegacyNumberFormat:function(){return this.sLegacyNumberFormat||undefined;},setLegacyNumberFormat:function(F){F=F?F.toUpperCase():"";o(!F||k.hasOwnProperty(F),"sFormatId must be one of [' ','X','Y'] or empty");var m=this.oConfiguration._collect();this.sLegacyNumberFormat=m.legacyNumberFormat=F;this.setNumberSymbol("group",k[F].groupingSeparator);this.setNumberSymbol("decimal",k[F].decimalSeparator);this.oConfiguration._endCollect();return this;},setLegacyDateCalendarCustomizing:function(m){o(Array.isArray(m),"aMappings must be an Array");var e=this.oConfiguration._collect();this.aLegacyDateCalendarCustomizing=e.legacyDateCalendarCustomizing=m;this.oConfiguration._endCollect();return this;},getLegacyDateCalendarCustomizing:function(){return this.aLegacyDateCalendarCustomizing;},getCustomLocaleData:function(){return this.mSettings;}});return g;});
sap.ui.predefine('sap/ui/core/ContextMenuSupport',["./Control"],function(C){"use strict";var a=function(){var c;if(!(this instanceof C)){return;}function o(e){e.stopPropagation();if(e.srcControl!==this){return;}e.preventDefault();this._oContextMenu.openAsContextMenu(e,this);}c={oncontextmenu:o};this.setContextMenu=function(b){if(b==null&&this.getContextMenu()){this._oContextMenu=null;this.removeEventDelegate(c,this);return;}else if(!b||!b.getMetadata||!b.getMetadata().isInstanceOf("sap.ui.core.IContextMenu")){return;}if(!this._oContextMenu){this.addEventDelegate(c,this);}this._oContextMenu=b;};this.getContextMenu=function(){return this._oContextMenu;};};return a;},true);
sap.ui.predefine('sap/ui/core/Control',['./CustomStyleClassSupport','./Element','./UIArea','./RenderManager','./BusyIndicatorUtils','./BlockLayerUtils',"sap/base/Log","sap/ui/thirdparty/jquery"],function(C,E,U,R,B,a,L,q){"use strict";var b;var c=E.extend("sap.ui.core.Control",{metadata:{stereotype:"control","abstract":true,publicMethods:["placeAt","attachBrowserEvent","detachBrowserEvent","getControlsByFieldGroup","triggerValidateFieldGroup","checkFieldGroupIds"],library:"sap.ui.core",properties:{"blocked":{type:"boolean",defaultValue:false},"busy":{type:"boolean",defaultValue:false},"busyIndicatorDelay":{type:"int",defaultValue:1000},"busyIndicatorSize":{type:"sap.ui.core.BusyIndicatorSize",defaultValue:'Medium'},"visible":{type:"boolean",group:"Appearance",defaultValue:true},"fieldGroupIds":{type:"string[]",defaultValue:[]}},events:{validateFieldGroup:{enableEventBubbling:true,parameters:{fieldGroupIds:{type:"string[]"}}}}},constructor:function(i,s){this.bAllowTextSelection=true;E.apply(this,arguments);this.bOutput=this.getDomRef()!=null;},renderer:null});c.prototype.clone=function(){var o=E.prototype.clone.apply(this,arguments);if(this.aBindParameters){for(var i=0,l=this.aBindParameters.length;i<l;i++){var p=this.aBindParameters[i];o.attachBrowserEvent(p.sEventType,p.fnHandler,p.oListener!==this?p.oListener:undefined);}}o.bAllowTextSelection=this.bAllowTextSelection;return o;};C.apply(c.prototype);c.prototype.isActive=function(){return((this.sId?window.document.getElementById(this.sId):null))!=null;};c.prototype.invalidate=function(o){var u;if(this.bOutput&&(u=this.getUIArea())){if(!this._bIsBeingDestroyed){u.addInvalidatedControl(this);}}else{var p=this.getParent();if(p&&(this.bOutput||!(this.getVisible&&this.getVisible()===false))){p.invalidate(this);}}};c.prototype.rerender=function(){U.rerenderControl(this);};c.prototype.getDomRef=function(s){if(this.bOutput===false&&!this.oParent){return null;}return E.prototype.getDomRef.call(this,s);};c.prototype.allowTextSelection=function(h){this.bAllowTextSelection=h;return this;};c.prototype.attachBrowserEvent=function(s,h,l){if(s&&(typeof(s)==="string")){if(typeof h==="function"){if(!this.aBindParameters){this.aBindParameters=[];}l=l||this;var p=h.bind(l);this.aBindParameters.push({sEventType:s,fnHandler:h,oListener:l,fnProxy:p});if(!this._sapui_bInAfterRenderingPhase){this.$().bind(s,p);}}}return this;};c.prototype.detachBrowserEvent=function(s,h,l){if(s&&(typeof(s)==="string")){if(typeof(h)==="function"){var $=this.$(),i,p;l=l||this;if(this.aBindParameters){for(i=this.aBindParameters.length-1;i>=0;i--){p=this.aBindParameters[i];if(p.sEventType===s&&p.fnHandler===h&&p.oListener===l){this.aBindParameters.splice(i,1);$.unbind(s,p.fnProxy);}}}}}return this;};c.prototype.getRenderer=function(){return R.getRenderer(this);};c.prototype.placeAt=function(o,p){var h=sap.ui.getCore();if(h.isInitialized()){var i=o;if(typeof i==="string"){i=h.byId(o);}var I=false;if(!(i instanceof E)){i=h.createUIArea(o);I=true;}if(!i){return this;}if(!I){var j=i.getMetadata().getAggregation("content");var k=true;if(j){if(!j.multiple||j.type!="sap.ui.core.Control"){k=false;}}else if(!i.addContent||!i.insertContent||!i.removeAllContent){k=false;}if(!k){L.warning("placeAt cannot be processed because container "+i+" does not have an aggregation 'content'.");return this;}}if(typeof p==="number"){i.insertContent(this,p);}else{p=p||"last";switch(p){case"last":i.addContent(this);break;case"first":i.insertContent(this,0);break;case"only":i.removeAllContent();i.addContent(this);break;default:L.warning("Position "+p+" is not supported for function placeAt.");}}}else{var t=this;h.attachInitEvent(function(){t.placeAt(o,p);});}return this;};c.prototype.onselectstart=function(o){if(!this.bAllowTextSelection){o.preventDefault();o.stopPropagation();}};c.prototype.onBeforeRendering=function(){};c.prototype.onAfterRendering=function(){};c.prototype.getIdForLabel=function(){return this.getId();};c.prototype.destroy=function(s){if(this.bIsDestroyed){return;}this._bIsBeingDestroyed=true;this._cleanupBusyIndicator();b=b||sap.ui.require("sap/ui/core/ResizeHandler");if(b){b.deregisterAllForControl(this.getId());}if(!this.getVisible()){var p=document.getElementById(R.createInvisiblePlaceholderId(this));if(p&&p.parentNode){p.parentNode.removeChild(p);}}E.prototype.destroy.call(this,s);};var r={onBeforeRendering:function(){e.call(this);},onAfterRendering:function(){if(this.getBlocked()&&this.getDomRef()&&!this.getDomRef("blockedLayer")){this._oBlockState=a.block(this,this.getId()+"-blockedLayer",this._sBlockSection);q(this._oBlockState.$blockLayer.get(0)).addClass("sapUiBlockLayerOnly");}if(this.getBusy()&&this.getDomRef()&&!this._busyIndicatorDelayedCallId&&!this.getDomRef("busyIndicator")){var D=this.getBusyIndicatorDelay();if(D){this._busyIndicatorDelayedCallId=setTimeout(A.bind(this),D);}else{A.call(this);}}}};function A(){if(!this.getBusy()){return;}var $=this.$(this._sBusySection);if(this._busyIndicatorDelayedCallId){clearTimeout(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}if(!$||$.length===0){L.warning("BusyIndicator could not be rendered. The outer control instance is not valid anymore.");return;}if(this._sBlockSection===this._sBusySection){if(this._oBlockState){B.addHTML(this._oBlockState,this.getBusyIndicatorSize());a.toggleAnimationStyle(this._oBlockState,true);this._oBusyBlockState=this._oBlockState;}else{d.call(this);}}else{d.call(this);}}function f(){this._oBlockState=a.block(this,this.getId()+"-blockedLayer",this._sBlockSection);q(this._oBlockState.$blockLayer.get(0)).addClass("sapUiBlockLayerOnly");}function d(){this._oBusyBlockState=a.block(this,this.getId()+"-busyIndicator",this._sBusySection);B.addHTML(this._oBusyBlockState,this.getBusyIndicatorSize());}function e(){a.unblock(this._oBlockState);a.unblock(this._oBusyBlockState);delete this._oBlockState;delete this._oBusyBlockState;}function g(F){if(F){e.call(this);return;}var $=this.$(this._sBusySection);$.removeClass('sapUiLocalBusy');$.removeAttr('aria-busy');if(this._sBlockSection===this._sBusySection){if(!this.getBlocked()&&!this.getBusy()){e.call(this);}else if(this.getBlocked()){a.toggleAnimationStyle(this._oBlockState||this._oBusyBlockState,false);this._oBlockState=this._oBusyBlockState;}else if(this._oBusyBlockState){a.unblock(this._oBusyBlockState);delete this._oBusyBlockState;}}else if(this._oBusyBlockState){a.unblock(this._oBusyBlockState);delete this._oBusyBlockState;}}c.prototype.setBlocked=function(h,s){if(!!h==this.getProperty("blocked")){return this;}this._sBlockSection=s||this._sBlockSection;this.setProperty("blocked",h,true);if(h){this.addDelegate(r,false,this);}else{this.removeDelegate(r);}if(!this.getDomRef()){return this;}if(h){if(this._sBlockSection===this._sBusySection){if(!this._oBusyBlockState&&!this._oBlockState){f.call(this);}else{L.info("The control is already busy. Hence, no new block-layer was created for the shared section.");}}else{f.call(this);}}else{if(this._sBlockSection===this._sBusySection){if(!this.getBlocked()&&!this.getBusy()){e.call(this);}else if(this.getBusy()){L.info("The control is already busy. Hence, no new block-layer was created for the shared section.");}}else if(this._oBlockState){a.unblock(this._oBlockState);delete this._oBlockState;}}return this;};c.prototype.setBusy=function(h,s){if(!!h==this.getProperty("busy")){return this;}this._sBusySection=s||this._sBusySection;this.setProperty("busy",h,true);if(h){this.addDelegate(r,false,this);}else{this.removeDelegate(r);if(this._busyIndicatorDelayedCallId){clearTimeout(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}}if(!this.getDomRef()){return this;}if(h){if(this.getBusyIndicatorDelay()<=0){A.call(this);}else{this._busyIndicatorDelayedCallId=setTimeout(A.bind(this),this.getBusyIndicatorDelay());}}else{g.call(this);}return this;};c.prototype.isBusy=c.prototype.getBusy;c.prototype.setBusyIndicatorDelay=function(D){this.setProperty("busyIndicatorDelay",D,true);return this;};c.prototype._cleanupBusyIndicator=function(){if(this._busyIndicatorDelayedCallId){clearTimeout(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}g.call(this,true);};c.prototype.getControlsByFieldGroupId=function(F){return this.findAggregatedObjects(true,function(o){if(o instanceof c){return o.checkFieldGroupIds(F);}return false;});};c.prototype.checkFieldGroupIds=function(F){if(typeof F==="string"){F=F?F.split(","):[];}var h=this._getFieldGroupIds();if(Array.isArray(F)){return F.every(function(s){return h.indexOf(s)>=0;});}else if(!F){return h.length>0;}return false;};c.prototype.triggerValidateFieldGroup=function(F){this.fireValidateFieldGroup({fieldGroupIds:F});};return c;});
sap.ui.predefine('sap/ui/core/Core',['jquery.sap.global','sap/ui/Device','sap/ui/Global','sap/ui/base/BindingParser','sap/ui/base/DataType','sap/ui/base/EventProvider','sap/ui/base/Interface','sap/ui/base/Object','sap/ui/base/ManagedObject','./Component','./Configuration','./Control','./Element','./ElementMetadata','./FocusHandler','./RenderManager','./ResizeHandler','./ThemeCheck','./UIArea','./message/MessageManager',"./theming/ThemeHelper","sap/ui/util/ActivityDetection","sap/ui/dom/getScrollbarSize","sap/base/i18n/ResourceBundle","sap/base/Log","sap/ui/performance/Measurement","sap/ui/security/FrameOptions","sap/base/assert","sap/ui/dom/includeStylesheet","sap/base/util/ObjectPath","sap/base/util/Version","sap/base/util/array/uniqueSort","sap/base/util/uid",'sap/ui/performance/trace/initTraces','sap/base/util/LoaderExtensions','sap/base/util/isEmptyObject','sap/base/util/each','sap/ui/VersionInfo','sap/ui/events/jquery/EventSimulation'],function(jQuery,Device,Global,BindingParser,DataType,EventProvider,Interface,BaseObject,ManagedObject,Component,Configuration,Control,Element,ElementMetadata,FocusHandler,RenderManager,ResizeHandler,ThemeCheck,UIArea,MessageManager,ThemeHelper,ActivityDetection,getScrollbarSize,ResourceBundle,Log,Measurement,FrameOptions,assert,includeStylesheet,ObjectPath,Version,uniqueSort,uid,initTraces,LoaderExtensions,isEmptyObject,each,VersionInfo){"use strict";function globalEval(){eval(arguments[0]);}if(sap.ui.getCore&&sap.ui.getCore()){return sap.ui.getCore();}initTraces();var oRenderLog=UIArea._oRenderLog;var mLoadedLibraries={};var mLibraryPreloadBundles={};var _oEventProvider;var SyncPoint=function(n,c){var t=[],o=0,f=0;this.startTask=function(T){var i=t.length;t[i]={name:T,finished:false};o++;return i;};this.finishTask=function(i,s){if(!t[i]||t[i].finished){throw new Error("trying to finish non existing or already finished task");}t[i].finished=true;o--;if(s===false){f++;}if(o===0){Log.info("Sync point '"+n+"' finished (tasks:"+t.length+", open:"+o+", failures:"+f+")");a();}};function a(){if(c){c(o,f);}c=null;}Log.info("Sync point '"+n+"' created");};var Core=BaseObject.extend("sap.ui.core.Core",{constructor:function(){var t=this,M="sap.ui.core.Core";if(sap.ui.getCore&&sap.ui.getCore()){Log.error("Only the framework must create an instance of sap/ui/core/Core."+" To get access to its functionality, use sap.ui.getCore().");return sap.ui.getCore();}BaseObject.call(this);_oEventProvider=new EventProvider();["attachEvent","detachEvent","getEventingParent"].forEach(function(F){Core.prototype[F]=_oEventProvider[F].bind(_oEventProvider);});this.bBooted=false;this.bInitialized=false;this.bDomReady=false;this.aPlugins=[];this.mLibraries={};this.mResourceBundles={};this.mUIAreas={};this.oModels={};this.oEventBus=null;Object.defineProperty(this,"mElements",{get:function(){Log.error("oCore.mElements was a private member and has been removed. Use one of the methods in sap.ui.core.Element.registry instead");return Element.registry.all();},configurable:false});this.mObjects={"template":{}};this.oRootComponent=null;this.aInitListeners=[];this.bInitLegacyLib=false;this._sRerenderTimer=this;this.aPrerenderingTasks=[];Log.info("Creating Core",null,M);Measurement.start("coreComplete","Core.js - complete");Measurement.start("coreBoot","Core.js - boot");Measurement.start("coreInit","Core.js - init");this.oConfiguration=new Configuration(this);var f=this.oConfiguration["frameOptionsConfig"]||{};f.mode=this.oConfiguration.getFrameOptions();f.whitelistService=this.oConfiguration.getWhitelistService();this.oFrameOptions=new FrameOptions(f);if(this.oConfiguration["bindingSyntax"]==="complex"){ManagedObject.bindingParser=BindingParser.complexParser;}if(this.oConfiguration["xx-designMode"]==true){BindingParser._keepBindingStrings=true;}this._grantFriendAccess();var m=this.oConfiguration.modules;if(this.oConfiguration.getDebug()){m.unshift("sap.ui.debug.DebugEnv");}var i=m.indexOf("sap.ui.core.library");if(i!=0){if(i>0){m.splice(i,1);}m.unshift("sap.ui.core.library");}if(this.oConfiguration["xx-lesssupport"]&&m.indexOf("sap.ui.core.plugin.LessSupport")==-1){Log.info("Including LessSupport into declared modules");m.push("sap.ui.core.plugin.LessSupport");}var p=this.oConfiguration.preload;if(window["sap-ui-debug"]===true){p="";}if(p==="auto"){if(window["sap-ui-optimized"]){p=sap.ui.loader.config().async?"async":"sync";}else{p="";}}this.oConfiguration.preload=p;var a=p==="async"||sap.ui.loader.config().async;this.oConfiguration['xx-libraryPreloadFiles'].forEach(function(v){var q=String(v).trim().split(/\s*:\s*/),u=q[0],w=q[1];if(q.length===1){w=u;u='';}if(/^(?:none|js|json|both)$/.test(w)){mLibraryPreloadFileTypes[u]=w;}});Log.info("Declared modules: "+m,M);this._setupThemes();this._setupContentDirection();this._setupBrowser();this._setupOS();this._setupLang();this._setupAnimation();sap.ui.getCore=function(){return t.getInterface();};this.oRenderManager=new RenderManager();var s=new SyncPoint("UI5 Document Ready",function(O,F){t.bDomReady=true;t.init();});var d=s.startTask("document.ready");var c=s.startTask("preload and boot");var C=function(){Log.trace("document is ready");s.finishTask(d);document.removeEventListener("DOMContentLoaded",C);};if(document.readyState!=="loading"){C();}else{document.addEventListener("DOMContentLoaded",C);}var S=new SyncPoint("UI5 Core Preloads and Bootstrap Script",function(O,F){Log.trace("Core loaded: open="+O+", failures="+F);t._boot(a,function(){s.finishTask(c);Measurement.end("coreBoot");});});var b=S.startTask("create sp2 tasks task");if(this.oConfiguration["versionedLibCss"]){var V=S.startTask("load version info");var e=function(v){if(v){Log.trace("Loaded \"sap-ui-version.json\".");}else{Log.error("Could not load \"sap-ui-version.json\".");}S.finishTask(V);};var r=sap.ui.getVersionInfo({async:a,failOnError:false});if(r instanceof Promise){r.then(e,function(E){Log.error("Unexpected error when loading \"sap-ui-version.json\": "+E);S.finishTask(V);});}else{e(r);}}var g=this.oConfiguration["xx-bootTask"];if(g){var h=S.startTask("custom boot task");g(function(q){S.finishTask(h,typeof q==="undefined"||q===true);});}this._polyfillFlexbox();var B=S.startTask("bootstrap script");this.boot=function(){if(this.bBooted){return;}this.bBooted=true;S.finishTask(B);};if(p==="sync"||p==="async"){var l=m.reduce(function(R,q){var u=q.search(/\.library$/);if(u>=0){R.push(q.slice(0,u));}return R;},[]);var j=this.loadLibraries(l,{async:a,preloadOnly:true});if(a){var P=S.startTask("preload bootstrap libraries");j.then(function(){S.finishTask(P);},function(){S.finishTask(P,false);});}}var A=this.oConfiguration.getAppCacheBuster();if(A&&A.length>0){var k=sap.ui.requireSync('sap/ui/core/AppCacheBuster');k.boot(S);}if(this.oConfiguration.getSupportMode()!==null){var n=S.startTask("support info script");var o=function(q,u){q.initializeSupportMode(t.oConfiguration.getSupportMode(),a);u.initSupportRules(t.oConfiguration.getSupportMode());S.finishTask(n);};if(a){sap.ui.require(["sap/ui/core/support/Support","sap/ui/support/Bootstrap"],o);}else{Log.warning("Synchronous loading of Support mode. Set preload configuration to 'async' or switch to asynchronous bootstrap to prevent these synchronous request.","SyncXHR",null,function(){return{type:"SyncXHR",name:"support-mode"};});o(sap.ui.requireSync("sap/ui/core/support/Support"),sap.ui.requireSync("sap/ui/support/Bootstrap"));}}S.finishTask(b);},metadata:{publicMethods:["boot","isInitialized","isThemeApplied","attachInitEvent","attachInit","getRenderManager","createRenderManager","getConfiguration","setRoot","createUIArea","getUIArea","getUIDirty","getElementById","getCurrentFocusedControlId","getControl","getComponent","getTemplate","lock","unlock","isLocked","attachEvent","detachEvent","applyChanges","getEventBus","applyTheme","setThemeRoot","attachThemeChanged","detachThemeChanged","getStaticAreaRef","attachThemeScopingChanged","detachThemeScopingChanged","fireThemeScopingChanged","notifyContentDensityChanged","registerPlugin","unregisterPlugin","getLibraryResourceBundle","byId","getLoadedLibraries","loadLibrary","loadLibraries","initLibrary","includeLibraryTheme","setModel","getModel","hasModel","isMobile","attachControlEvent","detachControlEvent","attachIntervalTimer","detachIntervalTimer","attachParseError","detachParseError","fireParseError","attachValidationError","detachValidationError","fireValidationError","attachFormatError","detachFormatError","fireFormatError","attachValidationSuccess","detachValidationSuccess","fireValidationSuccess","attachLocalizationChanged","detachLocalizationChanged","attachLibraryChanged","detachLibraryChanged","isStaticAreaRef","createComponent","getRootComponent","getApplication","setMessageManager","getMessageManager","byFieldGroupId","addPrerenderingTask"]}});Core.M_EVENTS={ControlEvent:"ControlEvent",UIUpdated:"UIUpdated",ThemeChanged:"ThemeChanged",ThemeScopingChanged:"themeScopingChanged",LocalizationChanged:"localizationChanged",LibraryChanged:"libraryChanged",ValidationError:"validationError",ParseError:"parseError",FormatError:"formatError",ValidationSuccess:"validationSuccess"};var STATIC_UIAREA_ID="sap-ui-static";Core.prototype._grantFriendAccess=function(){var t=this;ElementMetadata.prototype.register=function(m){t.registerElementClass(m);};Element._updateFocusInfo=function(e){if(t.oFocusHandler){t.oFocusHandler.updateControlFocusInfo(e);}};};Core.prototype._setupThemes=function(){var M="sap.ui.core.Core";var c=window["sap-ui-config"];if(this.oConfiguration.themeRoot){c=c||{};c.themeroots=c.themeroots||{};c.themeroots[this.oConfiguration.getTheme()]=this.oConfiguration.themeRoot;}if(c){if(c.themeroots){for(var t in c.themeroots){var a=c.themeroots[t];if(typeof a==="string"){this.setThemeRoot(t,a);}else{for(var l in a){if(l.length>0){this.setThemeRoot(t,[l],a[l]);}else{this.setThemeRoot(t,a[l]);}}}}}}this.sTheme=this.oConfiguration.getTheme();document.documentElement.classList.add("sapUiTheme-"+this.sTheme);Log.info("Declared theme "+this.sTheme,null,M);};Core.prototype._setupContentDirection=function(){var M="sap.ui.core.Core",d=this.oConfiguration.getRTL()?"rtl":"ltr";document.documentElement.setAttribute("dir",d);Log.info("Content direction set to '"+d+"'",null,M);};Core.prototype._setupBrowser=function(){var M="sap.ui.core.Core";var h=document.documentElement;var b=Device.browser;var i=b.name;if(i){if(i===b.BROWSER.SAFARI&&b.mobile){i="m"+i;}i=i+(b.version===-1?"":Math.floor(b.version));h.dataset.sapUiBrowser=i;Log.debug("Browser-Id: "+i,null,M);}};Core.prototype._setupOS=function(h){var h=document.documentElement;h.dataset.sapUiOs=Device.os.name+Device.os.versionStr;var o=null;switch(Device.os.name){case Device.os.OS.IOS:o="sap-ios";break;case Device.os.OS.ANDROID:o="sap-android";break;case Device.os.OS.BLACKBERRY:o="sap-bb";break;case Device.os.OS.WINDOWS_PHONE:o="sap-winphone";break;}if(o){h.classList.add(o);}};Core.prototype._setupLang=function(){var h=document.documentElement;var u=function(){var l=this.oConfiguration.getLocale();l?h.setAttribute("lang",l.toString()):h.removeAttribute("lang");};u.call(this);this.attachLocalizationChanged(u,this);};Core.prototype._setupAnimation=function(){if(this.oConfiguration){var h=document.documentElement;var a=this.oConfiguration.getAnimation();h.dataset.sapUiAnimation=a?"on":"off";if(typeof jQuery!=="undefined"){jQuery.fx.off=!a;}var A=this.oConfiguration.getAnimationMode();h.dataset.sapUiAnimationMode=A;}};Core.prototype._polyfillFlexbox=function(){jQuery.support.useFlexBoxPolyfill=false;};Core.prototype._boot=function(a,c){var C=this.oConfiguration['preloadLibCss'];if(C&&C.length>0&&!C.appManaged){this.includeLibraryTheme("sap-ui-merged",undefined,"?l="+C.join(","));}if(a){return this._requireModulesAsync().then(function(){c();});}Log.warning("Modules and libraries declared via bootstrap-configuration are loaded synchronously. Set preload configuration to"+" 'async' or switch to asynchronous bootstrap to prevent these requests.","SyncXHR",null,function(){return{type:"SyncXHR",name:"legacy-module"};});this.oConfiguration.modules.forEach(function(b){var m=b.match(/^(.*)\.library$/);if(m){this.loadLibrary(m[1]);}else{sap.ui.requireSync(/^jquery\.sap\./.test(b)?b:b.replace(/\./g,"/"));}}.bind(this));c();};Core.prototype._requireModulesAsync=function(){var l=[],M=[];this.oConfiguration.modules.forEach(function(s){var m=s.match(/^(.*)\.library$/);if(m){l.push(m[1]);}else{M.push(/^jquery\.sap\./.test(s)?s:s.replace(/\./g,"/"));}});return Promise.all([this.loadLibraries(l),new Promise(function(r){sap.ui.require(M,function(){r(Array.prototype.slice.call(arguments));});})]);};Core.prototype.applyTheme=function(t,T){assert(typeof t==="string","sThemeName must be a string");assert(typeof T==="string"||typeof T==="undefined","sThemeBaseUrl must be a string or undefined");t=ThemeHelper.validateAndFallbackTheme(t,T);if(T){this.setThemeRoot(t,T);}if(t&&this.sTheme!=t){var c=this.sTheme;var h=document.documentElement;this._updateThemeUrls(t,true);this.sTheme=t;this.oConfiguration._setTheme(t);h.classList.remove("sapUiTheme-"+c);h.classList.add("sapUiTheme-"+t);if(this.oThemeCheck){this.oThemeCheck.fireThemeChangedEvent(false);}}};Core.prototype._updateThemeUrl=function(l,t,s){var L=l.id.slice(13),q=l.href.search(/[?#]/),a,Q,S="library",r=this.oConfiguration.getRTL()?"-RTL":"",h,p;if(q>-1){a=l.href.substring(0,q);Q=l.href.substring(q);}else{a=l.href;Q="";}a=a.substring(a.lastIndexOf("/")+1);if((p=L.indexOf("-["))>0){S+=L.slice(p+2,-1);L=L.slice(0,p);}if(a===(S+".css")||a===(S+"-RTL.css")){a=S+r+".css";}h=this._getThemePath(L,t)+a+Q;if(h!=l.href){if(s){l.dataset.sapUiFoucmarker=l.id;}includeStylesheet(h,l.id);}};Core.prototype._updateThemeUrls=function(t,s){var q=document.querySelectorAll("link[id^=sap-ui-theme-]");Array.prototype.forEach.call(q,function(h){this._updateThemeUrl(h,t,s);}.bind(this));};Core.prototype._ensureThemeRoot=function(l,t){if(this._mThemeRoots){var p=this._mThemeRoots[t+" "+l]||this._mThemeRoots[t];if(p){p=p+l.replace(/\./g,"/")+"/themes/"+t+"/";registerModulePath(l+".themes."+t,p);}}};Core.prototype._getThemePath=function(l,t){this._ensureThemeRoot(l,t);return getModulePath(l+".themes."+t,"/");};Core.prototype.setThemeRoot=function(t,l,T,f){assert(typeof t==="string","sThemeName must be a string");assert((Array.isArray(l)&&typeof T==="string")||(typeof l==="string"&&T===undefined),"either the second parameter must be a string (and the third is undefined), or it must be an array and the third parameter is a string");if(!this._mThemeRoots){this._mThemeRoots={};}if(typeof l==="string"){f=T;T=l;l=undefined;}T=T+(T.slice(-1)=="/"?"":"/");if(l){for(var i=0;i<l.length;i++){var a=l[i];this._mThemeRoots[t+" "+a]=T;}}else{this._mThemeRoots[t]=T;}if(f&&t===this.sTheme){this._updateThemeUrls(this.sTheme);}return this;};Core.prototype.init=function(){if(this.bInitialized){return;}var M="sap.ui.core.Core.init()";this.boot();Log.info("Initializing",null,M);this.oFocusHandler=new FocusHandler(document.body,this);this.oRenderManager._setFocusHandler(this.oFocusHandler);this.oResizeHandler=new ResizeHandler(this);this.oThemeCheck=new ThemeCheck(this);Log.info("Initialized",null,M);Measurement.end("coreInit");Log.info("Starting Plugins",null,M);this.startPlugins();Log.info("Plugins started",null,M);this._createUIAreas();this._setBodyAccessibilityRole();this.oThemeCheck.fireThemeChangedEvent(true);var w=this.oConfiguration['xx-waitForTheme'];if(this.isThemeApplied()||!w){this._executeInitialization();this.renderPendingUIUpdates("during Core init");Measurement.end("coreComplete");}else if(w==="rendering"){this._executeInitialization();oRenderLog.debug("delay initial rendering until theme has been loaded");_oEventProvider.attachEventOnce(Core.M_EVENTS.ThemeChanged,function(){setTimeout(this.renderPendingUIUpdates.bind(this,"after theme has been loaded"),Device.browser.safari?50:0);},this);Measurement.end("coreComplete");}else if(w==="init"){oRenderLog.debug("delay init event and initial rendering until theme has been loaded");_oEventProvider.attachEventOnce(Core.M_EVENTS.ThemeChanged,function(){this._executeInitialization();setTimeout(this.renderPendingUIUpdates.bind(this,"after theme has been loaded"),Device.browser.safari?50:0);Measurement.end("coreComplete");},this);}};Core.prototype._createUIAreas=function(){var c=this.oConfiguration;if(c.areas){for(var i=0,l=c.areas.length;i<l;i++){this.createUIArea(c.areas[i]);}c.areas=undefined;}};Core.prototype._executeOnInit=function(){var o=this.oConfiguration.onInit;if(o){if(typeof o==="function"){o();}else if(typeof o==="string"){var r=/^module\:((?:(?:[_$.\-a-zA-Z][_$.\-a-zA-Z0-9]*)\/?)*)$/.exec(o);if(r&&r[1]){setTimeout(sap.ui.require.bind(sap.ui,[r[1]]),0);}else{var f=ObjectPath.get(o);if(typeof f==="function"){f();}else{globalEval(o);}}}this.oConfiguration.onInit=undefined;}};Core.prototype._setupRootComponent=function(){var M="sap.ui.core.Core.init()",c=this.oConfiguration;var r=c.getRootComponent();if(r){Log.info("Loading Root Component: "+r,null,M);var C=sap.ui.component({name:r});this.oRootComponent=C;var R=c["xx-rootComponentNode"];if(R&&C.isA('sap.ui.core.UIComponent')){var o=(R?document.getElementById(R):null);if(o){Log.info("Creating ComponentContainer for Root Component: "+r,null,M);var a=sap.ui.requireSync('sap/ui/core/ComponentContainer'),b=new a({component:C,propagateModel:true});b.placeAt(o);}}}else{var A=c.getApplication();if(A){Log.warning("The configuration 'application' is deprecated. Please use the configuration 'component' instead! "+"Please migrate from sap.ui.app.Application to sap.ui.core.Component.","SyncXHR",null,function(){return{type:"Deprecation",name:"sap.ui.core"};});Log.info("Loading Application: "+A,null,M);sap.ui.requireSync(A.replace(/\./g,"/"));var d=ObjectPath.get(A);assert(d!==undefined,"The specified application \""+A+"\" could not be found!");var e=new d();assert(BaseObject.isA(e,'sap.ui.app.Application'),"The specified application \""+A+"\" must be an instance of sap.ui.app.Application!");}}};Core.prototype._setBodyAccessibilityRole=function(){var c=this.oConfiguration,b=document.body,B,a;if(c.getAccessibility()&&c.getAutoAriaBodyRole()){B=b.getAttribute("role");a=c.getAvoidAriaApplicationRole();if(!B&&!a){b.setAttribute("role","application");}else if(B==="application"&&a){b.removeAttribute("role");}}};Core.prototype._executeInitListeners=function(){var M="sap.ui.core.Core.init()";var c=this.aInitListeners;this.aInitListeners=undefined;if(c&&c.length>0){Log.info("Fire Loaded Event",null,M);c.forEach(function(f){f();});}};Core.prototype._executeInitialization=function(){if(this.bInitialized){return;}this.bInitialized=true;this._executeOnInit();this._setupRootComponent();this._executeInitListeners();};Core.prototype.isInitialized=function(){return this.bInitialized;};Core.prototype.isThemeApplied=function(){return ThemeCheck.themeLoaded;};Core.prototype.attachInitEvent=function(f){assert(typeof f==="function","fnFunction must be a function");if(this.aInitListeners){this.aInitListeners.push(f);}};Core.prototype.attachInit=function(f){assert(typeof f==="function","fnFunction must be a function");if(this.aInitListeners){this.aInitListeners.push(f);}else{f();}};Core.prototype.lock=function(){this.bLocked=true;};Core.prototype.unlock=function(){this.bLocked=false;};Core.prototype.isLocked=function(){return this.bLocked;};Core.prototype.getConfiguration=function(){return this.oConfiguration;};Core.prototype.getRenderManager=function(){return this.createRenderManager();};Core.prototype.createRenderManager=function(){assert(this.isInitialized(),"A RenderManager should be created only after the Core has been initialized");var r=new RenderManager();r._setFocusHandler(this.oFocusHandler);return r.getInterface();};Core.prototype.getCurrentFocusedControlId=function(){if(!this.isInitialized()){throw new Error("Core must be initialized");}return this.oFocusHandler.getCurrentFocusedControlId();};var mLibraryPreloadFileTypes={};function evalLibConfig(l){assert(typeof l==='string'&&l||typeof l==='object'&&typeof l.name==='string'&&l.name&&(l.json==null||typeof l.json==='boolean'),"lib must be a non-empty string or an object with at least a non-empty 'name' property and an optional (boolean) property 'json'");var f='both';if(typeof l==='object'){if(l.json===true){f='json';}else if(l.json===false){f='js';}l=l.name;}var a=mLibraryPreloadFileTypes[l]||mLibraryPreloadFileTypes['']||'both';if(a==='both'){a=f;}else if(a!==f&&f!=='both'){a='none';}return{name:l,fileType:a};}function preloadLibraryAsync(l){var t=this;l=evalLibConfig(l);var a=l.name,f=l.fileType,b=a.replace(/\./g,'/'),h=this.oConfiguration.getDepCache();if(f==='none'||!!sap.ui.loader._.getModuleState(b+'/library.js')){return Promise.resolve(true);}var c=mLibraryPreloadBundles[a]||(mLibraryPreloadBundles[a]={});if(c.promise){return c.promise;}c.pending=true;c.async=true;var p;if(f!=='json'){var P=b+(h?'/library-h2-preload.js':'/library-preload.js');p=sap.ui.loader._.loadJSResourceAsync(P).then(function(){return dependenciesFromManifest(a);},function(e){if(f!=='js'){Log.error("failed to load '"+P+"' ("+(e&&e.message||e)+"), falling back to library-preload.json");return loadJSONAsync(a);}});}else{p=loadJSONAsync(a);}c.promise=p.then(function(d){var e=[],m=getManifest(a);if(d&&d.length){d=VersionInfo._getTransitiveDependencyForLibraries(d);e=d.map(preloadLibraryAsync.bind(t));}if(m&&Version(m._version).compareTo("1.9.0")>=0){e.push(t.getLibraryResourceBundle(a,true));}return Promise.all(e).then(function(){c.pending=false;});});return c.promise;}function getManifest(l){var m=l.replace(/\./g,'/')+'/manifest.json';if(!!sap.ui.loader._.getModuleState(m)){return LoaderExtensions.loadResource(m,{dataType:'json',async:false,failOnError:false});}}function dependenciesFromManifest(l){var m=getManifest(l);var a=m&&m["sap.ui5"]&&m["sap.ui5"].dependencies&&m["sap.ui5"].dependencies.libs;if(a){return Object.keys(a).reduce(function(r,d){if(!a[d].lazy){r.push(d);}return r;},[]);}}function registerPreloadedModules(d,u){var m=d.modules,U=function(n){return/^jquery\.sap\./.test(n)?n:n.replace(/\./g,"/");};if(Version(d.version||"1.0").compareTo("2.0")<0){m={};for(var n in d.modules){m[U(n)+".js"]=d.modules[n];}}sap.ui.require.preload(m,d.name,u);}function preprocessDependencies(d){if(Array.isArray(d)){return d.map(function(a){return a.replace(/\.library-preload$/,'');});}return d;}function loadJSONAsync(l){var u=getModulePath(l,"/library-preload.json");return Promise.resolve(jQuery.ajax({dataType:"json",url:u})).then(function(d){if(d){registerPreloadedModules(d,u);return preprocessDependencies(d.dependencies);}},function(x,t,e){Log.error("failed to load '"+u+"': "+(e||t));});}function preloadLibrarySync(l){l=evalLibConfig(l);var a=l.name,f=l.fileType,b=a.replace(/\./g,'/'),c=!!sap.ui.loader._.getModuleState(b+'/library.js');if(f==='none'||c){return;}var d=mLibraryPreloadBundles[a]||(mLibraryPreloadBundles[a]={});if(d.pending===false){return;}if(d.pending){if(d.async){Log.warning("request to load "+a+" synchronously while async loading is pending; this causes a duplicate request and should be avoided by caller");}else{Log.warning("request to load "+a+" synchronously while sync loading is pending (cycle, ignored)");return;}}d.pending=true;d.async=false;var r;d.promise=new Promise(function(_,h){r=_;});var g;if(f!=='json'){var p=b+'/library-preload';try{sap.ui.requireSync(p);g=dependenciesFromManifest(a);}catch(e){Log.error("failed to load '"+p+"' ("+(e&&e.message||e)+")");if(e&&e.loadError&&f!=='js'){g=loadJSONSync(a);}}}else{g=loadJSONSync(a);}if(g&&g.length){g.forEach(preloadLibrarySync);}d.pending=false;r();}function loadJSONSync(l){var u=getModulePath(l,"/library-preload.json");var d;jQuery.ajax({dataType:"json",async:false,url:u,success:function(a){if(a){registerPreloadedModules(a,u);d=a.dependencies;}},error:function(x,t,e){Log.error("failed to load '"+u+"': "+(e||t));}});return preprocessDependencies(d);}function getModulePath(m,s){return sap.ui.require.toUrl(m.replace(/\./g,"/")+s);}function registerModulePath(m,u){LoaderExtensions.registerResourcePath(m.replace(/\./g,"/"),u);}Core.prototype.loadLibrary=function(l,u){assert(typeof l==="string","sLibrary must be a string");assert(u===undefined||typeof u==='boolean'||typeof u==='string'||typeof u==='object'&&(u.url==null||typeof u.url==='string')&&(u.async==null||typeof u.async==='boolean'),"vUrl must be empty or a string or an object with an optional property 'url' of type string and an optional boolean property 'async'");if(typeof u==='boolean'){u={async:u};}if(typeof u==='object'){if(u.async){if(u.url&&mLibraryPreloadBundles[l]==null){registerModulePath(l,u.url);}return this.loadLibraries([l]);}u=u.url;}if(!mLoadedLibraries[l]){var m=l+".library";if(u){registerModulePath(l,u);}if(this.oConfiguration.preload==='sync'||this.oConfiguration.preload==='async'){preloadLibrarySync(l);}sap.ui.requireSync(m.replace(/\./g,"/"));if(!mLoadedLibraries[l]){Log.warning("library "+l+" didn't initialize itself");this.initLibrary(l);}}return this.mLibraries[l];};Core.prototype.loadLibraries=function(l,o){assert(Array.isArray(l),"aLibraries must be an array");o=Object.assign({async:true,preloadOnly:false},o);var p=this.oConfiguration.preload==='sync'||this.oConfiguration.preload==='async',a=o.async,r=!o.preloadOnly;function g(){return l.map(function(L){if(typeof L==='object'){L=L.name;}return L.replace(/\./g,"/")+"/library";});}function b(){return new Promise(function(e,f){sap.ui.require(g(),function(){e();},f);});}function c(){g().forEach(sap.ui.requireSync);}if(a){l=VersionInfo._getTransitiveDependencyForLibraries(l);var d=p?Promise.all(l.map(preloadLibraryAsync.bind(this))):Promise.resolve(true);return r?d.then(b):d;}else{if(p){l.forEach(preloadLibrarySync);}if(r){c();}}};Core.prototype.createComponent=function(c,u,i,s){if(typeof c==="string"){c={name:c,url:u};if(typeof i==="object"){c.settings=i;}else{c.id=i;c.settings=s;}}if(c.async&&(c.manifest!==undefined||(c.manifestFirst===undefined&&c.manifestUrl===undefined))){if(c.manifest===undefined){c.manifest=false;}return Component.create(c);}return sap.ui.component(c);};Core.prototype.getRootComponent=function(){return this.oRootComponent;};Core.prototype.initLibrary=function(l){assert(typeof l==='string'||typeof l==='object',"oLibInfo must be a string or object");var L=typeof l==='string';if(L){l={name:l};}var s=l.name,M="sap.ui.core.Core.initLibrary()";if(L){Log.error("[Deprecated] library "+s+" uses old fashioned initLibrary() call (rebuild with newest generator)");}if(!s||mLoadedLibraries[s]){return;}Log.debug("Analyzing Library "+s,null,M);mLoadedLibraries[s]=true;function e(o,I){var k,v;for(k in I){v=I[k];if(v!==undefined){if(Array.isArray(o[k])){if(o[k].length===0){o[k]=v;}else{o[k]=uniqueSort(o[k].concat(v));}}else if(o[k]===undefined){o[k]=v;}else if(k!="name"){Log.warning("library info setting ignored: "+k+"="+v);}}}return o;}ObjectPath.create(s);this.mLibraries[s]=l=e(this.mLibraries[s]||{name:s,dependencies:[],types:[],interfaces:[],controls:[],elements:[]},l);for(var i=0;i<l.dependencies.length;i++){var d=l.dependencies[i];Log.debug("resolve Dependencies to "+d,null,M);if(mLoadedLibraries[d]!==true){Log.warning("Dependency from "+s+" to "+d+" has not been resolved by library itself",null,M);this.loadLibrary(d);}}DataType.registerInterfaceTypes(l.interfaces);for(var i=0;i<l.types.length;i++){if(!/^(any|boolean|float|int|string|object|void)$/.test(l.types[i])){sap.ui.loader._.declareModule(l.types[i].replace(/\./g,"/")+".js");var n=l.types[i].substring(0,l.types[i].lastIndexOf("."));if(ObjectPath.get(n)===undefined){ObjectPath.create(n);}}}var E=l.controls.concat(l.elements);for(var i=0;i<E.length;i++){sap.ui.lazyRequire(E[i],"new extend getMetadata");}if(!l.noLibraryCSS){this._ensureThemeRoot(s,this.sTheme);this._ensureThemeRoot(s,"base");if(this.oConfiguration['preloadLibCss'].indexOf(s)<0){var q=this._getLibraryCssQueryParams(l);this.includeLibraryTheme(s,undefined,q);if(this.oThemeCheck&&this.isInitialized()){this.oThemeCheck.fireThemeChangedEvent(false);}}}l.sName=l.name;l.aControls=l.controls;this.fireLibraryChanged({name:s,stereotype:"library",operation:"add",metadata:l});};Core.prototype.includeLibraryTheme=function(l,v,q){assert(typeof l==="string","sLibName must be a string");assert(v===undefined||typeof v==="string","sVariant must be a string or undefined");if((l!="sap.ui.legacy")&&(l!="sap.ui.classic")){if(!v){v="";}var r=(this.oConfiguration.getRTL()?"-RTL":"");var L,s=l+(v.length>0?"-["+v+"]":v);if(l&&l.indexOf(":")==-1){L="library"+v+r;}else{L=l.substring(l.indexOf(":")+1)+v;l=l.substring(0,l.indexOf(":"));}var a="sap-ui-theme-"+s,o=document.getElementById(a);if(o){o.dataset.sapUiFoucmarker=a;}var c=this._getThemePath(l,this.sTheme)+L+".css"+(q?q:"");Log.info("Including "+c+" -  sap.ui.core.Core.includeLibraryTheme()");includeStylesheet(c,a);var P=sap.ui.require("sap/ui/core/theming/Parameters");if(P){P._addLibraryTheme(s);}}};Core.prototype._getLibraryCssQueryParams=function(l){var q;if(this.oConfiguration["versionedLibCss"]&&l){q="?version="+l.version;if(Global.versioninfo){q+="&sap-ui-dist-version="+Global.versioninfo.version;}}return q;};Core.prototype.getLoadedLibraries=function(){return Object.assign({},this.mLibraries);};Core.prototype.getLibraryResourceBundle=function(l,L,a){var m,k,r,i;if(typeof l==="boolean"){a=l;l=undefined;L=undefined;}if(typeof L==="boolean"){a=L;L=undefined;}assert((l===undefined&&L===undefined)||typeof l==="string","sLibraryName must be a string or there is no argument given at all");assert(L===undefined||typeof L==="string","sLocale must be a string or omitted");l=l||"sap.ui.core";L=L||this.getConfiguration().getLanguage();k=l+"/"+L;r=this.mResourceBundles[k];if(!r||(!a&&r instanceof Promise)){m=getManifest(l);if(m&&Version(m._version).compareTo("1.9.0")>=0){i=m["sap.ui5"]&&m["sap.ui5"].library&&m["sap.ui5"].library.i18n;}if(i!==false){r=ResourceBundle.create({url:getModulePath(l+"/",(typeof i==="string"?i:'messagebundle.properties')),locale:L,async:a});if(r instanceof Promise){r=r.then(function(b){this.mResourceBundles[k]=b;return b;}.bind(this));}this.mResourceBundles[k]=r;}}return a?Promise.resolve(r):r;};Core.prototype.setRoot=function(d,c){assert(typeof d==="string"||typeof d==="object","oDomRef must be a string or object");assert(c instanceof Interface||c instanceof Control,"oControl must be a Control or Interface");if(c){c.placeAt(d,"only");}};Core.prototype.createUIArea=function(d){var t=this;assert(typeof d==="string"||typeof d==="object","oDomRef must be a string or object");if(!d){throw new Error("oDomRef must not be null");}if(typeof(d)==="string"){var i=d;if(i==STATIC_UIAREA_ID){d=this.getStaticAreaRef();}else{d=(d?document.getElementById(d):null);if(!d){throw new Error("DOM element with ID '"+i+"' not found in page, but application tries to insert content.");}}}if(!d.id||d.id.length==0){d.id=uid();}var I=d.id;if(!this.mUIAreas[I]){this.mUIAreas[I]=new UIArea(this,d);if(!isEmptyObject(this.oModels)){var p={oModels:Object.assign({},this.oModels),oBindingContexts:{},aPropagationListeners:[]};t.mUIAreas[I]._propagateProperties(true,t.mUIAreas[I],p,true);}}else{this.mUIAreas[I].setRootNode(d);}return this.mUIAreas[I];};Core.prototype.getUIArea=function(o){assert(typeof o==="string"||typeof o==="object","o must be a string or object");var i="";if(typeof(o)=="string"){i=o;}else{i=o.id;}if(i){return this.mUIAreas[i];}return null;};Core.prototype.addInvalidatedUIArea=function(u){if(!this._sRerenderTimer){oRenderLog.debug("Registering timer for delayed re-rendering");this._sRerenderTimer=setTimeout(this["renderPendingUIUpdates"].bind(this),0);}};Core.MAX_RENDERING_ITERATIONS=20;Core.prototype.renderPendingUIUpdates=function(c){oRenderLog.debug("Render pending UI updates: start ("+(c||"by timer")+")");Measurement.start("renderPendingUIUpdates","Render pending UI updates in all UIAreas");var u=false,l=Core.MAX_RENDERING_ITERATIONS>0,L=0;this._bRendering=true;do{if(l){L++;if(L>Core.MAX_RENDERING_ITERATIONS){this._bRendering=false;throw new Error("Rendering has been re-started too many times ("+L+"). Add URL parameter sap-ui-xx-debugRendering=true for a detailed analysis.");}if(L>1){oRenderLog.debug("Render pending UI updates: iteration "+L);}}if(this._sRerenderTimer){if(this._sRerenderTimer!==this){clearTimeout(this._sRerenderTimer);}this._sRerenderTimer=undefined;}this.runPrerenderingTasks();var U=this.mUIAreas;for(var i in U){u=U[i].rerender()||u;}}while(l&&this._sRerenderTimer);this._bRendering=false;if(u){this.fireUIUpdated();}oRenderLog.debug("Render pending UI updates: finished");Measurement.end("renderPendingUIUpdates");};Core.prototype.getUIDirty=function(){return!!(this._sRerenderTimer||this._bRendering);};Core.prototype.attachUIUpdated=function(f,l){_oEventProvider.attachEvent(Core.M_EVENTS.UIUpdated,f,l);};Core.prototype.detachUIUpdated=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.UIUpdated,f,l);};Core.prototype.fireUIUpdated=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.UIUpdated,p);};Core.prototype.notifyContentDensityChanged=function(){this.fireThemeChanged();};Core.prototype.attachThemeChanged=function(f,l){_oEventProvider.attachEvent(Core.M_EVENTS.ThemeChanged,f,l);};Core.prototype.detachThemeChanged=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.ThemeChanged,f,l);};Core.prototype.fireThemeChanged=function(p){getScrollbarSize(true);var T=sap.ui.require("sap/ui/core/theming/Parameters");if(T){T.reset(true);}p=p||{};if(!p.theme){p.theme=this.getConfiguration().getTheme();}var e=Core.M_EVENTS.ThemeChanged;var E=jQuery.Event(e);E.theme=p.theme;Element.registry.forEach(function(o){o._handleEvent(E);});ActivityDetection.refresh();_oEventProvider.fireEvent(e,p);};Core.prototype.attachThemeScopingChanged=function(f,l){_oEventProvider.attachEvent(Core.M_EVENTS.ThemeScopingChanged,f,l);};Core.prototype.detachThemeScopingChanged=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.ThemeScopingChanged,f,l);};Core.prototype.fireThemeScopingChanged=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.ThemeScopingChanged,p);};Core.prototype.attachLocalizationChanged=function(f,l){_oEventProvider.attachEvent(Core.M_EVENTS.LocalizationChanged,f,l);};Core.prototype.detachLocalizationChanged=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.LocalizationChanged,f,l);};Core.prototype.fireLocalizationChanged=function(c){var e=Core.M_EVENTS.LocalizationChanged,b=jQuery.Event(e,{changes:c}),a=ManagedObject._handleLocalizationChange;Log.info("localization settings changed: "+Object.keys(c).join(","),null,"sap.ui.core.Core");each(this.oModels,function(p,m){if(m&&m._handleLocalizationChange){m._handleLocalizationChange();}});function n(p){each(this.mUIAreas,function(d,u){a.call(u,p);});Component.registry.forEach(function(C){a.call(C,p);});Element.registry.forEach(function(E){a.call(E,p);});}n.call(this,1);n.call(this,2);if(c.rtl!=undefined){document.documentElement.setAttribute("dir",c.rtl?"rtl":"ltr");this._updateThemeUrls(this.sTheme);each(this.mUIAreas,function(p,u){u.invalidate();});Log.info("RTL mode "+c.rtl?"activated":"deactivated");}Element.registry.forEach(function(E){E._handleEvent(b);});_oEventProvider.fireEvent(e,{changes:c});};Core.prototype.attachLibraryChanged=function(f,l){_oEventProvider.attachEvent(Core.M_EVENTS.LibraryChanged,f,l);};Core.prototype.detachLibraryChanged=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.LibraryChanged,f,l);};Core.prototype.fireLibraryChanged=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.LibraryChanged,p);};Core.prototype.applyChanges=function(){this.renderPendingUIUpdates("forced by applyChanges");};Core.prototype.registerElementClass=function(m){var n=m.getName(),l=m.getLibraryName()||"",L=this.mLibraries[l],c=Control.prototype.isPrototypeOf(m.getClass().prototype)?'controls':'elements';if(!L){ObjectPath.create(l);L=this.mLibraries[l]={name:l,dependencies:[],types:[],interfaces:[],controls:[],elements:[]};}if(L[c].indexOf(n)<0){L[c].push(n);Log.debug("Class "+m.getName()+" registered for library "+m.getLibraryName());this.fireLibraryChanged({name:m.getName(),stereotype:m.getStereotype(),operation:"add",metadata:m});}};Core.prototype.registerObject=function(o){var i=o.getId(),t=o.getMetadata().getStereotype(),a=this.getObject(t,i);if(a&&a!==o){Log.error("adding object \""+t+"\" with duplicate id '"+i+"'");throw new Error("Error: adding object \""+t+"\" with duplicate id '"+i+"'");}this.mObjects[t][i]=o;};Core.prototype.deregisterObject=function(o){var i=o.getId(),t=o.getMetadata().getStereotype();delete this.mObjects[t][i];};Core.prototype.byId=Element.registry.get;Core.prototype.getControl=Element.registry.get;Core.prototype.getElementById=Element.registry.get;Core.prototype.getObject=function(t,i){assert(i==null||typeof i==="string","sId must be a string when defined");assert(this.mObjects[t]!==undefined,"sType must be a supported stereotype");return i==null?undefined:this.mObjects[t]&&this.mObjects[t][i];};Core.prototype.getComponent=Component.registry.get;Core.prototype.getTemplate=function(i){Log.warning("Synchronous loading of 'sap/ui/core/tmpl/Template'. Use 'sap/ui/core/tmpl/Template' module and"+" call Template.byId instead","SyncXHR",null,function(){return{type:"SyncXHR",name:"Core.prototype.getTemplate"};});var T=sap.ui.requireSync('sap/ui/core/tmpl/Template');return T.byId(i);};Core.prototype.getStaticAreaRef=function(){var s=(STATIC_UIAREA_ID?document.getElementById(STATIC_UIAREA_ID):null),c,f;if(!s){s=document.createElement("div");f=document.createElement("span");c=this.getConfiguration();if(!this.bDomReady){throw new Error("DOM is not ready yet. Static UIArea cannot be created.");}s.setAttribute("id",STATIC_UIAREA_ID);if(document.body.getAttribute("role")!="application"&&!c.getAvoidAriaApplicationRole()){s.setAttribute("role","application");}Object.assign(s.style,{"height":"0","width":"0","overflow":"hidden","float":c.getRTL()?"right":"left"});f.setAttribute("id",STATIC_UIAREA_ID+"-firstfe");f.setAttribute("tabindex",-1);f.style.fontSize=0;s.appendChild(f);document.body.insertBefore(s,document.body.firstChild);this.createUIArea(s).bInitial=false;}return s;};Core.prototype.isStaticAreaRef=function(d){return d&&(d.id===STATIC_UIAREA_ID);};var oIntervalTrigger;Core.prototype.attachIntervalTimer=function(f,l){if(!oIntervalTrigger){oIntervalTrigger=sap.ui.requireSync("sap/ui/core/IntervalTrigger");}oIntervalTrigger.addListener(f,l);};Core.prototype.detachIntervalTimer=function(f,l){if(oIntervalTrigger){oIntervalTrigger.removeListener(f,l);}};Core.prototype.attachControlEvent=function(f,l){_oEventProvider.attachEvent(Core.M_EVENTS.ControlEvent,f,l);};Core.prototype.detachControlEvent=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.ControlEvent,f,l);};Core.prototype.fireControlEvent=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.ControlEvent,p);};Core.prototype._handleControlEvent=function(e,u){var E=jQuery.Event(e.type);Object.assign(E,e);E.originalEvent=undefined;this.fireControlEvent({"browserEvent":E,"uiArea":u});};Core.prototype.getApplication=function(){return sap.ui.getApplication&&sap.ui.getApplication();};Core.prototype.registerPlugin=function(p){assert(typeof p==="object","oPlugin must be an object");if(!p){return;}for(var i=0,l=this.aPlugins.length;i<l;i++){if(this.aPlugins[i]===p){return;}}this.aPlugins.push(p);if(this.bInitialized&&p&&p.startPlugin){p.startPlugin(this);}};Core.prototype.unregisterPlugin=function(p){assert(typeof p==="object","oPlugin must be an object");if(!p){return;}var P=-1;for(var i=this.aPlugins.length;i--;i>=0){if(this.aPlugins[i]===p){P=i;break;}}if(P==-1){return;}if(this.bInitialized&&p&&p.stopPlugin){p.stopPlugin(this);}this.aPlugins.splice(P,1);};Core.prototype.startPlugins=function(){for(var i=0,l=this.aPlugins.length;i<l;i++){var p=this.aPlugins[i];if(p&&p.startPlugin){p.startPlugin(this,true);}}};Core.prototype.stopPlugins=function(){for(var i=0,l=this.aPlugins.length;i<l;i++){var p=this.aPlugins[i];if(p&&p.stopPlugin){p.stopPlugin(this);}}};Core.prototype.setModel=function(m,n){assert(m==null||BaseObject.isA(m,'sap.ui.model.Model'),"oModel must be an instance of sap.ui.model.Model, null or undefined");assert(n===undefined||(typeof n==="string"&&!/^(undefined|null)?$/.test(n)),"sName must be a string or omitted");var t=this,p;if(!m&&this.oModels[n]){delete this.oModels[n];if(isEmptyObject(t.oModels)&&isEmptyObject(t.oBindingContexts)){p=ManagedObject._oEmptyPropagatedProperties;}else{p={oModels:Object.assign({},t.oModels),oBindingContexts:{},aPropagationListeners:[]};}each(this.mUIAreas,function(a,u){if(m!=u.getModel(n)){u._propagateProperties(n,u,p,false,n);}});}else if(m&&m!==this.oModels[n]){this.oModels[n]=m;each(this.mUIAreas,function(a,u){if(m!=u.getModel(n)){var p={oModels:Object.assign({},this.oModels),oBindingContexts:{},aPropagationListeners:[]};u._propagateProperties(n,u,p,false,n);}}.bind(this));}return this;};Core.prototype.setMessageManager=function(m){this.oMessageManager=m;};Core.prototype.getMessageManager=function(){if(!this.oMessageManager){this.oMessageManager=new MessageManager();}return this.oMessageManager;};Core.prototype.byFieldGroupId=function(f){return Element.registry.filter(function(e){return e instanceof Control&&e.checkFieldGroupIds(f);});};Core.prototype.getModel=function(n){assert(n===undefined||(typeof n==="string"&&!/^(undefined|null)?$/.test(n)),"sName must be a string or omitted");return this.oModels[n];};Core.prototype.hasModel=function(){return!isEmptyObject(this.oModels);};Core.prototype.getEventBus=function(){if(!this.oEventBus){var E=sap.ui.require('sap/ui/core/EventBus');if(!E){Log.warning("Synchronous loading of EventBus. Ensure that 'sap/ui/core/EventBus' module is loaded"+" before this function is called.","SyncXHR",null,function(){return{type:"SyncXHR",name:"core-eventbus"};});E=sap.ui.requireSync('sap/ui/core/EventBus');}var e=this.oEventBus=new E();this._preserveHandler=function(a){e.publish("sap.ui","__preserveContent",{domNode:a.domNode});};RenderManager.attachPreserveContent(this._preserveHandler);}return this.oEventBus;};Core.prototype.attachValidationError=function(d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}_oEventProvider.attachEvent(Core.M_EVENTS.ValidationError,d,f,l);return this;};Core.prototype.detachValidationError=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.ValidationError,f,l);return this;};Core.prototype.attachParseError=function(d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}_oEventProvider.attachEvent(Core.M_EVENTS.ParseError,d,f,l);return this;};Core.prototype.detachParseError=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.ParseError,f,l);return this;};Core.prototype.attachFormatError=function(d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}_oEventProvider.attachEvent(Core.M_EVENTS.FormatError,d,f,l);return this;};Core.prototype.detachFormatError=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.FormatError,f,l);return this;};Core.prototype.attachValidationSuccess=function(d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}_oEventProvider.attachEvent(Core.M_EVENTS.ValidationSuccess,d,f,l);return this;};Core.prototype.detachValidationSuccess=function(f,l){_oEventProvider.detachEvent(Core.M_EVENTS.ValidationSuccess,f,l);return this;};Core.prototype.fireParseError=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.ParseError,p);return this;};Core.prototype.fireValidationError=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.ValidationError,p);return this;};Core.prototype.fireFormatError=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.FormatError,p);return this;};Core.prototype.fireValidationSuccess=function(p){_oEventProvider.fireEvent(Core.M_EVENTS.ValidationSuccess,p);return this;};Core.prototype.isMobile=function(){return Device.browser.mobile;};Core.prototype._getEventProvider=function(){return _oEventProvider;};Core.prototype.addPrerenderingTask=function(p,f){if(f){this.aPrerenderingTasks.unshift(p);}else{this.aPrerenderingTasks.push(p);}this.addInvalidatedUIArea();};Core.prototype.runPrerenderingTasks=function(){var t=this.aPrerenderingTasks.slice();this.aPrerenderingTasks=[];t.forEach(function(p){p();});};Core.prototype.destroy=function(){RenderManager.detachPreserveContent(this._preserveHandler);this.oFocusHandler.destroy();_oEventProvider.destroy();BaseObject.prototype.destroy.call(this);};sap.ui.setRoot=function(d,c){assert(typeof d==="string"||typeof d==="object","oDomRef must be a string or object");assert(c instanceof Interface||c instanceof Control,"oControl must be a Control or Interface");sap.ui.getCore().setRoot(d,c);};return new Core().getInterface();});
sap.ui.predefine('sap/ui/core/CustomData',['./Element'],function(E){"use strict";var C=E._CustomData;return C;});
sap.ui.predefine('sap/ui/core/CustomStyleClassSupport',['./Element',"sap/base/assert","sap/base/Log","sap/ui/thirdparty/jquery"],function(E,a,L,q){"use strict";var C=function(){if(!(this instanceof E)){return;}var o=this.clone;this.clone=function(){var c=o.apply(this,arguments);if(this.aCustomStyleClasses){c.aCustomStyleClasses=this.aCustomStyleClasses.slice();}if(this.mCustomStyleClassMap){c.mCustomStyleClassMap=q.extend({},this.mCustomStyleClassMap);}return c;};var r=/\S+/g;this.addStyleClass=function(s,S){a(typeof s==="string","sStyleClass must be a string");var c,m=false;var b=[],d=g();if(!this.aCustomStyleClasses){this.aCustomStyleClasses=[];}if(!this.mCustomStyleClassMap){this.mCustomStyleClassMap={};}if(s&&typeof s==="string"){if(s.indexOf("\"")>-1){return this;}if(s.indexOf("'")>-1){return this;}c=s.match(r)||[];c.forEach(function(e){if(!this.mCustomStyleClassMap[e]){this.mCustomStyleClassMap[e]=true;this.aCustomStyleClasses.push(e);if(d&&d.indexOf(e)>-1){b.push(e);}m=true;}}.bind(this));if(!m){return this;}var R=this.getDomRef();if(R){q(R).addClass(s);}else if(S===false){this.invalidate();}if(b.length>0){f(this,b,true);}}return this;};this.removeStyleClass=function(s,S){a(typeof s==="string","sStyleClass must be a string");var c,e=false,n;var b=[],d=g();if(s&&typeof s==="string"&&this.aCustomStyleClasses&&this.mCustomStyleClassMap){c=s.match(r)||[];c.forEach(function(h){if(this.mCustomStyleClassMap[h]){e=true;n=this.aCustomStyleClasses.indexOf(h);if(n!==-1){this.aCustomStyleClasses.splice(n,1);delete this.mCustomStyleClassMap[h];if(d&&d.indexOf(h)>-1){b.push(h);}}}}.bind(this));}if(e){var R=this.getDomRef();if(R){q(R).removeClass(s);}else if(S===false){this.invalidate();}if(b.length>0){f(this,b,false);}}return this;};this.toggleStyleClass=function(s,A){a(typeof s==="string","sStyleClass must be a string");if(s&&typeof s==="string"){if(A===true){this.addStyleClass(s);}else if(A===false){this.removeStyleClass(s);}else if(A===undefined){this.hasStyleClass(s)?this.removeStyleClass(s):this.addStyleClass(s);}else{L.warning(this.toString()+"- toggleStyleClass(): bAdd should be a boolean or undefined, but is '"+A+"'");}}return this;};this.hasStyleClass=function(s){a(typeof s==="string","sStyleClass must be a string");var c;if(s&&typeof s==="string"&&this.mCustomStyleClassMap){c=s.match(r)||[];return c.length!==0&&c.every(function(b){return this.mCustomStyleClassMap[b];}.bind(this));}return false;};this.getMetadata().addPublicMethods(["addStyleClass","removeStyleClass","toggleStyleClass","hasStyleClass"]);};var P;function g(){if(!P){P=sap.ui.require("sap/ui/core/theming/Parameters");}if(P){return P._getScopes(true);}}function f(e,s,i){sap.ui.getCore().fireThemeScopingChanged({scopes:s,added:i,element:e});}return C;},true);
sap.ui.predefine('sap/ui/core/DeclarativeSupport',['sap/ui/thirdparty/jquery','sap/ui/base/DataType','sap/ui/base/ManagedObject','./Control','./CustomData','./HTML','./mvc/View','./mvc/EventHandlerResolver','sap/base/Log','sap/base/util/ObjectPath','sap/base/assert','sap/base/strings/camelize'],function(q,D,M,C,a,H,V,E,L,O,b,c){"use strict";var d={};d.attributes={"data-sap-ui-type":true,"data-sap-ui-id":true,"data-sap-ui-aggregation":true,"data-sap-ui-default-aggregation":true,"data-sap-ui-binding":function(v,s){var B=M.bindingParser(v);s.objectBindings=s.objectBindings||{};s.objectBindings[B.model||undefined]=B;},"data-tooltip":function(v,s){s["tooltip"]=v;},"tooltip":function(v,s,f){s["tooltip"]=v;L.warning('[Deprecated] Control "'+s.id+'": The attribute "tooltip" is not prefixed with "data-*". Future version of declarative support will only suppport attributes with "data-*" prefix.');},"class":true,"style":true,"id":true};d.compile=function(e,v,i){var t=this;q(e).find("[data-sap-ui-type]").filter(function(){return q(this).parents("[data-sap-ui-type]").length===0;}).each(function(){t._compile(this,v,i);});};d._compile=function(e,v,i){var $=q(e);var t=$.attr("data-sap-ui-type");var f=[];var I=t==="sap.ui.core.UIArea";if(I){var g=this;$.children().each(function(){var o=g._createControl(this,v);if(o){f.push(o);}});}else{var o=this._createControl(e,v);if(o){f.push(o);}}$.empty();var A=[];q.each(e.attributes,function(h,j){var n=j.name;if(!I||I&&/^data-/g.test(n.toLowerCase())){A.push(n);}});if(A.length>0){$.removeAttr(A.join(" "));}f.forEach(function(o){if(o instanceof C){if(v&&!i){v.addContent(o);}else{o.placeAt(e);if(v){v.connectControl(o);}}}});};d._createControl=function(e,v){var $=q(e);var o=null;var t=$.attr("data-sap-ui-type");if(t){var f=sap.ui.requireSync(t.replace(/\./g,"/"));f=f||O.get(t);b(typeof f!=="undefined","Class not found: "+t);var s={};s.id=this._getId($,v);if(v&&v._sProcessingMode!=null&&f.getMetadata().hasSpecialSetting("processingMode")){s.processingMode=v._sProcessingMode;}this._addSettingsForAttributes(s,f,e,v);this._addSettingsForAggregations(s,f,e,v);var o;if(V.prototype.isPrototypeOf(f.prototype)&&typeof f._sType==="string"){o=V._legacyCreate(s,undefined,f._sType);}else{o=new f(s);}if(e.className){o.addStyleClass(e.className);}$.removeAttr("data-sap-ui-type");}else{o=this._createHtmlControl(e,v);}return o;};d._createHtmlControl=function(e,v){var h=new H();h.setDOMContent(e);this.compile(e,v,true);return h;};d._addSettingsForAttributes=function(s,f,e,v){var t=this;var S=d.attributes;var B=M.bindingParser;var g=[];var r=/^data-custom-data:(.+)/i;q.each(e.attributes,function(i,A){var n=A.name;var h=A.value;if(!r.test(n)){if(typeof S[n]==="undefined"){n=t.convertAttributeToSettingName(n,s.id);var p=t._getProperty(f,n);if(p){var o=B(h,v&&v.getController(),true);if(o&&typeof o==="object"){s[n]=o;}else{s[n]=t.convertValueToType(t.getPropertyDataType(p),o||h);}}else if(t._getAssociation(f,n)){var j=t._getAssociation(f,n);if(j.multiple){h=h.replace(/\s*,\s*|\s+/g,",");s[n]=h.split(",").map(function(I){return v?v.createId(I):I;});}else{s[n]=v?v.createId(h):h;}}else if(t._getAggregation(f,n)){var k=t._getAggregation(f,n);if(k.multiple){var o=B(h,v&&v.getController());if(o){s[n]=o;}else{throw new Error("Aggregation "+n+" with cardinality 0..n only allows binding paths as attribute value");}}else if(k.altTypes){var o=B(h,v&&v.getController(),true);if(o&&typeof o==="object"){s[n]=o;}else{s[n]=t.convertValueToType(k.altTypes[0],o||h);}}else{throw new Error("Aggregation "+n+" not supported");}}else if(t._getEvent(f,n)){var l=v&&(v._oContainingView||v).getController();var m=E.resolveEventHandler(h,l);if(m){s[n]=m;}else{throw new Error('Control "'+s.id+'": The function "'+h+'" for the event "'+n+'" is not defined');}}else{b((n==="id"),"DeclarativeSupport encountered unknown setting '"+n+"' for class '"+f.getMetadata().getName()+"' (value:'"+h+"')");}}else if(typeof S[n]==="function"){S[n](h,s,f);}}else{n=c(r.exec(n)[1]);var o=B(h,v&&v.getController());g.push(new a({key:n,value:o||h}));}});if(g.length>0){s.customData=g;}return s;};d._addSettingsForAggregations=function(s,f,e,v){var $=q(e);var g=this._getDefaultAggregation(f,e);var t=this;var A=f.getMetadata().getAllAggregations();$.children().each(function(){var h=q(this);var i=h.attr("data-sap-ui-aggregation");var T=h.attr("data-sap-ui-type");var u=false;if(!i){u=true;i=g;}if(i&&A[i]){var m=A[i].multiple;var j=function(o){var k=t._createControl(o,v);if(k){if(m){if(!s[i]){s[i]=[];}if(typeof s[i].path==="string"){b(!s[i].template,"list bindings support only a single template object");s[i].template=k;}else{s[i].push(k);}}else{s[i]=k;}}};if(u||(T&&!u)){j(this);}else{h.children().each(function(){j(this);});}}h.removeAttr("data-sap-ui-aggregation");h.removeAttr("data-sap-ui-type");});return s;};d._getId=function(e,v){var $=q(e);var i=$.attr("id");if(i){if(v){i=v.createId(i);$.attr("data-sap-ui-id",i);}$.attr("id","");}return i;};d._getProperty=function(f,n){return f.getMetadata().getProperty(n);};d.convertValueToType=function(t,v){if(t instanceof D){v=t.parseValue(v);}return typeof v==="string"?M.bindingParser.escape(v):v;};d.getPropertyDataType=function(p){var t=D.getType(p.type);if(!t){throw new Error("Property "+p.name+" has no known type");}return t;};d.convertAttributeToSettingName=function(A,i,e){if(A.indexOf("data-")===0){A=A.substr(5);}else if(e){L.warning('[Deprecated] Control "'+i+'": The attribute "'+A+'" is not prefixed with "data-*". Future version of declarative support will only suppport attributes with "data-*" prefix.');}else{throw new Error('Control "'+i+'": The attribute "'+A+'" is not prefixed with "data-*".');}return c(A);};d._getAssociation=function(f,n){return f.getMetadata().getAssociation(n);};d._getAggregation=function(f,n){return f.getMetadata().getAggregation(n);};d._getEvent=function(f,n){return f.getMetadata().getEvent(n);};d._getDefaultAggregation=function(f,e){var $=q(e);var s=$.attr("data-sap-ui-default-aggregation")||f.getMetadata().getDefaultAggregationName();$.removeAttr("data-sap-ui-default-aggregation");return s;};return d;},true);
sap.ui.predefine('sap/ui/core/Element',['../base/DataType','../base/Object','../base/ManagedObject','../base/ManagedObjectRegistry','./ElementMetadata','../Device',"sap/ui/performance/trace/Interaction","sap/base/Log","sap/base/assert","sap/ui/thirdparty/jquery","sap/ui/events/F6Navigation","./RenderManager"],function(D,B,M,a,E,b,I,L,c,q,F,R){"use strict";var d=M.extend("sap.ui.core.Element",{metadata:{stereotype:"element","abstract":true,publicMethods:["getId","getMetadata","getTooltip_AsString","getTooltip_Text","getModel","setModel","hasModel","bindElement","unbindElement","getElementBinding","prop","getLayoutData","setLayoutData"],library:"sap.ui.core",aggregations:{tooltip:{name:"tooltip",type:"sap.ui.core.TooltipBase",altTypes:["string"],multiple:false},customData:{name:"customData",type:"sap.ui.core.CustomData",multiple:true,singularName:"customData"},layoutData:{name:"layoutData",type:"sap.ui.core.LayoutData",multiple:false,singularName:"layoutData"},dependents:{name:"dependents",type:"sap.ui.core.Element",multiple:true},dragDropConfig:{name:"dragDropConfig",type:"sap.ui.core.dnd.DragDropBase",multiple:true,singularName:"dragDropConfig"}}},constructor:function(i,S){M.apply(this,arguments);},renderer:null},E);a.apply(d,{onDuplicate:function(i,o,h){if(o._sapui_candidateForDestroy){L.debug("destroying dangling template "+o+" when creating new object with same ID");o.destroy();}else{var m="adding element with duplicate id '"+i+"'";if(sap.ui.getCore().getConfiguration().getNoDuplicateIds()){L.error(m);throw new Error("Error: "+m);}else{L.warning(m);}}}});d.defineClass=function(h,S,m){return B.defineClass(h,S,m||E);};d.prototype.getInterface=function(){return this;};d.prototype._handleEvent=function(o){var t=this,h="on"+o.type;function j(k){var i,l,m;if(k&&(l=k.length)>0){k=l===1?k:k.slice();for(i=0;i<l;i++){if(o.isImmediateHandlerPropagationStopped()){return;}m=k[i].oDelegate;if(m[h]){m[h].call(k[i].vThis===true?t:k[i].vThis||m,o);}}}}j(this.aBeforeDelegates);if(o.isImmediateHandlerPropagationStopped()){return;}if(this[h]){this[h](o);}j(this.aDelegates);};d.prototype.init=function(){};d.prototype.exit=function(){};d.create=M.create;d.prototype.toString=function(){return"Element "+this.getMetadata().getName()+"#"+this.sId;};d.prototype.getDomRef=function(S){return(((S?this.getId()+"-"+S:this.getId()))?window.document.getElementById(S?this.getId()+"-"+S:this.getId()):null);};d.prototype.$=function(S){return q(this.getDomRef(S));};d.prototype.isActive=function(){return this.oParent&&this.oParent.isActive();};d.prototype.prop=function(p,v){var P=this.getMetadata().getAllSettings()[p];if(P){if(arguments.length==1){return this[P._sGetter]();}else{this[P._sMutator](v);return this;}}};d.prototype.insertDependent=function(o,i){this.insertAggregation("dependents",o,i,true);return this;};d.prototype.addDependent=function(o){this.addAggregation("dependents",o,true);return this;};d.prototype.removeDependent=function(v){return this.removeAggregation("dependents",v,true);};d.prototype.removeAllDependents=function(){return this.removeAllAggregation("dependents",true);};d.prototype.destroyDependents=function(){this.destroyAggregation("dependents",true);return this;};d.prototype.rerender=function(){if(this.oParent){this.oParent.rerender();}};d.prototype.getUIArea=function(){return this.oParent?this.oParent.getUIArea():null;};d.prototype.destroy=function(S){if(this.bIsDestroyed){return;}var h=!this.getParent();d._updateFocusInfo(this);M.prototype.destroy.call(this,S);this.data=n;var o=this.getDomRef();if(!o){return;}var k=(S==="KeepDom");if(S===true||(!k&&h)||this.isA("sap.ui.core.PopupInterface")||R.isPreservedContent(o)){q(o).remove();}else{o.removeAttribute("data-sap-ui-preserve");if(!k){o.id="sap-ui-destroyed-"+this.getId();for(var i=0,j=o.querySelectorAll('[id^="'+this.getId()+'-"]');i<j.length;i++){j[i].id="sap-ui-destroyed-"+j[i].id;}}}};d.prototype.fireEvent=function(h,p,A,i){if(this.hasListeners(h)){I.notifyStepStart(this);}if(typeof p==='boolean'){i=A;A=p;p=null;}p=p||{};p.id=p.id||this.getId();if(d._interceptEvent){d._interceptEvent(h,this,p);}return M.prototype.fireEvent.call(this,h,p,A,i);};d._interceptEvent=undefined;d.prototype.addDelegate=function(o,h,t,i){c(o,"oDelegate must be not null or undefined");if(!o){return this;}this.removeDelegate(o);if(typeof h==="object"){i=t;t=h;h=false;}if(typeof t==="boolean"){i=t;t=undefined;}(h?this.aBeforeDelegates:this.aDelegates).push({oDelegate:o,bClone:!!i,vThis:((t===this)?true:t)});return this;};d.prototype.removeDelegate=function(o){var i;for(i=0;i<this.aDelegates.length;i++){if(this.aDelegates[i].oDelegate==o){this.aDelegates.splice(i,1);i--;}}for(i=0;i<this.aBeforeDelegates.length;i++){if(this.aBeforeDelegates[i].oDelegate==o){this.aBeforeDelegates.splice(i,1);i--;}}return this;};d.prototype.addEventDelegate=function(o,t){return this.addDelegate(o,false,t,true);};d.prototype.removeEventDelegate=function(o){return this.removeDelegate(o);};d.prototype.getFocusDomRef=function(){return this.getDomRef()||null;};function g(o){var p,S=[];p=o.parentNode;while(p){S.push({node:p,scrollLeft:p.scrollLeft,scrollTop:p.scrollTop});p=p.parentNode;}return S;}function r(S){S.forEach(function(o){var h=o.node;if(h.scrollLeft!==o.scrollLeft){h.scrollLeft=o.scrollLeft;}if(h.scrollTop!==o.scrollTop){h.scrollTop=o.scrollTop;}});}d.prototype.focus=function(o){var h=this.getFocusDomRef(),S=[];o=o||{};if(h){if(b.browser.safari||b.browser.msie||b.browser.edge){if(o.preventScroll===true){S=g(h);}h.focus();if(S.length>0){setTimeout(r.bind(null,S),0);}}else{h.focus(o);}}};d.prototype.getFocusInfo=function(){return{id:this.getId()};};d.prototype.applyFocusInfo=function(o){this.focus(o);return this;};d.prototype._refreshTooltipBaseDelegate=function(t){var T=sap.ui.require('sap/ui/core/TooltipBase');if(T){var o=this.getTooltip();if(o instanceof T){this.removeDelegate(o);}if(t instanceof T){t._currentControl=this;this.addDelegate(t);}}};d.prototype.setTooltip=function(t){this._refreshTooltipBaseDelegate(t);this.setAggregation("tooltip",t);return this;};d.prototype.getTooltip=function(){return this.getAggregation("tooltip");};d.runWithPreprocessors=M.runWithPreprocessors;d.prototype.getTooltip_AsString=function(){var t=this.getTooltip();if(typeof t==="string"||t instanceof String){return t;}return undefined;};d.prototype.getTooltip_Text=function(){var t=this.getTooltip();if(t&&typeof t.getText==="function"){return t.getText();}return t;};var C=d.extend("sap.ui.core.CustomData",{metadata:{library:"sap.ui.core",properties:{key:{type:"string",group:"Data",defaultValue:null},value:{type:"any",group:"Data",defaultValue:null},writeToDom:{type:"boolean",group:"Data",defaultValue:false}},designtime:"sap/ui/core/designtime/CustomData.designtime"}});C.prototype.setValue=function(v){this.setProperty("value",v,true);var o=this.getParent();if(o&&o.getDomRef()){var h=this._checkWriteToDom(o);if(h){o.$().attr(h.key,h.value);}}return this;};C.prototype._checkWriteToDom=function(o){if(!this.getWriteToDom()){return null;}var k=this.getKey();var v=this.getValue();function h(j){L.error("CustomData with key "+k+" should be written to HTML of "+o+" but "+j);return null;}if(typeof v!="string"){return h("the value is not a string.");}var i=D.getType("sap.ui.core.ID");if(!(i.isValid(k))||(k.indexOf(":")!=-1)){return h("the key is not valid (must be a valid sap.ui.core.ID without any colon).");}if(k==F.fastNavigationKey){v=/^\s*(x|true)\s*$/i.test(v)?"true":"false";}else if(k.indexOf("sap-ui")==0){return h("the key is not valid (may not start with 'sap-ui').");}return{key:"data-"+k,value:v};};function f(h,k){var j=h.getAggregation("customData");if(j){for(var i=0;i<j.length;i++){if(j[i].getKey()==k){return j[i];}}}return null;}function s(h,k,v,w){if(v===null){var i=f(h,k);if(!i){return;}var j=h.getAggregation("customData").length;if(j==1){h.destroyAggregation("customData",true);}else{h.removeAggregation("customData",i,true);i.destroy();}}else{var i=f(h,k);if(i){i.setValue(v);i.setWriteToDom(w);}else{var i=new C({key:k,value:v,writeToDom:w});h.addAggregation("customData",i,true);}}}d.prototype.data=function(){var h=arguments.length;if(h==0){var j=this.getAggregation("customData"),k={};if(j){for(var i=0;i<j.length;i++){k[j[i].getKey()]=j[i].getValue();}}return k;}else if(h==1){var l=arguments[0];if(l===null){this.destroyAggregation("customData",true);return this;}else if(typeof l=="string"){var m=f(this,l);return m?m.getValue():null;}else if(typeof l=="object"){for(var o in l){s(this,o,l[o]);}return this;}else{throw new TypeError("When data() is called with one argument, this argument must be a string, an object or null, but is "+(typeof l)+":"+l+" (on UI Element with ID '"+this.getId()+"')");}}else if(h==2){s(this,arguments[0],arguments[1]);return this;}else if(h==3){s(this,arguments[0],arguments[1],arguments[2]);return this;}else{throw new TypeError("data() may only be called with 0-3 arguments (on UI Element with ID '"+this.getId()+"')");}};d._CustomData=C;function n(){var h=arguments.length;if(h===1&&arguments[0]!==null&&typeof arguments[0]=="object"||h>1&&h<4&&arguments[1]!==null){L.error("Cannot create custom data on an already destroyed element '"+this+"'");return this;}return d.prototype.data.apply(this,arguments);}d.prototype.clone=function(h,l){var o=M.prototype.clone.apply(this,arguments);for(var i=0;i<this.aDelegates.length;i++){if(this.aDelegates[i].bClone){o.aDelegates.push(this.aDelegates[i]);}}for(var i=0;i<this.aBeforeDelegates.length;i++){if(this.aBeforeDelegates[i].bClone){o.aBeforeDelegates.push(this.aBeforeDelegates[i]);}}if(this._sapui_declarativeSourceInfo){o._sapui_declarativeSourceInfo=Object.assign({},this._sapui_declarativeSourceInfo);}return o;};d.prototype.findElements=M.prototype.findAggregatedObjects;function e(o){var l=o.getParent();if(l){var h=q.Event("LayoutDataChange");h.srcControl=o;l._handleEvent(h);}}d.prototype.setLayoutData=function(l){this.setAggregation("layoutData",l,true);e(this);return this;};d.prototype.destroyLayoutData=function(){this.destroyAggregation("layoutData",true);e(this);return this;};d.prototype.bindElement=M.prototype.bindObject;d.prototype.unbindElement=M.prototype.unbindObject;d.prototype.getElementBinding=M.prototype.getObjectBinding;d.prototype._getFieldGroupIds=function(){var h;if(this.getMetadata().hasProperty("fieldGroupIds")){h=this.getFieldGroupIds();}if(!h||h.length==0){var p=this.getParent();if(p&&p._getFieldGroupIds){return p._getFieldGroupIds();}}return h||[];};d.prototype.getDomRefForSetting=function(S){var o=this.getMetadata().getAllSettings()[S];if(o&&o.selector){var h=this.getDomRef();if(h){h=h.parentNode;if(h&&h.querySelector){var i=o.selector.replace(/\{id\}/g,this.getId().replace(/(:|\.)/g,'\\$1'));return h.querySelector(i);}}}return null;};d.prototype._getMediaContainerWidth=function(){if(typeof this._oContextualSettings==="undefined"){return undefined;}return this._oContextualSettings.contextualWidth;};d.prototype._getCurrentMediaContainerRange=function(N){var w=this._getMediaContainerWidth();N=N||b.media.RANGESETS.SAP_STANDARD;return b.media.getCurrentRange(N,w);};d.prototype._onContextualSettingsChanged=function(){var w=this._getMediaContainerWidth(),S=w!==undefined,p=S^!!this._bUsingContextualWidth,l=this._aContextualWidthListeners||[];if(p){if(S){l.forEach(function(o){b.media.detachHandler(o.callback,o.listener,o.name);});}else{l.forEach(function(o){b.media.attachHandler(o.callback,o.listener,o.name);});}this._bUsingContextualWidth=S;}l.forEach(function(o){var m=this._getCurrentMediaContainerRange(o.name);if(m.from!==o.media.from){o.media=m;o.callback.call(o.listener||window,m);}},this);};d.prototype._attachMediaContainerWidthChange=function(h,l,N){N=N||b.media.RANGESETS.SAP_STANDARD;this._aContextualWidthListeners=this._aContextualWidthListeners||[];this._aContextualWidthListeners.push({callback:h,listener:l,name:N,media:this._getCurrentMediaContainerRange(N)});if(!this._bUsingContextualWidth){b.media.attachHandler(h,l,N);}};d.prototype._detachMediaContainerWidthChange=function(h,l,N){var o;N=N||b.media.RANGESETS.SAP_STANDARD;if(!this._aContextualWidthListeners){return;}for(var i=0,j=this._aContextualWidthListeners.length;i<j;i++){o=this._aContextualWidthListeners[i];if(o.callback===h&&o.listener===l&&o.name===N){if(!this._bUsingContextualWidth){b.media.detachHandler(h,l,N);}this._aContextualWidthListeners.splice(i,1);break;}}};return d;});
sap.ui.predefine('sap/ui/core/ElementMetadata',['sap/base/Log','sap/base/util/ObjectPath','sap/ui/base/ManagedObjectMetadata','sap/ui/core/Renderer'],function(L,O,M,R){"use strict";var E=function(c,C){M.apply(this,arguments);};E.prototype=Object.create(M.prototype);E.uid=M.uid;E.prototype.getElementName=function(){return this._sClassName;};E.prototype.getRendererName=function(){return this._sRendererName;};E.prototype.getRenderer=function(){if(this._oRenderer){return this._oRenderer;}var r=this.getRendererName();if(!r){return;}this._oRenderer=O.get(r);if(this._oRenderer){return this._oRenderer;}L.warning("Synchronous loading of Renderer for control class '"+this.getName()+"', due to missing Renderer dependency.","SyncXHR",null,function(){return{type:"SyncXHR",name:r};});this._oRenderer=sap.ui.requireSync(r.replace(/\./g,"/"))||O.get(r);return this._oRenderer;};E.prototype.applySettings=function(c){var s=c.metadata;this._sVisibility=s.visibility||"public";var r=c.hasOwnProperty("renderer")?(c.renderer||""):undefined;delete c.renderer;M.prototype.applySettings.call(this,c);var p=this.getParent();this._sRendererName=this.getName()+"Renderer";this.dnd=Object.assign({draggable:false,droppable:false},p.dnd,(typeof s.dnd=="boolean")?{draggable:s.dnd,droppable:s.dnd}:s.dnd);if(typeof r!=="undefined"){if(typeof r==="string"){this._sRendererName=r||undefined;return;}if(typeof r==="object"&&typeof r.render==="function"){var o=O.get(this.getRendererName());if(o===r){this._oRenderer=r;return;}if(o===undefined&&typeof r.extend==="function"){O.set(this.getRendererName(),r);this._oRenderer=r;return;}}if(typeof r==="function"){r={render:r};}var p=this.getParent();var b;if(p instanceof E){b=p.getRenderer();}this._oRenderer=R.extend.call(b||R,this.getRendererName(),r);}};E.prototype.afterApplySettings=function(){M.prototype.afterApplySettings.apply(this,arguments);this.register&&this.register(this);};E.prototype.isHidden=function(){return this._sVisibility==="hidden";};var m=E.prototype.metaFactoryAggregation;function A(c,n,i){m.apply(this,arguments);this.dnd=Object.assign({draggable:false,droppable:false,layout:"Vertical"},(typeof i.dnd=="boolean")?{draggable:i.dnd,droppable:i.dnd}:i.dnd);}A.prototype=Object.create(m.prototype);E.prototype.metaFactoryAggregation=A;E.prototype.getDragDropInfo=function(a){if(!a){return this.dnd;}var o=this._mAllAggregations[a]||this._mAllPrivateAggregations[a];if(!o){return{};}return o.dnd;};return E;},true);
sap.ui.predefine('sap/ui/core/EnabledPropagator',['./Control'],function(C){"use strict";var E=function(d,l){if(!(this instanceof C)){throw new Error("EnabledPropagator only supports subclasses of Control");}if(d===undefined){d=true;}function f(c){var p=c.getParent();while(p&&!p.getEnabled&&p.getParent){p=p.getParent();}return p;}if(this.getEnabled===undefined){this.getEnabled=function(){var p=f(this);return(p&&p.getEnabled&&!p.getEnabled())?false:this.getProperty("enabled");};if(l){this.getMetadata().addProperty("Enabled",{type:"boolean",group:"Behavior",defaultValue:!!d});}this.getMetadata().addProperty("enabled",{type:"boolean",group:"Behavior",defaultValue:!!d});this.getMetadata().addPublicMethods('getEnabled');}else{var o=this.getEnabled;this.getEnabled=function(){var p=f(this);return(p&&p.getEnabled&&!p.getEnabled())?false:o.apply(this);};}if(this.setEnabled===undefined){this.setEnabled=function(e){return this.setProperty("enabled",e);};this.getMetadata().addPublicMethods('setEnabled');}};return E;},true);
sap.ui.predefine('sap/ui/core/EventBus',['sap/ui/base/Object','sap/ui/base/EventProvider',"sap/base/assert","sap/base/Log"],function(B,E,a,L){"use strict";var b=B.extend("sap.ui.core.EventBus",{constructor:function(){B.apply(this);this._mChannels={};this._defaultChannel=new E();}});b.prototype.subscribe=function(C,e,f,l){if(typeof(e)==="function"){l=f;f=e;e=C;C=null;}a(!C||typeof(C)==="string","EventBus.subscribe: sChannelId must be empty or a non-empty string");a(typeof(e)==="string"&&e,"EventBus.subscribe: sEventId must be a non-empty string");a(typeof(f)==="function","EventBus.subscribe: fnFunction must be a function");a(!l||typeof(l)==="object","EventBus.subscribe: oListener must be empty or an object");var o=c(this,C);o.attachEvent(e,f,l);return this;};b.prototype.subscribeOnce=function(C,e,f,l){if(typeof(e)==="function"){l=f;f=e;e=C;C=null;}function o(){this.unsubscribe(C,e,o,undefined);f.apply(l||this,arguments);}return this.subscribe(C,e,o,undefined);};b.prototype.unsubscribe=function(C,e,f,l){if(typeof(e)==="function"){l=f;f=e;e=C;C=null;}a(!C||typeof(C)==="string","EventBus.unsubscribe: sChannelId must be empty or a non-empty string");a(typeof(e)==="string"&&e,"EventBus.unsubscribe: sEventId must be a non-empty string");a(typeof(f)==="function","EventBus.unsubscribe: fnFunction must be a function");a(!l||typeof(l)==="object","EventBus.unsubscribe: oListener must be empty or an object");var o=g(this,C);if(!o){return this;}o.detachEvent(e,f,l);if(o!=this._defaultChannel){var m=E.getEventList(o);var i=true;for(var I in m){if(o.hasListeners(I)){i=false;break;}}if(i){delete this._mChannels[C];}}return this;};b.prototype.publish=function(C,e,d){if(arguments.length==1){d=null;e=C;C=null;}else if(arguments.length==2){if(typeof(e)!="string"){d=e;e=C;C=null;}}d=d?d:{};a(!C||typeof(C)==="string","EventBus.publish: sChannelId must be empty or a non-empty string");a(typeof(e)==="string"&&e,"EventBus.publish: sEventId must be a non-empty string");a(typeof(d)==="object","EventBus.publish: oData must be an object");var o=g(this,C);if(!o){if(L.isLoggable(L.Level.DEBUG,"sap.ui.core.EventBus")){L.debug("Failed to publish into channel '"+C+"'."+" No such channel.",C,"sap.ui.core.EventBus");}return;}var f=E.getEventList(o)[e];if(Array.isArray(f)){f=f.slice();var I;for(var i=0,l=f.length;i<l;i++){I=f[i];this._callListener(I.fFunction,I.oListener||this,C,e,d);}}else if(L.isLoggable(L.Level.DEBUG,"sap.ui.core.EventBus")){L.debug("Failed to publish Event '"+e+"' in '"+C+"'."+" No listeners found.",C+"#"+e,"sap.ui.core.EventBus");}};b.prototype.getInterface=function(){return this;};b.prototype._callListener=function(C,l,s,e,d){C.call(l,s,e,d);};b.prototype.destroy=function(){this._defaultChannel.destroy();for(var d in this._mChannels){this._mChannels[d].destroy();}this._mChannels={};B.prototype.destroy.apply(this,arguments);};function g(e,C){if(!C){return e._defaultChannel;}return e._mChannels[C];}function c(e,C){var o=g(e,C);if(!o&&C){e._mChannels[C]=new E();o=e._mChannels[C];}return o;}return b;});
sap.ui.predefine('sap/ui/core/ExtensionPoint',["sap/base/Log","sap/base/util/ObjectPath","sap/ui/core/mvc/View"],function(L,O,V){"use strict";sap.ui.extensionpoint=function(c,e,C,t,a){L.warning("Do not use deprecated factory function 'sap.ui.extensionpoint'. Use 'sap.ui.core.ExtensionPoint.load' instead","sap.ui.extensionpoint",null,function(){return{type:"sap.ui.extensionpoint",name:e};});return E._factory(c,e,C,t,a);};var E=sap.ui.extensionpoint;E._factory=function(c,e,C,t,a){var b,v,r;var d=sap.ui.require('sap/ui/core/CustomizingConfiguration'),V=sap.ui.require('sap/ui/core/mvc/View'),F=sap.ui.require('sap/ui/core/Fragment');if(d){if(V&&c instanceof V){b=d.getViewExtension(c.sViewName,e,c);v=c;}else if(F&&c instanceof F){b=d.getViewExtension(c.getFragmentName(),e,c);v=c._oContainingView;}if(b){if(b.className){var f=sap.ui.requireSync(b.className.replace(/\./g,"/"));f=f||O.get(b.className);var I=v&&b.id?v.createId(b.id):b.id;L.info("Customizing: View extension found for extension point '"+e+"' in View '"+v.sViewName+"': "+b.className+": "+(b.viewName||b.fragmentName));if(b.className==="sap.ui.core.Fragment"){var o=new f({id:I,type:b.type,fragmentName:b.fragmentName,containingView:v});r=(Array.isArray(o)?o:[o]);}else if(b.className==="sap.ui.core.mvc.View"){var v=V._legacyCreate({type:b.type,viewName:b.viewName,id:I});r=[v];}else{L.warning("Customizing: Unknown extension className configured (and ignored) in Component.js for extension point '"+e+"' in View '"+v.sViewName+"': "+b.className);}}else{L.warning("Customizing: no extension className configured in Component.js for extension point '"+e+"' in View '"+v.sViewName+"': "+b.className);}}}if(!r&&typeof C==='function'){r=C();}var p=function(r){if(r&&!Array.isArray(r)){r=[r];}if(r&&t){var A=t.getMetadata().getAggregation(a);if(A){for(var i=0,l=r.length;i<l;i++){t[A._sMutator](r[i]);}}else{L.error("Creating extension point failed - Tried to add extension point with name "+e+" to an aggregation of "+t.getId()+" in view "+v.sViewName+", but sAggregationName was not provided correctly and I could not find a default aggregation");}}return r||[];};if(r&&typeof r.then==='function'){return r.then(p);}else{return p(r);}};E.load=function(o){return Promise.resolve(E._factory(o.container,o.name,o.createDefaultContent));};return E;});
sap.ui.predefine('sap/ui/core/FocusHandler',['../Device','../base/Object',"sap/ui/dom/containsOrEquals","sap/base/Log","sap/ui/thirdparty/jquery","sap/ui/dom/jquery/control"],function(D,B,c,L,q){"use strict";var F=B.extend("sap.ui.core.FocusHandler",{constructor:function(r,C){B.apply(this);this.oCore=C;this.oCurrent=null;this.oLast=null;this.aEventQueue=[];this.oLastFocusedControlInfo=null;this.oPatchingControlFocusInfo=null;this.fEventHandler=q.proxy(this.onEvent,this);if(r.addEventListener&&!D.browser.msie){r.addEventListener("focus",this.fEventHandler,true);r.addEventListener("blur",this.fEventHandler,true);}else{q(r).bind("activate",this.fEventHandler);q(r).bind("deactivate",this.fEventHandler);}L.debug("FocusHandler setup on Root "+r.type+(r.id?": "+r.id:""),null,"sap.ui.core.FocusHandler");}});F.prototype.getCurrentFocusedControlId=function(){var C=null;try{var a=q(document.activeElement);if(a.is(":focus")){C=a.control();}}catch(e){}return C&&C.length>0?C[0].getId():null;};F.prototype.getControlFocusInfo=function(C){C=C||this.getCurrentFocusedControlId();if(!C){return null;}var o=this.oCore&&this.oCore.byId(C);if(o){return{id:C,control:o,info:o.getFocusInfo(),type:o.getMetadata().getName(),focusref:o.getFocusDomRef()};}return null;};F.prototype.storePatchingControlFocusInfo=function(d){var a=document.activeElement;if(!a||!d.contains(a)){this.oPatchingControlFocusInfo=null;}else{this.oPatchingControlFocusInfo=this.getControlFocusInfo();if(this.oPatchingControlFocusInfo){this.oPatchingControlFocusInfo.patching=true;}}};F.prototype.getPatchingControlFocusInfo=function(){return this.oPatchingControlFocusInfo;};F.prototype.updateControlFocusInfo=function(C){if(C&&this.oLastFocusedControlInfo&&this.oLastFocusedControlInfo.control===C){var s=C.getId();this.oLastFocusedControlInfo=this.getControlFocusInfo(s);L.debug("Update focus info of control "+s,null,"sap.ui.core.FocusHandler");}};F.prototype.restoreFocus=function(C){var i=C||this.oLastFocusedControlInfo;if(!i){return;}var o=this.oCore&&this.oCore.byId(i.id);var f=i.focusref;if(o&&i.info&&o.getMetadata().getName()==i.type&&(i.patching||(o.getFocusDomRef()!=f&&(C||o!==i.control)))){L.debug("Apply focus info of control "+i.id,null,"sap.ui.core.FocusHandler");i.control=o;this.oLastFocusedControlInfo=i;delete this.oLastFocusedControlInfo.patching;o.applyFocusInfo(i.info);}else{L.debug("Apply focus info of control "+i.id+" not possible",null,"sap.ui.core.FocusHandler");}};F.prototype.destroy=function(e){var r=e.data.oRootRef;if(r){if(r.removeEventListener&&!D.browser.msie){r.removeEventListener("focus",this.fEventHandler,true);r.removeEventListener("blur",this.fEventHandler,true);}else{q(r).unbind("activate",this.fEventHandler);q(r).unbind("deactivate",this.fEventHandler);}}this.oCore=null;};F.prototype.onEvent=function(b){var e=q.event.fix(b);L.debug("Event "+e.type+" reached Focus Handler (target: "+e.target+(e.target?e.target.id:"")+")",null,"sap.ui.core.FocusHandler");var a=(e.type=="focus"||e.type=="focusin"||e.type=="activate")?"focus":"blur";this.aEventQueue.push({type:a,controlId:g(e.target)});if(this.aEventQueue.length==1){this.processEvent();}};F.prototype.processEvent=function(){var e=this.aEventQueue[0];if(!e){return;}try{if(e.type=="focus"){this.onfocusEvent(e.controlId);}else if(e.type=="blur"){this.onblurEvent(e.controlId);}}finally{this.aEventQueue.shift();if(this.aEventQueue.length>0){this.processEvent();}}};F.prototype.onfocusEvent=function(C){var o=this.oCore&&this.oCore.byId(C);if(o){this.oLastFocusedControlInfo=this.getControlFocusInfo(C);L.debug("Store focus info of control "+C,null,"sap.ui.core.FocusHandler");}this.oCurrent=C;if(!this.oLast){return;}if(this.oLast!=this.oCurrent){t(this.oLast,C,this.oCore);}this.oLast=null;};F.prototype.onblurEvent=function(C){if(!this.oCurrent){return;}this.oLast=C;this.oCurrent=null;setTimeout(this["checkForLostFocus"].bind(this),0);};F.prototype.checkForLostFocus=function(){if(this.oCurrent==null&&this.oLast!=null){t(this.oLast,null,this.oCore);}this.oLast=null;};var g=function(d){var i=q(d).closest("[data-sap-ui]").attr("id");if(i){return i;}return null;};var t=function(C,r,o){var a=C?o&&o.byId(C):null;if(a){var R=r?o.byId(r):null;var e=q.Event("sapfocusleave");e.target=a.getDomRef();e.relatedControlId=R?R.getId():null;e.relatedControlFocusInfo=R?R.getFocusInfo():null;var b=a.getUIArea();var u=null;if(b){u=o.getUIArea(b.getId());}else{var p=o.getStaticAreaRef();if(c(p,e.target)){u=o.getUIArea(p.id);}}if(u){u._handleEvent(e);}}};return F;});
sap.ui.predefine('sap/ui/core/Fragment',['sap/ui/thirdparty/jquery','../base/ManagedObject','./Element','./DeclarativeSupport','./XMLTemplateProcessor','sap/base/Log','sap/base/util/LoaderExtensions','sap/base/util/merge'],function(q,M,E,D,X,L,a,m){"use strict";var r={},t={};var F=M.extend("sap.ui.core.Fragment",{metadata:{properties:{type:"string"},specialSettings:{fragmentName:'string',fragmentContent:'any',containingView:{type:'sap.ui.core.mvc.View',visibility:'hidden'},oController:{type:'sap.ui.core.mvc.Controller',visibility:'hidden'},sId:{type:'sap.ui.core.ID',visibility:'hidden'},processingMode:{type:"string",visibility:"hidden"}}},constructor:function(i,s){M.apply(this,arguments);if(this._aContent&&this._aContent.length==1){return this._aContent[0];}else{return this._aContent;}}});F.registerType=function(T,o){if(!typeof(T)==="string"){L.error("Ignoring non-string Fragment type: "+T);return;}if(t[T]){L.warning("sap.ui.core.Fragment.registerType(): Fragment type '"+T+"' is already defined. Overriding this type now!");}t[T]=o;};F.prototype._initCompositeSupport=function(s){if(!s){throw new Error("Settings must be set");}if(!(s.fragmentName||s.fragmentContent)){throw new Error("Please provide a fragment name");}if(s.oController){this.oController=s.oController;}this._sExplicitId=s.sId||s.id;this._sFragmentName=s.fragmentName;var o=t[s.type];if(o){o.init.apply(this,[s]);}else{throw new Error("No type for the fragment has been specified: "+s.type);}};F.prototype.getFragmentName=function(){return this._sFragmentName;};F.prototype.getController=function(){return this.oController;};F.byId=function(s,i){if(!(typeof(s)==="string"&&typeof(i)==="string")){L.error("sap.ui.core.Fragment.byId: two strings must be given as parameters, but are: "+s+" and "+i);return undefined;}return sap.ui.getCore().byId(s+"--"+i);};F.createId=function(s,i){if(!(typeof(s)==="string"&&typeof(i)==="string")){L.error("sap.ui.core.Fragment.createId: two strings must be given as parameters, but are: "+s+" and "+i);return undefined;}return s+"--"+i;};F.prototype.createId=function(i){var b=this._sExplicitId?this._sExplicitId+"--"+i:i;if(this._oContainingView&&this._oContainingView!=this){b=this._oContainingView.createId(b);}return b;};F.prototype.isSubView=function(){return true;};sap.ui.fragment=function(n,T,c){var s;if(typeof(T)==="string"){s=T.toLowerCase();}else if(typeof(T)==="object"&&typeof(T.fragmentName)==="string"){s=T.fragmentName.toLowerCase();}else{s="";}L.info("Do not use deprecated factory function 'sap.ui."+s+"fragment'. Require 'sap/ui/core/Fragment' and use 'load()' instead","sap.ui."+s+"fragment",null,function(){return{type:"sap.ui."+s+"fragment",name:s?n+".fragment."+s:n};});return f(n,T,c);};function f(n,T,c){var s={};if(typeof(n)==="string"){s.fragmentName=n;s.oController=c;s.type=T;}else if(typeof(n)==="object"){s=n;if(T){s.oController=T;}}else{L.error("sap.ui.fragment() must be called with Fragment name or config object as first parameter, but is: "+n);}return new F(s);}F.load=function(o){var p=Object.assign({},o);L.warning("With UI5 versions >= 1.84, the 'sap.ui.core.Fragment.load()' API will change its internal implementation for loading and processing resources from synchronous to asynchronous. "+"Please make sure that control and/or application code correctly awaits the resolution of the Promise returned by 'Fragment.load()'. "+"The content controls of a fragment can only safely be accessed by their ID once the 'Fragment.load()' result promise has resolved.","FragmentLoad",null,function(){return{type:"FragmentLoad",name:"sap.ui.core.Fragment.load"};});if(p.name&&p.definition){L.error("The properties 'name' and 'definition' shouldn't be provided at the same time. The fragment definition will be used instead of the name. Fragment name was: "+p.name);delete p.name;}p.type=p.type||"XML";p.fragmentName=p.name;p.fragmentContent=p.definition;p.oController=p.controller;delete p.name;delete p.definition;delete p.controller;return Promise.resolve(f(p));};sap.ui.xmlfragment=function(i,v,c){if(typeof(i)==="string"){if(typeof(v)==="string"){return sap.ui.fragment({fragmentName:v,sId:i,type:"XML"},c);}else{return sap.ui.fragment(i,"XML",v);}}else{i.type="XML";return sap.ui.fragment(i,v);}};sap.ui.jsfragment=function(n,v,c){if(typeof n==="string"&&typeof v==="object"){if(v.createContent){r[n]=v;sap.ui.loader._.declareModule(n.replace(/\./g,"/")+".fragment.js");}else{return sap.ui.fragment(n,"JS",v);}}else if(typeof n==="string"&&v===undefined){return sap.ui.fragment(n,"JS");}else{if(typeof n==="object"){n.type="JS";return sap.ui.fragment(n,v);}else if(arguments.length>=3){return sap.ui.fragment({id:n,fragmentName:v,type:"JS"},c);}else{L.error("sap.ui.jsfragment() was called with wrong parameter set: "+n+" + "+v);}}};sap.ui.htmlfragment=function(i,v,c){if(typeof(i)==="string"){if(typeof(v)==="string"){return sap.ui.fragment({fragmentName:v,sId:i,type:"HTML"},c);}else{return sap.ui.fragment(i,"HTML",v);}}else{i.type="HTML";return sap.ui.fragment(i,v);}};F.registerType("XML",{init:function(s){if(s.fragmentContent){if(typeof(s.fragmentContent)==="string"){this._xContent=q.parseXML(s.fragmentContent).documentElement;}else{this._xContent=s.fragmentContent;}}else{this._xContent=X.loadTemplate(s.fragmentName,"fragment");}this._oContainingView=this._sExplicitId?this:(s.containingView||this);if((this._oContainingView===this)){this._oContainingView.oController=(s.containingView&&s.containingView.oController)||s.oController;}var b=this;b._sProcessingMode=s.processingMode;M.runWithPreprocessors(function(){b._aContent=X.parseTemplate(b._xContent,b);if(b._aContent&&b._aContent.length&&s.objectBindings){b._aContent.forEach(function(c,i){if(c instanceof E){for(var d in s.objectBindings){c.bindObject(s.objectBindings[d]);}}});}},{settings:b._oContainingView._fnSettingsPreprocessor});}});F.registerType("JS",{init:function(s){if(!r[s.fragmentName]){sap.ui.requireSync(s.fragmentName.replace(/\./g,"/")+".fragment");}m(this,r[s.fragmentName]);this._oContainingView=s.containingView||this;var b=this;M.runWithPreprocessors(function(){var c=b.createContent(s.oController||b._oContainingView.oController);b._aContent=[];b._aContent=b._aContent.concat(c);},{settings:b._oContainingView._fnSettingsPreprocessor});}});(function(){var _={};var b=function(T){var u=sap.ui.require.toUrl(T.replace(/\./g,"/"))+".fragment.html";var h=_[u];var R;if(!h){R=T.replace(/\./g,"/")+".fragment.html";h=a.loadResource(R);_[u]=h;}return h;};F.registerType("HTML",{init:function(s){this._aContent=[];this.getContent=function(){return this._aContent;};this.addContent=function(C){this._aContent.push(C);};this._oContainingView=s.containingView||this;this._sProcessingMode=s.processingMode;var h=s.fragmentContent||b(s.fragmentName);this._oTemplate=document.createElement("div");if(typeof h==="string"){this._oTemplate.innerHTML=h;}else{var n=h;var o=document.createDocumentFragment();for(var i=0;i<n.length;i++){o.appendChild(n.item(i));}this._oTemplate.appendChild(o);}var c=this._oTemplate.getElementsByTagName("template")[0];var p=this.getMetadata().getAllProperties();if(c){var d=this;q.each(c.attributes,function(I,A){var N=D.convertAttributeToSettingName(A.name,d.getId());var v=A.value;var P=p[N];if(!s[N]){if(P){s[N]=D.convertValueToType(D.getPropertyDataType(P),v);}else if(sap.ui.core.mvc.HTMLView._mAllowedSettings[N]){s[N]=v;}}});this._oTemplate=c;}if(this._oTemplate.content){var o=this._oTemplate.content;this._oTemplate=document.createElement("div");this._oTemplate.appendChild(o);}var d=this;M.runWithPreprocessors(function(){D.compile(d._oTemplate,d);var e=d.getContent();if(e&&e.length===1){d._aContent=[e[0]];}},{settings:d._oContainingView._fnSettingsPreprocessor});}});}());return F;});
sap.ui.predefine('sap/ui/core/HTML',['sap/ui/thirdparty/jquery',"sap/base/Log",'./Control','./RenderManager',"./HTMLRenderer","sap/base/security/sanitizeHTML"],function(q,L,C,R,H,b){"use strict";var c=R.RenderPrefixes;var d=C.extend("sap.ui.core.HTML",{metadata:{library:"sap.ui.core",properties:{content:{type:"string",group:"Misc",defaultValue:null},preferDOM:{type:"boolean",group:"Misc",defaultValue:true},sanitizeContent:{type:"boolean",group:"Misc",defaultValue:false},visible:{type:"boolean",group:"Appearance",defaultValue:true}},events:{afterRendering:{parameters:{isPreservedDOM:{type:"boolean"}}}}}});d.prototype.getDomRef=function(s){var i=s?this.getId()+"-"+s:this.getId();return((c.Dummy+i?window.document.getElementById(c.Dummy+i):null))||((i?window.document.getElementById(i):null));};d.prototype.setContent=function(e){function p(s){if(q.parseHTML){var a=q.parseHTML(s);if(a){var f=0,g=a.length;while(f<g&&a[f].nodeType!=1){f++;}while(f<g&&a[g-1].nodeType!=1){g--;}if(f>0||g<a.length){a=a.slice(f,g);}return q(a);}}return q(s);}if(this.getSanitizeContent()){L.trace("sanitizing HTML content for "+this);e=b(e);}this.setProperty("content",e,true);if(this.getDomRef()){var $=p(this.getContent());q(this.getDomRef()).replaceWith($);this._postprocessNewContent($);}else{this.invalidate();}return this;};d.prototype.setSanitizeContent=function(s){this.setProperty("sanitizeContent",s,true);if(s){this.setContent(this.getContent());}return this;};d.prototype.onBeforeRendering=function(){if(this.getPreferDOM()&&this.getDomRef()&&!R.isPreservedContent(this.getDomRef())){R.preserveContent(this.getDomRef(),true,false);}};d.prototype.onAfterRendering=function(){if(!this.getVisible()){return;}var $=q((c.Dummy+this.getId()?window.document.getElementById(c.Dummy+this.getId()):null));var a=R.findPreservedContent(this.getId());var e;var i=false;if((!this.getPreferDOM()||a.size()==0)){a.remove();e=new q(this.getContent());$.replaceWith(e);}else if(a.size()>0){$.replaceWith(a);e=a;i=true;}else{$.remove();}this._postprocessNewContent(e);this.fireAfterRendering({isPreservedDOM:i});};d.prototype._postprocessNewContent=function($){if($&&$.size()>0){if($.length>1){L.warning("[Unsupported Feature]: "+this+" has rendered "+$.length+" root nodes!");}else{var s=$.attr("id");if(s&&s!=this.getId()){L.warning("[Unsupported Feature]: Id of HTML Control '"+this.getId()+"' does not match with content id '"+s+"'!");}}if(this.getPreferDOM()){R.markPreservableContent($,this.getId());}if($.find("#"+this.getId().replace(/(:|\.)/g,'\\$1')).length===0){$.filter(":not([id])").first().attr("id",this.getId());}}else{L.debug(""+this+" is empty after rendering, setting bOutput to false");this.bOutput=false;}};d.prototype.setDOMContent=function(D){var $=q(D);if(this.getDomRef()){q(this.getDomRef()).replaceWith($);this._postprocessNewContent($);}else{$.appendTo(R.getPreserveAreaRef());if(this.getUIArea()){this.getUIArea().invalidate();}this._postprocessNewContent($);}return this;};d.prototype.setTooltip=function(){L.warning("The sap.ui.core.HTML control doesn't support tooltips. Add the tooltip to the HTML content instead.");return C.prototype.setTooltip.apply(this,arguments);};"hasStyleClass addStyleClass removeStyleClass toggleStyleClass".split(" ").forEach(function(m){d.prototype[m]=function(){L.warning("The sap.ui.core.HTML control doesn't support custom style classes. Manage custom CSS classes in the HTML content instead.");return C.prototype[m].apply(this,arguments);};});return d;});
sap.ui.predefine('sap/ui/core/HTMLRenderer',['./RenderManager'],function(R){"use strict";var a=R.RenderPrefixes;var H={render:function(r,c){r.write("<div id=\""+a.Dummy+c.getId()+"\" style=\"display:none\">");r.write("</div>");}};return H;},true);
sap.ui.predefine('sap/ui/core/Icon',['sap/base/assert','../Device','./Control','./IconPool','./InvisibleText','./library',"./IconRenderer","sap/ui/events/KeyCodes","sap/ui/thirdparty/jquery","sap/base/Log"],function(a,D,C,I,b,l,c,K,q,L){"use strict";var d=l.IconColor;var e=l.CSSColor;var i=function(v){if(v!=null&&v!==""&&!e.isValid(v)&&!(v in d)){L.error("\""+v+"\" is not of type sap.ui.core.CSSColor nor of type sap.ui.core.IconColor.");return false;}else{return true;}};var f=C.extend("sap.ui.core.Icon",{metadata:{interfaces:["sap.ui.core.IFormContent"],library:"sap.ui.core",designtime:"sap/ui/core/designtime/Icon.designtime",properties:{src:{type:"sap.ui.core.URI",group:"Data",defaultValue:null},size:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},color:{type:"string",group:"Appearance",defaultValue:null},hoverColor:{type:"string",group:"Appearance",defaultValue:null},activeColor:{type:"string",group:"Appearance",defaultValue:null},width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},height:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},backgroundColor:{type:"string",group:"Appearance",defaultValue:null},hoverBackgroundColor:{type:"string",group:"Appearance",defaultValue:null},activeBackgroundColor:{type:"string",group:"Appearance",defaultValue:null},decorative:{type:"boolean",group:"Accessibility",defaultValue:true},useIconTooltip:{type:"boolean",group:"Accessibility",defaultValue:true},alt:{type:"string",group:"Accessibility",defaultValue:null},noTabStop:{type:"boolean",group:"Accessibility",defaultValue:false}},aggregations:{_invisibleText:{type:"sap.ui.core.InvisibleText",multiple:false,visibility:"hidden"}},associations:{ariaLabelledBy:{type:"sap.ui.core.Control",multiple:true,singularName:"ariaLabelledBy"}},events:{press:{}}}});f.prototype[D.support.touch?"ontouchstart":"onmousedown"]=function(E){if(this.hasListeners("press")){E.setMarked();}var A=this.getActiveColor(),s=this.getActiveBackgroundColor(),$;if(A||s){if(!E.targetTouches||(E.targetTouches&&E.targetTouches.length===1)){$=this.$();$.addClass("sapUiIconActive");if(A){this._addColorClass(A,"color");}if(s){this._addColorClass(s,"background-color");}}}};f.prototype[D.support.touch?"ontouchend":"onmouseup"]=function(E){if(!E.targetTouches||(E.targetTouches&&E.targetTouches.length===0)){this.$().removeClass("sapUiIconActive");this._restoreColors(D.system.desktop?"hover":undefined);}};f.prototype.onmouseover=function(){var h=this.getHoverColor(),H=this.getHoverBackgroundColor();if(h){this._addColorClass(h,"color");}if(H){this._addColorClass(H,"background-color");}};f.prototype.onmouseout=function(){this._restoreColors();};f.prototype[D.support.touch&&!D.system.desktop?"ontap":"onclick"]=function(E){if(this.hasListeners("press")){E.setMarked();}this.firePress({});};f.prototype.onkeydown=function(E){if(E.which===K.SPACE||E.which===K.ENTER){E.preventDefault();var $=this.$(),A=this.getActiveColor(),s=this.getActiveBackgroundColor();$.addClass("sapUiIconActive");if(A){this._addColorClass(A,"color");}if(s){this._addColorClass(s,"background-color");}}};f.prototype.onkeyup=function(E){if(E.which===K.SPACE||E.which===K.ENTER){this.$().removeClass("sapUiIconActive");this._restoreColors();this.firePress({});}};f.prototype._restoreColors=function(m){var s,B;if(m==="hover"){s=this.getHoverColor();B=this.getHoverBackgroundColor();}s=s||this.getColor();B=B||this.getBackgroundColor();this._addColorClass(s||"","color");this._addColorClass(B||"","background-color");};f.prototype.setSrc=function(s){a(s==null||I.isIconURI(s),this+": Property 'src' (value: '"+s+"') should be a valid Icon URI (sap-icon://...)");var v=I.getIconInfo(s,undefined,"mixed"),$=this.$(),g,t,u,h,o;this.setProperty("src",s,!!v);if(v instanceof Promise){v.then(this.invalidate.bind(this));}else if(v&&$.length){$.css("font-family",v.fontFamily);$.attr("data-sap-ui-icon-content",v.content);$.toggleClass("sapUiIconMirrorInRTL",!v.suppressMirroring);t=this.getTooltip_AsString();h=this.getAriaLabelledBy();u=this.getUseIconTooltip();g=this._getIconLabel(v);if(t||(u&&v.text)){$.attr("title",t||v.text);}else{$.attr("title",null);}if(h.length===0){if(g){$.attr("aria-label",g);}else{$.attr("aria-label",null);}}else{o=this.getAggregation("_invisibleText");if(o){o.setText(g);}}}return this;};f.prototype.setWidth=function(w){this.setProperty("width",w,true);this.$().css("width",w);return this;};f.prototype.setHeight=function(h){this.setProperty("height",h,true);this.$().css({"height":h,"line-height":h});return this;};f.prototype.setSize=function(s){this.setProperty("size",s,true);this.$().css("font-size",s);return this;};f.prototype.setColor=function(s){if(i(s)){this.setProperty("color",s,true);this._addColorClass(s,"color");}return this;};f.prototype._addColorClass=function(s,g){var $=this.$(),t=this;var h="";if(g==="color"){h="sapUiIconColor";}else if(g==="background-color"){h="sapUiIconBGColor";}else{return;}q.each(d,function(p,P){t.removeStyleClass(h+P);});if(s in d){$.css(g,"");this.addStyleClass(h+s);}else{$.css(g,s);}};f.prototype.setActiveColor=function(s){if(i(s)){return this.setProperty("activeColor",s,true);}return this;};f.prototype.setHoverColor=function(s){if(i(s)){return this.setProperty("hoverColor",s,true);}return this;};f.prototype.setBackgroundColor=function(s){if(i(s)){this.setProperty("backgroundColor",s,true);this._addColorClass(s,"background-color");}return this;};f.prototype.setActiveBackgroundColor=function(s){if(i(s)){return this.setProperty("activeBackgroundColor",s,true);}return this;};f.prototype.setHoverBackgroundColor=function(s){if(i(s)){return this.setProperty("hoverBackgroundColor",s,true);}return this;};f.prototype.attachPress=function(){var m=Array.prototype.slice.apply(arguments);m.unshift("press");C.prototype.attachEvent.apply(this,m);if(this.hasListeners("press")){this.$().toggleClass("sapUiIconPointer",true).attr({role:"button",tabindex:this.getNoTabStop()?undefined:0});}return this;};f.prototype.detachPress=function(){var m=Array.prototype.slice.apply(arguments);m.unshift("press");C.prototype.detachEvent.apply(this,m);if(!this.hasListeners("press")){this.$().toggleClass("sapUiIconPointer",false).attr({role:this.getDecorative()?"presentation":"img"}).removeAttr("tabindex");}return this;};f.prototype._getOutputTitle=function(o){var t=this.getTooltip_AsString(),u=this.getUseIconTooltip();if(t||(u&&o&&o.text)){return t||o.text;}};f.prototype._getIconLabel=function(o){var A=this.getAlt(),t=this.getTooltip_AsString(),u=this.getUseIconTooltip(),s=A||t||(u&&o&&(o.text||o.name)),O=this._getOutputTitle(o);if(s&&s!==O){return s;}};f.prototype._createInvisibleText=function(t){var o=this.getAggregation("_invisibleText");if(!o){o=new b(this.getId()+"-label",{text:t});this.setAggregation("_invisibleText",o,true);}else{o.setProperty("text",t,true);}return o;};f.prototype._getAccessibilityAttributes=function(o){var g=this.getAriaLabelledBy(),A={},s=this._getIconLabel(o),h;if(this.getDecorative()){A.role="presentation";A.hidden="true";}else{if(this.hasListeners("press")){A.role="button";}else{A.role="img";}}if(g.length>0){if(s){h=this._createInvisibleText(s);g.push(h.getId());}A.labelledby=g.join(" ");}else if(s){A.label=s;}return A;};f.prototype.getAccessibilityInfo=function(){if(this.getDecorative()){return null;}var h=this.hasListeners("press");var o=I.getIconInfo(this.getSrc(),undefined,"sync");return{role:h?"button":"img",type:sap.ui.getCore().getLibraryResourceBundle("sap.ui.core").getText(h?"ACC_CTR_TYPE_BUTTON":"ACC_CTR_TYPE_IMAGE"),description:this.getAlt()||this.getTooltip_AsString()||(o?o.text||o.name:""),focusable:h};};return f;});
sap.ui.predefine('sap/ui/core/IconPool',['./Core','sap/ui/thirdparty/URI',"sap/base/i18n/ResourceBundle","sap/base/Log","sap/ui/thirdparty/jquery"],function(c,U,R,L,q){"use strict";var S='SAP-icons';var I='sap-icon';var f={undefined:{config:{fontFamily:S},metadataLoaded:true,inserted:false}};var r={'undefined':{'accidental-leave':0xe000,'account':0xe001,'wrench':0xe002,'windows-doors':0xe003,'washing-machine':0xe004,'visits':0xe005,'video':0xe006,'travel-expense':0x1e007,'temperature':0xe008,'task':0x1e009,'synchronize':0xe00a,'survey':0x1e00b,'settings':0xe00c,'search':0x1e00d,'sales-document':0x1e00e,'retail-store':0xe00f,'refresh':0xe010,'product':0xe011,'present':0xe012,'ppt-attachment':0xe013,'pool':0xe014,'pie-chart':0xe015,'picture':0xe016,'photo-voltaic':0xe017,'phone':0xe018,'pending':0xe019,'pdf-attachment':0xe01a,'past':0x1e01b,'outgoing-call':0xe01c,'opportunity':0xe01d,'opportunities':0x1e01e,'notes':0xe01f,'money-bills':0x1e020,'map':0xe021,'log':0xe022,'line-charts':0xe023,'lightbulb':0xe024,'leads':0xe025,'lead':0x1e026,'laptop':0xe027,'kpi-managing-my-area':0x1e028,'kpi-corporate-performance':0x1e029,'incoming-call':0xe02a,'inbox':0xe02b,'horizontal-bar-chart':0xe02c,'history':0xe02d,'heating-cooling':0xe02e,'gantt-bars':0xe02f,'future':0x1e030,'fridge':0xe031,'fallback':0xe032,'expense-report':0x1e033,'excel-attachment':0xe034,'energy-saving-lightbulb':0xe035,'employee':0xe036,'email':0xe037,'edit':0xe038,'duplicate':0xe039,'download':0xe03a,'doc-attachment':0xe03b,'dishwasher':0xe03c,'delete':0xe03d,'decline':0xe03e,'complete':0x1e03f,'competitor':0xe040,'collections-management':0xe041,'chalkboard':0x1e042,'cart':0xe043,'card':0xe044,'camera':0xe045,'calendar':0x1e046,'begin':0xe047,'basket':0xe048,'bar-chart':0xe049,'attachment':0xe04a,'arrow-top':0xe04b,'arrow-right':0xe04c,'arrow-left':0xe04d,'arrow-bottom':0xe04e,'approvals':0x1e04f,'appointment':0xe050,'alphabetical-order':0x1e051,'along-stacked-chart':0xe052,'alert':0xe053,'addresses':0xe054,'address-book':0x1e055,'add-filter':0xe056,'add-favorite':0xe057,'add':0xe058,'activities':0x1e059,'action':0xe05a,'accept':0x1e05b,'hint':0x1e05c,'group':0xe05d,'check-availability':0x1e05e,'weather-proofing':0xe05f,'payment-approval':0x1e060,'batch-payments':0x1e061,'bed':0xe062,'arobase':0x1e063,'family-care':0xe064,'favorite':0xe065,'navigation-right-arrow':0xe066,'navigation-left-arrow':0xe067,'e-care':0xe068,'less':0xe069,'lateness':0xe06a,'lab':0xe06b,'internet-browser':0xe06c,'instance':0xe06d,'inspection':0xe06e,'image-viewer':0xe06f,'home':0xe070,'grid':0xe071,'goalseek':0xe072,'general-leave-request':0xe073,'create-leave-request':0xe074,'flight':0xe075,'filter':0xe076,'favorite-list':0xe077,'factory':0xe078,'endoscopy':0xe079,'employee-pane':0xe07a,'employee-approvals':0x1e07b,'email-read':0xe07c,'electrocardiogram':0xe07d,'documents':0xe07e,'decision':0xe07f,'database':0xe080,'customer-history':0xe081,'customer':0xe082,'credit-card':0xe083,'create-entry-time':0xe084,'contacts':0xe085,'compare':0xe086,'clinical-order':0xe087,'chain-link':0xe088,'pull-down':0xe089,'cargo-train':0xe08a,'car-rental':0xe08b,'business-card':0xe08c,'bar-code':0xe08d,'folder-blank':0xe08e,'passenger-train':0xe08f,'question-mark':0x1e090,'world':0xe091,'iphone':0xe092,'ipad':0xe093,'warning':0xe094,'sort':0xe095,'course-book':0xe096,'course-program':0xe097,'add-coursebook':0xe098,'print':0xe099,'save':0xe09a,'play':0x1e09b,'pause':0xe09c,'record':0xe09d,'response':0xe09e,'pushpin-on':0xe09f,'pushpin-off':0xe0a0,'unfavorite':0xe0a1,'learning-assistant':0xe0a2,'timesheet':0xe0a3,'time-entry-request':0xe0a4,'list':0xe0a5,'action-settings':0xe0a6,'share':0xe0a7,'feed':0xe0a8,'role':0xe0a9,'flag':0x1e0aa,'post':0xe0ab,'inspect':0xe0ac,'inspect-down':0xe0ad,'appointment-2':0xe0ae,'target-group':0xe0af,'marketing-campaign':0xe0b0,'notification':0xe0b1,'message-error':0xe0b1,'comment':0xe0b2,'shipping-status':0xe0b3,'collaborate':0xe0b4,'shortcut':0xe0b5,'lead-outdated':0x1e0b6,'tools-opportunity':0xe0b7,'permission':0xe0b8,'supplier':0xe0b9,'table-view':0xe0ba,'table-chart':0xe0bb,'switch-views':0xe0bc,'e-learning':0xe0bd,'manager':0xe0be,'switch-classes':0xe0bf,'simple-payment':0x1e0c0,'signature':0xe0c1,'sales-order-item':0x1e0c2,'sales-order':0x1e0c3,'request':0xe0c4,'receipt':0xe0c5,'puzzle':0xe0c6,'process':0xe0c7,'private':0xe0c8,'popup-window':0xe0c9,'person-placeholder':0xe0ca,'per-diem':0x1e0cb,'paper-plane':0xe0cc,'paid-leave':0x1e0cd,'pdf-reader':0x1e0ce,'overview-chart':0xe0cf,'overlay':0xe0d0,'org-chart':0xe0d1,'number-sign':0xe0d2,'notification-2':0xe0d3,'my-sales-order':0x1e0d4,'meal':0xe0d5,'loan':0x1e0d6,'order-status':0x1e0d7,'customer-order-entry':0x1e0d8,'performance':0xe0d9,'menu':0xe0da,'employee-lookup':0xe0db,'education':0xe0dc,'customer-briefing':0xe0dd,'customer-and-contacts':0xe0de,'my-view':0xe0df,'accelerated':0xe0e0,'to-be-reviewed':0xe0e1,'warning2':0xe0e2,'feeder-arrow':0xe0e3,'quality-issue':0xe0e4,'workflow-tasks':0xe0e5,'create':0xe0e6,'home-share':0xe0e7,'globe':0x1e0e8,'tags':0xe0e9,'work-history':0xe0ea,'x-ray':0xe0eb,'wounds-doc':0xe0ec,'web-cam':0xe0ed,'waiver':0x1e0ee,'vertical-bar-chart':0xe0ef,'upstacked-chart':0xe0f0,'trip-report':0xe0f1,'microphone':0xe0f2,'unpaid-leave':0x1e0f3,'tree':0xe0f4,'toaster-up':0xe0f5,'toaster-top':0xe0f6,'toaster-down':0xe0f7,'time-account':0xe0f8,'theater':0xe0f9,'taxi':0xe0fa,'subway-train':0xe0fb,'study-leave':0xe0fc,'stethoscope':0xe0fd,'step':0xe0fe,'sonography':0xe0ff,'soccor':0xe100,'soccer':0xe100,'physical-activity':0xe101,'pharmacy':0xe102,'official-service':0xe103,'offsite-work':0xe104,'nutrition-activity':0xe105,'newspaper':0xe106,'monitor-payments':0x1e107,'map-2':0xe108,'machine':0xe109,'mri-scan':0xe10a,'end-user-experience-monitoring':0xe10b,'unwired':0xe10c,'customer-financial-fact-sheet':0x1e10d,'retail-store-manager':0xe10e,'Netweaver-business-client':0xe10f,'electronic-medical-record':0xe110,'eam-work-order':0x1e111,'customer-view':0xe112,'crm-service-manager':0xe113,'crm-sales':0x1e114,'widgets':0x1e115,'commission-check':0x1e116,'collections-insight':0x1e117,'clinical-tast-tracker':0xe118,'citizen-connect':0xe119,'cart-approval':0x1e11a,'capital-projects':0x1e11b,'bo-strategy-management':0xe11c,'business-objects-mobile':0xe11d,'business-objects-explorer':0xe11e,'business-objects-experience':0xe11f,'bbyd-dashboard':0xe120,'bbyd-active-sales':0x1e121,'business-by-design':0x1e122,'business-one':0x1e123,'sap-box':0xe124,'manager-insight':0xe125,'accounting-document-verification':0x1e126,'hr-approval':0x1e127,'idea-wall':0xe128,'Chart-Tree-Map':0xe129,'cart-5':0xe12a,'cart-4':0xe12b,'wallet':0xe12c,'vehicle-repair':0xe12d,'upload':0xe12e,'unlocked':0xe12f,'umbrella':0xe130,'travel-request':0x1e131,'travel-expense-report':0x1e132,'travel-itinerary':0xe133,'time-overtime':0x1e134,'thing-type':0xe135,'technical-object':0xe136,'tag':0xe137,'syringe':0xe138,'syntax':0xe139,'suitcase':0xe13a,'simulate':0xe13b,'shield':0xe13c,'share-2':0xe13d,'sales-quote':0x1e13e,'repost':0xe13f,'provision':0xe140,'projector':0xe141,'add-product':0xe142,'pipeline-analysis':0xe143,'add-photo':0xe144,'palette':0xe145,'nurse':0xe146,'sales-notification':0x1e147,'mileage':0xe148,'meeting-room':0xe149,'media-forward':0x1e14a,'media-play':0x1e14b,'media-pause':0xe14c,'media-reverse':0x1e14d,'media-rewind':0x1e14e,'measurement-document':0xe14f,'measuring-point':0xe150,'measure':0xe151,'map-3':0xe152,'locked':0xe153,'letter':0xe154,'journey-arrive':0xe155,'journey-change':0xe156,'journey-depart':0xe157,'it-system':0xe158,'it-instance':0xe159,'it-host':0xe15a,'iphone-2':0xe15b,'ipad-2':0xe15c,'inventory':0xe15d,'insurance-house':0xe15e,'insurance-life':0xe15f,'insurance-car':0xe160,'initiative':0xe161,'incident':0x1e162,'group-2':0xe163,'goal':0xe164,'functional-location':0xe165,'full-screen':0xe166,'form':0xe167,'fob-watch':0xe168,'blank-tag':0xe169,'family-protection':0xe16a,'folder':0xe16b,'fax-machine':0xe16c,'example':0xe16d,'eraser':0xe16e,'employee-rejections':0xe16f,'drop-down-list':0xe170,'draw-rectangle':0xe171,'document':0xe172,'doctor':0xe173,'discussion-2':0xe174,'discussion':0xe175,'dimension':0xe176,'customer-and-supplier':0xe177,'crop':0xe178,'add-contact':0xe179,'compare-2':0xe17a,'color-fill':0xe17b,'collision':0xe17c,'curriculum':0xe17d,'chart-axis':0xe17e,'full-stacked-chart':0xe17f,'full-stacked-column-chart':0xe180,'vertical-bar-chart-2':0xe181,'horizontal-bar-chart-2':0xe182,'horizontal-stacked-chart':0xe183,'vertical-stacked-chart':0xe184,'choropleth-chart':0x1e185,'geographic-bubble-chart':0x1e186,'multiple-radar-chart':0xe187,'radar-chart':0xe188,'crossed-line-chart':0xe189,'multiple-line-chart':0xe18a,'multiple-bar-chart':0xe18b,'line-chart':0xe18c,'line-chart-dual-axis':0xe18d,'bubble-chart':0xe18e,'scatter-chart':0xe18f,'multiple-pie-chart':0xe190,'column-chart-dual-axis':0xe191,'tag-cloud-chart':0xe192,'area-chart':0xe193,'cause':0xe194,'cart-3':0xe195,'cart-2':0xe196,'bus-public-transport':0xe197,'burglary':0xe198,'building':0xe199,'border':0xe19a,'bookmark':0xe19b,'badge':0xe19c,'attachment-audio':0xe19d,'attachment-video':0xe19e,'attachment-html':0xe19f,'attachment-photo':0xe1a0,'attachment-e-pub':0xe1a1,'attachment-zip-file':0xe1a2,'attachment-text-file':0xe1a3,'add-equipment':0xe1a4,'add-activity':0x1e1a5,'activity-individual':0xe1a6,'activity-2':0x1e1a7,'add-activity-2':0x1e1a8,'activity-items':0xe1a9,'activity-assigned-to-goal':0xe1aa,'status-completed':0xe1ab,'status-positive':0xe1ab,'status-error':0xe1ac,'status-negative':0xe1ac,'status-inactive':0xe1ad,'status-in-process':0xe1ae,'status-critical':0xe1ae,'blank-tag-2':0xe1af,'cart-full':0xe1b0,'locate-me':0xe1b1,'paging':0xe1b2,'company-view':0xe1b3,'document-text':0xe1b4,'explorer':0xe1b5,'personnel-view':0xe1b6,'sorting-ranking':0xe1b7,'drill-down':0xe1b8,'drill-up':0xe1b9,'vds-file':0xe1ba,'sap-logo-shape':0x1e1bb,'folder-full':0xe1bc,'system-exit':0xe1bd,'system-exit-2':0xe1be,'close-command-field':0xe1bf,'open-command-field':0xe1c0,'sys-enter-2':0x1e1c1,'sys-enter':0x1e1c2,'sys-help-2':0x1e1c3,'sys-help':0x1e1c4,'sys-back':0xe1c5,'sys-back-2':0xe1c6,'sys-cancel':0xe1c7,'sys-cancel-2':0xe1c8,'open-folder':0xe1c9,'sys-find-next':0xe1ca,'sys-find':0xe1cb,'sys-monitor':0xe1cc,'sys-prev-page':0xe1cd,'sys-first-page':0xe1ce,'sys-next-page':0xe1cf,'sys-last-page':0xe1d0,'generate-shortcut':0xe1d1,'create-session':0xe1d2,'display-more':0xe1d3,'enter-more':0xe1d4,'zoom-in':0xe1d5,'zoom-out':0xe1d6,'header':0xe1d7,'detail-view':0xe1d8,'show-edit':0xe1d8,'collapse':0xe1d9,'expand':0xe1da,'positive':0xe1db,'negative':0xe1dc,'display':0xe1dd,'menu2':0xe1de,'redo':0xe1df,'undo':0xe1e0,'navigation-up-arrow':0xe1e1,'navigation-down-arrow':0xe1e2,'down':0xe1e3,'up':0xe1e4,'shelf':0xe1e5,'background':0xe1e6,'resize':0xe1e7,'move':0xe1e8,'show':0xe1e9,'hide':0xe1ea,'nav-back':0xe1eb,'error':0xe1ec,'slim-arrow-right':0xe1ed,'slim-arrow-left':0xe1ee,'slim-arrow-down':0xe1ef,'slim-arrow-up':0xe1f0,'forward':0xe1f1,'overflow':0xe1f2,'value-help':0xe1f3,'multi-select':0x1e1f4,'exit-full-screen':0xe1f5,'sys-add':0xe1f6,'sys-minus':0xe1f7,'dropdown':0xe1f8,'expand-group':0xe1f9,'collapse-group':0xe200,'vertical-grip':0xe1fa,'horizontal-grip':0xe1fb,'sort-descending':0xe1fc,'sort-ascending':0xe1fd,'arrow-down':0xe1fe,'legend':0xe1ff,'message-warning':0xe201,'message-information':0x1e202,'message-success':0x1e203,'restart':0xe204,'stop':0xe205,'add-process':0xe206,'cancel-maintenance':0xe207,'activate':0xe208,'resize-horizontal':0xe209,'resize-vertical':0xe20a,'connected':0xe20b,'disconnected':0xe20c,'edit-outside':0xe20d,'key':0xe20e,'minimize':0xe20f,'back-to-top':0xe210,'hello-world':0xe211,'outbox':0xe212,'donut-chart':0xe213,'heatmap-chart':0xe214,'horizontal-bullet-chart':0xe215,'vertical-bullet-chart':0xe216,'call':0xe217,'download-from-cloud':0xe218,'upload-to-cloud':0xe219,'jam':0xe21a,'sap-ui5':0xe21b,'message-popup':0xe21c,'cloud':0xe21d,'horizontal-waterfall-chart':0x1e21e,'vertical-waterfall-chart':0x1e21f,'broken-link':0xe220,'headset':0xe221,'thumb-up':0x1e222,'thumb-down':0x1e223,'multiselect-all':0x1e224,'multiselect-none':0x1e225,'scissors':0xe226,'sound':0x1e227,'sound-loud':0x1e228,'sound-off':0x1e229,'date-time':0x1e22a,'user-settings':0xe22b,'key-user-settings':0xe22c,'developer-settings':0xe22d,'text-formatting':0x1e22e,'bold-text':0x1e22f,'italic-text':0x1e230,'underline-text':0x1e231,'text-align-justified':0x1e232,'text-align-left':0x1e233,'text-align-center':0x1e234,'text-align-right':0x1e235,'bullet-text':0x1e236,'numbered-text':0x1e237,'co':0xe238,'ui-notifications':0xe239,'bell':0xe23a,'cancel-share':0xe23b,'write-new-document':0xe23c,'write-new':0xe23d,'cancel':0x1e23e,'screen-split-one':0xe23f,'screen-split-two':0xe240,'screen-split-three':0xe241,'customize':0xe242,'user-edit':0xe243,'source-code':0xe244,'copy':0xe245,'paste':0xe246,'line-chart-time-axis':0x1e247,'clear-filter':0xe248,'reset':0xe249,'trend-up':0xe24a,'trend-down':0xe24b,'cursor-arrow':0xe24c,'add-document':0xe24d,'create-form':0xe24e,'resize-corner':0xe24f,'chevron-phase':0xe250,'chevron-phase-2':0xe251,'rhombus-milestone':0xe252,'rhombus-milestone-2':0xe253,'circle-task':0xe254,'circle-task-2':0xe255,'project-definition-triangle':0xe256,'project-definition-triangle-2':0xe257,'master-task-triangle':0xe258,'master-task-triangle-2':0xe259,'program-triangles':0xe25a,'program-triangles-2':0xe25b,'mirrored-task-circle':0xe25c,'mirrored-task-circle-2':0xe25d,'checklist-item':0xe25e,'checklist-item-2':0xe25f,'checklist':0xe260,'checklist-2':0xe261,'chart-table-view':0xe262,'filter-analytics':0xe263,'filter-facets':0xe264,'filter-fields':0xe265,'indent':0xe266,'outdent':0xe267,'heading1':0x1e268,'heading2':0x1e269,'heading3':0x1e26a,'decrease-line-height':0xe26b,'increase-line-height':0xe26c,'fx':0x1e26d,'add-folder':0xe26e,'away':0xe26f,'busy':0xe270,'appear-offline':0xe271,'blur':0xe272,'pixelate':0xe273,'horizontal-combination-chart':0xe274,'add-employee':0xe275,'text-color':0x1e276,'browse-folder':0xe277,'primary-key':0xe278,'two-keys':0xe279,'strikethrough':0xe27a,'text':0xe27b,'responsive':0xe27c,'desktop-mobile':0xe27d,'table-row':0xe27e,'table-column':0xe27f,'validate':0x1e280,'keyboard-and-mouse':0xe281,'touch':0xe282,'expand-all':0xe283,'collapse-all':0xe284,'combine':0xe285,'split':0xe286,'megamenu':0xe287,"feedback":0xe288}};var C;function g(){if(!C){C=sap.ui.getCore().getLibraryResourceBundle("sap.ui.core");}return C;}var a;var b={};b.createControlByURI=function(s,d){if(typeof s==="string"){s={src:s};}if(s&&s.src){var e=s.src,h=d;if(b.isIconURI(e)){a=a||sap.ui.requireSync("sap/ui/core/Icon");h=a;if(s.tap){s.press=s.tap;delete s.tap;}}if(typeof h==="function"){s=h.getMetadata().removeUnknownSettings(s);return new h(s);}}};b.addIcon=function(d,e,h){if(typeof h==="string"){h={fontFamily:arguments[2],content:arguments[3],overWrite:!!arguments[4],suppressMirroring:!!arguments[5]};}if(typeof e!=="string"){e=String(e);}e=e==='undefined'?undefined:e;if(!r[e]){r[e]={};}var j=r[e],k=j[d],p,s,t,K;if(k){if(e===undefined){L.warning("Icon with name '"+d+"' in built-in collection already exists and can not be overwritten.","sap.ui.core.IconPool");return;}else if(!h.overWrite){L.warning("Icon with name '"+d+"' in collection '"+e+"' already exists. Specify 'iconInfo.overWrite' in order to overwrite.","sap.ui.core.IconPool");return;}}p={protocol:I,hostname:e||d,path:e?d:undefined};if(Array.isArray(h.content)){s=h.content.map(m).join('');}else{s=m(h.content);}if(h.resourceBundle instanceof R){K="Icon."+d;if(h.resourceBundle.hasText(K)){t=h.resourceBundle.getText(K);}}k=j[d]={name:d,collection:e,uri:U.build(p),fontFamily:h.fontFamily,content:s,text:t||'',suppressMirroring:h.suppressMirroring,skipMirroring:h.suppressMirroring};return k;};b.getIconURI=function(d,e){var h=this.getIconInfo(d,e);return h&&h.uri;};b.getIconInfo=function(d,e,l){var p,h,j,n=b.isIconURI(d);if(!d){return;}if(!l&&n){l=e;}l=l||"sync";j=(l==="async"||l==="mixed");function k(){var s=r[e];var h=s&&s[d];if(typeof h==='number'){r[e][d]=undefined;h=b.addIcon(d,e,{fontFamily:f[e].config.fontFamily,content:h&0xFFFF,suppressMirroring:!!(h&0x10000),resourceBundle:g()});}return h;}if(n){p=U.parse(d);if(p.path.length===1){e=undefined;d=p.hostname;}else{e=p.hostname;d=p.path.slice(1);}if(!d){return;}}if(typeof e!=="string"){e=String(e);}e=e==='undefined'?undefined:e;if(e===undefined&&!f[e].inserted){b.insertFontFaceStyle();}h=k();if(h===undefined&&e!==undefined){var o=b._loadFontMetadata(e,j);}if(j){if(o){return o.then(function(){h=k();if(!h){L.warning("Icon info for icon '"+d+"' in collection '"+e+"' could not be fetched");}return h;});}else{if(l==="async"){return Promise.resolve(h);}else{h=k();}}}else{h=k();}if(!h){L.warning("Icon info for icon '"+d+"' in collection '"+e+"' could not be fetched");}return h;};b.fontLoaded=function(s){if(f[s]){if(f[s].metadataLoaded instanceof Promise){return f[s].metadataLoaded;}else if(f[s].metadataLoaded===true){return Promise.resolve();}}};b.isIconURI=function(u){if(!u){return false;}var p=U.parse(u);return p.protocol===I&&!!p.hostname;};b.getIconCollectionNames=function(){return Object.keys(r);};b.getIconNames=function(d){var e=r[d];return e?Object.keys(e):[];};b.insertFontFaceStyle=function(F,p,s){F=F||S;function d(u){return b._convertUrl?b._convertUrl(u):u;}if(s===undefined&&F!==S){s=F;}if(!f[s]){L.error("Icon font '"+s+"' has not been registered yet.");return;}if(f[s].inserted){if(s===undefined){L.info("The font face style of standard icon font was already inserted.");}else{L.info("The font face style of icon font '"+s+"' was already inserted.");}return;}if(F===S&&s!==undefined){L.error("Must not overwrite the standard icon set with '"+s+"'.");return;}var e=p||sap.ui.require.toUrl("sap/ui/core/themes/base/fonts/");var h="@font-face {"+"font-family: '"+F+"';"+"src: url('"+d(e+F+".woff2")+"') format('woff2'),"+"url('"+d(e+F+".woff")+"') format('woff'),"+"url('"+d(e+F+".ttf")+"') format('truetype'),"+"local('"+F+"');"+"font-weight: normal;"+"font-style: normal;"+"}";var j=document.createElement("style");j.type="text/css";j.textContent=h;document.head.appendChild(j);f[s].inserted=true;f[s].fontFace=F;};b.registerFont=function(o){o.collectionName=o.collectionName||o.fontFamily;if(!o.fontURI){L.error("The configuration parameter fontURI is missing, cannot register the font '"+o.collectionName+"'!");return;}if(o.fontFamily===S){L.error("The font family"+S+" is already registered");return;}if(o.fontURI.substr(o.fontURI.length-1)!=="/"){o.fontURI+="/";}if(!f[o.collectionName]||f[o.collectionName].metadataLoaded===false){f[o.collectionName]={config:o,inserted:false};}else{L.warning("The font '"+o.collectionName+"' is already registered");}if(!o.lazy){b._loadFontMetadata(o.collectionName,true);}};b._loadFontMetadata=function(d,e){var o;if(f[d]){if(typeof f[d].metadataLoaded==="boolean"){return;}if(e&&f[d].metadataLoaded instanceof Promise){return f[d].metadataLoaded;}o=f[d].config;}else{if(!r[d]){L.error("The font configuration for collection '"+d+"' is not registered");}f[d]={metadataLoaded:false};}function l(F){for(var k in F){F[k]=parseInt(F[k],16);}r[d]=F;b.insertFontFaceStyle(o.fontFamily,o.fontURI,d);f[d].metadataLoaded=true;}if(o){if(o.metadataURI===undefined){o.metadataURI=o.fontURI+o.fontFamily+".json";}if(e&&!o.metadata){if(f[d].metadataLoaded instanceof Promise){return f[d].metadataLoaded;}var p=new Promise(function(h){if(r[d]===undefined){f[d].metadataLoadedResolve=h;f[d].metadataXhr=q.ajax(o.metadataURI,{dataType:"json",success:function(j){l(j);delete f[d].metadataXhr;delete f[d].metadataLoadedResolve;h();},error:function(j,s){if(s!=="abort"){L.error("An error occurred loading the font metadata for collection '"+d+"'");f[d].metadataLoaded=false;h();}}});}});f[d].metadataLoaded=p;return p;}else{if(o.metadataURI){if(f[d].metadataXhr){f[d].metadataXhr.abort("Replaced by sync request");f[d].metadataXhr=null;}L.warning("Synchronous loading of font meta data in IconPool, due to .getIconInfo() call"+" for '"+d+"'. Use loading mode 'async' to avoid this call.","SyncXHR",null,function(){return{type:"SyncXHR",name:"IconPool"};});q.ajax(o.metadataURI,{dataType:"json",async:false,success:function(j){l(j);if(f[d].metadataLoadedResolve){f[d].metadataLoadedResolve();delete f[d].metadataLoadedResolve;}},error:function(){if(f[d].metadataLoadedResolve){f[d].metadataLoadedResolve();delete f[d].metadataLoadedResolve;}L.error("An error occurred loading the font metadata for collection '"+d+"'");f[d].metadataLoaded=false;}});}else{l(o.metadata);}}}};var i={"application/msword":"sap-icon://doc-attachment","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"sap-icon://doc-attachment","application/rtf":"sap-icon://doc-attachment","application/pdf":"sap-icon://pdf-attachment","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"sap-icon://excel-attachment","application/vnd.ms-excel":"sap-icon://excel-attachment","application/msexcel":"sap-icon://excel-attachment","application/vnd.ms-powerpoint":"sap-icon://ppt-attachment","application/vnd.openxmlformats-officedocument.presentationml.presentation":"sap-icon://ppt-attachment","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"sap-icon://ppt-attachment","application/mspowerpoint":"sap-icon://ppt-attachment","application/xml":"sap-icon://attachment-html","application/xhtml+xml":"sap-icon://attachment-html","application/x-httpd-php":"sap-icon://attachment-html","application/x-javascript":"sap-icon://attachment-html","application/gzip":"sap-icon://attachment-zip-file","application/x-rar-compressed":"sap-icon://attachment-zip-file","application/x-tar":"sap-icon://attachment-zip-file","application/zip":"sap-icon://attachment-zip-file","audio/voxware":"sap-icon://attachment-audio","audio/x-aiff":"sap-icon://attachment-audio","audio/x-midi":"sap-icon://attachment-audio","audio/x-mpeg":"sap-icon://attachment-audio","audio/x-pn-realaudio":"sap-icon://attachment-audio","audio/x-pn-realaudio-plugin":"sap-icon://attachment-audio","audio/x-qt-stream":"sap-icon://attachment-audio","audio/x-wav":"sap-icon://attachment-audio","image/png":"sap-icon://attachment-photo","image/tiff":"sap-icon://attachment-photo","image/bmp":"sap-icon://attachment-photo","image/jpeg":"sap-icon://attachment-photo","image/gif":"sap-icon://attachment-photo","text/plain":"sap-icon://attachment-text-file","text/comma-separated-values":"sap-icon://attachment-text-file","text/css":"sap-icon://attachment-text-file","text/html":"sap-icon://attachment-text-file","text/javascript":"sap-icon://attachment-text-file","text/richtext":"sap-icon://attachment-text-file","text/rtf":"sap-icon://attachment-text-file","text/tab-separated-values":"sap-icon://attachment-text-file","text/xml":"sap-icon://attachment-text-file","video/mpeg":"sap-icon://attachment-video","video/quicktime":"sap-icon://attachment-video","video/x-msvideo":"sap-icon://attachment-video","application/x-shockwave-flash":"sap-icon://attachment-video"};b.getIconForMimeType=function(M){return i[M]||"sap-icon://document";};function m(d){return String.fromCharCode(typeof d==='number'?d:parseInt(d,16));}return b;},true);
sap.ui.predefine('sap/ui/core/IconRenderer',['./IconPool','./library',"sap/base/security/encodeCSS"],function(I,l,e){"use strict";var a=l.IconColor;var b={};b.render=function(r,c){var i=I.getIconInfo(c.getSrc(),undefined,"mixed"),w=c.getWidth(),h=c.getHeight(),C=c.getColor(),B=c.getBackgroundColor(),s=c.getSize(),n=c.getNoTabStop(),t=c._getOutputTitle(i),L,o,A,d=false;if(i instanceof Promise){i.then(c.invalidate.bind(c));}else if(i){d=true;L=c.getAriaLabelledBy();A=c._getAccessibilityAttributes(i);o=c.getAggregation("_invisibleText");}r.write("<span");r.writeControlData(c);if(d){r.writeAccessibilityState(c,A);}if(t){r.writeAttributeEscaped("title",t);}if(c.hasListeners("press")&&!n){r.writeAttribute("tabindex",0);}if(d){r.writeAttributeEscaped("data-sap-ui-icon-content",i.content);r.addStyle("font-family","'"+e(i.fontFamily)+"'");}if(w){r.addStyle("width",w);}if(h){r.addStyle("height",h);r.addStyle("line-height",h);}if(C&&!(C in a)){r.addStyle("color",C);}if(B&&!(B in a)){r.addStyle("background-color",B);}if(s){r.addStyle("font-size",s);}r.addClass("sapUiIcon");if(d&&!i.suppressMirroring){r.addClass("sapUiIconMirrorInRTL");}if(c.hasListeners("press")){r.addClass("sapUiIconPointer");}r.writeClasses();r.writeStyles();r.write(">");if(L&&L.length&&o){r.renderControl(o);}r.write("</span>");};return b;},true);
sap.ui.predefine('sap/ui/core/IntervalTrigger',['../base/Object','./EventBus',"sap/base/assert"],function(B,E,a){"use strict";var _="sapUiIntervalTrigger-event";var I=B.extend("sap.ui.core.IntervalTrigger",{constructor:function(i){B.apply(this);this._oEventBus=new E();this._delayedCallId=null;this._trigger=t.bind(this);this._iInterval=0;if(i){this.setInterval(i);}}});var t=function(){clearTimeout(this._delayedCallId);var h=this._oEventBus._defaultChannel.hasListeners(_);if(this._iInterval>0&&h){this._oEventBus.publish(_);this._delayedCallId=setTimeout(this._trigger,this._iInterval);}};I.prototype.destroy=function(){B.prototype.destroy.apply(this,arguments);delete this._trigger;this._oEventBus.destroy();delete this._oEventBus;};I.prototype.setInterval=function(i){a((typeof i==="number"),"Interval must be an integer value");if(this._iInterval!==i){this._iInterval=i;this._trigger();}};I.prototype.addListener=function(f,l){this._oEventBus.subscribe(_,f,l);this._trigger();};I.prototype.removeListener=function(f,l){this._oEventBus.unsubscribe(_,f,l);};I.prototype.getInterface=function(){return this;};var g=function(){var i=new I(200);g=function(){return i;};return i;};I.addListener=function(f,l){g().addListener(f,l);};I.removeListener=function(f,l){g().removeListener(f,l);};return I;});
sap.ui.predefine('sap/ui/core/InvisibleRenderer',[],function(){"use strict";var I={apiVersion:2};I.PlaceholderPrefix="sap-ui-invisible-";I.createInvisiblePlaceholderId=function(e){return this.PlaceholderPrefix+e.getId();};I.render=function(r,e,t){var p=this.createInvisiblePlaceholderId(e);t=t||"span";r.openStart(t,p);r.attr("data-sap-ui",p);r.attr("aria-hidden","true");r.class("sapUiHiddenPlaceholder");r.openEnd(true);r.close(t);};return I;});
sap.ui.predefine('sap/ui/core/InvisibleText',['./Control','./library',"sap/base/Log","sap/base/security/encodeXML"],function(C,l,L,a){"use strict";var I=C.extend("sap.ui.core.InvisibleText",{metadata:{library:"sap.ui.core",publicMethods:["toStatic"],properties:{text:{type:"string",defaultValue:""}}},renderer:function(r,c){r.write("<span");r.writeControlData(c);r.addClass("sapUiInvisibleText");r.writeClasses();r.writeAttribute("aria-hidden","true");r.write(">");r.writeEscaped(c.getText()||"");r.write("</span>");}});function m(w){return function(){L.warning(w+" is not supported by control sap.ui.core.InvisibleText.");return this;};}I.prototype.setBusy=m("Property busy");I.prototype.setBusyIndicatorDelay=m("Property busy");I.prototype.setBusyIndicatorSize=m("Property busy");I.prototype.setVisible=m("Property visible");I.prototype.setTooltip=m("Aggregation tooltip");I.prototype.setText=function(T){this.setProperty("text",T,true);this.$().html(a(this.getText()||""));return this;};I.prototype.getRendererMarkup=function(){var i=this.getId();return'<span id="'+i+'" data-sap-ui="'+i+'" class="sapUiInvisibleText" aria-hidden="true">'+a(this.getText())+'</span>';};I.prototype.toStatic=function(){var c=sap.ui.getCore();try{var s=c.getStaticAreaRef();s.insertAdjacentHTML("beforeend",this.getRendererMarkup());this.bOutput=true;}catch(e){this.placeAt("sap-ui-static");}return this;};var t=Object.create(null);I.getStaticId=function(s,T){var b="",k,B,o;if(sap.ui.getCore().getConfiguration().getAccessibility()&&T){k=s+"|"+T;b=t[k];if(b==null){B=sap.ui.getCore().getLibraryResourceBundle(s);o=new I().setText(B.getText(T));o.toStatic();b=t[k]=o.getId();}}return b;};sap.ui.getCore().attachLocalizationChanged(function(e){var c=sap.ui.getCore(),k,p,b,T;for(k in t){p=k.indexOf('|');b=c.getLibraryResourceBundle(k.slice(0,p));T=c.byId(t[k]);T&&T.setText(b.getText(k.slice(p+1)));}});return I;});
sap.ui.predefine('sap/ui/core/Item',['./Element','./library'],function(E,l){"use strict";var T=l.TextDirection;var I=E.extend("sap.ui.core.Item",{metadata:{library:"sap.ui.core",properties:{text:{type:"string",group:"Misc",defaultValue:""},enabled:{type:"boolean",group:"Misc",defaultValue:true},textDirection:{type:"sap.ui.core.TextDirection",group:"Misc",defaultValue:T.Inherit},key:{type:"string",group:"Data",defaultValue:null}}}});return I;});
sap.ui.predefine('sap/ui/core/LabelEnablement',['../base/ManagedObject',"sap/base/assert"],function(M,a){"use strict";var C={};var N=["sap.ui.comp.navpopover.SmartLink","sap.m.Link","sap.m.Label","sap.m.Text"];function t(i,I){if(!i){return null;}var o=sap.ui.getCore().byId(i);if(o&&I&&(!o.isA('sap.ui.core.Control')||o.getDomRef())){o.invalidate();}return o;}function f(l){var i=l.getLabelFor()||l._sAlternativeId||'';return i;}function r(l,D){var s=l.getId();var o=l.__sLabeledControl;var n=D?null:f(l);if(o==n){return;}if(!D){l.invalidate();}if(n){l.__sLabeledControl=n;}else{delete l.__sLabeledControl;}var e;if(o){e=C[o];if(e){e=e.filter(function(h){return h!=s;});if(e.length){C[o]=e;}else{delete C[o];}}}if(n){e=C[n]||[];e.push(s);C[n]=e;}var O=t(o,true);var g=t(n,true);if(O){l.detachRequiredChange(O);}if(g){l.attachRequiredChange(g);}}function c(o){if(!o){throw new Error("sap.ui.core.LabelEnablement cannot enrich null");}var m=o.getMetadata();if(!m.isInstanceOf("sap.ui.core.Label")){throw new Error("sap.ui.core.LabelEnablement only supports Controls with interface sap.ui.core.Label");}var l=m.getAssociation("labelFor");if(!l||l.multiple){throw new Error("sap.ui.core.LabelEnablement only supports Controls with a to-1 association 'labelFor'");}}function b(o){if(!o){return true;}var n=o.getMetadata().getName();return N.indexOf(n)<0;}var L={};L.writeLabelForAttribute=function(R,l){if(!l||!l.getLabelForRendering){return;}var s=l.getLabelForRendering();if(!s){return;}var o=t(s);if(o&&o.getIdForLabel){s=o.getIdForLabel();}if(s&&b(o)){R.attr("for",s);}};L.getReferencingLabels=function(e){var i=e?e.getId():null;if(!i){return[];}return C[i]||[];};L.isRequired=function(e){if(d(e)){return true;}var l=L.getReferencingLabels(e),o;for(var i=0;i<l.length;i++){o=sap.ui.getCore().byId(l[i]);if(d(o)){return true;}}return false;};function d(e){return!!(e&&e.getRequired&&e.getRequired());}L.enrich=function(o){c(o);o.__orig_setLabelFor=o.setLabelFor;o.setLabelFor=function(i){var e=this.__orig_setLabelFor.apply(this,arguments);r(this);return e;};o.__orig_exit=o.exit;o.exit=function(){this._sAlternativeId=null;r(this,true);if(o.__orig_exit){o.__orig_exit.apply(this,arguments);}};o.setAlternativeLabelFor=function(i){if(i instanceof M){i=i.getId();}else if(i!=null&&typeof i!=="string"){a(false,"setAlternativeLabelFor(): sId must be a string, an instance of sap.ui.base.ManagedObject or null");return this;}this._sAlternativeId=i;r(this);return this;};o.getLabelForRendering=function(){var i=this.getLabelFor()||this._sAlternativeId;var o=t(i);return b(o)?i:"";};if(!o.getMetadata().getProperty("required")){return;}o.__orig_setRequired=o.setRequired;o.setRequired=function(R){var O=this.getRequired(),e=this.__orig_setRequired.apply(this,arguments);if(this.getRequired()!==O){t(this.__sLabeledControl,true);}return e;};o.isRequired=function(){var F=t(this.getLabelForRendering(),false);return d(this)||d(F);};o.isDisplayOnly=function(){if(this.getDisplayOnly){return this.getDisplayOnly();}else{return false;}};o.isWrapping=function(){if(this.getWrapping){return this.getWrapping();}else{return false;}};o.disableRequiredChangeCheck=function(n){this._bNoRequiredChangeCheck=n;};o.attachRequiredChange=function(F){if(F&&!this._bNoRequiredChangeCheck){if(F.getMetadata().getProperty("required")){F.attachEvent("_change",_,this);}this._bRequiredAttached=true;}};o.detachRequiredChange=function(F){if(F&&!this._bNoRequiredChangeCheck){if(F.getMetadata().getProperty("required")){F.detachEvent("_change",_,this);}this._bRequiredAttached=false;}};function _(e){if(e.getParameter("name")=="required"){this.invalidate();}}o.__orig_onAfterRendering=o.onAfterRendering;o.onAfterRendering=function(e){var g;if(this.__orig_onAfterRendering){g=this.__orig_onAfterRendering.apply(this,arguments);}if(!this._bNoRequiredChangeCheck&&!this._bRequiredAttached&&this.__sLabeledControl){var F=t(this.__sLabeledControl,false);this.attachRequiredChange(F);}return g;};};return L;},true);
sap.ui.predefine('sap/ui/core/LayoutData',['./Element','./library',"sap/ui/thirdparty/jquery"],function(E,l,q){"use strict";var L=E.extend("sap.ui.core.LayoutData",{metadata:{"abstract":true,library:"sap.ui.core"}});L.prototype.invalidate=function(){var p=this.getParent();if(p&&p.getMetadata().getName()=="sap.ui.core.VariantLayoutData"){p=p.getParent();}if(p){var o=p.getParent();if(o){var e=q.Event("LayoutDataChange");e.srcControl=p;o._handleEvent(e);}}};L.prototype.setLayoutData=function(o){return this;};return L;});
sap.ui.predefine('sap/ui/core/ListItem',['./Item','./library'],function(I,l){"use strict";var L=I.extend("sap.ui.core.ListItem",{metadata:{library:"sap.ui.core",properties:{icon:{type:"string",group:"Appearance",defaultValue:null},additionalText:{type:"string",group:"Data",defaultValue:null}}}});return L;});
sap.ui.predefine('sap/ui/core/Locale',['sap/ui/base/Object',"sap/base/assert"],function(B,a){"use strict";var r=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;var L=B.extend("sap.ui.core.Locale",{constructor:function(l){B.apply(this);var R=r.exec(l.replace(/_/g,"-"));if(R===null){throw new TypeError("The given language '"+l+"' does not adhere to BCP-47.");}this.sLocaleId=l;this.sLanguage=R[1]||null;this.sScript=R[2]||null;this.sRegion=R[3]||null;this.sVariant=(R[4]&&R[4].slice(1))||null;this.sExtension=(R[5]&&R[5].slice(1))||null;this.sPrivateUse=R[6]||null;if(this.sLanguage){this.sLanguage=this.sLanguage.toLowerCase();}if(this.sScript){this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,function($){return $.toUpperCase();});}if(this.sRegion){this.sRegion=this.sRegion.toUpperCase();}},getLanguage:function(){return this.sLanguage;},getScript:function(){return this.sScript;},getRegion:function(){return this.sRegion;},getVariant:function(){return this.sVariant;},getVariantSubtags:function(){return this.sVariant?this.sVariant.split('-'):[];},getExtension:function(){return this.sExtension;},getExtensionSubtags:function(){return this.sExtension?this.sExtension.slice(2).split('-'):[];},getPrivateUse:function(){return this.sPrivateUse;},getPrivateUseSubtags:function(){return this.sPrivateUse?this.sPrivateUse.slice(2).split('-'):[];},hasPrivateUseSubtag:function(s){a(s&&s.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag");return this.getPrivateUseSubtags().indexOf(s)>=0;},toString:function(){return j(this.sLanguage,this.sScript,this.sRegion,this.sVariant,this.sExtension,this.sPrivateUse);},toLanguageTag:function(){var l=this.getModernLanguage();var s=this.sScript;if(l==="sr"&&s==="Latn"){l="sh";s=null;}return j(l,s,this.sRegion,this.sVariant,this.sExtension,this.sPrivateUse);},getModernLanguage:function(){return M[this.sLanguage]||this.sLanguage;},getSAPLogonLanguage:function(){var l=this.sLanguage||"";if(l.indexOf("-")>=0){l=l.slice(0,l.indexOf("-"));}l=M[l]||l;if(l==="zh"&&!this.sScript&&this.sRegion==="TW"){return"ZF";}return(c[j(l,this.sScript)]||c[j(l,this.sRegion)]||c[g(this.sPrivateUse)]||l.toUpperCase());}});function g(p){if(p){var m=/-(saptrc|sappsd)(?:-|$)/i.exec(p);return m&&"en-US-x-"+m[1].toLowerCase();}}var M={"iw":"he","ji":"yi"};var b={"ZH":"zh-Hans","ZF":"zh-Hant","SH":"sr-Latn","6N":"en-GB","1P":"pt-PT","1X":"es-MX","3F":"fr-CA","1Q":"en-US-x-saptrc","2Q":"en-US-x-sappsd"};var c=i(b);function d(v){var m=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(v);return(m&&m[2])?m[2].split(/,/):null;}var A=d("$cldr-rtl-locales:ar,fa,he$")||[];L._cldrLocales=d("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sr_Latn,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$");L._coreI18nLocales=d("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,kk,ko,lt,lv,ms,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$");L._impliesRTL=function(l){var o=l instanceof L?l:new L(l);var s=o.getLanguage()||"";s=(s&&M[s])||s;var R=o.getRegion()||"";if(R&&A.indexOf(s+"_"+R)>=0){return true;}return A.indexOf(s)>=0;};L.fromSAPLogonLanguage=function(s){if(s&&typeof s==='string'){s=b[s.toUpperCase()]||s;try{return new L(s);}catch(e){}}};function j(){return Array.prototype.filter.call(arguments,Boolean).join("-");}function i(o){return Object.keys(o).reduce(function(e,k){e[o[k]]=k;return e;},{});}return L;});
sap.ui.predefine('sap/ui/core/LocaleData',['sap/ui/thirdparty/jquery','sap/ui/base/Object','./CalendarType','./Locale','sap/base/assert','sap/base/util/LoaderExtensions'],function(q,B,C,L,a,b){"use strict";var c=B.extend("sap.ui.core.LocaleData",{constructor:function(o){this.oLocale=o;B.apply(this);this.mData=h(o);},_get:function(){return this._getDeep(this.mData,arguments);},_getMerged:function(){return this._get.apply(this,arguments);},_getDeep:function(o,p){var r=o;for(var i=0;i<p.length;i++){r=r[p[i]];if(r===undefined){break;}}return r;},getOrientation:function(){return this._get("orientation");},getCurrentLanguageName:function(){var o=this.getLanguages();var s;var i=this.oLocale.getModernLanguage();var S=this.oLocale.getScript();if(i==="sr"&&S==="Latn"){i="sh";S=null;}if(this.oLocale.getRegion()){s=o[i+"_"+this.oLocale.getRegion()];}if(!s&&S){s=o[i+"_"+S];}if(!s){s=o[i];}return s;},getLanguages:function(){return this._get("languages");},getScripts:function(){return this._get("scripts");},getTerritories:function(){return this._get("territories");},getMonths:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");return this._get(g(s),"months","format",w);},getMonthsStandAlone:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");return this._get(g(s),"months","stand-alone",w);},getDays:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide"||w=="short","sWidth must be narrow, abbreviate, wide or short");return this._get(g(s),"days","format",w);},getDaysStandAlone:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide"||w=="short","sWidth must be narrow, abbreviated, wide or short");return this._get(g(s),"days","stand-alone",w);},getQuarters:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");return this._get(g(s),"quarters","format",w);},getQuartersStandAlone:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");return this._get(g(s),"quarters","stand-alone",w);},getDayPeriods:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");return this._get(g(s),"dayPeriods","format",w);},getDayPeriodsStandAlone:function(w,s){a(w=="narrow"||w=="abbreviated"||w=="wide","sWidth must be narrow, abbreviated or wide");return this._get(g(s),"dayPeriods","stand-alone",w);},getDatePattern:function(s,i){a(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");return this._get(g(i),"dateFormats",s);},getTimePattern:function(s,i){a(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");return this._get(g(i),"timeFormats",s);},getDateTimePattern:function(s,i){a(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");return this._get(g(i),"dateTimeFormats",s);},getCombinedDateTimePattern:function(D,t,s){a(D=="short"||D=="medium"||D=="long"||D=="full","sStyle must be short, medium, long or full");a(t=="short"||t=="medium"||t=="long"||t=="full","sStyle must be short, medium, long or full");var i=this.getDateTimePattern(D,s),j=this.getDatePattern(D,s),T=this.getTimePattern(t,s);return i.replace("{0}",T).replace("{1}",j);},getCustomDateTimePattern:function(s,i){var A=this._get(g(i),"dateTimeFormats","availableFormats");return this._getFormatPattern(s,A,i);},getIntervalPattern:function(i,s){var I=this._get(g(s),"dateTimeFormats","intervalFormats"),j,n,D,o,p;if(i){j=i.split("-");n=j[0];D=j[1];o=I[n];if(o){p=o[D];if(p){return p;}}}return I.intervalFormatFallback;},getCombinedIntervalPattern:function(p,s){var i=this._get(g(s),"dateTimeFormats","intervalFormats"),F=i.intervalFormatFallback;return F.replace(/\{(0|1)\}/g,p);},getCustomIntervalPattern:function(s,G,i){var A=this._get(g(i),"dateTimeFormats","intervalFormats");return this._getFormatPattern(s,A,i,G);},_getFormatPattern:function(s,A,i,D){var p,P,I;if(!D){p=A[s];}else if(typeof D==="string"){if(D=="j"||D=="J"){D=this.getPreferredHourSymbol();}I=A[s];p=I&&I[D];}if(p){if(typeof p==="object"){P=Object.keys(p).map(function(K){return p[K];});}else{return p;}}if(!P){P=this._createFormatPattern(s,A,i,D);}if(P&&P.length===1){return P[0];}return P;},_createFormatPattern:function(s,A,j,D){var t=this._parseSkeletonFormat(s),p,o=this._findBestMatch(t,s,A),T,n,S,G,P,r,u,v,w=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/,x,i;if(D){if(typeof D==="string"){v=d[D]?d[D].group:"";if(v){x=m[v].index>t[t.length-1].index;}u=D;}else{x=true;if(t[0].symbol==="y"&&o&&o.pattern.G){S=d["G"];G=m[S.group];t.splice(0,0,{symbol:"G",group:S.group,match:S.match,index:G.index,field:G.field,length:1});}for(i=t.length-1;i>=0;i--){T=t[i];if(D[T.group]){x=false;break;}}for(i=0;i<t.length;i++){T=t[i];if(D[T.group]){u=T.symbol;break;}}if((u=="h"||u=="K")&&D.DayPeriod){u="a";}}if(x){return[this.getCustomDateTimePattern(s,j)];}if(o&&o.missingTokens.length===0){P=o.pattern[u];if(P&&o.distance>0){P=this._expandFields(P,o.patternTokens,t);}}if(!P){n=this._get(g(j),"dateTimeFormats","availableFormats");if(w.test(s)&&"ahHkKjJms".indexOf(u)>=0){P=this._getMixedFormatPattern(s,n,j,D);}else{r=this._getFormatPattern(s,n,j);P=this.getCombinedIntervalPattern(r,j);}}p=[P];}else if(!o){P=s;p=[P];}else{if(typeof o.pattern==="string"){p=[o.pattern];}else if(typeof o.pattern==="object"){p=[];for(var K in o.pattern){P=o.pattern[K];p.push(P);}}if(o.distance>0){if(o.missingTokens.length>0){if(w.test(s)){p=[this._getMixedFormatPattern(s,A,j)];}else{p=this._expandFields(p,o.patternTokens,t);p=this._appendItems(p,o.missingTokens,j);}}else{p=this._expandFields(p,o.patternTokens,t);}}}if(s.indexOf("J")>=0){p.forEach(function(P,I){p[I]=P.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,"");});}return p;},_parseSkeletonFormat:function(s){var t=[],T={index:-1},S,o,G;for(var i=0;i<s.length;i++){S=s.charAt(i);if(S=="j"||S=="J"){S=this.getPreferredHourSymbol();}if(S==T.symbol){T.length++;continue;}o=d[S];G=m[o.group];if(o.group=="Other"||G.diffOnly){throw new Error("Symbol '"+S+"' is not allowed in skeleton format '"+s+"'");}if(G.index<=T.index){throw new Error("Symbol '"+S+"' at wrong position or duplicate in skeleton format '"+s+"'");}T={symbol:S,group:o.group,match:o.match,index:G.index,field:G.field,length:1};t.push(T);}return t;},_findBestMatch:function(t,s,A){var T,j,o,n,p,D,r,F,u,v,w={distance:10000,firstDiffPos:-1};for(var x in A){if(x==="intervalFormatFallback"||x.indexOf("B")>-1){continue;}T=this._parseSkeletonFormat(x);D=0;j=[];r=true;if(t.length<T.length){continue;}p=0;F=t.length;for(var i=0;i<t.length;i++){o=t[i];n=T[p];if(F===t.length){F=i;}if(n){u=d[o.symbol];v=d[n.symbol];if(o.symbol===n.symbol){if(o.length===n.length){if(F===i){F=t.length;}}else{if(o.length<u.numericCeiling?n.length<v.numericCeiling:n.length>=v.numericCeiling){D+=Math.abs(o.length-n.length);}else{D+=5;}}p++;continue;}else{if(o.match==n.match){D+=Math.abs(o.length-n.length)+10;p++;continue;}}}j.push(o);D+=50-i;}if(p<T.length){r=false;}if(r&&(D<w.distance||(D===w.distance&&F>w.firstDiffPos))){w.distance=D;w.firstDiffPos=F;w.missingTokens=j;w.pattern=A[x];w.patternTokens=T;}}if(w.pattern){return w;}},_expandFields:function(p,P,t){var s=(typeof p==="string");var n;if(s){n=[p];}else{n=p;}var r=n.map(function(o){var G={},u={},R="",Q=false,i=0,S,v,w,N,x,y,z,A;t.forEach(function(T){G[T.group]=T;});P.forEach(function(T){u[T.group]=T;});while(i<o.length){A=o.charAt(i);if(Q){R+=A;if(A=="'"){Q=false;}}else{z=d[A];if(z&&G[z.group]&&u[z.group]){x=G[z.group];y=u[z.group];S=x.length;w=y.length;v=1;while(o.charAt(i+1)==A){i++;v++;}if(S===w||((S<z.numericCeiling)?(v>=z.numericCeiling):(v<z.numericCeiling))){N=v;}else{N=Math.max(v,S);}for(var j=0;j<N;j++){R+=A;}}else{R+=A;if(A=="'"){Q=true;}}}i++;}return R;});return s?r[0]:r;},_appendItems:function(p,j,s){var A=this._get(g(s),"dateTimeFormats","appendItems");p.forEach(function(P,I){var D,n,o;j.forEach(function(t){n=A[t.group];D="'"+this.getDisplayName(t.field)+"'";o="";for(var i=0;i<t.length;i++){o+=t.symbol;}p[I]=n.replace(/\{0\}/,P).replace(/\{1\}/,o).replace(/\{2\}/,D);}.bind(this));}.bind(this));return p;},_getMixedFormatPattern:function(s,A,i,D){var r=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/,j=/MMMM|LLLL/,n=/MMM|LLL/,o=/E|e|c/,R,p,t,S,u,T,v,w;R=r.exec(s);p=R[1];t=R[2];u=this._getFormatPattern(p,A,i);if(D){T=this.getCustomIntervalPattern(t,D,i);}else{T=this._getFormatPattern(t,A,i);}if(j.test(p)){S=o.test(p)?"full":"long";}else if(n.test(p)){S="medium";}else{S="short";}v=this.getDateTimePattern(S,i);w=v.replace(/\{1\}/,u).replace(/\{0\}/,T);return w;},getNumberSymbol:function(t){a(t=="decimal"||t=="group"||t=="plusSign"||t=="minusSign"||t=="percentSign","sType must be decimal, group, plusSign, minusSign or percentSign");return this._get("symbols-latn-"+t);},getLenientNumberSymbols:function(t){a(t=="plusSign"||t=="minusSign","sType must be plusSign or minusSign");return this._get("lenient-scope-number")[t];},getDecimalPattern:function(){return this._get("decimalFormat").standard;},getCurrencyPattern:function(s){return this._get("currencyFormat")[s]||this._get("currencyFormat").standard;},getCurrencySpacing:function(p){return this._get("currencyFormat","currencySpacing",p==="after"?"afterCurrency":"beforeCurrency");},getPercentPattern:function(){return this._get("percentFormat").standard;},getMiscPattern:function(n){a(n=="approximately"||n=="atLeast"||n=="atMost"||n=="range","sName must be approximately, atLeast, atMost or range");return this._get("miscPattern")[n];},getMinimalDaysInFirstWeek:function(){return this._get("weekData-minDays");},getFirstDayOfWeek:function(){return this._get("weekData-firstDay");},getWeekendStart:function(){return this._get("weekData-weekendStart");},getWeekendEnd:function(){return this._get("weekData-weekendEnd");},getCustomCurrencyCodes:function(){var i=this._get("currency")||{},j={};Object.keys(i).forEach(function(s){j[s]=s;});return j;},getCurrencyDigits:function(s){var i=this._get("currency");if(i){if(i[s]&&i[s].hasOwnProperty("digits")){return i[s].digits;}else if(i["DEFAULT"]&&i["DEFAULT"].hasOwnProperty("digits")){return i["DEFAULT"].digits;}}var D=this._get("currencyDigits",s);if(D==null){D=this._get("currencyDigits","DEFAULT");if(D==null){D=2;}}return D;},getCurrencySymbol:function(s){var o=this.getCurrencySymbols();return(o&&o[s])||s;},getCurrencyCodeBySymbol:function(s){var o=this._get("currencySymbols"),i;for(i in o){if(o[i]===s){return i;}}return s;},getCurrencySymbols:function(){var i=this._get("currency"),j={},I;for(var s in i){I=i[s].isoCode;if(i[s].symbol){j[s]=i[s].symbol;}else if(I){j[s]=this._get("currencySymbols")[I];}}return Object.assign({},this._get("currencySymbols"),j);},getUnitDisplayName:function(u){var U=this.getUnitFormat(u);return(U&&U["displayName"])||"";},getRelativePatterns:function(s,S){if(S===undefined){S="wide";}a(S==="wide"||S==="short"||S==="narrow","sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var p=[],P=this.getPluralCategories(),o,t,v,i;if(!s){s=["year","month","week","day","hour","minute","second"];}s.forEach(function(j){o=this._get("dateFields",j+"-"+S);for(var E in o){if(E.indexOf("relative-type-")===0){v=parseInt(E.substr(14));p.push({scale:j,value:v,pattern:o[E]});}else if(E.indexOf("relativeTime-type-")==0){t=o[E];i=E.substr(18)==="past"?-1:1;P.forEach(function(K){p.push({scale:j,sign:i,pattern:t["relativeTimePattern-count-"+K]});});}}}.bind(this));return p;},getRelativePattern:function(s,D,F,S){var p,t,K,P;if(typeof F==="string"){S=F;F=undefined;}if(F===undefined){F=D>0;}if(S===undefined){S="wide";}a(S==="wide"||S==="short"||S==="narrow","sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");K=s+"-"+S;if(D===0||D===-2||D===2){p=this._get("dateFields",K,"relative-type-"+D);}if(!p){t=this._get("dateFields",K,"relativeTime-type-"+(F?"future":"past"));P=this.getPluralCategory(Math.abs(D).toString());p=t["relativeTimePattern-count-"+P];}return p;},getRelativeSecond:function(D,s){return this.getRelativePattern("second",D,s);},getRelativeMinute:function(D,s){if(D==0){return null;}return this.getRelativePattern("minute",D,s);},getRelativeHour:function(D,s){if(D==0){return null;}return this.getRelativePattern("hour",D,s);},getRelativeDay:function(D,s){return this.getRelativePattern("day",D,s);},getRelativeWeek:function(D,s){return this.getRelativePattern("week",D,s);},getRelativeMonth:function(D,s){return this.getRelativePattern("month",D,s);},getDisplayName:function(t,s){a(t=="second"||t=="minute"||t=="hour"||t=="zone"||t=="day"||t=="weekday"||t=="week"||t=="month"||t=="quarter"||t=="year"||t=="era","sType must be second, minute, hour, zone, day, weekday, week, month, quarter, year, era");if(s===undefined){s="wide";}a(s==="wide"||s==="short"||s==="narrow","sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var S=["era","weekday","zone"],K=S.indexOf(t)===-1?t+"-"+s:t;return this._get("dateFields",K,"displayName");},getRelativeYear:function(D,s){return this.getRelativePattern("year",D,s);},getDecimalFormat:function(s,n,p){var F;var o;switch(s){case"long":o=this._get("decimalFormat-long");break;default:o=this._get("decimalFormat-short");break;}if(o){var N=n+"-"+p;F=o[N];if(!F){N=n+"-other";F=o[N];}}return F;},getCurrencyFormat:function(s,n,p){var F;var o;switch(s){default:o=this._get("currencyFormat-short");break;}if(o){var N=n+"-"+p;F=o[N];if(!F){N=n+"-other";F=o[N];}}return F;},getListFormat:function(t,s){var F=this._get("listPattern-"+(t||"standard")+"-"+(s||"wide"));if(F){return F;}return{};},getResolvedUnitFormat:function(u){u=this.getUnitFromMapping(u)||u;return this.getUnitFormat(u);},getUnitFormat:function(u){return this._get("units","short",u);},getUnitFormats:function(){return this._getMerged("units","short");},getUnitFromMapping:function(s){return this._get("unitMappings",s);},getEras:function(w,s){a(w=="wide"||w=="abbreviated"||w=="narrow","sWidth must be wide, abbreviate or narrow");var E=this._get(g(s),"era-"+w),j=[];for(var i in E){j[parseInt(i)]=E[i];}return j;},getEraDates:function(s){var E=this._get("eras-"+s.toLowerCase()),j=[];for(var i in E){j[parseInt(i)]=E[i];}return j;},getCalendarWeek:function(s,w){a(s=="wide"||s=="narrow","sStyle must be wide or narrow");var o=sap.ui.getCore().getLibraryResourceBundle("sap.ui.core",this.oLocale.toString()),K="date.week.calendarweek."+s;return o.getText(K,w);},getPreferredCalendarType:function(){var s=this._get("calendarPreference"),j=s?s.split(" "):[],n,t,i;for(i=0;i<j.length;i++){n=j[i].split("-")[0];for(t in C){if(n===t.toLowerCase()){return t;}}}return C.Gregorian;},getPreferredHourSymbol:function(){return this._get("timeData","_preferred");},getPluralCategories:function(){var p=this._get("plurals"),i=Object.keys(p);i.push("other");return i;},getPluralCategory:function(n){var p=this._get("plurals");if(typeof n==="number"){n=n.toString();}if(!this._pluralTest){this._pluralTest={};}for(var s in p){var t=this._pluralTest[s];if(!t){t=this._parsePluralRule(p[s]);this._pluralTest[s]=t;}if(t(n)){return s;}}return"other";},_parsePluralRule:function(r){var O="or",j="and",n="%",p="=",s="!=",t="n",u="i",v="f",w="t",x="v",y="w",R="..",S=",";var i=0,T;T=r.split(" ");function z(o){if(T[i]===o){i++;return true;}return false;}function A(){var o=T[i];i++;return o;}function D(){var K,J;K=E();if(z(O)){J=D();return function(o){return K(o)||J(o);};}return K;}function E(){var K,N;K=F();if(z(j)){N=E();return function(o){return K(o)&&N(o);};}return K;}function F(){var K,N,P;K=G();if(z(p)){P=true;}else if(z(s)){P=false;}else{throw new Error("Expected '=' or '!='");}N=I();if(P){return function(o){return N(o).indexOf(K(o))>=0;};}else{return function(o){return N(o).indexOf(K(o))===-1;};}}function G(){var K;K=H();if(z(n)){var N=parseInt(A());return function(o){return K(o)%N;};}return K;}function H(){if(z(t)){return function(o){return o.n;};}else if(z(u)){return function(o){return o.i;};}else if(z(v)){return function(o){return o.f;};}else if(z(w)){return function(o){return o.t;};}else if(z(x)){return function(o){return o.v;};}else if(z(y)){return function(o){return o.w;};}else{throw new Error("Unknown operand: "+A());}}function I(){var V=[],K=A(),P=K.split(S),N,Q,U;P.forEach(function(o){N=o.split(R);if(N.length===1){V.push(parseInt(o));}else{Q=parseInt(N[0]);U=parseInt(N[1]);for(var i=Q;i<=U;i++){V.push(i);}}});return function(o){return V;};}var J=D();if(i!=T.length){throw new Error("Not completely parsed");}return function(V){var K=V.indexOf("."),N,P,Q,o;if(K===-1){N=V;P="";Q="";}else{N=V.substr(0,K);P=V.substr(K+1);Q=P.replace(/0+$/,'');}o={n:parseFloat(V),i:parseInt(N),v:P.length,w:Q.length,f:parseInt(P),t:parseInt(Q)};return J(o);};}});var m={"Era":{field:"era",index:0},"Year":{field:"year",index:1},"Quarter":{field:"quarter",index:2},"Month":{field:"month",index:3},"Week":{field:"week",index:4},"Day-Of-Week":{field:"weekday",index:5},"Day":{field:"day",index:6},"DayPeriod":{field:"hour",index:7,diffOnly:true},"Hour":{field:"hour",index:8},"Minute":{field:"minute",index:9},"Second":{field:"second",index:10},"Timezone":{field:"zone",index:11}};var d={"G":{group:"Era",match:"Era",numericCeiling:1},"y":{group:"Year",match:"Year",numericCeiling:100},"Y":{group:"Year",match:"Year",numericCeiling:100},"Q":{group:"Quarter",match:"Quarter",numericCeiling:3},"q":{group:"Quarter",match:"Quarter",numericCeiling:3},"M":{group:"Month",match:"Month",numericCeiling:3},"L":{group:"Month",match:"Month",numericCeiling:3},"w":{group:"Week",match:"Week",numericCeiling:100},"W":{group:"Week",match:"Week",numericCeiling:100},"d":{group:"Day",match:"Day",numericCeiling:100},"D":{group:"Day",match:"Day",numericCeiling:100},"E":{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:1},"e":{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:3},"c":{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:2},"h":{group:"Hour",match:"Hour12",numericCeiling:100},"H":{group:"Hour",match:"Hour24",numericCeiling:100},"k":{group:"Hour",match:"Hour24",numericCeiling:100},"K":{group:"Hour",match:"Hour12",numericCeiling:100},"m":{group:"Minute",match:"Minute",numericCeiling:100},"s":{group:"Second",match:"Second",numericCeiling:100},"z":{group:"Timezone",match:"Timezone",numericCeiling:1},"Z":{group:"Timezone",match:"Timezone",numericCeiling:1},"O":{group:"Timezone",match:"Timezone",numericCeiling:1},"v":{group:"Timezone",match:"Timezone",numericCeiling:1},"V":{group:"Timezone",match:"Timezone",numericCeiling:1},"X":{group:"Timezone",match:"Timezone",numericCeiling:1},"x":{group:"Timezone",match:"Timezone",numericCeiling:1},"S":{group:"Other",numericCeiling:100},"u":{group:"Other",numericCeiling:100},"U":{group:"Other",numericCeiling:1},"r":{group:"Other",numericCeiling:100},"F":{group:"Other",numericCeiling:100},"g":{group:"Other",numericCeiling:100},"a":{group:"DayPeriod",numericCeiling:1},"b":{group:"Other",numericCeiling:1},"B":{group:"Other",numericCeiling:1},"A":{group:"Other",numericCeiling:100}};var M={"orientation":"left-to-right","languages":{},"scripts":{},"territories":{},"ca-gregorian":{"dateFormats":{"full":"EEEE, MMMM d, y","long":"MMMM d, y","medium":"MMM d, y","short":"M/d/yy"},"timeFormats":{"full":"h:mm:ss a zzzz","long":"h:mm:ss a z","medium":"h:mm:ss a","short":"h:mm a"},"dateTimeFormats":{"full":"{1} 'at' {0}","long":"{1} 'at' {0}","medium":"{1}, {0}","short":"{1}, {0}","availableFormats":{"d":"d","E":"ccc","Ed":"d E","Ehm":"E h:mm a","EHm":"E HH:mm","Ehms":"E h:mm:ss a","EHms":"E HH:mm:ss","Gy":"y G","GyMMM":"MMM y G","GyMMMd":"MMM d, y G","GyMMMEd":"E, MMM d, y G","h":"h a","H":"HH","hm":"h:mm a","Hm":"HH:mm","hms":"h:mm:ss a","Hms":"HH:mm:ss","hmsv":"h:mm:ss a v","Hmsv":"HH:mm:ss v","hmv":"h:mm a v","Hmv":"HH:mm v","M":"L","Md":"M/d","MEd":"E, M/d","MMM":"LLL","MMMd":"MMM d","MMMEd":"E, MMM d","MMMMd":"MMMM d","ms":"mm:ss","y":"y","yM":"M/y","yMd":"M/d/y","yMEd":"E, M/d/y","yMMM":"MMM y","yMMMd":"MMM d, y","yMMMEd":"E, MMM d, y","yMMMM":"MMMM y","yQQQ":"QQQ y","yQQQQ":"QQQQ y"},"appendItems":{"Day":"{0} ({2}: {1})","Day-Of-Week":"{0} {1}","Era":"{0} {1}","Hour":"{0} ({2}: {1})","Minute":"{0} ({2}: {1})","Month":"{0} ({2}: {1})","Quarter":"{0} ({2}: {1})","Second":"{0} ({2}: {1})","Timezone":"{0} {1}","Week":"{0} ({2}: {1})","Year":"{0} {1}"},"intervalFormats":{"intervalFormatFallback":"{0} \u2013 {1}","d":{"d":"d \u2013 d"},"h":{"a":"h a \u2013 h a","h":"h \u2013 h a"},"H":{"H":"HH \u2013 HH"},"hm":{"a":"h:mm a \u2013 h:mm a","h":"h:mm \u2013 h:mm a","m":"h:mm \u2013 h:mm a"},"Hm":{"H":"HH:mm \u2013 HH:mm","m":"HH:mm \u2013 HH:mm"},"hmv":{"a":"h:mm a \u2013 h:mm a v","h":"h:mm \u2013 h:mm a v","m":"h:mm \u2013 h:mm a v"},"Hmv":{"H":"HH:mm \u2013 HH:mm v","m":"HH:mm \u2013 HH:mm v"},"hv":{"a":"h a \u2013 h a v","h":"h \u2013 h a v"},"Hv":{"H":"HH \u2013 HH v"},"M":{"M":"M \u2013 M"},"Md":{"d":"M/d \u2013 M/d","M":"M/d \u2013 M/d"},"MEd":{"d":"E, M/d \u2013 E, M/d","M":"E, M/d \u2013 E, M/d"},"MMM":{"M":"MMM \u2013 MMM"},"MMMd":{"d":"MMM d \u2013 d","M":"MMM d \u2013 MMM d"},"MMMEd":{"d":"E, MMM d \u2013 E, MMM d","M":"E, MMM d \u2013 E, MMM d"},"y":{"y":"y \u2013 y"},"yM":{"M":"M/y \u2013 M/y","y":"M/y \u2013 M/y"},"yMd":{"d":"M/d/y \u2013 M/d/y","M":"M/d/y \u2013 M/d/y","y":"M/d/y \u2013 M/d/y"},"yMEd":{"d":"E, M/d/y \u2013 E, M/d/y","M":"E, M/d/y \u2013 E, M/d/y","y":"E, M/d/y \u2013 E, M/d/y"},"yMMM":{"M":"MMM \u2013 MMM y","y":"MMM y \u2013 MMM y"},"yMMMd":{"d":"MMM d \u2013 d, y","M":"MMM d \u2013 MMM d, y","y":"MMM d, y \u2013 MMM d, y"},"yMMMEd":{"d":"E, MMM d \u2013 E, MMM d, y","M":"E, MMM d \u2013 E, MMM d, y","y":"E, MMM d, y \u2013 E, MMM d, y"},"yMMMM":{"M":"MMMM \u2013 MMMM y","y":"MMMM y \u2013 MMMM y"}}},"months":{"format":{"abbreviated":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"wide":["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{"abbreviated":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"wide":["January","February","March","April","May","June","July","August","September","October","November","December"]}},"days":{"format":{"abbreviated":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"narrow":["S","M","T","W","T","F","S"],"short":["Su","Mo","Tu","We","Th","Fr","Sa"],"wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{"abbreviated":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"narrow":["S","M","T","W","T","F","S"],"short":["Su","Mo","Tu","We","Th","Fr","Sa"],"wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},"quarters":{"format":{"abbreviated":["Q1","Q2","Q3","Q4"],"narrow":["1","2","3","4"],"wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{"abbreviated":["Q1","Q2","Q3","Q4"],"narrow":["1","2","3","4"],"wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},"dayPeriods":{"format":{"abbreviated":["AM","PM"],"narrow":["a","p"],"wide":["AM","PM"]},"stand-alone":{"abbreviated":["AM","PM"],"narrow":["AM","PM"],"wide":["AM","PM"]}},"era-wide":{"0":"Before Christ","1":"Anno Domini"},"era-abbreviated":{"0":"BC","1":"AD"},"era-narrow":{"0":"B","1":"A"}},"eras-gregorian":{"0":{"_end":"0-12-31"},"1":{"_start":"1-01-01"}},"dateFields":{"era":{"displayName":"era"},"year-wide":{"displayName":"year","relative-type--1":"last year","relative-type-0":"this year","relative-type-1":"next year","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} year","relativeTimePattern-count-other":"in {0} years"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} year ago","relativeTimePattern-count-other":"{0} years ago"}},"year-short":{"displayName":"yr.","relative-type--1":"last yr.","relative-type-0":"this yr.","relative-type-1":"next yr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} yr.","relativeTimePattern-count-other":"in {0} yr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} yr. ago","relativeTimePattern-count-other":"{0} yr. ago"}},"year-narrow":{"displayName":"yr.","relative-type--1":"last yr.","relative-type-0":"this yr.","relative-type-1":"next yr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} yr.","relativeTimePattern-count-other":"in {0} yr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} yr. ago","relativeTimePattern-count-other":"{0} yr. ago"}},"quarter-wide":{"displayName":"quarter","relative-type--1":"last quarter","relative-type-0":"this quarter","relative-type-1":"next quarter","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} quarter","relativeTimePattern-count-other":"in {0} quarters"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} quarter ago","relativeTimePattern-count-other":"{0} quarters ago"}},"quarter-short":{"displayName":"qtr.","relative-type--1":"last qtr.","relative-type-0":"this qtr.","relative-type-1":"next qtr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} qtr.","relativeTimePattern-count-other":"in {0} qtrs."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} qtr. ago","relativeTimePattern-count-other":"{0} qtrs. ago"}},"quarter-narrow":{"displayName":"qtr.","relative-type--1":"last qtr.","relative-type-0":"this qtr.","relative-type-1":"next qtr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} qtr.","relativeTimePattern-count-other":"in {0} qtrs."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} qtr. ago","relativeTimePattern-count-other":"{0} qtrs. ago"}},"month-wide":{"displayName":"month","relative-type--1":"last month","relative-type-0":"this month","relative-type-1":"next month","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} month","relativeTimePattern-count-other":"in {0} months"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} month ago","relativeTimePattern-count-other":"{0} months ago"}},"month-short":{"displayName":"mo.","relative-type--1":"last mo.","relative-type-0":"this mo.","relative-type-1":"next mo.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} mo.","relativeTimePattern-count-other":"in {0} mo."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} mo. ago","relativeTimePattern-count-other":"{0} mo. ago"}},"month-narrow":{"displayName":"mo.","relative-type--1":"last mo.","relative-type-0":"this mo.","relative-type-1":"next mo.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} mo.","relativeTimePattern-count-other":"in {0} mo."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} mo. ago","relativeTimePattern-count-other":"{0} mo. ago"}},"week-wide":{"displayName":"week","relative-type--1":"last week","relative-type-0":"this week","relative-type-1":"next week","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} week","relativeTimePattern-count-other":"in {0} weeks"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} week ago","relativeTimePattern-count-other":"{0} weeks ago"},"relativePeriod":"the week of {0}"},"week-short":{"displayName":"wk.","relative-type--1":"last wk.","relative-type-0":"this wk.","relative-type-1":"next wk.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} wk.","relativeTimePattern-count-other":"in {0} wk."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} wk. ago","relativeTimePattern-count-other":"{0} wk. ago"},"relativePeriod":"the week of {0}"},"week-narrow":{"displayName":"wk.","relative-type--1":"last wk.","relative-type-0":"this wk.","relative-type-1":"next wk.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} wk.","relativeTimePattern-count-other":"in {0} wk."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} wk. ago","relativeTimePattern-count-other":"{0} wk. ago"},"relativePeriod":"the week of {0}"},"day-wide":{"displayName":"day","relative-type--1":"yesterday","relative-type-0":"today","relative-type-1":"tomorrow","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} day","relativeTimePattern-count-other":"in {0} days"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} day ago","relativeTimePattern-count-other":"{0} days ago"}},"day-short":{"displayName":"day","relative-type--1":"yesterday","relative-type-0":"today","relative-type-1":"tomorrow","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} day","relativeTimePattern-count-other":"in {0} days"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} day ago","relativeTimePattern-count-other":"{0} days ago"}},"day-narrow":{"displayName":"day","relative-type--1":"yesterday","relative-type-0":"today","relative-type-1":"tomorrow","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} day","relativeTimePattern-count-other":"in {0} days"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} day ago","relativeTimePattern-count-other":"{0} days ago"}},"weekday":{"displayName":"day of the week"},"hour-wide":{"displayName":"hour","relative-type-0":"this hour","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hour","relativeTimePattern-count-other":"in {0} hours"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hour ago","relativeTimePattern-count-other":"{0} hours ago"}},"hour-short":{"displayName":"hr.","relative-type-0":"this hour","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hr.","relativeTimePattern-count-other":"in {0} hr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hr. ago","relativeTimePattern-count-other":"{0} hr. ago"}},"hour-narrow":{"displayName":"hr.","relative-type-0":"this hour","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hr.","relativeTimePattern-count-other":"in {0} hr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hr. ago","relativeTimePattern-count-other":"{0} hr. ago"}},"minute-wide":{"displayName":"minute","relative-type-0":"this minute","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} minute","relativeTimePattern-count-other":"in {0} minutes"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minute ago","relativeTimePattern-count-other":"{0} minutes ago"}},"minute-short":{"displayName":"min.","relative-type-0":"this minute","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} min.","relativeTimePattern-count-other":"in {0} min."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} min. ago","relativeTimePattern-count-other":"{0} min. ago"}},"minute-narrow":{"displayName":"min.","relative-type-0":"this minute","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} min.","relativeTimePattern-count-other":"in {0} min."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} min. ago","relativeTimePattern-count-other":"{0} min. ago"}},"second-wide":{"displayName":"second","relative-type-0":"now","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} second","relativeTimePattern-count-other":"in {0} seconds"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} second ago","relativeTimePattern-count-other":"{0} seconds ago"}},"second-short":{"displayName":"sec.","relative-type-0":"now","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} sec.","relativeTimePattern-count-other":"in {0} sec."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} sec. ago","relativeTimePattern-count-other":"{0} sec. ago"}},"second-narrow":{"displayName":"sec.","relative-type-0":"now","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} sec.","relativeTimePattern-count-other":"in {0} sec."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} sec. ago","relativeTimePattern-count-other":"{0} sec. ago"}},"zone":{"displayName":"time zone"}},"decimalFormat":{"standard":"#,##0.###"},"currencyFormat":{"standard":"\xa4#,##0.00","currencySpacing":{"beforeCurrency":{"currencyMatch":"[:^S:]","surroundingMatch":"[:digit:]","insertBetween":"\xa0"},"afterCurrency":{"currencyMatch":"[:^S:]","surroundingMatch":"[:digit:]","insertBetween":"\xa0"}}},"percentFormat":{"standard":"#,##0%"},"miscPattern":{"approximately":"~{0}","atLeast":"{0}+","atMost":"\u2264{0}","range":"{0}\u2013{1}"},"symbols-latn-decimal":".","symbols-latn-group":",","symbols-latn-plusSign":"+","symbols-latn-minusSign":"-","symbols-latn-percentSign":"%","weekData-minDays":4,"weekData-firstDay":1,"weekData-weekendStart":6,"weekData-weekendEnd":0,"timeData":{_allowed:"H h",_preferred:"H"},"lenient-scope-number":{"minusSign":"\x2d\u2010\u2012\u2013\u207b\u208b\u2212\u2796\ufe63","commaSign":"\x2c\u060c\u066b\u3001\ufe10\ufe11\ufe50\ufe51\uff0c","plusSign":"\x2b\u207a\u208a\u2795\ufb29\ufe62"},"plurals":{},"units":{"short":{"per":{"compoundUnitPattern":"{0}/{1}"},"acceleration-g-force":{"displayName":"g-force","unitPattern-count-one":"{0} G","unitPattern-count-other":"{0} G"},"acceleration-meter-per-second-squared":{"displayName":"meters/sec\xb2","unitPattern-count-one":"{0} m/s\xb2","unitPattern-count-other":"{0} m/s\xb2"},"angle-revolution":{"displayName":"rev","unitPattern-count-one":"{0} rev","unitPattern-count-other":"{0} rev"},"angle-radian":{"displayName":"radians","unitPattern-count-one":"{0} rad","unitPattern-count-other":"{0} rad"},"angle-degree":{"displayName":"degrees","unitPattern-count-one":"{0} deg","unitPattern-count-other":"{0} deg"},"angle-arc-minute":{"displayName":"arcmins","unitPattern-count-one":"{0} arcmin","unitPattern-count-other":"{0} arcmins"},"angle-arc-second":{"displayName":"arcsecs","unitPattern-count-one":"{0} arcsec","unitPattern-count-other":"{0} arcsecs"},"area-square-kilometer":{"displayName":"km\xb2","unitPattern-count-one":"{0} km\xb2","unitPattern-count-other":"{0} km\xb2","perUnitPattern":"{0}/km\xb2"},"area-hectare":{"displayName":"hectares","unitPattern-count-one":"{0} ha","unitPattern-count-other":"{0} ha"},"area-square-meter":{"displayName":"meters\xb2","unitPattern-count-one":"{0} m\xb2","unitPattern-count-other":"{0} m\xb2","perUnitPattern":"{0}/m\xb2"},"area-square-centimeter":{"displayName":"cm\xb2","unitPattern-count-one":"{0} cm\xb2","unitPattern-count-other":"{0} cm\xb2","perUnitPattern":"{0}/cm\xb2"},"area-square-mile":{"displayName":"sq miles","unitPattern-count-one":"{0} sq mi","unitPattern-count-other":"{0} sq mi","perUnitPattern":"{0}/mi\xb2"},"area-acre":{"displayName":"acres","unitPattern-count-one":"{0} ac","unitPattern-count-other":"{0} ac"},"area-square-yard":{"displayName":"yards\xb2","unitPattern-count-one":"{0} yd\xb2","unitPattern-count-other":"{0} yd\xb2"},"area-square-foot":{"displayName":"sq feet","unitPattern-count-one":"{0} sq ft","unitPattern-count-other":"{0} sq ft"},"area-square-inch":{"displayName":"inches\xb2","unitPattern-count-one":"{0} in\xb2","unitPattern-count-other":"{0} in\xb2","perUnitPattern":"{0}/in\xb2"},"concentr-karat":{"displayName":"karats","unitPattern-count-one":"{0} kt","unitPattern-count-other":"{0} kt"},"concentr-milligram-per-deciliter":{"displayName":"mg/dL","unitPattern-count-one":"{0} mg/dL","unitPattern-count-other":"{0} mg/dL"},"concentr-millimole-per-liter":{"displayName":"millimol/liter","unitPattern-count-one":"{0} mmol/L","unitPattern-count-other":"{0} mmol/L"},"concentr-part-per-million":{"displayName":"parts/million","unitPattern-count-one":"{0} ppm","unitPattern-count-other":"{0} ppm"},"consumption-liter-per-kilometer":{"displayName":"liters/km","unitPattern-count-one":"{0} L/km","unitPattern-count-other":"{0} L/km"},"consumption-liter-per-100kilometers":{"displayName":"L/100 km","unitPattern-count-one":"{0} L/100 km","unitPattern-count-other":"{0} L/100 km"},"consumption-mile-per-gallon":{"displayName":"miles/gal","unitPattern-count-one":"{0} mpg","unitPattern-count-other":"{0} mpg"},"consumption-mile-per-gallon-imperial":{"displayName":"miles/gal Imp.","unitPattern-count-one":"{0} mpg Imp.","unitPattern-count-other":"{0} mpg Imp."},"digital-terabyte":{"displayName":"TByte","unitPattern-count-one":"{0} TB","unitPattern-count-other":"{0} TB"},"digital-terabit":{"displayName":"Tbit","unitPattern-count-one":"{0} Tb","unitPattern-count-other":"{0} Tb"},"digital-gigabyte":{"displayName":"GByte","unitPattern-count-one":"{0} GB","unitPattern-count-other":"{0} GB"},"digital-gigabit":{"displayName":"Gbit","unitPattern-count-one":"{0} Gb","unitPattern-count-other":"{0} Gb"},"digital-megabyte":{"displayName":"MByte","unitPattern-count-one":"{0} MB","unitPattern-count-other":"{0} MB"},"digital-megabit":{"displayName":"Mbit","unitPattern-count-one":"{0} Mb","unitPattern-count-other":"{0} Mb"},"digital-kilobyte":{"displayName":"kByte","unitPattern-count-one":"{0} kB","unitPattern-count-other":"{0} kB"},"digital-kilobit":{"displayName":"kbit","unitPattern-count-one":"{0} kb","unitPattern-count-other":"{0} kb"},"digital-byte":{"displayName":"byte","unitPattern-count-one":"{0} byte","unitPattern-count-other":"{0} byte"},"digital-bit":{"displayName":"bit","unitPattern-count-one":"{0} bit","unitPattern-count-other":"{0} bit"},"duration-century":{"displayName":"c","unitPattern-count-one":"{0} c","unitPattern-count-other":"{0} c"},"duration-year":{"displayName":"years","unitPattern-count-one":"{0} yr","unitPattern-count-other":"{0} yrs","perUnitPattern":"{0}/y"},"duration-month":{"displayName":"months","unitPattern-count-one":"{0} mth","unitPattern-count-other":"{0} mths","perUnitPattern":"{0}/m"},"duration-week":{"displayName":"weeks","unitPattern-count-one":"{0} wk","unitPattern-count-other":"{0} wks","perUnitPattern":"{0}/w"},"duration-day":{"displayName":"days","unitPattern-count-one":"{0} day","unitPattern-count-other":"{0} days","perUnitPattern":"{0}/d"},"duration-hour":{"displayName":"hours","unitPattern-count-one":"{0} hr","unitPattern-count-other":"{0} hr","perUnitPattern":"{0}/h"},"duration-minute":{"displayName":"mins","unitPattern-count-one":"{0} min","unitPattern-count-other":"{0} min","perUnitPattern":"{0}/min"},"duration-second":{"displayName":"secs","unitPattern-count-one":"{0} sec","unitPattern-count-other":"{0} sec","perUnitPattern":"{0}/s"},"duration-millisecond":{"displayName":"millisecs","unitPattern-count-one":"{0} ms","unitPattern-count-other":"{0} ms"},"duration-microsecond":{"displayName":"\u03bcsecs","unitPattern-count-one":"{0} \u03bcs","unitPattern-count-other":"{0} \u03bcs"},"duration-nanosecond":{"displayName":"nanosecs","unitPattern-count-one":"{0} ns","unitPattern-count-other":"{0} ns"},"electric-ampere":{"displayName":"amps","unitPattern-count-one":"{0} A","unitPattern-count-other":"{0} A"},"electric-milliampere":{"displayName":"milliamps","unitPattern-count-one":"{0} mA","unitPattern-count-other":"{0} mA"},"electric-ohm":{"displayName":"ohms","unitPattern-count-one":"{0} \u03a9","unitPattern-count-other":"{0} \u03a9"},"electric-volt":{"displayName":"volts","unitPattern-count-one":"{0} V","unitPattern-count-other":"{0} V"},"energy-kilocalorie":{"displayName":"kcal","unitPattern-count-one":"{0} kcal","unitPattern-count-other":"{0} kcal"},"energy-calorie":{"displayName":"cal","unitPattern-count-one":"{0} cal","unitPattern-count-other":"{0} cal"},"energy-foodcalorie":{"displayName":"Cal","unitPattern-count-one":"{0} Cal","unitPattern-count-other":"{0} Cal"},"energy-kilojoule":{"displayName":"kilojoule","unitPattern-count-one":"{0} kJ","unitPattern-count-other":"{0} kJ"},"energy-joule":{"displayName":"joules","unitPattern-count-one":"{0} J","unitPattern-count-other":"{0} J"},"energy-kilowatt-hour":{"displayName":"kW-hour","unitPattern-count-one":"{0} kWh","unitPattern-count-other":"{0} kWh"},"frequency-gigahertz":{"displayName":"GHz","unitPattern-count-one":"{0} GHz","unitPattern-count-other":"{0} GHz"},"frequency-megahertz":{"displayName":"MHz","unitPattern-count-one":"{0} MHz","unitPattern-count-other":"{0} MHz"},"frequency-kilohertz":{"displayName":"kHz","unitPattern-count-one":"{0} kHz","unitPattern-count-other":"{0} kHz"},"frequency-hertz":{"displayName":"Hz","unitPattern-count-one":"{0} Hz","unitPattern-count-other":"{0} Hz"},"length-kilometer":{"displayName":"km","unitPattern-count-one":"{0} km","unitPattern-count-other":"{0} km","perUnitPattern":"{0}/km"},"length-meter":{"displayName":"m","unitPattern-count-one":"{0} m","unitPattern-count-other":"{0} m","perUnitPattern":"{0}/m"},"length-decimeter":{"displayName":"dm","unitPattern-count-one":"{0} dm","unitPattern-count-other":"{0} dm"},"length-centimeter":{"displayName":"cm","unitPattern-count-one":"{0} cm","unitPattern-count-other":"{0} cm","perUnitPattern":"{0}/cm"},"length-millimeter":{"displayName":"mm","unitPattern-count-one":"{0} mm","unitPattern-count-other":"{0} mm"},"length-micrometer":{"displayName":"\xb5meters","unitPattern-count-one":"{0} \xb5m","unitPattern-count-other":"{0} \xb5m"},"length-nanometer":{"displayName":"nm","unitPattern-count-one":"{0} nm","unitPattern-count-other":"{0} nm"},"length-picometer":{"displayName":"pm","unitPattern-count-one":"{0} pm","unitPattern-count-other":"{0} pm"},"length-mile":{"displayName":"miles","unitPattern-count-one":"{0} mi","unitPattern-count-other":"{0} mi"},"length-yard":{"displayName":"yards","unitPattern-count-one":"{0} yd","unitPattern-count-other":"{0} yd"},"length-foot":{"displayName":"feet","unitPattern-count-one":"{0} ft","unitPattern-count-other":"{0} ft","perUnitPattern":"{0}/ft"},"length-inch":{"displayName":"inches","unitPattern-count-one":"{0} in","unitPattern-count-other":"{0} in","perUnitPattern":"{0}/in"},"length-parsec":{"displayName":"parsecs","unitPattern-count-one":"{0} pc","unitPattern-count-other":"{0} pc"},"length-light-year":{"displayName":"light yrs","unitPattern-count-one":"{0} ly","unitPattern-count-other":"{0} ly"},"length-astronomical-unit":{"displayName":"au","unitPattern-count-one":"{0} au","unitPattern-count-other":"{0} au"},"length-furlong":{"displayName":"furlongs","unitPattern-count-one":"{0} fur","unitPattern-count-other":"{0} fur"},"length-fathom":{"displayName":"fathoms","unitPattern-count-one":"{0} ftm","unitPattern-count-other":"{0} ftm"},"length-nautical-mile":{"displayName":"nmi","unitPattern-count-one":"{0} nmi","unitPattern-count-other":"{0} nmi"},"length-mile-scandinavian":{"displayName":"smi","unitPattern-count-one":"{0} smi","unitPattern-count-other":"{0} smi"},"length-point":{"displayName":"points","unitPattern-count-one":"{0} pt","unitPattern-count-other":"{0} pt"},"light-lux":{"displayName":"lux","unitPattern-count-one":"{0} lx","unitPattern-count-other":"{0} lx"},"mass-metric-ton":{"displayName":"t","unitPattern-count-one":"{0} t","unitPattern-count-other":"{0} t"},"mass-kilogram":{"displayName":"kg","unitPattern-count-one":"{0} kg","unitPattern-count-other":"{0} kg","perUnitPattern":"{0}/kg"},"mass-gram":{"displayName":"grams","unitPattern-count-one":"{0} g","unitPattern-count-other":"{0} g","perUnitPattern":"{0}/g"},"mass-milligram":{"displayName":"mg","unitPattern-count-one":"{0} mg","unitPattern-count-other":"{0} mg"},"mass-microgram":{"displayName":"\xb5g","unitPattern-count-one":"{0} \xb5g","unitPattern-count-other":"{0} \xb5g"},"mass-ton":{"displayName":"tons","unitPattern-count-one":"{0} tn","unitPattern-count-other":"{0} tn"},"mass-stone":{"displayName":"stones","unitPattern-count-one":"{0} st","unitPattern-count-other":"{0} st"},"mass-pound":{"displayName":"pounds","unitPattern-count-one":"{0} lb","unitPattern-count-other":"{0} lb","perUnitPattern":"{0}/lb"},"mass-ounce":{"displayName":"oz","unitPattern-count-one":"{0} oz","unitPattern-count-other":"{0} oz","perUnitPattern":"{0}/oz"},"mass-ounce-troy":{"displayName":"oz troy","unitPattern-count-one":"{0} oz t","unitPattern-count-other":"{0} oz t"},"mass-carat":{"displayName":"carats","unitPattern-count-one":"{0} CD","unitPattern-count-other":"{0} CD"},"power-gigawatt":{"displayName":"GW","unitPattern-count-one":"{0} GW","unitPattern-count-other":"{0} GW"},"power-megawatt":{"displayName":"MW","unitPattern-count-one":"{0} MW","unitPattern-count-other":"{0} MW"},"power-kilowatt":{"displayName":"kW","unitPattern-count-one":"{0} kW","unitPattern-count-other":"{0} kW"},"power-watt":{"displayName":"watts","unitPattern-count-one":"{0} W","unitPattern-count-other":"{0} W"},"power-milliwatt":{"displayName":"mW","unitPattern-count-one":"{0} mW","unitPattern-count-other":"{0} mW"},"power-horsepower":{"displayName":"hp","unitPattern-count-one":"{0} hp","unitPattern-count-other":"{0} hp"},"pressure-hectopascal":{"displayName":"hPa","unitPattern-count-one":"{0} hPa","unitPattern-count-other":"{0} hPa"},"pressure-millimeter-of-mercury":{"displayName":"mmHg","unitPattern-count-one":"{0} mmHg","unitPattern-count-other":"{0} mmHg"},"pressure-pound-per-square-inch":{"displayName":"psi","unitPattern-count-one":"{0} psi","unitPattern-count-other":"{0} psi"},"pressure-inch-hg":{"displayName":"inHg","unitPattern-count-one":"{0} inHg","unitPattern-count-other":"{0} inHg"},"pressure-millibar":{"displayName":"mbar","unitPattern-count-one":"{0} mbar","unitPattern-count-other":"{0} mbar"},"speed-kilometer-per-hour":{"displayName":"km/hour","unitPattern-count-one":"{0} kph","unitPattern-count-other":"{0} kph"},"speed-meter-per-second":{"displayName":"meters/sec","unitPattern-count-one":"{0} m/s","unitPattern-count-other":"{0} m/s"},"speed-mile-per-hour":{"displayName":"miles/hour","unitPattern-count-one":"{0} mph","unitPattern-count-other":"{0} mph"},"speed-knot":{"displayName":"kn","unitPattern-count-one":"{0} kn","unitPattern-count-other":"{0} kn"},"temperature-generic":{"displayName":"\xb0","unitPattern-count-other":"{0}\xb0"},"temperature-celsius":{"displayName":"deg. C","unitPattern-count-one":"{0}\xb0C","unitPattern-count-other":"{0}\xb0C"},"temperature-fahrenheit":{"displayName":"deg. F","unitPattern-count-one":"{0}\xb0F","unitPattern-count-other":"{0}\xb0F"},"temperature-kelvin":{"displayName":"K","unitPattern-count-one":"{0} K","unitPattern-count-other":"{0} K"},"volume-cubic-kilometer":{"displayName":"km\xb3","unitPattern-count-one":"{0} km\xb3","unitPattern-count-other":"{0} km\xb3"},"volume-cubic-meter":{"displayName":"m\xb3","unitPattern-count-one":"{0} m\xb3","unitPattern-count-other":"{0} m\xb3","perUnitPattern":"{0}/m\xb3"},"volume-cubic-centimeter":{"displayName":"cm\xb3","unitPattern-count-one":"{0} cm\xb3","unitPattern-count-other":"{0} cm\xb3","perUnitPattern":"{0}/cm\xb3"},"volume-cubic-mile":{"displayName":"mi\xb3","unitPattern-count-one":"{0} mi\xb3","unitPattern-count-other":"{0} mi\xb3"},"volume-cubic-yard":{"displayName":"yards\xb3","unitPattern-count-one":"{0} yd\xb3","unitPattern-count-other":"{0} yd\xb3"},"volume-cubic-foot":{"displayName":"feet\xb3","unitPattern-count-one":"{0} ft\xb3","unitPattern-count-other":"{0} ft\xb3"},"volume-cubic-inch":{"displayName":"inches\xb3","unitPattern-count-one":"{0} in\xb3","unitPattern-count-other":"{0} in\xb3"},"volume-megaliter":{"displayName":"ML","unitPattern-count-one":"{0} ML","unitPattern-count-other":"{0} ML"},"volume-hectoliter":{"displayName":"hL","unitPattern-count-one":"{0} hL","unitPattern-count-other":"{0} hL"},"volume-liter":{"displayName":"liters","unitPattern-count-one":"{0} L","unitPattern-count-other":"{0} L","perUnitPattern":"{0}/L"},"volume-deciliter":{"displayName":"dL","unitPattern-count-one":"{0} dL","unitPattern-count-other":"{0} dL"},"volume-centiliter":{"displayName":"cL","unitPattern-count-one":"{0} cL","unitPattern-count-other":"{0} cL"},"volume-milliliter":{"displayName":"mL","unitPattern-count-one":"{0} mL","unitPattern-count-other":"{0} mL"},"volume-pint-metric":{"displayName":"mpt","unitPattern-count-one":"{0} mpt","unitPattern-count-other":"{0} mpt"},"volume-cup-metric":{"displayName":"mcup","unitPattern-count-one":"{0} mc","unitPattern-count-other":"{0} mc"},"volume-acre-foot":{"displayName":"acre ft","unitPattern-count-one":"{0} ac ft","unitPattern-count-other":"{0} ac ft"},"volume-bushel":{"displayName":"bushels","unitPattern-count-one":"{0} bu","unitPattern-count-other":"{0} bu"},"volume-gallon":{"displayName":"gal","unitPattern-count-one":"{0} gal","unitPattern-count-other":"{0} gal","perUnitPattern":"{0}/gal US"},"volume-gallon-imperial":{"displayName":"Imp. gal","unitPattern-count-one":"{0} gal Imp.","unitPattern-count-other":"{0} gal Imp.","perUnitPattern":"{0}/gal Imp."},"volume-quart":{"displayName":"qts","unitPattern-count-one":"{0} qt","unitPattern-count-other":"{0} qt"},"volume-pint":{"displayName":"pints","unitPattern-count-one":"{0} pt","unitPattern-count-other":"{0} pt"},"volume-cup":{"displayName":"cups","unitPattern-count-one":"{0} c","unitPattern-count-other":"{0} c"},"volume-fluid-ounce":{"displayName":"fl oz","unitPattern-count-one":"{0} fl oz","unitPattern-count-other":"{0} fl oz"},"volume-tablespoon":{"displayName":"tbsp","unitPattern-count-one":"{0} tbsp","unitPattern-count-other":"{0} tbsp"},"volume-teaspoon":{"displayName":"tsp","unitPattern-count-one":"{0} tsp","unitPattern-count-other":"{0} tsp"},"coordinateUnit":{"east":"{0} E","north":"{0} N","south":"{0} S","west":"{0} W"}}}};var e={"iw":"he","ji":"yi"};var f=(function(){var j=L._cldrLocales,r={},i;if(j){for(i=0;i<j.length;i++){r[j[i]]=true;}}return r;}());var l={};function g(s){if(!s){s=sap.ui.getCore().getConfiguration().getCalendarType();}return"ca-"+s.toLowerCase();}function h(o){var s=o.getLanguage()||"",S=o.getScript()||"",r=o.getRegion()||"",D;function i(n,p){var t,v,u;if(!p){return;}for(t in p){if(p.hasOwnProperty(t)){v=n[t];u=p[t];if(v===undefined){n[t]=u;}else if(v===null){delete n[t];}else if(typeof v==='object'&&typeof u==='object'){i(v,u);}}}}function j(I){if(!l[I]&&(!f||f[I]===true)){var n=l[I]=b.loadResource("sap/ui/core/cldr/"+I+".json",{dataType:"json",failOnError:false});if(n&&n.__fallbackLocale){i(n,j(n.__fallbackLocale));delete n.__fallbackLocale;}}return l[I];}s=(s&&e[s])||s;if(s==="no"){s="nb";}if(s==="zh"&&!r){if(S==="Hans"){r="CN";}else if(S==="Hant"){r="TW";}}if(s==="sh"||(s==="sr"&&S==="Latn")){s="sr_Latn";}var I=s+"_"+r;if(s&&r){D=j(I);}if(!D&&s){D=j(s);}l[I]=D||M;return l[I];}var k=c.extend("sap.ui.core.CustomLocaleData",{constructor:function(o){c.apply(this,arguments);this.mCustomData=sap.ui.getCore().getConfiguration().getFormatSettings().getCustomLocaleData();},_get:function(){var A=Array.prototype.slice.call(arguments),s,K;if(A[0].indexOf("ca-")==0){s=A[0];if(s==g()){A=A.slice(1);}}K=A.join("-");var v=this.mCustomData[K];if(v==null){v=this._getDeep(this.mCustomData,arguments);if(v==null){v=this._getDeep(this.mData,arguments);}}return v;},_getMerged:function(){var D=this._getDeep(this.mData,arguments);var i=this._getDeep(this.mCustomData,arguments);return q.extend({},D,i);}});c.getInstance=function(o){return o.hasPrivateUseSubtag("sapufmt")?new k(o):new c(o);};return c;});
sap.ui.predefine('sap/ui/core/Manifest',['sap/ui/thirdparty/jquery','sap/ui/base/Object','sap/ui/thirdparty/URI','sap/base/util/Version','sap/base/Log','sap/ui/dom/includeStylesheet','sap/base/i18n/ResourceBundle','sap/base/util/uid','sap/base/util/isPlainObject','sap/base/util/LoaderExtensions',"sap/base/util/isEmptyObject"],function(q,B,U,V,L,a,R,u,b,c,d){"use strict";var r=/\{\{([^\}\}]+)\}\}/g;function g(v){var o=V(v);return o.getSuffix()?V(o.getMajor()+"."+o.getMinor()+"."+o.getPatch()):o;}function p(o,C){for(var k in o){if(!o.hasOwnProperty(k)){continue;}var v=o[k];switch(typeof v){case"object":if(v){p(v,C);}break;case"string":C(o,k,v);break;default:}}}function f(o,P){if(o&&P&&typeof P==="string"&&P[0]==="/"){var e=P.substring(1).split("/"),s;for(var i=0,l=e.length;i<l;i++){s=e[i];o=o.hasOwnProperty(s)?o[s]:undefined;if(o===null||typeof o!=="object"){if(i+1<l&&o!==undefined){o=undefined;}break;}}return o;}return o&&o[P];}function h(o){if(o&&typeof o==='object'&&!Object.isFrozen(o)){Object.freeze(o);for(var k in o){if(o.hasOwnProperty(k)){h(o[k]);}}}}var M=B.extend("sap.ui.core.Manifest",{constructor:function(m,o){B.apply(this,arguments);this._uid=u();this._iInstanceCount=0;this._bIncludesLoaded=false;this._oRawManifest=m;this._bProcess=!(o&&o.process===false);this._bAsync=!(o&&o.async===false);this._sComponentName=o&&o.componentName;var C=this.getComponentName(),s=o&&o.baseUrl||C&&sap.ui.require.toUrl(C.replace(/\./g,"/"))+"/";if(s){this._oBaseUri=new U(s).absoluteTo(new U(document.baseURI).search(""));}if(o&&typeof o.url==="string"){this._oManifestBaseUri=new U(o.url).absoluteTo(new U(document.baseURI).search("")).search("");}else{this._oManifestBaseUri=this._oBaseUri;}h(this._oRawManifest);this._oManifest=q.extend(true,{},this._oRawManifest);if(this._bProcess){this._processI18n();}},_processI18n:function(A){var I=[];p(this._oManifest,function(o,k,v){var m=v.match(r);if(m){I.push({object:o,key:k});}});if(I.length>0){var e=function(o){var j=function(m,s){return o.getText(s);};for(var i=0,l=I.length;i<l;i++){var P=I[i];P.object[P.key]=P.object[P.key].replace(r,j);}};if(A){return this._loadI18n(A).then(e);}else{e(this._loadI18n(A));}}else{return A?Promise.resolve():undefined;}},_loadI18n:function(A){var m=this._oRawManifest,i=(m["sap.app"]&&m["sap.app"]["i18n"])||"i18n/i18n.properties",I=new U(i);return R.create({url:this._resolveUri(I,"manifest").toString(),async:A});},getJson:function(){return this._oManifest;},getRawJson:function(){return this._oRawManifest;},getEntry:function(P){if(!P||P.indexOf(".")<=0){L.warning("Manifest entries with keys without namespace prefix can not be read via getEntry. Key: "+P+", Component: "+this.getComponentName());return null;}var m=this.getJson();var e=f(m,P);if(P&&P[0]!=="/"&&!b(e)){L.warning("Manifest entry with key '"+P+"' must be an object. Component: "+this.getComponentName());return null;}return e;},checkUI5Version:function(){var m=this.getEntry("/sap.ui5/dependencies/minUI5Version");if(m&&L.isLoggable(L.Level.WARNING)&&sap.ui.getCore().getConfiguration().getDebug()){sap.ui.getVersionInfo({async:true}).then(function(v){var o=g(m);var e=g(v&&v.version);if(o.compareTo(e)>0){L.warning("Component \""+this.getComponentName()+"\" requires at least version \""+o.toString()+"\" but running on \""+e.toString()+"\"!");}}.bind(this),function(e){L.warning("The validation of the version for Component \""+this.getComponentName()+"\" failed! Reasion: "+e);}.bind(this));}},loadIncludes:function(){if(this._bIncludesLoaded){return;}var e=this.getEntry("/sap.ui5/resources");if(!e){return;}var C=this.getComponentName();var J=e["js"];if(J){for(var i=0;i<J.length;i++){var o=J[i];var F=o.uri;if(F){var m=F.match(/\.js$/i);if(m){var s=C.replace(/\./g,'/')+(F.slice(0,1)==='/'?'':'/')+F.slice(0,m.index);L.info("Component \""+C+"\" is loading JS: \""+s+"\"");sap.ui.requireSync(s);}}}}var k=e["css"];if(k){for(var j=0;j<k.length;j++){var l=k[j];if(l.uri){var n=this.resolveUri(l.uri);L.info("Component \""+C+"\" is loading CSS: \""+n+"\"");a(n,{id:l.id,"data-sap-ui-manifest-uid":this._uid});}}}this._bIncludesLoaded=true;},removeIncludes:function(){if(!this._bIncludesLoaded){return;}var m=this.getEntry("/sap.ui5/resources");if(!m){return;}var C=this.getComponentName();var e=m["css"];if(e){var l=document.querySelectorAll("link[data-sap-ui-manifest-uid='"+this._uid+"']");for(var i=0;i<l.length;i++){var o=l[i];L.info("Component \""+C+"\" is removing CSS: \""+o.href+"\"");o.parentNode.removeChild(o);}}this._bIncludesLoaded=false;},loadDependencies:function(){var D=this.getEntry("/sap.ui5/dependencies"),C=this.getComponentName();if(D){var l=D["libs"];if(l){for(var s in l){if(!l[s].lazy){L.info("Component \""+C+"\" is loading library: \""+s+"\"");sap.ui.getCore().loadLibrary(s);}}}var m=D["components"];if(m){for(var n in m){if(!m[n].lazy){var e=n.replace(/\./g,"/")+"/Component";var i=sap.ui.loader._.getModuleState(e+".js");if(i===-1){sap.ui.requireSync(e);}else if(i===0){L.info("Component \""+C+"\" is loading component: \""+n+".Component\"");sap.ui.requireSync("sap/ui/core/Component");sap.ui.component.load({name:n});}}}}}},defineResourceRoots:function(){var m=this.getEntry("/sap.ui5/resourceRoots");if(m){for(var s in m){var e=m[s];var o=new U(e);if(o.is("absolute")||(o.path()&&o.path()[0]==="/")){L.error("Resource root for \""+s+"\" is absolute and therefore won't be registered! \""+e+"\"",this.getComponentName());continue;}e=this._resolveUri(o).toString();var P={};P[s.replace(/\./g,"/")]=e;sap.ui.loader.config({paths:P});}}},getComponentName:function(){var o=this.getRawJson();return this._sComponentName||f(o,"/sap.ui5/componentName")||f(o,"/sap.app/id");},resolveUri:function(s,e){var o=this._resolveUri(new U(s),e);return o&&o.toString();},_resolveUri:function(o,s){return M._resolveUriRelativeTo(o,s==="manifest"?this._oManifestBaseUri:this._oBaseUri);},init:function(i){if(this._iInstanceCount===0){this.checkUI5Version();this.defineResourceRoots();this.loadDependencies();this.loadIncludes();this.activateCustomizing();}if(i){this.activateCustomizing(i);}this._iInstanceCount++;},exit:function(i){var I=Math.max(this._iInstanceCount-1,0);if(i){this.deactivateCustomizing(i);}if(I===0){this.deactivateCustomizing();this.removeIncludes();}this._iInstanceCount=I;},activateCustomizing:function(i){var o=this.getEntry("sap.ui5",true),e=o&&o["extends"]&&o["extends"].extensions;if(!d(e)){var C=sap.ui.requireSync('sap/ui/core/CustomizingConfiguration');if(!i){C.activateForComponent(this.getComponentName());}else{C.activateForComponentInstance(i);}}},deactivateCustomizing:function(i){var C=sap.ui.require('sap/ui/core/CustomizingConfiguration');if(C){if(!i){C.deactivateForComponent(this.getComponentName());}else{C.deactivateForComponentInstance(i);}}}});M._resolveUriRelativeTo=function(o,e){if(o.is("absolute")||(o.path()&&o.path()[0]==="/")){return o;}var P=new U(document.baseURI).search("");e=e.absoluteTo(P);return o.absoluteTo(e).relativeTo(P);};M.load=function(o){var m=o&&o.manifestUrl,C=o&&o.componentName,A=o&&o.async,F=o&&o.failOnError,P=o&&o.processJson;var e=new U(m);["sap-language","sap-client"].forEach(function(n){if(!e.hasQuery(n)){var v=sap.ui.getCore().getConfiguration().getSAPParam(n);if(v){e.addQuery(n,v);}}});m=e.toString();L.info("Loading manifest via URL: "+m);if(!A){L.warning("Synchronous loading of manifest, due to Manifest.load() call for '"+m+"'. Use parameter 'async' true to avoid this.","SyncXHR",null,function(){return{type:"SyncXHR",name:"Manifest"};});}var i=c.loadResource({url:m,dataType:"json",async:typeof A!=="undefined"?A:false,headers:{"Accept-Language":sap.ui.getCore().getConfiguration().getLanguageTag()},failOnError:typeof F!=="undefined"?F:true});var s={componentName:C,url:m,process:false};if(A){return i.then(function(i){if(P){return P(i);}else{return i;}}).then(function(i){return new M(i,s);});}return new M(i,s);};return M;});
sap.ui.predefine('sap/ui/core/Patcher',["sap/ui/Device"],function(D){"use strict";var A={value:function(e,n){e.value=(n==null)?"":n;},checked:function(e,n){e.checked=(n==null)?false:true;},selected:function(e,n){e.selected=(n==null)?false:true;}};if(D.browser.msie){A.style=function(e,n,o){if(n&&o&&n!=o&&n.length==o.length){return(n+" ").split("; ").sort().toString()==(o+" ").split("; ").sort().toString();}};}function c(t,p){if(t=="svg"){return document.createElementNS("http://www.w3.org/2000/svg","svg");}var n=p.namespaceURI;if(n=="http://www.w3.org/1999/xhtml"||p.localName=="foreignObject"){return document.createElement(t);}return document.createElementNS(n,t);}var P={_sStyles:"",_sClasses:"",_aContexts:[],_mAttributes:Object.create(null)};P.setRootNode=function(r){if(this._oRoot){this._aContexts.push(this._getContext());}this._setContext({_oRoot:r});};P.getCurrentNode=function(){return this._oCurrent;};P.reset=function(){this._setContext(this._aContexts.pop());this._oParent=this._oReference=null;};P.matchElement=function(i,t,C,p){return null;};P.createElement=function(i,t,p){return null;};P._getContext=function(){return this._applyContext(this,{});};P._setContext=function(C){this._applyContext(C||{},this);};P._applyContext=function(s,t){t._oRoot=s._oRoot||null;t._oCurrent=s._oCurrent||null;t._oNewElement=s._oNewElement||null;t._oNewParent=s._oNewParent||null;t._oNewReference=s._oNewReference||null;t._iTagOpenState=s._iTagOpenState||0;return t;};P._walkOnTree=function(){this._oReference=null;if(!this._oCurrent){this._oParent=this._oRoot.parentNode;this._oCurrent=this._oRoot;}else if(this._iTagOpenState){this._oParent=this._oCurrent;this._oCurrent=this._oCurrent.firstChild;}else{this._oParent=this._oCurrent.parentNode;this._oCurrent=this._oCurrent.nextSibling;}};P._matchElement=function(i,t){if(!i){return;}if(this._oCurrent){if(this._oCurrent==this._oRoot||this._oCurrent.id==i){return;}var C=document.getElementById(i);if(C){this._oCurrent=this._oParent.insertBefore(C,this._oCurrent);return;}var m=this.matchElement(i,t,this._oCurrent,this._oParent);if(m){if(m!==this._oCurrent){this._oCurrent=this._oParent.insertBefore(m,this._oCurrent);}}else if(this._oCurrent.id){this._oReference=this._oCurrent;this._oCurrent=null;}}if(!this._oCurrent){this._oCurrent=this.createElement(i,t,this._oParent);this._setNewElement(this._oCurrent);}};P._matchNodeName=function(n){if(!this._oCurrent){return;}var C=(this._oCurrent.nodeType==1)?this._oCurrent.localName:this._oCurrent.nodeName;if(C==n){return;}if(this._oCurrent==this._oRoot){this._oReference=this._oCurrent.nextSibling;this._oParent.removeChild(this._oCurrent);}else{this._oReference=this._oCurrent;}this._oCurrent=null;};P._getAttributes=(D.browser.msie||D.browser.edge)?function(){for(var i=0,a=this._oCurrent.attributes,l=a.length;i<l;i++){this._mAttributes[a[i].name]=a[i].value;}}:function(){for(var i=0,a=this._oCurrent.getAttributeNames();i<a.length;i++){this._mAttributes[a[i]]=this._oCurrent.getAttribute(a[i]);}};P._setNewElement=function(n){if(!n){return;}if(!this._oNewElement){this._oNewElement=this._oCurrent;this._oNewParent=this._oParent;this._oNewReference=this._oReference;}else{this._oParent.insertBefore(this._oCurrent,this._oReference);}};P._insertNewElement=function(){if(this._oCurrent==this._oNewElement){this._oNewParent.insertBefore(this._oNewElement,this._oNewReference);this._oNewElement=this._oNewParent=this._oNewReference=null;}};P.openStart=function(t,i){this._walkOnTree();this._matchElement(i,t);this._matchNodeName(t);if(this._oCurrent){this._getAttributes();this._iTagOpenState=2;}else{this._oCurrent=c(t,this._oParent);this._setNewElement(this._oCurrent);this._iTagOpenState=1;}if(i){this.attr("id",i);}return this;};P.voidStart=P.openStart;P.attr=function(a,v){if(this._iTagOpenState==1){this._oCurrent.setAttribute(a,v);return this;}var n=String(v);var o=this._mAttributes[a];var m=A[a];if(o!==undefined){delete this._mAttributes[a];}if(m&&m(this._oCurrent,n,o)){return this;}if(o!==n){this._oCurrent.setAttribute(a,n);}return this;};P.class=function(C){if(C){this._sClasses+=(this._sClasses)?" "+C:C;}return this;};P.style=function(n,v){if(!n||v==null||v==""){return this;}this._sStyles+=(this._sStyles?" ":"")+(n+": "+v+";");return this;};P.openEnd=function(){if(this._sClasses){this.attr("class",this._sClasses);this._sClasses="";}if(this._sStyles){this.attr("style",this._sStyles);this._sStyles="";}if(this._iTagOpenState==1){return this;}var r=Object.keys(this._mAttributes);for(var i=0;i<r.length;i++){var a=r[i];var m=A[a];m&&m(this._oCurrent,null);this._oCurrent.removeAttribute(a);delete this._mAttributes[a];}return this;};P.voidEnd=function(){this.openEnd();this._iTagOpenState=0;this._insertNewElement();return this;};P.text=function(t){this._walkOnTree();this._matchNodeName("#text");if(!this._oCurrent){this._oCurrent=document.createTextNode(t);this._oParent.insertBefore(this._oCurrent,this._oReference);}else if(this._oCurrent.data!=t){this._oCurrent.data=t;}this._iTagOpenState=0;return this;};P.close=function(t){if(this._iTagOpenState){this._iTagOpenState=0;this._oCurrent.textContent="";}else{var p=this._oCurrent.parentNode;for(var l=p.lastChild;l&&l!=this._oCurrent;l=p.lastChild){p.removeChild(l);}this._oCurrent=p;}this._insertNewElement();return this;};P.unsafeHtml=function(h,i){var r=null;if(!this._oCurrent){r=this._oRoot;if(h){r.outerHTML=h;}}else if(this._iTagOpenState){r=this._oCurrent.firstChild;if(h){this._iTagOpenState=0;this._oCurrent.insertAdjacentHTML("afterbegin",h);if(r){this._oCurrent=r.previousSibling;if(!this._oCurrent){r.data=h;this._oCurrent=r;}}else{this._oCurrent=this._oCurrent.lastChild;}}}else{r=this._oCurrent.nextSibling;if(h){this._oCurrent.insertAdjacentHTML("afterend",h);this._oCurrent=r?r.previousSibling:this._oCurrent.parentNode.lastChild;}}if(i&&r&&r.id==i){r.parentNode.removeChild(r);}return this;};return P;});
sap.ui.predefine('sap/ui/core/Popup',['sap/ui/Device','sap/ui/base/ManagedObject','sap/ui/base/Object','sap/ui/base/ObjectPool','./Control','./IntervalTrigger','./RenderManager','./Element','./ResizeHandler','./library',"sap/base/assert","sap/base/Log","sap/base/util/Version","sap/base/util/uid","sap/ui/dom/containsOrEquals","sap/ui/thirdparty/jquery","sap/ui/events/F6Navigation","sap/ui/events/isMouseEventDelayed","sap/ui/base/EventProvider","sap/ui/dom/jquery/control","sap/ui/dom/jquery/Focusable","sap/ui/dom/jquery/rect"],function(D,M,B,O,C,I,R,E,a,b,c,L,V,u,d,q,F,f,g){"use strict";var h=b.CSSSize;var k=b.OpenState;var G;var r;var s="sapUiPopupResize";if(window.ResizeObserver){r=new window.ResizeObserver(function(e){o(q("#sap-ui-blocklayer-popup"),e[0].target);});}else{r={observe:function(e){var H=e.dataset[s];if(!H){H=a.register(e,function(i){o(q("#sap-ui-blocklayer-popup"),i.target);});e.dataset[s]=H;}},unobserve:function(e){var H=e.dataset[s];if(H){a.deregister(H);delete e.dataset[s];}}};}function m(W){var e;if(typeof W==="string"){e=document.querySelector(W);}else if(W instanceof E){e=W.getDomRef();}else{e=W;}return e||window;}function n($){var e=["left","top","width","height","position"];if($[0]){e.forEach(function(i){$[0].style.removeProperty(i);});}}function o($,W){var e=W.getBoundingClientRect();$.css({width:e.width,height:e.height,display:"block",position:"absolute"}).position({my:"left top",at:"left top",of:W});}var S;function p(){if(S){return S;}var i,j;try{i=sap.ui.getCore().getStaticAreaRef();S=sap.ui.getCore().getUIArea(i);}catch(e){L.error(e);throw new Error("Popup cannot be opened because static UIArea cannot be determined.");}j=new C();S.addDependent(j);S=j.getUIArea();j.destroy();return S;}var P=M.extend("sap.ui.core.Popup",{constructor:function(e,i,j,A){c(arguments.length==0||(e&&typeof e==="object"),"oContent must be an object or there may be no arguments at all");c((i===undefined||i===true||i===false),"bModal must be true, false, or undefined");c((j===undefined||j===true||j===false),"bShadow must be true, false, or undefined");c((A===undefined||A===true||A===false),"bAutoClose must be true, false, or undefined");M.apply(this);this._popupUID=u();this.bOpen=false;this.eOpenState=k.CLOSED;this._mEvents={};this._mEvents["sap.ui.core.Popup.addFocusableContent-"+this._popupUID]=this._addFocusableArea;this._mEvents["sap.ui.core.Popup.removeFocusableContent-"+this._popupUID]=this._removeFocusableArea;this._mEvents["sap.ui.core.Popup.closePopup-"+this._popupUID]=this._closePopup;this._mEvents["sap.ui.core.Popup.onFocusEvent-"+this._popupUID]=this.onFocusEvent;this._mEvents["sap.ui.core.Popup.increaseZIndex-"+this._popupUID]=this._increaseMyZIndex;this._mEvents["sap.ui.core.Popup.contains-"+this._popupUID]=this._containsEventBusWrapper;if(e){this.setContent(e);}this._oDefaultPosition={my:P.Dock.CenterCenter,at:P.Dock.CenterCenter,of:document,offset:"0 0",collision:"flip"};this._oPosition=q.extend({},this._oDefaultPosition);this._bModal=!!i;this._oPreviousFocus=null;this._sInitialFocusId=null;this._bShadow=typeof(j)==="boolean"?j:true;this._bAutoClose=!!A;this._animations={open:null,close:null};this._durations={open:"fast",close:"fast"};this._iZIndex=-1;this._oBlindLayer=null;this.setNavigationMode();if(this.touchEnabled){this._fAutoCloseHandler=function(l){if(l.isMarked("delayedMouseEvent")||l.isMarked("cancelAutoClose")){return;}if(this.eOpenState===k.CLOSING||this.eOpenState===k.CLOSED){return;}if(!this._contains(l.target)){this.close();}};}this._F6NavigationHandler=function(l){var x={},y=this._sF6NavMode,z;if(y=="DOCK"){if(this._bModal){y="NONE";}else if(this._oLastPosition&&this._oLastPosition.of){z=this._getOfDom(this._oLastPosition.of);if(!z||z===document){z=null;y="NONE";}}}switch(y){case"SCOPE":x.scope=this._$()[0];break;case"DOCK":x.target=z;var $=q(z).parents("[data-sap-ui-popup]");x.scope=$.length?$[0]:null;break;default:x.skip=true;}F.handleF6GroupNavigation(l,x);};},metadata:{library:"sap.ui.core",publicMethods:["open","close","setContent","getContent","setPosition","setShadow","setModal","getModal","setAutoClose","setAutoCloseAreas","isOpen","getAutoClose","getOpenState","setAnimations","setDurations","attachOpened","attachClosed","detachOpened","detachClosed"],associations:{"childPopups":{type:"sap.ui.core.Popup",multiple:true,visibility:"hidden"}},events:{"opened":{},"closed":{}}}});P.prototype.getChildPopups=function(){return this.getAssociation("childPopups",[]);};P.prototype.addChildPopup=function(e){return this.addAssociation("childPopups",e);};P.prototype.removeChildPopup=function(e){return this.removeAssociation("childPopups",e);};P._activateBlindLayer=true;P.blStack=[];P.Dock={BeginTop:"begin top",BeginCenter:"begin center",BeginBottom:"begin bottom",LeftTop:"left top",LeftCenter:"left center",LeftBottom:"left bottom",CenterTop:"center top",CenterCenter:"center center",CenterBottom:"center bottom",RightTop:"right top",RightCenter:"right center",RightBottom:"right bottom",EndTop:"end top",EndCenter:"end center",EndBottom:"end bottom"};P.prototype.touchEnabled=D.support.touch&&(D.browser.safari||!D.system.combi);P.prototype.preventBrowserFocus=D.support.touch&&!D.system.combi;B.extend("sap.ui.core.Popup.Layer",{constructor:function(){var e=this.getDomString();this._$Ref=q(e).appendTo(sap.ui.getCore().getStaticAreaRef());}});P.Layer.prototype.init=function(e,z){this._$Ref.css({"visibility":"visible","z-index":z});this.update(e,z);this._$Ref.insertAfter(e).show();};P.Layer.prototype.update=function(e,z){if(e.length){var i=e.rect();this._$Ref.css({"left":i.left,"top":i.top});if(e.css("right")!="auto"&&e.css("right")!="inherit"){this._$Ref.css({"right":e.css("right"),"width":"auto"});}else{this._$Ref.css({"width":i.width,"right":"auto"});}if(e.css("bottom")!="auto"&&e.css("bottom")!="inherit"){this._$Ref.css({"bottom":e.css("bottom"),"height":"auto"});}else{this._$Ref.css({"height":i.height,"bottom":"auto"});}if(typeof(z)==="number"){this._$Ref.css("z-index",z);}}};P.Layer.prototype.reset=function(){if(this._$Ref.length){this._$Ref[0].style.display="none";this._$Ref[0].style.visibility="hidden";this._$Ref.appendTo(sap.ui.getCore().getStaticAreaRef());}};P.Layer.prototype.getDomString=function(){L.error("sap.ui.core.Popup.Layer: getDomString function must be overwritten!");return"";};P.Layer.extend("sap.ui.core.Popup.BlindLayer",{constructor:function(){P.Layer.apply(this);}});P.BlindLayer.prototype.getDomString=function(){return"<div class=\"sapUiBliLy\" id=\"sap-ui-blindlayer-"+u()+"\"><iframe scrolling=\"no\" tabIndex=\"-1\"></iframe></div>";};P.prototype.oBlindLayerPool=new O(P.BlindLayer);P.Layer.extend("sap.ui.core.Popup.ShieldLayer",{constructor:function(){P.Layer.apply(this);}});P.ShieldLayer.prototype.getDomString=function(){return"<div class=\"sapUiPopupShield\" id=\"sap-ui-shieldlayer-"+u()+"\"></div>";};P.prototype.oShieldLayerPool=new O(P.ShieldLayer);(function(){var l=0;var i=Math.pow(2,32)-1;P.setInitialZIndex=function(e){if(e>=i){throw new Error("Z-index can't be higher than Number.MAX_SAFE_INTEGER");}l=Math.max(e,this.getLastZIndex());};P.getLastZIndex=function(){return l;};P.prototype.getLastZIndex=function(){return P.getLastZIndex();};P.getNextZIndex=function(){l+=10;if(l>=i){throw new Error("Z-index can't be higher than Number.MAX_SAFE_INTEGER");}return l;};P.prototype.getNextZIndex=function(){return P.getNextZIndex();};}());var t=function(e,i){if((!e&&i)||(e&&!i)){return false;}if(!e&&!i){return true;}var j=3;var l=Math.abs(e.left-i.left);var T=Math.abs(e.top-i.top);var W=Math.abs(e.width-i.width);var H=Math.abs(e.height-i.height);if(l>j||T>j||W>j||H>j){return false;}return true;};P.prototype.open=function(i,e,j,l,x,y,z){c(this.oContent,"Popup content must have been set by now");if(this.eOpenState!=k.CLOSED){return;}this.eOpenState=k.OPENING;var S=p(),U;this._bContentAddedToStatic=false;this._bUIAreaPatched=false;if(this.oContent instanceof C){if(!this.oContent.getParent()){S.addContent(this.oContent,true);this._bContentAddedToStatic=true;}else if(!this.oContent.getUIArea()){this.oContent.getUIArea=function(){return S;};this._bUIAreaPatched=true;}U=this.oContent.getUIArea();if(P._bEnableUIAreaCheck&&U.getRootNode().id!==S.getRootNode().id){L.warning("The Popup content is NOT connected with the static-UIArea and may not work properly!");}}if(typeof(i)=="string"){z=y;y=x;x=l;l=j;j=e;e=i;i=-1;}if(i===undefined){i=-1;}c(i===-1||(typeof i==="number"&&i%1==0),"iDuration must be an integer (or omitted)");c(e===undefined||typeof e==="string","my must be a string or empty");c(j===undefined||typeof j==="string","at must be a string or empty");c(!l||typeof l==="object"||typeof l==="function","of must be empty or an object");c(!x||typeof x==="string","offset must be empty or a string");c(!y||typeof y==="string","collision must be empty or a string");this._oPreviousFocus=P.getCurrentFocusInfo();if(this.isInPopup(l)||this.isInPopup(this._oPosition.of)){var A=this.getParentPopupId(l)||this.getParentPopupId(this._oPosition.of);var H="";var J=this.getContent();if(J instanceof E){H=J.getId();}else if(typeof J==="object"){H=J.id;}this.addChildToPopup(A,H);this.addChildToPopup(A,this._popupUID);}var $=this._$(true);var K="fast";if((i===0)||(i>0)){K=i;}else if((this._durations.open===0)||(this._durations.open>0)){K=this._durations.open;}var N;if(e||j||l||x||y){N=this._createPosition(e,j,l,x,y);this._oPosition=N;}else{N=this._oPosition;if(G){this._oPosition.within=G;}}if(!N.of){N.of=this._oPosition.of||document;}this._iZIndex=this._iZIndex===this.getLastZIndex()?this._iZIndex:this.getNextZIndex();var Q=sap.ui.getCore().getStaticAreaRef();$.css({"position":"absolute","visibility":"hidden"});if(!($[0].parentNode==Q)){$.appendTo(Q);}$.css("z-index",this._iZIndex);L.debug("position popup content "+$.attr("id")+" at "+(window.JSON?JSON.stringify(N.at):String(N.at)));this._applyPosition(N);if(z!==undefined){this.setFollowOf(z);}$.toggleClass("sapUiShd",this._bShadow);var T=$[0];if(T){T.style.display="none";T.style.visibility="visible";}var W=K==0;this._duringOpen(!W);if(W){this._opened();}else if(this._animations.open){this._animations.open.call(null,$,K,this._opened.bind(this));}else{$.fadeIn(K,this._opened.bind(this));}};P.prototype._getDomRefToFocus=function(){var $=this._$(false,true),e,i;if(this._shouldGetFocusAfterOpen()){if(this._sInitialFocusId){i=sap.ui.getCore().byId(this._sInitialFocusId);if(i){e=i.getFocusDomRef();}e=e||window.document.getElementById(this._sInitialFocusId);}e=e||$.firstFocusableDomRef();}return e;};P.prototype._opened=function(){if(this.eOpenState!==k.OPENING){return;}this.bOpen=true;var $=this._$(false,true);if($[0]&&$[0].style){$[0].style.display="block";}if(this._shouldGetFocusAfterOpen()){var e=this._getDomRefToFocus();if(e){e.focus();}var i=this._getOfDom(this._oLastPosition.of);var j=q(i).rect();if(this._oLastOfRect&&j&&!t(this._oLastOfRect,j)){this._applyPosition(this._oLastPosition);}}this.eOpenState=k.OPEN;if(this.getFollowOf()){P.DockTrigger.addListener(P.checkDocking,this);}this._updateBlindLayer();this.fireOpened();};P.prototype._duringOpen=function(e){var $=this._$(false,true),i=sap.ui.getCore().getStaticAreaRef(),j=document.getElementById(i.id+"-firstfe");if(f()){if(this._oTopShieldLayer){clearTimeout(this._iTopShieldRemoveTimer);this._iTopShieldRemoveTimer=null;}else{this._oTopShieldLayer=this.oShieldLayerPool.borrowObject($,this._iZIndex+1);}this._iTopShieldRemoveTimer=setTimeout(function(){this.oShieldLayerPool.returnObject(this._oTopShieldLayer);this._oTopShieldLayer=null;this._iTopShieldRemoveTimer=null;}.bind(this),500);}if(!!D.browser.msie&&!D.os.windows_phone&&P._activateBlindLayer){this._oBlindLayer=this.oBlindLayerPool.borrowObject($,this._iZIndex-1);}if(this._bModal){this._showBlockLayer();}if(!this.touchEnabled&&e&&j&&this._shouldGetFocusAfterOpen()&&!this.isInPopup(document.activeElement)&&this._getDomRefToFocus()!==document.activeElement){j.focus({preventScroll:true});}if(this.oContent instanceof E){this.oContent.addDelegate(this);}this.bOpen=true;this._activateFocusHandle();this._$(false,true).on("keydown",q.proxy(this._F6NavigationHandler,this));if(this._oBlindLayer){this._resizeListenerId=a.register(this._$().get(0),q.proxy(this.onresize,this));}};P.prototype._shouldGetFocusAfterOpen=function(){return this._bModal||this._bAutoClose||this._sInitialFocusId;};P.prototype._contains=function(e){var i=this._$().get(0);if(!i){return false;}var j=d(i,e);var l;if(!j){l=this.getChildPopups();j=l.some(function(x){var y=(x?window.document.getElementById(x):null);var j=d(y,e);if(!j){var z="sap.ui.core.Popup.contains-"+x;var A={domRef:e};sap.ui.getCore().getEventBus().publish("sap.ui",z,A);j=A.contains;}return j;});}return j;};P.prototype._containsEventBusWrapper=function(e,i,j){j.contains=this._contains(j.domRef);};P.prototype.onFocusEvent=function(e){var i=q.event.fix(e);if(arguments.length>1&&arguments[1]==="sap.ui.core.Popup.onFocusEvent-"+this._popupUID){i=q.event.fix(arguments[2]);}var j=(i.type=="focus"||i.type=="activate")?"focus":"blur";var l=false;if(j=="focus"){var x=this._$().get(0);if(x){l=this._contains(i.target);L.debug("focus event on "+i.target.id+", contains: "+l);if(this._bModal&&!l){var T=P.blStack.length>0&&P.blStack[P.blStack.length-1].popup===this;if(T){if(D.system.desktop||q(i.target).is(":input")){if(this.oLastBlurredElement){setTimeout(function(){if(this.oLastBlurredElement){this.oLastBlurredElement.focus();}}.bind(this),0);}else{x.focus();}}}}else if(this._bAutoClose&&l&&this._sTimeoutId){clearTimeout(this._sTimeoutId);this._sTimeoutId=null;}}}else if(j=="blur"){L.debug("blur event on "+i.target.id);if(this._bModal){this.oLastBlurredElement=i.target;}else if(this._bAutoClose){if(!this.touchEnabled&&!this._sTimeoutId){if(i.target===document.activeElement){return;}var y=typeof this._durations.close==="string"?0:this._durations.close;this._sTimeoutId=setTimeout(function(){this.close(y,"autocloseBlur");var z=this._oLastPosition&&this._oLastPosition.of;if(z){var A=this.getParentPopupId(z);if(A){var H="sap.ui.core.Popup.onFocusEvent-"+A;sap.ui.getCore().getEventBus().publish("sap.ui",H,i);}}}.bind(this),y);}}}};P.prototype.setInitialFocusId=function(i){c(!i||typeof i==="string","sId must be a string or empty");this._sInitialFocusId=i;};P.prototype.close=function(i){if(P._autoCloseDebug){return;}if(this._sTimeoutId){clearTimeout(this._sTimeoutId);this._sTimeoutId=null;if(arguments.length>1){var A=arguments[1];if(typeof A=="string"&&A=="autocloseBlur"&&this._isFocusInsidePopup()){return;}}}c(i===undefined||(typeof i==="number"&&(i%1==0)),"iDuration must be empty or an integer");if(this.eOpenState==k.CLOSED||this.eOpenState==k.CLOSING){return;}var e="fast";if((i===0)||(i>0)){e=i;}else if((this._durations.close===0)||(this._durations.close>0)){e=this._durations.close;}this.eOpenState=k.CLOSING;if(this.getFollowOf()){P.DockTrigger.removeListener(P.checkDocking,this);}if(this.oContent){if(this._bContentAddedToStatic){sap.ui.getCore().getEventBus().publish("sap.ui","__beforePopupClose",{domNode:this._$().get(0)});var j=sap.ui.getCore().getStaticAreaRef();j=sap.ui.getCore().getUIArea(j);j.removeContent(j.indexOfContent(this.oContent),true);}else if(this._bUIAreaPatched){delete this.oContent.getUIArea;}}this._bContentAddedToStatic=false;this._bUIAreaPatched=false;this._sTimeoutId=null;this._deactivateFocusHandle();this._$(false,true).off("keydown",this._F6NavigationHandler);if(this.oContent instanceof E){this.oContent.removeDelegate(this);}var $=this._$();if(this._bEventBusEventsRegistered){this._unregisterEventBusEvents();}if(this._oBlindLayer){this.oBlindLayerPool.returnObject(this._oBlindLayer);}this._oBlindLayer=null;if(f()){if(this._oBottomShieldLayer){clearTimeout(this._iBottomShieldRemoveTimer);this._iBottomShieldRemoveTimer=null;}else{this._oBottomShieldLayer=this.oShieldLayerPool.borrowObject($,this._iZIndex-3);}this._iBottomShieldRemoveTimer=setTimeout(function(){this.oShieldLayerPool.returnObject(this._oBottomShieldLayer);this._oBottomShieldLayer=null;this._iBottomShieldRemoveTimer=null;}.bind(this),500);}if(this.isInPopup(this._oLastPosition.of)){var l=this.getParentPopupId(this._oLastPosition.of);var x="";var y=this.getContent();if(y instanceof E){x=y.getId();}else if(typeof y==="object"){x=y.id;}this.removeChildFromPopup(l,x);this.removeChildFromPopup(l,this._popupUID);}if(this._bModal&&this.preventBrowserFocus){$.one("mousedown",function(z){z.preventDefault();});}this._duringClose();if(e==0){this._closed();}else if(this._animations.close){this._animations.close.call(null,$,e,this._closed.bind(this));}else{$.fadeOut(e,this._closed.bind(this));}};P.prototype._closed=function(){if(this._bModal){this._hideBlockLayer();}var $=this._$(false,true);if($.length){var e=$.get(0);if(e){e.style.display="none";e.style.visibility="hidden";e.style.left="0px";e.style.top="0px";e.style.right="";}$=this._$(false,true);e=$.length?$[0]:null;if(e){e.style.display="none";e.style.visibility="hidden";e.style.left="0px";e.style.top="0px";e.style.right="";}}if(this._bModal){P.applyFocusInfo(this._oPreviousFocus);this._oPreviousFocus=null;this.oLastBlurredElement=null;}this.bOpen=false;this.eOpenState=k.CLOSED;var i=this.getChildPopups();for(var j=0,l=i.length;j<l;j++){this.closePopup(i[j]);}this.fireClosed();};P.prototype._duringClose=function(){if(this._resizeListenerId){a.deregister(this._resizeListenerId);this._resizeListenerId=null;}};P.getCurrentFocusInfo=function(){var e=null;var i=sap.ui.getCore().getCurrentFocusedControlId();if(i){var j=sap.ui.getCore().byId(i);e={'sFocusId':i,'oFocusInfo':j?j.getFocusInfo():{}};}else{try{var l=document.activeElement;if(l&&l.nodeName){e={'sFocusId':l.id,'oFocusedElement':l,'oFocusInfo':{}};}}catch(x){e=null;}}if(e){e.popup=this;}return e;};P.applyFocusInfo=function(e){var i={preventScroll:true};if(e){var j=sap.ui.getCore().byId(e.sFocusId);if(j){j.applyFocusInfo(Object.assign(i,e.oFocusInfo));}else{var l=((e.sFocusId?window.document.getElementById(e.sFocusId):null))||e.oFocusedElement;if(l){l.focus(i);}}}};P.prototype.setContent=function(e){c(typeof e==="object","oContent must be an object");this.oContent=e;return this;};P.prototype.getContent=function(){return this.oContent;};P.prototype.setPosition=function(e,i,j,l,x){c(typeof e==="string","my must be a string");c(typeof i==="string"||(typeof i==="object"&&(typeof i.left==="number")&&(typeof i.top==="number")),"my must be a string or an object with 'left' and 'top' properties");c(!j||typeof j==="object"||typeof j==="function","of must be empty or an object");c(!l||typeof l==="string","offset must be empty or a string");c(!x||typeof x==="string","collision must be empty or a string");this._oPosition=this._createPosition(e,i,j,l,x);if(this.eOpenState!=k.CLOSED){this._applyPosition(this._oPosition);this._oBlindLayer&&this._oBlindLayer.update(this._$());}return this;};P.prototype._createPosition=function(e,i,j,l,x){var N=false;if(e&&(e.indexOf("+")>=0||e.indexOf("-")>=0)){N=true;if(l&&l!="0 0"){L.warning("offset used in my and in offset, the offset value will be ignored","sap.ui.core.Popup","setPosition");}l=null;}var y=q.extend({},this._oDefaultPosition,{my:e||this._oDefaultPosition.my,at:i||this._oDefaultPosition.at,of:j,offset:l,collision:x});if(G){y.within=G;}if(!q.ui.version){if(P._bNewOffset==null){P._bNewOffset=true;var $=q(document.createElement("div"));$.position({of:window,using:function(K,Q){P._bNewOffset=(Q!==undefined);}});}}var z=[];var A=[];if(P._bNewOffset||V(q.ui.version).compareTo("1.8.23")>0){if(l&&l!="0 0"){z=y.my.split(" ");A=l.split(" ");var H=[parseInt(A[0])<0?"":"+",parseInt(A[1])<0?"":"+"];y.my=z[0]+H[0]+A[0]+" "+z[1]+H[1]+A[1];y.offset=null;}}else if(N){z=y.my.split(" ");A=["",""];var J=z[0].indexOf("+");if(J<0){J=z[0].indexOf("-");}if(J>=0){A[0]=z[0].slice(J);z[0]=z[0].slice(0,J);}J=z[1].indexOf("+");if(J<0){J=z[1].indexOf("-");}if(J>=0){A[1]=z[1].slice(J);z[1]=z[1].slice(0,J);}y.my=z[0]+" "+z[1];y.offset=A[0]+" "+A[1];}return y;};P.prototype._getPositionOffset=function(){var e=[];if(this._oPosition.my&&(this._oPosition.my.indexOf("+")>=0||this._oPosition.my.indexOf("-")>=0)){var i=this._oPosition.my.split(" ");var j=i[0].indexOf("+");if(j<0){j=i[0].indexOf("-");}if(j>=0){e[0]=i[0].slice(j);}j=i[1].indexOf("+");if(j<0){j=i[1].indexOf("-");}if(j>=0){e[1]=i[1].slice(j);}}else if(this._oPosition.offset){e=this._oPosition.offset.split(" ");}return e;};P.prototype._applyPosition=function(e){var i=sap.ui.getCore().getConfiguration().getRTL();var $=this._$();if($.length){var A=e.at;var j=$.get(0);if(typeof(A)==="string"){j.style.display="block";j.style.left="";j.style.right="";$.position(this._resolveReference(this._convertPositionRTL(e,i)));this._fixPositioning(e,i);}else if(h.isValid(A.left)&&h.isValid(A.top)){$.css({"left":A.left,"top":A.top});}else if(h.isValid(A.right)&&h.isValid(A.top)){$.css({"right":A.right,"top":A.top});}else if(typeof(A.left)==="number"&&typeof(A.top)==="number"){var l=$[0];if(l&&l.style.right){var x=$.outerWidth();$.css({"right":(document.documentElement.clientWidth-(A.left+x))+"px","top":A.top+"px"});}else{$.css({"left":A.left+"px","top":A.top+"px"});}}this._oLastPosition=e;this._oLastOfRect=this._calcOfRect(e.of);}};P.prototype._calcOfRect=function(e){var i=this._getOfDom(e);if(i){return q(i).rect();}return null;};P.prototype._getOfDom=function(e){if(e instanceof q.Event){return null;}var $;if(typeof(e)==="string"){$=q(document.getElementById(e));}else if(e instanceof q){$=e;}else{$=q(e instanceof E?e.getDomRef():e);}return $[0];};P.prototype._convertPositionRTL=function(e,i){var j=q.extend({},e);if(i){var N=false;if(j.my&&(j.my.indexOf("+")>=0||j.my.indexOf("-")>=0)){N=true;}if((j.offset||N)&&((j.my.indexOf("begin")>-1)||(j.my.indexOf("end")>-1))&&((j.at.indexOf("begin")>-1)||(j.at.indexOf("end")>-1))){if(N){var l=j.my.split(" ");if(l.length==2){j.my="";if(l[0]){if(l[0].indexOf("begin")>-1||l[0].indexOf("end")>-1){if(l[0].indexOf("+")>-1){l[0]=l[0].replace("+","-");}else if(l[0].indexOf("-")>-1){l[0]=l[0].replace("-","+");}}j.my=l[0];}if(l[1]){if(l[1].indexOf("begin")>-1||l[1].indexOf("end")>-1){if(l[1].indexOf("+")>-1){l[1]=l[1].replace("+","-");}else if(l[1].indexOf("-")>-1){l[1]=l[1].replace("-","+");}}if(l[0]){j.my=j.my+" ";}j.my=j.my+l[1];}}}else{j.offset=this._mirrorOffset(j.offset);}}j.my=j.my.replace("begin","right").replace("end","left");j.at=j.at.replace("begin","right").replace("end","left");}else{j.my=j.my.replace("end","right").replace("begin","left");j.at=j.at.replace("end","right").replace("begin","left");}return j;};P.prototype._mirrorOffset=function(e){var i=q.trim(e).split(/\s/);var j=parseInt(i[0]);return(-j)+" "+i[i.length-1];};P.prototype._fixPositioning=function(e,i){var j=e.my;var $=this._$();var l=0;if(typeof(j)==="string"){if(i&&((j.indexOf("right")>-1)||(j.indexOf("begin")>-1)||(j.indexOf("center")>-1))){$=this._$();l=q(window).width()-$.outerWidth()-$.offset().left;$.css({"right":l+"px","left":""});}else if((j.indexOf("right")>-1)||(j.indexOf("end")>-1)){$=this._$();l=q(window).width()-$.outerWidth()-$.offset().left;$.css({"right":l+"px","left":""});}}};P.prototype._resolveReference=function(e){var i,j=["of","within"];j.forEach(function(l){if(e[l]instanceof E){i=i||{};i[l]=e[l].getDomRef();}});return i?Object.assign({},e,i):e;};P.prototype.setShadow=function(e){c(typeof e==="boolean","bShowShadow must be boolean");this._bShadow=e;if(this.eOpenState!=k.CLOSED){this._$().toggleClass("sapUiShd",e);}return this;};P.prototype.setModal=function(e,i){c(typeof e==="boolean","bModal must be boolean");c(!i||typeof i==="string","sModalCSSClass must be empty or a string");var j=this._bModal;this._bModal=e;this._sModalCSSClass=i;if(this.isOpen()){if(j!==e){if(e){this._showBlockLayer();}else{this._hideBlockLayer();}if(this.touchEnabled&&this._bAutoClose){if(!e){q(document).on("touchstart mousedown",q.proxy(this._fAutoCloseHandler,this));}else{q(document).off("touchstart mousedown",this._fAutoCloseHandler);}}}}return this;};P.prototype.getModal=function(){return this._bModal;};P.prototype.setNavigationMode=function(e){if(e!="NONE"&&e!="DOCK"&&e!="SCOPE"){this._sF6NavMode="NONE";}this._sF6NavMode=e;};P.prototype.setAutoClose=function(A){c(typeof A==="boolean","bAutoClose must be boolean");if(this.touchEnabled&&this.isOpen()&&this._bAutoClose!==A){if(!this._bModal){if(A){q(document).on("touchstart mousedown",q.proxy(this._fAutoCloseHandler,this));}else{q(document).off("touchstart mousedown",this._fAutoCloseHandler);}}}this._bAutoClose=A;return this;};P.prototype.setAutoCloseAreas=function(A){c(Array.isArray(A),"aAutoCloseAreas must be an array which contains either sap.ui.core.Element, DOM Element or an ID");if(!this._aAutoCloseAreas){this._aAutoCloseAreas=[];}var e=function(H){return{onBeforeRendering:function(){var J=x.getDomRef();if(J&&this.isOpen()){if(D.browser.msie){q(J).unbind("deactivate."+this._popupUID,this.fEventHandler);}else{J.removeEventListener("blur",this.fEventHandler,true);}}},onAfterRendering:function(){var J=x.getDomRef();if(J&&this.isOpen()){if(D.browser.msie){q(J).bind("deactivate."+this._popupUID,this.fEventHandler);}else{J.addEventListener("blur",this.fEventHandler,true);}}}};};var j,x,y,z;for(var i=0,l=A.length;i<l;i++){x=A[i];if(x instanceof E){j=x.getId();}else if(typeof x==="object"){j=x.id;}else if(typeof x==="string"){j=x;}if(this.getChildPopups().indexOf(j)===-1){this.addChildPopup(j);z={id:j};if(x instanceof E){y=e(x);x.addEventDelegate(y,this);z.delegate=y;}this._aAutoCloseAreas.push(z);}}return this;};P.prototype.setAnimations=function(e,i){c(e===null||typeof e==="function","fnOpen must be a function");c(i===null||typeof i==="function","fnClose must be a function");if(e&&(typeof(e)=="function")){this._animations.open=e;}if(i&&(typeof(i)=="function")){this._animations.close=i;}return this;};P.prototype.setDurations=function(i,e){c(i===null||(typeof i==="number"&&(i%1==0)),"iOpenDuration must be null or an integer");c(!e||(typeof e==="number"&&(e%1==0)),"iOpenDuration must be undefined or an integer");if((i>0)||(i===0)){this._durations.open=i;}if((e>0)||(e===0)){this._durations.close=e;}return this;};P.CLOSE_ON_SCROLL="close_Popup_if_of_is_moved";P.prototype._fnCloseOnScroll=function(e){this.close();};P.prototype.setFollowOf=function(e){P.DockTrigger.removeListener(P.checkDocking,this);var U=false;this._bFollowOf=true;this._followOfHandler=null;if(typeof(e)==="function"){this._followOfHandler=e;U=true;}else if(typeof(e)==="boolean"){U=e;}else if(e===P.CLOSE_ON_SCROLL){this._followOfHandler=this._fnCloseOnScroll;U=true;}else{this._bFollowOf=false;if(e!==null){L.error("Trying to set an invalid type to 'followOf: "+e);}}if(U&&this._oLastPosition){this._oLastOfRect=this._calcOfRect(this._oLastPosition.of);}if(this._bFollowOf&&this.getOpenState()===k.OPEN){P.DockTrigger.addListener(P.checkDocking,this);}};P.prototype.getAutoClose=function(){return this._bAutoClose;};P.prototype.getFollowOf=function(){if(this._bFollowOf){return typeof(this._followOfHandler)==="function"?this._followOfHandler:true;}return false;};P.prototype.isOpen=function(){return this.bOpen;};P.prototype.getOpenState=function(){return this.eOpenState;};P.prototype.destroy=function(){if(this._resizeListenerId){a.deregister(this._resizeListenerId);this._resizeListenerId=null;}this.close(0);this.oContent=null;if(this._bFollowOf){this.setFollowOf(null);}if(this._bEventBusEventsRegistered){this._unregisterEventBusEvents();}if(this._iTopShieldRemoveTimer){clearTimeout(this._iTopShieldRemoveTimer);this.oShieldLayerPool.returnObject(this._oTopShieldLayer);this._oTopShieldLayer=null;this._iTopShieldRemoveTimer=null;}if(this._iBottomShieldRemoveTimer){clearTimeout(this._iBottomShieldRemoveTimer);this.oShieldLayerPool.returnObject(this._oBottomShieldLayer);this._oBottomShieldLayer=null;this._iBottomShieldRemoveTimer=null;}if(this._aAutoCloseAreas){var e;this._aAutoCloseAreas.forEach(function(A){if(A.delegate){e=q(document.getElementById(A.id)).control(0);if(e){e.removeEventDelegate(A.delegate);}}});}M.prototype.destroy.apply(this,arguments);};P.prototype.exit=function(){delete this._mEvents;};P.prototype._addFocusEventListeners=function(e,j,x){if(!this.fEventHandler){this.fEventHandler=q.proxy(this.onFocusEvent,this);}var $=this._$();var y=this.getChildPopups();var z={};var i=0,l=0;if($.length){if(document.addEventListener&&!D.browser.msie){document.addEventListener("focus",this.fEventHandler,true);$.get(0).addEventListener("blur",this.fEventHandler,true);for(i=0,l=y.length;i<l;i++){z=(y[i]?window.document.getElementById(y[i]):null);if(z){z.addEventListener("blur",this.fEventHandler,true);}}}else{q(document).bind("activate."+this._popupUID,this.fEventHandler);$.bind("deactivate."+this._popupUID,this.fEventHandler);for(i=0,l=y.length;i<l;i++){z=(y[i]?window.document.getElementById(y[i]):null);if(z){q(z).bind("deactivate."+this._popupUID,this.fEventHandler);}}}}};P.prototype._removeFocusEventListeners=function(e,j,x){var $=this._$(false,true);if(!$.length){return;}var y=this.getChildPopups();var z={};var i=0,l=0;if(document.removeEventListener&&!D.browser.msie){document.removeEventListener("focus",this.fEventHandler,true);$.get(0).removeEventListener("blur",this.fEventHandler,true);for(i=0,l=y.length;i<l;i++){z=(y[i]?window.document.getElementById(y[i]):null);if(z){z.removeEventListener("blur",this.fEventHandler,true);}this.closePopup(y[i]);}}else{q(document).unbind("activate."+this._popupUID,this.fEventHandler);$.unbind("deactivate."+this._popupUID,this.fEventHandler);for(i=0,l=y.length;i<l;i++){z=(y[i]?window.document.getElementById(y[i]):null);if(z){q(z).unbind("deactivate."+this._popupUID,this.fEventHandler);}}}this.fEventHandler=null;};P.prototype._activateFocusHandle=function(){if(this._bModal||this._bAutoClose){this._addFocusEventListeners();}if(this.touchEnabled&&!this._bModal&&this._bAutoClose){q(document).on("touchstart mousedown",q.proxy(this._fAutoCloseHandler,this));}};P.prototype._deactivateFocusHandle=function(){if(this.fEventHandler){this._removeFocusEventListeners();}if(this.touchEnabled&&!this._bModal&&this._bAutoClose){q(document).off("touchstart mousedown",this._fAutoCloseHandler);}};P.prototype._registerEventBusEvents=function(e,i,j){var l=this;q.each(l._mEvents,function(x,y){sap.ui.getCore().getEventBus().subscribe("sap.ui",x,y,l);});this._bEventBusEventsRegistered=true;};P.prototype._unregisterEventBusEvents=function(e,i,j){var l=this;q.each(l._mEvents,function(x,y){sap.ui.getCore().getEventBus().unsubscribe("sap.ui",x,y,l);});delete this._bEventBusEventsRegistered;};P.prototype._addFocusableArea=function(e,i,j){if(this.getChildPopups().indexOf(j.id)===-1){this.addChildPopup(j.id);}};P.prototype._removeFocusableArea=function(e,i,j){this.removeChildPopup(j.id);};P.prototype._closePopup=function(e,i,j){this.close(typeof this._durations.close==="string"?0:this._durations.close);};P.prototype._setIdentity=function($){if(typeof $==="object"){$.attr("data-sap-ui-popup",this._popupUID);}else{L.warning("Incorrect DomRef-type for 'setIdentity': "+$,this);return;}if(!this._bEventBusEventsRegistered){this._registerEventBusEvents();}};P.prototype._$=function(e,i){var $;if(this.oContent instanceof C){$=this.oContent.$();if(e||($.length===0&&!i)){L.info("Rendering of popup content: "+this.oContent.getId());if($.length>0){R.preserveContent($[0],true,false);}sap.ui.getCore().getRenderManager().render(this.oContent,sap.ui.getCore().getStaticAreaRef());$=this.oContent.$();}}else if(this.oContent instanceof E){$=this.oContent.$();}else{$=q(this.oContent);}this._setIdentity($);return $;};function _(e){if(P._blockLayerStateProvider){P._blockLayerStateProvider.fireEvent("blockLayerStateChange",e);}}P.attachBlockLayerStateChange=function(e,i,l){if(!P._blockLayerStateProvider){P._blockLayerStateProvider=new g();}P._blockLayerStateProvider.attachEvent("blockLayerStateChange",e,i,l);};P.detachBlockLayerStateChange=function(e,l){if(P._blockLayerStateProvider){P._blockLayerStateProvider.detachEvent("blockLayerStateChange",e,l);}};function v($,W){if(W===window){n($);document.documentElement.classList.add("sapUiBLyBack");}else{o($,W);W.classList.add("sapUiBLyBack");r.observe(W);}}function w(W){if(W===window){document.documentElement.classList.remove("sapUiBLyBack");}else{W.classList.remove("sapUiBLyBack");r.unobserve(W);}}P.prototype._showBlockLayer=function(){var $=q("#sap-ui-blocklayer-popup"),e="sapUiBLy"+(this._sModalCSSClass?" "+this._sModalCSSClass:""),W;if($.length===0){$=q('<div id="sap-ui-blocklayer-popup" tabindex="0" class="'+e+'"></div>');$.appendTo(sap.ui.getCore().getStaticAreaRef());}else{$.removeClass().addClass(e);}var l=P.blStack[P.blStack.length-1];if(l){W=m(l.popup._oLastPosition.within);w(W);}W=m(this._oLastPosition.within);v($,W);P.blStack.push({zIndex:this._iZIndex-2,popup:this});$.css({"z-index":this._iZIndex-2,"visibility":"visible"}).show();if(P.blStack.length===1){_({visible:true,zIndex:P.blStack[0].zIndex});}};P.prototype._hideBlockLayer=function(){var $=q("#sap-ui-blocklayer-popup"),e=$[0],i=this,l,W;W=m(this._oLastPosition.within);w(W);if($.length){if(P.blStack.length>1){P.blStack=P.blStack.filter(function(j){return j.popup!==i;});l=P.blStack[P.blStack.length-1];e.style.zIndex=l.zIndex;e.style.visibility="visible";e.style.display="block";W=m(l.popup._oLastPosition.within);v($,W);}else{l=P.blStack.pop();e.style.visibility="hidden";e.style.display="none";_({visible:false,zIndex:l.zIndex});}}};P.prototype._isFocusInsidePopup=function(){var e=this._$(false).get(0);if(e&&d(e,document.activeElement)){return true;}return false;};P.DockTrigger=I;P.checkDocking=function(){if(this.getOpenState()===k.OPEN){var e=this._getOfDom(this._oLastPosition.of),i;if(e){if((e===window)||(e===window.document)||d(document.documentElement,e)){i=q(e).rect();}else if(e.id){var N=window.document.getElementById(e.id);var j=q(N).rect();if(j&&!t(i,j)){i=j;this._oLastPosition.of=N;}}}if(!i){this.close();return;}else if(i.left===0&&i.top===0&&i.height===0&&i.height===0&&this._oLastPosition.of.id){this._oLastPosition.of=window.document.getElementById(this._oLastPosition.of.id);e=this._getOfDom(this._oLastPosition.of);i=q(e).rect();if(!i){this.close();return;}}if(this._oLastOfRect){if(!t(this._oLastOfRect,i)){if(this._followOfHandler){var l=q.extend(true,{},this._oLastPosition),x=q.extend(true,{},this._oLastOfRect);this._followOfHandler({lastPosition:l,lastOfRect:x,currentOfRect:i});}else{this._applyPosition(this._oLastPosition);}}}}};P.prototype.ontouchstart=function(e){this.onmousedown(e,true);this._bMousedownCalled=true;};P.prototype.onmousedown=function(e,i){if(this._bMousedownCalled&&!i){this._bMousedownCalled=false;return;}if(this._iZIndex===this.getLastZIndex()||this.getModal()){return;}this._increaseMyZIndex("","mousedown",e);};P.prototype._increaseMyZIndex=function(e,j,x){var y=this.getParentPopup(this._oLastPosition.of);if(x&&x.type==="mousedown"||x&&x.isFromParentPopup||y.length===0){this._iZIndex=this.getNextZIndex();var $=this._$(false,true);$.css("z-index",this._iZIndex);if(this._oBlindLayer){this._oBlindLayer.update($,this._iZIndex-1);}if(x&&!x.type||x&&x.type!="mousedown"||j==="mousedown"){var z=this.getChildPopups();for(var i=0,l=z.length;i<l;i++){this.increaseZIndex(z[i],true);}}}else if(y.length>0){var A=q(y.get(0)).attr("data-sap-ui-popup");this.increaseZIndex(A,false);}};P.prototype.onAfterRendering=function(e){var i=this.getContent();var $=i instanceof E?i.$():q(i);$.toggleClass("sapUiShd",this._bShadow);$.css("position","absolute");this._setIdentity($);var j=$[0];var l=j.style.left;var x=j.style.right;var y=j.style.top;var z=j.style.bottom;if(!(l&&l!="auto"||x&&x!="auto"||y&&y!="auto"||z&&z!="auto")){L.debug("reposition popup content "+$.attr("id")+" at "+(window.JSON?JSON.stringify(this._oLastPosition.at):String(this._oLastPosition.at)));this._applyPosition(this._oLastPosition);}$.show().css({"visibility":"visible","z-index":this._iZIndex});if(this._oBlindLayer){this._resizeListenerId=a.register(this._$().get(0),q.proxy(this.onresize,this));}if(this.isOpen()&&(this.getModal()||this.getAutoClose())){this._addFocusEventListeners();}this._$(false,true).on("keydown",q.proxy(this._F6NavigationHandler,this));};P.prototype.onBeforeRendering=function(e){if(this._resizeListenerId){a.deregister(this._resizeListenerId);this._resizeListenerId=null;}if(this.isOpen()&&(this.getModal()||this.getAutoClose())){this._removeFocusEventListeners();}this._$(false,true).off("keydown",this._F6NavigationHandler);};P.prototype.onresize=function(e){if(this.eOpenState!=k.CLOSED&&this._oBlindLayer){var i=this;setTimeout(function(){i._updateBlindLayer();},0);}};P.prototype._updateBlindLayer=function(){if(this.eOpenState!=k.CLOSED&&this._oBlindLayer){this._oBlindLayer.update(this._$(false,true));}};P.prototype.isInPopup=function(T){var $=this.getParentPopup(T);return $&&$.length>0;};P.prototype.getParentPopup=function(T){var e=T?T:this;var $=q(e instanceof E?e.getDomRef():e);return $.closest("[data-sap-ui-popup]");};P.prototype.getParentPopupId=function(T){var $=this.getParentPopup(T);return $.attr("data-sap-ui-popup");};P.prototype.addChildToPopup=function(e,i){var j="sap.ui.core.Popup.addFocusableContent-"+e;sap.ui.getCore().getEventBus().publish("sap.ui",j,{id:i});};P.prototype.removeChildFromPopup=function(e,i){var j="sap.ui.core.Popup.removeFocusableContent-"+e;sap.ui.getCore().getEventBus().publish("sap.ui",j,{id:i});};P.prototype.closePopup=function(e){var i="sap.ui.core.Popup.closePopup-"+e;sap.ui.getCore().getEventBus().publish("sap.ui",i);};P.prototype.increaseZIndex=function(e,i){var j="sap.ui.core.Popup.increaseZIndex-"+e;sap.ui.getCore().getEventBus().publish("sap.ui",j,{isFromParentPopup:i?i:false});};P.prototype.focusTabChain=function(e){var i=e.event.target,N=e.that.getMetadata().getName(),j;if((!e.$FocusablesContent||!e.$FocusablesFooter)||(!e.$FocusablesContent.length&&!e.$FocusablesFooter.length)){return;}if(i.id===e.firstFocusable){L.debug("First dummy focus element was focused","",N);if(e.$FocusablesFooter.length>0){L.debug("Last footer element will be focused","",N);j=e.$FocusablesFooter[e.$FocusablesFooter.length-1];}else{L.debug("Last content element will be focused","",N);j=e.$FocusablesContent[e.$FocusablesContent.length-1];}}else if(i.id===e.lastFocusable){L.debug("Last dummy focus element was focues","",N);if(e.$FocusablesContent.length>0){L.debug("First content element will be focused","",N);j=e.$FocusablesContent[0];}else{L.debug("First footer element will be focused","",N);j=e.$FocusablesFooter[0];}}if(j){setTimeout(function(){var l=sap.ui.getCore().byId(j.id);if(l instanceof C){L.debug("Focus will be handled by "+l.getMetadata().getName(),"",N);}else{L.debug("oFocusDomRef will be focused","",N);}if(l){l.focus();}else if(j){j.focus();}return l?l.getId():j.id;},0);}};P.setWithinArea=function(e){G=e;};P.getWithinArea=function(){return G;};P.getWithinAreaDomRef=function(){return m(G);};return P;});
sap.ui.predefine('sap/ui/core/RenderManager',['./LabelEnablement','sap/ui/base/Object','sap/ui/performance/trace/Interaction','sap/base/util/uid',"sap/ui/util/ActivityDetection","sap/ui/thirdparty/jquery","sap/base/security/encodeXML","sap/base/security/encodeCSS","sap/base/assert","sap/ui/performance/Measurement","sap/base/Log","./InvisibleRenderer","./Patcher"],function(L,B,I,u,A,q,a,b,c,M,d,f,P){"use strict";var C=["renderControl","cleanupControlWithoutRendering","accessibilityState","icon"];var s=["write","writeEscaped","writeAcceleratorKey","writeControlData","writeElementData","writeAttribute","writeAttributeEscaped","addClass","writeClasses","addStyle","writeStyles","writeAccessibilityState","writeIcon","translate","getConfiguration","getHTML"];var D=["openStart","voidStart","attr","class","style","openEnd","voidEnd","text","unsafeHtml","close"];var n=["render","flush","destroy"];function R(){var p=this,F,v,x,S,z,E,O="",V=false,G,H="",J={},K={};this._setFocusHandler=function(e){c(e&&B.isA(e,'sap.ui.core.FocusHandler'),"oFocusHandler must be an sap.ui.core.FocusHandler");F=e;};function N(){v=p.aBuffer=[];x=p.aRenderedControls=[];S=p.aStyleStack=[{}];G=undefined;V=false;O="";}function Q(e,i){c(e&&typeof e=="string"&&/^[a-z_][a-zA-Z0-9_\-]*$/.test(e),"The "+i+" name provided '"+e+"' is not valid; it must contain alphanumeric characters, hyphens or underscores");}function T(e){c(O,"There is no open tag; '"+e+"' must not be called without an open tag");}function U(e){var i=(e===undefined)?!O:e;c(i,"There is an open tag; '"+O+"' tag has not yet ended with '"+(V?"voidEnd":"openEnd")+"'");}function W(e){Q(e,"attr");c(e!="class"&&e!="style","Attributes 'class' and 'style' must not be written, instead use dedicated 'class' or 'style' method");}function X(e){c(typeof e=="string"&&!/\s/.test(e)&&arguments.length===1,"Method 'class' must be called with exactly one class name");}function Y(e){c(e&&typeof e=="string"&&!/\s/.test(e),"Method 'style' must be called with a non-empty string name");}this.write=function(e){c((typeof e==="string")||(typeof e==="number"),"sText must be a string or number");v.push.apply(v,arguments);return this;};this.writeEscaped=function(e,i){if(e!=null){e=a(String(e));if(i){e=e.replace(/&#xa;/g,"<br>");}v.push(e);}return this;};this.writeAttribute=function(e,i){c(typeof e==="string","sName must be a string");c(typeof i==="string"||typeof i==="number"||typeof i==="boolean","value must be a string, number or boolean");v.push(" ",e,"=\"",i,"\"");return this;};this.writeAttributeEscaped=function(e,i){c(typeof e==="string","sName must be a string");v.push(" ",e,"=\"",a(String(i)),"\"");return this;};this.addStyle=function(e,i){c(typeof e==="string","sName must be a string");if(i!=null&&i!=""){c((typeof i==="string"||typeof i==="number"),"value must be a string or number");var j=S[S.length-1];if(!j.aStyle){j.aStyle=[];}j.aStyle.push(e+": "+i+";");}return this;};this.writeStyles=function(){var e=S[S.length-1];if(e.aStyle&&e.aStyle.length){this.writeAttribute("style",e.aStyle.join(" "));}e.aStyle=null;return this;};this.addClass=function(e){if(e){c(typeof e==="string","sName must be a string");var i=S[S.length-1];if(!i.aClasses){i.aClasses=[];}i.aClasses.push(e);}return this;};this.writeClasses=function(e){c(!e||typeof e==="boolean"||B.isA(e,'sap.ui.core.Element'),"oElement must be empty, a boolean, or an sap.ui.core.Element");var i=S[S.length-1];var j;if(e){j=e.aCustomStyleClasses;}else if(e===false){j=[];}else{j=i.aCustomStyleClasses;}if(i.aClasses||j){var b1=[].concat(i.aClasses||[],j||[]);if(b1.length){this.writeAttribute("class",b1.join(" "));}}if(!e){i.aCustomStyleClasses=null;}i.aClasses=null;return this;};this.openStart=function(e,i){Q(e,"tag");U();O=e;this.write("<"+e);if(i){if(typeof i=="string"){this.attr("id",i);}else{this.writeElementData(i);}}return this;};this.openEnd=function(e){T("openEnd");U(!V);O="";this.writeClasses(e?false:undefined);this.writeStyles();this.write(">");return this;};this.close=function(e){Q(e,"tag");U();this.write("</"+e+">");return this;};this.voidStart=function(e,i){this.openStart(e,i);V=true;return this;};this.voidEnd=function(e){T("voidEnd");U(V||!O);V=false;O="";this.writeClasses(e?false:undefined);this.writeStyles();this.write(">");return this;};this.unsafeHtml=function(e){U();this.write(e);return this;};this.text=function(e){U();this.writeEscaped(e);return this;};this.attr=function(e,i){W(e);this.writeAttributeEscaped(e,i);return this;};this.class=function(e){if(e){X.apply(this,arguments);this.addClass(a(e));}return this;};this.style=function(e,i){Y(e);this.addStyle(e,i);return this;};this.accessibilityState=this.writeAccessibilityState;this.icon=this.writeIcon;K.openStart=function(e,i){Q(e,"tag");U();O=e;if(!i){P.openStart(e);}else if(typeof i=="string"){P.openStart(e,i);}else{P.openStart(e,i.getId());y(this,i);}return this;};K.voidStart=function(e,i){this.openStart(e,i);V=true;return this;};K.attr=function(e,i){W(e);T("attr");P.attr(e,i);return this;};K.class=function(e){if(e){X.apply(this,arguments);T("class");P.class(e);}return this;};K.style=function(e,i){Y(e);T("style");P.style(e,i);return this;};K.openEnd=function(e){if(!e){var i=S[S.length-1];var j=i.aCustomStyleClasses;if(j){j.forEach(P.class,P);i.aCustomStyleClasses=null;}}T("openEnd");U(!V);O="";P.openEnd();return this;};K.voidEnd=function(e){if(!e){var i=S[S.length-1];var j=i.aCustomStyleClasses;if(j){j.forEach(P.class,P);i.aCustomStyleClasses=null;}}T("voidEnd");U(V||!O);V=false;O="";P.voidEnd();return this;};K.text=function(e){U();if(e!=null){P.text(e);}return this;};K.unsafeHtml=function(e){U();P.unsafeHtml(e);return this;};K.close=function(e){Q(e,"tag");U();P.close(e);return this;};function Z(e){E=true;try{var i=q.Event("BeforeRendering");i.srcControl=e;e._handleEvent(i);}finally{E=false;}}this.cleanupControlWithoutRendering=function(e){c(!e||B.isA(e,'sap.ui.core.Control'),"oControl must be an sap.ui.core.Control or empty");if(!e||!e.getDomRef()){return;}Z(e);e.bOutput=false;};this.renderControl=function(e){c(!e||B.isA(e,'sap.ui.core.Control'),"oControl must be an sap.ui.core.Control or empty");if(!e){return this;}if(!z){z=[];}if(z&&z.length>0){M.pause(z[0]+"---renderControl");}else if(e.getParent()&&e.getParent().getMetadata().getName()=="sap.ui.core.UIArea"){M.pause(e.getParent().getId()+"---rerender");}z.unshift(e.getId());M.start(e.getId()+"---renderControl","Rendering of "+e.getMetadata().getName(),["rendering","control"]);Z(e);M.pause(e.getId()+"---renderControl");var j;var b1=e.getMetadata();var c1=e.getVisible();if(c1){j=b1.getRenderer();}else{var d1=b1.getProperty("visible");var e1=d1&&d1._oParent&&d1._oParent.getName()=="sap.ui.core.Control";j=e1?f:b1.getRenderer();}M.resume(e.getId()+"---renderControl");var f1=e.aBindParameters;if(f1&&f1.length>0){var g1=q(e.getDomRef());if(g1&&g1[0]){for(var i=0;i<f1.length;i++){var h1=f1[i];g1.unbind(h1.sEventType,h1.fnProxy);}}}if(j&&typeof j.render==="function"){if(v.length){G=false;}else if(G===undefined){var i1=e.getDomRef();if(!i1&&!c1){i1=document.getElementById(f.createInvisiblePlaceholderId(e));}if(i1&&R.getApiVersion(j)==2&&!R.isPreservedContent(i1)){F&&F.storePatchingControlFocusInfo(i1);P.setRootNode(i1);G=true;}else{G=false;}}else if(!H&&G){if(R.getApiVersion(j)!=2){H=e.getId();G=false;}}var j1={};if(e.aCustomStyleClasses&&e.aCustomStyleClasses.length>0){j1.aCustomStyleClasses=e.aCustomStyleClasses;}S.push(j1);if(G){var k1=P.getCurrentNode();j.render(K,e);if(P.getCurrentNode()==k1){P.unsafeHtml("",e.getId());e.bOutput=false;}else{e.bOutput=true;}}else{var l1=v.length;j.render(J,e);e.bOutput=(v.length!==l1);}S.pop();if(H&&H===e.getId()){P.unsafeHtml(v.join(""),H);H="";G=true;v=[];}}else{d.error("The renderer for class "+b1.getName()+" is not defined or does not define a render function! Rendering of "+e.getId()+" will be skipped!");}x.push(e);if(e.getUIArea&&e.getUIArea()){e.getUIArea()._onControlRendered(e);}if(j===f){e.bOutput="invisible";}M.end(e.getId()+"---renderControl");z.shift();if(z&&z.length>0){M.resume(z[0]+"---renderControl");}else if(e.getParent()&&e.getParent().getMetadata().getName()=="sap.ui.core.UIArea"){M.resume(e.getParent().getId()+"---rerender");}return this;};this.getHTML=function(e){c(e&&B.isA(e,'sap.ui.core.Control'),"oControl must be an sap.ui.core.Control");var i=v;var j=v=this.aBuffer=[];this.renderControl(e);v=this.aBuffer=i;return j.join("");};function $(b1){var i,c1=x.length;for(i=0;i<c1;i++){x[i]._sapui_bInAfterRenderingPhase=true;}E=true;try{for(i=0;i<c1;i++){var d1=x[i];if(d1.bOutput&&d1.bOutput!=="invisible"){var e1=q.Event("AfterRendering");e1.srcControl=d1;M.start(d1.getId()+"---AfterRendering","AfterRendering of "+d1.getMetadata().getName(),["rendering","after"]);d1._handleEvent(e1);M.end(d1.getId()+"---AfterRendering");}}}finally{for(i=0;i<c1;i++){delete x[i]._sapui_bInAfterRenderingPhase;}E=false;}try{F.restoreFocus(b1);}catch(e){d.warning("Problems while restoring the focus after rendering: "+e,null);}for(i=0;i<c1;i++){var d1=x[i],f1=d1.aBindParameters;if(f1&&f1.length>0){var g1=q(d1.getDomRef());if(g1&&g1[0]){for(var j=0;j<f1.length;j++){var h1=f1[j];g1.bind(h1.sEventType,h1.fnProxy);}}}}}function _(e){var i;if(!G){i=F&&F.getControlFocusInfo();e(v.join(""));}else{i=F&&F.getPatchingControlFocusInfo();P.reset();}$(i);N();A.refresh();I.notifyStepEnd();}this.flush=function(e,j,b1){c((typeof e==="object")&&(e.ownerDocument==document),"oTargetDomNode must be a DOM element");if(!j&&(typeof b1!=="number")&&!b1){R.preserveContent(e);}_(function(c1){for(var i=0;i<x.length;i++){var d1=x[i].getDomRef();if(d1&&!R.isPreservedContent(d1)){if(R.isInlineTemplate(d1)){q(d1).empty();}else{q(d1).remove();}}}if(typeof b1==="number"){if(b1<=0){q(e).prepend(c1);}else{var e1=q(e).children().eq(b1-1);if(e1.length===1){e1.after(c1);}else{q(e).append(c1);}}}else if(!b1){q(e).html(c1);}else{q(e).append(c1);}});};this.render=function(e,i){c(e&&B.isA(e,'sap.ui.core.Control'),"oControl must be a control");c(typeof i==="object"&&i.ownerDocument==document,"oTargetDomNode must be a DOM element");if(E){d.error("Render must not be called within Before or After Rendering Phase. Call ignored.",null,this);return;}N();this.renderControl(e);_(function(j){if(e&&i){var b1=e.getDomRef();if(!b1||R.isPreservedContent(b1)){b1=document.getElementById(f.createInvisiblePlaceholderId(e))||document.getElementById(g.Dummy+e.getId());}var c1=b1&&b1.parentNode!=i;var d1=function(){var e1=q(i);if(i.innerHTML==""){e1.html(j);}else{e1.append(j);}};if(c1){if(!R.isPreservedContent(b1)){if(R.isInlineTemplate(b1)){q(b1).empty();}else{q(b1).remove();}}if(j){d1();}}else{if(j){if(b1){if(R.isInlineTemplate(b1)){q(b1).html(j);}else{q(b1).replaceWith(j);}}else{d1();}}else{if(R.isInlineTemplate(b1)){q(b1).empty();}else{if(!e.getParent()||!e.getParent()._onChildRerenderedEmpty||!e.getParent()._onChildRerenderedEmpty(e,b1)){q(b1).remove();}}}}}});};this.destroy=function(){N();};var a1={};C.forEach(function(e){J[e]=K[e]=a1[e]=this[e];},this);D.forEach(function(e){J[e]=a1[e]=this[e];},this);s.forEach(function(e){J[e]=a1[e]=this[e];},this);n.forEach(function(e){a1[e]=this[e];},this);this.getRendererInterface=function(){return J;};this.getInterface=function(){return a1;};N();}R.prototype.getConfiguration=function(){return sap.ui.getCore().getConfiguration();};R.prototype.translate=function(K){};R.prototype.writeAcceleratorKey=function(){return this;};R.prototype.writeControlData=function(e){c(e&&B.isA(e,'sap.ui.core.Control'),"oControl must be an sap.ui.core.Control");this.writeElementData(e);return this;};R.prototype.writeElementData=function(e){c(e&&B.isA(e,'sap.ui.core.Element'),"oElement must be an sap.ui.core.Element");this.attr("id",e.getId());y(this,e);return this;};R.prototype.writeAccessibilityState=function(e,j){if(!sap.ui.getCore().getConfiguration().getAccessibility()){return this;}if(arguments.length==1&&!(B.isA(e,'sap.ui.core.Element'))){j=e;e=null;}var z={};if(e!=null){var E=e.getMetadata();var F=function(i,v,V){var O=E.getProperty(i);if(O&&e[O._sGetter]()===V){z[v]="true";}};var G=function(v,O){var Q=E.getAssociation(v);if(Q&&Q.multiple){var S=e[Q._sGetter]();if(v=="ariaLabelledBy"){var T=L.getReferencingLabels(e);var U=T.length;if(U){var V=[];for(var i=0;i<U;i++){if(S.indexOf(T[i])<0){V.push(T[i]);}}S=V.concat(S);}}if(S.length>0){z[O]=S.join(" ");}}};F("editable","readonly",false);F("enabled","disabled",false);F("visible","hidden",false);if(L.isRequired(e)){z["required"]="true";}F("selected","selected",true);F("checked","checked",true);G("ariaDescribedBy","describedby");G("ariaLabelledBy","labelledby");}if(j){var H=function(v){var i=typeof(v);return v===null||v===""||i==="number"||i==="string"||i==="boolean";};var J={};var x,K,N;for(x in j){K=j[x];if(H(K)){J[x]=K;}else if(typeof(K)==="object"&&H(K.value)){N="";if(K.append&&(x==="describedby"||x==="labelledby")){N=z[x]?z[x]+" ":"";}J[x]=N+K.value;}}q.extend(z,J);}if(B.isA(e,'sap.ui.core.Element')&&e.getParent()&&e.getParent().enhanceAccessibilityState){e.getParent().enhanceAccessibilityState(e,z);}for(var p in z){if(z[p]!=null&&z[p]!==""){this.attr(p==="role"?p:"aria-"+p,z[p]);}}return this;};R.prototype.writeIcon=function(U,e,i){var j=sap.ui.requireSync("sap/ui/core/IconPool"),p=j.isIconURI(U),v=false,x,z,E,F,G;if(typeof e==="string"){e=[e];}if(p){z=j.getIconInfo(U);if(!z){d.error("An unregistered icon: "+U+" is used in sap.ui.core.RenderManager's writeIcon method.");return this;}if(!e){e=[];}e.push("sapUiIcon");if(!z.suppressMirroring){e.push("sapUiIconMirrorInRTL");}}if(p){this.openStart("span");}else{this.voidStart("img");}if(Array.isArray(e)){e.forEach(function(H){this.class(H);},this);}if(p){E={"data-sap-ui-icon-content":z.content,"role":"presentation","title":z.text||null};this.style("font-family","'"+b(z.fontFamily)+"'");}else{E={role:"presentation",alt:"",src:U};}i=q.extend(E,i);if(!i.id){i.id=u();}if(p){F=i.alt||i.title||z.text||z.name;G=i.id+"-label";if(i["aria-labelledby"]){v=true;i["aria-labelledby"]+=(" "+G);}else if(!i.hasOwnProperty("aria-label")){i["aria-label"]=F;}}if(typeof i==="object"){for(x in i){if(i.hasOwnProperty(x)&&i[x]!==null){this.attr(x,i[x]);}}}if(p){this.openEnd();if(v){this.openStart("span");this.style("display","none");this.attr("id",G);this.openEnd("span");this.text(F);this.close("span");}this.close("span");}else{this.voidEnd();}return this;};R.prototype.getRenderer=function(e){c(e&&B.isA(e,'sap.ui.core.Control'),"oControl must be an sap.ui.core.Control");return R.getRenderer(e);};var g=R.RenderPrefixes={Invisible:f.PlaceholderPrefix,Dummy:"sap-ui-dummy-",Temporary:"sap-ui-tmp-"};R.getRenderer=function(e){c(e&&B.isA(e,'sap.ui.core.Control'),"oControl must be an sap.ui.core.Control");return e.getMetadata().getRenderer();};R.forceRepaint=function(v){var e=v?window.document.getElementById(v):null;var i=typeof v=="string"?e:v;if(i){d.debug("forcing a repaint for "+(i.id||String(i)));var O=i.style.display;var j=document.activeElement;i.style.display="none";i.offsetHeight;i.style.display=O;if(document.activeElement!==j&&j){j.focus();}}};R.createInvisiblePlaceholderId=function(e){return f.createInvisiblePlaceholderId(e);};var h="sap-ui-preserve",k="sap-ui-static",l="data-sap-ui-preserve",m="data-sap-ui-area";function o(){var $=q(document.getElementById(h));if($.length===0){$=q("<DIV/>",{"aria-hidden":"true",id:h}).addClass("sapUiHidden").addClass("sapUiForcedHidden").css("width","0").css("height","0").css("overflow","hidden").appendTo(document.body);}return $;}function r(e){q("<DIV/>",{id:g.Dummy+e.id}).addClass("sapUiHidden").insertBefore(e);}var t=[];R.attachPreserveContent=function(e,i){R.detachPreserveContent(e);t.push({fn:e,context:i});};R.detachPreserveContent=function(e){t=t.filter(function(i){return i.fn!==e;});};R.preserveContent=function(e,p,j){c(typeof e==="object"&&e.ownerDocument==document,"oRootNode must be a DOM element");t.forEach(function(i){i.fn.call(i.context||R,{domNode:e});});var $=o();function v(i){while(i&&i!=e&&i.parentNode){i=i.parentNode;if(i.hasAttribute(l)){return true;}if(i.hasAttribute("data-sap-ui")){break;}}}function x(i){if(i.id===h||i.id===k){return;}if(i.hasAttribute(l)){if(i===e||v(i)){r(i);}$.append(i);}else if(j&&i.id){R.markPreservableContent(q(i),i.id);$.append(i);return;}if(!i.hasAttribute(m)){var z=i.firstChild;while(z){i=z;z=z.nextSibling;if(i.nodeType===1){x(i);}}}}M.start(e.id+"---preserveContent","preserveContent for "+e.id,["rendering","preserve"]);if(p){x(e);}else{q(e).children().each(function(i,N){x(N);});}M.end(e.id+"---preserveContent");};R.findPreservedContent=function(i){c(typeof i==="string","sId must be a string");var $=o(),e=$.children("["+l+"='"+i.replace(/(:|\.)/g,'\\$1')+"']");return e;};R.markPreservableContent=function($,i){$.attr(l,i);};R.isPreservedContent=function(e){return(e&&e.getAttribute(l)&&e.parentNode&&e.parentNode.id==h);};R.getPreserveAreaRef=function(){return o()[0];};var w="data-sap-ui-template";R.markInlineTemplate=function($){$.attr(w,"");};R.isInlineTemplate=function(e){return(e&&e.hasAttribute(w));};R.getApiVersion=function(e){if(e.hasOwnProperty("apiVersion")){return e.apiVersion;}return 1;};function y(e,E){var i=E.getId();e.attr("data-sap-ui",i);E.getCustomData().forEach(function(v){var x=v._checkWriteToDom(E);if(x){e.attr(x.key.toLowerCase(),x.value);}});var j=E.getDragDropConfig().some(function(v){return v.isDraggable(E);});if(!j){var p=E.getParent();if(p&&p.getDragDropConfig){j=p.getDragDropConfig().some(function(v){return v.isDraggable(E);});}}if(j){e.attr("draggable","true");e.attr("data-sap-ui-draggable","true");}return this;}return R;},true);
sap.ui.predefine('sap/ui/core/Renderer',["sap/base/util/isPlainObject","sap/base/util/ObjectPath","sap/base/assert","sap/ui/thirdparty/jquery"],function(i,O,a,q){"use strict";var R={};var s;function c(n,r){a(this!=null,'BaseRenderer must be a non-null object');a(typeof n==='string'&&n,'Renderer.extend must be called with a non-empty name for the new renderer');a(r==null||(i(r)&&Object.keys(r).every(function(k){return r[k]!==undefined;})),'oRendererInfo can be omitted or must be a plain object without any undefined property values');var C=Object.create(this);C.extend=c;q.extend(C,r);O.set(n,C);return C;}R.extend=function(n,r){if(typeof n==='string'){return c.call(this,n,r);}else if(this===R){var C=Object.create(n||null);C._super=n;C.extend=c;return C;}else{throw new TypeError("The signature extend(BaseRenderer) without a name can only be called on sap.ui.core.Renderer");}};R.getTextAlign=function(t,T){if(!s){s=sap.ui.requireSync("sap/ui/core/library");}var b=s.TextAlign;var d=s.TextDirection;var e="",r=sap.ui.getCore().getConfiguration().getRTL();switch(t){case b.End:switch(T){case d.LTR:e="right";break;case d.RTL:e="left";break;default:e=r?"left":"right";break;}break;case b.Begin:switch(T){case d.LTR:e="left";break;case d.RTL:e="right";break;default:e=r?"right":"left";break;}break;case b.Right:if(!r||T==d.LTR){e="right";}break;case b.Center:e="center";break;case b.Left:if(r||T==d.RTL){e="left";}break;}return e;};return R;},true);
sap.ui.predefine('sap/ui/core/ResizeHandler',['sap/ui/base/Object',"sap/base/Log","sap/ui/util/ActivityDetection","sap/ui/core/IntervalTrigger","sap/ui/thirdparty/jquery"],function(B,L,A,I,q){"use strict";var l=L.getLogger("sap.ui.core.ResizeHandler",L.Level.ERROR);var c=null;var R=B.extend("sap.ui.core.ResizeHandler",{constructor:function(C){B.apply(this);c=C;this.aResizeListeners=[];this.aSuspendedDomRefs=[];this.bRegistered=false;this.iIdCounter=0;window.addEventListener("unload",function(){});A.attachActivate(b,this);}});function a(){if(this.bRegistered){this.bRegistered=false;I.removeListener(this.checkSizes,this);}}function b(){if(!this.bRegistered&&this.aResizeListeners.length>0){this.bRegistered=true;I.addListener(this.checkSizes,this);}}R.prototype.attachListener=function(r,h){var i=B.isA(r,'sap.ui.core.Control'),d=i?r.getDomRef():r,w=d?d.offsetWidth:0,H=d?d.offsetHeight:0,s="rs-"+Date.now()+"-"+this.iIdCounter++,e;if(i){e=("Control "+r.getId());}else if(r.id){e=r.id;}else{e=String(r);}this.aResizeListeners.push({sId:s,oDomRef:i?null:r,oControl:i?r:null,fHandler:h,iWidth:w,iHeight:H,dbg:e});l.debug("registered "+e);b.call(this);return s;};R.prototype.detachListener=function(s){var r=this.aResizeListeners;for(var i=0;i<r.length;i++){if(r[i].sId===s){r.splice(i,1);l.debug("deregistered "+s);break;}}if(r.length===0){a.call(this);}};R.prototype.checkSizes=function(){var d=l.isLoggable();if(d){l.debug("checkSizes:");}this.aResizeListeners.forEach(function(r){if(r){var C=!!r.oControl,D=C?r.oControl.getDomRef():r.oDomRef;if(D&&q.contains(document.documentElement,D)&&!this._isSuspended(D)){var o=r.iWidth,O=r.iHeight,n=D.offsetWidth,N=D.offsetHeight;if(o!=n||O!=N){r.iWidth=n;r.iHeight=N;var e=q.Event("resize");e.target=D;e.currentTarget=D;e.size={width:n,height:N};e.oldSize={width:o,height:O};e.control=C?r.oControl:null;if(d){l.debug("resize detected for '"+r.dbg+"': "+e.oldSize.width+"x"+e.oldSize.height+" -> "+e.size.width+"x"+e.size.height);}r.fHandler(e);}}}},this);if(R._keepActive!=true&&R._keepActive!=false){R._keepActive=false;}if(!A.isActive()&&!R._keepActive){a.call(this);}};R.register=function(r,h){if(!c||!c.oResizeHandler){return null;}return c.oResizeHandler.attachListener(r,h);};R.deregister=function(i){if(!c||!c.oResizeHandler){return;}c.oResizeHandler.detachListener(i);};R.deregisterAllForControl=function(C){if(!c||!c.oResizeHandler){return;}c.oResizeHandler.aResizeListeners.filter(function(r){return r&&r.oControl&&r.oControl.getId()===C;}).forEach(function(r){R.deregister(r.sId);});};R.suspend=function(d){if(!c||!c.oResizeHandler){return false;}if(!d||!q.contains(document.documentElement,d)){return false;}var r=c.oResizeHandler;if(r.aSuspendedDomRefs.indexOf(d)===-1){r.aSuspendedDomRefs.push(d);}return true;};R.resume=function(d){if(!c||!c.oResizeHandler){return false;}var r=c.oResizeHandler,i=r.aSuspendedDomRefs.indexOf(d);if(i===-1){return false;}r.aSuspendedDomRefs.splice(i,1);r.checkSizes();return true;};R.prototype._isSuspended=function(d){var s=this.aSuspendedDomRefs,n;for(var i=0;i<s.length;i++){n=s[i];if(n===d||q.contains(n,d)){return true;}}return false;};return R;});
sap.ui.predefine('sap/ui/core/SeparatorItem',['./Item','./library'],function(I,l){"use strict";var S=I.extend("sap.ui.core.SeparatorItem",{metadata:{library:"sap.ui.core"}});return S;});
sap.ui.predefine('sap/ui/core/Shortcut',["sap/ui/core/util/ShortcutHelper",'sap/base/assert','sap/ui/dom/jquery/control'],function(S,a,q){"use strict";var b={register:function(s,v,c){if(!s){throw new Error("Shortcut.register: oScopeControl must be given.");}if(typeof c!=="function"){throw new Error("Shortcut.register: a function fnCallback must be given.");}var n=S.getNormalizedShortcutSpec(v);S.validateKeyCombination(n);var e=S.findShortcut(s,n);if(e){throw new Error("Same shortcut is already registered on this element");}function w(){var f=document.activeElement,o=document.createElement("span"),g=sap.ui.getCore().getStaticAreaRef();o.setAttribute("tabindex",0);o.setAttribute("id","sap-ui-shortcut-focus");o.style.position="absolute";o.style.top="50%";o.style.bottom="50%";o.style.left="50%";o.style.right="50%";g.appendChild(o);o.focus();f.focus();g.removeChild(o);c.apply(null,arguments);}var d={};d["onkeydown"]=S.handleKeydown.bind(null,n,v,w);s.addEventDelegate(d);var D=s.data("sap.ui.core.Shortcut");if(!D){D=[];s.data("sap.ui.core.Shortcut",D);}D.push({shortcutSpec:n,platformIndependentShortcutString:S.getNormalizedShortcutString(n),delegate:d});},isRegistered:function(s,v){a(s,"Shortcut.isRegistered: oScopeControl must be given.");var n=S.getNormalizedShortcutSpec(v);return!!S.findShortcut(s,n);},unregister:function(s,v){a(s,"Shortcut.unregister: oScopeControl must be given.");var n=S.getNormalizedShortcutSpec(v);var o=S.findShortcut(s,n);if(o){s.removeEventDelegate(o.delegate);var d=s.data("sap.ui.core.Shortcut");var i=d.indexOf(o);d.splice(i,1);return true;}return false;}};return b;});
sap.ui.predefine('sap/ui/core/StashedControlSupport',['sap/ui/core/Element',"sap/base/Log","sap/base/assert"],function(E,L,a){"use strict";var S={},s={},b=E.extend("sap.ui.core._StashedControl",{constructor:function(i,c){E.apply(this,arguments);c.stashed=true;Object.assign(this,c);this._stash(c.sParentId,c.sParentAggregationName);return this;},metadata:{specialSettings:{stashed:{type:'boolean',visibility:'hidden'},sParentId:{type:'string',visibility:'hidden'},sParentAggregationName:{type:'string',visibility:'hidden'},fnCreate:{type:'function',visibility:'hidden'}}}});b.prototype.setParent=function(){L.error("Cannot set parent on a StashedControl",this.getId());};b.prototype.clone=function(){L.error("Cannot clone a StashedControl",this.getId());};b.prototype.destroy=function(){delete s[this.getId()];E.prototype.destroy.apply(this,arguments);};m(b,true);S.mixInto=function(c,d){a(!c.getMetadata().hasProperty("stashed"),"StashedControlSupport: fnClass already has property 'stashed', sideeffects possible",c.getMetadata().getName());a(!c.prototype.setStashed,"StashedControlSupport: fnClass already has method 'setStashed', sideeffects possible",c.getMetadata().getName());m(c,d);};function m(c,d){c.getMetadata().addSpecialSetting("stashed",{type:"boolean",defaultValue:!!d});c.prototype.setStashed=function(e){if(this.stashed===true&&!e){if(this.sParentId){var C=u(this,sap.ui.getCore().byId(this.sParentId));C.stashed=false;return;}}else if(e){L.warning("Cannot re-stash a control",this.getId());}};c.prototype.getStashed=function(){return this.stashed;};var D=c.prototype.destroy;c.prototype.destroy=function(){delete s[this.getId()];D.apply(this,arguments);};c.prototype._stash=function(p,P){this.sParentId=p;this.sParentAggregationName=P;s[this.getId()]=this;};}function u(C,p){if(C instanceof b){var d,e,o,f=C.fnCreate,P=C.sParentAggregationName;C.destroy();e=sap.ui.require("sap/ui/core/Component");o=e&&e.getOwnerComponentFor(p);if(o){d=o.runAsOwner(f);}else{d=f();}d.forEach(function(c){p.getMetadata().getAggregation(P).add(p,c);});}delete s[C.getId()];return C;}function g(A,p){var c=[];for(var i in s){var I=A?s[i]:s[i].getId();if(!p||s[i].sParentId===p){c.push(I);}}return c;}S.getStashedControlIds=function(p){return g(false,p);};S.getStashedControls=function(p){return g(true,p);};S.createStashedControl=function(i,c){if(!c.sParentId){L.error("Cannot create a StashedControl without a parent with stable ID.","sap.ui.core.StashedControlSupport");}else{return new b(i,c);}};return S;});
sap.ui.predefine('sap/ui/core/ThemeCheck',['sap/ui/Device','sap/ui/base/Object',"sap/base/Log","sap/ui/dom/includeStylesheet","sap/ui/thirdparty/jquery"],function(D,B,L,a,q){"use strict";var m=150;var T=B.extend("sap.ui.core.ThemeCheck",{constructor:function(C){this._oCore=C;this._iCount=0;this._CUSTOMCSSCHECK=/\.sapUiThemeDesignerCustomCss/i;this._CUSTOMID="sap-ui-core-customcss";this._customCSSAdded=false;this._themeCheckedForCustom=null;this._sFallbackTheme=null;this._mThemeFallback={};this._oThemeMetaDataCheckElement=null;},getInterface:function(){return this;},fireThemeChangedEvent:function(o){c(this);f.apply(this,[true]);if(!o&&!this._sThemeCheckId){this._oCore.fireThemeChanged({theme:this._oCore.getConfiguration().getTheme()});}}});T.themeLoaded=false;function s(i){try{return i.cssRules;}catch(e){return null;}}function h(e){var C=s(e);return!!C&&C.length>0;}T.checkStyle=function(i,l){var S=document.getElementById(i);try{var n=false,j=false,k=false,I=false;n=!S;j=!!(S&&(S.getAttribute("data-sap-ui-ready")==="true"||S.getAttribute("data-sap-ui-ready")==="false"));k=!!(S&&S.sheet&&S.sheet.href===S.href&&h(S.sheet));I=!!(S&&S.innerHTML&&S.innerHTML.length>0);var r=n||k||I||j;if(l){L.debug("ThemeCheck: "+i+": "+r+" (noLinkElement: "+n+", sheet: "+k+", innerHtml: "+I+", linkElementFinishedLoading: "+j+")");}return r;}catch(e){if(l){L.error("ThemeCheck: "+i+": Error during check styles '"+i+"'",e);}}return false;};function c(t){T.themeLoaded=false;if(t._sThemeCheckId){clearTimeout(t._sThemeCheckId);t._sThemeCheckId=null;t._iCount=0;t._sFallbackTheme=null;t._mThemeFallback={};if(t._oThemeMetaDataCheckElement&&t._oThemeMetaDataCheckElement.parentNode){t._oThemeMetaDataCheckElement.parentNode.removeChild(t._oThemeMetaDataCheckElement);t._oThemeMetaDataCheckElement=null;}}}function b(t){var e=t._oCore.getLoadedLibraries();var j=t._oCore.getConfiguration().getTheme();var p=t._oCore._getThemePath("sap.ui.core",j)+"custom.css";var I=j.indexOf("sap_")===0||j==="base";var r=true;var F=[];if(!!t._customCSSAdded&&t._themeCheckedForCustom===j){e[t._CUSTOMID]={};}function k(n){var S="sap-ui-theme-"+n;var o=T.checkStyle(S,true);if(o){var O=document.querySelectorAll("link[data-sap-ui-foucmarker='"+S+"']");if(O.length>0){for(var i=0,l=O.length;i<l;i++){O[i].parentNode.removeChild(O[i]);}L.debug("ThemeCheck: Old stylesheets removed for library: "+n);}}r=r&&o;if(r){if(t._themeCheckedForCustom!=j){if(!I&&d(t,n)){var C=p;var u=t._oCore._getLibraryCssQueryParams(e["sap.ui.core"]);if(u){C+=u;}a(C,t._CUSTOMID);t._customCSSAdded=true;L.debug("ThemeCheck: delivered custom CSS needs to be loaded, Theme not yet applied");t._themeCheckedForCustom=j;r=false;return false;}else{var v=q("LINK[id='"+t._CUSTOMID+"']");if(v.length>0){v.remove();L.debug("ThemeCheck: Custom CSS removed");}t._customCSSAdded=false;}}}if(!I&&o&&!t._mThemeFallback[n]){var w=document.getElementById(S);if(w&&w.getAttribute("data-sap-ui-ready")==="false"&&!(w.sheet&&h(w.sheet))){F.push(n);}}}q.each(e,k);if(F.length>0){if(!t._sFallbackTheme){if(!t._oThemeMetaDataCheckElement){t._oThemeMetaDataCheckElement=document.createElement("style");q.each(e,function(l){var C="sapThemeMetaData-UI5-"+l.replace(/\./g,"-");t._oThemeMetaDataCheckElement.classList.add(C);});document.head.appendChild(t._oThemeMetaDataCheckElement);}t._sFallbackTheme=g(t._oThemeMetaDataCheckElement);}if(t._sFallbackTheme){F.forEach(function(l){var S="sap-ui-theme-"+l;var o=document.getElementById(S);L.warning("ThemeCheck: Custom theme '"+j+"' could not be loaded for library '"+l+"'. "+"Falling back to its base theme '"+t._sFallbackTheme+"'.");t._oCore._updateThemeUrl(o,t._sFallbackTheme);t._mThemeFallback[l]=true;});r=false;}}if(!r){L.debug("ThemeCheck: Theme not yet applied.");}else{t._themeCheckedForCustom=j;}return r;}function g(t){function e(){var i=window.getComputedStyle(t).getPropertyValue("background-image");var j=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)/i.exec(i);if(!j||j.length<2){return null;}var M=j[1];if(M.charAt(0)!=="{"&&M.charAt(M.length-1)!=="}"){try{M=decodeURI(M);}catch(k){}}M=M.replace(/\\"/g,'"');M=M.replace(/%20/g," ");try{return JSON.parse(M);}catch(k){return null;}}var o=e();if(o&&o.Extends&&o.Extends[0]){return o.Extends[0];}else{return null;}}function d(t,l){var j=window.document.getElementById("sap-ui-theme-"+l);if(!j){return false;}var k=window.getComputedStyle(j,':after');var n=k?k.getPropertyValue('content'):null;if(!n&&D.browser.safari){var o=document.documentElement;o.classList.add("sapUiThemeDesignerCustomCss");n=window.getComputedStyle(o,":after").getPropertyValue("content");o.classList.remove("sapUiThemeDesignerCustomCss");}if(n&&n!=="none"){try{if(n[0]==="'"||n[0]==='"'){n=n.substring(1,n.length-1);}return n==="true";}catch(e){L.error("Custom check: Error parsing JSON string for custom.css indication.",e);}}var r=j.sheet?s(j.sheet):null;if(!r||r.length===0){L.warning("Custom check: Failed retrieving a CSS rule from stylesheet "+l);return false;}for(var i=0;(i<2&&i<r.length);i++){if(t._CUSTOMCSSCHECK.test(r[i].selectorText)){return true;}}return false;}function f(F){this._iCount++;var e=this._iCount>m;if(!b(this)&&!e){var i;if(this._iCount<=100){i=2;}else if(this._iCount<=110){i=500;}else{i=1000;}this._sThemeCheckId=setTimeout(f.bind(this),i);}else if(!F){c(this);T.themeLoaded=true;this._oCore.fireThemeChanged({theme:this._oCore.getConfiguration().getTheme()});if(e){L.error("ThemeCheck: max. check cycles reached.");}}else{T.themeLoaded=true;}}return T;});
sap.ui.predefine('sap/ui/core/UIArea',['sap/ui/base/ManagedObject','./Element','./RenderManager','sap/ui/performance/trace/Interaction',"sap/ui/dom/containsOrEquals","sap/ui/util/ActivityDetection","sap/ui/events/KeyCodes","sap/base/Log","sap/base/assert","sap/ui/performance/Measurement",'sap/ui/events/jquery/EventExtension',"sap/ui/events/ControlEvents","sap/ui/events/F6Navigation","sap/ui/thirdparty/jquery","sap/ui/dom/jquery/control"],function(M,E,R,I,c,A,K,L,a,b,d,C,F,q){"use strict";d.apply();q(document).on("keydown",function(e){F.handleF6GroupNavigation(e,null);});var r=L.getLogger("sap.ui.Rendering",((window["sap-ui-config"]&&(window["sap-ui-config"]["xx-debugRendering"]||window["sap-ui-config"]["xx-debugrendering"]))||/sap-ui-xx-debug(R|-r)endering=(true|x|X)/.test(document.location.search))?L.Level.DEBUG:Math.min(L.Level.INFO,L.getLevel())),D=function(o){return o;},f=function(){},g=function(){};if(r.isLoggable()){D=function(o){var l;try{throw new Error();}catch(e){l=e.stack||e.stacktrace||(e.sourceURL?e.sourceURL+":"+e.line:null);l=l?l.split(/\n\s*/g).slice(2):undefined;}return{obj:o,location:l};};f=function(t,m){var o=sap.ui.getCore(),e={},n,i;for(n in m){i=o.byId(n);e[n]={type:i?i.getMetadata().getName():(m[n].obj===t?"UIArea":"(no such control)"),location:m[n].location,reason:m[n].reason};}r.debug("  UIArea '"+t.getId()+"', pending updates: "+JSON.stringify(e,null,"\t"));};g=function(B,m){var n;for(n in m){if(B[n]!=null){if(B[n].obj!==m[n].obj){m[n].reason="replaced during rendering";}else{m[n].reason="invalidated again during rendering";}}else{m[n].reason="invalidated during rendering";}}};}var U=M.extend("sap.ui.core.UIArea",{constructor:function(o,e){if(arguments.length===0){return;}M.apply(this);this.oCore=o;this.bLocked=false;this.bInitial=true;this.aContentToRemove=[];this.bNeedsRerendering=false;if(e!=null){this.setRootNode(e);this.bNeedsRerendering=this.bNeedsRerendering&&!((e.id+"-Init"?window.document.getElementById(e.id+"-Init"):null));}this.mInvalidatedControls={};if(!this.bNeedsRerendering){this.bRenderSelf=false;}else{this.oCore.addInvalidatedUIArea(this);}},metadata:{publicMethods:["setRootNode","getRootNode","setRootControl","getRootControl","lock","unlock","isLocked"],aggregations:{content:{name:"content",type:"sap.ui.core.Control",multiple:true,singularName:"content"},dependents:{name:"dependents",type:"sap.ui.core.Control",multiple:true}}},insertDependent:function(e,i){return this.insertAggregation("dependents",e,i,true);},addDependent:function(e){return this.addAggregation("dependents",e,true);},removeDependent:function(e){return this.removeAggregation("dependents",e,true);},removeAllDependents:function(){return this.removeAllAggregation("dependents",true);},destroyDependents:function(){return this.destroyAggregation("dependents",true);}});U.prototype.isInvalidateSuppressed=function(){return this.iSuppressInvalidate>0;};U.prototype.getId=function(){return this.oRootNode?this.oRootNode.id:null;};U.prototype.getUIArea=function(){return this;};U.prototype.setRootNode=function(o){if(this.oRootNode===o){return;}a(!o||(o.nodeType===1&&!q(o).attr("data-sap-ui-area")),"UIArea root node must be a DOMElement");if(this.oRootNode){this._ondetach();}this.oRootNode=o;if(this.getContent().length>0){this.invalidate();}if(this.oRootNode){this._onattach();}};U.prototype.getRootNode=function(){return this.oRootNode;};U.prototype.setRootControl=function(o){this.removeAllContent();this.addContent(o);};U.prototype.getRootControl=function(i){var e=this.getContent();if(e.length>0){if(i>=0&&i<e.length){return e[i];}return e[0];}return null;};U.prototype._addRemovedContent=function(o){if(this.oRootNode&&o){this.aContentToRemove.push(o);}};U.prototype.addContent=function(o,_){this.addAggregation("content",o,_);if(_!==true){this.invalidate();}return this;};U.prototype.removeContent=function(e,_){var o=this.removeAggregation("content",e,_);if(!_){var i;if(o&&o.getDomRef){i=o.getDomRef();}this._addRemovedContent(i);}return o;};U.prototype.removeAllContent=function(){var e=this.removeAllAggregation("content");for(var i=0;i<e.length;i++){var o;var j=e[i];if(j&&j.getDomRef){o=j.getDomRef();}this._addRemovedContent(o);}return e;};U.prototype.destroyContent=function(){var e=this.getContent();for(var i=0;i<e.length;i++){var o;var j=e[i];if(j&&j.getDomRef){o=j.getDomRef();}this._addRemovedContent(o);}this.destroyAggregation("content");return this;};U.prototype.lock=function(){this.bLocked=true;};U.prototype.unlock=function(){if(this.bLocked&&this.bNeedsRerendering){this.oCore.addInvalidatedUIArea(this);}this.bLocked=false;};U.prototype.isLocked=function(){return this.bLocked;};U.prototype.getBindingContext=function(){return null;};U.prototype.getEventingParent=function(){return this.oCore._getEventProvider();};U.prototype.isActive=function(){return((this.getId()?window.document.getElementById(this.getId()):null))!=null;};U.prototype.invalidate=function(){this.addInvalidatedControl(this);};U.prototype.addInvalidatedControl=function(o){if(this.bRenderSelf){return;}if(!this.bNeedsRerendering){this.oCore.addInvalidatedUIArea(this);}var i=o.getId();if(o===this){this.bRenderSelf=true;this.bNeedsRerendering=true;this.mInvalidatedControls={};this.mInvalidatedControls[i]=D(this);return;}if(this.mInvalidatedControls[i]){return;}if(!this.bRenderSelf){this.mInvalidatedControls[i]=D(o);this.bNeedsRerendering=true;}};U.prototype.rerender=function(j){var t=this;function k(){t.bRenderSelf=false;t.aContentToRemove=[];t.mInvalidatedControls={};t.bNeedsRerendering=false;}function l(){try{return document.activeElement;}catch(J){}}if(j){this.bNeedsRerendering=true;}if(this.bLocked||!this.bNeedsRerendering){return false;}var m=this.bRenderSelf,o=this.aContentToRemove,s=this.mInvalidatedControls,u=false;k();b.pause("renderPendingUIUpdates");b.start(this.getId()+"---rerender","Rerendering of "+this.getMetadata().getName());f(this,s);if(m){if(this.oRootNode){r.debug("Full Rendering of UIArea '"+this.getId()+"'");R.preserveContent(this.oRootNode,false,this.bInitial);this.bInitial=false;var w=function(J,N){var z=J.length;var O;for(var i=0;i<z;i++){O=N?J[i].getDomRef():J[i];if(O&&!R.isPreservedContent(O)&&t.oRootNode===O.parentNode){q(O).remove();}}return z;};var x=l();var S=this.oCore.oFocusHandler.getControlFocusInfo();w(o);var y=this.getContent();var z=w(y,true);var B=l();for(var i=0;i<z;i++){if(y[i]&&y[i].getParent()===this){this.oCore.oRenderManager.render(y[i],this.oRootNode,true);}}u=true;if(x&&x!=B&&B===l()){try{this.oCore.oFocusHandler.restoreFocus(S);}catch(e){L.warning("Problems while restoring the focus after full UIArea rendering: "+e,null,this);}}}else{r.debug("Full Rendering of UIArea '"+this.getId()+"' postponed, no root node");}}else{var G=function(J){for(;;){if(J.getMetadata&&J.getMetadata().isInstanceOf("sap.ui.core.PopupInterface")){break;}J=J.getParent();if(!J||J===t){return false;}if(s.hasOwnProperty(J.getId())){return true;}}};for(var n in s){var H=this.oCore.byId(n);if(H&&!G(H)){H.rerender();u=true;}}}g(s,this.mInvalidatedControls);b.end(this.getId()+"---rerender");b.resume("renderPendingUIUpdates");return u;};U.prototype._onControlRendered=function(o){var i=o.getId();if(this.mInvalidatedControls[i]){delete this.mInvalidatedControls[i];}};U.rerenderControl=function(o){var e=null;if(o){e=o.getDomRef();if(!e||R.isPreservedContent(e)){e=(R.RenderPrefixes.Invisible+o.getId()?window.document.getElementById(R.RenderPrefixes.Invisible+o.getId()):null);}}var i=e&&e.parentNode;if(i){var u=o.getUIArea();var j=u?u.oCore.oRenderManager:sap.ui.getCore().createRenderManager();r.debug("Rerender Control '"+o.getId()+"'"+(u?"":" (using a temp. RenderManager)"));R.preserveContent(e,true,false);j.render(o,i);}else{var u=o.getUIArea();u&&u._onControlRendered(o);r.warning("Couldn't rerender '"+o.getId()+"', as its DOM location couldn't be determined");}};var h=/^(mousedown|mouseup|click|keydown|keyup|keypress|touchstart|touchend|tap)$/;var p=[],P=[];var v={mousemove:1,mouseover:1,mouseout:1,scroll:1,dragover:1,dragenter:1,dragleave:1};U.addEventPreprocessor=function(e){p.push(e);};U.getEventPreprocessors=function(){return p;};U.addEventPostprocessor=function(e){P.push(e);};U.getEventPostprocessors=function(){return P;};U.configureEventLogging=function(e){Object.assign(v,e);return Object.assign({},v);};U.prototype._handleEvent=function(e){var t,o,j;t=o=q(e.target).control(0);A.refresh();if(t==null){return;}if(e.isMarked("delayedMouseEvent")){return;}var H=e.getMark("handledByUIArea"),s=this.getId();if(H&&H!==s){e.setMark("firstUIArea",false);return;}e.setMarked("firstUIArea");e.srcControl=t;if(e.type==="contextmenu"&&e.shiftKey&&e.altKey&&!!(e.metaKey||e.ctrlKey)){L.info("Suppressed forwarding the contextmenu event as control event because CTRL+SHIFT+ALT is pressed!");return;}p.forEach(function(u){u(e);});this.oCore._handleControlEvent(e,s);if(this.bLocked||this.oCore.isLocked()){return;}if(I.getActive()){j=e.type.match(h);if(j){I.notifyEventStart(e);}}var k=[];if(e.getPseudoTypes){k=e.getPseudoTypes();}k.push(e.type);var G=false;while(o instanceof E&&o.isActive()&&!e.isPropagationStopped()){for(var i=0,l=k.length;i<l;i++){var T=k[i];e.type=T;e.currentTarget=o.getDomRef();o._handleEvent(e);if(e.isImmediatePropagationStopped()){break;}}if(!G&&!e.isMarked("enterKeyConsumedAsContent")){G=this._handleGroupChange(e,o);}if(e.isPropagationStopped()){break;}if(o.bStopEventBubbling){break;}var m=o.getDomRef();if(!m){break;}m=m.parentNode;o=null;if(e.isMarked("fromMouseout")&&c(m,e.relatedTarget)){break;}while(m&&m!==this.getRootNode()){if(m.id){o=q(m).control(0);if(o){break;}}m=m.parentNode;}}P.forEach(function(u){u(e);});if(j){I.notifyEventEnd(e);}e.currentTarget=this.getRootNode();e.setMark("handledByUIArea",s);if(e.isPropagationStopped()){L.debug("'"+e.type+"' propagation has been stopped");}var n=e.type;if(!v[n]){if(t){L.debug("Event fired: '"+n+"' on "+t,"","sap.ui.core.UIArea");}else{L.debug("Event fired: '"+n+"'","","sap.ui.core.UIArea");}}};U.prototype._onattach=function(){var o=this.getRootNode();if(o==null){return;}q(o).attr("data-sap-ui-area",o.id).bind(C.events.join(" "),this._handleEvent.bind(this));};U.prototype._ondetach=function(){var o=this.getRootNode();if(o==null){return;}q(o).removeAttr("data-sap-ui-area").unbind();};U.prototype.clone=function(){throw new Error("UIArea can't be cloned");};U.prototype._handleGroupChange=function(e,o){var k=U._oFieldGroupValidationKey;if(e.type==="focusin"){if(U._iFieldGroupDelayTimer){clearTimeout(U._iFieldGroupDelayTimer);U._iFieldGroupDelayTimer=null;}U._iFieldGroupDelayTimer=setTimeout(this.setFieldGroupControl.bind(this,o),0);return true;}else if(this.getFieldGroupControl()&&e.type==="keyup"&&e.keyCode===k.keyCode&&e.shiftKey===k.shiftKey&&e.altKey===k.altKey&&e.ctrlKey===k.ctrlKey){if(U._iFieldGroupTriggerDelay){clearTimeout(U._iFieldGroupTriggerDelay);}var i=this.getFieldGroupControl(),j=(i?i._getFieldGroupIds():[]);if(j.length>0){i.triggerValidateFieldGroup(j);}return true;}return false;};U.prototype.setFieldGroupControl=function(e){var o=e;while(o&&!(o instanceof E&&o.isA("sap.ui.core.Control"))){o=o.getParent();}var i=this.getFieldGroupControl();if(o!=i){var j=(i?i._getFieldGroupIds():[]),n=(o?o._getFieldGroupIds():[]),t=j.filter(function(s){return n.indexOf(s)<0;});if(t.length>0){i.triggerValidateFieldGroup(t);}U._oFieldGroupControl=o;}return this;};U.prototype.getFieldGroupControl=function(){if(U._oFieldGroupControl&&!U._oFieldGroupControl.bIsDestroyed){return U._oFieldGroupControl;}return null;};U._oFieldGroupControl=null;U._iFieldGroupDelayTimer=null;U._oFieldGroupValidationKey={keyCode:K.ENTER,shiftKey:false,altKey:false,ctrlKey:false};U._oRenderLog=r;return U;});
sap.ui.predefine('sap/ui/core/UIComponent',['../base/ManagedObject','./Component','./library','./UIComponentMetadata','./mvc/Controller','./mvc/View',"sap/base/util/ObjectPath","sap/base/Log"],function(M,C,l,U,a,V,O,L){"use strict";var b=l.mvc.ViewType;var c=C.extend("sap.ui.core.UIComponent",{constructor:function(i,s){var d=false;try{if(typeof i!=="string"){s=i;i=undefined;}if(s&&s._routerHashChanger){this._oRouterHashChanger=s._routerHashChanger;delete s._routerHashChanger;}C.apply(this,arguments);d=true;}finally{if(!d){this._destroyCreatedInstances();}}},metadata:{"abstract":true,rootView:null,publicMethods:["render"],aggregations:{"rootControl":{type:"sap.ui.core.Control",multiple:false,visibility:"hidden"}},designtime:"sap/ui/core/designtime/UIComponent.designtime",routing:{}}},U);c._fnOnInstanceInitialized=null;c._fnOnInstanceDestroy=null;c.prototype.init=function(){var t=this;var p={};if(this.getAutoPrefixId()){p.id=function(i){return t.createId(i);};}var r=this._getManifestEntry("/sap.ui5/routing",true)||{},R=r.config||{},v=r.routes;if(v){var d=sap.ui.requireSync("sap/ui/core/routing/Router");var f=g(this._getRouterClassName()||d);this._oRouter=new f(v,R,this,r.targets,this._oRouterHashChanger);this._oTargets=this._oRouter.getTargets();this._oViews=this._oRouter.getViews();}else if(r.targets){var T=sap.ui.requireSync("sap/ui/core/routing/Targets");var e=sap.ui.requireSync("sap/ui/core/routing/Views");this._oViews=new e({component:this});var h=g(R.targetsClass||T);this._oTargets=new h({targets:r.targets,config:R,views:this._oViews});}this.runAsOwner(function(){M.runWithPreprocessors(function(){t.setAggregation("rootControl",t.createContent());},p);});var o=this.getRootControl();if(o instanceof V){if(R.targetParent===undefined){R.targetParent=o.getId();}if(this._oTargets){this._oTargets._setRootViewId(o.getId());}}if(typeof c._fnOnInstanceInitialized==="function"){c._fnOnInstanceInitialized(this);}};function g(r){var f;if(typeof r==="string"){f=O.get(r);if(!f){L.error("The specified class for router or targets '"+r+"' is undefined.",this);}}else{f=r;}return f;}c.prototype.destroy=function(){if(typeof c._fnOnInstanceDestroy==="function"){c._fnOnInstanceDestroy(this);}this._destroyCreatedInstances();C.prototype.destroy.apply(this,arguments);};c.prototype._destroyCreatedInstances=function(){if(this._oRouter){this._oRouter.destroy();delete this._oRouter;}else{if(this._oTargets){this._oTargets.destroy();this._oTargets=null;}if(this._oViews){this._oViews.destroy();this._oViews=null;}}};c.getRouterFor=function(o){var v=o;if(v instanceof a){v=v.getView();}if(v instanceof V){var d=C.getOwnerComponentFor(v);if(d){return d.getRouter();}else{return undefined;}}};c.prototype.getRouter=function(){return this._oRouter;};c.prototype.getTargets=function(){return this._oTargets;};c.prototype.getAutoPrefixId=function(){return!!this.getManifestObject().getEntry("/sap.ui5/autoPrefixId");};c.prototype.byId=function(i){return sap.ui.getCore().byId(this.createId(i));};c.prototype.createId=function(i){if(!this.isPrefixedId(i)){i=this.getId()+"---"+i;}return i;};c.prototype.getLocalId=function(i){var p=this.getId()+"---";return(i&&i.indexOf(p)===0)?i.slice(p.length):null;};c.prototype.isPrefixedId=function(i){return!!(i&&i.indexOf(this.getId()+"---")===0);};c.prototype.createContent=function(){var r=this._getManifestEntry("/sap.ui5/rootView",true);if(r&&typeof r==="string"){return V._legacyCreate({viewName:r,type:b.XML});}else if(r&&typeof r==="object"){if(r.id){r.id=this.createId(r.id);}if(r.async&&r.type===b.XML){r.processingMode="sequential";}return V._legacyCreate(r);}else if(r){throw new Error("Configuration option 'rootView' of component '"+this.getMetadata().getName()+"' is invalid! 'rootView' must be type of string or object!");}return null;};c.prototype.getRootControl=function(){return this.getAggregation("rootControl");};c.prototype.render=function(r){var o=this.getRootControl();if(o&&r){r.renderControl(o);}};c.prototype.getUIArea=function(){return(this.oContainer?this.oContainer.getUIArea():null);};c.prototype.getEventingParent=function(){return this.getUIArea();};c.prototype.setContainer=function(o){this.oContainer=o;if(o){this._applyContextualSettings(o._getContextualSettings());}else{this._oContextualSettings=M._defaultContextualSettings;if(!this._bIsBeingDestroyed){setTimeout(function(){if(!this.oContainer){this._propagateContextualSettings();}}.bind(this),0);}}return this;};c.prototype.onBeforeRendering=function(){};c.prototype.onAfterRendering=function(){};c.prototype._getRouterClassName=function(){var r=this._getManifestEntry("/sap.ui5/routing",true)||{},R=r.config||{};return R.routerClass;};return c;});
sap.ui.predefine('sap/ui/core/UIComponentMetadata',['./ComponentMetadata','./library'],function(C,l){"use strict";var V=l.mvc.ViewType;var U=function(c,o){C.apply(this,arguments);};U.prototype=Object.create(C.prototype);U.preprocessClassInfo=function(c){if(c&&typeof c.metadata==="string"){c.metadata={_src:c.metadata};}return c;};U.prototype.getRootView=function(d){return this.getManifestEntry("/sap.ui5/rootView",!d);};U.prototype.getRoutingConfig=function(d){return this.getManifestEntry("/sap.ui5/routing/config",!d);};U.prototype.getRoutes=function(d){return this.getManifestEntry("/sap.ui5/routing/routes",!d);};U.prototype._convertLegacyMetadata=function(s,m){C.prototype._convertLegacyMetadata.call(this,s,m);var u=m["sap.ui5"];var r=u["rootView"]||s["rootView"];if(r){u["rootView"]=r;}var R=u["routing"]||s["routing"];if(R){u["routing"]=R;}if(u["rootView"]&&typeof u["rootView"]==="string"){u["rootView"]={viewName:u["rootView"],type:V.XML};}};return U;},true);
sap.ui.predefine('sap/ui/core/ValueStateSupport',['./Element','./library',"sap/base/assert"],function(E,l,a){"use strict";var V=l.ValueState;var b={};var t=null;var e=function(){if(!t){t={};var r=sap.ui.getCore().getLibraryResourceBundle("sap.ui.core");t[V.Error]=r.getText("VALUE_STATE_ERROR");t[V.Warning]=r.getText("VALUE_STATE_WARNING");t[V.Success]=r.getText("VALUE_STATE_SUCCESS");t[V.Information]=r.getText("VALUE_STATE_INFORMATION");}};b.enrichTooltip=function(o,T){a(o instanceof E,"oElement must be an Element");if(!T&&o.getTooltip()){return undefined;}var s=b.getAdditionalText(o);if(s){return(T?T+" - ":"")+s;}return T;};b.getAdditionalText=function(v){var s=null;if(v&&v.getValueState){s=v.getValueState();}else if(V[v]){s=v;}if(s&&(s!=V.None)){e();return t[s];}return null;};b.formatValueState=function(s){switch(s){case 1:return V.Warning;case 2:return V.Success;case 3:return V.Error;case 4:return V.Information;default:return V.None;}};return b;},true);
sap.ui.predefine('sap/ui/core/XMLTemplateProcessor',['sap/ui/thirdparty/jquery','sap/ui/base/DataType','sap/ui/base/ManagedObject','sap/ui/core/CustomData','./mvc/View','./mvc/EventHandlerResolver','./ExtensionPoint','./StashedControlSupport','sap/ui/base/SyncPromise','sap/base/Log','sap/base/util/ObjectPath','sap/base/util/values','sap/base/assert','sap/base/security/encodeXML','sap/base/util/LoaderExtensions','sap/base/util/JSTokenizer','sap/base/util/isEmptyObject'],function(q,D,M,C,V,E,a,S,b,L,O,v,c,d,f,J,g){"use strict";function p(t,s,N,o,r){var B=M.bindingParser(s,o,true,false,false,false,r);if(B&&typeof B==="object"){return B;}var e=s=B||s;var T=D.getType(t);if(T){if(T instanceof D){e=T.parseValue(s,{context:o,locals:r});if(!T.isValid(e)){L.error("Value '"+s+"' is not valid for type '"+T.getName()+"'.");}}}else{throw new Error("Property "+N+" has unknown type "+t);}return typeof e==="string"?M.bindingParser.escape(e):e;}function l(x){return x.localName||x.baseName||x.nodeName;}function u(e){if(e.isRejected()){throw e.getResult();}return e.getResult();}function h(A,e){function s(j,o,r,t){var w,x,y=[];for(w=j.firstChild;w;w=w.nextSibling){x=e(j,o,r,w,false,t);if(x){y.push(u(x));}}return b.resolve(y);}function i(j,o,r,t){var w,x=Promise.resolve(),y=[t];for(w=j.firstChild;w;w=w.nextSibling){x=x.then(e.bind(null,j,o,r,w,false,t));y.push(x);}return Promise.all(y);}return A?i:s;}var X={};X.loadTemplate=function(t,e){var r=t.replace(/\./g,"/")+("."+(e||"view")+".xml");return f.loadResource(r).documentElement;};X.loadTemplatePromise=function(t,e){var r=t.replace(/\./g,"/")+("."+(e||"view")+".xml");return f.loadResource(r,{async:true}).then(function(R){return R.documentElement;});};X.parseViewAttributes=function(x,o,s){var A=o.getMetadata().getAllProperties();for(var i=0;i<x.attributes.length;i++){var e=x.attributes[i];if(e.name==='controllerName'){o._controllerName=e.value;}else if(e.name==='resourceBundleName'){o._resourceBundleName=e.value;}else if(e.name==='resourceBundleUrl'){o._resourceBundleUrl=e.value;}else if(e.name==='resourceBundleLocale'){o._resourceBundleLocale=e.value;}else if(e.name==='resourceBundleAlias'){o._resourceBundleAlias=e.value;}else if(e.name==='class'){o.addStyleClass(e.value);}else if(!s[e.name]&&A[e.name]){s[e.name]=p(A[e.name].type,e.value,e.name,o._oContainingView.oController);}}};X.enrichTemplateIds=function(x,o){X.enrichTemplateIdsPromise(x,o,false);return x;};X.enrichTemplateIdsPromise=function(x,o,A){return n(x,o,true,A).then(function(){return x;});};X.parseTemplate=function(x,o){return u(X.parseTemplatePromise(x,o,false));};X.parseTemplatePromise=function(x,o,A,P){return n(x,o,false,A,P);};function k(r){var e,i=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;if(!r||typeof r!=="object"){e="core:require in XMLView can't be parsed to a valid object";}else{Object.keys(r).some(function(K){if(!i.test(K)){e="core:require in XMLView contains invalid identifier: '"+K+"'";return true;}if(!r[K]||typeof r[K]!=="string"){e="core:require in XMLView contains invalide value '"+r[K]+"'under key '"+K+"'";return true;}});}return e;}function m(x,A){var s=x.getAttributeNS("sap.ui.core","require"),r,o,j;if(s){try{r=J.parseJS(s);}catch(e){L.error("Require attribute can't be parsed on Node: ",x.nodeName);throw e;}j=k(r);if(j){throw new Error(j+" on Node: "+x.nodeName);}if(!g(r)){o={};if(A){return new Promise(function(t,w){sap.ui.require(v(r),function(){var y=arguments;Object.keys(r).forEach(function(K,i){o[K]=y[i];});t(o);},w);});}else{Object.keys(r).forEach(function(K){o[K]=sap.ui.requireSync(r[K]);});return b.resolve(o);}}}}function n(x,o,r,A,P){var R=[],s=m(x,A)||b.resolve();A=A&&o._sProcessingMode==="sequential";L.debug("XML processing mode is "+(A?"sequential":"default"),"","XMLTemplateProcessor");var t=sap.ui.getCore().getConfiguration().getDesignMode();if(t){o._sapui_declarativeSourceInfo={xmlNode:x,xmlRootNode:o._oContainingView===o?x:o._oContainingView._sapui_declarativeSourceInfo.xmlRootNode};}var w=o.sViewName||o._sFragmentName;if(!w){var T=o;var y=0;while(++y<1000&&T&&T!==T._oContainingView){T=T._oContainingView;}w=T.sViewName;}if(o.isSubView()){H(x,true,false,s);}else{if(x.localName==="View"&&x.namespaceURI!=="sap.ui.core.mvc"){L.warning("XMLView root node must have the 'sap.ui.core.mvc' namespace, not '"+x.namespaceURI+"'"+(w?" (View name: "+w+")":""));}I(x,false,false,s);}var i=0;function z(){for(;i<R.length;i++){var e=R[i];if(e&&typeof e.then==='function'){return e.then(B).then(z);}}return R;}function B(e){var j=[i,1].concat(e);Array.prototype.splice.apply(R,j);}return s.then(z);function F(e){return e;}function G(e){return o._oContainingView.createId(e);}function H(x,e,j,Z){if(x.nodeType===1){var $=l(x);if(x.namespaceURI==="http://www.w3.org/1999/xhtml"||x.namespaceURI==="http://www.w3.org/2000/svg"){R.push("<"+$+" ");var _=false;for(var i=0;i<x.attributes.length;i++){var a1=x.attributes[i];var b1=a1.value;if(a1.name==="id"){_=true;b1=W(o,x);}R.push(a1.name+"=\""+d(b1)+"\" ");}if(e===true){R.push("data-sap-ui-preserve"+"=\""+o.getId()+"\" ");if(!_){R.push("id"+"=\""+o.getId()+"\" ");}}R.push(">");var c1=x;if(window.HTMLTemplateElement&&x instanceof HTMLTemplateElement&&x.content instanceof DocumentFragment){c1=x.content;}I(c1,false,false,Z);R.push("</"+$+">");}else if($==="FragmentDefinition"&&x.namespaceURI==="sap.ui.core"){I(x,false,true,Z);}else{s=s.then(function(){return Q(x,Z).then(function(f1){for(var i=0;i<f1.length;i++){var g1=f1[i];if(o.getMetadata().hasAggregation("content")){o.addAggregation("content",g1);}else if(o.getMetadata().hasAssociation(("content"))){o.addAssociation("content",g1);}}return f1;});});R.push(s);}}else if(x.nodeType===3&&!j){var d1=x.textContent||x.text,e1=l(x.parentNode);if(d1){if(e1!="style"){d1=d(d1);}R.push(d1);}}}function I(x,e,j,Z){var $=x.childNodes;for(var i=0;i<$.length;i++){H($[i],e,j,Z);}}function K(e,j){var Z;var $=sap.ui.getCore().getLoadedLibraries();q.each($,function(c1,d1){if(e===d1.namespace||e===d1.name){Z=d1.name+"."+((d1.tagNames&&d1.tagNames[j])||j);}});Z=Z||e+"."+j;function _(b1){if(!b1){L.error("Control '"+Z+"' did not return a class definition from sap.ui.define.","","XMLTemplateProcessor");b1=O.get(Z);}if(!b1){L.error("Can't find object class '"+Z+"' for XML-view","","XMLTemplateProcessor");}return b1;}var a1=Z.replace(/\./g,"/");var b1=sap.ui.require(a1);if(!b1){if(A){return new Promise(function(c1){sap.ui.require([a1],function(b1){b1=_(b1);c1(b1);});});}else{b1=sap.ui.requireSync(a1);b1=_(b1);}}return b1;}function N(e,j){if(e.namespaceURI==="http://www.w3.org/1999/xhtml"||e.namespaceURI==="http://www.w3.org/2000/svg"){var Z=e.attributes['id']?e.attributes['id'].textContent||e.attributes['id'].text:null;if(r){return X.enrichTemplateIdsPromise(e,o,A).then(function(){return[];});}else{var $=function(a1){var b1={id:Z?W(o,e,Z):undefined,xmlNode:e,containingView:o._oContainingView,processingMode:o._sProcessingMode};if(o.fnScopedRunWithOwner){return o.fnScopedRunWithOwner(function(){return new a1(b1);});}return new a1(b1);};if(A){return new Promise(function(a1,b1){sap.ui.require(["sap/ui/core/mvc/XMLView"],function(_){a1([$(_)]);});});}else{var _=sap.ui.requireSync("sap/ui/core/mvc/XMLView");return b.resolve([$(_)]);}}}else{return Q(e,j);}}function Q(e,j){if(l(e)==="ExtensionPoint"&&e.namespaceURI==="sap.ui.core"){if(r){return b.resolve([]);}else{var Z=o instanceof V?o._oContainingView:o;var $=a._factory.bind(null,Z,e.getAttribute("name"),function(){var a1=b.resolve();var b1=[];var c1=e.childNodes;for(var i=0;i<c1.length;i++){var d1=c1[i];if(d1.nodeType===1){a1=a1.then(N.bind(null,d1,j));b1.push(a1);}}return b.all(b1).then(function(e1){var f1=[];e1.forEach(function(g1){f1=f1.concat(g1);});return f1;});});return b.resolve(o.fnScopedRunWithOwner?o.fnScopedRunWithOwner($):$());}}else{var _=K(e.namespaceURI,l(e));if(_&&typeof _.then==='function'){return _.then(function(a1){return U(e,a1,j);});}else{return U(e,_,j);}}}function U(Z,$,_){var ns=Z.namespaceURI,b1={},c1="",d1=[],e1=null,f1=null;if(!$){return b.resolve([]);}var g1=$.getMetadata();var h1=g1.getAllSettings();var i1=m(Z,A);if(i1){_=b.all([_,i1]).then(function(e){return Object.assign({},e[0],e[1]);});}_=_.then(function(j){if(g(j)){j=null;}if(!r){for(var i=0;i<Z.attributes.length;i++){var a1=Z.attributes[i],n1=a1.name,o1=h1[n1],p1=a1.value;if(n1==="id"){b1[n1]=W(o,Z,p1);}else if(n1==="class"){c1+=p1;}else if(n1==="viewName"){b1[n1]=p1;}else if(n1==="fragmentName"){b1[n1]=p1;b1['containingView']=o._oContainingView;}else if((n1==="binding"&&!o1)||n1==='objectBindings'){var q1=M.bindingParser(p1,o._oContainingView.oController);if(q1){b1.objectBindings=b1.objectBindings||{};b1.objectBindings[q1.model||undefined]=q1;}}else if(n1==='metadataContexts'){var r1=null;try{r1=X._calculatedModelMapping(p1,o._oContainingView.oController,true);}catch(e){L.error(o+":"+e.message);}if(r1){b1.metadataContexts=r1;if(X._preprocessMetadataContexts){X._preprocessMetadataContexts($.getMetadata().getName(),b1,o._oContainingView.oController);}}}else if(n1.indexOf(":")>-1){if(a1.namespaceURI==="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"){var s1=l(a1);d1.push(new C({key:s1,value:p("any",p1,s1,o._oContainingView.oController)}));}else if(a1.namespaceURI==="http://schemas.sap.com/sapui5/extension/sap.ui.core.support.Support.info/1"){f1=p1;}else if(a1.namespaceURI&&a1.namespaceURI.indexOf("http://schemas.sap.com/sapui5/preprocessorextension/")===0){L.debug(o+": XMLView parser ignored preprocessor attribute '"+n1+"' (value: '"+p1+"')");}else if(n1.indexOf("xmlns:")!==0){if(!e1){e1={};}if(!e1.hasOwnProperty(a1.namespaceURI)){e1[a1.namespaceURI]={};}e1[a1.namespaceURI][l(a1)]=a1.nodeValue;L.debug(o+": XMLView parser encountered unknown attribute '"+n1+"' (value: '"+p1+"') with unknown namespace, stored as sap-ui-custom-settings of customData");}}else if(o1&&o1._iKind===0){b1[n1]=p(o1.type,p1,n1,o._oContainingView.oController,j);}else if(o1&&o1._iKind===1&&o1.altTypes){b1[n1]=p(o1.altTypes[0],p1,n1,o._oContainingView.oController,j);}else if(o1&&o1._iKind===2){var q1=M.bindingParser(p1,o._oContainingView.oController,false,false,false,false,j);if(q1){b1[n1]=q1;}else{L.error(o+": aggregations with cardinality 0..n only allow binding paths as attribute value (wrong value: "+n1+"='"+p1+"')");}}else if(o1&&o1._iKind===3){b1[n1]=G(p1);}else if(o1&&o1._iKind===4){b1[n1]=p1.split(/[\s,]+/g).filter(F).map(G);}else if(o1&&o1._iKind===5){var t1=[];E.parse(p1).forEach(function(u1){var v1=E.resolveEventHandler(u1,o._oContainingView.oController,j);if(v1){t1.push(v1);}else{L.warning(o+": event handler function \""+u1+"\" is not a function or does not exist in the controller.");}});if(t1.length){b1[n1]=t1;}}else if(o1&&o1._iKind===-1){if(V.prototype.isPrototypeOf($.prototype)&&n1=="async"){b1[n1]=p(o1.type,p1,n1,o._oContainingView.oController,j);}else{L.warning(o+": setting '"+n1+"' for class "+g1.getName()+" (value:'"+p1+"') is not supported");}}else{c(n1==='xmlns',o+": encountered unknown setting '"+n1+"' for class "+g1.getName()+" (value:'"+p1+"')");if(X._supportInfo){X._supportInfo({context:Z,env:{caller:"createRegularControls",error:true,info:"unknown setting '"+n1+"' for class "+g1.getName()}});}}}if(e1){d1.push(new C({key:"sap-ui-custom-settings",value:e1}));}if(d1.length>0){b1.customData=d1;}}return j;});var j1=h(A,k1);function k1(Z,l1,m1,e,a1,_){var n1,o1;if(e.nodeType===1){if(e.namespaceURI==="http://schemas.sap.com/sapui5/extension/sap.ui.core.xmlcomposite/1"){b1[l(e)]=e.querySelector("*");return;}n1=e.namespaceURI===ns&&m1&&m1[l(e)];if(n1){return j1(e,n1,false,_);}else if(l1){if(!a1&&e.getAttribute("stashed")==="true"&&!r){o1=function(){S.createStashedControl(W(o,e),{sParentId:b1["id"],sParentAggregationName:l1.name,fnCreate:function(){var j=A;A=false;try{return u(k1(Z,l1,m1,e,true,_));}finally{A=j;}}});};if(o.fnScopedRunWithOwner){o.fnScopedRunWithOwner(o1);}else{o1();}return;}return N(e,_).then(function(p1){for(var j=0;j<p1.length;j++){var q1=p1[j];var r1=l1.name;if(l1.multiple){if(!b1[r1]){b1[r1]=[];}if(typeof b1[r1].path==="string"){c(!b1[r1].template,"list bindings support only a single template object");b1[r1].template=q1;}else{b1[r1].push(q1);}}else{c(!b1[r1],"multiple aggregates defined for aggregation with cardinality 0..1");b1[r1]=q1;}}return p1;});}else if(l(Z)!=="FragmentDefinition"||Z.namespaceURI!=="sap.ui.core"){throw new Error("Cannot add direct child without default aggregation defined for control "+g1.getElementName());}}else if(e.nodeType===3){if(q.trim(e.textContent||e.text)){throw new Error("Cannot add text nodes as direct child of an aggregation. For adding text to an aggregation, a surrounding html tag is needed: "+q.trim(e.textContent||e.text));}}}var l1=g1.getDefaultAggregation();var m1=g1.getAllAggregations();return j1(Z,l1,m1,_).then(function(){var e;if(r&&Z.hasAttribute("id")){Y(o,Z);}else if(!r){if(V.prototype.isPrototypeOf($.prototype)&&typeof $._sType==="string"){var j=function(){if($.getMetadata().isA("sap.ui.core.mvc.XMLView")&&o._sProcessingMode==="sequential"){b1.processingMode="sequential";}return V._legacyCreate(b1,undefined,$._sType);};if(o.fnScopedRunWithOwner){e=o.fnScopedRunWithOwner(j);}else{e=j();}}else{var a1=function(){if($.getMetadata().isA("sap.ui.core.Fragment")&&Z.getAttribute("type")!=="JS"&&o._sProcessingMode==="sequential"){b1.processingMode="sequential";}if(o.fnScopedRunWithOwner){return o.fnScopedRunWithOwner(function(){return new $(b1);});}else{return new $(b1);}};if(P&&P.fnRunWithPreprocessor){e=P.fnRunWithPreprocessor(a1);}else{e=a1();}}if(c1&&e.addStyleClass){e.addStyleClass(c1);}}if(!e){e=[];}else if(!Array.isArray(e)){e=[e];}if(X._supportInfo&&e){for(var i=0,n1=e.length;i<n1;i++){var o1=e[i];if(o1&&o1.getId()){var p1=X._supportInfo({context:Z,env:{caller:"createRegularControls",nodeid:Z.getAttribute("id"),controlid:o1.getId()}}),q1=f1?f1+",":"";q1+=p1;X._supportInfo.addSupportInfo(o1.getId(),q1);}}}if(t){e.forEach(function(o1){if(g1.getCompositeAggregationName){var r1=Z.getElementsByTagName(o1.getMetadata().getCompositeAggregationName());for(var i=0;i<r1.length;i++){Z.removeChild(r1[0]);}}o1._sapui_declarativeSourceInfo={xmlNode:Z,xmlRootNode:o._sapui_declarativeSourceInfo.xmlRootNode,fragmentName:g1.getName()==='sap.ui.core.Fragment'?b1['fragmentName']:null};});}return e;});}function W(o,x,e){if(x.getAttributeNS("http://schemas.sap.com/sapui5/extension/sap.ui.core.Internal/1","id")){return x.getAttribute("id");}else{return G(e?e:x.getAttribute("id"));}}function Y(o,x){x.setAttribute("id",G(x.getAttribute("id")));x.setAttributeNS("http://schemas.sap.com/sapui5/extension/sap.ui.core.Internal/1","id",true);}}X._preprocessMetadataContexts=null;X._calculatedModelMapping=function(B,o,A){var e,j={},r=M.bindingParser(B,o);function s(F){if(F.length%2===0){throw new Error("The last entry is no binding");}for(var i=1;i<=F.length;i=i+2){if(typeof F[i-1]=='string'){throw new Error("Binding expected not a string");}if(F[i]){if((typeof F[i]!='string')||(F[i]!=",")){throw new Error("Missing delimiter ','");}}}}if(r){if(!r.formatter){e=r;r={parts:[e]};}else{s(r.formatter.textFragments);}for(var i=0;i<r.parts.length;i++){e=r.parts[i];j[e.model]=j[e.model]||(A?[]:null);if(Array.isArray(j[e.model])){j[e.model].push(e);}else{j[e.model]=e;}}}return j;};return X;},true);
sap.ui.predefine('sap/ui/core/cache/CacheManager',['./LRUPersistentCache','./CacheManagerNOP','sap/ui/Device',"sap/base/Log","sap/ui/performance/Measurement"],function(L,C,D,a,M){"use strict";var b={_instance:null,_getInstance:function(){var p,o=d("_getInstance"),t=this;p=new Promise(function(r,e){var I;a.debug("Cache Manager: Initialization...");if(!b._instance){I=t._findImplementation();M.start(c,"CM",S);I.init().then(f,e);M.end(c,"CM");}else{f(b._instance);}function f(g){b._instance=g;o.endAsync();a.debug("Cache Manager initialized with implementation ["+b._instance.name+"], resolving _getInstance promise");r(g);}});o.endSync();return p;},_findImplementation:function(){if(i()&&this._isSupportedEnvironment()){return L;}else{a.warning("UI5 Cache Manager is switched off");return C;}},set:function(k,v){var p,o=d("set",k);a.debug("Cache Manager: Setting value of type["+typeof v+"] with key ["+k+"]");p=this._callInstanceMethod("set",arguments).then(function callInstanceHandler(){a.debug("Cache Manager: Setting key ["+k+"] completed successfully");o.endAsync();},function(e){a.error("Cache Manager: Setting key ["+k+"] failed. Error:"+e);o.endAsync();throw e;});o.endSync();return p;},get:function(k){var p,o=d("get",k);a.debug("Cache Manager: Getting key ["+k+"]");p=this._callInstanceMethod("get",arguments).then(function callInstanceHandler(v){a.debug("Cache Manager: Getting key ["+k+"] done");o.endAsync();return v;},function(e){a.debug("Cache Manager: Getting key ["+k+"] failed. Error: "+e);o.endAsync();throw e;});o.endSync();return p;},has:function(k){var p,o=d("has",k);a.debug("Cache Manager: has key ["+k+"] called");p=this._callInstanceMethod("has",arguments).then(function callInstanceHandler(r){o.endAsync();a.debug("Cache Manager: has key ["+k+"] returned "+r);return r;});o.endSync();return p;},del:function(k){var p,o=d("del",k);a.debug("Cache Manager: del called.");p=this._callInstanceMethod("del",arguments).then(function callInstanceHandler(){a.debug("Cache Manager: del completed successfully.");o.endAsync();},function(e){a.debug("Cache Manager: del failed. Error: "+e);o.endAsync();throw e;});o.endSync();return p;},reset:function(){var p,o=d("reset");a.debug("Cache Manager: Reset called.");p=this._callInstanceMethod("reset",arguments).then(function callInstanceHandler(){a.debug("Cache Manager: Reset completed successfully.");o.endAsync();},function(e){a.debug("Cache Manager: Reset failed. Error: "+e);o.endAsync();throw e;});o.endSync();return p;},_switchOff:function(){var t=this;return Promise.resolve().then(function(){s(t);sap.ui.getCore().getConfiguration().setUI5CacheOn(false);});},_switchOn:function(){var t=this;return Promise.resolve().then(function(){var o=sap.ui.getCore().getConfiguration();if(!o.isUI5CacheOn()){s(t);sap.ui.getCore().getConfiguration().setUI5CacheOn(true);}return Promise.resolve();});},_callInstanceMethod:function(e,A){var p,f="[sync ] _callInstanceMethod";M.start(f,"CM",S);if(this._instance){a.debug("Cache Manager: calling instance...");return this._instance[e].apply(this._instance,A);}a.debug("Cache Manager: getting instance...");p=this._getInstance().then(function instanceResolving(g){return g[e].apply(g,A);});M.end(f);return p;},_isSupportedEnvironment:function(){var e=[];if(this._bSupportedEnvironment==undefined){e.push({system:D.system.SYSTEMTYPE.DESKTOP,browserName:D.browser.BROWSER.CHROME,browserVersion:49});e.push({system:D.system.SYSTEMTYPE.DESKTOP,browserName:D.browser.BROWSER.INTERNET_EXPLORER,browserVersion:11});this._bSupportedEnvironment=e.some(function(o){var f=D.system[o.system],g=o.browserName===D.browser.name,h=D.browser.version>=o.browserVersion;return f&&g&&h&&window.indexedDB;});}return this._bSupportedEnvironment;}};var S="CacheManager",c="[sync ] _initImplementation",m=0;function i(){return sap.ui.getCore().getConfiguration().isUI5CacheOn();}function s(e){if(e._instance){e._instance._destroy();e._instance=null;}}function d(o,k){m++;var e="[async]  "+o+"["+k+"]- #"+(m),f="[sync ]  "+o+"["+k+"]- #"+(m);M.start(e,"CM",[S,o]);M.start(f,"CM",[S,o]);return{sMeasureAsync:e,sMeasureSync:f,endAsync:function(){M.end(this.sMeasureAsync);},endSync:function(){M.end(this.sMeasureSync);}};}return b;},false);
sap.ui.predefine('sap/ui/core/cache/CacheManagerNOP',[],function(){"use strict";var C={name:"CacheManagerNOP",set:function(){return Promise.resolve();},get:function(){return Promise.resolve(undefined);},has:function(){return Promise.resolve(false);},del:function(){return Promise.resolve();},reset:function(){return Promise.resolve();},init:function(){return Promise.resolve(this);},_db:{close:function(){}},_getCount:function(){return Promise.resolve(0);},_destroy:function(){}};return C;},false);
sap.ui.predefine('sap/ui/core/date/CalendarUtils',["sap/ui/core/date/CalendarWeekNumbering","sap/ui/core/LocaleData"],function(C,L){"use strict";var w={ISO_8601:{firstDayOfWeek:1,minimalDaysInFirstWeek:4},MiddleEastern:{firstDayOfWeek:6,minimalDaysInFirstWeek:1},WesternTraditional:{firstDayOfWeek:0,minimalDaysInFirstWeek:1}};var a={getWeekConfigurationValues:function(c,l){var o;if(w.hasOwnProperty(c)){return w[c];}c=c||C.Default;if(c===C.Default){l=l||sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();o=L.getInstance(l);return{firstDayOfWeek:o.getFirstDayOfWeek(),minimalDaysInFirstWeek:o.getMinimalDaysInFirstWeek()};}return undefined;}};return a;});
sap.ui.predefine('sap/ui/core/date/CalendarWeekNumbering',[],function(){"use strict";var C={Default:"Default",ISO_8601:"ISO_8601",MiddleEastern:"MiddleEastern",WesternTraditional:"WesternTraditional"};return C;},true);
sap.ui.predefine('sap/ui/core/date/UniversalDate',['sap/base/util/values','sap/ui/base/Object','sap/ui/core/LocaleData','./CalendarUtils','./CalendarWeekNumbering'],function(v,B,L,C,a){"use strict";var U=B.extend("sap.ui.core.date.UniversalDate",{constructor:function(){var h=U.getClass();return this.createDate(h,arguments);}});U.UTC=function(){var h=U.getClass();return h.UTC.apply(h,arguments);};U.now=function(){return Date.now();};U.prototype.createDate=function(h,A){switch(A.length){case 0:return new h();case 1:return new h(A[0]);case 2:return new h(A[0],A[1]);case 3:return new h(A[0],A[1],A[2]);case 4:return new h(A[0],A[1],A[2],A[3]);case 5:return new h(A[0],A[1],A[2],A[3],A[4]);case 6:return new h(A[0],A[1],A[2],A[3],A[4],A[5]);case 7:return new h(A[0],A[1],A[2],A[3],A[4],A[5],A[6]);}};U.getInstance=function(D,s){var h,i;if(D instanceof U){D=D.getJSDate();}if(!s){s=sap.ui.getCore().getConfiguration().getCalendarType();}h=U.getClass(s);i=Object.create(h.prototype);i.oDate=D;i.sCalendarType=s;return i;};U.getClass=function(s){if(!s){s=sap.ui.getCore().getConfiguration().getCalendarType();}return sap.ui.requireSync("sap/ui/core/date/"+s);};["getDate","getMonth","getFullYear","getYear","getDay","getHours","getMinutes","getSeconds","getMilliseconds","getUTCDate","getUTCMonth","getUTCFullYear","getUTCDay","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","getTime","valueOf","getTimezoneOffset","toString","toDateString","setDate","setFullYear","setYear","setMonth","setHours","setMinutes","setSeconds","setMilliseconds","setUTCDate","setUTCFullYear","setUTCMonth","setUTCHours","setUTCMinutes","setUTCSeconds","setUTCMilliseconds"].forEach(function(n){U.prototype[n]=function(){return this.oDate[n].apply(this.oDate,arguments);};});U.prototype.getJSDate=function(){return this.oDate;};U.prototype.getCalendarType=function(){return this.sCalendarType;};U.prototype.getEra=function(){return U.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate());};U.prototype.setEra=function(E){};U.prototype.getUTCEra=function(){return U.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate());};U.prototype.setUTCEra=function(E){};U.prototype.getWeek=function(l,s){c(s);return U.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate(),l,s);};U.prototype.setWeek=function(w,l,s){c(s);var D=U.getFirstDateOfWeek(this.sCalendarType,w.year||this.getFullYear(),w.week,l,s);this.setFullYear(D.year,D.month,D.day);};U.prototype.getUTCWeek=function(l,s){c(s);return U.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate(),l,s);};U.prototype.setUTCWeek=function(w,l,s){c(s);var D=U.getFirstDateOfWeek(this.sCalendarType,w.year||this.getFullYear(),w.week,l,s);this.setUTCFullYear(D.year,D.month,D.day);};U.prototype.getQuarter=function(){return Math.floor((this.getMonth()/3));};U.prototype.getUTCQuarter=function(){return Math.floor((this.getUTCMonth()/3));};U.prototype.getDayPeriod=function(){if(this.getHours()<12){return 0;}else{return 1;}};U.prototype.getUTCDayPeriod=function(){if(this.getUTCHours()<12){return 0;}else{return 1;}};U.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort){return this.oDate.getTimezoneShort();}};U.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong){return this.oDate.getTimezoneLong();}};var m=7*24*60*60*1000;U.getWeekByDate=function(s,y,M,D,l,h){c(h);l=l||sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();var i=this.getClass(s);var F=g(i,y,l,h);var o=new i(i.UTC(y,M,D));var w,j,n,k,N;var S=b(h,l);if(S){w=d(F,o);}else{j=y-1;n=y+1;k=g(i,j,l,h);N=g(i,n,l,h);if(o>=N){y=n;w=0;}else if(o<F){y=j;w=d(k,o);}else{w=d(F,o);}}return{year:y,week:w};};U.getFirstDateOfWeek=function(s,y,w,l,h){c(h);l=l||sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();var i=this.getClass(s);var F=g(i,y,l,h);var D=new i(F.valueOf()+w*m);var S=b(h,l);if(S&&w===0&&F.getUTCFullYear()<y){return{year:y,month:0,day:1};}return{year:D.getUTCFullYear(),month:D.getUTCMonth(),day:D.getUTCDate()};};function b(s,l){l=l||sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();return(!s||s===a.Default)&&l.getLanguage()==="en"&&l.getRegion()==="US";}function c(s){if(s&&v(a).indexOf(s)<0){throw new TypeError("Illegal format option calendarWeekNumbering: '"+s+"'");}}function g(h,y,l,s){l=l||sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();var w=C.getWeekConfigurationValues(s,l);var M=w.minimalDaysInFirstWeek;var F=w.firstDayOfWeek;var o=new h(h.UTC(y,0,1));var D=7;if(isNaN(o.getTime())){throw new Error("Could not determine the first day of the week, because the date "+"object is invalid");}while(o.getUTCDay()!==F){o.setUTCDate(o.getUTCDate()-1);D--;}if(D<M){o.setUTCDate(o.getUTCDate()+7);}return o;}function d(F,t){return Math.floor((t.valueOf()-F.valueOf())/m);}var e={};U.getEraByDate=function(s,y,M,D){var E=f(s),t=new Date(0).setUTCFullYear(y,M,D),o;for(var i=E.length-1;i>=0;i--){o=E[i];if(!o){continue;}if(o._start&&t>=o._startInfo.timestamp){return i;}if(o._end&&t<o._endInfo.timestamp){return i;}}};U.getCurrentEra=function(s){var n=new Date();return this.getEraByDate(s,n.getFullYear(),n.getMonth(),n.getDate());};U.getEraStartDate=function(s,E){var h=f(s),o=h[E]||h[0];if(o._start){return o._startInfo;}};function f(s){var l=sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale(),o=L.getInstance(l),E=e[s];if(!E){var E=o.getEraDates(s);if(!E[0]){E[0]={_start:"1-1-1"};}for(var i=0;i<E.length;i++){var h=E[i];if(!h){continue;}if(h._start){h._startInfo=p(h._start);}if(h._end){h._endInfo=p(h._end);}}e[s]=E;}return E;}function p(D){var P=D.split("-"),y,M,i;if(P[0]==""){y=-parseInt(P[1]);M=parseInt(P[2])-1;i=parseInt(P[3]);}else{y=parseInt(P[0]);M=parseInt(P[1])-1;i=parseInt(P[2]);}return{timestamp:new Date(0).setUTCFullYear(y,M,i),year:y,month:M,day:i};}return U;});
sap.ui.predefine('sap/ui/core/delegate/ItemNavigation',['sap/ui/base/EventProvider',"sap/base/assert","sap/base/Log","sap/ui/dom/containsOrEquals","sap/ui/events/KeyCodes","sap/ui/thirdparty/jquery","sap/ui/dom/jquery/Selectors"],function(E,a,L,c,K,q){"use strict";var I=E.extend("sap.ui.core.delegate.ItemNavigation",{constructor:function(d,i,n){E.apply(this);this.oDomRef=null;if(d){this.setRootDomRef(d);}this.aItemDomRefs=[];if(i){this.setItemDomRefs(i);}this.iTabIndex=-1;this.iActiveTabIndex=!!n?-1:0;this.iFocusedIndex=-1;this.iSelectedIndex=-1;this.bCycling=true;this.bTableMode=false;this.iPageSize=-1;this._bMouseDownHappened=false;this.oDisabledModifiers={sapend:["alt","shift"],saphome:["alt","shift"]};}});I.Events={BeforeFocus:"BeforeFocus",AfterFocus:"AfterFocus",BorderReached:"BorderReached",FocusAgain:"FocusAgain",FocusLeave:"FocusLeave"};I.prototype.setDisabledModifiers=function(d){this.oDisabledModifiers=d;return this;};I.prototype.getDisabledModifiers=function(d){return this.oDisabledModifiers;};I.prototype.hasDisabledModifier=function(e){var d=this.oDisabledModifiers[e.type.replace("modifiers","")];if(Array.isArray(d)){for(var i=0;i<d.length;i++){if(e[d[i]+"Key"]){return true;}}}return false;};I.prototype.setRootDomRef=function(d){this.oDomRef=d;if(!q(this.oDomRef).data("sap.INItem")){if(this.iFocusedIndex>=0){q(this.oDomRef).attr("tabindex",this.iTabIndex);}else{q(this.oDomRef).attr("tabindex",this.iActiveTabIndex);}}q(this.oDomRef).data("sap.INRoot",this);return this;};I.prototype.getRootDomRef=function(){return this.oDomRef;};I.prototype.getItemDomRefs=function(){return this.aItemDomRefs;};I.prototype.setItemDomRefs=function(b){a(typeof b==="object"&&typeof b.length==="number","aItemDomRefs must be an array of DOM elements");this.aItemDomRefs=b;if(this.iFocusedIndex>-1){var d=b.length;if(this.iFocusedIndex>d-1){this.iFocusedIndex=d-1;}var A=document.activeElement;if(A&&A!=this.aItemDomRefs[this.iFocusedIndex]){for(var i=0;i<d;i++){if(A==this.aItemDomRefs[i]){this.iFocusedIndex=i;break;}}}}for(var i=0;i<this.aItemDomRefs.length;i++){if(this.aItemDomRefs[i]){var $=q(this.aItemDomRefs[i]);if(i==this.iFocusedIndex&&!$.data("sap.INRoot")){$.attr("tabindex",this.iActiveTabIndex);}else if($.attr("tabindex")=="0"){$.attr("tabindex",-1);}$.data("sap.INItem",true);$.data("sap.InNavArea",true);if($.data("sap.INRoot")&&i!=this.iFocusedIndex){$.data("sap.INRoot").setNestedItemsTabindex();}}}return this;};I.prototype.setItemsTabindex=function(){for(var i=0;i<this.aItemDomRefs.length;i++){if(this.aItemDomRefs[i]){var $=q(this.aItemDomRefs[i]);if($.is(":sapFocusable")){if(i==this.iFocusedIndex&&!$.data("sap.INRoot")){$.attr("tabindex",this.iActiveTabIndex);}else{$.attr("tabindex",-1);}}}}return this;};I.prototype.setNestedItemsTabindex=function(){if(q(this.oDomRef).data("sap.INItem")){for(var i=0;i<this.aItemDomRefs.length;i++){if(this.aItemDomRefs[i]&&q(this.aItemDomRefs[i]).attr("tabindex")=="0"){q(this.aItemDomRefs[i]).attr("tabindex",-1);}}}return this;};I.prototype.destroy=function(){if(this.oDomRef){q(this.oDomRef).removeData("sap.INRoot");this.oDomRef=null;}if(this.aItemDomRefs){for(var i=0;i<this.aItemDomRefs.length;i++){if(this.aItemDomRefs[i]){q(this.aItemDomRefs[i]).removeData("sap.INItem");q(this.aItemDomRefs[i]).removeData("sap.InNavArea");}}this.aItemDomRefs=null;}this._bItemTabIndex=undefined;this.iFocusedIndex=-1;};I.prototype.setCycling=function(C){this.bCycling=C;return this;};I.prototype.setTableMode=function(t,T){this.bTableMode=t;if(this.oConfiguration===undefined){this.oConfiguration=sap.ui.getCore().getConfiguration();}this.bTableList=t?T:false;return this;};I.prototype.setPageSize=function(p){this.iPageSize=p;return this;};I.prototype.setSelectedIndex=function(i){this.iSelectedIndex=i;return this;};I.prototype.setColumns=function(C,n){this.iColumns=C;this.bNoColumnChange=n;return this;};I.prototype.setHomeEndColumnMode=function(s,C){this._bStayInRow=s;this._bCtrlEnabled=C;return this;};I.prototype.focusItem=function(i,e){L.info("FocusItem: "+i+" iFocusedIndex: "+this.iFocusedIndex,"focusItem","ItemNavigation");if(i==this.iFocusedIndex&&this.aItemDomRefs[this.iFocusedIndex]==document.activeElement){this.fireEvent(I.Events.FocusAgain,{index:i,event:e});return;}if(!this.aItemDomRefs[i]||!q(this.aItemDomRefs[i]).is(":sapFocusable")){if(this.bTableMode){var C=i%this.iColumns;var o=i;if(e&&e.keyCode==K.ARROW_RIGHT){if(C<this.iColumns-1){i+=this.oConfiguration.getRTL()?-1:1;}}else if(e&&e.keyCode==K.ARROW_LEFT){if(C>1){i-=this.oConfiguration.getRTL()?-1:1;}}else{if(C>1){i-=1;}}if(i!=o){this.focusItem(i,e);}}return;}this.fireEvent(I.Events.BeforeFocus,{index:i,event:e});this.setFocusedIndex(i);this.bISetFocus=true;if(e&&q(this.aItemDomRefs[this.iFocusedIndex]).data("sap.INRoot")){var b=q(this.aItemDomRefs[this.iFocusedIndex]).data("sap.INRoot");b._sFocusEvent=e.type;}L.info("Set Focus on ID: "+this.aItemDomRefs[this.iFocusedIndex].id,"focusItem","ItemNavigation");this.aItemDomRefs[this.iFocusedIndex].focus();this.fireEvent(I.Events.AfterFocus,{index:i,event:e});};I.prototype.setFocusedIndex=function(i){var $;if(this.aItemDomRefs.length<0){this.iFocusedIndex=-1;return this;}if(i<0){i=0;}if(i>this.aItemDomRefs.length-1){i=this.aItemDomRefs.length-1;}q(this.oDomRef).attr("tabindex",this.iTabIndex);if(this.iFocusedIndex!==-1&&this.aItemDomRefs.length>this.iFocusedIndex){q(this.aItemDomRefs[this.iFocusedIndex]).attr("tabindex",-1);$=q(this.aItemDomRefs[this.iFocusedIndex]);if($.data("sap.INRoot")&&i!=this.iFocusedIndex){q($.data("sap.INRoot").aItemDomRefs[$.data("sap.INRoot").iFocusedIndex]).attr("tabindex",-1);}}this.iFocusedIndex=i;var f=this.aItemDomRefs[this.iFocusedIndex];$=q(this.aItemDomRefs[this.iFocusedIndex]);if(!$.data("sap.INRoot")){q(f).attr("tabindex",this.iActiveTabIndex);}return this;};I.prototype.getFocusedDomRef=function(){return this.aItemDomRefs[this.iFocusedIndex];};I.prototype.getFocusedIndex=function(){return this.iFocusedIndex;};I.prototype.onfocusin=function(e){var s=e.target;var i=0;if(s==this.oDomRef){if(!this._bItemTabIndex){this.setItemsTabindex();this._bItemTabIndex=true;}if(this._bMouseDownHappened){return;}var b;if(q(this.oDomRef).data("sap.INItem")&&this._sFocusEvent&&!q(this.oDomRef).data("sap.InNavArea")){switch(this._sFocusEvent){case"sapnext":b=0;break;case"sapprevious":b=this.aItemDomRefs.length-1;break;default:if(this.iSelectedIndex!=-1){b=this.iSelectedIndex;}else if(this.iFocusedIndex!=-1){b=this.iFocusedIndex;}else{b=0;}break;}this._sFocusEvent=undefined;}else{if(this.iSelectedIndex!=-1){b=this.iSelectedIndex;}else if(this.iFocusedIndex!=-1){b=this.iFocusedIndex;}else{b=0;}}this.focusItem(b,e);if(this.iFocusedIndex==-1){for(i=b+1;i<this.aItemDomRefs.length;i++){this.focusItem(i,e);if(this.iFocusedIndex==i){break;}}if(this.iFocusedIndex==-1&&b>0){for(i=b-1;i>=0;i--){this.focusItem(i,e);if(this.iFocusedIndex==i){break;}}}}e.preventDefault();e.stopPropagation();}else if(!this.bISetFocus){if(this.aItemDomRefs&&e.target!=this.aItemDomRefs[this.iFocusedIndex]){for(i=0;i<this.aItemDomRefs.length;i++){if(e.target==this.aItemDomRefs[i]){this.focusItem(i,e);break;}}}else{this.fireEvent(I.Events.AfterFocus,{index:this.iFocusedIndex,event:e});}}this.bISetFocus=false;};I.prototype.onsapfocusleave=function(e){if(!e.relatedControlId||!c(this.oDomRef,sap.ui.getCore().byId(e.relatedControlId).getFocusDomRef())){var i;if(this.iSelectedIndex!=-1){i=this.iSelectedIndex;}else if(this.iFocusedIndex!=-1){i=this.iFocusedIndex;}else{i=0;}this.setFocusedIndex(i);var d;if(q(this.oDomRef).data("sap.INItem")){var p;d=q(this.oDomRef);while(!p){d=d.parent();if(d.data("sap.INRoot")){p=d.get(0);}}if(!e.relatedControlId||c(p,sap.ui.getCore().byId(e.relatedControlId).getFocusDomRef())){q(this.aItemDomRefs[this.iFocusedIndex]).attr("tabindex",-1);}}d=q(this.oDomRef);if(d.data("sap.InNavArea")===false){d.data("sap.InNavArea",true);}this.fireEvent(I.Events.FocusLeave,{index:i,event:e});}};I.prototype.onmousedown=function(e){var s=e.target;var b=function(d,o){var f=false;var C=q(d);while(!C.is(":sapFocusable")&&C.get(0)!=o){C=C.parent();}if(C.get(0)!=o){f=true;}return f;};if(c(this.oDomRef,s)){for(var i=0;i<this.aItemDomRefs.length;i++){var o=this.aItemDomRefs[i];if(c(o,s)){if(!this.bTableMode){this.focusItem(i,e);}else{if(o===s||!b(s,o)){this.focusItem(i,e);}}return;}}if(s==this.oDomRef){this._bMouseDownHappened=true;var t=this;window.setTimeout(function(){t._bMouseDownHappened=false;},20);}}};I.prototype.onsapnext=function(e){if(!c(this.oDomRef,e.target)){return;}if(q(this.oDomRef).data("sap.InNavArea")){return;}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return;}var i=this.iFocusedIndex,f=true,b=false;if(i>-1){if(this.bTableMode){var r=this.aItemDomRefs.length/this.iColumns,R=Math.floor(i/this.iColumns),C=i%this.iColumns;if(e.keyCode==K.ARROW_DOWN){if(R<r-1){i+=this.iColumns;}}else{if(C<this.iColumns-1){i+=1;}}}else{do{if(this.iColumns>1&&e.keyCode==K.ARROW_DOWN){if((i+this.iColumns)>=this.aItemDomRefs.length){if(!this.bNoColumnChange){if((i%this.iColumns)<(this.iColumns-1)){i=(i%this.iColumns)+1;}else if(this.bCycling){i=0;}}else{i=this.iFocusedIndex;b=true;}}else{i=i+this.iColumns;}}else{if(i==this.aItemDomRefs.length-1){if(q(this.oDomRef).data("sap.INItem")){return;}else if(this.bCycling){i=0;}else{i=this.iFocusedIndex;b=true;}}else{i++;}}if(i===this.iFocusedIndex){if(f){f=false;}else{throw new Error("ItemNavigation has no visible/existing items and is hence unable to select the next one");}}}while(!this.aItemDomRefs[i]||!q(this.aItemDomRefs[i]).is(":sapFocusable"));}this.focusItem(i,e);if(b){this.fireEvent(I.Events.BorderReached,{index:i,event:e});}e.preventDefault();e.stopPropagation();}};I.prototype.onsapnextmodifiers=function(e){if(this.hasDisabledModifier(e)){return;}this.onsapnext(e);};I.prototype.onsapprevious=function(e){if(!c(this.oDomRef,e.target)){return;}if(q(this.oDomRef).data("sap.InNavArea")){return;}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return;}var i=this.iFocusedIndex,f=true,b=false;var C=0;if(i>-1){if(this.bTableMode){var r=Math.floor(i/this.iColumns);C=i%this.iColumns;if(e.keyCode==K.ARROW_UP){if(r>0){i-=this.iColumns;}}else{if(C>0){i-=1;}}}else{do{if(this.iColumns>1&&e.keyCode==K.ARROW_UP){if((i-this.iColumns)<0){if(!this.bNoColumnChange){C=0;if((i%this.iColumns)>0){C=(i%this.iColumns)-1;}else if(this.bCycling){C=Math.min(this.iColumns-1,this.aItemDomRefs.length-1);}if(i===0&&C===0){i=0;}else{var R=Math.ceil(this.aItemDomRefs.length/this.iColumns);i=C+((R-1)*this.iColumns);if(i>=this.aItemDomRefs.length){i=i-this.iColumns;}}}else{i=this.iFocusedIndex;b=true;}}else{i=i-this.iColumns;}}else{if(i==0){if(q(this.oDomRef).data("sap.INItem")){return;}else if(this.bCycling){i=this.aItemDomRefs.length-1;}else{i=this.iFocusedIndex;b=true;}}else{i--;}}if(i==this.iFocusedIndex){if(f){f=false;}else{throw new Error("ItemNavigation has no visible/existing items and is hence unable to select the previous one");}}}while(!this.aItemDomRefs[i]||!q(this.aItemDomRefs[i]).is(":sapFocusable"));}this.focusItem(i,e);if(b){this.fireEvent(I.Events.BorderReached,{index:i,event:e});}e.preventDefault();e.stopPropagation();}};I.prototype.onsappreviousmodifiers=function(e){if(this.hasDisabledModifier(e)){return;}this.onsapprevious(e);};I.prototype.onsappageup=function(e){if(!c(this.oDomRef,e.target)){return;}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return;}var i=0;var b=false;if(this.iPageSize>0){i=this.iFocusedIndex;if(i>-1){i=i-this.iPageSize;while(i>0&&!q(this.aItemDomRefs[i]).is(":sapFocusable")){i--;}if(i<0){if(!this.bNoColumnChange){i=0;}else{i=this.iFocusedIndex;b=true;}}this.focusItem(i,e);}}else if(this.bTableMode){i=this.iFocusedIndex%this.iColumns;this.focusItem(i,e);}if(b){this.fireEvent(I.Events.BorderReached,{index:i,event:e});}e.preventDefault();e.stopPropagation();};I.prototype.onsappagedown=function(e){if(!c(this.oDomRef,e.target)){return;}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return;}var i=0;var b=false;if(this.iPageSize>0){i=this.iFocusedIndex;if(i>-1){i=i+this.iPageSize;while(i<this.aItemDomRefs.length-1&&!q(this.aItemDomRefs[i]).is(":sapFocusable")){i++;}if(i>this.aItemDomRefs.length-1){if(!this.bNoColumnChange){i=this.aItemDomRefs.length-1;}else{i=this.iFocusedIndex;b=true;}}this.focusItem(i,e);}}else if(this.bTableMode){var r=this.aItemDomRefs.length/this.iColumns,C=this.iFocusedIndex%this.iColumns;i=(r-1)*this.iColumns+C;this.focusItem(i,e);}if(b){this.fireEvent(I.Events.BorderReached,{index:i,event:e});}e.preventDefault();e.stopPropagation();};I.prototype.onsaphome=function(e){if(!c(this.oDomRef,e.target)){return;}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return;}var i=0;var r=0;if(this.bTableMode){if(!this.bTableList&&!(e.metaKey||e.ctrlKey)){r=Math.floor(this.iFocusedIndex/this.iColumns);i=r*this.iColumns;}}else{if(!!(e.metaKey||e.ctrlKey)&&!this._bCtrlEnabled){return;}if(this._bStayInRow&&!(this._bCtrlEnabled&&(e.metaKey||e.ctrlKey))&&this.iColumns>0){r=Math.floor(this.iFocusedIndex/this.iColumns);i=r*this.iColumns;}else{while(!this.aItemDomRefs[i]||!q(this.aItemDomRefs[i]).is(":sapFocusable")){i++;if(i==this.aItemDomRefs.length){return;}}}}this.focusItem(i,e);e.preventDefault();e.stopPropagation();};I.prototype.onsaphomemodifiers=function(e){if(this.hasDisabledModifier(e)){return;}this.onsaphome(e);};I.prototype.onsapend=function(e){if(!c(this.oDomRef,e.target)){return;}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return;}var i=this.aItemDomRefs.length-1;var r=0;if(this.bTableMode){if(!this.bTableList&&!(e.metaKey||e.ctrlKey)){r=Math.floor(this.iFocusedIndex/this.iColumns);i=r*this.iColumns+this.iColumns-1;}}else{if(!!(e.metaKey||e.ctrlKey)&&!this._bCtrlEnabled){return;}if(this._bStayInRow&&!(this._bCtrlEnabled&&(e.metaKey||e.ctrlKey))&&this.iColumns>0){r=Math.floor(this.iFocusedIndex/this.iColumns);i=(r+1)*this.iColumns-1;if(i>=this.aItemDomRefs.length){i=this.aItemDomRefs.length-1;}}else{while(!this.aItemDomRefs[i]||!q(this.aItemDomRefs[i]).is(":sapFocusable")){i--;if(i<0){return;}}}}this.focusItem(i,e);e.preventDefault();e.stopPropagation();};I.prototype.onsapendmodifiers=function(e){if(this.hasDisabledModifier(e)){return;}this.onsapend(e);};I.prototype.setTabIndex0=function(){this.iTabIndex=0;this.iActiveTabIndex=0;};I.prototype.onkeyup=function(e){if(e.keyCode==K.F2){var d=q(this.oDomRef);if(d.data("sap.InNavArea")){d.data("sap.InNavArea",false);}else if(d.data("sap.InNavArea")===false){d.data("sap.InNavArea",true);}e.preventDefault();e.stopPropagation();}};return I;});
sap.ui.predefine('sap/ui/core/delegate/ScrollEnablement',['sap/ui/Device','sap/ui/base/Object','sap/ui/core/ResizeHandler',"sap/ui/performance/trace/Interaction","sap/ui/thirdparty/jquery","sap/ui/events/KeyCodes"],function(D,B,R,I,q,K){"use strict";var S=B.extend("sap.ui.core.delegate.ScrollEnablement",{constructor:function(c,s,C){B.apply(this);this._oControl=c;this._oControl.addDelegate(this);this._sContentId=s;this._sContainerId=C.scrollContainerId;this._bHorizontal=!!C.horizontal;this._bVertical=!!C.vertical;this._scrollX=0;this._scrollY=0;this._scrollCoef=0.9;i(this);if(this._init){this._init.apply(this,arguments);}},setHorizontal:function(h){this._bHorizontal=!!h;this._setOverflow&&this._setOverflow();},setVertical:function(v){this._bVertical=!!v;this._setOverflow&&this._setOverflow();},getHorizontal:function(){return this._bHorizontal;},getVertical:function(){return this._bVertical;},setBounce:function(b){},setPullDown:function(c){this._oPullDown=c;return this;},setGrowingList:function(s,a){this._fnScrollLoadCallback=s;this._sScrollLoadDirection=a;return this;},setIconTabBar:function(o,s,f){this._oIconTabBar=o;this._fnScrollEndCallback=q.proxy(s,o);this._fnScrollStartCallback=q.proxy(f,o);return this;},scrollTo:function(x,y,t,s){this._scrollX=x;this._scrollY=y;this._scrollTo(x,y,t,s);return this;},getChildPosition:function(e){var E=e instanceof q?e:q(e),o=E.position(),O=E.offsetParent(),a;while(!O.is(this._$Container)&&!O.is("html")&&O.length){a=O.position();o.top+=a.top;o.left+=a.left;O=O.offsetParent();}if(this._bAddOffsetForPaddingTop){o.top-=parseInt(window.getComputedStyle(this._$Container.get(0)).paddingTop);}return o;},scrollToElement:function(e,t,o){o=o||[0,0];if(!this._$Container[0].contains(e)||e.style.display==="none"||e.offsetParent.nodeName.toUpperCase()==="HTML"){return this;}var E=q(e),s=this.getChildPosition(E),l=this.getScrollLeft()+s.left+o[0],T=this.getScrollTop()+s.top+o[1];if(this._bFlipX){l=this.getScrollLeft()-(s.left-this._$Container.width())-E.width();}this._scrollTo(l,T,t);return this;},destroy:function(){if(this._exit){this._exit();}if(this._oControl){this._oControl.removeDelegate(this);this._oControl=undefined;}},refresh:function(){if(this._refresh){this._refresh();}},_useDefaultScroll:function(t){return t.isContentEditable;},onkeydown:function(e){if(this._useDefaultScroll(e.target)){return;}var c=this._$Container[0];if(e.altKey&&this.getHorizontal()){switch(e.keyCode){case K.PAGE_UP:this._customScrollTo(this._scrollX-c.clientWidth,this._scrollY,e);break;case K.PAGE_DOWN:this._customScrollTo(this._scrollX+c.clientWidth,this._scrollY,e);break;}}if(e.ctrlKey){switch(e.keyCode){case K.ARROW_UP:if(this.getVertical()){this._customScrollTo(this._scrollX,this._scrollY-c.clientHeight*this._scrollCoef,e);}break;case K.ARROW_DOWN:if(this.getVertical()){this._customScrollTo(this._scrollX,this._scrollY+c.clientHeight*this._scrollCoef,e);}break;case K.ARROW_LEFT:if(this.getHorizontal()){this._customScrollTo(this._scrollX-c.clientWidth,this._scrollY,e);}break;case K.ARROW_RIGHT:if(this.getHorizontal()){this._customScrollTo(this._scrollX+c.clientWidth,this._scrollY,e);}break;case K.HOME:if(this.getHorizontal()){this._customScrollTo(0,this._scrollY,e);}if(this.getVertical()){this._customScrollTo(this._scrollX,0,e);}break;case K.END:var l=c.scrollWidth-c.clientWidth;var t=c.scrollHeight-c.clientHeight;if(!this.getHorizontal()){t=this._scrollY;}if(!this.getVertical()){l=this._scrollX;}this._customScrollTo(l,t,e);break;}}},_customScrollTo:function(l,t,e){var N=e.target.nodeName;if(N!="INPUT"&&N!="TEXTAREA"){e.preventDefault();e.setMarked();this._scrollTo(l,t);}},_toggleOffsetForPaddings:function(o){this._bAddOffsetForPaddingTop=o;}});var n={getScrollTop:function(){return this._scrollY||0;},getScrollLeft:function(){return this._scrollX||0;},getScrollHeight:function(){var c=this._$Container;return(c&&c[0])?c[0].scrollHeight:0;},getMaxScrollTop:function(){var c=this._$Container;return(c&&c[0])?c[0].scrollHeight-c[0].clientHeight:-1;},_cleanup:function(){if(this._sResizeListenerId){R.deregister(this._sResizeListenerId);this._sResizeListenerId=null;}},_setOverflow:function(){var c=this._$Container;if(!c||!c[0]){return;}if(D.os.ios){c.css("overflow-x",this._bHorizontal&&!this._bDragScroll?"scroll":"hidden").css("overflow-y",this._bVertical&&!this._bDragScroll?"scroll":"hidden").css("-webkit-overflow-scrolling","touch");}else{c.css("overflow-x",this._bHorizontal&&!this._bDragScroll?"auto":"hidden").css("overflow-y",this._bVertical&&!this._bDragScroll?"auto":"hidden");}},_refresh:function(){var c=this._$Container;if(!(c&&c.length)){return;}if(this._oPullDown&&this._oPullDown._bTouchMode){var d=this._oPullDown.getDomRef();if(d){d.style.marginTop=this._oPullDown._iState==2?"":"-"+d.offsetHeight+"px";}}if(c.scrollTop()!=this._scrollY){c.scrollTop(this._scrollY);}if(!(this._oPullDown&&this._oPullDown._bTouchMode)&&!this._fnScrollLoadCallback&&!D.browser.msie){R.deregister(this._sResizeListenerId);this._sResizeListenerId=null;}},_onScroll:function(){var c=this._$Container,s=c.scrollTop(),v=s-this._scrollY;I.notifyStepStart(this._oControl);this._scrollX=c.scrollLeft();this._scrollY=s;if(this._fnScrollLoadCallback){if(this._sScrollLoadDirection=="Upwards"){if(v<0&&s<10){this._fnScrollLoadCallback();}}else if(v>=0&&c[0].scrollHeight-s-c[0].clientHeight<100){this._fnScrollLoadCallback();}}if(this._oIconTabBar&&this._fnScrollEndCallback){this._fnScrollEndCallback();}},_onStart:function(e){var c=this._$Container[0];if(!c){return;}this._bDoDrag=this._bDragScroll;var p=e.touches?e.touches[0]:e;this._iX=p.pageX;this._iY=p.pageY;this._bPullDown=false;this._iDirection="";},_onTouchMove:function(e){var c=this._$Container[0];var p=e.touches?e.touches[0]:e;var d=p.pageX-this._iX;var a=p.pageY-this._iY;if(this._iDirection==""){if(d!=0||a!=0){this._iDirection=Math.abs(a)>Math.abs(d)?"v":"h";}if(this._oPullDown&&this._oPullDown._bTouchMode&&this._iDirection=="v"&&c.scrollTop<=1){if(a>Math.abs(d)){this._bPullDown=true;}}}if(this._bPullDown===true){var b=this._oPullDown.getDomRef();var t=e.touches[0].pageY-this._iY-b.offsetHeight;if(t>20){t=20;}b.style.marginTop=t+"px";this._oPullDown.doPull(t);e.preventDefault();this._bDoDrag=false;}if(this._bDoDrag){var s=c.scrollLeft,f=c.scrollTop;if(this._bHorizontal){if(this._bFlipX){c.scrollLeft=s-this._iX+p.pageX;}else{c.scrollLeft=s+this._iX-p.pageX;}}if(this._bVertical){c.scrollTop=f+this._iY-p.pageY;}if((c.scrollLeft!=s)||(c.scrollTop!=f)){e.setMarked&&e.setMarked();e.preventDefault();}this._iX=p.pageX;this._iY=p.pageY;return;}},_onEnd:function(e){I.notifyEventStart(e);if(this._oPullDown&&this._oPullDown._bTouchMode){this._oPullDown.doScrollEnd();this._refresh();}if(this._bDragScroll&&this._iDirection){e.setMarked&&e.setMarked();}},_onMouseDown:function(e){if(this._bDragScroll&&e.button==0){this._bScrolling=true;this._onStart(e);}},_onMouseMove:function(E){if(this._bScrolling){var e=E.originalEvent||E;var b=e.buttons||e.which;if(b==1||E.pressure){var c=this._$Container[0];if(this._bHorizontal){if(this._bFlipX){c.scrollLeft=c.scrollLeft-this._iX+E.pageX;}else{c.scrollLeft=c.scrollLeft+this._iX-E.pageX;}}if(this._bVertical){c.scrollTop=c.scrollTop+this._iY-E.pageY;}this._iX=E.pageX;this._iY=E.pageY;}}},_onMouseUp:function(){if(this._bScrolling){this._bScrolling=false;this._onEnd();}},onBeforeRendering:function(){if(this._sResizeListenerId){R.deregister(this._sResizeListenerId);this._sResizeListenerId=null;}var c=this._$Container;if(c){if(c.height()>0){this._scrollX=c.scrollLeft();this._scrollY=c.scrollTop();}c.off();}},onAfterRendering:function(){var c=this._$Container=this._sContainerId?q(document.getElementById(this._sContainerId)):q(document.getElementById(this._sContentId)).parent();var _=q.proxy(this._refresh,this);var e=c.is(":visible");this._setOverflow();if(this._scrollX!==0||this._scrollY!==0){this._scrollTo(this._scrollX,this._scrollY);}this._refresh();if(!e||D.browser.msie||this._oPullDown||this._fnScrollLoadCallback){this._sResizeListenerId=R.register(c[0],_);}c.on("scroll",this._onScroll.bind(this));var C=c[0];function a(E,l){E.split(" ").forEach(function(s){C&&C.addEventListener(s,l);});}function o(E){return E.pointerType=="touch"?this._onStart(E):this._onMouseDown(E);}function b(E){return E.pointerType=="touch"?this._onTouchMove(E):this._onMouseMove(E);}function d(E){return E.pointerType=="touch"?this._onEnd(E):this._onMouseUp(E);}if(D.support.pointer&&D.system.desktop){if(this._bDragScroll){a("pointerdown",o.bind(this));a("pointermove",b.bind(this));a("pointerup pointercancel pointerleave",d.bind(this));}}else if(D.support.touch){if(this._bDragScroll||this._oPullDown&&this._oPullDown._bTouchMode){c.on("touchcancel touchend",this._onEnd.bind(this)).on("touchstart",this._onStart.bind(this)).on("touchmove",this._onTouchMove.bind(this));}}else if(this._bDragScroll){c.on("mouseup mouseleave",this._onMouseUp.bind(this)).mousedown(this._onMouseDown.bind(this)).mousemove(this._onMouseMove.bind(this));}},_readActualScrollPosition:function(){if(this._$Container.width()>0){this._scrollX=this._$Container.scrollLeft();}if(this._$Container.height()>0){this._scrollY=this._$Container.scrollTop();}},_scrollTo:function(x,y,t,s){if(this._$Container.length>0){if(t>0){this._$Container.finish().animate({scrollTop:y,scrollLeft:x},t,q.proxy(function(){this._readActualScrollPosition();s&&s();},this));}else{this._$Container.scrollTop(y);this._$Container.scrollLeft(x);this._readActualScrollPosition();s&&s();}}}};function i(s){var d={_init:function(c,a,C){if(q.event&&q.event.special&&q.event.special.swipe&&q.event.special.swipe.scrollSupressionThreshold<120){q.event.special.swipe.scrollSupressionThreshold=120;}q.extend(this,n);if(C.nonTouchScrolling===true){this._bDragScroll=true;}if(sap.ui.getCore().getConfiguration().getRTL()){this._scrollX=9999;if(D.browser.msie||D.browser.edge){this._bFlipX=true;}}},_exit:function(){if(this._cleanup){this._cleanup();}}};q.extend(s,d);}return S;});
sap.ui.predefine('sap/ui/core/format/DateFormat',['sap/ui/core/CalendarType','sap/ui/core/Locale','sap/ui/core/LocaleData','sap/ui/core/date/UniversalDate','sap/ui/core/date/CalendarUtils','sap/ui/core/date/CalendarWeekNumbering',"sap/base/util/deepEqual",'sap/base/util/values',"sap/base/strings/formatMessage","sap/base/Log","sap/ui/thirdparty/jquery"],function(C,L,a,U,b,c,d,v,f,e,q){"use strict";var D=function(){throw new Error();};var m={};D.oDateInfo={oDefaultFormatOptions:{style:"medium",relativeScale:"day",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd"},{pattern:"yyyyMMdd",strictParsing:true}],bShortFallbackFormatOptions:true,bPatternFallbackWithoutDelimiter:true,getPattern:function(o,s,i){return o.getDatePattern(s,i);},oRequiredParts:{"text":true,"year":true,"weekYear":true,"month":true,"day":true},aRelativeScales:["year","month","week","day"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date"]};D.oDateTimeInfo={oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd'T'HH:mm:ss"},{pattern:"yyyyMMdd HHmmss"}],getPattern:function(o,s,i){var S=s.indexOf("/");if(S>0){return o.getCombinedDateTimePattern(s.substr(0,S),s.substr(S+1),i);}else{return o.getCombinedDateTimePattern(s,s,i);}},oRequiredParts:{"text":true,"year":true,"weekYear":true,"month":true,"day":true,"hour0_23":true,"hour1_24":true,"hour0_11":true,"hour1_12":true},aRelativeScales:["year","month","week","day","hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date","DayPeriod","Hours","Minutes","Seconds"]};D.oTimeInfo={oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"HH:mm:ss"},{pattern:"HHmmss"}],getPattern:function(o,s,i){return o.getTimePattern(s,i);},oRequiredParts:{"text":true,"hour0_23":true,"hour1_24":true,"hour0_11":true,"hour1_12":true},aRelativeScales:["hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["DayPeriod","Hours","Minutes","Seconds"]};D.getInstance=function(o,i){return this.getDateInstance(o,i);};D.getDateInstance=function(o,i){return this.createInstance(o,i,this.oDateInfo);};D.getDateTimeInstance=function(o,i){return this.createInstance(o,i,this.oDateTimeInfo);};D.getTimeInstance=function(o,i){return this.createInstance(o,i,this.oTimeInfo);};function g(o){var P=o.oLocaleData.getIntervalPattern("",o.oFormatOptions.calendarType);P=P.replace(/[^\{\}01 ]/,"-");return P.replace(/\{(0|1)\}/g,o.oFormatOptions.pattern);}D.createInstance=function(o,i,I){var j=Object.create(this.prototype);if(o instanceof L){i=o;o=undefined;}if(!i){i=sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();}j.oLocale=i;j.oLocaleData=a.getInstance(i);j.oFormatOptions=q.extend(false,{},I.oDefaultFormatOptions,o);if(!j.oFormatOptions.calendarType){j.oFormatOptions.calendarType=sap.ui.getCore().getConfiguration().getCalendarType();}if(j.oFormatOptions.calendarWeekNumbering&&v(c).indexOf(j.oFormatOptions.calendarWeekNumbering)<0){throw new TypeError("Illegal format option calendarWeekNumbering: '"+j.oFormatOptions.calendarWeekNumbering+"'");}if(!j.oFormatOptions.pattern){if(j.oFormatOptions.format){j.oFormatOptions.pattern=j.oLocaleData.getCustomDateTimePattern(j.oFormatOptions.format,j.oFormatOptions.calendarType);}else{j.oFormatOptions.pattern=I.getPattern(j.oLocaleData,j.oFormatOptions.style,j.oFormatOptions.calendarType);}}if(j.oFormatOptions.interval){if(j.oFormatOptions.format){j.intervalPatterns=j.oLocaleData.getCustomIntervalPattern(j.oFormatOptions.format,null,j.oFormatOptions.calendarType);if(typeof j.intervalPatterns==="string"){j.intervalPatterns=[j.intervalPatterns];}j.intervalPatterns.push(j.oLocaleData.getCustomDateTimePattern(j.oFormatOptions.format,j.oFormatOptions.calendarType));}else{j.intervalPatterns=[j.oLocaleData.getCombinedIntervalPattern(j.oFormatOptions.pattern,j.oFormatOptions.calendarType),j.oFormatOptions.pattern];}var s=g(j);j.intervalPatterns.push(s);}if(!j.oFormatOptions.fallback){if(!I.oFallbackFormats){I.oFallbackFormats={};}var t=i.toString(),u=j.oFormatOptions.calendarType,K=t+"-"+u,P,w;if(j.oFormatOptions.pattern&&I.bPatternFallbackWithoutDelimiter){K=K+"-"+j.oFormatOptions.pattern;}if(j.oFormatOptions.interval){K=K+"-"+"interval";}var x=I.oFallbackFormats[K]?Object.assign({},I.oFallbackFormats[K]):undefined;if(!x){w=I.aFallbackFormatOptions;if(I.bShortFallbackFormatOptions){P=I.getPattern(j.oLocaleData,"short");w=w.concat(D._createFallbackOptionsWithoutDelimiter(P));}if(j.oFormatOptions.pattern&&I.bPatternFallbackWithoutDelimiter){w=D._createFallbackOptionsWithoutDelimiter(j.oFormatOptions.pattern).concat(w);}x=D._createFallbackFormat(w,u,i,I,j.oFormatOptions.interval);}j.aFallbackFormats=x;}j.oRequiredParts=I.oRequiredParts;j.aRelativeScales=I.aRelativeScales;j.aRelativeParseScales=I.aRelativeParseScales;j.aIntervalCompareFields=I.aIntervalCompareFields;j.init();return j;};D.prototype.init=function(){var s=this.oFormatOptions.calendarType;this.aMonthsAbbrev=this.oLocaleData.getMonths("abbreviated",s);this.aMonthsWide=this.oLocaleData.getMonths("wide",s);this.aMonthsNarrow=this.oLocaleData.getMonths("narrow",s);this.aMonthsAbbrevSt=this.oLocaleData.getMonthsStandAlone("abbreviated",s);this.aMonthsWideSt=this.oLocaleData.getMonthsStandAlone("wide",s);this.aMonthsNarrowSt=this.oLocaleData.getMonthsStandAlone("narrow",s);this.aDaysAbbrev=this.oLocaleData.getDays("abbreviated",s);this.aDaysWide=this.oLocaleData.getDays("wide",s);this.aDaysNarrow=this.oLocaleData.getDays("narrow",s);this.aDaysShort=this.oLocaleData.getDays("short",s);this.aDaysAbbrevSt=this.oLocaleData.getDaysStandAlone("abbreviated",s);this.aDaysWideSt=this.oLocaleData.getDaysStandAlone("wide",s);this.aDaysNarrowSt=this.oLocaleData.getDaysStandAlone("narrow",s);this.aDaysShortSt=this.oLocaleData.getDaysStandAlone("short",s);this.aQuartersAbbrev=this.oLocaleData.getQuarters("abbreviated",s);this.aQuartersWide=this.oLocaleData.getQuarters("wide",s);this.aQuartersNarrow=this.oLocaleData.getQuarters("narrow",s);this.aQuartersAbbrevSt=this.oLocaleData.getQuartersStandAlone("abbreviated",s);this.aQuartersWideSt=this.oLocaleData.getQuartersStandAlone("wide",s);this.aQuartersNarrowSt=this.oLocaleData.getQuartersStandAlone("narrow",s);this.aErasNarrow=this.oLocaleData.getEras("narrow",s);this.aErasAbbrev=this.oLocaleData.getEras("abbreviated",s);this.aErasWide=this.oLocaleData.getEras("wide",s);this.aDayPeriods=this.oLocaleData.getDayPeriods("abbreviated",s);this.aFormatArray=this.parseCldrDatePattern(this.oFormatOptions.pattern);this.sAllowedCharacters=this.getAllowedCharacters(this.aFormatArray);};D._createFallbackFormat=function(i,s,o,I,j){return i.map(function(O){var t=Object.assign({},O);if(j){t.interval=true;}t.calendarType=s;t.fallback=true;var u=D.createInstance(t,o,I);u.bIsFallback=true;return u;});};D._createFallbackOptionsWithoutDelimiter=function(B){var i=/[^dMyGU]/g,o={regex:/d+/g,replace:"dd"},M={regex:/M+/g,replace:"MM"},y={regex:/[yU]+/g,replace:["yyyy","yy"]};B=B.replace(i,"");B=B.replace(o.regex,o.replace);B=B.replace(M.regex,M.replace);return y.replace.map(function(R){return{pattern:B.replace(y.regex,R),strictParsing:true};});};var p={isNumber:function(i){return i>=48&&i<=57;},findNumbers:function(V,M){var i=0;while(i<M&&this.isNumber(V.charCodeAt(i))){i++;}if(typeof V!=="string"){V=V.toString();}return V.substr(0,i);},findEntry:function(V,i){var o=-1,M=0;for(var j=0;j<i.length;j++){if(i[j]&&i[j].length>M&&V.indexOf(i[j])===0){o=j;M=i[j].length;}}return{index:o,value:o===-1?null:i[o]};},parseTZ:function(V,i){var j=0;var t=V.charAt(0)=="+"?-1:1;var P;j++;P=this.findNumbers(V.substr(j),2);var T=parseInt(P);j+=2;if(i){j++;}P=this.findNumbers(V.substr(j),2);j+=2;var o=parseInt(P);return{length:j,tzDiff:(o+60*T)*t};},checkValid:function(t,P,o){if(t in o.oRequiredParts&&P){return false;}}};D._createPatternSymbol=function(P){var i=typeof P.isNumeric==="function"&&P.isNumeric||function(){return P.isNumeric||false;};return{name:P.name,format:P.format||function(){return"";},parse:P.parse||function(){return{};},isNumeric:i};};D.prototype.oSymbols={"":D._createPatternSymbol({name:"text",format:function(o,i,u,j){return o.value;},parse:function(V,P,o,i){var s;var j=true;var t=0;var u=0;var w="\u002d\u007E\u2010\u2011\u2012\u2013\u2014\ufe58\ufe63\uff0d\uFF5E";for(;u<P.value.length;u++){s=P.value.charAt(u);if(s===" "){while(V.charAt(t)===" "){t++;}}else if(w.includes(s)){if(!w.includes(V.charAt(t))){j=false;}t++;}else{if(V.charAt(t)!==s){j=false;}t++;}if(!j){break;}}if(j){return{length:t};}else{var x=false;if(i.index<i.formatArray.length-1){x=(i.formatArray[i.index+1].type in o.oRequiredParts);}return{valid:p.checkValid(P.type,x,o)};}}}),"G":D._createPatternSymbol({name:"era",format:function(o,i,u,j){var E=u?i.getUTCEra():i.getEra();if(o.digits<=3){return j.aErasAbbrev[E];}else if(o.digits===4){return j.aErasWide[E];}else{return j.aErasNarrow[E];}},parse:function(V,P,o,j){var E=[o.aErasWide,o.aErasAbbrev,o.aErasNarrow];for(var i=0;i<E.length;i++){var s=E[i];var t=p.findEntry(V,s);if(t.index!==-1){return{era:t.index,length:t.value.length};}}return{era:o.aErasWide.length-1,valid:p.checkValid(P.type,true,o)};}}),"y":D._createPatternSymbol({name:"year",format:function(o,i,u,j){var y=u?i.getUTCFullYear():i.getFullYear();var Y=String(y);var s=j.oFormatOptions.calendarType;if(o.digits==2&&Y.length>2){Y=Y.substr(Y.length-2);}if(s!=C.Japanese&&o.digits==1&&y<100){Y=Y.padStart(4,"0");}return Y.padStart(o.digits,"0");},parse:function(V,P,o,i){var E,s,j,t=o.oFormatOptions.calendarType;if(P.digits==1){E=4;}else if(P.digits==2){E=2;}else{E=P.digits;}s=p.findNumbers(V,E);j=s===""||i.exactLength&&s.length!==E;var y=parseInt(s);if(t!=C.Japanese&&s.length<=2){var u=U.getInstance(new Date(),t),w=u.getFullYear(),x=Math.floor(w/100),Y=x*100+y-w;if(Y<-70){y+=(x+1)*100;}else if(Y<30){y+=x*100;}else{y+=(x-1)*100;}}return{length:s.length,valid:p.checkValid(P.type,j,o),year:y};},isNumeric:true}),"Y":D._createPatternSymbol({name:"weekYear",format:function(o,i,u,j){var w=u?i.getUTCWeek(j.oLocale,j.oFormatOptions.calendarWeekNumbering):i.getWeek(j.oLocale,j.oFormatOptions.calendarWeekNumbering);var W=w.year;var s=String(W);var t=j.oFormatOptions.calendarType;if(o.digits==2&&s.length>2){s=s.substr(s.length-2);}if(t!=C.Japanese&&o.digits==1&&W<100){s=s.padStart(4,"0");}return s.padStart(o.digits,"0");},parse:function(V,P,o,i){var E,s,j,t=o.oFormatOptions.calendarType;if(P.digits==1){E=4;}else if(P.digits==2){E=2;}else{E=P.digits;}s=p.findNumbers(V,E);j=s===""||i.exactLength&&s.length!==E;var y=parseInt(s);var w;if(t!=C.Japanese&&s.length<=2){var u=U.getInstance(new Date(),t),x=u.getFullYear(),z=Math.floor(x/100),Y=z*100+w-x;if(Y<-70){w+=(z+1)*100;}else if(Y<30){w+=z*100;}else{w+=(z-1)*100;}}return{length:s.length,valid:p.checkValid(P.type,j,o),year:y,weekYear:w};},isNumeric:true}),"M":D._createPatternSymbol({name:"month",format:function(o,i,u,j){var M=u?i.getUTCMonth():i.getMonth();if(o.digits==3){return j.aMonthsAbbrev[M];}else if(o.digits==4){return j.aMonthsWide[M];}else if(o.digits>4){return j.aMonthsNarrow[M];}else{return String(M+1).padStart(o.digits,"0");}},parse:function(V,P,o,j){var M,s,t,u,w=[o.aMonthsWide,o.aMonthsWideSt,o.aMonthsAbbrev,o.aMonthsAbbrevSt,o.aMonthsNarrow,o.aMonthsNarrowSt];if(P.digits<3){s=p.findNumbers(V,Math.max(P.digits,2));t=s===""||j.exactLength&&s.length<2;u=p.checkValid(P.type,t,o);M=parseInt(s)-1;if(j.strict&&(M>11||M<0)){u=false;}}else{for(var i=0;i<w.length;i++){var x=w[i];var y=p.findEntry(V,x);if(y.index!==-1){return{month:y.index,length:y.value.length};}}u=p.checkValid(P.type,true,o);}return{month:M,length:s?s.length:0,valid:u};},isNumeric:function(i){return i<3;}}),"L":D._createPatternSymbol({name:"monthStandalone",format:function(o,i,u,j){var M=u?i.getUTCMonth():i.getMonth();if(o.digits==3){return j.aMonthsAbbrevSt[M];}else if(o.digits==4){return j.aMonthsWideSt[M];}else if(o.digits>4){return j.aMonthsNarrowSt[M];}else{return String(M+1).padStart(o.digits,"0");}},parse:function(V,P,o,j){var M,s,t,u,w=[o.aMonthsWide,o.aMonthsWideSt,o.aMonthsAbbrev,o.aMonthsAbbrevSt,o.aMonthsNarrow,o.aMonthsNarrowSt];if(P.digits<3){s=p.findNumbers(V,Math.max(P.digits,2));t=s===""||j.exactLength&&s.length<2;u=p.checkValid(P.type,t,o);M=parseInt(s)-1;if(j.strict&&(M>11||M<0)){u=false;}}else{for(var i=0;i<w.length;i++){var x=w[i];var y=p.findEntry(V,x);if(y.index!==-1){return{month:y.index,length:y.value.length};}}u=p.checkValid(P.type,true,o);}return{month:M,length:s?s.length:0,valid:u};},isNumeric:function(i){return i<3;}}),"w":D._createPatternSymbol({name:"weekInYear",format:function(o,i,u,j){var w=u?i.getUTCWeek(j.oLocale,j.oFormatOptions.calendarWeekNumbering):i.getWeek(j.oLocale,j.oFormatOptions.calendarWeekNumbering);var W=w.week;var s=String(W+1);if(o.digits<3){s=s.padStart(o.digits,"0");}else{s=j.oLocaleData.getCalendarWeek(o.digits===3?"narrow":"wide",s.padStart(2,"0"));}return s;},parse:function(V,P,o,i){var s,j,t,w,u=0;if(P.digits<3){s=p.findNumbers(V,2);u=s.length;w=parseInt(s)-1;j=!s||i.exactLength&&u<2;t=p.checkValid(P.type,j,o);}else{s=o.oLocaleData.getCalendarWeek(P.digits===3?"narrow":"wide");s=s.replace("{0}","[0-9]+");var x=new RegExp(s),R=x.exec(V);if(R){u=R[0].length;w=parseInt(R[0])-1;}else{t=p.checkValid(P.type,true,o);}}return{length:u,valid:t,week:w};},isNumeric:function(i){return i<3;}}),"W":D._createPatternSymbol({name:"weekInMonth"}),"D":D._createPatternSymbol({name:"dayInYear"}),"d":D._createPatternSymbol({name:"day",format:function(o,i,u,j){var s=u?i.getUTCDate():i.getDate();return String(s).padStart(o.digits,"0");},parse:function(V,P,o,i){var s=p.findNumbers(V,Math.max(P.digits,2)),j=s===""||i.exactLength&&s.length<2,t=p.checkValid(P.type,j,o),u=parseInt(s);if(i.strict&&(u>31||u<1)){t=false;}return{day:u,length:s.length,valid:t};},isNumeric:true}),"Q":D._createPatternSymbol({name:"quarter",format:function(o,i,u,j){var Q=u?i.getUTCQuarter():i.getQuarter();if(o.digits==3){return j.aQuartersAbbrev[Q];}else if(o.digits==4){return j.aQuartersWide[Q];}else if(o.digits>4){return j.aQuartersNarrow[Q];}else{return String(Q+1).padStart(o.digits,"0");}},parse:function(V,P,o,j){var s,t,Q,u;var w=[o.aQuartersWide,o.aQuartersWideSt,o.aQuartersAbbrev,o.aQuartersAbbrevSt,o.aQuartersNarrow,o.aQuartersNarrowSt];if(P.digits<3){s=p.findNumbers(V,Math.max(P.digits,2));t=s===""||j.exactLength&&s.length<2;u=p.checkValid(P.type,t,o);Q=parseInt(s)-1;if(j.strict&&Q>3){u=false;}}else{for(var i=0;i<w.length;i++){var x=w[i];var y=p.findEntry(V,x);if(y.index!==-1){return{quarter:y.index,length:y.value.length};}}u=p.checkValid(P.type,true,o);}return{length:s?s.length:0,quarter:Q,valid:u};},isNumeric:function(i){return i<3;}}),"q":D._createPatternSymbol({name:"quarterStandalone",format:function(o,i,u,j){var Q=u?i.getUTCQuarter():i.getQuarter();if(o.digits==3){return j.aQuartersAbbrevSt[Q];}else if(o.digits==4){return j.aQuartersWideSt[Q];}else if(o.digits>4){return j.aQuartersNarrowSt[Q];}else{return String(Q+1).padStart(o.digits,"0");}},parse:function(V,P,o,j){var s,t,Q,u;var w=[o.aQuartersWide,o.aQuartersWideSt,o.aQuartersAbbrev,o.aQuartersAbbrevSt,o.aQuartersNarrow,o.aQuartersNarrowSt];if(P.digits<3){s=p.findNumbers(V,Math.max(P.digits,2));t=s===""||j.exactLength&&s.length<2;u=p.checkValid(P.type,t,o);Q=parseInt(s)-1;if(j.strict&&Q>3){u=false;}}else{for(var i=0;i<w.length;i++){var x=w[i];var y=p.findEntry(V,x);if(y.index!==-1){return{quarter:y.index,length:y.value.length};}}u=p.checkValid(P.type,true,o);}return{length:s?s.length:0,quarter:Q,valid:u};},isNumeric:function(i){return i<3;}}),"F":D._createPatternSymbol({name:"dayOfWeekInMonth"}),"E":D._createPatternSymbol({name:"dayNameInWeek",format:function(o,i,u,j){var s=u?i.getUTCDay():i.getDay();if(o.digits<4){return j.aDaysAbbrev[s];}else if(o.digits==4){return j.aDaysWide[s];}else if(o.digits==5){return j.aDaysNarrow[s];}else{return j.aDaysShort[s];}},parse:function(V,P,o,j){var s=[o.aDaysWide,o.aDaysWideSt,o.aDaysAbbrev,o.aDaysAbbrevSt,o.aDaysShort,o.aDaysShortSt,o.aDaysNarrow,o.aDaysNarrowSt];for(var i=0;i<s.length;i++){var t=s[i];var u=p.findEntry(V,t);if(u.index!==-1){return{dayOfWeek:u.index,length:u.value.length};}}}}),"c":D._createPatternSymbol({name:"dayNameInWeekStandalone",format:function(o,i,u,j){var s=u?i.getUTCDay():i.getDay();if(o.digits<4){return j.aDaysAbbrevSt[s];}else if(o.digits==4){return j.aDaysWideSt[s];}else if(o.digits==5){return j.aDaysNarrowSt[s];}else{return j.aDaysShortSt[s];}},parse:function(V,P,o,j){var s=[o.aDaysWide,o.aDaysWideSt,o.aDaysAbbrev,o.aDaysAbbrevSt,o.aDaysShort,o.aDaysShortSt,o.aDaysNarrow,o.aDaysNarrowSt];for(var i=0;i<s.length;i++){var t=s[i];var u=p.findEntry(V,t);if(u.index!==-1){return{day:u.index,length:u.value.length};}}}}),"u":D._createPatternSymbol({name:"dayNumberOfWeek",format:function(o,i,u,j){var s=u?i.getUTCDay():i.getDay();return j._adaptDayOfWeek(s);},parse:function(V,P,o,i){var s=p.findNumbers(V,P.digits),j=i.exactLength&&s.length!==P.digits;return{dayNumberOfWeek:parseInt(s),length:s.length,valid:p.checkValid(P.type,j,o)};},isNumeric:true}),"a":D._createPatternSymbol({name:"amPmMarker",format:function(o,i,u,j){var s=u?i.getUTCDayPeriod():i.getDayPeriod();return j.aDayPeriods[s];},parse:function(V,P,o,i){var j;var s;var A=o.aDayPeriods[0],t=o.aDayPeriods[1];var u=/[aApP](?:\.)?[mM](?:\.)?/;var M=V.match(u);var w=(M&&M.index===0);if(w){V=M[0].replace(/\./g,"").toLowerCase()+V.substring(M[0].length);A=A.replace(/\./g,"").toLowerCase();t=t.replace(/\./g,"").toLowerCase();}if(V.indexOf(A)===0){j=false;s=(w?M[0].length:A.length);}else if(V.indexOf(t)===0){j=true;s=(w?M[0].length:t.length);}return{pm:j,length:s};}}),"H":D._createPatternSymbol({name:"hour0_23",format:function(o,i,u,j){var H=u?i.getUTCHours():i.getHours();return String(H).padStart(o.digits,"0");},parse:function(V,P,o,i){var s=p.findNumbers(V,Math.max(P.digits,2)),H=parseInt(s),j=s===""||i.exactLength&&s.length<2,t=p.checkValid(P.type,j,o);if(i.strict&&H>23){t=false;}return{hour:H,length:s.length,valid:t};},isNumeric:true}),"k":D._createPatternSymbol({name:"hour1_24",format:function(o,i,u,j){var H=u?i.getUTCHours():i.getHours();var s=(H===0?"24":String(H));return s.padStart(o.digits,"0");},parse:function(V,P,o,i){var s=p.findNumbers(V,Math.max(P.digits,2)),H=parseInt(s),j=s===""||i.exactLength&&s.length<2,t=p.checkValid(P.type,j,o);if(H==24){H=0;}if(i.strict&&H>23){t=false;}return{hour:H,length:s.length,valid:t};},isNumeric:true}),"K":D._createPatternSymbol({name:"hour0_11",format:function(o,i,u,j){var H=u?i.getUTCHours():i.getHours();var s=String(H>11?H-12:H);return s.padStart(o.digits,"0");},parse:function(V,P,o,i){var s=p.findNumbers(V,Math.max(P.digits,2)),H=parseInt(s),j=s===""||i.exactLength&&s.length<2,t=p.checkValid(P.type,j,o);if(i.strict&&H>11){t=false;}return{hour:H,length:s.length,valid:t};},isNumeric:true}),"h":D._createPatternSymbol({name:"hour1_12",format:function(o,i,u,j){var H=u?i.getUTCHours():i.getHours();var s;if(H>12){s=String(H-12);}else if(H==0){s="12";}else{s=String(H);}return s.padStart(o.digits,"0");},parse:function(V,P,o,i){var j=i.dateValue.pm,s=p.findNumbers(V,Math.max(P.digits,2)),H=parseInt(s),t=s===""||i.exactLength&&s.length<2,u=p.checkValid(P.type,t,o);if(H==12){H=0;j=(j===undefined)?true:j;}if(i.strict&&H>11){u=false;}return{hour:H,length:s.length,pm:j,valid:u};},isNumeric:true}),"m":D._createPatternSymbol({name:"minute",format:function(o,i,u,j){var M=u?i.getUTCMinutes():i.getMinutes();return String(M).padStart(o.digits,"0");},parse:function(V,P,o,i){var s=p.findNumbers(V,Math.max(P.digits,2)),M=parseInt(s),j=s===""||i.exactLength&&s.length<2,t=p.checkValid(P.type,j,o);if(i.strict&&M>59){t=false;}return{length:s.length,minute:M,valid:t};},isNumeric:true}),"s":D._createPatternSymbol({name:"second",format:function(o,i,u,j){var s=u?i.getUTCSeconds():i.getSeconds();return String(s).padStart(o.digits,"0");},parse:function(V,P,o,i){var E=Math.max(P.digits,2),s=p.findNumbers(V,E),j=s===""||i.exactLength&&s.length<E,S=parseInt(s),t=p.checkValid(P.type,j,o);if(i.strict&&S>59){t=false;}return{length:s.length,second:S,valid:t};},isNumeric:true}),"S":D._createPatternSymbol({name:"fractionalsecond",format:function(o,i,u,j){var M=u?i.getUTCMilliseconds():i.getMilliseconds();var s=String(M);var t=s.padStart(3,"0");t=t.substr(0,o.digits);t=t.padEnd(o.digits,"0");return t;},parse:function(V,P,o,i){var s=p.findNumbers(V,P.digits),j=s.length,t=i.exactLength&&j<P.digits;s=s.substr(0,3);s=s.padEnd(3,"0");var M=parseInt(s);return{length:j,millisecond:M,valid:p.checkValid(P.type,t,o)};},isNumeric:true}),"z":D._createPatternSymbol({name:"timezoneGeneral",format:function(o,i,u,j){if(o.digits>3&&i.getTimezoneLong()){return i.getTimezoneLong();}else if(i.getTimezoneShort()){return i.getTimezoneShort();}var t="GMT";var T=Math.abs(i.getTimezoneOffset());var P=i.getTimezoneOffset()>0;var H=Math.floor(T/60);var M=T%60;if(!u&&T!=0){t+=(P?"-":"+");t+=String(H).padStart(2,"0");t+=":";t+=String(M).padStart(2,"0");}else{t+="Z";}return t;},parse:function(V,P,o,i){var j=0;var t;var T=V.substring(0,3);if(T==="GMT"||T==="UTC"){j=3;}else if(V.substring(0,2)==="UT"){j=2;}else if(V.charAt(0)=="Z"){j=1;t=0;}else{return{error:"cannot be parsed correcly by sap.ui.core.format.DateFormat: The given timezone is not supported!"};}if(V.charAt(0)!="Z"){var s=p.parseTZ(V.substr(j),true);j+=s.length;t=s.tzDiff;}return{length:j,tzDiff:t};}}),"Z":D._createPatternSymbol({name:"timezoneRFC822",format:function(o,i,u,j){var t=Math.abs(i.getTimezoneOffset());var P=i.getTimezoneOffset()>0;var H=Math.floor(t/60);var M=t%60;var T="";if(!u&&t!=0){T+=(P?"-":"+");T+=String(H).padStart(2,"0");T+=String(M).padStart(2,"0");}return T;},parse:function(V,P,o,i){return p.parseTZ(V,false);}}),"X":D._createPatternSymbol({name:"timezoneISO8601",format:function(o,i,u,j){var t=Math.abs(i.getTimezoneOffset());var P=i.getTimezoneOffset()>0;var H=Math.floor(t/60);var M=t%60;var T="";if(!u&&t!=0){T+=(P?"-":"+");T+=String(H).padStart(2,"0");T+=":";T+=String(M).padStart(2,"0");}else{T+="Z";}return T;},parse:function(V,P,o,i){if(V.charAt(0)=="Z"){return{length:1,tzDiff:0};}else{return p.parseTZ(V,true);}}})};D.prototype._format=function(j,u){if(this.oFormatOptions.relative){var R=this.formatRelative(j,u,this.oFormatOptions.relativeRange);if(R){return R;}}var s=this.oFormatOptions.calendarType;var o=U.getInstance(j,s);var B=[],P,t,S;for(var i=0;i<this.aFormatArray.length;i++){P=this.aFormatArray[i];S=P.symbol||"";B.push(this.oSymbols[S].format(P,o,u,this));}t=B.join("");if(sap.ui.getCore().getConfiguration().getOriginInfo()){t=new String(t);t.originInfo={source:"Common Locale Data Repository",locale:this.oLocale.toString(),style:this.oFormatOptions.style,pattern:this.oFormatOptions.pattern};}return t;};D.prototype.format=function(j,u){var s=this.oFormatOptions.calendarType,R;if(u===undefined){u=this.oFormatOptions.UTC;}if(Array.isArray(j)){if(!this.oFormatOptions.interval){e.error("Non-interval DateFormat can't format more than one date instance.");return"";}if(j.length!==2){e.error("Interval DateFormat can only format with 2 date instances but "+j.length+" is given.");return"";}if(this.oFormatOptions.singleIntervalValue){if(j[0]===null){e.error("First date instance which is passed to the interval DateFormat shouldn't be null.");return"";}if(j[1]===null){R=this._format(j[0],u);}}if(R===undefined){var V=j.every(function(J){return J&&!isNaN(J.getTime());});if(!V){e.error("At least one date instance which is passed to the interval DateFormat isn't valid.");return"";}R=this._formatInterval(j,u);}}else{if(!j||isNaN(j.getTime())){e.error("The given date instance isn't valid.");return"";}if(this.oFormatOptions.interval){e.error("Interval DateFormat expects an array with two dates for the first argument but only one date is given.");return"";}R=this._format(j,u);}if(s==C.Japanese&&this.oLocale.getLanguage()==="ja"){R=R.replace(/(^|[^\d])1年/g,"$1元年");}return R;};D.prototype._formatInterval=function(j,u){var s=this.oFormatOptions.calendarType;var o=U.getInstance(j[0],s);var t=U.getInstance(j[1],s);var w;var P;var S;var B=[];var x;var y=[];var z=this._getGreatestDiffField([o,t],u);if(!z){return this._format(j[0],u);}if(this.oFormatOptions.format){x=this.oLocaleData.getCustomIntervalPattern(this.oFormatOptions.format,z,s);}else{x=this.oLocaleData.getCombinedIntervalPattern(this.oFormatOptions.pattern,s);}y=this.parseCldrDatePattern(x);w=o;for(var i=0;i<y.length;i++){P=y[i];S=P.symbol||"";if(P.repeat){w=t;}B.push(this.oSymbols[S].format(P,w,u,this));}return B.join("");};var F={Era:"Era",FullYear:"Year",Quarter:"Quarter",Month:"Month",Week:"Week",Date:"Day",DayPeriod:"DayPeriod",Hours:"Hour",Minutes:"Minute",Seconds:"Second"};D.prototype._getGreatestDiffField=function(i,u){var j=false,o={};this.aIntervalCompareFields.forEach(function(s){var G="get"+(u?"UTC":""),M=G+s,t=F[s],w=i[0][M].apply(i[0]),T=i[1][M].apply(i[1]);if(!d(w,T)){j=true;o[t]=true;}});if(j){return o;}return null;};D.prototype._parse=function(V,j,u,s){var N,P,o,R,S,t={valid:true},I=0,w={formatArray:j,dateValue:t,strict:s},x=this;function y(A){return x.oSymbols[A.symbol||""];}function z(A){return!!A&&y(A).isNumeric(A.digits);}for(var i=0;i<j.length;i++){S=V.substr(I);P=j[i];o=j[i-1];N=j[i+1];w.index=i;w.exactLength=z(P)&&(z(o)||z(N));R=y(P).parse(S,P,this,w)||{};t=q.extend(t,R);if(R.valid===false){break;}I+=R.length||0;}t.index=I;if(t.pm){t.hour+=12;}if(t.dayNumberOfWeek===undefined&&t.dayOfWeek!==undefined){t.dayNumberOfWeek=this._adaptDayOfWeek(t.dayOfWeek);}if(t.quarter!==undefined&&t.month===undefined&&t.day===undefined){t.month=3*t.quarter;t.day=1;}return t;};D.prototype._parseInterval=function(V,s,u,S){var j,R,o;this.intervalPatterns.some(function(P){var t=this.parseCldrDatePattern(P);R=undefined;for(var i=0;i<t.length;i++){if(t[i].repeat){R=i;break;}}if(R===undefined){o=this._parse(V,t,u,S);if(o.index===0||o.index<V.length){o.valid=false;}if(o.valid===false){return;}j=[o,o];return true;}else{j=[];o=this._parse(V,t.slice(0,R),u,S);if(o.valid===false){return;}j.push(o);var w=o.index;o=this._parse(V.substring(w),t.slice(R),u,S);if(o.index===0||o.index+w<V.length){o.valid=false;}if(o.valid===false){return;}j.push(o);return true;}}.bind(this));return j;};var h=function(o,s,u,S,i,j){var t,y=typeof o.year==="number"?o.year:1970;if(o.valid){if(u||o.tzDiff!==undefined){t=U.getInstance(new Date(0),s);t.setUTCEra(o.era||U.getCurrentEra(s));t.setUTCFullYear(y);t.setUTCMonth(o.month||0);t.setUTCDate(o.day||1);t.setUTCHours(o.hour||0);t.setUTCMinutes(o.minute||0);t.setUTCSeconds(o.second||0);t.setUTCMilliseconds(o.millisecond||0);if(S&&(o.day||1)!==t.getUTCDate()){o.valid=false;t=undefined;}else{if(o.tzDiff){t.setUTCMinutes((o.minute||0)+o.tzDiff);}if(o.week!==undefined&&(o.month===undefined||o.day===undefined)){t.setUTCWeek({year:o.weekYear||o.year,week:o.week},j,i.calendarWeekNumbering);if(o.dayNumberOfWeek!==undefined){t.setUTCDate(t.getUTCDate()+o.dayNumberOfWeek-1);}}}}else{t=U.getInstance(new Date(1970,0,1,0,0,0),s);t.setEra(o.era||U.getCurrentEra(s));t.setFullYear(y);t.setMonth(o.month||0);t.setDate(o.day||1);t.setHours(o.hour||0);t.setMinutes(o.minute||0);t.setSeconds(o.second||0);t.setMilliseconds(o.millisecond||0);if(S&&(o.day||1)!==t.getDate()){o.valid=false;t=undefined;}else if(o.week!==undefined&&(o.month===undefined||o.day===undefined)){t.setWeek({year:o.weekYear||o.year,week:o.week},j,i.calendarWeekNumbering);if(o.dayNumberOfWeek!==undefined){t.setDate(t.getDate()+o.dayNumberOfWeek-1);}}}if(o.valid){t=t.getJSDate();return t;}}return null;};function k(o,i){if(o===i){return o;}var M={};Object.keys(o).forEach(function(K){M[K]=o[K];});Object.keys(i).forEach(function(K){if(!M.hasOwnProperty(K)){M[K]=i[K];}});return M;}function l(s,E){if(s.getTime()>E.getTime()){return false;}return true;}D.prototype.parse=function(V,u,s){V=q.trim(V);var o;var i=this.oFormatOptions.calendarType;if(u===undefined){u=this.oFormatOptions.UTC;}if(s===undefined){s=this.oFormatOptions.strictParsing;}if(i==C.Japanese&&this.oLocale.getLanguage()==="ja"){V=V.replace(/元年/g,"1年");}if(!this.oFormatOptions.interval){var j=this.parseRelative(V,u);if(j){return j;}o=this._parse(V,this.aFormatArray,u,s);if(o.index===0||o.index<V.length){o.valid=false;}j=h(o,i,u,s,this.oFormatOptions,this.oLocale);if(j){return j;}}else{var t=this._parseInterval(V,i,u,s);var J,w;if(t&&t.length==2){var x=k(t[0],t[1]);var y=k(t[1],t[0]);J=h(x,i,u,s,this.oFormatOptions,this.oLocale);w=h(y,i,u,s,this.oFormatOptions,this.oLocale);if(J&&w){if(this.oFormatOptions.singleIntervalValue&&J.getTime()===w.getTime()){return[J,null];}var z=l(J,w);if(s&&!z){e.error("StrictParsing: Invalid date range. The given end date is before the start date.");return[null,null];}return[J,w];}}}if(!this.bIsFallback){var A;this.aFallbackFormats.every(function(B){A=B.parse(V,u,s);if(Array.isArray(A)){return!(A[0]&&A[1]);}else{return!A;}});return A;}if(!this.oFormatOptions.interval){return null;}else{return[null,null];}};D.prototype.parseCldrDatePattern=function(P){if(m[P]){return m[P];}var j=[],i,Q=false,o=null,s="",N="",A={},I=false;for(i=0;i<P.length;i++){var t=P.charAt(i),u,w,x;if(Q){if(t=="'"){w=P.charAt(i-1);x=P.charAt(i-2);u=P.charAt(i+1);if(w=="'"&&x!="'"){Q=false;}else if(u=="'"){i+=1;}else{Q=false;continue;}}if(s=="text"){o.value+=t;}else{o={type:"text",value:t};j.push(o);s="text";}}else{if(t=="'"){Q=true;}else if(this.oSymbols[t]){N=this.oSymbols[t].name;if(s==N){o.digits++;}else{o={type:N,symbol:t,digits:1};j.push(o);s=N;if(!I){if(A[N]){o.repeat=true;I=true;}else{A[N]=true;}}}}else{if(s=="text"){o.value+=t;}else{o={type:"text",value:t};j.push(o);s="text";}}}}m[P]=j;return j;};D.prototype.parseRelative=function(V,u){var P,E,j,R,o;if(!V){return null;}P=this.oLocaleData.getRelativePatterns(this.aRelativeParseScales,this.oFormatOptions.relativeStyle);for(var i=0;i<P.length;i++){E=P[i];j=new RegExp("^\\s*"+E.pattern.replace(/\{0\}/,"(\\d+)")+"\\s*$","i");R=j.exec(V);if(R){if(E.value!==undefined){return s(E.value,E.scale);}else{o=parseInt(R[1]);return s(o*E.sign,E.scale);}}}function s(t,S){var T,w=new Date(),J;if(u){T=w.getTime();}else{T=Date.UTC(w.getFullYear(),w.getMonth(),w.getDate(),w.getHours(),w.getMinutes(),w.getSeconds(),w.getMilliseconds());}J=new Date(T);switch(S){case"second":J.setUTCSeconds(J.getUTCSeconds()+t);break;case"minute":J.setUTCMinutes(J.getUTCMinutes()+t);break;case"hour":J.setUTCHours(J.getUTCHours()+t);break;case"day":J.setUTCDate(J.getUTCDate()+t);break;case"week":J.setUTCDate(J.getUTCDate()+t*7);break;case"month":J.setUTCMonth(J.getUTCMonth()+t);break;case"quarter":J.setUTCMonth(J.getUTCMonth()+t*3);break;case"year":J.setUTCFullYear(J.getUTCFullYear()+t);break;}if(u){return J;}else{return new Date(J.getUTCFullYear(),J.getUTCMonth(),J.getUTCDate(),J.getUTCHours(),J.getUTCMinutes(),J.getUTCSeconds(),J.getUTCMilliseconds());}}};D.prototype.formatRelative=function(j,u,R){var t=new Date(),o,s=this.oFormatOptions.relativeScale||"day",i,P,w;w=(j.getTime()-t.getTime())/1000;if(this.oFormatOptions.relativeScale=="auto"){s=this._getScale(w,this.aRelativeScales);}if(!R){R=this._mRanges[s];}if(s=="year"||s=="month"||s=="day"){t=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()));o=new Date(0);if(u){o.setUTCFullYear(j.getUTCFullYear(),j.getUTCMonth(),j.getUTCDate());}else{o.setUTCFullYear(j.getFullYear(),j.getMonth(),j.getDate());}j=o;}i=this._getDifference(s,[t,j]);if(this.oFormatOptions.relativeScale!="auto"&&(i<R[0]||i>R[1])){return null;}P=this.oLocaleData.getRelativePattern(s,i,w>0,this.oFormatOptions.relativeStyle);return f(P,[Math.abs(i)]);};D.prototype._mRanges={second:[-60,60],minute:[-60,60],hour:[-24,24],day:[-6,6],week:[-4,4],month:[-12,12],year:[-10,10]};D.prototype._mScales={second:1,minute:60,hour:3600,day:86400,week:604800,month:2592000,quarter:7776000,year:31536000};D.prototype._getScale=function(j,s){var S,t;j=Math.abs(j);for(var i=0;i<s.length;i++){t=s[i];if(j>=this._mScales[t]){S=t;break;}}if(!S){S=s[s.length-1];}return S;};function n(o,s){var j=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],M;for(var i=s;i<j.length;i++){M="set"+j[s];o[M].apply(o,[0]);}}var r={year:function(o,t){return t.getFullYear()-o.getFullYear();},month:function(o,t){return t.getMonth()-o.getMonth()+(this.year(o,t)*12);},week:function(o,t,i){var j=i._adaptDayOfWeek(o.getDay());var T=i._adaptDayOfWeek(t.getDay());n(o,3);n(t,3);return(t.getTime()-o.getTime()-(T-j)*i._mScales.day*1000)/(i._mScales.week*1000);},day:function(o,t,i){n(o,3);n(t,3);return(t.getTime()-o.getTime())/(i._mScales.day*1000);},hour:function(o,t,i){n(o,4);n(t,4);return(t.getTime()-o.getTime())/(i._mScales.hour*1000);},minute:function(o,t,i){n(o,5);n(t,5);return(t.getTime()-o.getTime())/(i._mScales.minute*1000);},second:function(o,t,i){n(o,6);n(t,6);return(t.getTime()-o.getTime())/(i._mScales.second*1000);}};D.prototype._adaptDayOfWeek=function(i){var s=this.oFormatOptions.calendarWeekNumbering;var j=b.getWeekConfigurationValues(s,this.oLocale).firstDayOfWeek;var o=i-(j-1);if(o<=0){o+=7;}return o;};D.prototype._getDifference=function(s,i){var o=i[0];var t=i[1];return Math.round(r[s](o,t,this));};D.prototype.getAllowedCharacters=function(j){if(this.oFormatOptions.relative){return"";}var A="";var N=false;var o=false;var P;for(var i=0;i<j.length;i++){P=j[i];switch(P.type){case"text":if(A.indexOf(P.value)<0){A+=P.value;}break;case"day":case"year":case"weekYear":case"dayNumberOfWeek":case"weekInYear":case"hour0_23":case"hour1_24":case"hour0_11":case"hour1_12":case"minute":case"second":case"fractionalsecond":if(!N){A+="0123456789";N=true;}break;case"month":case"monthStandalone":if(P.digits<3){if(!N){A+="0123456789";N=true;}}else{o=true;}break;default:o=true;break;}}if(o){A="";}return A;};D.prototype.getPlaceholderText=function(){var R=sap.ui.getCore().getLibraryResourceBundle();return R.getText("date.placeholder",[this.format.apply(this,this.getSampleValue())]);};D.prototype.getSampleValue=function(){var o,i=new Date().getFullYear(),u=this.oFormatOptions.UTC;function j(y,M,s,H,t,S,w){return u?new Date(Date.UTC(y,M,s,H,t,S,w)):new Date(y,M,s,H,t,S,w);}o=j(i,11,31,23,59,58,123);if(this.oFormatOptions.interval){return[[j(i,11,22,9,12,34,567),o]];}return[o];};return D;},true);
sap.ui.predefine('sap/ui/core/format/NumberFormat',['sap/ui/base/Object','sap/ui/core/Locale','sap/ui/core/LocaleData','sap/base/Log','sap/base/assert','sap/ui/thirdparty/jquery'],function(B,L,a,b,c,q){"use strict";var N=B.extend("sap.ui.core.format.NumberFormat",{constructor:function(F){throw new Error();}});var r=/0+(\.0+)?/;var d=/^0+$/;var n={INTEGER:"integer",FLOAT:"float",CURRENCY:"currency",UNIT:"unit",PERCENT:"percent"};var R={FLOOR:"floor",CEILING:"ceiling",TOWARDS_ZERO:"towards_zero",AWAY_FROM_ZERO:"away_from_zero",HALF_FLOOR:"half_floor",HALF_CEILING:"half_ceiling",HALF_TOWARDS_ZERO:"half_towards_zero",HALF_AWAY_FROM_ZERO:"half_away_from_zero"};var m={};m[R.FLOOR]=Math.floor;m[R.CEILING]=Math.ceil;m[R.TOWARDS_ZERO]=function(i){return i>0?Math.floor(i):Math.ceil(i);};m[R.AWAY_FROM_ZERO]=function(i){return i>0?Math.ceil(i):Math.floor(i);};m[R.HALF_TOWARDS_ZERO]=function(i){return i>0?Math.ceil(i-0.5):Math.floor(i+0.5);};m[R.HALF_AWAY_FROM_ZERO]=function(i){return i>0?Math.floor(i+0.5):Math.ceil(i-0.5);};m[R.HALF_FLOOR]=function(i){return Math.ceil(i-0.5);};m[R.HALF_CEILING]=Math.round;N.RoundingMode=R;N.oDefaultIntegerFormat={minIntegerDigits:1,maxIntegerDigits:99,minFractionDigits:0,maxFractionDigits:0,groupingEnabled:false,groupingSize:3,groupingSeparator:",",decimalSeparator:".",plusSign:"+",minusSign:"-",isInteger:true,type:n.INTEGER,showMeasure:false,style:"standard",parseAsString:false,roundingMode:N.RoundingMode.TOWARDS_ZERO,emptyString:NaN,showScale:true};N.oDefaultFloatFormat={minIntegerDigits:1,maxIntegerDigits:99,minFractionDigits:0,maxFractionDigits:99,groupingEnabled:true,groupingSize:3,groupingSeparator:",",decimalSeparator:".",plusSign:"+",minusSign:"-",isInteger:false,type:n.FLOAT,showMeasure:false,style:"standard",parseAsString:false,roundingMode:N.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true};N.oDefaultPercentFormat={minIntegerDigits:1,maxIntegerDigits:99,minFractionDigits:0,maxFractionDigits:99,groupingEnabled:true,groupingSize:3,groupingSeparator:",",decimalSeparator:".",plusSign:"+",minusSign:"-",percentSign:"%",isInteger:false,type:n.PERCENT,showMeasure:false,style:"standard",parseAsString:false,roundingMode:N.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true};N.oDefaultCurrencyFormat={minIntegerDigits:1,maxIntegerDigits:99,groupingEnabled:true,groupingSize:3,groupingSeparator:",",decimalSeparator:".",plusSign:"+",minusSign:"-",isInteger:false,type:n.CURRENCY,showMeasure:true,currencyCode:true,currencyContext:'standard',style:"standard",customCurrencies:undefined,parseAsString:false,roundingMode:N.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true,ignorePrecision:true};N.oDefaultUnitFormat={minIntegerDigits:1,maxIntegerDigits:99,groupingEnabled:true,groupingSize:3,groupingSeparator:",",decimalSeparator:".",plusSign:"+",minusSign:"-",isInteger:false,type:n.UNIT,showMeasure:true,style:"standard",customUnits:undefined,allowedUnits:undefined,parseAsString:false,roundingMode:N.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true};N.getInstance=function(F,i){return this.getFloatInstance(F,i);};N.getFloatInstance=function(F,i){var s=this.createInstance(F,i),t=this.getLocaleFormatOptions(s.oLocaleData,n.FLOAT);s.oFormatOptions=q.extend(false,{},this.oDefaultFloatFormat,t,F);return s;};N.getIntegerInstance=function(F,i){var s=this.createInstance(F,i),t=this.getLocaleFormatOptions(s.oLocaleData,n.INTEGER);s.oFormatOptions=q.extend(false,{},this.oDefaultIntegerFormat,t,F);return s;};N.getCurrencyInstance=function(F,i){var s=this.createInstance(F,i),C=F&&F.currencyContext,t=this.getLocaleFormatOptions(s.oLocaleData,n.CURRENCY,C);s.oFormatOptions=q.extend(false,{},this.oDefaultCurrencyFormat,t,F);s._defineCustomCurrencySymbols();return s;};N.getUnitInstance=function(F,i){var s=this.createInstance(F,i),t=this.getLocaleFormatOptions(s.oLocaleData,n.UNIT);s.oFormatOptions=q.extend(false,{},this.oDefaultUnitFormat,t,F);return s;};N.getPercentInstance=function(F,i){var s=this.createInstance(F,i),t=this.getLocaleFormatOptions(s.oLocaleData,n.PERCENT);s.oFormatOptions=q.extend(false,{},this.oDefaultPercentFormat,t,F);return s;};N.createInstance=function(F,i){var s=Object.create(this.prototype),P;if(F instanceof L){i=F;F=undefined;}if(!i){i=sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();}s.oLocale=i;s.oLocaleData=a.getInstance(i);s.oOriginalFormatOptions=F;if(F){if(F.pattern){P=this.parseNumberPattern(F.pattern);q.each(P,function(t,O){F[t]=O;});}if(F.emptyString!==undefined){c(F.emptyString===""||F.emptyString===0||F.emptyString===null||F.emptyString!==F.emptyString,"The format option 'emptyString' must be either 0, null or NaN");}}return s;};N.getDefaultUnitPattern=function(s){return"{0} "+s;};N.getLocaleFormatOptions=function(i,t,C){var s,u;switch(t){case n.PERCENT:u=i.getPercentPattern();break;case n.CURRENCY:u=i.getCurrencyPattern(C);break;case n.UNIT:u=i.getDecimalPattern();break;default:u=i.getDecimalPattern();}s=this.parseNumberPattern(u);s.plusSign=i.getNumberSymbol("plusSign");s.minusSign=i.getNumberSymbol("minusSign");s.decimalSeparator=i.getNumberSymbol("decimal");s.groupingSeparator=i.getNumberSymbol("group");s.percentSign=i.getNumberSymbol("percentSign");s.pattern=u;switch(t){case n.UNIT:case n.FLOAT:case n.PERCENT:s.minFractionDigits=0;s.maxFractionDigits=99;break;case n.INTEGER:s.minFractionDigits=0;s.maxFractionDigits=0;s.groupingEnabled=false;break;case n.CURRENCY:s.minFractionDigits=undefined;s.maxFractionDigits=undefined;break;}return s;};N.parseNumberPattern=function(F){var M=0,s=0,t=0,G=false,u=0,v=0,S=F.indexOf(";"),w={Integer:0,Fraction:1},x=w.Integer;if(S!==-1){F=F.substring(0,S);}for(var i=0;i<F.length;i++){var C=F[i];switch(C){case",":if(G){u=v;v=0;}G=true;break;case".":x=w.Fraction;break;case"0":if(x===w.Integer){M++;if(G){v++;}}else{s++;t++;}break;case"#":if(x===w.Integer){if(G){v++;}}else{t++;}break;}}if(!u){u=v;v=0;}return{minIntegerDigits:M,minFractionDigits:s,maxFractionDigits:t,groupingEnabled:G,groupingSize:u,groupingBaseSize:v};};N.prototype._defineCustomCurrencySymbols=function(){var O=this.oFormatOptions;var C=this.oLocaleData.getCurrencySymbols();var F=function(s,i){var u=[];var S;for(var K in s){S=s[K];if(u.indexOf(S)===-1){u.push(S);}else if(S!==undefined){i[S]=true;b.error("Symbol '"+S+"' is defined multiple times in custom currencies.",undefined,"NumberFormat");}}};if(O.customCurrencies&&typeof O.customCurrencies==="object"){this.mKnownCurrencySymbols={};this.mKnownCurrencyCodes={};Object.keys(O.customCurrencies).forEach(function(K){if(O.customCurrencies[K].symbol){this.mKnownCurrencySymbols[K]=O.customCurrencies[K].symbol;}else{var i=O.customCurrencies[K].isoCode;if(i){this.mKnownCurrencySymbols[K]=C[i];}}this.mKnownCurrencyCodes[K]=K;}.bind(this));}else{this.mKnownCurrencySymbols=C;this.mKnownCurrencyCodes=this.oLocaleData.getCustomCurrencyCodes();}this.mDuplicatedSymbols={};F(this.mKnownCurrencySymbols,this.mDuplicatedSymbols);};N.prototype.format=function(v,M){if(Array.isArray(v)){M=v[1];v=v[0];}var i="",F="",G="",s="",t="",P="",u=0,w=0,x=0,y=0,z=v<0,D=-1,O=q.extend({},this.oFormatOptions),A=this.oOriginalFormatOptions,I=O.type===n.CURRENCY&&M==="INR"&&this.oLocale.getLanguage()==="en"&&this.oLocale.getRegion()==="IN",C,S,E,H,U,J;if(v===O.emptyString||(isNaN(v)&&isNaN(O.emptyString))){return"";}if(M&&O.customCurrencies&&!O.customCurrencies[M]){b.error("Currency '"+M+"' is unknown.");return"";}if(O.type===n.UNIT){if(O.customUnits&&typeof O.customUnits==="object"){U=O.customUnits[M];}else{J=this.oLocaleData.getUnitFromMapping(M)||M;U=this.oLocaleData.getUnitFormat(J);}O.decimals=(U&&(typeof U.decimals==="number"&&U.decimals>=0))?U.decimals:O.decimals;O.precision=(U&&(typeof U.precision==="number"&&U.precision>=0))?U.precision:O.precision;}if(O.type==n.CURRENCY){if(O.customCurrencies&&O.customCurrencies[M]){O.decimals=O.customCurrencies[M].decimals!==undefined?O.customCurrencies[M].decimals:O.decimals;}}if(O.decimals!==undefined){O.minFractionDigits=O.decimals;O.maxFractionDigits=O.decimals;}if(O.shortLimit===undefined||Math.abs(v)>=O.shortLimit){E=O.shortRefNumber===undefined?v:O.shortRefNumber;S=g(E,O,this.oLocaleData,I);if(S&&S.formatString!="0"){v=v/S.magnitude;if(O.shortDecimals!==undefined){O.minFractionDigits=O.shortDecimals;O.maxFractionDigits=O.shortDecimals;}else{if(A.minFractionDigits===undefined&&A.maxFractionDigits===undefined&&A.decimals===undefined&&A.precision===undefined&&A.pattern===undefined){O.precision=2;O.minFractionDigits=0;O.maxFractionDigits=99;}if(A.maxFractionDigits===undefined&&A.decimals===undefined){O.maxFractionDigits=99;}}O.roundingMode=N.RoundingMode.HALF_AWAY_FROM_ZERO;}}if((S||!O.ignorePrecision)&&O.precision!==undefined){O.maxFractionDigits=Math.min(O.maxFractionDigits,k(v,O.precision));O.minFractionDigits=Math.min(O.minFractionDigits,O.maxFractionDigits);}if(O.type==n.PERCENT){v=N._shiftDecimalPoint(v,2);}if(O.type==n.CURRENCY){var K=this.oLocaleData.getCurrencyDigits(M);if(O.customCurrencies&&O.customCurrencies[M]&&O.customCurrencies[M].decimals!==undefined){K=O.customCurrencies[M].decimals;}if(O.maxFractionDigits===undefined){O.maxFractionDigits=K;}if(O.minFractionDigits===undefined){O.minFractionDigits=K;}}if(typeof v==="number"){v=h(v,O.maxFractionDigits,O.roundingMode);}if(v==0){z=false;}t=this.convertToDecimal(v);if(t=="NaN"){return t;}if(z){t=t.substr(1);}D=t.indexOf(".");if(D>-1){i=t.substr(0,D);F=t.substr(D+1);}else{i=t;}if(i.length<O.minIntegerDigits){i=i.padStart(O.minIntegerDigits,"0");}else if(i.length>O.maxIntegerDigits){i="".padStart(O.maxIntegerDigits,"?");}if(F.length<O.minFractionDigits){F=F.padEnd(O.minFractionDigits,"0");}else if(F.length>O.maxFractionDigits){F=F.substr(0,O.maxFractionDigits);}w=i.length;if(O.groupingEnabled){if(I){var Q=[3,2,2],T,V=0;u=i.length;while(u>0){T=Q[V%3];u-=T;if(V>0){G=O.groupingSeparator+G;}if(u<0){T+=u;u=0;}G=i.substr(u,T)+G;V++;}}else{x=O.groupingSize;y=O.groupingBaseSize||x;u=Math.max(w-y,0)%x||x;G=i.substr(0,u);while(w-u>=y){G+=O.groupingSeparator;G+=i.substr(u,x);u+=x;}G+=i.substr(u);}}else{G=i;}if(z){s=O.minusSign;}s+=G;if(F){s+=O.decimalSeparator+F;}if(S&&S.formatString&&O.showScale&&O.type!==n.CURRENCY){H=this.oLocaleData.getPluralCategory(i+"."+F);S.formatString=this.oLocaleData.getDecimalFormat(O.style,S.key,H);s=S.formatString.replace(S.valueSubString,s);s=s.replace(/'.'/g,".");}if(O.type===n.CURRENCY){P=O.pattern;if(S&&S.formatString&&O.showScale){H=this.oLocaleData.getPluralCategory(i+"."+F);if(I){P=f("short",S.key,H);}else{P=this.oLocaleData.getCurrencyFormat("short",S.key,H);}P=P.replace(/'.'/g,".");}C=P.split(";");if(C.length===2){P=z?C[1]:C[0];if(z){s=s.substring(O.minusSign.length);}}if(!O.currencyCode){var W;if(O.customCurrencies&&typeof O.customCurrencies==="object"){W=this.mKnownCurrencySymbols[M];}else{W=this.oLocaleData.getCurrencySymbol(M);}if(W&&W!==M){M=W;}}s=this._composeCurrencyResult(P,s,M,{showMeasure:O.showMeasure,negative:z,minusSign:O.minusSign});}if(O.type===n.PERCENT){P=O.pattern;s=P.replace(/[0#.,]+/,s);s=s.replace(/%/,O.percentSign);}if(O.showMeasure&&O.type===n.UNIT){H=this.oLocaleData.getPluralCategory(i+"."+F);c(H,"Cannot find plural category for "+(i+"."+F));var X=!O.allowedUnits||O.allowedUnits.indexOf(M)>=0;if(!X){c(X,"The given unit '"+M+"' is not part of the allowed unit types: ["+O.allowedUnits.join(",")+"].");return"";}if(U){P=U["unitPattern-count-"+H];if(!P){P=U["unitPattern-count-other"];}c(P,"Cannot find pattern 'unitPattern-count-"+H+"' in '"+M+"'");if(!P){return"";}s=P.replace("{0}",s);}else if(!O.unitOptional){c(U,"Unit '"+M+"' is unknown");return"";}}if(sap.ui.getCore().getConfiguration().getOriginInfo()){s=new String(s);s.originInfo={source:"Common Locale Data Repository",locale:this.oLocale.toString()};}return s;};N.prototype._composeCurrencyResult=function(P,F,M,O){var s=O.minusSign;P=P.replace(/[0#.,]+/,F);if(O.showMeasure&&M){var i="\u00a4",t={"[:digit:]":/\d/,"[:^S:]":/[^\$\xA2-\xA5\u058F\u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20BD\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6]/},u=P.indexOf(i),v=u<P.length/2?"after":"before",S=this.oLocaleData.getCurrencySpacing(v),C=(v==="after"?M.charAt(M.length-1):M.charAt(0)),w,x=t[S.currencyMatch],y=t[S.surroundingMatch],I;P=P.replace(i,M);w=(v==="after"?P.charAt(u+M.length):P.charAt(u-1));if(x&&x.test(C)&&y&&y.test(w)){if(v==="after"){I=u+M.length;}else{I=u;}P=P.slice(0,I)+S.insertBetween+P.slice(I);}else if(O.negative&&v==="after"){s="\ufeff"+O.minusSign;}}else{P=P.replace(/\s*\u00a4\s*/,"");}if(O.negative){P=P.replace(/-/,s);}return P;};N.prototype.parse=function(v){var O=this.oFormatOptions,P=O.plusSign+this.oLocaleData.getLenientNumberSymbols("plusSign"),M=O.minusSign+this.oLocaleData.getLenientNumberSymbols("minusSign"),s=j(P+M),G=j(O.groupingSeparator),D=j(O.decimalSeparator),t="^\\s*(["+s+"]?(?:[0-9"+G+"]+|[0-9"+G+"]*"+D+"[0-9]*)(?:[eE][+-][0-9]+)?)\\s*$",u="^\\s*(["+s+"]?[0-9"+G+"]+)\\s*$",w=new RegExp(G,"g"),x=new RegExp(D,"g"),y=this.oLocaleData.getNumberSymbol("percentSign"),I=O.type===n.CURRENCY&&this.oLocale.getLanguage()==="en"&&this.oLocale.getRegion()==="IN",z,A,C,E,F=0,S,H;if(v===""){H=O.emptyString;if(O.parseAsString&&(O.emptyString===0||isNaN(O.emptyString))){H=O.emptyString+"";}if(O.type===n.CURRENCY||O.type===n.UNIT){return[H,undefined];}else{return H;}}E=O.type===n.PERCENT?O.pattern:this.oLocaleData.getPercentPattern();if(E.charAt(0)==="%"){t=t.slice(0,1)+"%?"+t.slice(1);}else if(E.charAt(E.length-1)==="%"){t=t.slice(0,t.length-1)+"%?"+t.slice(t.length-1);}var U;if(O.type===n.UNIT){var J;if(O.customUnits&&typeof O.customUnits==="object"){J=O.customUnits;}else{J=this.oLocaleData.getUnitFormats();}c(J,"Unit patterns cannot be loaded");if(O.allowedUnits){var K={};for(var i=0;i<O.allowedUnits.length;i++){var Q=O.allowedUnits[i];K[Q]=J[Q];}J=K;}var T=p(J,v);var V=false;U=T.cldrCode;if(U.length===1){C=U[0];}else if(U.length===0){if((O.unitOptional||!O.showMeasure)&&typeof v==="string"){T.numberValue=v;}else{c(U.length===1,"Cannot find unit for input: '"+(v)+"'");return null;}}else{c(U.length===1,"Ambiguous unit ["+U.join(", ")+"] for input: '"+(v)+"'");C=undefined;V=true;}if(O.strictParsing){if((C&&!O.showMeasure)||V){return null;}}v=T.numberValue||v;}var W;if(O.type===n.CURRENCY){W=o({value:v,currencySymbols:this.mKnownCurrencySymbols,customCurrencyCodes:this.mKnownCurrencyCodes,duplicatedSymbols:this.mDuplicatedSymbols,customCurrenciesAvailable:!!O.customCurrencies});if(!W){return null;}if(O.strictParsing){if((O.showMeasure&&!W.currencyCode)||W.duplicatedSymbolFound){return null;}}v=W.numberValue;C=W.currencyCode;if((O.customCurrencies&&C===null)||(!O.showMeasure&&C)){return null;}}if(typeof v==="string"||v instanceof String){v=v.replace(/[\u202a\u200e\u202c\u202b\u200f]/g,"");v=v.replace(/\s/g,"");}S=e(v,this.oLocaleData,I);if(S){v=S.number;}if(O.isInteger&&!S){z=new RegExp(u);}else{z=new RegExp(t);}if(!z.test(v)){return O.type===n.CURRENCY||O.type===n.UNIT?null:NaN;}v=v.replace(w,"");var X=v.length;for(var Y=0;Y<X;Y++){var Z=v[Y];if(P.includes(Z)){v=v.replace(Z,"+");break;}else if(M.includes(Z)){v=v.replace(Z,"-");break;}}v=v.replace(/^\+/,"");if(S){v=v.replace(x,".");v=N._shiftDecimalPoint(v,Math.round(Math.log(S.factor)/Math.LN10));}if(O.isInteger){F=O.parseAsString?v:parseInt(v);}else{v=v.replace(x,".");if(v.indexOf(y)!==-1){A=true;v=v.replace(y,"");}F=O.parseAsString?v:parseFloat(v);if(A){F=N._shiftDecimalPoint(F,-2);}}if(O.parseAsString){F=N._shiftDecimalPoint(v,0);}if(O.type===n.CURRENCY||O.type===n.UNIT){return[F,C];}return F;};N.prototype.convertToDecimal=function(v){var V=""+v,s,t,D,F,E,P;if(V.indexOf("e")==-1&&V.indexOf("E")==-1){return V;}var u=V.match(/^([+-]?)((\d+)(?:\.(\d+))?)[eE]([+-]?\d+)$/);s=u[1]=="-";t=u[2].replace(/\./g,"");D=u[3]?u[3].length:0;F=u[4]?u[4].length:0;E=parseInt(u[5]);if(E>0){if(E<F){P=D+E;V=t.substr(0,P)+"."+t.substr(P);}else{V=t;E-=F;for(var i=0;i<E;i++){V+="0";}}}else{if(-E<D){P=D+E;V=t.substr(0,P)+"."+t.substr(P);}else{V=t;E+=D;for(var i=0;i>E;i--){V="0"+V;}V="0."+V;}}if(s){V="-"+V;}return V;};N.prototype.getScale=function(){if((this.oFormatOptions.style!=="short"&&this.oFormatOptions.style!=="long")||this.oFormatOptions.shortRefNumber===undefined){return;}var s=g(this.oFormatOptions.shortRefNumber,this.oFormatOptions,this.oLocaleData),S;if(s&&s.formatString){S=s.formatString.replace(r,"").replace(/'.'/g,".").trim();if(S){return S;}}};N._shiftDecimalPoint=function(v,s){if(typeof s!=="number"){return NaN;}var M="";var E=v.toString().toLowerCase().split("e");if(typeof v==="number"){s=E[1]?(+E[1]+s):s;return+(E[0]+"e"+s);}else if(typeof v==="string"){if(parseFloat(v)===0&&s>=0){return d.test(v)?"0":v;}var F=E[0].charAt(0);M=F==="-"?F:"";if(M){E[0]=E[0].slice(1);}v=E[0];var D=v.indexOf("."),A,i,t;if(D===-1){v=v+".";D=v.length-1;}if(E[1]){D+=(+E[1]);}A=D+s;if(A<=0){v=v.padStart(v.length-A+1,'0');A=1;}else if(A>=v.length-1){v=v.padEnd(A+1,'0');A=v.length-1;}v=v.replace(".","");i=v.substring(0,A);t=v.substring(A);i=i.replace(/^(-?)0+(\d)/,"$1$2");return M+i+(t?("."+t):"");}else{return null;}};function g(v,O,s,I){var S,K,t,C,u=O.style,P=O.precision!==undefined?O.precision:2;if(u!="short"&&u!="long"){return undefined;}for(var i=0;i<15;i++){K=Math.pow(10,i);if(h(Math.abs(v)/K,P-1)<10){break;}}t=K.toString();if(O.type===n.CURRENCY){if(I){C=f(u,t,"other",true);}else{C=s.getCurrencyFormat(u,t,"other");}}else{C=s.getDecimalFormat(u,t,"other");}if(!C||C=="0"){return undefined;}else{S={};S.key=t;S.formatString=C;var w=C.match(r);if(w){S.valueSubString=w[0];var x=S.valueSubString.indexOf(".");if(x==-1){S.decimals=0;S.magnitude=K*Math.pow(10,1-S.valueSubString.length);}else{S.decimals=S.valueSubString.length-x-1;S.magnitude=K*Math.pow(10,1-x);}}else{return undefined;}}return S;}function e(v,s,I){var t,F=1,K=10,P=s.getPluralCategories(),C,u={number:undefined,factor:F},G=function(x,K,S,y){if(y){C=f(S,K.toString(),x,true);}else{C=s.getDecimalFormat(S,K.toString(),x);}if(C){C=C.replace(/[\s\u00a0\u200F]/g,"");C=C.replace(/'.'/g,".");var z=C.match(r);if(z){var V=z[0];var U=C.replace(V,"");if(!U){return;}var A=v.indexOf(U);if(A>=0){t=v.replace(U,"");t=t.replace(/\u200F/g,"");F=K;F*=Math.pow(10,1-V.length);if(u.number===undefined||t.length<u.number.length){u.number=t;u.factor=F;}}}}};["long","short"].forEach(function(S){K=10;while(K<1e15){for(var i=0;i<P.length;i++){var w=P[i];G(w,K,S);}K=K*10;}});if(I&&!t){K=10;while(K<1e15){for(var i=0;i<P.length;i++){var w=P[i];G(w,K,"short",true);}K=K*10;}}if(!t){return;}return u;}function f(s,K,P,D){var F,i={"short":{"1000-one":"\xa40000","1000-other":"\xa40000","10000-one":"\xa400000","10000-other":"\xa400000","100000-one":"\xa40 Lk","100000-other":"\xa40 Lk","1000000-one":"\xa400 Lk","1000000-other":"\xa400 Lk","10000000-one":"\xa40 Cr","10000000-other":"\xa40 Cr","100000000-one":"\xa400 Cr","100000000-other":"\xa400 Cr","1000000000-one":"\xa4000 Cr","1000000000-other":"\xa4000 Cr","10000000000-one":"\xa40000 Cr","10000000000-other":"\xa40000 Cr","100000000000-one":"\xa400000 Cr","100000000000-other":"\xa400000 Cr","1000000000000-one":"\xa40 Lk Cr","1000000000000-other":"\xa40 Lk Cr","10000000000000-one":"\xa400 Lk Cr","10000000000000-other":"\xa400 Lk Cr","100000000000000-one":"\xa40 Cr Cr","100000000000000-other":"\xa40 Cr Cr"}};s="short";if(P!=="one"){P="other";}F=i[s][K+"-"+P];if(F&&D){F=F.substr(1);}return F;}function h(v,M,s){if(typeof v!=="number"){return NaN;}s=s||N.RoundingMode.HALF_AWAY_FROM_ZERO;M=parseInt(M);if(typeof s==="function"){v=s(v,M);}else{if(!M){return m[s](v);}v=N._shiftDecimalPoint(m[s](N._shiftDecimalPoint(v,M)),-M);}return v;}function j(s){return s.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");}function k(v,P){var i=Math.floor(Math.log(Math.abs(v))/Math.LN10);return Math.max(0,P-i-1);}function p(u,v){var i={numberValue:undefined,cldrCode:[]};if(typeof v!=="string"){return i;}var s=Number.POSITIVE_INFINITY;var U,K;for(U in u){for(K in u[U]){if(K.indexOf("unitPattern")===0){var t=u[U][K];var w=t.indexOf("{0}");var C=w>-1;if(C){var P=t.substring(0,w);var x=t.substring(w+"{0}".length);var M=v.startsWith(P)&&v.endsWith(x);var y=M&&v.substring(P.length,v.length-x.length);if(y){if(y.length<s){s=y.length;i.numberValue=y;i.cldrCode=[U];}else if(y.length===s&&i.cldrCode.indexOf(U)===-1){i.cldrCode.push(U);}}}else if(t===v){i.cldrCode=[U];var z;if(K.endsWith("-zero")){z="0";}else if(K.endsWith("-one")){z="1";}else if(K.endsWith("-two")){z="2";}i.numberValue=z;return i;}}}}return i;}function l(v,C){var s="",i,t;for(var u in C){t=C[u];if(v.indexOf(t)>=0&&s.length<t.length){s=t;i=u;}}return{symbol:s,code:i};}function o(C){var v=C.value;var M=l(v,C.currencySymbols);if(!M.code){M=l(v,C.customCurrencyCodes);if(!M.code&&!C.customCurrenciesAvailable){var i=v.match(/(^[A-Z]{3}|[A-Z]{3}$)/);M.code=i&&i[0];}}if(M.code){var s=M.code.length-1;var t=M.code.charAt(s);var D;var u=/[\-\s]+/;if(/\d$/.test(t)){if(v.startsWith(M.code)){D=s+1;if(!u.test(v.charAt(D))){return undefined;}}}else if(/^\d/.test(M.code)){if(v.endsWith(M.code)){D=v.indexOf(M.code)-1;if(!u.test(v.charAt(D))){return undefined;}}}v=v.replace(M.symbol||M.code,"");}var w=false;if(C.duplicatedSymbols&&C.duplicatedSymbols[M.symbol]){M.code=undefined;w=true;b.error("The parsed currency symbol '"+M.symbol+"' is defined multiple "+"times in custom currencies.Therefore the result is not distinct.");}return{numberValue:v,currencyCode:M.code||undefined,duplicatedSymbolFound:w};}return N;});
sap.ui.predefine('sap/ui/core/message/ControlMessageProcessor',['sap/ui/core/message/MessageProcessor',"sap/ui/thirdparty/jquery"],function(M,q){"use strict";var C=M.extend("sap.ui.core.message.ControlMessageProcessor",{constructor:function(){if(!C._instance){M.apply(this,arguments);C._instance=this;}return C._instance;},metadata:{}});C._instance=null;C.prototype.setMessages=function(m){this.mOldMessages=this.mMessages===null?{}:this.mMessages;this.mMessages=m||{};this.checkMessages();delete this.mOldMessages;};C.prototype.checkMessages=function(){var m,t=this,a=q.extend(this.mMessages,{});q.each(this.mOldMessages,function(T){if(!(T in a)){a[T]=[];}});q.each(a,function(T){var b,c,p=T.split('/');if(!p[0]){p.shift();}c=sap.ui.getCore().byId(p[0]);if(!c){return;}b=c.getBinding(p[1]);m=t.mMessages[T]?t.mMessages[T]:[];if(b){var d=b.getDataState();d.setControlMessages(m);b.checkDataState();}else{c.propagateMessages(p[1],m);}});};return C;});
sap.ui.predefine('sap/ui/core/message/Message',['sap/ui/base/Object','./MessageProcessor',"sap/base/util/uid","sap/base/Log"],function(O,M,u,L){"use strict";var a=O.extend("sap.ui.core.message.Message",{constructor:function(p){O.apply(this,arguments);p=p||{};this.id=p.id?p.id:u();this.message=p.message;this.description=p.description;this.descriptionUrl=p.descriptionUrl;this.additionalText=p.additionalText;this.setType(p.type||sap.ui.core.MessageType.None);this.code=p.code;this.target=p.target;this.processor=p.processor;this.persistent=p.persistent||false;this.technical=p.technical||false;this.technicalDetails=p.technicalDetails;this.references=p.references||{};this.validation=!!p.validation;this.date=p.date||Date.now();this.controlIds=[];this.fullTarget=p.fullTarget||"";}});a.prototype.getId=function(){return this.id;};a.prototype.setMessage=function(m){this.message=m;};a.prototype.getMessage=function(){return this.message;};a.prototype.getControlId=function(){return this.controlIds[this.controlIds.length-1];};a.prototype.addControlId=function(c){if(this.controlIds.indexOf(c)==-1){this.controlIds=this.controlIds.slice();this.controlIds.push(c);}};a.prototype.removeControlId=function(c){var i=this.controlIds.indexOf(c);if(i!=-1){this.controlIds=this.controlIds.slice();this.controlIds.splice(i,1);}};a.prototype.getControlIds=function(){return this.controlIds;};a.prototype.setDescription=function(d){this.description=d;};a.prototype.getDescription=function(){return this.description;};a.prototype.setAdditionalText=function(A){this.additionalText=A;};a.prototype.getAdditionalText=function(){return this.additionalText;};a.prototype.getDescriptionUrl=function(){return this.descriptionUrl;};a.prototype.setDescriptionUrl=function(d){this.descriptionUrl=d;};a.prototype.setType=function(t){if(t in sap.ui.core.MessageType){this.type=t;}else{L.error("MessageType must be of type sap.ui.core.MessageType");}};a.prototype.getType=function(){return this.type;};a.prototype.setTarget=function(t){this.target=t;};a.prototype.getTarget=function(){return this.target;};a.prototype.setMessageProcessor=function(m){if(m instanceof M){this.processor=m;}else{L.error("MessageProcessor must be an instance of sap.ui.core.message.MessageProcessor");}};a.prototype.getMessageProcessor=function(){return this.processor;};a.prototype.setCode=function(c){this.code=c;};a.prototype.getCode=function(){return this.code;};a.prototype.setPersistent=function(p){this.persistent=p;};a.prototype.getPersistent=function(){return this.persistent;};a.prototype.setTechnical=function(t){this.technical=t;};a.prototype.getTechnical=function(){return this.technical;};a.prototype.setTechnicalDetails=function(t){this.technicalDetails=t;};a.prototype.getTechnicalDetails=function(){return this.technicalDetails;};a.prototype.addReference=function(i,p){if(!i){return;}if(!this.references[i]){this.references[i]={properties:{}};}if(!this.references[i].properties[p]){this.references[i].properties[p]=true;}};a.prototype.removeReference=function(i,p){if(!i){return;}if(i in this.references){if(!p){delete this.references[i];}else if(this.references[i].properties[p]){delete this.references[i].properties[p];}}};a.prototype.setDate=function(d){this.date=d;};a.prototype.getDate=function(){return this.date;};return a;});
sap.ui.predefine('sap/ui/core/message/MessageManager',['sap/ui/thirdparty/jquery','sap/ui/base/EventProvider','sap/ui/base/ManagedObject','sap/ui/model/message/MessageModel','./Message','./ControlMessageProcessor','sap/ui/core/message/MessageProcessor',"sap/base/util/deepEqual","sap/base/Log"],function(q,E,M,c,d,C,e,f,L){"use strict";var g=E.extend("sap.ui.core.message.MessageManager",{constructor:function(){E.apply(this,arguments);this.mProcessors={};this.mObjects={};this.mMessages={};var h=sap.ui.getCore().getConfiguration().getHandleValidation();if(h){sap.ui.getCore().attachValidationSuccess(h,this._handleSuccess,this);sap.ui.getCore().attachValidationError(h,this._handleError,this);sap.ui.getCore().attachParseError(h,this._handleError,this);sap.ui.getCore().attachFormatError(h,this._handleError,this);}},metadata:{publicMethods:["addMessages","removeMessages","removeAllMessages","registerMessageProcessor","unregisterMessageProcessor","registerObject","unregisterObject","getMessageModel","destroy"]}});g.prototype._handleError=function(o,h){if(!this.oControlMessageProcessor){this.oControlMessageProcessor=new C();}if(h){var a=o.getParameter("element");var p=o.getParameter("property");var t=a.getId()+'/'+p;var P=this.oControlMessageProcessor.getId();var T=o.sId==="formatError";if(this.mMessages[P]&&this.mMessages[P][t]){this._removeMessages(this.mMessages[P][t],true);}var r={};r[a.getId()]={properties:{},fieldGroupIds:a.getFieldGroupIds?a.getFieldGroupIds():undefined};r[a.getId()].properties[p]=true;var m=new d({type:sap.ui.core.MessageType.Error,message:o.getParameter("message"),target:t,processor:this.oControlMessageProcessor,technical:T,references:r,validation:true});this.addMessages(m);}o.cancelBubble();};g.prototype._handleSuccess=function(o,h){if(!this.oControlMessageProcessor){this.oControlMessageProcessor=new C();}if(h){var a=o.getParameter("element");var p=o.getParameter("property");var t=a.getId()+'/'+p;var P=this.oControlMessageProcessor.getId();if(this.mMessages[P]&&this.mMessages[P][t]){this._removeMessages(this.mMessages[P][t],true);}}o.cancelBubble();};g.prototype.addMessages=function(m){var o=m,p=this.getAffectedProcessors(m);if(!m){return;}else if(Array.isArray(m)){for(var i=0;i<m.length;i++){o=m[i];this._importMessage(o);}}else{this._importMessage(m);}this._updateMessageModel(p);};g.prototype._importMessage=function(m){var s=m.getTarget(),p=m.getMessageProcessor(),P=p&&p.getId();if(!this.mMessages[P]){this.mMessages[P]={};}var a=this.mMessages[P][s]?this.mMessages[P][s]:[];a.push(m);this.mMessages[P][s]=a;};g.prototype._pushMessages=function(p){var t=this;q.each(p,function(i,P){var m=t.mMessages[i]?t.mMessages[i]:{};t._sortMessages(m);m=Object.keys(m).length===0?null:q.extend(true,{},m);P.setMessages(m);});};g.prototype._sortMessages=function(m){var s={'Error':0,'Warning':1,'Success':2,'Information':3};if(Array.isArray(m)){m={"ignored":m};}q.each(m,function(t,h){if(h.length>0){h.sort(function(a,b){return s[a.type]-s[b.type];});}});};g.prototype._updateMessageModel=function(p){var m=[],o=this.getMessageModel();q.each(this.mMessages,function(P,a){q.each(a,function(k,v){m=q.merge(m,v);});});this._pushMessages(p);o.setData(m);};g.prototype.removeAllMessages=function(){var p={};for(var P in this.mMessages){var F=Object.keys(this.mMessages[P])[0];var m=this.mMessages[P][F];q.extend(p,this.getAffectedProcessors(m));}this.aMessages=[];this.mMessages={};this._updateMessageModel(p);};g.prototype.removeMessages=function(m){return this._removeMessages.apply(this,arguments);};g.prototype._removeMessages=function(m,o){var t=this,p=this.getAffectedProcessors(m);if(!m||(Array.isArray(m)&&m.length==0)){return;}else if(Array.isArray(m)){var O=m.slice(0);for(var i=0;i<O.length;i++){if(!o||O[i].validation){t._removeMessage(O[i]);}}}else if(m instanceof d&&(!o||m.validation)){t._removeMessage(m);}else{q.each(m,function(T,a){t._removeMessages(a,o);});}this._updateMessageModel(p);};g.prototype._removeMessage=function(m){var p=m.getMessageProcessor(),P=p&&p.getId(),a=this.mMessages[P];if(!a){return;}var b=a[m.getTarget()];if(b){for(var i=0;i<b.length;i++){var o=b[i];if(f(o,m)){b.splice(i,1);--i;}}if(a[m.getTarget()].length===0){delete a[m.getTarget()];}}};g.prototype.onMessageChange=function(o){var O=o.getParameter('oldMessages');var n=o.getParameter('newMessages');this.removeMessages(O);this.addMessages(n);};g.prototype.registerMessageProcessor=function(p){var P=p.getId(),m={};if(!this.mProcessors[P]){this.mProcessors[P]=P;p.attachMessageChange(this.onMessageChange,this);if(P in this.mMessages){m[P]=p;this._pushMessages(m);}}};g.prototype.unregisterMessageProcessor=function(p){this.removeMessagesByProcessor(p.getId());delete this.mProcessors[p.getId()];p.detachMessageChange(this.onMessageChange,this);};g.prototype.registerObject=function(o,h){if(!o instanceof M){L.error(this+" : "+o.toString()+" is not an instance of sap.ui.base.ManagedObject");return;}o.attachValidationSuccess(h,this._handleSuccess,this);o.attachValidationError(h,this._handleError,this);o.attachParseError(h,this._handleError,this);o.attachFormatError(h,this._handleError,this);};g.prototype.unregisterObject=function(o){if(!o instanceof M){L.error(this+" : "+o.toString()+" is not an instance of sap.ui.base.ManagedObject");return;}o.detachValidationSuccess(this._handleSuccess);o.detachValidationError(this._handleError);o.detachParseError(this._handleError);o.detachFormatError(this._handleError);};g.prototype.destroy=function(){L.warning("Deprecated: Do not call destroy on a MessageManager");};g.prototype.getMessageModel=function(){if(!this.oMessageModel){this.oMessageModel=new c(this);this.oMessageModel.setData([]);}return this.oMessageModel;};g.prototype.getAffectedProcessors=function(m){var p,P,a={};if(m){if(!Array.isArray(m)){m=[m];}m.forEach(function(o){p=o.getMessageProcessor();if(p instanceof e){P=p.getId();a[P]=p;}});}return a;};g.prototype.removeMessagesByProcessor=function(p){delete this.mMessages[p];this._updateMessageModel({});};return g;});
sap.ui.predefine('sap/ui/core/message/MessageMixin',["sap/ui/core/library","sap/base/Log"],function(l,L){"use strict";var V=l.ValueState;var M=function(){this.refreshDataState=r;this.fnDestroy=this.destroy;this.destroy=d;};function r(n,D){if(D.getChanges().messages&&this.getBinding(n)&&this.getBinding(n).isA("sap.ui.model.PropertyBinding")){var m=D.getMessages();var a=sap.ui.core.LabelEnablement.getReferencingLabels(this);var s=a[0];var f=false;m.forEach(function(b){if(a&&a.length>0){var c=sap.ui.getCore().byId(s);if(c.getMetadata().isInstanceOf("sap.ui.core.Label")&&c.getText&&b.getAdditionalText()!==c.getText()){b.setAdditionalText(c.getText());f=true;}else{L.warning("sap.ui.core.message.Message: Can't create labelText."+"Label with id "+s+" is no valid sap.ui.core.Label.",this);}}if(b.getControlId()!==this.getId()){b.addControlId(this.getId());f=true;}}.bind(this));var o=sap.ui.getCore().getMessageManager().getMessageModel();o.checkUpdate(f,true);if(m&&m.length>0){var b=m[0];if(V[b.type]){this.setValueState(b.type);this.setValueStateText(b.message);}}else{this.setValueState(V.None);this.setValueStateText('');}}}function d(){var c=this.getId();function a(o){o.removeControlId(c);}for(var n in this.mBindingInfos){var b=this.mBindingInfos[n];if(b.binding){var D=b.binding.getDataState();var m=D.getMessages();m.forEach(a);}}this.fnDestroy.apply(this,arguments);}return M;},true);
sap.ui.predefine('sap/ui/core/message/MessageParser',["sap/ui/base/Object","sap/base/Log"],function(O,L){"use strict";var M=O.extend("sap.ui.core.message.MessageParser",{metadata:{publicMethods:["parse","setProcessor"]},constructor:function(){this._processor=null;}});M.prototype.setProcessor=function(p){this._processor=p;return this;};M.prototype.getProcessor=function(){return this._processor;};M.prototype.parse=function(r){L.error("MessageParser: parse-method must be implemented in the specific parser class. Messages "+"have been ignored.");};return M;});
sap.ui.predefine('sap/ui/core/message/MessageProcessor',['sap/ui/base/EventProvider',"sap/base/util/uid"],function(E,u){"use strict";var M=E.extend("sap.ui.core.message.MessageProcessor",{constructor:function(){E.apply(this,arguments);this.mMessages=null;this.id=u();sap.ui.getCore().getMessageManager().registerMessageProcessor(this);},metadata:{"abstract":true,publicMethods:["getId","setMessages","attachMessageChange","detachMessageChange"]}});M.M_EVENTS={messageChange:"messageChange"};M.prototype.attachMessageChange=function(d,f,l){this.attachEvent("messageChange",d,f,l);return this;};M.prototype.detachMessageChange=function(f,l){this.detachEvent("messageChange",f,l);return this;};M.prototype.fireMessageChange=function(p){this.fireEvent("messageChange",p);return this;};M.prototype.getId=function(){return this.id;};M.prototype.destroy=function(){sap.ui.getCore().getMessageManager().unregisterMessageProcessor(this);E.prototype.destroy.apply(this,arguments);};return M;});
sap.ui.predefine('sap/ui/core/mvc/Controller',['sap/base/util/ObjectPath','sap/ui/base/EventProvider','sap/ui/base/ManagedObject','sap/ui/core/mvc/ControllerMetadata','sap/ui/core/mvc/ControllerExtension','sap/ui/core/mvc/OverrideExecution',"sap/base/Log","sap/ui/thirdparty/jquery"],function(O,E,M,C,a,b,L,q){"use strict";var r={};var e={};var c=E.extend("sap.ui.core.mvc.Controller",{metadata:{stereotype:"controller",methods:{"byId":{"public":true,"final":true},"getView":{"public":true,"final":true},"getInterface":{"public":false,"final":true},"onInit":{"public":false,"final":false,"overrideExecution":b.After},"onExit":{"public":false,"final":false,"overrideExecution":b.Before},"onBeforeRendering":{"public":false,"final":false,"overrideExecution":b.Before},"onAfterRendering":{"public":false,"final":false,"overrideExecution":b.After}}},constructor:function(n){var t=null;if(typeof(n)=="string"){if(!r[n]){L.warning("Do not call sap.ui.core.mvc.Controller constructor for non typed scenario!");}t=r[n];}E.apply(this,arguments);if(t){q.extend(this,r[n]);}if(this.extension){throw new Error("The keyword 'extension' cannot be used as a member of a controller");}this["_sapui_Extensions"]={};c.extendByMember(this,false);this._sapui_isExtended=false;},_isExtended:function(){return this._sapui_isExtended;},getInterface:function(){var i={};var o=this.getMetadata();var p=o.getAllPublicMethods();p.forEach(function(s){var F=this[s];if(typeof F==='function'){i[s]=function(){var t=F.apply(this,arguments);return(t instanceof c)?t.getInterface():t;}.bind(this);}}.bind(this));this.getInterface=function(){return i;};return i;}},C);function d(o,i,l){var n=i.getMetadata().getName();var k=o.getMetadata();var p=o["_sapui_Extensions"];var I=o.getInterface();var s=a.getMetadata().getLifecycleConfiguration();var t={namespace:n,extension:i,reloadNeeded:false};i._setController(I);if(i.getMetadata().hasOverrides()){var u,v,w,x,y=i.getMetadata().getOverrides(),S=i.getMetadata().getStaticOverrides();for(x in S){w=i.getMetadata();if(!w.isMethodFinal(x)){a.overrideMethod(x,i,S,i,w.getOverrideExecution(x));}else{L.error("Method '"+x+"' of extension '"+n+"' is flagged final and cannot be overridden by calling 'override'");}}for(x in y){if(x!=='extension'){if(x in i.base){L.debug("Overriding  member '"+x+"' of original controller.");var z=y[x];var A=o[x];if(typeof A=="object"&&typeof z=="object"){v=p[x];w=v.extension.getMetadata();for(u in z){if(!w.isMethodFinal(u)){a.overrideMethod(u,A,z,i,w.getOverrideExecution(u));}else{L.error("Method '"+u+"' of extension '"+v.namespace+"' is flagged final and cannot be overridden by extension '"+n+"'");}}}else if(!k.isMethodFinal(x)){a.overrideMethod(x,o,y,i,k.getOverrideExecution(x));}else{L.error("Method '"+x+"' of controller '"+o.getMetadata().getName()+"' is flagged final and cannot be overridden by extension '"+n+"'");}}else if(x in s){a.overrideMethod(x,o,y,i,k.getOverrideExecution(x));}else if(x.startsWith("extHook")&&o[x]===null){a.overrideMethod(x,o,y,i);}else{L.error("Method '"+u+"' of extension '"+v.namespace+" does not exist in controller "+o.getMetadata().getName()+" and cannot be overridden");}}if(y.extension){for(var B in y.extension){w=p[B].extension.getMetadata();var D=O.create(B,o.extension);var F=p[B].extension;var G=y.extension[B];for(u in G){if(!w.isMethodFinal(u)){a.overrideMethod(u,D,G,i,w.getOverrideExecution(u));a.overrideMethod(u,F,G,i,w.getOverrideExecution(u));}else{L.error("Method '"+u+"' of extension '"+B+"' is flagged final and cannot be overridden by extension '"+n+"'");}}}}t.reloadNeeded=true;}}var H=i.getInterface();if(l){p[l]=t;t.location=l;o[l]=H;I[l]=H;}else{p[n]=t;t.location="extension."+n;O.set("extension."+n,H,o);O.set("extension."+n,H,I);}}function m(o,i,l){if(i instanceof a){d(o,i,l);}else if(i.getMetadata&&i.getMetadata().getStereotype()=="controllerextension"){var k=new i();d(o,k,l);}else{var n=a.getMetadata().getLifecycleConfiguration();for(var s in i){if(s in n){a.overrideMethod(s,o,i,o,n[s].overrideExecution);}else{a.overrideMethod(s,o,i);}}}}function f(n,A){if(!n){throw new Error("Controller name ('sName' parameter) is required");}var s=n.replace(/\./g,"/")+".controller",i=k(sap.ui.require(s));function k(i){if(i){return i;}else if(r[n]){return c;}else{return O.get(n);}}if(A){return new Promise(function(l,o){if(!i){sap.ui.require([s],function(i){l(k(i));});}else{l(i);}});}else if(!i){i=sap.ui.requireSync(s);return k(i);}else{return i;}}function g(o,A){var p=c._sExtensionProvider.replace(/\./g,"/"),P=e[p];if(A){return new Promise(function(k,l){if(p){if(P){k(P);}else{sap.ui.require([p],function(i){P=new i();e[p]=P;k(P);});}}else{k();}});}else if(p){if(P){return P;}else{var i=sap.ui.requireSync(p);P=new i();e[p]=P;return P;}}}function h(i,n){var o;if(r[n]){o=new i(n);}else{o=new i();}if(!o){throw new Error("Controller "+n+" couldn't be instantiated");}return o;}c.extendByMember=function(o,A){var s;for(s in o){if(o[s]&&o[s].getMetadata&&o[s].getMetadata().getStereotype()=="controllerextension"){o[s]=new o[s]();}}for(s in o){if(o[s]&&o[s].getMetadata&&o[s].getMetadata().getStereotype()=="controllerextension"){m(o,o[s],s);}}if(A){return Promise.resolve(o);}else{return o;}};c.extendByCustomizing=function(o,n,s,A){var k=sap.ui.require('sap/ui/core/CustomizingConfiguration');if(!k){return A?Promise.resolve(o):o;}function p(z,o){return f(z,A).then(function(t){t=r[z]||t;if(t!==undefined){if(t.getMetadata&&t.getMetadata().isA("sap.ui.core.mvc.Controller")){L.warning("Attempt to load Extension Controller "+z+" was not successful","Controller extension should be a plain object.",null,function(){return{type:"ControllerExtension",name:z};});}m(o,t);return o;}},function(B){L.error("Attempt to load Extension Controller "+z+" was not successful - is the Controller correctly defined in its file?");});}var t,u=[],v,w=A?Promise.resolve(o):o,x=k.getControllerExtension(n,s);if(x){v=typeof x==="string"?x:x.controllerName;u=x.controllerNames||[];if(v){u.unshift(v);}}for(var i=0,l=u.length;i<l;i++){var y=u[i];if(typeof y==="string"){L.info("Customizing: Controller '"+n+"' is now extended by '"+y+"'");if(A){w=w.then(p.bind(null,y,o));}else{if(!r[y]&&!sap.ui.require(y)){f(y);}if((t=r[y])!==undefined){m(o,t);}else{L.error("Attempt to load Extension Controller "+y+" was not successful - is the Controller correctly defined in its file?");}}}}return w;};c.extendByProvider=function(o,n,s,A){if(!c._sExtensionProvider){return A?Promise.resolve(o):o;}L.info("Customizing: Controller '"+n+"' is now extended by Controller Extension Provider '"+c._sExtensionProvider+"'");var k,p;if(A){return g(o,A).then(function(p){return p.getControllerExtensions(n,s,A);}).then(function(t){if(t&&t.length){for(var i=0,l=t.length;i<l;i++){m(o,t[i]);}}return o;},function(t){L.error("Controller Extension Provider: Error '"+t+"' thrown in "+c._sExtensionProvider+"; extension provider ignored.");return o;});}else{p=g(o,A);k=p.getControllerExtensions(n,s,A);if(k&&Array.isArray(k)){for(var i=0,l=k.length;i<l;i++){m(o,k[i]);}}else{L.error("Controller Extension Provider: Error in ExtensionProvider.getControllerExtensions: "+c._sExtensionProvider+" - no valid extensions returned");}}return o;};c.create=function(o){return j(o.name,undefined,true);};sap.ui.controller=function(n,o,A){if(A){L.info("Do not use deprecated factory function 'sap.ui.controller("+n+")'. Use 'sap.ui.core.mvc.Controller.create(...)' instead.","sap.ui.controller",null,function(){return{type:"sap.ui.controller",name:n};});}else{L.warning("Do not use synchronous controller creation for controller '"+n+"'! Use the new asynchronous factory 'sap.ui.core.mvc.Controller.create(...)' instead.","sap.ui.controller",null,function(){return{type:"sap.ui.controller",name:n};});}return j.apply(this,arguments);};function j(n,o,A){var i,k,s=M._sOwnerId;if(typeof o==="boolean"){o=undefined;}if(!o){if(A){return f(n,A).then(function(k){return h(k,n);}).then(function(i){return c.extendByCustomizing(i,n,s,A);}).then(function(i){return c.extendByProvider(i,n,s,A);}).then(function(i){i._sapui_isExtended=true;return i;});}else{k=f(n,A);i=h(k,n);i=c.extendByCustomizing(i,n,s,A);i=c.extendByProvider(i,n,s,A);i._sapui_isExtended=true;}return i;}else{r[n]=o;L.info("For defining controllers use Controller.extend instead");}}c.prototype.getPublicMethods=function(){var p={},o=this.getMetadata(),i=o.getAllMethods(),l=o.getLifecycleConfiguration();Object.keys(i).forEach(function(s){if(o.isMethodPublic(s)){p[s]=i[s];p[s].reloadNeeded=!!(s in l);}});delete p.extension;var k=this["_sapui_Extensions"];Object.keys(k).forEach(function(n){var s=k[n];var t=s.extension.getInterface();var A=s.extension.getMetadata().getAllMethods();Object.keys(t).forEach(function(u){delete p[s.location];var v=q.extend({},A[u],{reloadNeeded:s.reloadNeeded});p[s.location+"."+u]=v;});});return p;};c.prototype.destroy=function(){Object.keys(this["_sapui_Extensions"]).forEach(function(o){O.set(o.location,null,this);}.bind(this));delete this["_sapui_Extensions"];delete this["_sapui_Interface"];E.prototype.destroy.apply(this,arguments);};c.prototype.getView=function(){return this.oView;};c.prototype.byId=function(i){return this.oView?this.oView.byId(i):undefined;};c.prototype.createId=function(i){return this.oView?this.oView.createId(i):undefined;};c.prototype.getOwnerComponent=function(){var i=sap.ui.requireSync("sap/ui/core/Component");return i.getOwnerComponentFor(this.getView());};c.prototype.connectToView=function(v){this.oView=v;if(this.onInit){v.attachAfterInit(this.onInit,this);}if(this.onExit){v.attachBeforeExit(this.onExit,this);}if(this.onAfterRendering){v.attachAfterRendering(this.onAfterRendering,this);}if(this.onBeforeRendering){v.attachBeforeRendering(this.onBeforeRendering,this);}};c._sExtensionProvider=null;c.registerExtensionProvider=function(s){c._sExtensionProvider=s;};return c;});
sap.ui.predefine('sap/ui/core/mvc/ControllerExtension',['sap/ui/base/Object','sap/ui/base/Metadata','sap/ui/core/mvc/ControllerMetadata','sap/ui/core/mvc/OverrideExecution','sap/base/util/uid',"sap/base/Log"],function(B,M,C,O,u,L){"use strict";var a=B.extend("sap.ui.core.mvc.ControllerExtension",{metadata:{stereotype:"controllerextension",methods:{"byId":{"public":true,"final":true},"getView":{"public":true,"final":true},"getInterface":{"public":false,"final":true}}},_setController:function(c){this.base=c;},byId:function(i){var n=this.getMetadata().getNamespace();i=n+"."+i;return this.base?this.base.byId(i):undefined;},getView:function(){return this.base.getView();},getInterface:function(){var m={};var o=this.getMetadata();var p=o.getAllPublicMethods();p.forEach(function(s){var f=this[s];if(typeof f==='function'){m[s]=function(){var t=f.apply(this,arguments);return(t instanceof a)?t.getInterface():t;}.bind(this);}}.bind(this));this.getInterface=function(){return m;};return m;}},C);a.override=function(e){var c=M.createClass(this,"anonymousExtension~"+u(),{},C);c.getMetadata()._staticOverride=e;c.getMetadata()._override=this.getMetadata()._override;return c;};a.overrideMethod=function(m,o,c,b,s){var f=o[m];var d=c[m];s=s||O.Instead;function w(e){(function(d,f,b,e){o[m]=function(){if(e){d.apply(b,arguments);return f.apply(o,arguments);}else{f.apply(o,arguments);return d.apply(b,arguments);}};})(d,f,b,e);}if(typeof d==='function'&&b){d=d.bind(b);}switch(s){case O.Before:if(f&&typeof f==="function"){w(true);}else if(typeof d==="function"){o[m]=d;}else{L.error("Controller extension failed: lifecycleMethod '"+m+"', is not a function");}break;case O.After:if(f&&typeof f==="function"){w(false);}else if(typeof d==="function"){o[m]=d;}else{L.error("Controller extension failed: lifecycleMethod '"+m+"', is not a function");}break;case O.Instead:default:if(m in o){L.debug("Overriding  member '"+m+"' of extension "+this.getMetadata().getName());if(!this.getMetadata().isMethodFinal(m)){o[m]=d;}else{L.error("Error in ControllerExtension.override: Method '"+m+"' of extension '"+this.getMetadata().getName()+"' is flagged final and cannot be overridden!");}}else{o[m]=d;}break;}};return a;});
sap.ui.predefine('sap/ui/core/mvc/ControllerMetadata',['sap/ui/base/Metadata','sap/base/util/merge','sap/ui/core/mvc/OverrideExecution',"sap/base/Log"],function(M,a,O,L){"use strict";var C=function(c,o){M.apply(this,arguments);if(this.isA("sap.ui.core.mvc.ControllerExtension")&&this.getParent().getClass().override){this.getClass().override=this.getParent().getClass().override;}};C.prototype=Object.create(M.prototype);C.prototype.applySettings=function(c){if(c.override){this._override=c.override;delete c.override;}M.prototype.applySettings.call(this,c);var s=c.metadata;this._defaultLifecycleMethodMetadata={"onInit":{"public":true,"final":false,"overrideExecution":O.After},"onExit":{"public":true,"final":false,"overrideExecution":O.Before},"onBeforeRendering":{"public":true,"final":false,"overrideExecution":O.Before},"onAfterRendering":{"public":true,"final":false,"overrideExecution":O.After}};var i=this.isA("sap.ui.core.mvc.ControllerExtension");var r=/^_/;var e=this._oParent.isA("sap.ui.core.mvc.Controller");var d=c.metadata&&c.metadata.methods?true:false;if(!i){if(e&&!d){r=/^_|^on|^init$|^exit$/;}if(e&&d){a(s.methods,this._defaultLifecycleMethodMetadata);}}if(i||d){this._aPublicMethods=[];}this._mMethods=s.methods||{};for(var n in c){if(n!=="metadata"&&n!=="constructor"){if(!n.match(r)){if(e&&this._oParent&&this._oParent.isMethodFinal(n)){L.error("Method: '"+n+"' of controller '"+this._oParent.getName()+"' is final and cannot be overridden by controller '"+this.getName()+"'");delete this._oClass.prototype[n];}if(!(n in this._mMethods)&&typeof c[n]==='function'){if(!(c[n].getMetadata&&c[n].getMetadata().isA("sap.ui.core.mvc.ControllerExtension"))){this._mMethods[n]={"public":true,"final":false};}}}}}for(var m in this._mMethods){if(this.isMethodPublic(m)){this._aPublicMethods.push(m);}}};C.prototype.afterApplySettings=function(){M.prototype.afterApplySettings.call(this);var i=this.isA("sap.ui.core.mvc.ControllerExtension");if(this._oParent){var p=this._oParent._mMethods?this._oParent._mMethods:{};for(var m in p){if(this._mMethods[m]&&!i){var P=this._mMethods[m].public;this._mMethods[m]=a({},p[m]);if(P!==undefined){this._mMethods[m].public=P;}if(!this.isMethodPublic(m)&&this._mMethods[m].public!==p[m].public){this._aAllPublicMethods.splice(this._aAllPublicMethods.indexOf(m),1);}}else{this._mMethods[m]=p[m];}}}if(this._oParent&&this._oParent.isA("sap.ui.core.mvc.ControllerExtension")){this._bFinal=true;}};C.prototype.getNamespace=function(){var i=this._sClassName.indexOf("anonymousExtension~")==0;var n=i?this._oParent._sClassName:this._sClassName;return n.substr(0,n.lastIndexOf("."));};C.prototype.isMethodFinal=function(m){var o=this._mMethods[m];return o&&o.final;};C.prototype.isMethodPublic=function(m){var o=this._mMethods[m];return o&&o.public;};C.prototype.getAllMethods=function(){return this._mMethods;};C.prototype.getOverrideExecution=function(m){var o=this._mMethods[m];var s=O.Instead;if(o){s=o.overrideExecution;}return s;};C.prototype.getOverrides=function(){return this._override;};C.prototype.getStaticOverrides=function(){return this._staticOverride;};C.prototype.hasOverrides=function(){return!!this._override||!!this._staticOverride;};C.prototype.getLifecycleConfiguration=function(){return this._defaultLifecycleMethodMetadata;};return C;});
sap.ui.predefine('sap/ui/core/mvc/EventHandlerResolver',["sap/ui/base/BindingParser","sap/ui/core/CommandExecution","sap/ui/model/BindingMode","sap/ui/model/CompositeBinding","sap/ui/model/json/JSONModel","sap/ui/model/base/ManagedObjectModel","sap/base/util/JSTokenizer","sap/base/util/ObjectPath","sap/base/util/resolveReference","sap/base/Log"],function(B,C,a,b,J,M,c,O,r,L){"use strict";var E={resolveEventHandler:function(n,o,l){var h,s,f;n=n.trim();if(sap.ui.getCore().getConfiguration().getControllerCodeDeactivated()){h=function(){};}else{if(n.startsWith("cmd:")){var d=n.substr(4);h=function(e){var j=C.find(e.getSource(),d);if(j){j.trigger();}else{L.error("Handler '"+n+"' could not be resolved. No CommandExecution defined for command: "+d);}};}else{s=n.indexOf("(");f=n;if(s>0){f=n.substring(0,s).trim();}else if(s===0){throw new Error("Event handler name starts with a bracket, must start with a function name "+"(or with a dot followed by controller-local function name): "+n);}h=r(f,Object.assign({".":o},l),{preferDotContext:f.indexOf(".")===-1,bindContext:false});}if(h&&s>0){var i=n.lastIndexOf(")");if(i>s){if(n.substring(s).indexOf("{=")>-1){L.warning("It looks like an event handler parameter contains a binding expression ({=...}). This is not allowed and will cause an error later on "+"because the entire event handler is already considered an expression: "+n);}h=(function(f,o){return function(j){var p,S,k=n;if(n.indexOf("$parameters")>-1){p=new J(j.mParameters);}if(n.indexOf("$source")>-1){S=new M(j.getSource());}var m={"$controller":o,$event:j};if(f.indexOf(".")>0){var G=f.split(".")[0];m[G]=window[G];}else if(f.indexOf(".")===-1){if(o&&o[f]){k="$controller."+k;}else if(window[f]){m[f]=window[f];}}Object.assign(m,l);var q=B.parseExpression(k.replace(/^\./,"$controller."),0,{oContext:o},m);if(q.result){try{g(q.result,j.getSource(),o,p,S);}catch(e){e.message="Error when evaluating event handler '"+n+"': "+e.message;throw e;}}if(p){p.destroy();}if(S){S.destroy();}};})(f,o);}else{L.error("Syntax error in event handler '"+n+"': arguments must be enclosed in a pair of brackets");}}}if(typeof h==="function"){h._sapui_handlerName=n;return[h,o];}L.warning("Event handler name '"+n+"' could not be resolved to an event handler function");},parse:function parse(v){v=v.trim();var t=new c();var R=[];var s="";var p=0;t.init(v,0);for(;;){var S=t.next();if(S==='"'||S==="'"){var d=t.getIndex();t.string();s+=v.slice(d,t.getIndex());S=t.getCh();}if(!S){break;}switch(S){case"(":p++;break;case")":p--;break;}if(S===";"&&p===0){R.push(s.trim());s="";}else{s+=S;}}if(s){R.push(s.trim());}return R;}};function g(o,e,d,p,s){var t,P;o.mode=a.OneWay;if(!o.parts){o.parts=[];o.parts[0]={path:o.path,targetType:o.targetType,type:o.type,suspended:o.suspended,formatOptions:o.formatOptions,constraints:o.constraints,model:o.model,mode:o.mode};delete o.path;delete o.targetType;delete o.mode;delete o.model;}for(var i=0;i<o.parts.length;i++){P=o.parts[i];if(typeof P=="string"){P={path:P};o.parts[i]=P;}if(!P.path&&P.parts){throw new Error("Bindings in event handler parameters cannot use parts. Just use one single path.");}var S=P.path.indexOf(">");if(S>0){P.model=P.path.substr(0,S);P.path=P.path.substr(S+1);}}var f,h,j,k=[];o.parts.forEach(function(P){var m;if(P.model==="$parameters"){m=p;h=p.createBindingContext("/");}else if(P.model==="$source"){m=s;h=s.createBindingContext("/");}else{m=e.getModel(P.model);h=e.getBindingContext(P.model);}t=P.type;if(typeof t=="string"){f=O.get(t);if(typeof f!=="function"){throw new Error("Cannot find type \""+t+"\" used for binding \""+P.path+"\"!");}t=new f(P.formatOptions,P.constraints);}j=m.bindProperty(P.path,h,o.parameters);j.setType(t,P.targetType||"any");j.setFormatter(P.formatter);j.setBindingMode(a.OneTime);k.push(j);});if(k.length>1||(o.formatter&&o.formatter.textFragments)){t=o.type;if(typeof t=="string"){f=O.get(t);t=new f(o.formatOptions,o.constraints);}j=new b(k,o.useRawValues,o.useInternalValues);j.setType(t,P.targetType||"any");j.setBindingMode(a.OneTime);}else{j=k[0];}j.setFormatter(o.formatter);j.initialize();return j.getExternalValue();}return E;});
sap.ui.predefine('sap/ui/core/mvc/JSView',['sap/ui/thirdparty/jquery','./View','./JSViewRenderer','sap/base/util/merge','sap/ui/base/ManagedObject','sap/ui/core/library','sap/base/Log'],function(q,V,J,m,M,l,L){"use strict";var a=V.extend("sap.ui.core.mvc.JSView",{metadata:{library:"sap.ui.core"}});var r={};a.asyncSupport=true;var b=l.mvc.ViewType;a.create=function(o){var p=m({},o);for(var O in p){if(O==='definition'||O==='preprocessors'){delete p[O];L.warning("JSView.create does not support the options definition or preprocessor!");}}p.type=b.JS;return V.create(p);};sap.ui.jsview=function(i,c,A){var f=function(s){L[s]("Do not use deprecated view factory functions."+"Use the static create function on the specific view module instead: [XML|JS|HTML|JSON]View.create().","sap.ui.view",null,function(){return{type:"sap.ui.view",name:i||(c&&c.name)};});};if(c&&c.async){f("info");}else{f("warning");}return v.apply(this,arguments);};function v(i,c,A){var s={},o;if(c&&typeof(c)=="string"){s.viewName=c;if(typeof arguments[2]=="boolean"){s.async=A;}else if(typeof arguments[2]=="object"){s.controller=arguments[2];s.async=!!arguments[3];}o=new a(i,s);return o;}else if(c&&typeof(c)=="object"){r[i]=c;sap.ui.loader._.declareModule(i.replace(/\./g,"/")+".view.js");L.info("For defining views use JSView.extend instead.");}else if(arguments.length==1&&typeof i=="string"||arguments.length==2&&typeof arguments[0]=="string"&&typeof arguments[1]=="boolean"){s.viewName=arguments[0];s.async=!!arguments[1];o=s.id?new a(s.id,s):new a(s);return o;}else{throw new Error("Wrong arguments ('"+i+"', '"+c+"')! Either call sap.ui.jsview([sId,] sViewName) to instantiate a View or sap.ui.jsview(sViewName, oViewImpl) to define a View type.");}}a.prototype.initViewSettings=function(s){var p;if(!r[s.viewName]){var c=s.viewName.replace(/\./g,"/")+".view";if(s.async){p=new Promise(function(d){sap.ui.require([c],d);});}else{sap.ui.requireSync(c);}}if(s.async){return Promise.resolve(p).then(function(){q.extend(this,r[s.viewName]);}.bind(this));}q.extend(this,r[s.viewName]);};a.prototype.onControllerConnected=function(c){M.runWithPreprocessors(function(){this.applySettings({content:this.createContent(c)});},{id:this.getAutoPrefixId()?this.createId.bind(this):undefined,settings:this._fnSettingsPreprocessor},this);};a.prototype.getAutoPrefixId=function(){return false;};return a;});
sap.ui.predefine('sap/ui/core/mvc/JSViewRenderer',['./ViewRenderer'],function(V){"use strict";var J={};J.render=function(r,c){var a=r;a.write("<div");a.writeControlData(c);a.addClass("sapUiView");a.addClass("sapUiJSView");V.addDisplayClass(a,c);if(c.getWidth()){a.addStyle("width",c.getWidth());}if(c.getHeight()){a.addStyle("height",c.getHeight());}a.writeStyles();a.writeClasses();a.write(">");var b=c.getContent();if(b){if(Array.isArray(b)){for(var i=0;i<b.length;i++){a.renderControl(b[i]);}}else if(b){a.renderControl(b);}}a.write("</div>");};return J;},true);
sap.ui.predefine('sap/ui/core/mvc/OverrideExecution',function(){"use strict";var O={After:"After",Before:"Before",Instead:"Instead"};return O;},true);
sap.ui.predefine('sap/ui/core/mvc/View',['sap/ui/base/ManagedObject','sap/ui/core/Control','sap/ui/core/mvc/Controller','sap/base/util/merge','sap/ui/core/library',"./ViewRenderer","sap/base/assert","sap/base/Log","sap/ui/thirdparty/jquery"],function(M,C,a,m,b,V,c,L,q){"use strict";var d=b.mvc.ViewType;var f=C.extend("sap.ui.core.mvc.View",{metadata:{interfaces:["sap.ui.core.IDScope"],library:"sap.ui.core",properties:{width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:'100%'},height:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},viewName:{type:"string",group:"Misc",defaultValue:null},displayBlock:{type:"boolean",group:"Appearance",defaultValue:false}},aggregations:{content:{type:"sap.ui.core.Control",multiple:true,singularName:"content"}},events:{afterInit:{},beforeExit:{},afterRendering:{},beforeRendering:{}},specialSettings:{controller:'sap.ui.core.mvc.Controller',controllerName:'string',preprocessors:'Object',resourceBundleName:'string',resourceBundleUrl:'sap.ui.core.URI',resourceBundleLocale:'string',resourceBundleAlias:'string',type:'string',definition:'any',viewContent:{type:'any',deprecated:true},viewData:'any',async:{type:"boolean",defaultValue:false}},designtime:"sap/ui/core/designtime/mvc/View.designtime"}});f._mPreprocessors={};function g(P){P._settings={};for(var e in P){if(e.indexOf("_")!==0){P._settings[e]=P[e];}}}function h(P,A){var e;if(typeof P.preprocessor==="string"){var i=P.preprocessor.replace(/\./g,"/");if(A){return new Promise(function(j,l){sap.ui.require([i],function(e){j(e);});});}else{return sap.ui.requireSync(i);}}else if(typeof P.preprocessor==="function"&&!P.preprocessor.process){e={process:P.preprocessor};}else{e=P.preprocessor;}if(A){return Promise.resolve(e);}else{return e;}}function k(e,T){var j=this.mPreprocessors[T]||[],G=[],i,l,O,P=[];if(f._mPreprocessors[e]&&f._mPreprocessors[e][T]){G=f._mPreprocessors[e][T].map(function(x){return q.extend({},x);});}for(i=0,l=G.length;i<l;i++){if(G[i]._onDemand){O=G[i];}else{P.push(G[i]);}}for(i=0,l=j.length;i<l;i++){var I=!j[i].preprocessor;if(I&&O){P.unshift(q.extend(j[i],O));}else if(!I){P.push(j[i]);}}return P;}function n(e,S){var i=e.getMetadata().getClass();function j(P){P.preprocessor=h(P,S.async);}e.mPreprocessors=q.extend({},S.preprocessors);for(var _ in i.PreprocessorType){var T=i.PreprocessorType[_];if(e.mPreprocessors[T]&&!Array.isArray(e.mPreprocessors[T])){e.mPreprocessors[T]=[e.mPreprocessors[T]];}else if(!e.mPreprocessors[T]){e.mPreprocessors[T]=[];}e.mPreprocessors[T].forEach(g);e.mPreprocessors[T]=k.call(e,i._sType,T);e.mPreprocessors[T].forEach(j);}}function o(e){e.oAsyncState={};e.oAsyncState.promise=null;}var p=function(T,S){if(!sap.ui.getCore().getConfiguration().getControllerCodeDeactivated()){var e=S.controller,N=e&&typeof e.getMetadata==="function"&&e.getMetadata().getName(),A=S.async;if(!e&&T.getControllerName){var i=T.getControllerName();if(i){var j=sap.ui.require('sap/ui/core/CustomizingConfiguration');var l=j&&j.getControllerReplacement(i,M._sOwnerId);if(l){i=typeof l==="string"?l:l.controllerName;}if(A){e=a.create({name:i});}else{e=sap.ui.controller(i,true);}}}else if(e){var O=M._sOwnerId;if(!e._isExtended()){if(A){e=a.extendByCustomizing(e,N,O,A).then(function(e){return a.extendByProvider(e,N,O,A);});}else{e=a.extendByCustomizing(e,N,O,A);e=a.extendByProvider(e,N,O,A);}}else if(A){e=Promise.resolve(e);}}if(e){var x=function(e){T.oController=e;e.oView=T;};if(A){if(!T.oAsyncState){throw new Error("The view "+T.sViewName+" runs in sync mode and therefore cannot use async controller extensions!");}return e.then(x);}else{x(e);}}}else{sap.ui.controller("sap.ui.core.mvc.EmptyControllerImpl",{"_sap.ui.core.mvc.EmptyControllerImpl":true});T.oController=sap.ui.controller("sap.ui.core.mvc.EmptyControllerImpl");}};f.prototype._initCompositeSupport=function(S){c(!S.preprocessors||this.getMetadata().getName().indexOf("XMLView"),"Preprocessors only available for XMLView");this.oViewData=S.viewData;this.sViewName=S.viewName;var i=this;n(this,S);if(S.async){o(this);}var j=sap.ui.require('sap/ui/core/CustomizingConfiguration');if(j&&j.hasCustomProperties(this.sViewName,this)){this._fnSettingsPreprocessor=function(S){var I=this.getId();if(j&&I){if(i.isPrefixedId(I)){I=I.substring((i.getId()+"--").length);}var e=j.getCustomProperties(i.sViewName,I,i);if(e){S=q.extend(S,e);}}};}var P=function(e,l){c(typeof e==="function","fn must be a function");var x=sap.ui.require("sap/ui/core/Component");var O=x&&x.getOwnerComponentFor(i);if(O){if(l){i.fnScopedRunWithOwner=i.fnScopedRunWithOwner||function(y){return O.runAsOwner(y);};}return O.runAsOwner(e);}return e();};var A=function(e){if(e.oController&&e.oController.connectToView){return e.oController.connectToView(e);}};var F=function(){if(i.onControllerConnected){return i.onControllerConnected(i.oController);}};if(this.initViewSettings){if(S.async){this.oAsyncState.promise=this.initViewSettings(S).then(function(){return P(p.bind(null,i,S),true);}).then(function(){return P(F,true);}).then(function(){return A(i);}).then(function(){return i.runPreprocessor("controls",i,false);}).then(function(){return P(i.fireAfterInit.bind(i),true);}).then(function(){return i;}).catch(function(e){this.deregister();throw e;}.bind(this));}else{this.initViewSettings(S);p(this,S);F();A(this);this.runPreprocessor("controls",this,true);this.fireAfterInit();}}};f.prototype.getController=function(){return this.oController;};f.prototype.byId=function(i){return sap.ui.getCore().byId(this.createId(i));};f.prototype.createId=function(i){if(!this.isPrefixedId(i)){i=this.getId()+"--"+i;}return i;};f.prototype.getLocalId=function(i){var P=this.getId()+"--";return(i&&i.indexOf(P)===0)?i.slice(P.length):null;};f.prototype.isPrefixedId=function(i){return!!(i&&i.indexOf(this.getId()+"--")===0);};f.prototype.getViewData=function(){return this.oViewData;};function r(){this.oAsyncState=null;}f.prototype.exit=function(){this.fireBeforeExit();delete this.oController;delete this.oPreprocessorInfo;if(this.oAsyncState){var D=r.bind(this);this.oAsyncState.promise.then(D,D);}};f.prototype.onAfterRendering=function(){this.fireAfterRendering();};f.prototype.onBeforeRendering=function(){this.fireBeforeRendering();};f.prototype.clone=function(i,l){var S={},K,e;for(K in this.mProperties&&!(this.isBound&&this.isBound(K))){if(this.mProperties.hasOwnProperty(K)){S[K]=this.mProperties[K];}}e=C.prototype.clone.call(this,i,l,{cloneChildren:false,cloneBindings:true});var E,x,j;for(E in e.mEventRegistry){x=e.mEventRegistry[E];for(j=x.length-1;j>=0;j--){if(x[j].oListener===this.getController()){x[j]={oListener:e.getController(),fFunction:x[j].fFunction,oData:x[j].oData};}}}e.applySettings(S);return e;};f.prototype.getPreprocessors=function(){return this.mPreprocessors;};f.prototype.getPreprocessorInfo=function(S){if(!this.oPreprocessorInfo){this.oPreprocessorInfo={name:this.sViewName,componentId:this._sOwnerId,id:this.getId(),caller:this+" ("+this.sViewName+")",sync:!!S};}if(f._supportInfo){this.oPreprocessorInfo._supportInfo=f._supportInfo;}return this.oPreprocessorInfo;};f.prototype.runPreprocessor=function(T,S,e){var j=this.getPreprocessorInfo(e),P=this.mPreprocessors&&this.mPreprocessors[T]||[],x,A,y;if(!e){A=function(j,z){return function(S){return z.preprocessor.then(function(B){return B.process(S,j,z._settings);});};};y=Promise.resolve(S);}for(var i=0,l=P.length;i<l;i++){if(e&&P[i]._syncSupport===true){x=P[i].preprocessor.process;S=x(S,j,P[i]._settings);}else if(!e){y=y.then(A(j,P[i]));}else{L.debug("Async \""+T+"\"-preprocessor was skipped in sync view execution for "+this.getMetadata().getClass()._sType+"View",this.getId());}}return e?S:y;};function s(T,e){if(!f._mPreprocessors[e]){f._mPreprocessors[e]={};}if(!f._mPreprocessors[e][T]){f._mPreprocessors[e][T]=[];}}function t(e,i,T){f._mPreprocessors[i][T].forEach(function(P){if(P._onDemand){L.error("Registration for \""+T+"\" failed, only one on-demand-preprocessor allowed",e.getMetadata().getName());return false;}});return true;}f.registerPreprocessor=function(T,P,e,S,O,i){if(typeof O!=="boolean"){i=O;O=false;}if(P){s(T,e);if(O&&!t(this,e,T)){return;}f._mPreprocessors[e][T].push({preprocessor:P,_onDemand:O,_syncSupport:S,_settings:i});L.debug("Registered "+(O?"on-demand-":"")+"preprocessor for \""+T+"\""+(S?" with syncSupport":""),this.getMetadata().getName());}else{L.error("Registration for \""+T+"\" failed, no preprocessor specified",this.getMetadata().getName());}};f.prototype.hasPreprocessor=function(T){return!!this.mPreprocessors[T].length;};f.create=function(O){var P=m({},O);P.async=true;P.viewContent=P.definition;var e=sap.ui.require("sap/ui/core/Component");var i;if(e&&M._sOwnerId){i=e.get(M._sOwnerId);}function w(){return v(P.id,P,P.type).loaded();}return new Promise(function(j,l){var x=u(P);sap.ui.require([x],function(y){j(y);},function(E){l(E);});}).then(function(j){if(j.getMetadata().isA("sap.ui.core.mvc.XMLView")){P.processingMode="sequential";}if(i){return i.runAsOwner(w);}else{return w();}});};f._legacyCreate=v;sap.ui.view=function(i,e,T){var l=function(j){var N="";if(typeof i=="object"){N=i.viewName;}N=N||(e&&e.name);L[j]("Do not use deprecated view factory functions ("+N+")."+"Use the static create function on the view module instead: [XML|JS|HTML|JSON|]View.create().","sap.ui.view",null,function(){return{type:"sap.ui.view",name:N};});};if(e&&e.async){l("info");}else{l("warning");}return v(i,e,T);};function v(i,e,T){var j=null,l={};if(typeof i==="object"||typeof i==="string"&&e===undefined){e=i;i=undefined;}if(e){if(typeof e==="string"){l.viewName=e;}else{l=e;}}c(!l.async||typeof l.async==="boolean","sap.ui.view factory: Special setting async has to be of the type 'boolean'!");if(i){l.id=i;}if(T){l.type=T;}var x=sap.ui.require('sap/ui/core/CustomizingConfiguration');if(x){var y=x.getViewReplacement(l.viewName,M._sOwnerId);if(y){L.info("Customizing: View replacement for view '"+l.viewName+"' found and applied: "+y.viewName+" (type: "+y.type+")");q.extend(l,y);}else{L.debug("Customizing: no View replacement found for view '"+l.viewName+"'.");}}var z=u(l);j=w(z,l);return j;}function u(e){var i;if(!e.type){throw new Error("No view type specified.");}else if(e.type===d.JS){i='sap/ui/core/mvc/JSView';}else if(e.type===d.JSON){i='sap/ui/core/mvc/JSONView';}else if(e.type===d.XML){i='sap/ui/core/mvc/XMLView';}else if(e.type===d.HTML){i='sap/ui/core/mvc/HTMLView';}else if(e.type===d.Template){i='sap/ui/core/mvc/TemplateView';}else{throw new Error("Unknown view type "+e.type+" specified.");}return i;}function w(e,i){var j=sap.ui.require(e);if(!j){j=sap.ui.requireSync(e);if(i.async){L.warning("sap.ui.view was called without requiring the according view class.");}}return new j(i);}f.prototype.loaded=function(){if(this.oAsyncState&&this.oAsyncState.promise){return this.oAsyncState.promise;}else{return Promise.resolve(this);}};return f;});
sap.ui.predefine('sap/ui/core/mvc/ViewRenderer',function(){"use strict";var V={};V.addDisplayClass=function(r,c){if(c.getDisplayBlock()||(c.getWidth()==="100%"&&c.getHeight()==="100%")){r.addClass("sapUiViewDisplayBlock");}};return V;},true);
sap.ui.predefine('sap/ui/core/mvc/XMLView',['sap/ui/thirdparty/jquery','./View',"./XMLViewRenderer","sap/base/util/merge",'sap/ui/base/ManagedObject','sap/ui/core/XMLTemplateProcessor','sap/ui/core/library','sap/ui/core/Control','sap/ui/core/RenderManager','sap/ui/core/cache/CacheManager','sap/ui/model/resource/ResourceModel','sap/ui/util/XMLHelper','sap/base/strings/hash','sap/base/Log','sap/base/util/LoaderExtensions'],function(q,V,X,m,M,a,l,C,R,b,c,d,h,L,f){"use strict";var g=R.RenderPrefixes,j=l.mvc.ViewType,x="XMLViewCacheError",n={};var k=V.extend("sap.ui.core.mvc.XMLView",{metadata:{library:"sap.ui.core",specialSettings:{containingView:{type:'sap.ui.core.mvc.XMLView',visibility:'hidden'},xmlNode:{type:'Element',visibility:'hidden'},cache:'Object',processingMode:{type:"string",visibility:"hidden"}},designtime:"sap/ui/core/designtime/mvc/XMLView.designtime"}});sap.ui.xmlview=function(i,e){return sap.ui.view(i,e,j.XML);};k.create=function(o){var P=m({},o);P.viewContent=P.definition;P.async=true;P.type=j.XML;P.processingMode=P.processingMode||"sequential";return V.create(P);};k._sType=j.XML;k.asyncSupport=true;k._bUseCache=sap.ui.getCore().getConfiguration().getViewCache()&&b._isSupportedEnvironment();function v(e){if(e.parseError.errorCode!==0){var P=e.parseError;throw new Error("The following problem occurred: XML parse Error for "+P.url+" code: "+P.errorCode+" reason: "+P.reason+" src: "+P.srcText+" line: "+P.line+" linepos: "+P.linepos+" filepos: "+P.filepos);}}function p(o,S){if(!S){throw new Error("mSettings must be given");}else if(S.viewName&&S.viewContent){throw new Error("View name and view content are given. There is no point in doing this, so please decide.");}else if((S.viewName||S.viewContent)&&S.xmlNode){throw new Error("View name/content AND an XML node are given. There is no point in doing this, so please decide.");}else if(!(S.viewName||S.viewContent)&&!S.xmlNode){throw new Error("Neither view name/content nor an XML node is given. One of them is required.");}else if(S.cache&&!(S.cache.keys&&S.cache.keys.length)){throw new Error("No cache keys provided. At least one is required.");}}function r(o,S){o.mProperties["viewContent"]=S.viewContent;var e=d.parse(S.viewContent);v(e);return e.documentElement;}function s(o,S){if((o._resourceBundleName||o._resourceBundleUrl)&&(!S.models||!S.models[o._resourceBundleAlias])){var e=new c({bundleName:o._resourceBundleName,bundleUrl:o._resourceBundleUrl,bundleLocale:o._resourceBundleLocale,async:S.async});var i=e.getResourceBundle();if(i instanceof Promise){return i.then(function(){o.setModel(e,o._resourceBundleAlias);});}o.setModel(e,o._resourceBundleAlias);}}function t(o){o.oAfterRenderingNotifier=new G();o.oAfterRenderingNotifier.addDelegate({onAfterRendering:function(){o.onAfterRenderingBeforeChildren();}});}function u(S){var e=sap.ui.require("sap/ui/core/Component"),o;while(S&&e){var i=e.getOwnerComponentFor(S);if(i){S=o=i;}else{if(S instanceof e){o=S;}S=S.getParent&&S.getParent();}}return o;}function w(o,e){var i=u(o),H=i?JSON.stringify(i.getManifest()):null,I=[];I=I.concat(A(o,i),D(),B(o),e.keys);return z(o,I).then(function(K){return{key:K+"("+h(H||"")+")",componentManifest:H,additionalData:e.additionalData};});}function y(K){return K;}function z(o,i){return Promise.all(i).then(function(K){K=K.filter(function(H){return H!==n;});if(K.every(y)){return K.join('_');}else{var e=new Error("Provided cache keys may not be empty or undefined.");e.name=x;return Promise.reject(e);}});}function A(o,e){var i=e&&e.getMetadata().getName();return[i||window.location.host+window.location.pathname,o.getId(),sap.ui.getCore().getConfiguration().getLanguageTag()];}function B(e){var P=e.getPreprocessors(),i=e.getPreprocessorInfo(false),H=[];function I(o){H.push(o.preprocessor.then(function(J){if(J.getCacheKey){return J.getCacheKey(i);}else{return n;}}));}for(var T in P){P[T].forEach(I);}return H;}function D(){return sap.ui.getVersionInfo({async:true}).then(function(i){var T="";if(!i.libraries){T=sap.ui.buildinfo.buildtime;}else{i.libraries.forEach(function(o){T+=o.buildTimestamp;});}return T;}).catch(function(e){L.warning("sap.ui.getVersionInfo could not be retrieved","sap.ui.core.mvc.XMLView");L.debug(e);return"";});}function E(e,i){var K=e.key;delete e.key;e.xml=d.serialize(i);return b.set(K,e);}function F(e){return b.get(e.key).then(function(i){if(i&&i.componentManifest==e.componentManifest){i.xml=d.parse(i.xml,"application/xml").documentElement;if(i.additionalData){q.extend(true,e.additionalData,i.additionalData);}return i;}});}k.prototype.initViewSettings=function(S){var e=this,_;function i(O){e._xContent=O;if(V._supportInfo){V._supportInfo({context:e._xContent,env:{caller:"view",viewinfo:q.extend(true,{},e),settings:q.extend(true,{},S||{}),type:"xmlview"}});}if(!e.isSubView()){var P={};a.parseViewAttributes(O,e,P);if(!S.async){Object.assign(S,P);}else{e.applySettings(P);}}else{delete S.controller;}var Q=s(e,S);if(Q instanceof Promise){return Q.then(function(){t(e);});}t(e);}function o(O,P){if(e.hasPreprocessor("viewxml")){return a.enrichTemplateIdsPromise(O,e,P).then(function(){return e.runPreprocessor("viewxml",O,!P);});}return O;}function H(O){return e.runPreprocessor("xml",O).then(function(O){return o(O,true);});}function I(N){return f.loadResource(N,{async:true}).then(function(O){return O.documentElement;});}function J(N,O){return I(N).then(H).then(function(P){if(O){E(O,P);}return P;});}function K(N,O){return w(e,O).then(function(P){return F(P).then(function(Q){if(!Q){return J(N,P);}else{return Q.xml;}});}).catch(function(P){if(P.name===x){L.debug(P.message,P.name,"sap.ui.core.mvc.XMLView");L.debug("Processing the View without caching.","sap.ui.core.mvc.XMLView");return J(N);}else{return Promise.reject(P);}});}this._oContainingView=S.containingView||this;this._sProcessingMode=S.processingMode;if(this.oAsyncState){this.oAsyncState.suppressPreserve=true;}p(this,S);if(S.viewName){var N=S.viewName.replace(/\./g,"/")+".view.xml";if(S.async){if(S.cache&&k._bUseCache){return K(N,S.cache).then(i);}else{return I(N).then(H).then(i);}}else{_=f.loadResource(N).documentElement;}}else if(S.viewContent){if(S.viewContent.nodeType===window.Node.DOCUMENT_NODE){_=S.viewContent.documentElement;}else{_=r(this,S);}}else if(S.xmlNode){_=S.xmlNode;}if(S.async){return H(_).then(i);}else{_=this.runPreprocessor("xml",_,true);_=o(_,false);if(_&&typeof _.getResult==='function'){if(_.isRejected()){throw _.getResult();}_=_.getResult();}i(_);}};k.prototype.exit=function(){if(this.oAfterRenderingNotifier){this.oAfterRenderingNotifier.destroy();}V.prototype.exit.apply(this,arguments);};k.prototype.onControllerConnected=function(o){var e=this;function i(H){return M.runWithPreprocessors(H,{settings:e._fnSettingsPreprocessor});}if(!this.oAsyncState){this._aParsedContent=i(a.parseTemplate.bind(null,this._xContent,this));}else{return a.parseTemplatePromise(this._xContent,this,true,{fnRunWithPreprocessor:i}).then(function(P){e._aParsedContent=P;delete e.oAsyncState.suppressPreserve;});}};k.prototype.getControllerName=function(){return this._controllerName;};k.prototype.isSubView=function(){return this._oContainingView!=this;};k.prototype.onAfterRenderingBeforeChildren=function(){if(this._$oldContent.length!==0){var e=this.getAggregation("content");if(e){for(var i=0;i<e.length;i++){var N=document.getElementById(g.Temporary+e[i].getId())||e[i].getDomRef()||document.getElementById(g.Invisible+e[i].getId());if(N){q(document.getElementById(g.Dummy+e[i].getId())).replaceWith(N);}}}q(document.getElementById(g.Temporary+this.getId())).replaceWith(this._$oldContent);}this._$oldContent=undefined;};k.prototype._onChildRerenderedEmpty=function(o,e){q(e).replaceWith('<div id="'+g.Dummy+o.getId()+'" class="sapUiHidden"/>');return true;};k.registerPreprocessor=function(T,P,S,o,e){T=T.toUpperCase();if(k.PreprocessorType[T]){V.registerPreprocessor(k.PreprocessorType[T],P,this.getMetadata().getClass()._sType,S,o,e);}else{L.error("Preprocessor could not be registered due to unknown sType \""+T+"\"",this.getMetadata().getName());}};k.PreprocessorType={XML:"xml",VIEWXML:"viewxml",CONTROLS:"controls"};var G=C.extend("sap.ui.core.mvc.XMLAfterRenderingNotifier",{metadata:{library:"sap.ui.core"},renderer:function(o,e){o.text("");}});k.registerPreprocessor("xml","sap.ui.core.util.XMLPreprocessor",true,true);return k;});
sap.ui.predefine('sap/ui/core/mvc/XMLViewRenderer',['./ViewRenderer','../RenderManager',"sap/ui/thirdparty/jquery"],function(V,R,q){"use strict";var P=R.RenderPrefixes.Dummy,a=R.RenderPrefixes.Invisible,b=R.RenderPrefixes.Temporary;var X={};X.render=function(r,c){var d=c.getDomRef();if(d&&!R.isPreservedContent(d)){R.preserveContent(d,true);}var $=c._$oldContent=R.findPreservedContent(c.getId());if($.length===0){var s=c.isSubView();if(!s){r.write("<div");r.writeControlData(c);r.addClass("sapUiView");r.addClass("sapUiXMLView");V.addDisplayClass(r,c);if(!c.oAsyncState||!c.oAsyncState.suppressPreserve){r.writeAttribute("data-sap-ui-preserve",c.getId());}if(c.getWidth()){r.addStyle("width",c.getWidth());}if(c.getHeight()){r.addStyle("height",c.getHeight());}r.writeStyles();r.writeClasses();r.write(">");}if(c._aParsedContent){for(var i=0;i<c._aParsedContent.length;i++){var f=c._aParsedContent[i];if(f&&typeof(f)==="string"){r.write(f);}else{r.renderControl(f);if(!f.bOutput){r.write('<div id="'+P+f.getId()+'" class="sapUiHidden"></div>');}}}}if(!s){r.write("</div>");}}else{r.renderControl(c.oAfterRenderingNotifier);r.write('<div id="'+b+c.getId()+'" class="sapUiHidden">');for(var i=0;i<c._aParsedContent.length;i++){var f=c._aParsedContent[i];if(typeof(f)!=="string"){r.renderControl(f);var F=f.getId(),e=q(document.getElementById(F));if(e.length==0){e=q(document.getElementById(a+F));}if(!R.isPreservedContent(e[0])){e.replaceWith('<div id="'+P+F+'" class="sapUiHidden"></div>');}}}r.write('</div>');}};return X;},true);
sap.ui.predefine('sap/ui/core/routing/HashChanger',["./HashChangerBase","./RouterHashChanger",'sap/ui/thirdparty/hasher',"sap/base/Log","sap/base/util/ObjectPath"],function(H,R,h,L,O){"use strict";var a=H.extend("sap.ui.core.routing.HashChanger",{constructor:function(){H.apply(this);}});a.prototype.init=function(){if(this._initialized){L.info("this HashChanger instance has already been initialized.");return false;}this._initialized=true;h.changed.add(this.fireHashChanged,this);if(!h.isActive()){h.initialized.addOnce(this.fireHashChanged,this);h.init();}else{this.fireHashChanged(h.getHash());}return this._initialized;};a.prototype.fireHashChanged=function(n,o){this.fireEvent("hashChanged",{newHash:n,oldHash:o});};a.prototype.createRouterHashChanger=function(){if(!this._oRouterHashChanger){var p=this._parseHash(this.getHash());this._oRouterHashChanger=new R({parent:this,hash:p.hash,subHashMap:p.subHashMap});this._registerListenerToRelevantEvents();this._oRouterHashChanger.attachEvent("hashSet",this._onHashModified,this);this._oRouterHashChanger.attachEvent("hashReplaced",this._onHashModified,this);}return this._oRouterHashChanger;};a.prototype._registerListenerToRelevantEvents=function(){if(!this._mEventListeners){this._mEventListeners={};this.getRelevantEventsInfo().forEach(function(e){var E=e.name,l=this._onHashChangedForRouterHashChanger.bind(this,e);this._mEventListeners[E]=l;this.attachEvent(E,l,this);}.bind(this));}};a.prototype._deregisterListenerFromRelevantEvents=function(){if(this._mEventListeners){var e=Object.keys(this._mEventListeners);e.forEach(function(E){this.detachEvent(E,this._mEventListeners[E],this);}.bind(this));delete this._mEventListeners;}};a.prototype._onHashChangedForRouterHashChanger=function(e,E){if(this._oRouterHashChanger){var p=e.paramMapping||{},P=p["newHash"]||"newHash",n=E.getParameter(P)||"",o=this._parseHash(n);this._oRouterHashChanger.fireHashChanged(o.hash,o.subHashMap,!!e.updateHashOnly);}};a.prototype._onHashModified=function(e){var E=e.getId(),v=e.getParameter("hash"),k=e.getParameter("key"),d=e.getParameter("deletePrefix");if(!Array.isArray(v)){v=[v];}if(!Array.isArray(k)){k=[k];}if(E==="hashSet"){this._setSubHash(k,v,d);}else{this._replaceSubHash(k,v,d);}};a.prototype._setSubHash=function(k,s,c){var b=this._reconstructHash(k,s,c);this.setHash(b);};a.prototype._replaceSubHash=function(k,s,c){var b=this._reconstructHash(k,s,c);this.replaceHash(b);};a.prototype._reconstructHash=function(k,v,d){var p=this.getHash().split("&/"),t=p.shift();k.forEach(function(K,b){var V=v[b];if(K===undefined){t=V+"";}else{var f=p.some(function(P,i,p){if(P.startsWith(K)){if(V){p[i]=K+"/"+V;}else{d.push(K);}return true;}});if(!f){p.push(K+"/"+V);}}if(d&&d.length>0){p=p.filter(function(P){return!d.some(function(s){return P.startsWith(s);});});}});p.unshift(t);return p.join("&/");};a.prototype._parseHash=function(s){var p=s.split("&/");return{hash:p.shift(),subHashMap:p.reduce(function(m,P){var S=P.indexOf("/");if(S===-1){m[P]="";}else{m[P.substring(0,S)]=P.substring(S+1);}return m;},{})};};a.prototype.setHash=function(s){H.prototype.setHash.apply(this,arguments);h.setHash(s);};a.prototype.replaceHash=function(s){H.prototype.replaceHash.apply(this,arguments);h.replaceHash(s);};a.prototype.getHash=function(){return h.getHash();};a.prototype.getRelevantEventsInfo=function(){return[{name:"hashChanged"}];};a.prototype.destroy=function(){if(this._oRouterHashChanger){this._deregisterListenerFromRelevantEvents();this._oRouterHashChanger.destroy();this._oRouterHashChanger=undefined;}delete this._initialized;h.changed.remove(this.fireHashChanged,this);H.prototype.destroy.apply(this,arguments);};a.prototype.deregisterRouterHashChanger=function(){this._deregisterListenerFromRelevantEvents();delete this._oRouterHashChanger;};(function(){var _=null;a.getInstance=function(){if(!_){_=new a();}return _;};function e(o){var E,b,n;for(E in _.mEventRegistry){if(_.mEventRegistry.hasOwnProperty(E)){b=_.mEventRegistry[E];n=o.mEventRegistry[E];if(n){o.mEventRegistry[E]=b.concat(n);}else{o.mEventRegistry[E]=b;}}}}a.replaceHashChanger=function(o){if(_&&o){var g=O.get("sap.ui.core.routing.History.getInstance"),b;if(g){b=g();b._setHashChanger(o);}if(_._oRouterHashChanger){_._oRouterHashChanger.detachEvent("hashSet",_._onHashModified,_);_._oRouterHashChanger.detachEvent("hashReplaced",_._onHashModified,_);_._deregisterListenerFromRelevantEvents();o._oRouterHashChanger=_._oRouterHashChanger;o._oRouterHashChanger.parent=o;delete _._oRouterHashChanger;o._oRouterHashChanger.attachEvent("hashSet",o._onHashModified,o);o._oRouterHashChanger.attachEvent("hashReplaced",o._onHashModified,o);o._registerListenerToRelevantEvents();}e(o);_.destroy();}_=o;};}());return a;});
sap.ui.predefine('sap/ui/core/routing/HashChangerBase',['sap/ui/base/EventProvider'],function(E){"use strict";var H=E.extend("sap.ui.core.routing.HashChangerBase",{metadata:{"abstract":true,publicMethods:["getHash","setHash","replaceHash"]},constructor:function(){E.apply(this);}});H.M_EVENTS={"HashChanged":"hashChanged","HashSet":"hashSet","HashReplaced":"hashReplaced"};H.prototype.setHash=function(h){this.fireEvent("hashSet",{sHash:h,hash:h});};H.prototype.replaceHash=function(h){this.fireEvent("hashReplaced",{sHash:h,hash:h});};return H;});
sap.ui.predefine('sap/ui/core/routing/History',['sap/ui/core/library','./HashChanger',"sap/base/Log","sap/ui/Device","sap/base/util/ObjectPath"],function(l,H,L,D,O){"use strict";var a=l.routing.HistoryDirection;var b="Direction_Unchanged";var c=function(h){this._iHistoryLength=window.history.length;this.aHistory=[];this._bIsInitial=true;function d(C){var s=window.history.state===null?{}:window.history.state;if(typeof s==="object"){s.sap=s.sap?s.sap:{};if(s.sap.history&&Array.isArray(s.sap.history)&&s.sap.history[s.sap.history.length-1]===C){c._aStateHistory=s.sap.history;}else{c._aStateHistory.push(C);s.sap.history=c._aStateHistory;window.history.replaceState(s,window.document.title);}}else{L.debug("Unable to determine HistoryDirection as history.state is already set: "+window.history.state,"sap.ui.core.routing.History");}}if(c._bUsePushState&&!c.getInstance()){if(h._initialized){d(h.getHash());}else{h.attachEventOnce("hashChanged",function(e){d(e.getParameter("newHash"));});}}if(!h){L.error("sap.ui.core.routing.History constructor was called and it did not get a hashChanger as parameter");}this._setHashChanger(h);this._reset();};c._aStateHistory=[];c._bUsePushState=!D.browser.msie&&(window.self===window.top);c.prototype.getHistoryStateOffset=function(){if(!c._bUsePushState){return undefined;}var s=O.get("history.state.sap.history");if(!Array.isArray(s)){return undefined;}return s.length-c._aStateHistory.length;};c.prototype.destroy=function(n){this._unRegisterHashChanger();};c.prototype.getDirection=function(n){if(n!==undefined&&this._bIsInitial){return undefined;}if(n===undefined){return this._sCurrentDirection;}return this._getDirection(n);};c.prototype.getPreviousHash=function(){return this.aHistory[this.iHistoryPosition-1];};c.prototype._setHashChanger=function(h){if(this._oHashChanger){this._unRegisterHashChanger();}this._oHashChanger=h;this._mEventListeners={};h.getRelevantEventsInfo().forEach(function(e){var E=e.name,p=e.paramMapping||{},f=this._onHashChange.bind(this,p);this._mEventListeners[E]=f;this._oHashChanger.attachEvent(E,f,this);}.bind(this));this._oHashChanger.attachEvent("hashReplaced",this._hashReplaced,this);this._oHashChanger.attachEvent("hashSet",this._hashSet,this);};c.prototype._unRegisterHashChanger=function(){if(this._mEventListeners){var e=Object.keys(this._mEventListeners);e.forEach(function(E){this._oHashChanger.detachEvent(E,this._mEventListeners[E],this);}.bind(this));delete this._mEventListeners;}this._oHashChanger.detachEvent("hashReplaced",this._hashReplaced,this);this._oHashChanger.detachEvent("hashSet",this._hashSet,this);this._oHashChanger=null;};c.prototype._reset=function(){this.aHistory.length=0;this.iHistoryPosition=0;this._bUnknown=true;this.aHistory[0]=this._oHashChanger.getHash();};c.prototype._getDirection=function(n,h,C){if(C&&this._oNextHash&&this._oNextHash.sHash===n){return a.NewEntry;}if(h){return a.NewEntry;}if(this._bUnknown){return a.Unknown;}if(this.aHistory[this.iHistoryPosition+1]===n&&this.aHistory[this.iHistoryPosition-1]===n){return a.Unknown;}if(this.aHistory[this.iHistoryPosition-1]===n){return a.Backwards;}if(this.aHistory[this.iHistoryPosition+1]===n){return a.Forwards;}return a.Unknown;};c.prototype._getDirectionWithState=function(h){var s=window.history.state===null?{}:window.history.state,B,d;if(typeof s==="object"){if(s.sap===undefined){c._aStateHistory.push(h);s.sap={};s.sap.history=c._aStateHistory;history.replaceState(s,document.title);d=a.NewEntry;}else{B=s.sap.history.every(function(u,e){return u===c._aStateHistory[e];});if(B&&s.sap.history.length===c._aStateHistory.length){d=b;}else{d=B?a.Backwards:a.Forwards;c._aStateHistory=s.sap.history;}}}else{L.debug("Unable to determine HistoryDirection as history.state is already set: "+window.history.state,"sap.ui.core.routing.History");}return d;};c.prototype._onHashChange=function(p,e){var n=p.newHash||"newHash",o=p.oldHash||"oldHash",f=p.fullHash||"fullHash";this._hashChange(e.getParameter(n),e.getParameter(o),e.getParameter(f));};c.prototype._hashChange=function(n,o,f){var d=window.history.length,s;if(this._oNextHash&&this._oNextHash.bWasReplaced&&this._oNextHash.sHash===n){this.aHistory[this.iHistoryPosition]=n;if(f!==undefined&&c._bUsePushState&&this===c.getInstance()){c._aStateHistory[c._aStateHistory.length-1]=f;window.history.replaceState({sap:{history:c._aStateHistory}},window.document.title);}this._oNextHash=null;if(!this._bIsInitial){this._sCurrentDirection=a.Unknown;}return;}this._bIsInitial=false;if(f!==undefined&&c._bUsePushState&&this===c.getInstance()){s=this._getDirectionWithState(f);}if(s===b){return;}if(!s){s=this._getDirection(n,this._iHistoryLength<window.history.length,true);}this._sCurrentDirection=s;this._iHistoryLength=d;if(this._oNextHash){this._oNextHash=null;}if(s===a.Unknown){this._reset();return;}this._bUnknown=false;if(s===a.NewEntry){if(this.iHistoryPosition+1<this.aHistory.length){this.aHistory=this.aHistory.slice(0,this.iHistoryPosition+1);}this.aHistory.push(n);this.iHistoryPosition+=1;return;}if(s===a.Forwards){this.iHistoryPosition++;return;}if(s===a.Backwards){this.iHistoryPosition--;}};c.prototype._hashSet=function(e){this._hashChangedByApp(e.getParameter("sHash"),false);};c.prototype._hashReplaced=function(e){this._hashChangedByApp(e.getParameter("sHash"),true);};c.prototype._hashChangedByApp=function(n,w){this._oNextHash={sHash:n,bWasReplaced:w};};var i;c.getInstance=function(){return i;};i=new c(H.getInstance());return c;},true);
sap.ui.predefine('sap/ui/core/routing/Route',['sap/ui/base/EventProvider','sap/ui/core/routing/Target','sap/ui/core/routing/async/Route','sap/ui/core/routing/sync/Route','sap/ui/core/Component',"sap/base/Log","sap/base/assert","sap/ui/thirdparty/jquery"],function(E,T,a,s,C,L,b,q){"use strict";var R=E.extend("sap.ui.core.routing.Route",{metadata:{publicMethods:["getURL","getPattern"]},constructor:function(r,c,p){E.apply(this,arguments);this._validateConfig(c);this._aPattern=[];this._aRoutes=[];this._oParent=p;this._oConfig=c;this._oRouter=r;var t=this,v=c.pattern,S,d,e=r._isAsync();d=e?a:s;for(var f in d){this[f]=d[f];}if(!Array.isArray(v)){v=[v];}if(c.parent){var o=this._getParentRoute(c.parent);if(!o){L.error("No parent route with '"+c.parent+"' could be found",this);}else if(o._aPattern.length>1){L.error("Routes with multiple patterns cannot be used as parent for nested routes",this);return;}else{this._oNestingParent=o;v.forEach(function(h,i){var n=o._aPattern[0];n=n.charAt(n.length)==="/"?n:n+"/";v[i]=n+h;});}}if(Array.isArray(c.subroutes)){S=c.subroutes;c.subroutes={};q.each(S,function(i,h){c.subroutes[h.name]=h;});}if(!c.target){var g=this._convertToTargetOptions(c);g._async=e;this._oTarget=new T(g,r._oViews,p&&p._oTarget);this._oTarget._bUseRawViewId=true;}if(c.subroutes){q.each(c.subroutes,function(h,i){if(i.name===undefined){i.name=h;}r.addRoute(i,t);});}if(c.pattern===undefined){return;}q.each(v,function(i,h){t._aPattern[i]=h;t._aRoutes[i]=r._oRouter.addRoute(h);t._aRoutes[i].greedy=c.greedy;t._aRoutes[i].matched.add(function(){var A={};q.each(arguments,function(j,k){A[t._aRoutes[i]._paramsIds[j]]=k;});t._routeMatched(A,true);});t._aRoutes[i].switched.add(function(){t._routeSwitched();});});},_routeSwitched:function(){if(this._oRouter._oTargets){this._oRouter._oTargets.suspend(this._oConfig.target);}this.fireEvent("switched",{name:this._oConfig.name});},destroy:function(){E.prototype.destroy.apply(this);this._aPattern=null;this._aRoutes=null;this._oParent=null;this._oConfig=null;this.bIsDestroyed=true;return this;},getURL:function(p){return this._aRoutes[0].interpolate(p);},getPattern:function(){return this._aPattern[0];},match:function(h){return this._aRoutes.some(function(r){return r.match(h);});},attachMatched:function(d,f,l){return this.attachEvent("matched",d,f,l);},detachMatched:function(f,l){return this.detachEvent("matched",f,l);},attachBeforeMatched:function(d,f,l){return this.attachEvent("beforeMatched",d,f,l);},detachBeforeMatched:function(f,l){return this.detachEvent("beforeMatched",f,l);},fireBeforeMatched:function(p){this.fireEvent("beforeMatched",p);return this;},attachPatternMatched:function(d,f,l){return this.attachEvent("patternMatched",d,f,l);},detachPatternMatched:function(f,l){return this.detachEvent("patternMatched",f,l);},_validateConfig:function(c){if(!c.name){L.error("A name has to be specified for every route",this);}if(c.viewName){L.error("The 'viewName' option shouldn't be used in Route. please use 'view' instead",this);}},_convertToTargetOptions:function(o){return q.extend(true,{},o,{rootView:o.targetParent,controlId:o.targetControl,controlAggregation:o.targetAggregation,clearControlAggregation:o.clearTarget,viewName:o.view,viewType:o.viewType,viewId:o.viewId});},_getParentRoute:function(p){var P=p.split(":");if(P.length===1||(P.length===2&&!P[0])){return this._oRouter.getRoute(P[P.length-1]);}else{b(this._oRouter._oOwner,"No owner component for "+this._oRouter._oOwner.getId());var o=C.getOwnerComponentFor(this._oRouter._oOwner);while(o){if(o.isA(P[0])){var r=o.getRouter();return r.getRoute(P[1]);}o=C.getOwnerComponentFor(o);}return null;}}});R.M_EVENTS={BeforeMatched:"beforeMatched",Matched:"matched",PatternMatched:"patternMatched"};return R;});
//# sourceMappingURL=core-min-2.js.map