text: window["sap-ui-optimized"] = true;
  try {
  /*!
   * @overview es6-promise - a tiny implementation of Promises/A+.
   * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
   * @license   Licensed under MIT license
   *            See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
   * @version   2.3.0
   */
  (function(){"use strict";function l(x){return typeof x==='function'||(typeof x==='object'&&x!==null);}function a(x){return typeof x==='function';}function b(x){return typeof x==='object'&&x!==null;}var d;if(!Array.isArray){d=function(x){return Object.prototype.toString.call(x)==='[object Array]';};}else{d=Array.isArray;}var f=d;var g=0;var h={}.toString;var j;var k;var m=function asap(c,e){B[g]=c;B[g+1]=e;g+=2;if(g===2){if(k){k(C);}else{E();}}};function n(c){k=c;}function o(c){m=c;}var p=(typeof window!=='undefined')?window:undefined;var q=p||{};var s=q.MutationObserver||q.WebKitMutationObserver;var t=typeof process!=='undefined'&&{}.toString.call(process)==='[object process]';var u=typeof Uint8ClampedArray!=='undefined'&&typeof importScripts!=='undefined'&&typeof MessageChannel!=='undefined';function v(){var c=process.nextTick;var e=process.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);if(Array.isArray(e)&&e[1]==='0'&&e[2]==='10'){c=setImmediate;}return function(){c(C);};}function w(){return function(){j(C);};}function y(){var i=0;var c=new s(C);var e=document.createTextNode('');c.observe(e,{characterData:true});return function(){e.data=(i=++i%2);};}function z(){var c=new MessageChannel();c.port1.onmessage=C;return function(){c.port2.postMessage(0);};}function A(){return function(){setTimeout(C,1);};}var B=new Array(1000);function C(){for(var i=0;i<g;i+=2){var c=B[i];var e=B[i+1];c(e);B[i]=undefined;B[i+1]=undefined;}g=0;}function D(){try{var r=require;var c=r('vertx');j=c.runOnLoop||c.runOnContext;return w();}catch(e){return A();}}var E;if(t){E=v();}else if(s){E=y();}else if(u){E=z();}else if(p===undefined&&typeof require==='function'){E=D();}else{E=A();}function F(){}var G=void 0;var H=1;var I=2;var J=new Y();function K(){return new TypeError("You cannot resolve a promise with itself");}function L(){return new TypeError('A promises callback cannot return that same promise.');}function M(c){try{return c.then;}catch(e){J.error=e;return J;}}function N(c,i,r,x){try{c.call(i,r,x);}catch(e){return e;}}function O(c,e,i){m(function(c){var r=false;var x=N(i,e,function(P){if(r){return;}r=true;if(e!==P){S(c,P);}else{U(c,P);}},function(P){if(r){return;}r=true;V(c,P);},'Settle: '+(c._label||' unknown promise'));if(!r&&x){r=true;V(c,x);}},c);}function Q(c,e){if(e._state===H){U(c,e._result);}else if(e._state===I){V(c,e._result);}else{W(e,undefined,function(i){S(c,i);},function(r){V(c,r);});}}function R(c,e){if(e.constructor===c.constructor){Q(c,e);}else{var i=M(e);if(i===J){V(c,J.error);}else if(i===undefined){U(c,e);}else if(a(i)){O(c,e,i);}else{U(c,e);}}}function S(c,e){if(c===e){V(c,K());}else if(l(e)){R(c,e);}else{U(c,e);}}function T(c){if(c._onerror){c._onerror(c._result);}X(c);}function U(c,e){if(c._state!==G){return;}c._result=e;c._state=H;if(c._subscribers.length!==0){m(X,c);}}function V(c,r){if(c._state!==G){return;}c._state=I;c._result=r;m(T,c);}function W(c,e,i,r){var x=c._subscribers;var P=x.length;c._onerror=null;x[P]=e;x[P+H]=i;x[P+I]=r;if(P===0&&c._state){m(X,c);}}function X(c){var e=c._subscribers;var r=c._state;if(e.length===0){return;}var x,P,t1=c._result;for(var i=0;i<e.length;i+=3){x=e[i];P=e[i+r];if(x){_(r,x,P,t1);}else{P(t1);}}c._subscribers.length=0;}function Y(){this.error=null;}var Z=new Y();function $(c,i){try{return c(i);}catch(e){Z.error=e;return Z;}}function _(c,e,i,r){var x=a(i),P,t1,u1,v1;if(x){P=$(i,r);if(P===Z){v1=true;t1=P.error;P=null;}else{u1=true;}if(e===P){V(e,L());return;}}else{P=r;u1=true;}if(e._state!==G){}else if(x&&u1){S(e,P);}else if(v1){V(e,t1);}else if(c===H){U(e,P);}else if(c===I){V(e,P);}}function a1(c,r){try{r(function resolvePromise(i){S(c,i);},function rejectPromise(i){V(c,i);});}catch(e){V(c,e);}}function b1(c,i){var e=this;e._instanceConstructor=c;e.promise=new c(F);if(e._validateInput(i)){e._input=i;e.length=i.length;e._remaining=i.length;e._init();if(e.length===0){U(e.promise,e._result);}else{e.length=e.length||0;e._enumerate();if(e._remaining===0){U(e.promise,e._result);}}}else{V(e.promise,e._validationError());}}b1.prototype._validateInput=function(i){return f(i);};b1.prototype._validationError=function(){return new Error('Array Methods must be provided an Array');};b1.prototype._init=function(){this._result=new Array(this.length);};var c1=b1;b1.prototype._enumerate=function(){var e=this;var c=e.length;var r=e.promise;var x=e._input;for(var i=0;r._state===G&&i<c;i++){e._eachEntry(x[i],i);}};b1.prototype._eachEntry=function(e,i){var r=this;var c=r._instanceConstructor;if(b(e)){if(e.constructor===c&&e._state!==G){e._onerror=null;r._settledAt(e._state,i,e._result);}else{r._willSettleAt(c.resolve(e),i);}}else{r._remaining--;r._result[i]=e;}};b1.prototype._settledAt=function(c,i,e){var r=this;var x=r.promise;if(x._state===G){r._remaining--;if(c===I){V(x,e);}else{r._result[i]=e;}}if(r._remaining===0){U(x,r._result);}};b1.prototype._willSettleAt=function(c,i){var e=this;W(c,undefined,function(r){e._settledAt(H,i,r);},function(r){e._settledAt(I,i,r);});};function d1(e){return new c1(this,e).promise;}var e1=d1;function f1(e){var c=this;var r=new c(F);if(!f(e)){V(r,new TypeError('You must pass an array to race.'));return r;}var x=e.length;function P(u1){S(r,u1);}function t1(u1){V(r,u1);}for(var i=0;r._state===G&&i<x;i++){W(c.resolve(e[i]),undefined,P,t1);}return r;}var g1=f1;function h1(c){var e=this;if(c&&typeof c==='object'&&c.constructor===e){return c;}var i=new e(F);S(i,c);return i;}var i1=h1;function j1(r){var c=this;var e=new c(F);V(e,r);return e;}var k1=j1;var l1=0;function m1(){throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');}function n1(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");}var o1=p1;function p1(r){this._id=l1++;this._state=undefined;this._result=undefined;this._subscribers=[];if(F!==r){if(!a(r)){m1();}if(!(this instanceof p1)){n1();}a1(this,r);}}p1.all=e1;p1.race=g1;p1.resolve=i1;p1.reject=k1;p1._setScheduler=n;p1._setAsap=o;p1._asap=m;p1.prototype={constructor:p1,then:function(c,e){var i=this;var r=i._state;if(r===H&&!c||r===I&&!e){return this;}var x=new this.constructor(F);var P=i._result;if(r){var t1=arguments[r-1];m(function(){_(r,x,t1,P);});}else{W(i,x,c,e);}return x;},'catch':function(c){return this.then(null,c);}};function q1(){var c;if(typeof global!=='undefined'){c=global;}else if(typeof self!=='undefined'){c=self;}else{try{c=Function('return this')();}catch(e){throw new Error('polyfill failed because global object is unavailable in this environment');}}var P=c.Promise;if(P&&Object.prototype.toString.call(P.resolve()).indexOf('[object ')===0){return;}c.Promise=o1;}var r1=q1;var s1={'Promise':o1,'polyfill':r1};if(typeof define==='function'&&define['amd']){define('sap/ui/thirdparty/es6-promise',function(){return s1;});}else if(typeof module!=='undefined'&&module['exports']){module['exports']=s1;}else if(typeof this!=='undefined'){this['ES6Promise']=s1;}r1();}).call(this);
  /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  if(window.jQuery&&window.jQuery.sap&&window.jQuery.sap.declare){window.jQuery.sap.declare("sap.ui.Device",false);}if(typeof window.sap!=="object"&&typeof window.sap!=="function"){window.sap={};}if(typeof window.sap.ui!=="object"){window.sap.ui={};}(function(){if(typeof window.sap.ui.Device==="object"||typeof window.sap.ui.Device==="function"){var c="1.32.10";window.sap.ui.Device._checkAPIVersion(c);return;}var d={};function p(i,w){return("000"+String(i)).slice(-w);}var F=0,E=1,W=2,I=3,D=4,T=5;var g=function(){this.defaultComponent='DEVICE';this.sWindowName=(window.top==window)?"":"["+window.location.pathname.split('/').slice(-1)[0]+"] ";this.log=function(i,s,a){a=a||this.defaultComponent||'';var b=new Date(),e={time:p(b.getHours(),2)+":"+p(b.getMinutes(),2)+":"+p(b.getSeconds(),2),date:p(b.getFullYear(),4)+"-"+p(b.getMonth()+1,2)+"-"+p(b.getDate(),2),timestamp:b.getTime(),level:i,message:s||"",component:a||""};if(window.console){var f=e.date+" "+e.time+" "+this.sWindowName+e.message+" - "+e.component;switch(i){case F:case E:console.error(f);break;case W:console.warn(f);break;case I:console.info?console.info(f):console.log(f);break;case D:console.debug?console.debug(f):console.log(f);break;case T:console.trace?console.trace(f):console.log(f);break;}}return e;};};var l=new g();l.log(I,"Device API logging initialized");d._checkAPIVersion=function(s){var v="1.32.10";if(v!=s){l.log(W,"Device API version differs: "+v+" <-> "+s);}};var h={};function j(e,f,a){if(!h[e]){h[e]=[];}h[e].push({oListener:a,fFunction:f});}function k(e,f,a){var b=h[e];if(!b){return this;}for(var i=0,q=b.length;i<q;i++){if(b[i].fFunction===f&&b[i].oListener===a){b.splice(i,1);break;}}if(b.length==0){delete h[e];}}function n(e,a){var b=h[e],f;if(b){b=b.slice();for(var i=0,q=b.length;i<q;i++){f=b[i];f.fFunction.call(f.oListener||window,a);}}}var O={"WINDOWS":"win","MACINTOSH":"mac","LINUX":"linux","IOS":"iOS","ANDROID":"Android","BLACKBERRY":"bb","WINDOWS_PHONE":"winphone"};function o(a){a=a||navigator.userAgent;var b,e;function f(){var s=navigator.platform;if(s.indexOf("Win")!=-1){var t=/Windows NT (\d+).(\d)/i;var v=a.match(t);var w="";if(v[1]=="6"){if(v[2]==1){w="7";}else if(v[2]>1){w="8";}}else{w=v[1];}return{"name":O.WINDOWS,"versionStr":w};}else if(s.indexOf("Mac")!=-1){return{"name":O.MACINTOSH,"versionStr":""};}else if(s.indexOf("Linux")!=-1){return{"name":O.LINUX,"versionStr":""};}l.log(I,"OS detection returned no result");return null;}b=/Windows Phone (?:OS )?([\d.]*)/;e=a.match(b);if(e){return({"name":O.WINDOWS_PHONE,"versionStr":e[1]});}if(a.indexOf("(BB10;")>0){b=/\sVersion\/([\d.]+)\s/;e=a.match(b);if(e){return{"name":O.BLACKBERRY,"versionStr":e[1]};}else{return{"name":O.BLACKBERRY,"versionStr":'10'};}}b=/\(([a-zA-Z ]+);\s(?:[U]?[;]?)([\D]+)((?:[\d._]*))(?:.*[\)][^\d]*)([\d.]*)\s/;e=a.match(b);if(e){var i=/iPhone|iPad|iPod/;var q=/PlayBook|BlackBerry/;if(e[0].match(i)){e[3]=e[3].replace(/_/g,".");return({"name":O.IOS,"versionStr":e[3]});}else if(e[2].match(/Android/)){e[2]=e[2].replace(/\s/g,"");return({"name":O.ANDROID,"versionStr":e[3]});}else if(e[0].match(q)){return({"name":O.BLACKBERRY,"versionStr":e[4]});}}b=/\((Android)[\s]?([\d][.\d]*)?;.*Firefox\/[\d][.\d]*/;e=a.match(b);if(e){return({"name":O.ANDROID,"versionStr":e.length==3?e[2]:""});}return f();}function r(a){d.os=o(a)||{};d.os.OS=O;d.os.version=d.os.versionStr?parseFloat(d.os.versionStr):-1;if(d.os.name){for(var b in O){if(O[b]===d.os.name){d.os[b.toLowerCase()]=true;}}}}r();d._setOS=r;var B={"INTERNET_EXPLORER":"ie","EDGE":"ed","FIREFOX":"ff","CHROME":"cr","SAFARI":"sf","ANDROID":"an"};var u=navigator.userAgent;
  /*!
  	 * Taken from jQuery JavaScript Library v1.7.1
  	 * http://jquery.com/
  	 *
  	 * Copyright 2011, John Resig
  	 * Dual licensed under the MIT or GPL Version 2 licenses.
  	 * http://jquery.org/license
  	 *
  	 * Includes Sizzle.js
  	 * http://sizzlejs.com/
  	 * Copyright 2011, The Dojo Foundation
  	 * Released under the MIT, BSD, and GPL Licenses.
  	 *
  	 * Date: Mon Nov 21 21:11:03 2011 -0500
  	 */
  function y(a){var b=(a||u).toLowerCase();var e=/(webkit)[ \/]([\w.]+)/;var f=/(opera)(?:.*version)?[ \/]([\w.]+)/;var i=/(msie) ([\w.]+)/;var q=/(trident)\/[\w.]+;.*rv:([\w.]+)/;var s=/(edge)[ \/]([\w.]+)/;var t=/(mozilla)(?:.*? rv:([\w.]+))?/;var v=s.exec(b)||q.exec(b)||e.exec(b)||f.exec(b)||i.exec(b)||b.indexOf("compatible")<0&&t.exec(b)||[];var w={browser:v[1]||"",version:v[2]||"0"};w[w.browser]=true;return w;}function z(a,e){var b=y(a);var f=a||u;var i=e||window.navigator;var q;if(b.mozilla){q=/Mobile/;if(f.match(/Firefox\/(\d+\.\d+)/)){var v=parseFloat(RegExp.$1);return{name:B.FIREFOX,versionStr:""+v,version:v,mozilla:true,mobile:q.test(f)};}else{return{mobile:q.test(f),mozilla:true,version:-1};}}else if(b.webkit){var s=f.toLowerCase().match(/webkit[\/]([\d.]+)/);var w;if(s){w=s[1];}q=/Mobile/;if(f.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/)){var v=parseFloat(RegExp.$2);return{name:B.CHROME,versionStr:""+v,version:v,mobile:q.test(f),webkit:true,webkitVersion:w};}else if(f.match(/FxiOS\/(\d+\.\d+)/)){var v=parseFloat(RegExp.$1);return{name:B.FIREFOX,versionStr:""+v,version:v,mobile:true,webkit:true,webkitVersion:w};}else if(f.match(/Android .+ Version\/(\d+\.\d+)/)){var v=parseFloat(RegExp.$1);return{name:B.ANDROID,versionStr:""+v,version:v,mobile:q.test(f),webkit:true,webkitVersion:w};}else{var t=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/;var x=i.standalone;if(t.test(f)){var v1=t.exec(f);var v=parseFloat(v1[2]);return{name:B.SAFARI,versionStr:""+v,fullscreen:false,webview:false,version:v,mobile:q.test(f),webkit:true,webkitVersion:w,phantomJS:v1[1]==="PhantomJS"};}else if(/iPhone|iPad|iPod/.test(f)&&!(/CriOS/.test(f))&&!(/FxiOS/.test(f))&&(x===true||x===false)){return{name:B.SAFARI,version:-1,fullscreen:x,webview:!x,mobile:q.test(f),webkit:true,webkitVersion:w};}else{return{mobile:q.test(f),webkit:true,webkitVersion:w,version:-1};}}}else if(b.msie||b.trident){var v;if(document.documentMode&&!a){if(document.documentMode===7){v=8.0;}else{v=parseFloat(document.documentMode);}}else{v=parseFloat(b.version);}return{name:B.INTERNET_EXPLORER,versionStr:""+v,version:v,msie:true,mobile:false};}else if(b.edge){var v=v=parseFloat(b.version);return{name:B.EDGE,versionStr:""+v,version:v,edge:true};}return{name:"",versionStr:"",version:-1,mobile:false};}d._testUserAgent=z;function A(){d.browser=z();d.browser.BROWSER=B;if(d.browser.name){for(var b in B){if(B[b]===d.browser.name){d.browser[b.toLowerCase()]=true;}}}}A();d.support={};d.support.touch=!!(('ontouchstart'in window)||window.DocumentTouch&&document instanceof window.DocumentTouch);if(d.browser.phantomJS){d.support.touch=false;}d.support.pointer=!!window.PointerEvent;d.support.matchmedia=!!window.matchMedia;var m=d.support.matchmedia?window.matchMedia("all and (max-width:0px)"):null;d.support.matchmedialistener=!!(m&&m.addListener);if(d.browser.safari&&d.browser.version<6&&!d.browser.fullscreen&&!d.browser.webview){d.support.matchmedialistener=false;}d.support.orientation=!!("orientation"in window&&"onorientationchange"in window);d.support.retina=(window.retina||window.devicePixelRatio>=2);d.support.websocket=('WebSocket'in window);d.support.input={};d.support.input.placeholder=('placeholder'in document.createElement("input"));d.media={};var R={"SAP_3STEPS":"3Step","SAP_4STEPS":"4Step","SAP_6STEPS":"6Step","SAP_STANDARD":"Std","SAP_STANDARD_EXTENDED":"StdExt"};d.media.RANGESETS=R;d.media._predefinedRangeSets={};d.media._predefinedRangeSets[R.SAP_3STEPS]={points:[520,960],unit:"px",name:R.SAP_3STEPS,names:["S","M","L"]};d.media._predefinedRangeSets[R.SAP_4STEPS]={points:[520,760,960],unit:"px",name:R.SAP_4STEPS,names:["S","M","L","XL"]};d.media._predefinedRangeSets[R.SAP_6STEPS]={points:[241,400,541,768,960],unit:"px",name:R.SAP_6STEPS,names:["XS","S","M","L","XL","XXL"]};d.media._predefinedRangeSets[R.SAP_STANDARD]={points:[600,1024],unit:"px",name:R.SAP_STANDARD,names:["Phone","Tablet","Desktop"]};d.media._predefinedRangeSets[R.SAP_STANDARD_EXTENDED]={points:[600,1024,1440],unit:"px",name:R.SAP_STANDARD_EXTENDED,names:["Phone","Tablet","Desktop","LargeDesktop"]};var _=R.SAP_STANDARD;var C=d.support.matchmedialistener?0:100;var G={};var H=null;function J(f,t,a){a=a||"px";var q="all";if(f>0){q=q+" and (min-width:"+f+a+")";}if(t>0){q=q+" and (max-width:"+t+a+")";}return q;}function K(a){if(!d.support.matchmedialistener&&H==Q()[0]){return;}if(G[a].timer){clearTimeout(G[a].timer);G[a].timer=null;}G[a].timer=setTimeout(function(){var b=M(a,false);if(b){n("media_"+a,b);}},C);}function L(s,i){var q=G[s].queries[i];var a={from:q.from,unit:G[s].unit};if(q.to>=0){a.to=q.to;}if(G[s].names){a.name=G[s].names[i];}return a;}function M(a,b){if(G[a]){var e=G[a].queries;var f=null;for(var i=0,s=e.length;i<s;i++){var q=e[i];if((q!=G[a].currentquery||b)&&d.media.matches(q.from,q.to,G[a].unit)){if(!b){G[a].currentquery=q;}if(!G[a].noClasses&&G[a].names&&!b){N(a,G[a].names[i]);}f=L(a,i);}}return f;}l.log(W,"No queryset with name "+a+" found",'DEVICE.MEDIA');return null;}function N(s,a,b){var e="sapUiMedia-"+s+"-";P(e+a,b,e);}function P(s,b,a){var e=document.documentElement;if(e.className.length==0){if(!b){e.className=s;}}else{var f=e.className.split(" ");var q="";for(var i=0;i<f.length;i++){if((a&&f[i].indexOf(a)!=0)||(!a&&f[i]!=s)){q=q+f[i]+" ";}}if(!b){q=q+s;}e.className=q;}}function Q(){return[document.documentElement.clientWidth,document.documentElement.clientHeight];}function S(v,a){if(a==="em"||a==="rem"){var s=window.getComputedStyle||function(e){return e.currentStyle;};var x=s(document.documentElement).fontSize;var f=(x&&x.indexOf("px")>=0)?parseFloat(x,10):16;return v*f;}return v;}function U(f,t,e){f=S(f,e);t=S(t,e);var w=Q()[0];var a=f<0||f<=w;var b=t<0||w<=t;return a&&b;}function V(f,t,a){var q=J(f,t,a);var b=window.matchMedia(q);return b&&b.matches;}d.media.matches=d.support.matchmedia?V:U;d.media.attachHandler=function(f,a,s){var b=s||_;j("media_"+b,f,a);};d.media.detachHandler=function(f,a,s){var b=s||_;k("media_"+b,f,a);};d.media.initRangeSet=function(s,a,b,e,f){var t;if(!s){t=d.media._predefinedRangeSets[_];}else if(s&&d.media._predefinedRangeSets[s]){t=d.media._predefinedRangeSets[s];}else{t={name:s,unit:(b||"px").toLowerCase(),points:a||[],names:e,noClasses:!!f};}if(d.media.hasRangeSet(t.name)){l.log(I,"Range set "+t.name+" hase already been initialized",'DEVICE.MEDIA');return;}s=t.name;t.queries=[];t.timer=null;t.currentquery=null;t.listener=function(){return K(s);};var v,w,x;var v1=t.points;for(var i=0,w1=v1.length;i<=w1;i++){v=(i==0)?0:v1[i-1];w=(i==v1.length)?-1:v1[i];x=J(v,w,t.unit);t.queries.push({query:x,from:v,to:w});}if(t.names&&t.names.length!=t.queries.length){t.names=null;}G[t.name]=t;if(d.support.matchmedialistener){var x1=t.queries;for(var i=0;i<x1.length;i++){var q=x1[i];q.media=window.matchMedia(q.query);q.media.addListener(t.listener);}}else{if(window.addEventListener){window.addEventListener("resize",t.listener,false);window.addEventListener("orientationchange",t.listener,false);}else{window.attachEvent("onresize",t.listener);}}t.listener();};d.media.getCurrentRange=function(s){if(!d.media.hasRangeSet(s)){return null;}return M(s,true);};d.media.hasRangeSet=function(s){return s&&!!G[s];};d.media.removeRangeSet=function(s){if(!d.media.hasRangeSet(s)){l.log(I,"RangeSet "+s+" not found, thus could not be removed.",'DEVICE.MEDIA');return;}for(var x in R){if(s===R[x]){l.log(W,"Cannot remove default rangeset - no action taken.",'DEVICE.MEDIA');return;}}var a=G[s];if(d.support.matchmedialistener){var q=a.queries;for(var i=0;i<q.length;i++){q[i].media.removeListener(a.listener);}}else{if(window.removeEventListener){window.removeEventListener("resize",a.listener,false);window.removeEventListener("orientationchange",a.listener,false);}else{window.detachEvent("onresize",a.listener);}}N(s,"",true);delete h["media_"+s];delete G[s];};var X={"TABLET":"tablet","PHONE":"phone","DESKTOP":"desktop","COMBI":"combi"};d.system={};function Y(a,b){var t=Z(b);var i=d.os.windows&&d.os.version>=8;var e=d.os.windows&&d.os.version===7;var s={};s.tablet=!!(((d.support.touch&&!e)||i||!!a)&&t);s.phone=!!(d.os.windows_phone||((d.support.touch&&!e)||!!a)&&!t);s.desktop=!!((!s.tablet&&!s.phone)||i||e);s.combi=!!(s.desktop&&s.tablet);s.SYSTEMTYPE=X;for(var f in X){P("sap-"+X[f],!s[X[f]]);}return s;}function Z(a){var u=a||navigator.userAgent;var i=d.os.windows&&d.os.version>=8;if(d.os.name===d.os.OS.IOS){return/ipad/i.test(u);}else{if(d.support.touch){if(i){return true;}if(d.browser.chrome&&d.os.android&&d.os.version>=4.4){return!/Mobile Safari\/[.0-9]+/.test(u);}else{var b=window.devicePixelRatio?window.devicePixelRatio:1;if(d.os.android&&d.browser.webkit&&(parseFloat(d.browser.webkitVersion)>537.10)){b=1;}var t=(Math.min(window.screen.width/b,window.screen.height/b)>=600);if(r1()&&(window.screen.height===552||window.screen.height===553)&&(/Nexus 7/i.test(u))){t=true;}return t;}}else{var e=(/(?=android)(?=.*mobile)/i.test(u));return(d.browser.msie&&u.indexOf("Touch")!==-1)||(d.os.android&&!e);}}}function $(a,b){d.system=Y(a,b);if(d.system.tablet||d.system.phone){d.browser.mobile=true;}}$();d._getSystem=Y;d.orientation={};d.resize={};d.orientation.attachHandler=function(f,a){j("orientation",f,a);};d.resize.attachHandler=function(f,a){j("resize",f,a);};d.orientation.detachHandler=function(f,a){k("orientation",f,a);};d.resize.detachHandler=function(f,a){k("resize",f,a);};function a1(i){i.landscape=r1(true);i.portrait=!i.landscape;}function b1(){a1(d.orientation);n("orientation",{landscape:d.orientation.landscape});}function c1(){d1(d.resize);n("resize",{height:d.resize.height,width:d.resize.width});}function d1(i){i.width=Q()[0];i.height=Q()[1];}function e1(){var w=d.orientation.landscape;var i=r1();if(w!=i){b1();}if(!j1){j1=window.setTimeout(f1,150);}}function f1(){c1();j1=null;}var g1=false;var h1=false;var i1;var j1;var k1;var l1=Q()[1];var m1=Q()[0];var n1=false;var o1;var p1=/INPUT|TEXTAREA|SELECT/;var q1=d.os.ios&&d.browser.name==="sf"&&((d.system.phone&&d.os.version>=7&&d.os.version<7.1)||(d.system.tablet&&d.os.version>=7));function r1(f){if(d.support.touch&&d.support.orientation){if(n1&&f){return!d.orientation.landscape;}if(n1){return d.orientation.landscape;}}else{if(d.support.matchmedia&&d.support.orientation){return!!window.matchMedia("(orientation: landscape)").matches;}}var s=Q();return s[0]>s[1];}function s1(e){if(e.type=="resize"){if(q1&&p1.test(document.activeElement.tagName)&&!g1){return;}var w=Q()[1];var i=Q()[0];var t=new Date().getTime();if(w===l1&&i===m1){return;}h1=true;if((l1!=w)&&(m1==i)){if(!o1||(t-o1>300)){n1=(w<l1);}c1();}else{m1=i;}o1=t;l1=w;if(k1){window.clearTimeout(k1);k1=null;}k1=window.setTimeout(u1,1200);}else if(e.type=="orientationchange"){g1=true;}if(i1){clearTimeout(i1);i1=null;}i1=window.setTimeout(t1,50);}function t1(){if(g1&&h1){b1();c1();g1=false;h1=false;if(k1){window.clearTimeout(k1);k1=null;}}i1=null;}function u1(){g1=false;h1=false;k1=null;}d._update=function(a){u=navigator.userAgent;l.log(W,"Device API values manipulated: NOT PRODUCTIVE FEATURE!!! This should be only used for test purposes. Only use if you know what you are doing.");A();r();$(a);};d1(d.resize);a1(d.orientation);window.sap.ui.Device=d;if(d.support.touch&&d.support.orientation){window.addEventListener("resize",s1,false);window.addEventListener("orientationchange",s1,false);}else{if(window.addEventListener){window.addEventListener("resize",e1,false);}else{window.attachEvent("onresize",e1);}}d.media.initRangeSet();d.media.initRangeSet(R["SAP_STANDARD_EXTENDED"]);if(sap.ui.define){sap.ui.define("sap/ui/Device",[],function(){return d;});}}());
  /*!
   * URI.js - Mutating URLs
   *
   * Version: 1.11.2
   *
   * Author: Rodney Rehm
   * Web: http://medialize.github.com/URI.js/
   *
   * Licensed under
   *   MIT License http://www.opensource.org/licenses/mit-license
   *   GPL v3 http://opensource.org/licenses/GPL-3.0
   *
   */
  (function(r,f){if(typeof exports==='object'){module.exports=f(require('./punycode'),require('./IPv6'),require('./SecondLevelDomains'));}else if(typeof define==='function'&&define.amd){r.URI=f(r.punycode,r.IPv6,r.SecondLevelDomains,r);define('sap/ui/thirdparty/URI',[],function(){return r.URI;});}else{r.URI=f(r.punycode,r.IPv6,r.SecondLevelDomains,r);}}(this,function(a,I,S,r){"use strict";var _=r&&r.URI;function U(c,d){if(!(this instanceof U)){return new U(c,d);}if(c===undefined){if(typeof location!=='undefined'){c=location.href+"";}else{c="";}}this.href(c);if(d!==undefined){return this.absoluteTo(d);}return this;};var p=U.prototype;var h=Object.prototype.hasOwnProperty;function b(s){return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g,'\\$1');}function g(v){if(v===undefined){return'Undefined';}return String(Object.prototype.toString.call(v)).slice(8,-1);}function f(c){return g(c)==="Array";}function j(d,v){var l={};var i,c;if(f(v)){for(i=0,c=v.length;i<c;i++){l[v[i]]=true;}}else{l[v]=true;}for(i=0,c=d.length;i<c;i++){if(l[d[i]]!==undefined){d.splice(i,1);c--;i--;}}return d;}function k(l,v){var i,c;if(f(v)){for(i=0,c=v.length;i<c;i++){if(!k(l,v[i])){return false;}}return true;}var d=g(v);for(i=0,c=l.length;i<c;i++){if(d==='RegExp'){if(typeof l[i]==='string'&&l[i].match(v)){return true;}}else if(l[i]===v){return true;}}return false;}function m(c,t){if(!f(c)||!f(t)){return false;}if(c.length!==t.length){return false;}c.sort();t.sort();for(var i=0,l=c.length;i<l;i++){if(c[i]!==t[i]){return false;}}return true;}U._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,duplicateQueryParameters:U.duplicateQueryParameters,escapeQuerySpace:U.escapeQuerySpace};};U.duplicateQueryParameters=false;U.escapeQuerySpace=true;U.protocol_expression=/^[a-z][a-z0-9-+-]*$/i;U.idn_expression=/[^a-z0-9\.-]/i;U.punycode_expression=/(xn--)/i;U.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;U.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;U.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig;U.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"};U.invalid_hostname_characters=/[^a-zA-Z0-9\.-]/;U.domAttributes={'a':'href','blockquote':'cite','link':'href','base':'href','script':'src','form':'action','img':'src','area':'href','iframe':'src','embed':'src','source':'src','track':'src','input':'src'};U.getDomAttribute=function(c){if(!c||!c.nodeName){return undefined;}var d=c.nodeName.toLowerCase();if(d==='input'&&c.type!=='image'){return undefined;}return U.domAttributes[d];};function n(v){return escape(v);}function o(s){return encodeURIComponent(s).replace(/[!'()*]/g,n).replace(/\*/g,"%2A");}U.encode=o;U.decode=decodeURIComponent;U.iso8859=function(){U.encode=escape;U.decode=unescape;};U.unicode=function(){U.encode=o;U.decode=decodeURIComponent;};U.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}}};U.encodeQuery=function(s,e){var c=U.encode(s+"");return e?c.replace(/%20/g,'+'):c;};U.decodeQuery=function(s,c){s+="";try{return U.decode(c?s.replace(/\+/g,'%20'):s);}catch(e){return s;}};U.recodePath=function(s){var c=(s+"").split('/');for(var i=0,l=c.length;i<l;i++){c[i]=U.encodePathSegment(U.decode(c[i]));}return c.join('/');};U.decodePath=function(s){var c=(s+"").split('/');for(var i=0,l=c.length;i<l;i++){c[i]=U.decodePathSegment(c[i]);}return c.join('/');};var u={'encode':'encode','decode':'decode'};var w;var y=function(d,w){return function(s){return U[w](s+"").replace(U.characters[d][w].expression,function(c){return U.characters[d][w].map[c];});};};for(w in u){U[w+"PathSegment"]=y("pathname",u[w]);}U.encodeReserved=y("reserved","encode");U.parse=function(s,c){var d;if(!c){c={};}d=s.indexOf('#');if(d>-1){c.fragment=s.substring(d+1)||null;s=s.substring(0,d);}d=s.indexOf('?');if(d>-1){c.query=s.substring(d+1)||null;s=s.substring(0,d);}if(s.substring(0,2)==='//'){c.protocol=null;s=s.substring(2);s=U.parseAuthority(s,c);}else{d=s.indexOf(':');if(d>-1){c.protocol=s.substring(0,d)||null;if(c.protocol&&!c.protocol.match(U.protocol_expression)){c.protocol=undefined;}else if(c.protocol==='file'){s=s.substring(d+3);}else if(s.substring(d+1,d+3)==='//'){s=s.substring(d+3);s=U.parseAuthority(s,c);}else{s=s.substring(d+1);c.urn=true;}}}c.path=s;return c;};U.parseHost=function(s,c){var d=s.indexOf('/');var e;var t;if(d===-1){d=s.length;}if(s.charAt(0)==="["){e=s.indexOf(']');c.hostname=s.substring(1,e)||null;c.port=s.substring(e+2,d)||null;}else if(s.indexOf(':')!==s.lastIndexOf(':')){c.hostname=s.substring(0,d)||null;c.port=null;}else{t=s.substring(0,d).split(':');c.hostname=t[0]||null;c.port=t[1]||null;}if(c.hostname&&s.substring(d).charAt(0)!=='/'){d++;s="/"+s;}return s.substring(d)||'/';};U.parseAuthority=function(s,c){s=U.parseUserinfo(s,c);return U.parseHost(s,c);};U.parseUserinfo=function(s,c){var d=s.indexOf('/');var e=d>-1?s.lastIndexOf('@',d):s.indexOf('@');var t;if(e>-1&&(d===-1||e<d)){t=s.substring(0,e).split(':');c.username=t[0]?U.decode(t[0]):null;t.shift();c.password=t[0]?U.decode(t.join(':')):null;s=s.substring(e+1);}else{c.username=null;c.password=null;}return s;};U.parseQuery=function(s,e){if(!s){return{};}s=s.replace(/&+/g,'&').replace(/^\?*&*|&+$/g,'');if(!s){return{};}var c={};var d=s.split('&');var l=d.length;var v,t,x;for(var i=0;i<l;i++){v=d[i].split('=');t=U.decodeQuery(v.shift(),e);x=v.length?U.decodeQuery(v.join('='),e):null;if(c[t]){if(typeof c[t]==="string"){c[t]=[c[t]];}c[t].push(x);}else{c[t]=x;}}return c;};U.build=function(c){var t="";if(c.protocol){t+=c.protocol+":";}if(!c.urn&&(t||c.hostname)){t+='//';}t+=(U.buildAuthority(c)||'');if(typeof c.path==="string"){if(c.path.charAt(0)!=='/'&&typeof c.hostname==="string"){t+='/';}t+=c.path;}if(typeof c.query==="string"&&c.query){t+='?'+c.query;}if(typeof c.fragment==="string"&&c.fragment){t+='#'+c.fragment;}return t;};U.buildHost=function(c){var t="";if(!c.hostname){return"";}else if(U.ip6_expression.test(c.hostname)){if(c.port){t+="["+c.hostname+"]:"+c.port;}else{t+=c.hostname;}}else{t+=c.hostname;if(c.port){t+=':'+c.port;}}return t;};U.buildAuthority=function(c){return U.buildUserinfo(c)+U.buildHost(c);};U.buildUserinfo=function(c){var t="";if(c.username){t+=U.encode(c.username);if(c.password){t+=':'+U.encode(c.password);}t+="@";}return t;};U.buildQuery=function(d,c,e){var t="";var l,s,i,v;for(s in d){if(h.call(d,s)&&s){if(f(d[s])){l={};for(i=0,v=d[s].length;i<v;i++){if(d[s][i]!==undefined&&l[d[s][i]+""]===undefined){t+="&"+U.buildQueryParameter(s,d[s][i],e);if(c!==true){l[d[s][i]+""]=true;}}}}else if(d[s]!==undefined){t+='&'+U.buildQueryParameter(s,d[s],e);}}}return t.substring(1);};U.buildQueryParameter=function(c,v,e){return U.encodeQuery(c,e)+(v!==null?"="+U.encodeQuery(v,e):"");};U.addQuery=function(d,c,v){if(typeof c==="object"){for(var e in c){if(h.call(c,e)){U.addQuery(d,e,c[e]);}}}else if(typeof c==="string"){if(d[c]===undefined){d[c]=v;return;}else if(typeof d[c]==="string"){d[c]=[d[c]];}if(!f(v)){v=[v];}d[c]=d[c].concat(v);}else{throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");}};U.removeQuery=function(d,c,v){var i,l,e;if(f(c)){for(i=0,l=c.length;i<l;i++){d[c[i]]=undefined;}}else if(typeof c==="object"){for(e in c){if(h.call(c,e)){U.removeQuery(d,e,c[e]);}}}else if(typeof c==="string"){if(v!==undefined){if(d[c]===v){d[c]=undefined;}else if(f(d[c])){d[c]=j(d[c],v);}}else{d[c]=undefined;}}else{throw new TypeError("URI.addQuery() accepts an object, string as the first parameter");}};U.hasQuery=function(d,c,v,e){if(typeof c==="object"){for(var i in c){if(h.call(c,i)){if(!U.hasQuery(d,i,c[i])){return false;}}}return true;}else if(typeof c!=="string"){throw new TypeError("URI.hasQuery() accepts an object, string as the name parameter");}switch(g(v)){case'Undefined':return c in d;case'Boolean':var l=Boolean(f(d[c])?d[c].length:d[c]);return v===l;case'Function':return!!v(d[c],c,d);case'Array':if(!f(d[c])){return false;}var s=e?k:m;return s(d[c],v);case'RegExp':if(!f(d[c])){return Boolean(d[c]&&d[c].match(v));}if(!e){return false;}return k(d[c],v);case'Number':v=String(v);case'String':if(!f(d[c])){return d[c]===v;}if(!e){return false;}return k(d[c],v);default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter");}};U.commonPath=function(c,t){var l=Math.min(c.length,t.length);var d;for(d=0;d<l;d++){if(c.charAt(d)!==t.charAt(d)){d--;break;}}if(d<1){return c.charAt(0)===t.charAt(0)&&c.charAt(0)==='/'?'/':'';}if(c.charAt(d)!=='/'||t.charAt(d)!=='/'){d=c.substring(0,d).lastIndexOf('/');}return c.substring(0,d+1);};U.withinString=function(s,c){return s.replace(U.find_uri_expression,c);};U.ensureValidHostname=function(v){if(v.match(U.invalid_hostname_characters)){if(!a){throw new TypeError("Hostname '"+v+"' contains characters other than [A-Z0-9.-] and Punycode.js is not available");}if(a.toASCII(v).match(U.invalid_hostname_characters)){throw new TypeError("Hostname '"+v+"' contains characters other than [A-Z0-9.-]");}}};U.noConflict=function(c){if(c){var d={URI:this.noConflict()};if(URITemplate&&typeof URITemplate.noConflict=="function"){d.URITemplate=URITemplate.noConflict();}if(I&&typeof I.noConflict=="function"){d.IPv6=I.noConflict();}if(SecondLevelDomains&&typeof SecondLevelDomains.noConflict=="function"){d.SecondLevelDomains=SecondLevelDomains.noConflict();}return d;}else if(r.URI===this){r.URI=_;}return this;};p.build=function(d){if(d===true){this._deferred_build=true;}else if(d===undefined||this._deferred_build){this._string=U.build(this._parts);this._deferred_build=false;}return this;};p.clone=function(){return new U(this);};p.valueOf=p.toString=function(){return this.build(false)._string;};u={protocol:'protocol',username:'username',password:'password',hostname:'hostname',port:'port'};y=function(w){return function(v,c){if(v===undefined){return this._parts[w]||"";}else{this._parts[w]=v||null;this.build(!c);return this;}};};for(w in u){p[w]=y(u[w]);}u={query:'?',fragment:'#'};y=function(w,c){return function(v,d){if(v===undefined){return this._parts[w]||"";}else{if(v!==null){v=v+"";if(v.charAt(0)===c){v=v.substring(1);}}this._parts[w]=v;this.build(!d);return this;}};};for(w in u){p[w]=y(w,u[w]);}u={search:['?','query'],hash:['#','fragment']};y=function(w,c){return function(v,d){var t=this[w](v,d);return typeof t==="string"&&t.length?(c+t):t;};};for(w in u){p[w]=y(u[w][1],u[w][0]);}p.pathname=function(v,c){if(v===undefined||v===true){var d=this._parts.path||(this._parts.hostname?'/':'');return v?U.decodePath(d):d;}else{this._parts.path=v?U.recodePath(v):"/";this.build(!c);return this;}};p.path=p.pathname;p.href=function(c,d){var e;if(c===undefined){return this.toString();}this._string="";this._parts=U._parts();var _=c instanceof U;var i=typeof c==="object"&&(c.hostname||c.path||c.pathname);if(c.nodeName){var l=U.getDomAttribute(c);c=c[l]||"";i=false;}if(!_&&i&&c.pathname!==undefined){c=c.toString();}if(typeof c==="string"){this._parts=U.parse(c,this._parts);}else if(_||i){var s=_?c._parts:c;for(e in s){if(h.call(this._parts,e)){this._parts[e]=s[e];}}}else{throw new TypeError("invalid input");}this.build(!d);return this;};p.is=function(c){var i=false;var d=false;var e=false;var l=false;var s=false;var t=false;var a=false;var v=!this._parts.urn;if(this._parts.hostname){v=false;d=U.ip4_expression.test(this._parts.hostname);e=U.ip6_expression.test(this._parts.hostname);i=d||e;l=!i;s=l&&S&&S.has(this._parts.hostname);t=l&&U.idn_expression.test(this._parts.hostname);a=l&&U.punycode_expression.test(this._parts.hostname);}switch(c.toLowerCase()){case'relative':return v;case'absolute':return!v;case'domain':case'name':return l;case'sld':return s;case'ip':return i;case'ip4':case'ipv4':case'inet4':return d;case'ip6':case'ipv6':case'inet6':return e;case'idn':return t;case'url':return!this._parts.urn;case'urn':return!!this._parts.urn;case'punycode':return a;}return null;};var z=p.protocol;var A=p.port;var B=p.hostname;p.protocol=function(v,c){if(v!==undefined){if(v){v=v.replace(/:(\/\/)?$/,'');if(v.match(/[^a-zA-z0-9\.+-]/)){throw new TypeError("Protocol '"+v+"' contains characters other than [A-Z0-9.+-]");}}}return z.call(this,v,c);};p.scheme=p.protocol;p.port=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v!==undefined){if(v===0){v=null;}if(v){v+="";if(v.charAt(0)===":"){v=v.substring(1);}if(v.match(/[^0-9]/)){throw new TypeError("Port '"+v+"' contains characters other than [0-9]");}}}return A.call(this,v,c);};p.hostname=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v!==undefined){var x={};U.parseHost(v,x);v=x.hostname;}return B.call(this,v,c);};p.host=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined){return this._parts.hostname?U.buildHost(this._parts):"";}else{U.parseHost(v,this._parts);this.build(!c);return this;}};p.authority=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined){return this._parts.hostname?U.buildAuthority(this._parts):"";}else{U.parseAuthority(v,this._parts);this.build(!c);return this;}};p.userinfo=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined){if(!this._parts.username){return"";}var t=U.buildUserinfo(this._parts);return t.substring(0,t.length-1);}else{if(v[v.length-1]!=='@'){v+='@';}U.parseUserinfo(v,this._parts);this.build(!c);return this;}};p.resource=function(v,c){var d;if(v===undefined){return this.path()+this.search()+this.hash();}d=U.parse(v);this._parts.path=d.path;this._parts.query=d.query;this._parts.fragment=d.fragment;this.build(!c);return this;};p.subdomain=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined){if(!this._parts.hostname||this.is('IP')){return"";}var d=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,d)||"";}else{var e=this._parts.hostname.length-this.domain().length;var s=this._parts.hostname.substring(0,e);var i=new RegExp('^'+b(s));if(v&&v.charAt(v.length-1)!=='.'){v+=".";}if(v){U.ensureValidHostname(v);}this._parts.hostname=this._parts.hostname.replace(i,v);this.build(!c);return this;}};p.domain=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(typeof v==='boolean'){c=v;v=undefined;}if(v===undefined){if(!this._parts.hostname||this.is('IP')){return"";}var t=this._parts.hostname.match(/\./g);if(t&&t.length<2){return this._parts.hostname;}var e=this._parts.hostname.length-this.tld(c).length-1;e=this._parts.hostname.lastIndexOf('.',e-1)+1;return this._parts.hostname.substring(e)||"";}else{if(!v){throw new TypeError("cannot set domain empty");}U.ensureValidHostname(v);if(!this._parts.hostname||this.is('IP')){this._parts.hostname=v;}else{var d=new RegExp(b(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(d,v);}this.build(!c);return this;}};p.tld=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(typeof v==='boolean'){c=v;v=undefined;}if(v===undefined){if(!this._parts.hostname||this.is('IP')){return"";}var d=this._parts.hostname.lastIndexOf('.');var t=this._parts.hostname.substring(d+1);if(c!==true&&S&&S.list[t.toLowerCase()]){return S.get(this._parts.hostname)||t;}return t;}else{var e;if(!v){throw new TypeError("cannot set TLD empty");}else if(v.match(/[^a-zA-Z0-9-]/)){if(S&&S.is(v)){e=new RegExp(b(this.tld())+"$");this._parts.hostname=this._parts.hostname.replace(e,v);}else{throw new TypeError("TLD '"+v+"' contains characters other than [A-Z0-9]");}}else if(!this._parts.hostname||this.is('IP')){throw new ReferenceError("cannot set TLD on non-domain host");}else{e=new RegExp(b(this.tld())+"$");this._parts.hostname=this._parts.hostname.replace(e,v);}this.build(!c);return this;}};p.directory=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined||v===true){if(!this._parts.path&&!this._parts.hostname){return'';}if(this._parts.path==='/'){return'/';}var d=this._parts.path.length-this.filename().length-1;var i=this._parts.path.substring(0,d)||(this._parts.hostname?"/":"");return v?U.decodePath(i):i;}else{var e=this._parts.path.length-this.filename().length;var l=this._parts.path.substring(0,e);var s=new RegExp('^'+b(l));if(!this.is('relative')){if(!v){v='/';}if(v.charAt(0)!=='/'){v="/"+v;}}if(v&&v.charAt(v.length-1)!=='/'){v+='/';}v=U.recodePath(v);this._parts.path=this._parts.path.replace(s,v);this.build(!c);return this;}};p.filename=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined||v===true){if(!this._parts.path||this._parts.path==='/'){return"";}var d=this._parts.path.lastIndexOf('/');var e=this._parts.path.substring(d+1);return v?U.decodePathSegment(e):e;}else{var i=false;if(v.charAt(0)==='/'){v=v.substring(1);}if(v.match(/\.?\//)){i=true;}var l=new RegExp(b(this.filename())+"$");v=U.recodePath(v);this._parts.path=this._parts.path.replace(l,v);if(i){this.normalizePath(c);}else{this.build(!c);}return this;}};p.suffix=function(v,c){if(this._parts.urn){return v===undefined?'':this;}if(v===undefined||v===true){if(!this._parts.path||this._parts.path==='/'){return"";}var d=this.filename();var e=d.lastIndexOf('.');var s,i;if(e===-1){return"";}s=d.substring(e+1);i=(/^[a-z0-9%]+$/i).test(s)?s:"";return v?U.decodePathSegment(i):i;}else{if(v.charAt(0)==='.'){v=v.substring(1);}var l=this.suffix();var t;if(!l){if(!v){return this;}this._parts.path+='.'+U.recodePath(v);}else if(!v){t=new RegExp(b("."+l)+"$");}else{t=new RegExp(b(l)+"$");}if(t){v=U.recodePath(v);this._parts.path=this._parts.path.replace(t,v);}this.build(!c);return this;}};p.segment=function(s,v,c){var d=this._parts.urn?':':'/';var e=this.path();var t=e.substring(0,1)==='/';var x=e.split(d);if(s!==undefined&&typeof s!=='number'){c=v;v=s;s=undefined;}if(s!==undefined&&typeof s!=='number'){throw new Error("Bad segment '"+s+"', must be 0-based integer");}if(t){x.shift();}if(s<0){s=Math.max(x.length+s,0);}if(v===undefined){return s===undefined?x:x[s];}else if(s===null||x[s]===undefined){if(f(v)){x=[];for(var i=0,l=v.length;i<l;i++){if(!v[i].length&&(!x.length||!x[x.length-1].length)){continue;}if(x.length&&!x[x.length-1].length){x.pop();}x.push(v[i]);}}else if(v||(typeof v==="string")){if(x[x.length-1]===""){x[x.length-1]=v;}else{x.push(v);}}}else{if(v||(typeof v==="string"&&v.length)){x[s]=v;}else{x.splice(s,1);}}if(t){x.unshift("");}return this.path(x.join(d),c);};p.segmentCoded=function(s,v,c){var d,i,l;if(typeof s!=='number'){c=v;v=s;s=undefined;}if(v===undefined){d=this.segment(s,v,c);if(!f(d)){d=d!==undefined?U.decode(d):undefined;}else{for(i=0,l=d.length;i<l;i++){d[i]=U.decode(d[i]);}}return d;}if(!f(v)){v=typeof v==='string'?U.encode(v):v;}else{for(i=0,l=v.length;i<l;i++){v[i]=U.decode(v[i]);}}return this.segment(s,v,c);};var q=p.query;p.query=function(v,c){if(v===true){return U.parseQuery(this._parts.query,this._parts.escapeQuerySpace);}else if(typeof v==="function"){var d=U.parseQuery(this._parts.query,this._parts.escapeQuerySpace);var e=v.call(this,d);this._parts.query=U.buildQuery(e||d,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);this.build(!c);return this;}else if(v!==undefined&&typeof v!=="string"){this._parts.query=U.buildQuery(v,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);this.build(!c);return this;}else{return q.call(this,v,c);}};p.setQuery=function(c,v,d){var e=U.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof c==="object"){for(var i in c){if(h.call(c,i)){e[i]=c[i];}}}else if(typeof c==="string"){e[c]=v!==undefined?v:null;}else{throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");}this._parts.query=U.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);if(typeof c!=="string"){d=v;}this.build(!d);return this;};p.addQuery=function(c,v,d){var e=U.parseQuery(this._parts.query,this._parts.escapeQuerySpace);U.addQuery(e,c,v===undefined?null:v);this._parts.query=U.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);if(typeof c!=="string"){d=v;}this.build(!d);return this;};p.removeQuery=function(c,v,d){var e=U.parseQuery(this._parts.query,this._parts.escapeQuerySpace);U.removeQuery(e,c,v);this._parts.query=U.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);if(typeof c!=="string"){d=v;}this.build(!d);return this;};p.hasQuery=function(c,v,d){var e=U.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return U.hasQuery(e,c,v,d);};p.setSearch=p.setQuery;p.addSearch=p.addQuery;p.removeSearch=p.removeQuery;p.hasSearch=p.hasQuery;p.normalize=function(){if(this._parts.urn){return this.normalizeProtocol(false).normalizeQuery(false).normalizeFragment(false).build();}return this.normalizeProtocol(false).normalizeHostname(false).normalizePort(false).normalizePath(false).normalizeQuery(false).normalizeFragment(false).build();};p.normalizeProtocol=function(c){if(typeof this._parts.protocol==="string"){this._parts.protocol=this._parts.protocol.toLowerCase();this.build(!c);}return this;};p.normalizeHostname=function(c){if(this._parts.hostname){if(this.is('IDN')&&a){this._parts.hostname=a.toASCII(this._parts.hostname);}else if(this.is('IPv6')&&I){this._parts.hostname=I.best(this._parts.hostname);}this._parts.hostname=this._parts.hostname.toLowerCase();this.build(!c);}return this;};p.normalizePort=function(c){if(typeof this._parts.protocol==="string"&&this._parts.port===U.defaultPorts[this._parts.protocol]){this._parts.port=null;this.build(!c);}return this;};p.normalizePath=function(c){if(this._parts.urn){return this;}if(!this._parts.path||this._parts.path==='/'){return this;}var d;var e=this._parts.path;var i,l;if(e.charAt(0)!=='/'){d=true;e='/'+e;}e=e.replace(/(\/(\.\/)+)|(\/\.$)/g,'/').replace(/\/{2,}/g,'/');while(true){i=e.indexOf('/../');if(i===-1){break;}else if(i===0){e=e.substring(3);break;}l=e.substring(0,i).lastIndexOf('/');if(l===-1){l=i;}e=e.substring(0,l)+e.substring(i+3);}if(d&&this.is('relative')){e=e.substring(1);}e=U.recodePath(e);this._parts.path=e;this.build(!c);return this;};p.normalizePathname=p.normalizePath;p.normalizeQuery=function(c){if(typeof this._parts.query==="string"){if(!this._parts.query.length){this._parts.query=null;}else{this.query(U.parseQuery(this._parts.query,this._parts.escapeQuerySpace));}this.build(!c);}return this;};p.normalizeFragment=function(c){if(!this._parts.fragment){this._parts.fragment=null;this.build(!c);}return this;};p.normalizeSearch=p.normalizeQuery;p.normalizeHash=p.normalizeFragment;p.iso8859=function(){var e=U.encode;var d=U.decode;U.encode=escape;U.decode=decodeURIComponent;this.normalize();U.encode=e;U.decode=d;return this;};p.unicode=function(){var e=U.encode;var d=U.decode;U.encode=o;U.decode=unescape;this.normalize();U.encode=e;U.decode=d;return this;};p.readable=function(){var c=this.clone();c.username("").password("").normalize();var t='';if(c._parts.protocol){t+=c._parts.protocol+'://';}if(c._parts.hostname){if(c.is('punycode')&&a){t+=a.toUnicode(c._parts.hostname);if(c._parts.port){t+=":"+c._parts.port;}}else{t+=c.host();}}if(c._parts.hostname&&c._parts.path&&c._parts.path.charAt(0)!=='/'){t+='/';}t+=c.path(true);if(c._parts.query){var q='';for(var i=0,d=c._parts.query.split('&'),l=d.length;i<l;i++){var e=(d[i]||"").split('=');q+='&'+U.decodeQuery(e[0],this._parts.escapeQuerySpace).replace(/&/g,'%26');if(e[1]!==undefined){q+="="+U.decodeQuery(e[1],this._parts.escapeQuerySpace).replace(/&/g,'%26');}}t+='?'+q.substring(1);}t+=U.decodeQuery(c.hash(),true);return t;};p.absoluteTo=function(c){var d=this.clone();var e=['protocol','username','password','hostname','port'];var l,i,p;if(this._parts.urn){throw new Error('URNs do not have any generally defined hierarchical components');}if(!(c instanceof U)){c=new U(c);}if(!d._parts.protocol){d._parts.protocol=c._parts.protocol;}if(this._parts.hostname){return d;}for(i=0;p=e[i];i++){d._parts[p]=c._parts[p];}e=['query','path'];for(i=0;p=e[i];i++){if(!d._parts[p]&&c._parts[p]){d._parts[p]=c._parts[p];}}if(d.path().charAt(0)!=='/'){l=c.directory();d._parts.path=(l?(l+'/'):'')+d._parts.path;d.normalizePath();}d.build();return d;};p.relativeTo=function(c){var d=this.clone().normalize();var e,i,l,s,t;if(d._parts.urn){throw new Error('URNs do not have any generally defined hierarchical components');}c=new U(c).normalize();e=d._parts;i=c._parts;s=d.path();t=c.path();if(s.charAt(0)!=='/'){throw new Error('URI is already relative');}if(t.charAt(0)!=='/'){throw new Error('Cannot calculate a URI relative to another relative URI');}if(e.protocol===i.protocol){e.protocol=null;}if(e.username!==i.username||e.password!==i.password){return d.build();}if(e.protocol!==null||e.username!==null||e.password!==null){return d.build();}if(e.hostname===i.hostname&&e.port===i.port){e.hostname=null;e.port=null;}else{return d.build();}if(s===t){e.path='';return d.build();}l=U.commonPath(d.path(),c.path());if(!l){return d.build();}var v=i.path.substring(l.length).replace(/[^\/]*$/,'').replace(/.*?\//g,'../');e.path=v+e.path.substring(l.length);return d.build();};p.equals=function(c){var d=this.clone();var t=new U(c);var e={};var i={};var l={};var s,v,x;d.normalize();t.normalize();if(d.toString()===t.toString()){return true;}s=d.query();v=t.query();d.query("");t.query("");if(d.toString()!==t.toString()){return false;}if(s.length!==v.length){return false;}e=U.parseQuery(s,this._parts.escapeQuerySpace);i=U.parseQuery(v,this._parts.escapeQuerySpace);for(x in e){if(h.call(e,x)){if(!f(e[x])){if(e[x]!==i[x]){return false;}}else if(!m(e[x],i[x])){return false;}l[x]=true;}}for(x in i){if(h.call(i,x)){if(!l[x]){return false;}}}return true;};p.duplicateQueryParameters=function(v){this._parts.duplicateQueryParameters=!!v;return this;};p.escapeQuerySpace=function(v){this._parts.escapeQuerySpace=!!v;return this;};return U;}));
  /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  (function(){if(!window.jQuery){throw new Error("SAPUI5 requires jQuery as a prerequisite (>= version 1.7)");}if(jQuery.sap){return;}if(!window.Promise){ES6Promise.polyfill();}var _=window;var a=[];function b(l,m){a.push({level:l,message:m});}var c;var f=/^[0-9]+(?:\.([0-9]+)(?:\.([0-9]+))?)?(.*)$/;function V(M,i,d,s){if(M instanceof V){return M;}if(!(this instanceof V)){return new V(M,i,d,s);}var m;if(typeof M==="string"){m=f.exec(M);}else if(jQuery.isArray(M)){m=M;}else{m=arguments;}m=m||[];function n(v){v=parseInt(v,10);return isNaN(v)?0:v;}M=n(m[0]);i=n(m[1]);d=n(m[2]);s=String(m[3]||"");this.toString=function(){return M+"."+i+"."+d+s;};this.getMajor=function(){return M;};this.getMinor=function(){return i;};this.getPatch=function(){return d;};this.getSuffix=function(){return s;};this.compareTo=function(){var o=V.apply(window,arguments);return M-o.getMajor()||i-o.getMinor()||d-o.getPatch()||((s<o.getSuffix())?-1:(s===o.getSuffix())?0:1);};}V.prototype.inRange=function(m,M){return this.compareTo(m)>=0&&this.compareTo(M)<0;};var J=V(jQuery.fn.jquery);if(!J.inRange("1.7.0","2.2.0")){b("error","SAPUI5 requires a jQuery version of 1.7 or higher, but lower than 2.2; current version is "+jQuery.fn.jquery);}if(!jQuery.browser){jQuery.browser=(function(d){var r=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,j=/(msie) ([\w.]+)/,l=/(mozilla)(?:.*? rv:([\w.]+))?/,d=d.toLowerCase(),m=r.exec(d)||i.exec(d)||j.exec(d)||d.indexOf("compatible")<0&&l.exec(d)||[],n={};if(m[1]){n[m[1]]=true;n.version=m[2]||"0";if(n.webkit){n.safari=true;}}return n;}(window.navigator.userAgent));}if(!!sap.ui.Device.browser.internet_explorer){jQuery.support=jQuery.support||{};jQuery.support.cors=true;var g=V(jQuery.fn.jquery);if(window.ActiveXObject!==undefined&&g.getMajor()==1&&g.getMinor()>=11){var C=function(){try{return new window.XMLHttpRequest();}catch(e){}};var h=function(){try{return new window.ActiveXObject("Microsoft.XMLHTTP");}catch(e){}};jQuery.ajaxSettings=jQuery.ajaxSettings||{};jQuery.ajaxSettings.xhr=function(){return!this.isLocal?C():h();};}}var k=(function(){var T,U,r,d=/^(.*\/)?download\/configurator[\/\?]/,i=/^(.*\/)?(sap-ui-(core|custom|boot|merged)(-.*)?)\.js([?#]|$)/,j=/^(.*\/)?resources\//;jQuery("script[src]").each(function(){var s=this.getAttribute("src"),m;if((m=s.match(d))!==null){T=this;U=s;r=(m[1]||"")+"resources/";return false;}else if((m=s.match(i))!==null){T=this;U=s;r=m[1]||"";return false;}else if(this.id=='sap-ui-bootstrap'&&(m=s.match(j))){T=this;U=s;r=m[0];return false;}});return{tag:T,url:U,resourceRoot:r};})();(function(){if(/sap-bootstrap-debug=(true|x|X)/.test(location.search)){debugger;}var r;try{r=window.localStorage.getItem("sap-ui-reboot-URL");window.localStorage.removeItem("sap-ui-reboot-URL");}catch(e){}if(r&&r!=="undefined"){var U=confirm("WARNING!\n\nUI5 will be booted from the URL below.\nPress 'Cancel' unless you have configured this.\n\n"+r);if(U){var s=k.tag,d="<script src=\""+r+"\"";jQuery.each(s.attributes,function(i,A){if(A.nodeName.indexOf("data-sap-ui-")==0){d+=" "+A.nodeName+"=\""+A.nodeValue.replace(/"/g,"&quot;")+"\"";}});d+="></script>";s.parentNode.removeChild(s);jQuery("#sap-ui-bootstrap-cachebusted").remove();window["sap-ui-config"]&&window["sap-ui-config"].resourceRoots&&(window["sap-ui-config"].resourceRoots[""]=undefined);document.write(d);var R=new Error("This is not a real error. Aborting UI5 bootstrap and rebooting from: "+r);R.name="Restart";throw R;}}})();(function(){var d=/sap-ui-debug=(true|x|X)/.test(location.search),i=window["sap-ui-optimized"];try{d=d||(window.localStorage.getItem("sap-ui-debug")=="X");}catch(e){}window["sap-ui-debug"]=d;if(/-dbg\.js([?#]|$)/.test(k.url)){window["sap-ui-loaddbg"]=true;window["sap-ui-debug"]=true;}if(i&&d){var D=k.url.replace(/\/(?:sap-ui-cachebuster\/)?([^\/]+)\.js/,"/$1-dbg.js");window["sap-ui-optimized"]=false;window["sap-ui-loaddbg"]=true;document.write("<script type=\"text/javascript\" src=\""+D+"\"></script>");var r=new Error("Aborting UI5 bootstrap and restarting from: "+D);r.name="Restart";throw r;}})();var p=_["sap-ui-config"]=(function(){function n(o){jQuery.each(o,function(i,v){var m=i.toLowerCase();if(!o.hasOwnProperty(m)){o[m]=v;delete o[i];}});return o;}var s=k.tag,d=_["sap-ui-config"],j="sap-ui-config.json";if(typeof d==="string"){b("warning","Loading external bootstrap configuration from \""+d+"\". This is a design time feature and not for productive usage!");if(d!==j){b("warning","The external bootstrap configuration file should be named \""+j+"\"!");}jQuery.ajax({url:d,dataType:'json',async:false,success:function(D,T,i){d=D;},error:function(i,T,o){b("error","Loading externalized bootstrap configuration from \""+d+"\" failed! Reason: "+o+"!");d=undefined;}});}d=n(d||{});d.resourceroots=d.resourceroots||{};d.themeroots=d.themeroots||{};d.resourceroots['']=d.resourceroots['']||k.resourceRoot;d['xx-loadallmode']=/(^|\/)(sap-?ui5|[^\/]+-all).js([?#]|$)/.test(k.url);if(s){var l=s.getAttribute("data-sap-ui-config");if(l){try{jQuery.extend(d,n((new Function("return {"+l+"};"))()));}catch(e){b("error","failed to parse data-sap-ui-config attribute: "+(e.message||e));}}jQuery.each(s.attributes,function(i,o){var m=o.name.match(/^data-sap-ui-(.*)$/);if(m){m=m[1].toLowerCase();if(m==='resourceroots'){jQuery.extend(d[m],jQuery.parseJSON(o.value));}else if(m==='theme-roots'){jQuery.extend(d.themeroots,jQuery.parseJSON(o.value));}else if(m!=='config'){d[m]=o.value;}}});}return d;}());if(p.noconflict===true||p.noconflict==="true"||p.noconflict==="x"){jQuery.noConflict();}jQuery.sap={};jQuery.sap.Version=V;jQuery.sap.now=!(window.performance&&window.performance.now&&window.performance.timing)?Date.now:function(){return window.performance.timing.navigationStart+window.performance.now();};jQuery.sap.debug=function(d){if(!window.localStorage){return null;}function r(U){alert("Usage of debug sources is "+(U?"on":"off")+" now.\nFor the change to take effect, you need to reload the page.");}if(d===true){window.localStorage.setItem("sap-ui-debug","X");r(true);}else if(d===false){window.localStorage.removeItem("sap-ui-debug");r(false);}return window.localStorage.getItem("sap-ui-debug")=="X";};jQuery.sap.setReboot=function(r){var U;if(!window.localStorage){return null;}try{if(r){window.localStorage.setItem("sap-ui-reboot-URL",r);alert("Next time this app is launched (only once), it will load UI5 from:\n"+r+".\nPlease reload the application page now.");}else{window.localStorage.removeItem("sap-ui-reboot-URL");}U=window.localStorage.getItem("sap-ui-reboot-URL");}catch(e){jQuery.sap.log.warning("Could not access localStorage while setting reboot URL '"+r+"' (are cookies disabled?): "+e.message);}return U;};jQuery.sap.statistics=function(d){if(!window.localStorage){return null;}function i(U){alert("Usage of Gateway statistics "+(U?"on":"off")+" now.\nFor the change to take effect, you need to reload the page.");}if(d===true){window.localStorage.setItem("sap-ui-statistics","X");i(true);}else if(d===false){window.localStorage.removeItem("sap-ui-statistics");i(false);}return window.localStorage.getItem("sap-ui-statistics")=="X";};(function(){var d=0,j=1,W=2,l=3,D=4,T=5,s=(window.top==window)?"":"["+window.location.pathname.split('/').slice(-1)[0]+"] ",L=[],M={'':j},o=null;function n(i,w){return("000"+String(i)).slice(-w);}function r(i){return(!i||isNaN(M[i]))?M['']:M[i];}function z(){if(!o){o={listeners:[],onLogEntry:function(m){for(var i=0;i<o.listeners.length;i++){if(o.listeners[i].onLogEntry){o.listeners[i].onLogEntry(m);}}},attach:function(i,m){if(m){o.listeners.push(m);if(m.onAttachToLog){m.onAttachToLog(i);}}},detach:function(m,v){for(var i=0;i<o.listeners.length;i++){if(o.listeners[i]===v){if(v.onDetachFromLog){v.onDetachFromLog(m);}o.listeners.splice(i,1);return;}}}};}return o;}function A(i,m,v,w){if(i<=r(w)){var N=jQuery.sap.now(),H=new Date(N),K=Math.floor((N-Math.floor(N))*1000),O={time:n(H.getHours(),2)+":"+n(H.getMinutes(),2)+":"+n(H.getSeconds(),2)+"."+n(H.getMilliseconds(),3)+n(K,3),date:n(H.getFullYear(),4)+"-"+n(H.getMonth()+1,2)+"-"+n(H.getDate(),2),timestamp:N,level:i,message:String(m||""),details:String(v||""),component:String(w||"")};L.push(O);if(o){o.onLogEntry(O);}if(window.console){var Q=O.date+" "+O.time+" "+s+O.message+" - "+O.details+" "+O.component;switch(i){case d:case j:console.error(Q);break;case W:console.warn(Q);break;case l:console.info?console.info(Q):console.log(Q);break;case D:console.debug?console.debug(Q):console.log(Q);break;case T:console.trace?console.trace(Q):console.log(Q);break;}}return O;}}function B(i){this.fatal=function(m,v,w){A(d,m,v,w||i);return this;};this.error=function error(m,v,w){A(j,m,v,w||i);return this;};this.warning=function warning(m,v,w){A(W,m,v,w||i);return this;};this.info=function info(m,v,w){A(l,m,v,w||i);return this;};this.debug=function debug(m,v,w){A(D,m,v,w||i);return this;};this.trace=function trace(m,v,w){A(T,m,v,w||i);return this;};this.setLevel=function setLevel(m,w){w=w||i||'';M[w]=m;var H=[];jQuery.each(jQuery.sap.log.LogLevel,function(K,v){H[v]=K;});A(l,"Changing log level "+(w?"for '"+w+"' ":"")+"to "+H[m],"","jQuery.sap.log");return this;};this.getLevel=function getLevel(m){return r(m||i);};this.isLoggable=function(m,v){return(m==null?D:m)<=r(v||i);};}jQuery.sap.log=jQuery.extend(new B(),{Level:{NONE:d-1,FATAL:d,ERROR:j,WARNING:W,INFO:l,DEBUG:D,TRACE:T,ALL:(T+1)},getLogger:function(i,m){if(!isNaN(m)&&M[i]==null){M[i]=m;}return new B(i);},getLogEntries:function(){return L.slice();},addLogListener:function(o){z().attach(this,o);return this;},removeLogListener:function(o){z().detach(this,o);return this;}});jQuery.sap.log.LogLevel=jQuery.sap.log.Level;jQuery.sap.log.getLog=jQuery.sap.log.getLogEntries;function G(){function m(a1,b1,c1,d1,e1){this.id=a1;this.info=b1;this.start=c1;this.end=d1;this.pause=0;this.resume=0;this.duration=0;this.time=0;this.categories=e1;this.average=false;this.count=0;this.completeDuration=0;}function v(a1){if(!R){return true;}if(!a1){return R===null;}for(var i=0;i<R.length;i++){if(a1.indexOf(R[i])>-1){return true;}}return false;}function w(a1){if(!a1){a1=["javascript"];}a1=typeof a1==="string"?a1.split(","):a1;if(!v(a1)){return null;}return a1;}var H=false,K=jQuery.ajax,R=null,N=[],O=[],Q=["start","end","pause","resume","add","remove","clear","average"];this.getActive=function(){return H;};this.setActive=function(a1,b1){if(!b1){b1=null;}else if(typeof b1==="string"){b1=b1.split(",");}R=b1;if(H===a1){return;}H=a1;if(H){for(var i=0;i<Q.length;i++){this[Q[i]]=this["_"+Q[i]];}Q=[];jQuery.ajax=function(c1,d1){if(typeof c1==='object'){d1=c1;c1=undefined;}d1=d1||{};var e1=new URI(c1||d1.url).absoluteTo(document.location.origin+document.location.pathname).href();jQuery.sap.measure.start(e1,"Request for "+e1,"xmlhttprequest");var f1=d1.complete;d1.complete=function(){jQuery.sap.measure.end(e1);if(f1){f1.apply(this,arguments);}};return K.call(this,c1,d1);};}else if(K){jQuery.ajax=K;}return H;};this.mMeasurements={};this._start=function(a1,b1,c1){if(!H){return;}c1=w(c1);if(!c1){return;}var d1=jQuery.sap.now(),e1=new m(a1,b1,d1,0,c1);if(window.console&&console.time){console.time(b1+" - "+a1);}if(e1){this.mMeasurements[a1]=e1;return this.getMeasurement(e1.id);}else{return false;}};this._pause=function(a1){if(!H){return;}var b1=jQuery.sap.now();var c1=this.mMeasurements[a1];if(c1&&c1.end>0){return false;}if(c1&&c1.pause==0){c1.pause=b1;if(c1.pause>=c1.resume&&c1.resume>0){c1.duration=c1.duration+c1.pause-c1.resume;c1.resume=0;}else if(c1.pause>=c1.start){c1.duration=c1.pause-c1.start;}}if(c1){return this.getMeasurement(c1.id);}else{return false;}};this._resume=function(a1){if(!H){return;}var b1=jQuery.sap.now();var c1=this.mMeasurements[a1];if(c1&&c1.pause>0){c1.pause=0;c1.resume=b1;}if(c1){return this.getMeasurement(c1.id);}else{return false;}};this._end=function(a1){if(!H){return;}var b1=jQuery.sap.now();var c1=this.mMeasurements[a1];if(c1&&!c1.end){c1.end=b1;if(c1.end>=c1.resume&&c1.resume>0){c1.duration=c1.duration+c1.end-c1.resume;c1.resume=0;}else if(c1.pause>0){c1.pause=0;}else if(c1.end>=c1.start){if(c1.average){c1.completeDuration+=(c1.end-c1.start);c1.count++;c1.duration=c1.completeDuration/c1.count;c1.start=b1;}else{c1.duration=c1.end-c1.start;}}if(c1.end>=c1.start){c1.time=c1.end-c1.start;}}if(c1){if(window.console&&console.timeEnd){console.timeEnd(c1.info+" - "+a1);}return this.getMeasurement(a1);}else{return false;}};this._clear=function(){this.mMeasurements={};};this._remove=function(a1){delete this.mMeasurements[a1];};this._add=function(a1,b1,c1,d1,e1,f1,g1){if(!H){return;}g1=w(g1);if(!g1){return false;}var h1=new m(a1,b1,c1,d1,g1);h1.time=e1;h1.duration=f1;if(h1){this.mMeasurements[a1]=h1;return this.getMeasurement(h1.id);}else{return false;}};this._average=function(a1,b1,c1){if(!H){return;}c1=w(c1);if(!c1){return;}var d1=this.mMeasurements[a1],e1=jQuery.sap.now();if(!d1||!d1.average){this.start(a1,b1,c1);d1=this.mMeasurements[a1];d1.average=true;}else{if(!d1.end){d1.completeDuration+=(e1-d1.start);d1.count++;}d1.start=e1;d1.end=0;}return this.getMeasurement(d1.id);};this.getMeasurement=function(a1){var b1=this.mMeasurements[a1];if(b1){return{id:b1.id,info:b1.info,start:b1.start,end:b1.end,pause:b1.pause,resume:b1.resume,time:b1.time,duration:b1.duration,completeDuration:b1.completeDuration,count:b1.count,average:b1.average,categories:b1.categories};}else{return false;}};this.getAllMeasurements=function(a1){return this.filterMeasurements(function(b1){return b1;},a1);};this.filterMeasurements=function(a1,b1){var c1=[],d1=this;jQuery.each(this.mMeasurements,function(e1){var f1=d1.getMeasurement(e1);if(a1){var g1=a1(f1);if(g1&&((b1===false&&g1.end===0)||(b1!==false&&(!b1||g1.end)))){c1.push(g1);}}});return c1;};this.registerMethod=function(a1,b1,c1,d1){var e1=b1[c1];if(e1&&typeof e1==="function"){var f1=N.indexOf(e1)>-1;if(!f1){O.push({func:e1,obj:b1,method:c1,id:a1});b1[c1]=function(){jQuery.sap.measure.average(a1,a1+" method average",d1);var g1=e1.apply(this,arguments);jQuery.sap.measure.end(a1);return g1;};N.push(b1[c1]);return true;}}else{jQuery.sap.log.debug(c1+" in not a function. jQuery.sap.measure.register failed");}return false;};this.unregisterMethod=function(a1,b1,c1){var d1=b1[c1],e1=N.indexOf(d1);if(d1&&e1>-1){b1[c1]=O[e1].func;N.splice(e1,1);O.splice(e1,1);return true;}return false;};this.unregisterAllMethods=function(){while(O.length>0){var a1=O[0];this.unregisterMethod(a1.id,a1.obj,a1.method);}};var U=[];var X;this.getAllInteractionMeasurements=function(){return U;};this.getPendingInteractionMeasurement=function(){return X;};this.clearInteractionMeasurements=function(){U=[];};function Y(a1){if(X){X.end=a1;X.duration=X.processing;X.requests=jQuery.sap.measure.getRequestTimings();X.measurements=jQuery.sap.measure.filterMeasurements(function(h1){return(h1.start>X.start&&h1.end<X.end)?h1:null;},true);if(X.requests.length>0){var b1=X.requests[0].startTime,c1=X.requests[0].startTime,d1=X.requests[0].requestStart,e1=X.requests[0].requestStart,f1=X.requests[0].responseEnd;X.requests.forEach(function(h1){b1=h1.responseEnd>b1?h1.responseEnd:b1;X.requestTime+=(h1.responseEnd-h1.startTime);if(f1<h1.startTime){X.navigation+=(d1-c1);X.roundtrip+=(f1-e1);c1=h1.startTime;e1=h1.requestStart;}if(h1.responseEnd>f1){d1=h1.requestStart;f1=h1.responseEnd;}});X.navigation+=d1-c1;X.roundtrip+=f1-e1;X.networkTime=X.networkTime?((X.requestTime-X.networkTime)/X.requests.length):0;if(X.duration===0){X.duration=X.navigation+X.roundtrip;}}if(X.processing!==0){var g1=X.processing-X.navigation-X.roundtrip;X.processing=g1>0?g1:0;}U.push(X);jQuery.sap.log.info("Interaction step finished: trigger: "+X.trigger+"; duration: "+X.duration+"; requests: "+X.requests.length);X=null;}}this.startInteraction=function(a1,b1){function c1(b1){if(b1){var e1,f1;e1=sap.ui.require("sap/ui/core/Component");while(e1&&b1&&b1.getParent){f1=e1.getOwnerComponentFor(b1);if(f1||b1 instanceof e1){f1=f1||b1;var g1=f1.getMetadata().getManifestEntry("sap.app");return g1&&g1.id||f1.getMetadata().getName();}b1=b1.getParent();}}return"undetermined";}var d1=jQuery.sap.now();if(X){Y(d1);}this.clearRequestTimings();X={event:a1,trigger:b1&&b1.getId?b1.getId():"undetermined",component:c1(b1),start:d1,end:0,navigation:0,roundtrip:0,processing:0,duration:0,requests:[],measurements:[],sapStatistics:[],requestTime:0,networkTime:0,bytesSent:0,bytesReceived:0,requestCompression:undefined};jQuery.sap.log.info("Interaction step started: trigger: "+X.trigger+"; type: "+X.event);};this.endInteraction=function(a1){if(X){if(!a1){X.processing=jQuery.sap.now()-X.start;}else{Y(jQuery.sap.now());}}};this.setRequestBufferSize=function(a1){if(!window.performance){return;}if(window.performance.setResourceTimingBufferSize){window.performance.setResourceTimingBufferSize(a1);}else if(window.performance.webkitSetResourceTimingBufferSize){window.performance.webkitSetResourceTimingBufferSize(a1);}};this.getRequestTimings=function(){if(window.performance&&window.performance.getEntriesByType){return jQuery.extend(window.performance.getEntriesByType("resource"),{});}return[];};this.clearRequestTimings=function(){if(!window.performance){return;}if(window.performance.clearResourceTimings){window.performance.clearResourceTimings();}else if(window.performance.webkitClearResourceTimings){window.performance.webkitClearResourceTimings();}};this.setRequestBufferSize(1000);var Z=location.search.match(/sap-ui-measure=([^\&]*)/);if(Z&&Z[1]){if(Z[1]==="true"||Z[1]==="x"||Z[1]==="X"){this.setActive(true);}else{this.setActive(true,Z[1]);}}else{var $=function(){return null;};for(var i=0;i<Q.length;i++){this[Q[i]]=$;}}}jQuery.sap.measure=new G();jQuery.sap.assert=function(R,m){if(!R){var i=typeof m==="function"?m():m;if(window.console&&console.assert){console.assert(R,s+i);}else{jQuery.sap.log.debug("[Assertions] "+i);}}};p.loglevel=(function(){var m=/(?:\?|&)sap-ui-log(?:L|-l)evel=([^&]*)/.exec(window.location.search);return m&&m[1];}())||p.loglevel;if(p.loglevel){jQuery.sap.log.setLevel(jQuery.sap.log.Level[p.loglevel.toUpperCase()]||parseInt(p.loglevel,10));}jQuery.sap.log.info("SAP Logger started.");jQuery.each(a,function(i,e){jQuery.sap.log[e.level](e.message);});a=null;}());jQuery.sap.factory=function factory(o){function d(){}d.prototype=o;return d;};jQuery.sap.newObject=function newObject(o){return new(jQuery.sap.factory(o))();};jQuery.sap.getter=function getter(v){return function(){return v;};};jQuery.sap.getObject=function getObject(n,N,o){var O=o||_,d=(n||"").split("."),l=d.length,j=isNaN(N)?0:l-N,i;for(i=0;O&&i<l;i++){if(!O[d[i]]&&i<j){O[d[i]]={};}O=O[d[i]];}return O;};jQuery.sap.setObject=function(n,v,o){var O=o||_,N=(n||"").split("."),l=N.length,i;if(l>0){for(i=0;O&&i<l-1;i++){if(!O[N[i]]){O[N[i]]={};}O=O[N[i]];}O[N[l-1]]=v;}};function S(n,d,T){var i=[],o=0,j=0,s;this.startTask=function(m){var r=i.length;i[r]={name:m,finished:false};o++;return r;};this.finishTask=function(m,r){if(!i[m]||i[m].finished){throw new Error("trying to finish non existing or already finished task");}i[m].finished=true;o--;if(r===false){j++;}if(o===0){jQuery.sap.log.info("Sync point '"+n+"' finished (tasks:"+i.length+", open:"+o+", failures:"+j+")");if(s){clearTimeout(s);s=null;}l();}};function l(){d&&d(o,j);d=null;}if(!isNaN(T)){s=setTimeout(function(){jQuery.sap.log.info("Sync point '"+n+"' timed out (tasks:"+i.length+", open:"+o+", failures:"+j+")");l();},T);}jQuery.sap.log.info("Sync point '"+n+"' created"+(T?"(timeout after "+T+" ms)":""));}jQuery.sap.syncPoint=function(n,d,T){return new S(n,d,T);};var q=(function(){var o=jQuery.sap.log.getLogger("sap.ui.ModuleSystem",(/sap-ui-xx-debug(M|-m)odule(L|-l)oading=(true|x|X)/.test(location.search)||p["xx-debugModuleLoading"])?jQuery.sap.log.Level.DEBUG:jQuery.sap.log.Level.INFO),U={'':{'url':'resources/'}},r=0,v=-1,L=1,w=2,z=3,R=4,A=5,M={"sap/ui/thirdparty/URI.js":{state:R,url:c,content:URI},"sap/ui/Device.js":{state:R,url:c,content:sap.ui.Device},"jquery.sap.global.js":{state:R,url:c,content:jQuery}},B={},D={'sap/ui/thirdparty/blanket.js':{amd:true,exports:'blanket'},'sap/ui/thirdparty/caja-html-sanitizer.js':{amd:false,exports:'html'},'sap/ui/thirdparty/crossroads.js':{amd:true,exports:'crossroads',deps:['sap/ui/thirdparty/signals.js']},'sap/ui/thirdparty/d3.js':{amd:true,exports:'d3'},'sap/ui/thirdparty/datajs.js':{amd:true,exports:'OData'},'sap/ui/thirdparty/es6-promise.js':{amd:true,exports:'ES6Promise'},'sap/ui/thirdparty/flexie.js':{exports:'Flexie'},'sap/ui/thirdparty/handlebars.js':{amd:true,exports:'Handlebars'},'sap/ui/thirdparty/hasher.js':{amd:true,exports:'hasher',deps:['sap/ui/thirdparty/signals.js']},'sap/ui/thirdparty/IPv6.js':{amd:true,exports:'IPv6'},'sap/ui/thirdparty/iscroll-lite.js':{exports:'iScroll'},'sap/ui/thirdparty/iscroll.js':{exports:'iScroll'},'sap/ui/thirdparty/jquery.js':{amd:true},'sap/ui/thirdparty/jquery/jquery-1.11.1.js':{amd:true},'sap/ui/thirdparty/jquery/jquery-1.10.2.js':{amd:true},'sap/ui/thirdparty/jquery/jquery-1.10.1.js':{amd:true},'sap/ui/thirdparty/jquery/jquery.1.7.1.js':{amd:true},'sap/ui/thirdparty/jquery/jquery.1.8.1.js':{amd:true},'sap/ui/thirdparty/jquery-mobile-custom.js':{amd:true,exports:'jQuery.mobile'},'sap/ui/thirdparty/jszip.js':{amd:true,exports:'JSZip'},'sap/ui/thirdparty/less.js':{amd:true,exports:'less'},'sap/ui/thirdparty/mobify-carousel.js':{exports:'Mobify'},'sap/ui/thirdparty/punycode.js':{amd:true,exports:'punycode'},'sap/ui/thirdparty/require.js':{exports:'define'},'sap/ui/thirdparty/SecondLevelDomains.js':{amd:true,exports:'SecondLevelDomains'},'sap/ui/thirdparty/signals.js':{amd:true,exports:'signals'},'sap/ui/thirdparty/sinon.js':{amd:true,exports:'sinon'},'sap/ui/thirdparty/sinon-server.js':{amd:true,exports:'sinon'},'sap/ui/thirdparty/unorm.js':{exports:'UNorm'},'sap/ui/thirdparty/unormdata.js':{exports:'UNorm',deps:['sap/ui/thirdparty/unorm.js']},'sap/ui/thirdparty/URI.js':{amd:true,exports:'URI'},'sap/ui/thirdparty/URITemplate.js':{amd:true,exports:'URITemplate',deps:['sap/ui/thirdparty/URI.js']},'sap/ui/thirdparty/vkbeautify.js':{exports:'vkbeautify'},'sap/ui/thirdparty/zyngascroll.js':{exports:'Scroller'},'sap/ui/demokit/js/esprima.js':{amd:true,exports:'esprima'}},G=[],H="",K=512*1024,N=document.location.href.replace(/\?.*|#.*/g,""),O="fragment",Q="view",T={js:[Q,O,"controller","designtime"],xml:[Q,O],json:[Q,O],html:[Q,O]},W=new RegExp("(\\.(?:"+T.js.join("|")+"))?\\.js$"),X,Y;(function(){var s="",d="";jQuery.each(T,function(i,j){s=(s?s+"|":"")+i;d=(d?d+"|":"")+"(?:(?:"+j.join("\\.|")+"\\.)?"+i+")";});s="\\.("+s+")$";d="\\.(?:"+d+"|[^./]+)$";o.debug("constructed regexp for file types :"+s);o.debug("constructed regexp for file sub-types :"+d);X=new RegExp(s);Y=new RegExp(d);}());function Z(s){if(/^sap\.ui\.thirdparty\.jquery\.jquery-/.test(s)){return"sap/ui/thirdparty/jquery/jquery-"+s.slice("sap.ui.thirdparty.jquery.jquery-".length);}else if(/^jquery\.sap\./.test(s)){return s;}return s.replace(/\./g,"/");}function $(s){if(!/\.js$/.test(s)){return;}s=s.slice(0,-3);if(/^sap\/ui\/thirdparty\/jquery\/jquery-/.test(s)){return"sap.ui.thirdparty.jquery.jquery-"+s.slice("sap/ui/thirdparty/jquery/jquery-".length);}else if(/^jquery\.sap\./.test(s)){return s;}return s.replace(/\//g,".");}function a1(s,d){var i=s.split(/\//),l,j,j1,m;if(arguments.length===1&&i.length>0){m=Y.exec(i[i.length-1]);if(m){d=m[0];i[i.length-1]=i[i.length-1].slice(0,m.index);}else{d="";}}for(l=i.length;l>=0;l--){j=i.slice(0,l).join('/');if(U[j]){j1=U[j].url;if(l<i.length){j1+=i.slice(l).join('/');}if(j1.slice(-1)==='/'){j1=j1.slice(0,-1);}return j1+(d||'');}}}function b1(s){var d,i,j;for(d in U){if(U.hasOwnProperty(d)){i=U[d].url.slice(0,-1);if(s.indexOf(i)===0){j=d+s.slice(i.length);if(j.charAt(0)==='/'){j=j.slice(1);}if(M[j]&&M[j].data){return j;}}}}}var c1=/(?:^|\/)\.+/;var d1=/^\.*$/;function e1(s,d){var m=c1.exec(d),j1,k1,i,j,l;if(!m){return d;}if(m.index===0&&s==null){throw new Error("relative name not supported ('"+d+"'");}j1=(m.index===0?s+d:d).split('/');for(i=0,j=0,l=j1.length;i<l;i++){var k1=j1[i];if(d1.test(k1)){if(k1==='.'||k1===''){continue;}else if(k1==='..'){if(j===0){throw new Error("Can't navigate to parent of root (base='"+s+"', name='"+d+"'");}j--;}else{throw new Error("illegal path segment '"+k1+"'");}}else{j1[j++]=k1;}}j1.length=j;return j1.join('/');}function f1(m){var d;d=M[m]||(M[m]={state:r});if(d.state>r){return d;}if(o.isLoggable()){o.debug(H+"declare module '"+m+"'");}d.state=R;if(G.length===0){G.push(m);d.url=d.url||c;}return d;}function g1(s){var m=W.exec(s),d=D[s],j,l,j1,k1,i;if(!m){o.error("can only require Javascript module, not "+s);return;}if(d&&d.deps){if(o.isLoggable()){o.debug("require dependencies of raw module "+s);}for(i=0;i<d.deps.length;i++){if(o.isLoggable()){o.debug("  require "+d.deps[i]);}g1(d.deps[i]);}}j=s.slice(0,m.index);l=m[0];j1=M[s]||(M[s]={state:r});if(o.isLoggable()){o.debug(H+"require '"+s+"' of type '"+l+"'");}if(j1.state!==r){if(j1.state===v){j1.state=w;h1(s);}if(j1.state===R){if(o.isLoggable()){o.debug(H+"module '"+s+"' has already been loaded (skipped).");}return this;}else if(j1.state===A){throw new Error("found in negative cache: '"+s+"' from "+j1.url+": "+j1.error);}else{return this;}}j1.state=L;k1=window["sap-ui-loaddbg"]?["-dbg",""]:[""];for(i=0;i<k1.length&&j1.state!==w;i++){j1.url=a1(j,k1[i]+l);if(o.isLoggable()){o.debug(H+"loading "+(k1[i]?k1[i]+" version of ":"")+"'"+s+"' from '"+j1.url+"'");}jQuery.ajax({url:j1.url,dataType:'text',async:false,success:function(l1,m1,n1){j1.state=w;j1.data=l1;},error:function(l1,m1,n1){j1.state=A;j1.error=l1?l1.status+" - "+l1.statusText:m1;}});}if(j1.state===w){h1(s);}if(j1.state!==R){throw new Error("failed to load '"+s+"' from "+j1.url+": "+j1.error);}}function h1(m){var d=M[m],s=D[m],i,j,l;if(d&&d.state===w&&typeof d.data!=="undefined"){l=(s===true||(s&&s.amd))&&typeof window.define==="function"&&window.define.amd;try{if(l){delete window.define.amd;}if(o.isLoggable()){o.debug(H+"executing '"+m+"'");i=H;H=H+": ";}d.state=z;G.push(m);if(typeof d.data==="function"){d.data.call(window);}else if(jQuery.isArray(d.data)){sap.ui.define.apply(sap.ui,d.data);}else{j=d.data;if(j&&!j.match(/\/\/[#@] source(Mapping)?URL=.*$/)){j+="\n//# sourceURL="+URI(d.url).absoluteTo(N);}if(typeof jQuery.sap.require._hook==="function"){j=jQuery.sap.require._hook(j,m);}if(_.execScript&&(!d.data||d.data.length<K)){try{d.data&&_.execScript(j);}catch(e){G.pop();jQuery.sap.globalEval(d.data);throw e;}}else{_.eval(j);}}G.pop();d.state=R;d.data=undefined;d.content=d.content||jQuery.sap.getObject((s&&s.exports)||$(m));if(o.isLoggable()){H=i;o.debug(H+"finished executing '"+m+"'");}}catch(j1){d.state=A;d.error=((j1.toString&&j1.toString())||j1.message)+(j1.line?"(line "+j1.line+")":"");d.data=undefined;if(window["sap-ui-debug"]&&(/sap-ui-xx-show(L|-l)oad(E|-e)rrors=(true|x|X)/.test(location.search)||p["xx-showloaderrors"])){o.error("error while evaluating "+m+", embedding again via script tag to enforce a stack trace (see below)");jQuery.sap.includeScript(d.url);return;}}finally{if(l){window.define.amd=l;}}}}function i1(s,d,j){var m=[],i,l;for(i=0;i<d.length;i++){l=e1(s,d[i]);o.debug(H+"require '"+l+"'");g1(l+".js");m[i]=M[l+".js"].content||jQuery.sap.getObject($(l+".js"));o.debug(H+"require '"+l+"': done.");}j(m);}jQuery.sap.getModulePath=function(m,s){return a1(Z(m),s);};jQuery.sap.getResourcePath=a1;jQuery.sap.registerModulePath=function registerModulePath(m,d){m=m.replace(/\./g,"/");d=d||'.';jQuery.sap.registerResourcePath(m,d);};jQuery.sap.registerResourcePath=function registerResourcePath(s,d){s=String(s||"");if(U[s]&&U[s]["final"]==true){o.warning("registerResourcePath with prefix "+s+" already set as final to '"+U[s].url+"'. This call is ignored.");return;}if(typeof d==='string'||d instanceof String){d={'url':d};}if(!d||d.url==null){delete U[s];o.info("registerResourcePath ('"+s+"') (registration removed)");}else{d.url=String(d.url);var i=d.url.indexOf("?");if(i!==-1){d.url=d.url.substr(0,i);}var j=d.url.indexOf("#");if(j!==-1){d.url=d.url.substr(0,j);}if(d.url.slice(-1)!='/'){d.url+='/';}U[s]=d;o.info("registerResourcePath ('"+s+"', '"+d.url+"')"+((d['final'])?" (final)":""));}};jQuery.sap.isDeclared=function isDeclared(m,i){m=Z(m)+".js";return M[m]&&(i||M[m].state!==v);};jQuery.sap.getAllDeclaredModules=function(){var m=[];jQuery.each(M,function(s,d){if(d&&d.state!==v){var i=$(s);if(i){m.push(i);}}});return m;};if(p.resourceroots){jQuery.each(p.resourceroots,jQuery.sap.registerModulePath);}o.info("URL prefixes set to:");for(var n in U){o.info("  "+(n?"'"+n+"'":"(default)")+" : "+U[n].url+((U[n]['final'])?" (final)":""));}jQuery.sap.declare=function(m,d){var s=m;if(typeof(m)==="object"){s=m.modName;m=Z(m.modName)+(m.type?"."+m.type:"")+".js";}else{m=Z(m)+".js";}f1(m);if(d!==false){jQuery.sap.getObject(s,1);}return this;};jQuery.sap.require=function(m,d){if(arguments.length>1){for(var i=0;i<arguments.length;i++){jQuery.sap.require(arguments[i]);}return this;}if(typeof(m)==="object"){m=Z(m.modName)+(m.type?"."+m.type:"")+".js";}else{m=Z(m)+".js";}jQuery.sap.measure.start(m,"Require module "+m,["require"]);g1(m);jQuery.sap.measure.end(m);return this;};jQuery.sap._requirePath=function(m){g1(m+".js");};window.sap=window.sap||{};sap.ui=sap.ui||{};sap.ui.define=function(m,d,i,j){var s,l;if(typeof m==='string'){s=m+'.js';}else{j=i;i=d;d=m;s=G[G.length-1];}m=$(s);l=s.slice(0,s.lastIndexOf('/')+1);if(!jQuery.isArray(d)){j=i;i=d;d=[];}if(o.isLoggable()){o.debug("define("+s+", "+"['"+d.join("','")+"']"+")");}var j1=f1(s);i1(l,d,function(k1){if(o.isLoggable()){o.debug("define("+s+"): calling factory "+typeof i);}if(j){var l1=s.split('/').slice(0,-1).join('.');if(l1){jQuery.sap.getObject(l1,0);}}if(typeof i==='function'){j1.content=i.apply(window,k1);}else{j1.content=i;}if(j){if(j1.content==null){o.error("module '"+s+"' returned no content, but should be exported");}else{if(o.isLoggable()){o.debug("exporting content of '"+s+"': as global object");}jQuery.sap.setObject(m,j1.content);}}});};sap.ui.predefine=function(m,d,i,j){if(typeof m!=='string'){throw new Error("sap.ui.predefine requires a module name");}var s=m+'.js';var l=M[s];if(!l){M[s]={state:v,url:"TODO???/"+m,data:[m,d,i,j],group:null};}if(s.match(/\/library\.js$/)){B[$(s)+"-preload"]=true;}};sap.ui.require=function(d,i){if(typeof d==='string'){var m=d+'.js',j=M[m];return j?(j.content||jQuery.sap.getObject($(m))):undefined;}i1(null,d,function(l){if(typeof i==='function'){setTimeout(function(){i.apply(window,l);},0);}});};jQuery.sap.preloadModules=function(s,d,i){var j,l;if(B[s]){return;}B[s]=true;j=jQuery.sap.getModulePath(s,".json");o.debug("preload file "+s);l=i&&i.startTask("load "+s);jQuery.ajax({dataType:"json",async:d,url:j,success:function(m){if(m){m.url=j;}jQuery.sap.registerPreloadedModules(m,d,i);i&&i.finishTask(l);},error:function(m,j1,k1){o.error("failed to preload '"+s+"': "+(k1||j1));i&&i.finishTask(l,false);}});};jQuery.sap.registerPreloadedModules=function(d,i,s){var j=V(d.version||"1.0").compareTo("2.0")<0;if(o.isLoggable()){o.debug(H+"adding preloaded modules from '"+d.url+"'");}if(d.name){B[d.name]=true;}jQuery.each(d.modules,function(l,m){l=j?Z(l)+".js":l;if(!M[l]){M[l]={state:v,url:d.url+"/"+l,data:m,group:d.name};}if(l.match(/\/library\.js$/)){B[$(l)+"-preload"]=true;}});if(d.dependencies){jQuery.each(d.dependencies,function(l,m){jQuery.sap.preloadModules(m,i,s);});}};jQuery.sap.unloadResources=function(s,d,j,l){var m=[];if(d==null){d=true;}if(d){jQuery.each(M,function(i,j1){if(j1&&j1.group===s){m.push(i);}});delete B[s];}else{if(M[s]){m.push(s);}}jQuery.each(m,function(i,j1){var k1=M[j1];if(k1&&l&&j1.match(/\.js$/)){jQuery.sap.setObject($(j1),undefined);}if(k1&&(j||k1.state===v)){delete M[j1];}});};jQuery.sap.getResourceName=function(m,s){return Z(m)+(s||".js");};jQuery.sap.loadResource=function(s,m){var i,j,l,j1,k1;if(typeof s==="string"){m=m||{};}else{m=s||{};s=m.name;if(!s&&m.url){s=b1(m.url);}}m=jQuery.extend({failOnError:true,async:false},m);i=m.dataType;if(i==null&&s){i=(i=X.exec(s))&&i[1];}k1=m.async?new jQuery.Deferred():null;function l1(d,e){if(d==null&&m.failOnError){j1=e||new Error("no data returned for "+s);if(m.async){k1.reject(j1);jQuery.sap.log.error(j1);}return null;}if(m.async){k1.resolve(d);}return d;}function m1(d){var n1=jQuery.ajaxSettings.converters["text "+i];if(typeof n1==="function"){d=n1(d);}return l1(d);}if(s&&M[s]){j=M[s].data;M[s].state=w;}if(j!=null){if(m.async){setTimeout(function(){m1(j);},0);}else{j=m1(j);}}else{jQuery.ajax({url:l=m.url||a1(s),async:m.async,dataType:i,headers:m.headers,success:function(d,n1,o1){j=l1(d);},error:function(d,n1,o1){j1=new Error("resource "+s+" could not be loaded from "+l+". Check for 'file not found' or parse errors. Reason: "+o1);j1.status=n1;j1.error=o1;j1.statusCode=d.status;j=l1(null,j1);}});}if(m.async){return Promise.resolve(k1);}if(j1!=null&&m.failOnError){throw j1;}return j;};jQuery.sap._loadJSResourceAsync=function(s,i){return new Promise(function(d,j){var m=M[s]||(M[s]={state:r});var l=m.url=a1(s);m.state=L;var j1=window.document.createElement('SCRIPT');j1.src=l;j1.setAttribute("data-sap-ui-module",s);j1.addEventListener('load',function(e){jQuery.sap.log.info("Javascript resource loaded: "+s);m.state=R;d();});j1.addEventListener('error',function(e){jQuery.sap.log.error("failed to load Javascript resource: "+s);m.state=A;if(i){d();}else{j();}});t(j1);});};return function(){var m={};jQuery.each(U,function(s,d){m[s]=d.url;});return{modules:M,prefixes:m};};}());function t(o){var d=window.document.getElementsByTagName("head")[0];if(d){d.appendChild(o);}}jQuery.sap.includeScript=function includeScript(U,i,l,d){var s=window.document.createElement("script");s.src=U;s.type="text/javascript";if(i){s.id=i;}if(!!sap.ui.Device.browser.internet_explorer&&sap.ui.Device.browser.version<9){if(l){s.onreadystatechange=function(){if(s.readyState==="loaded"||s.readyState==="complete"){l();s.onreadystatechange=null;}};}}else{if(l){jQuery(s).load(l);}if(d){jQuery(s).error(d);}}var o;if((i&&(o=jQuery.sap.domById(i))&&o.tagName==="SCRIPT")){jQuery(o).remove();}t(s);};var I;var u=jQuery.sap._mIEStyleSheets={};jQuery.sap.includeStyleSheet=function includeStyleSheet(U,s,l,d){var j=function(U,s,l,d){var L=document.createElement("link");L.type="text/css";L.rel="stylesheet";L.href=U;if(s){L.id=s;}var i=function(){jQuery(L).attr("data-sap-ui-ready","false");if(d){d();}};var n=function(){jQuery(L).attr("data-sap-ui-ready","true");if(l){l();}};if(!!sap.ui.Device.browser.internet_explorer){var r=n;n=function(v){var R;try{R=v.target&&v.target.sheet&&v.target.sheet.rules;}catch(w){}if(R&&R.length>0){r();}else{i();}};}jQuery(L).load(n);jQuery(L).error(i);return L;};var m=function(U,s,l,d){if(sap.ui.Device.browser.internet_explorer&&sap.ui.Device.browser.version<=9&&document.styleSheets.length>=28){var r=URI.parse(document.URL).path;var A=new URI(U).absoluteTo(r).toString();if(s){var n=u[s];if(n&&n.href===A){return;}}jQuery.sap.log.warning("Stylesheet "+(s?s+" ":"")+"not added as LINK because of IE limits",U,"jQuery.sap.includeStyleSheet");if(!I){I=document.createStyleSheet();}var v=false;for(var i=0;i<I.imports.length;i++){var w=I.imports[i];if(w.imports.length<30){w.addImport(A);v=true;break;}}if(!v){I.addImport(A);}if(s){u[s]={href:A};}var z=document.getElementById('sap-ui-core-customcss');if(!jQuery.isEmptyObject(z)){t(z);}}else{var L=j(U,s,l,d);if(jQuery('#sap-ui-core-customcss').length>0){jQuery('#sap-ui-core-customcss').first().before(jQuery(L));}else{t(L);}}};var o=jQuery.sap.domById(s);if(o&&o.tagName==="LINK"&&o.rel==="stylesheet"){if(l||d||o.href!==URI(String(U),URI().search("")).toString()){jQuery(o).replaceWith(j(U,s,l,d));}}else{m(U,s,l,d);}};if(!(p.productive===true||p.productive==="true"||p.productive==="x")){jQuery(function(){jQuery(document.body).keydown(function(e){if(e.keyCode==80&&e.shiftKey&&e.altKey&&e.ctrlKey){try{jQuery.sap.require("sap.ui.debug.TechnicalInfo");}catch(d){return;}sap.ui.debug.TechnicalInfo.open(function(){var i=q();return{modules:i.modules,prefixes:i.prefixes,config:p};});}});});jQuery(function(){jQuery(document.body).keydown(function(e){if(e.keyCode==83&&e.shiftKey&&e.altKey&&e.ctrlKey){try{jQuery.sap.require("sap.ui.core.support.Support");var s=sap.ui.core.support.Support.getStub();if(s.getType()!=sap.ui.core.support.Support.StubType.APPLICATION){return;}s.openSupportTool();}catch(d){}}});});}if(!jQuery.support){jQuery.support={};}jQuery.extend(jQuery.support,{touch:sap.ui.Device.support.touch});var P=["Webkit","ms","Moz"];var x=document.documentElement.style;var y=function(d,j){if(jQuery.support[d]===undefined){if(x[j]!==undefined){jQuery.support[d]=true;if(j==="boxFlex"||j==="flexOrder"||j==="flexGrow"){if(!sap.ui.Device.browser.chrome||sap.ui.Device.browser.version>28){jQuery.support.flexBoxPrefixed=false;}}return;}else{j=j.charAt(0).toUpperCase()+j.slice(1);for(var i in P){if(x[P[i]+j]!==undefined){jQuery.support[d]=true;return;}}}jQuery.support[d]=false;}};y("cssTransforms","transform");y("cssTransforms3d","perspective");y("cssTransitions","transition");y("cssAnimations","animationName");if(jQuery.support.cssGradients===undefined){var E=document.createElement('div'),x=E.style;try{x.backgroundImage="linear-gradient(left top, red, white)";x.backgroundImage="-moz-linear-gradient(left top, red, white)";x.backgroundImage="-webkit-linear-gradient(left top, red, white)";x.backgroundImage="-ms-linear-gradient(left top, red, white)";x.backgroundImage="-webkit-gradient(linear, left top, right bottom, from(red), to(white))";}catch(e){}jQuery.support.cssGradients=(x.backgroundImage&&x.backgroundImage.indexOf("gradient")>-1);E=null;}jQuery.support.flexBoxPrefixed=true;y("flexBoxLayout","boxFlex");y("newFlexBoxLayout","flexGrow");if(!jQuery.support.newFlexBoxLayout&&x.msFlexOrder!==undefined){jQuery.support.ie10FlexBoxLayout=true;}else{jQuery.support.ie10FlexBoxLayout=false;}if(jQuery.support.flexBoxLayout||jQuery.support.newFlexBoxLayout||jQuery.support.ie10FlexBoxLayout){jQuery.support.hasFlexBoxSupport=true;}else{jQuery.support.hasFlexBoxSupport=false;}var F=function(s){this.mSettings=s||{};this.sMode=this.mSettings.mode||F.Mode.ALLOW;this.fnCallback=this.mSettings.callback;this.iTimeout=this.mSettings.timeout||10000;this.bBlockEvents=this.mSettings.blockEvents!==false;this.bShowBlockLayer=this.mSettings.showBlockLayer!==false;this.bAllowSameOrigin=this.mSettings.allowSameOrigin!==false;this.sParentOrigin='';this.bUnlocked=false;this.bRunnable=false;this.bParentUnlocked=false;this.bParentResponded=false;this.sStatus="pending";this.aFPChilds=[];var d=this;this.iTimer=setTimeout(function(){d._callback(false);},this.iTimeout);var H=function(){d._handlePostMessage.apply(d,arguments);};F.__window.addEventListener('message',H);if(F.__parent===F.__self||F.__parent==null||this.sMode===F.Mode.ALLOW){this._applyState(true,true);}else{this._lock();if(this.sMode===F.Mode.DENY){this._callback(false);return;}if(this.bAllowSameOrigin){try{var o=F.__parent;var O=false;var T=true;do{var i=o.document.domain;if(o==F.__top){if(i!=undefined){O=true;}break;}o=o.parent;}while(T);if(O){this._applyState(true,true);}}catch(e){this._sendRequireMessage();}}else{this._sendRequireMessage();}}};F.Mode={TRUSTED:'trusted',ALLOW:'allow',DENY:'deny'};F.__window=window;F.__parent=parent;F.__self=self;F.__top=top;F._events=["mousedown","mouseup","click","dblclick","mouseover","mouseout","touchstart","touchend","touchmove","touchcancel","keydown","keypress","keyup"];F.prototype.match=function(s,d){if(!(/\*/i.test(d))){return s==d;}else{d=d.replace(/\//gi,"\\/");d=d.replace(/\./gi,"\\.");d=d.replace(/\*/gi,".*");d=d.replace(/:\.\*$/gi,":\\d*");if(d.substr(d.length-1,1)!=='$'){d=d+'$';}if(d.substr(0,1)!=='^'){d='^'+d;}var r=new RegExp(d,'i');return r.test(s);}};F._lockHandler=function(o){o.stopPropagation();o.preventDefault();};F.prototype._createBlockLayer=function(){if(document.readyState=="complete"){var l=document.createElement("div");l.style.position="absolute";l.style.top="0px";l.style.bottom="0px";l.style.left="0px";l.style.right="0px";l.style.opacity="0";l.style.backgroundColor="white";l.style.zIndex=2147483647;document.body.appendChild(l);this._lockDiv=l;}};F.prototype._setCursor=function(){if(this._lockDiv){this._lockDiv.style.cursor=this.sStatus=="denied"?"not-allowed":"wait";}};F.prototype._lock=function(){var d=this;if(this.bBlockEvents){for(var i=0;i<F._events.length;i++){document.addEventListener(F._events[i],F._lockHandler,true);}}if(this.bShowBlockLayer){this._blockLayer=function(){d._createBlockLayer();d._setCursor();};if(document.readyState=="complete"){this._blockLayer();}else{document.addEventListener("readystatechange",this._blockLayer);}}};F.prototype._unlock=function(){if(this.bBlockEvents){for(var i=0;i<F._events.length;i++){document.removeEventListener(F._events[i],F._lockHandler,true);}}if(this.bShowBlockLayer){document.removeEventListener("readystatechange",this._blockLayer);if(this._lockDiv){document.body.removeChild(this._lockDiv);delete this._lockDiv;}}};F.prototype._callback=function(s){this.sStatus=s?"allowed":"denied";this._setCursor();clearTimeout(this.iTimer);if(typeof this.fnCallback==='function'){this.fnCallback.call(null,s);}};F.prototype._applyState=function(i,d){if(this.bUnlocked){return;}if(i){this.bRunnable=true;}if(d){this.bParentUnlocked=true;}if(!this.bRunnable||!this.bParentUnlocked){return;}this._unlock();this._callback(true);this._notifyChildFrames();this.bUnlocked=true;};F.prototype._applyTrusted=function(T){if(T){this._applyState(true,false);}else{this._callback(false);}};F.prototype._check=function(d){if(this.bRunnable){return;}var T=false;if(this.bAllowSameOrigin&&this.sParentOrigin&&F.__window.document.URL.indexOf(this.sParentOrigin)==0){T=true;}else if(this.mSettings.whitelist&&this.mSettings.whitelist.length!=0){var H=this.sParentOrigin.split('//')[1];H=H.split(':')[0];for(var i=0;i<this.mSettings.whitelist.length;i++){var m=H.indexOf(this.mSettings.whitelist[i]);if(m!=-1&&H.substring(m)==this.mSettings.whitelist[i]){T=true;break;}}}if(T){this._applyTrusted(T);}else if(this.mSettings.whitelistService){var j=this;var l=new XMLHttpRequest();var n=this.mSettings.whitelistService+'?parentOrigin='+encodeURIComponent(this.sParentOrigin);l.onreadystatechange=function(){if(l.readyState==4){j._handleXmlHttpResponse(l,d);}};l.open('GET',n,true);l.setRequestHeader('Accept','application/json');l.send();}else{this._callback(false);}};F.prototype._handleXmlHttpResponse=function(d,i){if(d.status===200){var T=false;var r=d.responseText;var R=JSON.parse(r);if(R.active==false){this._applyState(true,true);}else if(i){return;}else{if(this.match(this.sParentOrigin,R.origin)){T=R.framing;}this._applyTrusted(T);}}else{jQuery.sap.log.warning("The configured whitelist service is not available: "+d.status);this._callback(false);}};F.prototype._notifyChildFrames=function(){for(var i=0;i<this.aFPChilds.length;i++){this.aFPChilds[i].postMessage('SAPFrameProtection*parent-unlocked','*');}};F.prototype._sendRequireMessage=function(){F.__parent.postMessage('SAPFrameProtection*require-origin','*');if(this.mSettings.whitelistService){setTimeout(function(){if(!this.bParentResponded){this._check(true);}}.bind(this),10);}};F.prototype._handlePostMessage=function(o){var s=o.source,d=o.data;if(s===F.__self||s==null||typeof d!=="string"||d.indexOf("SAPFrameProtection*")===-1){return;}if(s===F.__parent){this.bParentResponded=true;if(!this.sParentOrigin){this.sParentOrigin=o.origin;this._check();}if(d=="SAPFrameProtection*parent-unlocked"){this._applyState(false,true);}}else if(s.parent===F.__self&&d=="SAPFrameProtection*require-origin"&&this.bUnlocked){s.postMessage("SAPFrameProtection*parent-unlocked","*");}else{s.postMessage("SAPFrameProtection*parent-origin","*");this.aFPChilds.push(s);}};jQuery.sap.FrameOptions=F;}());
  jQuery.sap.globalEval=function(){eval(arguments[0]);};
  jQuery.sap.declare('sap-ui-core-nojQuery');jQuery.sap.declare('sap.ui.thirdparty.es6-promise',false);jQuery.sap.declare('sap.ui.Device',false);jQuery.sap.declare('sap.ui.thirdparty.URI',false);jQuery.sap.declare('jquery.sap.global',false);sap.ui.predefine('jquery.sap.act',['jquery.sap.global'],function(q){"use strict";if(typeof window.jQuery.sap.act==="object"||typeof window.jQuery.sap.act==="function"){return q;}var _={},a=true,b=null,c=10000,d=!!window.addEventListener,e=[],f=false,g=null;function h(){b=null;if(f){j();return;}a=false;g.observe(document.documentElement,{childList:true,attributes:true,subtree:true,characterData:true});}function j(){if(document.hidden===true){return;}if(!a){a=true;k(e);g.disconnect();}if(b){f=true;}else{b=setTimeout(h,c);f=false;}}function k(l){if(l.length==0){return;}var m=l.slice();setTimeout(function(){var I;for(var i=0,L=m.length;i<L;i++){I=m[i];I.fFunction.call(I.oListener||window);}},0);}_.attachActivate=function(F,l){e.push({oListener:l,fFunction:F});};_.detachActivate=function(F,l){for(var i=0,L=e.length;i<L;i++){if(e[i].fFunction===F&&e[i].oListener===l){e.splice(i,1);break;}}};_.isActive=!d?function(){return true;}:function(){return a;};_.refresh=!d?function(){}:j;if(d){var E=["resize","orientationchange","mousemove","mousedown","mouseup","paste","cut","keydown","keyup","DOMMouseScroll","mousewheel"];if(!!('ontouchstart'in window)){E.push("touchstart","touchmove","touchend","touchcancel");}for(var i=0;i<E.length;i++){window.addEventListener(E[i],_.refresh,true);}if(window.MutationObserver){g=new window.MutationObserver(_.refresh);}else if(window.WebKitMutationObserver){g=new window.WebKitMutationObserver(_.refresh);}else{g={observe:function(){document.documentElement.addEventListener("DOMSubtreeModified",_.refresh);},disconnect:function(){document.documentElement.removeEventListener("DOMSubtreeModified",_.refresh);}};}if(typeof(document.hidden)==="boolean"){document.addEventListener("visibilitychange",function(){if(document.hidden!==true){_.refresh();}},false);}j();}q.sap.act=_;return q;});sap.ui.predefine('jquery.sap.dom',['jquery.sap.global','sap/ui/Device'],function(q,D){"use strict";var d=function(I,w){if(!w){w=window;}if(!I||I==""){return null;}var o=w.document.getElementById(I);if(o&&o.id==I){return o;}var r=w.document.getElementsByName(I);for(var i=0;i<r.length;i++){o=r[i];if(o&&o.id==I){return o;}}return null;};q.sap.domById=!!D.browser.internet_explorer&&D.browser.version<8?d:function domById(i,w){return i?(w||window).document.getElementById(i):null;};q.sap.byId=function byId(i,C){var e="";if(i){e="#"+i.replace(/(:|\.)/g,'\\$1');}return q(e,C);};q.sap.focus=function focus(o){if(!o){return;}try{o.focus();}catch(e){var i=(o&&o.id)?" (ID: '"+o.id+"')":"";q.sap.log.warning("Error when trying to focus a DOM element"+i+": "+e.message);return false;}return true;};q.fn.cursorPos=function cursorPos(P){var l=arguments.length,t,L,T,s;T=this.prop("tagName");s=this.prop("type");if(this.length===1&&((T=="INPUT"&&(s=="text"||s=="password"||s=="search"))||T=="TEXTAREA")){var o=this.get(0);if(l>0){if(typeof(o.selectionStart)=="number"){o.focus();o.selectionStart=P;o.selectionEnd=P;}else if(o.createTextRange){t=o.createTextRange();var m=o.value.length;if(P<0||P>m){P=m;}if(t){t.collapse();t.moveEnd("character",P);t.moveStart("character",P);t.select();}}return this;}else{if(typeof(o.selectionStart)=="number"){return o.selectionStart;}else if(o.createTextRange){t=window.document.selection.createRange();var C=t.duplicate();if(o.tagName=="TEXTAREA"){C.moveToElementText(o);var e=C.duplicate();L=C.text.length;e.moveStart("character",L);var S=0;if(e.inRange(t)){S=L;}else{var i=L;while(L>1){i=Math.round(L/2);S=S+i;e=C.duplicate();e.moveStart("character",S);if(e.inRange(t)){L=L-i;}else{S=S-i;L=i;}}}return S;}else if(C.parentElement()===o){C.collapse();var L=o.value.length;C.moveStart('character',-L);return C.text.length;}}return-1;}}else{return this;}};q.fn.selectText=function selectText(s,E){var o=this.get(0);try{if(typeof(o.selectionStart)==="number"){o.setSelectionRange(s,E);}else if(o.createTextRange){var t=o.createTextRange();t.collapse();t.moveStart('character',s);t.moveEnd('character',E-s);t.select();}}catch(e){}return this;};q.fn.getSelectedText=function(){var o=this.get(0);try{if(typeof o.selectionStart==="number"){return o.value.substring(o.selectionStart,o.selectionEnd);}if(document.selection){return document.selection.createRange().text;}}catch(e){}return"";};q.fn.outerHTML=function outerHTML(){var o=this.get(0);if(o&&o.outerHTML){return q.trim(o.outerHTML);}else{var e=this[0]?this[0].ownerDocument:document;var h=e.createElement("div");h.appendChild(o.cloneNode(true));return h.innerHTML;}};q.sap.containsOrEquals=function containsOrEquals(o,e){if(e&&o&&e!=document&&e!=window){return(o===e)||q.contains(o,e);}return false;};q.fn.rect=function rect(){var o=this.get(0);if(o){if(o.getBoundingClientRect){var C=o.getBoundingClientRect();var r={top:C.top,left:C.left,width:C.right-C.left,height:C.bottom-C.top};var w=q.sap.ownerWindow(o);r.left+=q(w).scrollLeft();r.top+=q(w).scrollTop();return r;}else{return{top:10,left:10,width:o.offsetWidth,height:o.offsetWidth};}}return null;};q.fn.rectContains=function rectContains(P,i){var r=this.rect();if(r){return P>=r.left&&P<=r.left+r.width&&i>=r.top&&i<=r.top+r.height;}return false;};q.fn.hasTabIndex=function hasTabIndex(){var t=this.prop("tabIndex");if(this.attr("disabled")&&!this.attr("tabindex")){t=-1;}return!isNaN(t)&&t>=0;};q.fn.firstFocusableDomRef=function firstFocusableDomRef(){var C=this.get(0);var e=function(i){return q(this).css("visibility")=="hidden";};if(!C||q(C).is(':hidden')||q(C).filter(e).length==1){return null;}var o=C.firstChild,h=null;while(o){if(o.nodeType==1&&q(o).is(':visible')){if(q(o).hasTabIndex()){return o;}if(o.childNodes){h=q(o).firstFocusableDomRef();if(h){return h;}}}o=o.nextSibling;}return null;};q.fn.lastFocusableDomRef=function lastFocusableDomRef(){var C=this.get(0);var e=function(i){return q(this).css("visibility")=="hidden";};if(!C||q(C).is(':hidden')||q(C).filter(e).length==1){return null;}var o=C.lastChild,h=null;while(o){if(o.nodeType==1&&q(o).is(':visible')){if(o.childNodes){h=q(o).lastFocusableDomRef();if(h){return h;}}if(q(o).hasTabIndex()){return o;}}o=o.previousSibling;}return null;};q.fn.scrollLeftRTL=function scrollLeftRTL(P){var o=this.get(0);if(o){if(P===undefined){if(!!D.browser.internet_explorer||!!D.browser.edge){return o.scrollWidth-o.scrollLeft-o.clientWidth;}else if(!!D.browser.webkit){return o.scrollLeft;}else if(!!D.browser.firefox){return o.scrollWidth+o.scrollLeft-o.clientWidth;}else{return o.scrollLeft;}}else{o.scrollLeft=q.sap.denormalizeScrollLeftRTL(P,o);return this;}}};q.fn.scrollRightRTL=function scrollRightRTL(){var o=this.get(0);if(o){if(!!D.browser.internet_explorer){return o.scrollLeft;}else if(!!D.browser.webkit){return o.scrollWidth-o.scrollLeft-o.clientWidth;}else if(!!D.browser.firefox){return(-o.scrollLeft);}else{return o.scrollLeft;}}};q.sap.denormalizeScrollLeftRTL=function(n,o){if(o){if(!!D.browser.internet_explorer){return o.scrollWidth-o.clientWidth-n;}else if(!!D.browser.webkit){return n;}else if(!!D.browser.firefox){return o.clientWidth+n-o.scrollWidth;}else{return n;}}};q.sap.denormalizeScrollBeginRTL=function(n,o){if(o){if(!!D.browser.internet_explorer){return n;}else if(!!D.browser.webkit){return o.scrollWidth-o.clientWidth-n;}else if(!!D.browser.firefox){return-n;}else{return n;}}};
  /*
  	 * The following methods are taken from jQuery UI core but modified.
  	 *
  	 * jQuery UI Core
  	 * http://jqueryui.com
  	 *
  	 * Copyright 2014 jQuery Foundation and other contributors
  	 * Released under the MIT license.
  	 * http://jquery.org/license
  	 *
  	 * http://api.jqueryui.com/category/ui-core/
  	 */
  q.support.selectstart="onselectstart"in document.createElement("div");q.fn.extend({disableSelection:function(){return this.on((q.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault();});},enableSelection:function(){return this.off(".ui-disableSelection");}});
  /*!
  	 * The following functions are taken from jQuery UI 1.8.17 but modified
  	 *
  	 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  	 * Dual licensed under the MIT or GPL Version 2 licenses.
  	 * http://jquery.org/license
  	 *
  	 * http://docs.jquery.com/UI
  	 */
  function v(e){var o=q(e).offsetParent();var O=false;var $=q(e).parents().filter(function(){if(this===o){O=true;}return O;});return!q(e).add($).filter(function(){return q.css(this,"visibility")==="hidden"||q.expr.filters.hidden(this);}).length;}function f(e,i){var n=e.nodeName.toLowerCase();if(n==="area"){var m=e.parentNode,h=m.name,j;if(!e.href||!h||m.nodeName.toLowerCase()!=="map"){return false;}j=q("img[usemap=#"+h+"]")[0];return!!j&&v(j);}return(/input|select|textarea|button|object/.test(n)?!e.disabled:n=="a"?e.href||i:i)&&v(e);}if(!q.expr[":"].focusable){
  /*!
  		 * The following function is taken from jQuery UI 1.8.17
  		 *
  		 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  		 * Dual licensed under the MIT or GPL Version 2 licenses.
  		 * http://jquery.org/license
  		 *
  		 * http://docs.jquery.com/UI
  		 *
  		 * But since visible is modified, focusable is different too the jQuery UI version too.
  		 */
  q.extend(q.expr[":"],{focusable:function(e){return f(e,!isNaN(q.attr(e,"tabindex")));}});}if(!q.expr[":"].sapTabbable){
  /*!
  		 * The following function is taken from
  		 * jQuery UI Core 1.11.1
  		 * http://jqueryui.com
  		 *
  		 * Copyright 2014 jQuery Foundation and other contributors
  		 * Released under the MIT license.
  		 * http://jquery.org/license
  		 *
  		 * http://api.jqueryui.com/category/ui-core/
  		 */
  q.extend(q.expr[":"],{sapTabbable:function(e){var t=q.attr(e,"tabindex"),i=isNaN(t);return(i||t>=0)&&f(e,!i);}});}if(!q.expr[":"].sapFocusable){q.extend(q.expr[":"],{sapFocusable:function(e){return f(e,!isNaN(q.attr(e,"tabindex")));}});}if(!q.fn.zIndex){q.fn.zIndex=function(z){if(z!==undefined){return this.css("zIndex",z);}if(this.length){var e=q(this[0]),h,i;while(e.length&&e[0]!==document){h=e.css("position");if(h==="absolute"||h==="relative"||h==="fixed"){i=parseInt(e.css("zIndex"),10);if(!isNaN(i)&&i!==0){return i;}}e=e.parent();}}return 0;};}q.fn.parentByAttribute=function parentByAttribute(A,V){if(this.length>0){if(V){return this.first().parents("["+A+"='"+V+"']").get(0);}else{return this.first().parents("["+A+"]").get(0);}}};q.sap.ownerWindow=function ownerWindow(o){if(o.ownerDocument.parentWindow){return o.ownerDocument.parentWindow;}return o.ownerDocument.defaultView;};var _={};q.sap.scrollbarSize=function(C,F){if(typeof C==="boolean"){F=C;C=null;}var k=C||"#DEFAULT";if(F){if(C){delete _[C];}else{_={};}}if(_[k]){return _[k];}if(!document.body){return{width:0,height:0};}var A=q("<DIV/>").css("visibility","hidden").css("height","0").css("width","0").css("overflow","hidden");if(C){A.addClass(C);}A.prependTo(document.body);var $=q("<div style=\"visibility:visible;position:absolute;height:100px;width:100px;overflow:scroll;opacity:0;\"></div>");A.append($);var o=$.get(0);var w=o.offsetWidth-o.scrollWidth;var h=o.offsetHeight-o.scrollHeight;A.remove();if(w===0||h===0){return{width:w,height:h};}_[k]={width:w,height:h};return _[k];};var a;function g(){return a||(a=sap.ui.require('sap/ui/core/Control'));}q.sap.syncStyleClass=function(s,S,e){if(!s){return e;}var C=g();if(C&&S instanceof C){S=S.$();}else if(typeof S==="string"){S=q.sap.byId(S);}else if(!(S instanceof q)){return e;}var h=!!S.closest("."+s).length;if(e instanceof q){e.toggleClass(s,h);}else if(C&&e instanceof C){e.toggleStyleClass(s,h);}else{}return e;};function b(A,V){var s=this.attr(A);if(!s){return this.attr(A,V);}var e=s.split(" ");if(e.indexOf(V)==-1){e.push(V);this.attr(A,e.join(" "));}return this;}function c(A,V){var s=this.attr(A)||"",e=s.split(" "),i=e.indexOf(V);if(i==-1){return this;}e.splice(i,1);if(e.length){this.attr(A,e.join(" "));}else{this.removeAttr(A);}return this;}q.fn.addAriaLabelledBy=function(i){return b.call(this,"aria-labelledby",i);};q.fn.removeAriaLabelledBy=function(i){return c.call(this,"aria-labelledby",i);};q.fn.addAriaDescribedBy=function(i){return b.call(this,"aria-describedby",i);};q.fn.removeAriaDescribedBy=function(i){return c.call(this,"aria-describedby",i);};function p(o,n){if(o.childElementCount!=n.childElementCount||o.tagName!=n.tagName){o.parentNode.replaceChild(n,o);return false;}if(o.isEqualNode(n)){return true;}var O=o.attributes;for(var i=0,e=O.length;i<e;i++){var A=O[i].name;if(n.getAttribute(A)===null){o.removeAttribute(A);e=e-1;i=i-1;}}var N=n.attributes;for(var i=0,e=N.length;i<e;i++){var A=N[i].name,h=o.getAttribute(A),j=n.getAttribute(A);if(h===null||h!==j){o.setAttribute(A,j);}}var k=n.childNodes.length;if(!k&&!o.hasChildNodes()){return true;}if(!n.childElementCount){if(!k){o.textContent="";}else if(k==1&&n.firstChild.nodeType==3){o.textContent=n.textContent;}else{o.innerHTML=n.innerHTML;}return true;}for(var i=0,r=0,e=k;i<e;i++){var l=o.childNodes[i],m=n.childNodes[i-r];if(m.nodeType==1){if(!p(l,m)){r=r+1;}}else{l.nodeValue=m.nodeValue;}}return true;}q.sap.replaceDOM=function(o,n,C){var N;if(typeof n==="string"){N=q.parseHTML(n)[0];}else{N=n;}if(C){q.cleanData([o]);q.cleanData(o.getElementsByTagName("*"));}return p(o,N);};return q;});
  /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  sap.ui.predefine('jquery.sap.encoder',['jquery.sap.global'],function(q){"use strict";function h(i,l){var g=i.toString(16);if(l){while(l>g.length){g="0"+g;}}return g;}var r=/[\x00-\x2b\x2f\x3a-\x40\x5b-\x5e\x60\x7b-\xff\u2028\u2029]/g,a=/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x9f]/,H={"<":"&lt;",">":"&gt;","&":"&amp;","\"":"&quot;"};var f=function(g){var E=H[g];if(!E){if(a.test(g)){E="&#xfffd;";}else{E="&#x"+h(g.charCodeAt(0))+";";}H[g]=E;}return E;};q.sap.encodeHTML=function(S){return S.replace(r,f);};q.sap.encodeXML=function(S){return S.replace(r,f);};q.sap.escapeHTML=function(S){return S.replace(r,f);};var b=/[\x00-\x2b\x2d\x2f\x3a-\x40\x5b-\x5e\x60\x7b-\xff\u2028\u2029]/g,j={};var J=function(g){var E=j[g];if(!E){var i=g.charCodeAt(0);if(i<256){E="\\x"+h(i,2);}else{E="\\u"+h(i,4);}j[g]=E;}return E;};q.sap.encodeJS=function(S){return S.replace(b,J);};q.sap.escapeJS=function(S){return S.replace(b,J);};var c=/[\x00-\x2c\x2f\x3a-\x40\x5b-\x5e\x60\x7b-\uffff]/g,u={};var U=function(g){var E=u[g];if(!E){var i=g.charCodeAt(0);if(i<128){E="%"+h(i,2);}else if(i<2048){E="%"+h((i>>6)|192,2)+"%"+h((i&63)|128,2);}else{E="%"+h((i>>12)|224,2)+"%"+h(((i>>6)&63)|128,2)+"%"+h((i&63)|128,2);}u[g]=E;}return E;};q.sap.encodeURL=function(S){return S.replace(c,U);};q.sap.encodeURLParameters=function(p){if(!p){return"";}var g=[];q.each(p,function(n,v){if(q.type(v)==="string"){v=q.sap.encodeURL(v);}g.push(q.sap.encodeURL(n)+"="+v);});return g.join("&");};var d=/[\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xff\u2028\u2029][0-9A-Fa-f]?/g;var C=function(g){var i=g.charCodeAt(0);if(g.length==1){return"\\"+h(i);}else{return"\\"+h(i)+" "+g.substr(1);}};q.sap.encodeCSS=function(S){return S.replace(d,C);};function W(p,g,i,k){if(p){this.protocol=p.toUpperCase();}if(g){this.host=g.toUpperCase();}this.port=i;this.path=k;}var w=[];q.sap.clearUrlWhitelist=function(){w.splice(0,w.length);};q.sap.addUrlWhitelist=function(p,g,i,k){var E=new W(p,g,i,k);var I=w.length;w[I]=E;};q.sap.removeUrlWhitelist=function(i){w.splice(i,1);};q.sap.getUrlWhitelist=function(){return w.slice();};q.sap.validateUrl=function(g){var k=/(?:([^:\/?#]+):)?(?:\/\/([^\/?#:]*)(?::([0-9]+))?)?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/.exec(g);if(!k){return k;}var p=k[1],l=k[2],P=k[3],m=k[4],Q=k[5],n=k[6];var o=/[\x00-\x24\x26-\x29\x2b\x2c\x2f\x3a-\x40\x5b-\x5e\x60\x7b-\x7d\x7f-\uffff]/;var t=/[\x00-\x20\x22\x3c\x3e\x5b-\x5e\x60\x7b-\x7d\x7f-\uffff]/;var v=/[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/;if(p){p=p.toUpperCase();if(w.length<=0){if(!/^(https?|ftp)/i.test(p)){return false;}}}if(l){l=l.toUpperCase();}if(m){if(p==="MAILTO"){var x=v.test(m);if(!x){return false;}}else{var y=m.split("/");for(var i=0;i<y.length;i++){var x=o.test(y[i]);if(x){return false;}}}}if(Q){var y=Q.split("&");for(var i=0;i<y.length;i++){var z=y[i].search("=");if(z!=-1){var A=y[i].substring(0,z);var B=y[i].substring(z+1);var D=o.test(A);var E=o.test(B);if(D||E){return false;}}}}if(n){if(t.test(n)){return false;}}if(w.length>0){var F=false;for(var i=0;i<w.length;i++){if(!p||!w[i].protocol||p==w[i].protocol){var O=false;if(l&&w[i].host&&/^\*/.test(w[i].host)){var G=w[i].host.slice(1).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var I=RegExp(G+"$");if(I.test(l)){O=true;}}else if(!l||!w[i].host||l==w[i].host){O=true;}if(O){if((!l&&!P)||!w[i].port||P==w[i].port){if(w[i].path&&/\*$/.test(w[i].path)){var K=w[i].path.slice(0,-1).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var I=RegExp("^"+K);if(I.test(m)){F=true;}}else if(!w[i].path||m==w[i].path){F=true;}}}}if(F){break;}}if(!F){return false;}}return true;};q.sap._sanitizeHTML=function(g,o){return s(g,o||{uriRewriter:function(i){if(q.sap.validateUrl(i)){return i;}}});};q.sap._setHTMLSanitizer=function(s){s=s||e;};function e(g,o){if(!window.html||!window.html.sanitize){q.sap.require("sap.ui.thirdparty.caja-html-sanitizer");}var t=o.tagPolicy||window.html.makeTagPolicy(o.uriRewriter,o.tokenPolicy);return window.html.sanitizeWithPolicy(g,t);}var s=e;return q;});sap.ui.predefine('jquery.sap.events',['jquery.sap.global','sap/ui/Device','jquery.sap.keycodes'],function(q,D){"use strict";var o,a,b,c,d,m,I=false;if(D.browser.webkit&&/Mobile/.test(navigator.userAgent)&&D.support.touch){I=true;(function(){var e=window.document,H=false,T=null,j=false,S,z,i=0;m=["mousedown","mouseover","mouseup","mouseout","click"];var A=function(C,E){if(!H){return;}var M=E.type=="touchend"?E.changedTouches[0]:E.touches[0];var F=e.createEvent('MouseEvent');F.initMouseEvent(C,true,true,window,E.detail,M.screenX,M.screenY,M.clientX,M.clientY,E.ctrlKey,E.shiftKey,E.altKey,E.metaKey,E.button,E.relatedTarget);F.isSynthetic=true;window.setTimeout(function(){T.dispatchEvent(F);},0);};var B=function(E){return E.target.tagName.match(/input|textarea|select/i);};d=function(E){if(!E.isSynthetic&&!B(E)){E.stopPropagation();E.preventDefault();}};o=function(E){var C=E.touches,F;H=(C.length==1&&!B(E));j=false;if(H){F=C[0];T=F.target;if(T.nodeType===3){T=T.parentNode;}S=F.clientX;z=F.clientY;A("mousedown",E);}};a=function(E){var C;if(H){C=E.touches[0];if(Math.abs(C.clientX-S)>10||Math.abs(C.clientY-z)>10){j=true;}if(j){A("mousemove",E);}}};b=function(E){A("mouseup",E);if(!j){A("click",E);}};c=function(E){A("mouseup",E);};for(;i<m.length;i++){e.addEventListener(m[i],d,true);}e.addEventListener('touchstart',o,true);e.addEventListener('touchmove',a,true);e.addEventListener('touchend',b,true);e.addEventListener('touchcancel',c,true);q.sap.disableTouchToMouseHandling=function(){var i=0;if(!I){return;}e.removeEventListener('touchstart',o,true);e.removeEventListener('touchmove',a,true);e.removeEventListener('touchend',b,true);e.removeEventListener('touchcancel',c,true);for(;i<m.length;i++){e.removeEventListener(m[i],d,true);}};}());}if(!q.sap.disableTouchToMouseHandling){q.sap.disableTouchToMouseHandling=function(){};}q.sap.ControlEvents=["click","dblclick","contextmenu","focusin","focusout","keydown","keypress","keyup","mousedown","mouseout","mouseover","mouseup","select","selectstart","dragstart","dragenter","dragover","dragleave","dragend","drop","paste","cut","input"];if(D.support.touch){q.sap.ControlEvents.push("touchstart","touchend","touchmove","touchcancel");}q.sap.PseudoEvents={sapdown:{sName:"sapdown",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_DOWN&&!k(e);}},sapdownmodifiers:{sName:"sapdownmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_DOWN&&k(e);}},sapshow:{sName:"sapshow",aTypes:["keydown"],fnCheck:function(e){return(e.keyCode==q.sap.KeyCodes.F4&&!k(e))||(e.keyCode==q.sap.KeyCodes.ARROW_DOWN&&h(e,false,true,false));}},sapup:{sName:"sapup",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_UP&&!k(e);}},sapupmodifiers:{sName:"sapupmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_UP&&k(e);}},saphide:{sName:"saphide",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_UP&&h(e,false,true,false);}},sapleft:{sName:"sapleft",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_LEFT&&!k(e);}},sapleftmodifiers:{sName:"sapleftmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_LEFT&&k(e);}},sapright:{sName:"sapright",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_RIGHT&&!k(e);}},saprightmodifiers:{sName:"saprightmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ARROW_RIGHT&&k(e);}},saphome:{sName:"saphome",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.HOME&&!k(e);}},saphomemodifiers:{sName:"saphomemodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.HOME&&k(e);}},saptop:{sName:"saptop",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.HOME&&h(e,true,false,false);}},sapend:{sName:"sapend",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.END&&!k(e);}},sapendmodifiers:{sName:"sapendmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.END&&k(e);}},sapbottom:{sName:"sapbottom",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.END&&h(e,true,false,false);}},sappageup:{sName:"sappageup",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.PAGE_UP&&!k(e);}},sappageupmodifiers:{sName:"sappageupmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.PAGE_UP&&k(e);}},sappagedown:{sName:"sappagedown",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.PAGE_DOWN&&!k(e);}},sappagedownmodifiers:{sName:"sappagedownmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.PAGE_DOWN&&k(e);}},sapselect:{sName:"sapselect",aTypes:["keydown"],fnCheck:function(e){return(e.keyCode==q.sap.KeyCodes.ENTER||e.keyCode==q.sap.KeyCodes.SPACE)&&!k(e);}},sapselectmodifiers:{sName:"sapselectmodifiers",aTypes:["keydown"],fnCheck:function(e){return(e.keyCode==q.sap.KeyCodes.ENTER||e.keyCode==q.sap.KeyCodes.SPACE)&&k(e);}},sapspace:{sName:"sapspace",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.SPACE&&!k(e);}},sapspacemodifiers:{sName:"sapspacemodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.SPACE&&k(e);}},sapenter:{sName:"sapenter",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ENTER&&!k(e);}},sapentermodifiers:{sName:"sapentermodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ENTER&&k(e);}},sapbackspace:{sName:"sapbackspace",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.BACKSPACE&&!k(e);}},sapbackspacemodifiers:{sName:"sapbackspacemodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.BACKSPACE&&k(e);}},sapdelete:{sName:"sapdelete",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.DELETE&&!k(e);}},sapdeletemodifiers:{sName:"sapdeletemodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.DELETE&&k(e);}},sapexpand:{sName:"sapexpand",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.NUMPAD_PLUS&&!k(e);}},sapexpandmodifiers:{sName:"sapexpandmodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.NUMPAD_PLUS&&k(e);}},sapcollapse:{sName:"sapcollapse",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.NUMPAD_MINUS&&!k(e);}},sapcollapsemodifiers:{sName:"sapcollapsemodifiers",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.NUMPAD_MINUS&&k(e);}},sapcollapseall:{sName:"sapcollapseall",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.NUMPAD_ASTERISK&&!k(e);}},sapescape:{sName:"sapescape",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.ESCAPE&&!k(e);}},saptabnext:{sName:"saptabnext",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.TAB&&!k(e);}},saptabprevious:{sName:"saptabprevious",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.TAB&&h(e,false,false,true);}},sapskipforward:{sName:"sapskipforward",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.F6&&!k(e);}},sapskipback:{sName:"sapskipback",aTypes:["keydown"],fnCheck:function(e){return e.keyCode==q.sap.KeyCodes.F6&&h(e,false,false,true);}},sapdecrease:{sName:"sapdecrease",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var i=R?q.sap.KeyCodes.ARROW_RIGHT:q.sap.KeyCodes.ARROW_LEFT;return(e.keyCode==i||e.keyCode==q.sap.KeyCodes.ARROW_DOWN)&&!k(e);}},sapminus:{sName:"sapminus",aTypes:["keypress"],fnCheck:function(e){var C=String.fromCharCode(e.which);return C=='-';}},sapdecreasemodifiers:{sName:"sapdecreasemodifiers",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var i=R?q.sap.KeyCodes.ARROW_RIGHT:q.sap.KeyCodes.ARROW_LEFT;return(e.keyCode==i||e.keyCode==q.sap.KeyCodes.ARROW_DOWN)&&k(e);}},sapincrease:{sName:"sapincrease",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var N=R?q.sap.KeyCodes.ARROW_LEFT:q.sap.KeyCodes.ARROW_RIGHT;return(e.keyCode==N||e.keyCode==q.sap.KeyCodes.ARROW_UP)&&!k(e);}},sapplus:{sName:"sapplus",aTypes:["keypress"],fnCheck:function(e){var C=String.fromCharCode(e.which);return C=='+';}},sapincreasemodifiers:{sName:"sapincreasemodifiers",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var N=R?q.sap.KeyCodes.ARROW_LEFT:q.sap.KeyCodes.ARROW_RIGHT;return(e.keyCode==N||e.keyCode==q.sap.KeyCodes.ARROW_UP)&&k(e);}},sapprevious:{sName:"sapprevious",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var i=R?q.sap.KeyCodes.ARROW_RIGHT:q.sap.KeyCodes.ARROW_LEFT;return(e.keyCode==i||e.keyCode==q.sap.KeyCodes.ARROW_UP)&&!k(e);}},sappreviousmodifiers:{sName:"sappreviousmodifiers",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var i=R?q.sap.KeyCodes.ARROW_RIGHT:q.sap.KeyCodes.ARROW_LEFT;return(e.keyCode==i||e.keyCode==q.sap.KeyCodes.ARROW_UP)&&k(e);}},sapnext:{sName:"sapnext",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var N=R?q.sap.KeyCodes.ARROW_LEFT:q.sap.KeyCodes.ARROW_RIGHT;return(e.keyCode==N||e.keyCode==q.sap.KeyCodes.ARROW_DOWN)&&!k(e);}},sapnextmodifiers:{sName:"sapnextmodifiers",aTypes:["keydown"],fnCheck:function(e){var R=sap.ui.getCore().getConfiguration().getRTL();var N=R?q.sap.KeyCodes.ARROW_LEFT:q.sap.KeyCodes.ARROW_RIGHT;return(e.keyCode==N||e.keyCode==q.sap.KeyCodes.ARROW_DOWN)&&k(e);}},sapdelayeddoubleclick:{sName:"sapdelayeddoubleclick",aTypes:["click"],fnCheck:function(e){var i=q(e.target);var j=e.timeStamp;var z=i.data("sapdelayeddoubleclick_lastClickTimestamp");var A=z||0;i.data("sapdelayeddoubleclick_lastClickTimestamp",j);var B=j-A;return(B>=300&&B<=1300);}}};var P=["sapdown","sapdownmodifiers","sapshow","sapup","sapupmodifiers","saphide","sapleft","sapleftmodifiers","sapright","saprightmodifiers","saphome","saphomemodifiers","saptop","sapend","sapendmodifiers","sapbottom","sappageup","sappageupmodifiers","sappagedown","sappagedownmodifiers","sapselect","sapselectmodifiers","sapspace","sapspacemodifiers","sapenter","sapentermodifiers","sapexpand","sapbackspace","sapbackspacemodifiers","sapdelete","sapdeletemodifiers","sapexpandmodifiers","sapcollapse","sapcollapsemodifiers","sapcollapseall","sapescape","saptabnext","saptabprevious","sapskipforward","sapskipback","sapprevious","sappreviousmodifiers","sapnext","sapnextmodifiers","sapdecrease","sapminus","sapdecreasemodifiers","sapincrease","sapplus","sapincreasemodifiers","sapdelayeddoubleclick"];(function initTouchEventSupport(){q.sap.touchEventMode="SIM";var A=[];var e=[];if(D.support.touch){q.sap.touchEventMode="ON";q.event.props.push("touches","targetTouches","changedTouches");}var j=function(J,K,N){var Q="__"+J+"Handler";var R="sap"+J;A.push(R);e.push({sName:J,aTypes:[R],fnCheck:function(U){return true;}});q.event.special[R]={add:function(U){var V=this,$=q(this),W={domRef:V,eventName:J,sapEventName:R,eventHandle:U};var X=function(Y){N(Y,W);};U.__sapSimulatedEventHandler=X;for(var i=0;i<K.length;i++){$.on(K[i],X);}},remove:function(U){var $=q(this);var N=U.__sapSimulatedEventHandler;$.removeData(Q+U.guid);for(var i=0;i<K.length;i++){q.event.remove(this,K[i],N);}}};};var M=function(J,K){var $=q(K.domRef);if(J.isMarked("delayedMouseEvent")){return;}if(!(J.type!="mouseout"||(J.type==="mouseout"&&q.sap.checkMouseEnterOrLeave(J,K.domRef)))){var N=true;var Q=$.data("__touchstart_control");if(Q){var R=q.sap.domById(Q);if(R&&q.sap.checkMouseEnterOrLeave(J,R)){N=false;}}if(N){return;}}var U=q.event.fix(J.originalEvent||J);U.type=K.sapEventName;if(U.isMarked("firstUIArea")){U.setMark("handledByUIArea",false);}var V=[{identifier:1,pageX:U.pageX,pageY:U.pageY,clientX:U.clientX,clientY:U.clientY,screenX:U.screenX,screenY:U.screenY,target:U.target,radiusX:1,radiusY:1,rotationAngle:0}];switch(K.eventName){case"touchstart":case"touchmove":U.touches=U.changedTouches=U.targetTouches=V;break;case"touchend":U.changedTouches=V;U.touches=U.targetTouches=[];break;}if(K.eventName==="touchstart"||$.data("__touch_in_progress")){$.data("__touch_in_progress","X");var W=q.fn.control?q(J.target).control(0):null;if(W){$.data("__touchstart_control",W.getId());}if(J.type==="mouseout"){U.setMarked("fromMouseout");}K.eventHandle.handler.call(K.domRef,U);if(K.eventName==="touchend"&&!U.isMarked("fromMouseout")){$.removeData("__touch_in_progress");$.removeData("__touchstart_control");}}};if(!(D.support.pointer&&D.support.touch)){j("touchstart",["mousedown"],M);j("touchend",["mouseup","mouseout"],M);j("touchmove",["mousemove"],M);}function z(){var J=window["sap-ui-config"]||{},K=J.libs||"";function N(Q){return document.location.search.indexOf("sap-ui-"+Q)>-1||!!J[Q.toLowerCase()];}return D.support.touch||N("xx-test-mobile")||N("xx-fakeOS")||K.match(/sap.m\b/);}if(z()){q.sap.require("sap.ui.thirdparty.jquery-mobile-custom");if(D.support.touch&&!(D.os.windows_phone&&D.os.version<10)){var F=false,B=q.vmouse.moveDistanceThreshold,S,C,O,E,L;var G=function(J,K,N){var Q=q.event.fix(J.originalEvent||J);Q.type=K.sapEventName;delete Q.touches;delete Q.changedTouches;delete Q.targetTouches;Q.screenX=N.screenX;Q.screenY=N.screenY;Q.clientX=N.clientX;Q.clientY=N.clientY;Q.ctrlKey=N.ctrlKey;Q.altKey=N.altKey;Q.shiftKey=N.shiftKey;Q.button=(D.browser.msie&&D.browser.version<=8?1:0);return Q;};var T=function(J,K){if(J.isMarked("handledByTouchToMouse")){return;}J.setMarked("handledByTouchToMouse");if(!F){var N=J.originalEvent.touches[0];F=(Math.abs(N.pageX-S)>B||Math.abs(N.pageY-C)>B);}if(D.os.blackberry){if(L&&J.timeStamp-L<50){return;}L=J.timeStamp;}var Q=G(J,K,J.touches[0]);q.sap.delayedCall(0,this,function(){Q.setMark("handledByUIArea",false);K.eventHandle.handler.call(K.domRef,Q);});};var H=function(J,K){if(J.isMarked("handledByTouchToMouse")){return;}J.setMarked("handledByTouchToMouse");var N,Q,R;function U(){return G(J,K,K.eventName==="mouseup"?J.changedTouches[0]:J.touches[0]);}if(J.type==="touchstart"){var V=J.originalEvent.touches[0];F=false;L=0;S=V.pageX;C=V.pageY;O=Math.round(V.pageX-q(J.target).offset().left);E=Math.round(V.pageY-q(J.target).offset().top);N=U();q.sap.delayedCall(0,this,function(){N.setMark("handledByUIArea",false);K.eventHandle.handler.call(K.domRef,N);});}else if(J.type==="touchend"){Q=U();R=!F;q.sap.delayedCall(0,this,function(){Q.setMark("handledByUIArea",false);K.eventHandle.handler.call(K.domRef,Q);if(R){Q.type="click";Q.getPseudoTypes=q.Event.prototype.getPseudoTypes;Q.setMark("handledByUIArea",false);Q.offsetX=O;Q.offsetY=E;K.eventHandle.handler.call(K.domRef,Q);}});}};q.sap.disableTouchToMouseHandling();j("mousedown",["touchstart"],H);j("mousemove",["touchmove"],T);j("mouseup",["touchend","touchcancel"],H);}A.push("swipe","tap","swipeleft","swiperight","scrollstart","scrollstop");e.push({sName:"swipebegin",aTypes:["swipeleft","swiperight"],fnCheck:function(J){var R=sap.ui.getCore().getConfiguration().getRTL();return(R&&J.type==="swiperight")||(!R&&J.type==="swipeleft");}});e.push({sName:"swipeend",aTypes:["swipeleft","swiperight"],fnCheck:function(J){var R=sap.ui.getCore().getConfiguration().getRTL();return(!R&&J.type==="swiperight")||(R&&J.type==="swipeleft");}});}if(q.sap.Version(q.fn.jquery).compareTo("1.9.1")<0){q.sap.ControlEvents=q.sap.ControlEvents.concat(A);}else{q.sap.ControlEvents=A.concat(q.sap.ControlEvents);}for(var i=0;i<e.length;i++){q.sap.PseudoEvents[e[i].sName]=e[i];P.push(e[i].sName);}}());function f(){var e=q.sap.PseudoEvents,R=[];for(var N in e){if(e[N].aTypes){for(var j=0,i=e[N].aTypes.length;j<i;j++){var T=e[N].aTypes[j];if(q.inArray(T,R)==-1){R.push(T);}}}}return R;}var g=f();function h(e,C,A,S){return e.shiftKey==S&&e.altKey==A&&l(e)==C;}function k(e){return e.shiftKey||e.altKey||l(e);}function l(e){return!!(e.metaKey||e.ctrlKey);}q.Event.prototype.getPseudoTypes=function(){var e=[];if(q.inArray(this.type,g)!=-1){var j=P;var z=j.length;var A=null;for(var i=0;i<z;i++){A=q.sap.PseudoEvents[j[i]];if(A.aTypes&&q.inArray(this.type,A.aTypes)>-1&&A.fnCheck&&A.fnCheck(this)){e.push(A.sName);}}}this.getPseudoTypes=function(){return e.slice();};return e.slice();};q.Event.prototype.isPseudoType=function(T){var e=this.getPseudoTypes();if(T){return q.inArray(T,e)>-1;}else{return e.length>0;}};q.sap.bindAnyEvent=function bindAnyEvent(C){if(C){q(document).bind(q.sap.ControlEvents.join(" "),C);}};q.sap.unbindAnyEvent=function unbindAnyEvent(C){if(C){q(document).unbind(q.sap.ControlEvents.join(" "),C);}};q.sap.checkMouseEnterOrLeave=function checkMouseEnterOrLeave(E,i){if(E.type!="mouseover"&&E.type!="mouseout"){return false;}var j=false;var z=i;var A=E.relatedTarget;try{while(A&&A!==z){A=A.parentNode;}if(A!==z){j=true;}}catch(e){}return j;};q.sap.isSpecialKey=function(e){var K=q.sap.KeyCodes,i=e.which,S=n(e)||p(e)||(i>=33&&i<=36)||(i>=44&&i<=46)||(i>=112&&i<=123)||(i===K.BREAK)||(i===K.BACKSPACE)||(i===K.TAB)||(i===K.ENTER)||(i===K.ESCAPE)||(i===K.SCROLL_LOCK);switch(e.type){case"keydown":case"keyup":return S;case"keypress":return(i===0||i===K.BACKSPACE||i===K.ESCAPE||i===K.ENTER)||false;default:return false;}};function n(e){var K=q.sap.KeyCodes,i=e.which;return(i===K.SHIFT)||(i===K.CONTROL)||(i===K.ALT)||(i===K.CAPS_LOCK)||(i===K.NUM_LOCK);}function p(e){var K=e.which,A=(K>=37&&K<=40);switch(e.type){case"keydown":case"keyup":return A;case"keypress":return K===0;default:return false;}}q.Event.prototype.getOffsetX=function(){if(this.type=='click'){if(this.offsetX){return this.offsetX;}if(this.layerX){return this.layerX;}if(this.originalEvent.layerX){return this.originalEvent.layerX;}}return 0;};q.Event.prototype.getOffsetY=function(){if(this.type=='click'){if(this.offsetY){return this.offsetY;}if(this.layerY){return this.layerY;}if(this.originalEvent.layerY){return this.originalEvent.layerY;}}return 0;};var s=q.Event.prototype.stopImmediatePropagation;q.Event.prototype.stopImmediatePropagation=function(S){s.apply(this,arguments);if(S){this._bIsStopHandlers=true;}};q.Event.prototype.isImmediateHandlerPropagationStopped=function(){return!!this._bIsStopHandlers;};q.Event.prototype.setMark=function(K,V){K=K||"handledByControl";V=arguments.length<2?true:V;(this.originalEvent||this)["_sapui_"+K]=V;};q.Event.prototype.setMarked=q.Event.prototype.setMark;q.Event.prototype.isMarked=function(K){K=K||"handledByControl";return!!(this.originalEvent||this)["_sapui_"+K];};q.sap._FASTNAVIGATIONKEY="sap-ui-fastnavgroup";function r(R){var G=q(R).closest('[data-sap-ui-customfastnavgroup="true"]');return G[0];}function t(R){var G=r(R);if(G){return G;}var $=q(R).closest('[data-'+q.sap._FASTNAVIGATIONKEY+'="true"]');return $[0];}function u(R,S,N){var $=q(R),A,T;if(N){A=q.merge($.find("*"),q.merge($.nextAll(),$.parents().nextAll()));T=A.find(':sapTabbable').addBack(':sapTabbable');}else{A=q.merge($.prevAll(),$.parents().prevAll());T=q.merge($.parents(':sapTabbable'),A.find(':sapTabbable').addBack(':sapTabbable'));}var T=q.unique(T);return T.filter(function(){return w(S,this);});}function v(R,S){var e=q.sap.domById("sap-ui-static");if(!e){return R;}var j=[];for(var i=0;i<S.length;i++){if(q.contains(e,S[i])){j.push(S[i]);}}return R.filter(function(){if(j.length&&w(j,this)){return true;}return!q.contains(e,this);});}function w(C,R){for(var i=0;i<C.length;i++){if(C[i]===R||q.contains(C[i],R)){return true;}}return false;}function x(F,T,S,e){var G,$;for(var i=T.length-1;i>=0;i--){G=t(T[i]);if(G!=S){if(e){S=G;e=false;}else{$=q(T[i+1]);break;}}}if(!$&&!e){$=F;}return $;}function y(S,e,F){if(!e||e.length==0){e=[document];}if(!w(e,S)){return;}var j=t(S),A=v(q(e).find(':sapTabbable').addBack(':sapTabbable'),e),$=A.first(),T=v(u(S,e,F),e),G,z;if(F){for(var i=0;i<T.length;i++){G=t(T[i]);if(G!=j){z=q(T[i]);break;}}if(!z||!z.length){z=$;}}else{z=x($,T,j,true);if(!z||!z.length){if(A.length==1){z=q(A[0]);}else if(A.length>1){j=t(A.eq(-1));G=t(A.eq(-2));if(j!=G){z=A.eq(-1);}else{z=x($,A,j,false);}}}}if(z&&z.length){var B=z[0],E=null,C=r(B);if(C&&C.id){var H=sap.ui.getCore().byId(C.id);if(H){E=q.Event("BeforeFastNavigationFocus");E.target=B;E.source=S;E.forward=F;H._handleEvent(E);}}if(!E||!E.isDefaultPrevented()){q.sap.focus(B);}}}q.sap.handleF6GroupNavigation=function(e,S){if(e.type!="keydown"||e.keyCode!=q.sap.KeyCodes.F6||e.isMarked("sapui5_handledF6GroupNavigation")||e.isMarked()||e.isDefaultPrevented()){return;}e.setMark("sapui5_handledF6GroupNavigation");e.setMarked();e.preventDefault();if(S&&S.skip){return;}var T=S&&S.target?S.target:document.activeElement,i=null;if(S&&S.scope){i=q.isArray(S.scope)?S.scope:[S.scope];}y(T,i,!e.shiftKey);};q(function(){q(document).on("keydown",function(e){q.sap.handleF6GroupNavigation(e,null);});});q.sap.isMouseEventDelayed=(D.browser.mobile&&!((D.os.ios&&D.os.version>=8&&D.browser.safari)||(D.browser.chrome&&!/SAMSUNG/.test(navigator.userAgent)&&D.browser.version>=32)));return q;});sap.ui.predefine('jquery.sap.keycodes',['jquery.sap.global'],function(q){"use strict";q.sap.KeyCodes={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,BREAK:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,PRINT:44,INSERT:45,DELETE:46,DIGIT_0:48,DIGIT_1:49,DIGIT_2:50,DIGIT_3:51,DIGIT_4:52,DIGIT_5:53,DIGIT_6:54,DIGIT_7:55,DIGIT_8:56,DIGIT_9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,WINDOWS:91,CONTEXT_MENU:93,TURN_OFF:94,SLEEP:95,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_ASTERISK:106,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_COMMA:110,NUMPAD_SLASH:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,SCROLL_LOCK:145,OPEN_BRACKET:186,PLUS:187,COMMA:188,SLASH:189,DOT:190,PIPE:191,SEMICOLON:192,MINUS:219,GREAT_ACCENT:220,EQUALS:221,SINGLE_QUOTE:222,BACKSLASH:226};return q;});sap.ui.predefine('jquery.sap.mobile',['jquery.sap.global','sap/ui/Device','jquery.sap.dom','jquery.sap.events'],function(q,D){"use strict";(function($){var F=/(?:\?|&)sap-ui-xx-fakeOS=([^&]+)/;$.sap.simulateMobileOnDesktop=false;if((D.browser.webkit||(D.browser.msie&&D.browser.version>=10))&&!q.support.touch){var r=document.location.search.match(F);var a=r&&r[1]||q.sap.byId("sap-ui-bootstrap").attr("data-sap-ui-xx-fakeOS");if(a){$.sap.simulateMobileOnDesktop=true;var u={ios:"Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.48 (KHTML, like Gecko) Version/5.1 Mobile/9A406 Safari/7534.48.3",iphone:"Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.48 (KHTML, like Gecko) Version/5.1 Mobile/9A406 Safari/7534.48.3",ipad:"Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9B206",android:"Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; GT-I9100 Build/IML74K) AppleWebKit/534.46 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.46",android_phone:"Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; GT-I9100 Build/IML74K) AppleWebKit/534.46 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.46",android_tablet:"Mozilla/5.0 (Linux; Android 4.1.2; Nexus 7 Build/JZ054K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19",blackberry:"Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",winphone:"Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)"}[a];if(u&&(D.browser.webkit&&a!=="winphone"||D.browser.msie&&a==="winphone")){if(D.browser.safari){var _=window.navigator;window.navigator={};window.navigator.__proto__=_;window.navigator.__defineGetter__('userAgent',function(){return u;});}else{Object.defineProperty(navigator,"userAgent",{get:function(){return u;}});}if(D.browser.webkit){q.browser.msie=q.browser.opera=q.browser.mozilla=false;q.browser.webkit=true;q.browser.version="534.46";}D._update($.sap.simulateMobileOnDesktop);}}}$.os=$.extend({os:D.os.name,version:D.os.versionStr,fVersion:D.os.version},$.os);$.os[D.os.name]=true;$.extend($.support,{retina:window.devicePixelRatio>=2});$.device=$.extend({},$.device);$.device.is=$.extend({standalone:window.navigator.standalone,landscape:D.orientation.landscape,portrait:D.orientation.portrait,iphone:D.os.ios&&D.system.phone,ipad:D.os.ios&&D.system.tablet,android_phone:D.system.phone&&D.os.android,android_tablet:D.system.tablet&&D.os.android,tablet:D.system.tablet,phone:D.system.phone,desktop:D.system.desktop},$.device.is);if(D.os.windows_phone){var t;t=document.createElement("meta");t.setAttribute("name","msapplication-tap-highlight");t.setAttribute("content","no");document.head.appendChild(t);t=document.createElement("style");t.appendChild(document.createTextNode('@-ms-viewport{width:device-width;}'));document.head.appendChild(t);}var b=false;$.sap.initMobile=function(o){var c=$("head");if(!b){b=true;o=$.extend({},{viewport:true,statusBar:"default",hideBrowser:true,preventScroll:true,preventPhoneNumberDetection:true,useFullScreenHeight:true,homeIconPrecomposed:false,mobileWebAppCapable:"default"},o);if(D.os.ios&&o.preventPhoneNumberDetection){c.append($('<meta name="format-detection" content="telephone=no">'));}else if(D.browser.msie){c.append($('<meta http-equiv="cleartype" content="on">'));c.append($('<meta name="msapplication-tap-highlight" content="no">'));}var i=D.os.ios&&D.os.version>=7&&D.os.version<8&&D.browser.name==="sf";if(o.viewport){var m;if(i&&D.system.phone){m='minimal-ui, initial-scale=1.0, maximum-scale=1.0, user-scalable=0';}else if(i&&D.system.tablet){m='initial-scale=1.0, maximum-scale=1.0, user-scalable=no';}else if($.device.is.iphone&&(Math.max(window.screen.height,window.screen.width)===568)){m="user-scalable=0, initial-scale=1.0";}else if(D.os.android&&D.os.version<3){m="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no";}else{m="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no";}c.append($('<meta name="viewport" content="'+m+'">'));}if(o.mobileWebAppCapable==="default"){if(D.os.ios){c.append($('<meta name="apple-mobile-web-app-capable" content="yes">'));}}else{$.sap.setMobileWebAppCapable(o.mobileWebAppCapable);}if(D.os.ios){c.append($('<meta name="apple-mobile-web-app-status-bar-style" content="'+o.statusBar+'">'));}if(o.preventScroll&&!sap.ui.Device.os.blackberry){$(window).bind("touchmove",function sapInitMobileTouchMoveHandle(e){if(!e.isMarked()){e.preventDefault();}});}if(o.useFullScreenHeight){$(function(){document.documentElement.style.height="100%";});}}if(o&&o.homeIcon){var I;if(typeof o.homeIcon==="string"){I={phone:o.homeIcon};}else{I=$.extend({},o.homeIcon);}I.precomposed=o.homeIconPrecomposed||I.precomposed;I.favicon=o.homeIcon.icon||I.favicon;I.icon=undefined;$.sap.setIcons(I);}};$.sap.setIcons=function(i){if(!i||(typeof i!=="object")){$.sap.log.warning("Call to jQuery.sap.setIcons() has been ignored because there were no icons given or the argument was not an object.");return;}var c=$("head"),p=i.precomposed?"-precomposed":"",g=function(h){return i[h]||i['tablet@2']||i['phone@2']||i['phone']||i['tablet'];},s={"phone":"","tablet":"72x72","phone@2":"114x114","tablet@2":"144x144"};if(i["favicon"]){var d=c.find("[rel^=shortcut]");d.each(function(){if(this.rel==="shortcut icon"){$(this).remove();}});c.append($('<link rel="shortcut icon" href="'+i["favicon"]+'" />'));}if(g("phone")){c.find("[rel=apple-touch-icon]").remove();c.find("[rel=apple-touch-icon-precomposed]").remove();}for(var e in s){i[e]=i[e]||g(e);if(i[e]){var f=s[e];c.append($('<link rel="apple-touch-icon'+p+'" '+(f?'sizes="'+f+'"':"")+' href="'+i[e]+'" />'));}}};$.sap.setMobileWebAppCapable=function(v){if(!D.system.tablet&&!D.system.phone){return;}var h=$("head"),p=["","apple"],n="mobile-web-app-capable",c=v?"yes":"no",i,N,w;for(i=0;i<p.length;i++){N=p[i]?(p[i]+"-"+n):n;w=h.children('meta[name="'+N+'"]');if(w.length){w.attr("content",c);}else{h.append($('<meta name="'+N+'" content="'+c+'">'));}}};})(q);return q;});sap.ui.predefine('jquery.sap.properties',['jquery.sap.global','jquery.sap.sjax'],function(q){"use strict";var P=function(){this.mProperties={};this.aKeys=[];};P.prototype.getProperty=function(k,d){var v=this.mProperties[k];if(typeof(v)=="string"){return v;}else if(d){return d;}return null;};P.prototype.getKeys=function(){return this.aKeys;};P.prototype.setProperty=function(k,v){if(typeof(v)!="string"){return;}if(typeof(this.mProperties[k])!="string"){this.aKeys.push(k);}this.mProperties[k]=v;};P.prototype.clone=function(){var c=new P();c.mProperties=q.extend({},this.mProperties);c.aKeys=q.merge([],this.aKeys);return c;};var r=/(?:\r\n|\r|\n|^)[ \t\f]*/;var a=/(\\u[0-9a-fA-F]{0,4})|(\\.)|(\\$)|([ \t\f]*[ \t\f:=][ \t\f]*)/g;var E={'\\f':'\f','\\n':'\n','\\r':'\r','\\t':'\t'};function p(t,o){var l=t.split(r),L,k,v,K,i,m,b;o.mProperties={};o.aKeys=[];for(i=0;i<l.length;i++){L=l[i];if(L===""||L.charAt(0)==="#"||L.charAt(0)==="!"){continue;}a.lastIndex=b=0;v="";K=true;while((m=a.exec(L))!==null){if(b<m.index){v+=L.slice(b,m.index);}b=a.lastIndex;if(m[1]){if(m[1].length!==6){throw new Error("Incomplete Unicode Escape '"+m[1]+"'");}v+=String.fromCharCode(parseInt(m[1].slice(2),16));}else if(m[2]){v+=E[m[2]]||m[2].slice(1);}else if(m[3]){L=l[++i];a.lastIndex=b=0;}else if(m[4]){if(K){K=false;k=v;v="";}else{v+=m[4];}}}if(b<L.length){v+=L.slice(b);}if(K){k=v;v="";}o.aKeys.push(k);o.mProperties[k]=v;}q.sap.unique(o.aKeys);}q.sap.properties=function properties(m){m=q.extend({url:undefined,headers:{}},m);var A=!!m.async,o=new P();function _(t){if(typeof(t)=="string"){p(t,o);}}function b(){var R;if(typeof(m.url)=="string"){R=q.sap.loadResource({url:m.url,dataType:'text',headers:m.headers,failOnError:false,async:A});}return R;}if(A){return new window.Promise(function(c,d){var R=b();if(!R){c(o);return;}R.then(function(v){try{_(v);c(o);}catch(e){d(e);}},function(v){d(v instanceof Error?v:new Error("Problem during loading of property file '"+m.url+"': "+v));});});}else{_(b());return o;}};return q;});sap.ui.predefine('jquery.sap.resources',['jquery.sap.global','jquery.sap.properties','jquery.sap.strings'],function(q){"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 M={"he":"iw","yi":"ji","id":"in","sr":"sh"};var a={"iw":"he","ji":"yi","in":"id","sn":"sr"};var b={"en_US_saptrc":"1Q","en_US_sappsd":"2Q"};var c=/-(saptrc|sappsd)(?:-|$)/i;function n(L){var m;if(typeof L==='string'&&(m=r.exec(L.replace(/_/g,'-')))){var h=m[1].toLowerCase();h=M[h]||h;var S=m[2]?m[2].toLowerCase():undefined;var R=m[3]?m[3].toUpperCase():undefined;var V=m[4];var p=m[6];if((p&&(m=c.exec(p)))||(V&&(m=c.exec(V)))){return"en_US_"+m[1].toLowerCase();}if(h==="zh"&&!R){if(S==="hans"){R="CN";}else if(S==="hant"){R="TW";}}return h+(R?"_"+R+(V?"_"+V.slice(1).replace("-","_"):""):"");}}function d(){var L;if(window.sap&&sap.ui&&sap.ui.getCore){L=sap.ui.getCore().getConfiguration().getLanguage();L=n(L);}return L||"en";}function e(L){var m;if(typeof L==='string'&&(m=r.exec(L.replace(/_/g,'-')))){var h=m[1].toLowerCase();h=a[h]||h;return h+(m[3]?"-"+m[3].toUpperCase()+(m[4]?"-"+m[4].slice(1).replace("_","-"):""):"");}}var f=/^((?:[^?#]*\/)?[^\/?#]*)(\.[^.\/?#]+)((?:\?([^#]*))?(?:#(.*))?)$/;var v=[".properties",".hdbtextbundle"];function s(u){var m=f.exec(u);return m&&{url:u,prefix:m[1],ext:m[2],query:m[4],hash:(m[5]||""),suffix:m[2]+(m[3]||"")};}var B=function(u,L,i,A){this.sLocale=n(L)||d();this.oUrlInfo=s(u);if(!this.oUrlInfo||q.inArray(this.oUrlInfo.ext,v)<0){throw new Error("resource URL '"+u+"' has unknown type (should be one of "+v.join(",")+")");}this.bIncludeInfo=i;this.aCustomBundles=[];this.aPropertyFiles=[];this.aLocales=[];var p=l(this,this.sLocale,A);if(A){this._promise=p;}};B.prototype={};B.prototype._enhance=function(C){if(C&&C instanceof B){this.aCustomBundles.push(C);}else{q.sap.log.error("Custom ResourceBundle is either undefined or not an instanceof jQuery.sap.util.ResourceBundle. Therefore this custom ResourceBundle will be ignored!");}};B.prototype.getText=function(k,A,C){var V=null,i;for(i=this.aCustomBundles.length-1;i>=0;i--){V=this.aCustomBundles[i].getText(k,A,true);if(V!=null){return V;}}for(i=0;i<this.aPropertyFiles.length;i++){V=this.aPropertyFiles[i].getProperty(k);if(typeof(V)==="string"){break;}}if(typeof(V)!=="string"){var t=this.aLocales[0];while(t.length>0){if(t=="zh_HK"){t="zh_TW";}else{var p=t.lastIndexOf('_');if(p>=0){t=t.substring(0,p);}else if(t!="en"){t="en";}else{t="";}}var P=l(this,t);if(P==null){continue;}V=P.getProperty(k);if(typeof(V)==="string"){break;}}}if(!C&&typeof(V)!=="string"){V=k;}if(typeof(V)==="string"){if(A){V=q.sap.formatMessage(V,A);}if(this.bIncludeInfo){V=new String(V);V.originInfo={source:"Resource Bundle",url:this.oUrlInfo.url,locale:this.sLocale,key:k};}}return V;};function l(o,L,A){var u=o.oUrlInfo,U,R,p,P;if(q.inArray(L,o.aLocales)==-1){if(g(L)){switch(u.ext){case'.hdbtextbundle':if(b[L]){U=u.prefix+u.suffix+'?'+(u.query?u.query+"&":"")+"sap-language="+b[L]+(u.hash?"#"+u.hash:"");}else{U=u.url;}R={url:U,headers:{"Accept-Language":e(L)||""}};break;default:R={url:u.prefix+(L?"_"+L:"")+u.suffix};break;}if(A){R.async=true;P=Promise.resolve(q.sap.properties(R));}else{p=q.sap.properties(R);}}else{p={getProperty:function(){return undefined;}};if(A){P=Promise.resolve(p);}}if(A){P.then(function(h){o.aPropertyFiles.push(h);o.aLocales.push(L);});return P;}else{o.aPropertyFiles.push(p);o.aLocales.push(L);return p;}}return A?Promise.resolve(null):null;}function g(L){var h=window.sap&&sap.ui&&sap.ui.getCore&&sap.ui.getCore().getConfiguration().getSupportedLanguages();if(h&&h.length>0){return q.inArray(L,h)>=0;}return true;}q.sap.resources=function resources(p){p=q.extend({url:"",locale:undefined,includeInfo:false},p);var A=!!p.async;var o=new B(p.url,p.locale,p.includeInfo,A);if(A){return new Promise(function(h,i){function _(){h(o);delete o._promise;}o._promise.then(_,_);});}else{return o;}};q.sap.resources.isBundle=function(o){return o&&o instanceof B;};q.sap.resources._getFallbackLocales=function(L,S){var t=n(L),h=[];function i(L){return!S||S.length===0||q.inArray(L,S)>=0;}while(t){if(i(t)){h.push(t);}if(t==="zh_HK"){t="zh_TW";}else{var p=t.lastIndexOf('_');if(p>0){t=t.slice(0,p);}else if(t!=="en"){t="en";}else{t="";}}}if(i("")){h.push("");}return h;};return q;});sap.ui.predefine('jquery.sap.script',['jquery.sap.global'],function(q){"use strict";var I=0;q.sap.uid=function uid(){return"id-"+new Date().valueOf()+"-"+I++;};q.sap.delayedCall=function delayedCall(d,o,m,p){return setTimeout(function(){if(q.type(m)=="string"){m=o[m];}m.apply(o,p||[]);},d);};q.sap.clearDelayedCall=function clearDelayedCall(d){clearTimeout(d);return this;};q.sap.intervalCall=function intervalCall(i,o,m,p){return setInterval(function(){if(q.type(m)=="string"){m=o[m];}m.apply(o,p||[]);},i);};q.sap.clearIntervalCall=function clearIntervalCall(i){clearInterval(i);return this;};var U=function(u){this.mParams={};var Q=u||window.location.href;if(Q.indexOf('#')>=0){Q=Q.slice(0,Q.indexOf('#'));}if(Q.indexOf("?")>=0){Q=Q.slice(Q.indexOf("?")+1);var p=Q.split("&"),P={},a,n,v;for(var i=0;i<p.length;i++){a=p[i].split("=");n=decodeURIComponent(a[0]);v=a.length>1?decodeURIComponent(a[1].replace(/\+/g,' ')):"";if(n){if(!Object.prototype.hasOwnProperty.call(P,n)){P[n]=[];}P[n].push(v);}}this.mParams=P;}};U.prototype={};U.prototype.get=function(n,a){var v=Object.prototype.hasOwnProperty.call(this.mParams,n)?this.mParams[n]:[];return a===true?v:(v[0]||null);};q.sap.getUriParameters=function getUriParameters(u){return new U(u);};q.sap.unique=function(a){var l=a.length;if(l>1){a.sort();var j=0;for(var i=1;i<l;i++){if(a[i]!==a[j]){a[++j]=a[i];}}if(++j<l){a.splice(j,l-j);}}return a;};q.sap.equal=function(a,b,m,c,d){if(typeof m=="boolean"){c=m;m=undefined;}if(!d){d=0;}if(!m){m=10;}if(d>m){return false;}if(a===b){return true;}if(q.isArray(a)&&q.isArray(b)){if(!c){if(a.length!=b.length){return false;}}else{if(a.length>b.length){return false;}}for(var i=0;i<a.length;i++){if(!q.sap.equal(a[i],b[i],m,c,d+1)){return false;}}return true;}if(typeof a=="object"&&typeof b=="object"){if(!a||!b){return false;}if(a.constructor!=b.constructor){return false;}if(a.nodeName&&b.nodeName&&a.namespaceURI&&b.namespaceURI){return q.sap.isEqualNode(a,b);}if(a instanceof Date){return a.valueOf()==b.valueOf();}for(var i in a){if(!q.sap.equal(a[i],b[i],m,c,d+1)){return false;}}if(!c){for(var i in b){if(a[i]===undefined){return false;}}}return true;}return false;};q.sap.each=function(o,c){var a=q.isArray(o),l,i;if(a){for(i=0,l=o.length;i<l;i++){if(c.call(o[i],i,o[i])===false){break;}}}else{for(i in o){if(c.call(o[i],i,o[i])===false){break;}}}return o;};q.sap.forIn={toString:null}.propertyIsEnumerable("toString")?function(o,c){for(var n in o){if(c(n,o[n])===false){return;}}}:(function(){var D=["toString","valueOf","toLocaleString","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=D.length,o=Object.prototype,h=o.hasOwnProperty;return function(O,c){var n,i;for(n in O){if(c(n,O[n])===false){return;}}for(var i=0;i<a;i++){n=D[i];if(h.call(O,n)||O[n]!==o[n]){if(c(n,O[n])===false){return;}}}};}());q.sap.arrayDiff=function(o,n,c,u){c=c||function(v,V){return q.sap.equal(v,V);};var O=[];var N=[];var m=[];for(var i=0;i<n.length;i++){var a=n[i];var f=0;var t;if(u&&c(o[i],a)){f=1;t=i;}else{for(var j=0;j<o.length;j++){if(c(o[j],a)){f++;t=j;if(u||f>1){break;}}}}if(f==1){var M={oldIndex:t,newIndex:i};if(m[t]){delete O[t];delete N[m[t].newIndex];}else{N[i]={data:n[i],row:t};O[t]={data:o[t],row:i};m[t]=M;}}}for(var i=0;i<n.length-1;i++){if(N[i]&&!N[i+1]&&N[i].row+1<o.length&&!O[N[i].row+1]&&c(o[N[i].row+1],n[i+1])){N[i+1]={data:n[i+1],row:N[i].row+1};O[N[i].row+1]={data:O[N[i].row+1],row:i+1};}}for(var i=n.length-1;i>0;i--){if(N[i]&&!N[i-1]&&N[i].row>0&&!O[N[i].row-1]&&c(o[N[i].row-1],n[i-1])){N[i-1]={data:n[i-1],row:N[i].row-1};O[N[i].row-1]={data:O[N[i].row-1],row:i-1};}}var d=[];if(n.length==0){for(var i=0;i<o.length;i++){d.push({index:0,type:'delete'});}}else{var b=0;if(!O[0]){for(var i=0;i<o.length&&!O[i];i++){d.push({index:0,type:'delete'});b=i+1;}}for(var i=0;i<n.length;i++){if(!N[i]||N[i].row>b){d.push({index:i,type:'insert'});}else{b=N[i].row+1;for(var j=N[i].row+1;j<o.length&&(!O[j]||O[j].row<i);j++){d.push({index:i+1,type:'delete'});b=j+1;}}}}return d;};q.sap._createJSTokenizer=function(){var a,b,e={'"':'"','\'':'\'','\\':'\\','/':'/',b:'\b',f:'\f',n:'\n',r:'\r',t:'\t'},t,d=function(m){throw{name:'SyntaxError',message:m,at:a,text:t};},n=function(c){if(c&&c!==b){d("Expected '"+c+"' instead of '"+b+"'");}b=t.charAt(a);a+=1;return b;},f=function(){var f,s='';if(b==='-'){s='-';n('-');}while(b>='0'&&b<='9'){s+=b;n();}if(b==='.'){s+='.';while(n()&&b>='0'&&b<='9'){s+=b;}}if(b==='e'||b==='E'){s+=b;n();if(b==='-'||b==='+'){s+=b;n();}while(b>='0'&&b<='9'){s+=b;n();}}f=+s;if(!isFinite(f)){d("Bad number");}else{return f;}},s=function(){var c,i,s='',k,u;if(b==='"'||b==='\''){k=b;while(n()){if(b===k){n();return s;}if(b==='\\'){n();if(b==='u'){u=0;for(i=0;i<4;i+=1){c=parseInt(n(),16);if(!isFinite(c)){break;}u=u*16+c;}s+=String.fromCharCode(u);}else if(typeof e[b]==='string'){s+=e[b];}else{break;}}else{s+=b;}}}d("Bad string");},g=function(){var g='',c=function(b){return b==="_"||(b>="0"&&b<="9")||(b>="a"&&b<="z")||(b>="A"&&b<="Z");};if(c(b)){g+=b;}else{d("Bad name");}while(n()){if(b===' '){n();return g;}if(b===':'){return g;}if(c(b)){g+=b;}else{d("Bad name");}}d("Bad name");},w=function(){while(b&&b<=' '){n();}},h=function(){switch(b){case't':n('t');n('r');n('u');n('e');return true;case'f':n('f');n('a');n('l');n('s');n('e');return false;case'n':n('n');n('u');n('l');n('l');return null;}d("Unexpected '"+b+"'");},v,j=function(){var j=[];if(b==='['){n('[');w();if(b===']'){n(']');return j;}while(b){j.push(v());w();if(b===']'){n(']');return j;}n(',');w();}}d("Bad array");},o=function(){var k,o={};if(b==='{'){n('{');w();if(b==='}'){n('}');return o;}while(b){if(b>="0"&&b<="9"){k=f();}else if(b==='"'||b==='\''){k=s();}else{k=g();}w();n(':');if(Object.hasOwnProperty.call(o,k)){d('Duplicate key "'+k+'"');}o[k]=v();w();if(b==='}'){n('}');return o;}n(',');w();}}d("Bad object");};v=function(){w();switch(b){case'{':return o();case'[':return j();case'"':case'\'':return s();case'-':return f();default:return b>='0'&&b<='9'?f():h();}};function p(c,i){var r;t=c;a=i||0;b=' ';r=v();if(isNaN(i)){w();if(b){d("Syntax error");}return r;}else{return{result:r,at:a-1};}}return{array:j,error:d,getIndex:function(){return a-1;},getCh:function(){return b;},init:function(c,i){t=c;a=i||0;b=' ';},name:g,next:n,number:f,parseJS:p,setIndex:function(i){if(i<a-1){throw new Error("Must not set index "+i+" before previous index "+(a-1));}a=i;n();},string:s,value:v,white:w,word:h};};q.sap.parseJS=q.sap._createJSTokenizer().parseJS;q.sap.extend=function(){var s,c,a,n,o,b,t=arguments[0]||{},i=1,l=arguments.length,d=false;if(typeof t==="boolean"){d=t;t=arguments[i]||{};i++;}if(typeof t!=="object"&&!q.isFunction(t)){t={};}for(;i<l;i++){o=arguments[i];for(n in o){s=t[n];a=o[n];if(t===a){continue;}if(d&&a&&(q.isPlainObject(a)||(c=q.isArray(a)))){if(c){c=false;b=s&&q.isArray(s)?s:[];}else{b=s&&q.isPlainObject(s)?s:{};}t[n]=q.sap.extend(d,b,a);}else{t[n]=a;}}}return t;};return q;});sap.ui.predefine('jquery.sap.sjax',['jquery.sap.global'],function(q){"use strict";q.sap.sjaxSettings={complexResult:true,fallback:undefined};q.sap.sjax=function sjax(o){var s=q.extend(true,{},q.sap.sjaxSettings,o,{async:false,success:function(d,t,x){r={success:true,data:d,status:t,statusCode:x&&x.status};},error:function(x,t,e){r={success:false,data:undefined,status:t,error:e,statusCode:x.status,errorResponse:x.responseText};}});var r;q.ajax(s);if(!s.complexResult){return r.success?r.data:s.fallback;}return r;};q.sap.syncHead=function(u){return q.sap.sjax({type:'HEAD',url:u}).success;};q.sap.syncGet=function syncGet(u,d,D){return q.sap.sjax({url:u,data:d,type:'GET',dataType:D||'text'});};q.sap.syncPost=function syncPost(u,d,D){return q.sap.sjax({url:u,data:d,type:'POST',dataType:D||'text'});};q.sap.syncGetText=function syncGetText(u,d,f){return q.sap.sjax({url:u,data:d,type:'GET',dataType:'text',fallback:f,complexResult:(arguments.length<3)});};q.sap.syncGetJSON=function syncGetJSON(u,d,f){return q.sap.sjax({url:u,data:d||null,type:'GET',dataType:'json',fallback:f,complexResult:(arguments.length<3)});};return q;});sap.ui.predefine('jquery.sap.strings',['jquery.sap.global'],function(q){"use strict";q.sap.endsWith=function endsWith(s,e){if(typeof(e)!="string"||e==""){return false;}var p=s.lastIndexOf(e);return p>=0&&p==s.length-e.length;};q.sap.endsWithIgnoreCase=function endsWithIgnoreCase(s,e){if(typeof(e)!="string"||e==""){return false;}s=s.toUpperCase();e=e.toUpperCase();return q.sap.endsWith(s,e);};q.sap.startsWith=function startsWith(s,S){if(typeof(S)!="string"||S==""){return false;}if(s==S){return true;}return s.indexOf(S)==0;};q.sap.startsWithIgnoreCase=function startsWithIgnoreCase(s,S){if(typeof(S)!="string"||S==""){return false;}s=s.toUpperCase();S=S.toUpperCase();return q.sap.startsWith(s,S);};q.sap.charToUpperCase=function charToUpperCase(s,p){if(!s){return s;}if(!p||isNaN(p)||p<=0||p>=s.length){p=0;}var C=s.charAt(p).toUpperCase();if(p>0){return s.substring(0,p)+C+s.substring(p+1);}return C+s.substring(p+1);};q.sap.padLeft=function padLeft(s,p,l){if(!s){s="";}while(s.length<l){s=p+s;}return s;};q.sap.padRight=function padRight(s,p,l){if(!s){s="";}while(s.length<l){s=s+p;}return s;};var r=/-(.)/ig;q.sap.camelCase=function camelCase(s){return s.replace(r,function(m,C){return C.toUpperCase();});};var a=/([A-Z])/g;q.sap.hyphen=function hyphen(s){return s.replace(a,function(m,C){return"-"+C.toLowerCase();});};var b=/[-[\]{}()*+?.,\\^$|#\s]/g;q.sap.escapeRegExp=function escapeRegExp(s){return s.replace(b,"\\$&");};q.sap.formatMessage=function formatMessage(p,v){if(arguments.length>2||(v!=null&&!q.isArray(v))){v=Array.prototype.slice.call(arguments,1);}v=v||[];return p.replace(c,function($,d,e,f,o){if(d){return"'";}else if(e){return e.replace(/''/g,"'");}else if(f){return String(v[parseInt(f,10)]);}throw new Error("formatMessage: pattern syntax error at pos. "+o);});};var c=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g;return q;});sap.ui.predefine('jquery.sap.trace',['jquery.sap.global','sap/ui/thirdparty/URI'],function(q,U){"use strict";(function(){var f=/sap-ui-xx-fesr=(true|x|X)/.test(location.search),t,I=f,x,R=v(),C=v().substr(-8,8)+R,H=new U(window.location).host(),a=sap.ui.Device.os.name+"_"+sap.ui.Device.os.version,b=sap.ui.Device.browser.name+"_"+sap.ui.Device.browser.version,e,T,F,p={component:"initial",trigger:"initial",event:"initial"},S=0,c,o,d,g;function h(){if(!x){x=true;if(!(window.performance&&window.performance.getEntries)){q.sap.log.warning("Frontend Subrecords is not supported on browsers with insufficient performance API");}var X=window.XMLHttpRequest.prototype.open,i=window.XMLHttpRequest.prototype.send,s=window.XMLHttpRequest.prototype.setRequestHeader;window.XMLHttpRequest.prototype.open=function(){X.apply(this,arguments);if(f||t){var w=new U(arguments[1]).host();if(!w||w===H){T=v();if(f){this.addEventListener("readystatechange",j);this.pendingInteraction=p;S++;if(d){this.setRequestHeader("SAP-Perf-FESRec",d);this.setRequestHeader("SAP-Perf-FESRec-opt",g);d=null;g=null;S=0;F=T;}else if(!F){F=T;}this.setRequestHeader("SAP-PASSPORT",u(e,R,T,p.component,p.trigger+"_"+p.event+"_"+S));}else if(t){this.setRequestHeader("SAP-PASSPORT",u(e,R,T));}}}};window.XMLHttpRequest.prototype.send=function(){i.apply(this,arguments);if(f&&this.pendingInteraction){this.pendingInteraction.bytesSent+=arguments[0]?arguments[0].length*2:0;}};window.XMLHttpRequest.prototype.setRequestHeader=function(w,V){s.apply(this,arguments);if(f){if(!this.requestHeaderLength){this.requestHeaderLength=0;}this.requestHeaderLength+=(w.length+V.length+3)*2;}};}}function j(){if(this.readyState===4&&this.pendingInteraction){var s=this.getResponseHeader("content-length"),i=this.getResponseHeader("content-encoding")==="gzip",w=this.getResponseHeader("sap-perf-fesrec");this.pendingInteraction.bytesReceived+=s?parseInt(s,10):0;this.pendingInteraction.bytesReceived+=this.getAllResponseHeaders().length*2;this.pendingInteraction.bytesSent+=this.requestHeaderLength;this.pendingInteraction.requestCompression=i&&(this.pendingInteraction.requestCompression!==false);this.pendingInteraction.networkTime+=w?Math.round(parseFloat(w,10)/1000):0;var y=this.getResponseHeader("sap-statistics");if(y){this.pendingInteraction.sapStatistics.push({url:this.responseURL,statistics:y});}delete this.requestHeaderLength;delete this.pendingInteraction;}}function k(i){return[m(R,32),m(F,32),m(i.navigation,16),m(i.roundtrip,16),m(i.duration,16),m(i.requests.length,8),m(C,40),m(i.networkTime,16),m(i.requestTime,16),m(a,20),"SAP_UI5"].join(",");}function l(i){return[m(i.component,20,true),m(i.trigger+"_"+p.event,20,true),"",m(b,20),m(i.bytesSent,16),m(i.bytesReceived,16),"","",m(i.processing,16),i.requestCompression?"X":"","","","","","","","","",""].join(",");}function m(i,L,s){if(!i){i=i===0?"0":"";}else if(typeof i==="number"){i=Math.round(i).toString();if(i.length>L){i="-1";}}else{i=s?i.substr(-L,L):i.substr(0,L);}return i;}q.sap.interaction={};q.sap.interaction.setActive=function(A){I=A;};q.sap.interaction.getActive=function(){return I;};q.sap.interaction.notifyStepStart=function(E,i){if(I||f){if(o||i){var s;if(i){s="startup";}else if(o.originalEvent){s=o.originalEvent.type;}else{s=o.type;}q.sap.measure.startInteraction(s,E);var w=q.sap.measure.getAllInteractionMeasurements();var y=w[w.length-1];var P=q.sap.measure.getPendingInteractionMeasurement();p=P?P:p;if(y&&y.requests.length>0){d=k(y);g=l(y);}o=null;}}};q.sap.interaction.notifyStepEnd=function(){if(I||f){if(c){q.sap.clearDelayedCall(c);}c=q.sap.delayedCall(1,q.sap.measure,"endInteraction");}};q.sap.interaction.notifyEventStart=function(E){o=I?E:null;};q.sap.interaction.notifyEventEnd=function(){if(o){if(o.type.match(/^(mousedown|touchstart|keydown)$/)){q.sap.measure.endInteraction(true);}}o=null;};q.sap.fesr={};q.sap.fesr.setActive=function(A){if(A&&!f){f=true;h();}else if(!A){f=false;}};q.sap.fesr.getCurrentTransactionId=function(){return T;};q.sap.fesr.getRootId=function(){return R;};q.sap.passport={};q.sap.passport.setActive=function(A){if(A&&!t){t=true;h();}else if(!A){t=false;}};function n(s){var w=[];for(var i=0;i<s.length;++i){w.push(s.charCodeAt(i));}return w;}function r(s){var w="";for(var i=0;i<s.length;i++){var y=s[i].toString(16);y=Array(2-y.length+1).join("0")+y;w+=y;}return w;}function u(i,s,w,y,z){var A=[0x2A,0x54,0x48,0x2A,0x03,0x01,0x30,0x00,0x00,0x53,0x41,0x50,0x5F,0x45,0x32,0x45,0x5F,0x54,0x41,0x5F,0x50,0x6C,0x75,0x67,0x49,0x6E,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x53,0x41,0x50,0x5F,0x45,0x32,0x45,0x5F,0x54,0x41,0x5F,0x55,0x73,0x65,0x72,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x53,0x41,0x50,0x5F,0x45,0x32,0x45,0x5F,0x54,0x41,0x5F,0x52,0x65,0x71,0x75,0x65,0x73,0x74,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x05,0x53,0x41,0x50,0x5F,0x45,0x32,0x45,0x5F,0x54,0x41,0x5F,0x50,0x6C,0x75,0x67,0x49,0x6E,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x34,0x36,0x33,0x35,0x30,0x30,0x30,0x30,0x30,0x30,0x33,0x31,0x31,0x45,0x45,0x30,0x41,0x35,0x44,0x32,0x35,0x30,0x39,0x39,0x39,0x43,0x33,0x39,0x32,0x42,0x36,0x38,0x20,0x20,0x20,0x00,0x07,0x46,0x35,0x00,0x00,0x00,0x31,0x1E,0xE0,0xA5,0xD2,0x4E,0xDB,0xB2,0xE4,0x4B,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0xE2,0x2A,0x54,0x48,0x2A,0x01,0x00,0x27,0x00,0x00,0x02,0x00,0x03,0x00,0x02,0x00,0x01,0x04,0x00,0x08,0x58,0x00,0x02,0x00,0x02,0x04,0x00,0x08,0x30,0x00,0x02,0x00,0x03,0x02,0x00,0x0B,0x00,0x00,0x00,0x00,0x2A,0x54,0x48,0x2A,0x01,0x00,0x23,0x01,0x00,0x01,0x00,0x01,0x00,0x02,0x00,0x01,0x03,0x00,0x17,0x00,0xAB,0xCD,0xEF,0xAB,0xCD,0xEF,0xAB,0xCD,0xEF,0xAB,0xCD,0xEF,0xAB,0xCD,0xEF,0x2A,0x54,0x48,0x2A];var B=[372,32];var D=[149,32];var E=[9,32];var P=[117,32];var G=[75,40];var J=[7,2];var K=n("SAP_E2E_TA_UI5LIB");K=K.concat(n(new Array(32+1-K.length).join(' ')));if(y){y=n(y.substr(-32,32));y=y.concat(n(new Array(32+1-y.length).join(' ')));A.splice.apply(A,E.concat(y));A.splice.apply(A,P.concat(y));}else{A.splice.apply(A,E.concat(K));A.splice.apply(A,P.concat(K));}A.splice.apply(A,D.concat(n(w)));A.splice.apply(A,J.concat(i));if(z){z=n(z.substr(-40,40));z=z.concat(n(new Array(40+1-z.length).join(' ')));A.splice.apply(A,G.concat(z));}var L=r(A).toUpperCase();return L.substring(0,B[0]).concat(s)+L.substring(B[0]+B[1]);}q.sap.passport.traceFlags=function(i){switch(i){case'low':e=[0x00,0x00];break;case'medium':e=[0x89,0x0A];break;case'high':e=[0x9F,0x0D];break;default:e=[];e.push((parseInt(i,16)&0xFF00)/256);e.push((parseInt(i,16)&0xFF));}return e;};function v(){var i=function(){var z=Math.floor(Math.random()*0x10000);return(new Array(4+1-z.toString(16).length)).join('0')+z.toString(16);};var s=function(){var z=(Math.floor(Math.random()*0x10000)&0x0fff)+0x4000;return(new Array(4+1-z.toString(16).length)).join('0')+z.toString(16);};var w=function(){var z=(Math.floor(Math.random()*0x10000)&0x3fff)+0x8000;return(new Array(4+1-z.toString(16).length)).join('0')+z.toString(16);};var y=(i()+i()+i()+s()+w()+i()+i()+i());return y.toUpperCase();}e=q.sap.passport.traceFlags();q.sap.interaction.notifyStepStart(null,true);if(f){h();}if(/sap-ui-xx-e2e-trace=(true|x|X)/.test(location.search)){q.sap.require("sap.ui.core.support.trace.E2eTraceLib");}}());return q;});sap.ui.predefine('jquery.sap.ui',['jquery.sap.global','sap/ui/Global'],function(q){"use strict";function u(i){return sap.ui.getCore().getUIArea(this.id)!=null;}function f(i,o){return sap.ui.getCore().getUIArea(this.id);}function a(c,i){return c.getUIArea().getInterface();}q.fn.root=function(r){if(r){sap.ui.getCore().setRoot(this.get(0),r);return this;}var c=this.control();if(c.length>0){return q.map(c,a);}var U=this.uiarea();if(U.length>0){return U;}this.each(function(i){sap.ui.getCore().createUIArea(this);});return this;};q.fn.uiarea=function(i){var U=this.slice("[id]").filter(u).map(f).get();return typeof(i)==="number"?U[i]:U;};function b(){if(!this||!this.nodeType||this.nodeType===9){return null;}try{var i=q(this).closest("[data-sap-ui]").attr("id");return i?sap.ui.getCore().byId(i):null;}catch(e){return null;}}q.fn.control=function(i){var c=this.map(b);if(i===undefined||isNaN(i)){return c.get();}else{return c.get(i);}};q.fn.sapui=function(c,i,C){return this.each(function(){var o=null;if(this){if(c.indexOf(".")==-1){c="sap.ui.commons."+c;}var d=q.sap.getObject(c);if(d){if(typeof C=='object'&&typeof C.press=='function'){C.press=q.proxy(C.press,this);}o=new(d)(i,C);o.placeAt(this);}}});};return q;});sap.ui.predefine('sap/ui/Global',['jquery.sap.global','jquery.sap.trace','jquery.sap.dom'],function(q){"use strict";if(window.OpenAjax&&window.OpenAjax.hub){OpenAjax.hub.registerLibrary("sap","http://www.sap.com/","0.1",{});}if(typeof window.sap!=="object"&&typeof window.sap!=="function"){window.sap={};}if(typeof window.sap.ui!=="object"){window.sap.ui={};}sap.ui=q.extend(sap.ui,{version:"1.32.10",buildinfo:{lastchange:"",buildtime:"20160118-1545"}});var v=null;sap.ui.getVersionInfo=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 sap.ui.getVersionInfo(o);});}var h=function(V){v=null;if(V===null){return undefined;}sap.ui.versioninfo=V;return sap.ui.getVersionInfo(o);};var H=function(e){v=null;throw e;};var r=q.sap.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 L=sap.ui.versioninfo.libraries;if(L){for(var i=0,l=L.length;i<l;i++){if(L[i].name===o.library){R=L[i];break;}}}}else{R=sap.ui.versioninfo;}return o.async?Promise.resolve(R):R;}};sap.ui.namespace=function(n){return q.sap.getObject(n,0);};sap.ui.lazyRequire=function(c,m,M){var f=c.replace(/\//gi,"\."),l=f.lastIndexOf("."),p=f.substr(0,l),C=f.substr(l+1),P=q.sap.getObject(p,0),o=P[C],a=(m||"new").split(" "),b=q.inArray("new",a);M=M||f;if(!o){if(b>=0){o=function(){q.sap.log.debug("lazy stub for '"+f+"' (constructor) called.");q.sap.require(M);var r=P[C];if(r._sapUiLazyLoader){throw new Error("lazyRequire: stub '"+f+"'has not been replaced by module '"+M+"'");}var i=q.sap.newObject(r.prototype);var R=r.apply(i,arguments);if(R&&(typeof R==="function"||typeof R==="object")){i=R;}return i;};o._sapUiLazyLoader=true;a.splice(b,1);}else{o={};}P[C]=o;}q.each(a,function(i,s){if(!o[s]){o[s]=function(){q.sap.log.debug("lazy stub for '"+f+"."+s+"' called.");q.sap.require(M);var r=P[C];if(r[s]._sapUiLazyLoader){throw new Error("lazyRequire: stub '"+f+"."+s+"' has not been replaced by loaded module '"+M+"'");}return r[s].apply(r,arguments);};o[s]._sapUiLazyLoader=true;}});};sap.ui.resource=function(l,r){var m=r.match(/^themes\/([^\/]+)\//);if(m){l+=".themes."+m[1];r=r.substr(m[0].length);}return q.sap.getModulePath(l,'/')+r;};sap.ui.localResources=function(n){q.sap.registerModulePath(n,"./"+n.replace(/\./g,"/"));};return sap.ui;},true);sap.ui.predefine('sap/ui/base/BindingParser',['jquery.sap.global','./ExpressionParser','sap/ui/model/BindingMode','jquery.sap.script'],function(q,E,B){"use strict";var a={_keepBindingStrings:false};var r=/^\{\s*[a-zA-Z_][a-zA-Z0-9_]*\s*:/;var b=/(\\[\\\{\}])|(\{)/g;var c=/([\\\{\}])/g;function d(F,R){function e(){var i,n=F.length,k=new Array(n);for(i=0;i<n;i+=1){k[i]=F[i].apply(this,arguments);}if(R){return R.apply(this,k);}return n>1?k.join(" "):k[0];}e.textFragments=R&&R.textFragments||"sap.ui.base.BindingParser: composeFormatters";return e;}function f(F){var e=function(){var R=[],l=F.length,i;for(i=0;i<l;i++){if(typeof F[i]==="number"){R.push(arguments[F[i]]);}else{R.push(F[i]);}}return R.join('');};e.textFragments=F;return e;}function g(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 h(o,s){try{a.mergeParts(o);}catch(e){q.sap.log.error("Cannot merge parts: "+e.message,s,"sap.ui.base.BindingParser");}}function j(e,i,s){var p=q.sap.parseJS,P,k;function l(o,u){if(typeof o[u]==="string"){var v,N=o[u];if(q.sap.startsWith(o[u],".")){v=q.sap.getObject(o[u].slice(1),undefined,e.oContext);o[u]=e.bStaticContext?v:q.proxy(v,e.oContext);}else{o[u]=q.sap.getObject(o[u]);}if(typeof(o[u])!=="function"){if(e.bTolerateFunctionsNotFound){e.aFunctionsNotFound=e.aFunctionsNotFound||[];e.aFunctionsNotFound.push(N);}else{q.sap.log.error(u+" function "+N+" not found!");}}}}function m(o,u){var F;if(typeof o[u]==="string"){if(q.sap.startsWith(o[u],".")){F=q.sap.getObject(o[u].slice(1),undefined,e.oContext);}else{F=q.sap.getObject(o[u]);}if(typeof F==="function"){o[u]=new F(o.formatOptions,o.constraints);}else{o[u]=F;}delete o.formatOptions;delete o.constraints;}}function n(o,u){if(!(q.isPlainObject(o[u]))){return;}q.each(o[u],function(N,O){l(o[u],N);});}function t(o,u,v){var F;if(!(typeof o[u]==="object"||q.isArray(o[u]))){return;}if(q.isArray(o[u])){q.each(o[u],function(I,O){t(o[u],I,u);});}else{if(u==="filters"||v==="filters"){F=q.sap.getObject("sap.ui.model.Filter");}else if(u==="sorter"||v==="sorter"){F=q.sap.getObject("sap.ui.model.Sorter");l(o[u],"group");}if(F){o[u]=new F(o[u]);}}}if(r.test(i.slice(s))){P=p(i,s);m(P.result,'type');t(P.result,'filters');t(P.result,'sorter');n(P.result,'events');l(P.result,'formatter');l(P.result,'factory');l(P.result,'groupHeaderFactory');return P;}k=i.indexOf('}',s);if(k<s){throw new SyntaxError("no closing braces found in '"+i+"' after pos:"+s);}return{result:g(i.slice(s+1,k)),at:k+1};}a.simpleParser=function(s,C){if(q.sap.startsWith(s,"{")&&q.sap.endsWith(s,"}")){return g(s.slice(1,-1));}};a.simpleParser.escape=function(v){return v;};a.complexParser=function(s,C,u,t,S){var o={parts:[]},M=false,e={oContext:C,aFunctionsNotFound:undefined,bStaticContext:S,bTolerateFunctionsNotFound:t},F=[],U,p=0,m,i;function k(I,l,n){var v=E.parse(j.bind(null,e),s,l);if(I.charAt(v.at)!=="}"){throw new SyntaxError("Expected '}' and instead saw '"+I.charAt(v.at)+"' in expression binding "+I+" at position "+v.at);}v.at+=1;if(v.result){v.result.parts.forEach(function(P){P.mode=n;});}else{F[F.length-1]=String(v.constant);U=true;}return v;}b.lastIndex=0;while((m=b.exec(s))!==null){if(p<m.index){F.push(s.slice(p,m.index));}if(m[1]){F.push(m[1].slice(1));U=true;}else{F.push(o.parts.length);if(s.indexOf(":=",m.index)===m.index+1){i=k(s,m.index+3,B.OneTime);}else if(s.charAt(m.index+1)==="="){i=k(s,m.index+2,B.OneWay);}else{i=j(e,s,m.index);}if(i.result){o.parts.push(i.result);M=M||"parts"in i.result;}b.lastIndex=i.at;}p=b.lastIndex;}if(p<s.length){F.push(s.slice(p));}if(o.parts.length>0){if(F.length===1){o=o.parts[0];}else{o.formatter=f(F);if(M){h(o,s);}}if(a._keepBindingStrings){o.bindingString=s;}if(e.aFunctionsNotFound){o.functionsNotFound=e.aFunctionsNotFound;}return o;}else if(u&&U){return F.join('');}};a.complexParser.escape=function(v){return v.replace(c,"\\$1");};a.mergeParts=function(o){var F=[],p=[];o.parts.forEach(function(e){var i,k=function(){return e;},n,s=p.length;function l(){return arguments[s];}if(e&&typeof e==="object"){if(e.parts){for(n in e){if(n!=="formatter"&&n!=="parts"){throw new Error("Unsupported property: "+n);}}p=p.concat(e.parts);i=p.length;if(e.formatter){k=function(){return e.formatter.apply(this,Array.prototype.slice.call(arguments,s,i));};}else if(i-s>1){k=function(){return Array.prototype.slice.call(arguments,s,i).join(" ");};}else{k=l;}}else if(e.path){p.push(e);k=l;}}F.push(k);});o.parts=p;o.formatter=d(F,o.formatter);};a.parseExpression=function(i,s){return E.parse(j.bind(null,{}),i,s);};return a;},true);sap.ui.predefine('sap/ui/base/DataType',['jquery.sap.global'],function(q){"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 undefined;};D.prototype.parseValue=function(v){var t=this.getName();if(t=="string"){return v;}else if(t=="boolean"){return v=="true";}else if(t=="int"){return parseInt(v,10);}else if(t=="float"){return parseFloat(v);}else if(t=="object"){return v?q.parseJSON(v):null;}else{return v;}};D.prototype.isValid=undefined;D.prototype.setNormalizer=function(n){this._fnNormalizer=n;};D.prototype.normalize=function(v){if(typeof this._fnNormalizer==="function"){return this._fnNormalizer(v);}else{return v;}};(function(){function c(n,s,B){s=s||{};var o=B||D.prototype;var T=q.sap.newObject(o);T.getName=function(){return n;};if(s.hasOwnProperty("defaultValue")){var d=s.defaultValue;T.getDefaultValue=function(){return d;};}if(s.hasOwnProperty("isValid")){var i=s.isValid;T.isValid=o.isValid?function(v){if(!o.isValid(v)){return false;}return i(v);}:i;}T.isArrayType=function(){return false;};T.getBaseType=function(){return B;};return T;}function a(d){var T=q.sap.newObject(D.prototype);T.getName=function(){return d.getName()+"[]";};T.getComponentType=function(){return d;};T.isValid=function(v){if(v===null){return true;}if(q.isArray(v)){for(var i=0;i<v.length;i++){if(!d.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]=d.parseValue(V[i]);}return V;};T.isArrayType=function(){return true;};T.getBaseType=function(){return h.array;};return T;}function b(T,e){var V={},d;for(var n in e){var s=e[n];if(!d){d=s;}if(typeof s!=="string"){throw new Error("Value "+s+" for enum type "+T+" is not a string");}if(!V.hasOwnProperty(s)||n==s){V[s]=n;}}var o=q.sap.newObject(D.prototype);o.getName=function(){return T;};o.isValid=function(v){return typeof v==="string"&&V.hasOwnProperty(v);};o.parseValue=function(s){return e[s];};o.getDefaultValue=function(){return d;};o.getBaseType=function(){return t.string;};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";}}),"int":c("int",{defaultValue:0,isValid:function(v){return typeof v==="number"&&Math.floor(v)==v;}}),"float":c("float",{defaultValue:0.0,isValid:function(v){return typeof v==="number";}}),"string":c("string",{defaultValue:"",isValid:function(v){return typeof v==="string"||v instanceof String;}}),"object":c("object",{defaultValue:null,isValid:function(v){return typeof v==="object"||typeof v==="function";}})};var h={"array":c("array",{defaultValue:[],isValid:function(v){return q.isArray(v);}})};D.getType=function(T){var o=t[T];if(!o){if(T.indexOf("[]")>0){var C=T.slice(0,-2),d=this.getType(C);o=d&&a(d);if(o){t[T]=o;}return o;}else{o=q.sap.getObject(T);if(o instanceof D){t[T]=o;}else if(q.isPlainObject(o)){o=t[T]=b(T,o);}}}return o;};D.createType=c;var I={};D.registerInterfaceTypes=function(T){for(var i=0;i<T.length;i++){q.sap.setObject(T[i],I[T[i]]=new String(T[i]));}};D.isInterfaceType=function(T){return I.hasOwnProperty(T)&&q.sap.getObject(T)===I[T];};}());return D;},true);sap.ui.predefine('sap/ui/base/Event',['jquery.sap.global','./Object'],function(q,B){"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){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){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',['jquery.sap.global','./Event','./Object','./ObjectPool'],function(q,E,B,O){"use strict";var a=B.extend("sap.ui.base.EventProvider",{constructor:function(){B.call(this);this.mEventRegistry={};}});a.M_EVENTS={EventHandlerChange:"EventHandlerChange"};a.prototype.oEventPool=new O(E);a.prototype.attachEvent=function(e,d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}if(!this.mEventRegistry[e]){this.mEventRegistry[e]=[];}this.mEventRegistry[e].push({oListener:l,fFunction:f,oData:d});this.fireEvent(a.M_EVENTS.EventHandlerChange,{EventId:e,type:'listenerAttached'});return this;};a.prototype.attachEventOnce=function(e,d,f,l){if(typeof(d)==="function"){l=f;f=d;d=undefined;}function o(){this.detachEvent(e,o);f.apply(l||this,arguments);}this.attachEvent(e,d,o,undefined);return this;};a.prototype.detachEvent=function(e,f,l){var b=this.mEventRegistry[e];if(!b){return this;}var L=false;for(var i=0,c=b.length;i<c;i++){if(b[i].fFunction===f&&b[i].oListener===l){b.splice(i,1);L=true;break;}}if(b.length==0){delete this.mEventRegistry[e];}if(L){this.fireEvent(a.M_EVENTS.EventHandlerChange,{EventId:e,type:'listenerDetached'});}return this;};a.prototype.fireEvent=function(e,p,A,b){if(typeof p=="boolean"){b=A;A=p;}var c=this.mEventRegistry[e],P=false,o,d,I;if(b||(c&&q.isArray(c))){c=c?c.slice():[];o=this.oEventPool.borrowObject(e,this,p);for(var i=0,l=c.length;i<l;i++){I=c[i];I.fFunction.call(I.oListener||this,o,I.oData);}if(b){d=this.getEventingParent();while(d&&!o.bCancelBubble){c=d.mEventRegistry[e];if(c&&c instanceof Array){c=c.slice();for(var i=0,l=c.length;i<l;i++){I=c[i];I.fFunction.call(I.oListener||d,o,I.oData);}}d=d.getEventingParent();}}P=o.bPreventDefault;this.oEventPool.returnObject(o);}if(A){return!P;}else{return this;}};a.prototype.hasListeners=function(e){return!!this.mEventRegistry[e];};a.getEventList=function(e){return e.mEventRegistry;};a.prototype.getEventingParent=function(){return null;};a.prototype.toString=function(){if(this.getMetadata){return"EventProvider "+this.getMetadata().getName();}else{return"EventProvider";}};a.prototype.destroy=function(){this.mEventRegistry={};B.prototype.destroy.apply(this,arguments);};return a;});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/ExpressionParser',['jquery.sap.global','sap/ui/thirdparty/URI','jquery.sap.strings'],function(q,U){"use strict";
  //License granted by Douglas Crockford to SAP, Apache License 2.0
  //    (http://www.apache.org/licenses/LICENSE-2.0)
  var u=f.bind(null,undefined),d={"Array":Array,"Boolean":Boolean,"Date":Date,"encodeURIComponent":encodeURIComponent,"Infinity":Infinity,"isFinite":isFinite,"isNaN":isNaN,"JSON":JSON,"Math":Math,"NaN":NaN,"Number":Number,"Object":Object,"odata":{"compare":function(){var O;q.sap.require("sap.ui.model.odata.ODataUtils");O=sap.ui.require("sap/ui/model/odata/ODataUtils");return O.compare.apply(O,arguments);},"fillUriTemplate":function(){if(!U.expand){q.sap.require("sap.ui.thirdparty.URITemplate");}return U.expand.apply(U,arguments).toString();},"uriEncode":function(){var O;q.sap.require("sap.ui.model.odata.ODataUtils");O=sap.ui.require("sap/ui/model/odata/ODataUtils");return O.formatValue.apply(O,arguments);}},"parseFloat":parseFloat,"parseInt":parseInt,"RegExp":RegExp,"String":String,"undefined":undefined},r=/\d/,a=/[a-z]\w*/i,b=/[a-z]/i,s={"BINDING":{led:k,nud:function(T,o){return B.bind(null,T.value);}},"IDENTIFIER":{led:k,nud:function(T,o){if(!(T.value in o.globals)){q.sap.log.warning("Unsupported global identifier '"+T.value+"' in expression parser input '"+o.input+"'",undefined,"sap.ui.base.ExpressionParser");}return f.bind(null,o.globals[T.value]);}},"CONSTANT":{led:k,nud:function(T,o){return f.bind(null,T.value);}},".":{lbp:18,led:function(T,o,L){return D.bind(null,L,o.advance("IDENTIFIER").value);},nud:k},"(":{lbp:17,led:function(T,o,L){var e=[],i=true;while(o.current().id!==")"){if(i){i=false;}else{o.advance(",");}e.push(o.expression(0));}o.advance(")");return F.bind(null,L,e);},nud:function(T,o){var v=o.expression(0);o.advance(")");return v;}},"[":{lbp:18,led:function(T,o,L){var n=o.expression(0);o.advance("]");return P.bind(null,L,n);},nud:function(T,o){var e=[],i=true;while(o.current().id!=="]"){if(i){i=false;}else{o.advance(",");}e.push(o.current().id===","?u:o.expression(0));}o.advance("]");return A.bind(null,e);}},"!":{lbp:15,led:k,nud:function(T,o){return g.bind(null,o.expression(this.lbp),function(x){return!x;});}},"typeof":{lbp:15,led:k,nud:function(T,o){return g.bind(null,o.expression(this.lbp),function(x){return typeof x;});}},"?":{lbp:4,led:function(T,o,L){var e,i;i=o.expression(this.lbp-1);o.advance(":");e=o.expression(this.lbp-1);return C.bind(null,L,i,e);},nud:k},")":{led:k,nud:k},"]":{led:k,nud:k},"{":{led:k,nud:function(T,o){var e=true,K,i={},v;while(o.current().id!=="}"){if(e){e=false;}else{o.advance(",");}if(o.current()&&o.current().id==="CONSTANT"&&typeof o.current().value==="string"){K=o.advance().value;}else{K=o.advance("IDENTIFIER").value;}o.advance(":");v=o.expression(0);i[K]=v;}o.advance("}");return M.bind(null,i);}},"}":{lbp:-1,led:k,nud:k},",":{led:k,nud:k},":":{led:k,nud:k}},t=["===","!==","!","||","&&",".","(",")","{","}",":",",","?","*","/","%","+","-","<=","<",">=",">","[","]"],c;t.forEach(function(T,i){t[i]=q.sap.escapeRegExp(T);});c=new RegExp(t.join("|"),"g");h("*",14,function(x,y){return x*y;});h("/",14,function(x,y){return x/y;});h("%",14,function(x,y){return x%y;});h("+",13,function(x,y){return x+y;}).nud=function(T,o){return g.bind(null,o.expression(this.lbp),function(x){return+x;});};h("-",13,function(x,y){return x-y;}).nud=function(T,o){return g.bind(null,o.expression(this.lbp),function(x){return-x;});};h("<=",11,function(x,y){return x<=y;});h("<",11,function(x,y){return x<y;});h(">=",11,function(x,y){return x>=y;});h(">",11,function(x,y){return x>y;});h("in",11,function(x,y){return x in y;});h("===",10,function(x,y){return x===y;});h("!==",10,function(x,y){return x!==y;});h("&&",7,function(x,y){return x&&y();},true);h("||",6,function(x,y){return x||y();},true);function A(e,n){var R=[];e.forEach(function(o,i){R[i]=o(n);});return R;}function B(i,e){return e[i];}function C(e,T,E,i){return e(i)?T(i):E(i);}function f(v){return v;}function D(L,i,e){var o=L(e),v=o[i];return typeof v==="function"?v.bind(o):v;}function F(L,e,n){var R=[];e.forEach(function(o,i){R[i]=o(n);});return L(n).apply(null,R);}function I(L,R,o,e,i){return o(L(i),e?R.bind(null,i):R(i));}function M(e,i){var K,R={};for(K in e){R[K]=e[K](i);}return R;}function P(L,n,e){return L(e)[n(e)];}function g(R,o,e){return o(R(e));}function h(i,e,o,L){s[i]={lbp:e,led:function(T,n,v){var w=L?this.lbp-1:this.lbp;return I.bind(null,v,n.expression(w),o,L);},nud:k};return s[i];}function j(e,i,n){var E=new SyntaxError(e);E.at=n;E.text=i;if(n!==undefined){e+=" at position "+n;}q.sap.log.error(e,i,"sap.ui.base.ExpressionParser");throw E;}function k(T){var e=T.input.slice(T.start,T.end);j("Unexpected "+T.id+(e!==T.id?": "+e:""),T.input,T.start+1);}function l(R,i,S){var n=[],t=[],T=q.sap._createJSTokenizer();function o(){var v,w,x,y,z;T.white();v=T.getCh();x=T.getIndex();if(b.test(v)){y=a.exec(i.slice(x));switch(y[0]){case"false":case"null":case"true":z={id:"CONSTANT",value:T.word()};break;case"in":case"typeof":z={id:y[0]};T.setIndex(x+y[0].length);break;default:z={id:"IDENTIFIER",value:y[0]};T.setIndex(x+y[0].length);}}else if(r.test(v)||v==="."&&r.test(i.charAt(T.getIndex()+1))){z={id:"CONSTANT",value:T.number()};}else if(v==="'"||v==='"'){z={id:"CONSTANT",value:T.string()};}else if(v==="$"){T.next("$");T.next("{");w=R(i,T.getIndex()-1);z={id:"BINDING",value:n.length};n.push(w.result);T.setIndex(w.at);}else{c.lastIndex=x;y=c.exec(i);if(!y||y.index!==x){return false;}z={id:y[0]};T.setIndex(x+y[0].length);}z.input=i;z.start=x;z.end=T.getIndex();t.push(z);return true;}T.init(i,S);try{while(o()){}}catch(e){if(e.name==="SyntaxError"){j(e.message,e.text,e.at);}else{throw e;}}return{at:T.getIndex(),parts:n,tokens:t};}function m(e,i){return function(){try{return e.apply(this,arguments);}catch(n){q.sap.log.warning(String(n),i,"sap.ui.base.ExpressionParser");}};}function p(t,i,G){var e,n=0,o={advance:v,current:w,expression:x,globals:G,input:i},T;function v(E){var T=t[n];if(E){if(!T){j("Expected "+E+" but instead saw end of input",i);}else if(T.id!==E){j("Expected "+E+" but instead saw "+i.slice(T.start,T.end),i,T.start+1);}}n+=1;return T;}function w(){return t[n];}function x(y){var L;T=v();if(!T){j("Expected expression but instead saw end of input",i);}L=s[T.id].nud(T,o);while(n<t.length){T=w();if(y>=(s[T.id].lbp||0)){break;}v();L=s[T.id].led(T,o,L);}return L;}e=x(0);return{at:w()?w().start:undefined,formatter:m(e,i)};}return{parse:function(R,i,S,G){var o,T;T=l(R,i,S);o=p(T.tokens,i,G||d);if(!T.parts.length){return{constant:o.formatter(),at:o.at||T.at};}function e(){return o.formatter(arguments);}e.textFragments=true;return{result:{formatter:e,parts:T.parts},at:o.at||T.at};}};},true);
  /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  sap.ui.predefine('sap/ui/base/Interface',['jquery.sap.global'],function(q){"use strict";var I=function(o,m){if(!o){return o;}function c(o,M){return function(){var t=o[M].apply(o,arguments);return(t instanceof sap.ui.base.Object)?t.getInterface():t;};}if(!m){return{};}var M;for(var i=0,a=m.length;i<a;i++){M=m[i];this[M]=c(o,M);}};return I;},true);sap.ui.predefine('sap/ui/base/ManagedObject',['jquery.sap.global','./BindingParser','./DataType','./EventProvider','./ManagedObjectMetadata','../model/BindingMode','../model/CompositeBinding','../model/Context','../model/FormatException','../model/ListBinding','../model/Model','../model/ParseException','../model/TreeBinding','../model/Type','../model/ValidateException','jquery.sap.act','jquery.sap.script','jquery.sap.strings'],function(q,B,D,E,M,b,C,c,F,L,d,P,T,f,V){"use strict";var g=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'}}}},specialSettings:{id:true,models:true,bindingContexts:true,objectBindings:true,Type:true}},constructor:function(i,s,S){E.call(this);if(typeof(i)!="string"&&arguments.length>0){S=s;s=i;if(s&&s.id){i=s["id"];}else{i=null;}}if(!i){i=this.getMetadata().uid()||q.sap.uid();}else{var p=g._fnIdPreprocessor;i=(p?p.call(this,i):i);var t=D.getType("sap.ui.core.ID");if(!t.isValid(i)){throw new Error("\""+i+"\" is not a valid ID.");}}this.sId=i;this.mProperties=this.getMetadata().createPropertyBag();this.mAggregations={};this.mAssociations={};this.mMethods={};this.oParent=null;this.aDelegates=[];this.aBeforeDelegates=[];this.iSuppressInvalidate=0;this.oPropagatedProperties={oModels:{},oBindingContexts:{}};this.mSkipPropagation={};this.oModels={};this.oBindingContexts={};this.mElementBindingContexts={};this.mBindingInfos={};this.sBindingPath=null;this.mBindingParameters=null;this.mBoundObjects={};this._sOwnerId=g._sOwnerId;try{if(this.register){this.register();}if(this._initCompositeSupport){this._initCompositeSupport(s);}if(this.init){this.init();}this.applySettings(s,S);}catch(e){if(this.deregister){this.deregister();}throw e;}}},M);g.create=function(v,k){if(!v||v instanceof g||typeof v!=="object"||v instanceof String){return v;}function a(t){if(typeof t==="function"){return t;}if(typeof t==="string"){return q.sap.getObject(t);}}var e=a(v.Type)||a(k&&k.type);if(typeof e==="function"){return new e(v);}var m="Don't know how to create a ManagedObject from "+v+" ("+(typeof v)+")";q.sap.log.fatal(m);throw new Error(m);};g._fnIdPreprocessor=null;g._fnSettingsPreprocessor=null;g.runWithPreprocessors=function(a,p){var o={id:this._fnIdPreprocessor,settings:this._fnSettingsPreprocessor};p=p||{};this._fnIdPreprocessor=p.id;this._fnSettingsPreprocessor=p.settings;try{var r=a.call();this._fnIdPreprocessor=o.id;this._fnSettingsPreprocessor=o.settings;return r;}catch(e){this._fnIdPreprocessor=o.id;this._fnSettingsPreprocessor=o.settings;throw e;}};g.prototype.applySettings=function(s,S){if(!s||q.isEmptyObject(s)){return this;}var t=this,m=this.getMetadata(),v=m.getJSONKeys(),a=g.create,p=g._fnSettingsPreprocessor,k,o,K;function e(O){for(var i=0,n=O.length;i<n;i++){var r=O[i];if(q.isArray(r)){e(r);}else{t[K._sMutator](a(r,K));}}}p&&p.call(this,s);if(s.models){if(typeof s.models!=="object"){throw new Error("models must be a simple object");}if(s.models instanceof d){this.setModel(s.models);}else{for(k in s.models){this.setModel(s.models[k],k==="undefined"?undefined:k);}}delete s.models;}if(s.bindingContexts){if(typeof s.bindingContexts!=="object"){throw new Error("bindingContexts must be a simple object");}if(s.bindingContexts instanceof c){this.setBindingContext(s.bindingContexts);}else{for(k in s.bindingContexts){this.setBindingContext(s.bindingContexts[k],k==="undefined"?undefined:k);}}delete s.bindingContexts;}if(s.objectBindings){if(typeof s.objectBindings!=="string"&&typeof s.objectBindings!=="object"){throw new Error("binding must be a string or simple object");}if(typeof s.objectBindings==="string"||s.objectBindings.path){this.bindObject(s.objectBindings);}else{for(var k in s.objectBindings){s.objectBindings.model=k;this.bindObject(s.objectBindings[k]);}}delete s.objectBindings;}for(k in s){o=s[k];if((K=v[k])!==undefined){var j;switch(K._iKind){case 0:j=this.extractBindingInfo(o,S);if(j&&typeof j==="object"){this.bindProperty(k,j);}else{this[K._sMutator](j||o);}break;case 1:j=K.altTypes&&this.extractBindingInfo(o,S);if(j&&typeof j==="object"){this.bindProperty(k,j);}else{if(q.isArray(o)){if(o.length>1){q.sap.log.error("Tried to add an array of controls to a single aggregation");}o=o[0];}this[K._sMutator](a(j||o,K));}break;case 2:j=this.extractBindingInfo(o,S);if(j&&typeof j==="object"){this.bindAggregation(k,j);}else{o=j||o;if(o){e(q.isArray(o)?o:[o]);}}break;case 3:this[K._sMutator](o);break;case 4:if(o&&!q.isArray(o)){o=[o];}if(o){for(var i=0,l=o.length;i<l;i++){this[K._sMutator](o[i]);}}break;case 5:if(typeof o=="function"){this[K._sMutator](o);}else{this[K._sMutator](o[0],o[1],o[2]);}break;case-1:default:break;}}else{}}return this;};g.prototype.toString=function(){return"ManagedObject "+this.getMetadata().getName()+"#"+this.getId();};g.prototype.getId=function(){return this.sId;};g.prototype.setProperty=function(p,v,s){var o=this.mProperties[p];v=this.validateProperty(p,v);if(q.sap.equal(o,v)){return this;}if(s){q.sap.act.refresh();this.iSuppressInvalidate++;}this.mProperties[p]=v;if(!this.isInvalidateSuppressed()){this.invalidate();}this.updateModelProperty(p,v,o);E.prototype.fireEvent.call(this,"_change",{"id":this.getId(),"name":p,"oldValue":o,"newValue":v});if(s){this.iSuppressInvalidate--;}return this;};g.prototype.getProperty=function(p){var v=this.mProperties[p],o=this.getMetadata().getProperty(p),t;if(!o){throw new Error("Property \""+p+"\" does not exist in "+this);}t=D.getType(o.type);if(t instanceof D&&t.isArrayType()&&q.isArray(v)){v=v.slice(0);}if(v instanceof String){v=v.valueOf();}return v;};g.prototype.validateProperty=function(p,v){var o=this.getMetadata().getProperty(p),t;if(!o){throw new Error("Property \""+p+"\" does not exist in "+this);}t=D.getType(o.type);if(t instanceof D&&t.isArrayType()&&q.isArray(v)){v=v.slice(0);}if(v===null||v===undefined){if(o.defaultValue!==null){v=o.defaultValue;}else{v=t.getDefaultValue();}}else if(t instanceof D){if(t.getName()=="string"){if(!(typeof v=="string"||v instanceof String)){v=""+v;}}else if(t.getName()=="string[]"){if(typeof v=="string"){v=[v];}if(!q.isArray(v)){throw new Error("\""+v+"\" is of type "+typeof v+", expected string[]"+" for property \""+p+"\" of "+this);}for(var i=0;i<v.length;i++){if(!typeof v[i]=="string"){v[i]=""+v[i];}}}else if(!t.isValid(v)){throw new Error("\""+v+"\" is of type "+typeof v+", expected "+t.getName()+" for property \""+p+"\" of "+this);}}if(t&&t.normalize&&typeof t.normalize==="function"){v=t.normalize(v);}return v;};g.prototype.getOriginInfo=function(p){var v=this.mProperties[p];if(!(v instanceof String&&v.originInfo)){return null;}return v.originInfo;};g.prototype.setAssociation=function(a,i,s){if(i instanceof g){i=i.getId();}else if(i!=null&&typeof i!=="string"){return this;}if(this.mAssociations[a]===i){return this;}if(s){this.iSuppressInvalidate++;}this.mAssociations[a]=i;if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}return this;};g.prototype.getAssociation=function(a,o){var r=this.mAssociations[a];if(!r){r=this.mAssociations[a]=o||null;}else{if(typeof r.length==='number'&&!(r.propertyIsEnumerable('length'))){return r.slice();}return r;}return r;};g.prototype.addAssociation=function(a,i,s){if(i instanceof g){i=i.getId();}else if(typeof i!=="string"){return this;}if(s){this.iSuppressInvalidate++;}var I=this.mAssociations[a];if(!I){I=this.mAssociations[a]=[i];}else{I.push(i);}if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}return this;};g.prototype.removeAssociation=function(a,o,s){var I=this.mAssociations[a];var e=null;if(!I){return null;}if(s){this.iSuppressInvalidate++;}if(typeof(o)=="object"&&o.getId){o=o.getId();}if(typeof(o)=="string"){for(var i=0;i<I.length;i++){if(I[i]==o){o=i;break;}}}if(typeof(o)=="number"){if(o<0||o>=I.length){q.sap.log.warning("ManagedObject.removeAssociation called with invalid index: "+a+", "+o);}else{e=I[o];I.splice(o,1);if(!this.isInvalidateSuppressed()){this.invalidate();}}}if(s){this.iSuppressInvalidate--;}return e;};g.prototype.removeAllAssociation=function(a,s){var i=this.mAssociations[a];if(!i){return[];}if(s){this.iSuppressInvalidate++;}delete this.mAssociations[a];if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}return i;};g.prototype.validateAggregation=function(a,o,m){var e=this.getMetadata(),A=e.getManagedAggregation(a),j,t,i,k;if(!A){throw new Error("Aggregation \""+a+"\" does not exist in "+this);}if(A.multiple!==m){throw new Error("Aggregation '"+a+"' of "+this+" used with wrong cardinality (declared as "+(A.multiple?"0..n":"0..1")+")");}if(!A.multiple&&!o){return o;}t=q.sap.getObject(A.type);if(typeof t==="function"&&o instanceof t){return o;}if(o&&o.getMetadata&&o.getMetadata().isInstanceOf(A.type)){return o;}j=A.altTypes;if(j&&j.length){if(o==null){return o;}for(i=0;i<j.length;i++){t=D.getType(j[i]);if(t instanceof D){if(t.isValid(o)){return o;}}}}k="\""+o+"\" is not valid for aggregation \""+a+"\" of "+this;if(D.isInterfaceType(A.type)){return o;}else{throw new Error(k);}};g.prototype.setAggregation=function(a,o,s){var O=this.mAggregations[a];if(O===o){return this;}o=this.validateAggregation(a,o,false);if(s){this.iSuppressInvalidate++;}if(O instanceof g){O.setParent(null);}this.mAggregations[a]=o;if(o instanceof g){o.setParent(this,a,s);}else{if(!this.isInvalidateSuppressed()){this.invalidate();}}if(s){this.iSuppressInvalidate--;}return this;};g.prototype.getAggregation=function(a,o){var e=this.mAggregations[a];if(!e){e=this.mAggregations[a]=o||null;}if(e){if(typeof e.length==='number'&&!(e.propertyIsEnumerable('length'))){return e.slice();}return e;}else{return null;}};g.prototype.indexOfAggregation=function(a,o){var e=this.mAggregations[a];if(e){if(e.length==undefined){return-2;}for(var i=0;i<e.length;i++){if(e[i]==o){return i;}}}return-1;};g.prototype.insertAggregation=function(a,o,I,s){if(!o){return this;}o=this.validateAggregation(a,o,true);var e=this.mAggregations[a]||(this.mAggregations[a]=[]);var i;if(I<0){i=0;}else if(I>e.length){i=e.length;}else{i=I;}if(i!==I){q.sap.log.warning("ManagedObject.insertAggregation: index '"+I+"' out of range [0,"+e.length+"], forced to "+i);}e.splice(i,0,o);o.setParent(this,a,s);return this;};g.prototype.addAggregation=function(a,o,s){if(!o){return this;}o=this.validateAggregation(a,o,true);var e=this.mAggregations[a];if(!e){e=this.mAggregations[a]=[o];}else{e.push(o);}o.setParent(this,a,s);return this;};g.prototype.removeAggregation=function(a,o,s){var e=this.mAggregations[a],j=null,i;if(!e){return null;}if(s){this.iSuppressInvalidate++;}if(typeof(o)=="string"){for(i=0;i<e.length;i++){if(e[i]&&e[i].getId()===o){o=i;break;}}}if(typeof(o)=="object"){for(i=0;i<e.length;i++){if(e[i]==o){o=i;break;}}}if(typeof(o)=="number"){if(o<0||o>=e.length){q.sap.log.warning("ManagedObject.removeAggregation called with invalid index: "+a+", "+o);}else{j=e[o];e.splice(o,1);j.setParent(null);if(!this.isInvalidateSuppressed()){this.invalidate();}}}if(s){this.iSuppressInvalidate--;}return j;};g.prototype.removeAllAggregation=function(a,s){var e=this.mAggregations[a];if(!e){return[];}if(s){this.iSuppressInvalidate++;}delete this.mAggregations[a];for(var i=0;i<e.length;i++){e[i].setParent(null);}if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}return e;};g.prototype.destroyAggregation=function(a,s){var e=this.mAggregations[a],i,j;if(!e){return this;}if(s){this.iSuppressInvalidate++;}delete this.mAggregations[a];if(e instanceof g){e.destroy(s);}else if(q.isArray(e)){for(i=e.length-1;i>=0;i--){j=e[i];if(j){j.destroy(s);}}}if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}return this;};g.prototype.invalidate=function(){if(this.oParent){this.oParent.invalidate(this);}};g.prototype.isInvalidateSuppressed=function(){var i=this.iSuppressInvalidate>0;if(this.oParent&&this.oParent instanceof g){i=i||this.oParent.isInvalidateSuppressed();}return i;};g.prototype._removeChild=function(o,a,s){if(!a){q.sap.log.error("Cannot remove aggregated child without aggregation name.",null,this);}else{if(s){this.iSuppressInvalidate++;}var i=this.indexOfAggregation(a,o);var A=this.getMetadata().getAggregation(a);if(i==-2){if(A&&this[A._sMutator]){this[A._sMutator](null);}else{this.setAggregation(a,null,s);}}else if(i>-1){if(A&&this[A._sRemoveMutator]){this[A._sRemoveMutator](i);}else{this.removeAggregation(a,i,s);}}if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}}};g.prototype.setParent=function(p,a,s){if(!p){this.oParent=null;this.sParentAggregationName=null;this.oPropagatedProperties={oModels:{},oBindingContexts:{}};q.sap.act.refresh();return;}if(s){q.sap.act.refresh();this.iSuppressInvalidate++;}var o=this.getParent();if(o){o._removeChild(this,this.sParentAggregationName);}this.oParent=p;this.sParentAggregationName=a;this.oPropagatedProperties=p._getPropertiesToPropagate();if(this.hasModel()){this.updateBindingContext(false,true,undefined,true);this.updateBindings(true,null);this.propagateProperties(true);}if(p&&!this.isInvalidateSuppressed()){p.invalidate(this);}if(s){this.iSuppressInvalidate--;}return this;};g.prototype.getParent=function(){return this.oParent;};g.prototype.destroy=function(s){var t=this;if(s){this.iSuppressInvalidate++;}if(this.exit){this.exit();}if(this._exitCompositeSupport){this._exitCompositeSupport();}for(var a in this.mAggregations){this.destroyAggregation(a,s);}if(this.deregister){this.deregister();}if(this.oParent&&this.sParentAggregationName){this.oParent._removeChild(this,this.sParentAggregationName,s);}delete this.oParent;q.each(this.mBindingInfos,function(n,o){if(o.factory){t.unbindAggregation(n,true);}else{t.unbindProperty(n,true);}});q.each(this.mBoundObjects,function(n,o){t.unbindObject(n,true);});if(s){this.iSuppressInvalidate--;}sap.ui.getCore().getMessageManager().removeMessages(this._aMessages);this._aMessages=undefined;E.prototype.destroy.apply(this,arguments);this.setParent=function(){throw Error("The object with ID "+t.getId()+" was destroyed and cannot be used anymore.");};this.bIsDestroyed=true;};g.bindingParser=B.simpleParser;g.prototype.isBinding=function(v,k){return typeof this.extractBindingInfo(v)==="object";};g.prototype.extractBindingInfo=function(v,s){if(v&&typeof v==="object"){if(v.ui5object){delete v.ui5object;}else if(v.path!=undefined||v.parts){if(v.template){v.template=g.create(v.template);}return v;}}if(typeof v==="string"){return g.bindingParser(v,s,true);}};g.prototype.getBindingInfo=function(n){return this.mBindingInfos[n];};g.prototype.bindObject=function(p,m){var a={},s,S;if(typeof p=="object"){var o=p;p=o.path;m=o.parameters;s=o.model;a.events=o.events;}S=p.indexOf(">");a.sBindingPath=p;a.mBindingParameters=m;if(S>0){s=p.substr(0,S);a.sBindingPath=p.substr(S+1);}if(this.mBoundObjects[s]){this.unbindObject(s,true);}this.mBoundObjects[s]=a;if(this.getModel(s)){this._bindObject(s,a);}return this;};g.prototype._bindObject=function(m,o){var a,e,i,t=this;var j=function(k){if(a.getBoundContext()===t.getBindingContext(m)){t.setElementBindingContext(null,m);}t.setElementBindingContext(a.getBoundContext(),m);};i=this.getModel(m);e=this.getBindingContext(m);a=i.bindContext(o.sBindingPath,e,o.mBindingParameters);a.attachChange(j);o.binding=a;o.fChangeHandler=j;a.attachEvents(o.events);a.initialize();};g.prototype.bindContext=function(p){return this.bindObject(p);};g.prototype.unbindContext=function(m){return this.unbindObject(m);};g.prototype.unbindObject=function(m,_){var o=this.mBoundObjects[m];if(o){if(o.binding){o.binding.detachChange(o.fChangeHandler);o.binding.detachEvents(o.events);o.binding.destroy();}delete this.mBoundObjects[m];delete this.mElementBindingContexts[m];if(!_){this.updateBindingContext(false,false,m);}}return this;};g.prototype.bindProperty=function(n,o){var p,a,m,e,t,s,A=true,j=this,k=this.getMetadata().getPropertyLikeSetting(n);if(!k){throw new Error("Property \""+n+"\" does not exist in "+this);}if(typeof o=="string"){p=arguments[1];a=arguments[2];m=arguments[3];if(typeof a=="function"){e=a;}else if(a instanceof f){t=a;}o={formatter:e,parts:[{path:p,type:t,mode:m}]};}if(!o.parts){o.parts=[];o.parts[0]={path:o.path,type:o.type,formatOptions:o.formatOptions,constraints:o.constraints,model:o.model,mode:o.mode};delete o.path;delete o.mode;delete o.model;}q.each(o.parts,function(i,l){if(typeof l=="string"){l={path:l};o.parts[i]=l;}s=l.path.indexOf(">");if(s>0){l.model=l.path.substr(0,s);l.path=l.path.substr(s+1);}if(o.formatter&&l.mode!=b.OneWay&&l.mode!=b.OneTime){l.mode=b.OneWay;}if(!j.getModel(l.model)){A=false;}});if(this.isBound(n)){this.unbindProperty(n,true);}this.mBindingInfos[n]=o;if(A){this._bindProperty(n,o);}return this;};g.prototype._bindProperty=function(n,o){var m,a,e,s,j=b.TwoWay,t,k,p=this.getMetadata().getPropertyLikeSetting(n),I=p._iKind===0?p.type:p.altTypes[0],l=this,r=[],u=function(i){l.updateProperty(n);var w=e.getDataState();if(w){var x=w.getControlMessages();if(x&&x.length>0){var y=sap.ui.getCore().getMessageManager();w.setControlMessages([]);if(x){y.removeMessages(x);}}w.setInvalidValue(null);}if(e.getBindingMode()===b.OneTime){e.detachChange(u);e.detachEvents(o.events);e.destroy();}},v=function(){var i=e.getDataState();if(!i){return;}if(l.refreshDataState){l.refreshDataState(n,i);}};a=this.getBindingContext(o.model);q.each(o.parts,function(i,w){a=l.getBindingContext(w.model);m=l.getModel(w.model);t=w.type;if(typeof t=="string"){k=q.sap.getObject(t);t=new k(w.formatOptions,w.constraints);}e=m.bindProperty(w.path,a,o.parameters);e.setType(t,I);e.setFormatter(w.formatter);s=w.mode||m.getDefaultBindingMode();e.setBindingMode(s);if(s!=b.TwoWay){j=b.OneWay;}r.push(e);});if(r.length>1||(o.formatter&&o.formatter.textFragments)){t=o.type;if(typeof t=="string"){k=q.sap.getObject(t);t=new k(o.formatOptions,o.constraints);}e=new C(r,o.useRawValues);e.setType(t,I);e.setBindingMode(o.mode||j);}else{e=r[0];}e.attachChange(u);if(this.refreshDataState){e.attachAggregatedDataStateChange(v);}e.setFormatter(q.proxy(o.formatter,this));o.binding=e;o.modelChangeHandler=u;o.dataStateChangeHandler=v;e.attachEvents(o.events);e.initialize();};g.prototype.unbindProperty=function(n,s){var o=this.mBindingInfos[n],p=this.getMetadata().getPropertyLikeSetting(n);if(o){if(o.binding){o.binding.detachChange(o.modelChangeHandler);if(this.refreshDataState){o.binding.detachAggregatedDataStateChange(o.dataStateChangeHandler);}o.binding.detachEvents(o.events);o.binding.destroy();}delete this.mBindingInfos[n];if(!s){this[p._sMutator](null);}}return this;};g.prototype.updateProperty=function(n){var o=this.mBindingInfos[n],a=o.binding,p=this.getMetadata().getPropertyLikeSetting(n);if(o.skipPropertyUpdate){return;}try{var v=a.getExternalValue();o.skipModelUpdate=true;this[p._sMutator](v);o.skipModelUpdate=false;}catch(e){o.skipModelUpdate=false;if(e instanceof F){this.fireFormatError({element:this,property:n,type:a.getType(),newValue:a.getValue(),oldValue:this[p._sGetter](),exception:e,message:e.message},false,true);o.skipModelUpdate=true;this[p._sMutator](null);o.skipModelUpdate=false;}else{throw e;}}};g.prototype.updateModelProperty=function(n,v,o){if(this.isBound(n)){var a=this.mBindingInfos[n],e=a.binding;if(a.skipModelUpdate){return;}if(e&&e.getBindingMode()==b.TwoWay){try{a.skipPropertyUpdate=true;e.setExternalValue(v);a.skipPropertyUpdate=false;var i=e.getExternalValue();if(v!=i){this.updateProperty(n);}if(e.hasValidation()){this.fireValidationSuccess({element:this,property:n,type:e.getType(),newValue:v,oldValue:o},false,true);}}catch(j){a.skipPropertyUpdate=false;if(j instanceof P){this.fireParseError({element:this,property:n,type:e.getType(),newValue:v,oldValue:o,exception:j,message:j.message},false,true);}else if(j instanceof V){this.fireValidationError({element:this,property:n,type:e.getType(),newValue:v,oldValue:o,exception:j,message:j.message},false,true);}else{throw j;}}}}};var h=1;g.prototype.bindAggregation=function(n,o){var p,t,s,a,m=this.getMetadata(),A=m.getAggregation(n);if(!A){throw new Error("Aggregation \""+n+"\" does not exist in "+this);}if(!A.multiple){q.sap.log.error("Binding of single aggregation \""+n+"\" of "+this+" is not supported!");}if(typeof o=="string"){p=arguments[1];t=arguments[2];s=arguments[3];a=arguments[4];o={path:p,sorter:s,filters:a};if(t instanceof g){o.template=t;}else if(typeof t==="function"){o.factory=t;}}if(this.isBound(n)){this.unbindAggregation(n);}if(!(o.template||o.factory)){if(A._doesNotRequireFactory){o.factory=function(){throw new Error("dummy factory called unexpectedly ");};}else{throw new Error("Missing template or factory function for aggregation "+n+" of "+this+" !");}}if(o.template){if(o.template._sapui_candidateForDestroy){q.sap.log.warning("A template was reused in a binding, but was already marked as candidate for destroy. You better should declare such a usage with templateShareable:true in the binding configuration.");delete o.template._sapui_candidateForDestroy;}if(o.templateShareable===undefined){o.templateShareable=h;}o.factory=function(i){return o.template.clone(i);};}var S=o.path.indexOf(">");if(S>0){o.model=o.path.substr(0,S);o.path=o.path.substr(S+1);}this.mBindingInfos[n]=o;if(this.getModel(o.model)){this._bindAggregation(n,o);}return this;};g.prototype._bindAggregation=function(n,o){var t=this,a,m=function(j){var u="update"+n.substr(0,1).toUpperCase()+n.substr(1);if(t[u]){var s=j&&j.getParameter("reason");if(s){t[u](s);}else{t[u]();}}else{t.updateAggregation(n);}},e=function(j){var r="refresh"+n.substr(0,1).toUpperCase()+n.substr(1);if(t[r]){t[r](j.getParameter("reason"));}else{m(j);}};var i=this.getModel(o.model);if(this.isTreeBinding(n)){a=i.bindTree(o.path,this.getBindingContext(o.model),o.filters,o.parameters,o.sorter);}else{a=i.bindList(o.path,this.getBindingContext(o.model),o.sorter,o.filters,o.parameters);}if(this.bUseExtendedChangeDetection===true){a.enableExtendedChangeDetection();}o.binding=a;o.modelChangeHandler=m;o.modelRefreshHandler=e;a.attachChange(m);a.attachRefresh(e);a.attachEvents(o.events);a.initialize();};g.prototype.unbindAggregation=function(n,s){var o=this.mBindingInfos[n],a=this.getMetadata().getAggregation(n);if(o){if(o.binding){o.binding.detachChange(o.modelChangeHandler);o.binding.detachRefresh(o.modelRefreshHandler);o.binding.detachEvents(o.events);o.binding.destroy();}if(o.template){if(!o.templateShareable&&o.template.destroy){o.template.destroy();}if(o.templateShareable===h){o.template._sapui_candidateForDestroy=true;}}delete this.mBindingInfos[n];if(!s){this[a._sDestructor]();}}return this;};g.prototype.updateAggregation=function(n){var o=this.mBindingInfos[n],a=o.binding,e=o.factory,A=this.getMetadata().getAggregation(n),G,j,k,s=A._sMutator+"Group",t=this;function u(p,k,r,v){var w=p[A._sGetter]()||[],x,y;if(w.length>k.length){for(var i=k.length;i<w.length;i++){p[A._sRemoveMutator](w[i]);w[i].destroy();}}for(var i=0;i<k.length;i++){x=k[i];y=w[i];if(r){r(x);}if(y){y.setBindingContext(x,o.model);}else{var I=p.getId()+"-"+i;y=e(I,x);y.setBindingContext(x,o.model);p[A._sMutator](y);}if(v){v(x,y);}}}function l(i){var N=a.getGroup(i);if(N.key!==G){var p;if(o.groupHeaderFactory){p=o.groupHeaderFactory(N);}t[s](N,p);G=N.key;}}function m(i,p){u(i,p,null,function(r,v){m(v,a.getNodeContexts(r));});}if(!o.template){this[A._sDestructor]();}if(a instanceof L){j=a.isGrouped()&&s;if(j||a.bWasGrouped){this[A._sDestructor]();}a.bWasGrouped=j;k=a.getContexts(o.startIndex,o.length);u(this,k,j?l:null);}else if(a instanceof T){m(this,a.getRootContexts());}};g.prototype.refreshAggregation=function(n){var o=this.mBindingInfos[n],a=o.binding;a.getContexts(o.startIndex,o.length);};g.prototype.propagateMessages=function(n,m){q.sap.log.warning("Message for "+this+", Property "+n);};g.prototype.isTreeBinding=function(n){return false;};g.prototype.updateBindings=function(u,m){var t=this;function a(o){var p=o.parts,i;if(p&&p.length>1){for(i=0;i<p.length;i++){if((u||p[i].model==m)&&!o.binding.aBindings[i].updateRequired(t.getModel(p[i].model))){return true;}}}else if(o.factory){return(u||o.model==m)&&!o.binding.updateRequired(t.getModel(o.model));}else{return(u||p[0].model==m)&&!o.binding.updateRequired(t.getModel(p[0].model));}return false;}function e(o){var p=o.parts,i;if(p){for(i=0;i<p.length;i++){if(!t.getModel(p[i].model)){return false;}}return true;}else if(o.factory){return!!t.getModel(o.model);}return false;}q.each(this.mBindingInfos,function(n,o){if(o.binding&&a(o)){o.binding.detachChange(o.modelChangeHandler);if(o.modelRefreshHandler){o.binding.detachRefresh(o.modelRefreshHandler);}o.binding.detachEvents(o.events);o.binding.destroy();delete o.binding;}if(!o.binding&&e(o)){if(o.factory){t._bindAggregation(n,o);}else{t._bindProperty(n,o);}}});};g.prototype.isBound=function(n){return(n in this.mBindingInfos);};g.prototype.getObjectBinding=function(m){return this.mBoundObjects[m]&&this.mBoundObjects[m].binding;};g.prototype.getEventingParent=function(){return this.oParent;};g.prototype.getBinding=function(n){return this.mBindingInfos[n]&&this.mBindingInfos[n].binding;};g.prototype.getBindingPath=function(n){var i=this.mBindingInfos[n];return i&&(i.path||(i.parts&&i.parts[0]&&i.parts[0].path));};g.prototype.setBindingContext=function(o,m){var O=this.oBindingContexts[m];if(O!==o){this.oBindingContexts[m]=o;this.updateBindingContext(false,true,m);this.propagateProperties(m);}return this;};g.prototype.setElementBindingContext=function(o,m){var O=this.mElementBindingContexts[m];if(O!==o){this.mElementBindingContexts[m]=o;this.updateBindingContext(true,true,m);this.propagateProperties(m);}return this;};g.prototype.updateBindingContext=function(s,S,a,u){var m,o={},e,j,k,t=this;if(u){for(e in this.oModels){if(this.oModels.hasOwnProperty(e)){o[e]=e;}}for(e in this.oPropagatedProperties.oModels){if(this.oPropagatedProperties.oModels.hasOwnProperty(e)){o[e]=e;}}}else{o[a]=a;}for(e in o){if(o.hasOwnProperty(e)){e=e==="undefined"?undefined:e;m=this.getModel(e);k=this.mBoundObjects[e];if(m&&k&&k.sBindingPath&&!s){if(!k.binding){this._bindObject(e,k);}else{j=this._getBindingContext(e);if(j!==k.binding.getContext()){k.binding.setContext(j);}}continue;}q.each(this.mBindingInfos,function(n,l){var p=l.binding;var r=l.parts,i;if(!p){return;}if(r&&r.length>1){for(i=0;i<r.length;i++){if(r[i].model==e){p.aBindings[i].setContext(t.getBindingContext(r[i].model));}}}else if(l.factory){if(l.model==e){p.setContext(t.getBindingContext(l.model));}}else{if(r[0].model==e){p.setContext(t.getBindingContext(r[0].model));}}});if(!S){var j=this.getBindingContext(e);for(var n in this.mAggregations){var A=this.mAggregations[n];if(A instanceof g){A.oPropagatedProperties.oBindingContexts[e]=j;A.updateBindingContext(false,false,e);}else if(A instanceof Array){for(var i=0;i<A.length;i++){A[i].oPropagatedProperties.oBindingContexts[e]=j;A[i].updateBindingContext(false,false,e);}}}}}}};g.prototype.getBindingContext=function(m){if(this.mElementBindingContexts[m]){return this.mElementBindingContexts[m];}return this._getBindingContext(m);};g.prototype._getBindingContext=function(m){var o=this.getModel(m);if(this.oBindingContexts[m]){return this.oBindingContexts[m];}else if(o&&this.oParent&&this.oParent.getModel(m)&&o!=this.oParent.getModel(m)){return undefined;}else{return this.oPropagatedProperties.oBindingContexts[m];}};g.prototype.setModel=function(m,n){if(!m&&this.oModels[n]){delete this.oModels[n];this.propagateProperties(n);this.updateBindings(false,n);}else if(m&&m!==this.oModels[n]){this.oModels[n]=m;this.propagateProperties(n);this.updateBindingContext(false,true,n);this.updateBindings(false,n);}return this;};g.prototype.propagateProperties=function(n){var p=this._getPropertiesToPropagate(),u=n===true,N=u?undefined:n,a,A,i;for(a in this.mAggregations){if(this.mSkipPropagation[a]){continue;}A=this.mAggregations[a];if(A instanceof g){this._propagateProperties(n,A,p,u,N);}else if(A instanceof Array){for(i=0;i<A.length;i++){if(A[i]instanceof g){this._propagateProperties(n,A[i],p,u,N);}}}}};g.prototype._propagateProperties=function(n,o,p,u,N){if(!p){p=this._getPropertiesToPropagate();u=n===true;N=u?undefined:n;}o.oPropagatedProperties=p;o.updateBindings(u,N);o.updateBindingContext(false,true,N,u);o.propagateProperties(n);};g.prototype._getPropertiesToPropagate=function(){var n=q.isEmptyObject(this.oModels),N=q.isEmptyObject(this.oBindingContexts),a=q.isEmptyObject(this.mElementBindingContexts);function m(e,o,i,j){return e?o:q.extend({},o,i,j);}if(N&&n&&a){return this.oPropagatedProperties;}else{return{oModels:m(n,this.oPropagatedProperties.oModels,this.oModels),oBindingContexts:m((N&&a),this.oPropagatedProperties.oBindingContexts,this.oBindingContexts,this.mElementBindingContexts)};}};g.prototype.getModel=function(n){return this.oModels[n]||this.oPropagatedProperties.oModels[n];};g.prototype.hasModel=function(){return!(q.isEmptyObject(this.oModels)&&q.isEmptyObject(this.oPropagatedProperties.oModels));};g.prototype.clone=function(I,l,o){var a=true,e=true;if(o){a=!!o.cloneChildren;e=!!o.cloneBindings;}if(!I){I=M.uid("clone")||q.sap.uid();}if(!l&&a){l=q.map(this.findAggregatedObjects(true),function(O){return O.getId();});}var m=this.getMetadata(),j=m._oClass,s=this.getId()+"-"+I,S={},p=this.mProperties,k,n,r,t=g.bindingParser.escape;for(k in p){if(p.hasOwnProperty(k)&&!(this.isBound(k)&&e)){if(typeof p[k]==="string"){S[k]=t(p[k]);}else{S[k]=p[k];}}}S["models"]=this.oModels;S["bindingContexts"]=this.oBindingContexts;if(a){for(n in this.mAggregations){var A=this.mAggregations[n];if(m.hasAggregation(n)&&!(this.isBound(n)&&e)){if(A instanceof g){S[n]=A.clone(I,l);}else if(q.isArray(A)){S[n]=[];for(var i=0;i<A.length;i++){S[n].push(A[i].clone(I,l));}}else{S[n]=A;}}}for(n in this.mAssociations){var u=this.mAssociations[n];if(q.isArray(u)){u=u.slice(0);for(var i=0;i<u.length;i++){if(q.inArray(u[i],l)>=0){u[i]+="-"+I;}}}else if(q.inArray(u,l)>=0){u+="-"+I;}S[n]=u;}}r=new j(s,S);for(n in this.mBoundObjects){r.mBoundObjects[n]=q.extend({},this.mBoundObjects[n]);}for(n in this.mEventRegistry){r.mEventRegistry[n]=this.mEventRegistry[n].slice();}if(e){for(n in this.mBindingInfos){var v=this.mBindingInfos[n];var w=q.extend({},v);if(!v.templateShareable&&v.template&&v.template.clone){w.template=v.template.clone(I,l);delete w.factory;}else if(v.templateShareable===h){v.templateShareable=w.templateShareable=true;q.sap.log.error("A shared template must be marked with templateShareable:true in the binding info");}delete w.binding;if(v.factory||v.template){r.bindAggregation(n,w);}else{r.bindProperty(n,w);}}}return r;};g._handleLocalizationChange=function(p){var i;if(p===1){q.each(this.oModels,function(n,m){if(m&&m._handleLocalizationChange){m._handleLocalizationChange();}});}else if(p===2){q.each(this.mBindingInfos,function(n,o){var a=o.parts;if(a){for(i=0;i<a.length;i++){if(o.type&&o.type._handleLocalizationChange){o.type._handleLocalizationChange();}}if(o.modelChangeHandler){o.modelChangeHandler();}}});}};g.prototype.findAggregatedObjects=function(r,e){var A=[];if(e&&!typeof e==="function"){e=null;}function j(o){for(var n in o.mAggregations){var a=o.mAggregations[n];if(q.isArray(a)){for(var i=0;i<a.length;i++){if(!e||e(a[i])){A.push(a[i]);}if(r){j(a[i]);}}}else if(a instanceof g){if(!e||e(a)){A.push(a);}if(r){j(a);}}}}j(this);return A;};return g;});sap.ui.predefine('sap/ui/base/ManagedObjectMetadata',['jquery.sap.global','./DataType','./Metadata'],function(q,D,M){"use strict";var b=function(C,o){M.apply(this,arguments);};b.prototype=q.sap.newObject(M.prototype);var h=Object.prototype.hasOwnProperty;function c(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 g(n){return n.replace(r,function($,p){var R=S[p.toLowerCase()];return typeof R==="string"?R:p.slice(0,R);});}function e(f,n){return function(){q.sap.log.warning("Usage of deprecated feature: "+n);return f.apply(this,arguments);};}function j(o,i){var a=null;for(var n in i){if(h.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};b._guessSingularName=g;function k(C,n,i){i=typeof i!=='object'?{type:i}:i;this.name=n;this.type=i.type||'any';this._oParent=C;this._sUID="special:"+n;this._iKind=K.SPECIAL_SETTING;}function P(C,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='public';this.appData=j(this,i);this._oParent=C;this._sUID=n;this._iKind=K.PROPERTY;var N=c(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.get=function(t){return t[this._sGetter]();};P.prototype.set=function(t,v){return t[this._sMutator](v);};function A(C,n,i){i=typeof i!=='object'?{type:i}:i;this.name=n;this.type=i.type||'sap.ui.core.Control';this.altTypes=i.altTypes||undefined;this.multiple=typeof i.multiple==='boolean'?i.multiple:true;this.singularName=this.multiple?i.singularName||g(n):undefined;this.bindable=!!i.bindable;this.deprecated=i.deprecated||false;this.visibility=i.visibility||'public';this._doesNotRequireFactory=!!i._doesNotRequireFactory;this.appData=j(this,i);this._oParent=C;this._sUID='aggregation:'+n;this._iKind=this.multiple?K.MULTIPLE_AGGREGATION:K.SINGLE_AGGREGATION;var N=c(n);this._sGetter='get'+N;if(this.multiple){var a=c(this.singularName);this._sMutator='add'+a;this._sInsertMutator='insert'+a;this._sRemoveMutator='remove'+a;this._sRemoveAllMutator='removeAll'+N;this._sIndexGetter='indexOf'+a;}else{this._sMutator='set'+N;this._sInsertMutator=this._sRemoveMutator=this._sRemoveAllMutator=this._sIndexGetter=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(t){return t[this._sGetter]();};A.prototype.set=function(t,v){return t[this._sMutator](v);};A.prototype.add=function(t,v){return t[this._sMutator](v);};A.prototype.insert=function(t,v,p){return t[this._sInsertMutator](v,p);};A.prototype.remove=function(t,v){return t[this._sRemoveMutator](v);};A.prototype.removeAll=function(t){return t[this._sRemoveAllMutator]();};A.prototype.indexOf=function(t,v){return t[this._sIndexGetter](v);};function l(C,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||g(n):undefined;this.deprecated=i.deprecated||false;this.visibility='public';this.appData=j(this,i);this._oParent=C;this._sUID='association:'+n;this._iKind=this.multiple?K.MULTIPLE_ASSOCIATION:K.SINGLE_ASSOCIATION;var N=c(n);this._sGetter='get'+N;if(this.multiple){var a=c(this.singularName);this._sMutator='add'+a;this._sRemoveMutator='remove'+a;this._sRemoveAllMutator='removeAll'+a;}else{this._sMutator='set'+N;this._sRemoveMutator=this._sRemoveAllMutator=undefined;}}l.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);});}};l.prototype.getType=function(){return this._oType||(this._oType=D.getType(this.type));};l.prototype.get=function(t){return t[this._sGetter]();};l.prototype.set=function(t,v){return t[this._sMutator](v);};l.prototype.remove=function(t,v){return t[this._sRemoveMutator](v);};l.prototype.removeAll=function(t){return t[this._sRemoveAllMutator]();};function E(C,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=j(this,i);this._oParent=C;this._sUID='event:'+n;this._iKind=K.EVENT;var N=c(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(t,d,f,a){return t[this._sMutator](d,f,a);};E.prototype.detach=function(t,f,a){return t[this._sDetachMutator](f,a);};E.prototype.fire=function(t,p,a,d){return t[this._sTrigger](p,a,d);};b.prototype.metaFactorySpecialSetting=k;b.prototype.metaFactoryProperty=P;b.prototype.metaFactoryAggregation=A;b.prototype.metaFactoryAssociation=l;b.prototype.metaFactoryEvent=E;b.prototype.applySettings=function(C){var t=this,s=C.metadata;M.prototype.applySettings.call(this,C);function n(I,F){var R={},N;if(I){for(N in I){if(h.call(I,N)){R[N]=new F(t,N,I[N]);}}}return R;}function f(I,p){var R={},N;for(N in I){if(p===(I[N].visibility==='public')){R[N]=I[N];}}return R;}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);this._mProperties=n(s.properties,this.metaFactoryProperty);var i=n(s.aggregations,this.metaFactoryAggregation);this._mAggregations=f(i,true);this._mPrivateAggregations=f(i,false);this._sDefaultAggregation=s.defaultAggregation||null;this._mAssociations=n(s.associations,this.metaFactoryAssociation);this._mEvents=n(s.events,this.metaFactoryEvent);if(C.metadata.__version>1.0){this.generateAccessors();}};b.prototype.afterApplySettings=function(){M.prototype.afterApplySettings.call(this);var p=this.getParent();if(p&&p instanceof b){this._mAllEvents=q.extend({},p._mAllEvents,this._mEvents);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._mAllAssociations=q.extend({},p._mAllAssociations,this._mAssociations);this._sDefaultAggregation=this._sDefaultAggregation||p._sDefaultAggregation;this._mAllSpecialSettings=q.extend({},p._mAllSpecialSettings,this._mSpecialSettings);}else{this._mAllEvents=this._mEvents;this._mAllProperties=this._mProperties;this._mAllPrivateAggregations=this._mPrivateAggregations;this._mAllAggregations=this._mAggregations;this._mAllAssociations=this._mAssociations;this._mAllSpecialSettings=this._mSpecialSettings;}};b.Kind=K;b.prototype.getLibraryName=function(){return this._sLibraryName;};b.prototype.addProperty=function(n,i){var p=this._mProperties[n]=new P(this,n,i);if(!this._mAllProperties[n]){this._mAllProperties[n]=p;}};b.prototype.hasProperty=function(n){return!!this._mAllProperties[n];};b.prototype.getProperty=function(n){var p=this._mAllProperties[n];return typeof p==='object'?p:undefined;};b.prototype.getProperties=function(){return this._mProperties;};b.prototype.getAllProperties=function(){return this._mAllProperties;};b.prototype.hasAggregation=function(n){return!!this._mAllAggregations[n];};b.prototype.getAggregation=function(n){n=n||this._sDefaultAggregation;var a=n?this._mAllAggregations[n]:undefined;return typeof a==='object'?a:undefined;};b.prototype.getAggregations=function(){return this._mAggregations;};b.prototype.getAllAggregations=function(){return this._mAllAggregations;};b.prototype.getAllPrivateAggregations=function(){return this._mAllPrivateAggregations;};b.prototype.getManagedAggregation=function(a){a=a||this._sDefaultAggregation;var o=a?this._mAllAggregations[a]||this._mAllPrivateAggregations[a]:undefined;return typeof o==='object'?o:undefined;};b.prototype.getDefaultAggregationName=function(){return this._sDefaultAggregation;};b.prototype.getDefaultAggregation=function(){return this.getAggregation();};b.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;};b.prototype.hasAssociation=function(n){return!!this._mAllAssociations[n];};b.prototype.getAssociation=function(n){var a=this._mAllAssociations[n];return typeof a==='object'?a:undefined;};b.prototype.getAssociations=function(){return this._mAssociations;};b.prototype.getAllAssociations=function(){return this._mAllAssociations;};b.prototype.hasEvent=function(n){return!!this._mAllEvents[n];};b.prototype.getEvent=function(n){var o=this._mAllEvents[n];return typeof o==='object'?o:undefined;};b.prototype.getEvents=function(){return this._mEvents;};b.prototype.getAllEvents=function(){return this._mAllEvents;};b.prototype.hasSpecialSetting=function(n){return!!this._mAllSpecialSettings[n];};b.prototype.getPropertyDefaults=function(){var d=this._mDefaults,t;if(d){return d;}if(this.getParent()instanceof b){d=q.sap.newObject(this.getParent().getPropertyDefaults());}else{d={};}for(var s in this._mProperties){if(this._mProperties[s].defaultValue!==null){d[s]=this._mProperties[s].defaultValue;}else{t=D.getType(this._mProperties[s].type);if(t instanceof D){d[s]=t.getDefaultValue();}}}this._mDefaults=d;return d;};b.prototype.createPropertyBag=function(){if(!this._fnPropertyBagFactory){this._fnPropertyBagFactory=q.sap.factory(this.getPropertyDefaults());}return new(this._fnPropertyBagFactory)();};b.prototype._enrichChildInfos=function(){q.sap.log.error("obsolete call to ManagedObjectMetadata._enrichChildInfos. This private method will be deleted soon");};b.prototype.getJSONKeys=function(){if(this._mJSONKeys){return this._mJSONKeys;}var a={},J={};function d(m){var n,i,p;for(n in m){i=m[n];p=a[n];if(!p||i._iKind<p._iKind){a[n]=J[n]=i;}J[i._sUID]=i;}}d(this._mAllSpecialSettings);d(this.getAllProperties());d(this.getAllAggregations());d(this.getAllAssociations());d(this.getAllEvents());this._mJSONKeys=J;this._mAllSettings=a;return this._mJSONKeys;};b.prototype.getAllSettings=function(){if(!this._mAllSettings){this.getJSONKeys();}return this._mAllSettings;};b.prototype.removeUnknownSettings=function(s){if(s==null){return s;}var v=this.getJSONKeys(),R={},n;for(n in s){if(h.call(v,n)){R[n]=s[n];}}return R;};b.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)?e(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);}};var u={};function w(i){i=sap.ui.getCore().getConfiguration().getUIDPrefix()+i;u[i]=u[i]||0;return(i+u[i]++);}b.uid=w;b.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 w(i);};b.isGeneratedId=function(i){var p=q.sap.escapeRegExp(sap.ui.getCore().getConfiguration().getUIDPrefix());var a=new RegExp("(^|-{1,3})"+p);return a.test(i);};return b;},true);sap.ui.predefine('sap/ui/base/Metadata',['jquery.sap.global','jquery.sap.script'],function(q){"use strict";var M=function(c,C){if(!C||typeof C.metadata!=="object"){C={metadata:C||{},constructor:q.sap.getObject(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=q.sap.getObject(s.baseType);if(typeof P!=="function"){q.sap.log.fatal("base class '"+s.baseType+"' does not exist");}if(P.getMetadata){this._oParent=P.getMetadata();}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;q.sap.forIn(c,function(n,v){if(n!=="metadata"&&n!=="constructor"){p[n]=v;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){q.sap.unique(this._aInterfaces);q.sap.unique(this._aPublicMethods);q.sap.unique(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;};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;}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;if(b){if(!f){if(C.metadata.deprecated){f=function(){q.sap.log.warning("Usage of deprecated class: "+c);b.apply(this,arguments);};}else{f=function(){b.apply(this,arguments);};}}f.prototype=q.sap.newObject(b.prototype);f.prototype.constructor=f;C.metadata.baseType=b.getMetadata().getName();}else{f=f||function(){};delete C.metadata.baseType;}C.constructor=f;q.sap.setObject(c,f);var m=new F(c,C);f.getMetadata=f.prototype.getMetadata=q.sap.getter(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',['jquery.sap.global','./Interface','./Metadata'],function(q,I,M){"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=q.sap.getter(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=q.sap.getter(m);if(!m.isFinal()){C.extend=function(S,o,f){return M.createClass(C,S,o,f||F);};}q.sap.log.debug("defined class '"+c+"'"+(m.getParent()?" as subclass of "+m.getParent().getName():""));return m;};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/core/BusyIndicatorUtils',['jquery.sap.global','sap/ui/Device'],function(q,D){"use strict";var B=function(){};B.getHTML=function(s){var S="sapUiLocalBusyIndicatorSizeMedium";if(s=="Big"){S="sapUiLocalBusyIndicatorSizeBig";}var t='<div class="sapUiLocalBusyIndicator '+S+'" aria-role="progressbar" aria-valuemin="0" aria-valuemax="100" role="progressbar" alt="" tabindex="0">'+'<div class="sapUiLocalBusyIndicatorAnimation sapUiLocalBusyIndicatorAnimStandard">'+'<div></div>'+'<div></div>'+'<div></div>'+'</div>'+'</div>';return t;};B.addHTML=function($,b,s){var a=q(B.getHTML(s));a.attr("id",b);$.append(a);$.addClass('sapUiLocalBusy');var c=a.children(".sapUiLocalBusyIndicatorAnimation");var w=c[0].offsetWidth;if($[0].offsetWidth<w){c.removeClass("sapUiLocalBusyIndicatorAnimStandard");c.addClass("sapUiLocalBusyIndicatorAnimSmall");}$.attr('aria-busy',true);return a;};B.animateIE9={start:function(b){if(b&&D.browser.msie&&D.browser.version<=9){var a=function($,c){var s=function(t){$.animate({textIndent:t},{step:function(n){q(this).css("-ms-transform","scale("+n+","+n+")");q(this).css("opacity",n);},complete:function(){s(t==1?0.3:1);},duration:700},"linear");};setTimeout(function(){s(0.3);},c);};var d=b.find(".sapUiLocalBusyIndicatorAnimation > div");for(var i=0;i<d.length;i++){a(q(d[i]),i*300);}}},stop:function(b){if(b&&D.browser.msie&&D.browser.version<=9){var d=b.find(".sapUiLocalBusyIndicatorAnimation > div");for(var i=0;i<d.length;i++){q(d[i]).stop();}}}};return B;},true);sap.ui.predefine('sap/ui/core/Component',['jquery.sap.global','sap/ui/base/ManagedObject','./ComponentMetadata','./Core','sap/ui/thirdparty/URI'],function(q,M,C,a,U){"use strict";function b(u,o){['sap-client','sap-server'].forEach(function(n){var v=u.get(n);if(v&&!o.hasSearch(n)){o.addSearch(n,v);}});}function m(d,D,s,S){if(s){for(var n in d){if(!D[n]&&s[n]&&s[n].uri){D[n]=S;}}}}var c=M.extend("sap.ui.core.Component",{constructor:function(i,s){M.apply(this,arguments);},metadata:{stereotype:"component","abstract":true,specialSettings:{componentData:true},version:"0.0",includes:[],dependencies:{libs:[],components:[],ui5version:""},config:{},customizing:{},library:"sap.ui.core"}},C);c.activateCustomizing=function(s){};c.deactivateCustomizing=function(s){};c.getOwnerIdFor=function(o){var O=(o instanceof M)&&o._sOwnerId;return O||undefined;};c.getOwnerComponentFor=function(o){var O=c.getOwnerIdFor(o);return O&&sap.ui.component(O);};c.prototype.runAsOwner=function(f){var o=M._sOwnerId;try{M._sOwnerId=this.getId();return f.call();}finally{M._sOwnerId=o;}};c.prototype.getInterface=function(){return this;};c.prototype._initCompositeSupport=function(s){this._mManifestModels={};this.getMetadata().onInitComponent();this.oComponentData=s&&s.componentData;this.getMetadata().init();this.initComponentModels();if(this.onWindowError){this._fnWindowErrorHandler=q.proxy(function(e){var E=e.originalEvent;this.onWindowError(E.message,E.filename,E.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);}};c.prototype.destroy=function(){if(typeof this._mManifestModels==='object'){for(var s in this._mManifestModels){this._mManifestModels[s].destroy();}this._mManifestModels=null;}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;}if(this._oEventBus){this._oEventBus.destroy();delete this._oEventBus;}M.prototype.destroy.apply(this,arguments);sap.ui.getCore().getMessageManager().unregisterObject(this);this.getMetadata().onExitComponent();};c.prototype.getComponentData=function(){return this.oComponentData;};c.prototype.getEventBus=function(){if(!this._oEventBus){q.sap.require("sap.ui.core.EventBus");this._oEventBus=new sap.ui.core.EventBus();}return this._oEventBus;};c.prototype.initComponentModels=function(){var o=this.getMetadata();var A=o.getManifestEntry("sap.app",true);var u=o.getManifestEntry("sap.ui5",true);var d={models:u["models"],dataSources:A["dataSources"]||{},origin:{dataSources:{},models:{}}};if(!d.models){return;}var e=o;while(e&&e instanceof C){var f=e.getManifestEntry("sap.app")["dataSources"];m(d.dataSources,d.origin.dataSources,f,e);var g=e.getManifestEntry("sap.ui5")["models"];m(d.models,d.origin.models,g,e);e=e.getParent();}var h=q.sap.getUriParameters();for(var s in d.models){var j=d.models[s];var I=false;if(typeof j==='string'){j={dataSource:j};}if(j.dataSource){var D=d.dataSources&&d.dataSources[j.dataSource];if(typeof D==='object'){if(D.type===undefined){D.type='OData';}if(!j.type){switch(D.type){case'OData':j.type='sap.ui.model.odata.v2.ODataModel';break;case'JSON':j.type='sap.ui.model.json.JSONModel';break;case'XML':j.type='sap.ui.model.xml.XMLModel';break;default:}}if(!j.uri){j.uri=D.uri;I=true;}if(D.type==='OData'&&D.settings&&D.settings.annotations){var k=D.settings.annotations;for(var i=0;i<k.length;i++){var l=d.dataSources[k[i]];if(!l){q.sap.log.error("Component Manifest: ODataAnnotation \""+k[i]+"\" for dataSource \""+j.dataSource+"\" could not be found in manifest","[\"sap.app\"][\"dataSources\"][\""+k[i]+"\"]",this);continue;}if(l.type!=='ODataAnnotation'){q.sap.log.error("Component Manifest: dataSource \""+k[i]+"\" was expected to have type \"ODataAnnotation\" but was \""+l.type+"\"","[\"sap.app\"][\"dataSources\"][\""+k[i]+"\"]",this);continue;}if(!l.uri){q.sap.log.error("Component Manifest: Missing \"uri\" for ODataAnnotation \""+k[i]+"\"","[\"sap.app\"][\"dataSources\"][\""+k[i]+"\"]",this);continue;}var n=d.origin.dataSources[k[i]]._resolveUri(new U(l.uri)).toString();j.settings=j.settings||{};j.settings.annotationURI=j.settings.annotationURI||[];j.settings.annotationURI.push(n);}}}else{q.sap.log.error("Component Manifest: dataSource \""+j.dataSource+"\" for model \""+s+"\" not found or invalid","[\"sap.app\"][\"dataSources\"][\""+j.dataSource+"\"]",this);}}if(!j.type){q.sap.log.error("Component Manifest: Missing \"type\" for model \""+s+"\"","[\"sap.ui5\"][\"models\"][\""+s+"\"]",this);continue;}try{q.sap.require(j.type);}catch(E){q.sap.log.error("Component Manifest: Class \""+j.type+"\" for model \""+s+"\" could not be loaded. "+E,"[\"sap.ui5\"][\"models\"][\""+s+"\"]",this);continue;}var p=q.sap.getObject(j.type);if(!p){q.sap.log.error("Component Manifest: Class \""+j.type+"\" for model \""+s+"\" could not be found","[\"sap.ui5\"][\"models\"][\""+s+"\"]",this);continue;}if(j.type==='sap.ui.model.odata.ODataModel'&&(!j.settings||j.settings.json===undefined)){j.settings=j.settings||{};j.settings.json=true;}if(j.uri){var r=new U(j.uri);var t=(I)?d.origin.dataSources[j.dataSource]:d.origin.models[s];r=t._resolveUri(r);if(j.dataSource){b(h,r);}j.uri=r.toString();}if(j.uriSettingName===undefined){switch(j.type){case'sap.ui.model.odata.ODataModel':case'sap.ui.model.odata.v2.ODataModel':j.uriSettingName='serviceUrl';break;case'sap.ui.model.resource.ResourceModel':j.uriSettingName='bundleUrl';break;default:}}var v=this.getComponentData();var S=v&&v.startupParameters&&v.startupParameters["sap-system"];if(!S){S=h.get("sap-system");}var w=false;var O;if(S&&q.inArray(j.type,["sap.ui.model.odata.ODataModel","sap.ui.model.odata.v2.ODataModel"])!=-1){w=true;q.sap.require("sap.ui.model.odata.ODataUtils");O=sap.ui.require("sap/ui/model/odata/ODataUtils");}if(j.uri){if(w){j.preOriginBaseUri=j.uri.split("?")[0];j.uri=O.setOrigin(j.uri,{alias:S});j.postOriginBaseUri=j.uri.split("?")[0];}if(j.uriSettingName!==undefined){j.settings=j.settings||{};if(!j.settings[j.uriSettingName]){j.settings[j.uriSettingName]=j.uri;}}else if(j.settings){j.settings=[j.uri,j.settings];}else{j.settings=[j.uri];}}else{if(w&&j.uriSettingName!==undefined&&j.settings&&j.settings[j.uriSettingName]){j.preOriginBaseUri=j.settings[j.uriSettingName].split("?")[0];j.settings[j.uriSettingName]=O.setOrigin(j.settings[j.uriSettingName],{alias:S});j.postOriginUri=j.settings[j.uriSettingName].split("?")[0];}}if(w&&j.settings&&j.settings.annotationURI){var x=[].concat(j.settings.annotationURI);var y=[];for(var i=0;i<x.length;i++){y.push(x[i].replace(j.preOriginBaseUri,j.postOriginBaseUri.split("?")[0]));}j.settings.annotationURI=y;}if(j.settings&&!q.isArray(j.settings)){j.settings=[j.settings];}var z=[null].concat(j.settings||[]);var F=p.bind.apply(p,z);var B=new F();this._mManifestModels[s]=B;this.setModel(B,s||undefined);}};sap.ui.component=function(v){if(!v){throw new Error("sap.ui.component cannot be called without parameter!");}if(typeof v==='string'){return sap.ui.getCore().getComponent(v);}function d(o){var n=v.name,i=v.id,f=v.componentData,s=n+'.Component',S=v.settings;var I=new o(q.extend({},S,{id:i,componentData:f}));q.sap.log.info("Component instance Id = "+I.getId());var h=I.getMetadata().handleValidation()!==undefined||v.handleValidation;if(h){if(I.getMetadata().handleValidation()!==undefined){h=I.getMetadata().handleValidation();}else{h=v.handleValidation;}sap.ui.getCore().getMessageManager().registerObject(I,h);}return I;}var e=sap.ui.component.load(v,true);if(v.async){return e.then(d);}else{return d(e);}};sap.ui.component.load=function(o,f){var n=o.name,u=o.url,d=/^(sync|async)$/.test(sap.ui.getCore().getConfiguration().getComponentPreload());if(!n){throw new Error("The name of the component is undefined.");}if(u){q.sap.registerModulePath(n,u);}function g(){var s=n+'.Component';q.sap.require(s);var e=q.sap.getObject(s);if(!e){var i="The specified component controller '"+s+"' could not be found!";if(f){throw new Error(i);}else{q.sap.log.warning(i);}}return e;}function r(O){if(typeof O==='object'){if(O.url){q.sap.registerModulePath(O.name,O.url);}return O.name;}return O;}function p(s,A){var i=s+'.Component',P;if(d&&!q.sap.isDeclared(i,true)){if(A){P=q.sap.getResourceName(i,'-preload.js');return q.sap._loadJSResourceAsync(P,true);}try{P=i+'-preload';q.sap.require(P);}catch(e){q.sap.log.warning("couldn't preload component from "+P+": "+((e&&e.message)||e));}}}if(o.async){var h=o.asyncHints||{},j=[],k=function(P){if(P){j.push(P);}};if(h.preloadBundles){q.each(h.preloadBundles,function(i,B){k(q.sap._loadJSResourceAsync(r(B),true));});}if(h.libs){k(sap.ui.getCore().loadLibraries(h.libs.map(r)));}k(p(n,true));if(h.components){q.each(h.components,function(i,v){k(p(r(v),true));});}return Promise.all(j).then(function(v){q.sap.log.debug("Component.load: all promises fulfilled, then "+v);return h.preloadOnly?true:g();});}p(n);return g();};return c;});sap.ui.predefine('sap/ui/core/ComponentMetadata',['jquery.sap.global','sap/ui/base/ManagedObjectMetadata','sap/ui/thirdparty/URI','jquery.sap.resources'],function(q,M,U){"use strict";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 g(v){var V=q.sap.Version(v);return V.getSuffix()?q.sap.Version(V.getMajor()+"."+V.getMinor()+"."+V.getPatch()):V;}var r=/\{\{([^\}\}]+)\}\}/g;var C=function(c,o){M.apply(this,arguments);};C.prototype=q.sap.newObject(M.prototype);C.preprocessClassInfo=function(c){if(c&&typeof c.metadata==="string"){c.metadata={_src:c.metadata};}return c;};C.prototype.applySettings=function(c){var s=c.metadata;var n=this.getName(),P=n.replace(/\.\w+?$/,"");if(s._src){if(s._src=="component.json"){q.sap.log.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";q.sap.log.info("The metadata of the component "+n+" is loaded from file "+R+".");try{var o=q.sap.loadResource(R,{dataType:"json"});q.extend(s,o);}catch(e){q.sap.log.error("Failed to load component metadata from \""+R+"\" (component "+n+")! Reason: "+e);}}M.prototype.applySettings.call(this,c);this._sComponentName=P;this._bInitialized=false;this._iInstanceCount=0;var m=s["manifest"];if(m){s.__metadataVersion=2;if(typeof m==="string"&&m==="json"){var R=P.replace(/\./g,"/")+"/manifest.json";q.sap.log.info("The manifest of the component "+n+" is loaded from file "+R+".");try{var o=q.sap.loadResource(R,{dataType:"json"});m=o;}catch(e){q.sap.log.error("Failed to load component manifest from \""+R+"\" (component "+n+")! Reason: "+e);m={};}}}else{s.__metadataVersion=1;m={};}m["name"]=m["name"]||n;m["sap.app"]=m["sap.app"]||{"id":P};m["sap.ui5"]=m["sap.ui5"]||{};var i=/^sap\.ui\.core\.(UI)?Component$/.test(n);if(!i){m["sap.ui5"]["extends"]=m["sap.ui5"]["extends"]||{};}this._convertLegacyMetadata(s,m);s["manifest"]=m;s["processed-manifest"]=null;this._oStaticInfo=s;};C.prototype.init=function(){if(!this._bInitialized){var P=this.getParent();if(P instanceof C){P.init();}var m=this.getManifestEntry("sap.ui5");var s=m["dependencies"]&&m["dependencies"]["minUI5Version"];if(s&&q.sap.log.isLoggable(q.sap.log.LogLevel.WARNING)&&sap.ui.getCore().getConfiguration().getDebug()){try{var v=sap.ui.getVersionInfo();var o=g(s);var V=g(v&&v.version);if(o.compareTo(V)>0){q.sap.log.warning("Component \""+this.getComponentName()+"\" requires at least version \""+o.toString()+"\" but running on \""+V.toString()+"\"!");}}catch(e){q.sap.log.warning("The validation of the version for Component \""+this.getComponentName()+"\" failed! Reasion: "+e);}}this._defineResourceRoots();this._loadDependencies();this._loadIncludes();this._bInitialized=true;}};C.prototype.exit=function(){if(this._bInitialized){var P=this.getParent();if(P instanceof C){P.exit();}this._bInitialized=false;}};C.prototype.onInitComponent=function(){var u=this.getManifestEntry("sap.ui5",true),e=u&&u["extends"]&&u["extends"].extensions;if(this._iInstanceCount===0&&!q.isEmptyObject(e)){q.sap.require("sap.ui.core.CustomizingConfiguration");var a=sap.ui.require('sap/ui/core/CustomizingConfiguration');a.activateForComponent(this._sComponentName);}this._iInstanceCount++;};C.prototype.onExitComponent=function(){this._iInstanceCount=Math.max(this._iInstanceCount-1,0);var u=this.getManifestEntry("sap.ui5",true),e=u&&u["extends"]&&u["extends"].extensions;if(this._iInstanceCount===0&&!q.isEmptyObject(e)){var a=sap.ui.require('sap/ui/core/CustomizingConfiguration');if(a){a.deactivateForComponent(this._sComponentName);}}};C.prototype.getMetadataVersion=function(){return this._oStaticInfo.__metadataVersion;};C.prototype.getManifest=function(){if(this.getMetadataVersion()===1){return this.getRawManifest();}return q.extend(true,{},this._getManifest());};C.prototype._getManifest=function(){var P=this._oStaticInfo["processed-manifest"];if(!P){var R=this.getRawManifest();P=this._oStaticInfo["processed-manifest"]=this._processManifestEntries(R);}return P;};C.prototype.getRawManifest=function(){return q.extend(true,{},this._getRawManifest());};C.prototype._getRawManifest=function(){return this._oStaticInfo["manifest"];};C.prototype._processManifestEntries=function(m){if(!this.isAbstract()&&this._oStaticInfo.__metadataVersion===2){var t=this;var c=(m["sap.app"]&&m["sap.app"]["i18n"])||"i18n/i18n.properties";var R;p(m,function(o,k,v){o[k]=v.replace(r,function(s,a){if(!R){R=q.sap.resources({url:t._resolveUri(new U(c)).toString()});}return R.getText(a);});});}return m;};C.prototype.getManifestEntry=function(k,m){if(!k||k.indexOf(".")<=0){q.sap.log.warning("Manifest entries with keys without namespace prefix can not be read via getManifestEntry. Key: "+k+", Component: "+this.getName());return null;}var P,o=this.getManifest(),d=o&&o[k]||{};if(!q.isPlainObject(d)){q.sap.log.warning("Custom Manifest entry with key '"+k+"' must be an object. Component: "+this.getName());return null;}if(m&&(P=this.getParent())instanceof C){return q.extend(true,{},P.getManifestEntry(k,m),d);}return q.extend(true,{},d);};C.prototype.getCustomEntry=function(k,m){if(!k||k.indexOf(".")<=0){q.sap.log.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(!q.isPlainObject(d)){q.sap.log.warning("Custom Component Metadata entry with key '"+k+"' must be an object. Component: "+this.getName());return null;}if(m&&(P=this.getParent())instanceof C){return q.extend(true,{},P.getCustomEntry(k,m),d);}return q.extend(true,{},d);};C.prototype.getComponentName=function(){return this._sComponentName;};C.prototype.getDependencies=function(){if(!this._oLegacyDependencies){var u=this.getManifestEntry("sap.ui5"),d=u&&u.dependencies,s=d&&d.minUI5Version||null,l=d&&d.libs||{},c=d&&d.components||{};var L={ui5version:s,libs:[],components:[]};for(var a in l){L.libs.push(a);}for(var b in c){L.components.push(b);}this._oLegacyDependencies=L;}return this._oLegacyDependencies;};C.prototype.getIncludes=function(){if(!this._aLegacyIncludes){var I=[],u=this.getManifestEntry("sap.ui5"),R=u&&u.resources||{},c=R&&R.css||[],j=R&&R.js||[];for(var i=0,l=c.length;i<l;i++){if(c[i]&&c[i].uri){I.push(c[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;};C.prototype.getUI5Version=function(){var u=this.getManifestEntry("sap.ui5");return u&&u.dependencies&&u.dependencies.minUI5Version;};C.prototype.getComponents=function(){return this.getDependencies().components;};C.prototype.getLibs=function(){return this.getDependencies().libs;};C.prototype.getVersion=function(){var a=this.getManifestEntry("sap.app");return a&&a.applicationVersion&&a.applicationVersion.version;};C.prototype.getConfig=function(k,d){var u=this.getManifestEntry("sap.ui5",!d),c=u&&u.config;return q.extend(true,{},c&&k?c[k]:c);};C.prototype.getCustomizing=function(d){var u=this.getManifestEntry("sap.ui5",!d),e=q.extend(true,{},u&&u["extends"]&&u["extends"].extensions);return e;};C.prototype.getModels=function(d){if(!this._oLegacyModels){this._oLegacyModels={};var u=this.getManifestEntry("sap.ui5"),D=u&&u.models||{};for(var s in D){var o=D[s];this._oLegacyModels[s]=o.settings||{};this._oLegacyModels[s].type=o.type;this._oLegacyModels[s].uri=o.uri;}}var P,m=q.extend(true,{},this._oLegacyModels);if(!d&&(P=this.getParent())instanceof C){m=q.extend(true,{},P.getModels(),m);}return m;};C.prototype.handleValidation=function(){var u=this.getManifestEntry("sap.ui5");return u&&u.handleValidation;};C.prototype.getServices=function(){q.sap.log.warning("Usage of sap.ui.core.ComponentMetadata.protoype.getServices is deprecated!");return this._oStaticInfo.services||{};};C.prototype._loadIncludes=function(){var u=this.getManifestEntry("sap.ui5");var R=u["resources"];if(!R){return;}var c=this.getComponentName();var J=R["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 P=c.replace(/\./g,'/')+(f.slice(0,1)==='/'?'':'/')+f.slice(0,m.index);q.sap.log.info("Component \""+this.getName()+"\" is loading JS: \""+P+"\"");q.sap._requirePath(P);}}}}var a=R["css"];if(a){for(var j=0;j<a.length;j++){var b=a[j];if(b.uri){var s=this._resolveUri(new U(b.uri)).toString();q.sap.log.info("Component \""+this.getName()+"\" is loading CSS: \""+s+"\"");q.sap.includeStyleSheet(s,b.id);}}}};C.prototype._loadDependencies=function(){var t=this,d=this.getDependencies();if(d){var L=d.libs;if(L){for(var i=0,l=L.length;i<l;i++){var s=L[i];q.sap.log.info("Component \""+t.getName()+"\" is loading library: \""+s+"\"");sap.ui.getCore().loadLibrary(s);}}var c=d.components;if(c){for(var i=0,l=c.length;i<l;i++){var n=c[i];q.sap.log.info("Component \""+t.getName()+"\" is loading component: \""+n+".Component\"");sap.ui.component.load({name:n});}}}};C.prototype._convertLegacyMetadata=function(s,b){var c=function(a,w){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 w==="function"&&w(v)||{};}}}return o;};var A=b["sap.app"];var u=b["sap.ui5"];for(var n in s){var v=s[n];if(v!==undefined){switch(n){case"name":b[n]=b[n]||v;A["id"]=A["id"]||v;break;case"description":case"keywords":A[n]=A[n]||v;break;case"version":var d=A.applicationVersion=A.applicationVersion||{};d.version=d.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=c(v.libs);u[n].components=c(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 f={};for(var h in v){var D=v[h];var j={};for(var k in D){var t=D[k];switch(k){case"type":case"uri":j[k]=t;break;default:j.settings=j.settings||{};j.settings[k]=t;}}f[h]=j;}u["models"]=f;}break;}}}};C.prototype._resolveUri=function(u){return C._resolveUriRelativeTo(u,new U(q.sap.getModulePath(this.getComponentName())+"/"));};C._resolveUriRelativeTo=function(u,b){if(u.is("absolute")||(u.path()&&u.path()[0]==="/")){return u;}var P=new U().search("");b=b.absoluteTo(P);return u.absoluteTo(b).relativeTo(P);};C.prototype._defineResourceRoots=function(){var u=this.getManifestEntry("sap.ui5");var R=u["resourceRoots"];if(!R){return;}for(var s in R){var a=R[s];var o=new U(a);if(o.is("absolute")||(o.path()&&o.path()[0]==="/")){q.sap.log.error("Resource root for \""+s+"\" is absolute and therefore won't be registered! \""+a+"\"",this.getComponentName());continue;}a=this._resolveUri(o).toString();q.sap.registerModulePath(s,a);}};return C;},true);sap.ui.predefine('sap/ui/core/Configuration',['jquery.sap.global','../Device','../Global','../base/Object','./Locale','sap/ui/thirdparty/URI','jquery.sap.script'],function(q,D,G,B,L,U){"use strict";var C,a;var b=B.extend("sap.ui.core.Configuration",{constructor:function(o){this._oCore=o;function h(){var m;if(D.os.android){m=navigator.userAgent.match(/\s([a-z]{2}-[a-z]{2})[;)]/i);if(m){return m[1];}}return(navigator.languages&&navigator.languages[0])||navigator.language||navigator.userLanguage||navigator.browserLanguage;}var j={"theme":{type:"string",defaultValue:"base"},"language":{type:"string",defaultValue:h()},"formatLocale":{type:"string",defaultValue:null},"calendarType":{type:"string",defaultValue:null},"accessibility":{type:"boolean",defaultValue:true},"autoAriaBodyRole":{type:"boolean",defaultValue:true,noUrl:true},"animation":{type:"boolean",defaultValue:true},"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},"weinreServer":{type:"string",defaultValue:"",noUrl:true},"weinreId":{type:"string",defaultValue:""},"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},"whitelistService":{type:"string",defaultValue:null,noUrl:true},"frameOptions":{type:"string",defaultValue:"default",noUrl:true},"frameOptionsConfig":{type:"object",defaultValue:undefined,noUrl:true},"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-loadAllMode":{type:"boolean",defaultValue:false,noUrl:true},"xx-test-mobile":{type:"boolean",defaultValue:false},"xx-domPatching":{type:"boolean",defaultValue:false},"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},"statistics":{type:"boolean",defaultValue:false}};var k={"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 b.FormatSettings(this);var l=this;function s(N,V){if(typeof V==="undefined"||V===null){return;}switch(j[N].type){case"boolean":if(typeof V==="string"){if(j[N].defaultValue){l[N]=V.toLowerCase()!="false";}else{l[N]=V.toLowerCase()==="true"||V.toLowerCase()==="x";}}else{l[N]=!!V;}break;case"string":l[N]=""+V;break;case"code":l[N]=typeof V==="function"?V:String(V);break;case"function":if(typeof V!=="function"){throw new Error("unsupported value");}l[N]=V;break;case"string[]":if(q.isArray(V)){l[N]=V;}else if(typeof V==="string"){l[N]=q.map(V.split(/[ ,;]/),function($){return q.trim($);});}else{throw new Error("unsupported value");}break;case"object":if(typeof V!=="object"){throw new Error("unsupported value");}l[N]=V;break;default:throw new Error("illegal state");}}function p(y){var i,m;try{i=new U(y,window.location.href).normalize();m=i.path();return m+(m.slice(-1)==='/'?'':'/')+"UI5/";}catch(e){}}for(var n in j){l[n]=j[n].defaultValue;}var r=window["sap-ui-config"]||{};r.oninit=r.oninit||r["evt-oninit"];for(var n in j){if(r.hasOwnProperty(n.toLowerCase())){s(n,r[n.toLowerCase()]);}else if(!/^xx-/.test(n)&&r.hasOwnProperty("xx-"+n.toLowerCase())){s(n,r["xx-"+n.toLowerCase()]);}}if(r.libs){l.modules=q.map(r.libs.split(","),function($){return q.trim($)+".library";}).concat(l.modules);}var P="compatversion";var t=r[P];var u=q.sap.Version("1.14");this._compatversion={};function _(e){var v=!e?t||u.toString():r[P+"-"+e.toLowerCase()]||t||k[e]||u.toString();v=q.sap.Version(v.toLowerCase()==="edge"?G.version:v);return q.sap.Version(v.getMajor(),v.getMinor());}this._compatversion._default=_();for(var n in k){this._compatversion[n]=_(n);}if(!l.ignoreUrlParams){var w="sap-ui-";var x=q.sap.getUriParameters();if(x.mParams['sap-locale']||x.mParams['sap-language']){var V=x.get('sap-locale')||M[x.get('sap-language').toUpperCase()]||x.get('sap-language');if(V===""){l['language']=j['language'].defaultValue;}else{s('language',V);}}if(x.mParams['sap-rtl']){var V=x.get('sap-rtl');if(V==="X"||V==="x"){s('rtl',true);}else{s('rtl',false);}}if(x.mParams['sap-theme']){var V=x.get('sap-theme');if(V===""){l['theme']=j['theme'].defaultValue;}else{s('theme',V);}}if(x.mParams['sap-statistics']){var V=x.get('sap-statistics');s('statistics',V);}for(var n in j){if(j[n].noUrl){continue;}var V=x.get(w+n);if(V==null&&!/^xx-/.test(n)){V=x.get(w+"xx-"+n);}if(V===""){l[n]=j[n].defaultValue;}else{s(n,V);}}}this.derivedRTL=L._impliesRTL(l.language);var T=l.theme;var y;var I=T.indexOf("@");if(I>=0){y=p(T.slice(I+1));if(y){l.theme=T.slice(0,I);l.themeRoot=y;}else{l.theme=(r.theme&&r.theme!==T)?r.theme:"base";I=-1;}}l.theme=this._normalizeTheme(l.theme,y);var z=l['languagesDeliveredWithCore']=L._coreI18nLocales;var A=l['xx-supportedLanguages'];if(A.length===0||(A.length===1&&A[0]==='*')){A=[];}else if(A.length===1&&A[0]==='default'){A=z||[];}l['xx-supportedLanguages']=A;if(l["bindingSyntax"]==="default"){l["bindingSyntax"]=(l.getCompatibilityVersion("sapCoreBindingSyntax").compareTo("1.26")<0)?"simple":"complex";}if(!l["whitelistService"]){var E=document.querySelector("META[name='sap.whitelistService']");if(E){l["whitelistService"]=E.getAttribute("content");if(l["frameOptions"]==="default"){l["frameOptions"]="trusted";}}}if(l["frameOptions"]==="default"||(l["frameOptions"]!=="allow"&&l["frameOptions"]!=="deny"&&l["frameOptions"]!=="trusted")){l["frameOptions"]="allow";}var F=l['preloadLibCss'];if(F.length>0){F.appManaged=F[0].slice(0,1)==="!";if(F.appManaged){F[0]=F[0].slice(1);}if(F[0]==="*"){F.splice(0,1);var H=0;q.each(l.modules,function(i,e){var m=e.match(/^(.*)\.library$/);if(m){F.splice(H,0,m[1]);}});}}for(var n in j){if(l[n]!==j[n].defaultValue){q.sap.log.info("  "+n+" = "+l[n]);}}},getVersion:function(){if(this._version){return this._version;}this._version=new q.sap.Version(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(t){this.theme=t;return this;},_normalizeTheme:function(t,T){if(t&&T==null&&t.match(/^sap_corbu$/i)){return"sap_goldreflection";}return t;},getLanguage:function(){return this.language;},setLanguage:function(l){g(typeof l==="string"&&l,"sLanguage must be a BCP47 language tag or Java Locale id or null");var o=this.getRTL(),m;if(l!=this.language){m=this._collect();this.language=m.language=l;this.derivedRTL=L._impliesRTL(l);if(o!=this.getRTL()){m.rtl=this.getRTL();}this._endCollect();}return this;},getLocale:function(){return new L(this.language);},getCalendarType:function(){var n;if(!C){G.getCore().loadLibrary('sap.ui.core');C=sap.ui.require("sap/ui/core/library").CalendarType;}if(!a){q.sap.require("sap.ui.core.LocaleData");a=sap.ui.require("sap/ui/core/LocaleData");}if(this.calendarType){for(n in C){if(n.toLowerCase()===this.calendarType.toLowerCase()){this.calendarType=n;return this.calendarType;}}q.sap.log.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();if(l==="A"||l==="B"){return C.Islamic;}return a.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;},setFormatLocale:function(F){g(F===null||typeof F==="string"&&F,"sFormatLocale must be a BCP47 language tag or Java Locale id or null");var m;if(F!=this.formatLocale){m=this._collect();this.formatLocale=m.formatLocale=F;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;},getAnimation:function(){return this.animation;},getRTL:function(){return this.rtl===null?this.derivedRTL:this.rtl;},setRTL:function(r){g(r===null||typeof r==="boolean","bRTL must be null or a boolean");var m;if(r!=this.rtl){m=this._collect();this.rtl=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();},getWeinreServer:function(){var w=this.weinreServer;if(!w){w=window.location.protocol+"//"+window.location.hostname+":";w+=(parseInt(window.location.port,10)||8080)+1;}return w;},getWeinreId:function(){return this.weinreId;},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"];},getDomPatching:function(){return this["xx-domPatching"];},getPreload:function(){return this.preload;},getComponentPreload:function(){return this['xx-componentPreload']||this.preload;},getFormatSettings:function(){return this.oFormatSettings;},getFrameOptions:function(){return this.frameOptions;},getWhitelistService:function(){return this.whitelistService;},_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(){return this.statistics||window.localStorage.getItem("sap-ui-statistics")=="X";},getNoNativeScroll:function(){return false;},getHandleValidation:function(){return this["xx-handleValidation"];}});var M={"ZH":"zh-Hans","ZF":"zh-Hant","1Q":"en-US-x-saptrc","2Q":"en-US-x-sappsd"};var c={"":{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",ignore:true},"8":{pattern:"Gyy/MM/dd",ignore:true},"9":{pattern:"Gyy-MM-dd",ignore:true},"A":{pattern:"yyyy/MM/dd"},"B":{pattern:"yyyy/MM/dd"},"C":{pattern:"yyyy/MM/dd",ignore:true}};var d={"":{"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 f={"":{groupingSeparator:null,decimalSeparator:null}," ":{groupingSeparator:".",decimalSeparator:","},"X":{groupingSeparator:",",decimalSeparator:"."},"Y":{groupingSeparator:" ",decimalSeparator:","}};function g(e,m){if(!e){throw new Error(m);}}B.extend("sap.ui.core.Configuration.FormatSettings",{constructor:function(o){this.oConfiguration=o;this.mSettings={};this.sLegacyDateFormat=undefined;this.sLegacyTimeFormat=undefined;this.sLegacyNumberFormatSymbolSet=undefined;},getFormatLocale:function(){function e(t){var l=t.oConfiguration.language;if(!q.isEmptyObject(t.mSettings)){if(l.indexOf("-x-")<0){l=l+"-x-sapufmt";}else if(l.indexOf("-sapufmt")<=l.indexOf("-x-")){l=l+"-sapufmt";}}return l;}return new L(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)||!q.sap.equal(o,v)){var m=this.oConfiguration._collect();m[k]=v;this.oConfiguration._endCollect();}},getDatePattern:function(s){return this.mSettings["dateFormat-"+s];},setDatePattern:function(s,p){g(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");this._set("dateFormat-"+s,p);return this;},getTimePattern:function(s){return this.mSettings["timeFormat-"+s];},setTimePattern:function(s,p){g(s=="short"||s=="medium"||s=="long"||s=="full","sStyle must be short, medium, long or full");this._set("timeFormat-"+s,p);return this;},getNumberSymbol:function(t){return this.mSettings["symbols-latn-"+t];},setNumberSymbol:function(t,s){g(t=="decimal"||t=="group"||t=="plusSign"||t=="minusSign","sType must be decimal, group, plusSign or minusSign");this._set("symbols-latn-"+t,s);return this;},setFirstDayOfWeek:function(v){g(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,t){this._set("dayPeriods-format-"+w,t);return this;},getLegacyDateFormat:function(){return this.sLegacyDateFormat||undefined;},setLegacyDateFormat:function(F){F=F?String(F).toUpperCase():"";g(!F||c.hasOwnProperty(F),"sFormatId must be one of ['1','2','3','4','5','6','7','8','9','A','B','C'] or empty");if(c[F].ignore){q.sap.log.warning("The ABAP date format '"+F+"' ("+c[F].pattern+") is not supported yet. Falling back to locale specific date formats.");F="";}var m=this.oConfiguration._collect();this.sLegacyDateFormat=m.legacyDateFormat=F;this.setDatePattern("short",c[F].pattern);this.setDatePattern("medium",c[F].pattern);this.oConfiguration._endCollect();return this;},getLegacyTimeFormat:function(){return this.sLegacyTimeFormat||undefined;},setLegacyTimeFormat:function(F){g(!F||d.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",d[F]["short"]);this.setTimePattern("medium",d[F]["medium"]);this._setDayPeriods("abbreviated",d[F].dayPeriods);this.oConfiguration._endCollect();return this;},getLegacyNumberFormat:function(){return this.sLegacyNumberFormat||undefined;},setLegacyNumberFormat:function(F){F=F?F.toUpperCase():"";g(!F||f.hasOwnProperty(F),"sFormatId must be one of [' ','X','Y'] or empty");var m=this.oConfiguration._collect();this.sLegacyNumberFormat=m.legacyNumberFormat=F;this.setNumberSymbol("group",f[F].groupingSeparator);this.setNumberSymbol("decimal",f[F].decimalSeparator);this.oConfiguration._endCollect();return this;},setLegacyDateCalendarCustomizing:function(m){g(q.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 b;});sap.ui.predefine('sap/ui/core/Control',['jquery.sap.global','./CustomStyleClassSupport','./Element','./UIArea','./ResizeHandler','./BusyIndicatorUtils'],function(q,C,E,U,R,B){"use strict";var a=E.extend("sap.ui.core.Control",{metadata:{stereotype:"control","abstract":true,publicMethods:["placeAt","attachBrowserEvent","detachBrowserEvent","getControlsByFieldGroup","triggerValidateFieldGroup","checkFieldGroupIds"],library:"sap.ui.core",properties:{"busy":{type:"boolean",defaultValue:false},"busyIndicatorDelay":{type:"int",defaultValue:1000},"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;if(this._sapUiCoreLocalBusy_initBusyIndicator){this._sapUiCoreLocalBusy_initBusyIndicator();}},renderer:null});a.prototype.clone=function(){var c=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];c.attachBrowserEvent(p.sEventType,p.fnHandler,p.oListener!==this?p.oListener:undefined);}}c.bAllowTextSelection=this.bAllowTextSelection;return c;};C.apply(a.prototype);a.prototype.isActive=function(){return q.sap.domById(this.sId)!=null;};a.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);}}};a.prototype.rerender=function(){U.rerenderControl(this);};a.prototype.allowTextSelection=function(A){this.bAllowTextSelection=A;return this;};a.prototype.attachBrowserEvent=function(e,h,l){if(e&&(typeof(e)==="string")){if(h&&typeof(h)==="function"){if(!this.aBindParameters){this.aBindParameters=[];}l=l||this;var p=function(){h.apply(l,arguments);};this.aBindParameters.push({sEventType:e,fnHandler:h,oListener:l,fnProxy:p});if(!this._sapui_bInAfterRenderingPhase){this.$().bind(e,p);}}}return this;};a.prototype.detachBrowserEvent=function(e,h,l){if(e&&(typeof(e)==="string")){if(h&&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===e&&p.fnHandler===h&&p.oListener===l){this.aBindParameters.splice(i,1);$.unbind(e,p.fnProxy);}}}}}return this;};a.prototype.getRenderer=function(){return sap.ui.core.RenderManager.getRenderer(this);};a.prototype.placeAt=function(r,p){var c=sap.ui.getCore();if(c.isInitialized()){var o=r;if(typeof o==="string"){o=c.byId(r);}var i=false;if(!(o instanceof E)){o=c.createUIArea(r);i=true;}if(!o){return this;}if(!i){var b=o.getMetadata().getAggregation("content");var d=true;if(b){if(!b.multiple||b.type!="sap.ui.core.Control"){d=false;}}else{if(!o.addContent||!o.insertContent||!o.removeAllContent){d=false;}}if(!d){q.sap.log.warning("placeAt cannot be processed because container "+o+" does not have an aggregation 'content'.");return this;}}if(typeof p==="number"){o.insertContent(this,p);}else{p=p||"last";switch(p){case"last":o.addContent(this);break;case"first":o.insertContent(this,0);break;case"only":o.removeAllContent();o.addContent(this);break;default:q.sap.log.warning("Position "+p+" is not supported for function placeAt.");}}}else{var t=this;c.attachInitEvent(function(){t.placeAt(r,p);});}return this;};a.prototype.onselectstart=function(b){if(!this.bAllowTextSelection){b.preventDefault();b.stopPropagation();}};a.prototype.getIdForLabel=function(){return this.getId();};a.prototype.destroy=function(s){this._bIsBeingDestroyed=true;this._cleanupBusyIndicator();R.deregisterAllForControl(this.getId());if(!this.getVisible()){var p=document.getElementById(sap.ui.core.RenderManager.createInvisiblePlaceholderId(this));if(p&&p.parentNode){p.parentNode.removeChild(p);}}E.prototype.destroy.call(this,s);};(function(){var p="focusin focusout keydown keypress keyup mousedown touchstart mouseup touchend click",b={onAfterRendering:function(){if(this.getBusy()&&this.$()&&!this._busyIndicatorDelayedCallId&&!this.$("busyIndicator").length){this._busyIndicatorDelayedCallId=q.sap.delayedCall(this.getBusyIndicatorDelay(),this,A);}}},A=function(){var $=this.$(this._sBusySection),f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];if(this._busyIndicatorDelayedCallId){q.sap.clearDelayedCall(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}if(!$||$.length===0){q.sap.log.warning("BusyIndicator could not be rendered. The outer control instance is not valid anymore.");return;}var t=$.get(0)&&$.get(0).tagName;if(t&&q.inArray(t.toLowerCase(),f)>=0){q.sap.log.warning("BusyIndicator cannot be placed in elements with tag '"+t+"'.");return;}if($.css('position')=='static'){this._busyStoredPosition='static';$.css('position','relative');}this._$BusyIndicator=B.addHTML($,this.getId()+"-busyIndicator");B.animateIE9.start(this._$BusyIndicator);h.apply(this,[true]);},h=function(c){var $=this.$(this._sBusySection);if(c){var t=$.find(":sapTabbable"),d=this;this._busyTabIndices=[];this._busyTabIndices.push({ref:$,tabindex:$.attr('tabindex')});$.attr('tabindex',-1);$.bind(p,P);t.each(function(i,o){var r=q(o),T=r.attr('tabindex');if(T<0){return true;}d._busyTabIndices.push({ref:r,tabindex:T});r.attr('tabindex',-1);r.bind(p,P);});}else{if(this._busyTabIndices){q.each(this._busyTabIndices,function(i,o){if(o.tabindex){o.ref.attr('tabindex',o.tabindex);}else{o.ref.removeAttr('tabindex');}o.ref.unbind(p,P);});}this._busyTabIndices=[];}},P=function(e){q.sap.log.debug("Local Busy Indicator Event Suppressed: "+e.type);e.preventDefault();e.stopImmediatePropagation();};a.prototype.setBusy=function(c,s){this._sBusySection=s;var $=this.$(this._sBusySection);if(c==this.getProperty("busy")){return this;}this.setProperty("busy",c,true);if(c){this.addDelegate(b,false,this);}else{this.removeDelegate(b);if(this._busyIndicatorDelayedCallId){q.sap.clearDelayedCall(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}}if(!this.getDomRef()){return this;}if(c){if(this.getBusyIndicatorDelay()<=0){A.apply(this);}else{this._busyIndicatorDelayedCallId=q.sap.delayedCall(this.getBusyIndicatorDelay(),this,A);}}else{this.$("busyIndicator").remove();this.$().removeClass('sapUiLocalBusy');this.$().removeAttr('aria-busy');if(this._busyStoredPosition){$.css('position',this._busyStoredPosition);delete this._busyStoredPosition;}h.apply(this,[false]);B.animateIE9.stop(this._$BusyIndicator);}return this;};a.prototype.isBusy=function(){return this.getProperty("busy");};a.prototype.setBusyIndicatorDelay=function(d){this.setProperty("busyIndicatorDelay",d,true);return this;};a.prototype._cleanupBusyIndicator=function(){if(this._busyIndicatorDelayedCallId){q.sap.clearDelayedCall(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}B.animateIE9.stop(this._$BusyIndicator);};a.prototype.getControlsByFieldGroupId=function(f){return this.findAggregatedObjects(true,function(e){if(e instanceof a){return e.checkFieldGroupIds(f);}return false;});};a.prototype.checkFieldGroupIds=function(f){if(typeof f==="string"){if(f===""){return this.checkFieldGroupIds([]);}return this.checkFieldGroupIds(f.split(","));}var F=this.getFieldGroupIds();if(q.isArray(f)){var c=0;for(var i=0;i<f.length;i++){if(F.indexOf(f[i])>-1){c++;}}return c===f.length;}else if(!f&&F.length>0){return true;}return false;};a.prototype.triggerValidateFieldGroup=function(f){this.fireValidateFieldGroup({fieldGroupIds:f});};})();return a;});sap.ui.predefine('sap/ui/core/Core',['jquery.sap.global','sap/ui/Device','sap/ui/Global','sap/ui/base/DataType','sap/ui/base/EventProvider','sap/ui/base/Object','./Component','./Configuration','./Control','./Element','./ElementMetadata','./FocusHandler','./RenderManager','./ResizeHandler','./ThemeCheck','./UIArea','./message/MessageManager','jquery.sap.act','jquery.sap.dom','jquery.sap.events','jquery.sap.mobile','jquery.sap.properties','jquery.sap.resources','jquery.sap.script'],function(q,D,G,a,E,B,C,c,d,e,g,F,R,h,T,U,M){"use strict";var L={};var _;var k=B.extend("sap.ui.core.Core",{constructor:function(){if(sap.ui.getCore&&sap.ui.getCore()){return sap.ui.getCore();}var t=this,l=q.sap.log,b="sap.ui.core.Core";B.call(this);_=new E();["attachEvent","detachEvent","getEventingParent"].forEach(function(K){k.prototype[K]=_[K].bind(_);});this.bBooted=false;this.bInitialized=false;this.bDomReady=false;this.aPlugins=[];this.mLibraries={};this.mResourceBundles={};this.mUIAreas={};this.oModels={};this.oEventBus=null;this.mElements={};this.mObjects={"component":{},"template":{}};this.oRootComponent=null;this.aInitListeners=[];this.bInitLegacyLib=false;l.info("Creating Core",null,b);q.sap.measure.start("coreComplete","Core.js - complete");q.sap.measure.start("coreBoot","Core.js - boot");q.sap.measure.start("coreInit","Core.js - init");this.oConfiguration=new c(this);var f=this.oConfiguration["frameOptionsConfig"]||{};f.mode=this.oConfiguration.getFrameOptions();f.whitelistService=this.oConfiguration.getWhitelistService();this.oFrameOptions=new q.sap.FrameOptions(f);if(this.oConfiguration["bindingSyntax"]==="complex"){sap.ui.base.ManagedObject.bindingParser=sap.ui.base.BindingParser.complexParser;}if(this.oConfiguration["xx-designMode"]==true){sap.ui.base.BindingParser._keepBindingStrings=true;}this._grantFriendAccess();var m=this.oConfiguration.modules;if(this.oConfiguration.getDebug()){m.unshift("sap.ui.debug.DebugEnv");}var i=q.inArray("sap.ui.core.library",m);if(i!=0){if(i>0){m.splice(i,1);}m.unshift("sap.ui.core.library");}if(this.oConfiguration["xx-lesssupport"]&&q.inArray("sap.ui.core.plugin.LessSupport",m)==-1){l.info("Including LessSupport into declared modules");m.push("sap.ui.core.plugin.LessSupport");}var p=this.oConfiguration.preload;if(window["sap-ui-debug"]){p="";}if(p==="auto"){p=(window["sap-ui-optimized"]&&!this.oConfiguration['xx-loadAllMode'])?"sync":"";}this.oConfiguration.preload=p;l.info("Declared modules: "+m,b);this._setupThemes();this._setupRTL();var $=q("html");this._setupBrowser($);this._setupOS($);this._setupLang($);this._setupAnimation($);this._setupWeinre();sap.ui.getCore=q.sap.getter(this.getInterface());this.oRenderManager=new R();var s=q.sap.syncPoint("UI5 Document Ready",function(O,K){t.handleLoad();});var j=s.startTask("document.ready");var n=s.startTask("preload and boot");q(function(){l.trace("document is ready");s.finishTask(j);});var o=q.sap.syncPoint("UI5 Core Preloads and Bootstrap Script",function(O,K){l.trace("Core loaded: open="+O+", failures="+K);t._boot();s.finishTask(n);q.sap.measure.end("coreBoot");});var u=o.startTask("create sp2 tasks task");if(this.oConfiguration["versionedLibCss"]){var v=o.startTask("load version info");var w=function(V){if(V){l.trace("Loaded \"sap-ui-version.json\".");}else{l.error("Could not load \"sap-ui-version.json\".");}o.finishTask(v);};var A=p==="async";var x=sap.ui.getVersionInfo({async:A,failOnError:false});if(x instanceof Promise){x.then(w,function(K){l.error("Unexpected error when loading \"sap-ui-version.json\": "+K);o.finishTask(v);});}else{w(x);}}var y=this.oConfiguration["xx-bootTask"];if(y){var z=o.startTask("custom boot task");y(function(K){o.finishTask(z,typeof K==="undefined"||K===true);});}this._polyfillFlexbox();var H=o.startTask("bootstrap script");this.boot=function(){if(this.bBooted){return;}this.bBooted=true;o.finishTask(H);};if(p==="sync"||p==="async"){var I=p!=="sync";q.each(m,function(i,K){if(K.match(/\.library$/)){q.sap.preloadModules(K+"-preload",I,o);}});}var J=this.oConfiguration.getAppCacheBuster();if(J&&J.length>0){q.sap.require("sap.ui.core.AppCacheBuster");sap.ui.core.AppCacheBuster.boot(o);}o.finishTask(u);},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","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"]}});k.M_EVENTS={ControlEvent:"ControlEvent",UIUpdated:"UIUpdated",ThemeChanged:"ThemeChanged",LocalizationChanged:"localizationChanged",LibraryChanged:"libraryChanged",ValidationError:"validationError",ParseError:"parseError",FormatError:"formatError",ValidationSuccess:"validationSuccess"};var S="sap-ui-static";k.prototype._grantFriendAccess=function(){var t=this;g.prototype.register=function(m){t.registerElementClass(m);};e.prototype.register=function(){t.registerElement(this);};e.prototype.deregister=function(){t.deregisterElement(this);};e._updateFocusInfo=function(o){if(t.oFocusHandler){t.oFocusHandler.updateControlFocusInfo(o);}};C.prototype.register=function(){t.registerObject(this);};C.prototype.deregister=function(){var s=this.sId;for(var b in t.mElements){var o=t.mElements[b];if(o._sapui_candidateForDestroy&&o._sOwnerId===s&&!o.getParent()){q.sap.log.debug("destroying dangling template "+o+" when destroying the owner component");o.destroy();}}t.deregisterObject(this);};};k.prototype._setupThemes=function(){var l=q.sap.log,b="sap.ui.core.Core";var o=window["sap-ui-config"];if(this.oConfiguration.themeRoot){o=o||{};o.themeroots=o.themeroots||{};o.themeroots[this.oConfiguration.getTheme()]=this.oConfiguration.themeRoot;}if(o){if(o.themeroots){for(var t in o.themeroots){var f=o.themeroots[t];if(typeof f==="string"){this.setThemeRoot(t,f);}else{for(var i in f){if(i.length>0){this.setThemeRoot(t,[i],f[i]);}else{this.setThemeRoot(t,f[i]);}}}}}}this.sTheme=this.oConfiguration.getTheme();q(document.documentElement).addClass("sapUiTheme-"+this.sTheme);l.info("Declared theme "+this.sTheme,null,b);};k.prototype._setupRTL=function(){var l=q.sap.log,b="sap.ui.core.Core";if(this.oConfiguration.getRTL()){q(document.documentElement).attr("dir","rtl");l.info("RTL mode activated",null,b);}};k.prototype._setupBrowser=function($){var l=q.sap.log,f="sap.ui.core.Core";$=$||q("html");var b=D.browser;var i=b.name;if(i===b.BROWSER.CHROME){q.browser.safari=false;q.browser.chrome=true;}else if(i===b.BROWSER.SAFARI){q.browser.safari=true;q.browser.chrome=false;if(b.mobile){i="m"+i;}}if(i){q.browser.fVersion=b.version;q.browser.mobile=b.mobile;i=i+(b.version===-1?"":Math.floor(b.version));$.attr("data-sap-ui-browser",i);l.debug("Browser-Id: "+i,null,f);}};k.prototype._setupOS=function($){$=$||q("html");$.attr("data-sap-ui-os",D.os.name+D.os.versionStr);var o=null;switch(D.os.name){case D.os.OS.IOS:o="sap-ios";break;case D.os.OS.ANDROID:o="sap-android";break;case D.os.OS.BLACKBERRY:o="sap-bb";break;case D.os.OS.WINDOWS_PHONE:o="sap-winphone";break;}if(o){$.addClass(o);}};k.prototype._setupLang=function($){$=$||q("html");var u=function(){var l=this.oConfiguration.getLocale();if(l){$.attr("lang",l.toString());}else{$.removeAttr("lang");}};u.call(this);this.attachLocalizationChanged(u,this);};k.prototype._setupAnimation=function($){$=$||q("html");var A=this.oConfiguration.getAnimation();$.attr("data-sap-ui-animation",A?"on":"off");q.fx.off=!A;};k.prototype._setupWeinre=function(){var l=q.sap.log;if(this.oConfiguration.getWeinreId()){l.info("Starting WEINRE Remote Web Inspector");var w="<script src=\"";w+=this.oConfiguration.getWeinreServer();w+="/target/target-script-min.js#";w+=q.sap.encodeURL(this.oConfiguration.getWeinreId());w+="\"></script>";document.write(w);}};k.prototype._polyfillFlexbox=function(){var u=new q.sap.Version(this.oConfiguration.getCompatibilityVersion("flexBoxPolyfill"));if(u.compareTo("1.16")>=0){q.support.useFlexBoxPolyfill=false;}else if(!q.support.flexBoxLayout&&!q.support.newFlexBoxLayout&&!q.support.ie10FlexBoxLayout){q.support.useFlexBoxPolyfill=true;}else{q.support.useFlexBoxPolyfill=false;}};k.prototype._boot=function(){this.lock();var b=this.oConfiguration['preloadLibCss'];if(b&&b.length>0&&!b.appManaged){this.includeLibraryTheme("sap-ui-merged",undefined,"?l="+b.join(","));}var t=this;q.each(this.oConfiguration.modules,function(i,f){var m=f.match(/^(.*)\.library$/);if(m){t.loadLibrary(m[1]);}else{q.sap.require(f);}});this.unlock();};k.prototype.applyTheme=function(t,s){t=this.oConfiguration._normalizeTheme(t,s);if(s){this.setThemeRoot(t,s);}if(t&&this.sTheme!=t){var b=this.sTheme;this._updateThemeUrls(t);this.sTheme=t;this.oConfiguration._setTheme(t);q(document.documentElement).removeClass("sapUiTheme-"+b).addClass("sapUiTheme-"+t);if(this.oThemeCheck){this.oThemeCheck.fireThemeChangedEvent(false,true);}}};k.prototype._updateThemeUrls=function(t){var b=this,s=this.oConfiguration.getRTL()?"-RTL":"";q("link[id^=sap-ui-theme-]").each(function(){var l=this.id.slice(13),f=this.href.slice(this.href.lastIndexOf("/")+1),i="library",H,p,$=q(this);if((p=l.indexOf("-["))>0){i+=l.slice(p+2,-1);l=l.slice(0,p);}if(f===(i+".css")||f===(i+"-RTL.css")){f=i+s+".css";}if($.attr("data-sap-ui-css-count")){$.remove();}H=b._getThemePath(l,t)+f;if(H!=this.href){this.href=H;$.removeAttr("data-sap-ui-ready");}});};k.prototype._getThemePath=function(l,t){if(this._mThemeRoots){var p=this._mThemeRoots[t+" "+l]||this._mThemeRoots[t];if(p){p=p+l.replace(/\./g,"/")+"/themes/"+t+"/";q.sap.registerModulePath(l+".themes."+t,p);return p;}}return q.sap.getModulePath(l+".themes."+t,"/");};k.prototype.setThemeRoot=function(t,l,s){if(!this._mThemeRoots){this._mThemeRoots={};}if(s===undefined){s=l;l=undefined;}s=s+(s.slice(-1)=="/"?"":"/");if(l){for(var i=0;i<l.length;i++){var b=l[i];this._mThemeRoots[t+" "+b]=s;}}else{this._mThemeRoots[t]=s;}return this;};k.prototype.init=function(){if(this.bInitialized){return;}var l=q.sap.log,b="sap.ui.core.Core.init()";this.boot();l.info("Initializing",null,b);this.oFocusHandler=new F(document.body,this);this.oRenderManager._setFocusHandler(this.oFocusHandler);this.oResizeHandler=new h(this);this.oThemeCheck=new T(this);l.info("Initialized",null,b);q.sap.measure.end("coreInit");this.bInitialized=true;l.info("Starting Plugins",null,b);this.startPlugins();l.info("Plugins started",null,b);this._createUIAreas();this.oThemeCheck.fireThemeChangedEvent(true);this._executeOnInit();this._setupRootComponent();this._setBodyAccessibilityRole();this._executeInitListeners();this.renderPendingUIUpdates();q.sap.measure.end("coreComplete");};k.prototype._createUIAreas=function(){var o=this.oConfiguration;if(o.areas){for(var i=0,l=o.areas.length;i<l;i++){this.createUIArea(o.areas[i]);}o.areas=undefined;}};k.prototype._executeOnInit=function(){var o=this.oConfiguration;if(o.onInit){if(typeof o.onInit==="function"){o.onInit();}else{q.sap.globalEval(o.onInit);}o.onInit=undefined;}};k.prototype._setupRootComponent=function(){var l=q.sap.log,b="sap.ui.core.Core.init()",o=this.oConfiguration;var s=o.getRootComponent();if(s){l.info("Loading Root Component: "+s,null,b);var f=sap.ui.component({name:s});this.oRootComponent=f;var i=o["xx-rootComponentNode"];if(i&&f instanceof sap.ui.core.UIComponent){var j=q.sap.domById(i);if(j){l.info("Creating ComponentContainer for Root Component: "+s,null,b);var m=new sap.ui.core.ComponentContainer({component:f,propagateModel:true});m.placeAt(j);}}}else{var A=o.getApplication();if(A){l.warning("The configuration 'application' is deprecated. Please use the configuration 'component' instead! Please migrate from sap.ui.app.Application to sap.ui.core.Component.");l.info("Loading Application: "+A,null,b);q.sap.require(A);var n=q.sap.getObject(A);var p=new n();}}};k.prototype._setBodyAccessibilityRole=function(){var o=this.oConfiguration;var $=q("body");if(o.getAccessibility()&&o.getAutoAriaBodyRole()&&!$.attr("role")){$.attr("role","application");}};k.prototype._executeInitListeners=function(){var l=q.sap.log,b="sap.ui.core.Core.init()";var j=this.aInitListeners;this.aInitListeners=undefined;if(j&&j.length>0){l.info("Fire Loaded Event",null,b);q.each(j,function(i,f){f();});}};k.prototype.handleLoad=function(){this.bDomReady=true;var w=this.isLocked();if(!w){this.lock();}this.init();if(!w){this.unlock();}};k.prototype.isInitialized=function(){return this.bInitialized;};k.prototype.isThemeApplied=function(){return T.themeLoaded;};k.prototype.attachInitEvent=function(f){if(this.aInitListeners){this.aInitListeners.push(f);}};k.prototype.attachInit=function(f){if(this.aInitListeners){this.aInitListeners.push(f);}else{f();}};k.prototype.lock=function(){this.bLocked=true;};k.prototype.unlock=function(){this.bLocked=false;};k.prototype.isLocked=function(){return this.bLocked;};k.prototype.getConfiguration=function(){return this.oConfiguration;};k.prototype.getRenderManager=function(){return this.createRenderManager();};k.prototype.createRenderManager=function(){var o=new R();o._setFocusHandler(this.oFocusHandler);return o.getInterface();};k.prototype.getCurrentFocusedControlId=function(){if(!this.isInitialized()){throw new Error("Core must be initialized");}return this.oFocusHandler.getCurrentFocusedControlId();};k.prototype.loadLibrary=function(l,u){if(!L[l]){var m=l+".library",A;if(u){q.sap.registerModulePath(l,u);}if(this.oConfiguration['xx-loadAllMode']&&!q.sap.isDeclared(m)){A=m+"-all";q.sap.log.debug("load all-in-one file "+A);q.sap.require(A);}else if(this.oConfiguration.preload==='sync'||this.oConfiguration.preload==='async'){q.sap.preloadModules(m+"-preload",false);}q.sap.require(m);if(!L[l]){q.sap.log.warning("library "+l+" didn't initialize itself");this.initLibrary(l);}if(this.oThemeCheck&&this.isInitialized()){this.oThemeCheck.fireThemeChangedEvent(true);}}return this.mLibraries[l];};k.prototype.loadLibraries=function(l,o){o=q.extend({async:true},o);var t=this,p=this.oConfiguration.preload==='sync'||this.oConfiguration.preload==='async',A=o.async;function b(s){if(p){q.each(l,function(i,j){q.sap.preloadModules(j+".library-preload",!!s,s);});}}function f(){q.each(l,function(i,s){q.sap.require(s+".library");});if(t.oThemeCheck&&t.isInitialized()){t.oThemeCheck.fireThemeChangedEvent(true);}}if(A&&p){return new Promise(function(i,j){var s=q.sap.syncPoint("Load Libraries",function(O,n){if(!n){f();i();}else{j();}});var m=s.startTask("load libraries");b(s);s.finishTask(m);});}else{b(null);f();}};k.prototype.createComponent=function(v,u,i,s){if(typeof v==="string"){v={name:v,url:u};if(typeof i==="object"){v.settings=i;}else{v.id=i;v.settings=s;}}return sap.ui.component(v);};k.prototype.getRootComponent=function(){return this.oRootComponent;};k.prototype.initLibrary=function(l){var b=typeof l==="string",o=b?{name:l}:l,s=o.name,f=q.sap.log,m="sap.ui.core.Core.initLibrary()";if(b){f.warning("[Deprecated] library "+s+" uses old fashioned initLibrary() call (rebuild with newest generator)");}if(!s||L[s]){return;}f.debug("Analyzing Library "+s,null,m);L[s]=true;function n(j,I){var K,v;for(K in I){v=I[K];if(v!==undefined){if(q.isArray(j[K])){if(j[K].length===0){j[K]=v;}else{j[K]=q.sap.unique(j[K].concat(v));}}else if(j[K]===undefined){j[K]=v;}else{q.sap.log.warning("library info setting ignored: "+K+"="+v);}}}return j;}q.sap.getObject(s,0);this.mLibraries[s]=o=n(this.mLibraries[s]||{name:s,dependencies:[],types:[],interfaces:[],controls:[],elements:[]},o);function p(){var P=q.sap.properties({url:sap.ui.resource(s,"library.properties")});o.version=P.getProperty(s+"[version]");var v=P.getProperty(s+"[dependencies]");f.debug("Required Libraries: "+v,null,m);o.dependencies=(v&&v.split(/[,;| ]/))||[];var K=P.getKeys(),w=/(.+)\.(type|interface|control|element)$/,x;for(var j=0;j<K.length;j++){var y=P.getProperty(K[j]);if((x=y.match(w))!==null){o[x[2]+"s"].push(K[j]);}}}if(b){p();}for(var i=0;i<o.dependencies.length;i++){var t=o.dependencies[i];f.debug("resolve Dependencies to "+t,null,m);if(!L[t]){f.warning("Dependency from "+s+" to "+t+" has not been resolved by library itself",null,m);this.loadLibrary(t);}}a.registerInterfaceTypes(o.interfaces);for(var i=0;i<o.types.length;i++){if(!/^(any|boolean|float|int|string|object|void)$/.test(o.types[i])){q.sap.declare(o.types[i]);}}var u=o.controls.concat(o.elements);for(var i=0;i<u.length;i++){sap.ui.lazyRequire(u[i],"new extend getMetadata");}if(!o.noLibraryCSS&&q.inArray(s,this.oConfiguration['preloadLibCss'])<0){var Q=this._getLibraryCssQueryParams(o);this.includeLibraryTheme(s,undefined,Q);}o.sName=o.name;o.aControls=o.controls;if(!q.sap.isDeclared(s+".library")){f.warning("Library Module "+s+".library"+" not loaded automatically",null,m);q.sap.require(s+".library");}this.fireLibraryChanged({name:s,stereotype:"library",operation:"add",metadata:o});};k.prototype.includeLibraryTheme=function(l,v,Q){if((l!="sap.ui.legacy")&&(l!="sap.ui.classic")){if(!v){v="";}var s=(this.oConfiguration.getRTL()?"-RTL":"");var b,f=l+(v.length>0?"-["+v+"]":v);if(l&&l.indexOf(":")==-1){b="library"+v+s;}else{b=l.substring(l.indexOf(":")+1)+v;l=l.substring(0,l.indexOf(":"));}var i=this._getThemePath(l,this.sTheme)+b+".css"+(Q?Q:"");q.sap.log.info("Including "+i+" -  sap.ui.core.Core.includeLibraryTheme()");q.sap.includeStyleSheet(i,"sap-ui-theme-"+f);var P=sap.ui.require("sap/ui/core/theming/Parameters");if(P){P._addLibraryTheme(f,i);}}};k.prototype._getLibraryCssQueryParams=function(l){var Q;if(this.oConfiguration["versionedLibCss"]&&l){Q="?version="+l.version;if(sap.ui.versioninfo){Q+="&sap-ui-dist-version="+sap.ui.versioninfo.version;}}return Q;};k.prototype.getLoadedLibraries=function(){return q.extend({},this.mLibraries);};k.prototype.getLibraryResourceBundle=function(l,s){l=l||"sap.ui.core";s=s||this.getConfiguration().getLanguage();var K=l+"/"+s;if(!this.mResourceBundles[K]){var u=sap.ui.resource(l,'messagebundle.properties');this.mResourceBundles[K]=q.sap.resources({url:u,locale:s});}return this.mResourceBundles[K];};k.prototype.setRoot=function(o,b){if(b){b.placeAt(o,"only");}};k.prototype.createUIArea=function(o){var t=this;if(!o){throw new Error("oDomRef must not be null");}if(typeof(o)==="string"){var i=o;if(i==S){o=this.getStaticAreaRef();}else{o=q.sap.domById(o);if(!o){throw new Error("DOM element with ID '"+i+"' not found in page, but application tries to insert content.");}}}if(!o.id||o.id.length==0){o.id=q.sap.uid();}var I=o.id;if(!this.mUIAreas[I]){this.mUIAreas[I]=new U(this,o);q.each(this.oModels,function(n,m){t.mUIAreas[I].oPropagatedProperties.oModels[n]=m;});this.mUIAreas[I].propagateProperties(true);}else{this.mUIAreas[I].setRootNode(o);}return this.mUIAreas[I];};k.prototype.getUIArea=function(o){var i="";if(typeof(o)=="string"){i=o;}else{i=o.id;}if(i){return this.mUIAreas[i];}return null;};var r=U._oRenderLog;k.prototype.addInvalidatedUIArea=function(u){if(!this._sRerenderTimer){r.debug("Registering timer for delayed re-rendering");this._sRerenderTimer=q.sap.delayedCall(0,this,"renderPendingUIUpdates");}};k.MAX_RENDERING_ITERATIONS=20;k.prototype.renderPendingUIUpdates=function(){r.debug("Render pending UI updates: start");q.sap.measure.start("renderPendingUIUpdates","Render pending UI updates in all UIAreas");var u=false,l=k.MAX_RENDERING_ITERATIONS>0,i=0;this._bRendering=true;do{if(l){i++;if(i>k.MAX_RENDERING_ITERATIONS){this._bRendering=false;throw new Error("Rendering has been re-started too many times ("+i+"). Add URL parameter sap-ui-xx-debugRendering=true for a detailed analysis.");}if(i>1){r.debug("Render pending UI updates: iteration "+i);}}if(this._sRerenderTimer){q.sap.clearDelayedCall(this._sRerenderTimer);this._sRerenderTimer=undefined;}var m=this.mUIAreas;for(var I in m){u=m[I].rerender()||u;}}while(l&&this._sRerenderTimer);this._bRendering=false;if(u){this.fireUIUpdated();}r.debug("Render pending UI updates: finished");q.sap.measure.end("renderPendingUIUpdates");};k.prototype.getUIDirty=function(){return!!(this._sRerenderTimer||this._bRendering);};k.prototype.attachUIUpdated=function(f,l){_.attachEvent(k.M_EVENTS.UIUpdated,f,l);};k.prototype.detachUIUpdated=function(f,l){_.detachEvent(k.M_EVENTS.UIUpdated,f,l);};k.prototype.fireUIUpdated=function(p){_.fireEvent(k.M_EVENTS.UIUpdated,p);};k.prototype.attachThemeChanged=function(f,l){_.attachEvent(k.M_EVENTS.ThemeChanged,f,l);};k.prototype.detachThemeChanged=function(f,l){_.detachEvent(k.M_EVENTS.ThemeChanged,f,l);};k.prototype.fireThemeChanged=function(p){q.sap.scrollbarSize(true);var P=sap.ui.require("sap/ui/core/theming/Parameters");if(P){P.reset(true);}var s=k.M_EVENTS.ThemeChanged;var o=q.Event(s);o.theme=p?p.theme:null;q.each(this.mElements,function(i,b){b._handleEvent(o);});q.sap.act.refresh();_.fireEvent(s,p);};k.prototype.attachLocalizationChanged=function(f,l){_.attachEvent(k.M_EVENTS.LocalizationChanged,f,l);};k.prototype.detachLocalizationChanged=function(f,l){_.detachEvent(k.M_EVENTS.LocalizationChanged,f,l);};k.prototype.fireLocalizationChanged=function(m){var s=k.M_EVENTS.LocalizationChanged,b=q.Event(s,{changes:m}),A=sap.ui.base.ManagedObject._handleLocalizationChange,f=[];q.each(m,function(i,v){f.push(i);});q.sap.log.info("localization settings changed: "+f.join(","),null,"sap.ui.core.Core");q.each(this.oModels,function(N,o){if(o&&o._handleLocalizationChange){o._handleLocalizationChange();}});function n(p){q.each(this.mUIAreas,function(){A.call(this,p);});q.each(this.mObjects["component"],function(){A.call(this,p);});q.each(this.mElements,function(){A.call(this,p);});}n.call(this,1);n.call(this,2);if(m.rtl!=undefined){q(document.documentElement).attr("dir",m.rtl?"rtl":"ltr");this._updateThemeUrls(this.sTheme);q.each(this.mUIAreas,function(){this.invalidate();});q.sap.log.info("RTL mode "+m.rtl?"activated":"deactivated");}q.each(this.mElements,function(i,o){this._handleEvent(b);});_.fireEvent(s,{changes:m});};k.prototype.attachLibraryChanged=function(f,l){_.attachEvent(k.M_EVENTS.LibraryChanged,f,l);};k.prototype.detachLibraryChanged=function(f,l){_.detachEvent(k.M_EVENTS.LibraryChanged,f,l);};k.prototype.fireLibraryChanged=function(p){_.fireEvent(k.M_EVENTS.LibraryChanged,p);};k.prototype.applyChanges=function(){this.renderPendingUIUpdates();};k.prototype.registerElementClass=function(m){var n=m.getName(),l=m.getLibraryName()||"",o=this.mLibraries[l],s=d.prototype.isPrototypeOf(m.getClass().prototype)?'controls':'elements';if(!o){q.sap.getObject(l,0);o=this.mLibraries[l]={name:l,dependencies:[],types:[],interfaces:[],controls:[],elements:[]};}if(q.inArray(n,o[s])<0){o[s].push(n);q.sap.log.debug("Class "+m.getName()+" registered for library "+m.getLibraryName());this.fireLibraryChanged({name:m.getName(),stereotype:m.getStereotype(),operation:"add",metadata:m});}};k.prototype.registerElement=function(o){var b=this.byId(o.getId());if(b&&b!==o){if(b._sapui_candidateForDestroy){q.sap.log.debug("destroying dangling template "+b+" when creating new object with same ID");b.destroy();b=null;}}if(b&&b!==o){if(this.oConfiguration.getNoDuplicateIds()){q.sap.log.error("adding element with duplicate id '"+o.getId()+"'");throw new Error("Error: adding element with duplicate id '"+o.getId()+"'");}else{q.sap.log.warning("adding element with duplicate id '"+o.getId()+"'");}}this.mElements[o.getId()]=o;};k.prototype.deregisterElement=function(o){delete this.mElements[o.getId()];};k.prototype.registerObject=function(o){var i=o.getId(),t=o.getMetadata().getStereotype(),b=this.getObject(t,i);if(b&&b!==o){q.sap.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;};k.prototype.deregisterObject=function(o){var i=o.getId(),t=o.getMetadata().getStereotype();delete this.mObjects[t][i];};k.prototype.byId=function(i){return i==null?undefined:this.mElements[i];};k.prototype.getControl=k.prototype.byId;k.prototype.getElementById=k.prototype.byId;k.prototype.getObject=function(t,i){return i==null?undefined:this.mObjects[t]&&this.mObjects[t][i];};k.prototype.getComponent=function(i){return this.getObject("component",i);};k.prototype.getTemplate=function(i){q.sap.require("sap.ui.core.tmpl.Template");return sap.ui.core.tmpl.Template.byId(i);};k.prototype.getStaticAreaRef=function(){var s=q.sap.domById(S);if(!s){if(!this.bDomReady){throw new Error("DOM is not ready yet. Static UIArea cannot be created.");}var A={id:S};if(q("body").attr("role")!="application"){A.role="application";}var l=this.getConfiguration().getRTL()?"right":"left";s=q("<DIV/>",A).css({"height":"0","width":"0","overflow":"hidden","float":l}).prependTo(document.body)[0];this.createUIArea(s).bInitial=false;}return s;};k.prototype.isStaticAreaRef=function(o){return o&&(o.id===S);};k._I_INTERVAL=200;h.prototype.I_INTERVAL=k._I_INTERVAL;k.prototype.attachIntervalTimer=function(f,l){if(!this.oTimedTrigger){q.sap.require("sap.ui.core.IntervalTrigger");this.oTimedTrigger=new sap.ui.core.IntervalTrigger(k._I_INTERVAL);}this.oTimedTrigger.addListener(f,l);};k.prototype.detachIntervalTimer=function(f,l){if(this.oTimedTrigger){this.oTimedTrigger.removeListener(f,l);}};k.prototype.attachControlEvent=function(f,l){_.attachEvent(k.M_EVENTS.ControlEvent,f,l);};k.prototype.detachControlEvent=function(f,l){_.detachEvent(k.M_EVENTS.ControlEvent,f,l);};k.prototype.fireControlEvent=function(p){_.fireEvent(k.M_EVENTS.ControlEvent,p);};k.prototype._handleControlEvent=function(o,u){var b=q.Event(o.type);q.extend(b,o);b.originalEvent=undefined;this.fireControlEvent({"browserEvent":b,"uiArea":u});};k.prototype.getApplication=function(){return sap.ui.getApplication&&sap.ui.getApplication();};k.prototype.registerPlugin=function(p){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);}};k.prototype.unregisterPlugin=function(p){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);};k.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);}}};k.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);}}};k.prototype.setModel=function(m,n){if(!m&&this.oModels[n]){delete this.oModels[n];q.each(this.mUIAreas,function(i,u){delete u.oPropagatedProperties.oModels[n];u.propagateProperties(n);});}else if(m&&m!==this.oModels[n]){this.oModels[n]=m;q.each(this.mUIAreas,function(i,u){u.oPropagatedProperties.oModels[n]=m;u.propagateProperties(n);});}return this;};k.prototype.setMessageManager=function(m){this.oMessageManager=m;};k.prototype.getMessageManager=function(){if(!this.oMessageManager){this.oMessageManager=new M();}return this.oMessageManager;};k.prototype.byFieldGroupId=function(f){var b=[];for(var n in this.mElements){var o=this.mElements[n];if(o instanceof d&&o.checkFieldGroupIds(f)){b.push(o);}}return b;};k.prototype.getModel=function(n){return this.oModels[n];};k.prototype.hasModel=function(){return!q.isEmptyObject(this.oModels);};k.prototype.getEventBus=function(){if(!this.oEventBus){q.sap.require("sap.ui.core.EventBus");this.oEventBus=new sap.ui.core.EventBus();}return this.oEventBus;};k.prototype.attachValidationError=function(o,f,l){if(typeof(o)==="function"){l=f;f=o;o=undefined;}_.attachEvent(k.M_EVENTS.ValidationError,o,f,l);return this;};k.prototype.detachValidationError=function(f,l){_.detachEvent(k.M_EVENTS.ValidationError,f,l);return this;};k.prototype.attachParseError=function(o,f,l){if(typeof(o)==="function"){l=f;f=o;o=undefined;}_.attachEvent(k.M_EVENTS.ParseError,o,f,l);return this;};k.prototype.detachParseError=function(f,l){_.detachEvent(k.M_EVENTS.ParseError,f,l);return this;};k.prototype.attachFormatError=function(o,f,l){if(typeof(o)==="function"){l=f;f=o;o=undefined;}_.attachEvent(k.M_EVENTS.FormatError,o,f,l);return this;};k.prototype.detachFormatError=function(f,l){_.detachEvent(k.M_EVENTS.FormatError,f,l);return this;};k.prototype.attachValidationSuccess=function(o,f,l){if(typeof(o)==="function"){l=f;f=o;o=undefined;}_.attachEvent(k.M_EVENTS.ValidationSuccess,o,f,l);return this;};k.prototype.detachValidationSuccess=function(f,l){_.detachEvent(k.M_EVENTS.ValidationSuccess,f,l);return this;};k.prototype.fireParseError=function(A){_.fireEvent(k.M_EVENTS.ParseError,A);return this;};k.prototype.fireValidationError=function(A){_.fireEvent(k.M_EVENTS.ValidationError,A);return this;};k.prototype.fireFormatError=function(A){_.fireEvent(k.M_EVENTS.FormatError,A);return this;};k.prototype.fireValidationSuccess=function(A){_.fireEvent(k.M_EVENTS.ValidationSuccess,A);return this;};k.prototype.isMobile=function(){return D.browser.mobile;};k.prototype._getEventProvider=function(){return _;};k.prototype.destroy=function(){this._oFocusHandler.destroy();_.destroy();B.prototype.destroy.call(this);};sap.ui.setRoot=function(o,b){sap.ui.getCore().setRoot(o,b);};return new k().getInterface();});sap.ui.predefine('sap/ui/core/CustomStyleClassSupport',['jquery.sap.global','./Element'],function(q,E){"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();}return c;};this.addStyleClass=function(s,S){if(!this.aCustomStyleClasses){this.aCustomStyleClasses=[];}if(s){if(s.indexOf("\"")>-1){return this;}if(s.indexOf("'")>-1){return this;}for(var i=this.aCustomStyleClasses.length-1;i>=0;i--){if(this.aCustomStyleClasses[i]==s){return this;}}this.aCustomStyleClasses.push(s);var r=this.getDomRef();if(r){q(r).addClass(s);}else if(S===false){this.invalidate();}}return this;};this.removeStyleClass=function(s,S){if(s&&this.aCustomStyleClasses){for(var i=this.aCustomStyleClasses.length-1;i>=0;i--){if(this.aCustomStyleClasses[i]==s){this.aCustomStyleClasses.splice(i,1);var r=this.getDomRef();if(r){q(r).removeClass(s);}else if(S===false){this.invalidate();}}}}return this;};this.toggleStyleClass=function(s,a){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{q.sap.log.warning(this.toString()+"- toggleStyleClass(): bAdd should be a boolean or undefined, but is '"+a+"'");}}return this;};this.hasStyleClass=function(s){if(s&&this.aCustomStyleClasses){for(var i=this.aCustomStyleClasses.length-1;i>=0;i--){if(this.aCustomStyleClasses[i]==s){return true;}}}return false;};this.getMetadata().addPublicMethods(["addStyleClass","removeStyleClass","toggleStyleClass","hasStyleClass"]);};return C;},true);sap.ui.predefine('sap/ui/core/Element',['jquery.sap.global','../base/Object','../base/ManagedObject','./ElementMetadata','jquery.sap.strings','jquery.sap.trace'],function(q,B,M,E){"use strict";var a=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.Control",multiple:true}}},constructor:function(i,s){M.apply(this,arguments);},renderer:null},E);a.defineClass=function(c,s,m){return B.defineClass(c,s,m||E);};a.prototype.getInterface=function(){return this;};a.prototype._handleEvent=function(e){var h="on"+e.type;this._callEventHandles(this.aBeforeDelegates.slice(0),h,e,true);this._callEventHandles([this],h,e);this._callEventHandles(this.aDelegates.slice(0),h,e,true);};a.prototype._callEventHandles=function(h,H,e,d){if(h.length>0){for(var i=0;i<h.length;i++){if(e.isImmediateHandlerPropagationStopped()){break;}var o=d?h[i].oDelegate:h[i];var t=(d&&h[i].vThis)?h[i].vThis:o;if(t===true){t=this;}if(o[H]){o[H].call(t,e);}}}};a.create=function(d,k){if(!d||d instanceof a||typeof d!=="object"||d instanceof String){return d;}function g(t){if(typeof t==="function"){return t;}if(typeof t==="string"){return q.sap.getObject(t);}}var c=g(d.Type)||g(k&&k.type);if(typeof c==="function"){return new c(d);}var m="Don't know how to create an Element from "+d+" ("+(typeof d)+")";q.sap.log.fatal(m);throw new Error(m);};a.prototype.toString=function(){if(this.getMetadata){return"Element "+this.getMetadata().getName()+"#"+this.sId;}else{return"Element {unknown class}#"+this.sId;}};a.prototype.getDomRef=function(s){return q.sap.domById(s?this.getId()+"-"+s:this.getId());};a.prototype.$=function(s){return q(this.getDomRef(s));};a.prototype.isActive=function(){return this.oParent&&this.oParent.isActive();};a.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;}}};a.prototype.insertDependent=function(c,i){return this.insertAggregation("dependents",c,i,true);};a.prototype.addDependent=function(c){return this.addAggregation("dependents",c,true);};a.prototype.removeDependent=function(c){return this.removeAggregation("dependents",c,true);};a.prototype.removeAllDependents=function(){return this.removeAllAggregation("dependents",true);};a.prototype.destroyDependents=function(){return this.destroyAggregation("dependents",true);};a.prototype.rerender=function(){if(this.oParent){this.oParent.rerender();}};a.prototype.getUIArea=function(){return this.oParent?this.oParent.getUIArea():null;};a.prototype.destroy=function(s){a._updateFocusInfo(this);M.prototype.destroy.call(this,s);if(s!=="KeepDom"){this.$().remove();}else{q.sap.log.debug("DOM is not removed on destroy of "+this);}};a.prototype.fireEvent=function(e,p){if(this.hasListeners(e)){q.sap.interaction.notifyStepStart(this);}var A=Array.prototype.slice.apply(arguments);A[1]=p=p||{};p.id=p.id||this.getId();return M.prototype.fireEvent.apply(this,A);};a.prototype.addDelegate=function(d,c,t,C){if(!d){return this;}this.removeDelegate(d);if(typeof c==="object"){C=t;t=c;c=false;}if(typeof t==="boolean"){C=t;t=undefined;}(c?this.aBeforeDelegates:this.aDelegates).push({oDelegate:d,bClone:!!C,vThis:((t===this)?true:t)});return this;};a.prototype.removeDelegate=function(d){var i;for(i=0;i<this.aDelegates.length;i++){if(this.aDelegates[i].oDelegate==d){this.aDelegates.splice(i,1);i--;}}for(i=0;i<this.aBeforeDelegates.length;i++){if(this.aBeforeDelegates[i].oDelegate==d){this.aBeforeDelegates.splice(i,1);i--;}}return this;};a.prototype.addEventDelegate=function(d,t){return this.addDelegate(d,false,t,true);};a.prototype.removeEventDelegate=function(d){return this.removeDelegate(d);};a.prototype.getFocusDomRef=function(){return this.getDomRef()||null;};a.prototype.focus=function(){q.sap.focus(this.getFocusDomRef());};a.prototype.getFocusInfo=function(){return{id:this.getId()};};a.prototype.applyFocusInfo=function(f){this.focus();return this;};a.prototype._refreshTooltipBaseDelegate=function(t){var o=this.getTooltip();if(o instanceof sap.ui.core.TooltipBase){this.removeDelegate(o);}if(t instanceof sap.ui.core.TooltipBase){t._currentControl=this;this.addDelegate(t);}};a.prototype.setTooltip=function(t){this._refreshTooltipBaseDelegate(t);this.setAggregation("tooltip",t);return this;};a.prototype.getTooltip=function(){return this.getAggregation("tooltip");};a.runWithPreprocessors=M.runWithPreprocessors;a.prototype.getTooltip_AsString=function(){var t=this.getTooltip();if(typeof t==="string"||t instanceof String){return t;}return undefined;};a.prototype.getTooltip_Text=function(){var t=this.getTooltip();if(t&&typeof t.getText==="function"){return t.getText();}return t;};(function(){var g=function(e,k){var d=e.getAggregation("customData");if(d){for(var i=0;i<d.length;i++){if(d[i].getKey()==k){return d[i];}}}return null;};var s=function(e,k,v,w){if(v===null){var d=g(e,k);if(!d){return;}var b=e.getAggregation("customData").length;if(b==1){e.destroyAggregation("customData",true);}else{e.removeAggregation("customData",d,true);d.destroy();}}else{var d=g(e,k);if(d){d.setValue(v);d.setWriteToDom(w);}else{var d=new sap.ui.core.CustomData({key:k,value:v,writeToDom:w});e.addAggregation("customData",d,true);}}};a.prototype.data=function(){var b=arguments.length;if(b==0){var d=this.getAggregation("customData"),r={};if(d){for(var i=0;i<d.length;i++){r[d[i].getKey()]=d[i].getValue();}}return r;}else if(b==1){var c=arguments[0];if(c===null){this.destroyAggregation("customData",true);return this;}else if(typeof c=="string"){var e=g(this,c);return e?e.getValue():null;}else if(typeof c=="object"){for(var k in c){s(this,k,c[k]);}return this;}else{throw new Error("When data() is called with one argument, this argument must be a string, an object or null, but is "+(typeof c)+":"+c+" (on UI Element with ID '"+this.getId()+"')");}}else if(b==2){s(this,arguments[0],arguments[1]);return this;}else if(b==3){s(this,arguments[0],arguments[1],arguments[2]);return this;}else{throw new Error("data() may only be called with 0-3 arguments (on UI Element with ID '"+this.getId()+"')");}};})();a.prototype.clone=function(I,l){var c=M.prototype.clone.apply(this,arguments);for(var i=0;i<this.aDelegates.length;i++){if(this.aDelegates[i].bClone){c.aDelegates.push(this.aDelegates[i]);}}for(var i=0;i<this.aBeforeDelegates.length;i++){if(this.aBeforeDelegates[i].bClone){c.aBeforeDelegates.push(this.aBeforeDelegates[i]);}}return c;};a.prototype.findElements=function(r){var c=M.prototype.findAggregatedObjects.call(this,r);return c;};a.prototype.setLayoutData=function(l){this.setAggregation("layoutData",l,true);var L=this.getParent();if(L){var e=q.Event("LayoutDataChange");e.srcControl=this;L._handleEvent(e);}return this;};a.prototype.bindElement=function(p,P){return this.bindObject(p,P);};a.prototype.unbindElement=function(m){return this.unbindObject(m);};a.prototype.getElementBinding=function(m){return this.getObjectBinding(m);};return a;});sap.ui.predefine('sap/ui/core/ElementMetadata',['jquery.sap.global','sap/ui/base/ManagedObjectMetadata'],function(q,M){"use strict";var E=function(c,C){M.apply(this,arguments);};E.prototype=q.sap.newObject(M.prototype);E.uid=M.uid;E.prototype.getElementName=function(){return this._sClassName;};E.prototype.getRendererName=function(){return this._sRendererName;};E.prototype.getRenderer=function(){var r=this.getRendererName();if(!r){return;}var R=q.sap.getObject(r);if(R){return R;}q.sap.require(r);return q.sap.getObject(r);};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);this._sRendererName=this.getName()+"Renderer";if(typeof r!=="undefined"){if(typeof r==="string"){this._sRendererName=r||undefined;return;}if(typeof r==="function"){r={render:r};}var p=this.getParent();var b;if(p&&p instanceof E){b=p.getRenderer();}if(!b){q.sap.require("sap.ui.core.Renderer");b=sap.ui.require('sap/ui/core/Renderer');}var R=q.sap.newObject(b);q.extend(R,r);q.sap.setObject(this.getRendererName(),R);}if(typeof s["designTime"]==="boolean"){this._bHasDesignTime=s["designTime"];}else if(s["designTime"]){this._bHasDesignTime=true;this._oDesignTime=s["designTime"];}};E.prototype.afterApplySettings=function(){M.prototype.afterApplySettings.apply(this,arguments);this.register&&this.register(this);};E.prototype.isHidden=function(){return this._sVisibility==="hidden";};E.prototype.getDesignTime=function(){if(!this._oDesignTime&&this._bHasDesignTime){q.sap.require({modName:this.getElementName(),type:"designtime"});this._oDesignTime=q.sap.getObject(this.getElementName()+".designtime");}return this._oDesignTime;};E.prototype.loadDesignTime=function(){var t=this;return new Promise(function(r,R){if(!t._oDesignTime&&t._bHasDesignTime){var m=q.sap.getResourceName(t.getElementName(),".designtime");sap.ui.require([m],function(d){t._oDesignTime=d;r(d);});}else{r(t._oDesignTime);}});};return E;},true);sap.ui.predefine('sap/ui/core/FocusHandler',['jquery.sap.global','../Device','../base/Object','jquery.sap.script'],function(q,D,B){"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.fEventHandler=q.proxy(this.onEvent,this);if(r.addEventListener&&!D.browser.internet_explorer){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);}q.sap.log.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")||(D.browser.internet_explorer&&D.browser.version==8&&document.hasFocus())){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 C=this.oCore.byId(c);if(C){return{id:c,control:C,info:C.getFocusInfo(),type:C.getMetadata().getName(),focusref:C.getFocusDomRef()};}return null;};F.prototype.updateControlFocusInfo=function(c){if(c&&this.oLastFocusedControlInfo&&this.oLastFocusedControlInfo.control===c){var C=c.getId();this.oLastFocusedControlInfo=this.getControlFocusInfo(C);q.sap.log.debug("Update focus info of control "+C,null,"sap.ui.core.FocusHandler");}};F.prototype.restoreFocus=function(c){var i=c||this.oLastFocusedControlInfo;if(!i){return;}var C=this.oCore.byId(i.id);if(C&&i.info&&C.getMetadata().getName()==i.type&&C.getFocusDomRef()!=i.focusref&&(c||C!==i.control)){q.sap.log.debug("Apply focus info of control "+i.id,null,"sap.ui.core.FocusHandler");i.control=C;this.oLastFocusedControlInfo=i;C.applyFocusInfo(i.info);}else{q.sap.log.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.internet_explorer){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);q.sap.log.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 C=this.oCore.byId(c);if(C){this.oLastFocusedControlInfo=this.getControlFocusInfo(c);q.sap.log.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;q.sap.delayedCall(0,this,"checkForLostFocus");};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,C){var o=c?sap.ui.getCore().byId(c):null;if(o){var R=r?sap.ui.getCore().byId(r):null;var e=q.Event("sapfocusleave");e.target=o.getDomRef();e.relatedControlId=R?R.getId():null;e.relatedControlFocusInfo=R?R.getFocusInfo():null;var a=o.getUIArea();var u=null;if(a){u=C.getUIArea(a.getId());}else{var p=sap.ui.getCore().getStaticAreaRef();if(q.sap.containsOrEquals(p,e.target)){u=C.getUIArea(p.id);}}if(u){u._handleEvent(e);}}};return F;});sap.ui.predefine('sap/ui/core/LabelEnablement',['jquery.sap.global','../base/ManagedObject'],function(q,M){"use strict";var C={};function t(i,I){if(!i){return null;}var o=sap.ui.getCore().byId(i);if(o&&I&&(!(o instanceof sap.ui.core.Control)||o.getDomRef())){o.invalidate();}return o;}function r(l,d){var s=l.getId();var o=l.__sLabeledControl;var n=d?null:l.getLabelForRendering();if(o==n){return;}if(!d){l.invalidate();}if(n){l.__sLabeledControl=n;}else{delete l.__sLabeledControl;}var a;if(o){a=C[o];if(a){a=q.grep(a,function(b){return b!=s;});if(a.length){C[o]=a;}else{delete C[o];}}}if(n){a=C[n]||[];a.push(s);C[n]=a;}t(o,true);t(n,true);}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'");}}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){R.writeAttributeEscaped("for",s);}};L.getReferencingLabels=function(e){var i=e?e.getId():null;if(!i){return[];}return C[i]||[];};L.isRequired=function(e){function a(E){return!!(E&&E.getMetadata().getProperty("required")&&E.getRequired());}if(a(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(a(o)){return true;}}return false;};L.enrich=function(o){c(o);o.__orig_setLabelFor=o.setLabelFor;o.setLabelFor=function(i){var a=this.__orig_setLabelFor.apply(this,arguments);r(this);return a;};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"){return this;}this._sAlternativeId=i;r(this);return this;};o.getLabelForRendering=function(){return this.getLabelFor()||this._sAlternativeId;};if(!o.getMetadata().getProperty("required")){return;}o.__orig_setRequired=o.setRequired;o.setRequired=function(i){var a=this.__orig_setRequired.apply(this,arguments);t(this.__sLabeledControl,true);return a;};};return L;},true);sap.ui.predefine('sap/ui/core/Locale',['jquery.sap.global','sap/ui/base/Object'],function(q,B){"use strict";var a=/^((?:[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=a.exec(l.replace(/_/g,"-"));if(r===null){throw"The given language 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]||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){return q.inArray(s,this.getPrivateUseSubtags())>=0;},toString:function(){var r=[this.sLanguage];if(this.sScript){r.push(this.sScript);}if(this.sRegion){r.push(this.sRegion);}if(this.sVariant){r.push(this.sVariant);}if(this.sExtension){r.push(this.sExtension);}if(this.sPrivateUse){r.push(this.sPrivateUse);}return r.join("-");},getSAPLogonLanguage:function(){var l=this.sLanguage||"",m;if(l.indexOf("-")>=0){l=l.slice(0,l.indexOf("-"));}l=M[l]||l;if(l==="zh"){if(this.sScript==="Hant"||(!this.sScript&&this.sRegion==="TW")){l="zf";}}if(this.sPrivateUse&&(m=/-(saptrc|sappsd)(?:-|$)/i.exec(this.sPrivateUse))){l=(m[1].toLowerCase()==="saptrc")?"1Q":"2Q";}return l.toUpperCase();}});var M={"iw":"he","ji":"yi","in":"id","sh":"sr"};function g(v){var m=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(v);return(m&&m[2])?m[2].split(/,/):null;}var A=g("$cldr-rtl-locales:ar,fa,he$")||[];L._cldrLocales=g("$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,ko,lt,lv,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$");L._coreI18nLocales=g("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$");L._impliesRTL=function(l){var o=new L(l);l=o.getLanguage()||"";l=(l&&M[l])||l;var r=o.getRegion()||"";if(r&&q.inArray(l+"_"+r,A)>=0){return true;}return q.inArray(l,A)>=0;};return L;});sap.ui.predefine('sap/ui/core/RenderManager',['jquery.sap.global','../base/Interface','../base/Object','sap/ui/core/LabelEnablement','jquery.sap.act','jquery.sap.encoder','jquery.sap.dom','jquery.sap.trace'],function(q,I,B,L){"use strict";var c=["renderControl","write","writeEscaped","translate","writeAcceleratorKey","writeControlData","writeInvisiblePlaceholderData","writeElementData","writeAttribute","writeAttributeEscaped","addClass","writeClasses","addStyle","writeStyles","writeAccessibilityState","writeIcon","getConfiguration","getHTML","cleanupControlWithoutRendering"];var N=["render","flush","destroy"];var R=B.extend("sap.ui.core.RenderManager",{constructor:function(){B.apply(this,arguments);this.aBuffer=[];this.aRenderedControls=[];this.aStyleStack=[{}];},metadata:{publicMethods:c.concat(N)}});R.prototype.getRendererInterface=function(){var i=new I(this,c);this.getRendererInterface=q.sap.getter(i);return i;};R.prototype.destroy=function(){this.aBuffer=[];this.aRenderedControls=[];this.aStyleStack=[{}];};R.prototype.getConfiguration=function(){return sap.ui.getCore().getConfiguration();};R.prototype.getRenderer=function(C){return R.getRenderer(C);};R.prototype._setFocusHandler=function(f){this.oFocusHandler=f;};var t=function(r,C){r._bLocked=true;try{var e=q.Event("BeforeRendering");e.srcControl=C;C._handleEvent(e);}finally{r._bLocked=false;}};R.prototype.cleanupControlWithoutRendering=function(C){if(!C||!C.getDomRef()){return;}t(this,C);C.bOutput=false;};R.prototype.renderControl=function(C){if(!C){return;}if(!this.aRenderStack){this.aRenderStack=[];}if(this.aRenderStack&&this.aRenderStack.length>0){q.sap.measure.pause(this.aRenderStack[0]+"---renderControl");}else if(C.getParent()&&C.getParent().getMetadata().getName()=="sap.ui.core.UIArea"){q.sap.measure.pause(C.getParent().getId()+"---rerender");}this.aRenderStack.unshift(C.getId());q.sap.measure.start(C.getId()+"---renderControl","Rendering of "+C.getMetadata().getName(),["rendering","control"]);var b=this.aBuffer.length;var o={};if(C.aCustomStyleClasses&&C.aCustomStyleClasses.length>0){o.aCustomStyleClasses=C.aCustomStyleClasses;}this.aStyleStack.push(o);q.sap.measure.pause(C.getId()+"---renderControl");var r;var m=C.getMetadata();var v=C.getVisible();if(v){r=m.getRenderer();}else{var V=m.getProperty("visible");var u=V&&V._oParent&&V._oParent.getName()=="sap.ui.core.Control";r=u?a:m.getRenderer();}q.sap.measure.resume(C.getId()+"---renderControl");t(this,C);var d=C.aBindParameters;if(d&&d.length>0){var D=q(C.getDomRef());if(D&&D[0]){for(var i=0;i<d.length;i++){var p=d[i];D.unbind(p.sEventType,p.fnProxy);}}}if(r&&typeof r.render==="function"){r.render(this.getRendererInterface(),C);}else{q.sap.log.error("The renderer for class "+m.getName()+" is not defined or does not define a render function! Rendering of "+C.getId()+" will be skipped!");}this.aStyleStack.pop();this.aRenderedControls.push(C);if(C.getUIArea&&C.getUIArea()){C.getUIArea()._onControlRendered(C);}C.bOutput=this.aBuffer.length!=b;if(r===a){C.bOutput="invisible";}q.sap.measure.end(C.getId()+"---renderControl");this.aRenderStack.shift();if(this.aRenderStack&&this.aRenderStack.length>0){q.sap.measure.resume(this.aRenderStack[0]+"---renderControl");}else if(C.getParent()&&C.getParent().getMetadata().getName()=="sap.ui.core.UIArea"){q.sap.measure.resume(C.getParent().getId()+"---rerender");}};R.prototype.getHTML=function(C){var b=this.aBuffer;var r=this.aBuffer=[];this.renderControl(C);this.aBuffer=b;return r.join("");};(function(){var f=function(r,b,s){var i,d=b.length;for(i=0;i<d;i++){b[i]._sapui_bInAfterRenderingPhase=true;}r._bLocked=true;try{for(i=0;i<d;i++){var C=b[i];if(C.bOutput&&C.bOutput!=="invisible"){var E=q.Event("AfterRendering");E.srcControl=C;q.sap.measure.start(C.getId()+"---AfterRendering","AfterRendering of "+C.getMetadata().getName(),["rendering","after"]);C._handleEvent(E);q.sap.measure.end(C.getId()+"---AfterRendering");}}}finally{for(i=0;i<d;i++){delete b[i]._sapui_bInAfterRenderingPhase;}r._bLocked=false;}try{r.oFocusHandler.restoreFocus(s);}catch(e){q.sap.log.warning("Problems while restoring the focus after rendering: "+e,null,r);}for(i=0;i<d;i++){var C=b[i],g=C.aBindParameters;if(g&&g.length>0){var D=q(C.getDomRef());if(D&&D[0]){for(var j=0;j<g.length;j++){var p=g[j];D.bind(p.sEventType,p.fnProxy);}}}}};R.prototype.flush=function(T,d,v){if(this.bRendererMode){q.sap.log.info("Flush must not be called from control renderers. Call ignored.",null,this);return;}if(!d&&(typeof v!=="number")&&!v){R.preserveContent(T);}var s=this.oFocusHandler?this.oFocusHandler.getControlFocusInfo():null;var h=this.aBuffer.join("");if(this._fPutIntoDom){this._fPutIntoDom(T,h);}else{for(var i=0;i<this.aRenderedControls.length;i++){var o=this.aRenderedControls[i].getDomRef();if(o&&!R.isPreservedContent(o)){if(R.isInlineTemplate(o)){q(o).empty();}else{q(o).remove();}}}if(typeof v==="number"){if(v<=0){q(T).prepend(h);}else{var $=q(T).children().eq(v-1);if($.length===1){$.after(h);}else{q(T).append(h);}}}else if(!v){q(T).html(h);}else{q(T).append(h);}}f(this,this.aRenderedControls,s);this.aRenderedControls=[];this.aBuffer=[];this.aStyleStack=[{}];q.sap.act.refresh();q.sap.interaction.notifyStepEnd();};R.prototype.render=function(C,T){if(this.bRendererMode){q.sap.log.info("Render must not be called from control renderers. Call ignored.",null,this);return;}if(this._bLocked){q.sap.log.error("Render must not be called within Before or After Rendering Phase. Call ignored.",null,this);return;}this.aRenderedControls=[];this.aBuffer=[];this.aStyleStack=[{}];this.renderControl(C);this._fPutIntoDom=function(o,h){if(C&&T){var b=C.getDomRef();if(R.isPreservedContent(b)){b=q.sap.byId(sap.ui.core.RenderPrefixes.Dummy+C.getId())[0]||b;}if(!b){b=q.sap.domById(sap.ui.core.RenderPrefixes.Invisible+C.getId());}var n=b&&b.parentNode!=T;var A=function(){var j=q(T);if(T.innerHTML==""){j.html(h);}else{j.append(h);}};if(n){if(!R.isPreservedContent(b)){if(R.isInlineTemplate(b)){q(b).empty();}else{q(b).remove();}}if(h){A();}}else{if(h){if(b){if(R.isInlineTemplate(b)){q(b).html(h);}else if(this._isDomPathingEnabled()){q.sap.replaceDOM(b,h,true);}else{q(b).replaceWith(h);}}else{A();}}else{if(R.isInlineTemplate(b)){q(b).empty();}else{if(!C.getParent()||!C.getParent()._onChildRerenderedEmpty||!C.getParent()._onChildRerenderedEmpty(C,b)){q(b).remove();}}}}}};this.flush(T,true);this._fPutIntoDom=null;};}());R.getRenderer=function(C){return C.getMetadata().getRenderer();};R.forceRepaint=function(d){var D=typeof d=="string"?q.sap.domById(d):d;if(D){q.sap.log.debug("forcing a repaint for "+(D.id||String(D)));var o=D.style.display;var A=document.activeElement;D.style.display="none";D.offsetHeight;D.style.display=o;if(document.activeElement!==A){q.sap.focus(A);}}};R.createInvisiblePlaceholderId=function(e){return sap.ui.core.RenderPrefixes.Invisible+e.getId();};(function(){var b="sap-ui-preserve",d="sap-ui-static",A="data-sap-ui-preserve",e="data-sap-ui-area";function g(){var $=q.sap.byId(b);if($.length===0){$=q("<DIV/>",{"aria-hidden":"true",id:b}).addClass("sapUiHidden").addClass("sapUiForcedHidden").css("width","0").css("height","0").css("overflow","hidden").appendTo(document.body);}return $;}function m(n){q("<DIV/>",{id:sap.ui.core.RenderPrefixes.Dummy+n.id}).addClass("sapUiHidden").insertBefore(n);}R.preserveContent=function(r,p,P){sap.ui.getCore().getEventBus().publish("sap.ui","__preserveContent",{domNode:r});var $=g();function h(i){if(i.id===b||i.id===d){return;}if(i.hasAttribute(A)){if(i===r){m(i);}$.append(i);}else if(P&&i.id){R.markPreservableContent(q(i),i.id);$.append(i);return;}if(!i.hasAttribute(e)){var n=i.firstChild;while(n){i=n;n=n.nextSibling;if(i.nodeType===1){h(i);}}}}q.sap.measure.start(r.id+"---preserveContent","preserveContent for "+r.id,["rendering","preserve"]);if(p){h(r);}else{q(r).children().each(function(i,n){h(n);});}q.sap.measure.end(r.id+"---preserveContent");};R.findPreservedContent=function(i){var $=g(),h=$.children("["+A+"='"+i.replace(/(:|\.)/g,'\\$1')+"']");return h;};R.markPreservableContent=function($,i){$.attr(A,i);};R.isPreservedContent=function(D){return(D&&D.getAttribute(A)&&D.parentNode&&D.parentNode.id==b);};R.getPreserveAreaRef=function(){return g()[0];};var f="data-sap-ui-template";R.markInlineTemplate=function($){$.attr(f,"");};R.isInlineTemplate=function(D){return(D&&D.hasAttribute(f));};}());R.prototype.write=function(T){this.aBuffer.push.apply(this.aBuffer,arguments);return this;};R.prototype.writeEscaped=function(T,l){T=q.sap.encodeHTML(T);if(l){T=T.replace(/&#xa;/g,"<br>");}this.aBuffer.push(T);return this;};R.prototype.translate=function(k){};R.prototype.writeAcceleratorKey=function(){return this;};R.prototype.addStyle=function(n,v){if(v!==undefined&&v!==null){var s=this.aStyleStack[this.aStyleStack.length-1];if(!s.aStyle){s.aStyle=[];}s.aStyle.push(n+":"+v);}return this;};R.prototype.writeStyles=function(){var s=this.aStyleStack[this.aStyleStack.length-1];if(s.aStyle){this.write(" style=\""+s.aStyle.join(";")+"\" ");}s.aStyle=null;return this;};R.prototype.addClass=function(n){if(n){var s=this.aStyleStack[this.aStyleStack.length-1];if(!s.aClasses){s.aClasses=[];}s.aClasses.push(n);}return this;};R.prototype.writeClasses=function(e){var s=this.aStyleStack[this.aStyleStack.length-1];var C;if(e){C=e.aCustomStyleClasses;}else if(e===false){C=[];}else{C=s.aCustomStyleClasses;}if(s.aClasses||C){var b=[].concat(s.aClasses||[],C||[]);b.sort();b=q.map(b,function(n,i){return(i==0||n!=b[i-1])?n:null;});this.write(" class=\"",b.join(" "),"\" ");}if(!e){s.aCustomStyleClasses=null;}s.aClasses=null;return this;};R.prototype.writeControlData=function(C){this.writeElementData(C);return this;};R.prototype.writeInvisiblePlaceholderData=function(e){var p=R.createInvisiblePlaceholderId(e),P=' '+'id="'+p+'" '+'class="sapUiHiddenPlaceholder" '+'data-sap-ui="'+p+'" '+'style="display: none;"'+'aria-hidden="true" ';this.write(P);return this;};R.prototype.writeElementData=function(e){var s=e.getId();if(s){this.writeAttribute("id",s).writeAttribute("data-sap-ui",s);}var d=e.getCustomData();var l=d.length;for(var i=0;i<l;i++){var C=d[i]._checkWriteToDom(e);if(C){this.writeAttributeEscaped(C.key,C.value);}}return this;};R.prototype.writeAttribute=function(n,v){this.write(" ",n,"=\"",v,"\"");return this;};R.prototype.writeAttributeEscaped=function(n,v){this.writeAttribute(n,q.sap.encodeHTML(String(v)));return this;};R.prototype.writeAccessibilityState=function(e,P){if(!sap.ui.getCore().getConfiguration().getAccessibility()){return this;}if(arguments.length==1&&!(e instanceof sap.ui.core.Element)){P=e;e=null;}var A={};if(e!=null){var m=e.getMetadata();var b=function(E,s,v){var o=m.getProperty(E);if(o&&e[o._sGetter]()===v){A[s]="true";}};var d=function(E,s){var o=m.getAssociation(E);if(o&&o.multiple){var k=e[o._sGetter]();if(E=="ariaLabelledBy"){var l=sap.ui.core.LabelEnablement.getReferencingLabels(e);var n=l.length;if(n){var F=[];for(var i=0;i<n;i++){if(q.inArray(l[i],k)<0){F.push(l[i]);}}k=F.concat(k);}}if(k.length>0){A[s]=k.join(" ");}}};b("editable","readonly",false);b("enabled","disabled",false);b("visible","hidden",false);if(sap.ui.core.LabelEnablement.isRequired(e)){A["required"]="true";}b("selected","selected",true);b("checked","checked",true);d("ariaDescribedBy","describedby");d("ariaLabelledBy","labelledby");}if(P){var f=function(v){var i=typeof(v);return v===null||v===""||i==="number"||i==="string"||i==="boolean";};var g={};var x,h,j;for(x in P){h=P[x];if(f(h)){g[x]=h;}else if(typeof(h)==="object"&&f(h.value)){j="";if(h.append&&(x==="describedby"||x==="labelledby")){j=A[x]?A[x]+" ":"";}g[x]=j+h.value;}}q.extend(A,g);}if(e instanceof sap.ui.core.Element&&e.getParent()&&e.getParent().enhanceAccessibilityState){e.getParent().enhanceAccessibilityState(e,A);}for(var p in A){if(A[p]!=null&&A[p]!==""){this.writeAttributeEscaped(p==="role"?p:"aria-"+p,A[p]);}}return this;};R.prototype.writeIcon=function(u,C,A){q.sap.require("sap.ui.core.IconPool");var i=sap.ui.core.IconPool.isIconURI(u),s=i?"<span ":"<img ",b,p,o,d;if(typeof C==="string"){C=[C];}if(i){o=sap.ui.core.IconPool.getIconInfo(u);if(!o){q.sap.log.error("An unregistered icon: "+u+" is used in sap.ui.core.RenderManager's writeIcon method.");return this;}if(!C){C=[];}C.push("sapUiIcon");if(!o.suppressMirroring){C.push("sapUiIconMirrorInRTL");}}this.write(s);if(q.isArray(C)&&C.length){b=C.join(" ");this.write("class=\""+b+"\" ");}if(i){d={"data-sap-ui-icon-content":o.content,"role":"presentation","aria-label":o.text||o.name,"title":o.text||o.name};this.write("style=\"font-family: "+o.fontFamily+";\" ");}else{d={role:"presentation",alt:"",src:u};}A=q.extend(d,A);if(typeof A==="object"){for(p in A){if(A.hasOwnProperty(p)&&A[p]!==null){this.writeAttributeEscaped(p,A[p]);}}}this.write(i?"></span>":"/>");return this;};R.prototype._isDomPathingEnabled=function(){if(this._bDomPathing===undefined){this._bDomPathing=this.getConfiguration().getDomPatching();if(this._bDomPathing){q.sap.log.warning("DOM Patching is enabled: This feature should be used only for the testing purposes!");}}return this._bDomPathing;};var a={render:function(r,C){r.write("<span");r.writeInvisiblePlaceholderData(C);r.write("></span>");}};return R;});sap.ui.predefine('sap/ui/core/ResizeHandler',['jquery.sap.global','sap/ui/base/Object','jquery.sap.act','jquery.sap.script'],function(q,B){"use strict";var l=q.sap.log.getLogger("sap.ui.core.ResizeHandler",q.sap.log.Level.ERROR);var c=null;var R=B.extend("sap.ui.core.ResizeHandler",{constructor:function(C){B.apply(this);c=C;this.aResizeListeners=[];this.bRegistered=false;this.iIdCounter=0;this.fDestroyHandler=q.proxy(this.destroy,this);q(window).bind("unload",this.fDestroyHandler);q.sap.act.attachActivate(i,this);}});function a(){if(this.bRegistered){this.bRegistered=false;sap.ui.getCore().detachIntervalTimer(this.checkSizes,this);}}function i(){if(!this.bRegistered&&this.aResizeListeners.length>0){this.bRegistered=true;sap.ui.getCore().attachIntervalTimer(this.checkSizes,this);}}R.prototype.destroy=function(e){q.sap.act.detachActivate(i,this);q(window).unbind("unload",this.fDestroyHandler);c=null;this.aResizeListeners=[];a.apply(this);};R.prototype.attachListener=function(r,h){var I=r instanceof sap.ui.core.Control,d=I?r.getDomRef():r,w=d?d.offsetWidth:0,H=d?d.offsetHeight:0,s="rs-"+new Date().valueOf()+"-"+this.iIdCounter++,b;if(I){b=("Control "+r.getId());}else if(r.id){b=r.id;}else{b=String(r);}this.aResizeListeners.push({sId:s,oDomRef:I?null:r,oControl:I?r:null,fHandler:h,iWidth:w,iHeight:H,dbg:b});l.debug("registered "+b);i.apply(this);return s;};R.prototype.detachListener=function(I){var t=this;q.each(this.aResizeListeners,function(b,r){if(r.sId==I){t.aResizeListeners.splice(b,1);l.debug("deregistered "+I);return false;}});if(this.aResizeListeners.length==0){a.apply(this);}};R.prototype.checkSizes=function(){var d=l.isLoggable();if(d){l.debug("checkSizes:");}q.each(this.aResizeListeners,function(b,r){if(r){var C=!!r.oControl,D=C?r.oControl.getDomRef():r.oDomRef;if(D&&q.contains(document.documentElement,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);}}}});if(R._keepActive!=true&&R._keepActive!=false){R._keepActive=false;}if(!q.sap.act.isActive()&&!R._keepActive){a.apply(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;}var I=[];q.each(c.oResizeHandler.aResizeListeners,function(b,r){if(r&&r.oControl&&r.oControl.getId()===C){I.push(r.sId);}});q.each(I,function(b,s){R.deregister(s);});};return R;});sap.ui.predefine('sap/ui/core/ThemeCheck',['jquery.sap.global','sap/ui/Device','sap/ui/base/Object','sap/ui/thirdparty/URI','jquery.sap.script'],function(q,D,B,U){"use strict";sap.ui._maxThemeCheckCycles=100;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._mAdditionalLibCss={};},getInterface:function(){return this;},fireThemeChangedEvent:function(o,f){c(this);var u=sap.ui._maxThemeCheckCycles>0;if(u||f){d.apply(this,[true]);}else{T.themeLoaded=true;}if(!o&&!this._sThemeCheckId){this._oCore.fireThemeChanged({theme:this._oCore.getConfiguration().getTheme()});}}});T.themeLoaded=false;T.checkStyle=function(s,l){if(typeof(s)==="string"){s=q.sap.domById(s);}var S=q(s);try{var r=!s||!!((s.sheet&&s.sheet.href===s.href&&s.sheet.cssRules&&s.sheet.cssRules.length>0)||!!(s.styleSheet&&s.styleSheet.href===s.href&&s.styleSheet.cssText&&s.styleSheet.cssText.length>0)||!!(s.innerHTML&&s.innerHTML.length>0));var f=S.attr("data-sap-ui-ready");f=!!(f==="true"||f==="false");if(l){q.sap.log.debug("ThemeCheck: Check styles '"+S.attr("id")+"': "+r+"/"+f+"/"+!!s);}return r||f;}catch(e){}if(l){q.sap.log.debug("ThemeCheck: Error during check styles '"+S.attr("id")+"': false/false/"+!!s);}return false;};function c(t){T.themeLoaded=false;if(t._sThemeCheckId){q.sap.clearDelayedCall(t._sThemeCheckId);t._sThemeCheckId=null;t._iCount=0;t._mAdditionalLibCss={};}}function a(t){var l=t._oCore.getLoadedLibraries();var s=t._oCore.getConfiguration().getTheme();var p=t._oCore._getThemePath("sap.ui.core",s)+"custom.css";var r=true;if(!!t._customCSSAdded&&t._themeCheckedForCustom===s){l[t._CUSTOMID]={};}function e(f){r=r&&T.checkStyle("sap-ui-theme-"+f,true);if(!!r){if(D.browser.msie&&D.browser.version<=9){var S=q.sap.domById("sap-ui-theme-"+f);var R=S&&S.sheet&&S.sheet.rules&&S.sheet.rules.length?S.sheet.rules.length:0;if(R===4095){var n=parseInt(q(S).attr("data-sap-ui-css-count"),10);if(isNaN(n)){n=1;}else{n+=1;}var A="ie9_"+n;var g=this.name+"-"+A;var L="sap-ui-theme-"+g;if(!t._mAdditionalLibCss[g]&&!q.sap.domById(L)){t._mAdditionalLibCss[g]={name:this.name};var o;if(f!==this.name){o=q.sap.domById("sap-ui-theme-"+this.name);}else{o=S;}var h=new U(o.getAttribute("href"));var i=h.suffix();var F=h.filename();if(i.length>0){i="."+i;F=F.slice(0,-i.length);}h.filename(F+"_"+A+i);var H=h.toString();var j=document.createElement("link");j.type="text/css";j.rel="stylesheet";j.href=H;j.id=L;q(j).attr("data-sap-ui-css-count",n).load(function(){q(j).attr("data-sap-ui-ready","true");}).error(function(){q(j).attr("data-sap-ui-ready","false");});S.parentNode.insertBefore(j,S.nextSibling);}}}if(t._themeCheckedForCustom!=s){if(b(t,f)){var C=p;var k=t._oCore._getLibraryCssQueryParams(l["sap.ui.core"]);if(k){C+=k;}q.sap.includeStyleSheet(C,t._CUSTOMID);t._customCSSAdded=true;q.sap.log.warning("ThemeCheck delivered custom CSS needs to be loaded, Theme not yet applied");t._themeCheckedForCustom=s;r=false;return false;}else{var m=q("LINK[id='"+t._CUSTOMID+"']");if(m.length>0){m.remove();q.sap.log.debug("Custom CSS removed");}t._customCSSAdded=false;}}}}q.each(l,e);q.each(t._mAdditionalLibCss,e);if(!r){q.sap.log.warning("ThemeCheck: Theme not yet applied.");}else{t._themeCheckedForCustom=s;}return r;}function b(t,l){var r=2,s=false,R=[];if(q.sap.domById("sap-ui-theme-"+l)){var e=q.sap.domById("sap-ui-theme-"+l);if(e.sheet&&e.sheet.cssRules){R=e.sheet.cssRules;}else if(e.styleSheet&&e.styleSheet.rules){R=e.styleSheet.rules;}}if(R.length==0){q.sap.log.warning("Custom check: Failed retrieving a CSS rule from stylesheet "+l);return false;}for(var i=0;(i<r&&i<R.length);i++){if(t._CUSTOMCSSCHECK.test(R[i].selectorText)){s=true;}}return s;}function d(f){this._iCount++;var e=this._iCount>sap.ui._maxThemeCheckCycles;if(!a(this)&&!e){this._sThemeCheckId=q.sap.delayedCall(2,this,d);}else if(!f){c(this);T.themeLoaded=true;this._oCore.fireThemeChanged({theme:this._oCore.getConfiguration().getTheme()});if(e){q.sap.log.warning("ThemeCheck: max. check cycles reached.");}}else{T.themeLoaded=true;}}return T;});sap.ui.predefine('sap/ui/core/UIArea',['jquery.sap.global','sap/ui/base/ManagedObject','./Element','./RenderManager','jquery.sap.act','jquery.sap.ui','jquery.sap.keycodes','jquery.sap.trace'],function(q,M,E,R){"use strict";var r=q.sap.log.getLogger("sap.ui.Rendering",((window["sap-ui-config"]&&window["sap-ui-config"]["xx-debugRendering"])||/sap-ui-xx-debug(R|-r)endering=(true|x|X)/.test(document.location.search))?q.sap.log.Level.DEBUG:Math.min(q.sap.log.Level.INFO,q.sap.log.getLevel())),d=function(c){return c;},D=q.noop,f=q.noop;if(r.isLoggable()){d=function(c){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:c,location:l};};D=function(t,c){var C=sap.ui.getCore(),m={},n,o;for(n in c){o=C.byId(n);m[n]={type:o?o.getMetadata().getName():(c[n].obj===t?"UIArea":"(no such control)"),location:c[n].location,reason:c[n].reason};}r.debug("  UIArea '"+t.getId()+"', pending updates: "+JSON.stringify(m,null,"\t"));};f=function(b,A){var n;for(n in A){if(b[n]!=null){if(b[n].obj!==A[n].obj){A[n].reason="replaced during rendering";}else{A[n].reason="invalidated again during rendering";}}else{A[n].reason="invalidated during rendering";}}};}var U=M.extend("sap.ui.core.UIArea",{constructor:function(c,o){if(arguments.length===0){return;}M.apply(this);this.oCore=c;this.bLocked=false;this.bInitial=true;this.aContentToRemove=[];this.bNeedsRerendering=false;if(o!=null){this.setRootNode(o);this.bNeedsRerendering=this.bNeedsRerendering&&!q.sap.domById(o.id+"-Init");}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}}}});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;}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 c=this.getContent();if(c.length>0){if(i>=0&&i<c.length){return c[i];}return c[0];}return null;};U.prototype._addRemovedContent=function(o){if(this.oRootNode&&o){this.aContentToRemove.push(o);}};U.prototype.addContent=function(c,_){this.addAggregation("content",c,_);if(_!==true){this.invalidate();}return this;};U.prototype.removeContent=function(c,_){var C=this.removeAggregation("content",c,_);if(!_){var o;if(C&&C.getDomRef){o=C.getDomRef();}this._addRemovedContent(o);}return C;};U.prototype.removeAllContent=function(){var c=this.removeAllAggregation("content");for(var i=0;i<c.length;i++){var o;var C=c[i];if(C&&C.getDomRef){o=C.getDomRef();}this._addRemovedContent(o);}return c;};U.prototype.destroyContent=function(){var c=this.getContent();for(var i=0;i<c.length;i++){var o;var C=c[i];if(C&&C.getDomRef){o=C.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 q.sap.domById(this.getId())!=null;};U.prototype.invalidate=function(){this.addInvalidatedControl(this);};U.prototype.addInvalidatedControl=function(c){if(this.bRenderSelf){return;}if(!this.bNeedsRerendering){this.oCore.addInvalidatedUIArea(this);}var i=c.getId();if(c===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(c);this.bNeedsRerendering=true;}};U.prototype.rerender=function(b){var t=this;function c(){t.bRenderSelf=false;t.aContentToRemove=[];t.mInvalidatedControls={};t.bNeedsRerendering=false;}if(b){this.bNeedsRerendering=true;}if(this.bLocked||!this.bNeedsRerendering){return false;}var g=this.bRenderSelf,C=this.aContentToRemove,I=this.mInvalidatedControls,u=false;c();q.sap.measure.pause("renderPendingUIUpdates");q.sap.measure.start(this.getId()+"---rerender","Rerendering of "+this.getMetadata().getName());D(this,I);if(g){if(this.oRootNode){r.debug("Full Rendering of UIArea '"+this.getId()+"'");R.preserveContent(this.oRootNode,false,this.bInitial);this.bInitial=false;var h=function(v,w){var l=v.length;var x;for(var i=0;i<l;i++){x=w?v[i].getDomRef():v[i];if(x&&!R.isPreservedContent(x)&&t.oRootNode===x.parentNode){q(x).remove();}}return l;};var F=document.activeElement;var s=this.oCore.oFocusHandler.getControlFocusInfo();h(C);var j=this.getContent();var l=h(j,true);var o=document.activeElement;for(var i=0;i<l;i++){if(j[i]&&j[i].getParent()===this){this.oCore.oRenderManager.render(j[i],this.oRootNode,true);}}u=true;if(F!=o&&o===document.activeElement){try{this.oCore.oFocusHandler.restoreFocus(s);}catch(e){q.sap.log.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 k=function(p){return!!(p.getMetadata&&p.getMetadata().isInstanceOf("sap.ui.core.PopupInterface"));};var m=function(A){while(A&&A!==t){if(I.hasOwnProperty(A.getId())){return true;}if(k(A)){break;}A=A.getParent();}return false;};for(var n in I){var p=this.oCore.byId(n);if(p&&(k(p)||!m(p.getParent()))){p.rerender();u=true;}}}f(I,this.mInvalidatedControls);q.sap.measure.end(this.getId()+"---rerender");q.sap.measure.resume("renderPendingUIUpdates");return u;};U.prototype._onControlRendered=function(c){var i=c.getId();if(this.mInvalidatedControls[i]){delete this.mInvalidatedControls[i];}};U.rerenderControl=function(c){var o=null;if(c){o=c.getDomRef();if(!o){o=q.sap.domById(sap.ui.core.RenderPrefixes.Invisible+c.getId());}}var p=o&&o.parentNode;if(p){var u=c.getUIArea();var b=u?u.oCore.oRenderManager:sap.ui.getCore().createRenderManager();r.debug("Rerender Control '"+c.getId()+"'"+(u?"":" (using a temp. RenderManager)"));R.preserveContent(o,true,false);b.render(c,p);}else{var u=c.getUIArea();u&&u._onControlRendered(c);r.warning("Couldn't rerender '"+c.getId()+"', as its DOM location couldn't be determined");}};var a=/^(mousedown|mouseup|click|keydown|keyup|keypress|touchstart|touchend|tap|mousewheel|scroll)$/;U.prototype._handleEvent=function(e){var o=null,I;I=e.type.match(a);if(I){q.sap.interaction.notifyEventStart(e);}o=q(e.target).control(0);q.sap.act.refresh();if(o===null){return;}if(e.isMarked("delayedMouseEvent")){return;}if(e.isMarked("handledByUIArea")){e.setMark("firstUIArea",false);return;}e.setMarked("firstUIArea");e.srcControl=o;if(e.type==="contextmenu"&&e.shiftKey&&e.altKey&&!!(e.metaKey||e.ctrlKey)){q.sap.log.info("Suppressed forwarding the contextmenu event as control event because CTRL+SHIFT+ALT is pressed!");return;}this.oCore._handleControlEvent(e,this.getId());if(this.bLocked||this.oCore.isLocked()){return;}var b=[];if(e.getPseudoTypes){b=e.getPseudoTypes();}b.push(e.type);var g=false;while(o&&o instanceof E&&o.isActive()&&!e.isPropagationStopped()){for(var i=0,c=b.length;i<c;i++){var t=b[i];e.type=t;e.currentTarget=o.getDomRef();o._handleEvent(e);if(e.isImmediatePropagationStopped()){break;}}if(!g){g=this._handleGroupChange(e,o);}if(e.isPropagationStopped()){break;}if(o.bStopEventBubbling){break;}var h=o.getDomRef();if(!h){break;}h=h.parentNode;o=null;if(e.isMarked("fromMouseout")&&q.sap.containsOrEquals(h,e.relatedTarget)){break;}while(h&&h!==this.getRootNode()){if(h.id){o=q(h).control(0);if(o){break;}}h=h.parentNode;}}if(I){q.sap.interaction.notifyEventEnd(e);}e.currentTarget=this.getRootNode();(e.originalEvent||e)._sapui_handledByUIArea=true;if(e.isPropagationStopped()){q.sap.log.debug("'"+e.type+"' propagation has been stopped");}var n=e.type;if(n!="mousemove"&&n!="mouseover"&&n!="scroll"&&n!="mouseout"){var j=q(e.target).control(0);if(j){q.sap.log.debug("Event fired: '"+e.type+"' on "+j,"","sap.ui.core.UIArea");}else{q.sap.log.debug("Event fired: '"+e.type+"'","","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(q.sap.ControlEvents.join(" "),q.proxy(this._handleEvent,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){q.sap.clearDelayedCall(U._iFieldGroupDelayTimer);U._iFieldGroupDelayTimer=null;}U._iFieldGroupDelayTimer=q.sap.delayedCall(0,this,this.setFieldGroupControl,[o]);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){q.sap.clearDelayedCall(U._iFieldGroupTriggerDelay);}var c=this.getFieldGroupControl(),C=(c?c.getFieldGroupIds():[]);if(C.length>0){c.triggerValidateFieldGroup(C);}return true;}return false;};U.prototype.setFieldGroupControl=function(e){function b(e,h){var p=e.getParent();if(p){if(h(p)){return p;}else{return b(p,h);}}return null;}var c=this.getFieldGroupControl();if(e!=c){var C=null;if(e instanceof sap.ui.core.Control){C=e;}else{C=b(e,function(e){return e instanceof sap.ui.core.Control;});}var g=(c?c.getFieldGroupIds():[]),n=(C?C.getFieldGroupIds():[]),t=[];for(var i=0;i<g.length;i++){var s=g[i];if(n.indexOf(s)===-1){t.push(s);}}if(t.length>0){c.triggerValidateFieldGroup(t);}U._oFieldGroupControl=C;}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:q.sap.KeyCodes.ENTER,shiftKey:false,altKey:false,ctrlKey:false};U._oRenderLog=r;return U;});sap.ui.predefine('sap/ui/core/message/ControlMessageProcessor',['jquery.sap.global','sap/ui/core/message/MessageProcessor'],function(q,M){"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,p=T.split('/'),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',['jquery.sap.global','sap/ui/base/Object','./MessageProcessor'],function(q,O,l,M){"use strict";var a=O.extend("sap.ui.core.message.Message",{constructor:function(p){O.apply(this,arguments);this.id=p.id?p.id:q.sap.uid();this.message=p.message;this.description=p.description;this.descriptionUrl=p.descriptionUrl;this.type=p.type;this.code=p.code;this.target=p.target;this.processor=p.processor;this.persistent=p.persistent||false;this.technical=p.technical||false;this.references=p.references||{};this.validation=!!p.validation;}});a.prototype.getId=function(){return this.id;};a.prototype.setMessage=function(m){this.message=m;};a.prototype.getMessage=function(){return this.message;};a.prototype.setDescription=function(d){this.description=d;};a.prototype.getDescription=function(){return this.description;};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{q.sap.log.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{q.sap.log.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.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];}}}};return a;});sap.ui.predefine('sap/ui/core/message/MessageManager',['jquery.sap.global','sap/ui/base/EventProvider','sap/ui/base/ManagedObject','sap/ui/model/message/MessageModel','./Message','./ControlMessageProcessor'],function(q,E,M,c,d,C){"use strict";var e=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"]}});e.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();};e.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();};e.prototype.addMessages=function(m){var o=m;if(!m){return;}else if(q.isArray(m)){for(var i=0;i<m.length;i++){o=m[i];this._importMessage(o);}}else{this._importMessage(m);}this._updateMessageModel();};e.prototype._importMessage=function(m){var s=m.getTarget();var p=m.getMessageProcessor().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;};e.prototype._pushMessages=function(){var t=this;q.each(this.mProcessors,function(i,p){var m=t.mMessages[i]?t.mMessages[i]:{};t._sortMessages(m);p.setMessages(q.extend(true,{},m));});};e.prototype._sortMessages=function(m){var s={'Error':0,'Warning':1,'Success':2,'Info':3};q.each(m,function(t,f){f.sort(function(a,b){return s[a.type]-s[b.type];});});};e.prototype._updateMessageModel=function(){var m=[];var o=this.getMessageModel();q.each(this.mMessages,function(p,a){q.each(a,function(k,v){m=q.merge(m,v);});});this._pushMessages();o.setData(m);};e.prototype.removeAllMessages=function(){this.aMessages=[];this.mMessages={};this._updateMessageModel();};e.prototype.removeMessages=function(m){this._removeMessages(m);};e.prototype._removeMessages=function(m,o){var t=this;if(!m||(q.isArray(m)&&m.length==0)){return;}else if(q.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();};e.prototype._removeMessage=function(m){var a=this.mMessages[m.getMessageProcessor().getId()];if(!a){return;}var b=a[m.getTarget()];if(b){for(var i=0;i<b.length;i++){var o=b[i];if(q.sap.equal(o,m)&&!o.getPersistent()){b.splice(i,1);--i;}}}if(a[m.getTarget()].length===0){delete a[m.getTarget()];}};e.prototype.onMessageChange=function(o){var O=o.getParameter('oldMessages');var n=o.getParameter('newMessages');this.removeMessages(O);this.addMessages(n);};e.prototype.registerMessageProcessor=function(p){var P=p.getId();if(!this.mProcessors[P]){this.mProcessors[P]=p;p.attachMessageChange(this.onMessageChange,this);if(P in this.mMessages){this._pushMessages();}}};e.prototype.unregisterMessageProcessor=function(p){this.removeMessages(this.mMessages[p.getId()]);delete this.mProcessors[p.getId()];p.detachMessageChange(this.onMessageChange,this);};e.prototype.registerObject=function(o,h){if(!o instanceof M){q.sap.log.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);};e.prototype.unregisterObject=function(o){if(!o instanceof M){q.sap.log.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);};e.prototype.destroy=function(){q.sap.log.warning("Deprecated: Do not call destroy on a MessageManager");};e.prototype.getMessageModel=function(){if(!this.oMessageModel){this.oMessageModel=new c(this);this.oMessageModel.setData([]);}return this.oMessageModel;};return e;});sap.ui.predefine('sap/ui/core/message/MessageProcessor',['jquery.sap.global','sap/ui/base/EventProvider'],function(q,E){"use strict";var M=E.extend("sap.ui.core.message.MessageProcessor",{constructor:function(){E.apply(this,arguments);this.mMessages=null;this.id=q.sap.uid();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(a){this.fireEvent("messageChange",a);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/model/Binding',['jquery.sap.global','sap/ui/base/EventProvider','./ChangeReason','./DataState'],function(q,E,C,D){"use strict";var B=E.extend("sap.ui.model.Binding",{constructor:function(m,p,c,P){E.apply(this);this.oModel=m;this.bRelative=!q.sap.startsWith(p,'/');this.sPath=p;this.oContext=c;this.vMessages=undefined;this.mParameters=P;this.bInitial=false;this.bSuspended=false;this.oDataState=null;},metadata:{"abstract":true,publicMethods:["getPath","getContext","getModel","attachChange","detachChange","refresh","isInitial","attachDataStateChange","detachDataStateChange","attachAggregatedDataStateChange","detachAggregatedDataStateChange","attachDataRequested","detachDataRequested","attachDataReceived","detachDataReceived","suspend","resume"]}});B.prototype.getPath=function(){return this.sPath;};B.prototype.getContext=function(){return this.oContext;};B.prototype.setContext=function(c){if(this.oContext!=c){this.oContext=c;this.oDataState=null;this._fireChange();}};B.prototype.getMessages=function(){return this.vMessages;};B.prototype.getDataState=function(){if(!this.oDataState){this.oDataState=new D();}return this.oDataState;};B.prototype.getModel=function(){return this.oModel;};B.prototype.attachChange=function(f,l){if(!this.hasListeners("change")){this.oModel.addBinding(this);}this.attachEvent("change",f,l);};B.prototype.detachChange=function(f,l){this.detachEvent("change",f,l);if(!this.hasListeners("change")){this.oModel.removeBinding(this);}};B.prototype._fireDataStateChange=function(a){this.fireEvent("DataStateChange",a);};B.prototype.attachDataStateChange=function(f,l){this.attachEvent("DataStateChange",f,l);};B.prototype.detachDataStateChange=function(f,l){this.detachEvent("DataStateChange",f,l);};B.prototype.attachAggregatedDataStateChange=function(f,l){this.attachEvent("AggregatedDataStateChange",f,l);};B.prototype.detachAggregatedDataStateChange=function(f,l){this.detachEvent("AggregatedDataStateChange",f,l);};B.prototype._fireChange=function(a){this.fireEvent("change",a);};B.prototype.attachDataRequested=function(f,l){this.attachEvent("dataRequested",f,l);};B.prototype.detachDataRequested=function(f,l){this.detachEvent("dataRequested",f,l);};B.prototype.fireDataRequested=function(a){this.fireEvent("dataRequested",a);};B.prototype.attachDataReceived=function(f,l){this.attachEvent("dataReceived",f,l);};B.prototype.detachDataReceived=function(f,l){this.detachEvent("dataReceived",f,l);};B.prototype.fireDataReceived=function(a){this.fireEvent("dataReceived",a);};B.prototype.updateRequired=function(m){return m&&this.getModel()===m;};B.prototype.hasValidation=function(){return!!this.getType();};B.prototype.checkUpdate=function(f){if(!this.bSuspended){this._fireChange({reason:C.Change});}};B.prototype.checkDataState=function(){var d;if(this.hasListeners("DataStateChange")){d=this._updateDataState();this.fireEvent("DataStateChange",{dataState:d});}if(this.hasListeners("AggregatedDataStateChange")){d=d?d:this._updateDataState();if(d&&d.changed()){if(!this._sDataStateTimout){this._sDataStateTimout=setTimeout(function(){d.calculateChanges();this.fireEvent("AggregatedDataStateChange",{dataState:d});d.changed(false);this._sDataStateTimout=null;}.bind(this),0);}}}};B.prototype._updateDataState=function(){var d=this.getDataState();if(this.oModel&&this.sPath){var r=this.oModel.resolve(this.sPath,this.oContext);if(r){d.setModelMessages(this.oModel.getMessagesByPath(r));d.setLaundering(this.oModel.isLaundering(this.sPath,this.oContext));}}return d;};B.prototype.refresh=function(f){this.checkUpdate(f);};B.prototype.initialize=function(){this.checkUpdate(true);return this;};B.prototype._refresh=function(){this.refresh();};B.prototype.isInitial=function(){return this.bInitial;};B.prototype.isRelative=function(){return this.bRelative;};B.prototype.attachEvents=function(e){if(!e){return this;}var t=this;q.each(e,function(s,h){var m="attach"+s.substring(0,1).toUpperCase()+s.substring(1);if(t[m]){t[m](h);}else{q.sap.log.warning(t.toString()+" has no handler for event '"+s+"'");}});return this;};B.prototype.detachEvents=function(e){if(!e){return this;}var t=this;q.each(e,function(s,h){var m="detach"+s.substring(0,1).toUpperCase()+s.substring(1);if(t[m]){t[m](h);}else{q.sap.log.warning(t.toString()+" has no handler for event '"+s+"'");}});return this;};B.prototype.attachRefresh=function(f,l){this.attachEvent("refresh",f,l);};B.prototype.detachRefresh=function(f,l){this.detachEvent("refresh",f,l);};B.prototype._fireRefresh=function(a){this.fireEvent("refresh",a);};B.prototype.suspend=function(){this.bSuspended=true;};B.prototype.resume=function(){this.bSuspended=false;this.checkUpdate();};return B;});sap.ui.predefine('sap/ui/model/BindingMode',function(){"use strict";var B={Default:"Default",OneTime:"OneTime",OneWay:"OneWay",TwoWay:"TwoWay"};return B;},true);sap.ui.predefine('sap/ui/model/ChangeReason',function(){"use strict";var C={Sort:"sort",Filter:"filter",Change:"change",Context:"context",Refresh:"refresh",Expand:"expand",Collapse:"collapse"};return C;},true);sap.ui.predefine('sap/ui/model/ClientContextBinding',['./ContextBinding'],function(C){"use strict";var a=C.extend("sap.ui.model.ClientContextBinding",{constructor:function(m,p,c,P,e){C.call(this,m,p,c,P,e);var t=this;m.createBindingContext(p,c,P,function(c){t.bInitial=false;t.oElementContext=c;});}});a.prototype.refresh=function(f){var t=this;this.oModel.createBindingContext(this.sPath,this.oContext,this.mParameters,function(c){if(t.oElementContext===c&&!f){t.oModel.checkUpdate(true,c);}else{t.oElementContext=c;t._fireChange();}},true);};a.prototype.initialize=function(){var t=this;this.oModel.createBindingContext(this.sPath,this.oContext,this.mParameters,function(c){t.oElementContext=c;t._fireChange();},true);};a.prototype.setContext=function(c){var t=this;if(this.oContext!=c){this.oContext=c;this.oModel.createBindingContext(this.sPath,this.oContext,this.mParameters,function(c){t.oElementContext=c;t._fireChange();});}};return a;});sap.ui.predefine('sap/ui/model/ClientListBinding',['jquery.sap.global','./ChangeReason','./Filter','./FilterType','./ListBinding','./FilterProcessor','./Sorter','./SorterProcessor'],function(q,C,F,a,L,b,S,c){"use strict";var d=L.extend("sap.ui.model.ClientListBinding",{constructor:function(m,p,o,s,f,P){L.apply(this,arguments);this.bIgnoreSuspend=false;this.update();},metadata:{publicMethods:["getLength"]}});d.prototype._getContexts=function(s,l){if(!s){s=0;}if(!l){l=Math.min(this.iLength,this.oModel.iSizeLimit);}var e=Math.min(s+l,this.aIndices.length),o,f=[],p=this.oModel.resolve(this.sPath,this.oContext);if(p&&!q.sap.endsWith(p,"/")){p+="/";}for(var i=s;i<e;i++){o=this.oModel.getContext(p+this.aIndices[i]);f.push(o);}return f;};d.prototype.setContext=function(o){if(this.oContext!=o){this.oContext=o;if(this.isRelative()){this.update();this._fireChange({reason:C.Context});}}};d.prototype.getLength=function(){return this.iLength;};d.prototype._getLength=function(){return this.aIndices.length;};d.prototype.updateIndices=function(){this.aIndices=[];for(var i=0;i<this.oList.length;i++){this.aIndices.push(i);}};d.prototype.sort=function(s){if(!s){this.aSorters=null;this.updateIndices();this.applyFilter();}else{if(s instanceof S){s=[s];}this.aSorters=s;this.applySort();}this.bIgnoreSuspend=true;this._fireChange({reason:C.Sort});this._fireSort({sorter:s});this.bIgnoreSuspend=false;return this;};d.prototype.applySort=function(){var t=this;if(!this.aSorters||this.aSorters.length==0){return;}this.aIndices=c.apply(this.aIndices,this.aSorters,function(r,p){return t.oModel.getProperty(p,t.oList[r]);});};d.prototype.filter=function(f,s){this.updateIndices();if(f instanceof F){f=[f];}if(s==a.Application){this.aApplicationFilters=f||[];}else if(s==a.Control){this.aFilters=f||[];}else{this.aFilters=f||[];this.aApplicationFilters=[];}f=this.aFilters.concat(this.aApplicationFilters);if(f.length==0){this.aFilters=[];this.aApplicationFilters=[];this.iLength=this._getLength();}else{this.applyFilter();}this.applySort();this.bIgnoreSuspend=true;this._fireChange({reason:C.Filter});if(s==a.Application){this._fireFilter({filters:this.aApplicationFilters});}else{this._fireFilter({filters:this.aFilters});}this.bIgnoreSuspend=false;return this;};d.prototype.applyFilter=function(){if(!this.aFilters){return;}var f=this.aFilters.concat(this.aApplicationFilters),t=this;this.aIndices=b.apply(this.aIndices,f,function(r,p){return t.oModel.getProperty(p,t.oList[r]);});this.iLength=this.aIndices.length;};d.prototype.getDistinctValues=function(p){var r=[],m={},v,t=this;q.each(this.oList,function(i,o){v=t.oModel.getProperty(p,o);if(!m[v]){m[v]=true;r.push(v);}});return r;};return d;});sap.ui.predefine('sap/ui/model/ClientModel',['jquery.sap.global','./ClientContextBinding','./ClientListBinding','./ClientPropertyBinding','./ClientTreeBinding','./Model'],function(q,C,a,b,c,M){"use strict";var d=M.extend("sap.ui.model.ClientModel",{constructor:function(D){M.apply(this,arguments);this.bCache=true;this.aPendingRequestHandles=[];if(typeof D=="string"){this.loadData(D);}},metadata:{publicMethods:["loadData","setData","getData","setProperty","forceNoCache"]}});d.prototype.getData=function(){return this.oData;};d.prototype.createBindingContext=function(p,o,P,f){if(typeof o=="function"){f=o;o=null;}if(typeof P=="function"){f=P;P=null;}var s=this.resolve(p,o),n=(s==undefined)?undefined:this.getContext(s?s:"/");if(!n){n=null;}if(f){f(n);}return n;};d.prototype._ajax=function(p){var t=this;if(this.bDestroyed){return;}function w(f){return function(){var i=q.inArray(r,t.aPendingRequestHandles);if(i>-1){t.aPendingRequestHandles.splice(i,1);}if(!(r&&r.bSuppressErrorHandlerCall)){f.apply(this,arguments);}};}p.success=w(p.success);p.error=w(p.error);var r=q.ajax(p);if(p.async){this.aPendingRequestHandles.push(r);}};d.prototype.destroy=function(){M.prototype.destroy.apply(this,arguments);if(this.aPendingRequestHandles){for(var i=this.aPendingRequestHandles.length-1;i>=0;i--){var r=this.aPendingRequestHandles[i];if(r&&r.abort){r.bSuppressErrorHandlerCall=true;r.abort();}}delete this.aPendingRequestHandles;}};d.prototype.destroyBindingContext=function(o){};d.prototype.bindContext=function(p,o,P){var B=new C(this,p,o,P);return B;};d.prototype.updateBindings=function(f){this.checkUpdate(f);};d.prototype.forceNoCache=function(f){this.bCache=!f;};return d;});sap.ui.predefine('sap/ui/model/ClientPropertyBinding',['./PropertyBinding'],function(P){"use strict";var C=P.extend("sap.ui.model.ClientPropertyBinding",{constructor:function(m,p,c,a){P.apply(this,arguments);this.oValue=this._getValue();}});C.prototype.getValue=function(){return this.oValue;};C.prototype._getValue=function(){var p=this.sPath.substr(this.sPath.lastIndexOf("/")+1);if(p=="__name__"){var a=this.oContext.split("/");return a[a.length-1];}return this.oModel.getProperty(this.sPath,this.oContext);};C.prototype.setContext=function(c){if(this.oContext!=c){this.oContext=c;if(this.isRelative()){this.checkUpdate();}}};return C;});sap.ui.predefine('sap/ui/model/ClientTreeBinding',['jquery.sap.global','./ChangeReason','./Context','./TreeBinding','sap/ui/model/SorterProcessor','sap/ui/model/FilterProcessor'],function(q,C,a,T,S,F){"use strict";var b=T.extend("sap.ui.model.ClientTreeBinding",{constructor:function(m,p,c,f,P,s){T.apply(this,arguments);if(!this.oContext){this.oContext="";}this._mLengthsCache={};this.filterInfo={};this.filterInfo.aFilteredContexts=[];this.filterInfo.oParentContext={};if(this.aFilters){if(this.oModel._getObject(this.sPath,this.oContext)){this.filter(f);}}}});b.prototype.getRootContexts=function(s,l){if(!s){s=0;}if(!l){l=this.oModel.iSizeLimit;}var c=[];var t=this;if(!this.oModel.isList(this.sPath)){var o=this.oModel.getContext(this.sPath);if(this.bDisplayRootNode){c=[o];}else{c=this.getNodeContexts(o,s,l);}}else{var d=this._sanitizePath(this.sPath);q.each(this.oModel._getObject(d),function(i,O){t._saveSubContext(O,c,d,i);});this._applySorter(c);this._setLengthCache(d,c.length);return c.slice(s,s+l);}return c;};b.prototype.getNodeContexts=function(c,s,l){if(!s){s=0;}if(!l){l=this.oModel.iSizeLimit;}var d=this._sanitizePath(c.getPath());var e=[],t=this,n=this.oModel._getObject(d),A=this.mParameters&&this.mParameters.arrayNames,f;if(n){if(A&&q.isArray(A)){q.each(A,function(i,g){f=n[g];if(f){q.each(f,function(h,o){t._saveSubContext(o,e,d,g+"/"+h);});}});}else{q.sap.each(n,function(N,o){if(q.isArray(o)){q.each(o,function(g,h){t._saveSubContext(h,e,d,N+"/"+g);});}else if(typeof o=="object"){t._saveSubContext(o,e,d,N);}});}}this._applySorter(e);this._setLengthCache(d,e.length);return e.slice(s,s+l);};b.prototype.hasChildren=function(c){if(c==undefined){return false;}return this.getChildCount(c)>0;};b.prototype.getChildCount=function(c){var p=c?c.sPath:this.getPath();p=this._sanitizePath(p);if(this._mLengthsCache[p]===undefined){if(c){this.getNodeContexts(c);}else{this.getRootContexts();}}return this._mLengthsCache[p];};b.prototype._sanitizePath=function(c){if(!q.sap.endsWith(c,"/")){c=c+"/";}if(!q.sap.startsWith(c,"/")){c="/"+c;}return c;};b.prototype._saveSubContext=function(n,c,s,N){if(n&&typeof n=="object"){var o=this.oModel.getContext(s+N);if(this.aFilters&&!this.bIsFiltering){if(q.inArray(o,this.filterInfo.aFilteredContexts)!=-1){c.push(o);}}else{c.push(o);}}};b.prototype.filter=function(f){if(f&&!q.isArray(f)){f=[f];}this.filterInfo.aFilteredContexts=[];this.filterInfo.oParentContext={};if(!f||!q.isArray(f)||f.length==0){this.aFilters=null;}else{this.aFilters=f;var c=new a(this.oModel,this.sPath);this.filterRecursive(c);}this._mLengthsCache={};this._fireChange({reason:"filter"});this._fireFilter({filters:f});return this;};b.prototype.filterRecursive=function(p){this.bIsFiltering=true;var c=this.getNodeContexts(p);this.bIsFiltering=false;if(c.length>0){var t=this;q.each(c,function(i,o){t.filterRecursive(o);});this.applyFilter(p);}};b.prototype.applyFilter=function(p){if(!this.aFilters){return;}var t=this,f=[];this.bIsFiltering=true;var u=this.getNodeContexts(p);this.bIsFiltering=false;f=F.apply(u,this.aFilters,function(c,P){return t.oModel.getProperty(P,c);});if(f.length>0){q.merge(this.filterInfo.aFilteredContexts,f);this.filterInfo.aFilteredContexts.push(p);this.filterInfo.oParentContext=p;}if(q.inArray(this.filterInfo.oParentContext,u)!=-1){this.filterInfo.aFilteredContexts.push(p);this.filterInfo.oParentContext=p;}};b.prototype.sort=function(s){s=s||[];this.aSorters=q.isArray(s)?s:[s];this._fireChange({reason:C.Sort});return this;};b.prototype._applySorter=function(c){var t=this;S.apply(c,this.aSorters,function(o,p){return t.oModel.getProperty(p,o);},function(o){return o.getPath();});};b.prototype._setLengthCache=function(k,l){this._mLengthsCache[k]=l;};b.prototype.checkUpdate=function(f){this._mLengthsCache={};this._fireChange();};return b;});sap.ui.predefine('sap/ui/model/CompositeBinding',['jquery.sap.global','./BindingMode','./ChangeReason','./PropertyBinding','./CompositeType','./CompositeDataState'],function(q,B,C,P,a,b){"use strict";var c=P.extend("sap.ui.model.CompositeBinding",{constructor:function(e,r){P.apply(this,[null,""]);this.aBindings=e;this.aValues=null;this.bRawValues=r;this.bPreventUpdate=false;},metadata:{publicMethods:["getBindings","attachChange","detachChange"]}});c.prototype.getPath=function(){return null;};c.prototype.getModel=function(){return null;};c.prototype.getContext=function(){return null;};c.prototype.setType=function(t,i){if(t&&!(t instanceof a)){throw new Error("Only CompositeType can be used as type for composite bindings!");}P.prototype.setType.apply(this,arguments);if(this.oType){this.bRawValues=this.oType.getUseRawValues();}};c.prototype.setContext=function(o){q.each(this.aBindings,function(i,e){if(!o||e.updateRequired(o.getModel())){e.setContext(o);}});};c.prototype.setValue=function(v){var V;q.each(this.aBindings,function(i,o){V=v[i];if(V!==undefined){o.setValue(V);}});};c.prototype.getValue=function(){var v=[],V;q.each(this.aBindings,function(i,o){V=o.getValue();v.push(V);});return v;};c.prototype.setExternalValue=function(v){var V,e;if(this.fnFormatter){q.sap.log.warning("Tried to use twoway binding, but a formatter function is used");return;}if(this.oType){try{if(this.oType.getParseWithValues()){e=[];if(this.bRawValues){e=this.getValue();}else{q.each(this.aBindings,function(i,o){e.push(o.getExternalValue());});}}V=this.oType.parseValue(v,this.sInternalType,e);this.oType.validateValue(V);}catch(E){this.vInvalidValue=v;this.checkDataState();throw E;}}else{if(typeof v=="string"){V=v.split(" ");}else{V=[v];}}if(this.bRawValues){this.setValue(V);}else{q.each(this.aBindings,function(i,o){v=V[i];if(v!==undefined){o.setExternalValue(v);}});}this.vInvalidValue=null;};c.prototype.getExternalValue=function(){var v=[];if(this.bRawValues){v=this.getValue();}else{q.each(this.aBindings,function(i,o){v.push(o.getExternalValue());});}return this._toExternalValue(v);};c.prototype._toExternalValue=function(v){var V;if(this.fnFormatter){V=this.fnFormatter.apply(this,v);}else if(this.oType){V=this.oType.formatValue(v,this.sInternalType);}else if(v.length>1){V=v.join(" ");}else{V=v[0];}return V;};c.prototype.getBindings=function(){return this.aBindings;};c.prototype.hasValidation=function(){if(this.getType()){return true;}var e=this.getBindings();for(var i=0;i<e.length;++i){if(e[i].hasValidation()){return true;}}return false;};c.prototype.attachChange=function(f,l){var t=this;this.fChangeHandler=function(e){var o=e.getSource();if(o.getBindingMode()==B.OneTime){o.detachChange(t.fChangeHandler);}t.checkUpdate(true);};this.attachEvent("change",f,l);if(this.aBindings){q.each(this.aBindings,function(i,o){o.attachChange(t.fChangeHandler);});}};c.prototype.detachChange=function(f,l){var t=this;this.detachEvent("change",f,l);if(this.aBindings){q.each(this.aBindings,function(i,o){o.detachChange(t.fChangeHandler);});}};c.prototype.attachDataStateChange=function(f,l){var t=this;this.fDataStateChangeHandler=function(e){var o=e.getSource();if(o.getBindingMode()==B.OneTime){o.detachDataStateChange(t.fChangeHandler);}t.checkDataState();};this.attachEvent("DataStateChange",f,l);if(this.aBindings){q.each(this.aBindings,function(i,o){o.attachEvent("DataStateChange",t.fDataStateChangeHandler);});}};c.prototype.detachDataStateChange=function(f,l){var t=this;this.detachEvent("DataStateChange",f,l);if(this.aBindings){q.each(this.aBindings,function(i,o){o.detachEvent("DataStateChange",t.fDataStateChangeHandler);});}};c.prototype.attachAggregatedDataStateChange=function(f,l){var t=this;if(!this.fDataStateChangeHandler){this.fDataStateChangeHandler=function(e){var o=e.getSource();if(o.getBindingMode()==B.OneTime){o.detachDataStateChange(t.fChangeHandler);}t.checkDataState();};}this.attachEvent("AggregatedDataStateChange",f,l);if(this.aBindings){q.each(this.aBindings,function(i,o){o.attachEvent("DataStateChange",t.fDataStateChangeHandler);});}};c.prototype.detachAggregatedDataStateChange=function(f,l){var t=this;this.detachEvent("AggregatedDataStateChange",f,l);if(this.aBindings){q.each(this.aBindings,function(i,o){o.detachEvent("DataStateChange",t.fDataStateChangeHandler);});}};c.prototype.updateRequired=function(m){var u=false;q.each(this.aBindings,function(i,o){u=u||o.updateRequired(m);});return u;};c.prototype.initialize=function(){this.bPreventUpdate=true;if(this.aBindings){q.each(this.aBindings,function(i,o){o.initialize();});}this.bPreventUpdate=false;this.checkUpdate(true);return this;};c.prototype.getDataState=function(){if(!this.oDataState){this.oDataState=new b(this.aBindings.map(function(o){return o.getDataState();}));}return this.oDataState;};c.prototype.checkUpdate=function(f){if(this.bPreventUpdate){return;}var v=this.getValue();if(!q.sap.equal(v,this.aValues)||f){this.aValues=v;this._fireChange({reason:C.Change});}};c.prototype._updateDataState=function(){var D=P.prototype._updateDataState.apply(this,arguments);var m=D.getChanges();for(var k in m){switch(k){case"value":D.setValue(this._toExternalValue(m[k]));break;case"originalValue":D.setOriginalValue(this._toExternalValue(m[k]));break;case"invalidValue":case"controlMessages":case"modelMessages":case"messages":case"dirty":break;default:D.setProperty(k,m[k]);break;}}if(this.vInvalidValue){D.setInvalidValue(this.vInvalidValue);}else{var i=D.getInternalProperty("invalidValue");if(i&&d(i)){D.setInvalidValue(this._toExternalValue(i));}else{D.setInvalidValue(null);}}return D;};function d(v){if(Array.isArray(v)){for(var i=0;i<v.length;i++){if(v[i]!==null&&v[i]!==undefined){return true;}}return false;}else{return!!v;}}return c;});sap.ui.predefine('sap/ui/model/CompositeDataState',['jquery.sap.global','./DataState'],function(q,D){"use strict";var C=D.extend("sap.ui.model.CompositeDataState",{metadata:{},constructor:function(d){D.apply(this,arguments);this.mProperties.originalValue=[];this.mProperties.originalInternalValue=[];this.mProperties.value=[];this.mProperties.invalidValue=null;this.mProperties.internalValue=[];this.aDataStates=d;}});C.prototype._hasInnerInvalidValues=function(){return this.aDataStates.reduce(function(i,d){if(d.getInvalidValue()!==null){return true;}else{return i;}},false);};C.prototype.getInternalProperty=function(p){var r;if(p==="invalidValue"&&this._hasInnerInvalidValues()){r=this.aDataStates.map(function(d){return d.getProperty("invalidValue")||d.getProperty("value");});}else{r=this.aDataStates.map(function(d){return d.getProperty(p);});}return r;};C.prototype.getProperty=function(p){var v=D.prototype.getProperty.apply(this,arguments);var I=this.getInternalProperty(p);var r;switch(p){case"messages":case"modelMessages":case"controlMessages":r=v;for(var i=0;i<I.length;++i){r=r.concat(I[i]);}break;default:r=v;}return r;};C.prototype.changed=function(n){if(n===false){this.mChangedProperties={};}return this.aDataStates.reduce(function(l,d){if(l){return true;}else{return d.changed();}},!q.isEmptyObject(this.mChangedProperties));};C.prototype.getChanges=function(){var c={};var i,k,m;var I=[];for(i=0;i<this.aDataStates.length;++i){this.aDataStates[i].calculateChanges();m=this.aDataStates[i].getChanges();this.aDataStates[i].changed(false);for(k in m){c[k]=[];}I.push(m);}var h=this._hasInnerInvalidValues();var a={};for(k in c){for(i=0;i<I.length;++i){m=I[i][k];if(!a[k]){a[k]=[];}if(m){a[k].push(m.value);}else{var v=this.aDataStates[i].getProperty(k);if(k==="invalidValue"&&h&&!v){v=this.aDataStates[i].getProperty("value");}a[k].push(v);}}}return a;};return C;});sap.ui.predefine('sap/ui/model/CompositeType',['./FormatException','./ParseException','./SimpleType','./ValidateException'],function(F,P,S,V){"use strict";var C=S.extend("sap.ui.model.CompositeType",{constructor:function(f,c){S.apply(this,arguments);this.sName="CompositeType";this.bUseRawValues=false;this.bParseWithValues=false;},metadata:{"abstract":true,publicMethods:[]}});C.prototype.getUseRawValues=function(){return this.bUseRawValues;};C.prototype.getParseWithValues=function(){return this.bParseWithValues;};return C;});sap.ui.predefine('sap/ui/model/Context',['sap/ui/base/Object'],function(B){"use strict";var C=B.extend("sap.ui.model.Context",{constructor:function(m,p){B.apply(this);this.oModel=m;this.sPath=p;},metadata:{"abstract":true,publicMethods:["getModel","getPath","getProperty","getObject"]}});C.prototype.getModel=function(){return this.oModel;};C.prototype.getPath=function(p){return this.sPath+(p?"/"+p:"");};C.prototype.getProperty=function(p){return this.oModel.getProperty(p,this);};C.prototype.getObject=function(p){return this.oModel.getObject(p,this);};C.prototype.toString=function(){return this.sPath;};return C;});sap.ui.predefine('sap/ui/model/ContextBinding',['./Binding'],function(B){"use strict";var C=B.extend("sap.ui.model.ContextBinding",{constructor:function(m,p,c,P,e){B.call(this,m,p,c,P,e);this.oElementContext=null;this.bInitial=true;},metadata:{publicMethods:["getElementContext"]}});C.prototype.checkUpdate=function(f){};C.prototype.getBoundContext=function(c){return this.oElementContext;};return C;});sap.ui.predefine('sap/ui/model/DataState',['jquery.sap.global','../base/Object'],function(q,B){"use strict";var D=B.extend("sap.ui.model.DataState",{metadata:{},constructor:function(){this.mProperties={modelMessages:[],controlMessages:[],laundering:false,originalValue:null,originalInternalValue:null,value:null,invalidValue:null,internalValue:null,dirty:false};this.mChangedProperties={};}});D.prototype._sortMessages=function(m){var s={'Error':0,'Warning':1,'Success':2,'Info':3};m.sort(function(a,b){return s[a.type]-s[b.type];});};D.prototype.setProperty=function(p,v){if(p==="modelMessages"||p==="controlMessages"){v=v||[];}v=v===undefined?null:v;if(q.sap.equal(this.mProperties[p],v)){delete this.mChangedProperties[p];}else{if(!this.mChangedProperties[p]){this.mChangedProperties[p]={};}this.mChangedProperties[p]={oldValue:q.isArray(this.mProperties[p])?this.mProperties[p].slice(0):this.mProperties[p],value:v};}if(p==="modelMessages"||p==="controlMessages"){var o=[].concat(this.mProperties["modelMessages"],this.mProperties["controlMessages"]);this._sortMessages(o);this.mChangedProperties["messages"]={oldValue:o,value:this.getMessages().slice(0)};if(this.mChangedProperties["messages"].oldValue.length===0&&this.mChangedProperties["messages"].value.length===0){delete this.mChangedProperties["messages"];}}if(this.isDirty()!==this.mProperties["dirty"]){this.mChangedProperties.dirty={oldValue:!this.isDirty(),value:this.isDirty()};}else{delete this.mChangedProperties.dirty;}return this;};D.prototype.calculateChanges=function(){for(var p in this.mChangedProperties){var c=this.mChangedProperties[p].value;if(!q.sap.equal(this.mProperties[p],c)){if(q.isArray(c)){c=c.slice(0);}this.mProperties[p]=c;}}return this;};D.prototype.getProperty=function(p){var r;var c;var g=function(n){return((this.mChangedProperties[n]&&"value"in this.mChangedProperties[n])?this.mChangedProperties[n].value:this.mProperties[n]);}.bind(this);switch(p){case'messages':var m=[],C=g('controlMessages'),M=g('modelMessages');if(M||C){m=m.concat(M?M:[],C?C:[]);this._sortMessages(m);}r=m;break;case'controlDirty':c=!!(this.mChangedProperties.invalidValue&&this.mChangedProperties.invalidValue.value);r=c;break;case'dirty':var v=this.mChangedProperties&&this.mChangedProperties.value&&("value"in this.mChangedProperties.value)?this.mChangedProperties.value.value:this.mProperties.value;var o=this.mChangedProperties&&this.mChangedProperties.originalValue&&("value"in this.mChangedProperties.originalValue)?this.mChangedProperties.originalValue.value:this.mProperties.originalValue;c=!!(this.mChangedProperties.invalidValue&&this.mChangedProperties.invalidValue.value);r=c||!q.sap.equal(v,o);break;default:r=g(p);}return r;};D.prototype.getMessages=function(){return this.getProperty("messages");};D.prototype.setModelMessages=function(m){return this.setProperty("modelMessages",m);};D.prototype.getModelMessages=function(){return this.getProperty("modelMessages");};D.prototype.setControlMessages=function(m){return this.setProperty("controlMessages",m);};D.prototype.getControlMessages=function(){return this.getProperty("controlMessages");};D.prototype.isDirty=function(){return this.getProperty("dirty");};D.prototype.isControlDirty=function(){return this.getProperty("controlDirty");};D.prototype.isLaundering=function(){return this.getProperty("laundering");};D.prototype.setLaundering=function(l){return this.setProperty("laundering",l);};D.prototype.getValue=function(v){return this.getProperty("value");};D.prototype.setValue=function(v){return this.setProperty("value",v);};D.prototype.getInternalValue=function(v){return this.getProperty("internalValue");};D.prototype.setInternalValue=function(i){return this.setProperty("internalValue",i);};D.prototype.getInvalidValue=function(){return this.getProperty("invalidValue");};D.prototype.setInvalidValue=function(i){return this.setProperty("invalidValue",i);};D.prototype.getOriginalValue=function(){return this.getProperty("originalValue");};D.prototype.setOriginalValue=function(o){return this.setProperty("originalValue",o);};D.prototype.getOriginalInternalValue=function(){return this.getProperty("originalInternalValue");};D.prototype.setOriginalInternalValue=function(o){return this.setProperty("originalInternalValue",o);};D.prototype.changed=function(n){if(n===false){this.mChangedProperties={};}return!q.isEmptyObject(this.mChangedProperties);};D.prototype.getChanges=function(){return this.mChangedProperties;};return D;});sap.ui.predefine('sap/ui/model/Filter',['jquery.sap.global','sap/ui/base/Object','./FilterOperator','sap/ui/Device'],function(q,B,F,D){"use strict";var a=B.extend("sap.ui.model.Filter",{constructor:function(p,o,v,V){if(typeof p==="object"&&!q.isArray(p)){var f=p;this.sPath=f.path;this.sOperator=f.operator;this.oValue1=f.value1;this.oValue2=f.value2;this.aFilters=f.filters||f.aFilters;this.bAnd=f.and||f.bAnd;this.fnTest=f.test;}else{if(q.isArray(p)){this.aFilters=p;}else{this.sPath=p;}if(q.type(o)==="boolean"){this.bAnd=o;}else if(q.type(o)==="function"){this.fnTest=o;}else{this.sOperator=o;}this.oValue1=v;this.oValue2=V;}if(!String.prototype.normalize&&typeof this.oValue1=="string"&&!D.browser.mobile){q.sap.require("jquery.sap.unicode");}if(q.isArray(this.aFilters)&&!this.sPath&&!this.sOperator&&!this.oValue1&&!this.oValue2){this._bMultiFilter=true;q.each(this.aFilters,function(i,b){if(!(b instanceof a)){q.sap.log.error("Filter in Aggregation of Multi filter has to be instance of sap.ui.model.Filter");}});}else if(!this.aFilters&&this.sPath!==undefined&&((this.sOperator&&this.oValue1!==undefined)||this.fnTest)){this._bMultiFilter=false;}else{q.sap.log.error("Wrong parameters defined for filter.");}}});return a;});sap.ui.predefine('sap/ui/model/FilterOperator',function(){"use strict";var F={EQ:"EQ",NE:"NE",LT:"LT",LE:"LE",GT:"GT",GE:"GE",BT:"BT",Contains:"Contains",StartsWith:"StartsWith",EndsWith:"EndsWith"};return F;},true);sap.ui.predefine('sap/ui/model/FilterProcessor',['jquery.sap.global'],function(q){"use strict";var F={};F.apply=function(d,f,g){if(!f||f.length==0){return d;}var t=this,o={},a,b=[],G=false,c=true;q.each(f,function(j,e){if(e.sPath!==undefined){a=o[e.sPath];if(!a){a=o[e.sPath]=[];}}else{a=o["__multiFilter"];if(!a){a=o["__multiFilter"]=[];}}a.push(e);});q.each(d,function(i,r){c=true;q.each(o,function(p,a){if(p!=="__multiFilter"){var v=g(r,p);v=t.normalizeFilterValue(v);G=false;q.each(a,function(j,e){var T=t.getFilterFunction(e);if(v!==undefined&&T(v)){G=true;return false;}});}else{G=false;q.each(a,function(j,e){G=t._resolveMultiFilter(e,r,g);if(G){return false;}});}if(!G){c=false;return false;}});if(c){b.push(r);}});return b;};F.normalizeFilterValue=function(v){if(typeof v=="string"){if(String.prototype.normalize){v=v.normalize("NFC");}return v.toUpperCase();}if(v instanceof Date){return v.getTime();}return v;};F._resolveMultiFilter=function(m,r,g){var t=this,M=false,f=m.aFilters;if(f){q.each(f,function(i,o){var l=false;if(o._bMultiFilter){l=t._resolveMultiFilter(o,r,g);}else if(o.sPath!==undefined){var v=g(r,o.sPath);v=t.normalizeFilterValue(v);var T=t.getFilterFunction(o);if(v!==undefined&&T(v)){l=true;}}if(l&&m.bAnd){M=true;}else if(!l&&m.bAnd){M=false;return false;}else if(l){M=true;return false;}});}return M;};F.getFilterFunction=function(f){if(f.fnTest){return f.fnTest;}var v=this.normalizeFilterValue(f.oValue1),V=this.normalizeFilterValue(f.oValue2);switch(f.sOperator){case"EQ":f.fnTest=function(a){return a==v;};break;case"NE":f.fnTest=function(a){return a!=v;};break;case"LT":f.fnTest=function(a){return a<v;};break;case"LE":f.fnTest=function(a){return a<=v;};break;case"GT":f.fnTest=function(a){return a>v;};break;case"GE":f.fnTest=function(a){return a>=v;};break;case"BT":f.fnTest=function(a){return(a>=v)&&(a<=V);};break;case"Contains":f.fnTest=function(a){if(a==null){return false;}if(typeof a!="string"){throw new Error("Only \"String\" values are supported for the FilterOperator: \"Contains\".");}return a.indexOf(v)!=-1;};break;case"StartsWith":f.fnTest=function(a){if(a==null){return false;}if(typeof a!="string"){throw new Error("Only \"String\" values are supported for the FilterOperator: \"StartsWith\".");}return a.indexOf(v)==0;};break;case"EndsWith":f.fnTest=function(a){if(a==null){return false;}if(typeof a!="string"){throw new Error("Only \"String\" values are supported for the FilterOperator: \"EndsWith\".");}var p=a.lastIndexOf(v);if(p==-1){return false;}return p==a.length-new String(f.oValue1).length;};break;default:f.fnTest=function(a){return true;};}return f.fnTest;};return F;});sap.ui.predefine('sap/ui/model/FilterType',function(){"use strict";var F={Application:"Application",Control:"Control"};return F;},true);sap.ui.predefine('sap/ui/model/FormatException',['jquery.sap.global','sap/ui/base/Exception'],function(q,E){"use strict";var F=function(m){this.name="FormatException";this.message=m;};F.prototype=q.sap.newObject(E.prototype);return F;},true);sap.ui.predefine('sap/ui/model/ListBinding',['jquery.sap.global','./Binding','./Filter','./Sorter'],function(q,B,F,S){"use strict";var L=B.extend("sap.ui.model.ListBinding",{constructor:function(m,p,c,s,f,P){B.call(this,m,p,c,P);this.aSorters=s;if(!q.isArray(this.aSorters)&&this.aSorters instanceof S){this.aSorters=[this.aSorters];}else if(!q.isArray(this.aSorters)){this.aSorters=[];}this.aFilters=[];if(!q.isArray(f)&&f instanceof F){f=[f];}else if(!q.isArray(f)){f=[];}this.aApplicationFilters=f;this.bUseExtendedChangeDetection=false;},metadata:{"abstract":true,publicMethods:["getContexts","getCurrentContexts","sort","attachSort","detachSort","filter","attachFilter","detachFilter","getDistinctValues","isGrouped","getLength","isLengthFinal"]}});L.prototype.getCurrentContexts=function(){return this.getContexts();};L.prototype.getLength=function(){return 0;};L.prototype.isLengthFinal=function(){return true;};L.prototype.getDistinctValues=function(p){return null;};L.prototype.attachSort=function(f,l){this.attachEvent("sort",f,l);};L.prototype.detachSort=function(f,l){this.detachEvent("sort",f,l);};L.prototype._fireSort=function(a){this.fireEvent("sort",a);};L.prototype.attachFilter=function(f,l){this.attachEvent("filter",f,l);};L.prototype.detachFilter=function(f,l){this.detachEvent("filter",f,l);};L.prototype._fireFilter=function(a){this.fireEvent("filter",a);};L.prototype.isGrouped=function(){return!!(this.aSorters&&this.aSorters[0]&&this.aSorters[0].fnGroup);};L.prototype.getGroup=function(c){return this.aSorters[0].getGroup(c);};L.prototype.enableExtendedChangeDetection=function(){this.bUseExtendedChangeDetection=true;if(this.update){this.update();}};return L;});sap.ui.predefine('sap/ui/model/Model',['jquery.sap.global','sap/ui/core/message/MessageProcessor','./BindingMode','./Context'],function(q,M,B,C){"use strict";var a=M.extend("sap.ui.model.Model",{constructor:function(){M.apply(this,arguments);this.oData={};this.bDestroyed=false;this.aBindings=[];this.mContexts={};this.iSizeLimit=100;this.sDefaultBindingMode=B.TwoWay;this.mSupportedBindingModes={"OneWay":true,"TwoWay":true,"OneTime":true};this.bLegacySyntax=false;this.sUpdateTimer=null;},metadata:{"abstract":true,publicMethods:["bindProperty","bindList","bindTree","bindContext","createBindingContext","destroyBindingContext","getProperty","getDefaultBindingMode","setDefaultBindingMode","isBindingModeSupported","attachParseError","detachParseError","attachRequestCompleted","detachRequestCompleted","attachRequestFailed","detachRequestFailed","attachRequestSent","detachRequestSent","setSizeLimit","refresh","isList","getObject"]}});a.M_EVENTS={ParseError:"parseError",RequestFailed:"requestFailed",RequestSent:"requestSent",RequestCompleted:"requestCompleted"};a.prototype.attachRequestFailed=function(d,f,l){this.attachEvent("requestFailed",d,f,l);return this;};a.prototype.detachRequestFailed=function(f,l){this.detachEvent("requestFailed",f,l);return this;};a.prototype.fireRequestFailed=function(A){this.fireEvent("requestFailed",A);return this;};a.prototype.attachParseError=function(d,f,l){this.attachEvent("parseError",d,f,l);return this;};a.prototype.detachParseError=function(f,l){this.detachEvent("parseError",f,l);return this;};a.prototype.fireParseError=function(A){this.fireEvent("parseError",A);return this;};a.prototype.attachRequestSent=function(d,f,l){this.attachEvent("requestSent",d,f,l);return this;};a.prototype.detachRequestSent=function(f,l){this.detachEvent("requestSent",f,l);return this;};a.prototype.fireRequestSent=function(A){this.fireEvent("requestSent",A);return this;};a.prototype.attachRequestCompleted=function(d,f,l){this.attachEvent("requestCompleted",d,f,l);return this;};a.prototype.detachRequestCompleted=function(f,l){this.detachEvent("requestCompleted",f,l);return this;};a.prototype.fireRequestCompleted=function(A){this.fireEvent("requestCompleted",A);return this;};a.prototype.attachMessageChange=function(d,f,l){this.attachEvent("messageChange",d,f,l);return this;};a.prototype.detachMessageChange=function(f,l){this.detachEvent("messageChange",f,l);return this;};a.prototype.getObject=function(p,c){return this.getProperty(p,c);};a.prototype.getContext=function(p){if(!q.sap.startsWith(p,"/")){throw new Error("Path "+p+" must start with a / ");}var c=this.mContexts[p];if(!c){c=new C(this,p);this.mContexts[p]=c;}return c;};a.prototype.resolve=function(p,c){var i=typeof p=="string"&&!q.sap.startsWith(p,"/"),r=p,s;if(i){if(c){s=c.getPath();r=s+(q.sap.endsWith(s,"/")?"":"/")+p;}else{r=this.isLegacySyntax()?"/"+p:undefined;}}if(!p&&c){r=c.getPath();}if(r&&r!=="/"&&q.sap.endsWith(r,"/")){r=r.substr(0,r.length-1);}return r;};a.prototype.addBinding=function(b){this.aBindings.push(b);};a.prototype.removeBinding=function(b){for(var i=0;i<this.aBindings.length;i++){if(this.aBindings[i]==b){this.aBindings.splice(i,1);break;}}};a.prototype.getDefaultBindingMode=function(){return this.sDefaultBindingMode;};a.prototype.setDefaultBindingMode=function(m){if(this.isBindingModeSupported(m)){this.sDefaultBindingMode=m;return this;}throw new Error("Binding mode "+m+" is not supported by this model.",this);};a.prototype.isBindingModeSupported=function(m){return(m in this.mSupportedBindingModes);};a.prototype.setLegacySyntax=function(l){this.bLegacySyntax=l;};a.prototype.isLegacySyntax=function(){return this.bLegacySyntax;};a.prototype.setSizeLimit=function(s){this.iSizeLimit=s;};a.prototype.getInterface=function(){return this;};a.prototype.refresh=function(f){this.checkUpdate(f);if(f){this.fireMessageChange({oldMessages:this.mMessages});}};a.prototype.checkUpdate=function(f,A){if(A){if(!this.sUpdateTimer){this.sUpdateTimer=q.sap.delayedCall(0,this,function(){this.checkUpdate(f);});}return;}if(this.sUpdateTimer){q.sap.clearDelayedCall(this.sUpdateTimer);this.sUpdateTimer=null;}var b=this.aBindings.slice(0);q.each(b,function(i,o){o.checkUpdate(f);o.checkDataState(f);});};a.prototype.setMessages=function(m){this.mMessages=m||{};this.checkMessages();};a.prototype.getMessagesByPath=function(p){if(this.mMessages){return this.mMessages[p]||[];}return null;};a.prototype.checkMessages=function(){q.each(this.aBindings,function(i,b){b.checkDataState();});};a.prototype.destroy=function(){M.prototype.destroy.apply(this,arguments);this.oData={};this.aBindings=[];this.mContexts={};if(this.sUpdateTimer){q.sap.clearDelayedCall(this.sUpdateTimer);}this.bDestroyed=true;};a.prototype.getMetaModel=function(){return undefined;};a.prototype.getOriginalProperty=function(p,c){return this.getProperty(p,c);};a.prototype.isLaundering=function(p,c){return false;};return a;});sap.ui.predefine('sap/ui/model/ParseException',['jquery.sap.global','sap/ui/base/Exception'],function(q,E){"use strict";var P=function(m){this.name="ParseException";this.message=m;};P.prototype=q.sap.newObject(E.prototype);return P;},true);sap.ui.predefine('sap/ui/model/PropertyBinding',['jquery.sap.global','./Binding','./SimpleType','./DataState'],function(q,B,S,D){"use strict";var P=B.extend("sap.ui.model.PropertyBinding",{constructor:function(m,p,c,a){B.apply(this,arguments);this.vInvalidValue=null;},metadata:{"abstract":true,publicMethods:["getValue","setValue","setType","getType","setFormatter","getFormatter","getExternalValue","setExternalValue","getBindingMode"]}});P.prototype.getExternalValue=function(){return this._toExternalValue(this.getValue());};P.prototype._toExternalValue=function(v){if(this.oType){v=this.oType.formatValue(v,this.sInternalType);}if(this.fnFormatter){v=this.fnFormatter(v);}return v;};P.prototype.setExternalValue=function(v){if(this.fnFormatter){q.sap.log.warning("Tried to use twoway binding, but a formatter function is used");return;}try{if(this.oType){v=this.oType.parseValue(v,this.sInternalType);this.oType.validateValue(v);}}catch(e){this.vInvalidValue=v;this.checkDataState();throw e;}this.vInvalidValue=null;this.setValue(v);};P.prototype.setType=function(t,i){this.oType=t;this.sInternalType=i;};P.prototype.getType=function(){return this.oType;};P.prototype.setFormatter=function(f){this.fnFormatter=f;};P.prototype.getFormatter=function(){return this.fnFormatter;};P.prototype.getBindingMode=function(){return this.sMode;};P.prototype.setBindingMode=function(b){this.sMode=b;};P.prototype._updateDataState=function(){var d=B.prototype._updateDataState.call(this);if(this.oModel&&this.sPath){d.setInvalidValue(this.vInvalidValue);try{var o=this.oModel.getOriginalProperty(this.sPath,this.oContext);d.setOriginalValue(this._toExternalValue(o));d.setOriginalInternalValue(o);}catch(e){q.sap.log.debug("type validation of original model value failed");}try{d.setValue(this.getExternalValue());}catch(e){q.sap.log.debug("formatting of value failed");}}d.setInternalValue(this.getValue());return d;};return P;});sap.ui.predefine('sap/ui/model/SimpleType',['sap/ui/base/DataType','./FormatException','./ParseException','./Type','./ValidateException'],function(D,F,P,T,V){"use strict";var S=T.extend("sap.ui.model.SimpleType",{constructor:function(f,c){T.apply(this,arguments);this.setFormatOptions(f||{});this.setConstraints(c||{});this.sName="SimpleType";},metadata:{"abstract":true,publicMethods:["setConstraints","setFormatOptions","formatValue","parseValue","validateValue"]}});S.prototype.setConstraints=function(c){this.oConstraints=c;};S.prototype.setFormatOptions=function(f){this.oFormatOptions=f;};S.prototype.getPrimitiveType=function(i){switch(i){case"any":case"boolean":case"int":case"float":case"string":case"object":return i;default:var I=D.getType(i);return I&&I.getPrimitiveType().getName();}};return S;});sap.ui.predefine('sap/ui/model/Sorter',['sap/ui/base/Object'],function(B){"use strict";var S=B.extend("sap.ui.model.Sorter",{constructor:function(p,d,g){if(typeof p==="object"){var s=p;p=s.path;d=s.descending;g=s.group;}this.sPath=p;var i=this.sPath.indexOf(">");if(i>0){this.sPath=this.sPath.substr(i+1);}this.bDescending=d;this.vGroup=g;if(typeof g=="boolean"&&g){this.fnGroup=function(c){return c.getProperty(this.sPath);};}if(typeof g=="function"){this.fnGroup=g;}},getGroup:function(c){var g=this.fnGroup(c);if(typeof g==="string"||typeof g==="number"||typeof g==="boolean"||g==null){g={key:g};}return g;}});return S;});sap.ui.predefine('sap/ui/model/SorterProcessor',['jquery.sap.global'],function(q){"use strict";var S={};S.apply=function(d,s,g,G){var t=this,c=[],C=[],v,o;if(!s||s.length==0){return d;}function f(a,b){if(a==b){return 0;}if(b==null){return-1;}if(a==null){return 1;}if(typeof a=="string"&&typeof b=="string"){return a.localeCompare(b);}if(a<b){return-1;}if(a>b){return 1;}return 0;}for(var j=0;j<s.length;j++){o=s[j];C[j]=o.fnCompare;if(!C[j]){C[j]=f;}q.each(d,function(i,r){v=g(r,o.sPath);if(typeof v=="string"){v=v.toLocaleUpperCase();}if(!c[j]){c[j]=[];}if(G){r=G(r);}c[j][r]=v;});}d.sort(function(a,b){if(G){a=G(a);b=G(b);}var e=c[0][a],h=c[0][b];return t._applySortCompare(s,a,b,e,h,c,C,0);});return d;};S._applySortCompare=function(s,a,b,v,c,d,C,D){var o=s[D],f=C[D],r;r=f(v,c);if(o.bDescending){r=-r;}if(r==0&&s[D+1]){v=d[D+1][a];c=d[D+1][b];r=this._applySortCompare(s,a,b,v,c,d,C,D+1);}return r;};return S;});sap.ui.predefine('sap/ui/model/TreeBinding',['./Binding'],function(B){"use strict";var T=B.extend("sap.ui.model.TreeBinding",{constructor:function(m,p,c,f,P,s){B.call(this,m,p,c,P);this.aFilters=f;this.aSorters=s;this.bDisplayRootNode=P&&P.displayRootNode===true;},metadata:{"abstract":true,publicMethods:["getRootContexts","getNodeContexts","hasChildren","filter"]}});T.prototype.getChildCount=function(c){if(!c){return this.getRootContexts().length;}return this.getNodeContexts(c).length;};T.prototype.attachFilter=function(f,l){this.attachEvent("_filter",f,l);};T.prototype.detachFilter=function(f,l){this.detachEvent("_filter",f,l);};T.prototype._fireFilter=function(a){this.fireEvent("_filter",a);};return T;});sap.ui.predefine('sap/ui/model/Type',['sap/ui/base/Object'],function(B){"use strict";var T=B.extend("sap.ui.model.Type",{constructor:function(){B.apply(this,arguments);this.sName="Type";},metadata:{"abstract":true,publicMethods:["getName"]}});T.prototype.getName=function(){return this.sName;};return T;});sap.ui.predefine('sap/ui/model/ValidateException',['jquery.sap.global','sap/ui/base/Exception'],function(q,E){"use strict";var V=function(m,v){this.name="ValidateException";this.message=m;this.violatedConstraints=v;};V.prototype=q.sap.newObject(E.prototype);return V;},true);sap.ui.predefine('sap/ui/model/message/MessageListBinding',['jquery.sap.global','sap/ui/model/ChangeReason','sap/ui/model/ClientListBinding'],function(q,C,a){"use strict";var M=a.extend("sap.ui.model.message.MessageListBinding");M.prototype.getContexts=function(s,l){this.iLastStartIndex=s;this.iLastLength=l;if(!s){s=0;}if(!l){l=Math.min(this.iLength,this.oModel.iSizeLimit);}var c=this._getContexts(s,l),o={};if(this.bUseExtendedChangeDetection){for(var i=0;i<c.length;i++){o[c[i].getPath()]=c[i].getObject();}if(this.aLastContexts&&s<this.iLastEndIndex){var t=this;var d=q.sap.arrayDiff(this.aLastContexts,c,function(O,n){return q.sap.equal(O&&t.oLastContextData&&t.oLastContextData[O.getPath()],n&&o&&o[n.getPath()]);});c.diff=d;}this.iLastEndIndex=s+l;this.aLastContexts=c.slice(0);this.oLastContextData=q.extend(true,{},o);}return c;};M.prototype.update=function(){var l=this.oModel._getObject(this.sPath,this.oContext);if(l&&q.isArray(l)){if(this.bUseExtendedChangeDetection){this.oList=q.extend(true,[],l);}else{this.oList=l.slice(0);}this.updateIndices();this.applyFilter();this.applySort();this.iLength=this._getLength();}else{this.oList=[];this.aIndices=[];this.iLength=0;}};M.prototype.checkUpdate=function(f){if(this.bSuspended&&!this.bIgnoreSuspend){return;}if(!this.bUseExtendedChangeDetection){var l=this.oModel._getObject(this.sPath,this.oContext);if(!q.sap.equal(this.oList,l)||f){this.update();this._fireChange({reason:C.Change});}}else{var c=false;var t=this;var l=this.oModel._getObject(this.sPath,this.oContext);if(!q.sap.equal(this.oList,l)){this.update();}var b=this._getContexts(this.iLastStartIndex,this.iLastLength);if(this.aLastContexts){if(this.aLastContexts.length!=b.length){c=true;}else{q.each(this.aLastContexts,function(i,o){if(!q.sap.equal(b[i].getObject(),t.oLastContextData[o.getPath()])){c=true;return false;}});}}else{c=true;}if(c||f){this._fireChange({reason:C.Change});}}};return M;});sap.ui.predefine('sap/ui/model/message/MessageModel',['jquery.sap.global','sap/ui/model/BindingMode','sap/ui/model/ClientModel','sap/ui/model/Context','./MessageListBinding','./MessagePropertyBinding'],function(q,B,C,a,M,b){"use strict";var c=C.extend("sap.ui.model.message.MessageModel",{constructor:function(m){C.apply(this,arguments);this.sDefaultBindingMode=B.OneWay;this.mSupportedBindingModes={"OneWay":true,"TwoWay":false,"OneTime":false};this.oMessageManager=m;}});c.prototype.setData=function(d){this.oData=d;this.checkUpdate();};c.prototype.fireMessageChange=function(A){this.fireEvent("messageChange",A);return this;};c.prototype.bindProperty=function(p,o,P){var d=new b(this,p,o,P);return d;};c.prototype.bindList=function(p,o,s,f,P){var d=new M(this,p,o,s,f,P);return d;};c.prototype.setProperty=function(p,v,o){q.sap.log.error(this+"not implemented: Only 'OneWay' binding mode supported");};c.prototype.getProperty=function(p,o){return this._getObject(p,o);};c.prototype._getObject=function(p,o){var n;if(o instanceof a){n=this._getObject(o.getPath());}else if(o){n=o;}if(!p){return n;}var P=p.split("/"),i=0;if(!P[0]){n=this.oData;i++;}while(n&&P[i]){n=n[P[i]];i++;}return n;};return c;});sap.ui.predefine('sap/ui/model/message/MessagePropertyBinding',['jquery.sap.global','sap/ui/model/ChangeReason','sap/ui/model/ClientPropertyBinding'],function(q,C,a){"use strict";var M=a.extend("sap.ui.model.message.MessagePropertyBinding");M.prototype.setValue=function(v){if(!q.sap.equal(this.oValue,v)){this.oModel.setProperty(this.sPath,v,this.oContext);}};M.prototype.checkUpdate=function(f){var v=this._getValue();if(!q.sap.equal(v,this.oValue)||f){this.oValue=v;this._fireChange({reason:C.Change});}};return M;});jQuery.sap.require("sap.ui.core.Core");sap.ui.getCore().boot&&sap.ui.getCore().boot();
  } catch(oError) {
  if (oError.name != "Restart") { throw oError; }
  }
  