From f1bc4fabbedd605e16014147de3953b74f327543 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sun, 7 Aug 2011 19:05:58 +0100 Subject: update dependencies.js to jquery 1.6.2 --- docs/examples/assets/js/dependencies.js | 606 ++++++++++++++++---------------- 1 file changed, 303 insertions(+), 303 deletions(-) diff --git a/docs/examples/assets/js/dependencies.js b/docs/examples/assets/js/dependencies.js index 40de604..893ef2e 100644 --- a/docs/examples/assets/js/dependencies.js +++ b/docs/examples/assets/js/dependencies.js @@ -1,5 +1,5 @@ -// Compiled with closure-compiler on 2011-06-26 20:27:11.373542 -// @code_url http://code.jquery.com/jquery-1.6.1.js +// Compiled with closure-compiler on 2011-08-07 18:29:31.168108 +// @code_url http://code.jquery.com/jquery-1.6.2.js // @code_url http://flot.googlecode.com/svn/trunk/excanvas.js // @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.js // @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.stack.js @@ -12,314 +12,314 @@ // @output_format text // @output_info compiled_code // Input 0 -(function(d,g){function F(a,c,h){if(h===g&&a.nodeType===1)if(h="data-"+c.replace(oa,"$1-$2").toLowerCase(),h=a.getAttribute(h),typeof h==="string"){try{h=h==="true"?!0:h==="false"?!1:h==="null"?null:!b.isNaN(h)?parseFloat(h):D.test(h)?b.parseJSON(h):h}catch(k){}b.data(a,c,h)}else h=g;return h}function p(a){for(var c in a)if(c!=="toJSON")return!1;return!0}function C(a,c,h){var k=c+"defer",s=c+"queue",H=c+"mark",f=b.data(a,k,g,!0);f&&(h==="queue"||!b.data(a,s,g,!0))&&(h==="mark"||!b.data(a,H,g,!0))&& -setTimeout(function(){!b.data(a,s,g,!0)&&!b.data(a,H,g,!0)&&(b.removeData(a,k,!0),f.resolve())},0)}function B(){return!1}function r(){return!0}function A(a,c,h){var k=b.extend({},h[0]);k.type=a;k.originalEvent={};k.liveFired=g;b.event.handle.call(c,k);k.isDefaultPrevented()&&h[0].preventDefault()}function N(a){var c,h,k,s,H,f,e,j,o,d,v,u=[];s=[];H=b._data(this,"events");if(!(a.liveFired===this||!H||!H.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(v=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+ -"(\\.|$)"));a.liveFired=this;var l=H.live.slice(0);for(e=0;eh)break;a.currentTarget=s.elem;a.data=s.handleObj.data;a.handleObj=s.handleObj;v=s.handleObj.origHandler.apply(s.elem,arguments);if(v===!1||a.isPropagationStopped())if(h=s.level,v===!1&&(c=!1),a.isImmediatePropagationStopped())break}return c}}function K(a,c){return(a&&a!=="*"?a+".":"")+c.replace(pa,"`").replace(w,"&")}function I(a,c,h){c=c||0;if(b.isFunction(c))return b.grep(a,function(a,b){return!!c.call(a,b,a)===h});else if(c.nodeType)return b.grep(a, -function(a){return a===c===h});else if(typeof c==="string"){var k=b.grep(a,function(a){return a.nodeType===1});if(Ea.test(c))return b.filter(c,k,!h);else c=b.filter(c,k)}return b.grep(a,function(a){return b.inArray(a,c)>=0===h})}function G(a,c){if(c.nodeType===1&&b.hasData(a)){var h=b.expando,k=b.data(a),s=b.data(c,k);if(k=k[h]){var H=k.events,s=s[h]=b.extend({},k);if(H){delete s.handle;s.events={};for(var f in H){h=0;for(k=H[f].length;h").appendTo("body"),h=c.css("display");c.remove();if(h==="none"||h===""){if(!Ba)Ba=y.createElement("iframe"),Ba.frameBorder=Ba.width=Ba.height=0;y.body.appendChild(Ba);if(!Pa||!Ba.createElement)Pa=(Ba.contentWindow|| -Ba.contentDocument).document,Pa.write("");c=Pa.createElement(a);Pa.body.appendChild(c);h=b.css(c,"display");y.body.removeChild(Ba)}Va[a]=h}return Va[a]}function va(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var y=d.document,T=d.navigator,Z=d.location,b=function(){function a(){if(!c.isReady){try{y.documentElement.doScroll("left")}catch(b){setTimeout(a,1);return}c.ready()}}var c=function(a,b){return new c.fn.init(a,b,s)},b=d.jQuery, -k=d.$,s,f=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,e=/\S/,j=/^\s+/,o=/\s+$/,v=/\d/,u=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,l=/^[\],:{}\s]*$/,M=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,P=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,W=/(?:^|:|,)(?:\s*\[)+/g,z=/(webkit)[ \/]([\w.]+)/,ma=/(opera)(?:.*version)?[ \/]([\w.]+)/,J=/(msie) ([\w.]+)/,Ca=/(mozilla)(?:.*? rv:([\w.]+))?/,Y=T.userAgent,Ra,Ia,ob=Object.prototype.toString,Wa=Object.prototype.hasOwnProperty,Xa=Array.prototype.push,$=Array.prototype.slice, -w=String.prototype.trim,n=Array.prototype.indexOf,za={};c.fn=c.prototype={constructor:c,init:function(a,b,h){var k;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!b&&y.body)return this.context=y,this[0]=y.body,this.selector=a,this.length=1,this;if(typeof a==="string")if((k=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:f.exec(a))&&(k[1]||!b))if(k[1])return h=(b=b instanceof c?b[0]:b)?b.ownerDocument||b:y,(a=u.exec(a))?c.isPlainObject(b)? -(a=[y.createElement(a[1])],c.fn.attr.call(a,b,!0)):a=[h.createElement(a[1])]:(a=c.buildFragment([k[1]],[h]),a=(a.cacheable?c.clone(a.fragment):a.fragment).childNodes),c.merge(this,a);else{if((b=y.getElementById(k[2]))&&b.parentNode){if(b.id!==k[2])return h.find(a);this.length=1;this[0]=b}this.context=y;this.selector=a;return this}else return!b||b.jquery?(b||h).find(a):this.constructor(b).find(a);else if(c.isFunction(a))return h.ready(a);if(a.selector!==g)this.selector=a.selector,this.context=a.context; -return c.makeArray(a,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return $.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,h){var k=this.constructor();c.isArray(a)?Xa.apply(k,a):c.merge(k,a);k.prevObject=this;k.context=this.context;if(b==="find")k.selector=this.selector+(this.selector?" ":"")+h;else if(b)k.selector=this.selector+"."+b+"("+h+")";return k},each:function(a,b){return c.each(this, -a,b)},ready:function(a){c.bindReady();Ra.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack($.apply(this,arguments),"slice",$.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(c,b){return a.call(c,b,c)}))},end:function(){return this.prevObject||this.constructor(null)},push:Xa,sort:[].sort,splice:[].splice};c.fn.init.prototype= -c.fn;c.extend=c.fn.extend=function(){var a,b,h,k,s,f=arguments[0]||{},H=1,Y=arguments.length,e=!1;typeof f==="boolean"&&(e=f,f=arguments[1]||{},H=2);typeof f!=="object"&&!c.isFunction(f)&&(f={});Y===H&&(f=this,--H);for(;H0||(Ra.resolveWith(y,[c]),c.fn.trigger&&c(y).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Ra){Ra=c._Deferred();if(y.readyState==="complete")return setTimeout(c.ready,1);if(y.addEventListener)y.addEventListener("DOMContentLoaded",Ia,!1),d.addEventListener("load", -c.ready,!1);else if(y.attachEvent){y.attachEvent("onreadystatechange",Ia);d.attachEvent("onload",c.ready);var b=!1;try{b=d.frameElement==null}catch(h){}y.documentElement.doScroll&&b&&a()}}},isFunction:function(a){return c.type(a)==="function"},isArray:Array.isArray||function(a){return c.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!v.test(a)||isNaN(a)},type:function(a){return a==null?String(a):za[ob.call(a)]||"object"}, -isPlainObject:function(a){if(!a||c.type(a)!=="object"||a.nodeType||c.isWindow(a))return!1;if(a.constructor&&!Wa.call(a,"constructor")&&!Wa.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var b in a);return b===g||Wa.call(a,b)},isEmptyObject:function(a){for(var c in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(d.JSON&&d.JSON.parse)return d.JSON.parse(a);if(l.test(a.replace(M,"@").replace(P,"]").replace(W,"")))return(new Function("return "+ -a))();c.error("Invalid JSON: "+a)},parseXML:function(a,b,h){d.DOMParser?(h=new DOMParser,b=h.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a));h=b.documentElement;(!h||!h.nodeName||h.nodeName==="parsererror")&&c.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&e.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a, -b,h){var k,s=0,f=a.length,H=f===g||c.isFunction(a);if(h)if(H)for(k in a){if(b.apply(a[k],h)===!1)break}else for(;s0&&a[0]&&a[Y-1]||Y===0||c.isArray(a)))for(;H1?ba.call(arguments,0):c;--f||e.resolveWith(e,ba.call(h,0))}}var h=arguments,k=0,s=h.length,f=s,e=s<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(s>1){for(;k",e.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="
t
"; -s=a.getElementsByTagName("td");b=s[0].offsetHeight===0;s[0].style.display="";s[1].style.display="none";e.reliableHiddenOffsets=b&&s[0].offsetHeight===0;a.innerHTML="";if(y.defaultView&&y.defaultView.getComputedStyle)b=y.createElement("div"),b.style.width="0",b.style.marginRight="0",a.appendChild(b),e.reliableMarginRight=(parseInt((y.defaultView.getComputedStyle(b,null)||{marginRight:0}).marginRight,10)||0)===0;k.innerHTML="";c.removeChild(k);if(a.attachEvent)for(j in{submit:1,change:1,focusin:1})c= -"on"+j,b=c in a,b||(a.setAttribute(c,"return;"),b=typeof a[c]==="function"),e[j+"Bubbles"]=b;return e}();b.boxModel=b.support.boxModel;var D=/^(?:\{.*\}|\[.*\])$/,oa=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?b.cache[a[b.expando]]:a[b.expando];return!!a&&!p(a)},data:function(a,c,h,k){if(b.acceptData(a)){var s=b.expando,f=typeof c=== -"string",e=a.nodeType,j=e?b.cache:a,o=e?a[b.expando]:a[b.expando]&&b.expando;if(o&&(!k||!o||j[o][s])||!(f&&h===g)){if(!o)e?a[b.expando]=o=++b.uuid:o=b.expando;if(!j[o]&&(j[o]={},!e))j[o].toJSON=b.noop;if(typeof c==="object"||typeof c==="function")k?j[o][s]=b.extend(j[o][s],c):j[o]=b.extend(j[o],c);a=j[o];k&&(a[s]||(a[s]={}),a=a[s]);h!==g&&(a[b.camelCase(c)]=h);if(c==="events"&&!a[c])return a[s]&&a[s].events;return f?a[b.camelCase(c)]:a}}},removeData:function(a,c,h){if(b.acceptData(a)){var k=b.expando, -s=a.nodeType,f=s?b.cache:a,e=s?a[b.expando]:b.expando;if(f[e]){if(c){var j=h?f[e][k]:f[e];if(j&&(delete j[c],!p(j)))return}if(h&&(delete f[e][k],!p(f[e])))return;c=f[e][k];b.support.deleteExpando||f!=d?delete f[e]:f[e]=null;if(c){f[e]={};if(!s)f[e].toJSON=b.noop;f[e][k]=c}else s&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,c,h){return b.data(a,c,h,!0)},acceptData:function(a){if(a.nodeName){var c=b.noData[a.nodeName.toLowerCase()]; -if(c)return!(c===!0||a.getAttribute("classid")!==c)}return!0}});b.fn.extend({data:function(a,c){var h=null;if(typeof a==="undefined"){if(this.length&&(h=b.data(this[0]),this[0].nodeType===1))for(var k=this[0].attributes,s,f=0,e=k.length;f-1)return!0;return!1},val:function(a){var c,h,k=this[0];if(!arguments.length){if(k){if((c=b.valHooks[k.nodeName.toLowerCase()]||b.valHooks[k.type])&&"get"in c&&(h=c.get(k,"value"))!==g)return h;return(k.value||"").replace(ra,"")}return g}var s= -b.isFunction(a);return this.each(function(h){var k=b(this);if(this.nodeType===1&&(h=s?a.call(this,h,k.val()):a,h==null?h="":typeof h==="number"?h+="":b.isArray(h)&&(h=b.map(h,function(a){return a==null?"":a+""})),c=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type],!c||!("set"in c)||c.set(this,h,"value")===g))this.value=h})}});b.extend({valHooks:{option:{get:function(a){var c=a.attributes.value;return!c||c.specified?a.value:a.text}},select:{get:function(a){var c,h=a.selectedIndex,k=[], -s=a.options,a=a.type==="select-one";if(h<0)return null;for(var f=a?h:0,e=a?h+1:s.length;f=0});if(!h.length)a.selectedIndex=-1;return h}}}, -attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,h,k){var s=a.nodeType;if(!a||s===3||s===8||s===2)return g;if(k&&c in b.attrFn)return b(a)[c](h);if(!("getAttribute"in a))return b.prop(a,c,h);var f,c=(s=s!==1||!b.isXMLDoc(a))&&b.attrFix[c]||c,k=b.attrHooks[c];if(!k)if(u.test(c)&&(typeof h==="boolean"||h===g||h.toLowerCase()===c.toLowerCase()))k=l;else if(J&&(b.nodeName(a,"form")||z.test(c)))k=J;return h!==g?h===null?(b.removeAttr(a, -c),g):k&&"set"in k&&s&&(f=k.set(a,h,c))!==g?f:(a.setAttribute(c,""+h),h):k&&"get"in k&&s?k.get(a,c):(f=a.getAttribute(c),f===null?g:f)},removeAttr:function(a,c){var h;if(a.nodeType===1&&(c=b.attrFix[c]||c,b.support.getSetAttribute?a.removeAttribute(c):(b.attr(a,c,""),a.removeAttributeNode(a.getAttributeNode(c))),u.test(c)&&(h=b.propFix[c]||c)in a))a[h]=!1},attrHooks:{type:{set:function(a,c){if(wa.test(a.nodeName)&&a.parentNode)b.error("type property can't be changed");else if(!b.support.radioValue&& -c==="radio"&&b.nodeName(a,"input")){var h=a.value;a.setAttribute("type",c);if(h)a.value=h;return c}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):Ja.test(a.nodeName)||e.test(a.nodeName)&&a.href?0:g}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"}, -prop:function(a,c,h){var k=a.nodeType;if(!a||k===3||k===8||k===2)return g;var f,c=(k!==1||!b.isXMLDoc(a))&&b.propFix[c]||c,k=b.propHooks[c];return h!==g?k&&"set"in k&&(f=k.set(a,h,c))!==g?f:a[c]=h:k&&"get"in k&&(f=k.get(a,c))!==g?f:a[c]},propHooks:{}});l={get:function(a,c){return a[b.propFix[c]||c]?c.toLowerCase():g},set:function(a,c,h){var k;c===!1?b.removeAttr(a,h):(k=b.propFix[h]||h,k in a&&(a[k]=c),a.setAttribute(h,h.toLowerCase()));return h}};b.attrHooks.value={get:function(a,c){if(J&&b.nodeName(a, -"button"))return J.get(a,c);return a.value},set:function(a,c,h){if(J&&b.nodeName(a,"button"))return J.set(a,c,h);a.value=c}};if(!b.support.getSetAttribute)b.attrFix=b.propFix,J=b.attrHooks.name=b.valHooks.button={get:function(a,c){var b;return(b=a.getAttributeNode(c))&&b.nodeValue!==""?b.nodeValue:g},set:function(a,c,b){if(a=a.getAttributeNode(b))return a.nodeValue=c}},b.each(["width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{set:function(a,b){if(b==="")return a.setAttribute(c, -"auto"),b}})});b.support.hrefNormalized||b.each(["href","src","width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{get:function(a){a=a.getAttribute(c,2);return a===null?g:a}})});if(!b.support.style)b.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||g},set:function(a,c){return a.style.cssText=""+c}};if(!b.support.optSelected)b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(){}});b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]= -{get:function(a){return a.getAttribute("value")===null?"on":a.value}}});b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(a,c){if(b.isArray(c))return a.checked=b.inArray(b(a).val(),c)>=0}})});var Aa=/\.(.*)$/,da=/^(?:textarea|input|select)$/i,pa=/\./g,w=/ /g,ea=/[^\w\s.|`]/g,ia=function(a){return a.replace(ea,"\\$&")};b.event={add:function(a,c,h,k){if(!(a.nodeType===3||a.nodeType===8)){if(h===!1)h=B;else if(!h)return;var f,e;if(h.handler)f=h,h=f.handler; -if(!h.guid)h.guid=b.guid++;if(e=b._data(a)){var j=e.events,o=e.handle;if(!j)e.events=j={};if(!o)e.handle=o=function(a){return typeof b!=="undefined"&&(!a||b.event.triggered!==a.type)?b.event.handle.apply(o.elem,arguments):g};o.elem=a;for(var c=c.split(" "),d,v=0,u;d=c[v++];){e=f?b.extend({},f):{handler:h,data:k};d.indexOf(".")>-1?(u=d.split("."),d=u.shift(),e.namespace=u.slice(0).sort().join(".")):(u=[],e.namespace="");e.type=d;if(!e.guid)e.guid=h.guid;var l=j[d],M=b.event.special[d]||{};if(!l&&(l= -j[d]=[],!M.setup||M.setup.call(a,k,u,o)===!1))a.addEventListener?a.addEventListener(d,o,!1):a.attachEvent&&a.attachEvent("on"+d,o);if(M.add&&(M.add.call(a,e),!e.handler.guid))e.handler.guid=h.guid;l.push(e);b.event.global[d]=!0}a=null}}},global:{},remove:function(a,c,h,k){if(!(a.nodeType===3||a.nodeType===8)){h===!1&&(h=B);var f,e,j=0,o,d,u,v,l,M,P=b.hasData(a)&&b._data(a),W=P&&P.events;if(P&&W){if(c&&c.type)h=c.handler,c=c.type;if(!c||typeof c==="string"&&c.charAt(0)===".")for(f in c=c||"",W)b.event.remove(a, -f+c);else{for(c=c.split(" ");f=c[j++];)if(v=f,o=f.indexOf(".")<0,d=[],o||(d=f.split("."),f=d.shift(),u=RegExp("(^|\\.)"+b.map(d.slice(0).sort(),ia).join("\\.(?:.*\\.)?")+"(\\.|$)")),l=W[f])if(h){v=b.event.special[f]||{};for(e=k||0;e=0&&(f=f.slice(0,-1),j=!0);f.indexOf(".")>=0&&(e=f.split("."),f=e.shift(),e.sort());if(h&&!b.event.customEvent[f]||b.event.global[f]){a=typeof a==="object"?a[b.expando]? -a:new b.Event(f,a):new b.Event(f);a.type=f;a.exclusive=j;a.namespace=e.join(".");a.namespace_re=RegExp("(^|\\.)"+e.join("\\.(?:.*\\.)?")+"(\\.|$)");if(k||!h)a.preventDefault(),a.stopPropagation();if(h){if(!(h.nodeType===3||h.nodeType===8)){a.result=g;a.target=h;c=c?b.makeArray(c):[];c.unshift(a);e=h;k=f.indexOf(":")<0?"on"+f:"";do{j=b._data(e,"handle");a.currentTarget=e;j&&j.apply(e,c);if(k&&b.acceptData(e)&&e[k]&&e[k].apply(e,c)===!1)a.result=!1,a.preventDefault();e=e.parentNode||e.ownerDocument|| -e===a.target.ownerDocument&&d}while(e&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var o,e=b.event.special[f]||{};if((!e._default||e._default.call(h.ownerDocument,a)===!1)&&!(f==="click"&&b.nodeName(h,"a"))&&b.acceptData(h)){try{if(k&&h[f])(o=h[k])&&(h[k]=null),b.event.triggered=f,h[f]()}catch(v){}o&&(h[k]=o);b.event.triggered=g}}return a.result}}else b.each(b.cache,function(){var h=this[b.expando];h&&h.events&&h.events[f]&&b.event.trigger(a,c,h.handle.elem)})}},handle:function(a){var a= -b.event.fix(a||d.event),c=((b._data(this,"events")||{})[a.type]||[]).slice(0),h=!a.exclusive&&!a.namespace,k=Array.prototype.slice.call(arguments,0);k[0]=a;a.currentTarget=this;for(var f=0,e=c.length;f-1?b.map(a.options,function(a){return a.selected}).join("-"):"";else if(b.nodeName(a,"select"))h=a.selectedIndex;return h},xa=function(a,c){var h=a.target,k,f;if(da.test(h.nodeName)&&!h.readOnly&&(k=b._data(h,"_change_data"),f=la(h),(a.type!=="focusout"||h.type!=="radio")&&b._data(h,"_change_data",f),!(k===g||f===k)))if(k!= -null||f)a.type="change",a.liveFired=g,b.event.trigger(a,c,h)};b.event.special.change={filters:{focusout:xa,beforedeactivate:xa,click:function(a){var c=a.target,h=b.nodeName(c,"input")?c.type:"";(h==="radio"||h==="checkbox"||b.nodeName(c,"select"))&&xa.call(this,a)},keydown:function(a){var c=a.target,h=b.nodeName(c,"input")?c.type:"";(a.keyCode===13&&!b.nodeName(c,"textarea")||a.keyCode===32&&(h==="checkbox"||h==="radio")||h==="select-multiple")&&xa.call(this,a)},beforeactivate:function(a){a=a.target; -b._data(a,"_change_data",la(a))}},setup:function(){if(this.type==="file")return!1;for(var a in fa)b.event.add(this,a+".specialChange",fa[a]);return da.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return da.test(this.nodeName)}};fa=b.event.special.change.filters;fa.focus=fa.beforeactivate}b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(a,c){function h(a){var h=b.event.fix(a);h.type=c;h.originalEvent={};b.event.trigger(h,null,h.target);h.isDefaultPrevented()&& -a.preventDefault()}var k=0;b.event.special[c]={setup:function(){k++===0&&y.addEventListener(a,h,!0)},teardown:function(){--k===0&&y.removeEventListener(a,h,!0)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(a,k,f){var e;if(typeof a==="object"){for(var j in a)this[c](j,k,a[j],f);return this}if(arguments.length===2||k===!1)f=k,k=g;c==="one"?(e=function(a){b(this).unbind(a,e);return f.apply(this,arguments)},e.guid=f.guid||b.guid++):e=f;if(a==="unload"&&c!=="one")this.one(a,k,f);else{j=0;for(var o= -this.length;j0?this.bind(c,a,b):this.trigger(c)};b.attrFn&&(b.attrFn[c]= -!0)});(function(){function a(a,c,b,h,k,f){for(var k=0,e=h.length;k0){j=s;break}}s=s[a]}h[k]=j}}}var h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,k=0,f=Object.prototype.toString,e=!1,j=!0,o=/\\/g,d=/\W/;[0,0].sort(function(){j=!1;return 0});var v=function(a,c,b,k){var b=b||[],e=c=c||y;if(c.nodeType!==1&&c.nodeType!==9)return[];if(!a||typeof a!=="string")return b;var j,o,d,M,H,P=!0,g=v.isXML(c),z=[],ma=a;do if(h.exec(""),j=h.exec(ma))if(ma=j[3],z.push(j[1]),j[2]){M= -j[3];break}while(j);if(z.length>1&&l.exec(a))if(z.length===2&&u.relative[z[0]])o=$(z[0]+z[1],c);else for(o=u.relative[z[0]]?[c]:v(z.shift(),c);z.length;)a=z.shift(),u.relative[a]&&(a+=z.shift()),o=$(a,o);else if(!k&&z.length>1&&c.nodeType===9&&!g&&u.match.ID.test(z[0])&&!u.match.ID.test(z[z.length-1])&&(j=v.find(z.shift(),c,g),c=j.expr?v.filter(j.expr,j.set)[0]:j.set[0]),c){j=k?{expr:z.pop(),set:W(k)}:v.find(z.pop(),z.length===1&&(z[0]==="~"||z[0]==="+")&&c.parentNode?c.parentNode:c,g);o=j.expr?v.filter(j.expr, -j.set):j.set;for(z.length>0?d=W(o):P=!1;z.length;)j=H=z.pop(),u.relative[H]?j=z.pop():H="",j==null&&(j=c),u.relative[H](d,j,g)}else d=[];d||(d=o);d||v.error(H||a);if(f.call(d)==="[object Array]")if(P)if(c&&c.nodeType===1)for(a=0;d[a]!=null;a++)d[a]&&(d[a]===!0||d[a].nodeType===1&&v.contains(c,d[a]))&&b.push(o[a]);else for(a=0;d[a]!=null;a++)d[a]&&d[a].nodeType===1&&b.push(o[a]);else b.push.apply(b,d);else W(d,b);M&&(v(M,e,b,k),v.uniqueSort(b));return b};v.uniqueSort=function(a){if(ma&&(e=j,a.sort(ma), -e))for(var c=1;c0};v.find=function(a,c,b){var h;if(!a)return[];for(var k=0,f=u.order.length;kg)break;a.currentTarget=s.elem;a.data=s.handleObj.data;a.handleObj=s.handleObj;v=s.handleObj.origHandler.apply(s.elem,arguments);if(v===!1||a.isPropagationStopped())if(g=s.level,v===!1&&(c=!1),a.isImmediatePropagationStopped())break}return c}}function K(a,c){return(a&&a!=="*"?a+".":"")+c.replace(pa,"`").replace(u,"&")}function I(a,c,g){c=c||0;if(b.isFunction(c))return b.grep(a,function(a,b){return!!c.call(a,b,a)===g});else if(c.nodeType)return b.grep(a, +function(a){return a===c===g});else if(typeof c==="string"){var k=b.grep(a,function(a){return a.nodeType===1});if(Ea.test(c))return b.filter(c,k,!g);else c=b.filter(c,k)}return b.grep(a,function(a){return b.inArray(a,c)>=0===g})}function G(a,c){if(c.nodeType===1&&b.hasData(a)){var g=b.expando,k=b.data(a),s=b.data(c,k);if(k=k[g]){var H=k.events,s=s[g]=b.extend({},k);if(H){delete s.handle;s.events={};for(var f in H){g=0;for(k=H[f].length;g0)return g!=="border"&&b.each(s,function(){g||(k-=parseFloat(b.css(a,"padding"+this))||0);g==="margin"?k+=parseFloat(b.css(a,g+this))||0:k-=parseFloat(b.css(a,"border"+this+"Width"))||0}),k+"px";k=Ja(a,c,c);if(k<0||k==null)k=a.style[c]||0;k=parseFloat(k)||0;g&&b.each(s,function(){k+=parseFloat(b.css(a,"padding"+this))||0;g!=="padding"&&(k+=parseFloat(b.css(a,"border"+this+"Width"))||0);g==="margin"&&(k+=parseFloat(b.css(a, +g+this))||0)});return k+"px"}function S(a){return function(c,g){var Z;typeof c!=="string"&&(g=c,c="*");if(b.isFunction(g))for(var k=c.toLowerCase().split(Ya),s=0,H=k.length,f,e;s").appendTo(c),k=g.css("display");g.remove();if(k==="none"||k===""){if(!Ca)Ca=y.createElement("iframe"),Ca.frameBorder=Ca.width=Ca.height=0;c.appendChild(Ca);if(!Ka||!Ca.createElement)Ka=(Ca.contentWindow||Ca.contentDocument).document,Ka.write((y.compatMode==="CSS1Compat"?"":"")+""),Ka.close();g=Ka.createElement(a);Ka.body.appendChild(g);k=b.css(g,"display");c.removeChild(Ca)}Va[a]=k}return Va[a]}function va(a){return b.isWindow(a)?a:a.nodeType===9?a.defaultView|| +a.parentWindow:!1}var y=d.document,T=d.navigator,Y=d.location,b=function(){function a(){if(!c.isReady){try{y.documentElement.doScroll("left")}catch(b){setTimeout(a,1);return}c.ready()}}var c=function(a,b){return new c.fn.init(a,b,s)},b=d.jQuery,k=d.$,s,f=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,e=/\S/,j=/^\s+/,l=/\s+$/,v=/\d/,t=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,M=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,P=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,W=/(?:^|:|,)(?:\s*\[)+/g, +w=/(webkit)[ \/]([\w.]+)/,ma=/(opera)(?:.*version)?[ \/]([\w.]+)/,J=/(msie) ([\w.]+)/,ha=/(mozilla)(?:.*? rv:([\w.]+))?/,Z=/-([a-z])/ig,lb=function(a,c){return c.toUpperCase()},Qa=T.userAgent,Sa,La,mb=Object.prototype.toString,Aa=Object.prototype.hasOwnProperty,u=Array.prototype.push,o=Array.prototype.slice,za=String.prototype.trim,r=Array.prototype.indexOf,q={};c.fn=c.prototype={constructor:c,init:function(a,b,g){var k;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this; +if(a==="body"&&!b&&y.body)return this.context=y,this[0]=y.body,this.selector=a,this.length=1,this;if(typeof a==="string")if((k=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:f.exec(a))&&(k[1]||!b))if(k[1])return g=(b=b instanceof c?b[0]:b)?b.ownerDocument||b:y,(a=t.exec(a))?c.isPlainObject(b)?(a=[y.createElement(a[1])],c.fn.attr.call(a,b,!0)):a=[g.createElement(a[1])]:(a=c.buildFragment([k[1]],[g]),a=(a.cacheable?c.clone(a.fragment):a.fragment).childNodes),c.merge(this,a); +else{if((b=y.getElementById(k[2]))&&b.parentNode){if(b.id!==k[2])return g.find(a);this.length=1;this[0]=b}this.context=y;this.selector=a;return this}else return!b||b.jquery?(b||g).find(a):this.constructor(b).find(a);else if(c.isFunction(a))return g.ready(a);if(a.selector!==h)this.selector=a.selector,this.context=a.context;return c.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return o.call(this,0)},get:function(a){return a==null?this.toArray(): +a<0?this[this.length+a]:this[a]},pushStack:function(a,b,g){var k=this.constructor();c.isArray(a)?u.apply(k,a):c.merge(k,a);k.prevObject=this;k.context=this.context;if(b==="find")k.selector=this.selector+(this.selector?" ":"")+g;else if(b)k.selector=this.selector+"."+b+"("+g+")";return k},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();Sa.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)}, +slice:function(){return this.pushStack(o.apply(this,arguments),"slice",o.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(c,b){return a.call(c,b,c)}))},end:function(){return this.prevObject||this.constructor(null)},push:u,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,b,g,k,s,f=arguments[0]||{},H=1,Z=arguments.length,e=!1;typeof f==="boolean"&&(e=f,f=arguments[1]||{},H=2);typeof f!=="object"&&!c.isFunction(f)&&(f= +{});Z===H&&(f=this,--H);for(;H0||(Sa.resolveWith(y,[c]),c.fn.trigger&&c(y).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Sa){Sa=c._Deferred();if(y.readyState==="complete")return setTimeout(c.ready,1);if(y.addEventListener)y.addEventListener("DOMContentLoaded",La,!1),d.addEventListener("load",c.ready,!1);else if(y.attachEvent){y.attachEvent("onreadystatechange",La);d.attachEvent("onload",c.ready);var b=!1;try{b=d.frameElement==null}catch(g){}y.documentElement.doScroll&&b&&a()}}}, +isFunction:function(a){return c.type(a)==="function"},isArray:Array.isArray||function(a){return c.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!v.test(a)||isNaN(a)},type:function(a){return a==null?String(a):q[mb.call(a)]||"object"},isPlainObject:function(a){if(!a||c.type(a)!=="object"||a.nodeType||c.isWindow(a))return!1;if(a.constructor&&!Aa.call(a,"constructor")&&!Aa.call(a.constructor.prototype,"isPrototypeOf"))return!1; +for(var b in a);return b===h||Aa.call(a,b)},isEmptyObject:function(a){for(var c in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(d.JSON&&d.JSON.parse)return d.JSON.parse(a);if(n.test(a.replace(M,"@").replace(P,"]").replace(W,"")))return(new Function("return "+a))();c.error("Invalid JSON: "+a)},parseXML:function(a,b,g){d.DOMParser?(g=new DOMParser,b=g.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"), +b.async="false",b.loadXML(a));g=b.documentElement;(!g||!g.nodeName||g.nodeName==="parsererror")&&c.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&e.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},camelCase:function(a){return a.replace(Z,lb)},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a,b,g){var k,s=0,f=a.length,H=f===h||c.isFunction(a);if(g)if(H)for(k in a){if(b.apply(a[k],g)===!1)break}else for(;s< +f;){if(b.apply(a[s++],g)===!1)break}else if(H)for(k in a){if(b.call(a[k],k,a[k])===!1)break}else for(;s0&&a[0]&&a[Z-1]||Z===0||c.isArray(a)))for(;H1?aa.call(arguments, +0):c;--f||e.resolveWith(e,aa.call(g,0))}}var g=arguments,k=0,s=g.length,f=s,e=s<=1&&a&&b.isFunction(a.promise)?a:b.Deferred();if(s>1){for(;k
a"; +g=a.getElementsByTagName("*");k=a.getElementsByTagName("a")[0];if(!g||!g.length||!k)return{};s=y.createElement("select");f=s.appendChild(y.createElement("option"));g=a.getElementsByTagName("input")[0];e={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(k.getAttribute("style")),hrefNormalized:k.getAttribute("href")==="/a",opacity:/^0.55$/.test(k.style.opacity),cssFloat:!!k.style.cssFloat, +checkOn:g.value==="on",optSelected:f.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};g.checked=!0;e.noCloneChecked=g.cloneNode(!0).checked;s.disabled=!0;e.optDisabled=!f.disabled;try{delete a.test}catch(l){e.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){e.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")); +g=y.createElement("input");g.value="t";g.setAttribute("type","radio");e.radioValue=g.value==="t";g.setAttribute("checked","checked");a.appendChild(g);k=y.createDocumentFragment();k.appendChild(a.firstChild);e.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";s=y.getElementsByTagName("body")[0];k=y.createElement(s?"div":"body");f={visibility:"hidden",width:0,height:0,border:0,margin:0};s&&b.extend(f,{position:"absolute",left:-1E3,top:-1E3}); +for(j in f)k.style[j]=f[j];k.appendChild(a);c=s||c;c.insertBefore(k,c.firstChild);e.appendChecked=g.checked;e.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,e.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",e.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="
t
";s=a.getElementsByTagName("td");g=s[0].offsetHeight===0;s[0].style.display= +"";s[1].style.display="none";e.reliableHiddenOffsets=g&&s[0].offsetHeight===0;a.innerHTML="";if(y.defaultView&&y.defaultView.getComputedStyle)g=y.createElement("div"),g.style.width="0",g.style.marginRight="0",a.appendChild(g),e.reliableMarginRight=(parseInt((y.defaultView.getComputedStyle(g,null)||{marginRight:0}).marginRight,10)||0)===0;k.innerHTML="";c.removeChild(k);if(a.attachEvent)for(j in{submit:1,change:1,focusin:1})c="on"+j,g=c in a,g||(a.setAttribute(c,"return;"),g=typeof a[c]==="function"), +e[j+"Bubbles"]=g;k=k=s=f=s=g=a=g=null;return e}();b.boxModel=b.support.boxModel;var D=/^(?:\{.*\}|\[.*\])$/,oa=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?b.cache[a[b.expando]]:a[b.expando];return!!a&&!p(a)},data:function(a,c,g,k){if(b.acceptData(a)){var s=b.expando,f=typeof c==="string",e=a.nodeType,j=e?b.cache:a,l=e?a[b.expando]: +a[b.expando]&&b.expando;if(l&&(!k||!l||j[l][s])||!(f&&g===h)){if(!l)e?a[b.expando]=l=++b.uuid:l=b.expando;if(!j[l]&&(j[l]={},!e))j[l].toJSON=b.noop;if(typeof c==="object"||typeof c==="function")k?j[l][s]=b.extend(j[l][s],c):j[l]=b.extend(j[l],c);a=j[l];k&&(a[s]||(a[s]={}),a=a[s]);g!==h&&(a[b.camelCase(c)]=g);if(c==="events"&&!a[c])return a[s]&&a[s].events;return f?a[b.camelCase(c)]||a[c]:a}}},removeData:function(a,c,g){if(b.acceptData(a)){var k=b.expando,s=a.nodeType,f=s?b.cache:a,e=s?a[b.expando]: +b.expando;if(f[e]){if(c){var j=g?f[e][k]:f[e];if(j&&(delete j[c],!p(j)))return}if(g&&(delete f[e][k],!p(f[e])))return;c=f[e][k];b.support.deleteExpando||f!=d?delete f[e]:f[e]=null;if(c){f[e]={};if(!s)f[e].toJSON=b.noop;f[e][k]=c}else s&&(b.support.deleteExpando?delete a[b.expando]:a.removeAttribute?a.removeAttribute(b.expando):a[b.expando]=null)}}},_data:function(a,c,g){return b.data(a,c,g,!0)},acceptData:function(a){if(a.nodeName){var c=b.noData[a.nodeName.toLowerCase()];if(c)return!(c===!0||a.getAttribute("classid")!== +c)}return!0}});b.fn.extend({data:function(a,c){var g=null;if(typeof a==="undefined"){if(this.length&&(g=b.data(this[0]),this[0].nodeType===1))for(var k=this[0].attributes,s,f=0,e=k.length;f-1)return!0;return!1},val:function(a){var c,g,k=this[0];if(!arguments.length){if(k){if((c=b.valHooks[k.nodeName.toLowerCase()]||b.valHooks[k.type])&&"get"in c&&(g=c.get(k,"value"))!==h)return g;g=k.value;return typeof g==="string"?g.replace(ra,""):g==null?"":g}return h}var s=b.isFunction(a);return this.each(function(g){var k= +b(this);if(this.nodeType===1&&(g=s?a.call(this,g,k.val()):a,g==null?g="":typeof g==="number"?g+="":b.isArray(g)&&(g=b.map(g,function(a){return a==null?"":a+""})),c=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type],!c||!("set"in c)||c.set(this,g,"value")===h))this.value=g})}});b.extend({valHooks:{option:{get:function(a){var c=a.attributes.value;return!c||c.specified?a.value:a.text}},select:{get:function(a){var c,g=a.selectedIndex,k=[],s=a.options,a=a.type==="select-one";if(g<0)return null; +for(var f=a?g:0,e=a?g+1:s.length;f=0});if(!g.length)a.selectedIndex=-1;return g}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0, +width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,g,k){var s=a.nodeType;if(!a||s===3||s===8||s===2)return h;if(k&&c in b.attrFn)return b(a)[c](g);if(!("getAttribute"in a))return b.prop(a,c,g);var f,e;if(k=s!==1||!b.isXMLDoc(a))if(c=b.attrFix[c]||c,e=b.attrHooks[c],!e)if(t.test(c))e=n;else if(J&&c!=="className"&&(b.nodeName(a,"form")||w.test(c)))e=J;return g!==h?g===null?(b.removeAttr(a,c),h):e&&"set"in e&&k&&(f=e.set(a,g,c))!==h?f:(a.setAttribute(c,""+g),g):e&&"get"in e&& +k&&(f=e.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?h:f)},removeAttr:function(a,c){var g;if(a.nodeType===1&&(c=b.attrFix[c]||c,b.support.getSetAttribute?a.removeAttribute(c):(b.attr(a,c,""),a.removeAttributeNode(a.getAttributeNode(c))),t.test(c)&&(g=b.propFix[c]||c)in a))a[g]=!1},attrHooks:{type:{set:function(a,c){if(wa.test(a.nodeName)&&a.parentNode)b.error("type property can't be changed");else if(!b.support.radioValue&&c==="radio"&&b.nodeName(a,"input")){var g=a.value;a.setAttribute("type", +c);if(g)a.value=g;return c}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):Ma.test(a.nodeName)||e.test(a.nodeName)&&a.href?0:h}},value:{get:function(a,c){if(J&&b.nodeName(a,"button"))return J.get(a,c);return c in a?a.value:null},set:function(a,c,g){if(J&&b.nodeName(a,"button"))return J.set(a,c,g);a.value=c}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing", +cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,g){var k=a.nodeType;if(!a||k===3||k===8||k===2)return h;var f,e;if(k!==1||!b.isXMLDoc(a))c=b.propFix[c]||c,e=b.propHooks[c];return g!==h?e&&"set"in e&&(f=e.set(a,g,c))!==h?f:a[c]=g:e&&"get"in e&&(f=e.get(a,c))!==h?f:a[c]},propHooks:{}});n={get:function(a,c){return b.prop(a,c)?c.toLowerCase():h},set:function(a,c,g){c===!1?b.removeAttr(a,g):(c= +b.propFix[g]||g,c in a&&(a[c]=!0),a.setAttribute(g,g.toLowerCase()));return g}};if(!b.support.getSetAttribute)b.attrFix=b.propFix,J=b.attrHooks.name=b.attrHooks.title=b.valHooks.button={get:function(a,c){var b;return(b=a.getAttributeNode(c))&&b.nodeValue!==""?b.nodeValue:h},set:function(a,c,b){if(a=a.getAttributeNode(b))return a.nodeValue=c}},b.each(["width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{set:function(a,b){if(b==="")return a.setAttribute(c,"auto"),b}})});b.support.hrefNormalized|| +b.each(["href","src","width","height"],function(a,c){b.attrHooks[c]=b.extend(b.attrHooks[c],{get:function(a){a=a.getAttribute(c,2);return a===null?h:a}})});if(!b.support.style)b.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||h},set:function(a,c){return a.style.cssText=""+c}};if(!b.support.optSelected)b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(){}});b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(a){return a.getAttribute("value")=== +null?"on":a.value}}});b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(a,c){if(b.isArray(c))return a.checked=b.inArray(b(a).val(),c)>=0}})});var Ba=/\.(.*)$/,ca=/^(?:textarea|input|select)$/i,pa=/\./g,u=/ /g,da=/[^\w\s.|`]/g,ia=function(a){return a.replace(da,"\\$&")};b.event={add:function(a,c,g,k){if(!(a.nodeType===3||a.nodeType===8)){if(g===!1)g=B;else if(!g)return;var f,e;if(g.handler)f=g,g=f.handler;if(!g.guid)g.guid=b.guid++;if(e=b._data(a)){var j= +e.events,l=e.handle;if(!j)e.events=j={};if(!l)e.handle=l=function(a){return typeof b!=="undefined"&&(!a||b.event.triggered!==a.type)?b.event.handle.apply(l.elem,arguments):h};l.elem=a;for(var c=c.split(" "),d,v=0,t;d=c[v++];){e=f?b.extend({},f):{handler:g,data:k};d.indexOf(".")>-1?(t=d.split("."),d=t.shift(),e.namespace=t.slice(0).sort().join(".")):(t=[],e.namespace="");e.type=d;if(!e.guid)e.guid=g.guid;var n=j[d],M=b.event.special[d]||{};if(!n&&(n=j[d]=[],!M.setup||M.setup.call(a,k,t,l)===!1))a.addEventListener? +a.addEventListener(d,l,!1):a.attachEvent&&a.attachEvent("on"+d,l);if(M.add&&(M.add.call(a,e),!e.handler.guid))e.handler.guid=g.guid;n.push(e);b.event.global[d]=!0}a=null}}},global:{},remove:function(a,c,g,k){if(!(a.nodeType===3||a.nodeType===8)){g===!1&&(g=B);var f,e,j=0,l,d,t,v,n,M,P=b.hasData(a)&&b._data(a),W=P&&P.events;if(P&&W){if(c&&c.type)g=c.handler,c=c.type;if(!c||typeof c==="string"&&c.charAt(0)===".")for(f in c=c||"",W)b.event.remove(a,f+c);else{for(c=c.split(" ");f=c[j++];)if(v=f,l=f.indexOf(".")< +0,d=[],l||(d=f.split("."),f=d.shift(),t=RegExp("(^|\\.)"+b.map(d.slice(0).sort(),ia).join("\\.(?:.*\\.)?")+"(\\.|$)")),n=W[f])if(g){v=b.event.special[f]||{};for(e=k||0;e=0&&(f=f.slice(0,-1),j=!0);f.indexOf(".")>=0&&(e=f.split("."),f=e.shift(),e.sort());if(g&&!b.event.customEvent[f]||b.event.global[f]){a=typeof a==="object"?a[b.expando]?a:new b.Event(f,a):new b.Event(f);a.type=f;a.exclusive=j;a.namespace= +e.join(".");a.namespace_re=RegExp("(^|\\.)"+e.join("\\.(?:.*\\.)?")+"(\\.|$)");if(k||!g)a.preventDefault(),a.stopPropagation();if(g){if(!(g.nodeType===3||g.nodeType===8)){a.result=h;a.target=g;c=c!=null?b.makeArray(c):[];c.unshift(a);e=g;k=f.indexOf(":")<0?"on"+f:"";do{j=b._data(e,"handle");a.currentTarget=e;j&&j.apply(e,c);if(k&&b.acceptData(e)&&e[k]&&e[k].apply(e,c)===!1)a.result=!1,a.preventDefault();e=e.parentNode||e.ownerDocument||e===a.target.ownerDocument&&d}while(e&&!a.isPropagationStopped()); +if(!a.isDefaultPrevented()){var l,e=b.event.special[f]||{};if((!e._default||e._default.call(g.ownerDocument,a)===!1)&&!(f==="click"&&b.nodeName(g,"a"))&&b.acceptData(g)){try{if(k&&g[f])(l=g[k])&&(g[k]=null),b.event.triggered=f,g[f]()}catch(v){}l&&(g[k]=l);b.event.triggered=h}}return a.result}}else b.each(b.cache,function(){var g=this[b.expando];g&&g.events&&g.events[f]&&b.event.trigger(a,c,g.handle.elem)})}},handle:function(a){var a=b.event.fix(a||d.event),c=((b._data(this,"events")||{})[a.type]|| +[]).slice(0),g=!a.exclusive&&!a.namespace,k=Array.prototype.slice.call(arguments,0);k[0]=a;a.currentTarget=this;for(var f=0,e=c.length;f-1?b.map(a.options,function(a){return a.selected}).join("-"):"";else if(b.nodeName(a,"select"))g=a.selectedIndex;return g},xa=function(a,c){var g=a.target,k,f;if(ca.test(g.nodeName)&&!g.readOnly&&(k=b._data(g,"_change_data"),f=la(g),(a.type!=="focusout"||g.type!=="radio")&&b._data(g,"_change_data",f),!(k===h||f===k)))if(k!= +null||f)a.type="change",a.liveFired=h,b.event.trigger(a,c,g)};b.event.special.change={filters:{focusout:xa,beforedeactivate:xa,click:function(a){var c=a.target,g=b.nodeName(c,"input")?c.type:"";(g==="radio"||g==="checkbox"||b.nodeName(c,"select"))&&xa.call(this,a)},keydown:function(a){var c=a.target,g=b.nodeName(c,"input")?c.type:"";(a.keyCode===13&&!b.nodeName(c,"textarea")||a.keyCode===32&&(g==="checkbox"||g==="radio")||g==="select-multiple")&&xa.call(this,a)},beforeactivate:function(a){a=a.target; +b._data(a,"_change_data",la(a))}},setup:function(){if(this.type==="file")return!1;for(var a in ea)b.event.add(this,a+".specialChange",ea[a]);return ca.test(this.nodeName)},teardown:function(){b.event.remove(this,".specialChange");return ca.test(this.nodeName)}};ea=b.event.special.change.filters;ea.focus=ea.beforeactivate}b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(a,c){function g(a){var g=b.event.fix(a);g.type=c;g.originalEvent={};b.event.trigger(g,null,g.target);g.isDefaultPrevented()&& +a.preventDefault()}var k=0;b.event.special[c]={setup:function(){k++===0&&y.addEventListener(a,g,!0)},teardown:function(){--k===0&&y.removeEventListener(a,g,!0)}}});b.each(["bind","one"],function(a,c){b.fn[c]=function(a,k,f){var e;if(typeof a==="object"){for(var j in a)this[c](j,k,a[j],f);return this}if(arguments.length===2||k===!1)f=k,k=h;c==="one"?(e=function(a){b(this).unbind(a,e);return f.apply(this,arguments)},e.guid=f.guid||b.guid++):e=f;if(a==="unload"&&c!=="one")this.one(a,k,f);else{j=0;for(var l= +this.length;j0?this.bind(c,a,b):this.trigger(c)};b.attrFn&&(b.attrFn[c]= +!0)});(function(){function a(a,c,b,g,k,f){for(var k=0,e=g.length;k0){j=s;break}}s=s[a]}g[k]=j}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,k=0,f=Object.prototype.toString,e=!1,j=!0,l=/\\/g,d=/\W/;[0,0].sort(function(){j=!1;return 0});var v=function(a,c,b,k){var b=b||[],e=c=c||y;if(c.nodeType!==1&&c.nodeType!==9)return[];if(!a||typeof a!=="string")return b;var j,l,d,M,H,P=!0,h=v.isXML(c),w=[],ma=a;do if(g.exec(""),j=g.exec(ma))if(ma=j[3],w.push(j[1]),j[2]){M= +j[3];break}while(j);if(w.length>1&&n.exec(a))if(w.length===2&&t.relative[w[0]])l=ha(w[0]+w[1],c);else for(l=t.relative[w[0]]?[c]:v(w.shift(),c);w.length;)a=w.shift(),t.relative[a]&&(a+=w.shift()),l=ha(a,l);else if(!k&&w.length>1&&c.nodeType===9&&!h&&t.match.ID.test(w[0])&&!t.match.ID.test(w[w.length-1])&&(j=v.find(w.shift(),c,h),c=j.expr?v.filter(j.expr,j.set)[0]:j.set[0]),c){j=k?{expr:w.pop(),set:W(k)}:v.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&c.parentNode?c.parentNode:c,h);l=j.expr? +v.filter(j.expr,j.set):j.set;for(w.length>0?d=W(l):P=!1;w.length;)j=H=w.pop(),t.relative[H]?j=w.pop():H="",j==null&&(j=c),t.relative[H](d,j,h)}else d=[];d||(d=l);d||v.error(H||a);if(f.call(d)==="[object Array]")if(P)if(c&&c.nodeType===1)for(a=0;d[a]!=null;a++)d[a]&&(d[a]===!0||d[a].nodeType===1&&v.contains(c,d[a]))&&b.push(l[a]);else for(a=0;d[a]!=null;a++)d[a]&&d[a].nodeType===1&&b.push(l[a]);else b.push.apply(b,d);else W(d,b);M&&(v(M,e,b,k),v.uniqueSort(b));return b};v.uniqueSort=function(a){if(ma&& +(e=j,a.sort(ma),e))for(var c=1;c0};v.find=function(a,c,b){var g;if(!a)return[];for(var k=0,f=t.order.length;k":function(a,c){var b,h=typeof c==="string",k=0,f=a.length;if(h&&!d.test(c))for(c=c.toLowerCase();k=0)?b||h.push(e):b&&(c[f]=!1));return!1},ID:function(a){return a[1].replace(o,"")},TAG:function(a){return a[1].replace(o,"").toLowerCase()},CHILD:function(a){if(a[1]=== -"nth"){a[2]||v.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var c=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=c[1]+(c[2]||1)-0;a[3]=c[3]-0}else a[2]&&v.error(a[0]);a[0]=k++;return a},ATTR:function(a,c,b,h,k,f){c=a[1]=a[1].replace(o,"");!f&&u.attrMap[c]&&(a[1]=u.attrMap[c]);a[4]=(a[4]||a[5]||"").replace(o,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,c,b,k,f){if(a[1]==="not")if((h.exec(a[3])||"").length>1|| -/^\w/.test(a[3]))a[3]=v(a[3],null,null,c);else return a=v.filter(a[3],c,b,1^f),b||k.push.apply(k,a),!1;else if(u.match.POS.test(a[0])||u.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild}, +typeof c==="string",g=b&&!d.test(c),b=b&&!g;g&&(c=c.toLowerCase());for(var g=0,k=a.length,f;g":function(a,c){var b,g=typeof c==="string",k=0,f=a.length;if(g&&!d.test(c))for(c=c.toLowerCase();k=0)?b||g.push(e):b&&(c[f]=!1));return!1},ID:function(a){return a[1].replace(l,"")},TAG:function(a){return a[1].replace(l,"").toLowerCase()},CHILD:function(a){if(a[1]=== +"nth"){a[2]||v.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var c=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=c[1]+(c[2]||1)-0;a[3]=c[3]-0}else a[2]&&v.error(a[0]);a[0]=k++;return a},ATTR:function(a,c,b,g,k,f){c=a[1]=a[1].replace(l,"");!f&&t.attrMap[c]&&(a[1]=t.attrMap[c]);a[4]=(a[4]||a[5]||"").replace(l,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,c,b,k,f){if(a[1]==="not")if((g.exec(a[3])||"").length>1|| +/^\w/.test(a[3]))a[3]=v(a[3],null,null,c);else return a=v.filter(a[3],c,b,1^f),b||k.push.apply(k,a),!1;else if(t.match.POS.test(a[0])||t.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild}, has:function(a,c,b){return!!v(b[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var c=a.getAttribute("type"),b=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===b&&(c===b||c===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()=== "input"&&"password"===a.type},submit:function(a){var c=a.nodeName.toLowerCase();return(c==="input"||c==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var c=a.nodeName.toLowerCase();return(c==="input"||c==="button")&&"reset"===a.type},button:function(a){var c=a.nodeName.toLowerCase();return c==="input"&&"button"===a.type||c==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a=== -a.ownerDocument.activeElement}},setFilters:{first:function(a,c){return c===0},last:function(a,c,b,h){return c===h.length-1},even:function(a,c){return c%2===0},odd:function(a,c){return c%2===1},lt:function(a,c,b){return cb[3]-0},nth:function(a,c,b){return b[3]-0===c},eq:function(a,c,b){return b[3]-0===c}},filter:{PSEUDO:function(a,c,b,h){var k=c[1],f=u.filters[k];if(f)return f(a,b,c,h);else if(k==="contains")return(a.textContent||a.innerText||v.getText([a])||"").indexOf(c[3])>= -0;else if(k==="not"){c=c[3];b=0;for(h=c.length;b=0}},ID:function(a,c){return a.nodeType===1&&a.getAttribute("id")===c},TAG:function(a,c){return c==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===c},CLASS:function(a,c){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(c)>-1},ATTR:function(a,c){var b=c[1],b=u.attrHandle[b]?u.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),h=b+"",k=c[2],f=c[4];return b==null?k==="!=":k==="="?h===f:k==="*="?h.indexOf(f)>= -0:k==="~="?(" "+h+" ").indexOf(f)>=0:!f?h&&b!==!1:k==="!="?h!==f:k==="^="?h.indexOf(f)===0:k==="$="?h.substr(h.length-f.length)===f:k==="|="?h===f||h.substr(0,f.length+1)===f+"-":!1},POS:function(a,c,b,h){var k=u.setFilters[c[2]];if(k)return k(a,b,c,h)}}},l=u.match.POS,M=function(a,c){return"\\"+(c-0+1)},P;for(P in u.match)u.match[P]=RegExp(u.match[P].source+/(?![^\[]*\])(?![^\(]*\))/.source),u.leftMatch[P]=RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[P].source.replace(/\\(\d+)/g,M));var W=function(a, -c){a=Array.prototype.slice.call(a,0);if(c)return c.push.apply(c,a),c;return a};try{Array.prototype.slice.call(y.documentElement.childNodes,0)}catch(z){W=function(a,c){var b=0,h=c||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(h,a);else if(typeof a.length==="number")for(var k=a.length;b";b.insertBefore(a,b.firstChild);if(y.getElementById(c))u.find.ID=function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(c=c.getElementById(a[1]))? -c.id===a[1]||typeof c.getAttributeNode!=="undefined"&&c.getAttributeNode("id").nodeValue===a[1]?[c]:g:[]},u.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c};b.removeChild(a);b=a=null})();(function(){var a=y.createElement("div");a.appendChild(y.createComment(""));if(a.getElementsByTagName("*").length>0)u.find.TAG=function(a,c){var b=c.getElementsByTagName(a[1]);if(a[1]==="*"){for(var h=[],k=0;b[k];k++)b[k].nodeType=== -1&&h.push(b[k]);b=h}return b};a.innerHTML="";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")u.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();y.querySelectorAll&&function(){var a=v,c=y.createElement("div");c.innerHTML="

