1function Animator(b){this.setOptions(b);var a=this;this.timerDelegate=function(){a.onTimerEvent()};this.subjects=[];this.subjectScopes=[];this.target=0;this.state=0;this.lastTime=null}Animator.prototype={setOptions:function(a){this.options=Animator.applyDefaults({interval:20,duration:400,onComplete:function(){},onStep:function(){},transition:Animator.tx.easeInOut},a)},seekTo:function(a){this.seekFromTo(this.state,a)},seekFromTo:function(a,b){this.target=Math.max(0,Math.min(1,b));this.state=Math.max(0,Math.min(1,a));this.lastTime=new Date().getTime();if(!this.intervalId){this.intervalId=window.setInterval(this.timerDelegate,this.options.interval)}},jumpTo:function(a){this.target=this.state=Math.max(0,Math.min(1,a));this.propagate()},toggle:function(){this.seekTo(1-this.target)},addSubject:function(b,a){this.subjects[this.subjects.length]=b;this.subjectScopes[this.subjectScopes.length]=a;return this},clearSubjects:function(){this.subjects=[];this.subjectScopes=[]},propagate:function(){var b=this.options.transition(this.state);for(var a=0;a<this.subjects.length;a++){if(this.subjects[a].setState){this.subjects[a].setState(b)}else{this.subjects[a].apply(this.subjectScopes[a],[b])}}},onTimerEvent:function(){var c=new Date().getTime();var a=c-this.lastTime;this.lastTime=c;var b=(a/this.options.duration)*(this.state<this.target?1:-1);if(Math.abs(b)>=Math.abs(this.state-this.target)){this.state=this.target}else{this.state+=b}try{this.propagate()}finally{this.options.onStep.call(this);if(this.target==this.state){window.clearInterval(this.intervalId);this.intervalId=null;this.options.onComplete.call(this)}}},play:function(){this.seekFromTo(0,1)},reverse:function(){this.seekFromTo(1,0)},inspect:function(){var a="#<Animator:\n";for(var b=0;b<this.subjects.length;b++){a+=this.subjects[b].inspect()}a+=">";return a}};Animator.applyDefaults=function(b,c){c=c||{};var a,d={};for(a in b){d[a]=c[a]!==undefined?c[a]:b[a]}return d};Animator.makeArray=function(a){if(a==null){return[]}if(!a.length){return[a]}var b=[];for(var c=0;c<a.length;c++){b[c]=a[c]}return b};Animator.camelize=function(c){var b=c.split("-");if(b.length==1){return b[0]}var e=c.indexOf("-")==0?b[0].charAt(0).toUpperCase()+b[0].substring(1):b[0];for(var a=1,d=b.length;a<d;a++){var f=b[a];e+=f.charAt(0).toUpperCase()+f.substring(1)}return e};Animator.apply=function(b,a,c){if(a instanceof Array){return new Animator(c).addSubject(new CSSStyleSubject(b,a[0],a[1]))}return new Animator(c).addSubject(new CSSStyleSubject(b,a))};Animator.makeEaseIn=function(b){return function(a){return Math.pow(a,b*2)}};Animator.makeEaseOut=function(b){return function(a){return 1-Math.pow(1-a,b*2)}};Animator.makeElastic=function(a){return function(b){b=Animator.tx.easeInOut(b);return((1-Math.cos(b*Math.PI*a))*(1-b))+b}};Animator.makeADSR=function(d,a,c,b){if(b==null){b=0.5}return function(e){if(e<d){return e/d}if(e<a){return 1-((e-d)/(a-d)*(1-b))}if(e<c){return b}return b*(1-((e-c)/(1-c)))}};Animator.makeBounce=function(b){var a=Animator.makeElastic(b);return function(c){c=a(c);return c<=1?c:2-c}};Animator.tx={easeInOut:function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},linear:function(a){return a},easeIn:Animator.makeEaseIn(1.5),easeOut:Animator.makeEaseOut(1.5),strongEaseIn:Animator.makeEaseIn(2.5),strongEaseOut:Animator.makeEaseOut(2.5),elastic:Animator.makeElastic(1),veryElastic:Animator.makeElastic(3),bouncy:Animator.makeBounce(1),veryBouncy:Animator.makeBounce(3)};function NumericalStyleSubject(d,b,a,e,c){this.els=Animator.makeArray(d);if(b=="opacity"&&window.ActiveXObject){this.property="filter"}else{this.property=Animator.camelize(b)}this.from=parseFloat(a);this.to=parseFloat(e);this.units=c!=null?c:"px"}NumericalStyleSubject.prototype={setState:function(d){var f=this.getStyle(d);var c=(this.property=="opacity"&&d==0)?"hidden":"";var b=0;for(var a=0;a<this.els.length;a++){try{this.els[a].style[this.property]=f}catch(g){if(this.property!="fontWeight"){throw g}}if(b++>20){return}}},getStyle:function(a){a=this.from+((this.to-this.from)*a);if(this.property=="filter"){return"alpha(opacity="+Math.round(a*100)+")"}if(this.property=="opacity"){return a}return Math.round(a)+this.units},inspect:function(){return"\t"+this.property+"("+this.from+this.units+" to "+this.to+this.units+")\n"}};function ColorStyleSubject(c,b,a,d){this.els=Animator.makeArray(c);this.property=Animator.camelize(b);this.to=this.expandColor(d);this.from=this.expandColor(a);
1this.origFrom=a;this.origTo=d}ColorStyleSubject.prototype={expandColor:function(a){var b,e,d,c;b=ColorStyleSubject.parseColor(a);if(b){e=parseInt(b.slice(1,3),16);d=parseInt(b.slice(3,5),16);c=parseInt(b.slice(5,7),16);return[e,d,c]}if(window.DEBUG){alert("Invalid colour: '"+a+"'")}},getValueForState:function(a,b){return Math.round(this.from[a]+((this.to[a]-this.from[a])*b))},setState:function(c){var a="#"+ColorStyleSubject.toColorPart(this.getValueForState(0,c))+ColorStyleSubject.toColorPart(this.getValueForState(1,c))+ColorStyleSubject.toColorPart(this.getValueForState(2,c));for(var b=0;b<this.els.length;b++){this.els[b].style[this.property]=a}},inspect:function(){return"\t"+this.property+"("+this.origFrom+" to "+this.origTo+")\n"}};ColorStyleSubject.parseColor=function(d){var a="#",e;if(e=ColorStyleSubject.parseColor.rgbRe.exec(d)){var c;for(var b=1;b<=3;b++){c=Math.max(0,Math.min(255,parseInt(e[b])));a+=ColorStyleSubject.toColorPart(c)}return a}if(e=ColorStyleSubject.parseColor.hexRe.exec(d)){if(e[1].length==3){for(var b=0;b<3;b++){a+=e[1].charAt(b)+e[1].charAt(b)}return a}return"#"+e[1]}return false};ColorStyleSubject.toColorPart=function(a){if(a>255){a=255}var b=a.toString(16);if(a<16){return"0"+b}return b};ColorStyleSubject.parseColor.rgbRe=/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i;ColorStyleSubject.parseColor.hexRe=/^\#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;function DiscreteStyleSubject(c,b,a,e,d){this.els=Animator.makeArray(c);this.property=Animator.camelize(b);this.from=a;this.to=e;this.threshold=d||0.5}DiscreteStyleSubject.prototype={setState:function(c){var b=0;for(var a=0;a<this.els.length;a++){this.els[a].style[this.property]=c<=this.threshold?this.from:this.to}},inspect:function(){return"\t"+this.property+"("+this.from+" to "+this.to+" @ "+this.threshold+")\n"}};function CSSStyleSubject(b,c,h){b=Animator.makeArray(b);this.subjects=[];if(b.length==0){return}var l,g,n;if(h){n=this.parseStyle(c,b[0]);g=this.parseStyle(h,b[0])}else{g=this.parseStyle(c,b[0]);n={};for(l in g){n[l]=CSSStyleSubject.getStyle(b[0],l)}}var l;for(l in n){if(n[l]==g[l]){delete n[l];delete g[l]}}var l,a,k,o,m,e;for(l in n){var f=String(n[l]);var d=String(g[l]);if(g[l]==null){if(window.DEBUG){alert("No to style provided for '"+l+'"')}continue}if(m=ColorStyleSubject.parseColor(f)){e=ColorStyleSubject.parseColor(d);o=ColorStyleSubject}else{if(f.match(CSSStyleSubject.numericalRe)&&d.match(CSSStyleSubject.numericalRe)){m=parseFloat(f);e=parseFloat(d);o=NumericalStyleSubject;k=CSSStyleSubject.numericalRe.exec(f);var i=CSSStyleSubject.numericalRe.exec(d);if(k[1]!=null){a=k[1]}else{if(i[1]!=null){a=i[1]}else{a=i}}}else{if(f.match(CSSStyleSubject.discreteRe)&&d.match(CSSStyleSubject.discreteRe)){m=f;e=d;o=DiscreteStyleSubject;a=0}else{if(window.DEBUG){alert("Unrecognised format for value of "+l+": '"+n[l]+"'")}continue}}}this.subjects[this.subjects.length]=new o(b,l,m,e,a)}}CSSStyleSubject.prototype={parseStyle:function(f,h){var c={};if(f.indexOf(":")!=-1){var b=f.split(";");for(var k=0;k<b.length;k++){var g=CSSStyleSubject.ruleRe.exec(b[k]);if(g){c[g[1]]=g[2]}}}else{var d,a,e;e=h.className;h.className=f;for(var k=0;k<CSSStyleSubject.cssProperties.length;k++){d=CSSStyleSubject.cssProperties[k];a=CSSStyleSubject.getStyle(h,d);if(a!=null){c[d]=a}}h.className=e}return c},setState:function(a){for(var b=0;b<this.subjects.length;b++){this.subjects[b].setState(a)}},inspect:function(){var a="";for(var b=0;b<this.subjects.length;b++){a+=this.subjects[b].inspect()}return a}};CSSStyleSubject.getStyle=function(c,b){var a;if(document.defaultView&&document.defaultView.getComputedStyle){a=document.defaultView.getComputedStyle(c,"").getPropertyValue(b);if(a){return a}}b=Animator.camelize(b);if(c.currentStyle){a=c.currentStyle[b]}return a||c.style[b]};CSSStyleSubject.ruleRe=/^\s*([a-zA-Z\-]+)\s*:\s*(\S(.+\S)?)\s*$/;CSSStyleSubject.numericalRe=/^-?\d+(?:\.\d+)?(%|[a-zA-Z]{2})?$/;CSSStyleSubject.discreteRe=/^\w+$/;CSSStyleSubject.cssProperties=["azimuth","background","background-attachment","background-color","background-image","background-position","background-repeat","border-collapse","border-color","border-spacing","border-style","border-top","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","bottom","clear","clip","color","content","cursor","direction","display","elevation","empty-cells","css-float","font","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","height","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-top","margin-right","margin-bottom","margin-left","max-height","max-width","min-height","min-width","orphans","outline","outline-color","outline-style","outline-width","overflow","padding","padding-top","padding-right","padding-bottom","padding-left","pause","position","right","size","table-layout","text-align","text-decoration","text-indent","text-shadow","text-transform","top","vertical-align","visibility","white-space","width","word-spacing","z-index","opacity","outline-offset","overflow-x","overflow-y"];function AnimatorChain(a,c){this.animators=a;this.setOptions(c);for(var b=0;b<this.animators.length;b++){this.listenTo(this.animators[b])}this.forwards=false;this.current=0}AnimatorChain.prototype={setOptions:function(a){this.options=Animator.applyDefaults({resetOnPlay:true},a)},play:function(){this.forwards=true;this.current=-1;if(this.options.resetOnPlay){for(var a=0;a<this.animators.length;a++){this.animators[a].jumpTo(0)}}this.advance()},reverse:function(){this.forwards=false;this.current=this.animators.length;if(this.options.resetOnPlay){for(var a=0;a<this.animators.length;a++){this.animators[a].jumpTo(1)}}this.advance()},toggle:function(){if(this.forwards){this.seekTo(0)}else{this.seekTo(1)}},listenTo:function(b){var c=b.options.onComplete;var a=this;b.options.onComplete=function(){if(c){c.call(b)}a.advance()}},advance:function(){if(this.forwards){if(this.animators[this.current+1]==null){return}this.current++;this.animators[this.current].play()}else{if(this.animators[this.current-1]==null){return}this.current--;this.animators[this.current].reverse()}}
1,seekTo:function(a){if(a<=0){this.forwards=false;this.animators[this.current].seekTo(0)}else{this.forwards=true;this.animators[this.current].seekTo(1)}}};function Accordion(b){this.setOptions(b);var e=this.options.initialSection,l;if(this.options.rememberance){l=document.location.hash.substring(1)}this.rememberanceTexts=[];this.ans=[];var h=this;for(var a=0;a<this.options.sections.length;a++){var g=this.options.sections[a];var f=new Animator(this.options.animatorOptions);var k=this.options.from+(this.options.shift*a);var c=this.options.to+(this.options.shift*a);f.addSubject(new NumericalStyleSubject(g,this.options.property,k,c,this.options.units));f.jumpTo(0);var d=this.options.getActivator(g);d.index=a;d.onclick=function(){h.show(this.index)};this.ans[this.ans.length]=f;this.rememberanceTexts[a]=d.innerHTML.replace(/\s/g,"");if(this.rememberanceTexts[a]===l){e=a}}this.show(e)}Accordion.prototype={setOptions:function(a){this.options=Object.extend({sections:null,getActivator:function(b){return document.getElementById(b.getAttribute("activator"))},shift:0,initialSection:0,rememberance:true,animatorOptions:{}},a||{})},show:function(a){for(var b=0;b<this.ans.length;b++){this.ans[b].seekTo(b>a?1:0)}if(this.options.rememberance){document.location.hash=this.rememberanceTexts[a]}}};(function(a){a.fn.shorten=function(c){var b={showChars:100,minHideChars:10,ellipsesText:"...",moreText:"more",lessText:"less",onLess:function(){},onMore:function(){},errMsg:null,force:false};if(c){a.extend(b,c)}if(a(this).data("jquery.shorten")&&!b.force){return false}a(this).data("jquery.shorten",true);a(document).off("click",".morelink");a(document).on({click:function(){var d=a(this);if(d.hasClass("less")){d.removeClass("less");d.html(b.moreText);d.parent().prev().animate({height:"0%"},function(){d.parent().prev().prev().show()}).hide("fast",function(){b.onLess()})}else{d.addClass("less");d.html(b.lessText);d.parent().prev().animate({height:"100%"},function(){d.parent().prev().prev().hide()}).show("fast",function(){b.onMore()})}return false}},".morelink");return this.each(function(){var p=a(this);var d=p.html();var q=p.text().length;if(q>b.showChars+b.minHideChars){var m=d.substr(0,b.showChars);if(m.indexOf("<")>=0){var n=false;var f="";var o=0;var l=[];var e=null;for(var h=0,k=0;k<=b.showChars;h++){if(d[h]=="<"&&!n){n=true;e=d.substring(h+1,d.indexOf(">",h));if(e[0]=="/"){if(e!="/"+l[0]){b.errMsg="ERROR en HTML: the top of the stack should be the tag that closes"}else{l.shift()}}else{if(e.toLowerCase()!="br"){l.unshift(e)}}}if(n&&d[h]==">"){n=false}if(n){f+=d.charAt(h)}else{k++;if(o<=b.showChars){f+=d.charAt(h);o++}else{if(l.length>0){for(j=0;j<l.length;j++){f+="</"+l[j]+">"}break}}}}m=a("<div/>").html(f+'<span class="ellip">'+b.ellipsesText+"</span>").html()}else{m+=b.ellipsesText}var g='<div class="shortcontent">'+m+'</div><div class="allcontent">'+d+'</div><span><a href="javascript://nop/" class="morelink">'+b.moreText+"</a></span>";p.html(g);p.find(".allcontent").hide();a(".shortcontent p:last",p).css("margin-bottom",0)}})}})(jQuery);(function(m,o,s,w){var q="autoHidingNavbar",f=m(o),p=m(s),c=null,i=null,v=70,u=0,a=null,n=f.height(),r=true,t,h={disableAutohide:false,showOnUpscroll:true,showOnBottom:true,hideOffset:"auto",animationDuration:200};function d(y,z){this.element=m(y);this.settings=m.extend({},h,z);this._defaults=h;this._name=q;this.init()}function k(y){if(!r){return}y.element.addClass("navbar-hidden").animate({top:-y.element.height()},{queue:false,duration:y.settings.animationDuration});m(".dropdown.open .dropdown-toggle",y.element).dropdown("toggle");r=false}function l(y){if(r){return}y.element.removeClass("navbar-hidden").animate({top:0},{queue:false,duration:y.settings.animationDuration});r=true}function x(y){var A=f.scrollTop(),z=A-a;a=A;if(z<0){if(r){return}if(y.settings.showOnUpscroll||A<=t){l(y)}}else{if(z>0){if(!r){if(y.settings.showOnBottom&&A+n===p.height()){l(y)}return}if(A>=t){k(y)}}}}function e(y){if(y.settings.disableAutohide){return}u=new Date().getTime();x(y)}function b(y){p.on("scroll."+q,function(){if(new Date().getTime()-u>v){e(y)}else{clearTimeout(c);c=setTimeout(function(){e(y)},v)}});f.on("resize."+q,function(){clearTimeout(i);i=setTimeout(function(){n=f.height()},v)})}function g(){p.off("."+q);f.off("."+q)}d.prototype={init:function(){this.elements={navbar:this.element};this.setDisableAutohide(this.settings.disableAutohide);this.setShowOnUpscroll(this.settings.showOnUpscroll);this.setShowOnBottom(this.settings.showOnBottom);this.setHideOffset(this.settings.hideOffset);this.setAnimationDuration(this.settings.animationDuration);t=this.settings.hideOffset==="auto"?this.element.height():this.settings.hideOffset;b(this);return this.element},setDisableAutohide:function(y){this.settings.disableAutohide=y;return this.element},setShowOnUpscroll:function(y){this.settings.showOnUpscroll=y;return this.element},setShowOnBottom:function(y){this.settings.showOnBottom=y;return this.element},setHideOffset:function(y){this.settings.hideOffset=y;return this.element},setAnimationDuration:function(y){this.settings.animationDuration=y;return this.element},show:function(){l(this);return this.element},hide:function(){k(this);return this.element},destroy:function(){g(this);l(this);m.data(this,"plugin_"+q,null);return this.element}};m.fn[q]=function(A){var z=arguments;if(A===w||typeof A==="object"){return this.each(function(){if(!m.data(this,"plugin_"+q)){m.data(this,"plugin_"+q,new d(this,A))}})}else{if(typeof A==="string"&&A[0]!=="_"&&A!=="init"){var y;this.each(function(){var B=m.data(this,"plugin_"+q);if(B instanceof d&&typeof B[A]==="function"){y=B[A].apply(B,Array.prototype.slice.call(z,1)
1)}});return y!==w?y:this}}}})(jQuery,window,document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.