window["sap-ui-optimized"] = true; try { /*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ (function(g,f){if(typeof module==="object"&&typeof module.exports==="object"){module.exports=g.document?f(g,true):function(w){if(!w.document){throw new Error("jQuery requires a window with a document");}return f(w);};}else{f(g);}}(typeof window!=="undefined"?window:this,function(w,c){var d=[];var f=d.slice;var g=d.concat;var h=d.push;var k=d.indexOf;var o={};var q=o.toString;var u=o.hasOwnProperty;var x={};var y="1.11.1",Q=function(s,a){return new Q.fn.init(s,a);},z=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,l){return l.toUpperCase();};Q.fn=Q.prototype={jquery:y,constructor:Q,selector:"",length:0,toArray:function(){return f.call(this);},get:function(n){return n!=null?(n<0?this[n+this.length]:this[n]):f.call(this);},pushStack:function(a){var r=Q.merge(this.constructor(),a);r.prevObject=this;r.context=this.context;return r;},each:function(a,b){return Q.each(this,a,b);},map:function(a){return this.pushStack(Q.map(this,function(b,i){return a.call(b,i,b);}));},slice:function(){return this.pushStack(f.apply(this,arguments));},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},eq:function(i){var l=this.length,j=+i+(i<0?l:0);return this.pushStack(j>=0&&j=0;},isEmptyObject:function(a){var n;for(n in a){return false;}return true;},isPlainObject:function(a){var b;if(!a||Q.type(a)!=="object"||a.nodeType||Q.isWindow(a)){return false;}try{if(a.constructor&&!u.call(a,"constructor")&&!u.call(a.constructor.prototype,"isPrototypeOf")){return false;}}catch(e){return false;}if(x.ownLast){for(b in a){return u.call(a,b);}}for(b in a){}return b===undefined||u.call(a,b);},type:function(a){if(a==null){return a+"";}return typeof a==="object"||typeof a==="function"?o[q.call(a)]||"object":typeof a;},globalEval:function(a){if(a&&Q.trim(a)){(w.execScript||function(a){w["eval"].call(w,a);})(a);}},camelCase:function(s){return s.replace(A,"ms-").replace(B,C);},nodeName:function(a,n){return a.nodeName&&a.nodeName.toLowerCase()===n.toLowerCase();},each:function(a,b,j){var v,i=0,l=a.length,m=D(a);if(j){if(m){for(;i0&&(l-1)in a;}var S= /*! * Sizzle CSS Selector Engine v1.10.19 * http://sizzlejs.com/ * * Copyright 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-04-18 */ (function(w){var i,x,l,n,p,t,r,s,v,r3,s3,t3,J,o3,u3,v3,w3,x3,y3,z3="sizzle"+-(new Date()),A3=w.document,B3=0,C3=0,D3=c4(),E3=c4(),F3=c4(),G3=function(a,b){if(a===b){s3=true;}return 0;},X=typeof undefined,H3=1<<31,u=({}).hasOwnProperty,I3=[],J3=I3.pop,K3=I3.push,h=I3.push,f=I3.slice,k=I3.indexOf||function(a){var i=0,b=this.length;for(;i+~]|"+M3+")"+M3+"*"),T3=new RegExp("="+M3+"*([^\\]'\"]*?)"+M3+"*\\]","g"),U3=new RegExp(Q3),V3=new RegExp("^"+O3+"$"),W3={"ID":new RegExp("^#("+N3+")"),"CLASS":new RegExp("^\\.("+N3+")"),"TAG":new RegExp("^("+N3.replace("w","w*")+")"),"ATTR":new RegExp("^"+P3),"PSEUDO":new RegExp("^"+Q3),"CHILD":new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M3+"*(even|odd|(([+-]|)(\\d*)n|)"+M3+"*(?:([+-]|)"+M3+"*(\\d+)|))"+M3+"*\\)|)","i"),"bool":new RegExp("^(?:"+L3+")$","i"),"needsContext":new RegExp("^"+M3+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M3+"*((?:-\\d)?\\d*)"+M3+"*\\)|)(?=[^-]|$)","i")},X3=/^(?:input|select|textarea|button)$/i,Y3=/^h\d$/i,Z3=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$3=/[+~]/,_3=/'|\\/g,a4=new RegExp("\\\\([\\da-f]{1,6}"+M3+"?|("+M3+")|.)","ig"),b4=function(_,a,b){var j="0x"+a-0x10000;return j!==j||b?a:j<0?String.fromCharCode(j+0x10000):String.fromCharCode(j>>10|0xD800,j&0x3FF|0xDC00);};try{h.apply((I3=f.call(A3.childNodes)),A3.childNodes);I3[A3.childNodes.length].nodeType;}catch(e){h={apply:I3.length?function(a,b){K3.apply(a,f.call(b));}:function(a,b){var j=a.length,i=0;while((a[j++]=b[i++])){}a.length=j-1;}};}function S(a,b,j,_){var u4,v4,m,w4,i,x4,y4,z4,A4,B4;if((b?b.ownerDocument||b:A3)!==J){t3(b);}b=b||J;j=j||[];if(!a||typeof a!=="string"){return j;}if((w4=b.nodeType)!==1&&w4!==9){return[];}if(u3&&!_){if((u4=K.exec(a))){if((m=u4[1])){if(w4===9){v4=b.getElementById(m);if(v4&&v4.parentNode){if(v4.id===m){j.push(v4);return j;}}else{return j;}}else{if(b.ownerDocument&&(v4=b.ownerDocument.getElementById(m))&&y3(b,v4)&&v4.id===m){j.push(v4);return j;}}}else if(u4[2]){h.apply(j,b.getElementsByTagName(a));return j;}else if((m=u4[3])&&x.getElementsByClassName&&b.getElementsByClassName){h.apply(j,b.getElementsByClassName(m));return j;}}if(x.qsa&&(!v3||!v3.test(a))){z4=y4=z3;A4=b;B4=w4===9&&a;if(w4===1&&b.nodeName.toLowerCase()!=="object"){x4=t(a);if((y4=b.getAttribute("id"))){z4=y4.replace(_3,"\\$&");}else{b.setAttribute("id",z4);}z4="[id='"+z4+"'] ";i=x4.length;while(i--){x4[i]=z4+m4(x4[i]);}A4=$3.test(a)&&k4(b.parentNode)||b;B4=x4.join(",");}if(B4){try{h.apply(j,A4.querySelectorAll(B4));return j;}catch(C4){}finally{if(!y4){b.removeAttribute("id");}}}}}return s(a.replace(z,"$1"),b,j,_);}function c4(){var a=[];function b(j,m){if(a.push(j+" ")>l.cacheLength){delete b[a.shift()];}return(b[j+" "]=m);}return b;}function d4(a){a[z3]=true;return a;}function e4(a){var b=J.createElement("div");try{return!!a(b);}catch(e){return false;}finally{if(b.parentNode){b.parentNode.removeChild(b);}b=null;}}function f4(a,b){var I3=a.split("|"),i=a.length;while(i--){l.attrHandle[I3[i]]=b;}}function g4(a,b){var j=b&&a,m=j&&a.nodeType===1&&b.nodeType===1&&(~b.sourceIndex||H3)-(~a.sourceIndex||H3);if(m){return m;}if(j){while((j=j.nextSibling)){if(j===b){return-1;}}}return a?1:-1;}function h4(a){return function(b){var j=b.nodeName.toLowerCase();return j==="input"&&b.type===a;};}function i4(a){return function(b){var j=b.nodeName.toLowerCase();return(j==="input"||j==="button")&&b.type===a;};}function j4(a){return d4(function(b){b=+b;return d4(function(m,x3){var j,_=a([],m.length,b),i=_.length;while(i--){if(m[(j=_[i])]){m[j]=!(x3[j]=m[j]);}}});});}function k4(a){return a&&typeof a.getElementsByTagName!==X&&a;}x=S.support={};p=S.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":false;};t3=S.setDocument=function(j){var _,u4=j?j.ownerDocument||j:A3,v4=u4.defaultView;if(u4===J||u4.nodeType!==9||!u4.documentElement){return J;}J=u4;o3=u4.documentElement;u3=!p(u4);if(v4&&v4!==v4.top){if(v4.addEventListener){v4.addEventListener("unload",function(){t3();},false);}else if(v4.attachEvent){v4.attachEvent("onunload",function(){t3();});}}x.attributes=e4(function(a){a.className="i";return!a.getAttribute("className");});x.getElementsByTagName=e4(function(a){a.appendChild(u4.createComment(""));return!a.getElementsByTagName("*").length;});x.getElementsByClassName=Z3.test(u4.getElementsByClassName)&&e4(function(a){a.innerHTML="
";a.firstChild.className="i";return a.getElementsByClassName("i").length===2;});x.getById=e4(function(a){o3.appendChild(a).id=z3;return!u4.getElementsByName||!u4.getElementsByName(z3).length;});if(x.getById){l.find["ID"]=function(a,b){if(typeof b.getElementById!==X&&u3){var m=b.getElementById(a);return m&&m.parentNode?[m]:[];}};l.filter["ID"]=function(a){var b=a.replace(a4,b4);return function(m){return m.getAttribute("id")===b;};};}else{delete l.find["ID"];l.filter["ID"]=function(a){var b=a.replace(a4,b4);return function(m){var j=typeof m.getAttributeNode!==X&&m.getAttributeNode("id");return j&&j.value===b;};};}l.find["TAG"]=x.getElementsByTagName?function(a,b){if(typeof b.getElementsByTagName!==X){return b.getElementsByTagName(a);}}:function(a,b){var m,w4=[],i=0,x4=b.getElementsByTagName(a);if(a==="*"){while((m=x4[i++])){if(m.nodeType===1){w4.push(m);}}return w4;}return x4;};l.find["CLASS"]=x.getElementsByClassName&&function(a,b){if(typeof b.getElementsByClassName!==X&&u3){return b.getElementsByClassName(a);}};w3=[];v3=[];if((x.qsa=Z3.test(u4.querySelectorAll))){e4(function(a){a.innerHTML="";if(a.querySelectorAll("[msallowclip^='']").length){v3.push("[*^$]="+M3+"*(?:''|\"\")");}if(!a.querySelectorAll("[selected]").length){v3.push("\\["+M3+"*(?:value|"+L3+")");}if(!a.querySelectorAll(":checked").length){v3.push(":checked");}});e4(function(a){var b=u4.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");if(a.querySelectorAll("[name=d]").length){v3.push("name"+M3+"*[*^$|!~]?=");}if(!a.querySelectorAll(":enabled").length){v3.push(":enabled",":disabled");}a.querySelectorAll("*,:x");v3.push(",.*:");});}if((x.matchesSelector=Z3.test((x3=o3.matches||o3.webkitMatchesSelector||o3.mozMatchesSelector||o3.oMatchesSelector||o3.msMatchesSelector)))){e4(function(a){x.disconnectedMatch=x3.call(a,"div");x3.call(a,"[s!='']:x");w3.push("!=",Q3);});}v3=v3.length&&new RegExp(v3.join("|"));w3=w3.length&&new RegExp(w3.join("|"));_=Z3.test(o3.compareDocumentPosition);y3=_||Z3.test(o3.contains)?function(a,b){var m=a.nodeType===9?a.documentElement:a,w4=b&&b.parentNode;return a===w4||!!(w4&&w4.nodeType===1&&(m.contains?m.contains(w4):a.compareDocumentPosition&&a.compareDocumentPosition(w4)&16));}:function(a,b){if(b){while((b=b.parentNode)){if(b===a){return true;}}}return false;};G3=_?function(a,b){if(a===b){s3=true;return 0;}var m=!a.compareDocumentPosition-!b.compareDocumentPosition;if(m){return m;}m=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;if(m&1||(!x.sortDetached&&b.compareDocumentPosition(a)===m)){if(a===u4||a.ownerDocument===A3&&y3(A3,a)){return-1;}if(b===u4||b.ownerDocument===A3&&y3(A3,b)){return 1;}return r3?(k.call(r3,a)-k.call(r3,b)):0;}return m&4?-1:1;}:function(a,b){if(a===b){s3=true;return 0;}var m,i=0,w4=a.parentNode,x4=b.parentNode,ap=[a],bp=[b];if(!w4||!x4){return a===u4?-1:b===u4?1:w4?-1:x4?1:r3?(k.call(r3,a)-k.call(r3,b)):0;}else if(w4===x4){return g4(a,b);}m=a;while((m=m.parentNode)){ap.unshift(m);}m=b;while((m=m.parentNode)){bp.unshift(m);}while(ap[i]===bp[i]){i++;}return i?g4(ap[i],bp[i]):ap[i]===A3?-1:bp[i]===A3?1:0;};return u4;};S.matches=function(a,b){return S(a,null,null,b);};S.matchesSelector=function(a,b){if((a.ownerDocument||a)!==J){t3(a);}b=b.replace(T3,"='$1']");if(x.matchesSelector&&u3&&(!w3||!w3.test(b))&&(!v3||!v3.test(b))){try{var j=x3.call(a,b);if(j||x.disconnectedMatch||a.document&&a.document.nodeType!==11){return j;}}catch(e){}}return S(b,J,null,[a]).length>0;};S.contains=function(a,b){if((a.ownerDocument||a)!==J){t3(a);}return y3(a,b);};S.attr=function(a,b){if((a.ownerDocument||a)!==J){t3(a);}var j=l.attrHandle[b.toLowerCase()],m=j&&u.call(l.attrHandle,b.toLowerCase())?j(a,b,!u3):undefined;return m!==undefined?m:x.attributes||!u3?a.getAttribute(b):(m=a.getAttributeNode(b))&&m.specified?m.value:null;};S.error=function(m){throw new Error("Syntax error, unrecognized expression: "+m);};S.uniqueSort=function(a){var b,m=[],j=0,i=0;s3=!x.detectDuplicates;r3=!x.sortStable&&a.slice(0);a.sort(G3);if(s3){while((b=a[i++])){if(b===a[i]){j=m.push(i);}}while(j--){a.splice(m[j],1);}}r3=null;return a;};n=S.getText=function(a){var b,j="",i=0,m=a.nodeType;if(!m){while((b=a[i++])){j+=n(b);}}else if(m===1||m===9||m===11){if(typeof a.textContent==="string"){return a.textContent;}else{for(a=a.firstChild;a;a=a.nextSibling){j+=n(a);}}}else if(m===3||m===4){return a.nodeValue;}return j;};l=S.selectors={cacheLength:50,createPseudo:d4,match:W3,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{"ATTR":function(m){m[1]=m[1].replace(a4,b4);m[3]=(m[3]||m[4]||m[5]||"").replace(a4,b4);if(m[2]==="~="){m[3]=" "+m[3]+" ";}return m.slice(0,4);},"CHILD":function(m){m[1]=m[1].toLowerCase();if(m[1].slice(0,3)==="nth"){if(!m[3]){S.error(m[0]);}m[4]=+(m[4]?m[5]+(m[6]||1):2*(m[3]==="even"||m[3]==="odd"));m[5]=+((m[7]+m[8])||m[3]==="odd");}else if(m[3]){S.error(m[0]);}return m;},"PSEUDO":function(m){var a,b=!m[6]&&m[2];if(W3["CHILD"].test(m[0])){return null;}if(m[3]){m[2]=m[4]||m[5]||"";}else if(b&&U3.test(b)&&(a=t(b,true))&&(a=b.indexOf(")",b.length-a)-b.length)){m[0]=m[0].slice(0,a);m[2]=b.slice(0,a);}return m.slice(0,3);}},filter:{"TAG":function(a){var b=a.replace(a4,b4).toLowerCase();return a==="*"?function(){return true;}:function(j){return j.nodeName&&j.nodeName.toLowerCase()===b;};},"CLASS":function(a){var b=D3[a+" "];return b||(b=new RegExp("(^|"+M3+")"+a+"("+M3+"|$)"))&&D3(a,function(j){return b.test(typeof j.className==="string"&&j.className||typeof j.getAttribute!==X&&j.getAttribute("class")||"");});},"ATTR":function(a,b,j){return function(m){var _=S.attr(m,a);if(_==null){return b==="!=";}if(!b){return true;}_+="";return b==="="?_===j:b==="!="?_!==j:b==="^="?j&&_.indexOf(j)===0:b==="*="?j&&_.indexOf(j)>-1:b==="$="?j&&_.slice(-j.length)===j:b==="~="?(" "+_+" ").indexOf(j)>-1:b==="|="?_===j||_.slice(0,j.length+1)===j+"-":false;};},"CHILD":function(a,b,j,m,_){var u4=a.slice(0,3)!=="nth",v4=a.slice(-4)!=="last",w4=b==="of-type";return m===1&&_===0?function(x4){return!!x4.parentNode;}:function(x4,y4,z4){var A4,B4,C4,D4,E4,F4,G4=u4!==v4?"nextSibling":"previousSibling",H4=x4.parentNode,I4=w4&&x4.nodeName.toLowerCase(),J4=!z4&&!w4;if(H4){if(u4){while(G4){C4=x4;while((C4=C4[G4])){if(w4?C4.nodeName.toLowerCase()===I4:C4.nodeType===1){return false;}}F4=G4=a==="only"&&!F4&&"nextSibling";}return true;}F4=[v4?H4.firstChild:H4.lastChild];if(v4&&J4){B4=H4[z3]||(H4[z3]={});A4=B4[a]||[];E4=A4[0]===B3&&A4[1];D4=A4[0]===B3&&A4[2];C4=E4&&H4.childNodes[E4];while((C4=++E4&&C4&&C4[G4]||(D4=E4=0)||F4.pop())){if(C4.nodeType===1&&++D4&&C4===x4){B4[a]=[B3,E4,D4];break;}}}else if(J4&&(A4=(x4[z3]||(x4[z3]={}))[a])&&A4[0]===B3){D4=A4[1];}else{while((C4=++E4&&C4&&C4[G4]||(D4=E4=0)||F4.pop())){if((w4?C4.nodeName.toLowerCase()===I4:C4.nodeType===1)&&++D4){if(J4){(C4[z3]||(C4[z3]={}))[a]=[B3,D4];}if(C4===x4){break;}}}}D4-=_;return D4===m||(D4%m===0&&D4/m>=0);}};},"PSEUDO":function(a,b){var j,m=l.pseudos[a]||l.setFilters[a.toLowerCase()]||S.error("unsupported pseudo: "+a);if(m[z3]){return m(b);}if(m.length>1){j=[a,a,"",b];return l.setFilters.hasOwnProperty(a.toLowerCase())?d4(function(_,x3){var u4,v4=m(_,b),i=v4.length;while(i--){u4=k.call(_,v4[i]);_[u4]=!(x3[u4]=v4[i]);}}):function(_){return m(_,0,j);};}return m;}},pseudos:{"not":d4(function(a){var b=[],j=[],m=r(a.replace(z,"$1"));return m[z3]?d4(function(_,x3,u4,v4){var w4,x4=m(_,null,v4,[]),i=_.length;while(i--){if((w4=x4[i])){_[i]=!(x3[i]=w4);}}}):function(_,u4,v4){b[0]=_;m(b,null,v4,j);return!j.pop();};}),"has":d4(function(a){return function(b){return S(a,b).length>0;};}),"contains":d4(function(a){return function(b){return(b.textContent||b.innerText||n(b)).indexOf(a)>-1;};}),"lang":d4(function(a){if(!V3.test(a||"")){S.error("unsupported lang: "+a);}a=a.replace(a4,b4).toLowerCase();return function(b){var j;do{if((j=u3?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))){j=j.toLowerCase();return j===a||j.indexOf(a+"-")===0;}}while((b=b.parentNode)&&b.nodeType===1);return false;};}),"target":function(a){var b=w.location&&w.location.hash;return b&&b.slice(1)===a.id;},"root":function(a){return a===o3;},"focus":function(a){return a===J.activeElement&&(!J.hasFocus||J.hasFocus())&&!!(a.type||a.href||~a.tabIndex);},"enabled":function(a){return a.disabled===false;},"disabled":function(a){return a.disabled===true;},"checked":function(a){var b=a.nodeName.toLowerCase();return(b==="input"&&!!a.checked)||(b==="option"&&!!a.selected);},"selected":function(a){if(a.parentNode){a.parentNode.selectedIndex;}return a.selected===true;},"empty":function(a){for(a=a.firstChild;a;a=a.nextSibling){if(a.nodeType<6){return false;}}return true;},"parent":function(a){return!l.pseudos["empty"](a);},"header":function(a){return Y3.test(a.nodeName);},"input":function(a){return X3.test(a.nodeName);},"button":function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button";},"text":function(a){var b;return a.nodeName.toLowerCase()==="input"&&a.type==="text"&&((b=a.getAttribute("type"))==null||b.toLowerCase()==="text");},"first":j4(function(){return[0];}),"last":j4(function(m,a){return[a-1];}),"eq":j4(function(m,a,b){return[b<0?b+a:b];}),"even":j4(function(m,a){var i=0;for(;i=0;){m.push(i);}return m;}),"gt":j4(function(m,a,b){var i=b<0?b+a:b;for(;++i1?function(a,b,j){var i=m.length;while(i--){if(!m[i](a,b,j)){return false;}}return true;}:m[0];}function p4(a,b,j){var i=0,m=b.length;for(;i-1){v4[z4]=!(w4[z4]=A4);}}}}else{G4=q4(G4===w4?G4.splice(D4,G4.length):G4);if(_){_(null,w4,G4,y4);}else{h.apply(w4,G4);}}});}function s4(a){var b,m,j,_=a.length,u4=l.relative[a[0].type],v4=u4||l.relative[" "],i=u4?1:0,w4=n4(function(z4){return z4===b;},v4,true),x4=n4(function(z4){return k.call(b,z4)>-1;},v4,true),y4=[function(z4,A4,B4){return(!u4&&(B4||A4!==v))||((b=A4).nodeType?w4(z4,A4,B4):x4(z4,A4,B4));}];for(;i<_;i++){if((m=l.relative[a[i].type])){y4=[n4(o4(y4),m)];}else{m=l.filter[a[i].type].apply(null,a[i].matches);if(m[z3]){j=++i;for(;j<_;j++){if(l.relative[a[j].type]){break;}}return r4(i>1&&o4(y4),i>1&&m4(a.slice(0,i-1).concat({value:a[i-2].type===" "?"*":""})).replace(z,"$1"),m,i0,_=a.length>0,u4=function(v4,w4,x4,y4,z4){var A4,j,B4,C4=0,i="0",D4=v4&&[],E4=[],F4=v,G4=v4||_&&l.find["TAG"]("*",z4),H4=(B3+=F4==null?1:Math.random()||0.1),I4=G4.length;if(z4){v=w4!==J&&w4;}for(;i!==I4&&(A4=G4[i])!=null;i++){if(_&&A4){j=0;while((B4=a[j++])){if(B4(A4,w4,x4)){y4.push(A4);break;}}if(z4){B3=H4;}}if(m){if((A4=!B4&&A4)){C4--;}if(v4){D4.push(A4);}}}C4+=i;if(m&&i!==C4){j=0;while((B4=b[j++])){B4(D4,E4,w4,x4);}if(v4){if(C4>0){while(i--){if(!(D4[i]||E4[i])){E4[i]=J3.call(y4);}}}E4=q4(E4);}h.apply(y4,E4);if(z4&&!v4&&E4.length>0&&(C4+b.length)>1){S.uniqueSort(y4);}}if(z4){B3=H4;v=F4;}return D4;};return m?d4(u4):u4;}r=S.compile=function(a,m){var i,b=[],j=[],_=F3[a+" "];if(!_){if(!m){m=t(a);}i=m.length;while(i--){_=s4(m[i]);if(_[z3]){b.push(_);}else{j.push(_);}}_=F3(a,t4(j,b));_.selector=a;}return _;};s=S.select=function(a,b,j,m){var i,_,u4,v4,w4,x4=typeof a==="function"&&a,y4=!m&&t((a=x4.selector||a));j=j||[];if(y4.length===1){_=y4[0]=y4[0].slice(0);if(_.length>2&&(u4=_[0]).type==="ID"&&x.getById&&b.nodeType===9&&u3&&l.relative[_[1].type]){b=(l.find["ID"](u4.matches[0].replace(a4,b4),b)||[])[0];if(!b){return j;}else if(x4){b=b.parentNode;}a=a.slice(_.shift().value.length);}i=W3["needsContext"].test(a)?0:_.length;while(i--){u4=_[i];if(l.relative[(v4=u4.type)]){break;}if((w4=l.find[v4])){if((m=w4(u4.matches[0].replace(a4,b4),$3.test(_[0].type)&&k4(b.parentNode)||b))){_.splice(i,1);a=m.length&&m4(_);if(!a){h.apply(j,m);return j;}break;}}}}(x4||r(a,y4))(m,b,!u3,j,$3.test(a)&&k4(b.parentNode)||b);return j;};x.sortStable=z3.split("").sort(G3).join("")===z3;x.detectDuplicates=!!s3;t3();x.sortDetached=e4(function(a){return a.compareDocumentPosition(J.createElement("div"))&1;});if(!e4(function(a){a.innerHTML="";return a.firstChild.getAttribute("href")==="#";})){f4("type|href|height|width",function(a,b,p){if(!p){return a.getAttribute(b,b.toLowerCase()==="type"?1:2);}});}if(!x.attributes||!e4(function(a){a.innerHTML="";a.firstChild.setAttribute("value","");return a.firstChild.getAttribute("value")==="";})){f4("value",function(a,b,p){if(!p&&a.nodeName.toLowerCase()==="input"){return a.defaultValue;}});}if(!e4(function(a){return a.getAttribute("disabled")==null;})){f4(L3,function(a,b,p){var j;if(!p){return a[b]===true?b.toLowerCase():(j=a.getAttributeNode(b))&&j.specified?j.value:null;}});}return S;})(w);Q.find=S;Q.expr=S.selectors;Q.expr[":"]=Q.expr.pseudos;Q.unique=S.uniqueSort;Q.text=S.getText;Q.isXMLDoc=S.isXML;Q.contains=S.contains;var E=Q.expr.match.needsContext;var F=(/^<(\w+)\s*\/?>(?:<\/\1>|)$/);var G=/^.[^:#\[\.,]*$/;function H(a,b,n){if(Q.isFunction(b)){return Q.grep(a,function(j,i){return!!b.call(j,i,j)!==n;});}if(b.nodeType){return Q.grep(a,function(j){return(j===b)!==n;});}if(typeof b==="string"){if(G.test(b)){return Q.filter(b,a,n);}b=Q.filter(b,a);}return Q.grep(a,function(j){return(Q.inArray(j,b)>=0)!==n;});}Q.filter=function(a,b,n){var j=b[0];if(n){a=":not("+a+")";}return b.length===1&&j.nodeType===1?Q.find.matchesSelector(j,a)?[j]:[]:Q.find.matches(a,Q.grep(b,function(j){return j.nodeType===1;}));};Q.fn.extend({find:function(s){var i,r=[],a=this,l=a.length;if(typeof s!=="string"){return this.pushStack(Q(s).filter(function(){for(i=0;i1?Q.unique(r):r);r.selector=this.selector?this.selector+" "+s:s;return r;},filter:function(s){return this.pushStack(H(this,s||[],false));},not:function(s){return this.pushStack(H(this,s||[],true));},is:function(s){return!!H(this,typeof s==="string"&&E.test(s)?Q(s):s||[],false).length;}});var I,J=w.document,K=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,L=Q.fn.init=function(s,a){var m,b;if(!s){return this;}if(typeof s==="string"){if(s.charAt(0)==="<"&&s.charAt(s.length-1)===">"&&s.length>=3){m=[null,s,null];}else{m=K.exec(s);}if(m&&(m[1]||!a)){if(m[1]){a=a instanceof Q?a[0]:a;Q.merge(this,Q.parseHTML(m[1],a&&a.nodeType?a.ownerDocument||a:J,true));if(F.test(m[1])&&Q.isPlainObject(a)){for(m in a){if(Q.isFunction(this[m])){this[m](a[m]);}else{this.attr(m,a[m]);}}}return this;}else{b=J.getElementById(m[2]);if(b&&b.parentNode){if(b.id!==m[2]){return I.find(s);}this.length=1;this[0]=b;}this.context=J;this.selector=s;return this;}}else if(!a||a.jquery){return(a||I).find(s);}else{return this.constructor(a).find(s);}}else if(s.nodeType){this.context=this[0]=s;this.length=1;return this;}else if(Q.isFunction(s)){return typeof I.ready!=="undefined"?I.ready(s):s(Q);}if(s.selector!==undefined){this.selector=s.selector;this.context=s.context;}return Q.makeArray(s,this);};L.prototype=Q.fn;I=Q(J);var M=/^(?:parents|prev(?:Until|All))/,N={children:true,contents:true,next:true,prev:true};Q.extend({dir:function(a,b,j){var m=[],l=a[b];while(l&&l.nodeType!==9&&(j===undefined||l.nodeType!==1||!Q(l).is(j))){if(l.nodeType===1){m.push(l);}l=l[b];}return m;},sibling:function(n,a){var r=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==a){r.push(n);}}return r;}});Q.fn.extend({has:function(t){var i,a=Q(t,this),l=a.length;return this.filter(function(){for(i=0;i-1:b.nodeType===1&&Q.find.matchesSelector(b,s))){m.push(b);break;}}}return this.pushStack(m.length>1?Q.unique(m):m);},index:function(a){if(!a){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1;}if(typeof a==="string"){return Q.inArray(this[0],Q(a));}return Q.inArray(a.jquery?a[0]:a,this);},add:function(s,a){return this.pushStack(Q.unique(Q.merge(this.get(),Q(s,a))));},addBack:function(s){return this.add(s==null?this.prevObject:this.prevObject.filter(s));}});function O(a,b){do{a=a[b];}while(a&&a.nodeType!==1);return a;}Q.each({parent:function(a){var p=a.parentNode;return p&&p.nodeType!==11?p:null;},parents:function(a){return Q.dir(a,"parentNode");},parentsUntil:function(a,i,b){return Q.dir(a,"parentNode",b);},next:function(a){return O(a,"nextSibling");},prev:function(a){return O(a,"previousSibling");},nextAll:function(a){return Q.dir(a,"nextSibling");},prevAll:function(a){return Q.dir(a,"previousSibling");},nextUntil:function(a,i,b){return Q.dir(a,"nextSibling",b);},prevUntil:function(a,i,b){return Q.dir(a,"previousSibling",b);},siblings:function(a){return Q.sibling((a.parentNode||{}).firstChild,a);},children:function(a){return Q.sibling(a.firstChild);},contents:function(a){return Q.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:Q.merge([],a.childNodes);}},function(n,a){Q.fn[n]=function(b,s){var r=Q.map(this,a,b);if(n.slice(-5)!=="Until"){s=b;}if(s&&typeof s==="string"){r=Q.filter(s,r);}if(this.length>1){if(!N[n]){r=Q.unique(r);}if(M.test(n)){r=r.reverse();}}return this.pushStack(r);};});var P=(/\S+/g);var R={};function T(a){var b=R[a]={};Q.each(a.match(P)||[],function(_,j){b[j]=true;});return b;}Q.Callbacks=function(a){a=typeof a==="string"?(R[a]||T(a)):Q.extend({},a);var b,m,j,l,n,p,r=[],s=!a.once&&[],t=function(_){m=a.memory&&_;j=true;n=p||0;p=0;l=r.length;b=true;for(;r&&n-1){r.splice(s3,1);if(b){if(s3<=l){l--;}if(s3<=n){n--;}}}});}return this;},has:function(_){return _?Q.inArray(_,r)>-1:!!(r&&r.length);},empty:function(){r=[];l=0;return this;},disable:function(){r=s=m=undefined;return this;},disabled:function(){return!r;},lock:function(){s=undefined;if(!m){v.disable();}return this;},locked:function(){return!s;},fireWith:function(_,r3){if(r&&(!j||s)){r3=r3||[];r3=[_,r3.slice?r3.slice():r3];if(b){s.push(r3);}else{t(r3);}}return this;},fire:function(){v.fireWith(this,arguments);return this;},fired:function(){return!!j;}};return v;};Q.extend({Deferred:function(a){var t=[["resolve","done",Q.Callbacks("once memory"),"resolved"],["reject","fail",Q.Callbacks("once memory"),"rejected"],["notify","progress",Q.Callbacks("memory")]],s="pending",p={state:function(){return s;},always:function(){b.done(arguments).fail(arguments);return this;},then:function(){var j=arguments;return Q.Deferred(function(n){Q.each(t,function(i,l){var m=Q.isFunction(j[i])&&j[i];b[l[1]](function(){var r=m&&m.apply(this,arguments);if(r&&Q.isFunction(r.promise)){r.promise().done(n.resolve).fail(n.reject).progress(n.notify);}else{n[l[0]+"With"](this===p?n.promise():this,m?[r]:arguments);}});});j=null;}).promise();},promise:function(j){return j!=null?Q.extend(j,p):p;}},b={};p.pipe=p.then;Q.each(t,function(i,j){var l=j[2],m=j[3];p[j[1]]=l.add;if(m){l.add(function(){s=m;},t[i^1][2].disable,t[2][2].lock);}b[j[0]]=function(){b[j[0]+"With"](this===b?p:this,arguments);return this;};b[j[0]+"With"]=l.fireWith;});p.promise(b);if(a){a.call(b,b);}return b;},when:function(s){var i=0,r=f.call(arguments),l=r.length,a=l!==1||(s&&Q.isFunction(s.promise))?l:0,b=a===1?s:Q.Deferred(),j=function(i,t,v){return function(_){t[i]=this;v[i]=arguments.length>1?f.call(arguments):_;if(v===p){b.notifyWith(t,v);}else if(!(--a)){b.resolveWith(t,v);}};},p,m,n;if(l>1){p=new Array(l);m=new Array(l);n=new Array(l);for(;i0){return;}U.resolveWith(J,[Q]);if(Q.fn.triggerHandler){Q(J).triggerHandler("ready");Q(J).off("ready");}}});function V(){if(J.addEventListener){J.removeEventListener("DOMContentLoaded",W,false);w.removeEventListener("load",W,false);}else{J.detachEvent("onreadystatechange",W);w.detachEvent("onload",W);}}function W(){if(J.addEventListener||event.type==="load"||J.readyState==="complete"){V();Q.ready();}}Q.ready.promise=function(a){if(!U){U=Q.Deferred();if(J.readyState==="complete"){setTimeout(Q.ready);}else if(J.addEventListener){J.addEventListener("DOMContentLoaded",W,false);w.addEventListener("load",W,false);}else{J.attachEvent("onreadystatechange",W);w.attachEvent("onload",W);var t=false;try{t=w.frameElement==null&&J.documentElement;}catch(e){}if(t&&t.doScroll){(function doScrollCheck(){if(!Q.isReady){try{t.doScroll("left");}catch(e){return setTimeout(doScrollCheck,50);}V();Q.ready();}})();}}}return U.promise(a);};var X=typeof undefined;var i;for(i in Q(x)){break;}x.ownLast=i!=="0";x.inlineBlockNeedsLayout=false;Q(function(){var v,a,b,j;b=J.getElementsByTagName("body")[0];if(!b||!b.style){return;}a=J.createElement("div");j=J.createElement("div");j.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";b.appendChild(j).appendChild(a);if(typeof a.style.zoom!==X){a.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1";x.inlineBlockNeedsLayout=v=a.offsetWidth===3;if(v){b.style.zoom=1;}}b.removeChild(j);});(function(){var a=J.createElement("div");if(x.deleteExpando==null){x.deleteExpando=true;try{delete a.test;}catch(e){x.deleteExpando=false;}}a=null;})();Q.acceptData=function(a){var n=Q.noData[(a.nodeName+" ").toLowerCase()],b=+a.nodeType||1;return b!==1&&b!==9?false:!n||n!==true&&a.getAttribute("classid")===n;};var Y=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/([A-Z])/g;function $(a,b,j){if(j===undefined&&a.nodeType===1){var n="data-"+b.replace(Z,"-$1").toLowerCase();j=a.getAttribute(n);if(typeof j==="string"){try{j=j==="true"?true:j==="false"?false:j==="null"?null:+j+""===j?+j:Y.test(j)?Q.parseJSON(j):j;}catch(e){}Q.data(a,b,j);}else{j=undefined;}}return j;}function a1(a){var n;for(n in a){if(n==="data"&&Q.isEmptyObject(a[n])){continue;}if(n!=="toJSON"){return false;}}return true;}function b1(a,n,b,p){if(!Q.acceptData(a)){return;}var r,t,j=Q.expando,l=a.nodeType,m=l?Q.cache:a,s=l?a[j]:a[j]&&j;if((!s||!m[s]||(!p&&!m[s].data))&&b===undefined&&typeof n==="string"){return;}if(!s){if(l){s=a[j]=d.pop()||Q.guid++;}else{s=j;}}if(!m[s]){m[s]=l?{}:{toJSON:Q.noop};}if(typeof n==="object"||typeof n==="function"){if(p){m[s]=Q.extend(m[s],n);}else{m[s].data=Q.extend(m[s].data,n);}}t=m[s];if(!p){if(!t.data){t.data={};}t=t.data;}if(b!==undefined){t[Q.camelCase(n)]=b;}if(typeof n==="string"){r=t[n];if(r==null){r=t[Q.camelCase(n)];}}else{r=t;}return r;}function c1(a,n,p){if(!Q.acceptData(a)){return;}var t,i,b=a.nodeType,j=b?Q.cache:a,l=b?a[Q.expando]:Q.expando;if(!j[l]){return;}if(n){t=p?j[l]:j[l].data;if(t){if(!Q.isArray(n)){if(n in t){n=[n];}else{n=Q.camelCase(n);if(n in t){n=[n];}else{n=n.split(" ");}}}else{n=n.concat(Q.map(n,Q.camelCase));}i=n.length;while(i--){delete t[n[i]];}if(p?!a1(t):!Q.isEmptyObject(t)){return;}}}if(!p){delete j[l].data;if(!a1(j[l])){return;}}if(b){Q.cleanData([a],true);}else if(x.deleteExpando||j!=j.window){delete j[l];}else{j[l]=null;}}Q.extend({cache:{},noData:{"applet ":true,"embed ":true,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){a=a.nodeType?Q.cache[a[Q.expando]]:a[Q.expando];return!!a&&!a1(a);},data:function(a,n,b){return b1(a,n,b);},removeData:function(a,n){return c1(a,n);},_data:function(a,n,b){return b1(a,n,b,true);},_removeData:function(a,n){return c1(a,n,true);}});Q.fn.extend({data:function(a,v){var i,n,b,j=this[0],l=j&&j.attributes;if(a===undefined){if(this.length){b=Q.data(j);if(j.nodeType===1&&!Q._data(j,"parsedAttrs")){i=l.length;while(i--){if(l[i]){n=l[i].name;if(n.indexOf("data-")===0){n=Q.camelCase(n.slice(5));$(j,n,b[n]);}}}Q._data(j,"parsedAttrs",true);}}return b;}if(typeof a==="object"){return this.each(function(){Q.data(this,a);});}return arguments.length>1?this.each(function(){Q.data(this,a,v);}):j?$(j,a,Q.data(j,a)):undefined;},removeData:function(a){return this.each(function(){Q.removeData(this,a);});}});Q.extend({queue:function(a,t,b){var j;if(a){t=(t||"fx")+"queue";j=Q._data(a,t);if(b){if(!j||Q.isArray(b)){j=Q._data(a,t,Q.makeArray(b));}else{j.push(b);}}return j||[];}},dequeue:function(a,t){t=t||"fx";var b=Q.queue(a,t),s=b.length,j=b.shift(),l=Q._queueHooks(a,t),n=function(){Q.dequeue(a,t);};if(j==="inprogress"){j=b.shift();s--;}if(j){if(t==="fx"){b.unshift("inprogress");}delete l.stop;j.call(a,n,l);}if(!s&&l){l.empty.fire();}},_queueHooks:function(a,t){var b=t+"queueHooks";return Q._data(a,b)||Q._data(a,b,{empty:Q.Callbacks("once memory").add(function(){Q._removeData(a,t+"queue");Q._removeData(a,b);})});}});Q.fn.extend({queue:function(t,a){var s=2;if(typeof t!=="string"){a=t;t="fx";s--;}if(arguments.length
a";x.leadingWhitespace=b.firstChild.nodeType===3;x.tbody=!b.getElementsByTagName("tbody").length;x.htmlSerialize=!!b.getElementsByTagName("link").length;x.html5Clone=J.createElement("nav").cloneNode(true).outerHTML!=="<:nav>";a.type="checkbox";a.checked=true;j.appendChild(a);x.appendChecked=a.checked;b.innerHTML="";x.noCloneChecked=!!b.cloneNode(true).lastChild.defaultValue;j.appendChild(b);b.innerHTML="";x.checkClone=b.cloneNode(true).cloneNode(true).lastChild.checked;x.noCloneEvent=true;if(b.attachEvent){b.attachEvent("onclick",function(){x.noCloneEvent=false;});b.cloneNode(true).click();}if(x.deleteExpando==null){x.deleteExpando=true;try{delete b.test;}catch(e){x.deleteExpando=false;}}})();(function(){var i,a,b=J.createElement("div");for(i in{submit:true,change:true,focusin:true}){a="on"+i;if(!(x[i+"Bubbles"]=a in w)){b.setAttribute(a,"t");x[i+"Bubbles"]=b.attributes[a].expando===false;}}b=null;})();var i1=/^(?:input|select|textarea)$/i,j1=/^key/,k1=/^(?:mouse|pointer|contextmenu)|click/,l1=/^(?:focusinfocus|focusoutblur)$/,m1=/^([^.]*)(?:\.(.+)|)$/;function n1(){return true;}function o1(){return false;}function p1(){try{return J.activeElement;}catch(a){}}Q.event={global:{},add:function(a,b,j,l,s){var m,n,t,p,r,v,_,r3,s3,t3,u3,v3=Q._data(a);if(!v3){return;}if(j.handler){p=j;j=p.handler;s=p.selector;}if(!j.guid){j.guid=Q.guid++;}if(!(n=v3.events)){n=v3.events={};}if(!(v=v3.handle)){v=v3.handle=function(e){return typeof Q!==X&&(!e||Q.event.triggered!==e.type)?Q.event.dispatch.apply(v.elem,arguments):undefined;};v.elem=a;}b=(b||"").match(P)||[""];t=b.length;while(t--){m=m1.exec(b[t])||[];s3=u3=m[1];t3=(m[2]||"").split(".").sort();if(!s3){continue;}r=Q.event.special[s3]||{};s3=(s?r.delegateType:r.bindType)||s3;r=Q.event.special[s3]||{};_=Q.extend({type:s3,origType:u3,data:l,handler:j,guid:j.guid,selector:s,needsContext:s&&Q.expr.match.needsContext.test(s),namespace:t3.join(".")},p);if(!(r3=n[s3])){r3=n[s3]=[];r3.delegateCount=0;if(!r.setup||r.setup.call(a,l,t3,v)===false){if(a.addEventListener){a.addEventListener(s3,v,false);}else if(a.attachEvent){a.attachEvent("on"+s3,v);}}}if(r.add){r.add.call(a,_);if(!_.handler.guid){_.handler.guid=j.guid;}}if(s){r3.splice(r3.delegateCount++,0,_);}else{r3.push(_);}Q.event.global[s3]=true;}a=null;},remove:function(a,b,l,s,m){var j,n,p,r,t,v,_,r3,s3,t3,u3,v3=Q.hasData(a)&&Q._data(a);if(!v3||!(v=v3.events)){return;}b=(b||"").match(P)||[""];t=b.length;while(t--){p=m1.exec(b[t])||[];s3=u3=p[1];t3=(p[2]||"").split(".").sort();if(!s3){for(s3 in v){Q.event.remove(a,s3+b[t],l,s,true);}continue;}_=Q.event.special[s3]||{};s3=(s?_.delegateType:_.bindType)||s3;r3=v[s3]||[];p=p[2]&&new RegExp("(^|\\.)"+t3.join("\\.(?:.*\\.|)")+"(\\.|$)");r=j=r3.length;while(j--){n=r3[j];if((m||u3===n.origType)&&(!l||l.guid===n.guid)&&(!p||p.test(n.namespace))&&(!s||s===n.selector||s==="**"&&n.selector)){r3.splice(j,1);if(n.selector){r3.delegateCount--;}if(_.remove){_.remove.call(a,n);}}}if(r&&!r3.length){if(!_.teardown||_.teardown.call(a,t3,v3.handle)===false){Q.removeEvent(a,s3,v3.handle);}delete v[s3];}}if(Q.isEmptyObject(v)){delete v3.handle;Q._removeData(a,"events");}},trigger:function(a,b,j,l){var m,n,p,r,s,t,i,v=[j||J],_=u.call(a,"type")?a.type:a,r3=u.call(a,"namespace")?a.namespace.split("."):[];p=t=j=j||J;if(j.nodeType===3||j.nodeType===8){return;}if(l1.test(_+Q.event.triggered)){return;}if(_.indexOf(".")>=0){r3=_.split(".");_=r3.shift();r3.sort();}n=_.indexOf(":")<0&&"on"+_;a=a[Q.expando]?a:new Q.Event(_,typeof a==="object"&&a);a.isTrigger=l?2:3;a.namespace=r3.join(".");a.namespace_re=a.namespace?new RegExp("(^|\\.)"+r3.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;a.result=undefined;if(!a.target){a.target=j;}b=b==null?[a]:Q.makeArray(b,[a]);s=Q.event.special[_]||{};if(!l&&s.trigger&&s.trigger.apply(j,b)===false){return;}if(!l&&!s.noBubble&&!Q.isWindow(j)){r=s.delegateType||_;if(!l1.test(r+_)){p=p.parentNode;}for(;p;p=p.parentNode){v.push(p);t=p;}if(t===(j.ownerDocument||J)){v.push(t.defaultView||t.parentWindow||w);}}i=0;while((p=v[i++])&&!a.isPropagationStopped()){a.type=i>1?r:s.bindType||_;m=(Q._data(p,"events")||{})[a.type]&&Q._data(p,"handle");if(m){m.apply(p,b);}m=n&&p[n];if(m&&m.apply&&Q.acceptData(p)){a.result=m.apply(p,b);if(a.result===false){a.preventDefault();}}}a.type=_;if(!l&&!a.isDefaultPrevented()){if((!s._default||s._default.apply(v.pop(),b)===false)&&Q.acceptData(j)){if(n&&j[_]&&!Q.isWindow(j)){t=j[n];if(t){j[n]=null;}Q.event.triggered=_;try{j[_]();}catch(e){}Q.event.triggered=undefined;if(t){j[n]=t;}}}}return a.result;},dispatch:function(a){a=Q.event.fix(a);var i,r,b,m,j,l=[],n=f.call(arguments),p=(Q._data(this,"events")||{})[a.type]||[],s=Q.event.special[a.type]||{};n[0]=a;a.delegateTarget=this;if(s.preDispatch&&s.preDispatch.call(this,a)===false){return;}l=Q.event.handlers.call(this,a,p);i=0;while((m=l[i++])&&!a.isPropagationStopped()){a.currentTarget=m.elem;j=0;while((b=m.handlers[j++])&&!a.isImmediatePropagationStopped()){if(!a.namespace_re||a.namespace_re.test(b.namespace)){a.handleObj=b;a.data=b.data;r=((Q.event.special[b.origType]||{}).handle||b.handler).apply(m.elem,n);if(r!==undefined){if((a.result=r)===false){a.preventDefault();a.stopPropagation();}}}}}if(s.postDispatch){s.postDispatch.call(this,a);}return a.result;},handlers:function(a,b){var s,j,m,i,l=[],n=b.delegateCount,p=a.target;if(n&&p.nodeType&&(!a.button||a.type!=="click")){for(;p!=this;p=p.parentNode||this){if(p.nodeType===1&&(p.disabled!==true||a.type!=="click")){m=[];for(i=0;i=0:Q.find(s,this,null,[p]).length;}if(m[s]){m.push(j);}}if(m.length){l.push({elem:p,handlers:m});}}}}if(n]","i"),u1=/^\s+/,v1=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,w1=/<([\w:]+)/,x1=/\s*$/g,E1={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:x.htmlSerialize?[0,"",""]:[1,"X
","
"]},F1=q1(J),G1=F1.appendChild(J.createElement("div"));E1.optgroup=E1.option;E1.tbody=E1.tfoot=E1.colgroup=E1.caption=E1.thead;E1.th=E1.td;function H1(a,t){var b,j,i=0,l=typeof a.getElementsByTagName!==X?a.getElementsByTagName(t||"*"):typeof a.querySelectorAll!==X?a.querySelectorAll(t||"*"):undefined;if(!l){for(l=[],b=a.childNodes||a;(j=b[i])!=null;i++){if(!t||Q.nodeName(j,t)){l.push(j);}else{Q.merge(l,H1(j,t));}}}return t===undefined||t&&Q.nodeName(a,t)?Q.merge([a],l):l;}function I1(a){if(h1.test(a.type)){a.defaultChecked=a.checked;}}function J1(a,b){return Q.nodeName(a,"table")&&Q.nodeName(b.nodeType!==11?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a;}function K1(a){a.type=(Q.find.attr(a,"type")!==null)+"/"+a.type;return a;}function L1(a){var m=C1.exec(a.type);if(m){a.type=m[1];}else{a.removeAttribute("type");}return a;}function M1(a,r){var b,i=0;for(;(b=a[i])!=null;i++){Q._data(b,"globalEval",!r||Q._data(r[i],"globalEval"));}}function N1(s,a){if(a.nodeType!==1||!Q.hasData(s)){return;}var t,i,l,b=Q._data(s),j=Q._data(a,b),m=b.events;if(m){delete j.handle;j.events={};for(t in m){for(i=0,l=m[t].length;i")){m=a.cloneNode(true);}else{G1.innerHTML=a.outerHTML;G1.removeChild(m=G1.firstChild);}if((!x.noCloneEvent||!x.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!Q.isXMLDoc(a)){l=H1(m);s=H1(a);for(i=0;(n=s[i])!=null;++i){if(l[i]){O1(n,l[i]);}}}if(b){if(j){s=s||H1(a);l=l||H1(m);for(i=0;(n=s[i])!=null;i++){N1(n,l[i]);}}else{N1(a,m);}}l=H1(m,"script");if(l.length>0){M1(l,!p&&H1(a,"script"));}l=s=n=null;return m;},buildFragment:function(a,b,s,m){var j,n,p,t,r,v,_,l=a.length,r3=q1(b),s3=[],i=0;for(;i")+_[2];j=_[0];while(j--){t=t.lastChild;}if(!x.leadingWhitespace&&u1.test(n)){s3.push(b.createTextNode(u1.exec(n)[0]));}if(!x.tbody){n=r==="table"&&!x1.test(n)?t.firstChild:_[1]===""&&!x1.test(n)?t:0;j=n&&n.childNodes.length;while(j--){if(Q.nodeName((v=n.childNodes[j]),"tbody")&&!v.childNodes.length){n.removeChild(v);}}}Q.merge(s3,t.childNodes);t.textContent="";while(t.firstChild){t.removeChild(t.firstChild);}t=r3.lastChild;}}}if(t){r3.removeChild(t);}if(!x.appendChecked){Q.grep(H1(s3,"input"),I1);}i=0;while((n=s3[i++])){if(m&&Q.inArray(n,m)!==-1){continue;}p=Q.contains(n.ownerDocument,n);t=H1(r3.appendChild(n),"script");if(p){M1(t);}if(s){j=0;while((n=t[j++])){if(B1.test(n.type||"")){s.push(n);}}}}t=null;return r3;},cleanData:function(a,b){var j,t,l,m,i=0,n=Q.expando,p=Q.cache,r=x.deleteExpando,s=Q.event.special;for(;(j=a[i])!=null;i++){if(b||Q.acceptData(j)){l=j[n];m=l&&p[l];if(m){if(m.events){for(t in m.events){if(s[t]){Q.event.remove(j,t);}else{Q.removeEvent(j,t,m.handle);}}}if(p[l]){delete p[l];if(r){delete j[n];}else if(typeof j.removeAttribute!==X){j.removeAttribute(n);}else{j[n]=null;}d.push(l);}}}}}});Q.fn.extend({text:function(v){return g1(this,function(v){return v===undefined?Q.text(this):this.empty().append((this[0]&&this[0].ownerDocument||J).createTextNode(v));},null,v,arguments.length);},append:function(){return this.domManip(arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=J1(this,a);t.appendChild(a);}});},prepend:function(){return this.domManip(arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=J1(this,a);t.insertBefore(a,t.firstChild);}});},before:function(){return this.domManip(arguments,function(a){if(this.parentNode){this.parentNode.insertBefore(a,this);}});},after:function(){return this.domManip(arguments,function(a){if(this.parentNode){this.parentNode.insertBefore(a,this.nextSibling);}});},remove:function(s,a){var b,j=s?Q.filter(s,this):this,i=0;for(;(b=j[i])!=null;i++){if(!a&&b.nodeType===1){Q.cleanData(H1(b));}if(b.parentNode){if(a&&Q.contains(b.ownerDocument,b)){M1(H1(b,"script"));}b.parentNode.removeChild(b);}}return this;},empty:function(){var a,i=0;for(;(a=this[i])!=null;i++){if(a.nodeType===1){Q.cleanData(H1(a,false));}while(a.firstChild){a.removeChild(a.firstChild);}if(a.options&&Q.nodeName(a,"select")){a.options.length=0;}}return this;},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return Q.clone(this,a,b);});},html:function(v){return g1(this,function(v){var a=this[0]||{},i=0,l=this.length;if(v===undefined){return a.nodeType===1?a.innerHTML.replace(s1,""):undefined;}if(typeof v==="string"&&!z1.test(v)&&(x.htmlSerialize||!t1.test(v))&&(x.leadingWhitespace||!u1.test(v))&&!E1[(w1.exec(v)||["",""])[1].toLowerCase()]){v=v.replace(v1,"<$1>");try{for(;i1&&typeof _==="string"&&!x.checkClone&&A1.test(_))){return this.each(function(s3){var t3=t.eq(s3);if(r3){a[0]=_.call(this,s3,t3.html());}t3.domManip(a,b);});}if(l){r=Q.buildFragment(a,this[0].ownerDocument,false,this);j=r.firstChild;if(r.childNodes.length===1){r=j;}if(j){s=Q.map(H1(r,"script"),K1);m=s.length;for(;i")).appendTo(a.documentElement);a=(P1[0].contentWindow||P1[0].contentDocument).document;a.write();a.close();b=R1(n,a);P1.detach();}Q1[n]=b;}return b;}(function(){var s;x.shrinkWrapBlocks=function(){if(s!=null){return s;}s=false;var a,b,j;b=J.getElementsByTagName("body")[0];if(!b||!b.style){return;}a=J.createElement("div");j=J.createElement("div");j.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";b.appendChild(j).appendChild(a);if(typeof a.style.zoom!==X){a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;"+"box-sizing:content-box;display:block;margin:0;border:0;"+"padding:1px;width:1px;zoom:1";a.appendChild(J.createElement("div")).style.width="5px";s=a.offsetWidth!==3;}b.removeChild(j);return s;};})();var T1=(/^margin/);var U1=new RegExp("^("+d1+")(?!px)[a-z%]+$","i");var V1,W1,X1=/^(top|right|bottom|left)$/;if(w.getComputedStyle){V1=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null);};W1=function(a,n,b){var j,m,l,r,s=a.style;b=b||V1(a);r=b?b.getPropertyValue(n)||b[n]:undefined;if(b){if(r===""&&!Q.contains(a.ownerDocument,a)){r=Q.style(a,n);}if(U1.test(r)&&T1.test(n)){j=s.width;m=s.minWidth;l=s.maxWidth;s.minWidth=s.maxWidth=s.width=r;r=b.width;s.width=j;s.minWidth=m;s.maxWidth=l;}}return r===undefined?r:r+"";};}else if(J.documentElement.currentStyle){V1=function(a){return a.currentStyle;};W1=function(a,n,b){var l,r,j,m,s=a.style;b=b||V1(a);m=b?b[n]:undefined;if(m==null&&s&&s[n]){m=s[n];}if(U1.test(m)&&!X1.test(n)){l=s.left;r=a.runtimeStyle;j=r&&r.left;if(j){r.left=a.currentStyle.left;}s.left=n==="fontSize"?"1em":m;m=s.pixelLeft+"px";s.left=l;if(j){r.left=j;}}return m===undefined?m:m+""||"auto";};}function Y1(a,b){return{get:function(){var j=a();if(j==null){return;}if(j){delete this.get;return;}return(this.get=b).apply(this,arguments);}};}(function(){var b,s,a,p,j,r,l;b=J.createElement("div");b.innerHTML="
a";a=b.getElementsByTagName("a")[0];s=a&&a.style;if(!s){return;}s.cssText="float:left;opacity:.5";x.opacity=s.opacity==="0.5";x.cssFloat=!!s.cssFloat;b.style.backgroundClip="content-box";b.cloneNode(true).style.backgroundClip="";x.clearCloneStyle=b.style.backgroundClip==="content-box";x.boxSizing=s.boxSizing===""||s.MozBoxSizing===""||s.WebkitBoxSizing==="";Q.extend(x,{reliableHiddenOffsets:function(){if(r==null){m();}return r;},boxSizingReliable:function(){if(j==null){m();}return j;},pixelPosition:function(){if(p==null){m();}return p;},reliableMarginRight:function(){if(l==null){m();}return l;}});function m(){var b,n,t,v;n=J.getElementsByTagName("body")[0];if(!n||!n.style){return;}b=J.createElement("div");t=J.createElement("div");t.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px";n.appendChild(t).appendChild(b);b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;"+"box-sizing:border-box;display:block;margin-top:1%;top:1%;"+"border:1px;padding:1px;width:4px;position:absolute";p=j=false;l=true;if(w.getComputedStyle){p=(w.getComputedStyle(b,null)||{}).top!=="1%";j=(w.getComputedStyle(b,null)||{width:"4px"}).width==="4px";v=b.appendChild(J.createElement("div"));v.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;"+"box-sizing:content-box;display:block;margin:0;border:0;padding:0";v.style.marginRight=v.style.width="0";b.style.width="1px";l=!parseFloat((w.getComputedStyle(v,null)||{}).marginRight);}b.innerHTML="
t
";v=b.getElementsByTagName("td");v[0].style.cssText="margin:0;border:0;padding:0;display:none";r=v[0].offsetHeight===0;if(r){v[0].style.display="";v[1].style.display="none";r=v[0].offsetHeight===0;}n.removeChild(t);}})();Q.swap=function(a,b,j,l){var r,n,m={};for(n in b){m[n]=a.style[n];a.style[n]=b[n];}r=j.apply(a,l||[]);for(n in b){a.style[n]=m[n];}return r;};var Z1=/alpha\([^)]*\)/i,$1=/opacity\s*=\s*([^)]*)/,_1=/^(none|table(?!-c[ea]).+)/,a2=new RegExp("^("+d1+")(.*)$","i"),b2=new RegExp("^([+-])=("+d1+")","i"),c2={position:"absolute",visibility:"hidden",display:"block"},d2={letterSpacing:"0",fontWeight:"400"},e2=["Webkit","O","Moz","ms"];function f2(s,n){if(n in s){return n;}var a=n.charAt(0).toUpperCase()+n.slice(1),b=n,i=e2.length;while(i--){n=e2[i]+a;if(n in s){return n;}}return b;}function g2(a,s){var b,j,l,v=[],m=0,n=a.length;for(;m=1||v==="")&&Q.trim(l.replace(Z1,""))===""&&s.removeAttribute){s.removeAttribute("filter");if(v===""||b&&!b.filter){return;}}s.filter=Z1.test(l)?l.replace(Z1,j):l+" "+j;}};}Q.cssHooks.marginRight=Y1(x.reliableMarginRight,function(a,b){if(b){return Q.swap(a,{"display":"inline-block"},W1,[a,"marginRight"]);}});Q.each({margin:"",padding:"",border:"Width"},function(p,s){Q.cssHooks[p+s]={expand:function(v){var i=0,a={},b=typeof v==="string"?v.split(" "):[v];for(;i<4;i++){a[p+e1[i]+s]=b[i]||b[i-2]||b[0];}return a;}};if(!T1.test(p)){Q.cssHooks[p+s].set=h2;}});Q.fn.extend({css:function(n,v){return g1(this,function(a,n,v){var s,l,m={},i=0;if(Q.isArray(n)){s=V1(a);l=n.length;for(;i1);},show:function(){return g2(this,true);},hide:function(){return g2(this);},toggle:function(s){if(typeof s==="boolean"){return s?this.show():this.hide();}return this.each(function(){if(f1(this)){Q(this).show();}else{Q(this).hide();}});}});function k2(a,b,p,j,l){return new k2.prototype.init(a,b,p,j,l);}Q.Tween=k2;k2.prototype={constructor:k2,init:function(a,b,p,j,l,m){this.elem=a;this.prop=p;this.easing=l||"swing";this.options=b;this.start=this.now=this.cur();this.end=j;this.unit=m||(Q.cssNumber[p]?"":"px");},cur:function(){var a=k2.propHooks[this.prop];return a&&a.get?a.get(this):k2.propHooks._default.get(this);},run:function(p){var a,b=k2.propHooks[this.prop];if(this.options.duration){this.pos=a=Q.easing[this.easing](p,this.options.duration*p,0,1,this.options.duration);}else{this.pos=a=p;}this.now=(this.end-this.start)*a+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this);}if(b&&b.set){b.set(this);}else{k2.propHooks._default.set(this);}return this;}};k2.prototype.init.prototype=k2.prototype;k2.propHooks={_default:{get:function(t){var r;if(t.elem[t.prop]!=null&&(!t.elem.style||t.elem.style[t.prop]==null)){return t.elem[t.prop];}r=Q.css(t.elem,t.prop,"");return!r||r==="auto"?0:r;},set:function(t){if(Q.fx.step[t.prop]){Q.fx.step[t.prop](t);}else if(t.elem.style&&(t.elem.style[Q.cssProps[t.prop]]!=null||Q.cssHooks[t.prop])){Q.style(t.elem,t.prop,t.now+t.unit);}else{t.elem[t.prop]=t.now;}}}};k2.propHooks.scrollTop=k2.propHooks.scrollLeft={set:function(t){if(t.elem.nodeType&&t.elem.parentNode){t.elem[t.prop]=t.now;}}};Q.easing={linear:function(p){return p;},swing:function(p){return 0.5-Math.cos(p*Math.PI)/2;}};Q.fx=k2.prototype.init;Q.fx.step={};var l2,m2,n2=/^(?:toggle|show|hide)$/,o2=new RegExp("^(?:([+-])=|)("+d1+")([a-z%]*)$","i"),p2=/queueHooks$/,q2=[v2],r2={"*":[function(p,v){var t=this.createTween(p,v),a=t.cur(),b=o2.exec(v),j=b&&b[3]||(Q.cssNumber[p]?"":"px"),s=(Q.cssNumber[p]||j!=="px"&&+a)&&o2.exec(Q.css(t.elem,p)),l=1,m=20;if(s&&s[3]!==j){j=j||s[3];b=b||[];s=+a||1;do{l=l||".5";s=s/l;Q.style(t.elem,p,s+j);}while(l!==(l=t.cur()/a)&&l!==1&&--m);}if(b){s=t.start=+s||+a||0;t.unit=j;t.end=b[1]?s+(b[1]+1)*b[2]:+b[2];}return t;}]};function s2(){setTimeout(function(){l2=undefined;});return(l2=Q.now());}function t2(t,a){var b,j={height:t},i=0;a=a?1:0;for(;i<4;i+=2-a){b=e1[i];j["margin"+b]=j["padding"+b]=t;}if(a){j.opacity=j.width=t;}return j;}function u2(v,p,a){var t,b=(r2[p]||[]).concat(r2["*"]),j=0,l=b.length;for(;j
a";a=j.getElementsByTagName("a")[0];s=J.createElement("select");l=s.appendChild(J.createElement("option"));b=j.getElementsByTagName("input")[0];a.style.cssText="top:1px";x.getSetAttribute=j.className!=="t";x.style=/top/.test(a.getAttribute("style"));x.hrefNormalized=a.getAttribute("href")==="/a";x.checkOn=!!b.value;x.optSelected=l.selected;x.enctype=!!J.createElement("form").enctype;s.disabled=true;x.optDisabled=!l.disabled;b=J.createElement("input");b.setAttribute("value","");x.input=b.getAttribute("value")==="";b.value="t";b.setAttribute("type","radio");x.radioValue=b.value==="t";})();var y2=/\r/g;Q.fn.extend({val:function(v){var a,r,b,j=this[0];if(!arguments.length){if(j){a=Q.valHooks[j.type]||Q.valHooks[j.nodeName.toLowerCase()];if(a&&"get"in a&&(r=a.get(j,"value"))!==undefined){return r;}r=j.value;return typeof r==="string"?r.replace(y2,""):r==null?"":r;}return;}b=Q.isFunction(v);return this.each(function(i){var l;if(this.nodeType!==1){return;}if(b){l=v.call(this,i,Q(this).val());}else{l=v;}if(l==null){l="";}else if(typeof l==="number"){l+="";}else if(Q.isArray(l)){l=Q.map(l,function(v){return v==null?"":v+"";});}a=Q.valHooks[this.type]||Q.valHooks[this.nodeName.toLowerCase()];if(!a||!("set"in a)||a.set(this,l,"value")===undefined){this.value=l;}});}});Q.extend({valHooks:{option:{get:function(a){var v=Q.find.attr(a,"value");return v!=null?v:Q.trim(Q.text(a));}},select:{get:function(a){var v,b,j=a.options,l=a.selectedIndex,m=a.type==="select-one"||l<0,n=m?null:[],p=m?l+1:j.length,i=l<0?p:m?l:0;for(;i=0){try{j.selected=b=true;}catch(_){j.scrollHeight;}}else{j.selected=false;}}if(!b){a.selectedIndex=-1;}return l;}}}});Q.each(["radio","checkbox"],function(){Q.valHooks[this]={set:function(a,v){if(Q.isArray(v)){return(a.checked=Q.inArray(Q(a).val(),v)>=0);}}};if(!x.checkOn){Q.valHooks[this].get=function(a){return a.getAttribute("value")===null?"on":a.value;};}});var z2,A2,B2=Q.expr.attrHandle,C2=/^(?:checked|selected)$/i,D2=x.getSetAttribute,E2=x.input;Q.fn.extend({attr:function(n,v){return g1(this,Q.attr,n,v,arguments.length>1);},removeAttr:function(n){return this.each(function(){Q.removeAttr(this,n);});}});Q.extend({attr:function(a,n,v){var b,r,j=a.nodeType;if(!a||j===3||j===8||j===2){return;}if(typeof a.getAttribute===X){return Q.prop(a,n,v);}if(j!==1||!Q.isXMLDoc(a)){n=n.toLowerCase();b=Q.attrHooks[n]||(Q.expr.match.bool.test(n)?A2:z2);}if(v!==undefined){if(v===null){Q.removeAttr(a,n);}else if(b&&"set"in b&&(r=b.set(a,v,n))!==undefined){return r;}else{a.setAttribute(n,v+"");return v;}}else if(b&&"get"in b&&(r=b.get(a,n))!==null){return r;}else{r=Q.find.attr(a,n);return r==null?undefined:r;}},removeAttr:function(a,v){var n,p,i=0,b=v&&v.match(P);if(b&&a.nodeType===1){while((n=b[i++])){p=Q.propFix[n]||n;if(Q.expr.match.bool.test(n)){if(E2&&D2||!C2.test(n)){a[p]=false;}else{a[Q.camelCase("default-"+n)]=a[p]=false;}}else{Q.attr(a,n,"");}a.removeAttribute(D2?n:p);}}},attrHooks:{type:{set:function(a,v){if(!x.radioValue&&v==="radio"&&Q.nodeName(a,"input")){var b=a.value;a.setAttribute("type",v);if(b){a.value=b;}return v;}}}}});A2={set:function(a,v,n){if(v===false){Q.removeAttr(a,n);}else if(E2&&D2||!C2.test(n)){a.setAttribute(!D2&&Q.propFix[n]||n,n);}else{a[Q.camelCase("default-"+n)]=a[n]=true;}return n;}};Q.each(Q.expr.match.bool.source.match(/\w+/g),function(i,n){var a=B2[n]||Q.find.attr;B2[n]=E2&&D2||!C2.test(n)?function(b,n,j){var r,l;if(!j){l=B2[n];B2[n]=r;r=a(b,n,j)!=null?n.toLowerCase():null;B2[n]=l;}return r;}:function(b,n,j){if(!j){return b[Q.camelCase("default-"+n)]?n.toLowerCase():null;}};});if(!E2||!D2){Q.attrHooks.value={set:function(a,v,n){if(Q.nodeName(a,"input")){a.defaultValue=v;}else{return z2&&z2.set(a,v,n);}}};}if(!D2){z2={set:function(a,v,n){var r=a.getAttributeNode(n);if(!r){a.setAttributeNode((r=a.ownerDocument.createAttribute(n)));}r.value=v+="";if(n==="value"||v===a.getAttribute(n)){return v;}}};B2.id=B2.name=B2.coords=function(a,n,b){var r;if(!b){return(r=a.getAttributeNode(n))&&r.value!==""?r.value:null;}};Q.valHooks.button={get:function(a,n){var r=a.getAttributeNode(n);if(r&&r.specified){return r.value;}},set:z2.set};Q.attrHooks.contenteditable={set:function(a,v,n){z2.set(a,v===""?false:v,n);}};Q.each(["width","height"],function(i,n){Q.attrHooks[n]={set:function(a,v){if(v===""){a.setAttribute(n,"auto");return v;}}};});}if(!x.style){Q.attrHooks.style={get:function(a){return a.style.cssText||undefined;},set:function(a,v){return(a.style.cssText=v+"");}};}var F2=/^(?:input|select|textarea|button|object)$/i,G2=/^(?:a|area)$/i;Q.fn.extend({prop:function(n,v){return g1(this,Q.prop,n,v,arguments.length>1);},removeProp:function(n){n=Q.propFix[n]||n;return this.each(function(){try{this[n]=undefined;delete this[n];}catch(e){}});}});Q.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,n,v){var r,b,j,l=a.nodeType;if(!a||l===3||l===8||l===2){return;}j=l!==1||!Q.isXMLDoc(a);if(j){n=Q.propFix[n]||n;b=Q.propHooks[n];}if(v!==undefined){return b&&"set"in b&&(r=b.set(a,v,n))!==undefined?r:(a[n]=v);}else{return b&&"get"in b&&(r=b.get(a,n))!==null?r:a[n];}},propHooks:{tabIndex:{get:function(a){var t=Q.find.attr(a,"tabindex");return t?parseInt(t,10):F2.test(a.nodeName)||G2.test(a.nodeName)&&a.href?0:-1;}}}});if(!x.hrefNormalized){Q.each(["href","src"],function(i,n){Q.propHooks[n]={get:function(a){return a.getAttribute(n,4);}};});}if(!x.optSelected){Q.propHooks.selected={get:function(a){var p=a.parentNode;if(p){p.selectedIndex;if(p.parentNode){p.parentNode.selectedIndex;}}return null;}};}Q.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Q.propFix[this.toLowerCase()]=this;});if(!x.enctype){Q.propFix.enctype="encoding";}var H2=/[\t\r\n\f]/g;Q.fn.extend({addClass:function(v){var a,b,l,m,j,n,i=0,p=this.length,r=typeof v==="string"&&v;if(Q.isFunction(v)){return this.each(function(j){Q(this).addClass(v.call(this,j,this.className));});}if(r){a=(v||"").match(P)||[];for(;i=0){l=l.replace(" "+m+" "," ");}}n=v?Q.trim(l):"";if(b.className!==n){b.className=n;}}}}return this;},toggleClass:function(v,s){var t=typeof v;if(typeof s==="boolean"&&t==="string"){return s?this.addClass(v):this.removeClass(v);}if(Q.isFunction(v)){return this.each(function(i){Q(this).toggleClass(v.call(this,i,this.className,s),s);});}return this.each(function(){if(t==="string"){var a,i=0,b=Q(this),j=v.match(P)||[];while((a=j[i++])){if(b.hasClass(a)){b.removeClass(a);}else{b.addClass(a);}}}else if(t===X||t==="boolean"){if(this.className){Q._data(this,"__className__",this.className);}this.className=this.className||v===false?"":Q._data(this,"__className__")||"";}});},hasClass:function(s){var a=" "+s+" ",i=0,l=this.length;for(;i=0){return true;}}return false;}});Q.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error contextmenu").split(" "),function(i,n){Q.fn[n]=function(a,b){return arguments.length>0?this.on(n,null,a,b):this.trigger(n);};});Q.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a);},bind:function(t,a,b){return this.on(t,null,a,b);},unbind:function(t,a){return this.off(t,null,a);},delegate:function(s,t,a,b){return this.on(t,s,a,b);},undelegate:function(s,t,a){return arguments.length===1?this.off(s,"**"):this.off(t,s||"**",a);}});var I2=Q.now();var J2=(/\?/);var K2=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;Q.parseJSON=function(a){if(w.JSON&&w.JSON.parse){return w.JSON.parse(a+"");}var r,b=null,s=Q.trim(a+"");return s&&!Q.trim(s.replace(K2,function(t,j,l,m){if(r&&j){b=0;}if(b===0){return t;}r=l||j;b+=!m-!l;return"";}))?(Function("return "+s))():Q.error("Invalid JSON: "+a);};Q.parseXML=function(a){var b,t;if(!a||typeof a!=="string"){return null;}try{if(w.DOMParser){t=new DOMParser();b=t.parseFromString(a,"text/xml");}else{b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";b.loadXML(a);}}catch(e){b=undefined;}if(!b||!b.documentElement||b.getElementsByTagName("parsererror").length){Q.error("Invalid XML: "+a);}return b;};var L2,M2,N2=/#.*$/,O2=/([?&])_=[^&]*/,P2=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Q2=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,R2=/^(?:GET|HEAD)$/,S2=/^\/\//,T2=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,U2={},V2={},W2="*/".concat("*");try{M2=location.href;}catch(e){M2=J.createElement("a");M2.href="";M2=M2.href;}L2=T2.exec(M2.toLowerCase())||[];function X2(s){return function(a,b){if(typeof a!=="string"){b=a;a="*";}var j,i=0,l=a.toLowerCase().match(P)||[];if(Q.isFunction(b)){while((j=l[i++])){if(j.charAt(0)==="+"){j=j.slice(1)||"*";(s[j]=s[j]||[]).unshift(b);}else{(s[j]=s[j]||[]).push(b);}}}};}function Y2(s,a,b,j){var l={},m=(s===V2);function n(p){var r;l[p]=true;Q.each(s[p]||[],function(_,t){var v=t(a,b,j);if(typeof v==="string"&&!m&&!l[v]){a.dataTypes.unshift(v);n(v);return false;}else if(m){return!(r=v);}});return r;}return n(a.dataTypes[0])||!l["*"]&&n("*");}function Z2(t,s){var a,b,j=Q.ajaxSettings.flatOptions||{};for(b in s){if(s[b]!==undefined){(j[b]?t:(a||(a={})))[b]=s[b];}}if(a){Q.extend(true,t,a);}return t;}function $2(s,j,r){var a,b,l,t,m=s.contents,n=s.dataTypes;while(n[0]==="*"){n.shift();if(b===undefined){b=s.mimeType||j.getResponseHeader("Content-Type");}}if(b){for(t in m){if(m[t]&&m[t].test(b)){n.unshift(t);break;}}}if(n[0]in r){l=n[0];}else{for(t in r){if(!n[0]||s.converters[t+" "+n[0]]){l=t;break;}if(!a){a=t;}}l=l||a;}if(l){if(l!==n[0]){n.unshift(l);}return r[l];}}function _2(s,r,j,a){var b,l,m,t,p,n={},v=s.dataTypes.slice();if(v[1]){for(m in s.converters){n[m.toLowerCase()]=s.converters[m];}}l=v.shift();while(l){if(s.responseFields[l]){j[s.responseFields[l]]=r;}if(!p&&a&&s.dataFilter){r=s.dataFilter(r,s.dataType);}p=l;l=v.shift();if(l){if(l==="*"){l=p;}else if(p!=="*"&&p!==l){m=n[p+" "+l]||n["* "+l];if(!m){for(b in n){t=b.split(" ");if(t[1]===l){m=n[p+" "+t[0]]||n["* "+t[0]];if(m){if(m===true){m=n[b];}else if(n[b]!==true){l=t[0];v.unshift(t[1]);}break;}}}}if(m!==true){if(m&&s["throws"]){r=m(r);}else{try{r=m(r);}catch(e){return{state:"parsererror",error:m?e:"No conversion from "+p+" to "+l};}}}}}}return{state:"success",data:r};}Q.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:M2,type:"GET",isLocal:Q2.test(L2[1]),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":W2,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":Q.parseJSON,"text xml":Q.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(t,s){return s?Z2(Z2(t,Q.ajaxSettings),s):Z2(Q.ajaxSettings,t);},ajaxPrefilter:X2(U2),ajaxTransport:X2(V2),ajax:function(a,b){if(typeof a==="object"){b=a;a=undefined;}b=b||{};var p,i,j,r,t,l,m,n,s=Q.ajaxSetup({},b),v=s.context||s,_=s.context&&(v.nodeType||v.jquery)?Q(v):Q.event,r3=Q.Deferred(),s3=Q.Callbacks("once memory"),t3=s.statusCode||{},u3={},v3={},w3=0,x3="canceled",y3={readyState:0,getResponseHeader:function(A3){var B3;if(w3===2){if(!n){n={};while((B3=P2.exec(r))){n[B3[1].toLowerCase()]=B3[2];}}B3=n[A3.toLowerCase()];}return B3==null?null:B3;},getAllResponseHeaders:function(){return w3===2?r:null;},setRequestHeader:function(A3,B3){var C3=A3.toLowerCase();if(!w3){A3=v3[C3]=v3[C3]||A3;u3[A3]=B3;}return this;},overrideMimeType:function(A3){if(!w3){s.mimeType=A3;}return this;},statusCode:function(A3){var B3;if(A3){if(w3<2){for(B3 in A3){t3[B3]=[t3[B3],A3[B3]];}}else{y3.always(A3[y3.status]);}}return this;},abort:function(A3){var B3=A3||x3;if(m){m.abort(B3);}z3(0,B3);return this;}};r3.promise(y3).complete=s3.add;y3.success=y3.done;y3.error=y3.fail;s.url=((a||s.url||M2)+"").replace(N2,"").replace(S2,L2[1]+"//");s.type=b.method||b.type||s.method||s.type;s.dataTypes=Q.trim(s.dataType||"*").toLowerCase().match(P)||[""];if(s.crossDomain==null){p=T2.exec(s.url.toLowerCase());s.crossDomain=!!(p&&(p[1]!==L2[1]||p[2]!==L2[2]||(p[3]||(p[1]==="http:"?"80":"443"))!==(L2[3]||(L2[1]==="http:"?"80":"443"))));}if(s.data&&s.processData&&typeof s.data!=="string"){s.data=Q.param(s.data,s.traditional);}Y2(U2,s,b,y3);if(w3===2){return y3;}l=s.global;if(l&&Q.active++===0){Q.event.trigger("ajaxStart");}s.type=s.type.toUpperCase();s.hasContent=!R2.test(s.type);j=s.url;if(!s.hasContent){if(s.data){j=(s.url+=(J2.test(j)?"&":"?")+s.data);delete s.data;}if(s.cache===false){s.url=O2.test(j)?j.replace(O2,"$1_="+I2++):j+(J2.test(j)?"&":"?")+"_="+I2++;}}if(s.ifModified){if(Q.lastModified[j]){y3.setRequestHeader("If-Modified-Since",Q.lastModified[j]);}if(Q.etag[j]){y3.setRequestHeader("If-None-Match",Q.etag[j]);}}if(s.data&&s.hasContent&&s.contentType!==false||b.contentType){y3.setRequestHeader("Content-Type",s.contentType);}y3.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+(s.dataTypes[0]!=="*"?", "+W2+"; q=0.01":""):s.accepts["*"]);for(i in s.headers){y3.setRequestHeader(i,s.headers[i]);}if(s.beforeSend&&(s.beforeSend.call(v,y3,s)===false||w3===2)){return y3.abort();}x3="abort";for(i in{success:1,error:1,complete:1}){y3[i](s[i]);}m=Y2(V2,s,b,y3);if(!m){z3(-1,"No Transport");}else{y3.readyState=1;if(l){_.trigger("ajaxSend",[y3,s]);}if(s.async&&s.timeout>0){t=setTimeout(function(){y3.abort("timeout");},s.timeout);}try{w3=1;m.send(u3,z3);}catch(e){if(w3<2){z3(-1,e);}else{throw e;}}}function z3(A3,B3,C3,D3){var E3,F3,G3,H3,I3,J3=B3;if(w3===2){return;}w3=2;if(t){clearTimeout(t);}m=undefined;r=D3||"";y3.readyState=A3>0?4:0;E3=A3>=200&&A3<300||A3===304;if(C3){H3=$2(s,y3,C3);}H3=_2(s,H3,y3,E3);if(E3){if(s.ifModified){I3=y3.getResponseHeader("Last-Modified");if(I3){Q.lastModified[j]=I3;}I3=y3.getResponseHeader("etag");if(I3){Q.etag[j]=I3;}}if(A3===204||s.type==="HEAD"){J3="nocontent";}else if(A3===304){J3="notmodified";}else{J3=H3.state;F3=H3.data;G3=H3.error;E3=!G3;}}else{G3=J3;if(A3||!J3){J3="error";if(A3<0){A3=0;}}}y3.status=A3;y3.statusText=(B3||J3)+"";if(E3){r3.resolveWith(v,[F3,J3,y3]);}else{r3.rejectWith(v,[y3,J3,G3]);}y3.statusCode(t3);t3=undefined;if(l){_.trigger(E3?"ajaxSuccess":"ajaxError",[y3,s,E3?F3:G3]);}s3.fireWith(v,[y3,J3]);if(l){_.trigger("ajaxComplete",[y3,s]);if(!(--Q.active)){Q.event.trigger("ajaxStop");}}}return y3;},getJSON:function(a,b,j){return Q.get(a,b,j,"json");},getScript:function(a,b){return Q.get(a,undefined,b,"script");}});Q.each(["get","post"],function(i,m){Q[m]=function(a,b,j,t){if(Q.isFunction(b)){t=t||j;j=b;b=undefined;}return Q.ajax({url:a,type:m,dataType:t,data:b,success:j});};});Q.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(i,t){Q.fn[t]=function(a){return this.on(t,a);};});Q._evalUrl=function(a){return Q.ajax({url:a,type:"GET",dataType:"script",async:false,global:false,"throws":true});};Q.fn.extend({wrapAll:function(a){if(Q.isFunction(a)){return this.each(function(i){Q(this).wrapAll(a.call(this,i));});}if(this[0]){var b=Q(a,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b.insertBefore(this[0]);}b.map(function(){var j=this;while(j.firstChild&&j.firstChild.nodeType===1){j=j.firstChild;}return j;}).append(this);}return this;},wrapInner:function(a){if(Q.isFunction(a)){return this.each(function(i){Q(this).wrapInner(a.call(this,i));});}return this.each(function(){var s=Q(this),b=s.contents();if(b.length){b.wrapAll(a);}else{s.append(a);}});},wrap:function(a){var b=Q.isFunction(a);return this.each(function(i){Q(this).wrapAll(b?a.call(this,i):a);});},unwrap:function(){return this.parent().each(function(){if(!Q.nodeName(this,"body")){Q(this).replaceWith(this.childNodes);}}).end();}});Q.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||(!x.reliableHiddenOffsets()&&((a.style&&a.style.display)||Q.css(a,"display"))==="none");};Q.expr.filters.visible=function(a){return!Q.expr.filters.hidden(a);};var a3=/%20/g,b3=/\[\]$/,c3=/\r?\n/g,d3=/^(?:submit|button|image|reset|file)$/i,e3=/^(?:input|select|textarea|keygen)/i;function f3(p,a,t,b){var n;if(Q.isArray(a)){Q.each(a,function(i,v){if(t||b3.test(p)){b(p,v);}else{f3(p+"["+(typeof v==="object"?i:"")+"]",v,t,b);}});}else if(!t&&Q.type(a)==="object"){for(n in a){f3(p+"["+n+"]",a[n],t,b);}}else{b(p,a);}}Q.param=function(a,t){var p,s=[],b=function(j,v){v=Q.isFunction(v)?v():(v==null?"":v);s[s.length]=encodeURIComponent(j)+"="+encodeURIComponent(v);};if(t===undefined){t=Q.ajaxSettings&&Q.ajaxSettings.traditional;}if(Q.isArray(a)||(a.jquery&&!Q.isPlainObject(a))){Q.each(a,function(){b(this.name,this.value);});}else{for(p in a){f3(p,a[p],t,b);}}return s.join("&").replace(a3,"+");};Q.fn.extend({serialize:function(){return Q.param(this.serializeArray());},serializeArray:function(){return this.map(function(){var a=Q.prop(this,"elements");return a?Q.makeArray(a):this;}).filter(function(){var t=this.type;return this.name&&!Q(this).is(":disabled")&&e3.test(this.nodeName)&&!d3.test(t)&&(this.checked||!h1.test(t));}).map(function(i,a){var v=Q(this).val();return v==null?null:Q.isArray(v)?Q.map(v,function(v){return{name:a.name,value:v.replace(c3,"\r\n")};}):{name:a.name,value:v.replace(c3,"\r\n")};}).get();}});Q.ajaxSettings.xhr=w.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&j3()||k3();}:j3;var g3=0,h3={},i3=Q.ajaxSettings.xhr();if(w.ActiveXObject){Q(w).on("unload",function(){for(var a in h3){h3[a](undefined,true);}});}x.cors=!!i3&&("withCredentials"in i3);i3=x.ajax=!!i3;if(i3){Q.ajaxTransport(function(a){if(!a.crossDomain||x.cors){var b;return{send:function(j,l){var i,m=a.xhr(),n=++g3;m.open(a.type,a.url,a.async,a.username,a.password);if(a.xhrFields){for(i in a.xhrFields){m[i]=a.xhrFields[i];}}if(a.mimeType&&m.overrideMimeType){m.overrideMimeType(a.mimeType);}if(!a.crossDomain&&!j["X-Requested-With"]){j["X-Requested-With"]="XMLHttpRequest";}for(i in j){if(j[i]!==undefined){m.setRequestHeader(i,j[i]+"");}}m.send((a.hasContent&&a.data)||null);b=function(_,p){var s,r,t;if(b&&(p||m.readyState===4)){delete h3[n];b=undefined;m.onreadystatechange=Q.noop;if(p){if(m.readyState!==4){m.abort();}}else{t={};s=m.status;if(typeof m.responseText==="string"){t.text=m.responseText;}try{r=m.statusText;}catch(e){r="";}if(!s&&a.isLocal&&!a.crossDomain){s=t.text?200:404;}else if(s===1223){s=204;}}}if(t){l(s,r,t,m.getAllResponseHeaders());}};if(!a.async){b();}else if(m.readyState===4){setTimeout(b);}else{m.onreadystatechange=h3[n]=b;}},abort:function(){if(b){b(undefined,true);}}};}});}function j3(){try{return new w.XMLHttpRequest();}catch(e){}}function k3(){try{return new w.ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}Q.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){Q.globalEval(t);return t;}}});Q.ajaxPrefilter("script",function(s){if(s.cache===undefined){s.cache=false;}if(s.crossDomain){s.type="GET";s.global=false;}});Q.ajaxTransport("script",function(s){if(s.crossDomain){var a,b=J.head||Q("head")[0]||J.documentElement;return{send:function(_,j){a=J.createElement("script");a.async=true;if(s.scriptCharset){a.charset=s.scriptCharset;}a.src=s.url;a.onload=a.onreadystatechange=function(_,l){if(l||!a.readyState||/loaded|complete/.test(a.readyState)){a.onload=a.onreadystatechange=null;if(a.parentNode){a.parentNode.removeChild(a);}a=null;if(!l){j(200,"success");}}};b.insertBefore(a,b.firstChild);},abort:function(){if(a){a.onload(undefined,true);}}};}});var l3=[],m3=/(=)\?(?=&|$)|\?\?/;Q.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=l3.pop()||(Q.expando+"_"+(I2++));this[a]=true;return a;}});Q.ajaxPrefilter("json jsonp",function(s,a,j){var b,l,r,m=s.jsonp!==false&&(m3.test(s.url)?"url":typeof s.data==="string"&&!(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&m3.test(s.data)&&"data");if(m||s.dataTypes[0]==="jsonp"){b=s.jsonpCallback=Q.isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback;if(m){s[m]=s[m].replace(m3,"$1"+b);}else if(s.jsonp!==false){s.url+=(J2.test(s.url)?"&":"?")+s.jsonp+"="+b;}s.converters["script json"]=function(){if(!r){Q.error(b+" was not called");}return r[0];};s.dataTypes[0]="json";l=w[b];w[b]=function(){r=arguments;};j.always(function(){w[b]=l;if(s[b]){s.jsonpCallback=a.jsonpCallback;l3.push(b);}if(r&&Q.isFunction(l)){l(r[0]);}r=l=undefined;});return"script";}});Q.parseHTML=function(a,b,j){if(!a||typeof a!=="string"){return null;}if(typeof b==="boolean"){j=b;b=false;}b=b||J;var p=F.exec(a),s=!j&&[];if(p){return[b.createElement(p[1])];}p=Q.buildFragment([a],b,s);if(s&&s.length){Q(s).remove();}return Q.merge([],p.childNodes);};var n3=Q.fn.load;Q.fn.load=function(a,p,b){if(typeof a!=="string"&&n3){return n3.apply(this,arguments);}var s,r,t,j=this,l=a.indexOf(" ");if(l>=0){s=Q.trim(a.slice(l,a.length));a=a.slice(0,l);}if(Q.isFunction(p)){b=p;p=undefined;}else if(p&&typeof p==="object"){t="POST";}if(j.length>0){Q.ajax({url:a,type:t,dataType:"html",data:p}).done(function(m){r=arguments;j.html(s?Q("
").append(Q.parseHTML(m)).find(s):m);}).complete(b&&function(m,n){j.each(b,r||[m.responseText,n,m]);});}return this;};Q.expr.filters.animated=function(a){return Q.grep(Q.timers,function(b){return a===b.elem;}).length;};var o3=w.document.documentElement;function p3(a){return Q.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false;}Q.offset={setOffset:function(a,b,i){var j,l,m,n,p,r,s,t=Q.css(a,"position"),v=Q(a),_={};if(t==="static"){a.style.position="relative";}p=v.offset();m=Q.css(a,"top");r=Q.css(a,"left");s=(t==="absolute"||t==="fixed")&&Q.inArray("auto",[m,r])>-1;if(s){j=v.position();n=j.top;l=j.left;}else{n=parseFloat(m)||0;l=parseFloat(r)||0;}if(Q.isFunction(b)){b=b.call(a,i,p);}if(b.top!=null){_.top=(b.top-p.top)+n;}if(b.left!=null){_.left=(b.left-p.left)+l;}if("using"in b){b.using.call(a,_);}else{v.css(_);}}};Q.fn.extend({offset:function(a){if(arguments.length){return a===undefined?this:this.each(function(i){Q.offset.setOffset(this,a,i);});}var o3,b,j={top:0,left:0},l=this[0],m=l&&l.ownerDocument;if(!m){return;}o3=m.documentElement;if(!Q.contains(o3,l)){return j;}if(typeof l.getBoundingClientRect!==X){j=l.getBoundingClientRect();}b=p3(m);return{top:j.top+(b.pageYOffset||o3.scrollTop)-(o3.clientTop||0),left:j.left+(b.pageXOffset||o3.scrollLeft)-(o3.clientLeft||0)};},position:function(){if(!this[0]){return;}var a,b,p={top:0,left:0},j=this[0];if(Q.css(j,"position")==="fixed"){b=j.getBoundingClientRect();}else{a=this.offsetParent();b=this.offset();if(!Q.nodeName(a[0],"html")){p=a.offset();}p.top+=Q.css(a[0],"borderTopWidth",true);p.left+=Q.css(a[0],"borderLeftWidth",true);}return{top:b.top-p.top-Q.css(j,"marginTop",true),left:b.left-p.left-Q.css(j,"marginLeft",true)};},offsetParent:function(){return this.map(function(){var a=this.offsetParent||o3;while(a&&(!Q.nodeName(a,"html")&&Q.css(a,"position")==="static")){a=a.offsetParent;}return a||o3;});}});Q.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(m,p){var t=/Y/.test(p);Q.fn[m]=function(v){return g1(this,function(a,m,v){var b=p3(a);if(v===undefined){return b?(p in b)?b[p]:b.document.documentElement[m]:a[m];}if(b){b.scrollTo(!t?v:Q(b).scrollLeft(),t?v:Q(b).scrollTop());}else{a[m]=v;}},m,v,arguments.length,null);};});Q.each(["top","left"],function(i,p){Q.cssHooks[p]=Y1(x.pixelPosition,function(a,b){if(b){b=W1(a,p);return U1.test(b)?Q(a).position()[p]+"px":b;}});});Q.each({Height:"height",Width:"width"},function(n,t){Q.each({padding:"inner"+n,content:t,"":"outer"+n},function(a,b){Q.fn[b]=function(m,v){var j=arguments.length&&(a||typeof m!=="boolean"),l=a||(m===true||v===true?"margin":"border");return g1(this,function(p,t,v){var r;if(Q.isWindow(p)){return p.document.documentElement["client"+n];}if(p.nodeType===9){r=p.documentElement;return Math.max(p.body["scroll"+n],r["scroll"+n],p.body["offset"+n],r["offset"+n],r["client"+n]);}return v===undefined?Q.css(p,t,l):Q.style(p,t,v,l);},t,j?m:undefined,j,null);};});});Q.fn.size=function(){return this.length;};Q.fn.andSelf=Q.fn.addBack;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return Q;});}var q3=w.jQuery,_$=w.$;Q.noConflict=function(a){if(w.$===Q){w.$=_$;}if(a&&w.jQuery===Q){w.jQuery=q3;}return Q;};if(typeof c===X){w.jQuery=w.$=Q;}return Q;})); /*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ 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.28.5";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.28.5";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;i1){w="8";}}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]});}}return f();}function r(){d.os=o()||{};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();var B={"INTERNET_EXPLORER":"ie","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=/(mozilla)(?:.*? rv:([\w.]+))?/;var t=q.exec(b)||e.exec(b)||f.exec(b)||i.exec(b)||b.indexOf("compatible")<0&&s.exec(b)||[];var v={browser:t[1]||"",version:t[2]||"0"};v[v.browser]=true;return v;}function z(a){var b=y(a);var e=a||u;var f;if(b.mozilla){f=/Mobile/;if(e.match(/Firefox\/(\d+\.\d+)/)){var v=parseFloat(RegExp.$1);return{name:B.FIREFOX,versionStr:""+v,version:v,mozilla:true,mobile:f.test(e)};}else{return{mobile:f.test(e),mozilla:true};}}else if(b.webkit){var i=e.toLowerCase().match(/webkit[\/]([\d.]+)/);var w;if(i){w=i[1];}f=/Mobile/;if(e.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/)){var v=parseFloat(RegExp.$2);return{name:B.CHROME,versionStr:""+v,version:v,mobile:f.test(e),webkit:true,webkitVersion:w};}else if(e.match(/Android .+ Version\/(\d+\.\d+)/)){var v=parseFloat(RegExp.$1);return{name:B.ANDROID,versionStr:""+v,version:v,mobile:f.test(e),webkit:true,webkitVersion:w};}else{var q=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/;if(q.test(e)){var s=q.exec(e);var v=parseFloat(s[2]);return{name:B.SAFARI,versionStr:""+v,version:v,mobile:f.test(e),webkit:true,webkitVersion:w,phantomJS:s[1]==="PhantomJS"};}else{return{mobile:f.test(e),webkit:true,webkitVersion:w};}}}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};}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("screen and (max-width:0px)"):null;d.support.matchmedialistener=!!(m&&m.addListener);if(d.browser.safari&&d.browser.version<6){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"};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"]};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="screen";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=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 x1=t.points;for(var i=0,y1=x1.length;i<=y1;i++){v=(i==0)?0:x1[i-1];w=(i==x1.length)?-1:x1[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 z1=t.queries;for(var i=0;i=4.4)&&/Version\/\d.\d/.test(navigator.userAgent)&&!/SAMSUNG/.test(navigator.userAgent);if(d.os.name===d.os.OS.IOS){return/ipad/i.test(navigator.userAgent);}else{if(d.support.touch){if(Y){return true;}var e=window.devicePixelRatio?window.devicePixelRatio:1;if(!b&&(d.os.name===d.os.OS.ANDROID)&&d.browser.webkit&&(d.browser.webkitVersion>537.10)){e=1;}var t=(Math.min(window.screen.width/e,window.screen.height/e)>=600);if(t1()&&(window.screen.height===552||window.screen.height===553)&&(/Nexus 7/i.test(navigator.userAgent))){t=true;}return t;}else{return(d.browser.msie&&u.indexOf("Touch")!==-1)||(d.os.name===d.os.OS.ANDROID&&!a);}}}function b1(a){d.system=$(a);if(d.system.tablet||d.system.phone){d.browser.mobile=true;}}b1();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 c1(i){i.landscape=t1(true);i.portrait=!i.landscape;}function d1(){c1(d.orientation);n("orientation",{landscape:d.orientation.landscape});}function e1(){f1(d.resize);n("resize",{height:d.resize.height,width:d.resize.width});}function f1(i){i.width=Q()[0];i.height=Q()[1];}function g1(){var w=d.orientation.landscape;var i=t1();if(w!=i){d1();}if(!l1){l1=window.setTimeout(h1,150);}}function h1(){e1();l1=null;}var i1=false;var j1=false;var k1;var l1;var m1;var n1=Q()[1];var o1=Q()[0];var p1=false;var q1;var r1=/INPUT|TEXTAREA|SELECT/;var s1=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 t1(f){if(d.support.touch&&d.support.orientation){if(p1&&f){return!d.orientation.landscape;}if(p1){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 u1(e){if(e.type=="resize"){if(s1&&r1.test(document.activeElement.tagName)&&!i1){return;}var w=Q()[1];var i=Q()[0];var t=new Date().getTime();if(w===n1&&i===o1){return;}j1=true;if((n1!=w)&&(o1==i)){if(!q1||(t-q1>300)){p1=(w]+|\(([^\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-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
"),l=k.children()[0];$("body").append(k);w=l.offsetWidth;k.css("overflow","scroll");i=l.offsetWidth;if(w===i){i=k[0].clientWidth;}k.remove();return(c=w-i);},getScrollInfo:function(w){var o=w.isWindow||w.isDocument?"":w.element.css("overflow-x"),i=w.isWindow||w.isDocument?"":w.element.css("overflow-y"),k=o==="scroll"||(o==="auto"&&w.width0?"right":"center",vertical:O<0?"top":N>0?"bottom":"middle"};if(tm(a(N),a(O))){P.important="horizontal";}else{P.important="vertical";}o.using.call(this,i,P);};}C.offset($.extend(J,{using:B}));});};$.ui.position={fit:{left:function(i,k){var w=k.within,l=w.isWindow?w.scrollLeft:w.offset.left,o=w.width,n=i.left-k.collisionPosition.marginLeft,q=l-n,s=n+k.collisionWidth-o-l,t;if(k.collisionWidth>o){if(q>0&&s<=0){t=i.left+q+k.collisionWidth-o-l;i.left+=q-t;}else if(s>0&&q<=0){i.left=l;}else{if(q>s){i.left=l+o-k.collisionWidth;}else{i.left=l;}}}else if(q>0){i.left+=q;}else if(s>0){i.left-=s;}else{i.left=m(i.left-n,i.left);}},top:function(i,k){var w=k.within,l=w.isWindow?w.scrollTop:w.offset.top,o=k.within.height,n=i.top-k.collisionPosition.marginTop,q=l-n,s=n+k.collisionHeight-o-l,t;if(k.collisionHeight>o){if(q>0&&s<=0){t=i.top+q+k.collisionHeight-o-l;i.top+=q-t;}else if(s>0&&q<=0){i.top=l;}else{if(q>s){i.top=l+o-k.collisionHeight;}else{i.top=l;}}}else if(q>0){i.top+=q;}else if(s>0){i.top-=s;}else{i.top=m(i.top-n,i.top);}}},flip:{left:function(i,k){var w=k.within,l=w.offset.left+w.scrollLeft,o=w.width,n=w.isWindow?w.scrollLeft:w.offset.left,q=i.left-k.collisionPosition.marginLeft,s=q-n,t=q+k.collisionWidth-o-n,v=k.my[0]==="left"?-k.elemWidth:k.my[0]==="right"?k.elemWidth:0,x=k.at[0]==="left"?k.targetWidth:k.at[0]==="right"?-k.targetWidth:0,y=-2*k.offset[0],z,A;if(s<0){z=i.left+v+x+y+k.collisionWidth-o-l;if(z<0||z0){A=i.left-k.collisionPosition.marginLeft+v+x+y-n;if(A>0||a(A)s&&(B<0||B0){A=i.top-k.collisionPosition.marginTop+x+y+z-n;if((i.top+x+y+z)>t&&(A>0||a(A)10&&o<11;t.innerHTML="";k.removeChild(t);})();}(jQuery)); /*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ (function(q){"use strict";var P=function(A){if(typeof(A)!="function"){throw new TypeError("Argument is not a function");}this._deferred=new q.Deferred();try{var t=this;A(function(v){b(t,v,true);},function(v){b(t,v,false);});}catch(e){b(this,e,false);}};P.prototype.then=function(o,O){var f=new P(_);this._deferred.then(d(o,f,true),d(O,f,false));return f;};P.prototype["catch"]=function(o){return this.then(undefined,o);};P.all=function(p){return new P(function(r,R){if(!q.isArray(p)){R(new TypeError("invalid argument"));return;}if(p.length==0){r([]);return;}var f=false,v=new Array(p.length),C=0;function e(I){P.resolve(p[I]).then(function(o){if(!f){C++;v[I]=o;if(C==p.length){r(v);}}},function(o){if(!f){f=true;R(o);}});}for(var i=0;i= version 1.7)");}if(jQuery.sap){return;}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=0&&this.compareTo(M)<0;};var j=V(jQuery.fn.jquery);if(!j.inRange("1.7.0","2.0.0")){b("error","SAPUI5 requires a jQuery version of 1.7 or higher, but lower than 2.0; current version is "+jQuery.fn.jquery);}if(!jQuery.browser){jQuery.browser=(function(d){var r=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,l=/(msie) ([\w.]+)/,m=/(mozilla)(?:.*? rv:([\w.]+))?/,d=d.toLowerCase(),n=r.exec(d)||i.exec(d)||l.exec(d)||d.indexOf("compatible")<0&&m.exec(d)||[],o={};if(n[1]){o[n[1]]=true;o.version=n[2]||"0";if(o.webkit){o.safari=true;}}return o;}(window.navigator.userAgent));}if(!!sap.ui.Device.browser.internet_explorer){jQuery.support=jQuery.support||{};jQuery.support.cors=true;}var g=(function(){var T,U,r,d=/^(.*\/)?download\/configurator[\/\?]/,i=/^(.*\/)?(sap-ui-(core|custom|boot|merged)(-.*)?)\.js([?#]|$)/,l=/^(.*\/)?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(l))){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)){window["sap-ui-bRestart"]=false;window["sap-ui-sRestartUrl"]="http://localhost:8080/sapui5/resources/sap-ui-core.js";var r=function(){var s=g.tag,d="";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("Aborting UI5 bootstrap and restarting from: "+window["sap-ui-sRestartUrl"]);R.name="Restart";delete window["sap-ui-bRestart"];delete window["sap-ui-sRestartUrl"];throw R;};debugger;if(window["sap-ui-bRestart"]){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(g.url)){window["sap-ui-loaddbg"]=true;window["sap-ui-debug"]=true;}if(i&&d){var D=g.url.replace(/\/(?:sap-ui-cachebuster\/)?([^\/]+)\.js/,"/$1-dbg.js");window["sap-ui-optimized"]=false;window["sap-ui-loaddbg"]=true;document.write("");var r=new Error("Aborting UI5 bootstrap and restarting from: "+D);r.name="Restart";throw r;}})();var C=_["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=g.tag,d=_["sap-ui-config"],l="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!==l){b("warning","The external bootstrap configuration file should be named \""+l+"\"!");}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['']||g.resourceRoot;d['xx-loadallmode']=/(^|\/)(sap-?ui5|[^\/]+-all).js([?#]|$)/.test(g.url);if(s){var r=s.getAttribute("data-sap-ui-config");if(r){try{jQuery.extend(d,n((new Function("return {"+r+"};"))()));}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(C.noconflict===true||C.noconflict==="true"||C.noconflict==="x"){jQuery.noConflict();}jQuery.sap={};jQuery.sap.Version=V;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.statistics=function(d){if(!window.localStorage){return null;}function r(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");r(true);}else if(d===false){window.localStorage.removeItem("sap-ui-statistics");r(false);}return window.localStorage.getItem("sap-ui-statistics")=="X";};(function(){var d=0,l=1,W=2,n=3,D=4,T=5,s=(window.top==window)?"":"["+window.location.pathname.split('/').slice(-1)[0]+"] ",L=[],M={'':l},o=null;function r(i,w){return("000"+String(i)).slice(-w);}function x(i){return(!i||isNaN(M[i]))?M['']:M[i];}function y(){if(!o){o={listeners:[],onLogEntry:function(m){for(var i=0;i0){for(i=0;O&&i0){m=T.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--){d1=i.slice(0,l).join('/');if(U[d1]){e1=U[d1].url;if(lr){return d;}if(o.isLoggable()){o.debug(D+"declare module '"+m+"'");}d.state=R;if(B.length===0){B.push(m);d.url=d.url||c;}return d;}function a1(s){var m=O.exec(s),d,l,d1,e1,i;if(!m){o.error("can only require Javascript module, not "+s);return;}d=s.slice(0,m.index);l=m[0];d1=M[s]||(M[s]={state:r});if(o.isLoggable()){o.debug(D+"require '"+s+"' of type '"+l+"'");}if(d1.state!==r){if(d1.state===v){d1.state=w;b1(s);}if(d1.state===R){if(o.isLoggable()){o.debug(D+"module '"+s+"' has already been loaded (skipped).");}return this;}else if(d1.state===y){throw new Error("found in negative cache: '"+s+"' from "+d1.url+": "+d1.error);}else{return this;}}d1.state=L;e1=window["sap-ui-loaddbg"]?["-dbg",""]:[""];for(i=0;i1){for(var i=0;i0){v();}else{i();}};}jQuery(L).load(r);jQuery(L).error(i);return L;};var n=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 v=p[s];if(v&&v.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 w=false;for(var i=0;i0){jQuery('#sap-ui-core-customcss').first().before(jQuery(L));}else{k(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(m(U,s,l,d));}}else{n(U,s,l,d);}};if(!(C.productive===true||C.productive==="true"||C.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=h();return{modules:i.modules,prefixes:i.prefixes,config:C};});}});});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(/sap-ui-xx-e2e-trace=(true|x|X)/.test(location.search)){jQuery.sap.require("sap.ui.core.support.trace.E2eTraceLib"+"");}if(!jQuery.support){jQuery.support={};}jQuery.extend(jQuery.support,{touch:sap.ui.Device.support.touch});var P=["Webkit","ms","Moz"];var q=document.documentElement.style;var t=function(d,l){if(jQuery.support[d]===undefined){if(q[l]!==undefined){jQuery.support[d]=true;if(l==="boxFlex"||l==="flexOrder"||l==="flexGrow"){if(!sap.ui.Device.browser.chrome||sap.ui.Device.browser.version>28){jQuery.support.flexBoxPrefixed=false;}}return;}else{l=l.charAt(0).toUpperCase()+l.slice(1);for(var i in P){if(q[P[i]+l]!==undefined){jQuery.support[d]=true;return;}}}jQuery.support[d]=false;}};t("cssTransforms","transform");t("cssTransforms3d","perspective");t("cssTransitions","transition");t("cssAnimations","animationName");if(jQuery.support.cssGradients===undefined){var E=document.createElement('div'),q=E.style;try{q.backgroundImage="linear-gradient(left top, red, white)";q.backgroundImage="-moz-linear-gradient(left top, red, white)";q.backgroundImage="-webkit-linear-gradient(left top, red, white)";q.backgroundImage="-ms-linear-gradient(left top, red, white)";q.backgroundImage="-webkit-gradient(linear, left top, right bottom, from(red), to(white))";}catch(e){}jQuery.support.cssGradients=(q.backgroundImage&&q.backgroundImage.indexOf("gradient")>-1);E=null;}jQuery.support.flexBoxPrefixed=true;t("flexBoxLayout","boxFlex");if(q.msFlexOrder!==undefined){jQuery.support.ie10FlexBoxLayout=true;}t("newFlexBoxLayout","flexGrow");if(jQuery.support.flexBoxLayout||jQuery.support.newFlexBoxLayout||jQuery.support.ie10FlexBoxLayout){jQuery.support.hasFlexBoxSupport=true;}else{jQuery.support.hasFlexBoxSupport=false;}if(!jQuery.support.opacity){(function(){var o=jQuery.cssHooks.opacity.set;jQuery.cssHooks.opacity.set=function(d,v){o.apply(this,arguments);if(!jQuery.trim(d.style.filter)){d.style.removeAttribute("filter");}};}());}function u(){function M(i,s,l,m){this.id=i;this.info=s;this.start=l;this.end=m;this.pause=0;this.resume=0;this.duration=0;this.time=0;}var A=false;var d=jQuery.ajax;this.getActive=function(){return A;};this.setActive=function(o){if(A==o){return A;}A=o;if(A){jQuery.ajax=function(i,l){jQuery.sap.measure.start(i.url,"Request for "+i.url);d.apply(this,arguments);jQuery.sap.measure.end(i.url);};}else if(d){jQuery.ajax=d;}return A;};this.setActive(/sap-ui-measure=(true|x|X)/.test(location.search));this.mMeasurements={};this.start=function(i,s){if(!A){return;}var T=new Date().getTime();var m=new M(i,s,T,0);if(m){this.mMeasurements[i]=m;return({id:m.id,info:m.info,start:m.start});}else{return false;}};this.pause=function(i){if(!A){return;}var T=new Date().getTime();var m=this.mMeasurements[i];if(m&&m.end>0){return false;}if(m&&m.pause==0){m.pause=T;if(m.pause>=m.resume&&m.resume>0){m.duration=m.duration+m.pause-m.resume;m.resume=0;}else if(m.pause>=m.start){m.duration=m.pause-m.start;}}if(m){return({id:m.id,info:m.info,start:m.start,pause:m.pause});}else{return false;}};this.resume=function(i){if(!A){return;}var T=new Date().getTime();var m=this.mMeasurements[i];if(m&&m.pause>0){m.pause=0;m.resume=T;}if(m){return({id:m.id,info:m.info,start:m.start,resume:m.resume});}else{return false;}};this.end=function(i){if(!A){return;}var T=new Date().getTime();var m=this.mMeasurements[i];if(m&&!m.end){m.end=T;if(m.end>=m.resume&&m.resume>0){m.duration=m.duration+m.end-m.resume;m.resume=0;}else if(m.pause>0){m.pause=0;}else if(m.end>=m.start){m.duration=m.end-m.start;}if(m.end>=m.start){m.time=m.end-m.start;}}if(m){return({id:m.id,info:m.info,start:m.start,end:m.end,time:m.time,duration:m.duration});}else{return false;}};this.getMeasurement=function(i){if(!A){return;}var m=this.mMeasurements[i];if(m){return({id:m.id,info:m.info,start:m.start,end:m.end,time:m.time,duration:m.duration});}else{return false;}};this.clear=function(){if(!A){return;}this.mMeasurements={};};this.remove=function(i){if(!A){return;}delete this.mMeasurements[i];};this.getAllMeasurements=function(){if(!A){return;}var m=[];jQuery.each(this.mMeasurements,function(i,o){m.push({id:o.id,info:o.info,start:o.start,end:o.end,duration:o.duration,time:o.time});});return m;};this.add=function(i,s,l,m,T,D){if(!A){return;}var o=new M(i,s,l,m);o.time=T;o.duration=D;if(o){this.mMeasurements[i]=o;return({id:o.id,info:o.info,start:o.start,end:o.end,time:o.time,duration:o.duration});}else{return false;}};}jQuery.sap.measure=new u();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.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){F.__parent.postMessage('SAPFrameProtection*require-origin','*');}}else{F.__parent.postMessage('SAPFrameProtection*require-origin','*');}}};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;i0){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 C=c.duplicate();L=c.text.length;C.moveStart("character",L);var S=0;if(C.inRange(t)){S=L;}else{var i=L;while(L>1){i=Math.round(L/2);S=S+i;C=c.duplicate();C.moveStart("character",S);if(C.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 a=this[0]?this[0].ownerDocument:document;var b=a.createElement("div");b.appendChild(o.cloneNode(true));return b.innerHTML;}};q.sap.containsOrEquals=function containsOrEquals(o,a){if(a&&o&&a!=document&&a!=window){return(o===a)||q.contains(o,a);}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,P){var r=this.rect();if(r){return p>=r.left&&p<=r.left+r.width&&P>=r.top&&P<=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 a=function(i){return q(this).css("visibility")=="hidden";};if(!c||q(c).is(':hidden')||q(c).filter(a).length==1){return null;}var C=c.firstChild,o=null;while(C){if(C.nodeType==1&&q(C).is(':visible')){if(q(C).hasTabIndex()){return C;}if(C.childNodes){o=q(C).firstFocusableDomRef();if(o){return o;}}}C=C.nextSibling;}return null;};q.fn.lastFocusableDomRef=function lastFocusableDomRef(){var c=this.get(0);var a=function(i){return q(this).css("visibility")=="hidden";};if(!c||q(c).is(':hidden')||q(c).filter(a).length==1){return null;}var C=c.lastChild,o=null;while(C){if(C.nodeType==1&&q(C).is(':visible')){if(C.childNodes){o=q(C).lastFocusableDomRef();if(o){return o;}}if(q(C).hasTabIndex()){return C;}}C=C.previousSibling;}return null;};q.fn.scrollLeftRTL=function scrollLeftRTL(p){var o=this.get(0);if(o){if(p===undefined){if(!!D.browser.internet_explorer){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,a=m.name,b;if(!e.href||!a||m.nodeName.toLowerCase()!=="map"){return false;}b=q("img[usemap=#"+a+"]")[0];return!!b&&v(b);}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]),p,a;while(e.length&&e[0]!==document){p=e.css("position");if(p==="absolute"||p==="relative"||p==="fixed"){a=parseInt(e.css("zIndex"),10);if(!isNaN(a)&&a!==0){return a;}}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("
").css("visibility","hidden").css("height","0").css("width","0").css("overflow","hidden");if(c){a.addClass(c);}a.prependTo(document.body);var $=q("
");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];};q.sap.syncStyleClass=function(s,S,a){if(!s){return a;}if(S instanceof sap.ui.core.Control){S=S.$();}else if(typeof S==="string"){S=q.sap.byId(S);}else if(!(S instanceof q)){return a;}var c=!!S.closest("."+s).length;if(a instanceof q){a.toggleClass(s,c);}else if(a instanceof sap.ui.core.Control){a.toggleStyleClass(s,c);}else{}return a;};return q;},false);},"jquery.sap.encoder.js":function(){ /*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global'],function(q){"use strict";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={"<":"<",">":">","&":"&","\"":"""};var f=function(g){var E=H[g];if(!E){if(a.test(g)){E="�";}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-\x24\x26-\x29\x2b\x2c\x3a-\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;i0){var F=false;for(var i=0;i10||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=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(sap.ui.Device.support.touch){q.sap.touchEventMode="ON";q.event.props.push("touches","targetTouches","changedTouches");}var j=function(E,G,H){var J="__"+E+"Handler";var K="sap"+E;A.push(K);e.push({sName:E,aTypes:[K],fnCheck:function(L){return true;}});q.event.special[K]={add:function(L){var N=this,$=q(this),Q={domRef:N,eventName:E,sapEventName:K,eventHandle:L};var R=function(U){H(U,Q);};L.__sapSimulatedEventHandler=R;for(var i=0;i-1||!!E[K.toLowerCase()];}return sap.ui.Device.support.touch||G("xx-test-mobile")||G("xx-fakeOS")||L.match(/sap.m\b/);}if(z()){q.sap.require("sap.ui.thirdparty.jquery-mobile-custom");if(sap.ui.Device.support.touch&&!sap.ui.Device.support.pointer){var F=false,B=q.vmouse.moveDistanceThreshold,S,C,O,D;var T=function(E,G){var H=E.originalEvent.touches[0],J;if(E.type==="touchstart"){F=false;S=H.pageX;C=H.pageY;O=Math.round(H.pageX-q(E.target).offset().left);D=Math.round(H.pageY-q(E.target).offset().top);}else if(E.type==="touchmove"){F=F||(Math.abs(H.pageX-S)>B||Math.abs(H.pageY-C)>B);}var N=q.event.fix(E.originalEvent||E);N.type=G.sapEventName;if(N.isMarked("firstUIArea")){N.setMark("handledByUIArea",false);}delete N.touches;delete N.changedTouches;delete N.targetTouches;var K=(G.eventName==="mouseup"?E.changedTouches[0]:E.touches[0]);N.screenX=K.screenX;N.screenY=K.screenY;N.clientX=K.clientX;N.clientY=K.clientY;N.ctrlKey=K.ctrlKey;N.altKey=K.altKey;N.shiftKey=K.shiftKey;N.button=(sap.ui.Device.browser.msie&&sap.ui.Device.browser.version<=8?1:0);J=N.isMarked("handledByUIArea");G.eventHandle.handler.call(G.domRef,N);if(E.type==="touchend"&&!J&&!F){N.type="click";N.setMark("handledByUIArea",false);N.offsetX=O;N.offsetY=D;G.eventHandle.handler.call(G.domRef,N);}};q.sap.disableTouchToMouseHandling();j("mousedown",["touchstart"],T);j("mousemove",["touchmove"],T);j("mouseup",["touchend","touchcancel"],T);}A.push("swipe","tap","swipeleft","swiperight","scrollstart","scrollstop");e.push({sName:"swipebegin",aTypes:["swipeleft","swiperight"],fnCheck:function(E){var R=sap.ui.getCore().getConfiguration().getRTL();return(R&&E.type==="swiperight")||(!R&&E.type==="swipeleft");}});e.push({sName:"swipeend",aTypes:["swipeleft","swiperight"],fnCheck:function(E){var R=sap.ui.getCore().getConfiguration().getRTL();return(!R&&E.type==="swiperight")||(R&&E.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-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;}};var _=q.Event.prototype.preventDefault;q.Event.prototype.preventDefault=function(){_.apply(this,arguments);var e=this.originalEvent;if(!e){return;}if(e.keyCode!=0){try{if(!sap.ui.Device.browser.firefox){e.keyCode=0;}}catch(i){}}};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,D){if(E.type!="mouseover"&&E.type!="mouseout"){return false;}var i=false;var j=D;var z=E.relatedTarget;try{while(z&&z!==j){z=z.parentNode;}if(z!==j){i=true;}}catch(e){}return i;};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=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;i1){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 D=sap.ui.getCore().byId(C.id);if(D){E=q.Event("BeforeFastNavigationFocus");E.target=B;E.source=S;E.forward=F;D._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);});});return q;},false);},"jquery.sap.keycodes.js":function(){sap.ui.define(['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;},false);},"jquery.sap.mobile.js":function(){sap.ui.define(['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(sap.ui.Device.os.windows_phone){document.write('');document.write('');}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($(''));}else if(D.browser.msie){c.append($(''));c.append($(''));}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($(''));}if(o.mobileWebAppCapable==="default"){if(D.os.ios){c.append($(''));}}else{$.sap.setMobileWebAppCapable(o.mobileWebAppCapable);}if(D.os.ios){c.append($(''));}if(o.preventScroll){$(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($(''));}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($(''));}}};$.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'));}}};})(q);return q;},false);},"jquery.sap.properties.js":function(){sap.ui.define(['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=0;i--){V=this.aCustomBundles[i].getText(k,A,true);if(V!=null){return V;}}for(i=0;i0){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._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;},false);},"jquery.sap.script.js":function(){sap.ui.define(['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;i1?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;im){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;i1){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;i0;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;ib){d.push({index:i,type:'insert'});}else{b=N[i].row+1;for(var j=N[i].row+1;j='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=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.length2||(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;},false);},"jquery.sap.ui.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/Global'],function(q,G){"use strict";if(!q.sap){throw"Initialisation of jQuery.sap.ui failed. jQuery.sap plugin required!";}if(!window.sap||!window.sap.ui){q.sap.fatal("Initialisation of jQuery.sap.ui failed. Global SAP UI namespace required!");}if(q.sap.ui){return;}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;},false);},"sap/ui/Global.js":function(){sap.ui.define(['jquery.sap.global','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.28.5",buildinfo:{lastchange:"",buildtime:"20150427-1201"}});sap.ui.getVersionInfo=function(L){if(!sap.ui.versioninfo){sap.ui.versioninfo=q.sap.loadResource("sap-ui-version.json");}if(L!==undefined){var a=sap.ui.versioninfo.libraries;for(var i=0,l=a.length;i=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/base/BindingParser.js":function(){sap.ui.define(['jquery.sap.global','./ExpressionParser','jquery.sap.script'],function(q,E){"use strict";var r=/^\{\s*[a-zA-Z_][a-zA-Z0-9_]*\s*:/;var a=/(\\[\\\{\}])|(\{)/g;var b=/([\\\{\}])/g;function c(f){var F=function(v){var R=[],l=f.length,i;for(i=0;i"),o={path:p};if(P>0){o.model=p.slice(0,P);o.path=p.slice(P+1);}return o;}var B={};B._keepBindingStrings=false;B.simpleParser=function(s,C){if(q.sap.startsWith(s,"{")&&q.sap.endsWith(s,"}")){return d(s.slice(1,-1));}};B.simpleParser.escape=function(v){return v;};B.complexParser=function(s,C,u){var e=q.sap.parseJS,f={parts:[]},F=[],U,p=0,m,g,h;function i(o,P){if(typeof o[P]==="string"){var N=o[P];if(q.sap.startsWith(o[P],".")){o[P]=q.proxy(q.sap.getObject(o[P].slice(1),undefined,C),C);}else{o[P]=q.sap.getObject(o[P]);}if(typeof(o[P])!=="function"){q.sap.log.error(P+" function "+N+" not found!");}}}function j(o,P){var t;if(typeof o[P]==="string"){if(q.sap.startsWith(o[P],".")){t=q.sap.getObject(o[P].slice(1),undefined,C);}else{t=q.sap.getObject(o[P]);}if(typeof t==="function"){o[P]=new t(o.formatOptions,o.constraints);}else{o[P]=t;}delete o.formatOptions;delete o.constraints;}}function k(o,P){if(!(q.isPlainObject(o[P]))){return;}q.each(o[P],function(N,O){i(o[P],N);});}function l(o,P,t){var v;if(!(typeof o[P]==="object"||q.isArray(o[P]))){return;}if(q.isArray(o[P])){q.each(o[P],function(I,O){l(o[P],I,P);});}else{if(P==="filters"||t==="filters"){v=q.sap.getObject("sap.ui.model.Filter");}else if(P==="sorter"||t==="sorter"){v=q.sap.getObject("sap.ui.model.Sorter");i(o[P],"group");}if(v){o[P]=new v(o[P]);}}}function n(I,S){var P,o;if(r.test(I.slice(S))){P=e(I,S);j(P.result,'type');l(P.result,'filters');l(P.result,'sorter');k(P.result,'events');i(P.result,'formatter');i(P.result,'factory');i(P.result,'groupHeaderFactory');return P;}o=I.indexOf('}',S);if(o0){if(F.length===1){f=f.parts[0];}else{if(h){throw new SyntaxError("Expression not allowed in composite binding: "+s);}f.formatter=c(F);}if(B._keepBindingStrings){f.bindingString=s;}return f;}else if(u&&U){return F.join('');}};B.complexParser.escape=function(v){return v.replace(b,"\\$1");};return B;},true);},"sap/ui/base/DataType.js":function(){sap.ui.define(['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 d=b||D.prototype;var t=q.sap.newObject(d);t.getName=function(){return n;};if(s.hasOwnProperty("defaultValue")){var v=s.defaultValue;t.getDefaultValue=function(){return v;};}if(s.hasOwnProperty("isValid")){var i=s.isValid;t.isValid=d.isValid?function(V){if(!d.isValid(V)){return false;}return i(V);}:i;}t.isArrayType=function(){return false;};t.getBaseType=function(){return b;};return t;}function a(b){var t=q.sap.newObject(D.prototype);t.getName=function(){return b.getName()+"[]";};t.getComponentType=function(){return b;};t.isValid=function(v){if(v===null){return true;}if(q.isArray(v)){for(var i=0;i0){var C=t.substr(0,t.length-2),o=this.getType(C);return o&&a(o);}else{return P[t]||q.sap.getObject(t);}};D.createType=c;var I={};D.registerInterfaceTypes=function(t){for(var i=0;i0){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;},true);},"sap/ui/base/EventProvider.js":function(){sap.ui.define(['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=",">"],r;q.each(t,function(i,T){t[i]=q.sap.escapeRegExp(T);});r=new RegExp(t.join("|"),"g");b("*",14,function(x,y){return x*y;});b("/",14,function(x,y){return x/y;});b("%",14,function(x,y){return x%y;});b("+",13,function(x,y){return x+y;}).nud=function(T,P){return q.proxy(U,null,P.expression(this.lbp),function(x){return+x;});};b("-",13,function(x,y){return x-y;}).nud=function(T,P){return q.proxy(U,null,P.expression(this.lbp),function(x){return-x;});};b("<=",11,function(x,y){return x<=y;});b("<",11,function(x,y){return x=",11,function(x,y){return x>=y;});b(">",11,function(x,y){return x>y;});b("===",10,function(x,y){return x===y;});b("!==",10,function(x,y){return x!==y;});b("&&",7,function(x,y){return x&&y();},true);b("||",6,function(x,y){return x||y();},true);function B(i,P){return P[i];}function C(e,T,E,P){return e(P)?T(P):E(P);}function a(v){return v;}function D(l,i,P){var o=l(P),v=o[i];return typeof v==="function"?v.bind(o):v;}function F(l,A,P){var R=[];q.each(A,function(i,e){R[i]=e(P);});return l(P).apply(null,R);}function I(l,R,o,L,P){return o(l(P),L?q.proxy(R,null,P):R(P));}function M(m,P){var R={};q.each(m,function(k,v){R[k]=v(P);});return R;}function U(R,o,P){return o(R(P));}function b(i,e,o,l){s[i]={lbp:e,led:function(T,P,L){var g=l?this.lbp-1:this.lbp;return q.proxy(I,null,L,P.expression(g),o,l);},nud:u};return s[i];}function c(m,i,A){var e=new SyntaxError(m);e.at=A;e.text=i;if(A!==undefined){m+=" at position "+A;}q.sap.log.error(m,i,"sap.ui.base.ExpressionParser");throw e;}function u(T){var e=T.input.slice(T.start,T.end);c("Unexpected "+T.id+(e!==T.id?": "+e:""),T.input,T.start+1);}function f(R,i,S){var P=[],t=[],T=q.sap._createJSTokenizer();function g(){var h,o,j,m,k;T.white();h=T.getCh();j=T.getIndex();if(/[a-z]/i.test(h)){m=/[a-z]\w*/i.exec(i.slice(j));if(m[0]==="false"||m[0]==="null"||m[0]==="true"){k={id:"CONSTANT",value:T.word()};}else if(m[0]==="typeof"){k={id:"typeof"};T.setIndex(j+m[0].length);}else{k={id:"IDENTIFIER",value:m[0]};T.setIndex(j+m[0].length);}}else if(/\d/.test(h)||h==="."&&/\d/.test(i.charAt(T.getIndex()+1))){k={id:"CONSTANT",value:T.number()};}else if(h==="'"||h==='"'){k={id:"CONSTANT",value:T.string()};}else if(h==="$"){T.next("$");T.next("{");o=R(i,T.getIndex()-1);k={id:"BINDING",value:P.length};P.push(o.result);T.setIndex(o.at);}else{r.lastIndex=j;m=r.exec(i);if(!m||m.index!==j){return false;}k={id:m[0]};T.setIndex(j+m[0].length);}k.input=i;k.start=j;k.end=T.getIndex();t.push(k);return true;}T.init(i,S);try{while(g()){}}catch(e){if(e.name==="SyntaxError"){c(e.message,e.text,e.at);}else{throw e;}}return{at:T.getIndex(),parts:P,tokens:t};}function p(t,i,g){var e,n=0,P={advance:h,current:j,expression:k,globals:g},T;function h(E){var T=t[n];if(E){if(!T){c("Expected "+E+" but instead saw end of input",i);}else if(T.id!==E){c("Expected "+E+" but instead saw "+i.slice(T.start,T.end),i,T.start+1);}}n+=1;return T;}function j(){return t[n];}function k(l){var L;T=h();if(!T){c("Expected expression but instead saw end of input",i);}L=s[T.id].nud(T,P);while(n=(s[T.id].lbp||0)){break;}h();L=s[T.id].led(T,P,L);}return L;}e=k(-1);return{at:j()?j().start:undefined,formatter:e};}return{parse:function(R,i,S,g){var o,T;T=f(R,i,S);o=p(T.tokens,i,g||d);if(!S&&T.at0){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=d._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=d._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);d.create=function(v,k){if(!v||v instanceof d||typeof v!=="object"||v instanceof String){return v;}function g(t){if(typeof t==="function"){return t;}if(typeof t==="string"){return q.sap.getObject(t);}}var f=g(v.Type)||g(k&&k.type);if(typeof f==="function"){return new f(v);}var m="Don't know how to create a ManagedObject from "+v+" ("+(typeof v)+")";q.sap.log.fatal(m);throw new Error(m);};d._fnIdPreprocessor=null;d._fnSettingsPreprocessor=null;d.runWithPreprocessors=function(f,p){var o={id:this._fnIdPreprocessor,settings:this._fnSettingsPreprocessor};p=p||{};this._fnIdPreprocessor=p.id;this._fnSettingsPreprocessor=p.settings;try{var r=f.call();this._fnIdPreprocessor=o.id;this._fnSettingsPreprocessor=o.settings;return r;}catch(e){this._fnIdPreprocessor=o.id;this._fnSettingsPreprocessor=o.settings;throw e;}};d.getOwnerIdFor=function(o){q.sap.log.error("[Deprecated] The private method sap.ui.base.ManagedObject.getOwnerIdFor must no longer be used. Use the public sap.ui.core.Component.getOwnerForId instead.");return o&&o._sOwnerId;};d.runWithOwner=function(f,o){q.sap.log.error("[Deprecated] The private method sap.ui.base.ManagedObject.runWithOwner must no longer be used. Use the public sap.ui.core.Component.runAsOwner instead.");if(o&&typeof o.runAsOwner==="function"){o.runAsOwner(f);}else{throw new Error("trying to execute a function with a non-suitable owner "+o+". See the deprecation hint in the console.");}};d.prototype.applySettings=function(s,S){if(!s||q.isEmptyObject(s)){return this;}var t=this,m=this.getMetadata(),v=m.getJSONKeys(),a=d.create,p=d._fnSettingsPreprocessor,k,V,K;function e(O){for(var i=0,f=O.length;i1){q.sap.log.error("Tried to add an array of controls to a single aggregation");}V=V[0];}this[K._sMutator](a(o||V,K));}break;case 2:o=this.extractBindingInfo(V,S);if(o&&typeof o==="object"){this.bindAggregation(k,o);}else{V=o||V;if(V){e(q.isArray(V)?V:[V]);}}break;case 3:this[K._sMutator](V);break;case 4:if(V&&!q.isArray(V)){V=[V];}if(V){for(var i=0,l=V.length;i=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;};d.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;};d.prototype.validateAggregation=function(a,o,m){var e=this.getMetadata(),A=e.getManagedAggregation(a),f,t,i,g;if(!A){if(a&&e._mHiddenAggregations&&e._mHiddenAggregations[a]){A=e._mHiddenAggregations[a];q.sap.log.error("Support for '_mHiddenAggregations' is about to be removed (with 1.12 latest). Hidden aggregations like '"+e.getName()+"."+a+"' instead can be declared like normal aggregations but with visibility:'hidden'.");}else{g="Aggregation \""+a+"\" does not exist in "+this;if(/^sap\.(ui\.core|ui\.commons|ui\.table|ui\.ux3|m|makit|viz|uiext\.inbox)$/.test(e.getLibraryName()||"")){throw new Error(g);}else{q.sap.log.error("Support for undeclared aggregations is about to be removed (with 1.12 latest). Hidden aggregations like '"+e.getName()+"."+a+"' can be declared like normal aggregations but with visibility:'hidden'.");return o;}}}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;}f=A.altTypes;if(f&&f.length){if(o==null){return o;}for(i=0;ie.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;};d.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;};d.prototype.removeAggregation=function(a,o,s){var e=this.mAggregations[a],f=null,i;if(!e){return null;}if(s){this.iSuppressInvalidate++;}if(typeof(o)=="string"){for(i=0;i=e.length){q.sap.log.warning("ManagedObject.removeAggregation called with invalid index: "+a+", "+o);}else{f=e[o];e.splice(o,1);f.setParent(null);if(!this.isInvalidateSuppressed()){this.invalidate();}}}if(s){this.iSuppressInvalidate--;}return f;};d.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=0;i--){f=e[i];if(f){f.destroy(s);}}}if(!this.isInvalidateSuppressed()){this.invalidate();}if(s){this.iSuppressInvalidate--;}return this;};d.prototype.invalidate=function(){if(this.oParent){this.oParent.invalidate(this);}};d.prototype.isInvalidateSuppressed=function(){var i=this.iSuppressInvalidate>0;if(this.oParent&&this.oParent instanceof d){i=i||this.oParent.isInvalidateSuppressed();}return i;};d.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--;}}};d.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;};d.prototype.getParent=function(){return this.oParent;};d.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);}});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;};d.bindingParser=B.simpleParser;d.prototype.isBinding=function(v,k){return typeof this.extractBindingInfo(v)==="object";};d.prototype.extractBindingInfo=function(v,s){if(v&&typeof v==="object"){if(v.ui5object){delete v.ui5object;}else if(v.path||v.parts){if(v.template){v.template=d.create(v.template);}return v;}}if(typeof v==="string"){return d.bindingParser(v,s,true);}};d.prototype.getBindingInfo=function(n){return this.mBindingInfos[n];};d.prototype.bindObject=function(p,P){var a={},o,m,s;if(typeof p=="object"){var e=p;p=e.path;P=e.parameters;m=e.model;a.events=e.events;}s=p.indexOf(">");a.sBindingPath=p;a.mBindingParameters=P;if(s>0){m=p.substr(0,s);a.sBindingPath=p.substr(s+1);}o=this.mBoundObjects[m];if(o&&o.binding){o.binding.detachChange(o.fChangeHandler);o.binding.detachEvents(o.events);delete this.mElementBindingContexts[m];}this.mBoundObjects[m]=a;if(this.getModel(m)){this._bindObject(m,a);}return this;};d.prototype._bindObject=function(m,o){var a,e,f,t=this;var g=function(h){if(a.getBoundContext()===t.getBindingContext(m)){t.setElementBindingContext(null,m);}t.setElementBindingContext(a.getBoundContext(),m);};f=this.getModel(m);e=this.getBindingContext(m);a=f.bindContext(o.sBindingPath,e,o.mBindingParameters);a.attachChange(g);o.binding=a;o.fChangeHandler=g;a.attachEvents(o.events);a.initialize();};d.prototype.bindContext=function(p){return this.bindElement(p);};d.prototype.unbindContext=function(m){return this.unbindElement(m);};d.prototype.unbindObject=function(m){var o=this.mBoundObjects[m];if(o){if(o.binding){o.binding.detachChange(o.fChangeHandler);o.binding.detachEvents(o.events);}delete this.mBoundObjects[m];delete this.mElementBindingContexts[m];this.updateBindingContext(false,false,m);}return this;};d.prototype.bindProperty=function(n,o){var p,f,m,F,t,s,a=true,e=this,P=this.getMetadata().getPropertyLikeSetting(n);if(!P){throw new Error("Property \""+n+"\" does not exist in "+this);}if(typeof o=="string"){p=arguments[1];f=arguments[2];m=arguments[3];if(typeof f=="function"){F=f;}else if(f instanceof T){t=f;}o={formatter:F,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,g){if(typeof g=="string"){g={path:g};o.parts[i]=g;}s=g.path.indexOf(">");if(s>0){g.model=g.path.substr(0,s);g.path=g.path.substr(s+1);}if(o.formatter){g.mode=sap.ui.model.BindingMode.OneWay;}if(!e.getModel(g.model)){a=false;}});if(this.isBound(n)){this.unbindProperty(n,true);}this.mBindingInfos[n]=o;if(a){this._bindProperty(n,o);}return this;};d.prototype._bindProperty=function(n,o){var m,a,e,s,f=sap.ui.model.BindingMode.TwoWay,t,g,p=this.getMetadata().getPropertyLikeSetting(n),I=p._iKind===0?p.type:p.altTypes[0],h=this,j=[],k=function(i){var r=sap.ui.getCore().getMessageManager();h.updateProperty(n);if(r&&h._aMessages&&h._aMessages.length>0){sap.ui.getCore().getMessageManager().removeMessages(h._aMessages);h._aMessages=[];}if(e.getMessages()){h.updateMessages(n,e.getMessages());}if(e.getBindingMode()===sap.ui.model.BindingMode.OneTime){e.detachChange(k);e.detachEvents(o.events);}},l=function(i){var A=[];var r=i.getParameter("messageSource");var u=i.getParameter("messages");if(r=="control"){h._aMessages=u;}if(h._aMessages&&h._aMessages.length>0){A=A.concat(h._aMessages);}if(e.getMessages()){A=A.concat(e.getMessages());}h.updateMessages(n,A);};a=this.getBindingContext(o.model);q.each(o.parts,function(i,P){a=h.getBindingContext(P.model);m=h.getModel(P.model);t=P.type;if(typeof t=="string"){g=q.sap.getObject(t);t=new g(P.formatOptions,P.constraints);}e=m.bindProperty(P.path,a,o.parameters);e.setType(t,I);e.setFormatter(P.formatter);s=P.mode||m.getDefaultBindingMode();e.setBindingMode(s);if(s!=sap.ui.model.BindingMode.TwoWay){f=sap.ui.model.BindingMode.OneWay;}j.push(e);});if(j.length>1||(o.formatter&&o.formatter.textFragments)){t=o.type;if(typeof t=="string"){g=q.sap.getObject(t);t=new g(o.formatOptions,o.constraints);}e=new C(j,o.useRawValues);e.setType(t,I);e.setBindingMode(o.mode||f);}else{e=j[0];}e.attachChange(k);e.attachMessageChange(l);e.setFormatter(q.proxy(o.formatter,this));o.binding=e;o.modelChangeHandler=k;e.attachEvents(o.events);e.initialize();};d.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);o.binding.detachEvents(o.events);}delete this.mBindingInfos[n];if(!s){this[p._sMutator](null);}}return this;};d.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 sap.ui.model.FormatException){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;}}};d.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()==sap.ui.model.BindingMode.TwoWay){try{a.skipPropertyUpdate=true;e.setExternalValue(v);a.skipPropertyUpdate=false;var f=e.getExternalValue();if(v!=f){this.updateProperty(n);}if(e.getType()){this.fireValidationSuccess({element:this,property:n,type:e.getType(),newValue:v,oldValue:o},false,true);}}catch(g){a.skipPropertyUpdate=false;if(g instanceof sap.ui.model.ParseException){this.fireParseError({element:this,property:n,type:e.getType(),newValue:v,oldValue:o,exception:g,message:g.message},false,true);}else if(g instanceof sap.ui.model.ValidateException){this.fireValidationError({element:this,property:n,type:e.getType(),newValue:v,oldValue:o,exception:g,message:g.message},false,true);}else{throw g;}}}}};d.prototype.bindAggregation=function(n,o){var p,t,s,f,m=this.getMetadata(),a=m.getAggregation(n);if(!a){throw new Error("Aggregation \""+n+"\" does not exist in "+this);}if(typeof o=="string"){p=arguments[1];t=arguments[2];s=arguments[3];f=arguments[4];o={path:p,sorter:s,filters:f};if(t instanceof d){o.template=t;}else if(typeof t==="function"){o.factory=t;}}if(this.isBound(n)){this.unbindAggregation(n,true);}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.templateShareable===undefined){o.templateShareable=true;}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;};d.prototype._bindAggregation=function(n,o){var t=this,a,m=function(g){var u="update"+n.substr(0,1).toUpperCase()+n.substr(1);if(t[u]){var s=g&&g.getParameter("reason");if(s){t[u](s);}else{t[u]();}}else{t.updateAggregation(n);}},f=function(g){var r="refresh"+n.substr(0,1).toUpperCase()+n.substr(1);if(t[r]){t[r](g.getParameter("reason"));}else{m(g);}};var e=this.getModel(o.model);if(this.isTreeBinding(n)){a=e.bindTree(o.path,this.getBindingContext(o.model),o.filters,o.parameters);}else{a=e.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=f;a.attachChange(m);a.attachRefresh(f);a.attachEvents(o.events);a.initialize();};d.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);}if(!o.templateShareable&&o.template&&o.template.destroy){o.template.destroy();}delete this.mBindingInfos[n];if(!s){this[a._sDestructor]();}}return this;};d.prototype.updateAggregation=function(n){var o=this.mBindingInfos[n],a=o.binding,f=o.factory,A=this.getMetadata().getAggregation(n),e,N=null,g=null,G=null,s=null,t=this;this[A._sDestructor]();if(this.isTreeBinding(n)){var i=0,u=function(h,f,a,p){q.each(h,function(I,j){var k=t.getId()+"-"+i++;e=f(k,j);e.setBindingContext(j,o.model);p[A._sMutator](e);u(a.getNodeContexts(j),f,a,e);});};u(a.getRootContexts(),f,a,this);}else{g=A._sMutator+"Group";G=a.isGrouped()&&this[g];q.each(a.getContexts(o.startIndex,o.length),function(I,h){if(G&&a.aSorters.length>0){N=a.aSorters[0].fnGroup(h);if(typeof N=="string"){N={key:N};}if(N.key!==s){var j;if(o.groupHeaderFactory){j=o.groupHeaderFactory(N);}t[g](N,j);s=N.key;}}var k=t.getId()+"-"+I;e=f(k,h);e.setBindingContext(h,o.model);t[A._sMutator](e);});}};d.prototype.refreshAggregation=function(n){var o=this.mBindingInfos[n],a=o.binding;a.getContexts(o.startIndex,o.length);};d.prototype.updateMessages=function(n,m){q.sap.log.warning("Message for "+this+", Property "+n);};d.prototype.isTreeBinding=function(n){return false;};d.prototype.updateBindings=function(u,m){var t=this;function a(o){var p=o.parts,i;if(p&&p.length>1){for(i=0;i1){for(i=0;i=0){j[i]+="-"+I;}}}else if(q.inArray(j,l)>=0){j+="-"+I;}S[n]=j;}}g=new f(s,S);for(n in this.mBoundObjects){g.mBoundObjects[n]=q.extend({},this.mBoundObjects[n]);}for(n in this.mEventRegistry){g.mEventRegistry[n]=this.mEventRegistry[n].slice();}if(e){for(n in this.mBindingInfos){var r=this.mBindingInfos[n];var t=q.extend({},r);if(!r.templateShareable&&r.template&&r.template.clone){t.template=r.template.clone(I,l);delete t.factory;}delete t.binding;if(r.factory||r.template){g.bindAggregation(n,t);}else{g.bindProperty(n,t);}}}return g;};d._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 P=o.parts;if(P){for(i=0;i1.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;if(p._mHiddenAggregations){this._mHiddenAggregations=q.extend({},p._mHiddenAggregations);}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();}else{for(var i in t){d[s]=t[i];break;}}}}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._iKind0)?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;}}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;i0){for(var i=0,l=v.length;i=0){T=j(t.slice(I+1));if(T){i.theme=t.slice(0,I);i.themeRoot=T;}else{i.theme=(k.theme&&k.theme!==t)?k.theme:"base";I=-1;}}i.theme=this._normalizeTheme(i.theme,T);var p=i['languagesDeliveredWithCore']=L._coreI18nLocales;var r=i['xx-supportedLanguages'];if(r.length===0||(r.length===1&&r[0]==='*')){r=[];}else if(r.length===1&&r[0]==='default'){r=p||[];}i['xx-supportedLanguages']=r;if(i["bindingSyntax"]==="default"){i["bindingSyntax"]=(i.getCompatibilityVersion("sapCoreBindingSyntax").compareTo("1.26")<0)?"simple":"complex";}if(!i["frameOptions"]||(i["frameOptions"]!=='allow'&&i["frameOptions"]!=='deny'&&i["frameOptions"]!=='trusted')){i["frameOptions"]='allow';}for(var n in g){if(i[n]!==g[n].defaultValue){q.sap.log.info(" "+n+" = "+i[n]);}}},getVersion:function(){if(this._version){return this._version;}this._version=new q.sap.Version(sap.ui.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){d(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);},getFormatLocale:function(){return this.formatLocale||this.language;},setFormatLocale:function(f){d(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){d(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"];},getPreload:function(){return this.preload;},getComponentPreload:function(){return this['xx-componentPreload']||this.preload;},getFormatSettings:function(){return this.oFormatSettings;},_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 a={"":{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",ignore:true},"B":{pattern:"yyyy/MM/dd",ignore:true},"C":{pattern:"yyyy/MM/dd",ignore:true}};var b={"":{"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 c={"":{groupingSeparator:null,decimalSeparator:null}," ":{groupingSeparator:".",decimalSeparator:","},"X":{groupingSeparator:",",decimalSeparator:"."},"Y":{groupingSeparator:" ",decimalSeparator:","}};function d(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 f(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||f(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){d(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){d(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){d(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){d(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():"";d(!f||a.hasOwnProperty(f),"sFormatId must be one of ['1','2','3','4','5','6','7','8','9','A','B','C'] or empty");if(a[f].ignore){q.sap.log.warning("The ABAP date format '"+f+"' ("+a[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",a[f].pattern);this.setDatePattern("medium",a[f].pattern);this.oConfiguration._endCollect();return this;},getLegacyTimeFormat:function(){return this.sLegacyTimeFormat||undefined;},setLegacyTimeFormat:function(f){d(!f||b.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",b[f]["short"]);this.setTimePattern("medium",b[f]["medium"]);this._setDayPeriods("abbreviated",b[f].dayPeriods);this.oConfiguration._endCollect();return this;},getLegacyNumberFormat:function(){return this.sLegacyNumberFormat||undefined;},setLegacyNumberFormat:function(f){f=f?f.toUpperCase():"";d(!f||c.hasOwnProperty(f),"sFormatId must be one of [' ','X','Y'] or empty");var m=this.oConfiguration._collect();this.sLegacyNumberFormat=m.legacyNumberFormat=f;this.setNumberSymbol("group",c[f].groupingSeparator);this.setNumberSymbol("decimal",c[f].decimalSeparator);this.oConfiguration._endCollect();return this;},setLegacyDateCalendarCustomizing:function(m){d(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 C;},true);},"sap/ui/core/Control.js":function(){sap.ui.define(['jquery.sap.global','./CustomStyleClassSupport','./Element'],function(q,C,E){"use strict";var a=E.extend("sap.ui.core.Control",{metadata:{stereotype:"control","abstract":true,publicMethods:["placeAt","attachBrowserEvent","detachBrowserEvent"],library:"sap.ui.core",properties:{"busy":{type:"boolean",defaultValue:false},"busyIndicatorDelay":{type:"int",defaultValue:1000},"visible":{type:"boolean",group:"Appearance",defaultValue:true}}},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=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();sap.ui.core.ResizeHandler.deregisterAllForControl(this.getId());E.prototype.destroy.call(this,s);};(function(){var p="focusin focusout keydown keypress keyup mousedown touchstart mouseup touchend click",b={onAfterRendering:function(){if(this.getProperty("busy")===true&&this.$()){A.apply(this);}}},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;}var t=$.get(0)&&$.get(0).tagName;if(t&&q.inArray(t.toLowerCase(),F)>=0){q.sap.log.warning("Busy Indicator cannot be placed in elements with tag "+t);return;}if($.css('position')=='static'){this._busyStoredPosition='static';$.css('position','relative');}var B=q('
');B.attr("id",this.getId()+"-busyIndicator");$.append(B);$.addClass('sapUiLocalBusy');if(this._busyDelayedCallId){q.sap.clearDelayedCall(this._busyDelayedCallId);}this._busyDelayedCallId=q.sap.delayedCall(1200,this,f);h.apply(this,[true]);},h=function(B){var $=this.$(this._sBusySection);if(B){var t=$.find('[tabindex]'),c=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;}c._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){o.ref.attr('tabindex',o.tabindex);o.ref.unbind(p,P);});}this._busyTabIndices=[];}},P=function(e){e.preventDefault();e.stopImmediatePropagation();},f=function(){var $=this.$(this._sBusySection).children('.sapUiLocalBusyIndicator').children('.sapUiLocalBusyIndicatorAnimation');var t=this;t._busyAnimationTimer1=setTimeout(function(){$.children(":eq(0)").addClass('active');$.children(":not(:eq(0))").removeClass('active');t._busyAnimationTimer2=setTimeout(function(){$.children(":eq(1)").addClass('active');$.children(":not(:eq(1))").removeClass('active');t._busyAnimationTimer3=setTimeout(function(){$.children(":eq(2)").addClass('active');$.children(":not(:eq(2))").removeClass('active');t._busyAnimationTimer4=setTimeout(function(){$.children().removeClass('active');},150);},150);},150);},150);this._busyDelayedCallId=q.sap.delayedCall(1200,this,f);};a.prototype.setBusy=function(B,s){this._sBusySection=s;var $=this.$(this._sBusySection);if(B==this.getProperty("busy")){return;}this.setProperty("busy",B,true);if(B){this.addDelegate(b,false,this);}else{this.removeDelegate(b);if(this._busyIndicatorDelayedCallId){q.sap.clearDelayedCall(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId;}}if(!this.getDomRef()){return;}if(B){if(this.getBusyIndicatorDelay()<=0){A.apply(this);}else{this._busyIndicatorDelayedCallId=q.sap.delayedCall(this.getBusyIndicatorDelay(),this,A);}}else{this.$("busyIndicator").remove();this.$().removeClass('sapUiLocalBusy');if(this._busyStoredPosition){$.css('position',this._busyStoredPosition);delete this._busyStoredPosition;}h.apply(this,[false]);if(this._busyDelayedCallId){q.sap.clearDelayedCall(this._busyDelayedCallId);delete this._busyDelayedCallId;}}};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;}if(this._busyDelayedCallId){q.sap.clearDelayedCall(this._busyDelayedCallId);delete this._busyDelayedCallId;}if(this._busyAnimationTimer1){clearTimeout(this._busyAnimationTimer1);delete this._busyAnimationTimer1;}if(this._busyAnimationTimer2){clearTimeout(this._busyAnimationTimer2);delete this._busyAnimationTimer2;}if(this._busyAnimationTimer3){clearTimeout(this._busyAnimationTimer3);delete this._busyAnimationTimer3;}if(this._busyAnimationTimer4){clearTimeout(this._busyAnimationTimer4);delete this._busyAnimationTimer4;}};})();return a;},true);},"sap/ui/core/Core.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/Device','sap/ui/Global','sap/ui/base/DataType','sap/ui/base/EventProvider','./Component','./Configuration','./Control','./Element','./ElementMetadata','./FocusHandler','./RenderManager','./ResizeHandler','./ThemeCheck','./UIArea','./tmpl/Template','./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,C,c,d,e,g,F,R,h,T,U,k,M){"use strict";var L={};var n=E.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,f="sap.ui.core.Core";E.apply(this);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,f);this.oConfiguration=new c(this);var o=this.oConfiguration["frameOptionsConfig"]||{};o.mode=this.oConfiguration["frameOptions"];o.whitelistService=this.oConfiguration["whitelistService"];this.oFrameOptions=new q.sap.FrameOptions(o);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;}g.prototype.register=function(Q){t.registerElementClass(Q);};e.prototype.register=function(){t.registerElement(this);};e.prototype.deregister=function(){t.deregisterElement(this);};C.prototype.register=function(){t.registerObject(this);};C.prototype.deregister=function(){t.deregisterObject(this);};k.prototype.register=function(){t.registerObject(this);};k.prototype.deregister=function(){t.deregisterObject(this);};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");}l.info("Declared modules: "+m,f);var j=window["sap-ui-config"];if(this.oConfiguration.themeRoot){j=j||{};j.themeroots=j.themeroots||{};j.themeroots[this.oConfiguration.getTheme()]=this.oConfiguration.themeRoot;}if(j){if(j.themeroots){for(var p in j.themeroots){var s=j.themeroots[p];if(typeof s==="string"){this.setThemeRoot(p,s);}else{for(var u in s){if(u.length>0){this.setThemeRoot(p,[u],s[u]);}else{this.setThemeRoot(p,s[u]);}}}}}}this.sTheme=this.oConfiguration.getTheme();q(document.documentElement).addClass("sapUiTheme-"+this.sTheme);l.info("Declared theme "+this.sTheme,null,f);if(this.oConfiguration.getRTL()){q(document.documentElement).attr("dir","rtl");l.info("RTL mode activated",null,f);}var $=q("html");var b=D.browser;var v=b.name;if(v===b.BROWSER.CHROME){q.browser.safari=false;q.browser.chrome=true;}else if(v===b.BROWSER.SAFARI){q.browser.safari=true;q.browser.chrome=false;if(b.mobile){v="m"+v;}}if(v){q.browser.fVersion=b.version;q.browser.mobile=b.mobile;v=v+Math.floor(b.version);$.attr("data-sap-ui-browser",v);l.debug("Browser-Id: "+v,null,f);}$.attr("data-sap-ui-os",D.os.name+D.os.versionStr);var w=null;switch(D.os.name){case D.os.OS.IOS:w="sap-ios";break;case D.os.OS.ANDROID:w="sap-android";break;case D.os.OS.BLACKBERRY:w="sap-bb";break;case D.os.OS.WINDOWS_PHONE:w="sap-winphone";break;}if(w){$.addClass(w);}var x=function(){var Q=this.oConfiguration.getLocale();if(Q){$.attr("lang",Q.toString());}else{$.removeAttr("lang");}};x.call(this);this.attachLocalizationChanged(x,this);if(this.oConfiguration.getWeinreId()){l.info("Starting WEINRE Remote Web Inspector");var W="";document.write(W);}sap.ui.getCore=q.sap.getter(this.getInterface());this.oRenderManager=new R();var y=q.sap.syncPoint("UI5 Document Ready",function(Q,V){t.handleLoad();});var z=y.startTask("document.ready");var A=y.startTask("preload and boot");q(function(){l.trace("document is ready");y.finishTask(z);});var B=q.sap.syncPoint("UI5 Core Preloads and Bootstrap Script",function(Q,V){l.trace("Core loaded: open="+Q+", failures="+V);t._boot();y.finishTask(A);});var H=this.oConfiguration["xx-bootTask"];if(H){var I=B.startTask("custom boot task");H(function(Q){B.finishTask(I,typeof Q==="undefined"||Q===true);});}var J=new q.sap.Version(this.oConfiguration.getCompatibilityVersion("flexBoxPolyfill"));if(J.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;}var K=B.startTask("bootstrap script");this.boot=function(){if(this.bBooted){return;}this.bBooted=true;B.finishTask(K);};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;if(P==="sync"||P==="async"){var N=P!=="sync";q.each(m,function(i,Q){if(Q.match(/\.library$/)){q.sap.preloadModules(Q+"-preload",N,B);}});}var O=this.oConfiguration.getAppCacheBuster();if(O&&O.length>0){q.sap.require("sap.ui.core.AppCacheBuster");sap.ui.core.AppCacheBuster.boot(B);}},metadata:{publicMethods:["boot","isInitialized","isThemeApplied","attachInitEvent","attachInit","getRenderManager","createRenderManager","getConfiguration","setRoot","createUIArea","getUIArea","getUIDirty","getElementById","getCurrentFocusedControlId","getControl","getComponent","getTemplate","lock","unlock","isLocked","attachEvent","detachEvent","applyChanges","getEventBus","applyTheme","setThemeRoot","attachThemeChanged","detachThemeChanged","getStaticAreaRef","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"]}});n.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";n.prototype._boot=function(){this.lock();var b=this.oConfiguration['preloadLibCss'];if(b.length>0){var A=b[0].slice(0,1)==="!";if(A){b[0]=b[0].slice(1);}if(b[0]==="*"){b.splice(0,1);var p=0;q.each(this.oConfiguration.modules,function(i,f){var m=f.match(/^(.*)\.library$/);if(m){b.splice(p,0,m[1]);}});}if(!A){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();};n.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);}}};n.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("sap-ui-css-count")){$.remove();}H=b._getThemePath(l,t)+f;if(H!=this.href){this.href=H;$.removeAttr("sap-ui-ready");}});};n.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,"/");};n.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;i0){b.info("Fire Loaded Event",null,j);q.each(x,function(i,f){f();});}this.renderPendingUIUpdates();};n.prototype.handleLoad=function(){this.bDomReady=true;var w=this.isLocked();if(!w){this.lock();}this.init();if(!w){this.unlock();}};n.prototype.isInitialized=function(){return this.bInitialized;};n.prototype.isThemeApplied=function(){return T.themeLoaded;};n.prototype.attachInitEvent=function(f){if(this.aInitListeners){this.aInitListeners.push(f);}};n.prototype.attachInit=function(f){if(this.aInitListeners){this.aInitListeners.push(f);}else{f();}};n.prototype.lock=function(){this.bLocked=true;};n.prototype.unlock=function(){this.bLocked=false;};n.prototype.isLocked=function(){return this.bLocked;};n.prototype.getConfiguration=function(){return this.oConfiguration;};n.prototype.getRenderManager=function(){return this.createRenderManager();};n.prototype.createRenderManager=function(){var o=new R();o._setFocusHandler(this.oFocusHandler);return o.getInterface();};n.prototype.getCurrentFocusedControlId=function(){if(!this.isInitialized()){throw new Error("Core must be initialized");}return this.oFocusHandler.getCurrentFocusedControlId();};n.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];};n.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,u){if(!u){f();i();}else{j();}});var m=s.startTask("load libraries");b(s);s.finishTask(m);});}else{b(null);f();}};n.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);};n.prototype.getRootComponent=function(){return this.oRootComponent;};n.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 p(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;}this.mLibraries[s]=o=p(this.mLibraries[s]||{name:s,dependencies:[],types:[],interfaces:[],controls:[],elements:[]},o);function t(){var P=q.sap.properties({url:sap.ui.resource(s,"library.properties")});o.version=P.getProperty(s+"[version]");var w=P.getProperty(s+"[dependencies]");f.debug("Required Libraries: "+w,null,m);o.dependencies=(w&&w.split(/[,;| ]/))||[];var K=P.getKeys(),x=/(.+)\.(type|interface|control|element)$/,y;for(var j=0;j0?"-["+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);if(sap.ui.core.theming&&sap.ui.core.theming.Parameters){sap.ui.core.theming.Parameters._addLibraryTheme(f,i);}}};n.prototype.getLoadedLibraries=function(){return q.extend({},this.mLibraries);};n.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];};n.prototype.setRoot=function(o,b){if(b){b.placeAt(o,"only");}};n.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];};n.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;n.prototype.addInvalidatedUIArea=function(u){if(!this._sRerenderTimer){r.debug("Registering timer for delayed re-rendering");this._sRerenderTimer=q.sap.delayedCall(0,this,"renderPendingUIUpdates");}};n.MAX_RENDERING_ITERATIONS=20;n.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=n.MAX_RENDERING_ITERATIONS>0,i=0;this._bRendering=true;do{if(l){i++;if(i>n.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");};n.prototype.getUIDirty=function(){return!!(this._sRerenderTimer||this._bRendering);};n.prototype.attachUIUpdated=function(f,l){this.attachEvent(n.M_EVENTS.UIUpdated,f,l);};n.prototype.detachUIUpdated=function(f,l){this.detachEvent(n.M_EVENTS.UIUpdated,f,l);};n.prototype.fireUIUpdated=function(p){this.fireEvent(n.M_EVENTS.UIUpdated,p);};n.prototype.attachThemeChanged=function(f,l){this.attachEvent(n.M_EVENTS.ThemeChanged,f,l);};n.prototype.detachThemeChanged=function(f,l){this.detachEvent(n.M_EVENTS.ThemeChanged,f,l);};n.prototype.fireThemeChanged=function(p){q.sap.scrollbarSize(true);if(sap.ui.core.theming&&sap.ui.core.theming.Parameters){sap.ui.core.theming.Parameters.reset(true);}var s=n.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();this.fireEvent(s,p);};n.prototype.attachLocalizationChanged=function(f,l){this.attachEvent(n.M_EVENTS.LocalizationChanged,f,l);};n.prototype.detachLocalizationChanged=function(f,l){this.detachEvent(n.M_EVENTS.LocalizationChanged,f,l);};n.prototype.fireLocalizationChanged=function(m){var s=n.M_EVENTS.LocalizationChanged,b=q.Event(s,{changes:m}),A=sap.ui.base.ManagedObject._handleLocalizationChange,f=[];q.each(m,function(j,v){f.push(j);});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 i(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);});}i.call(this,1);i.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);});this.fireEvent(s,{changes:m});};n.prototype.attachLibraryChanged=function(f,l){this.attachEvent(n.M_EVENTS.LibraryChanged,f,l);};n.prototype.detachLibraryChanged=function(f,l){this.detachEvent(n.M_EVENTS.LibraryChanged,f,l);};n.prototype.fireLibraryChanged=function(p){this.fireEvent(n.M_EVENTS.LibraryChanged,p);};n.prototype.applyChanges=function(){this.renderPendingUIUpdates();};n.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){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});}};n.prototype.registerElement=function(o){var b=this.byId(o.getId());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;};n.prototype.deregisterElement=function(o){delete this.mElements[o.getId()];};n.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;};n.prototype.deregisterObject=function(o){var i=o.getId(),t=o.getMetadata().getStereotype();delete this.mObjects[t][i];};n.prototype.byId=function(i){return i==null?undefined:this.mElements[i];};n.prototype.getControl=n.prototype.byId;n.prototype.getElementById=n.prototype.byId;n.prototype.getObject=function(t,i){return i==null?undefined:this.mObjects[t]&&this.mObjects[t][i];};n.prototype.getComponent=function(i){return this.getObject("component",i);};n.prototype.getTemplate=function(i){return this.getObject("template",i);};n.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("
",A).css({"height":"0","width":"0","overflow":"hidden","float":l}).prependTo(document.body)[0];this.createUIArea(s).bInitial=false;}return s;};n.prototype.isStaticAreaRef=function(o){return o&&(o.id===S);};n._I_INTERVAL=200;h.prototype.I_INTERVAL=n._I_INTERVAL;n.prototype.attachIntervalTimer=function(f,l){if(!this.oTimedTrigger){q.sap.require("sap.ui.core.IntervalTrigger");this.oTimedTrigger=new sap.ui.core.IntervalTrigger(n._I_INTERVAL);}this.oTimedTrigger.addListener(f,l);};n.prototype.detachIntervalTimer=function(f,l){if(this.oTimedTrigger){this.oTimedTrigger.removeListener(f,l);}};n.prototype.attachControlEvent=function(f,l){this.attachEvent(n.M_EVENTS.ControlEvent,f,l);};n.prototype.detachControlEvent=function(f,l){this.detachEvent(n.M_EVENTS.ControlEvent,f,l);};n.prototype.fireControlEvent=function(p){this.fireEvent(n.M_EVENTS.ControlEvent,p);};n.prototype._handleControlEvent=function(o,u){var b=q.Event(o.type);q.extend(b,o);b.originalEvent=undefined;this.fireControlEvent({"browserEvent":b,"uiArea":u});};n.prototype.getApplication=function(){return sap.ui.getApplication&&sap.ui.getApplication();};n.prototype.registerPlugin=function(p){if(!p){return;}for(var i=0,l=this.aPlugins.length;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);};n.prototype.startPlugins=function(){for(var i=0,l=this.aPlugins.length;i-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/core/Element.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/base/ManagedObject','./Core','./ElementMetadata','sap/ui/model/SimpleType','jquery.sap.strings'],function(q,M,C,E,S){"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 sap.ui.base.Object.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;i0?c[0].getId():null;};F.prototype.getControlFocusInfo=function(c){c=c||this.getCurrentFocusedControlId();if(!c){return null;}var C=this.oCore.getElementById(c);if(C){return{id:c,control:C,info:C.getFocusInfo(),type:C.getMetadata().getName(),focusref:C.getFocusDomRef()};}return null;};F.prototype.restoreFocus=function(c){var i=c||this.oLastFocusedControlInfo;if(!i){return;}var C=this.oCore.getElementById(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);}}q(window).unbind("unload",this.fDestroyHandler);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.getElementById(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;}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;},true);},"sap/ui/core/LabelEnablement.js":function(){sap.ui.define(['jquery.sap.global'],function(q){"use strict";var C={};function t(i,I){if(!i){return null;}var o=sap.ui.getCore().byId(i);if(o&&I){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.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 sap.ui.base.ManagedObject){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;};};return L;},true);},"sap/ui/core/Locale.js":function(){sap.ui.define(['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;},true);},"sap/ui/core/RenderManager.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/base/Interface','sap/ui/base/Object','sap/ui/core/LabelEnablement','jquery.sap.act','jquery.sap.encoder'],function(q,I,B,L){"use strict";var c=["renderControl","write","writeEscaped","translate","writeAcceleratorKey","writeControlData","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());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;i0){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;i0){var D=q(C.getDomRef());if(D&&D[0]){for(var j=0;j",{"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("
",{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);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(/ /g,"
");}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.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;i0){A[s]=j.join(" ");}}};b("editable","readonly",false);b("enabled","disabled",false);b("visible","hidden",false);b("required","required",true);b("selected","selected",true);b("checked","checked",true);d("ariaDescribedBy","describedby");d("ariaLabelledBy","labelledby");}if(P){var f=function(v){var j=typeof(v);return v===null||v===""||j==="number"||j==="string"||j==="boolean";};var g={};var x,h,i;for(x in P){h=P[x];if(f(h)){g[x]=h;}else if(typeof(h)==="object"&&f(h.value)){i="";if(h.append&&(x==="describedby"||x==="labelledby")){i=A[x]?A[x]+" ":"";}g[x]=i+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?"":"/>");return this;};var a={render:function(r,C){var p=sap.ui.core.RenderPrefixes.Invisible+C.getId();var P=''+'';r.write(P);}};return R;},true);},"sap/ui/core/ResizeHandler.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/Global','sap/ui/base/Object','jquery.sap.act','jquery.sap.script'],function(q,G,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;},true);},"sap/ui/core/ThemeCheck.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/Device','sap/ui/base/Object','jquery.sap.script'],function(q,D,B){"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.cssRules.length>0)||!!(s.styleSheet&&s.styleSheet.cssText.length>0)||!!(s.innerHTML&&s.innerHTML.length>0));var f=S.attr("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("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 URI(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("sap-ui-css-count",n).load(function(){q(j).attr("sap-ui-ready","true");}).error(function(){q(j).attr("sap-ui-ready","false");});S.parentNode.insertBefore(j,S.nextSibling);}}}if(t._themeCheckedForCustom!=s){if(b(t,f)){q.sap.includeStyleSheet(p,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 k=q("LINK[id='"+t._CUSTOMID+"']");if(k.length>0){k.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){R=e.sheet.cssRules;}else if(e.styleSheet){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;(isap.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;},true);},"sap/ui/core/UIArea.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/base/ManagedObject','./Element','./RenderManager','jquery.sap.act','jquery.sap.ui'],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");if(s>0){m=p.substr(0,s);p=p.substr(s+1);}return{path:p,model:m};};T.prototype.init=function(s,S){if(this.getMetadata().getName()==="sap.ui.core.tmpl.Template"){throw new Error("The class 'sap.ui.core.tmpl.Template' is abstract and must not be instantiated!");}if(M.bindingParser===sap.ui.base.BindingParser.complexParser){T.prototype.extractBindingInfo=function(v,i,S){M.bindingParser=sap.ui.base.BindingParser.simpleParser;var r=sap.ui.core.Control.prototype.extractBindingInfo.apply(this,arguments);M.bindingParser=sap.ui.base.BindingParser.complexParser;return r;};}};T.prototype.declareControl=function(c){if(c){var m=this.createMetadata(),r=this.createRenderer(),t=this;q.sap.require("sap.ui.core.tmpl.TemplateControl");sap.ui.core.tmpl.TemplateControl.extend(c,{metadata:m,init:function(){sap.ui.core.tmpl.TemplateControl.prototype.init.apply(this,arguments);this.setTemplate(t);},renderer:{renderTemplate:r,hasControlData:m._hasControlData}});return q.sap.getObject(c);}};T.prototype.createControl=function(i,c,v){q.sap.require("sap.ui.core.tmpl.TemplateControl");var C=new sap.ui.core.tmpl.TemplateControl({id:i,template:this,context:c});C.setTemplateRenderer(this.createRenderer(v));return C;};T.prototype.placeAt=function(r,c,p,i){if(typeof c==="string"||typeof c==="number"){p=c;c=undefined;}var I;if(!(r instanceof sap.ui.core.Control)&&i){var $=typeof r==="string"?q.sap.byId(r):q(r);if($.length>0){I=$.attr("id");r=$.get(0);var C=$.attr("data-context");c=c||C&&q.parseJSON(C);sap.ui.core.RenderManager.markInlineTemplate($);}}var o=this.createControl(I,c);o.placeAt(r,p);return o;};T.prototype.createMetadata=function(){q.sap.log.error("The function createMetadata is an abstract function which needs to be implemented by subclasses.");};T.prototype.createRenderer=function(){q.sap.log.error("The function createRenderer is an abstract function which needs to be implemented by subclasses.");};sap.ui.template=function(t){if(!t){var a=[];q.each(T._mSupportedTypes,function(s,h){q("script[type='"+s+"'], [data-type='"+s+"']").each(function(k,E){a.push(sap.ui.template({id:E.id,domref:E,type:s,_class:h}));});});return a;}else{if(typeof t==="string"){return sap.ui.template({id:t});}else if(t&&t.tagName&&t.nodeName&&t.ownerDocument&&t.nodeType===1){return sap.ui.template({id:t.id,domref:t});}t=q.extend({type:T.DEFAULT_TEMPLATE},t);var i,s,c,C,b=false,l=typeof t.src==="string",I=false;if(l){var r=q.sap.sjax({url:t.src,dataType:"text"});if(r.success){i=t.id;s=t.type;c=t.control;C=r.data;var d=/^/,e=C.match(d);if(e){s=e[1];if(e.length==3){b=e[2];}C=C.substr(e[0].length);}}else{throw new Error("The template could not be loaded from "+t.src+"!");}}else{var E=t.domref||q.sap.domById(t.id),$=q(E);I=false;i=t.id||E&&E.id;s=$.attr("type")||t.type;c=$.attr("data-control")||t.control;if(i){var f=sap.ui.getCore().getTemplate(i);if(!f instanceof T){throw new Error("Object for id \""+i+"\" is no sap.ui.core.tmpl.Template!");}else{if(f){return f;}}}if($.length===0){throw new Error("DOM element for the Template with the id \""+i+"\" not found!");}C=$.html();var g=E.tagName.toLowerCase();if(g!=="script"){I=$.parents("body").length===1;}}var h=t._class;if(!h){h=T._mSupportedTypes[s];if(!h){throw new Error("The type \""+s+"\" is not supported.");}}q.sap.require(h);var o=q.sap.getObject(h);var j=new o({id:i,content:C});if(c){j.declareControl(c);}if(b){j._sControllerName=b;}if(I){j.placeAt(i,t.context,undefined,true);}return j;}};T.DEFAULT_TEMPLATE="text/x-handlebars-template";T.registerType(T.DEFAULT_TEMPLATE,"sap.ui.core.tmpl.HandlebarsTemplate");return T;},true);},"sap/ui/core/util/UnicodeNormalizer.js":function(){sap.ui.define(function(){"use strict";if(String.prototype.normalize!=undefined||sap.ui.Device.browser.mobile==true){return;}else{jQuery.sap.require("sap.ui.thirdparty.unorm");jQuery.sap.require("sap.ui.thirdparty.unormdata");String.prototype.normalize=function(s){switch(s){case'NFC':return UNorm.nfc(this);case'NFD':return UNorm.nfd(this);case'NFKC':return UNorm.nfkc(this);case'NFKD':return UNorm.nfkd(this);default:return UNorm.nfc(this);}};}return;},false);},"sap/ui/model/Binding.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/base/EventProvider','./ChangeReason'],function(q,E,C){"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;},metadata:{"abstract":true,publicMethods:["getPath","getContext","getModel","attachChange","detachChange","refresh","isInitial","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._fireChange();}};B.prototype.getMessages=function(){return this.vMessages;};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._fireMessageChange=function(a){this.fireEvent("messageChange",a);};B.prototype.attachMessageChange=function(f,l){this.attachEvent("messageChange",f,l);};B.prototype.detachMessageChange=function(f,l){this.detachEvent("messageChange",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.checkUpdate=function(f){if(!this.bSuspended){this._fireChange({reason:C.Change});}};B.prototype.checkMessages=function(){var r=this.oModel.resolve(this.sPath,this.oContext),m;if(r){m=this.oModel.getMessagesByPath(r);if(!q.sap.equal(m,this.vMessages)){this.vMessages=m?[].concat(m):[];this._fireMessageChange({messages:this.vMessages});}}};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;},true);},"sap/ui/model/BindingMode.js":function(){sap.ui.define(['jquery.sap.global'],function(q){"use strict";var B={Default:"Default",OneTime:"OneTime",OneWay:"OneWay",TwoWay:"TwoWay"};return B;},true);},"sap/ui/model/ChangeReason.js":function(){sap.ui.define(['jquery.sap.global'],function(q){"use strict";var C={Sort:"sort",Filter:"filter",Change:"change",Context:"context",Refresh:"refresh"};return C;},true);},"sap/ui/model/ClientContextBinding.js":function(){sap.ui.define(['jquery.sap.global','./ContextBinding'],function(q,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;},true);},"sap/ui/model/ClientListBinding.js":function(){sap.ui.define(['jquery.sap.global','./FilterType','./ListBinding','./FilterProcessor','./SorterProcessor'],function(q,F,L,a,S){"use strict";var C=L.extend("sap.ui.model.ClientListBinding",{constructor:function(m,p,c,s,f,P){L.apply(this,arguments);this.bIgnoreSuspend=false;this.update();},metadata:{publicMethods:["getLength"]}});C.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),c,b=[],p=this.oModel.resolve(this.sPath,this.oContext);if(p&&!q.sap.endsWith(p,"/")){p+="/";}for(var i=s;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;},true);},"sap/ui/model/ClientPropertyBinding.js":function(){sap.ui.define(['jquery.sap.global','./PropertyBinding'],function(q,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;},true);},"sap/ui/model/ClientTreeBinding.js":function(){sap.ui.define(['jquery.sap.global','./TreeBinding'],function(q,T){"use strict";var C=T.extend("sap.ui.model.ClientTreeBinding",{constructor:function(m,p,c,f,P){T.apply(this,arguments);if(!this.oContext){this.oContext="";}this.filterInfo={};this.filterInfo.aFilteredContexts=[];this.filterInfo.oParentContext={};if(this.aFilters){if(this.oModel._getObject(this.sPath,this.oContext)){this.filter(f);}}}});C.prototype.getRootContexts=function(s,l){if(!s){s=0;}if(!l){l=this.oModel.iSizeLimit;}var c=[];if(!this.oModel.isList(this.sPath)){var o=this.oModel.getContext(this.sPath);if(this.bDisplayRootNode){c=[o];}else{c=this.getNodeContexts(o);}}else{var t=this;q.each(this.oModel._getObject(this.sPath),function(i,O){t._saveSubContext(O,c,t.sPath+(q.sap.endsWith(t.sPath,"/")?"":"/"),i);});}return c.slice(s,s+l);};C.prototype.getNodeContexts=function(c,s,l){if(!s){s=0;}if(!l){l=this.oModel.iSizeLimit;}var a=c.getPath();if(!q.sap.endsWith(a,"/")){a=a+"/";}if(!q.sap.startsWith(a,"/")){a="/"+a;}var b=[],t=this,n=this.oModel._getObject(a),A=this.mParameters&&this.mParameters.arrayNames,d;if(A&&q.isArray(A)){q.each(A,function(i,e){d=n[e];if(d){q.each(d,function(S,o){t._saveSubContext(o,b,a,e+"/"+S);});}});}else{if(n){q.sap.each(n,function(N,o){if(q.isArray(o)){q.each(o,function(S,e){t._saveSubContext(e,b,a,N+"/"+S);});}else if(typeof o=="object"){t._saveSubContext(o,b,a,N);}});}}return b.slice(s,s+l);};C.prototype.hasChildren=function(c){return c?this.getNodeContexts(c).length>0:false;};C.prototype._saveSubContext=function(n,c,s,N){if(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);}}};C.prototype.filter=function(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 sap.ui.model.Context(this.oModel,this.sPath);this.filterRecursive(c);}this._fireChange({reason:"filter"});this._fireFilter({filters:f});};C.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);}};C.prototype.applyFilter=function(p){if(!this.aFilters){return;}var t=this,f={},F,a=[],g=false,b=true;this.bIsFiltering=true;var u=this.getNodeContexts(p);this.bIsFiltering=false;q.each(t.aFilters,function(j,o){if(o.sPath){F=f[o.sPath];if(!F){F=f[o.sPath]=[];}}else{F=f["__multiFilter"];if(!F){F=f["__multiFilter"]=[];}}F.push(o);});q.each(u,function(i,U){b=true;q.each(f,function(P,F){if(P!=="__multiFilter"){var v=t.oModel._getObject(P,U);if(typeof v=="string"){v=v.toUpperCase();}g=false;q.each(F,function(j,o){var c=t.getFilterFunction(o);if(v!=undefined&&c(v)){g=true;return false;}});}else{g=false;q.each(F,function(j,o){g=t._resolveMultiFilter(o,U);if(g){return false;}});}if(!g){b=false;return false;}});if(b){a.push(U);}});if(a.length>0){q.merge(this.filterInfo.aFilteredContexts,a);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;}};C.prototype._resolveMultiFilter=function(m,u){var t=this,M=false,f=m.aFilters;if(f){q.each(f,function(i,F){var l=false;if(F._bMultiFilter){l=t._resolveMultiFilter(F,u);}else if(F.sPath){var v=t.oModel.getProperty(F.sPath,u);if(typeof v=="string"){v=v.toUpperCase();}var a=t.getFilterFunction(F);if(v!=undefined&&a(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;};C.prototype.getFilterFunction=function(f){if(f.fnTest){return f.fnTest;}var v=f.oValue1,V=f.oValue2;if(typeof v=="string"){v=v.toUpperCase();}if(typeof V=="string"){V=V.toUpperCase();}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 av;};break;case"GE":f.fnTest=function(a){return a>=v;};break;case"BT":f.fnTest=function(a){return(a>v)&&(a1){V=v.join(" ");}else{V=v[0];}}return V;};a.prototype.getBindings=function(){return this.aBindings;};a.prototype.attachChange=function(f,l){this.attachEvent("change",f,l);if(this.aBindings){var t=this;q.each(this.aBindings,function(i,b){b.attachChange(t.checkUpdate,t);});}};a.prototype.detachChange=function(f,l){this.detachEvent("change",f,l);if(this.aBindings){var t=this;q.each(this.aBindings,function(i,b){b.detachChange(t.checkUpdate,t);});}};a.prototype.updateRequired=function(m){var u=false;q.each(this.aBindings,function(i,b){u=u||b.updateRequired(m);});return u;};a.prototype.checkUpdate=function(f){var v=this.getValue();if(!q.sap.equal(v,this.aValues)||f){this.aValues=v;this._fireChange({reason:sap.ui.model.ChangeReason.Change});}};return a;},true);},"sap/ui/model/CompositeType.js":function(){sap.ui.define(['jquery.sap.global','./FormatException','./ParseException','./SimpleType','./ValidateException'],function(q,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;},true);},"sap/ui/model/Context.js":function(){sap.ui.define(['jquery.sap.global','sap/ui/base/EventProvider'],function(q,E){"use strict";var C=sap.ui.base.Object.extend("sap.ui.model.Context",{constructor:function(m,p){sap.ui.base.Object.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;},true);},"sap/ui/model/ContextBinding.js":function(){sap.ui.define(['jquery.sap.global','./Binding'],function(q,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;},true);},"sap/ui/model/Filter.js":function(){sap.ui.define(['jquery.sap.global','./FilterOperator','sap/ui/core/util/UnicodeNormalizer'],function(q,F,U){"use strict";var a=sap.ui.base.Object.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;}this.oValue1=this._normalizeValue(this.oValue1);this.oValue2=this._normalizeValue(this.oValue2);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.");}}});a.prototype._normalizeValue=function(v){if(typeof v==="string"&&String.prototype.normalize!=undefined){v=v.normalize();}return v;};return a;},true);},"sap/ui/model/FilterOperator.js":function(){sap.ui.define(['jquery.sap.global'],function(q){"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/model/FilterProcessor.js":function(){sap.ui.define(['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"){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 av;};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(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(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(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/model/FilterType.js":function(){sap.ui.define(['jquery.sap.global'],function(q){"use strict";var F={Application:"Application",Control:"Control"};return F;},true);},"sap/ui/model/FormatException.js":function(){sap.ui.define(['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/model/ListBinding.js":function(){sap.ui.define(['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","sort","attachSort","detachSort","filter","attachFilter","detachFilter","getDistinctValues","isGrouped","getLength","isLengthFinal"]}});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.length>0&&!!this.aSorters[0].fnGroup;};L.prototype.enableExtendedChangeDetection=function(){this.bUseExtendedChangeDetection=true;if(this.update){this.update();}};return L;},true);},"sap/ui/model/Model.js":function(){sap.ui.define(['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(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");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;}}});return S;},true);},"sap/ui/model/SorterProcessor.js":function(){sap.ui.define(['jquery.sap.global'],function(q){"use strict";var S={};S.apply=function(d,s,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(ab){return 1;}return 0;}for(var j=0;j