";if(!(c.querySelectorAll&&c.querySelectorAll(".TEST").length===0)){v=function(c,b,h,k){b=b||y;if(!k&&!v.isXML(b)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(c); -if(f&&(b.nodeType===1||b.nodeType===9))if(f[1])return W(b.getElementsByTagName(c),h);else if(f[2]&&u.find.CLASS&&b.getElementsByClassName)return W(b.getElementsByClassName(f[2]),h);if(b.nodeType===9){if(c==="body"&&b.body)return W([b.body],h);else if(f&&f[3]){var e=b.getElementById(f[3]);if(e&&e.parentNode){if(e.id===f[3])return W([e],h)}else return W([],h)}try{return W(b.querySelectorAll(c),h)}catch(s){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var f=b,j=(e=b.getAttribute("id"))|| -"__sizzle__",o=b.parentNode,d=/^\s*[+~]/.test(c);e?j=j.replace(/'/g,"\\$&"):b.setAttribute("id",j);if(d&&o)b=b.parentNode;try{if(!d||o)return W(b.querySelectorAll("[id='"+j+"'] "+c),h)}catch(l){}finally{e||f.removeAttribute("id")}}}return a(c,b,h,k)};for(var b in a)v[b]=a[b];c=null}}();(function(){var a=y.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(c){var b=!c.call(y.createElement("div"),"div"),h=!1;try{c.call(y.documentElement,"[test!='']:sizzle")}catch(k){h= -!0}v.matchesSelector=function(a,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!v.isXML(a))try{if(h||!u.match.PSEUDO.test(k)&&!/!=/.test(k)){var f=c.call(a,k);if(f||!b||a.document&&a.document.nodeType!==11)return f}}catch(e){}return v(k,null,null,[a]).length>0}}})();(function(){var a=y.createElement("div");a.innerHTML="
";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!== -1))u.order.splice(1,0,"CLASS"),u.find.CLASS=function(a,c,b){if(typeof c.getElementsByClassName!=="undefined"&&!b)return c.getElementsByClassName(a[1])},a=null})();v.contains=y.documentElement.contains?function(a,c){return a!==c&&(a.contains?a.contains(c):!0)}:y.documentElement.compareDocumentPosition?function(a,c){return!!(a.compareDocumentPosition(c)&16)}:function(){return!1};v.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var $=function(a,c){for(var b, -h=[],k="",f=c.nodeType?[c]:c;b=u.match.PSEUDO.exec(a);)k+=b[0],a=a.replace(u.match.PSEUDO,"");a=u.relative[a]?a+"*":a;b=0;for(var e=f.length;b0)for(j=e;j0:this.filter(a).length>0)},closest:function(a,c){var h=[],k,f,e=this[0];if(b.isArray(a)){var j,o={},d=1;if(e&&a.length){k=0;for(f=a.length;k-1:b(e).is(k))&&h.push({selector:j,elem:e,level:d});e=e.parentNode;d++}}return h}j=v.test(a)|| -typeof a!=="string"?b(a,c||this.context):0;k=0;for(f=this.length;k-1:b.find.matchesSelector(e,a)){h.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===c||e.nodeType===11)break;h=h.length>1?b.unique(h):h;return this.pushStack(h,"closest",a)},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){var h=typeof a==="string"?b(a,c):b.makeArray(a&& -a.nodeType?[a]:a),k=b.merge(this.get(),h);return this.pushStack(!h[0]||!h[0].parentNode||h[0].parentNode.nodeType===11||!k[0]||!k[0].parentNode||k[0].parentNode.nodeType===11?k:b.unique(k))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,c,h){return b.dir(a,"parentNode",h)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a, -2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,c,h){return b.dir(a,"nextSibling",h)},prevUntil:function(a,c,h){return b.dir(a,"previousSibling",h)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a, -c){b.fn[a]=function(h,k){var e=b.map(this,c,h),o=f.call(arguments);ta.test(a)||(k=h);k&&typeof k==="string"&&(e=b.filter(k,e));e=this.length>1&&!j[a]?b.unique(e):e;if((this.length>1||ya.test(k))&&U.test(a))e=e.reverse();return this.pushStack(e,a,o.join(","))}});b.extend({filter:function(a,c,h){h&&(a=":not("+a+")");return c.length===1?b.find.matchesSelector(c[0],a)?[c[0]]:[]:b.find.matches(a,c)},dir:function(a,c,h){for(var k=[],a=a[c];a&&a.nodeType!==9&&(h===g||a.nodeType!==1||!b(a).is(h));)a.nodeType=== -1&&k.push(a),a=a[c];return k},nth:function(a,c,b){for(var c=c||1,k=0;a;a=a[b])if(a.nodeType===1&&++k===c)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var M=/ jQuery\d+="(?:\d+|null)"/g,o=/^\s+/,P=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,W=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};na.optgroup=na.option;na.tbody=na.tfoot=na.colgroup=na.caption=na.thead;na.th=na.td;if(!b.support.htmlSerialize)na._default=[1,"div
","
"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(c){var h= -b(this);h.text(a.call(this,c,h.text()))});if(typeof a!=="object"&&a!==g)return this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a));return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapAll(a.call(this,c))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this}, -wrapInner:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapInner(a.call(this,c))});return this.each(function(){var c=b(this),h=c.contents();h.length?h.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments, +a.ownerDocument.activeElement}},setFilters:{first:function(a,c){return c===0},last:function(a,c,b,g){return c===g.length-1},even:function(a,c){return c%2===0},odd:function(a,c){return c%2===1},lt:function(a,c,b){return cb[3]-0},nth:function(a,c,b){return b[3]-0===c},eq:function(a,c,b){return b[3]-0===c}},filter:{PSEUDO:function(a,c,b,g){var k=c[1],f=t.filters[k];if(f)return f(a,b,c,g);else if(k==="contains")return(a.textContent||a.innerText||v.getText([a])||"").indexOf(c[3])>= +0;else if(k==="not"){c=c[3];b=0;for(g=c.length;b=0}},ID:function(a,c){return a.nodeType===1&&a.getAttribute("id")===c},TAG:function(a,c){return c==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===c},CLASS:function(a,c){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(c)>-1},ATTR:function(a,c){var b=c[1],b=t.attrHandle[b]?t.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),g=b+"",k=c[2],f=c[4];return b==null?k==="!=":k==="="?g===f:k==="*="?g.indexOf(f)>= +0:k==="~="?(" "+g+" ").indexOf(f)>=0:!f?g&&b!==!1:k==="!="?g!==f:k==="^="?g.indexOf(f)===0:k==="$="?g.substr(g.length-f.length)===f:k==="|="?g===f||g.substr(0,f.length+1)===f+"-":!1},POS:function(a,c,b,g){var k=t.setFilters[c[2]];if(k)return k(a,b,c,g)}}},n=t.match.POS,M=function(a,c){return"\\"+(c-0+1)},P;for(P in t.match)t.match[P]=RegExp(t.match[P].source+/(?![^\[]*\])(?![^\(]*\))/.source),t.leftMatch[P]=RegExp(/(^(?:.|\r|\n)*?)/.source+t.match[P].source.replace(/\\(\d+)/g,M));var W=function(a, +c){a=Array.prototype.slice.call(a,0);if(c)return c.push.apply(c,a),c;return a};try{Array.prototype.slice.call(y.documentElement.childNodes,0)}catch(w){W=function(a,c){var b=0,g=c||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(g,a);else if(typeof a.length==="number")for(var k=a.length;b";b.insertBefore(a,b.firstChild);if(y.getElementById(c))t.find.ID=function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(c=c.getElementById(a[1]))? +c.id===a[1]||typeof c.getAttributeNode!=="undefined"&&c.getAttributeNode("id").nodeValue===a[1]?[c]:h:[]},t.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c};b.removeChild(a);b=a=null})();(function(){var a=y.createElement("div");a.appendChild(y.createComment(""));if(a.getElementsByTagName("*").length>0)t.find.TAG=function(a,c){var b=c.getElementsByTagName(a[1]);if(a[1]==="*"){for(var g=[],k=0;b[k];k++)b[k].nodeType=== +1&&g.push(b[k]);b=g}return b};a.innerHTML="";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")t.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();y.querySelectorAll&&function(){var a=v,c=y.createElement("div");c.innerHTML="

";if(!(c.querySelectorAll&&c.querySelectorAll(".TEST").length===0)){v=function(c,b,g,k){b=b||y;if(!k&&!v.isXML(b)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(c); +if(f&&(b.nodeType===1||b.nodeType===9))if(f[1])return W(b.getElementsByTagName(c),g);else if(f[2]&&t.find.CLASS&&b.getElementsByClassName)return W(b.getElementsByClassName(f[2]),g);if(b.nodeType===9){if(c==="body"&&b.body)return W([b.body],g);else if(f&&f[3]){var e=b.getElementById(f[3]);if(e&&e.parentNode){if(e.id===f[3])return W([e],g)}else return W([],g)}try{return W(b.querySelectorAll(c),g)}catch(s){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var f=b,j=(e=b.getAttribute("id"))|| +"__sizzle__",l=b.parentNode,d=/^\s*[+~]/.test(c);e?j=j.replace(/'/g,"\\$&"):b.setAttribute("id",j);if(d&&l)b=b.parentNode;try{if(!d||l)return W(b.querySelectorAll("[id='"+j+"'] "+c),g)}catch(n){}finally{e||f.removeAttribute("id")}}}return a(c,b,g,k)};for(var b in a)v[b]=a[b];c=null}}();(function(){var a=y.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(c){var b=!c.call(y.createElement("div"),"div"),g=!1;try{c.call(y.documentElement,"[test!='']:sizzle")}catch(k){g= +!0}v.matchesSelector=function(a,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!v.isXML(a))try{if(g||!t.match.PSEUDO.test(k)&&!/!=/.test(k)){var f=c.call(a,k);if(f||!b||a.document&&a.document.nodeType!==11)return f}}catch(e){}return v(k,null,null,[a]).length>0}}})();(function(){var a=y.createElement("div");a.innerHTML="
";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!== +1))t.order.splice(1,0,"CLASS"),t.find.CLASS=function(a,c,b){if(typeof c.getElementsByClassName!=="undefined"&&!b)return c.getElementsByClassName(a[1])},a=null})();v.contains=y.documentElement.contains?function(a,c){return a!==c&&(a.contains?a.contains(c):!0)}:y.documentElement.compareDocumentPosition?function(a,c){return!!(a.compareDocumentPosition(c)&16)}:function(){return!1};v.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var ha=function(a,c){for(var b, +g=[],k="",f=c.nodeType?[c]:c;b=t.match.PSEUDO.exec(a);)k+=b[0],a=a.replace(t.match.PSEUDO,"");a=t.relative[a]?a+"*":a;b=0;for(var e=f.length;b0)for(j=e;j0:this.filter(a).length>0)},closest:function(a,c){var g=[],k,f,e=this[0];if(b.isArray(a)){var j,l={},d=1;if(e&&a.length){k=0;for(f=a.length;k-1:b(e).is(k))&&g.push({selector:j,elem:e,level:d});e=e.parentNode;d++}}return g}j=v.test(a)|| +typeof a!=="string"?b(a,c||this.context):0;k=0;for(f=this.length;k-1:b.find.matchesSelector(e,a)){g.push(e);break}else if(e=e.parentNode,!e||!e.ownerDocument||e===c||e.nodeType===11)break;g=g.length>1?b.unique(g):g;return this.pushStack(g,"closest",a)},index:function(a){if(!a||typeof a==="string")return b.inArray(this[0],a?b(a):this.parent().children());return b.inArray(a.jquery?a[0]:a,this)},add:function(a,c){var g=typeof a==="string"?b(a,c):b.makeArray(a&& +a.nodeType?[a]:a),k=b.merge(this.get(),g);return this.pushStack(!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11||!k[0]||!k[0].parentNode||k[0].parentNode.nodeType===11?k:b.unique(k))},andSelf:function(){return this.add(this.prevObject)}});b.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return b.dir(a,"parentNode")},parentsUntil:function(a,c,g){return b.dir(a,"parentNode",g)},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a, +2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},nextUntil:function(a,c,g){return b.dir(a,"nextSibling",g)},prevUntil:function(a,c,g){return b.dir(a,"previousSibling",g)},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a, +c){b.fn[a]=function(g,k){var e=b.map(this,c,g),l=f.call(arguments);ta.test(a)||(k=g);k&&typeof k==="string"&&(e=b.filter(k,e));e=this.length>1&&!j[a]?b.unique(e):e;if((this.length>1||ya.test(k))&&U.test(a))e=e.reverse();return this.pushStack(e,a,l.join(","))}});b.extend({filter:function(a,c,g){g&&(a=":not("+a+")");return c.length===1?b.find.matchesSelector(c[0],a)?[c[0]]:[]:b.find.matches(a,c)},dir:function(a,c,g){for(var k=[],a=a[c];a&&a.nodeType!==9&&(g===h||a.nodeType!==1||!b(a).is(g));)a.nodeType=== +1&&k.push(a),a=a[c];return k},nth:function(a,c,b){for(var c=c||1,k=0;a;a=a[b])if(a.nodeType===1&&++k===c)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});var M=/ jQuery\d+="(?:\d+|null)"/g,l=/^\s+/,P=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,W=/<([\w:]+)/,Aa=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};na.optgroup=na.option;na.tbody=na.tfoot=na.colgroup=na.caption=na.thead;na.th=na.td;if(!b.support.htmlSerialize)na._default=[1,"div
","
"];b.fn.extend({text:function(a){if(b.isFunction(a))return this.each(function(c){var g= +b(this);g.text(a.call(this,c,g.text()))});if(typeof a!=="object"&&a!==h)return this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a));return b.text(this)},wrapAll:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapAll(a.call(this,c))});if(this[0]){var c=b(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this}, +wrapInner:function(a){if(b.isFunction(a))return this.each(function(c){b(this).wrapInner(a.call(this,c))});return this.each(function(){var c=b(this),g=c.contents();g.length?g.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments, !0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=b(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a= -this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,c){for(var h=0,k;(k=this[h])!=null;h++)if(!a||b.filter(a,[k]).length)!c&&k.nodeType===1&&(b.cleanData(k.getElementsByTagName("*")),b.cleanData([k])),k.parentNode&&k.parentNode.removeChild(k);return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a,c){a= -a==null?!1:a;c=c==null?a:c;return this.map(function(){return b.clone(this,a,c)})},html:function(a){if(a===g)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(M,""):null;else if(typeof a==="string"&&!za.test(a)&&(b.support.leadingWhitespace||!o.test(a))&&!na[(W.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(P,"<$1>");try{for(var c=0,h=this.length;c1&&f0?this.clone(!0):this).get();b(h[f])[c](j);k=k.concat(j)}return this.pushStack(k,a,h.selector)}}});b.extend({clone:function(a,c,h){var k=a.cloneNode(!0),f,e,j;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!b.isXMLDoc(a)){q(a,k);f=n(a);e=n(k);for(j=0;f[j];++j)q(f[j],e[j])}if(c&&(G(a,k),h)){f=n(a);e=n(k);for(j=0;f[j];++j)G(f[j],e[j])}return k},clean:function(a,c,h,k){c= -c||y;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||y);for(var f=[],e,j=0,d;(d=a[j])!=null;j++)if(typeof d==="number"&&(d+=""),d){if(typeof d==="string")if(ma.test(d)){d=d.replace(P,"<$1>");e=(W.exec(d)||["",""])[1].toLowerCase();var v=na[e]||na._default,u=v[0],l=c.createElement("div");for(l.innerHTML=v[1]+d+v[2];u--;)l=l.lastChild;if(!b.support.tbody){u=$.test(d);v=e==="table"&&!u?l.firstChild&&l.firstChild.childNodes:v[1]===""&&!u?l.childNodes:[]; -for(e=v.length-1;e>=0;--e)b.nodeName(v[e],"tbody")&&!v[e].childNodes.length&&v[e].parentNode.removeChild(v[e])}!b.support.leadingWhitespace&&o.test(d)&&l.insertBefore(c.createTextNode(o.exec(d)[0]),l.firstChild);d=l.childNodes}else d=c.createTextNode(d);var M;if(!b.support.appendChecked)if(d[0]&&typeof(M=d.length)==="number")for(e=0;e=0)return c+"px"}else return c}}});if(!b.support.opacity)b.cssHooks.opacity={get:function(a,c){return Fa.test((c&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(a,c){var h=a.style,f=a.currentStyle;h.zoom=1;var e=b.isNaN(c)?"":"alpha(opacity="+c*100+")",f=f&&f.filter||h.filter||"";h.filter=Da.test(f)?f.replace(Da,e):f+" "+e}};b(function(){if(!b.support.reliableMarginRight)b.cssHooks.marginRight= -{get:function(a,c){var h;b.swap(a,{display:"inline-block"},function(){h=c?Ma(a,"margin-right","marginRight"):a.style.marginRight});return h}}});y.defaultView&&y.defaultView.getComputedStyle&&(cb=function(a,c){var h,f,c=c.replace(La,"-$1").toLowerCase();if(!(f=a.ownerDocument.defaultView))return g;if(f=f.getComputedStyle(a,null))h=f.getPropertyValue(c),h===""&&!b.contains(a.ownerDocument.documentElement,a)&&(h=b.style(a,c));return h});y.documentElement.currentStyle&&(Sa=function(a,c){var b,f=a.currentStyle&& -a.currentStyle[c],e=a.runtimeStyle&&a.runtimeStyle[c],j=a.style;if(!bb.test(f)&&pb.test(f)){b=j.left;if(e)a.runtimeStyle.left=a.currentStyle.left;j.left=c==="fontSize"?"1em":f||0;f=j.pixelLeft+"px";j.left=b;if(e)a.runtimeStyle.left=e}return f===""?"auto":f});Ma=cb||Sa;if(b.expr&&b.expr.filters)b.expr.filters.hidden=function(a){var c=a.offsetHeight;return a.offsetWidth===0&&c===0||!b.support.reliableHiddenOffsets&&(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)}; -var ub=/%20/g,nb=/\[\]$/,db=/\r?\n/g,vb=/#.*$/,wb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,xb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,yb=/^(?:GET|HEAD)$/,zb=/^\/\//,eb=/\?/,Ab=/)<[^<]*)*<\/script>/gi,Bb=/^(?:select|textarea)/i,$a=/\s+/,Cb=/([?&])_=[^&]*/,fb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,gb=b.fn.load,Ua={},hb={},Ga,Ha;try{Ga=Z.href}catch(Ib){Ga=y.createElement("a"),Ga.href="",Ga=Ga.href}Ha=fb.exec(Ga.toLowerCase())|| -[];b.fn.extend({load:function(a,c,h){if(typeof a!=="string"&&gb)return gb.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0)var e=a.slice(f,a.length),a=a.slice(0,f);f="GET";c&&(b.isFunction(c)?(h=c,c=g):typeof c==="object"&&(c=b.param(c,b.ajaxSettings.traditional),f="POST"));var j=this;b.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,c,f){f=a.responseText;a.isResolved()&&(a.done(function(a){f=a}),j.html(e?b("
").append(f.replace(Ab,"")).find(e): -f));h&&j.each(h,[f,c,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Bb.test(this.nodeName)||xb.test(this.type))}).map(function(a,c){var h=b(this).val();return h==null?null:b.isArray(h)?b.map(h,function(a){return{name:c.name,value:a.replace(db,"\r\n")}}):{name:c.name,value:h.replace(db,"\r\n")}}).get()}}); -b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(a){return this.bind(c,a)}});b.each(["get","post"],function(a,c){b[c]=function(a,f,e,j){b.isFunction(f)&&(j=j||e,e=f,f=g);return b.ajax({type:c,url:a,data:f,success:e,dataType:j})}});b.extend({getScript:function(a,c){return b.get(a,g,c,"script")},getJSON:function(a,c,h){return b.get(a,c,h,"json")},ajaxSetup:function(a,c){c?b.extend(!0,a,b.ajaxSettings,c):(c=a,a=b.extend(!0,b.ajaxSettings, -c));for(var h in{context:1,url:1})h in c?a[h]=c[h]:h in b.ajaxSettings&&(a[h]=b.ajaxSettings[h]);return a},ajaxSettings:{url:Ga,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Ha[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML", -text:"responseText"},converters:{"* text":d.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:S(Ua),ajaxTransport:S(hb),ajax:function(a,c){function h(a,c,h,l){if($!==2){$=2;ma&&clearTimeout(ma);W=g;P=l||"";n.readyState=a?4:0;var M,z,J;if(h){var l=f,w=n,za=l.contents,q=l.dataTypes,r=l.responseFields,x,p,da,ua;for(p in r)p in h&&(w[r[p]]=h[p]);for(;q[0]==="*";)q.shift(),x===g&&(x=l.mimeType||w.getResponseHeader("content-type"));if(x)for(p in za)if(za[p]&&za[p].test(x)){q.unshift(p); -break}if(q[0]in h)da=q[0];else{for(p in h){if(!q[0]||l.converters[p+" "+q[0]]){da=p;break}ua||(ua=p)}da=da||ua}da?(da!==q[0]&&q.unshift(da),h=h[da]):h=void 0}else h=g;if(a>=200&&a<300||a===304){if(f.ifModified){if(x=n.getResponseHeader("Last-Modified"))b.lastModified[u]=x;if(x=n.getResponseHeader("Etag"))b.etag[u]=x}if(a===304)c="notmodified",M=!0;else try{x=f;x.dataFilter&&(h=x.dataFilter(h,x.dataType));var t=x.dataTypes;p={};var Fa,Ka,y=t.length,La,E=t[0],Da,F,A,Q,C;for(Fa=1;Fa0&&(ma=setTimeout(function(){n.abort("timeout")},f.timeout));try{$=1,W.send(l,h)}catch(q){status< -2?h(-1,q):b.error(q)}}else h(-1,"No Transport");return n},param:function(a,c){var f=[],e=function(a,c){c=b.isFunction(c)?c():c;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)};if(c===g)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){e(this.name,this.value)});else for(var j in a)X(j,a[j],c,e);return f.join("&").replace(ub,"+")}});b.extend({active:0,lastModified:{},etag:{}});var Db=b.now(),Ta=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback", -jsonpCallback:function(){return b.expando+"_"+Db++}});b.ajaxPrefilter("json jsonp",function(a,c,f){c=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==!1&&(Ta.test(a.url)||c&&Ta.test(a.data))){var e,j=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,o=d[j],v=a.url,u=a.data,l="$1"+j+"$2";a.jsonp!==!1&&(v=v.replace(Ta,l),a.url===v&&(c&&(u=u.replace(Ta,l)),a.data===u&&(v+=(/\?/.test(v)?"&":"?")+a.jsonp+ -"="+j)));a.url=v;a.data=u;d[j]=function(a){e=[a]};f.always(function(){d[j]=o;if(e&&b.isFunction(o))d[j](e[0])});a.converters["script json"]=function(){e||b.error(j+" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);return a}}});b.ajaxPrefilter("script",function(a){if(a.cache=== -g)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});b.ajaxTransport("script",function(a){if(a.crossDomain){var c,b=y.head||y.getElementsByTagName("head")[0]||y.documentElement;return{send:function(f,e){c=y.createElement("script");c.async="async";if(a.scriptCharset)c.charset=a.scriptCharset;c.src=a.url;c.onload=c.onreadystatechange=function(a,f){if(f||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,b&&c.parentNode&&b.removeChild(c),c=g,f||e(200,"success")}; -b.insertBefore(c,b.firstChild)},abort:function(){if(c)c.onload(0,1)}}}});var Ya=d.ActiveXObject?function(){for(var a in Na)Na[a](0,1)}:!1,Eb=0,Na;b.ajaxSettings.xhr=d.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&L()))a:{try{a=new d.ActiveXObject("Microsoft.XMLHTTP");break a}catch(c){}a=void 0}return a}:L;(function(a){b.extend(b.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(b.ajaxSettings.xhr());b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||b.support.cors){var c;return{send:function(f, -e){var j=a.xhr(),o,v;a.username?j.open(a.type,a.url,a.async,a.username,a.password):j.open(a.type,a.url,a.async);if(a.xhrFields)for(v in a.xhrFields)j[v]=a.xhrFields[v];a.mimeType&&j.overrideMimeType&&j.overrideMimeType(a.mimeType);!a.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(v in f)j.setRequestHeader(v,f[v])}catch(u){}j.send(a.hasContent&&a.data||null);c=function(f,h){var d,v,u,l,M;try{if(c&&(h||j.readyState===4)){c=g;if(o)j.onreadystatechange=b.noop,Ya&& -delete Na[o];if(h)j.readyState!==4&&j.abort();else{d=j.status;u=j.getAllResponseHeaders();l={};if((M=j.responseXML)&&M.documentElement)l.xml=M;l.text=j.responseText;try{v=j.statusText}catch(P){v=""}!d&&a.isLocal&&!a.crossDomain?d=l.text?200:404:d===1223&&(d=204)}}}catch(z){h||e(-1,z)}l&&e(d,v,l,u)};!a.async||j.readyState===4?c():(o=++Eb,Ya&&(Na||(Na={},b(d).unload(Ya)),Na[o]=c),j.onreadystatechange=c)},abort:function(){c&&c(0,1)}}}});var Va={},Ba,Pa,Fb=/^(?:toggle|show|hide)$/,Gb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, -Oa,ab=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Qa,Za=d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.oRequestAnimationFrame;b.fn.extend({show:function(a,c,f){if(a||a===0)return this.animate(ha("show",3),a,c,f);else{for(var f=0,e=this.length;f=j.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();j.animatedProperties[this.prop]=!0;for(d in j.animatedProperties)j.animatedProperties[d]!==!0&&(f=!1);if(f){j.overflow!=null&&!b.support.shrinkWrapBlocks&&b.each(["", -"X","Y"],function(a,c){e.style["overflow"+c]=j.overflow[a]});j.hide&&b(e).hide();if(j.hide||j.show)for(var o in j.animatedProperties)b.style(e,o,j.orig[o]);j.complete.call(e)}return!1}else j.duration==Infinity?this.now=c:(a=c-this.startTime,this.state=a/j.duration,this.pos=b.easing[j.animatedProperties[this.prop]](this.state,a,0,1,j.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c-1?(l=j.position(),e=l.top,v=l.left):(e=parseFloat(o)||0,v=parseFloat(v)||0);b.isFunction(c)&&(c=c.call(a,f,d));if(c.top!=null)u.top=c.top-d.top+e;if(c.left!=null)u.left=c.left-d.left+v;"using"in c?c.using.call(a,u):j.css(u)}};b.fn.extend({position:function(){if(!this[0])return null; -var a=this[0],c=this.offsetParent(),f=this.offset(),e=ib.test(c[0].nodeName)?{top:0,left:0}:c.offset();f.top-=parseFloat(b.css(a,"marginTop"))||0;f.left-=parseFloat(b.css(a,"marginLeft"))||0;e.top+=parseFloat(b.css(c[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(c[0],"borderLeftWidth"))||0;return{top:f.top-e.top,left:f.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||y.body;a&&!ib.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}}); -b.each(["Left","Top"],function(a,c){var f="scroll"+c;b.fn[f]=function(c){var e,j;if(c===g){e=this[0];if(!e)return null;return(j=va(e))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&j.document.documentElement[f]||j.document.body[f]:e[f]}return this.each(function(){(j=va(this))?j.scrollTo(!a?c:b(j).scrollLeft(),a?c:b(j).scrollTop()):this[f]=c})}});b.each(["Height","Width"],function(a,c){var f=c.toLowerCase();b.fn["inner"+c]=function(){return this[0]?parseFloat(b.css(this[0], -f,"padding")):null};b.fn["outer"+c]=function(a){return this[0]?parseFloat(b.css(this[0],f,a?"margin":"border")):null};b.fn[f]=function(a){var e=this[0];if(!e)return a==null?null:this;if(b.isFunction(a))return this.each(function(c){var e=b(this);e[f](a.call(this,c,e[f]()))});if(b.isWindow(e)){var j=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&j||e.document.body["client"+c]||j}else return e.nodeType===9?Math.max(e.documentElement["client"+c],e.body["scroll"+c], -e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]):a===g?(e=b.css(e,f),j=parseFloat(e),b.isNaN(j)?e:j):this.css(f,typeof a==="string"?a:a+"px")}});d.jQuery=d.$=b})(window); +this.pushStack(this,"after",arguments);a.push.apply(a,b(arguments[0]).toArray());return a}},remove:function(a,c){for(var g=0,k;(k=this[g])!=null;g++)if(!a||b.filter(a,[k]).length)!c&&k.nodeType===1&&(b.cleanData(k.getElementsByTagName("*")),b.cleanData([k])),k.parentNode&&k.parentNode.removeChild(k);return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&&b.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a,c){a= +a==null?!1:a;c=c==null?a:c;return this.map(function(){return b.clone(this,a,c)})},html:function(a){if(a===h)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(M,""):null;else if(typeof a==="string"&&!za.test(a)&&(b.support.leadingWhitespace||!l.test(a))&&!na[(W.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(P,"<$1>");try{for(var c=0,g=this.length;c1&&f0?this.clone(!0):this).get();b(g[f])[c](j);k=k.concat(j)}return this.pushStack(k,a,g.selector)}}});b.extend({clone:function(a,c,g){var k=a.cloneNode(!0),f,e,j;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!b.isXMLDoc(a)){r(a,k);f=o(a);e=o(k);for(j=0;f[j];++j)r(f[j],e[j])}if(c&&(G(a,k),g)){f=o(a);e=o(k);for(j=0;f[j];++j)G(f[j], +e[j])}return k},clean:function(a,c,g,k){c=c||y;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||y);for(var f=[],e,j=0,d;(d=a[j])!=null;j++)if(typeof d==="number"&&(d+=""),d){if(typeof d==="string")if(ma.test(d)){d=d.replace(P,"<$1>");e=(W.exec(d)||["",""])[1].toLowerCase();var v=na[e]||na._default,t=v[0],n=c.createElement("div");for(n.innerHTML=v[1]+d+v[2];t--;)n=n.lastChild;if(!b.support.tbody){t=Aa.test(d);v=e==="table"&&!t?n.firstChild&&n.firstChild.childNodes: +v[1]==="
"&&!t?n.childNodes:[];for(e=v.length-1;e>=0;--e)b.nodeName(v[e],"tbody")&&!v[e].childNodes.length&&v[e].parentNode.removeChild(v[e])}!b.support.leadingWhitespace&&l.test(d)&&n.insertBefore(c.createTextNode(l.exec(d)[0]),n.firstChild);d=n.childNodes}else d=c.createTextNode(d);var M;if(!b.support.appendChecked)if(d[0]&&typeof(M=d.length)==="number")for(e=0;e=0)return c+"px"}else return c}}});if(!b.support.opacity)b.cssHooks.opacity={get:function(a,c){return Fa.test((c&&a.currentStyle?a.currentStyle.filter: +a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(a,c){var g=a.style,f=a.currentStyle;g.zoom=1;var e=b.isNaN(c)?"":"alpha(opacity="+c*100+")",f=f&&f.filter||g.filter||"";g.filter=Da.test(f)?f.replace(Da,e):f+" "+e}};b(function(){if(!b.support.reliableMarginRight)b.cssHooks.marginRight={get:function(a,c){var g;b.swap(a,{display:"inline-block"},function(){g=c?Ja(a,"margin-right","marginRight"):a.style.marginRight});return g}}});y.defaultView&&y.defaultView.getComputedStyle&&($a= +function(a,c){var g,f,c=c.replace(ua,"-$1").toLowerCase();if(!(f=a.ownerDocument.defaultView))return h;if(f=f.getComputedStyle(a,null))g=f.getPropertyValue(c),g===""&&!b.contains(a.ownerDocument.documentElement,a)&&(g=b.style(a,c));return g});y.documentElement.currentStyle&&(ab=function(a,c){var b,f=a.currentStyle&&a.currentStyle[c],e=a.runtimeStyle&&a.runtimeStyle[c],j=a.style;if(!Ga.test(f)&&nb.test(f)){b=j.left;if(e)a.runtimeStyle.left=a.currentStyle.left;j.left=c==="fontSize"?"1em":f||0;f=j.pixelLeft+ +"px";j.left=b;if(e)a.runtimeStyle.left=e}return f===""?"auto":f});Ja=$a||ab;if(b.expr&&b.expr.filters)b.expr.filters.hidden=function(a){var c=a.offsetHeight;return a.offsetWidth===0&&c===0||!b.support.reliableHiddenOffsets&&(a.style.display||b.css(a,"display"))==="none"},b.expr.filters.visible=function(a){return!b.expr.filters.hidden(a)};var rb=/%20/g,kb=/\[\]$/,bb=/\r?\n/g,sb=/#.*$/,tb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ub=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, +vb=/^(?:GET|HEAD)$/,wb=/^\/\//,cb=/\?/,xb=/)<[^<]*)*<\/script>/gi,yb=/^(?:select|textarea)/i,Ya=/\s+/,zb=/([?&])_=[^&]*/,db=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,eb=b.fn.load,Ua={},fb={},Ha,Ia;try{Ha=Y.href}catch(Fb){Ha=y.createElement("a"),Ha.href="",Ha=Ha.href}Ia=db.exec(Ha.toLowerCase())||[];b.fn.extend({load:function(a,c,g){if(typeof a!=="string"&&eb)return eb.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0)var e=a.slice(f, +a.length),a=a.slice(0,f);f="GET";c&&(b.isFunction(c)?(g=c,c=h):typeof c==="object"&&(c=b.param(c,b.ajaxSettings.traditional),f="POST"));var j=this;b.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,c,f){f=a.responseText;a.isResolved()&&(a.done(function(a){f=a}),j.html(e?b("
").append(f.replace(xb,"")).find(e):f));g&&j.each(g,[f,c,a])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements? +b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yb.test(this.nodeName)||ub.test(this.type))}).map(function(a,c){var g=b(this).val();return g==null?null:b.isArray(g)?b.map(g,function(a){return{name:c.name,value:a.replace(bb,"\r\n")}}):{name:c.name,value:g.replace(bb,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,c){b.fn[c]=function(a){return this.bind(c,a)}});b.each(["get","post"], +function(a,c){b[c]=function(a,f,e,j){b.isFunction(f)&&(j=j||e,e=f,f=h);return b.ajax({type:c,url:a,data:f,success:e,dataType:j})}});b.extend({getScript:function(a,c){return b.get(a,h,c,"script")},getJSON:function(a,c,g){return b.get(a,c,g,"json")},ajaxSetup:function(a,c){c?b.extend(!0,a,b.ajaxSettings,c):(c=a,a=b.extend(!0,b.ajaxSettings,c));for(var g in{context:1,url:1})g in c?a[g]=c[g]:g in b.ajaxSettings&&(a[g]=b.ajaxSettings[g]);return a},ajaxSettings:{url:Ha,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Ia[1]), +global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":d.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:S(Ua),ajaxTransport:S(fb),ajax:function(a,c){function g(a,c,g,n){if(ha!== +2){ha=2;ma&&clearTimeout(ma);W=h;P=n||"";u.readyState=a?4:0;var M,w,J;if(g){var n=f,o=u,za=n.contents,r=n.dataTypes,q=n.responseFields,x,p,ca,ua;for(p in q)p in g&&(o[q[p]]=g[p]);for(;r[0]==="*";)r.shift(),x===h&&(x=n.mimeType||o.getResponseHeader("content-type"));if(x)for(p in za)if(za[p]&&za[p].test(x)){r.unshift(p);break}if(r[0]in g)ca=r[0];else{for(p in g){if(!r[0]||n.converters[p+" "+r[0]]){ca=p;break}ua||(ua=p)}ca=ca||ua}ca?(ca!==r[0]&&r.unshift(ca),g=g[ca]):g=void 0}else g=h;if(a>=200&&a<300|| +a===304){if(f.ifModified){if(x=u.getResponseHeader("Last-Modified"))b.lastModified[t]=x;if(x=u.getResponseHeader("Etag"))b.etag[t]=x}if(a===304)c="notmodified",M=!0;else try{x=f;x.dataFilter&&(g=x.dataFilter(g,x.dataType));var A=x.dataTypes;p={};var Fa,Na,y=A.length,Ga,E=A[0],Da,F,z,Q,C;for(Fa=1;Fa0&&(ma=setTimeout(function(){u.abort("timeout")},f.timeout));try{ha=1,W.send(n,g)}catch(r){status<2?g(-1,r):b.error(r)}}else g(-1,"No Transport");return u},param:function(a,c){var f=[],e=function(a,c){c=b.isFunction(c)?c():c;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)}; +if(c===h)c=b.ajaxSettings.traditional;if(b.isArray(a)||a.jquery&&!b.isPlainObject(a))b.each(a,function(){e(this.name,this.value)});else for(var j in a)X(j,a[j],c,e);return f.join("&").replace(rb,"+")}});b.extend({active:0,lastModified:{},etag:{}});var Ab=b.now(),Ta=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+Ab++}});b.ajaxPrefilter("json jsonp",function(a,c,f){c=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]=== +"jsonp"||a.jsonp!==!1&&(Ta.test(a.url)||c&&Ta.test(a.data))){var e,j=a.jsonpCallback=b.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,l=d[j],v=a.url,t=a.data,n="$1"+j+"$2";a.jsonp!==!1&&(v=v.replace(Ta,n),a.url===v&&(c&&(t=t.replace(Ta,n)),a.data===t&&(v+=(/\?/.test(v)?"&":"?")+a.jsonp+"="+j)));a.url=v;a.data=t;d[j]=function(a){e=[a]};f.always(function(){d[j]=l;if(e&&b.isFunction(l))d[j](e[0])});a.converters["script json"]=function(){e||b.error(j+" was not called");return e[0]};a.dataTypes[0]= +"json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){b.globalEval(a);return a}}});b.ajaxPrefilter("script",function(a){if(a.cache===h)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});b.ajaxTransport("script",function(a){if(a.crossDomain){var c,b=y.head||y.getElementsByTagName("head")[0]||y.documentElement;return{send:function(f, +e){c=y.createElement("script");c.async="async";if(a.scriptCharset)c.charset=a.scriptCharset;c.src=a.url;c.onload=c.onreadystatechange=function(a,f){if(f||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,b&&c.parentNode&&b.removeChild(c),c=h,f||e(200,"success")};b.insertBefore(c,b.firstChild)},abort:function(){if(c)c.onload(0,1)}}}});var Wa=d.ActiveXObject?function(){for(var a in Oa)Oa[a](0,1)}:!1,Bb=0,Oa;b.ajaxSettings.xhr=d.ActiveXObject?function(){var a;if(!(a= +!this.isLocal&&L()))a:{try{a=new d.ActiveXObject("Microsoft.XMLHTTP");break a}catch(c){}a=void 0}return a}:L;(function(a){b.extend(b.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(b.ajaxSettings.xhr());b.support.ajax&&b.ajaxTransport(function(a){if(!a.crossDomain||b.support.cors){var c;return{send:function(f,e){var j=a.xhr(),l,v;a.username?j.open(a.type,a.url,a.async,a.username,a.password):j.open(a.type,a.url,a.async);if(a.xhrFields)for(v in a.xhrFields)j[v]=a.xhrFields[v];a.mimeType&&j.overrideMimeType&& +j.overrideMimeType(a.mimeType);!a.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(v in f)j.setRequestHeader(v,f[v])}catch(t){}j.send(a.hasContent&&a.data||null);c=function(f,g){var d,v,t,n,M;try{if(c&&(g||j.readyState===4)){c=h;if(l)j.onreadystatechange=b.noop,Wa&&delete Oa[l];if(g)j.readyState!==4&&j.abort();else{d=j.status;t=j.getAllResponseHeaders();n={};if((M=j.responseXML)&&M.documentElement)n.xml=M;n.text=j.responseText;try{v=j.statusText}catch(P){v=""}!d&& +a.isLocal&&!a.crossDomain?d=n.text?200:404:d===1223&&(d=204)}}}catch(w){g||e(-1,w)}n&&e(d,v,n,t)};!a.async||j.readyState===4?c():(l=++Bb,Wa&&(Oa||(Oa={},b(d).unload(Wa)),Oa[l]=c),j.onreadystatechange=c)},abort:function(){c&&c(0,1)}}}});var Va={},Ca,Ka,Cb=/^(?:toggle|show|hide)$/,Db=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Pa,Za=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Ra,Xa=d.webkitRequestAnimationFrame|| +d.mozRequestAnimationFrame||d.oRequestAnimationFrame;b.fn.extend({show:function(a,c,f){if(a||a===0)return this.animate(ga("show",3),a,c,f);else{for(var f=0,e=this.length;f=j.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();j.animatedProperties[this.prop]=!0;for(d in j.animatedProperties)j.animatedProperties[d]!==!0&&(f=!1);if(f){j.overflow!=null&&!b.support.shrinkWrapBlocks&&b.each(["","X","Y"],function(a,c){e.style["overflow"+c]=j.overflow[a]});j.hide&&b(e).hide();if(j.hide||j.show)for(var l in j.animatedProperties)b.style(e,l,j.orig[l]);j.complete.call(e)}return!1}else j.duration== +Infinity?this.now=c:(a=c-this.startTime,this.state=a/j.duration,this.pos=b.easing[j.animatedProperties[this.prop]](this.state,a,0,1,j.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};b.extend(b.fx,{tick:function(){for(var a=b.timers,c=0;c
"; +a.insertBefore(c,a.firstChild);f=c.firstChild;e=f.firstChild;j=f.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=j.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";f.style.overflow="hidden";f.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==d;a.removeChild(c); +b.offset.initialize=b.noop},bodyOffset:function(a){var c=a.offsetTop,f=a.offsetLeft;b.offset.initialize();b.offset.doesNotIncludeMarginInBodyOffset&&(c+=parseFloat(b.css(a,"marginTop"))||0,f+=parseFloat(b.css(a,"marginLeft"))||0);return{top:c,left:f}},setOffset:function(a,c,f){var e=b.css(a,"position");if(e==="static")a.style.position="relative";var j=b(a),d=j.offset(),l=b.css(a,"top"),v=b.css(a,"left"),t={},n={};(e==="absolute"||e==="fixed")&&b.inArray("auto",[l,v])>-1?(n=j.position(),e=n.top,v= +n.left):(e=parseFloat(l)||0,v=parseFloat(v)||0);b.isFunction(c)&&(c=c.call(a,f,d));if(c.top!=null)t.top=c.top-d.top+e;if(c.left!=null)t.left=c.left-d.left+v;"using"in c?c.using.call(a,t):j.css(t)}};b.fn.extend({position:function(){if(!this[0])return null;var a=this[0],c=this.offsetParent(),f=this.offset(),e=gb.test(c[0].nodeName)?{top:0,left:0}:c.offset();f.top-=parseFloat(b.css(a,"marginTop"))||0;f.left-=parseFloat(b.css(a,"marginLeft"))||0;e.top+=parseFloat(b.css(c[0],"borderTopWidth"))||0;e.left+= +parseFloat(b.css(c[0],"borderLeftWidth"))||0;return{top:f.top-e.top,left:f.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||y.body;a&&!gb.test(a.nodeName)&&b.css(a,"position")==="static";)a=a.offsetParent;return a})}});b.each(["Left","Top"],function(a,c){var f="scroll"+c;b.fn[f]=function(c){var e,j;if(c===h){e=this[0];if(!e)return null;return(j=va(e))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:b.support.boxModel&&j.document.documentElement[f]|| +j.document.body[f]:e[f]}return this.each(function(){(j=va(this))?j.scrollTo(!a?c:b(j).scrollLeft(),a?c:b(j).scrollTop()):this[f]=c})}});b.each(["Height","Width"],function(a,c){var f=c.toLowerCase();b.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(b.css(a,f,"padding")):null};b.fn["outer"+c]=function(a){var c=this[0];return c&&c.style?parseFloat(b.css(c,f,a?"margin":"border")):null};b.fn[f]=function(a){var e=this[0];if(!e)return a==null?null:this;if(b.isFunction(a))return this.each(function(c){var e= +b(this);e[f](a.call(this,c,e[f]()))});if(b.isWindow(e)){var j=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&j||e.document.body["client"+c]||j}else return e.nodeType===9?Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]):a===h?(e=b.css(e,f),j=parseFloat(e),b.isNaN(j)?e:j):this.css(f,typeof a==="string"?a:a+"px")}});d.jQuery=d.$=b})(window); // Input 1 -document.createElement("canvas").getContext||function(){function d(){return this.context_||(this.context_=new n(this))}function g(e,d){var z=b.call(arguments,2);return function(){return e.apply(d,z.concat(b.call(arguments)))}}function F(b){return String(b).replace(/&/g,"&").replace(/"/g,""")}function p(b){b.namespaces.g_vml_||b.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML");b.namespaces.g_o_||b.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML"); +document.createElement("canvas").getContext||function(){function d(){return this.context_||(this.context_=new o(this))}function h(e,d){var w=b.call(arguments,2);return function(){return e.apply(d,w.concat(b.call(arguments)))}}function F(b){return String(b).replace(/&/g,"&").replace(/"/g,""")}function p(b){b.namespaces.g_vml_||b.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML");b.namespaces.g_o_||b.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML"); if(!b.styleSheets.ex_canvas_)b=b.createStyleSheet(),b.owningElement.id="ex_canvas_",b.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}function C(b){var d=b.srcElement;switch(b.propertyName){case "width":d.getContext().clearRect();d.style.width=d.attributes.width.nodeValue+"px";d.firstChild.style.width=d.clientWidth+"px";break;case "height":d.getContext().clearRect(),d.style.height=d.attributes.height.nodeValue+"px",d.firstChild.style.height=d.clientHeight+ -"px"}}function B(b){b=b.srcElement;if(b.firstChild)b.firstChild.style.width=b.clientWidth+"px",b.firstChild.style.height=b.clientHeight+"px"}function r(){return[[1,0,0],[0,1,0],[0,0,1]]}function A(b,d){for(var z=r(),g=0;g<3;g++)for(var l=0;l<3;l++){for(var n=0,q=0;q<3;q++)n+=b[g][q]*d[q][l];z[g][l]=n}return z}function N(b,d){d.fillStyle=b.fillStyle;d.lineCap=b.lineCap;d.lineJoin=b.lineJoin;d.lineWidth=b.lineWidth;d.miterLimit=b.miterLimit;d.shadowBlur=b.shadowBlur;d.shadowColor=b.shadowColor;d.shadowOffsetX= -b.shadowOffsetX;d.shadowOffsetY=b.shadowOffsetY;d.strokeStyle=b.strokeStyle;d.globalAlpha=b.globalAlpha;d.font=b.font;d.textAlign=b.textAlign;d.textBaseline=b.textBaseline;d.arcScaleX_=b.arcScaleX_;d.arcScaleY_=b.arcScaleY_;d.lineScale_=b.lineScale_}function K(b){var d=b.indexOf("(",3),z=b.indexOf(")",d+1),d=b.substring(d+1,z).split(",");if(d.length!=4||b.charAt(3)!="a")d[3]=1;return d}function I(b,d,z){return Math.min(z,Math.max(d,b))}function G(b,d,z){z<0&&z++;z>1&&z--;return 6*z<1?b+(d-b)*6*z: -2*z<1?d:3*z<2?b+(d-b)*(2/3-z)*6:b}function q(b){if(b in ca)return ca[b];var d,z=1,b=String(b);if(b.charAt(0)=="#")d=b;else if(/^rgb/.test(b)){z=K(b);d="#";for(var g,l=0;l<3;l++)g=z[l].indexOf("%")!=-1?Math.floor(parseFloat(z[l])/100*255):+z[l],d+=ba[I(g,0,255)];z=+z[3]}else if(/^hsl/.test(b)){l=z=K(b);d=parseFloat(l[0])/360%360;d<0&&d++;g=I(parseFloat(l[1])/100,0,1);l=I(parseFloat(l[2])/100,0,1);if(g==0)g=l=d=l;else{var n=l<0.5?l*(1+g):l+g-l*g,q=2*l-n;g=G(q,n,d+1/3);l=G(q,n,d);d=G(q,n,d-1/3)}d="#"+ -ba[Math.floor(g*255)]+ba[Math.floor(l*255)]+ba[Math.floor(d*255)];z=z[3]}else d=ja[b]||b;return ca[b]={color:d,alpha:z}}function n(b){this.m_=r();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=T*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=b;var d="width:"+b.clientWidth+"px;height:"+b.clientHeight+"px;overflow:hidden;position:absolute", -z=b.ownerDocument.createElement("div");z.style.cssText=d;b.appendChild(z);d=z.cloneNode(!1);d.style.backgroundColor="red";d.style.filter="alpha(opacity=0)";b.appendChild(d);this.element_=z;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function t(b,d,z,g){b.currentPath_.push({type:"bezierCurveTo",cp1x:d.x,cp1y:d.y,cp2x:z.x,cp2y:z.y,x:g.x,y:g.y});b.currentX_=g.x;b.currentY_=g.y}function V(b,d){var z=q(b.strokeStyle),g=z.color,z=z.alpha*b.globalAlpha,l=b.lineScale_*b.lineWidth;l<1&&(z*=l);d.push("')}function Q(b,d,z,g){var l=b.fillStyle,n=b.arcScaleX_,p=b.arcScaleY_,r=g.x-z.x,w=g.y-z.y;if(l instanceof x){var t=0,g={x:0,y:0},y=0,A=1;if(l.type_=="gradient"){var t=l.x1_/n,z=l.y1_/p,E=R(b,l.x0_/n,l.y0_/p),t=R(b,t,z),t=Math.atan2(t.x-E.x,t.y-E.y)*180/Math.PI;t<0&&(t+=360);t<1.0E-6&&(t=0)}else E=R(b,l.x0_,l.y0_),g={x:(E.x-z.x)/r,y:(E.y-z.y)/ -w},r/=n*T,w/=p*T,A=ga.max(r,w),y=2*l.r0_/A,A=2*l.r1_/A-y;n=l.colors_;n.sort(function(b,e){return b.offset-e.offset});for(var p=n.length,E=n[0].color,z=n[p-1].color,r=n[0].alpha*b.globalAlpha,b=n[p-1].alpha*b.globalAlpha,w=[],Q=0;Q')}else l instanceof X?r&&w&&d.push("'):(l=q(b.fillStyle),d.push(''))}function R(b,d,g){b=b.m_;return{x:T*(d*b[0][0]+g*b[1][0]+b[2][0])-Z,y:T*(d*b[0][1]+g*b[1][1]+b[2][1])-Z}}function S(b,d,g){if(isFinite(d[0][0])&&isFinite(d[0][1])&&isFinite(d[1][0])&&isFinite(d[1][1])&&isFinite(d[2][0])&&isFinite(d[2][1])&&(b.m_=d,g))b.lineScale_= +"px"}}function B(b){b=b.srcElement;if(b.firstChild)b.firstChild.style.width=b.clientWidth+"px",b.firstChild.style.height=b.clientHeight+"px"}function q(){return[[1,0,0],[0,1,0],[0,0,1]]}function z(b,d){for(var w=q(),h=0;h<3;h++)for(var n=0;n<3;n++){for(var o=0,r=0;r<3;r++)o+=b[h][r]*d[r][n];w[h][n]=o}return w}function N(b,d){d.fillStyle=b.fillStyle;d.lineCap=b.lineCap;d.lineJoin=b.lineJoin;d.lineWidth=b.lineWidth;d.miterLimit=b.miterLimit;d.shadowBlur=b.shadowBlur;d.shadowColor=b.shadowColor;d.shadowOffsetX= +b.shadowOffsetX;d.shadowOffsetY=b.shadowOffsetY;d.strokeStyle=b.strokeStyle;d.globalAlpha=b.globalAlpha;d.font=b.font;d.textAlign=b.textAlign;d.textBaseline=b.textBaseline;d.arcScaleX_=b.arcScaleX_;d.arcScaleY_=b.arcScaleY_;d.lineScale_=b.lineScale_}function K(b){var d=b.indexOf("(",3),w=b.indexOf(")",d+1),d=b.substring(d+1,w).split(",");if(d.length!=4||b.charAt(3)!="a")d[3]=1;return d}function I(b,d,w){return Math.min(w,Math.max(d,b))}function G(b,d,w){w<0&&w++;w>1&&w--;return 6*w<1?b+(d-b)*6*w: +2*w<1?d:3*w<2?b+(d-b)*(2/3-w)*6:b}function r(b){if(b in ba)return ba[b];var d,w=1,b=String(b);if(b.charAt(0)=="#")d=b;else if(/^rgb/.test(b)){w=K(b);d="#";for(var h,n=0;n<3;n++)h=w[n].indexOf("%")!=-1?Math.floor(parseFloat(w[n])/100*255):+w[n],d+=aa[I(h,0,255)];w=+w[3]}else if(/^hsl/.test(b)){n=w=K(b);d=parseFloat(n[0])/360%360;d<0&&d++;h=I(parseFloat(n[1])/100,0,1);n=I(parseFloat(n[2])/100,0,1);if(h==0)h=n=d=n;else{var o=n<0.5?n*(1+h):n+h-n*h,r=2*n-o;h=G(r,o,d+1/3);n=G(r,o,d);d=G(r,o,d-1/3)}d="#"+ +aa[Math.floor(h*255)]+aa[Math.floor(n*255)]+aa[Math.floor(d*255)];w=w[3]}else d=ja[b]||b;return ba[b]={color:d,alpha:w}}function o(b){this.m_=q();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=T*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=b;var d="width:"+b.clientWidth+"px;height:"+b.clientHeight+"px;overflow:hidden;position:absolute", +w=b.ownerDocument.createElement("div");w.style.cssText=d;b.appendChild(w);d=w.cloneNode(!1);d.style.backgroundColor="red";d.style.filter="alpha(opacity=0)";b.appendChild(d);this.element_=w;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function A(b,d,w,h){b.currentPath_.push({type:"bezierCurveTo",cp1x:d.x,cp1y:d.y,cp2x:w.x,cp2y:w.y,x:h.x,y:h.y});b.currentX_=h.x;b.currentY_=h.y}function V(b,d){var w=r(b.strokeStyle),h=w.color,w=w.alpha*b.globalAlpha,n=b.lineScale_*b.lineWidth;n<1&&(w*=n);d.push("')}function Q(b,d,w,h){var n=b.fillStyle,o=b.arcScaleX_,p=b.arcScaleY_,q=h.x-w.x,u=h.y-w.y;if(n instanceof x){var A=0,h={x:0,y:0},y=0,z=1;if(n.type_=="gradient"){var A=n.x1_/o,w=n.y1_/p,E=R(b,n.x0_/o,n.y0_/p),A=R(b,A,w),A=Math.atan2(A.x-E.x,A.y-E.y)*180/Math.PI;A<0&&(A+=360);A<1.0E-6&&(A=0)}else E=R(b,n.x0_,n.y0_),h={x:(E.x-w.x)/q,y:(E.y-w.y)/ +u},q/=o*T,u/=p*T,z=fa.max(q,u),y=2*n.r0_/z,z=2*n.r1_/z-y;o=n.colors_;o.sort(function(b,e){return b.offset-e.offset});for(var p=o.length,E=o[0].color,w=o[p-1].color,q=o[0].alpha*b.globalAlpha,b=o[p-1].alpha*b.globalAlpha,u=[],Q=0;Q')}else n instanceof X?q&&u&&d.push("'):(n=r(b.fillStyle),d.push(''))}function R(b,d,w){b=b.m_;return{x:T*(d*b[0][0]+w*b[1][0]+b[2][0])-Y,y:T*(d*b[0][1]+w*b[1][1]+b[2][1])-Y}}function S(b,d,w){if(isFinite(d[0][0])&&isFinite(d[0][1])&&isFinite(d[1][0])&&isFinite(d[1][1])&&isFinite(d[2][0])&&isFinite(d[2][1])&&(b.m_=d,w))b.lineScale_= y(va(d[0][0]*d[1][1]-d[0][1]*d[1][0]))}function x(b){this.type_=b;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function X(b,d){if(!b||b.nodeType!=1||b.tagName!="IMG")throw new L("TYPE_MISMATCH_ERR");if(b.readyState!="complete")throw new L("INVALID_STATE_ERR");switch(d){case "repeat":case null:case "":this.repetition_="repeat";break;case "repeat-x":case "repeat-y":case "no-repeat":this.repetition_=d;break;default:throw new L("SYNTAX_ERR");}this.src_=b.src;this.width_=b.width; -this.height_=b.height}function L(b){this.code=this[b];this.message=b+": DOM Exception "+this.code}var ga=Math,O=ga.round,ha=ga.sin,qa=ga.cos,va=ga.abs,y=ga.sqrt,T=10,Z=T/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var b=Array.prototype.slice;p(document);var aa={init:function(b){b=b||document;b.createElement("canvas");b.attachEvent("onreadystatechange",g(this.init_,this,b))},init_:function(b){for(var b=b.getElementsByTagName("canvas"),d=0;d','","");this.element_.insertAdjacentHTML("BeforeEnd",y.join(""))};D.stroke=function(b){for(var d={x:null,y:null},g={x:null,y:null},n=0;ng.x)g.x=p.x;if(d.y==null||p.yg.y)g.y=p.y}}l.push(' ">');b? -Q(this,l,d,g):V(this,l);l.push("");this.element_.insertAdjacentHTML("beforeEnd",l.join(""))}};D.fill=function(){this.stroke(!0)};D.closePath=function(){this.currentPath_.push({type:"close"})};D.save=function(){var b={};N(this,b);this.aStack_.push(b);this.mStack_.push(this.m_);this.m_=A(r(),this.m_)};D.restore=function(){if(this.aStack_.length)N(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};D.translate=function(b,d){S(this,A([[1,0,0],[0,1,0],[b,d,1]],this.m_),!1)};D.rotate=function(b){var d= -qa(b),b=ha(b);S(this,A([[d,b,0],[-b,d,0],[0,0,1]],this.m_),!1)};D.scale=function(b,d){this.arcScaleX_*=b;this.arcScaleY_*=d;S(this,A([[b,0,0],[0,d,0],[0,0,1]],this.m_),!0)};D.transform=function(b,d,g,n,l,p){S(this,A([[b,d,0],[g,n,0],[l,p,1]],this.m_),!0)};D.setTransform=function(b,d,g,n,l,p){S(this,[[b,d,0],[g,n,0],[l,p,1]],!0)};D.drawText_=function(b,d,g,n,l){var p=this.m_,n=0,q=1E3,x={x:0,y:0},w=[],r;r=this.font;if(wa[r])r=wa[r];else{var t=document.createElement("div").style;try{t.font=r}catch(A){}r= -wa[r]={style:t.fontStyle||ra.style,variant:t.fontVariant||ra.variant,weight:t.fontWeight||ra.weight,size:t.fontSize||ra.size,family:t.fontFamily||ra.family}}var t=r,y=this.element_;r={};for(var C in t)r[C]=t[C];C=parseFloat(y.currentStyle.fontSize);y=parseFloat(t.size);r.size=typeof t.size=="number"?t.size:t.size.indexOf("px")!=-1?y:t.size.indexOf("em")!=-1?C*y:t.size.indexOf("%")!=-1?C/100*y:t.size.indexOf("pt")!=-1?y/0.75:C;r.size*=0.981;C=r.style+" "+r.variant+" "+r.weight+" "+r.size+"px "+r.family; -y=this.element_.currentStyle;t=this.textAlign.toLowerCase();switch(t){case "left":case "center":case "right":break;case "end":t=y.direction=="ltr"?"right":"left";break;case "start":t=y.direction=="rtl"?"right":"left";break;default:t="left"}switch(this.textBaseline){case "hanging":case "top":x.y=r.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":x.y=-r.size/2.25}switch(t){case "right":n=1E3;q=0.05;break;case "center":n=q=500}d=R(this,d+x.x,g+ -x.y);w.push('');l?V(this,w):Q(this,w,{x:-n,y:0},{x:q,y:r.size});l=p[0][0].toFixed(3)+","+p[1][0].toFixed(3)+","+p[0][1].toFixed(3)+","+p[1][1].toFixed(3)+",0,0";d=O(d.x/T)+","+O(d.y/T);w.push('','','');this.element_.insertAdjacentHTML("beforeEnd",w.join(""))};D.fillText=function(b,d,g,n){this.drawText_(b,d,g,n,!1)};D.strokeText=function(b,d,g,n){this.drawText_(b,d,g,n,!0)};D.measureText=function(b){if(!this.textMeasureEl_)this.element_.insertAdjacentHTML("beforeEnd",''),this.textMeasureEl_=this.element_.lastChild;var d=this.element_.ownerDocument; -this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(d.createTextNode(b));return{width:this.textMeasureEl_.offsetWidth}};D.clip=function(){};D.arcTo=function(){};D.createPattern=function(b,d){return new X(b,d)};x.prototype.addColorStop=function(b,d){d=q(d);this.colors_.push({offset:b,color:d.color,alpha:d.alpha})};D=L.prototype=Error();D.INDEX_SIZE_ERR=1;D.DOMSTRING_SIZE_ERR=2;D.HIERARCHY_REQUEST_ERR=3;D.WRONG_DOCUMENT_ERR=4;D.INVALID_CHARACTER_ERR= -5;D.NO_DATA_ALLOWED_ERR=6;D.NO_MODIFICATION_ALLOWED_ERR=7;D.NOT_FOUND_ERR=8;D.NOT_SUPPORTED_ERR=9;D.INUSE_ATTRIBUTE_ERR=10;D.INVALID_STATE_ERR=11;D.SYNTAX_ERR=12;D.INVALID_MODIFICATION_ERR=13;D.NAMESPACE_ERR=14;D.INVALID_ACCESS_ERR=15;D.VALIDATION_ERR=16;D.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=aa;CanvasRenderingContext2D=n;CanvasGradient=x;CanvasPattern=X;DOMException=L}(); +ba={},ra={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},wa={},Ma={butt:"flat",round:"round"},D=o.prototype;D.clearRect=function(){if(this.textMeasureEl_)this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null;this.element_.innerHTML=""};D.beginPath=function(){this.currentPath_=[]};D.moveTo=function(b,d){var w=R(this,b,d);this.currentPath_.push({type:"moveTo",x:w.x,y:w.y});this.currentX_=w.x;this.currentY_=w.y};D.lineTo=function(b,d){var w=R(this,b,d);this.currentPath_.push({type:"lineTo", +x:w.x,y:w.y});this.currentX_=w.x;this.currentY_=w.y};D.bezierCurveTo=function(b,d,w,h,n,o){n=R(this,n,o);b=R(this,b,d);w=R(this,w,h);A(this,b,w,n)};D.quadraticCurveTo=function(b,d,h,o){b=R(this,b,d);h=R(this,h,o);o={x:this.currentX_+2/3*(b.x-this.currentX_),y:this.currentY_+2/3*(b.y-this.currentY_)};A(this,o,{x:o.x+(h.x-this.currentX_)/3,y:o.y+(h.y-this.currentY_)/3},h)};D.arc=function(b,d,h,o,n,r){h*=T;var p=r?"at":"wa",x=b+qa(o)*h-Y,u=d+ga(o)*h-Y,o=b+qa(n)*h-Y,n=d+ga(n)*h-Y;x==o&&!r&&(x+=0.125); +b=R(this,b,d);x=R(this,x,u);o=R(this,o,n);this.currentPath_.push({type:p,x:b.x,y:b.y,radius:h,xStart:x.x,yStart:x.y,xEnd:o.x,yEnd:o.y})};D.rect=function(b,d,h,o){this.moveTo(b,d);this.lineTo(b+h,d);this.lineTo(b+h,d+o);this.lineTo(b,d+o);this.closePath()};D.strokeRect=function(b,d,h,o){var n=this.currentPath_;this.beginPath();this.moveTo(b,d);this.lineTo(b+h,d);this.lineTo(b+h,d+o);this.lineTo(b,d+o);this.closePath();this.stroke();this.currentPath_=n};D.fillRect=function(b,d,h,o){var n=this.currentPath_; +this.beginPath();this.moveTo(b,d);this.lineTo(b+h,d);this.lineTo(b+h,d+o);this.lineTo(b,d+o);this.closePath();this.fill();this.currentPath_=n};D.createLinearGradient=function(b,d,h,o){var n=new x("gradient");n.x0_=b;n.y0_=d;n.x1_=h;n.y1_=o;return n};D.createRadialGradient=function(b,d,h,o,n,r){var p=new x("gradientradial");p.x0_=b;p.y0_=d;p.r0_=h;p.x1_=o;p.y1_=n;p.r1_=r;return p};D.drawImage=function(b){var d,h,o,n,r,p,x,u;o=b.runtimeStyle.width;n=b.runtimeStyle.height;b.runtimeStyle.width="auto"; +b.runtimeStyle.height="auto";var q=b.width,A=b.height;b.runtimeStyle.width=o;b.runtimeStyle.height=n;if(arguments.length==3)d=arguments[1],h=arguments[2],r=p=0,x=o=q,u=n=A;else if(arguments.length==5)d=arguments[1],h=arguments[2],o=arguments[3],n=arguments[4],r=p=0,x=q,u=A;else if(arguments.length==9)r=arguments[1],p=arguments[2],x=arguments[3],u=arguments[4],d=arguments[5],h=arguments[6],o=arguments[7],n=arguments[8];else throw Error("Invalid number of arguments");var z=R(this,d,h),y=[];y.push(" ','","");this.element_.insertAdjacentHTML("BeforeEnd",y.join(""))};D.stroke=function(b){for(var d={x:null,y:null},h={x:null,y:null},o=0;oh.x)h.x=p.x;if(d.y==null||p.yh.y)h.y=p.y}}n.push(' ">');b? +Q(this,n,d,h):V(this,n);n.push("");this.element_.insertAdjacentHTML("beforeEnd",n.join(""))}};D.fill=function(){this.stroke(!0)};D.closePath=function(){this.currentPath_.push({type:"close"})};D.save=function(){var b={};N(this,b);this.aStack_.push(b);this.mStack_.push(this.m_);this.m_=z(q(),this.m_)};D.restore=function(){if(this.aStack_.length)N(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};D.translate=function(b,d){S(this,z([[1,0,0],[0,1,0],[b,d,1]],this.m_),!1)};D.rotate=function(b){var d= +qa(b),b=ga(b);S(this,z([[d,b,0],[-b,d,0],[0,0,1]],this.m_),!1)};D.scale=function(b,d){this.arcScaleX_*=b;this.arcScaleY_*=d;S(this,z([[b,0,0],[0,d,0],[0,0,1]],this.m_),!0)};D.transform=function(b,d,h,o,n,p){S(this,z([[b,d,0],[h,o,0],[n,p,1]],this.m_),!0)};D.setTransform=function(b,d,h,o,n,p){S(this,[[b,d,0],[h,o,0],[n,p,1]],!0)};D.drawText_=function(b,d,h,o,n){var p=this.m_,o=0,r=1E3,x={x:0,y:0},u=[],q;q=this.font;if(wa[q])q=wa[q];else{var A=document.createElement("div").style;try{A.font=q}catch(z){}q= +wa[q]={style:A.fontStyle||ra.style,variant:A.fontVariant||ra.variant,weight:A.fontWeight||ra.weight,size:A.fontSize||ra.size,family:A.fontFamily||ra.family}}var A=q,y=this.element_;q={};for(var C in A)q[C]=A[C];C=parseFloat(y.currentStyle.fontSize);y=parseFloat(A.size);q.size=typeof A.size=="number"?A.size:A.size.indexOf("px")!=-1?y:A.size.indexOf("em")!=-1?C*y:A.size.indexOf("%")!=-1?C/100*y:A.size.indexOf("pt")!=-1?y/0.75:C;q.size*=0.981;C=q.style+" "+q.variant+" "+q.weight+" "+q.size+"px "+q.family; +y=this.element_.currentStyle;A=this.textAlign.toLowerCase();switch(A){case "left":case "center":case "right":break;case "end":A=y.direction=="ltr"?"right":"left";break;case "start":A=y.direction=="rtl"?"right":"left";break;default:A="left"}switch(this.textBaseline){case "hanging":case "top":x.y=q.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":x.y=-q.size/2.25}switch(A){case "right":o=1E3;r=0.05;break;case "center":o=r=500}d=R(this,d+x.x,h+ +x.y);u.push('');n?V(this,u):Q(this,u,{x:-o,y:0},{x:r,y:q.size});n=p[0][0].toFixed(3)+","+p[1][0].toFixed(3)+","+p[0][1].toFixed(3)+","+p[1][1].toFixed(3)+",0,0";d=O(d.x/T)+","+O(d.y/T);u.push('','','');this.element_.insertAdjacentHTML("beforeEnd",u.join(""))};D.fillText=function(b,d,h,o){this.drawText_(b,d,h,o,!1)};D.strokeText=function(b,d,h,o){this.drawText_(b,d,h,o,!0)};D.measureText=function(b){if(!this.textMeasureEl_)this.element_.insertAdjacentHTML("beforeEnd",''),this.textMeasureEl_=this.element_.lastChild;var d=this.element_.ownerDocument; +this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(d.createTextNode(b));return{width:this.textMeasureEl_.offsetWidth}};D.clip=function(){};D.arcTo=function(){};D.createPattern=function(b,d){return new X(b,d)};x.prototype.addColorStop=function(b,d){d=r(d);this.colors_.push({offset:b,color:d.color,alpha:d.alpha})};D=L.prototype=Error();D.INDEX_SIZE_ERR=1;D.DOMSTRING_SIZE_ERR=2;D.HIERARCHY_REQUEST_ERR=3;D.WRONG_DOCUMENT_ERR=4;D.INVALID_CHARACTER_ERR= +5;D.NO_DATA_ALLOWED_ERR=6;D.NO_MODIFICATION_ALLOWED_ERR=7;D.NOT_FOUND_ERR=8;D.NOT_SUPPORTED_ERR=9;D.INUSE_ATTRIBUTE_ERR=10;D.INVALID_STATE_ERR=11;D.SYNTAX_ERR=12;D.INVALID_MODIFICATION_ERR=13;D.NAMESPACE_ERR=14;D.INVALID_ACCESS_ERR=15;D.VALIDATION_ERR=16;D.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=$;CanvasRenderingContext2D=o;CanvasGradient=x;CanvasPattern=X;DOMException=L}(); // Input 2 -(function(d){d.color={};d.color.make=function(g,p,C,B){var r={};r.r=g||0;r.g=p||0;r.b=C||0;r.a=B!=null?B:1;r.add=function(d,g){for(var p=0;p=1?"rgb("+[r.r,r.g,r.b].join(",")+")":"rgba("+[r.r,r.g,r.b,r.a].join(",")+")"};r.normalize=function(){function d(g,p,r){return pr?r:p}r.r=d(0,parseInt(r.r),255);r.g=d(0,parseInt(r.g), -255);r.b=d(0,parseInt(r.b),255);r.a=d(0,r.a,1);return r};r.clone=function(){return d.color.make(r.r,r.b,r.g,r.a)};return r.normalize()};d.color.extract=function(g,p){var C;do{C=g.css(p).toLowerCase();if(C!=""&&C!="transparent")break;g=g.parent()}while(!d.nodeName(g.get(0),"body"));C=="rgba(0, 0, 0, 0)"&&(C="transparent");return d.color.parse(C)};d.color.parse=function(F){var p,C=d.color.make;if(p=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(F))return C(parseInt(p[1],10), +(function(d){d.color={};d.color.make=function(h,p,C,B){var q={};q.r=h||0;q.g=p||0;q.b=C||0;q.a=B!=null?B:1;q.add=function(d,h){for(var p=0;p=1?"rgb("+[q.r,q.g,q.b].join(",")+")":"rgba("+[q.r,q.g,q.b,q.a].join(",")+")"};q.normalize=function(){function d(h,p,q){return pq?q:p}q.r=d(0,parseInt(q.r),255);q.g=d(0,parseInt(q.g), +255);q.b=d(0,parseInt(q.b),255);q.a=d(0,q.a,1);return q};q.clone=function(){return d.color.make(q.r,q.b,q.g,q.a)};return q.normalize()};d.color.extract=function(h,p){var C;do{C=h.css(p).toLowerCase();if(C!=""&&C!="transparent")break;h=h.parent()}while(!d.nodeName(h.get(0),"body"));C=="rgba(0, 0, 0, 0)"&&(C="transparent");return d.color.parse(C)};d.color.parse=function(F){var p,C=d.color.make;if(p=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(F))return C(parseInt(p[1],10), parseInt(p[2],10),parseInt(p[3],10));if(p=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(F))return C(parseInt(p[1],10),parseInt(p[2],10),parseInt(p[3],10),parseFloat(p[4]));if(p=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(F))return C(parseFloat(p[1])*2.55,parseFloat(p[2])*2.55,parseFloat(p[3])*2.55);if(p=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(F))return C(parseFloat(p[1])* -2.55,parseFloat(p[2])*2.55,parseFloat(p[3])*2.55,parseFloat(p[4]));if(p=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(F))return C(parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16));if(p=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(F))return C(parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16));F=d.trim(F).toLowerCase();return F=="transparent"?C(255,255,255,0):(p=g[F]||[0,0,0],C(p[0],p[1],p[2]))};var g={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0, +2.55,parseFloat(p[2])*2.55,parseFloat(p[3])*2.55,parseFloat(p[4]));if(p=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(F))return C(parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16));if(p=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(F))return C(parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16));F=d.trim(F).toLowerCase();return F=="transparent"?C(255,255,255,0):(p=h[F]||[0,0,0],C(p[0],p[1],p[2]))};var h={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0, 0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211, 211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery); -(function(d){function g(g,C,B,r){function A(b,d){for(var d=[U].concat(d),j=0;j=l.colors.length&&(b=0,++g);for(b=e=0;bf.datamax&&j!=g)f.datamax=j}var e=Number.POSITIVE_INFINITY,j=Number.NEGATIVE_INFINITY,g=Number.MAX_VALUE,o,l,n,p,q,u,r,t,w,x;d.each(I(),function(b,f){f.datamin=e;f.datamax=j;f.used=!1});for(o=0;o0&&u[n-r]!=null&&u[n-r]!=u[n]&&u[n-r+1]!=u[n+1]){for(p=0;pz&&(z=t)),w.y&&(tua&&(ua=t));q.bars.show&&(l=q.bars.align=="left"?0:-q.bars.barWidth/2,q.bars.horizontal?(x+=l,ua+=l+q.bars.barWidth):(n+=l,z+=l+q.bars.barWidth));b(q.xaxis,n,z);b(q.yaxis,x,ua)}d.each(I(),function(b,f){if(f.datamin==e)f.datamin=null;if(f.datamax==j)f.datamax=null})}function t(b,e){var j=document.createElement("canvas");j.className=e;j.width=fa;j.height=la;b||d(j).css({position:"absolute", -left:0,top:0});d(j).appendTo(g);j.getContext||(j=window.G_vmlCanvasManager.initElement(j));j.getContext("2d").save();return j}function V(){fa=g.width();la=g.height();if(fa<=0||la<=0)throw"Invalid dimensions for plot, width = "+fa+", height = "+la;}function Q(b){if(b.width!=fa)b.width=fa;if(b.height!=la)b.height=la;b=b.getContext("2d");b.restore();b.save()}function R(b){function d(b){return b}var j,e,o=b.options.transform||d,g=b.options.inverseTransform;b.direction=="x"?(j=b.scale=xa/Math.abs(o(b.max)- -o(b.min)),e=Math.min(o(b.max),o(b.min))):(j=b.scale=sa/Math.abs(o(b.max)-o(b.min)),j=-j,e=Math.max(o(b.max),o(b.min)));b.p2c=o==d?function(b){return(b-e)*j}:function(b){return(o(b)-e)*j};b.c2p=g?function(b){return g(e+b/j)}:function(b){return e+b/j}}function S(b){var e=b.labelWidth,j=b.labelHeight,g=b.options.position,o=b.options.tickLength,n=l.grid.axisMargin,q=l.grid.labelMargin,p=b.direction=="x"?ia:ka,u=d.grep(p,function(b){return b&&b.options.position==g&&b.reserveSpace});d.inArray(b,u)==u.length- -1&&(n=0);if(o==null)var o=d.grep(p,function(b){return b&&b.reserveSpace}),t=d.inArray(b,o)==0,o=t?"full":5;isNaN(+o)||(q+=+o);b.direction=="x"?(j+=q,g=="bottom"?(E.bottom+=j+n,b.box={top:la-E.bottom,height:j}):(b.box={top:E.top+n,height:j},E.top+=j+n)):(e+=q,g=="left"?(b.box={left:E.left+n,width:e},E.left+=e+n):(E.right+=e+n,b.box={left:fa-E.right,width:e}));b.position=g;b.tickLength=o;b.box.padding=q;b.innermost=t}function x(){var b=l.grid.minBorderMargin,e={x:0,y:0},j;if(b==null)for(j=b=0;j=0&&(j=0)),d.max==null&&(e+=g*v,e>0&&f.datamax!=null&&f.datamax<=0&&(e=0)))}f.min=j;f.max=e});if(b){var n={style:g.css("font-style"),size:Math.round(0.8*(+g.css("font-size").replace("px","")||13)),variant:g.css("font-variant"), -weight:g.css("font-weight"),family:g.css("font-family")};j=d.grep(e,function(b){return b.reserveSpace});d.each(j,function(b,f){L(f);var j=f.options.ticks,e=[];j==null||typeof j=="number"&&j>0?e=f.tickGenerator(f):j&&(e=d.isFunction(j)?j(f):j);var g;f.ticks=[];for(j=0;j1&&(v=l[1])):g=+l;v==null&&(v=f.tickFormatter(g,f));isNaN(g)||f.ticks.push({v:g,label:v})}e=f.ticks;if(f.options.autoscaleMargin&&e.length>0){if(f.options.min==null)f.min= -Math.min(f.min,e[0].v);if(f.options.max==null&&e.length>1)f.max=Math.max(f.max,e[e.length-1].v)}f.font=d.extend({},n,f.options.font);e=f.options;j=f.ticks||[];g=e.labelWidth||0;v=e.labelHeight||0;l=f.font;w.save();w.font=l.style+" "+l.variant+" "+l.weight+" "+l.size+"px '"+l.family+"'";for(var q=0;q|\r\n|\r/g,"\n").split("\n"),t=0;t=0;--b)S(j[b]);x();d.each(j,function(b,f){f.direction=="x"?(f.box.left=E.left-f.labelWidth/2,f.box.width=fa-E.left-E.right+f.labelWidth):(f.box.top=E.top-f.labelHeight/2,f.box.height= -la-E.bottom-E.top+f.labelHeight)})}xa=fa-E.left-E.right;sa=la-E.bottom-E.top;d.each(e,function(b,f){R(f)});aa()}function L(b){var e=b.options,j=(b.max-b.min)/(typeof e.ticks=="number"&&e.ticks>0?e.ticks:0.3*Math.sqrt(b.direction=="x"?fa:la)),g,o,l,n;if(e.mode=="time"){var p={second:1E3,minute:6E4,hour:36E5,day:864E5,month:2592E6,year:525949.2*6E4};n=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2, -"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];g=0;e.minTickSize!=null&&(g=typeof e.tickSize=="number"?e.tickSize:e.minTickSize[0]*p[e.minTickSize[1]]);for(o=0;o=g)break;g=n[o][0];l=n[o][1];l=="year"&&(o=Math.pow(10,Math.floor(Math.log(j/p.year)/Math.LN10)),n=j/p.year/o,g=n<1.5?1:n<3?2:n<7.5?5:10,g*= -o);b.tickSize=e.tickSize||[g,l];o=function(b){var f=[],d=b.tickSize[0],j=b.tickSize[1],e=new Date(b.min),g=d*p[j];j=="second"&&e.setUTCSeconds(F(e.getUTCSeconds(),d));j=="minute"&&e.setUTCMinutes(F(e.getUTCMinutes(),d));j=="hour"&&e.setUTCHours(F(e.getUTCHours(),d));j=="month"&&e.setUTCMonth(F(e.getUTCMonth(),d));j=="year"&&e.setUTCFullYear(F(e.getUTCFullYear(),d));e.setUTCMilliseconds(0);g>=p.minute&&e.setUTCSeconds(0);g>=p.hour&&e.setUTCMinutes(0);g>=p.day&&e.setUTCHours(0);g>=p.day*4&&e.setUTCDate(1); -g>=p.year&&e.setUTCMonth(0);var o=0,l=Number.NaN,n;do if(n=l,l=e.getTime(),f.push(l),j=="month")if(d<1){e.setUTCDate(1);var v=e.getTime();e.setUTCMonth(e.getUTCMonth()+1);var q=e.getTime();e.setTime(l+o*p.hour+(q-v)*d);o=e.getUTCHours();e.setUTCHours(0)}else e.setUTCMonth(e.getUTCMonth()+d);else j=="year"?e.setUTCFullYear(e.getUTCFullYear()+d):e.setTime(l+g);while(ll&&(q=l);o=Math.pow(10,-q);n=j/o;if(n<1.5)g=1;else if(n<3){if(g=2,n>2.25&&(l==null||q+1<=l))g=2.5,++q}else g=n<7.5?5:10;g*=o;if(e.minTickSize!=null&&g0){if(e.min==null)b.min=Math.min(b.min,o[0]);if(e.max==null&&o.length>1)b.max=Math.max(b.max,o[o.length-1])}o=function(b){var f=[], -d,e;for(e=0;e1&&/\..*0$/.test((n[1]-n[0]).toFixed(j)))))b.tickDecimals=j}}b.tickGenerator=o;b.tickFormatter=d.isFunction(e.tickFormatter)?function(b,f){return""+e.tickFormatter(b,f)}:g}function ga(){w.clearRect(0,0,fa,la);var b=l.grid;if(b.show&&b.backgroundColor)w.save(),w.translate(E.left,E.top), -w.fillStyle=z(l.grid.backgroundColor,sa,0,"rgba(255, 255, 255, 0)"),w.fillRect(0,0,xa,sa),w.restore();b.show&&!b.aboveData&&(ha(),qa());for(var d=0;do&&(l=g,g=o,o=l);return{from:g,to:o,axis:e}}function ha(){var b;w.save();w.translate(E.left,E.top);var e=l.grid.markings;if(e){if(d.isFunction(e)){var j=U.getAxes();j.xmin=j.xaxis.min;j.xmax=j.xaxis.max;j.ymin=j.yaxis.min;j.ymax=j.yaxis.max;e=e(j)}for(b=0;bg.axis.max|| -o.too.axis.max))if(g.from=Math.max(g.from,g.axis.min),g.to=Math.min(g.to,g.axis.max),o.from=Math.max(o.from,o.axis.min),o.to=Math.min(o.to,o.axis.max),!(g.from==g.to&&o.from==o.to))g.from=g.axis.p2c(g.from),g.to=g.axis.p2c(g.to),o.from=o.axis.p2c(o.from),o.to=o.axis.p2c(o.to),g.from==g.to||o.from==o.to?(w.beginPath(),w.strokeStyle=j.color||l.grid.markingsColor,w.lineWidth=j.lineWidth||l.grid.markingsLineWidth,w.moveTo(g.from,o.from),w.lineTo(g.to,o.to),w.stroke()):(w.fillStyle= -j.color||l.grid.markingsColor,w.fillRect(g.from,o.to,g.to-g.from,o.from-o.to))}}j=I();e=l.grid.borderWidth;for(g=0;go.max||n=="full"&&e>0&&(r==o.min||r==o.max)||(o.direction=="x"?(p=o.p2c(r),u=n=="full"?-sa:n,o.position=="top"&&(u=-u)):(q=o.p2c(r),t=n=="full"?-xa:n,o.position=="left"&&(t=-t)),w.lineWidth==1&&(o.direction=="x"?p=Math.floor(p)+0.5:q=Math.floor(q)+0.5),w.moveTo(p,q),w.lineTo(p+ -t,q+u))}w.stroke()}}if(e)w.lineWidth=e,w.strokeStyle=l.grid.borderColor,w.strokeRect(-e/2,-e/2,xa+e,sa+e);w.restore()}function qa(){w.save();d.each(I(),function(b,e){if(e.show&&e.ticks.length!=0){var j=e.box,g=e.font;w.fillStyle=e.options.color;w.font=g.style+" "+g.variant+" "+g.weight+" "+g.size+"px "+g.family;w.textAlign="start";w.textBaseline="middle";for(g=0;ge.max))for(var l,n,p=0,q,t=0;t=u&&q>g.max){if(u>g.max)continue;v=(g.max-q)/(u-q)*(t-v)+v;q=g.max}else if(u>=q&&u>g.max){if(q>g.max)continue;t=(g.max-q)/(u-q)*(t-v)+v;u=g.max}if(v<=t&&v=t&&v>j.max){if(t>j.max)continue; -q=(j.max-v)/(t-v)*(u-q)+q;v=j.max}else if(t>=v&&t>j.max){if(v>j.max)continue;u=(j.max-v)/(t-v)*(u-q)+q;t=j.max}(v!=l||q!=n)&&w.moveTo(j.p2c(v)+f,g.p2c(q)+d);l=t;n=u;w.lineTo(j.p2c(t)+f,g.p2c(u)+d)}}w.stroke()}function d(b,f,e){for(var j=b.points,b=b.pointsize,g=Math.min(Math.max(0,e.min),e.max),o=0,l=!1,n=1,v=0,q=0;;){if(b>0&&o>j.length+b)break;o+=b;var p=j[o-b],t=j[o-b+n],u=j[o],r=j[o+n];if(l){if(b>0&&p!=null&&u==null){q=o;b=-b;n=2;continue}if(b<0&&o==v+b){w.fill();l=!1;b=-b;n=1;o=v=q+b;continue}}if(!(p== -null||u==null)){if(p<=u&&p=u&&p>f.max){if(u>f.max)continue;t=(f.max-p)/(u-p)*(r-t)+t;p=f.max}else if(u>=p&&u>f.max){if(p>f.max)continue;r=(f.max-p)/(u-p)*(r-t)+t;u=f.max}l||(w.beginPath(),w.moveTo(f.p2c(p),e.p2c(g)),l=!0);if(t>=e.max&&r>=e.max)w.lineTo(f.p2c(p),e.p2c(e.max)),w.lineTo(f.p2c(u),e.p2c(e.max));else if(t<=e.min&&r<=e.min)w.lineTo(f.p2c(p),e.p2c(e.min)), -w.lineTo(f.p2c(u),e.p2c(e.min));else{var x=p,z=u;if(t<=r&&t=e.min)p=(e.min-t)/(r-t)*(u-p)+p,t=e.min;else if(r<=t&&r=e.min)u=(e.min-t)/(r-t)*(u-p)+p,r=e.min;if(t>=r&&t>e.max&&r<=e.max)p=(e.max-t)/(r-t)*(u-p)+p,t=e.max;else if(r>=t&&r>e.max&&t<=e.max)u=(e.max-t)/(r-t)*(u-p)+p,r=e.max;p!=x&&w.lineTo(f.p2c(x),e.p2c(t));w.lineTo(f.p2c(p),e.p2c(t));w.lineTo(f.p2c(u),e.p2c(r));u!=z&&(w.lineTo(f.p2c(u),e.p2c(r)),w.lineTo(f.p2c(z),e.p2c(r)))}}}}w.save();w.translate(E.left,E.top);w.lineJoin= -"round";var g=f.lines.lineWidth,o=f.shadowSize;if(g>0&&o>0){w.lineWidth=o;w.strokeStyle="rgba(0,0,0,0.1)";var l=Math.PI/18;e(f.datapoints,Math.sin(l)*(g/2+o/2),Math.cos(l)*(g/2+o/2),f.xaxis,f.yaxis);w.lineWidth=o/2;e(f.datapoints,Math.sin(l)*(g/2+o/4),Math.cos(l)*(g/2+o/4),f.xaxis,f.yaxis)}w.lineWidth=g;w.strokeStyle=f.color;if(o=b(f.lines,f.color,0,sa))w.fillStyle=o,d(f.datapoints,f.xaxis,f.yaxis);g>0&&e(f.datapoints,0,0,f.xaxis,f.yaxis);w.restore()}function y(f){function e(b,f,d,j,g,o,l,n){for(var p= -b.points,b=b.pointsize,v=0;vo.max||tl.max)){w.beginPath();q=o.p2c(q);t=l.p2c(t)+j;n=="circle"?w.arc(q,t,f,0,g?Math.PI:Math.PI*2,!1):n(w,q,t,f,g);w.closePath();if(d)w.fillStyle=d,w.fill();w.stroke()}}}w.save();w.translate(E.left,E.top);var d=f.points.lineWidth,g=f.shadowSize,o=f.points.radius,l=f.points.symbol;if(d>0&&g>0)g/=2,w.lineWidth=g,w.strokeStyle="rgba(0,0,0,0.1)",e(f.datapoints,o,null,g+g/2,!0,f.xaxis,f.yaxis,l),w.strokeStyle= -"rgba(0,0,0,0.2)",e(f.datapoints,o,null,g/2,!0,f.xaxis,f.yaxis,l);w.lineWidth=d;w.strokeStyle=f.color;e(f.datapoints,o,b(f.points,f.color),0,!1,f.xaxis,f.yaxis,l);w.restore()}function T(b,e,d,g,o,l,n,p,q,t,u,r){var x,w,z,y;u?(y=w=z=!0,x=!1,u=d,d=e+g,o=e+o,bp.max||dq.max)){if(up.max)b=p.max,w=!1;if(oq.max)d=q.max,z=!1;u=p.p2c(u);o= -q.p2c(o);b=p.p2c(b);d=q.p2c(d);if(n)t.beginPath(),t.moveTo(u,o),t.lineTo(u,d),t.lineTo(b,d),t.lineTo(b,o),t.fillStyle=n(o,d),t.fill();if(r>0&&(x||w||z||y))t.beginPath(),t.moveTo(u,o+l),x?t.lineTo(u,d+l):t.moveTo(u,d+l),z?t.lineTo(b,d+l):t.moveTo(b,d+l),w?t.lineTo(b,o+l):t.moveTo(b,o+l),y?t.lineTo(u,o+l):t.moveTo(u,o+l),t.stroke()}}function Z(f){w.save();w.translate(E.left,E.top);w.lineWidth=f.bars.lineWidth;w.strokeStyle=f.color;var e=f.bars.align=="left"?0:-f.bars.barWidth/2;(function(b,e,d,g,l, -n,p){for(var q=b.points,b=b.pointsize,t=0;t"),b.push(""),e=!0),j&&(o=j(o,n)),b.push('
'+o+"");e&&b.push("");if(b.length!=0)if(e=''+b.join("")+ -"
",l.legend.container!=null)d(l.legend.container).html(e);else if(b="",j=l.legend.position,n=l.legend.margin,n[0]==null&&(n=[n,n]),j.charAt(0)=="n"?b+="top:"+(n[1]+E.top)+"px;":j.charAt(0)=="s"&&(b+="bottom:"+(n[1]+E.bottom)+"px;"),j.charAt(1)=="e"?b+="right:"+(n[0]+E.right)+"px;":j.charAt(1)=="w"&&(b+="left:"+(n[0]+E.left)+"px;"),e=d('
'+e.replace('style="','style="position:absolute;'+b+";")+"
").appendTo(g),l.legend.backgroundOpacity!=0){j=l.legend.backgroundColor; -if(j==null)j=(j=l.grid.backgroundColor)&&typeof j=="string"?d.color.parse(j):d.color.extract(e,"background-color"),j.a=1,j=j.toString();n=e.children();d('
').prependTo(e).css("opacity",l.legend.backgroundOpacity)}}}function ba(b){l.grid.hoverable&&ja("plothover",b,function(b){return b.hoverable!=!1})}function D(b){l.grid.hoverable&&ja("plothover",b,function(){return!1})}function oa(b){ja("plotclick", -b,function(b){return b.clickable!=!1})}function ja(b,e,d){var n=pa.offset(),o=e.pageX-n.left-E.left,q=e.pageY-n.top-E.top,t=G({left:o,top:q});t.pageX=e.pageX;t.pageY=e.pageY;var e=l.grid.mouseActiveRadius,u=e*e+1,r=null,x,w;for(x=J.length-1;x>=0;--x)if(d(J[x])){var z=J[x],y=z.xaxis,C=z.yaxis,A=z.datapoints.points,Q=z.datapoints.pointsize,F=y.c2p(o),B=C.c2p(q),R=e/y.scale,D=e/C.scale;if(y.options.inverseTransform)R=Number.MAX_VALUE;if(C.options.inverseTransform)D=Number.MAX_VALUE;if(z.lines.show|| -z.points.show)for(w=0;wR||V-F<-R||S-B>D||S-B<-D))V=Math.abs(y.p2c(V)-o),S=Math.abs(C.p2c(S)-q),S=V*V+S*S,S=Math.min(C,V)&&B>=S+y&&B<=S+z:F>=V+y&&F<=V+z&&B>=Math.min(C,S)&&B<=Math.max(C,S)))r=[x,w/Q]}}r?(x=r[0],w=r[1],Q=J[x].datapoints.pointsize, -d={datapoint:J[x].datapoints.points.slice(w*Q,(w+1)*Q),dataIndex:w,series:J[x],seriesIndex:x}):d=null;if(d)d.pageX=parseInt(d.series.xaxis.p2c(d.datapoint[0])+n.left+E.left),d.pageY=parseInt(d.series.yaxis.p2c(d.datapoint[1])+n.top+E.top);if(l.grid.autoHighlight){for(n=0;no.max||gl.max)){var n=j.points.radius+j.points.lineWidth/2;ea.lineWidth=n;ea.strokeStyle=d.color.parse(j.color).scale("a",0.5).toString();n*=1.5;e=o.p2c(e);g=l.p2c(g);ea.beginPath();j.points.symbol=="circle"? -ea.arc(e,g,n,0,2*Math.PI,!1):j.points.symbol(ea,e,g,n,!1);ea.closePath();ea.stroke()}}ea.restore();A(ta.drawOverlay,[ea])}function wa(b,d,j){typeof b=="number"&&(b=J[b]);if(typeof d=="number")var g=b.datapoints.pointsize,d=b.datapoints.points.slice(g*d,g*(d+1));g=e(b,d);if(g==-1)ya.push({series:b,point:d,auto:j}),ca();else if(!j)ya[g].auto=!1}function Ja(b,d){b==null&&d==null&&(ya=[],ca());typeof b=="number"&&(b=J[b]);typeof d=="number"&&(d=b.data[d]);var j=e(b,d);j!=-1&&(ya.splice(j,1),ca())}function e(b, -e){for(var d=0;d=n.colors.length&&(b=0,++h);for(b=e=0;bf.datamax&&j!=h)f.datamax=j}var e=Number.POSITIVE_INFINITY,j=Number.NEGATIVE_INFINITY,h=Number.MAX_VALUE,l,n,o,p,r,u,t,q,w,A;d.each(I(),function(b,f){f.datamin=e;f.datamax=j;f.used=!1});for(l=0;l0&&u[o-t]!=null&&u[o-t]!=u[o]&&u[o-t+1]!=u[o+1]){for(p=0;px&&(x=q)),w.y&&(qua&&(ua=q));r.bars.show&&(n=r.bars.align=="left"?0:-r.bars.barWidth/2,r.bars.horizontal?(A+=n,ua+=n+r.bars.barWidth):(o+=n,x+=n+r.bars.barWidth));b(r.xaxis,o,x);b(r.yaxis,A,ua)}d.each(I(),function(b,f){if(f.datamin==e)f.datamin=null;if(f.datamax==j)f.datamax=null})}function A(b,e){var j=document.createElement("canvas");j.className=e;j.width=ea;j.height=la;b||d(j).css({position:"absolute", +left:0,top:0});d(j).appendTo(h);j.getContext||(j=window.G_vmlCanvasManager.initElement(j));j.getContext("2d").save();return j}function V(){ea=h.width();la=h.height();if(ea<=0||la<=0)throw"Invalid dimensions for plot, width = "+ea+", height = "+la;}function Q(b){if(b.width!=ea)b.width=ea;if(b.height!=la)b.height=la;b=b.getContext("2d");b.restore();b.save()}function R(b){function d(b){return b}var j,e,l=b.options.transform||d,h=b.options.inverseTransform;b.direction=="x"?(j=b.scale=xa/Math.abs(l(b.max)- +l(b.min)),e=Math.min(l(b.max),l(b.min))):(j=b.scale=sa/Math.abs(l(b.max)-l(b.min)),j=-j,e=Math.max(l(b.max),l(b.min)));b.p2c=l==d?function(b){return(b-e)*j}:function(b){return(l(b)-e)*j};b.c2p=h?function(b){return h(e+b/j)}:function(b){return e+b/j}}function S(b){var e=b.labelWidth,j=b.labelHeight,h=b.options.position,l=b.options.tickLength,o=n.grid.axisMargin,r=n.grid.labelMargin,p=b.direction=="x"?ia:ka,u=d.grep(p,function(b){return b&&b.options.position==h&&b.reserveSpace});d.inArray(b,u)==u.length- +1&&(o=0);if(l==null)var l=d.grep(p,function(b){return b&&b.reserveSpace}),q=d.inArray(b,l)==0,l=q?"full":5;isNaN(+l)||(r+=+l);b.direction=="x"?(j+=r,h=="bottom"?(E.bottom+=j+o,b.box={top:la-E.bottom,height:j}):(b.box={top:E.top+o,height:j},E.top+=j+o)):(e+=r,h=="left"?(b.box={left:E.left+o,width:e},E.left+=e+o):(E.right+=e+o,b.box={left:ea-E.right,width:e}));b.position=h;b.tickLength=l;b.box.padding=r;b.innermost=q}function x(){var b=n.grid.minBorderMargin,e={x:0,y:0},j;if(b==null)for(j=b=0;j=0&&(j=0)),d.max==null&&(e+=h*v,e>0&&f.datamax!=null&&f.datamax<=0&&(e=0)))}f.min=j;f.max=e});if(b){var o={style:h.css("font-style"),size:Math.round(0.8*(+h.css("font-size").replace("px","")||13)),variant:h.css("font-variant"), +weight:h.css("font-weight"),family:h.css("font-family")};j=d.grep(e,function(b){return b.reserveSpace});d.each(j,function(b,f){L(f);var j=f.options.ticks,e=[];j==null||typeof j=="number"&&j>0?e=f.tickGenerator(f):j&&(e=d.isFunction(j)?j(f):j);var h;f.ticks=[];for(j=0;j1&&(v=n[1])):h=+n;v==null&&(v=f.tickFormatter(h,f));isNaN(h)||f.ticks.push({v:h,label:v})}e=f.ticks;if(f.options.autoscaleMargin&&e.length>0){if(f.options.min==null)f.min= +Math.min(f.min,e[0].v);if(f.options.max==null&&e.length>1)f.max=Math.max(f.max,e[e.length-1].v)}f.font=d.extend({},o,f.options.font);e=f.options;j=f.ticks||[];h=e.labelWidth||0;v=e.labelHeight||0;n=f.font;u.save();u.font=n.style+" "+n.variant+" "+n.weight+" "+n.size+"px '"+n.family+"'";for(var r=0;r|\r\n|\r/g,"\n").split("\n"),t=0;t=0;--b)S(j[b]);x();d.each(j,function(b,f){f.direction=="x"?(f.box.left=E.left-f.labelWidth/2,f.box.width=ea-E.left-E.right+f.labelWidth):(f.box.top=E.top-f.labelHeight/2,f.box.height= +la-E.bottom-E.top+f.labelHeight)})}xa=ea-E.left-E.right;sa=la-E.bottom-E.top;d.each(e,function(b,f){R(f)});$()}function L(b){var e=b.options,j=(b.max-b.min)/(typeof e.ticks=="number"&&e.ticks>0?e.ticks:0.3*Math.sqrt(b.direction=="x"?ea:la)),h,l,n,o;if(e.mode=="time"){var p={second:1E3,minute:6E4,hour:36E5,day:864E5,month:2592E6,year:525949.2*6E4};o=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"], +[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[0.25,"month"],[0.5,"month"],[1,"month"],[2,"month"],[3,"month"],[6,"month"],[1,"year"]];h=0;e.minTickSize!=null&&(h=typeof e.tickSize=="number"?e.tickSize:e.minTickSize[0]*p[e.minTickSize[1]]);for(l=0;l=h)break;h=o[l][0];n=o[l][1];n=="year"&&(l=Math.pow(10,Math.floor(Math.log(j/p.year)/Math.LN10)),o=j/p.year/l,h=o<1.5?1:o<3?2:o<7.5?5:10,h*=l);b.tickSize= +e.tickSize||[h,n];l=function(b){var f=[],d=b.tickSize[0],e=b.tickSize[1],j=new Date(b.min),l=d*p[e];e=="second"&&j.setUTCSeconds(F(j.getUTCSeconds(),d));e=="minute"&&j.setUTCMinutes(F(j.getUTCMinutes(),d));e=="hour"&&j.setUTCHours(F(j.getUTCHours(),d));e=="month"&&j.setUTCMonth(F(j.getUTCMonth(),d));e=="year"&&j.setUTCFullYear(F(j.getUTCFullYear(),d));j.setUTCMilliseconds(0);l>=p.minute&&j.setUTCSeconds(0);l>=p.hour&&j.setUTCMinutes(0);l>=p.day&&j.setUTCHours(0);l>=p.day*4&&j.setUTCDate(1);l>=p.year&& +j.setUTCMonth(0);var h=0,n=Number.NaN,v;do if(v=n,n=j.getTime(),f.push(n),e=="month")if(d<1){j.setUTCDate(1);var o=j.getTime();j.setUTCMonth(j.getUTCMonth()+1);var r=j.getTime();j.setTime(n+h*p.hour+(r-o)*d);h=j.getUTCHours();j.setUTCHours(0)}else j.setUTCMonth(j.getUTCMonth()+d);else e=="year"?j.setUTCFullYear(j.getUTCFullYear()+d):j.setTime(n+l);while(nn&&(r=n);l=Math.pow(10,-r);o=j/l;if(o<1.5)h=1;else if(o<3){if(h=2,o>2.25&&(n==null||r+1<=n))h=2.5,++r}else h=o<7.5?5:10;h*=l;if(e.minTickSize!=null&&h0){if(e.min==null)b.min=Math.min(b.min,l[0]);if(e.max==null&&l.length>1)b.max=Math.max(b.max,l[l.length-1])}l=function(b){var f=[],d,j;for(j=0;j< +u.ticks.length;++j)d=(u.ticks[j].v-u.min)/(u.max-u.min),d=b.min+d*(b.max-b.min),f.push(d);return f};if(!b.mode&&e.tickDecimals==null&&(j=Math.max(0,-Math.floor(Math.log(j)/Math.LN10)+1),o=l(b),!(o.length>1&&/\..*0$/.test((o[1]-o[0]).toFixed(j)))))b.tickDecimals=j}}b.tickGenerator=l;b.tickFormatter=d.isFunction(e.tickFormatter)?function(b,f){return""+e.tickFormatter(b,f)}:h}function fa(){u.clearRect(0,0,ea,la);var b=n.grid;if(b.show&&b.backgroundColor)u.save(),u.translate(E.left,E.top),u.fillStyle= +w(n.grid.backgroundColor,sa,0,"rgba(255, 255, 255, 0)"),u.fillRect(0,0,xa,sa),u.restore();b.show&&!b.aboveData&&(ga(),qa());for(var d=0;dl&&(h=e,e=l,l=h);return{from:e,to:l,axis:j}}function ga(){var b;u.save();u.translate(E.left,E.top);var e=n.grid.markings;if(e){if(d.isFunction(e)){var j=U.getAxes();j.xmin=j.xaxis.min;j.xmax=j.xaxis.max;j.ymin=j.yaxis.min;j.ymax=j.yaxis.max;e=e(j)}for(b=0;bh.axis.max||l.to< +l.axis.min||l.from>l.axis.max))if(h.from=Math.max(h.from,h.axis.min),h.to=Math.min(h.to,h.axis.max),l.from=Math.max(l.from,l.axis.min),l.to=Math.min(l.to,l.axis.max),!(h.from==h.to&&l.from==l.to))h.from=h.axis.p2c(h.from),h.to=h.axis.p2c(h.to),l.from=l.axis.p2c(l.from),l.to=l.axis.p2c(l.to),h.from==h.to||l.from==l.to?(u.beginPath(),u.strokeStyle=j.color||n.grid.markingsColor,u.lineWidth=j.lineWidth||n.grid.markingsLineWidth,u.moveTo(h.from,l.from),u.lineTo(h.to,l.to),u.stroke()):(u.fillStyle=j.color|| +n.grid.markingsColor,u.fillRect(h.from,l.to,h.to-h.from,l.from-l.to))}}j=I();e=n.grid.borderWidth;for(h=0;hl.max||o=="full"&&e>0&&(w==l.min||w==l.max)||(l.direction=="x"?(p=l.p2c(w),t=o=="full"?-sa:o,l.position=="top"&&(t=-t)):(r=l.p2c(w),q=o=="full"?-xa:o,l.position=="left"&&(q=-q)),u.lineWidth==1&&(l.direction=="x"?p=Math.floor(p)+0.5:r=Math.floor(r)+0.5),u.moveTo(p,r),u.lineTo(p+ +q,r+t))}u.stroke()}}if(e)u.lineWidth=e,u.strokeStyle=n.grid.borderColor,u.strokeRect(-e/2,-e/2,xa+e,sa+e);u.restore()}function qa(){u.save();d.each(I(),function(b,e){if(e.show&&e.ticks.length!=0){var j=e.box,h=e.font;u.fillStyle=e.options.color;u.font=h.style+" "+h.variant+" "+h.weight+" "+h.size+"px "+h.family;u.textAlign="start";u.textBaseline="middle";for(h=0;he.max))for(var n,o,p=0,r,q=0;q=t&&r>h.max){if(t>h.max)continue;v=(h.max-r)/(t-r)*(q-v)+v;r=h.max}else if(t>=r&&t>h.max){if(r>h.max)continue;q=(h.max-r)/(t-r)*(q-v)+v;t=h.max}if(v<=q&&v=q&&v>j.max){if(q>j.max)continue; +r=(j.max-v)/(q-v)*(t-r)+r;v=j.max}else if(q>=v&&q>j.max){if(v>j.max)continue;t=(j.max-v)/(q-v)*(t-r)+r;q=j.max}(v!=n||r!=o)&&u.moveTo(j.p2c(v)+f,h.p2c(r)+d);n=q;o=t;u.lineTo(j.p2c(q)+f,h.p2c(t)+d)}}u.stroke()}function d(b,f,e){for(var j=b.points,b=b.pointsize,h=Math.min(Math.max(0,e.min),e.max),l=0,n=!1,o=1,v=0,r=0;;){if(b>0&&l>j.length+b)break;l+=b;var p=j[l-b],q=j[l-b+o],t=j[l],w=j[l+o];if(n){if(b>0&&p!=null&&t==null){r=l;b=-b;o=2;continue}if(b<0&&l==v+b){u.fill();n=!1;b=-b;o=1;l=v=r+b;continue}}if(!(p== +null||t==null)){if(p<=t&&p=t&&p>f.max){if(t>f.max)continue;q=(f.max-p)/(t-p)*(w-q)+q;p=f.max}else if(t>=p&&t>f.max){if(p>f.max)continue;w=(f.max-p)/(t-p)*(w-q)+q;t=f.max}n||(u.beginPath(),u.moveTo(f.p2c(p),e.p2c(h)),n=!0);if(q>=e.max&&w>=e.max)u.lineTo(f.p2c(p),e.p2c(e.max)),u.lineTo(f.p2c(t),e.p2c(e.max));else if(q<=e.min&&w<=e.min)u.lineTo(f.p2c(p),e.p2c(e.min)), +u.lineTo(f.p2c(t),e.p2c(e.min));else{var A=p,x=t;if(q<=w&&q=e.min)p=(e.min-q)/(w-q)*(t-p)+p,q=e.min;else if(w<=q&&w=e.min)t=(e.min-q)/(w-q)*(t-p)+p,w=e.min;if(q>=w&&q>e.max&&w<=e.max)p=(e.max-q)/(w-q)*(t-p)+p,q=e.max;else if(w>=q&&w>e.max&&q<=e.max)t=(e.max-q)/(w-q)*(t-p)+p,w=e.max;p!=A&&u.lineTo(f.p2c(A),e.p2c(q));u.lineTo(f.p2c(p),e.p2c(q));u.lineTo(f.p2c(t),e.p2c(w));t!=x&&(u.lineTo(f.p2c(t),e.p2c(w)),u.lineTo(f.p2c(x),e.p2c(w)))}}}}u.save();u.translate(E.left,E.top);u.lineJoin= +"round";var h=f.lines.lineWidth,l=f.shadowSize;if(h>0&&l>0){u.lineWidth=l;u.strokeStyle="rgba(0,0,0,0.1)";var n=Math.PI/18;e(f.datapoints,Math.sin(n)*(h/2+l/2),Math.cos(n)*(h/2+l/2),f.xaxis,f.yaxis);u.lineWidth=l/2;e(f.datapoints,Math.sin(n)*(h/2+l/4),Math.cos(n)*(h/2+l/4),f.xaxis,f.yaxis)}u.lineWidth=h;u.strokeStyle=f.color;if(l=b(f.lines,f.color,0,sa))u.fillStyle=l,d(f.datapoints,f.xaxis,f.yaxis);h>0&&e(f.datapoints,0,0,f.xaxis,f.yaxis);u.restore()}function y(f){function e(b,f,d,j,h,l,n,o){for(var p= +b.points,b=b.pointsize,v=0;vl.max||qn.max)){u.beginPath();r=l.p2c(r);q=n.p2c(q)+j;o=="circle"?u.arc(r,q,f,0,h?Math.PI:Math.PI*2,!1):o(u,r,q,f,h);u.closePath();if(d)u.fillStyle=d,u.fill();u.stroke()}}}u.save();u.translate(E.left,E.top);var j=f.points.lineWidth,d=f.shadowSize,h=f.points.radius,n=f.points.symbol;if(j>0&&d>0)d/=2,u.lineWidth=d,u.strokeStyle="rgba(0,0,0,0.1)",e(f.datapoints,h,null,d+d/2,!0,f.xaxis,f.yaxis,n),u.strokeStyle= +"rgba(0,0,0,0.2)",e(f.datapoints,h,null,d/2,!0,f.xaxis,f.yaxis,n);u.lineWidth=j;u.strokeStyle=f.color;e(f.datapoints,h,b(f.points,f.color),0,!1,f.xaxis,f.yaxis,n);u.restore()}function T(b,e,d,h,l,n,o,p,r,q,t,w){var u,A,x,y;t?(y=A=x=!0,u=!1,t=d,d=e+h,l=e+l,bp.max||dr.max)){if(tp.max)b=p.max,A=!1;if(lr.max)d=r.max,x=!1;t=p.p2c(t);l= +r.p2c(l);b=p.p2c(b);d=r.p2c(d);if(o)q.beginPath(),q.moveTo(t,l),q.lineTo(t,d),q.lineTo(b,d),q.lineTo(b,l),q.fillStyle=o(l,d),q.fill();if(w>0&&(u||A||x||y))q.beginPath(),q.moveTo(t,l+n),u?q.lineTo(t,d+n):q.moveTo(t,d+n),x?q.lineTo(b,d+n):q.moveTo(b,d+n),A?q.lineTo(b,l+n):q.moveTo(b,l+n),y?q.lineTo(t,l+n):q.moveTo(t,l+n),q.stroke()}}function Y(f){u.save();u.translate(E.left,E.top);u.lineWidth=f.bars.lineWidth;u.strokeStyle=f.color;var e=f.bars.align=="left"?0:-f.bars.barWidth/2;(function(b,e,d,h,n, +p,o){for(var r=b.points,b=b.pointsize,q=0;q"),b.push(""),e=!0),j&&(l=j(l,o)),b.push('
'+l+"");e&&b.push("");if(b.length!=0)if(e=''+b.join("")+ +"
",n.legend.container!=null)d(n.legend.container).html(e);else if(b="",j=n.legend.position,o=n.legend.margin,o[0]==null&&(o=[o,o]),j.charAt(0)=="n"?b+="top:"+(o[1]+E.top)+"px;":j.charAt(0)=="s"&&(b+="bottom:"+(o[1]+E.bottom)+"px;"),j.charAt(1)=="e"?b+="right:"+(o[0]+E.right)+"px;":j.charAt(1)=="w"&&(b+="left:"+(o[0]+E.left)+"px;"),e=d('
'+e.replace('style="','style="position:absolute;'+b+";")+"
").appendTo(h),n.legend.backgroundOpacity!=0){j=n.legend.backgroundColor; +if(j==null)j=(j=n.grid.backgroundColor)&&typeof j=="string"?d.color.parse(j):d.color.extract(e,"background-color"),j.a=1,j=j.toString();o=e.children();d('
').prependTo(e).css("opacity",n.legend.backgroundOpacity)}}}function aa(b){n.grid.hoverable&&ja("plothover",b,function(b){return b.hoverable!=!1})}function D(b){n.grid.hoverable&&ja("plothover",b,function(){return!1})}function oa(b){ja("plotclick", +b,function(b){return b.clickable!=!1})}function ja(b,e,d){var o=pa.offset(),l=e.pageX-o.left-E.left,r=e.pageY-o.top-E.top,q=G({left:l,top:r});q.pageX=e.pageX;q.pageY=e.pageY;var e=n.grid.mouseActiveRadius,t=e*e+1,u=null,w,A;for(w=J.length-1;w>=0;--w)if(d(J[w])){var x=J[w],y=x.xaxis,C=x.yaxis,z=x.datapoints.points,Q=x.datapoints.pointsize,F=y.c2p(l),B=C.c2p(r),R=e/y.scale,D=e/C.scale;if(y.options.inverseTransform)R=Number.MAX_VALUE;if(C.options.inverseTransform)D=Number.MAX_VALUE;if(x.lines.show|| +x.points.show)for(A=0;AR||V-F<-R||S-B>D||S-B<-D))V=Math.abs(y.p2c(V)-l),S=Math.abs(C.p2c(S)-r),S=V*V+S*S,S=Math.min(C,V)&&B>=S+y&&B<=S+x:F>=V+y&&F<=V+x&&B>=Math.min(C,S)&&B<=Math.max(C,S)))u=[w,A/Q]}}u?(w=u[0],A=u[1],Q=J[w].datapoints.pointsize, +d={datapoint:J[w].datapoints.points.slice(A*Q,(A+1)*Q),dataIndex:A,series:J[w],seriesIndex:w}):d=null;if(d)d.pageX=parseInt(d.series.xaxis.p2c(d.datapoint[0])+o.left+E.left),d.pageY=parseInt(d.series.yaxis.p2c(d.datapoint[1])+o.top+E.top);if(n.grid.autoHighlight){for(o=0;ol.max||hn.max)){var o=j.points.radius+j.points.lineWidth/2;da.lineWidth=o;da.strokeStyle=d.color.parse(j.color).scale("a",0.5).toString();o*=1.5;e=l.p2c(e);h=n.p2c(h);da.beginPath();j.points.symbol=="circle"? +da.arc(e,h,o,0,2*Math.PI,!1):j.points.symbol(da,e,h,o,!1);da.closePath();da.stroke()}}da.restore();z(ta.drawOverlay,[da])}function wa(b,d,j){typeof b=="number"&&(b=J[b]);if(typeof d=="number")var h=b.datapoints.pointsize,d=b.datapoints.points.slice(h*d,h*(d+1));h=e(b,d);if(h==-1)ya.push({series:b,point:d,auto:j}),ba();else if(!j)ya[h].auto=!1}function Ma(b,d){b==null&&d==null&&(ya=[],ba());typeof b=="number"&&(b=J[b]);typeof d=="number"&&(d=b.data[d]);var j=e(b,d);j!=-1&&(ya.splice(j,1),ba())}function e(b, +e){for(var d=0;d12?I-=12:I==0&&(I=12));for(var q=0;q12?I-=12:I==0&&(I=12));for(var r=0;r2&&(q?C.format[2].x:C.format[2].y),g=V&&g.lines.steps;G=!0;for(var R=q?1:0,S=q?0:1,x=0,X=0,L;;){if(x>=r.length)break;L=N.length;if(r[x]==null){for(m= -0;m=B.length){if(!V)for(m=0;mq){if(V&&x>0&&r[x-d]!=null){G=I+(r[x-d+S]-I)*(q-K)/(r[x-d+R]-K);N.push(q);N.push(G+n);for(m=2;m0&&B[X-A]!=null&&(t=n+(B[X-A+S]-n)*(K-q)/ -(B[X-A+R]-q));N[L+S]+=t;x+=d}G=!1;L!=N.length&&Q&&(N[L+2]+=t)}if(g&&L!=N.length&&L>0&&N[L]!=null&&N[L]!=N[L-d]&&N[L+1]!=N[L-d+1]){for(m=0;m2&&(r?C.format[2].x:C.format[2].y),h=V&&h.lines.steps;G=!0;for(var R=r?1:0,S=r?0:1,x=0,X=0,L;;){if(x>=q.length)break;L=N.length;if(q[x]==null){for(m= +0;m=B.length){if(!V)for(m=0;mr){if(V&&x>0&&q[x-d]!=null){G=I+(q[x-d+S]-I)*(r-K)/(q[x-d+R]-K);N.push(r);N.push(G+o);for(m=2;m0&&B[X-z]!=null&&(A=o+(B[X-z+S]-o)*(K-r)/ +(B[X-z+R]-r));N[L+S]+=A;x+=d}G=!1;L!=N.length&&Q&&(N[L+2]+=A)}if(h&&L!=N.length&&L>0&&N[L]!=null&&N[L]!=N[L-d]&&N[L+1]!=N[L-d+1]){for(m=0;mA?A:x;p=n.pageY-p.top-r.top;r=g.height();d.y=p<0?0:p>r?r:p;if(q.selection.mode=="y")d.x=d==G.first?0:g.width();if(q.selection.mode=="x")d.y=d==G.first?0:g.height()}function A(d){if(d.pageX!=null)r(G.second,d),I()?(G.show=!0,g.triggerRedrawOverlay()): -N(!0)}function N(d){if(G.show)G.show=!1,g.triggerRedrawOverlay(),d||g.getPlaceholder().trigger("plotunselected",[])}function K(d,n){var q,p,r,x,A=g.getAxes(),C;for(C in A)if(q=A[C],q.direction==n&&(x=n+q.n+"axis",!d[x]&&q.n==1&&(x=n+"axis"),d[x])){p=d[x].from;r=d[x].to;break}d[x]||(q=n=="x"?g.getXAxes()[0]:g.getYAxes()[0],p=d[n+"1"],r=d[n+"2"]);p!=null&&r!=null&&p>r&&(x=p,p=r,r=x);return{from:p,to:r,axis:q}}function I(){return Math.abs(G.second.x-G.first.x)>=5&&Math.abs(G.second.y-G.first.y)>=5}var G= -{first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},q={},n=null;g.clearSelection=N;g.setSelection=function(d,n){var q,p=g.getOptions();p.selection.mode=="y"?(G.first.x=0,G.second.x=g.width()):(q=K(d,"x"),G.first.x=q.axis.p2c(q.from),G.second.x=q.axis.p2c(q.to));p.selection.mode=="x"?(G.first.y=0,G.second.y=g.height()):(q=K(d,"y"),G.first.y=q.axis.p2c(q.from),G.second.y=q.axis.p2c(q.to));G.show=!0;g.triggerRedrawOverlay();!n&&I()&&B()};g.getSelection=C;g.hooks.bindEvents.push(function(d,g){d.getOptions().selection.mode!= -null&&(g.mousemove(F),g.mousedown(p))});g.hooks.drawOverlay.push(function(g,n){if(G.show&&I()){var q=g.getPlotOffset(),p=g.getOptions();n.save();n.translate(q.left,q.top);q=d.color.parse(p.selection.color);n.strokeStyle=q.scale("a",0.8).toString();n.lineWidth=1;n.lineJoin="round";n.fillStyle=q.scale("a",0.4).toString();var q=Math.min(G.first.x,G.second.x),p=Math.min(G.first.y,G.second.y),r=Math.abs(G.second.x-G.first.x),x=Math.abs(G.second.y-G.first.y);n.fillRect(q,p,r,x);n.strokeRect(q,p,r,x);n.restore()}}); -g.hooks.shutdown.push(function(g,q){q.unbind("mousemove",F);q.unbind("mousedown",p);n&&d(document).unbind("mouseup",n)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery); +(function(d){d.plot.plugins.push({init:function(h){function F(d){G.active&&(z(d),h.getPlaceholder().trigger("plotselecting",[C()]))}function p(p){if(p.which==1){document.body.focus();if(document.onselectstart!==void 0&&r.onselectstart==null)r.onselectstart=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&r.ondrag==null)r.ondrag=document.ondrag,document.ondrag=function(){return!1};q(G.first,p);G.active=!0;o=function(d){o=null;if(document.onselectstart!== +void 0)document.onselectstart=r.onselectstart;if(document.ondrag!==void 0)document.ondrag=r.ondrag;G.active=!1;z(d);I()?B():(h.getPlaceholder().trigger("plotunselected",[]),h.getPlaceholder().trigger("plotselecting",[null]))};d(document).one("mouseup",o)}}function C(){if(!I())return null;var o={},r=G.first,p=G.second;d.each(h.getAxes(),function(d,h){if(h.used){var q=h.c2p(r[h.direction]),z=h.c2p(p[h.direction]);o[d]={from:Math.min(q,z),to:Math.max(q,z)}}});return o}function B(){var d=C();h.getPlaceholder().trigger("plotselected", +[d]);d.xaxis&&d.yaxis&&h.getPlaceholder().trigger("selected",[{x1:d.xaxis.from,y1:d.yaxis.from,x2:d.xaxis.to,y2:d.yaxis.to}])}function q(d,o){var r=h.getOptions(),p=h.getPlaceholder().offset(),q=h.getPlotOffset(),x=o.pageX-p.left-q.left,z=h.width();d.x=x<0?0:x>z?z:x;p=o.pageY-p.top-q.top;q=h.height();d.y=p<0?0:p>q?q:p;if(r.selection.mode=="y")d.x=d==G.first?0:h.width();if(r.selection.mode=="x")d.y=d==G.first?0:h.height()}function z(d){if(d.pageX!=null)q(G.second,d),I()?(G.show=!0,h.triggerRedrawOverlay()): +N(!0)}function N(d){if(G.show)G.show=!1,h.triggerRedrawOverlay(),d||h.getPlaceholder().trigger("plotunselected",[])}function K(d,o){var r,p,q,x,z=h.getAxes(),C;for(C in z)if(r=z[C],r.direction==o&&(x=o+r.n+"axis",!d[x]&&r.n==1&&(x=o+"axis"),d[x])){p=d[x].from;q=d[x].to;break}d[x]||(r=o=="x"?h.getXAxes()[0]:h.getYAxes()[0],p=d[o+"1"],q=d[o+"2"]);p!=null&&q!=null&&p>q&&(x=p,p=q,q=x);return{from:p,to:q,axis:r}}function I(){return Math.abs(G.second.x-G.first.x)>=5&&Math.abs(G.second.y-G.first.y)>=5}var G= +{first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},r={},o=null;h.clearSelection=N;h.setSelection=function(d,o){var r,p=h.getOptions();p.selection.mode=="y"?(G.first.x=0,G.second.x=h.width()):(r=K(d,"x"),G.first.x=r.axis.p2c(r.from),G.second.x=r.axis.p2c(r.to));p.selection.mode=="x"?(G.first.y=0,G.second.y=h.height()):(r=K(d,"y"),G.first.y=r.axis.p2c(r.from),G.second.y=r.axis.p2c(r.to));G.show=!0;h.triggerRedrawOverlay();!o&&I()&&B()};h.getSelection=C;h.hooks.bindEvents.push(function(d,h){d.getOptions().selection.mode!= +null&&(h.mousemove(F),h.mousedown(p))});h.hooks.drawOverlay.push(function(h,o){if(G.show&&I()){var r=h.getPlotOffset(),p=h.getOptions();o.save();o.translate(r.left,r.top);r=d.color.parse(p.selection.color);o.strokeStyle=r.scale("a",0.8).toString();o.lineWidth=1;o.lineJoin="round";o.fillStyle=r.scale("a",0.4).toString();var r=Math.min(G.first.x,G.second.x),p=Math.min(G.first.y,G.second.y),q=Math.abs(G.second.x-G.first.x),x=Math.abs(G.second.y-G.first.y);o.fillRect(r,p,q,x);o.strokeRect(r,p,q,x);o.restore()}}); +h.hooks.shutdown.push(function(h,r){r.unbind("mousemove",F);r.unbind("mousedown",p);o&&d(document).unbind("mouseup",o)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery); // Input 5 -function InvalidRRD(d){this.message=d;this.name="Invalid RRD"}InvalidRRD.prototype.toString=function(){return this.name+': "'+this.message+'"'};function RRDDS(d,g,F){this.rrd_data=d;this.rrd_data_idx=g;this.my_idx=F}RRDDS.prototype.getIdx=function(){return this.my_idx};RRDDS.prototype.getName=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx,20)};RRDDS.prototype.getType=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx+20,20)}; -RRDDS.prototype.getMin=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+48)};RRDDS.prototype.getMax=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+56)};function RRDRRAInfo(d,g,F,p,C,B){this.rrd_data=d;this.rra_def_idx=g;this.rrd_align=F;this.row_cnt=p;this.pdp_step=C;this.my_idx=B}RRDRRAInfo.prototype.getIdx=function(){return this.my_idx};RRDRRAInfo.prototype.getNrRows=function(){return this.row_cnt}; +function InvalidRRD(d){this.message=d;this.name="Invalid RRD"}InvalidRRD.prototype.toString=function(){return this.name+': "'+this.message+'"'};function RRDDS(d,h,F){this.rrd_data=d;this.rrd_data_idx=h;this.my_idx=F}RRDDS.prototype.getIdx=function(){return this.my_idx};RRDDS.prototype.getName=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx,20)};RRDDS.prototype.getType=function(){return this.rrd_data.getCStringAt(this.rrd_data_idx+20,20)}; +RRDDS.prototype.getMin=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+48)};RRDDS.prototype.getMax=function(){return this.rrd_data.getDoubleAt(this.rrd_data_idx+56)};function RRDRRAInfo(d,h,F,p,C,B){this.rrd_data=d;this.rra_def_idx=h;this.rrd_align=F;this.row_cnt=p;this.pdp_step=C;this.my_idx=B}RRDRRAInfo.prototype.getIdx=function(){return this.my_idx};RRDRRAInfo.prototype.getNrRows=function(){return this.row_cnt}; RRDRRAInfo.prototype.getPdpPerRow=function(){return this.rrd_align==32?this.rrd_data.getLongAt(this.rra_def_idx+24,20):this.rrd_data.getLongAt(this.rra_def_idx+32,20)};RRDRRAInfo.prototype.getStep=function(){return this.pdp_step*this.getPdpPerRow()};RRDRRAInfo.prototype.getCFName=function(){return this.rrd_data.getCStringAt(this.rra_def_idx,20)}; -function RRDRRA(d,g,F,p,C,B){this.rrd_data=d;this.rra_info=F;this.row_cnt=F.row_cnt;this.ds_cnt=B;var r=B*8;this.base_rrd_db_idx=p+C*r;this.cur_row=d.getLongAt(g);this.calc_idx=function(d,g){if(d>=0&&d=0&&g=this.row_cnt&&(p-=this.row_cnt);return r*p+g*8}else throw RangeError("DS idx ("+d+") out of range [0-"+B+").");else throw RangeError("Row idx ("+d+") out of range [0-"+this.row_cnt+").");}}RRDRRA.prototype.getIdx=function(){return this.rra_info.getIdx()}; -RRDRRA.prototype.getNrRows=function(){return this.row_cnt};RRDRRA.prototype.getNrDSs=function(){return this.ds_cnt};RRDRRA.prototype.getStep=function(){return this.rra_info.getStep()};RRDRRA.prototype.getCFName=function(){return this.rra_info.getCFName()};RRDRRA.prototype.getEl=function(d,g){return this.rrd_data.getDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,g))};RRDRRA.prototype.getElFast=function(d,g){return this.rrd_data.getFastDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,g))}; +function RRDRRA(d,h,F,p,C,B){this.rrd_data=d;this.rra_info=F;this.row_cnt=F.row_cnt;this.ds_cnt=B;var q=B*8;this.base_rrd_db_idx=p+C*q;this.cur_row=d.getLongAt(h);this.calc_idx=function(d,h){if(d>=0&&d=0&&h=this.row_cnt&&(p-=this.row_cnt);return q*p+h*8}else throw RangeError("DS idx ("+d+") out of range [0-"+B+").");else throw RangeError("Row idx ("+d+") out of range [0-"+this.row_cnt+").");}}RRDRRA.prototype.getIdx=function(){return this.rra_info.getIdx()}; +RRDRRA.prototype.getNrRows=function(){return this.row_cnt};RRDRRA.prototype.getNrDSs=function(){return this.ds_cnt};RRDRRA.prototype.getStep=function(){return this.rra_info.getStep()};RRDRRA.prototype.getCFName=function(){return this.rra_info.getCFName()};RRDRRA.prototype.getEl=function(d,h){return this.rrd_data.getDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,h))};RRDRRA.prototype.getElFast=function(d,h){return this.rrd_data.getFastDoubleAt(this.base_rrd_db_idx+this.calc_idx(d,h))}; function RRDHeader(d){this.rrd_data=d;this.validate_rrd();this.load_header();this.calc_idxs()} RRDHeader.prototype.validate_rrd=function(){if(this.rrd_data.getCStringAt(0,4)!=="RRD")throw new InvalidRRD("Wrong magic id.");this.rrd_version=this.rrd_data.getCStringAt(4,5);if(this.rrd_version!=="0003"&&this.rrd_version!=="0004")throw new InvalidRRD("Unsupported RRD version "+this.rrd_version+".");if(this.rrd_data.getDoubleAt(12)==8.642135E130)this.rrd_align=32;else if(this.rrd_data.getDoubleAt(16)==8.642135E130)this.rrd_align=64;else throw new InvalidRRD("Unsupported platform.");}; RRDHeader.prototype.load_header=function(){this.rrd_align==32?(this.ds_cnt=this.rrd_data.getLongAt(20,!1),this.rra_cnt=this.rrd_data.getLongAt(24,!1),this.pdp_step=this.rrd_data.getLongAt(28,!1),this.top_header_size=112):(this.ds_cnt=this.rrd_data.getLongAt(24,!1),this.rra_cnt=this.rrd_data.getLongAt(32,!1),this.pdp_step=this.rrd_data.getLongAt(40,!1),this.top_header_size=128)}; RRDHeader.prototype.calc_idxs=function(){this.ds_def_idx=this.top_header_size;this.ds_el_size=120;this.rra_def_idx=this.ds_def_idx+this.ds_el_size*this.ds_cnt;this.rrd_align==32?(this.rra_def_el_size=108,this.row_cnt_idx=20):(this.rra_def_el_size=120,this.row_cnt_idx=24);this.live_head_idx=this.rra_def_idx+this.rra_def_el_size*this.rra_cnt;this.live_head_size=this.rrd_align==32?8:16;this.pdp_prep_idx=this.live_head_idx+this.live_head_size;this.pdp_prep_el_size=112;this.cdp_prep_idx=this.pdp_prep_idx+ this.pdp_prep_el_size*this.ds_cnt;this.cdp_prep_el_size=80;this.rra_ptr_idx=this.cdp_prep_idx+this.cdp_prep_el_size*this.ds_cnt*this.rra_cnt;this.rra_ptr_el_size=this.rrd_align==32?4:8;this.header_size=this.rra_ptr_idx+this.rra_ptr_el_size*this.rra_cnt}; RRDHeader.prototype.load_row_cnts=function(){this.rra_def_row_cnts=[];this.rra_def_row_cnt_sums=[];for(var d=0;d=0&&d=0&&d=0&&d=0){if(!ba)return B.show(b),b.preventDefault();var p=d("#"+x.weeks+" a"),t=d("."+x.focus),l=p.index(t);t.removeClass(x.focus);if(n==74||n==40)l+=7;else if(n==75||n==38)l-=7;else if(n==76||n==39)l+=1;else if(n==72||n==37)l-=1;l>41?(B.addMonth(),t=d("#"+x.weeks+" a:eq("+(l-42)+")")):l<0?(B.addMonth(-1), -t=d("#"+x.weeks+" a:eq("+(l+42)+")")):t=p.eq(l);t.addClass(x.focus);return b.preventDefault()}if(n==34)return B.addMonth();if(n==33)return B.addMonth(-1);if(n==36)return B.today();n==13&&(d(b.target).is("select")||d("."+x.focus).click());return d([16,17,18,9]).index(n)>=0});d(document).bind("click.d",function(b){var n=b.target;!d(n).parents("#"+x.root).length&&n!=g[0]&&(!O||n!=O[0])&&B.hide(b)})}var B=this,G=new Date,I=G.getFullYear(),x=n.css,X=K[n.lang],L=d("#"+x.root),ga=L.find("#"+x.title),O,ha, -qa,va,y,T,Z=g.attr("data-value")||n.value||g.val(),b=g.attr("min")||n.min,aa=g.attr("max")||n.max,ba,D;b===0&&(b="0");Z=C(Z)||G;b=C(b||new Date(I+n.yearRange[0],1,1));aa=C(aa||new Date(I+n.yearRange[1]+1,1,-1));if(!X)throw"Dateinput: invalid language: "+n.lang;g.attr("type")=="date"&&(D=g.clone(),I=D.wrap("
").parent().html(),I=d(I.replace(/type/i,"type=text data-orig-type")),I.val(n.value),g.replaceWith(I),g=I);g.addClass(x.input);var oa=g.add(B);if(!L.length){L=d("
").hide().css({position:"absolute"}).attr("id", -x.root);L.children().eq(0).attr("id",x.head).end().eq(1).attr("id",x.body).children().eq(0).attr("id",x.days).end().eq(1).attr("id",x.weeks).end().end().end().find("a").eq(0).attr("id",x.prev).end().eq(1).attr("id",x.next);ga=L.find("#"+x.head).find("div").attr("id",x.title);if(n.selectors){var ja=d("").attr("id",x.year);ga.html(ja.add(ca))}for(var I=L.find("#"+x.days),ra=0;ra<7;ra++)I.append(d("").text(X.shortDays[(ra+n.firstDay)%7]));d("body").append(L)}n.trigger&& -(O=d("").attr("href","#").addClass(x.trigger).click(function(b){B.show();return b.preventDefault()}).insertAfter(g));var wa=L.find("#"+x.weeks),ca=L.find("#"+x.year),ja=L.find("#"+x.month);d.extend(B,{show:function(b){if(!g.attr("readonly")&&!g.attr("disabled")&&!ba&&(b=b||d.Event(),b.type="onBeforeShow",oa.trigger(b),!b.isDefaultPrevented())){d.each(r,function(){this.hide()});ba=!0;ja.unbind("change").change(function(){B.setValue(ca.val(),d(this).val())});ca.unbind("change").change(function(){B.setValue(d(this).val(), -ja.val())});ha=L.find("#"+x.prev).unbind("click").click(function(){ha.hasClass(x.disabled)||B.addMonth(-1);return!1});qa=L.find("#"+x.next).unbind("click").click(function(){qa.hasClass(x.disabled)||B.addMonth();return!1});B.setValue(Z);var e=g.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=d(window).scrollTop());L.css({top:e.top+g.outerHeight({margins:!0})+n.offset[0],left:e.left+n.offset[1]});n.speed?L.show(n.speed,function(){A(b)}):(L.show(),A(b));return B}},setValue:function(g,e,q){var r= -parseInt(e,10)>=-1?new Date(parseInt(g,10),parseInt(e,10),parseInt(q||1,10)):g||Z;raa&&(r=aa);typeof g=="string"&&(r=C(g));g=r.getFullYear();e=r.getMonth();q=r.getDate();e==-1?(e=11,g--):e==12&&(e=0,g++);if(!ba)return t(r,n),B;y=e;va=g;var q=(new Date(g,e,1-n.firstDay)).getDay(),A=32-(new Date(g,e,32)).getDate(),l=32-(new Date(g,e-1,32)).getDate(),F;if(n.selectors){ja.empty();d.each(X.months,function(e,l){bnew Date(g,e,0)&&ja.append(d(""),D%7===0&&(F=d("
").addClass(x.week),wa.append(F)),D=q+A?(I.addClass(x.off),w=D-A-q+1,r=new Date(g,e+1,w)):(w=D-q+1,r=new Date(g,e, -w),p(Z,r)?I.attr("id",x.current).addClass(x.focus):p(G,r)&&I.attr("id",x.today)),b&&raa&&I.add(qa).addClass(x.disabled),I.attr("href","#"+w).text(w).data("date",r),F.append(I);wa.find("a").click(function(b){var e=d(this);e.hasClass(x.disabled)||(d("#"+x.current).removeAttr("id"),e.attr("id",x.current),t(e.data("date"),n,b));return!1});x.sunday&&wa.find(x.week).each(function(){var b=n.firstDay?7-n.firstDay:0;d(this).children().slice(b,b+1).addClass(x.sunday)}); -return B},setMin:function(d,e){b=C(d);e&&Zaa&&B.setValue(aa);return B},today:function(){return B.setValue(G)},addDay:function(b){return this.setValue(va,y,T+(b||1))},addMonth:function(b){return this.setValue(va,y+(b||1),T)},addYear:function(b){return this.setValue(va+(b||1),y,T)},destroy:function(){g.add(document).unbind("click.d").unbind("keydown.d");L.add(O).remove();g.removeData("dateinput").removeClass(x.input);D&&g.replaceWith(D)}, -hide:function(b){if(ba){b=d.Event();b.type="onHide";oa.trigger(b);d(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;L.hide();ba=!1}return B},getConf:function(){return n},getInput:function(){return g},getCalendar:function(){return L},getValue:function(b){return b?F(Z,b,n.lang):Z},isOpen:function(){return ba}});d.each(["onBeforeShow","onShow","change","onHide"],function(b,e){d.isFunction(n[e])&&d(B).bind(e,n[e]);B[e]=function(b){b&&d(B).bind(e,b);return B}});n.editable|| -g.bind("focus.d click.d",B.show).keydown(function(b){var e=b.keyCode;if(!ba&&d(N).index(e)>=0)return B.show(b),b.preventDefault();return b.shiftKey||b.ctrlKey||b.altKey||e==9?!0:b.preventDefault()});C(g.val())&&t(Z,n)}d.tools=d.tools||{version:"@VERSION"};var r=[],A,N=[75,76,38,39,74,72,40,37],K={};A=d.tools.dateinput={conf:{format:"mm/dd/yy",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:void 0,max:void 0,trigger:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0, -title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(g,n){d.each(n,function(d,g){n[d]=g.split(",")});K[g]=n}};A.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var I=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g, -G=d("");d.expr[":"].date=function(g){var n=g.getAttribute("type");return n&&n=="date"||!!d(g).data("dateinput")};d.fn.dateinput=function(g){if(this.data("dateinput"))return this;g=d.extend(!0,{},A.conf,g);d.each(g.css,function(d,n){!n&&d!="prefix"&&(g.css[d]=(g.css.prefix||"")+(n||d))});var n;this.each(function(){var p=new B(d(this),g);r.push(p);p=p.getInput().data("dateinput",p);n=n?n.add(p):p});return n?n:this}})(jQuery); +(function(d){function h(d,h){d=""+d;for(h=h||2;d.length=0){if(!aa)return B.show(b),b.preventDefault();var p=d("#"+x.weeks+" a"),q=d("."+x.focus),n=p.index(q);q.removeClass(x.focus);if(o==74||o==40)n+=7;else if(o==75||o==38)n-=7;else if(o==76||o==39)n+=1;else if(o==72||o==37)n-=1;n>41?(B.addMonth(),q=d("#"+x.weeks+" a:eq("+(n-42)+")")):n<0?(B.addMonth(-1), +q=d("#"+x.weeks+" a:eq("+(n+42)+")")):q=p.eq(n);q.addClass(x.focus);return b.preventDefault()}if(o==34)return B.addMonth();if(o==33)return B.addMonth(-1);if(o==36)return B.today();o==13&&(d(b.target).is("select")||d("."+x.focus).click());return d([16,17,18,9]).index(o)>=0});d(document).bind("click.d",function(b){var o=b.target;!d(o).parents("#"+x.root).length&&o!=h[0]&&(!O||o!=O[0])&&B.hide(b)})}var B=this,G=new Date,I=G.getFullYear(),x=o.css,X=K[o.lang],L=d("#"+x.root),fa=L.find("#"+x.title),O,ga, +qa,va,y,T,Y=h.attr("data-value")||o.value||h.val(),b=h.attr("min")||o.min,$=h.attr("max")||o.max,aa,D;b===0&&(b="0");Y=C(Y)||G;b=C(b||new Date(I+o.yearRange[0],1,1));$=C($||new Date(I+o.yearRange[1]+1,1,-1));if(!X)throw"Dateinput: invalid language: "+o.lang;h.attr("type")=="date"&&(D=h.clone(),I=D.wrap("
").parent().html(),I=d(I.replace(/type/i,"type=text data-orig-type")),I.val(o.value),h.replaceWith(I),h=I);h.addClass(x.input);var oa=h.add(B);if(!L.length){L=d("
").hide().css({position:"absolute"}).attr("id", +x.root);L.children().eq(0).attr("id",x.head).end().eq(1).attr("id",x.body).children().eq(0).attr("id",x.days).end().eq(1).attr("id",x.weeks).end().end().end().find("a").eq(0).attr("id",x.prev).end().eq(1).attr("id",x.next);fa=L.find("#"+x.head).find("div").attr("id",x.title);if(o.selectors){var ja=d("").attr("id",x.year);fa.html(ja.add(ba))}for(var I=L.find("#"+x.days),ra=0;ra<7;ra++)I.append(d("").text(X.shortDays[(ra+o.firstDay)%7]));d("body").append(L)}o.trigger&& +(O=d("").attr("href","#").addClass(x.trigger).click(function(b){B.show();return b.preventDefault()}).insertAfter(h));var wa=L.find("#"+x.weeks),ba=L.find("#"+x.year),ja=L.find("#"+x.month);d.extend(B,{show:function(b){if(!h.attr("readonly")&&!h.attr("disabled")&&!aa&&(b=b||d.Event(),b.type="onBeforeShow",oa.trigger(b),!b.isDefaultPrevented())){d.each(q,function(){this.hide()});aa=!0;ja.unbind("change").change(function(){B.setValue(ba.val(),d(this).val())});ba.unbind("change").change(function(){B.setValue(d(this).val(), +ja.val())});ga=L.find("#"+x.prev).unbind("click").click(function(){ga.hasClass(x.disabled)||B.addMonth(-1);return!1});qa=L.find("#"+x.next).unbind("click").click(function(){qa.hasClass(x.disabled)||B.addMonth();return!1});B.setValue(Y);var e=h.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=d(window).scrollTop());L.css({top:e.top+h.outerHeight({margins:!0})+o.offset[0],left:e.left+o.offset[1]});o.speed?L.show(o.speed,function(){z(b)}):(L.show(),z(b));return B}},setValue:function(h,e,q){var r= +parseInt(e,10)>=-1?new Date(parseInt(h,10),parseInt(e,10),parseInt(q||1,10)):h||Y;r$&&(r=$);typeof h=="string"&&(r=C(h));h=r.getFullYear();e=r.getMonth();q=r.getDate();e==-1?(e=11,h--):e==12&&(e=0,h++);if(!aa)return A(r,o),B;y=e;va=h;var q=(new Date(h,e,1-o.firstDay)).getDay(),z=32-(new Date(h,e,32)).getDate(),n=32-(new Date(h,e-1,32)).getDate(),F;if(o.selectors){ja.empty();d.each(X.months,function(e,n){bnew Date(h,e,0)&&ja.append(d(""),D%7===0&&(F=d("
").addClass(x.week),wa.append(F)),D=q+z?(I.addClass(x.off),u=D-z-q+1,r=new Date(h,e+1,u)):(u=D-q+1,r=new Date(h,e,u), +p(Y,r)?I.attr("id",x.current).addClass(x.focus):p(G,r)&&I.attr("id",x.today)),b&&r$&&I.add(qa).addClass(x.disabled),I.attr("href","#"+u).text(u).data("date",r),F.append(I);wa.find("a").click(function(b){var e=d(this);e.hasClass(x.disabled)||(d("#"+x.current).removeAttr("id"),e.attr("id",x.current),A(e.data("date"),o,b));return!1});x.sunday&&wa.find(x.week).each(function(){var b=o.firstDay?7-o.firstDay:0;d(this).children().slice(b,b+1).addClass(x.sunday)});return B}, +setMin:function(d,e){b=C(d);e&&Y$&&B.setValue($);return B},today:function(){return B.setValue(G)},addDay:function(b){return this.setValue(va,y,T+(b||1))},addMonth:function(b){return this.setValue(va,y+(b||1),T)},addYear:function(b){return this.setValue(va+(b||1),y,T)},destroy:function(){h.add(document).unbind("click.d").unbind("keydown.d");L.add(O).remove();h.removeData("dateinput").removeClass(x.input);D&&h.replaceWith(D)},hide:function(b){if(aa){b= +d.Event();b.type="onHide";oa.trigger(b);d(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;L.hide();aa=!1}return B},getConf:function(){return o},getInput:function(){return h},getCalendar:function(){return L},getValue:function(b){return b?F(Y,b,o.lang):Y},isOpen:function(){return aa}});d.each(["onBeforeShow","onShow","change","onHide"],function(b,e){d.isFunction(o[e])&&d(B).bind(e,o[e]);B[e]=function(b){b&&d(B).bind(e,b);return B}});o.editable||h.bind("focus.d click.d", +B.show).keydown(function(b){var e=b.keyCode;if(!aa&&d(N).index(e)>=0)return B.show(b),b.preventDefault();return b.shiftKey||b.ctrlKey||b.altKey||e==9?!0:b.preventDefault()});C(h.val())&&A(Y,o)}d.tools=d.tools||{version:"@VERSION"};var q=[],z,N=[75,76,38,39,74,72,40,37],K={};z=d.tools.dateinput={conf:{format:"mm/dd/yy",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:void 0,max:void 0,trigger:0,editable:0,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0, +month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(h,o){d.each(o,function(d,h){o[d]=h.split(",")});K[h]=o}};z.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var I=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g, +G=d("");d.expr[":"].date=function(h){var o=h.getAttribute("type");return o&&o=="date"||!!d(h).data("dateinput")};d.fn.dateinput=function(h){if(this.data("dateinput"))return this;h=d.extend(!0,{},z.conf,h);d.each(h.css,function(d,o){!o&&d!="prefix"&&(h.css[d]=(h.css.prefix||"")+(o||d))});var o;this.each(function(){var p=new B(d(this),h);q.push(p);p=p.getInput().data("dateinput",p);o=o?o.add(p):p});return o?o:this}})(jQuery); // Input 7 /* @@ -360,9 +360,9 @@ G=d("");d.expr[":"].date=function(g){var n=g.getAttribute("type");return n&& Since: November 2008 Date: @DATE */ -(function(d){function g(g,p,r){var A=this,N=g.add(this),K=g.find(r.tabs),I=p.jquery?p:g.children(p),G;K.length||(K=g.children());I.length||(I=g.parent().find(p));I.length||(I=d(p));d.extend(this,{click:function(g,n){var p=K.eq(g);typeof g=="string"&&g.replace("#","")&&(p=K.filter("[href*="+g.replace("#","")+"]"),g=Math.max(K.index(p),0));if(r.rotate){var B=K.length-1;if(g<0)return A.click(B,n);if(g>B)return A.click(0,n)}if(!p.length){if(G>=0)return A;g=r.initialIndex;p=K.eq(g)}if(g===G)return A;n= -n||d.Event();n.type="onBeforeClick";N.trigger(n,[g]);if(!n.isDefaultPrevented())return G=g,F[r.effect].call(A,g,function(){n.type="onClick";N.trigger(n,[g])}),K.removeClass(r.current),p.addClass(r.current),A},getConf:function(){return r},getTabs:function(){return K},getPanes:function(){return I},getCurrentPane:function(){return I.eq(G)},getCurrentTab:function(){return K.eq(G)},getIndex:function(){return G},next:function(){return A.click(G+1)},prev:function(){return A.click(G-1)},destroy:function(){K.unbind(r.event).removeClass(r.current); -I.find("a[href^=#]").unbind("click.T");return A}});d.each("onBeforeClick,onClick".split(","),function(g,n){d.isFunction(r[n])&&d(A).bind(n,r[n]);A[n]=function(g){g&&d(A).bind(n,g);return A}});if(r.history&&d.fn.history)d.tools.history.init(K),r.event="history";K.each(function(g){d(this).bind(r.event,function(d){A.click(g,d);return d.preventDefault()})});I.find("a[href^=#]").bind("click.T",function(g){A.click(d(this).attr("href"),g)});location.hash&&r.tabs=="a"&&g.find("[href="+location.hash+"]").length? -A.click(location.hash):(r.initialIndex===0||r.initialIndex>0)&&A.click(r.initialIndex)}d.tools=d.tools||{version:"@VERSION"};d.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,history:!1},addEffect:function(d,g){F[d]=g}};var F={"default":function(d,g){this.getPanes().hide().eq(d).show();g.call()},fade:function(d,g){var p=this.getConf(),A=p.fadeOutSpeed,F=this.getPanes();A?F.fadeOut(A):F.hide();F.eq(d).fadeIn(p.fadeInSpeed, -g)},slide:function(d,g){this.getPanes().slideUp(200);this.getPanes().eq(d).slideDown(400,g)},ajax:function(d,g){this.getPanes().eq(0).load(this.getTabs().eq(d).attr("href"),g)}},p;d.tools.tabs.addEffect("horizontal",function(g,B){p||(p=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){d(this).hide()});this.getPanes().eq(g).animate({width:p},function(){d(this).show();B.call()})});d.fn.tabs=function(p,B){var r=this.data("tabs");r&&(r.destroy(),this.removeData("tabs")); -d.isFunction(B)&&(B={onBeforeClick:B});B=d.extend({},d.tools.tabs.conf,B);this.each(function(){r=new g(d(this),p,B);d(this).data("tabs",r)});return B.api?r:this}})(jQuery); +(function(d){function h(h,p,q){var z=this,N=h.add(this),K=h.find(q.tabs),I=p.jquery?p:h.children(p),G;K.length||(K=h.children());I.length||(I=h.parent().find(p));I.length||(I=d(p));d.extend(this,{click:function(h,o){var p=K.eq(h);typeof h=="string"&&h.replace("#","")&&(p=K.filter("[href*="+h.replace("#","")+"]"),h=Math.max(K.index(p),0));if(q.rotate){var B=K.length-1;if(h<0)return z.click(B,o);if(h>B)return z.click(0,o)}if(!p.length){if(G>=0)return z;h=q.initialIndex;p=K.eq(h)}if(h===G)return z;o= +o||d.Event();o.type="onBeforeClick";N.trigger(o,[h]);if(!o.isDefaultPrevented())return G=h,F[q.effect].call(z,h,function(){o.type="onClick";N.trigger(o,[h])}),K.removeClass(q.current),p.addClass(q.current),z},getConf:function(){return q},getTabs:function(){return K},getPanes:function(){return I},getCurrentPane:function(){return I.eq(G)},getCurrentTab:function(){return K.eq(G)},getIndex:function(){return G},next:function(){return z.click(G+1)},prev:function(){return z.click(G-1)},destroy:function(){K.unbind(q.event).removeClass(q.current); +I.find("a[href^=#]").unbind("click.T");return z}});d.each("onBeforeClick,onClick".split(","),function(h,o){d.isFunction(q[o])&&d(z).bind(o,q[o]);z[o]=function(h){h&&d(z).bind(o,h);return z}});if(q.history&&d.fn.history)d.tools.history.init(K),q.event="history";K.each(function(h){d(this).bind(q.event,function(d){z.click(h,d);return d.preventDefault()})});I.find("a[href^=#]").bind("click.T",function(h){z.click(d(this).attr("href"),h)});location.hash&&q.tabs=="a"&&h.find("[href="+location.hash+"]").length? +z.click(location.hash):(q.initialIndex===0||q.initialIndex>0)&&z.click(q.initialIndex)}d.tools=d.tools||{version:"@VERSION"};d.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,history:!1},addEffect:function(d,h){F[d]=h}};var F={"default":function(d,h){this.getPanes().hide().eq(d).show();h.call()},fade:function(d,h){var p=this.getConf(),z=p.fadeOutSpeed,F=this.getPanes();z?F.fadeOut(z):F.hide();F.eq(d).fadeIn(p.fadeInSpeed, +h)},slide:function(d,h){this.getPanes().slideUp(200);this.getPanes().eq(d).slideDown(400,h)},ajax:function(d,h){this.getPanes().eq(0).load(this.getTabs().eq(d).attr("href"),h)}},p;d.tools.tabs.addEffect("horizontal",function(h,B){p||(p=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){d(this).hide()});this.getPanes().eq(h).animate({width:p},function(){d(this).show();B.call()})});d.fn.tabs=function(p,B){var q=this.data("tabs");q&&(q.destroy(),this.removeData("tabs")); +d.isFunction(B)&&(B={onBeforeClick:B});B=d.extend({},d.tools.tabs.conf,B);this.each(function(){q=new h(d(this),p,B);d(this).data("tabs",q)});return B.api?q:this}})(jQuery); -- cgit v1.2.3-2-g168b