summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/assets/js/dependencies.js698
1 files changed, 318 insertions, 380 deletions
diff --git a/docs/examples/assets/js/dependencies.js b/docs/examples/assets/js/dependencies.js
index 8cc00ea..40de604 100644
--- a/docs/examples/assets/js/dependencies.js
+++ b/docs/examples/assets/js/dependencies.js
@@ -1,6 +1,4 @@
-// Compiled with closure-compiler on 2011-06-26 19:43:10.232880
-// @code_url https://raw.github.com/mochi/mochikit/master/MochiKit/Base.js
-// @code_url https://raw.github.com/mochi/mochikit/master/MochiKit/Async.js
+// Compiled with closure-compiler on 2011-06-26 20:27:11.373542
// @code_url http://code.jquery.com/jquery-1.6.1.js
// @code_url http://flot.googlecode.com/svn/trunk/excanvas.js
// @code_url http://flot.googlecode.com/svn/trunk/jquery.flot.js
@@ -14,375 +12,315 @@
// @output_format text
// @output_info compiled_code
// Input 0
-var MochiKit=MochiKit||{};if(typeof MochiKit.__export__=="undefined")MochiKit.__export__=!0;MochiKit.NAME="MochiKit";MochiKit.VERSION="1.5";MochiKit.__repr__=function(){return"["+this.NAME+" "+this.VERSION+"]"};MochiKit.toString=function(){return this.__repr__()};MochiKit.Base=MochiKit.Base||{};
-MochiKit.Base.module=function(a,b,e,f){var j=a[b]=a[b]||{},l=a.NAME?a.NAME+".":"";j.NAME=l+b;j.VERSION=e;j.__repr__=function(){return"["+this.NAME+" "+this.VERSION+"]"};j.toString=function(){return this.__repr__()};for(b=0;f!=null&&b<f.length;b++)if(!(f[b]in a))throw j.NAME+" depends on "+l+f[b]+"!";return j};MochiKit.Base.module(MochiKit,"Base","1.5",[]);
-MochiKit.Base.update=function(a){if(a===null||a===void 0)a={};for(var b=1;b<arguments.length;b++){var e=arguments[b];if(typeof e!="undefined"&&e!==null)for(var f in e)a[f]=e[f]}return a};
-MochiKit.Base.update(MochiKit.Base,{camelize:function(a){for(var a=a.split("-"),b=a[0],e=1;e<a.length;e++)b+=a[e].charAt(0).toUpperCase()+a[e].substring(1);return b},counter:function(a){arguments.length===0&&(a=1);return function(){return a++}},clone:function(a){var b=arguments.callee;if(arguments.length==1)return b.prototype=a,new b},_flattenArray:function(a,b){for(var e=0;e<b.length;e++){var f=b[e];f instanceof Array?arguments.callee(a,f):a.push(f)}return a},flattenArray:function(a){return MochiKit.Base._flattenArray([],
-a)},flattenArguments:function(){for(var a=[],b=MochiKit.Base.extend(null,arguments);b.length;){var e=b.shift();if(e&&typeof e=="object"&&typeof e.length=="number")for(var f=e.length-1;f>=0;f--)b.unshift(e[f]);else a.push(e)}return a},extend:function(a,b,e){e||(e=0);if(b){var f=b.length;if(typeof f!="number")if(typeof MochiKit.Iter!="undefined")b=MochiKit.Iter.list(b),f=b.length;else throw new TypeError("Argument not an array-like and MochiKit.Iter not present");for(a||(a=[]);e<f;e++)a.push(b[e])}return a},
-updatetree:function(a){if(a===null||a===void 0)a={};for(var b=1;b<arguments.length;b++){var e=arguments[b];if(typeof e!="undefined"&&e!==null)for(var f in e){var j=e[f];typeof a[f]=="object"&&typeof j=="object"?arguments.callee(a[f],j):a[f]=j}}return a},setdefault:function(a){if(a===null||a===void 0)a={};for(var b=1;b<arguments.length;b++){var e=arguments[b],f;for(f in e)f in a||(a[f]=e[f])}return a},keys:function(a){var b=[],e;for(e in a)b.push(e);return b},values:function(a){var b=[],e;for(e in a)b.push(a[e]);
-return b},items:function(a){var b=[],e;for(e in a){var f;try{f=a[e]}catch(j){continue}b.push([e,f])}return b},_newNamedError:function(a,b,e){e.prototype=new MochiKit.Base.NamedError(a.NAME+"."+b);e.prototype.constructor=e;a[b]=e},operator:{truth:function(a){return!!a},lognot:function(a){return!a},identity:function(a){return a},not:function(a){return~a},neg:function(a){return-a},add:function(a,b){return a+b},sub:function(a,b){return a-b},div:function(a,b){return a/b},mod:function(a,b){return a%b},
-mul:function(a,b){return a*b},and:function(a,b){return a&b},or:function(a,b){return a|b},xor:function(a,b){return a^b},lshift:function(a,b){return a<<b},rshift:function(a,b){return a>>b},zrshift:function(a,b){return a>>>b},eq:function(a,b){return a==b},ne:function(a,b){return a!=b},gt:function(a,b){return a>b},ge:function(a,b){return a>=b},lt:function(a,b){return a<b},le:function(a,b){return a<=b},seq:function(a,b){return a===b},sne:function(a,b){return a!==b},ceq:function(a,b){return MochiKit.Base.compare(a,
-b)===0},cne:function(a,b){return MochiKit.Base.compare(a,b)!==0},cgt:function(a,b){return MochiKit.Base.compare(a,b)==1},cge:function(a,b){return MochiKit.Base.compare(a,b)!=-1},clt:function(a,b){return MochiKit.Base.compare(a,b)==-1},cle:function(a,b){return MochiKit.Base.compare(a,b)!=1},logand:function(a,b){return a&&b},logor:function(a,b){return a||b},contains:function(a,b){return b in a}},forwardCall:function(a){return function(){return this[a].apply(this,arguments)}},itemgetter:function(a){return function(b){return b[a]}},
-bool:function(a){return typeof a==="boolean"||a instanceof Boolean?a.valueOf():typeof a==="string"||a instanceof String?a.length>0&&a!="false"&&a!="null"&&a!="undefined"&&a!="0":typeof a==="number"||a instanceof Number?!isNaN(a)&&a!=0:a!=null&&typeof a.length==="number"?a.length!==0:a!=null},typeMatcher:function(){for(var a={},b=0;b<arguments.length;b++){var e=arguments[b];a[e]=e}return function(){for(var b=0;b<arguments.length;b++)if(!(typeof arguments[b]in a))return!1;return!0}},isNull:function(){for(var a=
-0;a<arguments.length;a++)if(arguments[a]!==null)return!1;return!0},isUndefinedOrNull:function(){for(var a=0;a<arguments.length;a++){var b=arguments[a];if(!(typeof b=="undefined"||b===null))return!1}return!0},isEmpty:function(){return!MochiKit.Base.isNotEmpty.apply(this,arguments)},isNotEmpty:function(){for(var a=0;a<arguments.length;a++){var b=arguments[a];if(!b||!b.length)return!1}return!0},isArrayLike:function(){for(var a=0;a<arguments.length;a++){var b=arguments[a],e=typeof b;if(e!="object"&&!(e==
-"function"&&typeof b.item=="function")||b===null||typeof b.length!="number"||b.nodeType===3||b.nodeType===4)return!1}return!0},isDateLike:function(){for(var a=0;a<arguments.length;a++){var b=arguments[a];if(typeof b!="object"||b===null||typeof b.getTime!="function")return!1}return!0},xmap:function(a){if(a===null)return MochiKit.Base.extend(null,arguments,1);for(var b=[],e=1;e<arguments.length;e++)b.push(a(arguments[e]));return b},map:function(a,b){var e=MochiKit.Base,f=MochiKit.Iter,j=e.isArrayLike;
-if(arguments.length<=2){if(!j(b))if(f){if(b=f.list(b),a===null)return b}else throw new TypeError("Argument not an array-like and MochiKit.Iter not present");if(a===null)return e.extend(null,b);f=[];for(e=0;e<b.length;e++)f.push(a(b[e]))}else{a===null&&(a=Array);for(var l=null,e=1;e<arguments.length;e++){if(!j(arguments[e]))if(f)return f.list(f.imap.apply(null,arguments));else throw new TypeError("Argument not an array-like and MochiKit.Iter not present");var k=arguments[e].length;if(l===null||l>k)l=
-k}f=[];for(e=0;e<l;e++){j=[];for(k=1;k<arguments.length;k++)j.push(arguments[k][e]);f.push(a.apply(this,j))}}return f},xfilter:function(a){var b=[];if(a===null)a=MochiKit.Base.operator.truth;for(var e=1;e<arguments.length;e++){var f=arguments[e];a(f)&&b.push(f)}return b},filter:function(a,b,e){var f=[],j=MochiKit.Base;if(!j.isArrayLike(b))if(MochiKit.Iter)b=MochiKit.Iter.list(b);else throw new TypeError("Argument not an array-like and MochiKit.Iter not present");if(a===null)a=j.operator.truth;if(typeof Array.prototype.filter==
-"function")return Array.prototype.filter.call(b,a,e);else if(typeof e=="undefined"||e===null)for(j=0;j<b.length;j++){var l=b[j];a(l)&&f.push(l)}else for(j=0;j<b.length;j++)l=b[j],a.call(e,l)&&f.push(l);return f},_wrapDumbFunction:function(a){return function(){switch(arguments.length){case 0:return a();case 1:return a(arguments[0]);case 2:return a(arguments[0],arguments[1]);case 3:return a(arguments[0],arguments[1],arguments[2])}for(var b=[],e=0;e<arguments.length;e++)b.push("arguments["+e+"]");return eval("(func("+
-b.join(",")+"))")}},methodcaller:function(a){var b=MochiKit.Base.extend(null,arguments,1);return typeof a=="function"?function(e){return a.apply(e,b)}:function(e){return e[a].apply(e,b)}},method:function(a,b){var e=MochiKit.Base;return e.bind.apply(this,e.extend([b,a],arguments,2))},compose:function(){var a=[],b=MochiKit.Base;if(arguments.length===0)throw new TypeError("compose() requires at least one argument");for(var e=0;e<arguments.length;e++){var f=arguments[e];if(typeof f!="function")throw new TypeError(b.repr(f)+
-" is not a function");a.push(f)}return function(){for(var b=arguments,e=a.length-1;e>=0;e--)b=[a[e].apply(this,b)];return b[0]}},bind:function(a,b){typeof a=="string"&&(a=b[a]);var e=a.im_func,f=a.im_preargs,j=a.im_self,l=MochiKit.Base;typeof a=="function"&&typeof a.apply=="undefined"&&(a=l._wrapDumbFunction(a));typeof e!="function"&&(e=a);typeof b!="undefined"&&(j=b);f=typeof f=="undefined"?[]:f.slice();l.extend(f,arguments,2);var k=function(){var a=arguments,b=arguments.callee;b.im_preargs.length>
-0&&(a=l.concat(b.im_preargs,a));var e=b.im_self;e||(e=this);return b.im_func.apply(e,a)};k.im_self=j;k.im_func=e;k.im_preargs=f;if(typeof e.NAME=="string")k.NAME="bind("+e.NAME+",...)";return k},bindLate:function(a){var b=MochiKit.Base,e=arguments;typeof a==="string"&&(e=b.extend([b.forwardCall(a)],arguments,1));return b.bind.apply(this,e)},bindMethods:function(a){var b=MochiKit.Base.bind,e;for(e in a){var f=a[e];typeof f=="function"&&(a[e]=b(f,a))}},registerComparator:function(a,b,e,f){MochiKit.Base.comparatorRegistry.register(a,
-b,e,f)},_primitives:{"boolean":!0,string:!0,number:!0},compare:function(a,b){if(a==b)return 0;var e=typeof a=="undefined"||a===null,f=typeof b=="undefined"||b===null;if(e&&f)return 0;else if(e)return-1;else if(f)return 1;e=MochiKit.Base;f=e._primitives;if(!(typeof a in f&&typeof b in f))try{return e.comparatorRegistry.match(a,b)}catch(j){if(j!=e.NotFound)throw j;}if(a<b)return-1;else if(a>b)return 1;e=e.repr;throw new TypeError(e(a)+" and "+e(b)+" can not be compared");},compareDateLike:function(a,
-b){return MochiKit.Base.compare(a.getTime(),b.getTime())},compareArrayLike:function(a,b){var e=MochiKit.Base.compare,f=a.length,j=0;f>b.length?(j=1,f=b.length):f<b.length&&(j=-1);for(var l=0;l<f;l++){var k=e(a[l],b[l]);if(k)return k}return j},registerRepr:function(a,b,e,f){MochiKit.Base.reprRegistry.register(a,b,e,f)},repr:function(a){if(typeof a=="undefined")return"undefined";else if(a===null)return"null";try{if(typeof a.__repr__=="function")return a.__repr__();else if(typeof a.repr=="function"&&
-a.repr!=arguments.callee)return a.repr();return MochiKit.Base.reprRegistry.match(a)}catch(b){try{if(typeof a.NAME=="string"&&(a.toString==Function.prototype.toString||a.toString==Object.prototype.toString))return a.NAME}catch(e){}}var f=a+"";if(typeof a=="function"){var f=f.replace(/^\s+/,"").replace(/\s+/g," "),f=f.replace(/,(\S)/,", $1"),j=f.indexOf("{");j!=-1&&(f=f.substr(0,j)+"{...}")}return f},reprArrayLike:function(a){var b=MochiKit.Base;return"["+b.map(b.repr,a).join(", ")+"]"},reprString:function(a){return('"'+
-a.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\v]/g,"\\v").replace(/[\r]/g,"\\r")},reprNumber:function(a){return a+""},registerJSON:function(a,b,e,f){MochiKit.Base.jsonRegistry.register(a,b,e,f)},evalJSON:function(a){return eval("("+MochiKit.Base._filterJSON(a)+")")},_filterJSON:function(a){var b=a.match(/^\s*\/\*(.*)\*\/\s*$/);return b?b[1]:a},serializeJSON:function(a){var b=typeof a;if(b=="number"||b=="boolean")return a+
-"";else if(a===null)return"null";else if(b=="string"){for(var b="",e=0;e<a.length;e++){var f=a.charAt(e);f=='"'?b+='\\"':f=="\\"?b+="\\\\":f=="\u0008"?b+="\\b":f=="\u000c"?b+="\\f":f=="\n"?b+="\\n":f=="\r"?b+="\\r":f=="\t"?b+="\\t":a.charCodeAt(e)<=31?(f=a.charCodeAt(e).toString(16),f.length<2&&(f="0"+f),b+="\\u00"+f.toUpperCase()):b+=f}return'"'+b+'"'}var f=arguments.callee,j;if(typeof a.toJSON=="function"&&(j=a.toJSON(),a!==j))return f(j);if(typeof a.__json__=="function"&&(j=a.__json__(),a!==j))return f(j);
-if(typeof a.json=="function"&&(j=a.json(),a!==j))return f(j);if(b!="function"&&typeof a.length=="number"){b=[];for(e=0;e<a.length;e++)j=f(a[e]),typeof j=="string"&&b.push(j);return"["+b.join(", ")+"]"}var l=MochiKit.Base;try{if(j=l.jsonRegistry.match(a),a!==j)return f(j)}catch(k){if(k!=l.NotFound)throw k;}if(b=="undefined")throw new TypeError("undefined can not be serialized as JSON");if(b=="function")return null;b=[];for(e in a){if(typeof e=="number")l='"'+e+'"';else if(typeof e=="string")l=f(e);
-else continue;j=f(a[e]);typeof j=="string"&&b.push(l+":"+j)}return"{"+b.join(", ")+"}"},objEqual:function(a,b){return MochiKit.Base.compare(a,b)===0},arrayEqual:function(a,b){if(a.length!=b.length)return!1;return MochiKit.Base.compare(a,b)===0},concat:function(){for(var a=[],b=MochiKit.Base.extend,e=0;e<arguments.length;e++)b(a,arguments[e]);return a},keyComparator:function(a){var b=MochiKit.Base,e=b.compare;if(arguments.length==1)return function(b,f){return e(b[a],f[a])};var f=b.extend(null,arguments);
-return function(a,b){for(var k=0,A=0;k===0&&A<f.length;A++)k=f[A],k=e(a[k],b[k]);return k}},reverseKeyComparator:function(){var a=MochiKit.Base.keyComparator.apply(this,arguments);return function(b,e){return a(e,b)}},partial:function(a){var b=MochiKit.Base;return b.bind.apply(this,b.extend([a,void 0],arguments,1))},listMinMax:function(a,b){if(b.length===0)return null;for(var e=b[0],f=MochiKit.Base.compare,j=1;j<b.length;j++){var l=b[j];f(l,e)==a&&(e=l)}return e},objMax:function(){return MochiKit.Base.listMinMax(1,
-arguments)},objMin:function(){return MochiKit.Base.listMinMax(-1,arguments)},findIdentical:function(a,b,e,f){if(typeof f=="undefined"||f===null)f=a.length;if(typeof e=="undefined"||e===null)e=0;for(;e<f;e++)if(a[e]===b)return e;return-1},mean:function(){for(var a=0,b=MochiKit.Base.extend(null,arguments),e=b.length;b.length;){var f=b.shift();if(f&&typeof f=="object"&&typeof f.length=="number"){e+=f.length-1;for(var j=f.length-1;j>=0;j--)a+=f[j]}else a+=f}if(e<=0)throw new TypeError("mean() requires at least one argument");
-return a/e},median:function(){var a=MochiKit.Base.flattenArguments(arguments);if(a.length===0)throw new TypeError("median() requires at least one argument");a.sort(MochiKit.Base.compare);if(a.length%2==0){var b=a.length/2;return(a[b]+a[b-1])/2}else return a[(a.length-1)/2]},findValue:function(a,b,e,f){if(typeof f=="undefined"||f===null)f=a.length;if(typeof e=="undefined"||e===null)e=0;for(var j=MochiKit.Base.compare;e<f;e++)if(j(a[e],b)===0)return e;return-1},nodeWalk:function(a,b){for(var e=[a],
-f=MochiKit.Base.extend;e.length;){var j=b(e.shift());j&&f(e,j)}},nameFunctions:function(a){var b=a.NAME;typeof b=="undefined"?b="":b+=".";for(var e in a){var f=a[e];if(typeof f=="function"&&typeof f.NAME=="undefined")try{f.NAME=b+e}catch(j){}}},queryString:function(a,b){if(typeof MochiKit.DOM!="undefined"&&arguments.length==1&&(typeof a=="string"||typeof a.nodeType!="undefined"&&a.nodeType>0))var e=MochiKit.DOM.formContents(a),a=e[0],b=e[1];else if(arguments.length==1){if(typeof a.length=="number"&&
-a.length==2)return arguments.callee(a[0],a[1]);var f=a,a=[],b=[],j;for(j in f)if(e=f[j],typeof e!="function")if(MochiKit.Base.isArrayLike(e))for(var l=0;l<e.length;l++)a.push(j),b.push(e[l]);else a.push(j),b.push(e)}f=[];j=Math.min(a.length,b.length);for(var k=MochiKit.Base.urlEncode,l=0;l<j;l++)e=b[l],typeof e!="undefined"&&e!==null&&f.push(k(a[l])+"="+k(e));return f.join("&")},parseQueryString:function(a,b){var e=(a.charAt(0)=="?"?a.substring(1):a).replace(/\+/g,"%20").split(/\&amp\;|\&\#38\;|\&#x26;|\&/),
-f={},j;j=typeof decodeURIComponent!="undefined"?decodeURIComponent:unescape;if(b)for(var l=0;l<e.length;l++){var k=e[l].split("="),A=j(k.shift());if(A){var G=f[A];G instanceof Array||(G=[],f[A]=G);G.push(j(k.join("=")))}}else for(l=0;l<e.length;l++)k=e[l].split("="),(A=k.shift())&&(f[j(A)]=j(k.join("=")));return f}});MochiKit.Base.AdapterRegistry=function(){this.pairs=[]};
-MochiKit.Base.AdapterRegistry.prototype={register:function(a,b,e,f){f?this.pairs.unshift([a,b,e]):this.pairs.push([a,b,e])},match:function(){for(var a=0;a<this.pairs.length;a++){var b=this.pairs[a];if(b[1].apply(this,arguments))return b[2].apply(this,arguments)}throw MochiKit.Base.NotFound;},unregister:function(a){for(var b=0;b<this.pairs.length;b++)if(this.pairs[b][0]==a)return this.pairs.splice(b,1),!0;return!1}};
-MochiKit.Base.moduleExport=function(a,b){for(var e={toString:!0,NAME:!0,VERSION:!0},f=MochiKit.Base.extend([],arguments,1);(b=f.shift())!=null;)for(var j in b){var l=b[j];if(l!=null){var k=j[0]!=="_"&&!e[j];if(typeof l.__export__=="boolean"?l.__export__:k)typeof l=="object"&&l.NAME&&l.VERSION?f.push(l):a[j]=b[j]}}return a};MochiKit.Base._exportSymbols=function(a,b){MochiKit.__export__!==!1&&b.__export__!==!1&&MochiKit.Base.moduleExport(a,b)};
-MochiKit.Base._deprecated=function(a,b,e,f,j){typeof a==="string"&&(a.indexOf("MochiKit.")===0&&(a=a.substring(9)),a=MochiKit[a]);var l=e.split(".")[1],k=e.split(".")[2],A=function(){var j=arguments.callee,A=a.NAME+"."+b+" is deprecated since version "+f+". Use "+e+" instead.";if(j.logged!==!0)j.logged=!0,MochiKit.Logging?MochiKit.Logging.logDebug(A):console&&console.log&&console.log(A);if(!MochiKit[l])throw Error(A);return MochiKit[l][k].apply(this,arguments)};A.__export__=j===!0;a[b]=A};
-MochiKit.Base.__new__=function(){var a=this;a.noop=a.operator.identity;a._deprecated(a,"forward","MochiKit.Base.forwardCall","1.3");a._deprecated(a,"find","MochiKit.Base.findValue","1.3");a.urlEncode=typeof encodeURIComponent!="undefined"?function(a){return encodeURIComponent(a).replace(/\'/g,"%27")}:function(a){return escape(a).replace(/\+/g,"%2B").replace(/\"/g,"%22").replace(/\'/g,"%27")};a.NamedError=function(a){this.name=this.message=a};a.NamedError.prototype=Error();a.NamedError.prototype.constructor=
-a.NamedError;a.update(a.NamedError.prototype,{repr:function(){return this.message&&this.message!=this.name?this.name+"("+a.repr(this.message)+")":this.name+"()"},toString:a.forwardCall("repr")});a.NotFound=new a.NamedError("MochiKit.Base.NotFound");a.listMax=a.partial(a.listMinMax,1);a.listMin=a.partial(a.listMinMax,-1);a.isCallable=a.typeMatcher("function");a.isUndefined=a.typeMatcher("undefined");a.isValue=a.typeMatcher("boolean","number","string");a.merge=a.partial(a.update,null);a.zip=a.partial(a.map,
-null);a.average=a.mean;a.comparatorRegistry=new a.AdapterRegistry;a.registerComparator("dateLike",a.isDateLike,a.compareDateLike);a.registerComparator("arrayLike",a.isArrayLike,a.compareArrayLike);a.reprRegistry=new a.AdapterRegistry;a.registerRepr("arrayLike",a.isArrayLike,a.reprArrayLike);a.registerRepr("string",a.typeMatcher("string"),a.reprString);a.registerRepr("numbers",a.typeMatcher("number","boolean"),a.reprNumber);a.jsonRegistry=new a.AdapterRegistry;a.nameFunctions(this)};MochiKit.Base.__new__();
-if(MochiKit.__export__)compare=MochiKit.Base.compare,compose=MochiKit.Base.compose,serializeJSON=MochiKit.Base.serializeJSON,mean=MochiKit.Base.mean,median=MochiKit.Base.median;MochiKit.Base._exportSymbols(this,MochiKit.Base);
+(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;e<l.length;e++)H=l[e],H.origType.replace(Aa,"")===a.type?s.push(H.selector):l.splice(e--,1);s=b(a.target).closest(s,a.currentTarget);j=0;for(o=s.length;j<o;j++){d=s[j];for(e=0;e<l.length;e++)if(H=l[e],d.selector===H.selector&&(!v||v.test(H.namespace))&&!d.elem.disabled){f=d.elem;k=null;if(H.preType==="mouseenter"||H.preType==="mouseleave")a.type=H.preType,(k=b(a.relatedTarget).closest(H.selector)[0])&&b.contains(f,k)&&(k=f);(!k||k!==f)&&u.push({elem:f,
+handleObj:H,level:d.level})}}j=0;for(o=u.length;j<o;j++){s=u[j];if(h&&s.level>h)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<k;h++)b.event.add(c,f+(H[f][h].namespace?".":"")+H[f][h].namespace,
+H[f][h],H[f][h].data)}}}}}function q(a,c){var h;if(c.nodeType===1){c.clearAttributes&&c.clearAttributes();c.mergeAttributes&&c.mergeAttributes(a);h=c.nodeName.toLowerCase();if(h==="object")c.outerHTML=a.outerHTML;else if(h==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)c.defaultChecked=c.checked=a.checked;if(c.value!==a.value)c.value=a.value}else if(h==="option")c.selected=a.defaultSelected;else if(h==="input"||h==="textarea")c.defaultValue=a.defaultValue;c.removeAttribute(b.expando)}}
+function n(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function t(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function V(a){b.nodeName(a,"input")?t(a):a.getElementsByTagName&&b.grep(a.getElementsByTagName("input"),t)}function Q(a,c){c.src?b.ajax({url:c.src,async:!1,dataType:"script"}):b.globalEval((c.text||c.textContent||c.innerHTML||"").replace(kb,"/*$0*/"));c.parentNode&&c.parentNode.removeChild(c)}
+function R(a,c,h){var k=c==="width"?a.offsetWidth:a.offsetHeight;if(h==="border")return k;b.each(c==="width"?lb:mb,function(){h||(k-=parseFloat(b.css(a,"padding"+this))||0);h==="margin"?k+=parseFloat(b.css(a,"margin"+this))||0:k-=parseFloat(b.css(a,"border"+this+"Width"))||0});return k}function S(a){return function(c,h){var Y;typeof c!=="string"&&(h=c,c="*");if(b.isFunction(h))for(var k=c.toLowerCase().split($a),s=0,H=k.length,f,e;s<H;s++)f=k[s],(e=/^\+/.test(f))&&(f=f.substr(1)||"*"),Y=a[f]=a[f]||
+[],f=Y,f[e?"unshift":"push"](h)}}function x(a,c,b,k,s,H){s=s||c.dataTypes[0];H=H||{};H[s]=!0;for(var s=a[s],f=0,e=s?s.length:0,j=a===Ua,o;f<e&&(j||!o);f++)o=s[f](c,b,k),typeof o==="string"&&(!j||H[o]?o=g:(c.dataTypes.unshift(o),o=x(a,c,b,k,o,H)));if((j||!o)&&!H["*"])o=x(a,c,b,k,"*",H);return o}function X(a,c,h,k){if(b.isArray(c))b.each(c,function(c,s){h||nb.test(a)?k(a,s):X(a+"["+(typeof s==="object"||b.isArray(s)?c:"")+"]",s,h,k)});else if(!h&&c!=null&&typeof c==="object")for(var s in c)X(a+"["+
+s+"]",c[s],h,k);else k(a,c)}function L(){try{return new d.XMLHttpRequest}catch(a){}}function ga(){setTimeout(O,0);return Qa=b.now()}function O(){Qa=g}function ha(a,c){var h={};b.each(ab.concat.apply([],ab.slice(0,c)),function(){h[this]=a});return h}function qa(a){if(!Va[a]){var c=b("<"+a+">").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("<!doctype><html><body></body></html>");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(;H<Y;H++)if((a=arguments[H])!=null)for(b in a)h=f[b],k=a[b],f!==k&&(e&&k&&(c.isPlainObject(k)||(s=c.isArray(k)))?(s?(s=!1,h=h&&c.isArray(h)?h:[]):h=h&&c.isPlainObject(h)?h:{},f[b]=c.extend(e,h,k)):k!==g&&(f[b]=k));return f};c.extend({noConflict:function(a){if(d.$===c)d.$=k;if(a&&d.jQuery===
+c)d.jQuery=b;return c},isReady:!1,readyWait:1,holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(a===!0&&!--c.readyWait||a!==!0&&!c.isReady){if(!y.body)return setTimeout(c.ready,1);c.isReady=!0;a!==!0&&--c.readyWait>0||(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(;s<f;){if(b.apply(a[s++],h)===!1)break}else if(H)for(k in a){if(b.call(a[k],k,a[k])===!1)break}else for(;s<f;)if(b.call(a[s],s,a[s++])===!1)break;return a},trim:w?function(a){return a==null?"":w.call(a)}:function(a){return a==null?"":a.toString().replace(j,"").replace(o,"")},makeArray:function(a,b){var h=b||[];if(a!=null){var k=c.type(a);a.length==null||k==="string"||k==="function"||k===
+"regexp"||c.isWindow(a)?Xa.call(h,a):c.merge(h,a)}return h},inArray:function(a,c){if(n)return n.call(c,a);for(var b=0,h=c.length;b<h;b++)if(c[b]===a)return b;return-1},merge:function(a,c){var b=a.length,h=0;if(typeof c.length==="number")for(var k=c.length;h<k;h++)a[b++]=c[h];else for(;c[h]!==g;)a[b++]=c[h++];a.length=b;return a},grep:function(a,c,b){for(var h=[],k,b=!!b,s=0,f=a.length;s<f;s++)k=!!c(a[s],s),b!==k&&h.push(a[s]);return h},map:function(a,b,h){var k,s,f=[],H=0,Y=a.length;if(a instanceof
+c||Y!==g&&typeof Y==="number"&&(Y>0&&a[0]&&a[Y-1]||Y===0||c.isArray(a)))for(;H<Y;H++)k=b(a[H],H,h),k!=null&&(f[f.length]=k);else for(s in a)k=b(a[s],s,h),k!=null&&(f[f.length]=k);return f.concat.apply([],f)},guid:1,proxy:function(a,b){if(typeof b==="string")var h=a[b],b=a,a=h;if(!c.isFunction(a))return g;var k=$.call(arguments,2),h=function(){return a.apply(b,k.concat($.call(arguments)))};h.guid=a.guid=a.guid||h.guid||c.guid++;return h},access:function(a,b,h,k,s,f){var H=a.length;if(typeof b==="object"){for(var Y in b)c.access(a,
+Y,b[Y],k,s,h);return a}if(h!==g){k=!f&&k&&c.isFunction(h);for(Y=0;Y<H;Y++)s(a[Y],b,k?h.call(a[Y],Y,s(a[Y],b)):h,f);return a}return H?s(a[0],b):g},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=z.exec(a)||ma.exec(a)||J.exec(a)||a.indexOf("compatible")<0&&Ca.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(c,b){return new a.fn.init(c,b)}c.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;
+a.fn.init=function(h,k){k&&k instanceof c&&!(k instanceof a)&&(k=a(k));return c.fn.init.call(this,h,k,b)};a.fn.init.prototype=a.fn;var b=a(y);return a},browser:{}});c.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,c){za["[object "+c+"]"]=c.toLowerCase()});Y=c.uaMatch(Y);if(Y.browser)c.browser[Y.browser]=!0,c.browser.version=Y.version;if(c.browser.webkit)c.browser.safari=!0;e.test("\u00a0")&&(j=/^[\s\xA0]+/,o=/[\s\xA0]+$/);s=c(y);y.addEventListener?Ia=function(){y.removeEventListener("DOMContentLoaded",
+Ia,!1);c.ready()}:y.attachEvent&&(Ia=function(){y.readyState==="complete"&&(y.detachEvent("onreadystatechange",Ia),c.ready())});return c}(),aa="done fail isResolved isRejected promise then always pipe".split(" "),ba=[].slice;b.extend({_Deferred:function(){var a=[],c,h,k,s={done:function(){if(!k){var h=arguments,f,e,j,o,d;c&&(d=c,c=0);f=0;for(e=h.length;f<e;f++)j=h[f],o=b.type(j),o==="array"?s.done.apply(s,j):o==="function"&&a.push(j);d&&s.resolveWith(d[0],d[1])}return this},resolveWith:function(b,
+s){if(!k&&!c&&!h){s=s||[];h=1;try{for(;a[0];)a.shift().apply(b,s)}finally{c=[b,s],h=0}}return this},resolve:function(){s.resolveWith(this,arguments);return this},isResolved:function(){return!(!h&&!c)},cancel:function(){k=1;a=[];return this}};return s},Deferred:function(a){var c=b._Deferred(),h=b._Deferred(),k;b.extend(c,{then:function(a,b){c.done(a).fail(b);return this},always:function(){return c.done.apply(c,arguments).fail.apply(this,arguments)},fail:h.done,rejectWith:h.resolveWith,reject:h.resolve,
+isRejected:h.isResolved,pipe:function(a,h){return b.Deferred(function(k){b.each({done:[a,"resolve"],fail:[h,"reject"]},function(a,h){var s=h[0],f=h[1],H;if(b.isFunction(s))c[a](function(){if((H=s.apply(this,arguments))&&b.isFunction(H.promise))H.promise().then(k.resolve,k.reject);else k[f](H)});else c[a](k[f])})}).promise()},promise:function(a){if(a==null){if(k)return k;k=a={}}for(var b=aa.length;b--;)a[aa[b]]=c[aa[b]];return a}});c.done(h.cancel).fail(c.cancel);delete c.cancel;a&&a.call(c,c);return c},
+when:function(a){function c(a){return function(c){h[a]=arguments.length>1?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<s;k++)h[k]&&b.isFunction(h[k].promise)?h[k].promise().then(c(k),e.reject):--f;f||e.resolveWith(e,h)}else e!==a&&e.resolveWith(e,s?[a]:[]);return e.promise()}});b.support=function(){var a=y.createElement("div"),c=y.documentElement,b,k,s,f,e,j;a.setAttribute("className",
+"t");a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";b=a.getElementsByTagName("*");k=a.getElementsByTagName("a")[0];if(!b||!b.length||!k)return{};s=y.createElement("select");f=s.appendChild(y.createElement("option"));b=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:b.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};b.checked=!0;e.noCloneChecked=b.cloneNode(!0).checked;s.disabled=!0;e.optDisabled=!f.disabled;try{delete a.test}catch(o){e.deleteExpando=!1}!a.addEventListener&&
+a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function jb(){e.noCloneEvent=!1;a.detachEvent("onclick",jb)}),a.cloneNode(!0).fireEvent("onclick"));b=y.createElement("input");b.value="t";b.setAttribute("type","radio");e.radioValue=b.value==="t";b.setAttribute("checked","checked");a.appendChild(b);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";k=y.createElement("body");
+s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(j in s)k.style[j]=s[j];k.appendChild(a);c.insertBefore(k,c.firstChild);e.appendChecked=b.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="<div style='width:4px;'></div>",e.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
+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<e;f++)s=k[f].name,s.indexOf("data-")===0&&(s=b.camelCase(s.substring(5)),F(this[0],s,h[s]));return h}else if(typeof a==="object")return this.each(function(){b.data(this,a)});var j=a.split(".");j[1]=j[1]?"."+j[1]:"";return c===g?(h=this.triggerHandler("getData"+j[1]+
+"!",[j[0]]),h===g&&this.length&&(h=b.data(this[0],a),h=F(this[0],a,h)),h===g&&j[1]?this.data(j[0]):h):this.each(function(){var h=b(this),k=[j[0],c];h.triggerHandler("setData"+j[1]+"!",k);b.data(this,a,c);h.triggerHandler("changeData"+j[1]+"!",k)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})}});b.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",b.data(a,c,(b.data(a,c,g,!0)||0)+1,!0))},_unmark:function(a,c,h){a!==!0&&(h=c,c=a,a=!1);if(c){var h=h||"fx",k=h+"mark";(a=
+a?0:(b.data(c,k,g,!0)||1)-1)?b.data(c,k,a,!0):(b.removeData(c,k,!0),C(c,h,"mark"))}},queue:function(a,c,h){if(a){var c=(c||"fx")+"queue",k=b.data(a,c,g,!0);h&&(!k||b.isArray(h)?k=b.data(a,c,b.makeArray(h),!0):k.push(h));return k||[]}},dequeue:function(a,c){var c=c||"fx",h=b.queue(a,c),k=h.shift();k==="inprogress"&&(k=h.shift());k&&(c==="fx"&&h.unshift("inprogress"),k.call(a,function(){b.dequeue(a,c)}));h.length||(b.removeData(a,c+"queue",!0),C(a,c,"queue"))}});b.fn.extend({queue:function(a,c){typeof a!==
+"string"&&(c=a,a="fx");if(c===g)return b.queue(this[0],a);return this.each(function(){var h=b.queue(this,a,c);a==="fx"&&h[0]!=="inprogress"&&b.dequeue(this,a)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})},delay:function(a,c){a=b.fx?b.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var h=this;setTimeout(function(){b.dequeue(h,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function c(){--f||h.resolveWith(k,[k])}typeof a!=="string"&&
+(a=g);var a=a||"fx",h=b.Deferred(),k=this,s=k.length,f=1,e=a+"defer",j=a+"queue";a+="mark";for(var o;s--;)if(o=b.data(k[s],e,g,!0)||(b.data(k[s],j,g,!0)||b.data(k[s],a,g,!0))&&b.data(k[s],e,b._Deferred(),!0))f++,o.done(c);c();return h.promise()}});var ja=/[\n\t\r]/g,ca=/\s+/,ra=/\r/g,wa=/^(?:button|input)$/i,Ja=/^(?:button|input|object|select|textarea)$/i,e=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
+z=/\:/,J,l;b.fn.extend({attr:function(a,c){return b.access(this,a,c,!0,b.attr)},removeAttr:function(a){return this.each(function(){b.removeAttr(this,a)})},prop:function(a,c){return b.access(this,a,c,!0,b.prop)},removeProp:function(a){a=b.propFix[a]||a;return this.each(function(){try{this[a]=g,delete this[a]}catch(c){}})},addClass:function(a){if(b.isFunction(a))return this.each(function(c){var h=b(this);h.addClass(a.call(this,c,h.attr("class")||""))});if(a&&typeof a==="string")for(var c=(a||"").split(ca),
+h=0,k=this.length;h<k;h++){var s=this[h];if(s.nodeType===1)if(s.className){for(var f=" "+s.className+" ",e=s.className,j=0,o=c.length;j<o;j++)f.indexOf(" "+c[j]+" ")<0&&(e+=" "+c[j]);s.className=b.trim(e)}else s.className=a}return this},removeClass:function(a){if(b.isFunction(a))return this.each(function(c){var h=b(this);h.removeClass(a.call(this,c,h.attr("class")))});if(a&&typeof a==="string"||a===g)for(var c=(a||"").split(ca),h=0,k=this.length;h<k;h++){var s=this[h];if(s.nodeType===1&&s.className)if(a){for(var f=
+(" "+s.className+" ").replace(ja," "),e=0,j=c.length;e<j;e++)f=f.replace(" "+c[e]+" "," ");s.className=b.trim(f)}else s.className=""}return this},toggleClass:function(a,c){var h=typeof a,k=typeof c==="boolean";if(b.isFunction(a))return this.each(function(h){var k=b(this);k.toggleClass(a.call(this,h,k.attr("class"),c),c)});return this.each(function(){if(h==="string")for(var s,f=0,e=b(this),j=c,o=a.split(ca);s=o[f++];)j=k?j:!e.hasClass(s),e[j?"addClass":"removeClass"](s);else if(h==="undefined"||h===
+"boolean")this.className&&b._data(this,"__className__",this.className),this.className=this.className||a===!1?"":b._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",c=0,b=this.length;c<b;c++)if((" "+this[c].className+" ").replace(ja," ").indexOf(a)>-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<e;f++)if(c=s[f],c.selected&&(b.support.optDisabled?!c.disabled:c.getAttribute("disabled")===null)&&(!c.parentNode.disabled||!b.nodeName(c.parentNode,"optgroup"))){c=b(c).val();if(a)return c;k.push(c)}if(a&&!k.length&&s.length)return b(s[h]).val();return k},set:function(a,c){var h=b.makeArray(c);b(a).find("option").each(function(){this.selected=b.inArray(b(this).val(),h)>=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<l.length;e++)if(M=l[e],h.guid===M.guid){if(o||u.test(M.namespace))k==null&&l.splice(e--,1),v.remove&&v.remove.call(a,M);if(k!=null)break}if(l.length===0||k!=null&&l.length===1)(!v.teardown||v.teardown.call(a,d)===!1)&&b.removeEvent(a,f,P.handle),delete W[f]}else for(e=
+0;e<l.length;e++)if(M=l[e],o||u.test(M.namespace))b.event.remove(a,v,M.handler,e),l.splice(e--,1);if(b.isEmptyObject(W)){if(c=P.handle)c.elem=null;delete P.events;delete P.handle;b.isEmptyObject(P)&&b.removeData(a,g,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,c,h,k){var f=a.type||a,e=[],j;f.indexOf("!")>=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<e;f++){var j=c[f];if(h||a.namespace_re.test(j.namespace)){a.handler=j.handler;a.data=j.data;a.handleObj=j;j=j.handler.apply(this,k);if(j!==g)a.result=j,j===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
+fix:function(a){if(a[b.expando])return a;for(var c=a,a=b.Event(c),h=this.props.length,k;h;)k=this.props[--h],a[k]=c[k];if(!a.target)a.target=a.srcElement||y;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)h=a.target.ownerDocument||y,c=h.documentElement,h=h.body,a.pageX=a.clientX+(c&&c.scrollLeft||h&&h.scrollLeft||0)-(c&&c.clientLeft||h&&h.clientLeft||0),a.pageY=
+a.clientY+(c&&c.scrollTop||h&&h.scrollTop||0)-(c&&c.clientTop||h&&h.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==g)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(a){b.event.add(this,K(a.origType,a.selector),b.extend({},a,{handler:N,guid:a.handler.guid}))},remove:function(a){b.event.remove(this,
+K(a.origType,a.selector),a)}},beforeunload:{setup:function(a,c,h){if(b.isWindow(this))this.onbeforeunload=h},teardown:function(a,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};b.removeEvent=y.removeEventListener?function(a,c,b){a.removeEventListener&&a.removeEventListener(c,b,!1)}:function(a,c,b){a.detachEvent&&a.detachEvent("on"+c,b)};b.Event=function(a,c){if(!this.preventDefault)return new b.Event(a,c);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
+a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?r:B):this.type=a;c&&b.extend(this,c);this.timeStamp=b.now();this[b.expando]=!0};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=r;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=r;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
+r;this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var ka=function(a){var c=a.relatedTarget;a.type=a.data;try{if(!c||c===y||c.parentNode){for(;c&&c!==this;)c=c.parentNode;c!==this&&b.event.handle.apply(this,arguments)}}catch(h){}},E=function(a){a.type=a.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){b.event.special[a]={setup:function(h){b.event.add(this,c,h&&h.selector?E:ka,a)},teardown:function(a){b.event.remove(this,
+c,a&&a.selector?E:ka)}}});if(!b.support.submitBubbles)b.event.special.submit={setup:function(){if(b.nodeName(this,"form"))return!1;else b.event.add(this,"click.specialSubmit",function(a){var c=a.target,h=c.type;(h==="submit"||h==="image")&&b(c).closest("form").length&&A("submit",this,arguments)}),b.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,h=c.type;(h==="text"||h==="password")&&b(c).closest("form").length&&a.keyCode===13&&A("submit",this,arguments)})},teardown:function(){b.event.remove(this,
+".specialSubmit")}};if(!b.support.changeBubbles){var fa,la=function(a){var c=a.type,h=a.value;if(c==="radio"||c==="checkbox")h=a.checked;else if(c==="select-multiple")h=a.selectedIndex>-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;j<o;j++)b.event.add(this[j],a,e,k)}return this}});b.fn.extend({unbind:function(a,c){if(typeof a==="object"&&!a.preventDefault)for(var h in a)this.unbind(h,a[h]);else{h=0;for(var k=this.length;h<k;h++)b.event.remove(this[h],a,c)}return this},delegate:function(a,c,b,k){return this.live(c,b,k,a)},undelegate:function(a,c,b){return arguments.length===0?this.unbind("live"):this.die(c,null,b,a)},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},triggerHandler:function(a,
+c){if(this[0])return b.event.trigger(a,c,this[0],!0)},toggle:function(a){var c=arguments,h=a.guid||b.guid++,k=0,f=function(h){var f=(b.data(this,"lastToggle"+a.guid)||0)%k;b.data(this,"lastToggle"+a.guid,f+1);h.preventDefault();return c[f].apply(this,arguments)||!1};for(f.guid=h;k<c.length;)c[k++].guid=h;return this.click(f)},hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var sa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],
+function(a,c){b.fn[c]=function(a,k,f,e){var j=0,o,d,v=e||this.selector,u=e?this:b(this.context);if(typeof a==="object"&&!a.preventDefault){for(o in a)u[c](o,k,a[o],v);return this}if(c==="die"&&!a&&e&&e.charAt(0)===".")return u.unbind(e),this;if(k===!1||b.isFunction(k))f=k||B,k=g;for(a=(a||"").split(" ");(e=a[j++])!=null;)if(o=Aa.exec(e),d="",o&&(d=o[0],e=e.replace(Aa,"")),e==="hover")a.push("mouseenter"+d,"mouseleave"+d);else if(o=e,sa[e]?(a.push(sa[e]+d),e+=d):e=(sa[e]||e)+d,c==="live"){d=0;for(var l=
+u.length;d<l;d++)b.event.add(u[d],"live."+K(e,v),{data:k,selector:v,handler:f,origType:e,origHandler:f,preType:o})}else u.unbind("live."+K(e,v),f);return this}});b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,c){b.fn[c]=function(a,b){b==null&&(b=a,a=null);return arguments.length>0?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;k<e;k++){var s=h[k];if(s){for(var j=!1,s=s[a];s;){if(s.sizcache===b){j=h[s.sizset];break}if(s.nodeType===1&&!f)s.sizcache=b,s.sizset=k;if(s.nodeName.toLowerCase()===c){j=s;break}s=s[a]}h[k]=j}}}function c(a,c,b,h,k,f){for(var k=0,e=h.length;k<e;k++){var s=h[k];if(s){for(var j=!1,s=s[a];s;){if(s.sizcache===b){j=h[s.sizset];break}if(s.nodeType===1){if(!f)s.sizcache=b,s.sizset=k;if(typeof c!=="string"){if(s===c){j=!0;break}}else if(v.filter(c,
+[s]).length>0){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;c<a.length;c++)a[c]===a[c-1]&&a.splice(c--,1);return a};v.matches=function(a,c){return v(a,null,null,c)};v.matchesSelector=function(a,c){return v(c,null,null,[a]).length>0};v.find=function(a,c,b){var h;if(!a)return[];for(var k=0,f=u.order.length;k<f;k++){var e,s=u.order[k];if(e=u.leftMatch[s].exec(a)){var j=e[1];e.splice(1,1);if(j.substr(j.length-1)!=="\\"&&(e[1]=(e[1]||"").replace(o,""),h=u.find[s](e,c,b),h!=null)){a=a.replace(u.match[s],"");break}}}h||(h=typeof c.getElementsByTagName!==
+"undefined"?c.getElementsByTagName("*"):[]);return{set:h,expr:a}};v.filter=function(a,c,b,h){for(var k,f,e=a,s=[],j=c,o=c&&c[0]&&v.isXML(c[0]);a&&c.length;){for(var d in u.filter)if((k=u.leftMatch[d].exec(a))!=null&&k[2]){var l,M,H=u.filter[d];M=k[1];f=!1;k.splice(1,1);if(M.substr(M.length-1)!=="\\"){j===s&&(s=[]);if(u.preFilter[d])if(k=u.preFilter[d](k,j,b,s,h,o)){if(k===!0)continue}else f=l=!0;if(k)for(var P=0;(M=j[P])!=null;P++)if(M){l=H(M,k,P,j);var z=h^!!l;b&&l!=null?z?f=!0:j[P]=!1:z&&(s.push(M),
+f=!0)}if(l!==g){b||(j=s);a=a.replace(u.match[d],"");if(!f)return[];break}}}if(a===e)if(f==null)v.error(a);else break;e=a}return j};v.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var u=v.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
+TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,c){var b=
+typeof c==="string",h=b&&!d.test(c),b=b&&!h;h&&(c=c.toLowerCase());for(var h=0,k=a.length,f;h<k;h++)if(f=a[h]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[h]=b||f&&f.nodeName.toLowerCase()===c?f||!1:f===c}b&&v.filter(c,a,!0)},">":function(a,c){var b,h=typeof c==="string",k=0,f=a.length;if(h&&!d.test(c))for(c=c.toLowerCase();k<f;k++){if(b=a[k])b=b.parentNode,a[k]=b.nodeName.toLowerCase()===c?b:!1}else{for(;k<f;k++)(b=a[k])&&(a[k]=h?b.parentNode:b.parentNode===c);h&&v.filter(c,a,!0)}},"":function(b,
+h,f){var e,s=k++,j=c;typeof h==="string"&&!d.test(h)&&(e=h=h.toLowerCase(),j=a);j("parentNode",h,s,b,e,f)},"~":function(b,h,f){var e,s=k++,j=c;typeof h==="string"&&!d.test(h)&&(e=h=h.toLowerCase(),j=a);j("previousSibling",h,s,b,e,f)}},find:{ID:function(a,c,b){if(typeof c.getElementById!=="undefined"&&!b)return(a=c.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,c){if(typeof c.getElementsByName!=="undefined"){for(var b=[],h=c.getElementsByName(a[1]),k=0,f=h.length;k<f;k++)h[k].getAttribute("name")===
+a[1]&&b.push(h[k]);return b.length===0?null:b}},TAG:function(a,c){if(typeof c.getElementsByTagName!=="undefined")return c.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,c,b,h,k,f){a=" "+a[1].replace(o,"")+" ";if(f)return a;for(var f=0,e;(e=c[f])!=null;f++)e&&(k^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=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},
+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 c<b[3]-0},gt:function(a,c,b){return c>b[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<h;b++)if(c[b]===a)return!1;return!0}else v.error(k)},CHILD:function(a,c){var b=c[1],h=a;switch(b){case "only":case "first":for(;h=h.previousSibling;)if(h.nodeType===1)return!1;if(b==="first")return!0;h=a;case "last":for(;h=h.nextSibling;)if(h.nodeType===1)return!1;return!0;case "nth":var b=c[2],k=c[3];if(b===1&&k===0)return!0;var f=c[0],e=a.parentNode;if(e&&(e.sizcache!==f||!a.nodeIndex)){for(var s=0,h=e.firstChild;h;h=h.nextSibling)if(h.nodeType===
+1)h.nodeIndex=++s;e.sizcache=f}h=a.nodeIndex-k;return b===0?h===0:h%b===0&&h/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<k;b++)h.push(a[b]);else for(;a[b];b++)h.push(a[b]);return h}}var ma,J;y.documentElement.compareDocumentPosition?ma=function(a,c){if(a===c)return e=!0,0;if(!a.compareDocumentPosition||!c.compareDocumentPosition)return a.compareDocumentPosition?
+-1:1;return a.compareDocumentPosition(c)&4?-1:1}:(ma=function(a,c){if(a===c)return e=!0,0;else if(a.sourceIndex&&c.sourceIndex)return a.sourceIndex-c.sourceIndex;var b,h,k=[],f=[];b=a.parentNode;h=c.parentNode;var s=b;if(b===h)return J(a,c);else if(b){if(!h)return 1}else return-1;for(;s;)k.unshift(s),s=s.parentNode;for(s=h;s;)f.unshift(s),s=s.parentNode;b=k.length;h=f.length;for(s=0;s<b&&s<h;s++)if(k[s]!==f[s])return J(k[s],f[s]);return s===b?J(a,f[s],-1):J(k[s],c,1)},J=function(a,c,b){if(a===c)return b;
+for(a=a.nextSibling;a;){if(a===c)return-1;a=a.nextSibling}return 1});v.getText=function(a){for(var c="",b,h=0;a[h];h++)b=a[h],b.nodeType===3||b.nodeType===4?c+=b.nodeValue:b.nodeType!==8&&(c+=v.getText(b.childNodes));return c};(function(){var a=y.createElement("div"),c="script"+(new Date).getTime(),b=y.documentElement;a.innerHTML="<a name='"+c+"'/>";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="<a href='#'></a>";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="<p class='TEST'></p>";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="<div class='test e'></div><div class='test'></div>";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;b<e;b++)v(a,f[b],h);return v.filter(k,h)};b.find=v;b.expr=v.selectors;b.expr[":"]=b.expr.filters;b.unique=v.uniqueSort;b.text=v.getText;b.isXMLDoc=v.isXML;b.contains=v.contains})();var ta=/Until$/,U=/^(?:parents|prevUntil|prevAll)/,ya=/,/,Ea=/^.[^:#\[\.,]*$/,f=Array.prototype.slice,v=b.expr.match.POS,j={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(a){var c=
+this,h,k;if(typeof a!=="string")return b(a).filter(function(){h=0;for(k=c.length;h<k;h++)if(b.contains(c[h],this))return!0});var f=this.pushStack("","find",a),e,j,o;h=0;for(k=this.length;h<k;h++)if(e=f.length,b.find(a,this[h],f),h>0)for(j=e;j<f.length;j++)for(o=0;o<e;o++)if(f[o]===f[j]){f.splice(j--,1);break}return f},has:function(a){var c=b(a);return this.filter(function(){for(var a=0,k=c.length;a<k;a++)if(b.contains(this,c[a]))return!0})},not:function(a){return this.pushStack(I(this,a,!1),"not",
+a)},filter:function(a){return this.pushStack(I(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?b.filter(a,this).length>0: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<f;k++)j=a[k],o[j]||(o[j]=v.test(j)?b(j,c||this.context):j);for(;e&&e.ownerDocument&&e!==c;){for(j in o)k=o[j],(k.jquery?k.index(e)>-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<f;k++)for(e=this[k];e;)if(j?j.index(e)>-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:]+)/,$=/<tbody/i,ma=/<|&#?\w+;/,za=/<(?:script|object|embed|option|style)/i,Ca=/checked\s*(?:[^=]|=\s*.checked.)/i,Ka=/\/(java|ecma)script/i,kb=/^\s*<!(?:\[CDATA\[|\-\-)/,
+na={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_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<div>","</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,
+!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></$2>");try{for(var c=0,h=this.length;c<h;c++)if(this[c].nodeType===1)b.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a}catch(k){this.empty().append(a)}}else b.isFunction(a)?
+this.each(function(c){var h=b(this);h.html(a.call(this,c,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(b.isFunction(a))return this.each(function(c){var h=b(this),k=h.html();h.replaceWith(a.call(this,c,k))});typeof a!=="string"&&(a=b(a).detach());return this.each(function(){var c=this.nextSibling,h=this.parentNode;b(this).remove();c?b(c).before(a):b(h).append(a)})}else return this.length?this.pushStack(b(b.isFunction(a)?a():a),"replaceWith",
+a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,h){var k,f,e,j=a[0],o=[];if(!b.support.checkClone&&arguments.length===3&&typeof j==="string"&&Ca.test(j))return this.each(function(){b(this).domManip(a,c,h,!0)});if(b.isFunction(j))return this.each(function(k){var f=b(this);a[0]=j.call(this,k,c?f.html():g);f.domManip(a,c,h)});if(this[0]){k=j&&j.parentNode;k=b.support.parentNode&&k&&k.nodeType===11&&k.childNodes.length===this.length?{fragment:k}:b.buildFragment(a,this,o);e=
+k.fragment;if(f=e.childNodes.length===1?e=e.firstChild:e.firstChild){c=c&&b.nodeName(f,"tr");f=0;for(var d=this.length,v=d-1;f<d;f++)h.call(c?b.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],k.cacheable||d>1&&f<v?b.clone(e,!0,!0):e)}o.length&&b.each(o,Q)}return this}});b.buildFragment=function(a,c,h){var k,f,e,c=c&&c[0]?c[0].ownerDocument||c[0]:y;if(a.length===1&&typeof a[0]==="string"&&a[0].length<
+512&&c===y&&a[0].charAt(0)==="<"&&!za.test(a[0])&&(b.support.checkClone||!Ca.test(a[0])))f=!0,(e=b.fragments[a[0]])&&e!==1&&(k=e);k||(k=c.createDocumentFragment(),b.clean(a,c,k,h));f&&(b.fragments[a[0]]=e?k:1);return{fragment:k,cacheable:f}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(h){var k=[],h=b(h),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===
+1&&h.length===1)return h[c](this[0]),this;else{for(var f=0,e=h.length;f<e;f++){var j=(f>0?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></$2>");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]==="<table>"&&!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<M;e++)V(d[e]);else V(d);d.nodeType?f.push(d):f=b.merge(f,d)}if(h){a=function(a){return!a.type||Ka.test(a.type)};for(j=0;f[j];j++)k&&b.nodeName(f[j],"script")&&(!f[j].type||
+f[j].type.toLowerCase()==="text/javascript")?k.push(f[j].parentNode?f[j].parentNode.removeChild(f[j]):f[j]):(f[j].nodeType===1&&(c=b.grep(f[j].getElementsByTagName("script"),a),f.splice.apply(f,[j+1,0].concat(c))),h.appendChild(f[j]))}return f},cleanData:function(a){for(var c,h,k=b.cache,f=b.expando,e=b.event.special,j=b.support.deleteExpando,o=0,d;(d=a[o])!=null;o++)if(!d.nodeName||!b.noData[d.nodeName.toLowerCase()])if(h=d[b.expando]){if((c=k[h]&&k[h][f])&&c.events){for(var v in c.events)e[v]?b.event.remove(d,
+v):b.removeEvent(d,v,c.handle);if(c.handle)c.handle.elem=null}j?delete d[b.expando]:d.removeAttribute&&d.removeAttribute(b.expando);delete k[h]}}});var Da=/alpha\([^)]*\)/i,Fa=/opacity=([^)]*)/,ua=/-([a-z])/ig,La=/([A-Z]|^ms)/g,bb=/^-?\d+(?:px)?$/i,pb=/^-?\d/,qb=/^[+\-]=/,rb=/[^+\-\.\de]+/g,sb={position:"absolute",visibility:"hidden",display:"block"},lb=["Left","Right"],mb=["Top","Bottom"],Ma,cb,Sa,tb=function(a,c){return c.toUpperCase()};b.fn.css=function(a,c){if(arguments.length===2&&c===g)return this;
+return b.access(this,a,c,!0,function(a,c,f){return f!==g?b.style(a,c,f):b.css(a,c)})};b.extend({cssHooks:{opacity:{get:function(a,c){if(c){var b=Ma(a,"opacity","opacity");return b===""?"1":b}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,h,f){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,j=b.camelCase(c),o=a.style,d=b.cssHooks[j],c=b.cssProps[j]||
+j;if(h!==g){if(f=typeof h,!(f==="number"&&isNaN(h)||h==null))if(f==="string"&&qb.test(h)&&(h=+h.replace(rb,"")+parseFloat(b.css(a,c))),f==="number"&&!b.cssNumber[j]&&(h+="px"),!d||!("set"in d)||(h=d.set(a,h))!==g)try{o[c]=h}catch(v){}}else{if(d&&"get"in d&&(e=d.get(a,!1,f))!==g)return e;return o[c]}}},css:function(a,c,h){var f,e,c=b.camelCase(c);e=b.cssHooks[c];c=b.cssProps[c]||c;c==="cssFloat"&&(c="float");if(e&&"get"in e&&(f=e.get(a,!0,h))!==g)return f;else if(Ma)return Ma(a,c)},swap:function(a,
+c,b){var f={},e;for(e in c)f[e]=a.style[e],a.style[e]=c[e];b.call(a);for(e in c)a.style[e]=f[e]},camelCase:function(a){return a.replace(ua,tb)}});b.curCSS=b.css;b.each(["height","width"],function(a,c){b.cssHooks[c]={get:function(a,f,e){var j;if(f){a.offsetWidth!==0?j=R(a,c,e):b.swap(a,sb,function(){j=R(a,c,e)});if(j<=0&&(j=Ma(a,c,c),j==="0px"&&Sa&&(j=Sa(a,c,c)),j!=null))return j===""||j==="auto"?"0px":j;if(j<0||j==null)return j=a.style[c],j===""||j==="auto"?"0px":j;return typeof j==="string"?j:j+
+"px"}},set:function(a,c){if(bb.test(c)){if(c=parseFloat(c),c>=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\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/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("<div>").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;Fa<y;Fa++){if(Fa===
+1)for(Ka in x.converters)typeof Ka==="string"&&(p[Ka.toLowerCase()]=x.converters[Ka]);Da=E;E=t[Fa];if(E==="*")E=Da;else if(Da!=="*"&&Da!==E){F=Da+" "+E;A=p[F]||p["* "+E];if(!A)for(Q in C=g,p)if(La=Q.split(" "),La[0]===Da||La[0]==="*")if(C=p[La[1]+" "+E]){Q=p[Q];Q===!0?A=C:C===!0&&(A=Q);break}!A&&!C&&b.error("No conversion from "+F.replace(" "," to "));A!==!0&&(h=A?A(h):C(Q(h)))}}z=h;c="success";M=!0}catch(na){c="parsererror",J=na}}else if(J=c,!c||a)c="error",a<0&&(a=0);n.status=a;n.statusText=c;M?
+d.resolveWith(e,[z,c,n]):d.rejectWith(e,[n,c,J]);n.statusCode(v);v=g;Ca&&j.trigger("ajax"+(M?"Success":"Error"),[n,f,M?z:J]);o.resolveWith(e,[n,c]);Ca&&(j.trigger("ajaxComplete",[n,f]),--b.active||b.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=g);var c=c||{},f=b.ajaxSetup({},c),e=f.context||f,j=e!==f&&(e.nodeType||e instanceof b)?b(e):b.event,d=b.Deferred(),o=b._Deferred(),v=f.statusCode||{},u,l={},M={},P,z,W,ma,J,$=0,Ca,w,n={readyState:0,setRequestHeader:function(a,c){if(!$){var b=a.toLowerCase(),
+a=M[b]=M[b]||a;l[a]=c}return this},getAllResponseHeaders:function(){return $===2?P:null},getResponseHeader:function(a){var c;if($===2){if(!z)for(z={};c=wb.exec(P);)z[c[1].toLowerCase()]=c[2];c=z[a.toLowerCase()]}return c===g?null:c},overrideMimeType:function(a){if(!$)f.mimeType=a;return this},abort:function(a){a=a||"abort";W&&W.abort(a);h(0,a);return this}};d.promise(n);n.success=n.done;n.error=n.fail;n.complete=o.done;n.statusCode=function(a){if(a){var c;if($<2)for(c in a)v[c]=[v[c],a[c]];else c=
+a[n.status],n.then(c,c)}return this};f.url=((a||f.url)+"").replace(vb,"").replace(zb,Ha[1]+"//");f.dataTypes=b.trim(f.dataType||"*").toLowerCase().split($a);if(f.crossDomain==null)J=fb.exec(f.url.toLowerCase()),f.crossDomain=!(!J||!(J[1]!=Ha[1]||J[2]!=Ha[2]||(J[3]||(J[1]==="http:"?80:443))!=(Ha[3]||(Ha[1]==="http:"?80:443))));if(f.data&&f.processData&&typeof f.data!=="string")f.data=b.param(f.data,f.traditional);x(Ua,f,c,n);if($===2)return!1;Ca=f.global;f.type=f.type.toUpperCase();f.hasContent=!yb.test(f.type);
+Ca&&b.active++===0&&b.event.trigger("ajaxStart");if(!f.hasContent&&(f.data&&(f.url+=(eb.test(f.url)?"&":"?")+f.data),u=f.url,f.cache===!1)){J=b.now();var za=f.url.replace(Cb,"$1_="+J);f.url=za+(za===f.url?(eb.test(f.url)?"&":"?")+"_="+J:"")}(f.data&&f.hasContent&&f.contentType!==!1||c.contentType)&&n.setRequestHeader("Content-Type",f.contentType);f.ifModified&&(u=u||f.url,b.lastModified[u]&&n.setRequestHeader("If-Modified-Since",b.lastModified[u]),b.etag[u]&&n.setRequestHeader("If-None-Match",b.etag[u]));
+n.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"]);for(w in f.headers)n.setRequestHeader(w,f.headers[w]);if(f.beforeSend&&(f.beforeSend.call(e,n,f)===!1||$===2))return n.abort(),!1;for(w in{success:1,error:1,complete:1})n[w](f[w]);if(W=x(hb,f,c,n)){n.readyState=1;Ca&&j.trigger("ajaxSend",[n,f]);f.async&&f.timeout>0&&(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<e;f++)if(a=this[f],a.style){c=a.style.display;if(!b._data(a,"olddisplay")&&c==="none")c=a.style.display="";c===""&&b.css(a,"display")==="none"&&
+b._data(a,"olddisplay",qa(a.nodeName))}for(f=0;f<e;f++)if(a=this[f],a.style&&(c=a.style.display,c===""||c==="none"))a.style.display=b._data(a,"olddisplay")||"";return this}},hide:function(a,c,f){if(a||a===0)return this.animate(ha("hide",3),a,c,f);else{a=0;for(c=this.length;a<c;a++)this[a].style&&(f=b.css(this[a],"display"),f!=="none"&&!b._data(this[a],"olddisplay")&&b._data(this[a],"olddisplay",f));for(a=0;a<c;a++)if(this[a].style)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,
+c,f){var e=typeof a==="boolean";b.isFunction(a)&&b.isFunction(c)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var c=e?a:b(this).is(":hidden");b(this)[c?"show":"hide"]()}):this.animate(ha("toggle",3),a,c,f);return this},fadeTo:function(a,c,b,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},a,b,f)},animate:function(a,c,f,e){var j=b.speed(c,f,e);if(b.isEmptyObject(a))return this.each(j.complete,[!1]);a=b.extend({},a);return this[j.queue===!1?"each":
+"queue"](function(){var s;j.queue===!1&&b._mark(this);var c=b.extend({},j),f=this.nodeType===1,h=f&&b(this).is(":hidden"),e,k,d,o,v;c.animatedProperties={};for(d in a){e=b.camelCase(d);d!==e&&(a[e]=a[d],delete a[d]);k=a[e];b.isArray(k)?(c.animatedProperties[e]=k[1],s=a[e]=k[0],k=s):c.animatedProperties[e]=c.specialEasing&&c.specialEasing[e]||c.easing||"swing";if(k==="hide"&&h||k==="show"&&!h)return c.complete.call(this);if(f&&(e==="height"||e==="width"))if(c.overflow=[this.style.overflow,this.style.overflowX,
+this.style.overflowY],b.css(this,"display")==="inline"&&b.css(this,"float")==="none")b.support.inlineBlockNeedsLayout?(k=qa(this.nodeName),k==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}if(c.overflow!=null)this.style.overflow="hidden";for(d in a)if(f=new b.fx(this,c,d),k=a[d],Fb.test(k))f[k==="toggle"?h?"show":"hide":k]();else e=Gb.exec(k),o=f.cur(),e?(k=parseFloat(e[2]),v=e[3]||(b.cssNumber[d]?"":"px"),v!=="px"&&(b.style(this,
+d,(k||1)+v),o*=(k||1)/f.cur(),b.style(this,d,o+v)),e[1]&&(k=(e[1]==="-="?-1:1)*k+o),f.custom(o,k,v)):f.custom(o,k,"");return!0})},stop:function(a,c){a&&this.queue([]);this.each(function(){var a=b.timers,f=a.length;for(c||b._unmark(!0,this);f--;)if(a[f].elem===this){if(c)a[f](!0);a.splice(f,1)}});c||this.dequeue();return this}});b.each({slideDown:ha("show",1),slideUp:ha("hide",1),slideToggle:ha("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,c){b.fn[a]=
+function(a,b,f){return this.animate(c,a,b,f)}});b.extend({speed:function(a,c,f){var e=a&&typeof a==="object"?b.extend({},a):{complete:f||!f&&c||b.isFunction(a)&&a,duration:a,easing:f&&c||c&&!b.isFunction(c)&&c};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;e.old=e.complete;e.complete=function(a){e.queue!==!1?b.dequeue(this):a!==!1&&b._unmark(this);b.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,
+c,b,f){return b+f*a},swing:function(a,c,b,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+b}},timers:[],fx:function(a,c,b){this.options=c;this.elem=a;this.prop=b;c.orig=c.orig||{}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,c=b.css(this.elem,this.prop);return isNaN(a=
+parseFloat(c))?!c||c==="auto"?0:c:a},custom:function(a,c,f){function e(a){return j.step(a)}var j=this,d=b.fx,o;this.startTime=Qa||ga();this.start=a;this.end=c;this.unit=f||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&b.timers.push(e)&&!Oa&&(Za?(Oa=1,o=function(){Oa&&(Za(o),d.tick())},Za(o)):Oa=setInterval(d.tick,d.interval))},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop===
+"width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var c=Qa||ga(),f=!0,e=this.elem,j=this.options,d;if(a||c>=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<a.length;++c)a[c]()||a.splice(c--,
+1);a.length||b.fx.stop()},interval:13,stop:function(){clearInterval(Oa);Oa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(b.expr&&b.expr.filters)b.expr.filters.animated=function(a){return b.grep(b.timers,function(c){return a===c.elem}).length};var Hb=/^t(?:able|d|h)$/i,
+ib=/^(?:body|html)$/i;b.fn.offset="getBoundingClientRect"in y.documentElement?function(a){var c=this[0],f;if(a)return this.each(function(c){b.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);try{f=c.getBoundingClientRect()}catch(e){}var j=c.ownerDocument,d=j.documentElement;if(!f||!b.contains(d,c))return f?{top:f.top,left:f.left}:{top:0,left:0};c=j.body;j=va(j);return{top:f.top+(j.pageYOffset||b.support.boxModel&&d.scrollTop||
+c.scrollTop)-(d.clientTop||c.clientTop||0),left:f.left+(j.pageXOffset||b.support.boxModel&&d.scrollLeft||c.scrollLeft)-(d.clientLeft||c.clientLeft||0)}}:function(a){var c=this[0];if(a)return this.each(function(c){b.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return b.offset.bodyOffset(c);b.offset.initialize();var f,e=c.offsetParent,j=c.ownerDocument,d=j.documentElement,o=j.body;f=(j=j.defaultView)?j.getComputedStyle(c,null):c.currentStyle;for(var v=
+c.offsetTop,u=c.offsetLeft;(c=c.parentNode)&&c!==o&&c!==d;){if(b.offset.supportsFixedPosition&&f.position==="fixed")break;f=j?j.getComputedStyle(c,null):c.currentStyle;v-=c.scrollTop;u-=c.scrollLeft;if(c===e){v+=c.offsetTop;u+=c.offsetLeft;if(b.offset.doesNotAddBorder&&(!b.offset.doesAddBorderForTableAndCells||!Hb.test(c.nodeName)))v+=parseFloat(f.borderTopWidth)||0,u+=parseFloat(f.borderLeftWidth)||0;e=c.offsetParent}b.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"&&(v+=parseFloat(f.borderTopWidth)||
+0,u+=parseFloat(f.borderLeftWidth)||0)}if(f.position==="relative"||f.position==="static")v+=o.offsetTop,u+=o.offsetLeft;b.offset.supportsFixedPosition&&f.position==="fixed"&&(v+=Math.max(d.scrollTop,o.scrollTop),u+=Math.max(d.scrollLeft,o.scrollLeft));return{top:v,left:u}};b.offset={initialize:function(){var a=y.body,c=y.createElement("div"),f,e,j,d=parseFloat(b.css(a,"marginTop"))||0;b.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
+c.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";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(),o=b.css(a,"top"),v=b.css(a,"left"),u={},l={};(e==="absolute"||e==="fixed")&&b.inArray("auto",[o,v])>-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);
// Input 1
-MochiKit.Base.module(MochiKit,"Async","1.5",["Base"]);MochiKit.Async.Deferred=function(a){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=a;this.finalized=this.chained=this.silentlyCancelled=!1};
-MochiKit.Async.Deferred.prototype={repr:function(){return"Deferred("+this.id+", "+this.state()+")"},toString:MochiKit.Base.forwardCall("repr"),_nextId:MochiKit.Base.counter(),state:function(){return this.fired==-1?"unfired":this.fired===0?"success":"error"},cancel:function(a){var b=MochiKit.Async;this.fired==-1?(this.canceller?this.canceller(this):this.silentlyCancelled=!0,this.fired==-1&&(typeof a==="string"?a=new b.GenericError(a):a instanceof Error||(a=new b.CancelledError(this)),this.errback(a))):
-this.fired===0&&this.results[0]instanceof b.Deferred&&this.results[0].cancel(a)},_resback:function(a){this.fired=a instanceof Error?1:0;this.results[this.fired]=a;this.paused===0&&this._fire()},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled)throw new MochiKit.Async.AlreadyCalledError(this);this.silentlyCancelled=!1}},callback:function(a){this._check();if(a instanceof MochiKit.Async.Deferred)throw Error("Deferred instances can only be chained if they are the result of a callback");
-this._resback(a)},errback:function(a){this._check();var b=MochiKit.Async;if(a instanceof b.Deferred)throw Error("Deferred instances can only be chained if they are the result of a callback");a instanceof Error||(a=new b.GenericError(a));this._resback(a)},addBoth:function(a){arguments.length>1&&(a=MochiKit.Base.partial.apply(null,arguments));return this.addCallbacks(a,a)},addCallback:function(a){arguments.length>1&&(a=MochiKit.Base.partial.apply(null,arguments));return this.addCallbacks(a,null)},addErrback:function(a){arguments.length>
-1&&(a=MochiKit.Base.partial.apply(null,arguments));return this.addCallbacks(null,a)},addCallbacks:function(a,b){if(this.chained)throw Error("Chained Deferreds can not be re-used");if(this.finalized)throw Error("Finalized Deferreds can not be re-used");this.chain.push([a,b]);this.fired>=0&&this._fire();return this},setFinalizer:function(a){if(this.chained)throw Error("Chained Deferreds can not be re-used");if(this.finalized)throw Error("Finalized Deferreds can not be re-used");arguments.length>1&&
-(a=MochiKit.Base.partial.apply(null,arguments));this._finalizer=a;this.fired>=0&&this._fire();return this},_fire:function(){for(var a=this.chain,b=this.fired,e=this.results[b],f=this,j=null;a.length>0&&this.paused===0;){var l=a.shift()[b];if(l!==null)try{e=l(e),b=e instanceof Error?1:0,e instanceof MochiKit.Async.Deferred&&(j=function(a){f.paused--;f._resback(a)},this.paused++)}catch(k){b=1,k instanceof Error||(k=new MochiKit.Async.GenericError(k)),e=k}}this.fired=b;this.results[b]=e;if(this.chain.length==
-0&&this.paused===0&&this._finalizer)this.finalized=!0,this._finalizer(e);if(j&&this.paused)e.addBoth(j),e.chained=!0}};
-MochiKit.Base.update(MochiKit.Async,{evalJSONRequest:function(a){return MochiKit.Base.evalJSON(a.responseText)},succeed:function(){var a=new MochiKit.Async.Deferred;a.callback.apply(a,arguments);return a},fail:function(){var a=new MochiKit.Async.Deferred;a.errback.apply(a,arguments);return a},getXMLHttpRequest:function(){var a=arguments.callee;if(!a.XMLHttpRequest)for(var b=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")},
-function(){return new ActiveXObject("Msxml2.XMLHTTP.4.0")},function(){throw new MochiKit.Async.BrowserComplianceError("Browser does not support XMLHttpRequest");}],e=0;e<b.length;e++){var f=b[e];try{return a.XMLHttpRequest=f,f()}catch(j){}}return a.XMLHttpRequest()},_xhr_onreadystatechange:function(a){var b=MochiKit.Base;if(this.readyState==4){try{this.onreadystatechange=null}catch(e){try{this.onreadystatechange=b.noop}catch(f){}}var j=null;try{j=this.status,!j&&b.isNotEmpty(this.responseText)&&(j=
-304)}catch(l){}j==200||j==201||j==204||j==304||j==1223?a.callback(this):(b=new MochiKit.Async.XMLHttpRequestError(this,"Request failed"),a.errback(b))}},_xhr_canceller:function(a){try{a.onreadystatechange=null}catch(b){try{a.onreadystatechange=MochiKit.Base.noop}catch(e){}}a.abort()},sendXMLHttpRequest:function(a,b){if(typeof b=="undefined"||b===null)b="";var e=MochiKit.Base,f=MochiKit.Async,j=new f.Deferred(e.partial(f._xhr_canceller,a));try{a.onreadystatechange=e.bind(f._xhr_onreadystatechange,
-a,j),a.send(b)}catch(l){try{a.onreadystatechange=null}catch(k){}j.errback(l)}return j},doXHR:function(a,b){var e=MochiKit.Async;return e.callLater(0,e._doXHR,a,b)},_doXHR:function(a,b){var e=MochiKit.Base,b=e.update({method:"GET",sendContent:""},b),f=MochiKit.Async,j=f.getXMLHttpRequest();if(b.queryString){var l=e.queryString(b.queryString);l&&(a+="?"+l)}"username"in b?j.open(b.method,a,!0,b.username,b.password):j.open(b.method,a,!0);j.overrideMimeType&&b.mimeType&&j.overrideMimeType(b.mimeType);
-j.setRequestHeader("X-Requested-With","XMLHttpRequest");if(b.headers){l=b.headers;e.isArrayLike(l)||(l=e.items(l));for(e=0;e<l.length;e++){var k=l[e];j.setRequestHeader(k[0],k[1])}}return f.sendXMLHttpRequest(j,b.sendContent)},_buildURL:function(a){if(arguments.length>1){var b=MochiKit.Base;if(b=b.queryString.apply(null,b.extend(null,arguments,1)))return a+"?"+b}return a},doSimpleXMLHttpRequest:function(a){var b=MochiKit.Async,a=b._buildURL.apply(b,arguments);return b.doXHR(a)},loadJSONDoc:function(a){var b=
-MochiKit.Async,a=b._buildURL.apply(b,arguments),e=b.doXHR(a,{mimeType:"text/plain",headers:[["Accept","application/json"]]});return e=e.addCallback(b.evalJSONRequest)},loadScript:function(a){var b=new MochiKit.Async.Deferred,e=document.createElement("script");e.type="text/javascript";e.src=a;e.onload=function(){e.onload=null;e.onerror=null;e=e.onreadystatechange=null;b.callback()};e.onerror=function(f){e.onload=null;e.onerror=null;e=e.onreadystatechange=null;f="Failed to load script at "+a+": "+f;
-b.errback(new URIError(f,a))};e.onreadystatechange=function(){if(e.readyState=="loaded"||e.readyState=="complete")e.onload();else MochiKit.Async.callLater(10,e.onerror,"Script loading timed out")};document.getElementsByTagName("head")[0].appendChild(e);return b},wait:function(a,b){var e=new MochiKit.Async.Deferred,f=MochiKit.Base.bind("callback",e,b),j=setTimeout(f,Math.floor(a*1E3));e.canceller=function(){try{clearTimeout(j)}catch(a){}};return e},callLater:function(a){var b=MochiKit.Base,e=b.partial.apply(b,
-b.extend(null,arguments,1));return MochiKit.Async.wait(a).addCallback(function(){return e()})}});MochiKit.Async.DeferredLock=function(){this.waiting=[];this.locked=!1;this.id=this._nextId()};
-MochiKit.Async.DeferredLock.prototype={__class__:MochiKit.Async.DeferredLock,acquire:function(){var a=new MochiKit.Async.Deferred;this.locked?this.waiting.push(a):(this.locked=!0,a.callback(this));return a},release:function(){if(!this.locked)throw TypeError("Tried to release an unlocked DeferredLock");this.locked=!1;if(this.waiting.length>0)this.locked=!0,this.waiting.shift().callback(this)},_nextId:MochiKit.Base.counter(),repr:function(){return"DeferredLock("+this.id+", "+(this.locked?"locked, "+
-this.waiting.length+" waiting":"unlocked")+")"},toString:MochiKit.Base.forwardCall("repr")};MochiKit.Async.DeferredList=function(a,b,e,f,j){MochiKit.Async.Deferred.apply(this,[j]);this.list=a;this.resultList=j=[];this.finishedCount=0;this.fireOnOneCallback=b;this.fireOnOneErrback=e;this.consumeErrors=f;e=MochiKit.Base.bind(this._cbDeferred,this);for(f=0;f<a.length;f++){var l=a[f];j.push(void 0);l.addCallback(e,f,!0);l.addErrback(e,f,!1)}a.length===0&&!b&&this.callback(this.resultList)};
-MochiKit.Async.DeferredList.prototype=new MochiKit.Async.Deferred;MochiKit.Async.DeferredList.prototype.constructor=MochiKit.Async.DeferredList;MochiKit.Async.DeferredList.prototype._cbDeferred=function(a,b,e){this.resultList[a]=[b,e];this.finishedCount+=1;this.fired==-1&&(b&&this.fireOnOneCallback?this.callback([a,e]):!b&&this.fireOnOneErrback?this.errback(e):this.finishedCount==this.list.length&&this.callback(this.resultList));!b&&this.consumeErrors&&(e=null);return e};
-MochiKit.Async.gatherResults=function(a){a=new MochiKit.Async.DeferredList(a,!1,!0,!1);a.addCallback(function(a){for(var e=[],f=0;f<a.length;f++)e.push(a[f][1]);return e});return a};MochiKit.Async.maybeDeferred=function(a){var b=MochiKit.Async,e;try{var f=a.apply(null,MochiKit.Base.extend([],arguments,1));e=f instanceof b.Deferred?f:f instanceof Error?b.fail(f):b.succeed(f)}catch(j){e=b.fail(j)}return e};
-MochiKit.Async.__new__=function(){var a=MochiKit.Base,b=a.partial(a._newNamedError,this);b("AlreadyCalledError",function(a){this.deferred=a});b("CancelledError",function(a){this.deferred=a});b("BrowserComplianceError",function(a){this.message=a});b("GenericError",function(a){this.message=a});b("XMLHttpRequestError",function(a,b){this.req=a;this.message=b;try{this.number=a.status}catch(j){}});a.nameFunctions(this)};MochiKit.Async.__new__();MochiKit.Base._exportSymbols(this,MochiKit.Async);
-// Input 2
-(function(a,b){function e(c,o,a){if(a===b&&c.nodeType===1)if(a="data-"+o.replace(oa,"$1-$2").toLowerCase(),a=c.getAttribute(a),typeof a==="string"){try{a=a==="true"?!0:a==="false"?!1:a==="null"?null:!d.isNaN(a)?parseFloat(a):F.test(a)?d.parseJSON(a):a}catch(u){}d.data(c,o,a)}else a=b;return a}function f(c){for(var o in c)if(o!=="toJSON")return!1;return!0}function j(c,o,a){var u=o+"defer",y=o+"queue",e=o+"mark",h=d.data(c,u,b,!0);h&&(a==="queue"||!d.data(c,y,b,!0))&&(a==="mark"||!d.data(c,e,b,!0))&&
-setTimeout(function(){!d.data(c,y,b,!0)&&!d.data(c,e,b,!0)&&(d.removeData(c,u,!0),h.resolve())},0)}function l(){return!1}function k(){return!0}function A(c,o,a){var u=d.extend({},a[0]);u.type=c;u.originalEvent={};u.liveFired=b;d.event.handle.call(o,u);u.isDefaultPrevented()&&a[0].preventDefault()}function G(c){var o,a,b,y,e,h,f,g,q,w,H,p=[];y=[];e=d._data(this,"events");if(!(c.liveFired===this||!e||!e.live||c.target.disabled||c.button&&c.type==="click")){c.namespace&&(H=RegExp("(^|\\.)"+c.namespace.split(".").join("\\.(?:.*\\.)?")+
-"(\\.|$)"));c.liveFired=this;var n=e.live.slice(0);for(f=0;f<n.length;f++)e=n[f],e.origType.replace(za,"")===c.type?y.push(e.selector):n.splice(f--,1);y=d(c.target).closest(y,c.currentTarget);g=0;for(q=y.length;g<q;g++){w=y[g];for(f=0;f<n.length;f++)if(e=n[f],w.selector===e.selector&&(!H||H.test(e.namespace))&&!w.elem.disabled){h=w.elem;b=null;if(e.preType==="mouseenter"||e.preType==="mouseleave")c.type=e.preType,(b=d(c.relatedTarget).closest(e.selector)[0])&&d.contains(h,b)&&(b=h);(!b||b!==h)&&p.push({elem:h,
-handleObj:e,level:w.level})}}g=0;for(q=p.length;g<q;g++){y=p[g];if(a&&y.level>a)break;c.currentTarget=y.elem;c.data=y.handleObj.data;c.handleObj=y.handleObj;H=y.handleObj.origHandler.apply(y.elem,arguments);if(H===!1||c.isPropagationStopped())if(a=y.level,H===!1&&(o=!1),c.isImmediatePropagationStopped())break}return o}}function D(c,o){return(c&&c!=="*"?c+".":"")+o.replace(pa,"`").replace(x,"&")}function L(c,o,a){o=o||0;if(d.isFunction(o))return d.grep(c,function(c,d){return!!o.call(c,d,c)===a});else if(o.nodeType)return d.grep(c,
-function(c){return c===o===a});else if(typeof o==="string"){var b=d.grep(c,function(c){return c.nodeType===1});if(Da.test(o))return d.filter(o,b,!a);else o=d.filter(o,b)}return d.grep(c,function(c){return d.inArray(c,o)>=0===a})}function B(c,o){if(o.nodeType===1&&d.hasData(c)){var a=d.expando,b=d.data(c),y=d.data(o,b);if(b=b[a]){var e=b.events,y=y[a]=d.extend({},b);if(e){delete y.handle;y.events={};for(var h in e){a=0;for(b=e[h].length;a<b;a++)d.event.add(o,h+(e[h][a].namespace?".":"")+e[h][a].namespace,
-e[h][a],e[h][a].data)}}}}}function z(c,o){var a;if(o.nodeType===1){o.clearAttributes&&o.clearAttributes();o.mergeAttributes&&o.mergeAttributes(c);a=o.nodeName.toLowerCase();if(a==="object")o.outerHTML=c.outerHTML;else if(a==="input"&&(c.type==="checkbox"||c.type==="radio")){if(c.checked)o.defaultChecked=o.checked=c.checked;if(o.value!==c.value)o.value=c.value}else if(a==="option")o.selected=c.defaultSelected;else if(a==="input"||a==="textarea")o.defaultValue=c.defaultValue;o.removeAttribute(d.expando)}}
-function s(c){return"getElementsByTagName"in c?c.getElementsByTagName("*"):"querySelectorAll"in c?c.querySelectorAll("*"):[]}function C(c){if(c.type==="checkbox"||c.type==="radio")c.defaultChecked=c.checked}function fa(c){d.nodeName(c,"input")?C(c):c.getElementsByTagName&&d.grep(c.getElementsByTagName("input"),C)}function R(c,a){a.src?d.ajax({url:a.src,async:!1,dataType:"script"}):d.globalEval((a.text||a.textContent||a.innerHTML||"").replace(jb,"/*$0*/"));a.parentNode&&a.parentNode.removeChild(a)}
-function P(c,a,r){var b=a==="width"?c.offsetWidth:c.offsetHeight;if(r==="border")return b;d.each(a==="width"?kb:lb,function(){r||(b-=parseFloat(d.css(c,"padding"+this))||0);r==="margin"?b+=parseFloat(d.css(c,"margin"+this))||0:b-=parseFloat(d.css(c,"border"+this+"Width"))||0});return b}function N(c){return function(a,r){var o;typeof a!=="string"&&(r=a,a="*");if(d.isFunction(r))for(var b=a.toLowerCase().split(Za),y=0,e=b.length,h,f;y<e;y++)h=b[y],(f=/^\+/.test(h))&&(h=h.substr(1)||"*"),o=c[h]=c[h]||
-[],h=o,h[f?"unshift":"push"](r)}}function t(c,a,d,u,y,e){y=y||a.dataTypes[0];e=e||{};e[y]=!0;for(var y=c[y],h=0,f=y?y.length:0,g=c===Ta,q;h<f&&(g||!q);h++)q=y[h](a,d,u),typeof q==="string"&&(!g||e[q]?q=b:(a.dataTypes.unshift(q),q=t(c,a,d,u,q,e)));if((g||!q)&&!e["*"])q=t(c,a,d,u,"*",e);return q}function U(c,a,b,u){if(d.isArray(a))d.each(a,function(a,o){b||mb.test(c)?u(c,o):U(c+"["+(typeof o==="object"||d.isArray(o)?a:"")+"]",o,b,u)});else if(!b&&a!=null&&typeof a==="object")for(var y in a)U(c+"["+
-y+"]",a[y],b,u);else u(c,a)}function M(){try{return new a.XMLHttpRequest}catch(c){}}function ga(){setTimeout(O,0);return Pa=d.now()}function O(){Pa=b}function ha(c,a){var b={};d.each($a.concat.apply([],$a.slice(0,a)),function(){b[this]=c});return b}function qa(c){if(!Ua[c]){var a=d("<"+c+">").appendTo("body"),b=a.css("display");a.remove();if(b==="none"||b===""){if(!Aa)Aa=v.createElement("iframe"),Aa.frameBorder=Aa.width=Aa.height=0;v.body.appendChild(Aa);if(!Ma||!Aa.createElement)Ma=(Aa.contentWindow||
-Aa.contentDocument).document,Ma.write("<!doctype><html><body></body></html>");a=Ma.createElement(c);Ma.body.appendChild(a);b=d.css(a,"display");v.body.removeChild(Aa)}Ua[c]=b}return Ua[c]}function va(c){return d.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:!1}var v=a.document,S=a.navigator,X=a.location,d=function(){function c(){if(!o.isReady){try{v.documentElement.doScroll("left")}catch(a){setTimeout(c,1);return}o.ready()}}var o=function(c,a){return new o.fn.init(c,a,y)},d=a.jQuery,
-u=a.$,y,e=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,f=/^\s+/,g=/\s+$/,q=/\d/,w=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,H=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,n=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Q=/(?:^|:|,)(?:\s*\[)+/g,j=/(webkit)[ \/]([\w.]+)/,K=/(opera)(?:.*version)?[ \/]([\w.]+)/,Y=/(msie) ([\w.]+)/,V=/(mozilla)(?:.*? rv:([\w.]+))?/,Na=S.userAgent,Qa,k,l=Object.prototype.toString,Va=Object.prototype.hasOwnProperty,Wa=Array.prototype.push,W=Array.prototype.slice,
-J=String.prototype.trim,I=Array.prototype.indexOf,ja={};o.fn=o.prototype={constructor:o,init:function(c,a,d){var r;if(!c)return this;if(c.nodeType)return this.context=this[0]=c,this.length=1,this;if(c==="body"&&!a&&v.body)return this.context=v,this[0]=v.body,this.selector=c,this.length=1,this;if(typeof c==="string")if((r=c.charAt(0)==="<"&&c.charAt(c.length-1)===">"&&c.length>=3?[null,c,null]:e.exec(c))&&(r[1]||!a))if(r[1])return d=(a=a instanceof o?a[0]:a)?a.ownerDocument||a:v,(c=w.exec(c))?o.isPlainObject(a)?
-(c=[v.createElement(c[1])],o.fn.attr.call(c,a,!0)):c=[d.createElement(c[1])]:(c=o.buildFragment([r[1]],[d]),c=(c.cacheable?o.clone(c.fragment):c.fragment).childNodes),o.merge(this,c);else{if((a=v.getElementById(r[2]))&&a.parentNode){if(a.id!==r[2])return d.find(c);this.length=1;this[0]=a}this.context=v;this.selector=c;return this}else return!a||a.jquery?(a||d).find(c):this.constructor(a).find(c);else if(o.isFunction(c))return d.ready(c);if(c.selector!==b)this.selector=c.selector,this.context=c.context;
-return o.makeArray(c,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return W.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this[this.length+c]:this[c]},pushStack:function(c,a,d){var b=this.constructor();o.isArray(c)?Wa.apply(b,c):o.merge(b,c);b.prevObject=this;b.context=this.context;if(a==="find")b.selector=this.selector+(this.selector?" ":"")+d;else if(a)b.selector=this.selector+"."+a+"("+d+")";return b},each:function(c,a){return o.each(this,
-c,a)},ready:function(c){o.bindReady();Qa.done(c);return this},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(W.apply(this,arguments),"slice",W.call(arguments).join(","))},map:function(c){return this.pushStack(o.map(this,function(a,o){return c.call(a,o,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:Wa,sort:[].sort,splice:[].splice};o.fn.init.prototype=
-o.fn;o.extend=o.fn.extend=function(){var c,a,d,r,u,y=arguments[0]||{},e=1,h=arguments.length,Ha=!1;typeof y==="boolean"&&(Ha=y,y=arguments[1]||{},e=2);typeof y!=="object"&&!o.isFunction(y)&&(y={});h===e&&(y=this,--e);for(;e<h;e++)if((c=arguments[e])!=null)for(a in c)d=y[a],r=c[a],y!==r&&(Ha&&r&&(o.isPlainObject(r)||(u=o.isArray(r)))?(u?(u=!1,d=d&&o.isArray(d)?d:[]):d=d&&o.isPlainObject(d)?d:{},y[a]=o.extend(Ha,d,r)):r!==b&&(y[a]=r));return y};o.extend({noConflict:function(c){if(a.$===o)a.$=u;if(c&&
-a.jQuery===o)a.jQuery=d;return o},isReady:!1,readyWait:1,holdReady:function(c){c?o.readyWait++:o.ready(!0)},ready:function(c){if(c===!0&&!--o.readyWait||c!==!0&&!o.isReady){if(!v.body)return setTimeout(o.ready,1);o.isReady=!0;c!==!0&&--o.readyWait>0||(Qa.resolveWith(v,[o]),o.fn.trigger&&o(v).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Qa){Qa=o._Deferred();if(v.readyState==="complete")return setTimeout(o.ready,1);if(v.addEventListener)v.addEventListener("DOMContentLoaded",k,!1),a.addEventListener("load",
-o.ready,!1);else if(v.attachEvent){v.attachEvent("onreadystatechange",k);a.attachEvent("onload",o.ready);var d=!1;try{d=a.frameElement==null}catch(b){}v.documentElement.doScroll&&d&&c()}}},isFunction:function(c){return o.type(c)==="function"},isArray:Array.isArray||function(c){return o.type(c)==="array"},isWindow:function(c){return c&&typeof c==="object"&&"setInterval"in c},isNaN:function(c){return c==null||!q.test(c)||isNaN(c)},type:function(c){return c==null?String(c):ja[l.call(c)]||"object"},isPlainObject:function(c){if(!c||
-o.type(c)!=="object"||c.nodeType||o.isWindow(c))return!1;if(c.constructor&&!Va.call(c,"constructor")&&!Va.call(c.constructor.prototype,"isPrototypeOf"))return!1;for(var a in c);return a===b||Va.call(c,a)},isEmptyObject:function(c){for(var a in c)return!1;return!0},error:function(c){throw c;},parseJSON:function(c){if(typeof c!=="string"||!c)return null;c=o.trim(c);if(a.JSON&&a.JSON.parse)return a.JSON.parse(c);if(H.test(c.replace(p,"@").replace(n,"]").replace(Q,"")))return(new Function("return "+c))();
-o.error("Invalid JSON: "+c)},parseXML:function(c,d,b){a.DOMParser?(b=new DOMParser,d=b.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c));b=d.documentElement;(!b||!b.nodeName||b.nodeName==="parsererror")&&o.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(c){c&&h.test(c)&&(a.execScript||function(c){a.eval.call(a,c)})(c)},nodeName:function(c,a){return c.nodeName&&c.nodeName.toUpperCase()===a.toUpperCase()},each:function(c,a,
-d){var r,u=0,y=c.length,e=y===b||o.isFunction(c);if(d)if(e)for(r in c){if(a.apply(c[r],d)===!1)break}else for(;u<y;){if(a.apply(c[u++],d)===!1)break}else if(e)for(r in c){if(a.call(c[r],r,c[r])===!1)break}else for(;u<y;)if(a.call(c[u],u,c[u++])===!1)break;return c},trim:J?function(c){return c==null?"":J.call(c)}:function(c){return c==null?"":c.toString().replace(f,"").replace(g,"")},makeArray:function(c,a){var d=a||[];if(c!=null){var b=o.type(c);c.length==null||b==="string"||b==="function"||b==="regexp"||
-o.isWindow(c)?Wa.call(d,c):o.merge(d,c)}return d},inArray:function(c,a){if(I)return I.call(a,c);for(var o=0,d=a.length;o<d;o++)if(a[o]===c)return o;return-1},merge:function(c,a){var o=c.length,d=0;if(typeof a.length==="number")for(var r=a.length;d<r;d++)c[o++]=a[d];else for(;a[d]!==b;)c[o++]=a[d++];c.length=o;return c},grep:function(c,a,o){for(var d=[],b,o=!!o,r=0,u=c.length;r<u;r++)b=!!a(c[r],r),o!==b&&d.push(c[r]);return d},map:function(c,a,d){var r,u,y=[],e=0,h=c.length;if(c instanceof o||h!==
-b&&typeof h==="number"&&(h>0&&c[0]&&c[h-1]||h===0||o.isArray(c)))for(;e<h;e++)r=a(c[e],e,d),r!=null&&(y[y.length]=r);else for(u in c)r=a(c[u],u,d),r!=null&&(y[y.length]=r);return y.concat.apply([],y)},guid:1,proxy:function(c,a){if(typeof a==="string")var d=c[a],a=c,c=d;if(!o.isFunction(c))return b;var r=W.call(arguments,2),d=function(){return c.apply(a,r.concat(W.call(arguments)))};d.guid=c.guid=c.guid||d.guid||o.guid++;return d},access:function(c,a,d,r,u,y){var e=c.length;if(typeof a==="object"){for(var h in a)o.access(c,
-h,a[h],r,u,d);return c}if(d!==b){r=!y&&r&&o.isFunction(d);for(h=0;h<e;h++)u(c[h],a,r?d.call(c[h],h,u(c[h],a)):d,y);return c}return e?u(c[0],a):b},now:function(){return(new Date).getTime()},uaMatch:function(c){c=c.toLowerCase();c=j.exec(c)||K.exec(c)||Y.exec(c)||c.indexOf("compatible")<0&&V.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},sub:function(){function c(a,o){return new c.fn.init(a,o)}o.extend(!0,c,this);c.superclass=this;c.fn=c.prototype=this();c.fn.constructor=c;c.sub=this.sub;c.fn.init=
-function(d,b){b&&b instanceof o&&!(b instanceof c)&&(b=c(b));return o.fn.init.call(this,d,b,a)};c.fn.init.prototype=c.fn;var a=c(v);return c},browser:{}});o.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(c,a){ja["[object "+a+"]"]=a.toLowerCase()});Na=o.uaMatch(Na);if(Na.browser)o.browser[Na.browser]=!0,o.browser.version=Na.version;if(o.browser.webkit)o.browser.safari=!0;h.test("\u00a0")&&(f=/^[\s\xA0]+/,g=/[\s\xA0]+$/);y=o(v);v.addEventListener?k=function(){v.removeEventListener("DOMContentLoaded",
-k,!1);o.ready()}:v.attachEvent&&(k=function(){v.readyState==="complete"&&(v.detachEvent("onreadystatechange",k),o.ready())});return o}(),aa="done fail isResolved isRejected promise then always pipe".split(" "),ba=[].slice;d.extend({_Deferred:function(){var c=[],a,b,u,y={done:function(){if(!u){var b=arguments,r,e,h,f,g;a&&(g=a,a=0);r=0;for(e=b.length;r<e;r++)h=b[r],f=d.type(h),f==="array"?y.done.apply(y,h):f==="function"&&c.push(h);g&&y.resolveWith(g[0],g[1])}return this},resolveWith:function(d,y){if(!u&&
-!a&&!b){y=y||[];b=1;try{for(;c[0];)c.shift().apply(d,y)}finally{a=[d,y],b=0}}return this},resolve:function(){y.resolveWith(this,arguments);return this},isResolved:function(){return!(!b&&!a)},cancel:function(){u=1;c=[];return this}};return y},Deferred:function(c){var a=d._Deferred(),b=d._Deferred(),u;d.extend(a,{then:function(c,d){a.done(c).fail(d);return this},always:function(){return a.done.apply(a,arguments).fail.apply(this,arguments)},fail:b.done,rejectWith:b.resolveWith,reject:b.resolve,isRejected:b.isResolved,
-pipe:function(c,b){return d.Deferred(function(r){d.each({done:[c,"resolve"],fail:[b,"reject"]},function(c,b){var u=b[0],y=b[1],e;if(d.isFunction(u))a[c](function(){if((e=u.apply(this,arguments))&&d.isFunction(e.promise))e.promise().then(r.resolve,r.reject);else r[y](e)});else a[c](r[y])})}).promise()},promise:function(c){if(c==null){if(u)return u;u=c={}}for(var d=aa.length;d--;)c[aa[d]]=a[aa[d]];return c}});a.done(b.cancel).fail(a.cancel);delete a.cancel;c&&c.call(a,a);return a},when:function(c){function a(c){return function(a){b[c]=
-arguments.length>1?ba.call(arguments,0):a;--e||h.resolveWith(h,ba.call(b,0))}}var b=arguments,u=0,y=b.length,e=y,h=y<=1&&c&&d.isFunction(c.promise)?c:d.Deferred();if(y>1){for(;u<y;u++)b[u]&&d.isFunction(b[u].promise)?b[u].promise().then(a(u),h.reject):--e;e||h.resolveWith(h,b)}else h!==c&&h.resolveWith(h,y?[c]:[]);return h.promise()}});d.support=function(){var c=v.createElement("div"),a=v.documentElement,d,b,y,e,h,f;c.setAttribute("className","t");c.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
-d=c.getElementsByTagName("*");b=c.getElementsByTagName("a")[0];if(!d||!d.length||!b)return{};y=v.createElement("select");e=y.appendChild(v.createElement("option"));d=c.getElementsByTagName("input")[0];h={leadingWhitespace:c.firstChild.nodeType===3,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,style:/top/.test(b.getAttribute("style")),hrefNormalized:b.getAttribute("href")==="/a",opacity:/^0.55$/.test(b.style.opacity),cssFloat:!!b.style.cssFloat,
-checkOn:d.value==="on",optSelected:e.selected,getSetAttribute:c.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};d.checked=!0;h.noCloneChecked=d.cloneNode(!0).checked;y.disabled=!0;h.optDisabled=!e.disabled;try{delete c.test}catch(g){h.deleteExpando=!1}!c.addEventListener&&c.attachEvent&&c.fireEvent&&(c.attachEvent("onclick",function ib(){h.noCloneEvent=!1;c.detachEvent("onclick",
-ib)}),c.cloneNode(!0).fireEvent("onclick"));d=v.createElement("input");d.value="t";d.setAttribute("type","radio");h.radioValue=d.value==="t";d.setAttribute("checked","checked");c.appendChild(d);b=v.createDocumentFragment();b.appendChild(c.firstChild);h.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;c.innerHTML="";c.style.width=c.style.paddingLeft="1px";b=v.createElement("body");y={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(f in y)b.style[f]=y[f];b.appendChild(c);
-a.insertBefore(b,a.firstChild);h.appendChecked=d.checked;h.boxModel=c.offsetWidth===2;if("zoom"in c.style)c.style.display="inline",c.style.zoom=1,h.inlineBlockNeedsLayout=c.offsetWidth===2,c.style.display="",c.innerHTML="<div style='width:4px;'></div>",h.shrinkWrapBlocks=c.offsetWidth!==2;c.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";y=c.getElementsByTagName("td");d=y[0].offsetHeight===0;y[0].style.display="";y[1].style.display="none";h.reliableHiddenOffsets=
-d&&y[0].offsetHeight===0;c.innerHTML="";if(v.defaultView&&v.defaultView.getComputedStyle)d=v.createElement("div"),d.style.width="0",d.style.marginRight="0",c.appendChild(d),h.reliableMarginRight=(parseInt((v.defaultView.getComputedStyle(d,null)||{marginRight:0}).marginRight,10)||0)===0;b.innerHTML="";a.removeChild(b);if(c.attachEvent)for(f in{submit:1,change:1,focusin:1})a="on"+f,d=a in c,d||(c.setAttribute(a,"return;"),d=typeof c[a]==="function"),h[f+"Bubbles"]=d;return h}();d.boxModel=d.support.boxModel;
-var F=/^(?:\{.*\}|\[.*\])$/,oa=/([a-z])([A-Z])/g;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(c){c=c.nodeType?d.cache[c[d.expando]]:c[d.expando];return!!c&&!f(c)},data:function(c,a,r,u){if(d.acceptData(c)){var y=d.expando,e=typeof a==="string",h=c.nodeType,f=h?d.cache:c,g=h?c[d.expando]:c[d.expando]&&d.expando;if(g&&(!u||!g||f[g][y])||!(e&&r===b)){if(!g)h?c[d.expando]=
-g=++d.uuid:g=d.expando;if(!f[g]&&(f[g]={},!h))f[g].toJSON=d.noop;if(typeof a==="object"||typeof a==="function")u?f[g][y]=d.extend(f[g][y],a):f[g]=d.extend(f[g],a);c=f[g];u&&(c[y]||(c[y]={}),c=c[y]);r!==b&&(c[d.camelCase(a)]=r);if(a==="events"&&!c[a])return c[y]&&c[y].events;return e?c[d.camelCase(a)]:c}}},removeData:function(c,o,b){if(d.acceptData(c)){var u=d.expando,y=c.nodeType,e=y?d.cache:c,h=y?c[d.expando]:d.expando;if(e[h]){if(o){var g=b?e[h][u]:e[h];if(g&&(delete g[o],!f(g)))return}if(b&&(delete e[h][u],
-!f(e[h])))return;o=e[h][u];d.support.deleteExpando||e!=a?delete e[h]:e[h]=null;if(o){e[h]={};if(!y)e[h].toJSON=d.noop;e[h][u]=o}else y&&(d.support.deleteExpando?delete c[d.expando]:c.removeAttribute?c.removeAttribute(d.expando):c[d.expando]=null)}}},_data:function(c,a,b){return d.data(c,a,b,!0)},acceptData:function(c){if(c.nodeName){var a=d.noData[c.nodeName.toLowerCase()];if(a)return!(a===!0||c.getAttribute("classid")!==a)}return!0}});d.fn.extend({data:function(c,a){var r=null;if(typeof c==="undefined"){if(this.length&&
-(r=d.data(this[0]),this[0].nodeType===1))for(var u=this[0].attributes,y,h=0,f=u.length;h<f;h++)y=u[h].name,y.indexOf("data-")===0&&(y=d.camelCase(y.substring(5)),e(this[0],y,r[y]));return r}else if(typeof c==="object")return this.each(function(){d.data(this,c)});var g=c.split(".");g[1]=g[1]?"."+g[1]:"";return a===b?(r=this.triggerHandler("getData"+g[1]+"!",[g[0]]),r===b&&this.length&&(r=d.data(this[0],c),r=e(this[0],c,r)),r===b&&g[1]?this.data(g[0]):r):this.each(function(){var b=d(this),r=[g[0],a];
-b.triggerHandler("setData"+g[1]+"!",r);d.data(this,c,a);b.triggerHandler("changeData"+g[1]+"!",r)})},removeData:function(c){return this.each(function(){d.removeData(this,c)})}});d.extend({_mark:function(c,a){c&&(a=(a||"fx")+"mark",d.data(c,a,(d.data(c,a,b,!0)||0)+1,!0))},_unmark:function(c,a,r){c!==!0&&(r=a,a=c,c=!1);if(a){var r=r||"fx",u=r+"mark";(c=c?0:(d.data(a,u,b,!0)||1)-1)?d.data(a,u,c,!0):(d.removeData(a,u,!0),j(a,r,"mark"))}},queue:function(c,a,r){if(c){var a=(a||"fx")+"queue",u=d.data(c,
-a,b,!0);r&&(!u||d.isArray(r)?u=d.data(c,a,d.makeArray(r),!0):u.push(r));return u||[]}},dequeue:function(c,a){var a=a||"fx",b=d.queue(c,a),u=b.shift();u==="inprogress"&&(u=b.shift());u&&(a==="fx"&&b.unshift("inprogress"),u.call(c,function(){d.dequeue(c,a)}));b.length||(d.removeData(c,a+"queue",!0),j(c,a,"queue"))}});d.fn.extend({queue:function(c,a){typeof c!=="string"&&(a=c,c="fx");if(a===b)return d.queue(this[0],c);return this.each(function(){var b=d.queue(this,c,a);c==="fx"&&b[0]!=="inprogress"&&
-d.dequeue(this,c)})},dequeue:function(c){return this.each(function(){d.dequeue(this,c)})},delay:function(c,a){c=d.fx?d.fx.speeds[c]||c:c;a=a||"fx";return this.queue(a,function(){var b=this;setTimeout(function(){d.dequeue(b,a)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])},promise:function(c){function a(){--h||r.resolveWith(u,[u])}typeof c!=="string"&&(c=b);var c=c||"fx",r=d.Deferred(),u=this,e=u.length,h=1,g=c+"defer",f=c+"queue";c+="mark";for(var q;e--;)if(q=d.data(u[e],g,b,!0)||(d.data(u[e],
-f,b,!0)||d.data(u[e],c,b,!0))&&d.data(u[e],g,d._Deferred(),!0))h++,q.done(a);a();return r.promise()}});var ka=/[\n\t\r]/g,ca=/\s+/,ra=/\r/g,wa=/^(?:button|input)$/i,$=/^(?:button|input|object|select|textarea)$/i,g=/^a(?:rea)?$/i,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=/\:/,J,n;d.fn.extend({attr:function(c,a){return d.access(this,c,a,!0,d.attr)},removeAttr:function(c){return this.each(function(){d.removeAttr(this,
-c)})},prop:function(c,a){return d.access(this,c,a,!0,d.prop)},removeProp:function(c){c=d.propFix[c]||c;return this.each(function(){try{this[c]=b,delete this[c]}catch(a){}})},addClass:function(c){if(d.isFunction(c))return this.each(function(a){var o=d(this);o.addClass(c.call(this,a,o.attr("class")||""))});if(c&&typeof c==="string")for(var a=(c||"").split(ca),b=0,u=this.length;b<u;b++){var e=this[b];if(e.nodeType===1)if(e.className){for(var h=" "+e.className+" ",g=e.className,f=0,q=a.length;f<q;f++)h.indexOf(" "+
-a[f]+" ")<0&&(g+=" "+a[f]);e.className=d.trim(g)}else e.className=c}return this},removeClass:function(c){if(d.isFunction(c))return this.each(function(a){var o=d(this);o.removeClass(c.call(this,a,o.attr("class")))});if(c&&typeof c==="string"||c===b)for(var a=(c||"").split(ca),r=0,u=this.length;r<u;r++){var e=this[r];if(e.nodeType===1&&e.className)if(c){for(var h=(" "+e.className+" ").replace(ka," "),g=0,f=a.length;g<f;g++)h=h.replace(" "+a[g]+" "," ");e.className=d.trim(h)}else e.className=""}return this},
-toggleClass:function(c,a){var b=typeof c,u=typeof a==="boolean";if(d.isFunction(c))return this.each(function(b){var r=d(this);r.toggleClass(c.call(this,b,r.attr("class"),a),a)});return this.each(function(){if(b==="string")for(var e,h=0,g=d(this),f=a,q=c.split(ca);e=q[h++];)f=u?f:!g.hasClass(e),g[f?"addClass":"removeClass"](e);else if(b==="undefined"||b==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||c===!1?"":d._data(this,"__className__")||""})},
-hasClass:function(c){for(var c=" "+c+" ",a=0,d=this.length;a<d;a++)if((" "+this[a].className+" ").replace(ka," ").indexOf(c)>-1)return!0;return!1},val:function(c){var a,r,u=this[0];if(!arguments.length){if(u){if((a=d.valHooks[u.nodeName.toLowerCase()]||d.valHooks[u.type])&&"get"in a&&(r=a.get(u,"value"))!==b)return r;return(u.value||"").replace(ra,"")}return b}var e=d.isFunction(c);return this.each(function(r){var u=d(this);if(this.nodeType===1&&(r=e?c.call(this,r,u.val()):c,r==null?r="":typeof r===
-"number"?r+="":d.isArray(r)&&(r=d.map(r,function(c){return c==null?"":c+""})),a=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type],!a||!("set"in a)||a.set(this,r,"value")===b))this.value=r})}});d.extend({valHooks:{option:{get:function(c){var a=c.attributes.value;return!a||a.specified?c.value:c.text}},select:{get:function(c){var a,b=c.selectedIndex,u=[],e=c.options,c=c.type==="select-one";if(b<0)return null;for(var h=c?b:0,g=c?b+1:e.length;h<g;h++)if(a=e[h],a.selected&&(d.support.optDisabled?
-!a.disabled:a.getAttribute("disabled")===null)&&(!a.parentNode.disabled||!d.nodeName(a.parentNode,"optgroup"))){a=d(a).val();if(c)return a;u.push(a)}if(c&&!u.length&&e.length)return d(e[b]).val();return u},set:function(c,a){var b=d.makeArray(a);d(c).find("option").each(function(){this.selected=d.inArray(d(this).val(),b)>=0});if(!b.length)c.selectedIndex=-1;return b}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(c,a,r,u){var e=
-c.nodeType;if(!c||e===3||e===8||e===2)return b;if(u&&a in d.attrFn)return d(c)[a](r);if(!("getAttribute"in c))return d.prop(c,a,r);var h,a=(e=e!==1||!d.isXMLDoc(c))&&d.attrFix[a]||a,u=d.attrHooks[a];if(!u)if(p.test(a)&&(typeof r==="boolean"||r===b||r.toLowerCase()===a.toLowerCase()))u=n;else if(J&&(d.nodeName(c,"form")||V.test(a)))u=J;return r!==b?r===null?(d.removeAttr(c,a),b):u&&"set"in u&&e&&(h=u.set(c,r,a))!==b?h:(c.setAttribute(a,""+r),r):u&&"get"in u&&e?u.get(c,a):(h=c.getAttribute(a),h===null?
-b:h)},removeAttr:function(c,a){var b;if(c.nodeType===1&&(a=d.attrFix[a]||a,d.support.getSetAttribute?c.removeAttribute(a):(d.attr(c,a,""),c.removeAttributeNode(c.getAttributeNode(a))),p.test(a)&&(b=d.propFix[a]||a)in c))c[b]=!1},attrHooks:{type:{set:function(c,a){if(wa.test(c.nodeName)&&c.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&a==="radio"&&d.nodeName(c,"input")){var b=c.value;c.setAttribute("type",a);if(b)c.value=b;return a}}},tabIndex:{get:function(c){var a=
-c.getAttributeNode("tabIndex");return a&&a.specified?parseInt(a.value,10):$.test(c.nodeName)||g.test(c.nodeName)&&c.href?0:b}}},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(c,a,r){var e=c.nodeType;if(!c||e===3||e===8||e===2)return b;var h,a=(e!==1||!d.isXMLDoc(c))&&
-d.propFix[a]||a,e=d.propHooks[a];return r!==b?e&&"set"in e&&(h=e.set(c,r,a))!==b?h:c[a]=r:e&&"get"in e&&(h=e.get(c,a))!==b?h:c[a]},propHooks:{}});n={get:function(c,a){return c[d.propFix[a]||a]?a.toLowerCase():b},set:function(c,a,b){var e;a===!1?d.removeAttr(c,b):(e=d.propFix[b]||b,e in c&&(c[e]=a),c.setAttribute(b,b.toLowerCase()));return b}};d.attrHooks.value={get:function(c,a){if(J&&d.nodeName(c,"button"))return J.get(c,a);return c.value},set:function(c,a,b){if(J&&d.nodeName(c,"button"))return J.set(c,
-a,b);c.value=a}};if(!d.support.getSetAttribute)d.attrFix=d.propFix,J=d.attrHooks.name=d.valHooks.button={get:function(c,a){var d;return(d=c.getAttributeNode(a))&&d.nodeValue!==""?d.nodeValue:b},set:function(c,a,d){if(c=c.getAttributeNode(d))return c.nodeValue=a}},d.each(["width","height"],function(c,a){d.attrHooks[a]=d.extend(d.attrHooks[a],{set:function(c,d){if(d==="")return c.setAttribute(a,"auto"),d}})});d.support.hrefNormalized||d.each(["href","src","width","height"],function(c,a){d.attrHooks[a]=
-d.extend(d.attrHooks[a],{get:function(c){c=c.getAttribute(a,2);return c===null?b:c}})});if(!d.support.style)d.attrHooks.style={get:function(c){return c.style.cssText.toLowerCase()||b},set:function(c,a){return c.style.cssText=""+a}};if(!d.support.optSelected)d.propHooks.selected=d.extend(d.propHooks.selected,{get:function(){}});d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(c){return c.getAttribute("value")===null?"on":c.value}}});d.each(["radio","checkbox"],
-function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(c,a){if(d.isArray(a))return c.checked=d.inArray(d(c).val(),a)>=0}})});var za=/\.(.*)$/,sa=/^(?:textarea|input|select)$/i,pa=/\./g,x=/ /g,da=/[^\w\s.|`]/g,ia=function(c){return c.replace(da,"\\$&")};d.event={add:function(c,a,r,e){if(!(c.nodeType===3||c.nodeType===8)){if(r===!1)r=l;else if(!r)return;var h,g;if(r.handler)h=r,r=h.handler;if(!r.guid)r.guid=d.guid++;if(g=d._data(c)){var f=g.events,q=g.handle;if(!f)g.events=f={};if(!q)g.handle=
-q=function(c){return typeof d!=="undefined"&&(!c||d.event.triggered!==c.type)?d.event.handle.apply(q.elem,arguments):b};q.elem=c;for(var a=a.split(" "),w,H=0,p;w=a[H++];){g=h?d.extend({},h):{handler:r,data:e};w.indexOf(".")>-1?(p=w.split("."),w=p.shift(),g.namespace=p.slice(0).sort().join(".")):(p=[],g.namespace="");g.type=w;if(!g.guid)g.guid=r.guid;var n=f[w],Q=d.event.special[w]||{};if(!n&&(n=f[w]=[],!Q.setup||Q.setup.call(c,e,p,q)===!1))c.addEventListener?c.addEventListener(w,q,!1):c.attachEvent&&
-c.attachEvent("on"+w,q);if(Q.add&&(Q.add.call(c,g),!g.handler.guid))g.handler.guid=r.guid;n.push(g);d.event.global[w]=!0}c=null}}},global:{},remove:function(c,a,r,e){if(!(c.nodeType===3||c.nodeType===8)){r===!1&&(r=l);var h,g,f=0,q,w,p,H,n,Q,j=d.hasData(c)&&d._data(c),K=j&&j.events;if(j&&K){if(a&&a.type)r=a.handler,a=a.type;if(!a||typeof a==="string"&&a.charAt(0)===".")for(h in a=a||"",K)d.event.remove(c,h+a);else{for(a=a.split(" ");h=a[f++];)if(H=h,q=h.indexOf(".")<0,w=[],q||(w=h.split("."),h=w.shift(),
-p=RegExp("(^|\\.)"+d.map(w.slice(0).sort(),ia).join("\\.(?:.*\\.)?")+"(\\.|$)")),n=K[h])if(r){H=d.event.special[h]||{};for(g=e||0;g<n.length;g++)if(Q=n[g],r.guid===Q.guid){if(q||p.test(Q.namespace))e==null&&n.splice(g--,1),H.remove&&H.remove.call(c,Q);if(e!=null)break}if(n.length===0||e!=null&&n.length===1)(!H.teardown||H.teardown.call(c,w)===!1)&&d.removeEvent(c,h,j.handle),delete K[h]}else for(g=0;g<n.length;g++)if(Q=n[g],q||p.test(Q.namespace))d.event.remove(c,H,Q.handler,g),n.splice(g--,1);if(d.isEmptyObject(K)){if(a=
-j.handle)a.elem=null;delete j.events;delete j.handle;d.isEmptyObject(j)&&d.removeData(c,b,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,o,r,e){var h=c.type||c,g=[],f;h.indexOf("!")>=0&&(h=h.slice(0,-1),f=!0);h.indexOf(".")>=0&&(g=h.split("."),h=g.shift(),g.sort());if(r&&!d.event.customEvent[h]||d.event.global[h]){c=typeof c==="object"?c[d.expando]?c:new d.Event(h,c):new d.Event(h);c.type=h;c.exclusive=f;c.namespace=g.join(".");c.namespace_re=RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+
-"(\\.|$)");if(e||!r)c.preventDefault(),c.stopPropagation();if(r){if(!(r.nodeType===3||r.nodeType===8)){c.result=b;c.target=r;o=o?d.makeArray(o):[];o.unshift(c);g=r;e=h.indexOf(":")<0?"on"+h:"";do{f=d._data(g,"handle");c.currentTarget=g;f&&f.apply(g,o);if(e&&d.acceptData(g)&&g[e]&&g[e].apply(g,o)===!1)c.result=!1,c.preventDefault();g=g.parentNode||g.ownerDocument||g===c.target.ownerDocument&&a}while(g&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var q,g=d.event.special[h]||{};if((!g._default||
-g._default.call(r.ownerDocument,c)===!1)&&!(h==="click"&&d.nodeName(r,"a"))&&d.acceptData(r)){try{if(e&&r[h])(q=r[e])&&(r[e]=null),d.event.triggered=h,r[h]()}catch(w){}q&&(r[e]=q);d.event.triggered=b}}return c.result}}else d.each(d.cache,function(){var a=this[d.expando];a&&a.events&&a.events[h]&&d.event.trigger(c,o,a.handle.elem)})}},handle:function(c){var c=d.event.fix(c||a.event),o=((d._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,h=Array.prototype.slice.call(arguments,
-0);h[0]=c;c.currentTarget=this;for(var g=0,f=o.length;g<f;g++){var q=o[g];if(e||c.namespace_re.test(q.namespace)){c.handler=q.handler;c.data=q.data;c.handleObj=q;q=q.handler.apply(this,h);if(q!==b)c.result=q,q===!1&&(c.preventDefault(),c.stopPropagation());if(c.isImmediatePropagationStopped())break}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
-fix:function(c){if(c[d.expando])return c;for(var a=c,c=d.Event(a),e=this.props.length,h;e;)h=this.props[--e],c[h]=a[h];if(!c.target)c.target=c.srcElement||v;if(c.target.nodeType===3)c.target=c.target.parentNode;if(!c.relatedTarget&&c.fromElement)c.relatedTarget=c.fromElement===c.target?c.toElement:c.fromElement;if(c.pageX==null&&c.clientX!=null)e=c.target.ownerDocument||v,a=e.documentElement,e=e.body,c.pageX=c.clientX+(a&&a.scrollLeft||e&&e.scrollLeft||0)-(a&&a.clientLeft||e&&e.clientLeft||0),c.pageY=
-c.clientY+(a&&a.scrollTop||e&&e.scrollTop||0)-(a&&a.clientTop||e&&e.clientTop||0);if(c.which==null&&(c.charCode!=null||c.keyCode!=null))c.which=c.charCode!=null?c.charCode:c.keyCode;if(!c.metaKey&&c.ctrlKey)c.metaKey=c.ctrlKey;if(!c.which&&c.button!==b)c.which=c.button&1?1:c.button&2?3:c.button&4?2:0;return c},guid:1E8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(c){d.event.add(this,D(c.origType,c.selector),d.extend({},c,{handler:G,guid:c.handler.guid}))},remove:function(c){d.event.remove(this,
-D(c.origType,c.selector),c)}},beforeunload:{setup:function(c,a,b){if(d.isWindow(this))this.onbeforeunload=b},teardown:function(c,a){if(this.onbeforeunload===a)this.onbeforeunload=null}}}};d.removeEvent=v.removeEventListener?function(c,a,d){c.removeEventListener&&c.removeEventListener(a,d,!1)}:function(c,a,d){c.detachEvent&&c.detachEvent("on"+a,d)};d.Event=function(c,a){if(!this.preventDefault)return new d.Event(c,a);c&&c.type?(this.originalEvent=c,this.type=c.type,this.isDefaultPrevented=c.defaultPrevented||
-c.returnValue===!1||c.getPreventDefault&&c.getPreventDefault()?k:l):this.type=c;a&&d.extend(this,a);this.timeStamp=d.now();this[d.expando]=!0};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var c=this.originalEvent;if(c)c.preventDefault?c.preventDefault():c.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=k;var c=this.originalEvent;if(c)c.stopPropagation&&c.stopPropagation(),c.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
-k;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var la=function(c){var a=c.relatedTarget;c.type=c.data;try{if(!a||a===v||a.parentNode){for(;a&&a!==this;)a=a.parentNode;a!==this&&d.event.handle.apply(this,arguments)}}catch(b){}},E=function(c){c.type=c.data;d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,a){d.event.special[c]={setup:function(b){d.event.add(this,a,b&&b.selector?E:la,c)},teardown:function(c){d.event.remove(this,
-a,c&&c.selector?E:la)}}});if(!d.support.submitBubbles)d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return!1;else d.event.add(this,"click.specialSubmit",function(c){var a=c.target,b=a.type;(b==="submit"||b==="image")&&d(a).closest("form").length&&A("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(c){var a=c.target,b=a.type;(b==="text"||b==="password")&&d(a).closest("form").length&&c.keyCode===13&&A("submit",this,arguments)})},teardown:function(){d.event.remove(this,
-".specialSubmit")}};if(!d.support.changeBubbles){var ea,ma=function(c){var a=c.type,b=c.value;if(a==="radio"||a==="checkbox")b=c.checked;else if(a==="select-multiple")b=c.selectedIndex>-1?d.map(c.options,function(c){return c.selected}).join("-"):"";else if(d.nodeName(c,"select"))b=c.selectedIndex;return b},xa=function(c,a){var e=c.target,h,g;if(sa.test(e.nodeName)&&!e.readOnly&&(h=d._data(e,"_change_data"),g=ma(e),(c.type!=="focusout"||e.type!=="radio")&&d._data(e,"_change_data",g),!(h===b||g===h)))if(h!=
-null||g)c.type="change",c.liveFired=b,d.event.trigger(c,a,e)};d.event.special.change={filters:{focusout:xa,beforedeactivate:xa,click:function(c){var a=c.target,b=d.nodeName(a,"input")?a.type:"";(b==="radio"||b==="checkbox"||d.nodeName(a,"select"))&&xa.call(this,c)},keydown:function(c){var a=c.target,b=d.nodeName(a,"input")?a.type:"";(c.keyCode===13&&!d.nodeName(a,"textarea")||c.keyCode===32&&(b==="checkbox"||b==="radio")||b==="select-multiple")&&xa.call(this,c)},beforeactivate:function(c){c=c.target;
-d._data(c,"_change_data",ma(c))}},setup:function(){if(this.type==="file")return!1;for(var c in ea)d.event.add(this,c+".specialChange",ea[c]);return sa.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return sa.test(this.nodeName)}};ea=d.event.special.change.filters;ea.focus=ea.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(c,a){function b(c){var e=d.event.fix(c);e.type=a;e.originalEvent={};d.event.trigger(e,null,e.target);e.isDefaultPrevented()&&
-c.preventDefault()}var e=0;d.event.special[a]={setup:function(){e++===0&&v.addEventListener(c,b,!0)},teardown:function(){--e===0&&v.removeEventListener(c,b,!0)}}});d.each(["bind","one"],function(c,a){d.fn[a]=function(c,e,h){var g;if(typeof c==="object"){for(var f in c)this[a](f,e,c[f],h);return this}if(arguments.length===2||e===!1)h=e,e=b;a==="one"?(g=function(c){d(this).unbind(c,g);return h.apply(this,arguments)},g.guid=h.guid||d.guid++):g=h;if(c==="unload"&&a!=="one")this.one(c,e,h);else{f=0;for(var q=
-this.length;f<q;f++)d.event.add(this[f],c,g,e)}return this}});d.fn.extend({unbind:function(c,a){if(typeof c==="object"&&!c.preventDefault)for(var b in c)this.unbind(b,c[b]);else{b=0;for(var e=this.length;b<e;b++)d.event.remove(this[b],c,a)}return this},delegate:function(c,a,d,b){return this.live(a,d,b,c)},undelegate:function(c,a,d){return arguments.length===0?this.unbind("live"):this.die(a,null,d,c)},trigger:function(c,a){return this.each(function(){d.event.trigger(c,a,this)})},triggerHandler:function(c,
-a){if(this[0])return d.event.trigger(c,a,this[0],!0)},toggle:function(c){var a=arguments,b=c.guid||d.guid++,e=0,h=function(b){var h=(d.data(this,"lastToggle"+c.guid)||0)%e;d.data(this,"lastToggle"+c.guid,h+1);b.preventDefault();return a[h].apply(this,arguments)||!1};for(h.guid=b;e<a.length;)a[e++].guid=b;return this.click(h)},hover:function(c,a){return this.mouseenter(c).mouseleave(a||c)}});var ta={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],
-function(c,a){d.fn[a]=function(c,e,h,g){var f=0,q,w,H=g||this.selector,p=g?this:d(this.context);if(typeof c==="object"&&!c.preventDefault){for(q in c)p[a](q,e,c[q],H);return this}if(a==="die"&&!c&&g&&g.charAt(0)===".")return p.unbind(g),this;if(e===!1||d.isFunction(e))h=e||l,e=b;for(c=(c||"").split(" ");(g=c[f++])!=null;)if(q=za.exec(g),w="",q&&(w=q[0],g=g.replace(za,"")),g==="hover")c.push("mouseenter"+w,"mouseleave"+w);else if(q=g,ta[g]?(c.push(ta[g]+w),g+=w):g=(ta[g]||g)+w,a==="live"){w=0;for(var n=
-p.length;w<n;w++)d.event.add(p[w],"live."+D(g,H),{data:e,selector:H,handler:h,origType:g,origHandler:h,preType:q})}else p.unbind("live."+D(g,H),h);return this}});d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(c,a){d.fn[a]=function(c,d){d==null&&(d=c,c=null);return arguments.length>0?this.bind(a,c,d):this.trigger(a)};d.attrFn&&(d.attrFn[a]=
-!0)});(function(){function c(c,a,d,b,e,h){for(var e=0,o=b.length;e<o;e++){var g=b[e];if(g){for(var r=!1,g=g[c];g;){if(g.sizcache===d){r=b[g.sizset];break}if(g.nodeType===1&&!h)g.sizcache=d,g.sizset=e;if(g.nodeName.toLowerCase()===a){r=g;break}g=g[c]}b[e]=r}}}function a(c,d,b,e,h,o){for(var h=0,g=e.length;h<g;h++){var r=e[h];if(r){for(var u=!1,r=r[c];r;){if(r.sizcache===b){u=e[r.sizset];break}if(r.nodeType===1){if(!o)r.sizcache=b,r.sizset=h;if(typeof d!=="string"){if(r===d){u=!0;break}}else if(p.filter(d,
-[r]).length>0){u=r;break}}r=r[c]}e[h]=u}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h=0,g=Object.prototype.toString,f=!1,q=!0,w=/\\/g,H=/\W/;[0,0].sort(function(){q=!1;return 0});var p=function(c,a,d,b){var d=d||[],h=a=a||v;if(a.nodeType!==1&&a.nodeType!==9)return[];if(!c||typeof c!=="string")return d;var o,u,f,q,w,H=!0,j=p.isXML(a),K=[],Ha=c;do if(e.exec(""),o=e.exec(Ha))if(Ha=o[3],K.push(o[1]),o[2]){q=
-o[3];break}while(o);if(K.length>1&&Q.exec(c))if(K.length===2&&n.relative[K[0]])u=l(K[0]+K[1],a);else for(u=n.relative[K[0]]?[a]:p(K.shift(),a);K.length;)c=K.shift(),n.relative[c]&&(c+=K.shift()),u=l(c,u);else if(!b&&K.length>1&&a.nodeType===9&&!j&&n.match.ID.test(K[0])&&!n.match.ID.test(K[K.length-1])&&(o=p.find(K.shift(),a,j),a=o.expr?p.filter(o.expr,o.set)[0]:o.set[0]),a){o=b?{expr:K.pop(),set:Y(b)}:p.find(K.pop(),K.length===1&&(K[0]==="~"||K[0]==="+")&&a.parentNode?a.parentNode:a,j);u=o.expr?p.filter(o.expr,
-o.set):o.set;for(K.length>0?f=Y(u):H=!1;K.length;)o=w=K.pop(),n.relative[w]?o=K.pop():w="",o==null&&(o=a),n.relative[w](f,o,j)}else f=[];f||(f=u);f||p.error(w||c);if(g.call(f)==="[object Array]")if(H)if(a&&a.nodeType===1)for(c=0;f[c]!=null;c++)f[c]&&(f[c]===!0||f[c].nodeType===1&&p.contains(a,f[c]))&&d.push(u[c]);else for(c=0;f[c]!=null;c++)f[c]&&f[c].nodeType===1&&d.push(u[c]);else d.push.apply(d,f);else Y(f,d);q&&(p(q,h,d,b),p.uniqueSort(d));return d};p.uniqueSort=function(c){if(V&&(f=q,c.sort(V),
-f))for(var a=1;a<c.length;a++)c[a]===c[a-1]&&c.splice(a--,1);return c};p.matches=function(c,a){return p(c,null,null,a)};p.matchesSelector=function(c,a){return p(a,null,null,[c]).length>0};p.find=function(c,a,d){var b;if(!c)return[];for(var e=0,o=n.order.length;e<o;e++){var h,g=n.order[e];if(h=n.leftMatch[g].exec(c)){var r=h[1];h.splice(1,1);if(r.substr(r.length-1)!=="\\"&&(h[1]=(h[1]||"").replace(w,""),b=n.find[g](h,a,d),b!=null)){c=c.replace(n.match[g],"");break}}}b||(b=typeof a.getElementsByTagName!==
-"undefined"?a.getElementsByTagName("*"):[]);return{set:b,expr:c}};p.filter=function(c,a,d,e){for(var o,h,g=c,r=[],u=a,f=a&&a[0]&&p.isXML(a[0]);c&&a.length;){for(var y in n.filter)if((o=n.leftMatch[y].exec(c))!=null&&o[2]){var q,w,H=n.filter[y];w=o[1];h=!1;o.splice(1,1);if(w.substr(w.length-1)!=="\\"){u===r&&(r=[]);if(n.preFilter[y])if(o=n.preFilter[y](o,u,d,r,e,f)){if(o===!0)continue}else h=q=!0;if(o)for(var Q=0;(w=u[Q])!=null;Q++)if(w){q=H(w,o,Q,u);var j=e^!!q;d&&q!=null?j?h=!0:u[Q]=!1:j&&(r.push(w),
-h=!0)}if(q!==b){d||(u=r);c=c.replace(n.match[y],"");if(!h)return[];break}}}if(c===g)if(h==null)p.error(c);else break;g=c}return u};p.error=function(c){throw"Syntax error, unrecognized expression: "+c;};var n=p.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
-TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(c){return c.getAttribute("href")},type:function(c){return c.getAttribute("type")}},relative:{"+":function(c,a){var d=
-typeof a==="string",b=d&&!H.test(a),d=d&&!b;b&&(a=a.toLowerCase());for(var b=0,e=c.length,o;b<e;b++)if(o=c[b]){for(;(o=o.previousSibling)&&o.nodeType!==1;);c[b]=d||o&&o.nodeName.toLowerCase()===a?o||!1:o===a}d&&p.filter(a,c,!0)},">":function(c,a){var d,b=typeof a==="string",e=0,o=c.length;if(b&&!H.test(a))for(a=a.toLowerCase();e<o;e++){if(d=c[e])d=d.parentNode,c[e]=d.nodeName.toLowerCase()===a?d:!1}else{for(;e<o;e++)(d=c[e])&&(c[e]=b?d.parentNode:d.parentNode===a);b&&p.filter(a,c,!0)}},"":function(d,
-b,e){var r,g=h++,f=a;typeof b==="string"&&!H.test(b)&&(r=b=b.toLowerCase(),f=c);f("parentNode",b,g,d,r,e)},"~":function(d,b,e){var r,g=h++,f=a;typeof b==="string"&&!H.test(b)&&(r=b=b.toLowerCase(),f=c);f("previousSibling",b,g,d,r,e)}},find:{ID:function(c,a,d){if(typeof a.getElementById!=="undefined"&&!d)return(c=a.getElementById(c[1]))&&c.parentNode?[c]:[]},NAME:function(c,a){if(typeof a.getElementsByName!=="undefined"){for(var d=[],b=a.getElementsByName(c[1]),e=0,o=b.length;e<o;e++)b[e].getAttribute("name")===
-c[1]&&d.push(b[e]);return d.length===0?null:d}},TAG:function(c,a){if(typeof a.getElementsByTagName!=="undefined")return a.getElementsByTagName(c[1])}},preFilter:{CLASS:function(c,a,d,b,e,o){c=" "+c[1].replace(w,"")+" ";if(o)return c;for(var o=0,h;(h=a[o])!=null;o++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(c)>=0)?d||b.push(h):d&&(a[o]=!1));return!1},ID:function(c){return c[1].replace(w,"")},TAG:function(c){return c[1].replace(w,"").toLowerCase()},CHILD:function(c){if(c[1]===
-"nth"){c[2]||p.error(c[0]);c[2]=c[2].replace(/^\+|\s*/g,"");var a=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(c[2]==="even"&&"2n"||c[2]==="odd"&&"2n+1"||!/\D/.test(c[2])&&"0n+"+c[2]||c[2]);c[2]=a[1]+(a[2]||1)-0;c[3]=a[3]-0}else c[2]&&p.error(c[0]);c[0]=h++;return c},ATTR:function(c,a,d,b,e,o){a=c[1]=c[1].replace(w,"");!o&&n.attrMap[a]&&(c[1]=n.attrMap[a]);c[4]=(c[4]||c[5]||"").replace(w,"");c[2]==="~="&&(c[4]=" "+c[4]+" ");return c},PSEUDO:function(c,a,d,b,o){if(c[1]==="not")if((e.exec(c[3])||"").length>1||
-/^\w/.test(c[3]))c[3]=p(c[3],null,null,a);else return c=p.filter(c[3],a,d,1^o),d||b.push.apply(b,c),!1;else if(n.match.POS.test(c[0])||n.match.CHILD.test(c[0]))return!0;return c},POS:function(c){c.unshift(!0);return c}},filters:{enabled:function(c){return c.disabled===!1&&c.type!=="hidden"},disabled:function(c){return c.disabled===!0},checked:function(c){return c.checked===!0},selected:function(c){return c.selected===!0},parent:function(c){return!!c.firstChild},empty:function(c){return!c.firstChild},
-has:function(c,a,d){return!!p(d[3],c).length},header:function(c){return/h\d/i.test(c.nodeName)},text:function(c){var a=c.getAttribute("type"),d=c.type;return c.nodeName.toLowerCase()==="input"&&"text"===d&&(a===d||a===null)},radio:function(c){return c.nodeName.toLowerCase()==="input"&&"radio"===c.type},checkbox:function(c){return c.nodeName.toLowerCase()==="input"&&"checkbox"===c.type},file:function(c){return c.nodeName.toLowerCase()==="input"&&"file"===c.type},password:function(c){return c.nodeName.toLowerCase()===
-"input"&&"password"===c.type},submit:function(c){var a=c.nodeName.toLowerCase();return(a==="input"||a==="button")&&"submit"===c.type},image:function(c){return c.nodeName.toLowerCase()==="input"&&"image"===c.type},reset:function(c){var a=c.nodeName.toLowerCase();return(a==="input"||a==="button")&&"reset"===c.type},button:function(c){var a=c.nodeName.toLowerCase();return a==="input"&&"button"===c.type||a==="button"},input:function(c){return/input|select|textarea|button/i.test(c.nodeName)},focus:function(c){return c===
-c.ownerDocument.activeElement}},setFilters:{first:function(c,a){return a===0},last:function(c,a,d,b){return a===b.length-1},even:function(c,a){return a%2===0},odd:function(c,a){return a%2===1},lt:function(c,a,d){return a<d[3]-0},gt:function(c,a,d){return a>d[3]-0},nth:function(c,a,d){return d[3]-0===a},eq:function(c,a,d){return d[3]-0===a}},filter:{PSEUDO:function(c,a,d,b){var e=a[1],o=n.filters[e];if(o)return o(c,d,a,b);else if(e==="contains")return(c.textContent||c.innerText||p.getText([c])||"").indexOf(a[3])>=
-0;else if(e==="not"){a=a[3];d=0;for(b=a.length;d<b;d++)if(a[d]===c)return!1;return!0}else p.error(e)},CHILD:function(c,a){var d=a[1],b=c;switch(d){case "only":case "first":for(;b=b.previousSibling;)if(b.nodeType===1)return!1;if(d==="first")return!0;b=c;case "last":for(;b=b.nextSibling;)if(b.nodeType===1)return!1;return!0;case "nth":var d=a[2],e=a[3];if(d===1&&e===0)return!0;var o=a[0],h=c.parentNode;if(h&&(h.sizcache!==o||!c.nodeIndex)){for(var r=0,b=h.firstChild;b;b=b.nextSibling)if(b.nodeType===
-1)b.nodeIndex=++r;h.sizcache=o}b=c.nodeIndex-e;return d===0?b===0:b%d===0&&b/d>=0}},ID:function(c,a){return c.nodeType===1&&c.getAttribute("id")===a},TAG:function(c,a){return a==="*"&&c.nodeType===1||c.nodeName.toLowerCase()===a},CLASS:function(c,a){return(" "+(c.className||c.getAttribute("class"))+" ").indexOf(a)>-1},ATTR:function(c,a){var d=a[1],d=n.attrHandle[d]?n.attrHandle[d](c):c[d]!=null?c[d]:c.getAttribute(d),b=d+"",e=a[2],o=a[4];return d==null?e==="!=":e==="="?b===o:e==="*="?b.indexOf(o)>=
-0:e==="~="?(" "+b+" ").indexOf(o)>=0:!o?b&&d!==!1:e==="!="?b!==o:e==="^="?b.indexOf(o)===0:e==="$="?b.substr(b.length-o.length)===o:e==="|="?b===o||b.substr(0,o.length+1)===o+"-":!1},POS:function(c,a,d,b){var e=n.setFilters[a[2]];if(e)return e(c,d,a,b)}}},Q=n.match.POS,j=function(c,a){return"\\"+(a-0+1)},K;for(K in n.match)n.match[K]=RegExp(n.match[K].source+/(?![^\[]*\])(?![^\(]*\))/.source),n.leftMatch[K]=RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[K].source.replace(/\\(\d+)/g,j));var Y=function(c,
-a){c=Array.prototype.slice.call(c,0);if(a)return a.push.apply(a,c),a;return c};try{Array.prototype.slice.call(v.documentElement.childNodes,0)}catch(k){Y=function(c,a){var d=0,b=a||[];if(g.call(c)==="[object Array]")Array.prototype.push.apply(b,c);else if(typeof c.length==="number")for(var e=c.length;d<e;d++)b.push(c[d]);else for(;c[d];d++)b.push(c[d]);return b}}var V,W;v.documentElement.compareDocumentPosition?V=function(c,a){if(c===a)return f=!0,0;if(!c.compareDocumentPosition||!a.compareDocumentPosition)return c.compareDocumentPosition?
--1:1;return c.compareDocumentPosition(a)&4?-1:1}:(V=function(c,a){if(c===a)return f=!0,0;else if(c.sourceIndex&&a.sourceIndex)return c.sourceIndex-a.sourceIndex;var d,b,e=[],o=[];d=c.parentNode;b=a.parentNode;var h=d;if(d===b)return W(c,a);else if(d){if(!b)return 1}else return-1;for(;h;)e.unshift(h),h=h.parentNode;for(h=b;h;)o.unshift(h),h=h.parentNode;d=e.length;b=o.length;for(h=0;h<d&&h<b;h++)if(e[h]!==o[h])return W(e[h],o[h]);return h===d?W(c,o[h],-1):W(e[h],a,1)},W=function(c,a,d){if(c===a)return d;
-for(c=c.nextSibling;c;){if(c===a)return-1;c=c.nextSibling}return 1});p.getText=function(c){for(var a="",d,b=0;c[b];b++)d=c[b],d.nodeType===3||d.nodeType===4?a+=d.nodeValue:d.nodeType!==8&&(a+=p.getText(d.childNodes));return a};(function(){var c=v.createElement("div"),a="script"+(new Date).getTime(),d=v.documentElement;c.innerHTML="<a name='"+a+"'/>";d.insertBefore(c,d.firstChild);if(v.getElementById(a))n.find.ID=function(c,a,d){if(typeof a.getElementById!=="undefined"&&!d)return(a=a.getElementById(c[1]))?
-a.id===c[1]||typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id").nodeValue===c[1]?[a]:b:[]},n.filter.ID=function(c,a){var d=typeof c.getAttributeNode!=="undefined"&&c.getAttributeNode("id");return c.nodeType===1&&d&&d.nodeValue===a};d.removeChild(c);d=c=null})();(function(){var c=v.createElement("div");c.appendChild(v.createComment(""));if(c.getElementsByTagName("*").length>0)n.find.TAG=function(c,a){var d=a.getElementsByTagName(c[1]);if(c[1]==="*"){for(var b=[],e=0;d[e];e++)d[e].nodeType===
-1&&b.push(d[e]);d=b}return d};c.innerHTML="<a href='#'></a>";if(c.firstChild&&typeof c.firstChild.getAttribute!=="undefined"&&c.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(c){return c.getAttribute("href",2)};c=null})();v.querySelectorAll&&function(){var c=p,a=v.createElement("div");a.innerHTML="<p class='TEST'></p>";if(!(a.querySelectorAll&&a.querySelectorAll(".TEST").length===0)){p=function(a,d,b,e){d=d||v;if(!e&&!p.isXML(d)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(a);
-if(o&&(d.nodeType===1||d.nodeType===9))if(o[1])return Y(d.getElementsByTagName(a),b);else if(o[2]&&n.find.CLASS&&d.getElementsByClassName)return Y(d.getElementsByClassName(o[2]),b);if(d.nodeType===9){if(a==="body"&&d.body)return Y([d.body],b);else if(o&&o[3]){var h=d.getElementById(o[3]);if(h&&h.parentNode){if(h.id===o[3])return Y([h],b)}else return Y([],b)}try{return Y(d.querySelectorAll(a),b)}catch(r){}}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var o=d,g=(h=d.getAttribute("id"))||
-"__sizzle__",u=d.parentNode,f=/^\s*[+~]/.test(a);h?g=g.replace(/'/g,"\\$&"):d.setAttribute("id",g);if(f&&u)d=d.parentNode;try{if(!f||u)return Y(d.querySelectorAll("[id='"+g+"'] "+a),b)}catch(y){}finally{h||o.removeAttribute("id")}}}return c(a,d,b,e)};for(var d in c)p[d]=c[d];a=null}}();(function(){var c=v.documentElement,a=c.matchesSelector||c.mozMatchesSelector||c.webkitMatchesSelector||c.msMatchesSelector;if(a){var d=!a.call(v.createElement("div"),"div"),b=!1;try{a.call(v.documentElement,"[test!='']:sizzle")}catch(e){b=
-!0}p.matchesSelector=function(c,e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!p.isXML(c))try{if(b||!n.match.PSEUDO.test(e)&&!/!=/.test(e)){var o=a.call(c,e);if(o||!d||c.document&&c.document.nodeType!==11)return o}}catch(h){}return p(e,null,null,[c]).length>0}}})();(function(){var c=v.createElement("div");c.innerHTML="<div class='test e'></div><div class='test'></div>";if(c.getElementsByClassName&&c.getElementsByClassName("e").length!==0&&(c.lastChild.className="e",c.getElementsByClassName("e").length!==
-1))n.order.splice(1,0,"CLASS"),n.find.CLASS=function(c,a,d){if(typeof a.getElementsByClassName!=="undefined"&&!d)return a.getElementsByClassName(c[1])},c=null})();p.contains=v.documentElement.contains?function(c,a){return c!==a&&(c.contains?c.contains(a):!0)}:v.documentElement.compareDocumentPosition?function(c,a){return!!(c.compareDocumentPosition(a)&16)}:function(){return!1};p.isXML=function(c){return(c=(c?c.ownerDocument||c:0).documentElement)?c.nodeName!=="HTML":!1};var l=function(c,a){for(var d,
-b=[],e="",o=a.nodeType?[a]:a;d=n.match.PSEUDO.exec(c);)e+=d[0],c=c.replace(n.match.PSEUDO,"");c=n.relative[c]?c+"*":c;d=0;for(var h=o.length;d<h;d++)p(c,o[d],b);return p.filter(e,b)};d.find=p;d.expr=p.selectors;d.expr[":"]=d.expr.filters;d.unique=p.uniqueSort;d.text=p.getText;d.isXMLDoc=p.isXML;d.contains=p.contains})();var ua=/Until$/,T=/^(?:parents|prevUntil|prevAll)/,ya=/,/,Da=/^.[^:#\[\.,]*$/,h=Array.prototype.slice,H=d.expr.match.POS,q={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(c){var a=
-this,b,e;if(typeof c!=="string")return d(c).filter(function(){b=0;for(e=a.length;b<e;b++)if(d.contains(a[b],this))return!0});var h=this.pushStack("","find",c),g,f,q;b=0;for(e=this.length;b<e;b++)if(g=h.length,d.find(c,this[b],h),b>0)for(f=g;f<h.length;f++)for(q=0;q<g;q++)if(h[q]===h[f]){h.splice(f--,1);break}return h},has:function(c){var a=d(c);return this.filter(function(){for(var c=0,b=a.length;c<b;c++)if(d.contains(this,a[c]))return!0})},not:function(c){return this.pushStack(L(this,c,!1),"not",
-c)},filter:function(c){return this.pushStack(L(this,c,!0),"filter",c)},is:function(c){return!!c&&(typeof c==="string"?d.filter(c,this).length>0:this.filter(c).length>0)},closest:function(c,a){var b=[],e,h,g=this[0];if(d.isArray(c)){var f,q={},p=1;if(g&&c.length){e=0;for(h=c.length;e<h;e++)f=c[e],q[f]||(q[f]=H.test(f)?d(f,a||this.context):f);for(;g&&g.ownerDocument&&g!==a;){for(f in q)e=q[f],(e.jquery?e.index(g)>-1:d(g).is(e))&&b.push({selector:f,elem:g,level:p});g=g.parentNode;p++}}return b}f=H.test(c)||
-typeof c!=="string"?d(c,a||this.context):0;e=0;for(h=this.length;e<h;e++)for(g=this[e];g;)if(f?f.index(g)>-1:d.find.matchesSelector(g,c)){b.push(g);break}else if(g=g.parentNode,!g||!g.ownerDocument||g===a||g.nodeType===11)break;b=b.length>1?d.unique(b):b;return this.pushStack(b,"closest",c)},index:function(c){if(!c||typeof c==="string")return d.inArray(this[0],c?d(c):this.parent().children());return d.inArray(c.jquery?c[0]:c,this)},add:function(c,a){var b=typeof c==="string"?d(c,a):d.makeArray(c&&
-c.nodeType?[c]:c),e=d.merge(this.get(),b);return this.pushStack(!b[0]||!b[0].parentNode||b[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}});d.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return d.dir(c,"parentNode")},parentsUntil:function(c,a,b){return d.dir(c,"parentNode",b)},next:function(c){return d.nth(c,2,"nextSibling")},prev:function(c){return d.nth(c,
-2,"previousSibling")},nextAll:function(c){return d.dir(c,"nextSibling")},prevAll:function(c){return d.dir(c,"previousSibling")},nextUntil:function(c,a,b){return d.dir(c,"nextSibling",b)},prevUntil:function(c,a,b){return d.dir(c,"previousSibling",b)},siblings:function(c){return d.sibling(c.parentNode.firstChild,c)},children:function(c){return d.sibling(c.firstChild)},contents:function(c){return d.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:d.makeArray(c.childNodes)}},function(c,
-a){d.fn[c]=function(b,e){var g=d.map(this,a,b),f=h.call(arguments);ua.test(c)||(e=b);e&&typeof e==="string"&&(g=d.filter(e,g));g=this.length>1&&!q[c]?d.unique(g):g;if((this.length>1||ya.test(e))&&T.test(c))g=g.reverse();return this.pushStack(g,c,f.join(","))}});d.extend({filter:function(c,a,b){b&&(c=":not("+c+")");return a.length===1?d.find.matchesSelector(a[0],c)?[a[0]]:[]:d.find.matches(c,a)},dir:function(c,a,e){for(var h=[],c=c[a];c&&c.nodeType!==9&&(e===b||c.nodeType!==1||!d(c).is(e));)c.nodeType===
-1&&h.push(c),c=c[a];return h},nth:function(c,a,d){for(var a=a||1,b=0;c;c=c[d])if(c.nodeType===1&&++b===a)break;return c},sibling:function(c,a){for(var d=[];c;c=c.nextSibling)c.nodeType===1&&c!==a&&d.push(c);return d}});var Q=/ jQuery\d+="(?:\d+|null)"/g,w=/^\s+/,K=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Y=/<([\w:]+)/,ja=/<tbody/i,W=/<|&#?\w+;/,Z=/<(?:script|object|embed|option|style)/i,I=/checked\s*(?:[^=]|=\s*.checked.)/i,Ba=/\/(java|ecma)script/i,jb=/^\s*<!(?:\[CDATA\[|\-\-)/,
-na={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};na.optgroup=na.option;na.tbody=na.tfoot=na.colgroup=na.caption=na.thead;na.th=na.td;if(!d.support.htmlSerialize)na._default=[1,"div<div>","</div>"];d.fn.extend({text:function(c){if(d.isFunction(c))return this.each(function(a){var b=
-d(this);b.text(c.call(this,a,b.text()))});if(typeof c!=="object"&&c!==b)return this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(c));return d.text(this)},wrapAll:function(c){if(d.isFunction(c))return this.each(function(a){d(this).wrapAll(c.call(this,a))});if(this[0]){var a=d(c,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var c=this;c.firstChild&&c.firstChild.nodeType===1;)c=c.firstChild;return c}).append(this)}return this},
-wrapInner:function(c){if(d.isFunction(c))return this.each(function(a){d(this).wrapInner(c.call(this,a))});return this.each(function(){var a=d(this),b=a.contents();b.length?b.wrapAll(c):a.append(c)})},wrap:function(c){return this.each(function(){d(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,
-!0,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this)});else if(arguments.length){var c=d(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(c){this.parentNode.insertBefore(c,this.nextSibling)});else if(arguments.length){var c=
-this.pushStack(this,"after",arguments);c.push.apply(c,d(arguments[0]).toArray());return c}},remove:function(c,a){for(var b=0,e;(e=this[b])!=null;b++)if(!c||d.filter(c,[e]).length)!a&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var c=0,a;(a=this[c])!=null;c++)for(a.nodeType===1&&d.cleanData(a.getElementsByTagName("*"));a.firstChild;)a.removeChild(a.firstChild);return this},clone:function(c,a){c=
-c==null?!1:c;a=a==null?c:a;return this.map(function(){return d.clone(this,c,a)})},html:function(c){if(c===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Q,""):null;else if(typeof c==="string"&&!Z.test(c)&&(d.support.leadingWhitespace||!w.test(c))&&!na[(Y.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(K,"<$1></$2>");try{for(var a=0,e=this.length;a<e;a++)if(this[a].nodeType===1)d.cleanData(this[a].getElementsByTagName("*")),this[a].innerHTML=c}catch(h){this.empty().append(c)}}else d.isFunction(c)?
-this.each(function(a){var b=d(this);b.html(c.call(this,a,b.html()))}):this.empty().append(c);return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(d.isFunction(c))return this.each(function(a){var b=d(this),e=b.html();b.replaceWith(c.call(this,a,e))});typeof c!=="string"&&(c=d(c).detach());return this.each(function(){var a=this.nextSibling,b=this.parentNode;d(this).remove();a?d(a).before(c):d(b).append(c)})}else return this.length?this.pushStack(d(d.isFunction(c)?c():c),"replaceWith",
-c):this},detach:function(c){return this.remove(c,!0)},domManip:function(c,a,e){var h,g,f,q=c[0],p=[];if(!d.support.checkClone&&arguments.length===3&&typeof q==="string"&&I.test(q))return this.each(function(){d(this).domManip(c,a,e,!0)});if(d.isFunction(q))return this.each(function(h){var g=d(this);c[0]=q.call(this,h,a?g.html():b);g.domManip(c,a,e)});if(this[0]){h=q&&q.parentNode;h=d.support.parentNode&&h&&h.nodeType===11&&h.childNodes.length===this.length?{fragment:h}:d.buildFragment(c,this,p);f=
-h.fragment;if(g=f.childNodes.length===1?f=f.firstChild:f.firstChild){a=a&&d.nodeName(g,"tr");g=0;for(var w=this.length,n=w-1;g<w;g++)e.call(a?d.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],h.cacheable||w>1&&g<n?d.clone(f,!0,!0):f)}p.length&&d.each(p,R)}return this}});d.buildFragment=function(c,a,b){var e,h,g,a=a&&a[0]?a[0].ownerDocument||a[0]:v;if(c.length===1&&typeof c[0]==="string"&&c[0].length<
-512&&a===v&&c[0].charAt(0)==="<"&&!Z.test(c[0])&&(d.support.checkClone||!I.test(c[0])))h=!0,(g=d.fragments[c[0]])&&g!==1&&(e=g);e||(e=a.createDocumentFragment(),d.clean(c,a,e,b));h&&(d.fragments[c[0]]=g?e:1);return{fragment:e,cacheable:h}};d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,a){d.fn[c]=function(b){var e=[],b=d(b),h=this.length===1&&this[0].parentNode;if(h&&h.nodeType===11&&h.childNodes.length===
-1&&b.length===1)return b[a](this[0]),this;else{for(var h=0,g=b.length;h<g;h++){var f=(h>0?this.clone(!0):this).get();d(b[h])[a](f);e=e.concat(f)}return this.pushStack(e,c,b.selector)}}});d.extend({clone:function(c,a,b){var e=c.cloneNode(!0),h,g,f;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(c.nodeType===1||c.nodeType===11)&&!d.isXMLDoc(c)){z(c,e);h=s(c);g=s(e);for(f=0;h[f];++f)z(h[f],g[f])}if(a&&(B(c,e),b)){h=s(c);g=s(e);for(f=0;h[f];++f)B(h[f],g[f])}return e},clean:function(c,a,b,e){a=
-a||v;typeof a.createElement==="undefined"&&(a=a.ownerDocument||a[0]&&a[0].ownerDocument||v);for(var h=[],g,f=0,q;(q=c[f])!=null;f++)if(typeof q==="number"&&(q+=""),q){if(typeof q==="string")if(W.test(q)){q=q.replace(K,"<$1></$2>");g=(Y.exec(q)||["",""])[1].toLowerCase();var p=na[g]||na._default,n=p[0],H=a.createElement("div");for(H.innerHTML=p[1]+q+p[2];n--;)H=H.lastChild;if(!d.support.tbody){n=ja.test(q);p=g==="table"&&!n?H.firstChild&&H.firstChild.childNodes:p[1]==="<table>"&&!n?H.childNodes:[];
-for(g=p.length-1;g>=0;--g)d.nodeName(p[g],"tbody")&&!p[g].childNodes.length&&p[g].parentNode.removeChild(p[g])}!d.support.leadingWhitespace&&w.test(q)&&H.insertBefore(a.createTextNode(w.exec(q)[0]),H.firstChild);q=H.childNodes}else q=a.createTextNode(q);var Q;if(!d.support.appendChecked)if(q[0]&&typeof(Q=q.length)==="number")for(g=0;g<Q;g++)fa(q[g]);else fa(q);q.nodeType?h.push(q):h=d.merge(h,q)}if(b){c=function(c){return!c.type||Ba.test(c.type)};for(f=0;h[f];f++)e&&d.nodeName(h[f],"script")&&(!h[f].type||
-h[f].type.toLowerCase()==="text/javascript")?e.push(h[f].parentNode?h[f].parentNode.removeChild(h[f]):h[f]):(h[f].nodeType===1&&(a=d.grep(h[f].getElementsByTagName("script"),c),h.splice.apply(h,[f+1,0].concat(a))),b.appendChild(h[f]))}return h},cleanData:function(c){for(var a,b,e=d.cache,h=d.expando,g=d.event.special,f=d.support.deleteExpando,q=0,p;(p=c[q])!=null;q++)if(!p.nodeName||!d.noData[p.nodeName.toLowerCase()])if(b=p[d.expando]){if((a=e[b]&&e[b][h])&&a.events){for(var w in a.events)g[w]?d.event.remove(p,
-w):d.removeEvent(p,w,a.handle);if(a.handle)a.handle.elem=null}f?delete p[d.expando]:p.removeAttribute&&p.removeAttribute(d.expando);delete e[b]}}});var Ca=/alpha\([^)]*\)/i,Ia=/opacity=([^)]*)/,Ea=/-([a-z])/ig,Oa=/([A-Z]|^ms)/g,ab=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob=/^[+\-]=/,pb=/[^+\-\.\de]+/g,qb={position:"absolute",visibility:"hidden",display:"block"},kb=["Left","Right"],lb=["Top","Bottom"],Ja,bb,Ra,rb=function(c,a){return a.toUpperCase()};d.fn.css=function(c,a){if(arguments.length===2&&a===b)return this;
-return d.access(this,c,a,!0,function(c,a,e){return e!==b?d.style(c,a,e):d.css(c,a)})};d.extend({cssHooks:{opacity:{get:function(c,a){if(a){var d=Ja(c,"opacity","opacity");return d===""?"1":d}else return c.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(c,a,e,h){if(c&&!(c.nodeType===3||c.nodeType===8||!c.style)){var g,f=d.camelCase(a),q=c.style,p=d.cssHooks[f],a=d.cssProps[f]||
-f;if(e!==b){if(h=typeof e,!(h==="number"&&isNaN(e)||e==null))if(h==="string"&&ob.test(e)&&(e=+e.replace(pb,"")+parseFloat(d.css(c,a))),h==="number"&&!d.cssNumber[f]&&(e+="px"),!p||!("set"in p)||(e=p.set(c,e))!==b)try{q[a]=e}catch(w){}}else{if(p&&"get"in p&&(g=p.get(c,!1,h))!==b)return g;return q[a]}}},css:function(c,a,e){var h,g,a=d.camelCase(a);g=d.cssHooks[a];a=d.cssProps[a]||a;a==="cssFloat"&&(a="float");if(g&&"get"in g&&(h=g.get(c,!0,e))!==b)return h;else if(Ja)return Ja(c,a)},swap:function(c,
-a,d){var b={},e;for(e in a)b[e]=c.style[e],c.style[e]=a[e];d.call(c);for(e in a)c.style[e]=b[e]},camelCase:function(c){return c.replace(Ea,rb)}});d.curCSS=d.css;d.each(["height","width"],function(c,a){d.cssHooks[a]={get:function(c,b,e){var h;if(b){c.offsetWidth!==0?h=P(c,a,e):d.swap(c,qb,function(){h=P(c,a,e)});if(h<=0&&(h=Ja(c,a,a),h==="0px"&&Ra&&(h=Ra(c,a,a)),h!=null))return h===""||h==="auto"?"0px":h;if(h<0||h==null)return h=c.style[a],h===""||h==="auto"?"0px":h;return typeof h==="string"?h:h+
-"px"}},set:function(c,a){if(ab.test(a)){if(a=parseFloat(a),a>=0)return a+"px"}else return a}}});if(!d.support.opacity)d.cssHooks.opacity={get:function(c,a){return Ia.test((a&&c.currentStyle?c.currentStyle.filter:c.style.filter)||"")?parseFloat(RegExp.$1)/100+"":a?"1":""},set:function(c,a){var b=c.style,e=c.currentStyle;b.zoom=1;var h=d.isNaN(a)?"":"alpha(opacity="+a*100+")",e=e&&e.filter||b.filter||"";b.filter=Ca.test(e)?e.replace(Ca,h):e+" "+h}};d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight=
-{get:function(c,a){var b;d.swap(c,{display:"inline-block"},function(){b=a?Ja(c,"margin-right","marginRight"):c.style.marginRight});return b}}});v.defaultView&&v.defaultView.getComputedStyle&&(bb=function(c,a){var e,h,a=a.replace(Oa,"-$1").toLowerCase();if(!(h=c.ownerDocument.defaultView))return b;if(h=h.getComputedStyle(c,null))e=h.getPropertyValue(a),e===""&&!d.contains(c.ownerDocument.documentElement,c)&&(e=d.style(c,a));return e});v.documentElement.currentStyle&&(Ra=function(c,a){var d,b=c.currentStyle&&
-c.currentStyle[a],e=c.runtimeStyle&&c.runtimeStyle[a],h=c.style;if(!ab.test(b)&&nb.test(b)){d=h.left;if(e)c.runtimeStyle.left=c.currentStyle.left;h.left=a==="fontSize"?"1em":b||0;b=h.pixelLeft+"px";h.left=d;if(e)c.runtimeStyle.left=e}return b===""?"auto":b});Ja=bb||Ra;if(d.expr&&d.expr.filters)d.expr.filters.hidden=function(c){var a=c.offsetHeight;return c.offsetWidth===0&&a===0||!d.support.reliableHiddenOffsets&&(c.style.display||d.css(c,"display"))==="none"},d.expr.filters.visible=function(c){return!d.expr.filters.hidden(c)};
-var sb=/%20/g,mb=/\[\]$/,cb=/\r?\n/g,tb=/#.*$/,ub=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,vb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,wb=/^(?:GET|HEAD)$/,xb=/^\/\//,db=/\?/,yb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,zb=/^(?:select|textarea)/i,Za=/\s+/,Ab=/([?&])_=[^&]*/,eb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,fb=d.fn.load,Ta={},gb={},Fa,Ga;try{Fa=X.href}catch(Gb){Fa=v.createElement("a"),Fa.href="",Fa=Fa.href}Ga=eb.exec(Fa.toLowerCase())||
-[];d.fn.extend({load:function(c,a,e){if(typeof c!=="string"&&fb)return fb.apply(this,arguments);else if(!this.length)return this;var h=c.indexOf(" ");if(h>=0)var g=c.slice(h,c.length),c=c.slice(0,h);h="GET";a&&(d.isFunction(a)?(e=a,a=b):typeof a==="object"&&(a=d.param(a,d.ajaxSettings.traditional),h="POST"));var f=this;d.ajax({url:c,type:h,dataType:"html",data:a,complete:function(c,a,b){b=c.responseText;c.isResolved()&&(c.done(function(c){b=c}),f.html(g?d("<div>").append(b.replace(yb,"")).find(g):
-b));e&&f.each(e,[b,a,c])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||zb.test(this.nodeName)||vb.test(this.type))}).map(function(c,a){var b=d(this).val();return b==null?null:d.isArray(b)?d.map(b,function(c){return{name:a.name,value:c.replace(cb,"\r\n")}}):{name:a.name,value:b.replace(cb,"\r\n")}}).get()}});
-d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,a){d.fn[a]=function(c){return this.bind(a,c)}});d.each(["get","post"],function(c,a){d[a]=function(c,e,h,g){d.isFunction(e)&&(g=g||h,h=e,e=b);return d.ajax({type:a,url:c,data:e,success:h,dataType:g})}});d.extend({getScript:function(c,a){return d.get(c,b,a,"script")},getJSON:function(c,a,b){return d.get(c,a,b,"json")},ajaxSetup:function(c,a){a?d.extend(!0,c,d.ajaxSettings,a):(a=c,c=d.extend(!0,d.ajaxSettings,
-a));for(var b in{context:1,url:1})b in a?c[b]=a[b]:b in d.ajaxSettings&&(c[b]=d.ajaxSettings[b]);return c},ajaxSettings:{url:Fa,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(Ga[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":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:N(Ta),ajaxTransport:N(gb),ajax:function(c,a){function e(c,a,o,r){if(W!==2){W=2;k&&clearTimeout(k);Y=b;j=r||"";I.readyState=c?4:0;var H,Q,K;if(o){var r=h,V=I,J=r.contents,ja=r.dataTypes,x=r.responseFields,s,Z,z,t;for(Z in x)Z in o&&(V[x[Z]]=o[Z]);for(;ja[0]==="*";)ja.shift(),s===b&&(s=r.mimeType||V.getResponseHeader("content-type"));if(s)for(Z in J)if(J[Z]&&J[Z].test(s)){ja.unshift(Z);
-break}if(ja[0]in o)z=ja[0];else{for(Z in o){if(!ja[0]||r.converters[Z+" "+ja[0]]){z=Z;break}t||(t=Z)}z=z||t}z?(z!==ja[0]&&ja.unshift(z),o=o[z]):o=void 0}else o=b;if(c>=200&&c<300||c===304){if(h.ifModified){if(s=I.getResponseHeader("Last-Modified"))d.lastModified[n]=s;if(s=I.getResponseHeader("Etag"))d.etag[n]=s}if(c===304)a="notmodified",H=!0;else try{s=h;s.dataFilter&&(o=s.dataFilter(o,s.dataType));var sa=s.dataTypes;Z={};var Ea,C,A=sa.length,Ia,Ba=sa[0],v,Oa,E,Ca,R;for(Ea=1;Ea<A;Ea++){if(Ea===1)for(C in s.converters)typeof C===
-"string"&&(Z[C.toLowerCase()]=s.converters[C]);v=Ba;Ba=sa[Ea];if(Ba==="*")Ba=v;else if(v!=="*"&&v!==Ba){Oa=v+" "+Ba;E=Z[Oa]||Z["* "+Ba];if(!E)for(Ca in R=b,Z)if(Ia=Ca.split(" "),Ia[0]===v||Ia[0]==="*")if(R=Z[Ia[1]+" "+Ba]){Ca=Z[Ca];Ca===!0?E=R:R===!0&&(E=Ca);break}!E&&!R&&d.error("No conversion from "+Oa.replace(" "," to "));E!==!0&&(o=E?E(o):R(Ca(o)))}}Q=o;a="success";H=!0}catch(na){a="parsererror",K=na}}else if(K=a,!a||c)a="error",c<0&&(c=0);I.status=c;I.statusText=a;H?q.resolveWith(g,[Q,a,I]):
-q.rejectWith(g,[I,a,K]);I.statusCode(w);w=b;l&&f.trigger("ajax"+(H?"Success":"Error"),[I,h,H?Q:K]);p.resolveWith(g,[I,a]);l&&(f.trigger("ajaxComplete",[I,h]),--d.active||d.event.trigger("ajaxStop"))}}typeof c==="object"&&(a=c,c=b);var a=a||{},h=d.ajaxSetup({},a),g=h.context||h,f=g!==h&&(g.nodeType||g instanceof d)?d(g):d.event,q=d.Deferred(),p=d._Deferred(),w=h.statusCode||{},n,H={},Q={},j,K,Y,k,V,W=0,l,J,I={readyState:0,setRequestHeader:function(c,a){if(!W){var d=c.toLowerCase(),c=Q[d]=Q[d]||c;H[c]=
-a}return this},getAllResponseHeaders:function(){return W===2?j:null},getResponseHeader:function(c){var a;if(W===2){if(!K)for(K={};a=ub.exec(j);)K[a[1].toLowerCase()]=a[2];a=K[c.toLowerCase()]}return a===b?null:a},overrideMimeType:function(c){if(!W)h.mimeType=c;return this},abort:function(c){c=c||"abort";Y&&Y.abort(c);e(0,c);return this}};q.promise(I);I.success=I.done;I.error=I.fail;I.complete=p.done;I.statusCode=function(c){if(c){var a;if(W<2)for(a in c)w[a]=[w[a],c[a]];else a=c[I.status],I.then(a,
-a)}return this};h.url=((c||h.url)+"").replace(tb,"").replace(xb,Ga[1]+"//");h.dataTypes=d.trim(h.dataType||"*").toLowerCase().split(Za);if(h.crossDomain==null)V=eb.exec(h.url.toLowerCase()),h.crossDomain=!(!V||!(V[1]!=Ga[1]||V[2]!=Ga[2]||(V[3]||(V[1]==="http:"?80:443))!=(Ga[3]||(Ga[1]==="http:"?80:443))));if(h.data&&h.processData&&typeof h.data!=="string")h.data=d.param(h.data,h.traditional);t(Ta,h,a,I);if(W===2)return!1;l=h.global;h.type=h.type.toUpperCase();h.hasContent=!wb.test(h.type);l&&d.active++===
-0&&d.event.trigger("ajaxStart");if(!h.hasContent&&(h.data&&(h.url+=(db.test(h.url)?"&":"?")+h.data),n=h.url,h.cache===!1)){V=d.now();var ja=h.url.replace(Ab,"$1_="+V);h.url=ja+(ja===h.url?(db.test(h.url)?"&":"?")+"_="+V:"")}(h.data&&h.hasContent&&h.contentType!==!1||a.contentType)&&I.setRequestHeader("Content-Type",h.contentType);h.ifModified&&(n=n||h.url,d.lastModified[n]&&I.setRequestHeader("If-Modified-Since",d.lastModified[n]),d.etag[n]&&I.setRequestHeader("If-None-Match",d.etag[n]));I.setRequestHeader("Accept",
-h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", */*; q=0.01":""):h.accepts["*"]);for(J in h.headers)I.setRequestHeader(J,h.headers[J]);if(h.beforeSend&&(h.beforeSend.call(g,I,h)===!1||W===2))return I.abort(),!1;for(J in{success:1,error:1,complete:1})I[J](h[J]);if(Y=t(gb,h,a,I)){I.readyState=1;l&&f.trigger("ajaxSend",[I,h]);h.async&&h.timeout>0&&(k=setTimeout(function(){I.abort("timeout")},h.timeout));try{W=1,Y.send(H,e)}catch(x){status<2?e(-1,x):d.error(x)}}else e(-1,
-"No Transport");return I},param:function(c,a){var e=[],h=function(c,a){a=d.isFunction(a)?a():a;e[e.length]=encodeURIComponent(c)+"="+encodeURIComponent(a)};if(a===b)a=d.ajaxSettings.traditional;if(d.isArray(c)||c.jquery&&!d.isPlainObject(c))d.each(c,function(){h(this.name,this.value)});else for(var g in c)U(g,c[g],a,h);return e.join("&").replace(sb,"+")}});d.extend({active:0,lastModified:{},etag:{}});var Bb=d.now(),Sa=/(\=)\?(&|$)|\?\?/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+
-"_"+Bb++}});d.ajaxPrefilter("json jsonp",function(c,b,e){b=c.contentType==="application/x-www-form-urlencoded"&&typeof c.data==="string";if(c.dataTypes[0]==="jsonp"||c.jsonp!==!1&&(Sa.test(c.url)||b&&Sa.test(c.data))){var h,g=c.jsonpCallback=d.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,f=a[g],q=c.url,p=c.data,w="$1"+g+"$2";c.jsonp!==!1&&(q=q.replace(Sa,w),c.url===q&&(b&&(p=p.replace(Sa,w)),c.data===p&&(q+=(/\?/.test(q)?"&":"?")+c.jsonp+"="+g)));c.url=q;c.data=p;a[g]=function(c){h=
-[c]};e.always(function(){a[g]=f;if(h&&d.isFunction(f))a[g](h[0])});c.converters["script json"]=function(){h||d.error(g+" was not called");return h[0]};c.dataTypes[0]="json";return"script"}});d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(c){d.globalEval(c);return c}}});d.ajaxPrefilter("script",function(c){if(c.cache===b)c.cache=!1;if(c.crossDomain)c.type=
-"GET",c.global=!1});d.ajaxTransport("script",function(c){if(c.crossDomain){var a,d=v.head||v.getElementsByTagName("head")[0]||v.documentElement;return{send:function(e,h){a=v.createElement("script");a.async="async";if(c.scriptCharset)a.charset=c.scriptCharset;a.src=c.url;a.onload=a.onreadystatechange=function(c,e){if(e||!a.readyState||/loaded|complete/.test(a.readyState))a.onload=a.onreadystatechange=null,d&&a.parentNode&&d.removeChild(a),a=b,e||h(200,"success")};d.insertBefore(a,d.firstChild)},abort:function(){if(a)a.onload(0,
-1)}}}});var Xa=a.ActiveXObject?function(){for(var c in Ka)Ka[c](0,1)}:!1,Cb=0,Ka;d.ajaxSettings.xhr=a.ActiveXObject?function(){var c;if(!(c=!this.isLocal&&M()))a:{try{c=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(d){}c=void 0}return c}:M;(function(c){d.extend(d.support,{ajax:!!c,cors:!!c&&"withCredentials"in c})})(d.ajaxSettings.xhr());d.support.ajax&&d.ajaxTransport(function(c){if(!c.crossDomain||d.support.cors){var e;return{send:function(h,g){var f=c.xhr(),q,p;c.username?f.open(c.type,
-c.url,c.async,c.username,c.password):f.open(c.type,c.url,c.async);if(c.xhrFields)for(p in c.xhrFields)f[p]=c.xhrFields[p];c.mimeType&&f.overrideMimeType&&f.overrideMimeType(c.mimeType);!c.crossDomain&&!h["X-Requested-With"]&&(h["X-Requested-With"]="XMLHttpRequest");try{for(p in h)f.setRequestHeader(p,h[p])}catch(w){}f.send(c.hasContent&&c.data||null);e=function(a,h){var p,w,n,r,H;try{if(e&&(h||f.readyState===4)){e=b;if(q)f.onreadystatechange=d.noop,Xa&&delete Ka[q];if(h)f.readyState!==4&&f.abort();
-else{p=f.status;n=f.getAllResponseHeaders();r={};if((H=f.responseXML)&&H.documentElement)r.xml=H;r.text=f.responseText;try{w=f.statusText}catch(Q){w=""}!p&&c.isLocal&&!c.crossDomain?p=r.text?200:404:p===1223&&(p=204)}}}catch(j){h||g(-1,j)}r&&g(p,w,r,n)};!c.async||f.readyState===4?e():(q=++Cb,Xa&&(Ka||(Ka={},d(a).unload(Xa)),Ka[q]=e),f.onreadystatechange=e)},abort:function(){e&&e(0,1)}}}});var Ua={},Aa,Ma,Db=/^(?:toggle|show|hide)$/,Eb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,La,$a=[["height","marginTop",
-"marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Pa,Ya=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;d.fn.extend({show:function(c,a,b){if(c||c===0)return this.animate(ha("show",3),c,a,b);else{for(var b=0,e=this.length;b<e;b++)if(c=this[b],c.style){a=c.style.display;if(!d._data(c,"olddisplay")&&a==="none")a=c.style.display="";a===""&&d.css(c,"display")==="none"&&d._data(c,"olddisplay",qa(c.nodeName))}for(b=
-0;b<e;b++)if(c=this[b],c.style&&(a=c.style.display,a===""||a==="none"))c.style.display=d._data(c,"olddisplay")||"";return this}},hide:function(a,b,e){if(a||a===0)return this.animate(ha("hide",3),a,b,e);else{a=0;for(b=this.length;a<b;a++)this[a].style&&(e=d.css(this[a],"display"),e!=="none"&&!d._data(this[a],"olddisplay")&&d._data(this[a],"olddisplay",e));for(a=0;a<b;a++)if(this[a].style)this[a].style.display="none";return this}},_toggle:d.fn.toggle,toggle:function(a,b,e){var h=typeof a==="boolean";
-d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||h?this.each(function(){var b=h?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(ha("toggle",3),a,b,e);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,e,h){var g=d.speed(b,e,h);if(d.isEmptyObject(a))return this.each(g.complete,[!1]);a=d.extend({},a);return this[g.queue===!1?"each":"queue"](function(){var c;g.queue===
-!1&&d._mark(this);var b=d.extend({},g),e=this.nodeType===1,h=e&&d(this).is(":hidden"),f,o,q,p,w;b.animatedProperties={};for(q in a){f=d.camelCase(q);q!==f&&(a[f]=a[q],delete a[q]);o=a[f];d.isArray(o)?(b.animatedProperties[f]=o[1],c=a[f]=o[0],o=c):b.animatedProperties[f]=b.specialEasing&&b.specialEasing[f]||b.easing||"swing";if(o==="hide"&&h||o==="show"&&!h)return b.complete.call(this);if(e&&(f==="height"||f==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],d.css(this,
-"display")==="inline"&&d.css(this,"float")==="none")d.support.inlineBlockNeedsLayout?(o=qa(this.nodeName),o==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}if(b.overflow!=null)this.style.overflow="hidden";for(q in a)if(e=new d.fx(this,b,q),o=a[q],Db.test(o))e[o==="toggle"?h?"show":"hide":o]();else f=Eb.exec(o),p=e.cur(),f?(o=parseFloat(f[2]),w=f[3]||(d.cssNumber[q]?"":"px"),w!=="px"&&(d.style(this,q,(o||1)+w),p*=(o||1)/
-e.cur(),d.style(this,q,p+w)),f[1]&&(o=(f[1]==="-="?-1:1)*o+p),e.custom(p,o,w)):e.custom(p,o,"");return!0})},stop:function(a,b){a&&this.queue([]);this.each(function(){var a=d.timers,c=a.length;for(b||d._unmark(!0,this);c--;)if(a[c].elem===this){if(b)a[c](!0);a.splice(c,1)}});b||this.dequeue();return this}});d.each({slideDown:ha("show",1),slideUp:ha("hide",1),slideToggle:ha("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,
-d){return this.animate(b,a,c,d)}});d.extend({speed:function(a,b,e){var h=a&&typeof a==="object"?d.extend({},a):{complete:e||!e&&b||d.isFunction(a)&&a,duration:a,easing:e&&b||b&&!d.isFunction(b)&&b};h.duration=d.fx.off?0:typeof h.duration==="number"?h.duration:h.duration in d.fx.speeds?d.fx.speeds[h.duration]:d.fx.speeds._default;h.old=h.complete;h.complete=function(a){h.queue!==!1?d.dequeue(this):a!==!1&&d._unmark(this);d.isFunction(h.old)&&h.old.call(this)};return h},easing:{linear:function(a,b,
-d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=
-parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,e){function h(a){return g.step(a)}var g=this,f=d.fx,q;this.startTime=Pa||ga();this.start=a;this.end=b;this.unit=e||this.unit||(d.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;h.elem=this.elem;h()&&d.timers.push(h)&&!La&&(Ya?(La=1,q=function(){La&&(Ya(q),f.tick())},Ya(q)):La=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop===
-"width"||this.prop==="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=Pa||ga(),e=!0,h=this.elem,g=this.options,f;if(a||b>=g.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();g.animatedProperties[this.prop]=!0;for(f in g.animatedProperties)g.animatedProperties[f]!==!0&&(e=!1);if(e){g.overflow!=null&&!d.support.shrinkWrapBlocks&&d.each(["",
-"X","Y"],function(a,c){h.style["overflow"+c]=g.overflow[a]});g.hide&&d(h).hide();if(g.hide||g.show)for(var q in g.animatedProperties)d.style(h,q,g.orig[q]);g.complete.call(h)}return!1}else g.duration==Infinity?this.now=b:(a=b-this.startTime,this.state=a/g.duration,this.pos=d.easing[g.animatedProperties[this.prop]](this.state,a,0,1,g.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};d.extend(d.fx,{tick:function(){for(var a=d.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,
-1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(La);La=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(d.expr&&d.expr.filters)d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length};var Fb=/^t(?:able|d|h)$/i,
-hb=/^(?:body|html)$/i;d.fn.offset="getBoundingClientRect"in v.documentElement?function(a){var b=this[0],e;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{e=b.getBoundingClientRect()}catch(h){}var g=b.ownerDocument,f=g.documentElement;if(!e||!d.contains(f,b))return e?{top:e.top,left:e.left}:{top:0,left:0};b=g.body;g=va(g);return{top:e.top+(g.pageYOffset||d.support.boxModel&&f.scrollTop||
-b.scrollTop)-(f.clientTop||b.clientTop||0),left:e.left+(g.pageXOffset||d.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var e,h=b.offsetParent,g=b.ownerDocument,f=g.documentElement,q=g.body;e=(g=g.defaultView)?g.getComputedStyle(b,null):b.currentStyle;for(var p=
-b.offsetTop,w=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==f;){if(d.offset.supportsFixedPosition&&e.position==="fixed")break;e=g?g.getComputedStyle(b,null):b.currentStyle;p-=b.scrollTop;w-=b.scrollLeft;if(b===h){p+=b.offsetTop;w+=b.offsetLeft;if(d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!Fb.test(b.nodeName)))p+=parseFloat(e.borderTopWidth)||0,w+=parseFloat(e.borderLeftWidth)||0;h=b.offsetParent}d.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"&&(p+=parseFloat(e.borderTopWidth)||
-0,w+=parseFloat(e.borderLeftWidth)||0)}if(e.position==="relative"||e.position==="static")p+=q.offsetTop,w+=q.offsetLeft;d.offset.supportsFixedPosition&&e.position==="fixed"&&(p+=Math.max(f.scrollTop,q.scrollTop),w+=Math.max(f.scrollLeft,q.scrollLeft));return{top:p,left:w}};d.offset={initialize:function(){var a=v.body,b=v.createElement("div"),e,h,g,f=parseFloat(d.css(a,"marginTop"))||0;d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});
-b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);e=b.firstChild;h=e.firstChild;g=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=h.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;h.style.position=
-"fixed";h.style.top="20px";this.supportsFixedPosition=h.offsetTop===20||h.offsetTop===15;h.style.position=h.style.top="";e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=h.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==f;a.removeChild(b);d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,e+=parseFloat(d.css(a,
-"marginLeft"))||0);return{top:b,left:e}},setOffset:function(a,b,e){var h=d.css(a,"position");if(h==="static")a.style.position="relative";var g=d(a),f=g.offset(),q=d.css(a,"top"),p=d.css(a,"left"),w={},n={};(h==="absolute"||h==="fixed")&&d.inArray("auto",[q,p])>-1?(n=g.position(),h=n.top,p=n.left):(h=parseFloat(q)||0,p=parseFloat(p)||0);d.isFunction(b)&&(b=b.call(a,e,f));if(b.top!=null)w.top=b.top-f.top+h;if(b.left!=null)w.left=b.left-f.left+p;"using"in b?b.using.call(a,w):g.css(w)}};d.fn.extend({position:function(){if(!this[0])return null;
-var a=this[0],b=this.offsetParent(),e=this.offset(),h=hb.test(b[0].nodeName)?{top:0,left:0}:b.offset();e.top-=parseFloat(d.css(a,"marginTop"))||0;e.left-=parseFloat(d.css(a,"marginLeft"))||0;h.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0;h.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:e.top-h.top,left:e.left-h.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||v.body;a&&!hb.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});
-d.each(["Left","Top"],function(a,e){var h="scroll"+e;d.fn[h]=function(e){var g,f;if(e===b){g=this[0];if(!g)return null;return(f=va(g))?"pageXOffset"in f?f[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&f.document.documentElement[h]||f.document.body[h]:g[h]}return this.each(function(){(f=va(this))?f.scrollTo(!a?e:d(f).scrollLeft(),a?e:d(f).scrollTop()):this[h]=e})}});d.each(["Height","Width"],function(a,e){var h=e.toLowerCase();d.fn["inner"+e]=function(){return this[0]?parseFloat(d.css(this[0],
-h,"padding")):null};d.fn["outer"+e]=function(a){return this[0]?parseFloat(d.css(this[0],h,a?"margin":"border")):null};d.fn[h]=function(a){var c=this[0];if(!c)return a==null?null:this;if(d.isFunction(a))return this.each(function(c){var b=d(this);b[h](a.call(this,c,b[h]()))});if(d.isWindow(c)){var g=c.document.documentElement["client"+e];return c.document.compatMode==="CSS1Compat"&&g||c.document.body["client"+e]||g}else return c.nodeType===9?Math.max(c.documentElement["client"+e],c.body["scroll"+e],
-c.documentElement["scroll"+e],c.body["offset"+e],c.documentElement["offset"+e]):a===b?(c=d.css(c,h),g=parseFloat(c),d.isNaN(g)?c:g):this.css(h,typeof a==="string"?a:a+"px")}});a.jQuery=a.$=d})(window);
-// Input 3
-document.createElement("canvas").getContext||function(){function a(){return this.context_||(this.context_=new s(this))}function b(a,b){var e=d.call(arguments,2);return function(){return a.apply(b,e.concat(d.call(arguments)))}}function e(a){return String(a).replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function f(a){a.namespaces.g_vml_||a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML");a.namespaces.g_o_||a.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML");
-if(!a.styleSheets.ex_canvas_)a=a.createStyleSheet(),a.owningElement.id="ex_canvas_",a.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}function j(a){var b=a.srcElement;switch(a.propertyName){case "width":b.getContext().clearRect();b.style.width=b.attributes.width.nodeValue+"px";b.firstChild.style.width=b.clientWidth+"px";break;case "height":b.getContext().clearRect(),b.style.height=b.attributes.height.nodeValue+"px",b.firstChild.style.height=b.clientHeight+
-"px"}}function l(a){a=a.srcElement;if(a.firstChild)a.firstChild.style.width=a.clientWidth+"px",a.firstChild.style.height=a.clientHeight+"px"}function k(){return[[1,0,0],[0,1,0],[0,0,1]]}function A(a,b){for(var d=k(),e=0;e<3;e++)for(var f=0;f<3;f++){for(var j=0,l=0;l<3;l++)j+=a[e][l]*b[l][f];d[e][f]=j}return d}function G(a,b){b.fillStyle=a.fillStyle;b.lineCap=a.lineCap;b.lineJoin=a.lineJoin;b.lineWidth=a.lineWidth;b.miterLimit=a.miterLimit;b.shadowBlur=a.shadowBlur;b.shadowColor=a.shadowColor;b.shadowOffsetX=
-a.shadowOffsetX;b.shadowOffsetY=a.shadowOffsetY;b.strokeStyle=a.strokeStyle;b.globalAlpha=a.globalAlpha;b.font=a.font;b.textAlign=a.textAlign;b.textBaseline=a.textBaseline;b.arcScaleX_=a.arcScaleX_;b.arcScaleY_=a.arcScaleY_;b.lineScale_=a.lineScale_}function D(a){var b=a.indexOf("(",3),d=a.indexOf(")",b+1),b=a.substring(b+1,d).split(",");if(b.length!=4||a.charAt(3)!="a")b[3]=1;return b}function L(a,b,d){return Math.min(d,Math.max(b,a))}function B(a,b,d){d<0&&d++;d>1&&d--;return 6*d<1?a+(b-a)*6*d:
-2*d<1?b:3*d<2?a+(b-a)*(2/3-d)*6:a}function z(a){if(a in ca)return ca[a];var b,d=1,a=String(a);if(a.charAt(0)=="#")b=a;else if(/^rgb/.test(a)){d=D(a);b="#";for(var e,f=0;f<3;f++)e=d[f].indexOf("%")!=-1?Math.floor(parseFloat(d[f])/100*255):+d[f],b+=ba[L(e,0,255)];d=+d[3]}else if(/^hsl/.test(a)){f=d=D(a);b=parseFloat(f[0])/360%360;b<0&&b++;e=L(parseFloat(f[1])/100,0,1);f=L(parseFloat(f[2])/100,0,1);if(e==0)e=f=b=f;else{var j=f<0.5?f*(1+e):f+e-f*e,k=2*f-j;e=B(k,j,b+1/3);f=B(k,j,b);b=B(k,j,b-1/3)}b="#"+
-ba[Math.floor(e*255)]+ba[Math.floor(f*255)]+ba[Math.floor(b*255)];d=d[3]}else b=ka[a]||a;return ca[a]={color:b,alpha:d}}function s(a){this.m_=k();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=S*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=a;var b="width:"+a.clientWidth+"px;height:"+a.clientHeight+"px;overflow:hidden;position:absolute",
-d=a.ownerDocument.createElement("div");d.style.cssText=b;a.appendChild(d);b=d.cloneNode(!1);b.style.backgroundColor="red";b.style.filter="alpha(opacity=0)";a.appendChild(b);this.element_=d;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function C(a,b,d,e){a.currentPath_.push({type:"bezierCurveTo",cp1x:b.x,cp1y:b.y,cp2x:d.x,cp2y:d.y,x:e.x,y:e.y});a.currentX_=e.x;a.currentY_=e.y}function fa(a,b){var d=z(a.strokeStyle),e=d.color,d=d.alpha*a.globalAlpha,f=a.lineScale_*a.lineWidth;f<1&&(d*=f);b.push("<g_vml_:stroke",
-' opacity="',d,'"',' joinstyle="',a.lineJoin,'"',' miterlimit="',a.miterLimit,'"',' endcap="',$[a.lineCap]||"square",'"',' weight="',f,'px"',' color="',e,'" />')}function R(a,b,d,e){var f=a.fillStyle,j=a.arcScaleX_,k=a.arcScaleY_,l=e.x-d.x,s=e.y-d.y;if(f instanceof t){var C=0,e={x:0,y:0},A=0,v=1;if(f.type_=="gradient"){var C=f.x1_/j,d=f.y1_/k,E=P(a,f.x0_/j,f.y0_/k),C=P(a,C,d),C=Math.atan2(C.x-E.x,C.y-E.y)*180/Math.PI;C<0&&(C+=360);C<1.0E-6&&(C=0)}else E=P(a,f.x0_,f.y0_),e={x:(E.x-d.x)/l,y:(E.y-d.y)/
-s},l/=j*S,s/=k*S,v=ga.max(l,s),A=2*f.r0_/v,v=2*f.r1_/v-A;j=f.colors_;j.sort(function(a,b){return a.offset-b.offset});for(var k=j.length,E=j[0].color,d=j[k-1].color,l=j[0].alpha*a.globalAlpha,a=j[k-1].alpha*a.globalAlpha,s=[],R=0;R<k;R++){var $=j[R];s.push($.offset*v+A+" "+$.color)}b.push('<g_vml_:fill type="',f.type_,'"',' method="none" focus="100%"',' color="',E,'"',' color2="',d,'"',' colors="',s.join(","),'"',' opacity="',a,'"',' g_o_:opacity2="',l,'"',' angle="',C,'"',' focusposition="',e.x,",",
-e.y,'" />')}else f instanceof U?l&&s&&b.push("<g_vml_:fill",' position="',-d.x/l*j*j,",",-d.y/s*k*k,'"',' type="tile"',' src="',f.src_,'" />'):(f=z(a.fillStyle),b.push('<g_vml_:fill color="',f.color,'" opacity="',f.alpha*a.globalAlpha,'" />'))}function P(a,b,d){a=a.m_;return{x:S*(b*a[0][0]+d*a[1][0]+a[2][0])-X,y:S*(b*a[0][1]+d*a[1][1]+a[2][1])-X}}function N(a,b,d){if(isFinite(b[0][0])&&isFinite(b[0][1])&&isFinite(b[1][0])&&isFinite(b[1][1])&&isFinite(b[2][0])&&isFinite(b[2][1])&&(a.m_=b,d))a.lineScale_=
-v(va(b[0][0]*b[1][1]-b[0][1]*b[1][0]))}function t(a){this.type_=a;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function U(a,b){if(!a||a.nodeType!=1||a.tagName!="IMG")throw new M("TYPE_MISMATCH_ERR");if(a.readyState!="complete")throw new M("INVALID_STATE_ERR");switch(b){case "repeat":case null:case "":this.repetition_="repeat";break;case "repeat-x":case "repeat-y":case "no-repeat":this.repetition_=b;break;default:throw new M("SYNTAX_ERR");}this.src_=a.src;this.width_=a.width;
-this.height_=a.height}function M(a){this.code=this[a];this.message=a+": DOM Exception "+this.code}var ga=Math,O=ga.round,ha=ga.sin,qa=ga.cos,va=ga.abs,v=ga.sqrt,S=10,X=S/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var d=Array.prototype.slice;f(document);var aa={init:function(a){a=a||document;a.createElement("canvas");a.attachEvent("onreadystatechange",b(this.init_,this,a))},init_:function(a){for(var a=a.getElementsByTagName("canvas"),b=0;b<a.length;b++)this.initElement(a[b])},initElement:function(b){if(!b.getContext){b.getContext=
-a;f(b.ownerDocument);b.innerHTML="";b.attachEvent("onpropertychange",j);b.attachEvent("onresize",l);var d=b.attributes;d.width&&d.width.specified?b.style.width=d.width.nodeValue+"px":b.width=b.clientWidth;d.height&&d.height.specified?b.style.height=d.height.nodeValue+"px":b.height=b.clientHeight}return b}};aa.init();for(var ba=[],F=0;F<16;F++)for(var oa=0;oa<16;oa++)ba[F*16+oa]=F.toString(16)+oa.toString(16);var ka={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",
+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,"&amp;").replace(/"/g,"&quot;")}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("<g_vml_:stroke",
+' opacity="',z,'"',' joinstyle="',b.lineJoin,'"',' miterlimit="',b.miterLimit,'"',' endcap="',Ja[b.lineCap]||"square",'"',' weight="',l,'px"',' color="',g,'" />')}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<p;Q++){var F=n[Q];w.push(F.offset*A+y+" "+F.color)}d.push('<g_vml_:fill type="',l.type_,'"',' method="none" focus="100%"',' color="',E,'"',' color2="',z,'"',' colors="',w.join(","),'"',' opacity="',b,'"',' g_o_:opacity2="',r,'"',' angle="',t,'"',' focusposition="',g.x,",",
+g.y,'" />')}else l instanceof X?r&&w&&d.push("<g_vml_:fill",' position="',-z.x/r*n*n,",",-z.y/w*p*p,'"',' type="tile"',' src="',l.src_,'" />'):(l=q(b.fillStyle),d.push('<g_vml_:fill color="',l.color,'" opacity="',l.alpha*b.globalAlpha,'" />'))}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_=
+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<b.length;d++)this.initElement(b[d])},initElement:function(b){if(!b.getContext){b.getContext=
+d;p(b.ownerDocument);b.innerHTML="";b.attachEvent("onpropertychange",C);b.attachEvent("onresize",B);var u=b.attributes;u.width&&u.width.specified?b.style.width=u.width.nodeValue+"px":b.width=b.clientWidth;u.height&&u.height.specified?b.style.height=u.height.nodeValue+"px":b.height=b.clientHeight}return b}};aa.init();for(var ba=[],D=0;D<16;D++)for(var oa=0;oa<16;oa++)ba[D*16+oa]=D.toString(16)+oa.toString(16);var ja={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",
bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",
darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",
ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",
mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",
peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"},
-ca={},ra={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},wa={},$={butt:"flat",round:"round"},F=s.prototype;F.clearRect=function(){if(this.textMeasureEl_)this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null;this.element_.innerHTML=""};F.beginPath=function(){this.currentPath_=[]};F.moveTo=function(a,b){var d=P(this,a,b);this.currentPath_.push({type:"moveTo",x:d.x,y:d.y});this.currentX_=d.x;this.currentY_=d.y};F.lineTo=function(a,b){var d=P(this,a,b);this.currentPath_.push({type:"lineTo",
-x:d.x,y:d.y});this.currentX_=d.x;this.currentY_=d.y};F.bezierCurveTo=function(a,b,d,e,f,j){f=P(this,f,j);a=P(this,a,b);d=P(this,d,e);C(this,a,d,f)};F.quadraticCurveTo=function(a,b,d,e){a=P(this,a,b);d=P(this,d,e);e={x:this.currentX_+2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)};C(this,e,{x:e.x+(d.x-this.currentX_)/3,y:e.y+(d.y-this.currentY_)/3},d)};F.arc=function(a,b,d,e,f,j){d*=S;var k=j?"at":"wa",l=a+qa(e)*d-X,s=b+ha(e)*d-X,e=a+qa(f)*d-X,f=b+ha(f)*d-X;l==e&&!j&&(l+=0.125);
-a=P(this,a,b);l=P(this,l,s);e=P(this,e,f);this.currentPath_.push({type:k,x:a.x,y:a.y,radius:d,xStart:l.x,yStart:l.y,xEnd:e.x,yEnd:e.y})};F.rect=function(a,b,d,e){this.moveTo(a,b);this.lineTo(a+d,b);this.lineTo(a+d,b+e);this.lineTo(a,b+e);this.closePath()};F.strokeRect=function(a,b,d,e){var f=this.currentPath_;this.beginPath();this.moveTo(a,b);this.lineTo(a+d,b);this.lineTo(a+d,b+e);this.lineTo(a,b+e);this.closePath();this.stroke();this.currentPath_=f};F.fillRect=function(a,b,d,e){var f=this.currentPath_;
-this.beginPath();this.moveTo(a,b);this.lineTo(a+d,b);this.lineTo(a+d,b+e);this.lineTo(a,b+e);this.closePath();this.fill();this.currentPath_=f};F.createLinearGradient=function(a,b,d,e){var f=new t("gradient");f.x0_=a;f.y0_=b;f.x1_=d;f.y1_=e;return f};F.createRadialGradient=function(a,b,d,e,f,j){var k=new t("gradientradial");k.x0_=a;k.y0_=b;k.r0_=d;k.x1_=e;k.y1_=f;k.r1_=j;return k};F.drawImage=function(a){var b,d,e,f,j,k,l,s;e=a.runtimeStyle.width;f=a.runtimeStyle.height;a.runtimeStyle.width="auto";
-a.runtimeStyle.height="auto";var z=a.width,C=a.height;a.runtimeStyle.width=e;a.runtimeStyle.height=f;if(arguments.length==3)b=arguments[1],d=arguments[2],j=k=0,l=e=z,s=f=C;else if(arguments.length==5)b=arguments[1],d=arguments[2],e=arguments[3],f=arguments[4],j=k=0,l=z,s=C;else if(arguments.length==9)j=arguments[1],k=arguments[2],l=arguments[3],s=arguments[4],b=arguments[5],d=arguments[6],e=arguments[7],f=arguments[8];else throw Error("Invalid number of arguments");var t=P(this,b,d),A=[];A.push(" <g_vml_:group",
-' coordsize="',S*10,",",S*10,'"',' coordorigin="0,0"',' style="width:',10,"px;height:",10,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var v=[];v.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",O(t.x/S),",","Dy=",O(t.y/S),"");var R=P(this,b+e,d),$=P(this,b,d+f);b=P(this,b+e,d+f);t.x=ga.max(t.x,R.x,$.x,b.x);t.y=ga.max(t.y,R.y,$.y,b.y);A.push("padding:0 ",O(t.x/S),"px ",O(t.y/S),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",
-v.join(""),", sizingmethod='clip');")}else A.push("top:",O(t.y/S),"px;left:",O(t.x/S),"px;");A.push(' ">','<g_vml_:image src="',a.src,'"',' style="width:',S*e,"px;"," height:",S*f,'px"',' cropleft="',j/z,'"',' croptop="',k/C,'"',' cropright="',(z-j-l)/z,'"',' cropbottom="',(C-k-s)/C,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",A.join(""))};F.stroke=function(a){for(var b={x:null,y:null},d={x:null,y:null},e=0;e<this.currentPath_.length;e+=5E3){var f=[];f.push("<g_vml_:shape",
-' filled="',!!a,'"',' style="position:absolute;width:',10,"px;height:",10,'px;"',' coordorigin="0,0"',' coordsize="',S*10,",",S*10,'"',' stroked="',!a,'"',' path="');for(var j=e;j<Math.min(e+5E3,this.currentPath_.length);j++){j%5E3==0&&j>0&&f.push(" m ",O(this.currentPath_[j-1].x),",",O(this.currentPath_[j-1].y));var k=this.currentPath_[j];switch(k.type){case "moveTo":f.push(" m ",O(k.x),",",O(k.y));break;case "lineTo":f.push(" l ",O(k.x),",",O(k.y));break;case "close":f.push(" x ");k=null;break;
-case "bezierCurveTo":f.push(" c ",O(k.cp1x),",",O(k.cp1y),",",O(k.cp2x),",",O(k.cp2y),",",O(k.x),",",O(k.y));break;case "at":case "wa":f.push(" ",k.type," ",O(k.x-this.arcScaleX_*k.radius),",",O(k.y-this.arcScaleY_*k.radius)," ",O(k.x+this.arcScaleX_*k.radius),",",O(k.y+this.arcScaleY_*k.radius)," ",O(k.xStart),",",O(k.yStart)," ",O(k.xEnd),",",O(k.yEnd))}if(k){if(b.x==null||k.x<b.x)b.x=k.x;if(d.x==null||k.x>d.x)d.x=k.x;if(b.y==null||k.y<b.y)b.y=k.y;if(d.y==null||k.y>d.y)d.y=k.y}}f.push(' ">');a?
-R(this,f,b,d):fa(this,f);f.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",f.join(""))}};F.fill=function(){this.stroke(!0)};F.closePath=function(){this.currentPath_.push({type:"close"})};F.save=function(){var a={};G(this,a);this.aStack_.push(a);this.mStack_.push(this.m_);this.m_=A(k(),this.m_)};F.restore=function(){if(this.aStack_.length)G(this.aStack_.pop(),this),this.m_=this.mStack_.pop()};F.translate=function(a,b){N(this,A([[1,0,0],[0,1,0],[a,b,1]],this.m_),!1)};F.rotate=function(a){var b=
-qa(a),a=ha(a);N(this,A([[b,a,0],[-a,b,0],[0,0,1]],this.m_),!1)};F.scale=function(a,b){this.arcScaleX_*=a;this.arcScaleY_*=b;N(this,A([[a,0,0],[0,b,0],[0,0,1]],this.m_),!0)};F.transform=function(a,b,d,e,f,j){N(this,A([[a,b,0],[d,e,0],[f,j,1]],this.m_),!0)};F.setTransform=function(a,b,d,e,f,j){N(this,[[a,b,0],[d,e,0],[f,j,1]],!0)};F.drawText_=function(a,b,d,f,j){var k=this.m_,f=0,l=1E3,s={x:0,y:0},z=[],C;C=this.font;if(wa[C])C=wa[C];else{var t=document.createElement("div").style;try{t.font=C}catch(A){}C=
-wa[C]={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=C,v=this.element_;C={};for(var $ in t)C[$]=t[$];$=parseFloat(v.currentStyle.fontSize);v=parseFloat(t.size);C.size=typeof t.size=="number"?t.size:t.size.indexOf("px")!=-1?v:t.size.indexOf("em")!=-1?$*v:t.size.indexOf("%")!=-1?$/100*v:t.size.indexOf("pt")!=-1?v/0.75:$;C.size*=0.981;$=C.style+" "+C.variant+" "+C.weight+" "+C.size+"px "+C.family;
-v=this.element_.currentStyle;t=this.textAlign.toLowerCase();switch(t){case "left":case "center":case "right":break;case "end":t=v.direction=="ltr"?"right":"left";break;case "start":t=v.direction=="rtl"?"right":"left";break;default:t="left"}switch(this.textBaseline){case "hanging":case "top":s.y=C.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":s.y=-C.size/2.25}switch(t){case "right":f=1E3;l=0.05;break;case "center":f=l=500}b=P(this,b+s.x,d+
-s.y);z.push('<g_vml_:line from="',-f,' 0" to="',l,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!j,'" stroked="',!!j,'" style="position:absolute;width:1px;height:1px;">');j?fa(this,z):R(this,z,{x:-f,y:0},{x:l,y:C.size});j=k[0][0].toFixed(3)+","+k[1][0].toFixed(3)+","+k[0][1].toFixed(3)+","+k[1][1].toFixed(3)+",0,0";b=O(b.x/S)+","+O(b.y/S);z.push('<g_vml_:skew on="t" matrix="',j,'" ',' offset="',b,'" origin="',f,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',
-e(a),'" style="v-text-align:',t,";font:",e($),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",z.join(""))};F.fillText=function(a,b,d,e){this.drawText_(a,b,d,e,!1)};F.strokeText=function(a,b,d,e){this.drawText_(a,b,d,e,!0)};F.measureText=function(a){if(!this.textMeasureEl_)this.element_.insertAdjacentHTML("beforeEnd",'<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>'),this.textMeasureEl_=this.element_.lastChild;var b=this.element_.ownerDocument;
-this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(b.createTextNode(a));return{width:this.textMeasureEl_.offsetWidth}};F.clip=function(){};F.arcTo=function(){};F.createPattern=function(a,b){return new U(a,b)};t.prototype.addColorStop=function(a,b){b=z(b);this.colors_.push({offset:a,color:b.color,alpha:b.alpha})};F=M.prototype=Error();F.INDEX_SIZE_ERR=1;F.DOMSTRING_SIZE_ERR=2;F.HIERARCHY_REQUEST_ERR=3;F.WRONG_DOCUMENT_ERR=4;F.INVALID_CHARACTER_ERR=
-5;F.NO_DATA_ALLOWED_ERR=6;F.NO_MODIFICATION_ALLOWED_ERR=7;F.NOT_FOUND_ERR=8;F.NOT_SUPPORTED_ERR=9;F.INUSE_ATTRIBUTE_ERR=10;F.INVALID_STATE_ERR=11;F.SYNTAX_ERR=12;F.INVALID_MODIFICATION_ERR=13;F.NAMESPACE_ERR=14;F.INVALID_ACCESS_ERR=15;F.VALIDATION_ERR=16;F.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=aa;CanvasRenderingContext2D=s;CanvasGradient=t;CanvasPattern=U;DOMException=M}();
-// Input 4
-(function(a){a.color={};a.color.make=function(b,f,j,l){var k={};k.r=b||0;k.g=f||0;k.b=j||0;k.a=l!=null?l:1;k.add=function(a,b){for(var e=0;e<a.length;++e)k[a.charAt(e)]+=b;return k.normalize()};k.scale=function(a,b){for(var e=0;e<a.length;++e)k[a.charAt(e)]*=b;return k.normalize()};k.toString=function(){return k.a>=1?"rgb("+[k.r,k.g,k.b].join(",")+")":"rgba("+[k.r,k.g,k.b,k.a].join(",")+")"};k.normalize=function(){function a(b,e,f){return e<b?b:e>f?f:e}k.r=a(0,parseInt(k.r),255);k.g=a(0,parseInt(k.g),
-255);k.b=a(0,parseInt(k.b),255);k.a=a(0,k.a,1);return k};k.clone=function(){return a.color.make(k.r,k.b,k.g,k.a)};return k.normalize()};a.color.extract=function(b,f){var j;do{j=b.css(f).toLowerCase();if(j!=""&&j!="transparent")break;b=b.parent()}while(!a.nodeName(b.get(0),"body"));j=="rgba(0, 0, 0, 0)"&&(j="transparent");return a.color.parse(j)};a.color.parse=function(e){var f,j=a.color.make;if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))return j(parseInt(f[1],10),
-parseInt(f[2],10),parseInt(f[3],10));if(f=/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(e))return j(parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10),parseFloat(f[4]));if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e))return j(parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55);if(f=/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(e))return j(parseFloat(f[1])*
-2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55,parseFloat(f[4]));if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))return j(parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16));if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e))return j(parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16));e=a.trim(e).toLowerCase();return e=="transparent"?j(255,255,255,0):(f=b[e]||[0,0,0],j(f[0],f[1],f[2]))};var b={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
+ca={},ra={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},wa={},Ja={butt:"flat",round:"round"},D=n.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 g=R(this,b,d);this.currentPath_.push({type:"moveTo",x:g.x,y:g.y});this.currentX_=g.x;this.currentY_=g.y};D.lineTo=function(b,d){var g=R(this,b,d);this.currentPath_.push({type:"lineTo",
+x:g.x,y:g.y});this.currentX_=g.x;this.currentY_=g.y};D.bezierCurveTo=function(b,d,g,n,l,q){l=R(this,l,q);b=R(this,b,d);g=R(this,g,n);t(this,b,g,l)};D.quadraticCurveTo=function(b,d,g,n){b=R(this,b,d);g=R(this,g,n);n={x:this.currentX_+2/3*(b.x-this.currentX_),y:this.currentY_+2/3*(b.y-this.currentY_)};t(this,n,{x:n.x+(g.x-this.currentX_)/3,y:n.y+(g.y-this.currentY_)/3},g)};D.arc=function(b,d,g,n,l,q){g*=T;var p=q?"at":"wa",x=b+qa(n)*g-Z,w=d+ha(n)*g-Z,n=b+qa(l)*g-Z,l=d+ha(l)*g-Z;x==n&&!q&&(x+=0.125);
+b=R(this,b,d);x=R(this,x,w);n=R(this,n,l);this.currentPath_.push({type:p,x:b.x,y:b.y,radius:g,xStart:x.x,yStart:x.y,xEnd:n.x,yEnd:n.y})};D.rect=function(b,d,g,n){this.moveTo(b,d);this.lineTo(b+g,d);this.lineTo(b+g,d+n);this.lineTo(b,d+n);this.closePath()};D.strokeRect=function(b,d,g,n){var l=this.currentPath_;this.beginPath();this.moveTo(b,d);this.lineTo(b+g,d);this.lineTo(b+g,d+n);this.lineTo(b,d+n);this.closePath();this.stroke();this.currentPath_=l};D.fillRect=function(b,d,g,n){var l=this.currentPath_;
+this.beginPath();this.moveTo(b,d);this.lineTo(b+g,d);this.lineTo(b+g,d+n);this.lineTo(b,d+n);this.closePath();this.fill();this.currentPath_=l};D.createLinearGradient=function(b,d,g,n){var l=new x("gradient");l.x0_=b;l.y0_=d;l.x1_=g;l.y1_=n;return l};D.createRadialGradient=function(b,d,g,n,l,q){var p=new x("gradientradial");p.x0_=b;p.y0_=d;p.r0_=g;p.x1_=n;p.y1_=l;p.r1_=q;return p};D.drawImage=function(b){var d,g,n,l,q,p,x,w;n=b.runtimeStyle.width;l=b.runtimeStyle.height;b.runtimeStyle.width="auto";
+b.runtimeStyle.height="auto";var r=b.width,t=b.height;b.runtimeStyle.width=n;b.runtimeStyle.height=l;if(arguments.length==3)d=arguments[1],g=arguments[2],q=p=0,x=n=r,w=l=t;else if(arguments.length==5)d=arguments[1],g=arguments[2],n=arguments[3],l=arguments[4],q=p=0,x=r,w=t;else if(arguments.length==9)q=arguments[1],p=arguments[2],x=arguments[3],w=arguments[4],d=arguments[5],g=arguments[6],n=arguments[7],l=arguments[8];else throw Error("Invalid number of arguments");var A=R(this,d,g),y=[];y.push(" <g_vml_:group",
+' coordsize="',T*10,",",T*10,'"',' coordorigin="0,0"',' style="width:',10,"px;height:",10,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var Q=[];Q.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",O(A.x/T),",","Dy=",O(A.y/T),"");var F=R(this,d+n,g),C=R(this,d,g+l);d=R(this,d+n,g+l);A.x=ga.max(A.x,F.x,C.x,d.x);A.y=ga.max(A.y,F.y,C.y,d.y);y.push("padding:0 ",O(A.x/T),"px ",O(A.y/T),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",
+Q.join(""),", sizingmethod='clip');")}else y.push("top:",O(A.y/T),"px;left:",O(A.x/T),"px;");y.push(' ">','<g_vml_:image src="',b.src,'"',' style="width:',T*n,"px;"," height:",T*l,'px"',' cropleft="',q/r,'"',' croptop="',p/t,'"',' cropright="',(r-q-x)/r,'"',' cropbottom="',(t-p-w)/t,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",y.join(""))};D.stroke=function(b){for(var d={x:null,y:null},g={x:null,y:null},n=0;n<this.currentPath_.length;n+=5E3){var l=[];l.push("<g_vml_:shape",
+' filled="',!!b,'"',' style="position:absolute;width:',10,"px;height:",10,'px;"',' coordorigin="0,0"',' coordsize="',T*10,",",T*10,'"',' stroked="',!b,'"',' path="');for(var q=n;q<Math.min(n+5E3,this.currentPath_.length);q++){q%5E3==0&&q>0&&l.push(" m ",O(this.currentPath_[q-1].x),",",O(this.currentPath_[q-1].y));var p=this.currentPath_[q];switch(p.type){case "moveTo":l.push(" m ",O(p.x),",",O(p.y));break;case "lineTo":l.push(" l ",O(p.x),",",O(p.y));break;case "close":l.push(" x ");p=null;break;
+case "bezierCurveTo":l.push(" c ",O(p.cp1x),",",O(p.cp1y),",",O(p.cp2x),",",O(p.cp2y),",",O(p.x),",",O(p.y));break;case "at":case "wa":l.push(" ",p.type," ",O(p.x-this.arcScaleX_*p.radius),",",O(p.y-this.arcScaleY_*p.radius)," ",O(p.x+this.arcScaleX_*p.radius),",",O(p.y+this.arcScaleY_*p.radius)," ",O(p.xStart),",",O(p.yStart)," ",O(p.xEnd),",",O(p.yEnd))}if(p){if(d.x==null||p.x<d.x)d.x=p.x;if(g.x==null||p.x>g.x)g.x=p.x;if(d.y==null||p.y<d.y)d.y=p.y;if(g.y==null||p.y>g.y)g.y=p.y}}l.push(' ">');b?
+Q(this,l,d,g):V(this,l);l.push("</g_vml_:shape>");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('<g_vml_:line from="',-n,' 0" to="',q,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!l,'" stroked="',!!l,'" style="position:absolute;width:1px;height:1px;">');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('<g_vml_:skew on="t" matrix="',l,'" ',' offset="',d,'" origin="',n,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',
+F(b),'" style="v-text-align:',t,";font:",F(C),'" /></g_vml_:line>');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",'<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>'),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}();
+// 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<d.length;++p)r[d.charAt(p)]+=g;return r.normalize()};r.scale=function(d,g){for(var p=0;p<d.length;++p)r[d.charAt(p)]*=g;return r.normalize()};r.toString=function(){return r.a>=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 p<g?g:p>r?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),
+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,
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(a){function b(b,j,l,k){function A(a,b){for(var b=[T].concat(b),d=0;d<a.length;++d)a[d].apply(this,b)}function G(b){for(var d=[],e=0;e<b.length;++e){var f=a.extend(!0,{},n.series);b[e].data!=null?(f.data=b[e].data,delete b[e].data,a.extend(!0,f,b[e]),b[e].data=f.data):f.data=b[e];d.push(f)}J=d;d=J.length;e=[];f=[];for(b=0;b<J.length;++b){var g=J[b].color;g!=null&&(--d,typeof g=="number"?f.push(g):e.push(a.color.parse(J[b].color)))}for(b=0;b<f.length;++b)d=Math.max(d,f[b]+1);e=[];for(b=f=
-0;e.length<d;)g=n.colors.length==b?a.color.make(100,100,100):a.color.parse(n.colors[b]),g.scale("rgb",1+(f%2==1?-1:1)*Math.ceil(f/2)*0.2),e.push(g),++b,b>=n.colors.length&&(b=0,++f);for(b=d=0;b<J.length;++b){f=J[b];if(f.color==null)f.color=e[d].toString(),++d;else if(typeof f.color=="number")f.color=e[f.color].toString();if(f.lines.show==null){var j,g=!0;for(j in f)if(f[j]&&f[j].show){g=!1;break}if(g)f.lines.show=!0}f.xaxis=z(ia,D(f,"x"));f.yaxis=z(la,D(f,"y"))}s()}function D(a,b){var d=a[b+"axis"];
-if(typeof d=="object")d=d.n;typeof d!="number"&&(d=1);return d}function L(){return a.grep(ia.concat(la),function(a){return a})}function B(a){var b={},d,e;for(d=0;d<ia.length;++d)(e=ia[d])&&e.used&&(b["x"+e.n]=e.c2p(a.left));for(d=0;d<la.length;++d)(e=la[d])&&e.used&&(b["y"+e.n]=e.c2p(a.top));if(b.x1!==void 0)b.x=b.x1;if(b.y1!==void 0)b.y=b.y1;return b}function z(b,d){b[d-1]||(b[d-1]={n:d,direction:b==ia?"x":"y",options:a.extend(!0,{},b==ia?n.xaxis:n.yaxis)});return b[d-1]}function s(){function b(a,
-d,e){if(d<a.datamin&&d!=-f)a.datamin=d;if(e>a.datamax&&e!=f)a.datamax=e}var d=Number.POSITIVE_INFINITY,e=Number.NEGATIVE_INFINITY,f=Number.MAX_VALUE,g,j,k,n,p,l,I,s,t,z;a.each(L(),function(a,b){b.datamin=d;b.datamax=e;b.used=!1});for(g=0;g<J.length;++g)p=J[g],p.datapoints={points:[]},A(ua.processRawData,[p,p.data,p.datapoints]);for(g=0;g<J.length;++g){p=J[g];var C=p.data,v=p.datapoints.format;if(!v){v=[];v.push({x:!0,number:!0,required:!0});v.push({y:!0,number:!0,required:!0});if(p.bars.show||p.lines.show&&
-p.lines.fill)if(v.push({y:!0,number:!0,required:!1,defaultValue:0}),p.bars.horizontal)delete v[v.length-1].y,v[v.length-1].x=!0;p.datapoints.format=v}if(p.datapoints.pointsize==null){p.datapoints.pointsize=v.length;I=p.datapoints.pointsize;l=p.datapoints.points;insertSteps=p.lines.show&&p.lines.steps;p.xaxis.used=p.yaxis.used=!0;for(j=k=0;j<C.length;++j,k+=I){z=C[j];var x=z==null;if(!x)for(n=0;n<I;++n){s=z[n];if(t=v[n])if(t.number&&s!=null&&(s=+s,isNaN(s)?s=null:s==Infinity?s=f:s==-Infinity&&(s=-f)),
-s==null&&(t.required&&(x=!0),t.defaultValue!=null))s=t.defaultValue;l[k+n]=s}if(x)for(n=0;n<I;++n)s=l[k+n],s!=null&&(t=v[n],t.x&&b(p.xaxis,s,s),t.y&&b(p.yaxis,s,s)),l[k+n]=null;else if(insertSteps&&k>0&&l[k-I]!=null&&l[k-I]!=l[k]&&l[k-I+1]!=l[k+1]){for(n=0;n<I;++n)l[k+I+n]=l[k+n];l[k+1]=l[k-I+1];k+=I}}}}for(g=0;g<J.length;++g)p=J[g],A(ua.processDatapoints,[p,p.datapoints]);for(g=0;g<J.length;++g){p=J[g];l=p.datapoints.points;I=p.datapoints.pointsize;v=p.datapoints.format;z=k=d;x=C=e;for(j=0;j<l.length;j+=
-I)if(l[j]!=null)for(n=0;n<I;++n)if(s=l[j+n],(t=v[n])&&!(s==f||s==-f))t.x&&(s<k&&(k=s),s>C&&(C=s)),t.y&&(s<z&&(z=s),s>x&&(x=s));p.bars.show&&(j=p.bars.align=="left"?0:-p.bars.barWidth/2,p.bars.horizontal?(z+=j,x+=j+p.bars.barWidth):(k+=j,C+=j+p.bars.barWidth));b(p.xaxis,k,C);b(p.yaxis,z,x)}a.each(L(),function(a,b){if(b.datamin==d)b.datamin=null;if(b.datamax==e)b.datamax=null})}function C(d,e){var g=document.createElement("canvas");g.className=e;g.width=ea;g.height=ma;d||a(g).css({position:"absolute",
-left:0,top:0});a(g).appendTo(b);g.getContext||(g=window.G_vmlCanvasManager.initElement(g));g.getContext("2d").save();return g}function fa(){ea=b.width();ma=b.height();if(ea<=0||ma<=0)throw"Invalid dimensions for plot, width = "+ea+", height = "+ma;}function R(a){if(a.width!=ea)a.width=ea;if(a.height!=ma)a.height=ma;a=a.getContext("2d");a.restore();a.save()}function P(a){function b(a){return a}var d,e,f=a.options.transform||b,g=a.options.inverseTransform;a.direction=="x"?(d=a.scale=xa/Math.abs(f(a.max)-
-f(a.min)),e=Math.min(f(a.max),f(a.min))):(d=a.scale=ta/Math.abs(f(a.max)-f(a.min)),d=-d,e=Math.max(f(a.max),f(a.min)));a.p2c=f==b?function(a){return(a-e)*d}:function(a){return(f(a)-e)*d};a.c2p=g?function(a){return g(e+a/d)}:function(a){return e+a/d}}function N(b){var d=b.labelWidth,e=b.labelHeight,f=b.options.position,g=b.options.tickLength,j=n.grid.axisMargin,k=n.grid.labelMargin,p=b.direction=="x"?ia:la,l=a.grep(p,function(a){return a&&a.options.position==f&&a.reserveSpace});a.inArray(b,l)==l.length-
-1&&(j=0);if(g==null)var g=a.grep(p,function(a){return a&&a.reserveSpace}),s=a.inArray(b,g)==0,g=s?"full":5;isNaN(+g)||(k+=+g);b.direction=="x"?(e+=k,f=="bottom"?(E.bottom+=e+j,b.box={top:ma-E.bottom,height:e}):(b.box={top:E.top+j,height:e},E.top+=e+j)):(d+=k,f=="left"?(b.box={left:E.left+j,width:d},E.left+=d+j):(E.right+=d+j,b.box={left:ea-E.right,width:d}));b.position=f;b.tickLength=g;b.box.padding=k;b.innermost=s}function t(){var b=n.grid.minBorderMargin,d={x:0,y:0},e;if(b==null)for(e=b=0;e<J.length;++e)b=
-Math.max(b,2*(J[e].points.radius+J[e].points.lineWidth/2));d.x=d.y=Math.ceil(b);a.each(L(),function(a,b){var e=b.direction;b.reserveSpace&&(d[e]=Math.ceil(Math.max(d[e],(e=="x"?b.labelWidth:b.labelHeight)/2)))});E.left=Math.max(d.x,E.left);E.right=Math.max(d.x,E.right);E.top=Math.max(d.y,E.top);E.bottom=Math.max(d.y,E.bottom)}function U(){var d,e=L();d=n.grid.show;for(var g in E)E[g]=d?n.grid.borderWidth:0;a.each(e,function(a,b){b.show=b.options.show;if(b.show==null)b.show=b.used;b.reserveSpace=b.show||
-b.options.reserveSpace;var d=b.options,e=+(d.min!=null?d.min:b.datamin),h=+(d.max!=null?d.max:b.datamax),f=h-e;if(f==0){if(f=h==0?1:0.01,d.min==null&&(e-=f),d.max==null||d.min!=null)h+=f}else{var g=d.autoscaleMargin;g!=null&&(d.min==null&&(e-=f*g,e<0&&b.datamin!=null&&b.datamin>=0&&(e=0)),d.max==null&&(h+=f*g,h>0&&b.datamax!=null&&b.datamax<=0&&(h=0)))}b.min=e;b.max=h});if(d){var j={style:b.css("font-style"),size:Math.round(0.8*(+b.css("font-size").replace("px","")||13)),variant:b.css("font-variant"),
-weight:b.css("font-weight"),family:b.css("font-family")};g=a.grep(e,function(a){return a.reserveSpace});a.each(g,function(b,d){M(d);var e=d.options.ticks,h=[];e==null||typeof e=="number"&&e>0?h=d.tickGenerator(d):e&&(h=a.isFunction(e)?e(d):e);var f;d.ticks=[];for(e=0;e<h.length;++e){var g=null,q=h[e];typeof q=="object"?(f=+q[0],q.length>1&&(g=q[1])):f=+q;g==null&&(g=d.tickFormatter(f,d));isNaN(f)||d.ticks.push({v:f,label:g})}h=d.ticks;if(d.options.autoscaleMargin&&h.length>0){if(d.options.min==null)d.min=
-Math.min(d.min,h[0].v);if(d.options.max==null&&h.length>1)d.max=Math.max(d.max,h[h.length-1].v)}d.font=a.extend({},j,d.options.font);h=d.options;e=d.ticks||[];f=h.labelWidth||0;g=h.labelHeight||0;q=d.font;x.save();x.font=q.style+" "+q.variant+" "+q.weight+" "+q.size+"px '"+q.family+"'";for(var k=0;k<e.length;++k){var n=e[k];n.lines=[];n.width=n.height=0;if(n.label){for(var p=n.label.replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),H=0;H<p.length;++H){var l={text:p[H]},s=x.measureText(l.text);l.width=
-s.width;l.height=s.height!=null?s.height:q.size;l.height+=Math.round(q.size*0.15);n.width=Math.max(l.width,n.width);n.height+=l.height;n.lines.push(l)}h.labelWidth==null&&(f=Math.max(f,n.width));h.labelHeight==null&&(g=Math.max(g,n.height))}}x.restore();d.labelWidth=Math.ceil(f);d.labelHeight=Math.ceil(g)});for(d=g.length-1;d>=0;--d)N(g[d]);t();a.each(g,function(a,b){b.direction=="x"?(b.box.left=E.left-b.labelWidth/2,b.box.width=ea-E.left-E.right+b.labelWidth):(b.box.top=E.top-b.labelHeight/2,b.box.height=
-ma-E.bottom-E.top+b.labelHeight)})}xa=ea-E.left-E.right;ta=ma-E.bottom-E.top;a.each(e,function(a,b){P(b)});aa()}function M(b){var d=b.options,f=(b.max-b.min)/(typeof d.ticks=="number"&&d.ticks>0?d.ticks:0.3*Math.sqrt(b.direction=="x"?ea:ma)),g,j,k,n;if(d.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;d.minTickSize!=null&&(g=typeof d.tickSize=="number"?d.tickSize:d.minTickSize[0]*p[d.minTickSize[1]]);for(j=0;j<n.length-1;++j)if(f<(n[j][0]*p[n[j][1]]+n[j+1][0]*p[n[j+1][1]])/2&&n[j][0]*p[n[j][1]]>=g)break;g=n[j][0];k=n[j][1];k=="year"&&(j=Math.pow(10,Math.floor(Math.log(f/p.year)/Math.LN10)),n=f/p.year/j,g=n<1.5?1:n<3?2:n<7.5?5:10,g*=
-j);b.tickSize=d.tickSize||[g,k];j=function(a){var b=[],d=a.tickSize[0],h=a.tickSize[1],f=new Date(a.min),g=d*p[h];h=="second"&&f.setUTCSeconds(e(f.getUTCSeconds(),d));h=="minute"&&f.setUTCMinutes(e(f.getUTCMinutes(),d));h=="hour"&&f.setUTCHours(e(f.getUTCHours(),d));h=="month"&&f.setUTCMonth(e(f.getUTCMonth(),d));h=="year"&&f.setUTCFullYear(e(f.getUTCFullYear(),d));f.setUTCMilliseconds(0);g>=p.minute&&f.setUTCSeconds(0);g>=p.hour&&f.setUTCMinutes(0);g>=p.day&&f.setUTCHours(0);g>=p.day*4&&f.setUTCDate(1);
-g>=p.year&&f.setUTCMonth(0);var j=0,q=Number.NaN,k;do if(k=q,q=f.getTime(),b.push(q),h=="month")if(d<1){f.setUTCDate(1);var n=f.getTime();f.setUTCMonth(f.getUTCMonth()+1);var w=f.getTime();f.setTime(q+j*p.hour+(w-n)*d);j=f.getUTCHours();f.setUTCHours(0)}else f.setUTCMonth(f.getUTCMonth()+d);else h=="year"?f.setUTCFullYear(f.getUTCFullYear()+d):f.setTime(q+g);while(q<a.max&&q!=k);return b};g=function(b,e){var h=new Date(b);if(d.timeformat!=null)return a.plot.formatDate(h,d.timeformat,d.monthNames);
-var f=e.tickSize[0]*p[e.tickSize[1]],g=e.max-e.min,j=d.twelveHourClock?" %p":"";fmt=f<p.minute?"%h:%M:%S"+j:f<p.day?g<2*p.day?"%h:%M"+j:"%b %d %h:%M"+j:f<p.month?"%b %d":f<p.year?g<p.year?"%b":"%b %y":"%y";return a.plot.formatDate(h,fmt,d.monthNames)}}else{k=d.tickDecimals;var l=-Math.floor(Math.log(f)/Math.LN10);k!=null&&l>k&&(l=k);j=Math.pow(10,-l);n=f/j;if(n<1.5)g=1;else if(n<3){if(g=2,n>2.25&&(k==null||l+1<=k))g=2.5,++l}else g=n<7.5?5:10;g*=j;if(d.minTickSize!=null&&g<d.minTickSize)g=d.minTickSize;
-b.tickDecimals=Math.max(0,k!=null?k:l);b.tickSize=d.tickSize||g;j=function(a){var b=[],d=e(a.min,a.tickSize),h=0,f=Number.NaN,g;do g=f,f=d+h*a.tickSize,b.push(f),++h;while(f<a.max&&f!=g);return b};g=function(a,b){return a.toFixed(b.tickDecimals)}}if(d.alignTicksWithAxis!=null){var s=(b.direction=="x"?ia:la)[d.alignTicksWithAxis-1];if(s&&s.used&&s!=b){j=j(b);if(j.length>0){if(d.min==null)b.min=Math.min(b.min,j[0]);if(d.max==null&&j.length>1)b.max=Math.max(b.max,j[j.length-1])}j=function(a){var b=[],
-d,e;for(e=0;e<s.ticks.length;++e)d=(s.ticks[e].v-s.min)/(s.max-s.min),d=a.min+d*(a.max-a.min),b.push(d);return b};if(!b.mode&&d.tickDecimals==null&&(f=Math.max(0,-Math.floor(Math.log(f)/Math.LN10)+1),n=j(b),!(n.length>1&&/\..*0$/.test((n[1]-n[0]).toFixed(f)))))b.tickDecimals=f}}b.tickGenerator=j;b.tickFormatter=a.isFunction(d.tickFormatter)?function(a,b){return""+d.tickFormatter(a,b)}:g}function ga(){x.clearRect(0,0,ea,ma);var a=n.grid;if(a.show&&a.backgroundColor)x.save(),x.translate(E.left,E.top),
-x.fillStyle=V(n.grid.backgroundColor,ta,0,"rgba(255, 255, 255, 0)"),x.fillRect(0,0,xa,ta),x.restore();a.show&&!a.aboveData&&(ha(),qa());for(var b=0;b<J.length;++b){A(ua.drawSeries,[x,J[b]]);var d=J[b];d.lines.show&&va(d);d.bars.show&&X(d);d.points.show&&v(d)}A(ua.draw,[x]);a.show&&a.aboveData&&(ha(),qa())}function O(a,b){var d,e,f,g,j=L();for(i=0;i<j.length;++i)if(d=j[i],d.direction==b&&(g=b+d.n+"axis",!a[g]&&d.n==1&&(g=b+"axis"),a[g])){e=a[g].from;f=a[g].to;break}a[g]||(d=b=="x"?ia[0]:la[0],e=a[b+
-"1"],f=a[b+"2"]);e!=null&&f!=null&&e>f&&(g=e,e=f,f=g);return{from:e,to:f,axis:d}}function ha(){var b;x.save();x.translate(E.left,E.top);var d=n.grid.markings;if(d){if(a.isFunction(d)){var e=T.getAxes();e.xmin=e.xaxis.min;e.xmax=e.xaxis.max;e.ymin=e.yaxis.min;e.ymax=e.yaxis.max;d=d(e)}for(b=0;b<d.length;++b){var e=d[b],f=O(e,"x"),g=O(e,"y");if(f.from==null)f.from=f.axis.min;if(f.to==null)f.to=f.axis.max;if(g.from==null)g.from=g.axis.min;if(g.to==null)g.to=g.axis.max;if(!(f.to<f.axis.min||f.from>f.axis.max||
-g.to<g.axis.min||g.from>g.axis.max))if(f.from=Math.max(f.from,f.axis.min),f.to=Math.min(f.to,f.axis.max),g.from=Math.max(g.from,g.axis.min),g.to=Math.min(g.to,g.axis.max),!(f.from==f.to&&g.from==g.to))f.from=f.axis.p2c(f.from),f.to=f.axis.p2c(f.to),g.from=g.axis.p2c(g.from),g.to=g.axis.p2c(g.to),f.from==f.to||g.from==g.to?(x.beginPath(),x.strokeStyle=e.color||n.grid.markingsColor,x.lineWidth=e.lineWidth||n.grid.markingsLineWidth,x.moveTo(f.from,g.from),x.lineTo(f.to,g.to),x.stroke()):(x.fillStyle=
-e.color||n.grid.markingsColor,x.fillRect(f.from,g.to,f.to-f.from,g.from-g.to))}}e=L();d=n.grid.borderWidth;for(f=0;f<e.length;++f){g=e[f];b=g.box;var j=g.tickLength,k,p,l,s;if(g.show&&g.ticks.length!=0){x.strokeStyle=g.options.tickColor||a.color.parse(g.options.color).scale("a",0.22).toString();x.lineWidth=1;g.direction=="x"?(k=0,p=j=="full"?g.position=="top"?0:ta:b.top-E.top+(g.position=="top"?b.height:0)):(p=0,k=j=="full"?g.position=="left"?0:xa:b.left-E.left+(g.position=="left"?b.width:0));g.innermost||
-(x.beginPath(),l=s=0,g.direction=="x"?l=xa:s=ta,x.lineWidth==1&&(k=Math.floor(k)+0.5,p=Math.floor(p)+0.5),x.moveTo(k,p),x.lineTo(k+l,p+s),x.stroke());x.beginPath();for(b=0;b<g.ticks.length;++b){var t=g.ticks[b].v;l=s=0;t<g.min||t>g.max||j=="full"&&d>0&&(t==g.min||t==g.max)||(g.direction=="x"?(k=g.p2c(t),s=j=="full"?-ta:j,g.position=="top"&&(s=-s)):(p=g.p2c(t),l=j=="full"?-xa:j,g.position=="left"&&(l=-l)),x.lineWidth==1&&(g.direction=="x"?k=Math.floor(k)+0.5:p=Math.floor(p)+0.5),x.moveTo(k,p),x.lineTo(k+
-l,p+s))}x.stroke()}}if(d)x.lineWidth=d,x.strokeStyle=n.grid.borderColor,x.strokeRect(-d/2,-d/2,xa+d,ta+d);x.restore()}function qa(){x.save();a.each(L(),function(b,d){if(d.show&&d.ticks.length!=0){var e=d.box,f=d.font;x.fillStyle=d.options.color;x.font=f.style+" "+f.variant+" "+f.weight+" "+f.size+"px "+f.family;x.textAlign="start";x.textBaseline="middle";for(f=0;f<d.ticks.length;++f){var g=d.ticks[f];if(g.label&&!(g.v<d.min||g.v>d.max))for(var j,k,n=0,p,l=0;l<g.lines.length;++l)p=g.lines[l],d.direction==
-"x"?(j=E.left+d.p2c(g.v)-p.width/2,k=d.position=="bottom"?e.top+e.padding:e.top+e.height-e.padding-g.height):(k=E.top+d.p2c(g.v)-g.height/2,j=d.position=="left"?e.left+e.width-e.padding-p.width:e.left+e.padding),k+=p.height/2+n,n+=p.height,a.browser.opera&&(j=Math.floor(j),k=Math.ceil(k-2)),x.fillText(p.text,j,k)}}});x.restore()}function va(a){function b(a,d,e,f,h){var g=a.points,a=a.pointsize,j=null,q=null;x.beginPath();for(var k=a;k<g.length;k+=a){var p=g[k-a],n=g[k-a+1],l=g[k],s=g[k+1];if(!(p==
-null||l==null)){if(n<=s&&n<h.min){if(s<h.min)continue;p=(h.min-n)/(s-n)*(l-p)+p;n=h.min}else if(s<=n&&s<h.min){if(n<h.min)continue;l=(h.min-n)/(s-n)*(l-p)+p;s=h.min}if(n>=s&&n>h.max){if(s>h.max)continue;p=(h.max-n)/(s-n)*(l-p)+p;n=h.max}else if(s>=n&&s>h.max){if(n>h.max)continue;l=(h.max-n)/(s-n)*(l-p)+p;s=h.max}if(p<=l&&p<f.min){if(l<f.min)continue;n=(f.min-p)/(l-p)*(s-n)+n;p=f.min}else if(l<=p&&l<f.min){if(p<f.min)continue;s=(f.min-p)/(l-p)*(s-n)+n;l=f.min}if(p>=l&&p>f.max){if(l>f.max)continue;
-n=(f.max-p)/(l-p)*(s-n)+n;p=f.max}else if(l>=p&&l>f.max){if(p>f.max)continue;s=(f.max-p)/(l-p)*(s-n)+n;l=f.max}(p!=j||n!=q)&&x.moveTo(f.p2c(p)+d,h.p2c(n)+e);j=l;q=s;x.lineTo(f.p2c(l)+d,h.p2c(s)+e)}}x.stroke()}function e(a,b,d){for(var f=a.points,a=a.pointsize,h=Math.min(Math.max(0,d.min),d.max),g=0,j=!1,p=1,n=0,k=0;;){if(a>0&&g>f.length+a)break;g+=a;var q=f[g-a],l=f[g-a+p],s=f[g],w=f[g+p];if(j){if(a>0&&q!=null&&s==null){k=g;a=-a;p=2;continue}if(a<0&&g==n+a){x.fill();j=!1;a=-a;p=1;g=n=k+a;continue}}if(!(q==
-null||s==null)){if(q<=s&&q<b.min){if(s<b.min)continue;l=(b.min-q)/(s-q)*(w-l)+l;q=b.min}else if(s<=q&&s<b.min){if(q<b.min)continue;w=(b.min-q)/(s-q)*(w-l)+l;s=b.min}if(q>=s&&q>b.max){if(s>b.max)continue;l=(b.max-q)/(s-q)*(w-l)+l;q=b.max}else if(s>=q&&s>b.max){if(q>b.max)continue;w=(b.max-q)/(s-q)*(w-l)+l;s=b.max}j||(x.beginPath(),x.moveTo(b.p2c(q),d.p2c(h)),j=!0);if(l>=d.max&&w>=d.max)x.lineTo(b.p2c(q),d.p2c(d.max)),x.lineTo(b.p2c(s),d.p2c(d.max));else if(l<=d.min&&w<=d.min)x.lineTo(b.p2c(q),d.p2c(d.min)),
-x.lineTo(b.p2c(s),d.p2c(d.min));else{var H=q,t=s;if(l<=w&&l<d.min&&w>=d.min)q=(d.min-l)/(w-l)*(s-q)+q,l=d.min;else if(w<=l&&w<d.min&&l>=d.min)s=(d.min-l)/(w-l)*(s-q)+q,w=d.min;if(l>=w&&l>d.max&&w<=d.max)q=(d.max-l)/(w-l)*(s-q)+q,l=d.max;else if(w>=l&&w>d.max&&l<=d.max)s=(d.max-l)/(w-l)*(s-q)+q,w=d.max;q!=H&&x.lineTo(b.p2c(H),d.p2c(l));x.lineTo(b.p2c(q),d.p2c(l));x.lineTo(b.p2c(s),d.p2c(w));s!=t&&(x.lineTo(b.p2c(s),d.p2c(w)),x.lineTo(b.p2c(t),d.p2c(w)))}}}}x.save();x.translate(E.left,E.top);x.lineJoin=
-"round";var f=a.lines.lineWidth,g=a.shadowSize;if(f>0&&g>0){x.lineWidth=g;x.strokeStyle="rgba(0,0,0,0.1)";var j=Math.PI/18;b(a.datapoints,Math.sin(j)*(f/2+g/2),Math.cos(j)*(f/2+g/2),a.xaxis,a.yaxis);x.lineWidth=g/2;b(a.datapoints,Math.sin(j)*(f/2+g/4),Math.cos(j)*(f/2+g/4),a.xaxis,a.yaxis)}x.lineWidth=f;x.strokeStyle=a.color;if(g=d(a.lines,a.color,0,ta))x.fillStyle=g,e(a.datapoints,a.xaxis,a.yaxis);f>0&&b(a.datapoints,0,0,a.xaxis,a.yaxis);x.restore()}function v(a){function b(a,d,e,f,h,g,j,q){for(var p=
-a.points,a=a.pointsize,n=0;n<p.length;n+=a){var k=p[n],l=p[n+1];if(!(k==null||k<g.min||k>g.max||l<j.min||l>j.max)){x.beginPath();k=g.p2c(k);l=j.p2c(l)+f;q=="circle"?x.arc(k,l,d,0,h?Math.PI:Math.PI*2,!1):q(x,k,l,d,h);x.closePath();if(e)x.fillStyle=e,x.fill();x.stroke()}}}x.save();x.translate(E.left,E.top);var e=a.points.lineWidth,f=a.shadowSize,g=a.points.radius,j=a.points.symbol;if(e>0&&f>0)f/=2,x.lineWidth=f,x.strokeStyle="rgba(0,0,0,0.1)",b(a.datapoints,g,null,f+f/2,!0,a.xaxis,a.yaxis,j),x.strokeStyle=
-"rgba(0,0,0,0.2)",b(a.datapoints,g,null,f/2,!0,a.xaxis,a.yaxis,j);x.lineWidth=e;x.strokeStyle=a.color;b(a.datapoints,g,d(a.points,a.color),0,!1,a.xaxis,a.yaxis,j);x.restore()}function S(a,b,d,e,f,g,j,p,n,k,l,s){var t,z,C,v;l?(v=z=C=!0,t=!1,l=d,d=b+e,f=b+f,a<l&&(b=a,a=l,l=b,t=!0,z=!1)):(t=z=C=!0,v=!1,l=a+e,a+=f,f=d,d=b,d<f&&(b=d,d=f,f=b,v=!0,C=!1));if(!(a<p.min||l>p.max||d<n.min||f>n.max)){if(l<p.min)l=p.min,t=!1;if(a>p.max)a=p.max,z=!1;if(f<n.min)f=n.min,v=!1;if(d>n.max)d=n.max,C=!1;l=p.p2c(l);f=
-n.p2c(f);a=p.p2c(a);d=n.p2c(d);if(j)k.beginPath(),k.moveTo(l,f),k.lineTo(l,d),k.lineTo(a,d),k.lineTo(a,f),k.fillStyle=j(f,d),k.fill();if(s>0&&(t||z||C||v))k.beginPath(),k.moveTo(l,f+g),t?k.lineTo(l,d+g):k.moveTo(l,d+g),C?k.lineTo(a,d+g):k.moveTo(a,d+g),z?k.lineTo(a,f+g):k.moveTo(a,f+g),v?k.lineTo(l,f+g):k.moveTo(l,f+g),k.stroke()}}function X(a){x.save();x.translate(E.left,E.top);x.lineWidth=a.bars.lineWidth;x.strokeStyle=a.color;var b=a.bars.align=="left"?0:-a.bars.barWidth/2;(function(b,d,e,f,g,
-j,k){for(var p=b.points,b=b.pointsize,n=0;n<p.length;n+=b)p[n]!=null&&S(p[n],p[n+1],p[n+2],d,e,f,g,j,k,x,a.bars.horizontal,a.bars.lineWidth)})(a.datapoints,b,b+a.bars.barWidth,0,a.bars.fill?function(b,e){return d(a.bars,a.color,b,e)}:null,a.xaxis,a.yaxis);x.restore()}function d(b,d,e,f){var g=b.fill;if(!g)return null;if(b.fillColor)return V(b.fillColor,e,f,d);b=a.color.parse(d);b.a=typeof g=="number"?g:0.4;b.normalize();return b.toString()}function aa(){b.find(".legend").remove();if(n.legend.show){for(var d=
-[],e=!1,g=n.legend.labelFormatter,j,k,p=0;p<J.length;++p)if(j=J[p],k=j.label)p%n.legend.noColumns==0&&(e&&d.push("</tr>"),d.push("<tr>"),e=!0),g&&(k=g(k,j)),d.push('<td class="legendColorBox"><div style="border:1px solid '+n.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+j.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+k+"</td>");e&&d.push("</tr>");if(d.length!=0)if(e='<table style="font-size:smaller;color:'+n.grid.color+'">'+d.join("")+
-"</table>",n.legend.container!=null)a(n.legend.container).html(e);else if(d="",g=n.legend.position,j=n.legend.margin,j[0]==null&&(j=[j,j]),g.charAt(0)=="n"?d+="top:"+(j[1]+E.top)+"px;":g.charAt(0)=="s"&&(d+="bottom:"+(j[1]+E.bottom)+"px;"),g.charAt(1)=="e"?d+="right:"+(j[0]+E.right)+"px;":g.charAt(1)=="w"&&(d+="left:"+(j[0]+E.left)+"px;"),e=a('<div class="legend">'+e.replace('style="','style="position:absolute;'+d+";")+"</div>").appendTo(b),n.legend.backgroundOpacity!=0){g=n.legend.backgroundColor;
-if(g==null)g=(g=n.grid.backgroundColor)&&typeof g=="string"?a.color.parse(g):a.color.extract(e,"background-color"),g.a=1,g=g.toString();j=e.children();a('<div style="position:absolute;width:'+j.width()+"px;height:"+j.height()+"px;"+d+"background-color:"+g+';"> </div>').prependTo(e).css("opacity",n.legend.backgroundOpacity)}}}function ba(a){n.grid.hoverable&&ka("plothover",a,function(a){return a.hoverable!=!1})}function F(a){n.grid.hoverable&&ka("plothover",a,function(){return!1})}function oa(a){ka("plotclick",
-a,function(a){return a.clickable!=!1})}function ka(a,d,e){var g=pa.offset(),j=d.pageX-g.left-E.left,k=d.pageY-g.top-E.top,p=B({left:j,top:k});p.pageX=d.pageX;p.pageY=d.pageY;var d=n.grid.mouseActiveRadius,l=d*d+1,s=null,t,z;for(t=J.length-1;t>=0;--t)if(e(J[t])){var C=J[t],v=C.xaxis,x=C.yaxis,A=C.datapoints.points,R=C.datapoints.pointsize,P=v.c2p(j),F=x.c2p(k),fa=d/v.scale,G=d/x.scale;if(v.options.inverseTransform)fa=Number.MAX_VALUE;if(x.options.inverseTransform)G=Number.MAX_VALUE;if(C.lines.show||
-C.points.show)for(z=0;z<A.length;z+=R){var N=A[z],D=A[z+1];if(N!=null&&!(N-P>fa||N-P<-fa||D-F>G||D-F<-G))N=Math.abs(v.p2c(N)-j),D=Math.abs(x.p2c(D)-k),D=N*N+D*D,D<l&&(l=D,s=[t,z/R])}if(C.bars.show&&!s){v=C.bars.align=="left"?0:-C.bars.barWidth/2;C=v+C.bars.barWidth;for(z=0;z<A.length;z+=R)if(N=A[z],D=A[z+1],x=A[z+2],N!=null&&(J[t].bars.horizontal?P<=Math.max(x,N)&&P>=Math.min(x,N)&&F>=D+v&&F<=D+C:P>=N+v&&P<=N+C&&F>=Math.min(x,D)&&F<=Math.max(x,D)))s=[t,z/R]}}s?(t=s[0],z=s[1],R=J[t].datapoints.pointsize,
-e={datapoint:J[t].datapoints.points.slice(z*R,(z+1)*R),dataIndex:z,series:J[t],seriesIndex:t}):e=null;if(e)e.pageX=parseInt(e.series.xaxis.p2c(e.datapoint[0])+g.left+E.left),e.pageY=parseInt(e.series.yaxis.p2c(e.datapoint[1])+g.top+E.top);if(n.grid.autoHighlight){for(g=0;g<ya.length;++g)j=ya[g],j.auto==a&&(!e||!(j.series==e.series&&j.point[0]==e.datapoint[0]&&j.point[1]==e.datapoint[1]))&&$(j.series,j.point);e&&wa(e.series,e.datapoint,a)}b.trigger(a,[p,e])}function ca(){var a=n.interaction.redrawOverlayInterval;
-a==-1?ra():Da||(Da=setTimeout(ra,a))}function ra(){Da=null;da.save();da.clearRect(0,0,ea,ma);da.translate(E.left,E.top);var b,d;for(b=0;b<ya.length;++b)if(d=ya[b],d.series.bars.show)p(d.series,d.point);else{var e=d.series,f=d.point;d=f[0];var f=f[1],g=e.xaxis,j=e.yaxis;if(!(d<g.min||d>g.max||f<j.min||f>j.max)){var k=e.points.radius+e.points.lineWidth/2;da.lineWidth=k;da.strokeStyle=a.color.parse(e.color).scale("a",0.5).toString();k*=1.5;d=g.p2c(d);f=j.p2c(f);da.beginPath();e.points.symbol=="circle"?
-da.arc(d,f,k,0,2*Math.PI,!1):e.points.symbol(da,d,f,k,!1);da.closePath();da.stroke()}}da.restore();A(ua.drawOverlay,[da])}function wa(a,b,d){typeof a=="number"&&(a=J[a]);if(typeof b=="number")var e=a.datapoints.pointsize,b=a.datapoints.points.slice(e*b,e*(b+1));e=g(a,b);if(e==-1)ya.push({series:a,point:b,auto:d}),ca();else if(!d)ya[e].auto=!1}function $(a,b){a==null&&b==null&&(ya=[],ca());typeof a=="number"&&(a=J[a]);typeof b=="number"&&(b=a.data[b]);var d=g(a,b);d!=-1&&(ya.splice(d,1),ca())}function g(a,
-b){for(var d=0;d<ya.length;++d){var e=ya[d];if(e.series==a&&e.point[0]==b[0]&&e.point[1]==b[1])return d}return-1}function p(b,d){da.lineWidth=b.bars.lineWidth;da.strokeStyle=a.color.parse(b.color).scale("a",0.5).toString();var e=a.color.parse(b.color).scale("a",0.5).toString(),f=b.bars.align=="left"?0:-b.bars.barWidth/2;S(d[0],d[1],d[2]||0,f,f+b.bars.barWidth,0,function(){return e},b.xaxis,b.yaxis,da,b.bars.horizontal,b.bars.lineWidth)}function V(b,d,e,f){if(typeof b=="string")return b;else{for(var d=
-x.createLinearGradient(0,e,0,d),e=0,g=b.colors.length;e<g;++e){var j=b.colors[e];if(typeof j!="string"){var k=a.color.parse(f);j.brightness!=null&&(k=k.scale("rgb",j.brightness));j.opacity!=null&&(k.a*=j.opacity);j=k.toString()}d.addColorStop(e/(g-1),j)}return d}}var J=[],n={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{show:null,
+(function(d){function g(g,C,B,r){function A(b,d){for(var d=[U].concat(d),j=0;j<b.length;++j)b[j].apply(this,d)}function N(b){for(var e=[],j=0;j<b.length;++j){var g=d.extend(!0,{},l.series);b[j].data!=null?(g.data=b[j].data,delete b[j].data,d.extend(!0,g,b[j]),b[j].data=g.data):g.data=b[j];e.push(g)}J=e;e=J.length;j=[];g=[];for(b=0;b<J.length;++b){var o=J[b].color;o!=null&&(--e,typeof o=="number"?g.push(o):j.push(d.color.parse(J[b].color)))}for(b=0;b<g.length;++b)e=Math.max(e,g[b]+1);j=[];for(b=g=
+0;j.length<e;)o=l.colors.length==b?d.color.make(100,100,100):d.color.parse(l.colors[b]),o.scale("rgb",1+(g%2==1?-1:1)*Math.ceil(g/2)*0.2),j.push(o),++b,b>=l.colors.length&&(b=0,++g);for(b=e=0;b<J.length;++b){g=J[b];if(g.color==null)g.color=j[e].toString(),++e;else if(typeof g.color=="number")g.color=j[g.color].toString();if(g.lines.show==null){var P,o=!0;for(P in g)if(g[P]&&g[P].show){o=!1;break}if(o)g.lines.show=!0}g.xaxis=q(ia,K(g,"x"));g.yaxis=q(ka,K(g,"y"))}n()}function K(b,d){var j=b[d+"axis"];
+if(typeof j=="object")j=j.n;typeof j!="number"&&(j=1);return j}function I(){return d.grep(ia.concat(ka),function(b){return b})}function G(b){var d={},j,e;for(j=0;j<ia.length;++j)(e=ia[j])&&e.used&&(d["x"+e.n]=e.c2p(b.left));for(j=0;j<ka.length;++j)(e=ka[j])&&e.used&&(d["y"+e.n]=e.c2p(b.top));if(d.x1!==void 0)d.x=d.x1;if(d.y1!==void 0)d.y=d.y1;return d}function q(b,e){b[e-1]||(b[e-1]={n:e,direction:b==ia?"x":"y",options:d.extend(!0,{},b==ia?l.xaxis:l.yaxis)});return b[e-1]}function n(){function b(f,
+d,j){if(d<f.datamin&&d!=-g)f.datamin=d;if(j>f.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;o<J.length;++o)q=J[o],q.datapoints={points:[]},A(ta.processRawData,[q,q.data,q.datapoints]);for(o=0;o<J.length;++o){q=J[o];var z=q.data,y=q.datapoints.format;if(!y){y=[];y.push({x:!0,number:!0,required:!0});y.push({y:!0,number:!0,required:!0});if(q.bars.show||q.lines.show&&
+q.lines.fill)if(y.push({y:!0,number:!0,required:!1,defaultValue:0}),q.bars.horizontal)delete y[y.length-1].y,y[y.length-1].x=!0;q.datapoints.format=y}if(q.datapoints.pointsize==null){q.datapoints.pointsize=y.length;r=q.datapoints.pointsize;u=q.datapoints.points;insertSteps=q.lines.show&&q.lines.steps;q.xaxis.used=q.yaxis.used=!0;for(l=n=0;l<z.length;++l,n+=r){x=z[l];var ua=x==null;if(!ua)for(p=0;p<r;++p){t=x[p];if(w=y[p])if(w.number&&t!=null&&(t=+t,isNaN(t)?t=null:t==Infinity?t=g:t==-Infinity&&(t=
+-g)),t==null&&(w.required&&(ua=!0),w.defaultValue!=null))t=w.defaultValue;u[n+p]=t}if(ua)for(p=0;p<r;++p)t=u[n+p],t!=null&&(w=y[p],w.x&&b(q.xaxis,t,t),w.y&&b(q.yaxis,t,t)),u[n+p]=null;else if(insertSteps&&n>0&&u[n-r]!=null&&u[n-r]!=u[n]&&u[n-r+1]!=u[n+1]){for(p=0;p<r;++p)u[n+r+p]=u[n+p];u[n+1]=u[n-r+1];n+=r}}}}for(o=0;o<J.length;++o)q=J[o],A(ta.processDatapoints,[q,q.datapoints]);for(o=0;o<J.length;++o){q=J[o];u=q.datapoints.points;r=q.datapoints.pointsize;y=q.datapoints.format;x=n=e;ua=z=j;for(l=
+0;l<u.length;l+=r)if(u[l]!=null)for(p=0;p<r;++p)if(t=u[l+p],(w=y[p])&&!(t==g||t==-g))w.x&&(t<n&&(n=t),t>z&&(z=t)),w.y&&(t<x&&(x=t),t>ua&&(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<J.length;++j)b=
+Math.max(b,2*(J[j].points.radius+J[j].points.lineWidth/2));e.x=e.y=Math.ceil(b);d.each(I(),function(b,f){var d=f.direction;f.reserveSpace&&(e[d]=Math.ceil(Math.max(e[d],(d=="x"?f.labelWidth:f.labelHeight)/2)))});E.left=Math.max(e.x,E.left);E.right=Math.max(e.x,E.right);E.top=Math.max(e.y,E.top);E.bottom=Math.max(e.y,E.bottom)}function X(){var b,e=I();b=l.grid.show;for(var j in E)E[j]=b?l.grid.borderWidth:0;d.each(e,function(b,f){f.show=f.options.show;if(f.show==null)f.show=f.used;f.reserveSpace=f.show||
+f.options.reserveSpace;var d=f.options,j=+(d.min!=null?d.min:f.datamin),e=+(d.max!=null?d.max:f.datamax),g=e-j;if(g==0){if(g=e==0?1:0.01,d.min==null&&(j-=g),d.max==null||d.min!=null)e+=g}else{var v=d.autoscaleMargin;v!=null&&(d.min==null&&(j-=g*v,j<0&&f.datamin!=null&&f.datamin>=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;j<e.length;++j){var v=null,l=e[j];typeof l=="object"?(g=+l[0],l.length>1&&(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<j.length;++q){var p=j[q];p.lines=[];p.width=p.height=0;if(p.label){for(var u=p.label.replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n"),t=0;t<u.length;++t){var r={text:u[t]},x=w.measureText(r.text);r.width=
+x.width;r.height=x.height!=null?x.height:l.size;r.height+=Math.round(l.size*0.15);p.width=Math.max(r.width,p.width);p.height+=r.height;p.lines.push(r)}e.labelWidth==null&&(g=Math.max(g,p.width));e.labelHeight==null&&(v=Math.max(v,p.height))}}w.restore();f.labelWidth=Math.ceil(g);f.labelHeight=Math.ceil(v)});for(b=j.length-1;b>=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<n.length-1;++o)if(j<(n[o][0]*p[n[o][1]]+n[o+1][0]*p[n[o+1][1]])/2&&n[o][0]*p[n[o][1]]>=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(l<b.max&&l!=n);return f};g=function(b,f){var j=new Date(b);if(e.timeformat!=null)return d.plot.formatDate(j,e.timeformat,e.monthNames);
+var g=f.tickSize[0]*p[f.tickSize[1]],o=f.max-f.min,l=e.twelveHourClock?" %p":"";fmt=g<p.minute?"%h:%M:%S"+l:g<p.day?o<2*p.day?"%h:%M"+l:"%b %d %h:%M"+l:g<p.month?"%b %d":g<p.year?o<p.year?"%b":"%b %y":"%y";return d.plot.formatDate(j,fmt,e.monthNames)}}else{l=e.tickDecimals;var q=-Math.floor(Math.log(j)/Math.LN10);l!=null&&q>l&&(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&&g<e.minTickSize)g=e.minTickSize;
+b.tickDecimals=Math.max(0,l!=null?l:q);b.tickSize=e.tickSize||g;o=function(b){var f=[],d=F(b.min,b.tickSize),e=0,j=Number.NaN,g;do g=j,j=d+e*b.tickSize,f.push(j),++e;while(j<b.max&&j!=g);return f};g=function(b,f){return b.toFixed(f.tickDecimals)}}if(e.alignTicksWithAxis!=null){var t=(b.direction=="x"?ia:ka)[e.alignTicksWithAxis-1];if(t&&t.used&&t!=b){o=o(b);if(o.length>0){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;e<t.ticks.length;++e)d=(t.ticks[e].v-t.min)/(t.max-t.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),n=o(b),!(n.length>1&&/\..*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;d<J.length;++d){A(ta.drawSeries,[w,J[d]]);var e=J[d];e.lines.show&&va(e);e.bars.show&&Z(e);e.points.show&&y(e)}A(ta.draw,[w]);b.show&&b.aboveData&&(ha(),qa())}function O(b,d){var e,g,o,l,n=I();for(i=0;i<n.length;++i)if(e=n[i],e.direction==d&&(l=d+e.n+"axis",!b[l]&&e.n==1&&(l=d+"axis"),b[l])){g=b[l].from;o=b[l].to;break}b[l]||(e=d=="x"?ia[0]:ka[0],g=b[d+
+"1"],o=b[d+"2"]);g!=null&&o!=null&&g>o&&(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;b<e.length;++b){var j=e[b],g=O(j,"x"),o=O(j,"y");if(g.from==null)g.from=g.axis.min;if(g.to==null)g.to=g.axis.max;if(o.from==null)o.from=o.axis.min;if(o.to==null)o.to=o.axis.max;if(!(g.to<g.axis.min||g.from>g.axis.max||
+o.to<o.axis.min||o.from>o.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;g<j.length;++g){o=j[g];b=o.box;var n=o.tickLength,p,q,t,u;if(o.show&&o.ticks.length!=0){w.strokeStyle=o.options.tickColor||d.color.parse(o.options.color).scale("a",0.22).toString();w.lineWidth=1;o.direction=="x"?(p=0,q=n=="full"?o.position=="top"?0:sa:b.top-E.top+(o.position=="top"?b.height:0)):(q=0,p=n=="full"?o.position=="left"?0:xa:b.left-E.left+(o.position=="left"?b.width:0));o.innermost||
+(w.beginPath(),t=u=0,o.direction=="x"?t=xa:u=sa,w.lineWidth==1&&(p=Math.floor(p)+0.5,q=Math.floor(q)+0.5),w.moveTo(p,q),w.lineTo(p+t,q+u),w.stroke());w.beginPath();for(b=0;b<o.ticks.length;++b){var r=o.ticks[b].v;t=u=0;r<o.min||r>o.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;g<e.ticks.length;++g){var o=e.ticks[g];if(o.label&&!(o.v<e.min||o.v>e.max))for(var l,n,p=0,q,t=0;t<o.lines.length;++t)q=o.lines[t],e.direction==
+"x"?(l=E.left+e.p2c(o.v)-q.width/2,n=e.position=="bottom"?j.top+j.padding:j.top+j.height-j.padding-o.height):(n=E.top+e.p2c(o.v)-o.height/2,l=e.position=="left"?j.left+j.width-j.padding-q.width:j.left+j.padding),n+=q.height/2+p,p+=q.height,d.browser.opera&&(l=Math.floor(l),n=Math.ceil(n-2)),w.fillText(q.text,l,n)}}});w.restore()}function va(f){function e(b,f,d,j,g){var o=b.points,b=b.pointsize,l=null,n=null;w.beginPath();for(var p=b;p<o.length;p+=b){var v=o[p-b],q=o[p-b+1],t=o[p],u=o[p+1];if(!(v==
+null||t==null)){if(q<=u&&q<g.min){if(u<g.min)continue;v=(g.min-q)/(u-q)*(t-v)+v;q=g.min}else if(u<=q&&u<g.min){if(q<g.min)continue;t=(g.min-q)/(u-q)*(t-v)+v;u=g.min}if(q>=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<j.min){if(t<j.min)continue;q=(j.min-v)/(t-v)*(u-q)+q;v=j.min}else if(t<=v&&t<j.min){if(v<j.min)continue;u=(j.min-v)/(t-v)*(u-q)+q;t=j.min}if(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<f.min){if(u<f.min)continue;t=(f.min-p)/(u-p)*(r-t)+t;p=f.min}else if(u<=p&&u<f.min){if(p<f.min)continue;r=(f.min-p)/(u-p)*(r-t)+t;u=f.min}if(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&&r>=e.min)p=(e.min-t)/(r-t)*(u-p)+p,t=e.min;else if(r<=t&&r<e.min&&t>=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;v<p.length;v+=b){var q=p[v],t=p[v+1];if(!(q==null||q<o.min||q>o.max||t<l.min||t>l.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,b<u&&(e=b,b=u,u=e,x=!0,w=!1)):(x=w=z=!0,y=!1,u=b+g,b+=o,o=d,d=e,d<o&&(e=d,d=o,o=e,y=!0,z=!1));if(!(b<p.min||u>p.max||d<q.min||o>q.max)){if(u<p.min)u=p.min,x=!1;if(b>p.max)b=p.max,w=!1;if(o<q.min)o=q.min,y=!1;if(d>q.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<q.length;t+=b)q[t]!=null&&T(q[t],q[t+1],q[t+2],e,d,g,l,n,p,w,f.bars.horizontal,f.bars.lineWidth)})(f.datapoints,e,e+f.bars.barWidth,0,f.bars.fill?function(e,d){return b(f.bars,f.color,e,d)}:null,f.xaxis,f.yaxis);w.restore()}function b(b,e,j,g){var o=b.fill;if(!o)return null;if(b.fillColor)return z(b.fillColor,j,g,e);b=d.color.parse(e);b.a=typeof o=="number"?o:0.4;b.normalize();return b.toString()}function aa(){g.find(".legend").remove();if(l.legend.show){for(var b=
+[],e=!1,j=l.legend.labelFormatter,n,o,q=0;q<J.length;++q)if(n=J[q],o=n.label)q%l.legend.noColumns==0&&(e&&b.push("</tr>"),b.push("<tr>"),e=!0),j&&(o=j(o,n)),b.push('<td class="legendColorBox"><div style="border:1px solid '+l.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+n.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+o+"</td>");e&&b.push("</tr>");if(b.length!=0)if(e='<table style="font-size:smaller;color:'+l.grid.color+'">'+b.join("")+
+"</table>",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('<div class="legend">'+e.replace('style="','style="position:absolute;'+b+";")+"</div>").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('<div style="position:absolute;width:'+n.width()+"px;height:"+n.height()+"px;"+b+"background-color:"+j+';"> </div>').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;w<A.length;w+=Q){var V=A[w],S=A[w+1];if(V!=null&&!(V-F>R||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<u&&(u=S,r=[x,w/Q])}if(z.bars.show&&!r){y=z.bars.align=="left"?0:-z.bars.barWidth/2;z=y+z.bars.barWidth;for(w=0;w<A.length;w+=Q)if(V=A[w],S=A[w+1],C=A[w+2],V!=null&&(J[x].bars.horizontal?F<=Math.max(C,V)&&F>=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;n<ya.length;++n)o=ya[n],o.auto==b&&(!d||!(o.series==d.series&&o.point[0]==d.datapoint[0]&&o.point[1]==d.datapoint[1]))&&Ja(o.series,o.point);d&&wa(d.series,d.datapoint,b)}g.trigger(b,[t,d])}function ca(){var b=l.interaction.redrawOverlayInterval;
+b==-1?ra():Ea||(Ea=setTimeout(ra,b))}function ra(){Ea=null;ea.save();ea.clearRect(0,0,fa,la);ea.translate(E.left,E.top);var b,e;for(b=0;b<ya.length;++b)if(e=ya[b],e.series.bars.show)u(e.series,e.point);else{var j=e.series,g=e.point;e=g[0];var g=g[1],o=j.xaxis,l=j.yaxis;if(!(e<o.min||e>o.max||g<l.min||g>l.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<ya.length;++d){var g=ya[d];if(g.series==b&&g.point[0]==e[0]&&g.point[1]==e[1])return d}return-1}function u(b,e){ea.lineWidth=b.bars.lineWidth;ea.strokeStyle=d.color.parse(b.color).scale("a",0.5).toString();var j=d.color.parse(b.color).scale("a",0.5).toString(),g=b.bars.align=="left"?0:-b.bars.barWidth/2;T(e[0],e[1],e[2]||0,g,g+b.bars.barWidth,0,function(){return j},b.xaxis,b.yaxis,ea,b.bars.horizontal,b.bars.lineWidth)}function z(b,e,j,g){if(typeof b=="string")return b;else{for(var e=
+w.createLinearGradient(0,j,0,e),j=0,o=b.colors.length;j<o;++j){var l=b.colors[j];if(typeof l!="string"){var n=d.color.parse(g);l.brightness!=null&&(n=n.scale("rgb",l.brightness));l.opacity!=null&&(n.a*=l.opacity);l=n.toString()}e.addColorStop(j/(o-1),l)}return e}}var J=[],l={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{show:null,
position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:!1},yaxis:{autoscaleMargin:0.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},
-lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1},shadowSize:3},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1E3/60},hooks:{}},za=null,sa=null,
-pa=null,x=null,da=null,ia=[],la=[],E={left:0,right:0,top:0,bottom:0},ea=0,ma=0,xa=0,ta=0,ua={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},T=this;T.setData=G;T.setupGrid=U;T.draw=ga;T.getPlaceholder=function(){return b};T.getCanvas=function(){return za};T.getPlotOffset=function(){return E};T.width=function(){return xa};T.height=function(){return ta};T.offset=function(){var a=pa.offset();a.left+=E.left;a.top+=E.top;return a};
-T.getData=function(){return J};T.getAxes=function(){var b={};a.each(ia.concat(la),function(a,d){d&&(b[d.direction+(d.n!=1?d.n:"")+"axis"]=d)});return b};T.getXAxes=function(){return ia};T.getYAxes=function(){return la};T.c2p=B;T.p2c=function(a){var b={},d,e,f;for(d=0;d<ia.length;++d)if((e=ia[d])&&e.used)if(f="x"+e.n,a[f]==null&&e.n==1&&(f="x"),a[f]!=null){b.left=e.p2c(a[f]);break}for(d=0;d<la.length;++d)if((e=la[d])&&e.used)if(f="y"+e.n,a[f]==null&&e.n==1&&(f="y"),a[f]!=null){b.top=e.p2c(a[f]);break}return b};
-T.getOptions=function(){return n};T.highlight=wa;T.unhighlight=$;T.triggerRedrawOverlay=ca;T.pointOffset=function(a){return{left:parseInt(ia[D(a,"x")-1].p2c(+a.x)+E.left),top:parseInt(la[D(a,"y")-1].p2c(+a.y)+E.top)}};T.shutdown=function(){Da&&clearTimeout(Da);pa.unbind("mousemove",ba);pa.unbind("mouseleave",F);pa.unbind("click",oa);A(ua.shutdown,[pa])};T.resize=function(){fa();R(za);R(sa)};T.hooks=ua;(function(){for(var b=0;b<k.length;++b){var d=k[b];d.init(T);d.options&&a.extend(!0,n,d.options)}})(T);
-(function(b){a.extend(!0,n,b);if(n.xaxis.color==null)n.xaxis.color=n.grid.color;if(n.yaxis.color==null)n.yaxis.color=n.grid.color;if(n.xaxis.tickColor==null)n.xaxis.tickColor=n.grid.tickColor;if(n.yaxis.tickColor==null)n.yaxis.tickColor=n.grid.tickColor;if(n.grid.borderColor==null)n.grid.borderColor=n.grid.color;if(n.grid.tickColor==null)n.grid.tickColor=a.color.parse(n.grid.color).scale("a",0.22).toString();for(b=0;b<Math.max(1,n.xaxes.length);++b)n.xaxes[b]=a.extend(!0,{},n.xaxis,n.xaxes[b]);for(b=
-0;b<Math.max(1,n.yaxes.length);++b)n.yaxes[b]=a.extend(!0,{},n.yaxis,n.yaxes[b]);if(n.xaxis.noTicks&&n.xaxis.ticks==null)n.xaxis.ticks=n.xaxis.noTicks;if(n.yaxis.noTicks&&n.yaxis.ticks==null)n.yaxis.ticks=n.yaxis.noTicks;if(n.x2axis)n.xaxes[1]=a.extend(!0,{},n.xaxis,n.x2axis),n.xaxes[1].position="top";if(n.y2axis)n.yaxes[1]=a.extend(!0,{},n.yaxis,n.y2axis),n.yaxes[1].position="right";if(n.grid.coloredAreas)n.grid.markings=n.grid.coloredAreas;if(n.grid.coloredAreasColor)n.grid.markingsColor=n.grid.coloredAreasColor;
-n.lines&&a.extend(!0,n.series.lines,n.lines);n.points&&a.extend(!0,n.series.points,n.points);n.bars&&a.extend(!0,n.series.bars,n.bars);if(n.shadowSize!=null)n.series.shadowSize=n.shadowSize;for(b=0;b<n.xaxes.length;++b)z(ia,b+1).options=n.xaxes[b];for(b=0;b<n.yaxes.length;++b)z(la,b+1).options=n.yaxes[b];for(var d in ua)n.hooks[d]&&n.hooks[d].length&&(ua[d]=ua[d].concat(n.hooks[d]));A(ua.processOptions,[n])})(l);(function(){var d;d=b.children("canvas.flot-base");var e=b.children("canvas.flot-overlay");
-d.length==0||e==0?(b.html(""),b.css({padding:0}),b.css("position")=="static"&&b.css("position","relative"),fa(),za=C(!0,"flot-base"),sa=C(!1,"flot-overlay"),d=!1):(za=d.get(0),sa=e.get(0),d=!0);x=za.getContext("2d");da=sa.getContext("2d");pa=a(sa);d&&(b.data("plot").shutdown(),T.resize(),da.clearRect(0,0,ea,ma),pa.unbind(),b.children().not([za,sa]).remove());b.data("plot",T)})();G(j);U();ga();n.grid.hoverable&&(pa.mousemove(ba),pa.mouseleave(F));n.grid.clickable&&pa.click(oa);A(ua.bindEvents,[pa]);
-var ya=[],Da=null}function e(a,b){return b*Math.floor(a/b)}a.plot=function(e,j,l){return new b(a(e),j,l,a.plot.plugins)};a.plot.version="0.7";a.plot.plugins=[];a.plot.formatDate=function(a,b,e){var k=function(a){a=""+a;return a.length==1?"0"+a:a},A=[],G=!1,D=!1,L=a.getUTCHours(),B=L<12;e==null&&(e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);b.search(/%p|%P/)!=-1&&(L>12?L-=12:L==0&&(L=12));for(var z=0;z<b.length;++z){var s=b.charAt(z);if(G){switch(s){case "h":s=""+L;
-break;case "H":s=k(L);break;case "M":s=k(a.getUTCMinutes());break;case "S":s=k(a.getUTCSeconds());break;case "d":s=""+a.getUTCDate();break;case "m":s=""+(a.getUTCMonth()+1);break;case "y":s=""+a.getUTCFullYear();break;case "b":s=""+e[a.getUTCMonth()];break;case "p":s=B?"am":"pm";break;case "P":s=B?"AM":"PM";break;case "0":s="",D=!0}s&&D&&(s=k(s),D=!1);A.push(s);D||(G=!1)}else s=="%"?G=!0:A.push(s)}return A.join("")}})(jQuery);
+lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1},shadowSize:3},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1E3/60},hooks:{}},Aa=null,da=null,
+pa=null,w=null,ea=null,ia=[],ka=[],E={left:0,right:0,top:0,bottom:0},fa=0,la=0,xa=0,sa=0,ta={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},U=this;U.setData=N;U.setupGrid=X;U.draw=ga;U.getPlaceholder=function(){return g};U.getCanvas=function(){return Aa};U.getPlotOffset=function(){return E};U.width=function(){return xa};U.height=function(){return sa};U.offset=function(){var b=pa.offset();b.left+=E.left;b.top+=E.top;return b};
+U.getData=function(){return J};U.getAxes=function(){var b={};d.each(ia.concat(ka),function(e,d){d&&(b[d.direction+(d.n!=1?d.n:"")+"axis"]=d)});return b};U.getXAxes=function(){return ia};U.getYAxes=function(){return ka};U.c2p=G;U.p2c=function(b){var e={},d,g,l;for(d=0;d<ia.length;++d)if((g=ia[d])&&g.used)if(l="x"+g.n,b[l]==null&&g.n==1&&(l="x"),b[l]!=null){e.left=g.p2c(b[l]);break}for(d=0;d<ka.length;++d)if((g=ka[d])&&g.used)if(l="y"+g.n,b[l]==null&&g.n==1&&(l="y"),b[l]!=null){e.top=g.p2c(b[l]);break}return e};
+U.getOptions=function(){return l};U.highlight=wa;U.unhighlight=Ja;U.triggerRedrawOverlay=ca;U.pointOffset=function(b){return{left:parseInt(ia[K(b,"x")-1].p2c(+b.x)+E.left),top:parseInt(ka[K(b,"y")-1].p2c(+b.y)+E.top)}};U.shutdown=function(){Ea&&clearTimeout(Ea);pa.unbind("mousemove",ba);pa.unbind("mouseleave",D);pa.unbind("click",oa);A(ta.shutdown,[pa])};U.resize=function(){V();Q(Aa);Q(da)};U.hooks=ta;(function(){for(var b=0;b<r.length;++b){var e=r[b];e.init(U);e.options&&d.extend(!0,l,e.options)}})(U);
+(function(b){d.extend(!0,l,b);if(l.xaxis.color==null)l.xaxis.color=l.grid.color;if(l.yaxis.color==null)l.yaxis.color=l.grid.color;if(l.xaxis.tickColor==null)l.xaxis.tickColor=l.grid.tickColor;if(l.yaxis.tickColor==null)l.yaxis.tickColor=l.grid.tickColor;if(l.grid.borderColor==null)l.grid.borderColor=l.grid.color;if(l.grid.tickColor==null)l.grid.tickColor=d.color.parse(l.grid.color).scale("a",0.22).toString();for(b=0;b<Math.max(1,l.xaxes.length);++b)l.xaxes[b]=d.extend(!0,{},l.xaxis,l.xaxes[b]);for(b=
+0;b<Math.max(1,l.yaxes.length);++b)l.yaxes[b]=d.extend(!0,{},l.yaxis,l.yaxes[b]);if(l.xaxis.noTicks&&l.xaxis.ticks==null)l.xaxis.ticks=l.xaxis.noTicks;if(l.yaxis.noTicks&&l.yaxis.ticks==null)l.yaxis.ticks=l.yaxis.noTicks;if(l.x2axis)l.xaxes[1]=d.extend(!0,{},l.xaxis,l.x2axis),l.xaxes[1].position="top";if(l.y2axis)l.yaxes[1]=d.extend(!0,{},l.yaxis,l.y2axis),l.yaxes[1].position="right";if(l.grid.coloredAreas)l.grid.markings=l.grid.coloredAreas;if(l.grid.coloredAreasColor)l.grid.markingsColor=l.grid.coloredAreasColor;
+l.lines&&d.extend(!0,l.series.lines,l.lines);l.points&&d.extend(!0,l.series.points,l.points);l.bars&&d.extend(!0,l.series.bars,l.bars);if(l.shadowSize!=null)l.series.shadowSize=l.shadowSize;for(b=0;b<l.xaxes.length;++b)q(ia,b+1).options=l.xaxes[b];for(b=0;b<l.yaxes.length;++b)q(ka,b+1).options=l.yaxes[b];for(var e in ta)l.hooks[e]&&l.hooks[e].length&&(ta[e]=ta[e].concat(l.hooks[e]));A(ta.processOptions,[l])})(B);(function(){var b;b=g.children("canvas.flot-base");var e=g.children("canvas.flot-overlay");
+b.length==0||e==0?(g.html(""),g.css({padding:0}),g.css("position")=="static"&&g.css("position","relative"),V(),Aa=t(!0,"flot-base"),da=t(!1,"flot-overlay"),b=!1):(Aa=b.get(0),da=e.get(0),b=!0);w=Aa.getContext("2d");ea=da.getContext("2d");pa=d(da);b&&(g.data("plot").shutdown(),U.resize(),ea.clearRect(0,0,fa,la),pa.unbind(),g.children().not([Aa,da]).remove());g.data("plot",U)})();N(C);X();ga();l.grid.hoverable&&(pa.mousemove(ba),pa.mouseleave(D));l.grid.clickable&&pa.click(oa);A(ta.bindEvents,[pa]);
+var ya=[],Ea=null}function F(d,g){return g*Math.floor(d/g)}d.plot=function(p,C,F){return new g(d(p),C,F,d.plot.plugins)};d.plot.version="0.7";d.plot.plugins=[];d.plot.formatDate=function(d,g,F){var r=function(d){d=""+d;return d.length==1?"0"+d:d},A=[],N=!1,K=!1,I=d.getUTCHours(),G=I<12;F==null&&(F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);g.search(/%p|%P/)!=-1&&(I>12?I-=12:I==0&&(I=12));for(var q=0;q<g.length;++q){var n=g.charAt(q);if(N){switch(n){case "h":n=""+I;
+break;case "H":n=r(I);break;case "M":n=r(d.getUTCMinutes());break;case "S":n=r(d.getUTCSeconds());break;case "d":n=""+d.getUTCDate();break;case "m":n=""+(d.getUTCMonth()+1);break;case "y":n=""+d.getUTCFullYear();break;case "b":n=""+F[d.getUTCMonth()];break;case "p":n=G?"am":"pm";break;case "P":n=G?"AM":"PM";break;case "0":n="",K=!0}n&&K&&(n=r(n),K=!1);A.push(n);K||(N=!1)}else n=="%"?N=!0:A.push(n)}return A.join("")}})(jQuery);
+// Input 3
+(function(d){d.plot.plugins.push({init:function(d){d.hooks.processDatapoints.push(function(d,g,C){if(g.stack!=null){for(var B,d=d.getData(),r=null,A=0;A<d.length;++A){if(g==d[A])break;d[A].stack==g.stack&&(r=d[A])}if(B=r){d=C.pointsize;r=C.points;A=B.datapoints.pointsize;B=B.datapoints.points;var N=[],K,I,G,q,n,t,V=g.lines.show;q=g.bars.horizontal;var Q=d>2&&(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<d;++m)N.push(r[x+m]);x+=d}else if(X>=B.length){if(!V)for(m=0;m<d;++m)N.push(r[x+m]);x+=d}else if(B[X]==null){for(m=0;m<d;++m)N.push(null);G=!0;X+=A}else{K=r[x+R];I=r[x+S];q=B[X+R];n=B[X+S];t=0;if(K==q){for(m=0;m<d;++m)N.push(r[x+m]);N[L+S]+=n;t=n;x+=d;X+=A}else if(K>q){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;m<d;++m)N.push(r[x+m]);t=n}X+=A}else{if(G&&V){x+=d;continue}for(m=0;m<d;++m)N.push(r[x+m]);V&&X>0&&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;m<d;++m)N[L+d+m]=N[L+m];N[L+1]=N[L-d+1]}}C.points=N}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})})(jQuery);
+// Input 4
+(function(d){d.plot.plugins.push({init:function(g){function F(d){G.active&&(A(d),g.getPlaceholder().trigger("plotselecting",[C()]))}function p(p){if(p.which==1){document.body.focus();if(document.onselectstart!==void 0&&q.onselectstart==null)q.onselectstart=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&q.ondrag==null)q.ondrag=document.ondrag,document.ondrag=function(){return!1};r(G.first,p);G.active=!0;n=function(d){n=null;if(document.onselectstart!==
+void 0)document.onselectstart=q.onselectstart;if(document.ondrag!==void 0)document.ondrag=q.ondrag;G.active=!1;A(d);I()?B():(g.getPlaceholder().trigger("plotunselected",[]),g.getPlaceholder().trigger("plotselecting",[null]))};d(document).one("mouseup",n)}}function C(){if(!I())return null;var n={},q=G.first,p=G.second;d.each(g.getAxes(),function(d,g){if(g.used){var r=g.c2p(q[g.direction]),A=g.c2p(p[g.direction]);n[d]={from:Math.min(r,A),to:Math.max(r,A)}}});return n}function B(){var d=C();g.getPlaceholder().trigger("plotselected",
+[d]);d.xaxis&&d.yaxis&&g.getPlaceholder().trigger("selected",[{x1:d.xaxis.from,y1:d.yaxis.from,x2:d.xaxis.to,y2:d.yaxis.to}])}function r(d,n){var q=g.getOptions(),p=g.getPlaceholder().offset(),r=g.getPlotOffset(),x=n.pageX-p.left-r.left,A=g.width();d.x=x<0?0:x>A?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);
// Input 5
-(function(a){a.plot.plugins.push({init:function(a){a.hooks.processDatapoints.push(function(a,b,j){if(b.stack!=null){for(var l,a=a.getData(),k=null,A=0;A<a.length;++A){if(b==a[A])break;a[A].stack==b.stack&&(k=a[A])}if(l=k){a=j.pointsize;k=j.points;A=l.datapoints.pointsize;l=l.datapoints.points;var G=[],D,L,B,z,s,C,fa=b.lines.show;z=b.bars.horizontal;var R=a>2&&(z?j.format[2].x:j.format[2].y),b=fa&&b.lines.steps;B=!0;for(var P=z?1:0,N=z?0:1,t=0,U=0,M;;){if(t>=k.length)break;M=G.length;if(k[t]==null){for(m=
-0;m<a;++m)G.push(k[t+m]);t+=a}else if(U>=l.length){if(!fa)for(m=0;m<a;++m)G.push(k[t+m]);t+=a}else if(l[U]==null){for(m=0;m<a;++m)G.push(null);B=!0;U+=A}else{D=k[t+P];L=k[t+N];z=l[U+P];s=l[U+N];C=0;if(D==z){for(m=0;m<a;++m)G.push(k[t+m]);G[M+N]+=s;C=s;t+=a;U+=A}else if(D>z){if(fa&&t>0&&k[t-a]!=null){B=L+(k[t-a+N]-L)*(z-D)/(k[t-a+P]-D);G.push(z);G.push(B+s);for(m=2;m<a;++m)G.push(k[t+m]);C=s}U+=A}else{if(B&&fa){t+=a;continue}for(m=0;m<a;++m)G.push(k[t+m]);fa&&U>0&&l[U-A]!=null&&(C=s+(l[U-A+N]-s)*(D-
-z)/(l[U-A+P]-z));G[M+N]+=C;t+=a}B=!1;M!=G.length&&R&&(G[M+2]+=C)}if(b&&M!=G.length&&M>0&&G[M]!=null&&G[M]!=G[M-a]&&G[M+1]!=G[M-a+1]){for(m=0;m<a;++m)G[M+a+m]=G[M+m];G[M+1]=G[M-a+1]}}j.points=G}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})})(jQuery);
-// Input 6
-(function(a){a.plot.plugins.push({init:function(b){function e(a){B.active&&(A(a),b.getPlaceholder().trigger("plotselecting",[j()]))}function f(e){if(e.which==1){document.body.focus();if(document.onselectstart!==void 0&&z.onselectstart==null)z.onselectstart=document.onselectstart,document.onselectstart=function(){return!1};if(document.ondrag!==void 0&&z.ondrag==null)z.ondrag=document.ondrag,document.ondrag=function(){return!1};k(B.first,e);B.active=!0;s=function(a){s=null;if(document.onselectstart!==
-void 0)document.onselectstart=z.onselectstart;if(document.ondrag!==void 0)document.ondrag=z.ondrag;B.active=!1;A(a);L()?l():(b.getPlaceholder().trigger("plotunselected",[]),b.getPlaceholder().trigger("plotselecting",[null]))};a(document).one("mouseup",s)}}function j(){if(!L())return null;var e={},f=B.first,j=B.second;a.each(b.getAxes(),function(a,b){if(b.used){var k=b.c2p(f[b.direction]),l=b.c2p(j[b.direction]);e[a]={from:Math.min(k,l),to:Math.max(k,l)}}});return e}function l(){var a=j();b.getPlaceholder().trigger("plotselected",
-[a]);a.xaxis&&a.yaxis&&b.getPlaceholder().trigger("selected",[{x1:a.xaxis.from,y1:a.yaxis.from,x2:a.xaxis.to,y2:a.yaxis.to}])}function k(a,e){var f=b.getOptions(),j=b.getPlaceholder().offset(),k=b.getPlotOffset(),l=e.pageX-j.left-k.left,s=b.width();a.x=l<0?0:l>s?s:l;j=e.pageY-j.top-k.top;k=b.height();a.y=j<0?0:j>k?k:j;if(f.selection.mode=="y")a.x=a==B.first?0:b.width();if(f.selection.mode=="x")a.y=a==B.first?0:b.height()}function A(a){if(a.pageX!=null)k(B.second,a),L()?(B.show=!0,b.triggerRedrawOverlay()):
-G(!0)}function G(a){if(B.show)B.show=!1,b.triggerRedrawOverlay(),a||b.getPlaceholder().trigger("plotunselected",[])}function D(a,e){var f,j,k,l,s=b.getAxes(),z;for(z in s)if(f=s[z],f.direction==e&&(l=e+f.n+"axis",!a[l]&&f.n==1&&(l=e+"axis"),a[l])){j=a[l].from;k=a[l].to;break}a[l]||(f=e=="x"?b.getXAxes()[0]:b.getYAxes()[0],j=a[e+"1"],k=a[e+"2"]);j!=null&&k!=null&&j>k&&(l=j,j=k,k=l);return{from:j,to:k,axis:f}}function L(){return Math.abs(B.second.x-B.first.x)>=5&&Math.abs(B.second.y-B.first.y)>=5}var B=
-{first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},z={},s=null;b.clearSelection=G;b.setSelection=function(a,e){var f,j=b.getOptions();j.selection.mode=="y"?(B.first.x=0,B.second.x=b.width()):(f=D(a,"x"),B.first.x=f.axis.p2c(f.from),B.second.x=f.axis.p2c(f.to));j.selection.mode=="x"?(B.first.y=0,B.second.y=b.height()):(f=D(a,"y"),B.first.y=f.axis.p2c(f.from),B.second.y=f.axis.p2c(f.to));B.show=!0;b.triggerRedrawOverlay();!e&&L()&&l()};b.getSelection=j;b.hooks.bindEvents.push(function(a,b){a.getOptions().selection.mode!=
-null&&(b.mousemove(e),b.mousedown(f))});b.hooks.drawOverlay.push(function(b,e){if(B.show&&L()){var f=b.getPlotOffset(),j=b.getOptions();e.save();e.translate(f.left,f.top);f=a.color.parse(j.selection.color);e.strokeStyle=f.scale("a",0.8).toString();e.lineWidth=1;e.lineJoin="round";e.fillStyle=f.scale("a",0.4).toString();var f=Math.min(B.first.x,B.second.x),j=Math.min(B.first.y,B.second.y),k=Math.abs(B.second.x-B.first.x),l=Math.abs(B.second.y-B.first.y);e.fillRect(f,j,k,l);e.strokeRect(f,j,k,l);e.restore()}});
-b.hooks.shutdown.push(function(b,j){j.unbind("mousemove",e);j.unbind("mousedown",f);s&&a(document).unbind("mouseup",s)})},options:{selection:{mode:null,color:"#e8cfac"}},name:"selection",version:"1.1"})})(jQuery);
-// Input 7
-function InvalidRRD(a){this.message=a;this.name="Invalid RRD"}InvalidRRD.prototype.toString=function(){return this.name+': "'+this.message+'"'};function RRDDS(a,b,e){this.rrd_data=a;this.rrd_data_idx=b;this.my_idx=e}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(a,b,e,f,j,l){this.rrd_data=a;this.rra_def_idx=b;this.rrd_align=e;this.row_cnt=f;this.pdp_step=j;this.my_idx=l}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,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};
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(a,b,e,f,j,l){this.rrd_data=a;this.rra_info=e;this.row_cnt=e.row_cnt;this.ds_cnt=l;var k=l*8;this.base_rrd_db_idx=f+j*k;this.cur_row=a.getLongAt(b);this.calc_idx=function(a,b){if(a>=0&&a<this.row_cnt)if(b>=0&&b<l){var e=a+this.cur_row+1;e>=this.row_cnt&&(e-=this.row_cnt);return k*e+b*8}else throw RangeError("DS idx ("+a+") out of range [0-"+l+").");else throw RangeError("Row idx ("+a+") 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(a,b){return this.rrd_data.getDoubleAt(this.base_rrd_db_idx+this.calc_idx(a,b))};RRDRRA.prototype.getElFast=function(a,b){return this.rrd_data.getFastDoubleAt(this.base_rrd_db_idx+this.calc_idx(a,b))};
-function RRDHeader(a){this.rrd_data=a;this.validate_rrd();this.load_header();this.calc_idxs()}
+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<this.row_cnt)if(g>=0&&g<B){var p=d+this.cur_row+1;p>=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 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 a=0;a<this.rra_cnt;a++)this.rra_def_row_cnts[a]=this.rrd_data.getLongAt(this.rra_def_idx+a*this.rra_def_el_size+this.row_cnt_idx,!1),this.rra_def_row_cnt_sums[a]=a==0?0:this.rra_def_row_cnt_sums[a-1]+this.rra_def_row_cnts[a-1]};RRDHeader.prototype.getMinStep=function(){return this.pdp_step};RRDHeader.prototype.getLastUpdate=function(){return this.rrd_data.getLongAt(this.live_head_idx,!1)};
-RRDHeader.prototype.getNrDSs=function(){return this.ds_cnt};RRDHeader.prototype.getDSNames=function(){for(var a=[],b=0;b<this.ds_cnt;b++){var e=this.getDSbyIdx(b).getName();a.push(e)}return a};RRDHeader.prototype.getDSbyIdx=function(a){if(a>=0&&a<this.ds_cnt)return new RRDDS(this.rrd_data,this.ds_def_idx+this.ds_el_size*a,a);else throw RangeError("DS idx ("+a+") out of range [0-"+this.ds_cnt+").");};
-RRDHeader.prototype.getDSbyName=function(a){for(var b=0;b<this.ds_cnt;b++){var e=this.getDSbyIdx(b);if(e.getName()==a)return e}throw RangeError("DS name "+a+" unknown.");};RRDHeader.prototype.getNrRRAs=function(){return this.rra_cnt};
-RRDHeader.prototype.getRRAInfo=function(a){if(a>=0&&a<this.rra_cnt)return new RRDRRAInfo(this.rrd_data,this.rra_def_idx+a*this.rra_def_el_size,this.rrd_align,this.rra_def_row_cnts[a],this.pdp_step,a);else throw RangeError("RRA idx ("+a+") out of range [0-"+this.rra_cnt+").");};
-function RRDFile(a){this.rrd_header=new RRDHeader(a);this.rrd_header.load_row_cnts();this.getMinStep=function(){return this.rrd_header.getMinStep()};this.getLastUpdate=function(){return this.rrd_header.getLastUpdate()};this.getNrDSs=function(){return this.rrd_header.getNrDSs()};this.getDSNames=function(){return this.rrd_header.getDSNames()};this.getDS=function(a){return typeof a=="number"?this.rrd_header.getDSbyIdx(a):this.rrd_header.getDSbyName(a)};this.getNrRRAs=function(){return this.rrd_header.getNrRRAs()};
-this.getRRAInfo=function(a){return this.rrd_header.getRRAInfo(a)};this.getRRA=function(b){rra_info=this.rrd_header.getRRAInfo(b);return new RRDRRA(a,this.rrd_header.rra_ptr_idx+b*this.rrd_header.rra_ptr_el_size,rra_info,this.rrd_header.header_size,this.rrd_header.rra_def_row_cnt_sums[b],this.rrd_header.ds_cnt)}};
-// Input 8
+RRDHeader.prototype.load_row_cnts=function(){this.rra_def_row_cnts=[];this.rra_def_row_cnt_sums=[];for(var d=0;d<this.rra_cnt;d++)this.rra_def_row_cnts[d]=this.rrd_data.getLongAt(this.rra_def_idx+d*this.rra_def_el_size+this.row_cnt_idx,!1),this.rra_def_row_cnt_sums[d]=d==0?0:this.rra_def_row_cnt_sums[d-1]+this.rra_def_row_cnts[d-1]};RRDHeader.prototype.getMinStep=function(){return this.pdp_step};RRDHeader.prototype.getLastUpdate=function(){return this.rrd_data.getLongAt(this.live_head_idx,!1)};
+RRDHeader.prototype.getNrDSs=function(){return this.ds_cnt};RRDHeader.prototype.getDSNames=function(){for(var d=[],g=0;g<this.ds_cnt;g++){var F=this.getDSbyIdx(g).getName();d.push(F)}return d};RRDHeader.prototype.getDSbyIdx=function(d){if(d>=0&&d<this.ds_cnt)return new RRDDS(this.rrd_data,this.ds_def_idx+this.ds_el_size*d,d);else throw RangeError("DS idx ("+d+") out of range [0-"+this.ds_cnt+").");};
+RRDHeader.prototype.getDSbyName=function(d){for(var g=0;g<this.ds_cnt;g++){var F=this.getDSbyIdx(g);if(F.getName()==d)return F}throw RangeError("DS name "+d+" unknown.");};RRDHeader.prototype.getNrRRAs=function(){return this.rra_cnt};
+RRDHeader.prototype.getRRAInfo=function(d){if(d>=0&&d<this.rra_cnt)return new RRDRRAInfo(this.rrd_data,this.rra_def_idx+d*this.rra_def_el_size,this.rrd_align,this.rra_def_row_cnts[d],this.pdp_step,d);else throw RangeError("RRA idx ("+d+") out of range [0-"+this.rra_cnt+").");};
+function RRDFile(d){this.rrd_header=new RRDHeader(d);this.rrd_header.load_row_cnts();this.getMinStep=function(){return this.rrd_header.getMinStep()};this.getLastUpdate=function(){return this.rrd_header.getLastUpdate()};this.getNrDSs=function(){return this.rrd_header.getNrDSs()};this.getDSNames=function(){return this.rrd_header.getDSNames()};this.getDS=function(d){return typeof d=="number"?this.rrd_header.getDSbyIdx(d):this.rrd_header.getDSbyName(d)};this.getNrRRAs=function(){return this.rrd_header.getNrRRAs()};
+this.getRRAInfo=function(d){return this.rrd_header.getRRAInfo(d)};this.getRRA=function(g){rra_info=this.rrd_header.getRRAInfo(g);return new RRDRRA(d,this.rrd_header.rra_ptr_idx+g*this.rrd_header.rra_ptr_el_size,rra_info,this.rrd_header.header_size,this.rrd_header.rra_def_row_cnt_sums[g],this.rrd_header.ds_cnt)}};
+// Input 6
/*
jQuery Tools @VERSION Dateinput - <input type="date" /> for humans
@@ -394,23 +332,23 @@ this.getRRAInfo=function(a){return this.rrd_header.getRRAInfo(a)};this.getRRA=fu
Since: Mar 2010
Date: @DATE
*/
-(function(a){function b(a,b){a=""+a;for(b=b||2;a.length<b;)a="0"+a;return a}function e(a,e,f){var j=a.getDate(),k=a.getDay(),l=a.getMonth(),a=a.getFullYear(),A={d:j,dd:b(j),ddd:D[f].shortDays[k],dddd:D[f].days[k],m:l+1,mm:b(l+1),mmm:D[f].shortMonths[l],mmmm:D[f].months[l],yy:String(a).slice(2),yyyy:a},e=e.replace(L,function(a){return a in A?A[a]:a.slice(1,a.length-1)});return B.html(e).html()}function f(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()==b.getMonth()&&a.getDate()==b.getDate()}
-function j(a){if(a!==void 0){if(a.constructor==Date)return a;if(typeof a=="string"){var b=a.split("-");if(b.length==3)return new Date(parseInt(b[0],10),parseInt(b[1],10)-1,parseInt(b[2],10));if(!/^-?\d+$/.test(a))return;a=parseInt(a,10)}b=new Date;b.setDate(b.getDate()+a);return b}}function l(b,l){function C(d,f,j){X=d;va=d.getFullYear();v=d.getMonth();S=d.getDate();j=j||a.Event("api");j.type="change";oa.trigger(j,[d]);j.isDefaultPrevented()||(b.val(e(d,f.format,f.lang)),b.data("date",d),B.hide(j))}
-function A(d){d.type="onShow";oa.trigger(d);a(document).bind("keydown.d",function(d){if(d.ctrlKey)return!0;var e=d.keyCode;if(e==8)return b.val(""),B.hide(d);if(e==27||e==9)return B.hide(d);if(a(G).index(e)>=0){if(!ba)return B.show(d),d.preventDefault();var f=a("#"+t.weeks+" a"),j=a("."+t.focus),k=f.index(j);j.removeClass(t.focus);if(e==74||e==40)k+=7;else if(e==75||e==38)k-=7;else if(e==76||e==39)k+=1;else if(e==72||e==37)k-=1;k>41?(B.addMonth(),j=a("#"+t.weeks+" a:eq("+(k-42)+")")):k<0?(B.addMonth(-1),
-j=a("#"+t.weeks+" a:eq("+(k+42)+")")):j=f.eq(k);j.addClass(t.focus);return d.preventDefault()}if(e==34)return B.addMonth();if(e==33)return B.addMonth(-1);if(e==36)return B.today();e==13&&(a(d.target).is("select")||a("."+t.focus).click());return a([16,17,18,9]).index(e)>=0});a(document).bind("click.d",function(d){var e=d.target;!a(e).parents("#"+t.root).length&&e!=b[0]&&(!O||e!=O[0])&&B.hide(d)})}var B=this,L=new Date,N=L.getFullYear(),t=l.css,U=D[l.lang],M=a("#"+t.root),ga=M.find("#"+t.title),O,ha,
-qa,va,v,S,X=b.attr("data-value")||l.value||b.val(),d=b.attr("min")||l.min,aa=b.attr("max")||l.max,ba,F;d===0&&(d="0");X=j(X)||L;d=j(d||new Date(N+l.yearRange[0],1,1));aa=j(aa||new Date(N+l.yearRange[1]+1,1,-1));if(!U)throw"Dateinput: invalid language: "+l.lang;b.attr("type")=="date"&&(F=b.clone(),N=F.wrap("<div/>").parent().html(),N=a(N.replace(/type/i,"type=text data-orig-type")),N.val(l.value),b.replaceWith(N),b=N);b.addClass(t.input);var oa=b.add(B);if(!M.length){M=a("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",
-t.root);M.children().eq(0).attr("id",t.head).end().eq(1).attr("id",t.body).children().eq(0).attr("id",t.days).end().eq(1).attr("id",t.weeks).end().end().end().find("a").eq(0).attr("id",t.prev).end().eq(1).attr("id",t.next);ga=M.find("#"+t.head).find("div").attr("id",t.title);if(l.selectors){var ka=a("<select/>").attr("id",t.month),ca=a("<select/>").attr("id",t.year);ga.html(ka.add(ca))}for(var N=M.find("#"+t.days),ra=0;ra<7;ra++)N.append(a("<span/>").text(U.shortDays[(ra+l.firstDay)%7]));a("body").append(M)}l.trigger&&
-(O=a("<a/>").attr("href","#").addClass(t.trigger).click(function(a){B.show();return a.preventDefault()}).insertAfter(b));var wa=M.find("#"+t.weeks),ca=M.find("#"+t.year),ka=M.find("#"+t.month);a.extend(B,{show:function(d){if(!b.attr("readonly")&&!b.attr("disabled")&&!ba&&(d=d||a.Event(),d.type="onBeforeShow",oa.trigger(d),!d.isDefaultPrevented())){a.each(k,function(){this.hide()});ba=!0;ka.unbind("change").change(function(){B.setValue(ca.val(),a(this).val())});ca.unbind("change").change(function(){B.setValue(a(this).val(),
-ka.val())});ha=M.find("#"+t.prev).unbind("click").click(function(){ha.hasClass(t.disabled)||B.addMonth(-1);return!1});qa=M.find("#"+t.next).unbind("click").click(function(){qa.hasClass(t.disabled)||B.addMonth();return!1});B.setValue(X);var e=b.offset();/iPad/i.test(navigator.userAgent)&&(e.top-=a(window).scrollTop());M.css({top:e.top+b.outerHeight({margins:!0})+l.offset[0],left:e.left+l.offset[1]});l.speed?M.show(l.speed,function(){A(d)}):(M.show(),A(d));return B}},setValue:function(b,e,k){var z=
-parseInt(e,10)>=-1?new Date(parseInt(b,10),parseInt(e,10),parseInt(k||1,10)):b||X;z<d?z=d:z>aa&&(z=aa);typeof b=="string"&&(z=j(b));b=z.getFullYear();e=z.getMonth();k=z.getDate();e==-1?(e=11,b--):e==12&&(e=0,b++);if(!ba)return C(z,l),B;v=e;va=b;var k=(new Date(b,e,1-l.firstDay)).getDay(),A=32-(new Date(b,e,32)).getDate(),n=32-(new Date(b,e-1,32)).getDate(),F;if(l.selectors){ka.empty();a.each(U.months,function(e,f){d<new Date(b,e+1,-1)&&aa>new Date(b,e,0)&&ka.append(a("<option/>").html(f).attr("value",
-e))});ca.empty();for(var z=L.getFullYear(),D=z+l.yearRange[0];D<z+l.yearRange[1];D++)d<=new Date(D+1,-1,1)&&aa>new Date(D,0,0)&&ca.append(a("<option/>").text(D));ka.val(e);ca.val(b)}else ga.html(U.months[e]+" "+b);wa.empty();ha.add(qa).removeClass(t.disabled);for(var D=!k?-7:0,G,x;D<(!k?35:42);D++)G=a("<a/>"),D%7===0&&(F=a("<div/>").addClass(t.week),wa.append(F)),D<k?(G.addClass(t.off),x=n-k+D+1,z=new Date(b,e-1,x)):D>=k+A?(G.addClass(t.off),x=D-A-k+1,z=new Date(b,e+1,x)):(x=D-k+1,z=new Date(b,e,
-x),f(X,z)?G.attr("id",t.current).addClass(t.focus):f(L,z)&&G.attr("id",t.today)),d&&z<d&&G.add(ha).addClass(t.disabled),aa&&z>aa&&G.add(qa).addClass(t.disabled),G.attr("href","#"+x).text(x).data("date",z),F.append(G);wa.find("a").click(function(b){var d=a(this);d.hasClass(t.disabled)||(a("#"+t.current).removeAttr("id"),d.attr("id",t.current),C(d.data("date"),l,b));return!1});t.sunday&&wa.find(t.week).each(function(){var b=l.firstDay?7-l.firstDay:0;a(this).children().slice(b,b+1).addClass(t.sunday)});
-return B},setMin:function(a,b){d=j(a);b&&X<d&&B.setValue(d);return B},setMax:function(a,b){aa=j(a);b&&X>aa&&B.setValue(aa);return B},today:function(){return B.setValue(L)},addDay:function(a){return this.setValue(va,v,S+(a||1))},addMonth:function(a){return this.setValue(va,v+(a||1),S)},addYear:function(a){return this.setValue(va+(a||1),v,S)},destroy:function(){b.add(document).unbind("click.d").unbind("keydown.d");M.add(O).remove();b.removeData("dateinput").removeClass(t.input);F&&b.replaceWith(F)},
-hide:function(b){if(ba){b=a.Event();b.type="onHide";oa.trigger(b);a(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;M.hide();ba=!1}return B},getConf:function(){return l},getInput:function(){return b},getCalendar:function(){return M},getValue:function(a){return a?e(X,a,l.lang):X},isOpen:function(){return ba}});a.each(["onBeforeShow","onShow","change","onHide"],function(b,d){a.isFunction(l[d])&&a(B).bind(d,l[d]);B[d]=function(b){b&&a(B).bind(d,b);return B}});l.editable||
-b.bind("focus.d click.d",B.show).keydown(function(b){var d=b.keyCode;if(!ba&&a(G).index(d)>=0)return B.show(b),b.preventDefault();return b.shiftKey||b.ctrlKey||b.altKey||d==9?!0:b.preventDefault()});j(b.val())&&C(X,l)}a.tools=a.tools||{version:"@VERSION"};var k=[],A,G=[75,76,38,39,74,72,40,37],D={};A=a.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(b,e){a.each(e,function(a,b){e[a]=b.split(",")});D[b]=e}};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 L=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,
-B=a("<a/>");a.expr[":"].date=function(b){var e=b.getAttribute("type");return e&&e=="date"||!!a(b).data("dateinput")};a.fn.dateinput=function(b){if(this.data("dateinput"))return this;b=a.extend(!0,{},A.conf,b);a.each(b.css,function(a,e){!e&&a!="prefix"&&(b.css[a]=(b.css.prefix||"")+(e||a))});var e;this.each(function(){var f=new l(a(this),b);k.push(f);f=f.getInput().data("dateinput",f);e=e?e.add(f):f});return e?e:this}})(jQuery);
-// Input 9
+(function(d){function g(d,g){d=""+d;for(g=g||2;d.length<g;)d="0"+d;return d}function F(d,n,p){var r=d.getDate(),A=d.getDay(),C=d.getMonth(),d=d.getFullYear(),B={d:r,dd:g(r),ddd:K[p].shortDays[A],dddd:K[p].days[A],m:C+1,mm:g(C+1),mmm:K[p].shortMonths[C],mmmm:K[p].months[C],yy:String(d).slice(2),yyyy:d},n=n.replace(I,function(d){return d in B?B[d]:d.slice(1,d.length-1)});return G.html(n).html()}function p(d,g){return d.getFullYear()===g.getFullYear()&&d.getMonth()==g.getMonth()&&d.getDate()==g.getDate()}
+function C(d){if(d!==void 0){if(d.constructor==Date)return d;if(typeof d=="string"){var g=d.split("-");if(g.length==3)return new Date(parseInt(g[0],10),parseInt(g[1],10)-1,parseInt(g[2],10));if(!/^-?\d+$/.test(d))return;d=parseInt(d,10)}g=new Date;g.setDate(g.getDate()+d);return g}}function B(g,n){function t(b,e,n){Z=b;va=b.getFullYear();y=b.getMonth();T=b.getDate();n=n||d.Event("api");n.type="change";oa.trigger(n,[b]);n.isDefaultPrevented()||(g.val(F(b,e.format,e.lang)),g.data("date",b),B.hide(n))}
+function A(b){b.type="onShow";oa.trigger(b);d(document).bind("keydown.d",function(b){if(b.ctrlKey)return!0;var n=b.keyCode;if(n==8)return g.val(""),B.hide(b);if(n==27||n==9)return B.hide(b);if(d(N).index(n)>=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("<div/>").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("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").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("<select/>").attr("id",x.month),ca=d("<select/>").attr("id",x.year);ga.html(ja.add(ca))}for(var I=L.find("#"+x.days),ra=0;ra<7;ra++)I.append(d("<span/>").text(X.shortDays[(ra+n.firstDay)%7]));d("body").append(L)}n.trigger&&
+(O=d("<a/>").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;r<b?r=b:r>aa&&(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){b<new Date(g,e+1,-1)&&aa>new Date(g,e,0)&&ja.append(d("<option/>").html(l).attr("value",
+e))});ca.empty();for(var r=G.getFullYear(),D=r+n.yearRange[0];D<r+n.yearRange[1];D++)b<=new Date(D+1,-1,1)&&aa>new Date(D,0,0)&&ca.append(d("<option/>").text(D));ja.val(e);ca.val(g)}else ga.html(X.months[e]+" "+g);wa.empty();ha.add(qa).removeClass(x.disabled);for(var D=!q?-7:0,I,w;D<(!q?35:42);D++)I=d("<a/>"),D%7===0&&(F=d("<div/>").addClass(x.week),wa.append(F)),D<q?(I.addClass(x.off),w=l-q+D+1,r=new Date(g,e-1,w)):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&&r<b&&I.add(ha).addClass(x.disabled),aa&&r>aa&&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&&Z<b&&B.setValue(b);return B},setMax:function(b,d){aa=C(b);d&&Z>aa&&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("<a/>");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);
+// Input 7
/*
jQuery Tools @VERSION Tabs- The basics of UI design.
@@ -422,9 +360,9 @@ B=a("<a/>");a.expr[":"].date=function(b){var e=b.getAttribute("type");return e&&
Since: November 2008
Date: @DATE
*/
-(function(a){function b(b,f,k){var A=this,G=b.add(this),D=b.find(k.tabs),L=f.jquery?f:b.children(f),B;D.length||(D=b.children());L.length||(L=b.parent().find(f));L.length||(L=a(f));a.extend(this,{click:function(b,f){var j=D.eq(b);typeof b=="string"&&b.replace("#","")&&(j=D.filter("[href*="+b.replace("#","")+"]"),b=Math.max(D.index(j),0));if(k.rotate){var l=D.length-1;if(b<0)return A.click(l,f);if(b>l)return A.click(0,f)}if(!j.length){if(B>=0)return A;b=k.initialIndex;j=D.eq(b)}if(b===B)return A;f=
-f||a.Event();f.type="onBeforeClick";G.trigger(f,[b]);if(!f.isDefaultPrevented())return B=b,e[k.effect].call(A,b,function(){f.type="onClick";G.trigger(f,[b])}),D.removeClass(k.current),j.addClass(k.current),A},getConf:function(){return k},getTabs:function(){return D},getPanes:function(){return L},getCurrentPane:function(){return L.eq(B)},getCurrentTab:function(){return D.eq(B)},getIndex:function(){return B},next:function(){return A.click(B+1)},prev:function(){return A.click(B-1)},destroy:function(){D.unbind(k.event).removeClass(k.current);
-L.find("a[href^=#]").unbind("click.T");return A}});a.each("onBeforeClick,onClick".split(","),function(b,e){a.isFunction(k[e])&&a(A).bind(e,k[e]);A[e]=function(b){b&&a(A).bind(e,b);return A}});if(k.history&&a.fn.history)a.tools.history.init(D),k.event="history";D.each(function(b){a(this).bind(k.event,function(a){A.click(b,a);return a.preventDefault()})});L.find("a[href^=#]").bind("click.T",function(b){A.click(a(this).attr("href"),b)});location.hash&&k.tabs=="a"&&b.find("[href="+location.hash+"]").length?
-A.click(location.hash):(k.initialIndex===0||k.initialIndex>0)&&A.click(k.initialIndex)}a.tools=a.tools||{version:"@VERSION"};a.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,history:!1},addEffect:function(a,b){e[a]=b}};var e={"default":function(a,b){this.getPanes().hide().eq(a).show();b.call()},fade:function(a,b){var e=this.getConf(),f=e.fadeOutSpeed,G=this.getPanes();f?G.fadeOut(f):G.hide();G.eq(a).fadeIn(e.fadeInSpeed,
-b)},slide:function(a,b){this.getPanes().slideUp(200);this.getPanes().eq(a).slideDown(400,b)},ajax:function(a,b){this.getPanes().eq(0).load(this.getTabs().eq(a).attr("href"),b)}},f;a.tools.tabs.addEffect("horizontal",function(b,e){f||(f=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){a(this).hide()});this.getPanes().eq(b).animate({width:f},function(){a(this).show();e.call()})});a.fn.tabs=function(e,f){var k=this.data("tabs");k&&(k.destroy(),this.removeData("tabs"));
-a.isFunction(f)&&(f={onBeforeClick:f});f=a.extend({},a.tools.tabs.conf,f);this.each(function(){k=new b(a(this),e,f);a(this).data("tabs",k)});return f.api?k:this}})(jQuery);
+(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);